« first day (1763 days earlier)      last day (3199 days later) » 

6:00 PM
Yeah, but given that quality here is a binary thing (can haz valid cert?) paying more is hard to justify.
 
fair enough
 
I can hear birds chirping.
 
fuckin' hell
I bought some cheese and it was DELICIOUS
 
@ScottW <3
@edition 1) looks outside 2) start worrying if there are no birds
 
cathedral city cheddar
 
6:04 PM
@elyse lol USB2
 
user1804599
Instead of complaining about me using USB 2, how about buying me a USB 3 stick and a computer with USB 3 ports?
 
user1804599
impossible
 
user1804599
I lack boobs
 
user1804599
Buying a DVD reader and burning a DVD would've been faster.
 
Ell
@ScottW I think its just a brand of cheddar
Mature
 
6:09 PM
Sunrise is coming :)
 
user1804599
you all suck
 
user1804599
you don't follow Boxxie on Twitter
 
how do you guys stub or mock Terminate()?
 
Why would you do that
 
Ell
I don't
 
6:12 PM
for unit testing
 
user1804599
The same as you stub or mock everything else?
 
@ScottW Because you're an illiterate peasant
 
my tests get stuck at terminate that's why
 
2 mins ago, by ʎǝɹɟɟɟǝſ
Also look at: http://en.cppreference.com/w/cpp/error/set_terminate
 
user1804599
6:16 PM
Run the test in its own process.
 
elaborate guys?
 
you do not stub or mock terminate.
if your program ever calls terminate, the test has failed.
 
Also lol @ stubs
 
I mean it's one of those things where
I want to test all edge cases
and the test gets stuck at terminate
and don't complete the other edge case tests
so if the test fails, then it is expected
so it's a pass
 
6:19 PM
I know
 
user1804599
@ScottW What do you think of Russia?
 
user1804599
@ScottW What do you think of Europe?
 
@ScottW What do you think of New Zealand?
 
@ScottW What do you think of Norway?
 
@ScottW What do you think of koalas?
 
6:25 PM
@ScottW ew tuples
(Russia = soviet, Your penis = tiny, New Zealand = lord of the rings, Norway = viking)
Much better
 
Jokes on you, Jefffrey, Scott's penis is Europe.
 
user1804599
Europe doesn't exist.
 
I'm sitting on it
 
user1804599
Chrome y u 41 threads.
 
user1804599
6:30 PM
Ugh, dd is at 2 GB.
 
user1804599
And it's already been running for an hour.
 
Why are you using Chrome anyway...
 
@elyse lol USB2
Safari :3
 
honestly, I moved from Chrome to Firefox and there's just not that much of a difference.
 
Ell
@elyse what is bs?
 
6:31 PM
the only difference between Chrome and Firefox is that in Chrome the New Tab page is shit since they replaced it with the giant "SEARCH GOOGLE" page.
 
user1804599
@Ell 1m
 
I like Chrome's UI actually. Looks nice.
 
Firefox has basically the same UI.
as does Edge these days
 
Edge forces me to use Bing.
The last time I checked anyway.
 
you can set whatever search provider you want afaik
 
6:32 PM
 
It's grayed out for me.
 
I got
I still hate Edge, but that's an orthogonal matter
 
Why do you hate Edge?
 
because it's such a Microsoft-gasm.
 
Ah and seems like I need to update.
 
user1804599
6:35 PM
Maybe I'll try 60m @Ell.
 
when you upgrade to Win10, they set Edge as your browser by default.
 
user1804599
Since that's what USB can handle.
 
when you open Edge for the first time, it's all, "ER MAH GERD EDGE SO GRAET".
 
@ScottW Not if he has the edge.
 
"Let me show you Microsoft News, Microsoft search, etc etc"
they can't just fuck off and let you get down to business
yes.
dunno not me but apparently quite a few people
 
6:36 PM
Chrome has the best WebGL support AFAIK.
 
it's much the same reason that I switched away from Chrome really
 
Edge's WebGL is experimental still.
 
Google makes a lot of money from Search so they slap a giant Search page in the new tab page and make it far less useful for me so they can push their corporate agenda.
 
Holy shit Windows 10 looks awesome
If only it was UNIX
 
@ScottW Not... really.
 
6:37 PM
@ʎǝɹɟɟɟǝſ It's ok.
 
Ell
you can make linux look like windows 10
 
@ʎǝɹɟɟɟǝſ The only thing to be really said about Windows 10 is that it's not as much worse than Windows 7 as Windows 8 was.
 
@Ell Do you have to recompile your kernEll?
 
Ell
Bing beats google at porn
-.-
 
I like the simple "straight to the point" design.
 
6:38 PM
what "straight to the point" design?
 
^
 
in Windows 7, after the screen times out due to misuse, as soon as you shake the mouse, it goes direct to desktop.
in Windows 10, first it does a random slideshow of your pictures that you cannot turn off, and then it takes you to a login page even though you disabled having to actually enter any credentials.
 
@Puppy Simple UI, with incremental settings, no unnecessary graphic gimmicks like forced transparency everywhere
 
