Reputation
410
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 8
Impact
~15k people reached

Apr
30
comment ls and date showing different file dates
What is the value of the $TZ variable? What do date +%s and stat foo output?
Apr
27
comment Car charger for a laptop
@CharlieRB I was pointing out the low odds that one exists. I couldn't find one.
Apr
27
comment Car charger for a laptop
Note that OP's AC adapter is for 7.7 A / 150 W - significantly more power than either of the ones you found can deliver. If he plugs his laptop into either of those (assuming they have the same plug, voltage, and polarity), there may be bad consequences.
Apr
27
comment Pros and cons of creating a partition in Windows
@Kroltan easier said than done - If you do this the "naive" way, Windows will create new profiles in the new install, and the users will have different SIDs than before (won't own their old files).
Apr
10
comment Why is HDMI->DVI image sharper than VGA?
"...and DVI supports Electronic Display Identification (EDID)" so does VGA. I couldn't find out whether there is a field in EDID which actually identifies the display type though; do you have this information?
Mar
6
comment Vim: changing tabs to spaces
%s/\t/(eight spaces)/g. You should not have tabs in python code.
Mar
6
comment Vim: changing tabs to spaces
The code is definitely tabstop=8, I can select the single tabs on the 8-space indents. And python in mixed indent mode treats tabs as eight spaces. I don't know how your vim configuration was working to show it before.
Mar
6
comment Vim: changing tabs to spaces
It looks like your first indent was four spaces, and your second indent was a tab, with the code being written for a tabstop of 8. Vim is either displaying or expanding with the assumption that tabstop=4. Do you have the original source from before you edited the files with the bad vim settings?
Mar
3
comment Windows vs Linux Local Time?
@MagomedSegaIsmailov Does Mac OS run on any systems that use BIOS RTC? I'd have assumed that EFI provided some sanity.
Mar
2
comment Windows vs Linux Local Time?
Do you have any information about "it wasn't really a supported configuration and there were a number of caveats."?
Feb
27
comment Replace Front USB Ports in a 2003 Alienware Case
It's just a circuit board, with straight connections between the ports and the header. Most likely used because using standard PCB-mount ports is easier/cheaper than designing a new part to allow the ports to be mounted directly to the case as in @gronostaj's example. There are no chips or logic, so you wouldn't call it a hub or a controller.
Feb
27
comment Replace Front USB Ports in a 2003 Alienware Case
"I'm not sure if these would be more properly called hubs or controllers." These are just ports, not a hub or a controller. The cable goes to a header on the motherboard's USB controller.
Feb
19
comment What are the license(s) of the Linux man pages?
No, socket, connect, bind, send, recv, select, are all system calls and documented as part of the kernel. Glibc contains simple wrappers to allow them to be called from C programs, but the real implementation of the functions is in the kernel, and documented as part of the kernel documentation.
Feb
18
comment What are the license(s) of the Linux man pages?
What "network functions" are you referring to? Many network functions are part of the kernel rather than glibc, and the documentation is not (IIRC) part of the glibc documentation.
Jan
1
comment Are IP addresses with and without leading zeroes the same?
@xR34P3Rx What specific IP addresses did you try to do it with and have it work? Just because 001 seems to work doesn't mean that 008 or 012 will work, given the concerns people have mentioned about octal (which are not windows-specific).
Oct
8
comment Why does checking whether a folder exists using -d on an empty string return true?
"exactly one nonempty argument." - this is a misleading summary - the page you linked mentions being called with exactly one argument and that argument being non-empty; nothing about the case of a nonempty argument followed by an empty one. The correct solution should be to surround the variable name in quotes.
Sep
30
comment Two partitions on USB drive
I have actually had Windows be unable to see (or at least not mount by default) the second partition even on a drive where both are formatted with windows-friendly filesystems (e.g. one FAT and one NTFS)
Sep
14
comment Why is hibernation still used?
@TutorialPoint - the adapter being plugged in may consume power, but it doesn't get used for the purpose of running the computer and maintaining the state.
May
2
comment Why do ISPs change your IP address?
@MattH What percentage of customers would really notice if they got put on NAT? I would, because I use ssh and remote desktop. But a lot of people have NAT anyway. They could, in principle, set it up to only give them a "real" IP address if they set up port forwards... or only if they complain.
Apr
6
comment Why do computers count from zero?
@Jimmy That was my point - if people "counted from one" in the sense they want computers to, they would count 2000 as one instead of as zero. This is, incidentally, how the ancient Romans actually did it (and would indeed describe a cycle like "2000, 2004, 2008" as a five-year cycle).