Reputation
242
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 8
Newest
 Critic
Impact
~28k people reached

  • 0 posts edited
  • 0 helpful flags
  • 48 votes cast
Jun
24
comment Difference of two big files
Sorry, I should have use italics for emphasis. So your position is that it doesn't matter if your program makes assumptions the OP didn't say you could? As long as your output matches the one testcase provided, it doesn't matter if the behaviour doesn't match the English-language description of the desired behaviour in some corner cases? I can't agree with that position, unless there's a big gain in efficiency or code size. Even then, I'd always mention any corner case I knew my code didn't handle the way I thought the OP wanted.
Jun
24
comment Difference of two big files
The OP described in words that he wanted the DIFFERENCES between two files. You can't require every question to provide exhaustive testcases for every corner case of their clearly worded description.
Jun
24
comment Difference of two big files
The OP said he wants the difference. That's not always what your program produces. A program that produces the same output for one testcase, but doesn't satisfy the description as written for all cases, requires a heads up. I'm here to say that, and it's true regardless of who I am or who you are. I added a note.
Jun
24
suggested rejected edit on Difference of two big files
Jun
24
comment Difference of two big files
Wrong in the sense that it's not exactly what the question asked for, in that corner case. It might be what someone wants, but you should point out the difference between what your awk will print and what the comm -3 and diff answers will print.
Jun
24
awarded  Critic
Jun
24
comment Difference of two big files
Your awk command just re-implements sort | uniq -u, which gives the wrong answer when one file contains duplicate lines. For grep, I'd say "inner"/"outer", not "internal"/"external".
May
4
comment Can Ubuntu TRIM another (NTFS) partition?
ntfs-3g now supports discard on filesystems that live on disk partitions. It didn't when you wrote this.
May
4
answered Can Ubuntu TRIM another (NTFS) partition?
Apr
30
comment Maximum time for which a Linux PC can be UP?
On the fly kernel patching gets more hype than it deserves. It's great if you have the time to verify that an update will work that way, but any code change that makes in-memory data structures different can't just be live-patched. It's not going to enable reboot-less upgrading to new kernels in general. It will allow reboot-less fixes for things like permission-checking bugs. It's GREAT, and awesome to not have to reboot a server, but don't expect this to give you reboot-free upgrades to new versions.
Apr
30
answered Maximum time for which a Linux PC can be UP?
Apr
30
comment Maximum time for which a Linux PC can be UP?
Powering down / sleeping when not in use on a laptop that gets hot when left running 24/7, ok sure. That's unrelated to rebooting (with no time spent off) vs. continual uptime.
Apr
25
comment which PPA has the most current version of git for 12.04? ppa:git-core/ppa is outdated
Sometimes pdoes's ppa is more up to date than git-core, sometimes vice versa. The git-core ppa had git 2.3.6 packages a few days before pdoes, including for 15.04 before vivid's release date.
Apr
20
comment What is the correct way to install Maven and Eclipse?
Is it still the case that Ubuntu doesn't package the Eclipse Marketplace? I wanted to check if there was a package to install instead of doing it from inside eclipse.
Apr
20
awarded  Scholar
Apr
20
comment kde clock format: how to include the day in a non-tiny font?
Thanks, I'll have a look at this soon, and post when I get a customized copy working from my home directory.
Apr
20
accepted kde clock format: how to include the day in a non-tiny font?
Apr
19
comment Lame compress mp3 files recursively
If you need to loop over the output of find, a for loop over $() is the wrong way. mywiki.wooledge.org/DontReadLinesWithFor. It will break on filenames with spaces, for example. This is why find -exec exists, even though it's cumbersome to use when you have to do -exec sh -c ...
Apr
19
awarded  Yearling
Apr
19
asked kde clock format: how to include the day in a non-tiny font?