and then they have a stupid slide-up mechanic that makes zero sense with a mouse.
 
@ʎǝɹɟɟɟǝſ I think it's Material design.
Is it?
 
6:39 PM
@ʎǝɹɟɟɟǝſ Pretty much everything about Windows 10 is an unnecessary graphic gimmick.
 
user1804599
> Pro tip: press Ctrl+T at any time while the dd command is running to get a quick status report,
 
user1804599
cool
 
Ell
Dd? Nice, TIL
@ʎǝɹɟɟɟǝſ what WM do you use?
 
user1804599
0.5MB/s
 
6:41 PM
so far I've yet to observe anything about Windows 10 that was not as good or often better in Windows 7.
 
Cache misses seem unlikely as the largest case is only 388 bytes in total.
 
@Ell WM?
 
Ell
Window Manager
Or are you on windows?
 
He has OSX.
 
@StackedCrooked Most lockfree algorithms involve backing on to linked lists so they can use CAS and atomic primitives on pointers.
 
6:42 PM
@Puppy touchscreen works after waking up from sleep
 
I thought.
 
@JohanLarsson What touchscreen?
 
You mean OS?
 
On my laptop
 
@ʎǝɹɟɟɟǝſ No.
 
6:43 PM
When using win 7 it worked on fresh boot but not after waking up
 
well I have a desktop so I can safely say that I cannot observe any touch-related improvements
 
Ell
I mean window Manager, though on windows and OS X the window managers are built in
 
and really nor do I care
 
it is an obesrvation of progress :)
 
@Ell OS X
 
user1804599
6:44 PM
cat is much faster than dd.
 
user1804599
cat ftw
 
@JohanLarsson Not for me.
 
I think battery life is better also
 
@Puppy Given how sizeof(pool) grows as the capacity increases it's a safe bet that it's using static array storage.
 
@StackedCrooked Being backed by an array doesn't mean that it's not being traversed as a linked list.
 
6:45 PM
It does grow with 16 bytes per 8 byte object.
You might be on to something :)
 
I know.
 
Still doesn't explain the growth in running time to me.
 
@ʎǝɹɟɟɟǝſ The old look for certain apps is better imo
 
dude
wtf did you do to coliru
I can't click inside the text area without selection flashing everywhere
 
Like, compare Office 2007 vs modern office
 
6:47 PM
I didn't change anything recently.
 
@Puppy Cannot reproduce.
 
I don't remember this code folding thing
 
I would use chrome, but I dont like how it has its own right click menu
that like, overrides whatever options the site gives you
 
@ScottW Works fine in FF.
 
Sites overriding context menu is what's bad
 
6:54 PM
Some sites add options, instead of restricting them. I don't think its necessarily bad but I agree most sites just try to restrict you which sucks
 
@CatPlusPlus The old version of our webapp just adds context menu choices which make sense in that context.
 
Ell
I didn't even know sites did that besides flash content
 
neither did I before I used it
 
Did they add a new API for that or what, I don't recall any way but intercepting the event and rendering your own shit from scratch
 
Sun has risen!
 
user1804599
7:00 PM
ugh
 
user1804599
honking idiot did his job again
 
user3047181
@elyse what honking idiot? what job?
 
user1804599
Aug 4 at 20:49, by elyse
I get my driver's license and a car. The next time they honk, I follow them home, honking all the way, and then honking all night long.
 
user3047181
ugh, that person should use a unique_ptr, right? to make the noise only audible to less people,
 
user3047181
or well actually, no people, i guess, it doesn't really work as a joke, but it's pretty much there
 
7:06 PM
@Puppy Does your site's cntext menu options show up in chrome?
man my scroll wheel is so shit. It sounds like a goose honking every time I scroll
 
user1804599
Use RAM with battery instead of SSD.
 
@elyse Yep.
 
user1804599
Make a CPU using this.
 
user1804599
7:23 PM
> 2B + ~ 2B
 
The Oracle campus in California looks like a bunch of hard drive platters kind of
 
user3047181
oh yeah cos they're circles
 
I don't get how their whole case against Google works
first a judge ruled that APIs could not be copyrighted... then another court ruled they could. It seems absurd that different courts bounce rulings like that
 
user3047181
are those like, international rulings? or are us supreme court rulings just the de facto intl rulings?
 
US only. US courts can't make 'international rulings'
 
7:30 PM
@Prismatic Uh that's how appeals work
 
user3047181
but as the #1 economy in the world, where ever intl company has their headquarters, a us ruling is 'de facto' a intl ruling
 
@CatPlusPlus Yeah, but there's something unsettling about being able to continuously appeal something until you get the judgement you want
 
@Prismatic Dunno.
 
user3047181
@Prismatic how many times did they re-appeal? I'd say 3 times is fine. I wouldn;t assume that any one court knows what they're talking about
 
Hey. Newbie to C here. I am using "%g" as the format specifier for a double <var> in scanf and printf but it doesn't seem to work properly. I input 5 to stdin and it returns me some garbage value when doing printf("%g", <var>). Compiler is ... ahem, borland turbo c. Tried with "%e" and same result. My teacher told me to use "%lf" which works but why use the format specifier of long float for a double?
 
