« first day (1277 days earlier)      last day (3678 days later) » 

12:08 AM
@FaheemMitha This is an interesting summary: en.wikipedia.org/wiki/GNU_General_Public_License#Version_3 as is this table: en.wikipedia.org/wiki/…
 
slm
@Braiam - did you want help finding that Q?
@Braiam - I thought it was mountainX who commented there on that Q as well...I can look if you want
 
@slm nope, I remember someone was asking how to create a autocompletition script in bash or zsh
 
slm
@Braiam - yeah in the last week someone asked that Q
 
1:00 AM
Hi all, I have a question in MySQL select query. Currently, my SELECT statement returns 2 million rows based on WHERE clause. It is taking around 2 minutes to return the entire result set back to my PHP script.
This 2 minutes is also after applying indexing on the columns.
I was wondering, since I am using it for display in my web page, is it possible to load like 100 rows initially within seconds so that the processing can happen in back end?
 
1:14 AM
0
A: Portability of file descriptor links

GillesThe /proc/PID/fd/NUM symlinks are quasi-universal on Linux, but they don't exist anywhere else (except on Cygwin which emulates them). /proc/PID/fd/NUM also exist on AIX and Solaris, but they aren't symlinks. Portably, to get information about open files, install lsof. Unices with /proc/PID/fd ...

I didn't turn up authoritative information for all variants. I no longer have access to OSX, OSF/1, AIX, HP-UX or Solaris, and not even to FreeBSD right now (I could easily remedy that one with a VM)
 
slm
@Braiam - this Q
1
A: Add arguments when completing a command name

Hauke LagingThis is not going to be as easy as you want. Programmable completion is not capable of replacing commands. And you have to finish (i.e. trailing whitespace) the command word before programmable completion kicks in. This means you must create an alias or function for cdd which replaces it by cd. ...

you can use limit to do what you want
 
@slm, thanks for the link. If I use limit, the problem is when I navigate to the second page or the third page, the results might take even more time to execute.
 
slm
@Ramesh - the limit would be a range so the first page would be 0,100. The next page is 101,200. etc.
 
1:31 AM
@slm, one of my lab mate suggested to use the script like below.
Most of the query processing will be carried out by the server.
It is a mix of php and ajax.
 
slm
@Ramesh - yes we use datatables at work as well. It's doing what i suggested, note the limit down in the code.
The UI is making smaller chunks of queries to the server through the use of the limits.
but at the expense of making more queries, typically. So this approach usually starts to stall out the DB on a heavily loaded site and the chunks of results are often times served from a cache DB such as memcached or something similar
 
Yeah, but memcached is supposed to be faster only for the executed queries right?
 
slm
2:01 AM
@Ramesh - correct. I wasn't implying to use memcached, only that the extra burden of having each user hit the SQL server w/ many smaller queries can become an issue later on
 
@slm, Thanks for the clarification. I will try out your suggestions :)
 
 
5 hours later…
7:23 AM
@derobert thank you I hadn't notice :-)
Good morning / afternoon / evening / night everybody
 
8:04 AM
If anyone here actually knows something about embedded, check out unix.stackexchange.com/q/123560/977
I'm pretty sure there is an easy answer there, as the kernel message says the partition isn't aligned properly, and thus it's read-only.
My attempts to answer from my phone while staying up too late don't seem to be working. Doesn't help that I have very minimal embedded experience.
My attempts are in the gargantuan comment thread.
Anyway, leaving... Going to stop staying up too late. See you all in the morning.
 
@derobert it is the morning :D
 
9:05 AM
@derobert The poster thinks you solved it.
@derobert your hints on dmesg,and that I have to devide by 65536 and not 64, solved my issue. thanks.kindly put this as an answer and I will be happy to select it useful answer. — user2799508 29 mins ago
 
10:04 AM
0
A: How to patch CVE-2014-0160 in OpenSSL?

GillesThe bug is known as Heartbleed. Am I vulnerable? Generally, you're affected if you run some server where you generated an SSL key at some point. Typical end-users are not (directly) affected. SSH is not affected. You are vulnerable if you run any kind of server that uses OpenSSL versions 1.0–1...

 
@Gilles good idea to bring it here, that news is just freacking me out
 
Information Security, Server Fault and Ask Ubuntu have questions on the topic, we only have one (which is good but focused on one aspect). Should I bring my answer here?
I've submitted it to the Information Security chat regulars for review
 
