« first day (2271 days earlier)      last day (2692 days later) » 
00:00 - 18:0018:00 - 00:00

nwp
6:08 PM
why is coreutils so bad?
they have such a nice collection of useful programs and none of them appear to actually work
 
Where on SO/SE would I ask for software and/or library to anonymize license plates and faces in video?
 
@nwp In a word, because Gnu.
 
@nwp Uh huh?
 
nwp
"none of them work" is an exaggeration, but at least sort doesn't sort and for md5sum it doesn't seem possible to just get the md5 of some string
 
6:15 PM
printf '%s' 'lolz' | md5sum?
 
@nwp Describe "sort doesn't sort". I call PEBKAC.
 
nwp
@milleniumbug maybe I'm just stupid
5
Apr 24 '16 at 18:48, by nwp
why does sort (GNU coreutils) 8.25 think "Buff modifier", "Buffs", "Buff time modifier" is sorted?
 
Apr 24 '16 at 18:52, by sehe
@nwp It's locale. Use LANG=C sort
 
nwp
@milleniumbug I accepted that at that point, but I could never figure out in which locale/language/logic the above order would be correct.
 
Xeo
a locale that ignores space?
 
nwp
6:22 PM
ah, that makes sense
see above
 
@nwp What is your locale? What is your LANG and what is your LC_COLLATE environment variable?
 
nwp
@wilx LANG is en_US.utf8 and LC_COLLATE is not set
 
6:36 PM
@nwp I agree with @milleniumbug. It is a difference in C ASCII ordering and UTF-8 ordering in English. With C or POSIX locales it uses ASCII ordering and in that ' ' < 's'. But when you are using *.UTF-8, it uses Unicode collation algorithm.
This is not at all a coreutils issue. This is locale specific. The utilities just use the locale information that it provided by Glibc.
Or rather the collation function that is provided by Glibc.
 
no, that doesn't make sense either
if ' ' < 's', then the two strings that start with "buff " should be at the front (or back, but assuming ascending order)
Xeo's explanation of ignoring space makes more sense
as in, it actually explains the outcome
 
@Xeo That makes sense. It makes a lot less sense that this seems to be what it uses with (for one obvious example) a completely default installation of Ubuntu.
 
@Puppy This does happen if you are using non-UTF-8 locale:
amber2::wilx:~> LC_COLLATE=C sort test.sort.txt
Buff modifier
Buff time modifier
Buffs
 
buff time modifier and buffs are in the other order in hhis post
 
6:52 PM
amber2::wilx:~> LC_COLLATE=en_US.UTF-8 sort test.sort.txt
Buff modifier
Buffs
Buff time modifier
amber2::wilx:~> LC_COLLATE=en_US sort test.sort.txt
Buff modifier
Buff time modifier
Buffs
> As a result, the goal for the collation support is at level 3. This also matches the requirements for the Canadian collation order, as well as other, known collation requirements for alphabetic scripts. It specifically rules out collation based on pronunciation rules or based on semantic analysis of the text.
See pubs.opengroup.org/onlinepubs/9699919799/xrat/…. Level 3 is String ordering.
 
Hello. Anyone here with Qt?
 
However, I am surprised that this does not help you to get the ordering you want:
amber2::wilx:~> LC_COLLATE=en_US.UTF-8 sort -t ' ' -k 1,2 test.sort.txt
Buff modifier
Buffs
Buff time modifier
 
@Ell I ran my benchmarks (for a 10^6 std::vector<int>) to have a peek at the performance of that ska sort thingy: here they are.
Note that counting_sort has an excellent performance here only because k <= n in the benchmarks.
 
 
1 hour later…
8:12 PM
I was curious how the Java compiler represents primitive types. The first file I open starts like this:
@Deprecated
@SuppressWarnings("deprecation")
public interface PrimitiveType extends TypeMirror {
WTF? Why deprecate something and then immediately supress deprecation warnings?
 
@nwp July 28th? I was expecting April 1st after reading the first paragraph...
 
Ell
8:28 PM
@Morwenn regardless, verge sort beats it almost every time
 
> Today the Eclipse Foundation put out a private briefing calling me a 'non-thread-safe AbstractKeywordRemovalInitiatorFactory'
lol
 
@Puppy Wait 'til you finish: "Next article: Eclipse Sits On Man's Couch, Breaks It". :-)
 
I think the one about the airport toilets being deprecated is better
 
8:47 PM
@nwp Is that an Onion article It's pretty good.
 
nwp
@Mysticial no clue where it is originally from
 
9:27 PM
// If this is a class definition requiring Miranda methods,
// add them.
@rightfold Have you ever heard of Miranda methods?
 
@Ell That's because it's optimized to give up real fast when there aren't big sorted or reverse-sorted runs. The real work on not-sorted data is achieved by pdqsort.
 
@EtiennedeMartel Nothing unexpected. Kaby Lake is just another "Haswell Refresh". Higher clocks, little to no change to the architecture.
Kaby Lake is just another "meh" in the pipeline while Intel figures out how to do 10nm.
I'm (most likely) gonna get the high-end 8-core Zen just to toy around with. Then later this year I'll grab either Skylake X or Purley Xeon depending on whether the former has AVX512.
 
I guess is what a good thing for me then to not wait for Kaby Lake and just get a 6700k
 
@EtiennedeMartel I'd say wait until the end of this month to see whether Zen is worth it.
 
9:35 PM
@EtiennedeMartel i would say the article is wrong in one respect. It's not that Intel has quit trying. It's that Intel is distracted with 10 nm right now. They haven't stopped trying by any stretch of the imagination. It's just that they haven't succeeded yet.
 
@JerryCoffin I would imagine that there might not be too much overlap between the guys designing the processor layouts and the guys developing 10nm. That's two different fields with different areas of expertise. (I can probably design and layout a processor, but I can't do quantum mechanics for shit.)
So there's a limit to how much Intel can reallocate resources between the two areas.
I guess that's probably why Intel is investing so much in their Xeon Phi line because they have nothing else to do with their processor designers while the manufacturing guys figure out 10nm.
 