7:34 PM
Eh, each time you go higher up your chance is actually lower
 
@AwalGarg I think a long float is a double
 
not necessarily
some compilers can use it for x87 80-bit floats and stuff like that
@Prismatic They obviously can't do that or the case would never end.
 
@Puppy @Prismatic alright, so what could be the reason of "%g" or "%e" not working?
 
C is shit, and borland turbo C is laughably out of date even for a C compiler, so I would suggest finding a course that teaches something you might actually need or want to know
 
7:39 PM
cause of failure: C's shitty type system.
 
user3047181
you can't do std::functions in C, lol! what a noob!
 
These rules have nothing to do with thread safety. They only tell you what operations invalidate iterators/poninters/references to elements. Those are orthogonal concepts. — Borgleader 21 secs ago
fuck, Howard Hinnant answered, there goes any chance of mega rep :(
 
That's linearizability right?
What the guy wants?
 
idk, I think he's looking for trouble
 
7:46 PM
Doing reads on a container in thread X while thread Y inserts shit into it
imo that's just dangerous
 
Well. If you std::find(list.begin(), list.begin() + 10); and the other thread does erase on list at position 20. Then you should be fine.
 
user3047181
@Borgleader unless the container is thread-safe, surely?
 
@AwalGarg Might want to double check the conversion table in scanf.
 
But you should keep at least 10 nodes distance.
 
@MeltyButter None of the containers in the standard library are
AFAIK the containers in the standard library don't "know" about threads
 
7:48 PM
@MeltyButter it's unsafe unless if it is.
which it isn't
so no.
 
user3047181
@Borgleader alright. why not?
 
ask the standard committe
but to give you an idea, threads were added in the standard in C++11
before that there was nothing thread related
besides, if they were thread safe it would add overhead you may not want to pay for (for example, if you application is single threaded)
and that goes against the "dont pay for what you dont use" C++ philosophy
 
user3047181
and they didn't fix the containers in c++11?
 
user3047181
lazy
 
@StackedCrooked Not guaranteed at all.
 
7:51 PM
@Boni ah dammit. should have manned first. thanks!
 
user3047181
well surely they could include conc_vector and conc_unordered_map, right? lazy fucks
 
@Puppy Yeah. I suppose.
 
@StackedCrooked For simple example, the mandated O(1) size() requirement pretty much states that every mutation to any node of a list mutates the underlying list.
 
user3047181
who's actually doing the improvements to c++ anyway? is it mostly bjorn?
 
7:52 PM
@MeltyButter Because their interface is fundamentally impossible to make concurrency safe.
 
there's a commitee
 
concurrent_vector and concurrent_unordered_map support quite different operations to vector and unordered_map.
 
@MeltyButter tbb::concurrent_vector does not have equivalents for std::vector::insert and std::vector::erase because it's not feasible to make it work both correctly and fast.
 
@StackedCrooked That's a pretty bullshit reason really.
maybe if implementing them made other operations slower, I'd think about it
 
Ell
What does "thread safe" mean even?
 
user3047181
7:54 PM
pfft i could make resizable array that works concurrently
 
it means that you get a well-defined useful outcome when multiple threads are performing mutating operations.
@MeltyButter Not with the interface of vector you can't.
 
user3047181
im sure some spotty danish nerds could
 
it's fundamentally impossible.
 
user3047181
why
 
@Ell it means it won't cut the thread your life is hanging by.
 
7:55 PM
because vector hands out mutable iterators and references.
and you have no idea how long the user is trying to use them for.
so you can never guarantee that another thread didn't eat their lunch.
 
user3047181
... well you can if you check if they did
 
and secondly, the way the vector interface is designed with functions like empty() and size() is useless because they can't be used atomically
 
user3047181
so just check they did
 
you can't do shit like if(!empty()) pop_back(), which is what the vector interface requires that you do.
@MeltyButter You can't check if they did.
you can't intercept operations into some random T&.
 
user3047181
@Puppy how come
 
user1804599
7:57 PM
Use STM.
 
because the code using that pointer is just a bunch of direct memory operations with no idea that you need to check the outcome.
and even if you did know that, and have the necessary data to check it, there's no guarantee that T's interface is itself thread-safe, which would be necessary since multiple threads can obtain mutable interfaces to the same T.
and even if you could, doing so would cripple the performance of vector even for plain single-threaded apps
and even if you could handle all of that, the interface permits and indeed enforces so many concurrency mistakes that it would be basically impossible to write correct code against it.
 
user3047181
sorry, I must be confused: You people are saying there's no way of organizing an array of memory that's shared between more than one server? How the fuck does any internet company work then?
 
@MeltyButter No, I said there's no way that you can offer a std::vector interface.
which is a completely different thing.
 
user3047181
is google gonna pick up on this convo and go "oh fuck, we cant exist!! sell the stocks!!!"
 
a few interface modifications and you could come up with something doable
 

« first day (1763 days earlier)      last day (3199 days later) »