Well you should, but in this case, I think the question is a bit out of the topic
 
10:50 AM
@Gilles - you're not even a little bit robot?
Like - maybe you just have mechanical tendencies? You're definitely an answer machine, anyway. How many of those do you do a day?
 
@mikeserv he never denies being a bot
 
I've seen him asked once or twice, and he never confirms or denies. I'm thinking... bionic.
The answernator.
 
@mikeserv excatly never confirm nor deny
 
I saw the answer he mentions above here show up at the top of the list first - then in here he had just asked about it. Of course I realize now he had posted it somewhere else first, but I was thinking... time loop.
Whatever his secret is, it's impressive.
This is funny:
--disable-everything (don't worry, this is just the everything module)
I'm building a Wayland only Enlightenment right now - that's in the compilation instructions. I was a little worried...
 
11:19 AM
@mikeserv nice :D
though it's stupid from canonical not to use it in Ubuntu after pushing it so much
 
I dunno. They went with Mir, I guess. But I have no experience with it. My last Debian was... a few years ago at least. Enlightenment is very nice - especially Terminology.
I love Terminology.
I can printf a url in a terminal escape sequence to my tty and Terminology will pull down and stream a youtube video in the framebuffer.
It's amazing.
 
don't know what you're talking about (-:
 
That video's like a year and a half old, too, I think.
I want to set it up with vlc and ice-cast, so my desktop environment is Terminology.
 
^^ that's nerd :D
 
Yeah.
 
11:26 AM
nice technical video though
 
Also Chrome has got Wayland support - basically it's ChromeOS.
It's their Aura DE anyway. I have to build that next.
 
all I personnaly want is an easy way to shutdown once and for all my nvidia gpu on linux
and so far, no easy way.
 
I made the same purchasing mistake. If it's a laptop your problem is SMBIOS.
If not, then you need the pci-stub driver.
 
what is SMBIOS ? I had acpi-call that worked but not maintain
pci-stub don't know too
 
SMBIOS is the hardware profile that your firmware passes to the OS - it's acpi, as you say.
 
11:33 AM
I could also disable optimus but then only nvidia GPU is on and I need some battery from time to time
 
Only acpi is a subset - and in laptops - especially Intel laptops - acpi handles power options or whatever.
So you have this little bit of cpu kernel code running t all times in that background managing s-states.
 
yes I notice that, but I never find a solution that was easy to set up
 
It's what all the sec guys talk about when they say cpu-microcode is so insecure.
It's outside of the control of your OS. It can be ignored - sometimes even successfully - but that hit-or-miss, as far as I know.
Well, it's not the only thing the sec guys are talking about, it's what always stands out most to me at least..
 
Well I wish nvidia never invent that shit it's a hell to manage with linux
and amazingly reduce the autonomy
 
pci-stub is a driver you can assign to a live device that effectively disconnects its. You need to understand - at least for your problem - it's Intel that is the real culprit.
They don't go away - at least nvidia powers down - and it only comes up when Intel tells it to.
But pci-stub won't do any good for those franken-laptops. At least I don't think so.
 
11:40 AM
I will look at that pci-stub thingy
Thank you for the advise
 
It's used for things like vga passthru.
So if you want to hand off a real device to a virtual machine you can stub load it at boot so it never gets powered up.
But I don't think it will get around the firmware. I don't know.
I'm not offering any solution cause I don't have any. That's just all I know on the topic - and that's all due to light Phoronix reading.
But why can't you just blacklist nvidia? Does the firmware still pull in the discrete card regardless?
 
@mikeserv yes nvidia gpu is always powered on, I manage with acpi-call to turn it off
but after sleeping hibernate and any thing it can turn on again
 
That's the same problem all of the vga-passthru guys had... I thought that was fixed? What's your kernel version?
I know this one thread that's pretty informative but, for virtualization. But it deals with the same issues. I'm gonna hunt it down...
That was easier than I thought.
I thnk there's something more recent, and even more relevant. Last Oct or something.
Dec, I guess:
 
I'm at the moment on ubuntu 14.04 daily :D
 
11:59 AM
And it's still broken?
Well you've gotta configure swaps then, I guess, and just always start cold.
It's probably how I would manage. My nvidia mistake was for a desktop - my laptop has no discrete graphics.
It might also be possible to remove the graphics card though - I don't know for how long it was a trend, but for awhile there laptop graphics cards were mostly modular. That would be too good to be true though, and probably your firmware would just anneurism anyway.
You might get something close to hibernate with tux-on-ice or even using an sd card as hibernate storage.
 
@mikeserv I like to play sometime on windows
 
You can't do that with tux-on-ice?
 
removing the gpu is anyway not possible as it's embedded to the motherboard
 
Oh, not with removing video card of course.
 
dell laitude 6420e
 
12:10 PM
Can you turn it off in BIOS?
It might be annoying, but you could reenable it for Win...
 
@mikeserv As I told you you can turn it off, but it meens always enable the nvidia GPU, that I certainly don't want
as I need it only 2 or 3 time a month
 
Does your BIOS support different profiles - many do now.
 
I should update it maybe
 
When I workewd for the power company we got some of thhe early UEFI HP firmware managemet types - tpms and the whole nine yards.
Anyway, the Intel implementation allowed us to remotely configure the firmware.
It was supposed to be more secure that way, but it always struck me as exactly the opposite.
I ask because ...
 
@mikeserv OK, I will check, but in the options of that almost bios pseudo EUFI, at the time they were only option to enable nvidia GPU only or use optimus
anyway that computer is a mess, the bluetooth is probably one of the most horrible I ever use, the wifi is unstable and optimus ruins the linux experience
 
12:17 PM
The sales pitch was in the same language as this:
Confident Security
Enjoy seamless integration into your IT environment and rest easy knowing that Latitude E-Family laptops—and your
company data—are secure and protected anywhere in the world.
• Know your data is secure with Dell’s Data Protection | Encryption11 and encrypted hard drive options.
• Protect your data from the unexpected mishaps with Dell Fast Response Free-Fall Sensor and StrikeZone™.
• Control who has access to your data with Dell ControlVault™, Dell Data Protection | Access, contactless smart card
Oh yeah, well, man, if they did have remote management it might not have been installed to consumer models.
Anyway, and I'll probably get booed off the stage for saying so, but I think the problem is Ubuntu.
 
 
4 hours later…
4:25 PM
boo
 
slm
@Braiam - boo who
 
4:45 PM
@Gilles For once, I'm happy about our firewalls & VPN boxes still being on oldstable!
 
 
5 hours later…
9:36 PM
@Gilles Sure, why not?
 
 
1 hour later…
10:57 PM
I was trying unix.stackexchange.com/q/117936/4671 but got a "cannot find /dev/fb0" error. I assume this is the framebuffer. How should one activate it?
This was when trying to use fbi.
 
11:11 PM
Hi all, I was checking this answer.
I was not sure if I should flag it for deletion since the OP wanted to use VirtualBox but had put the answer as he got it working in VMWare.
 
11:24 PM
@Ramesh it's a workaround answer. It's less than ideal, but I think it should stay.
@Ramesh Please don't use code formatting for things that aren't code. “Glad that you got it worked in VMWare.”, not “Glad that you got it worked in VMWare.”
 
@Gilles Not seeing the difference.
 
11:48 PM
@FaheemMitha yeah, it's barely noticeable in chat. VMWare should be in normal font, not in code markup.
Please don't use code formatting for things that aren't code. “Glad that you got it worked in VMWare.”, not “Glad that you got it worked in `VMWare`.”
 
@Gilles Ok. I see. In any case, that should read "Glad you got it working...."
 
@FaheemMitha that too, but minor grammatical errors are excusable, especially with non-natives. On the other hand, there's no excuse for stupid formatting.
 
@Braiam @Gilles point taken. I probably tend to overuse backticks for emphasis too, though.
 
@slm @anyoneinterested no repro unix.stackexchange.com/q/93248/41104
 
11:52 PM
Why does this have no close vote?
 
@Gilles Cuz we don't have a "recommend resources" meta question
 
@Braiam we have a “primarily opinion-based” close reason and a “too broad” close reason
 
or we have, just that everybody forgot already about it
@Gilles yeah, but sometimes, it just blow over some heads
case point comments on askubuntu.com/q/442430/169736 (yeah, I know, AU, but it shows that sometimes people forget about the QA format)
 

« first day (1277 days earlier)      last day (3678 days later) »