@Mysticial To an extent, yes. But (high end) processor layout has gotten pretty heavily process dependent, so I'd guess what's happening here is that Intel did a Microsoft-style thing and has two teams working in parallel: one with a directive to take current technology and push it as far as they can, and second working (completely separately) on what they can do when the process guys get 10 nm to the point they can produce it dependably.
kaby Lake (Kaby lack?) is what came from the first team. When 10 nm is up and going, we'll see what the second team has been doing.
 
@JerryCoffin Oh I see what you're saying.
IOW, Intel likely has a shit-ton of stuff backed up waiting for 10nm. (probably including a completely taped out Cannonlake architecture) But we won't see any of that until the floodgates are opened.
 
IIRC, I heard in some presentation that creating a CPU basically takes half a decade.
Just saying.
 
@wilx That's true. AMD starting working on Zen back in 2012. It's not 2017.
Skylake/Cannonlake were probably taped out several years ago. But the 14nm and 10nm walls have fucked up Intel's schedule.
 
9:50 PM
@Mysticial I think there's more to it than that. As process improvement makes an individual core smaller, they need to figure out ways of using more cores to keep die size large enough to support a decent price, and that means finding ways of getting lots of cores to work together to get better performance. Yes, things like AVX512 will use a lot of die space too, but extremely wide SIMD is hard to apply to a wide range of problems, so they want other tricks to go with it.
@wilx Probably takes long than that if you start over completely from scratch. Intel (and AMD) shorten the cycle by limiting how much they change in any given cycle.
 
@JerryCoffin If you pay attention to the details of Intel's chips starting from Core 2, you can see that.
The initial proposal for AVX included FMA4 which came out very early.
Once Intel started working on Sandy Bridge, they realized, "oh fuck, we can't do FMA because we can't handle 3-input uops". So they punted that to Haswell.
Then they realized, "oh shit, we can't efficiently handle 4-operand instructions". So they changed the specification to FMA3. In the meantime, AMD was the victim.
 
user1804599
@fredoverflow no
 
10:19 PM
@Borgleader Another one:
-45
Q: Is 'Mmmm Bacon' hat in poor taste?

frostbiteI hold the stack community to very high standards in everything from technical discussions to being acutely aware of cultural sensitivities. As a vegetarian and animal lover I found the 'Bacon' simply too offensive. I'm keen to hear what the other stack<*>ians have to say.

 
@DanBron nice to know we follow a '1-indexed' system. — frostbite 2 days ago
u w0t
 
I come here and expect a few puns about bad cars and poor driving abilities. And I get an informative discussion about fab and design of CPUs? Color me shocked. I very much like 2017 so far.
 
@Mysticial funny that the eggs aren't offensive.
I guess he's a pro-choice vegetarian.
 
@CaptainGiraffe Your car sucks and you should feel bad. And for that reason, your driving ability sucks and therefore you should feel extra bad.
 
@Mysticial Thank you <3 That takes me back!
 
10:41 PM
The bug reports are getting more comprehensive.
 
I'm so great, I don't need a car
 
Ven
@ThePhD link?
 
@CaptainGiraffe Look carefully at what I've posted, and you'll find 10 places that I posted bad puns that were supposed to make you laugh, but apparently no pun in ten did.
 
Ell
10:59 PM
@EtiennedeMartel if you wait for Zen, intel prices will go down anyway still I think
but then buying tech is always waiting waiting waiting :P
 
@Ell Of course. Still better than industries where you're stuck with: "If only I'd bought X when it was still available!"
 
@JerryCoffin argh
 
11:14 PM
@Mysticial I dont have the link anymore but the question was essentially "how do i make a base class member unmodifiable, i tried const / static / static const and nothing works" and later in the comments "why not const?", well it gives an error "m_XYZ is unmodifiable"... "but thats what you want!?"... "oh right, maybe i should take a break" ./triple-facepalm
 
@JerryCoffin I appreciate the effort, but I very much like the non punny Jerry.
 
@JerryCoffin Oh that's a good one.
 
@CaptainGiraffe ENOEXIST
 
@набиячлэвэли A non-punny me exists at times (but mostly when I'm sound asleep).
 
@JerryCoffin You strike with impunnity
 
11:26 PM
@набиячлэвэли Nicely done! I'm like a set of strike anywhere matches, only a lot fatter (and maybe a little less hot-headed).
 
11:40 PM
Ok. набиячлэвэли and Jerry is a lot more clever than I would ever be, and I think of myself as a pretty clever guy. 2017 will be a year of improvement for me.
 
hi, someone know about merchant services
 
no
 
@J.S.O If I did, I certainly wouldn't admit it.
 
11:55 PM
"merchant services"? Is that some kind of service for merchants?
 
"Doctors", we call them
 
00:00 - 18:0018:00 - 00:00

« first day (2271 days earlier)      last day (2692 days later) »