« first day (1695 days earlier)      last day (3269 days later) » 

12:02 AM
@Griwes At least one of the rare points I have to agree with you! Don't worry they're just going to improve my profile's statement "primary missing abilities distinguishing greek letters from hindi, thai, chinese, etc." :-P ...
 
Well, fuck the universe.
 
@Borgleader I only started playing gwent a few hours ago, I don't know but I remember seeing cards in white orchard so yes
 
Good night.
 
@R.MartinhoFernandes Nite..
 
@AlexM. i bought em i just dont know where to play
 
12:07 AM
search for people
e.g. merchants
just keep searching :A
eventually while playing you'll find out
 
Ell
Goodnight robot
I hope you get the karma you deserve
 
12:24 AM
can't wait to finish up with college
can't even play CS properly :<
 
@AlexM. The palace of his archmagnificancy is gorgeous holy shit
 
did you see every trailer they put up
 
no, i wanted to get as little information about the game
more surprises when playing it
 
the meeting with emhyr is less impressive than in the trailers
this includes removed dialogue
his intonation also seems to have changed
I didn't really like that
 
12:48 AM
i tried playing gwent against a noble
i got rekt
 
1:47 AM
android seems to create a loading animation until I inflate the layout of the fragment I use
I don't know why but thanks android
the prof will love it
it will look like a loading animation until I get my data from the web
 
1:59 AM
Speaking of Android, Android M looks weird.
 
> TIL in 1980 some dad cut his 8 year old's penis off and flushed it down the toilet because he was late home. After a 90 minute search in the sewers, firemen recovered the penis and it was successfully attached back onto the boy in a 3h operation. reddit.com/r/todayilearned/comments/38tviu/…
wtf
how does that even
 
i... plz remove that, just thinking of that ... i cant stop shuddering
 
how do you attach things back like that after so long
especially in 1980
 
how did he not bleed out
i didnt check the link, but im pretty sure this story is made up
 
you can click you know
it leads to a scan of a very old newspaper
 
2:07 AM
i can, but doesnt mean i want to/should
 
it doesn't have pics
can you reattach arms and have them working again
I wonder
 
@Rapptz can you reattach limbs after hours of being de-attached?
 
Hmm. A shared_ptr's deleter never gets called for null pointers, right?
 
calling delete on a null ptr is ok afaik
no need for a null check
 
it has no effect but always seemed counter intuitive to me
we had a discussion about this when I was checking for nulls before deleting
many generations ago
I remember
 
2:19 AM
Replantation has been defined by the American Society for Surgery of the Hand as "the surgical reattachment of a body part, most commonly a finger, hand or arm, that has been completely cut from a person's body". Replantation of amputated parts has been performed on fingers, hands, forearms, arms, toes, feet, legs, ears, avulsed scalp injuries, a face, lips, penis and a tongue. The repair of the nerves and vessels (artery & vein) of the amputated part is essential for survival and function of the replanted part of the body. Using an operating microscope for replantatation is termed microvascular...
 
cool, i didnt think that was possible
especially for nerves
 
especially in 1980
 
2:34 AM
> TIL that in order to discover that penguins sleep more deeply in the afternoon, scientists crept up on sleeping penguins at different times of the day and poked them with a stick until they woke up.
I wonder what the penguins were thinking
"jesus fucking christ bob not this shit again fuck off"
 
3:27 AM
 
 
2 hours later…
5:03 AM
Anybody know of an opensource/bsd/free list of witty quotes I can use for loading messages in my project?
 
5:23 AM
@Mikhail Quotes are usually free.
I mean, you can't copyright a quote.
 
5:41 AM
@AlexM. OMG! I did not need to know that. :(
 
5:54 AM
@Mikhail Offensive fortune cookies files!
If you have *nix you can probably find the files in /usr/share/games/fortunes.
I love the offensive ones. :)
 
damn it
does anybody happen to have autocad experience here
engineering stack exchange isn't up
autocad internet resources are terrible
 
6:14 AM
Hi, can anyone point me to a link for a pattern matching implementation abusing the C++ exception system?
 
6:25 AM
@vinipsmaker for what
that's pretty broad
 
@VermillionAzure, I just want an example to show to my friends. The example, actually, must be some type of abuse from the exception system. I, then, remembered about pattern matching implemented in terms of exception, but out of luck finding these bastards.
 
Xeo
Mach7 is a library that has a variety of different backends for the pattern matching
one of them is exceptions
It's more like "open functions" though, not specifically pattern matching
 
where do i find the "backends"? github.com/solodon4/Mach7/tree/master/code
^ @Xeo
 
Xeo
Dunno
I just remember that it has them
 
6:44 AM
used github search and found nothing
all references were to examples
also, there is only one branch on mach7: github.com/solodon4/Mach7/branches
 
Xeo
Or maybe it had them at one point, while they experimented.
There's a paper on it somewhere
 
6:57 AM
okay
 
7:27 AM
I think I might have a working solution the exception across DLL problem.
And it isn't pretty.
Macro hackery + static variable abuse.
 
@Mysticial I can have no response but :O
 
7:53 AM
I'm from the organization against macro abuses
you guys are under arrest
this plague has to end
 
@Mysticial Well that surely sounds promising:(
 
@MartinJames It's got some limitations though.
 
@Mysticial No, really? :)
Lemme guess - it's not thread-safe, for one.
 
Xeo
@MarcoA. You should just change your name to Macro A.
 
7:55 AM
:'(
 
Given an exception class hierarchy. I don't export anything. All classes are required to implement a Serialize(), DeserializeReThrow(), and GetName().
At the DLL boundary, I catch the exception, serialize it and return it.
 
lol turn everything into a char array
 
On the user side, deserialize it, use the GetName() to search a static table for the same exception object and construct it.
The static variable abuse hackery involves every exception class putting itself into a global table.
 
Well, that's err... 'brave'
 
There will be a separate copy of the table both inside and outside the DLL.
 
7:57 AM
@Mysticial OIC.
 
The table inside the DLL doesn't matter. It's the one outside that matters.
The caller code will deserialize the exception name and do a table lookup for a function pointer that will reconstruct the exception on the caller side and rethrow it.
The macro hackery is wrapping the body of every method on the DLL boundary with a try-catch that will catch and serialize the exception.
 
Hmm.. just looking through Delphi DLL exception handling: 'There's code in the RTL's exception-handling code to check exception classes by name, not just by classes' addresses.' Sounds vaguely familiar..
 
So this approach "should" for any scenario provided that the objects follow standard layout. And the only functions on the DLL boundary are extern "C".
I can put the required functions are pure-virtual in the base exception class. Enforcing unique names can be done at run-time when populating the global exception table.
The only hole left I can think of is what happens when the serialization fails due to OOM.
 
'As you should already understood by now: rule #1 when working with exceptions in DLLs is "never let exception escape DLL". All exceptions in DLL functions must be captured and handled by translating them to error code or other error signature as required by DLL API.' :((
 
If the serialization fails, the bad_alloc will propagate up to the DLL boundary and blow up. lol
If the deserialization fails, the bad_alloc will propagate up the user normally.
 
8:08 AM
@Mysticial Yeah. 'blowing up' and 'DLL' seem to cluster together:(
 
oh boy
AutoLISP so niche and old
they don't even have a code type on BitBucket
@Mysticial what
What is this
 
@VermillionAzure It's how to do something stupid: Use DLLs for C++.
 
“There's a fine line between genius and insanity. I have erased this line.”
― Oscar Levant
 
@VermillionAzure He's trying to propagate exceptions across DLL boundaries:(
 
@MartinJames Among other things. :)
 
8:21 AM
@Mysticial Have you got some bodge to force the DLL callee to use the same memory-manager as the caller?
 
@MartinJames Yeah. By passing a deletion function pointer along with the serialized exception.
 
Orite:)
 
The DLL exported function returns a raw pointer ExceptionWrapper*. That class's rethrow function does the deserialization, rethrow, and destruction of itself.
If null is returned, then no exception. So that streamlines it for the common case.
 
That sounds... quite good. I hope it works!
 
@MartinJames oh
this must suck
 
8:28 AM
Here's the custom unique_ptr I made that is safe to unconditionally pass across the DLL boundary: coliru.stacked-crooked.com/a/eae19fc78a79e1c9
 
something something SJLJ
hmmm?
@Mysticial why would you want to even do this
i thought you cannot propagate exceptions across incompatible exception types
 
@VermillionAzure Yeah. I wonder if he's going to support callbacks? :)
 
Would it hurt to much to switch to SJLJ
 
@BenjaminGruenbaum lol - looks tasty on the surface, but never eat it.
 
8:31 AM
@MartinJames I love how someone actually edited PHP error messages into the original gif
Including the comic sans one
 
@BenjaminGruenbaum Yeah:)
 
woop woop!
Ninja is awesome
sooo easy to use
it should supercede GNU make as the build util
 
8:52 AM
@VermillionAzure make is OK as low-level "target dependency".
It can be used by higher level tool like CMake as backend.
It is Autotools what looks terrible, not make itself
 
@EvgenyPanasyuk: It is not that hard once you get used to it. Everything looks terrible if you do not know enough about it.
Also. Question: In C, uses of isalpha(), etc., all need the (unsigned char) cast of the argument, right?
 
@wilx Well maybe. But for example I "get" CMake just after first glance on examples.
 
@EvgenyPanasyuk Different learning curves. OK.
 
@wilx Does Autotools provide benefits after learning it? For example, Emacs has hard learning curve, but it payoffs over time.
 
@wilx Yes (unless you know with certainty that either you'll only ever give it plain-ASCII input, or else you know you'll only ever use the code on compilers where plain char is unsigned.
 
8:58 AM
@EvgenyPanasyuk The benefit is the build system that runs pretty much anywhere once you generate it.
 
@wilx Fair enough. But I am not sure if such complexity is necessity for "runs anywhere" property.
 
@JerryCoffin OK. I am looking at fortune source and it has a distinct last of these casts. :)
@EvgenyPanasyuk If you are not sure then you do not have enough information to make the judgement. :)
@EvgenyPanasyuk Also, some of the steps are pretty much run only once during project set up. Other steps are or can be automated. I do not invoke all of the tools manually either. I have a script that does it for me which has like 6 steps in it. Not a problem, really.
 
@wilx I am using CMake for large project, on Windows it generates project files for VS (I use all versions from 2005-2013), for Linux and OS X - it generates makefiles, and supports other backends. It is not complex at all.
@wilx Good to know. At first look this graph looks bloated.
 
@EvgenyPanasyuk The complexity is hidden in the cmake executable that you have to have on the given platform. It is a trade-off between how much complexity you want to have now and later. Autotools requiring more complexity now while CMake requires complexity later.
 
@wilx Yes, complexity is hidden inside implementation, and this is a good thing. And I don't think it requires "complexity later".
 
9:08 AM
@EvgenyPanasyuk It does. You have to have the cmake executable for the platform and you have to run it. Getting a C++ source compiled is not easy on some platforms, while running a shell script or Makefile is, again, on some platforms.
JFTR, I use both.
@JerryCoffin The same holds for toupper(), etc., right?
 
@wilx Yes, CMake may be hard to get into non-popular platforms. And I agree that currently configure+make is more portable. My point is that build system does not have to be complex (for user) to be portable.
 
@EvgenyPanasyuk Are you not contradicting yourself in these two sentences?
 
@wilx No, autotools is more portable just due to historical coincidence.
Not due to complexity exposed on user.
 
Ugh.
That argument makes no sense at all.
 
Why do you think build system have to be complex for user in order to be portable?
 
9:18 AM
@EvgenyPanasyuk Everything is complex, i.e., has some complexity.
My point was that the complexity can be shifted between the developpers/users/builders and the tools used at different times.
The Autotools bunch have chosen tools that are and were very common on the machines they targeted, unlike C++ compiles that CMake chose later.
@EvgenyPanasyuk It is not a coincidence. They reacted on what was available and required. They made tools to shift the burden from the users/builders to the developers.
 
@wilx My point is that such complexity can be shifted even further - onto authors of build system.
 
@EvgenyPanasyuk Of course. But then you require other complex tools at the build time, like the cmake executable--C++ compiler--, or Python with SCons, etc.
 
@wilx Build tool can generate simple files like scripts and makefiles. I.e. it does not have to require complex tools on target machine.
 
9:34 AM
@wilx Yes.
 
user1804599
Don't use languages of which not all users use the same build tool.
 
hello
 
> trying to combat teenage mental illness
first create work, then work
 
9:52 AM
alright
new tactic
I set the fan to run at maximum and underclocked the GPU and memory by 500mhz each.
that should give it a little extra life, hopefully
 
@Puppy Are you entering some sort of 'Oldest Functioning Computer' competition?
 
no, I just want to play gaemz until my new parts arrive
 
@Puppy Ah.. cooling problems?
 
dunno
the card's just dead, as far as I can tell
 
@Puppy :(
 
10:02 AM
so this is just me trying to undead it a little
 
@rightfold Well, to be fair, I've always thought that the concept of 'homework' was a bit 'off'. Most adults do not do 'homework' - when they finish their paid work, they leave their factories/offices/whatever and that's it. Schoolchildren are also 'obliged' to give up time, but for education rather than wage, (as it should be), but the school day should be long enough to do all the work required for that education.
 
@MartinJames I agree, and all the unions are in uproar about adult workers having to answer a few emails outside working hours
 
Xeo
@Puppy Speak with Dead and ask it what's wrong.
 
I don't believe that spell works on GPUs
 
Xeo
> Target: One dead creature
hm, right
I guess GPUs don't count as creatures.
 
10:10 AM
@Puppy Yeah. No wonder the students feel depressed. Their parents don't do homework, so why should they be 'forced' to? If some students want to do extra work, fine, but they should not be forced to outside of school hours.
 
of course, their parents do do plenty of work at home, like cleaning, cooking, etc.
but not for their main job
 
@MartinJames so do you flash the AVR chips directly, or use some arduino like bootloader?
apart from the relatively small cost of the programmer, seems simple enough to just use that and say balls to the bootloader
 
Xeo
I wonder if I should extend my expect<T, E> type to handle being ignored in the return value... and have it throw something in your face.
 
@thecoshman Eh? I use NXP, not AVR. For test/debug, I download and flash code via a JTAG debug port. I do have a bootloader too - it can load new code versions from an SD card.
 
@MartinJames oh, I thought you said AVR was the chip of choice for you. What's good about NXP then?
ooh, you said ARM :P
 
10:18 AM
@thecoshman I have experience with them from earlier work.
 
seem fairly powerful
 
@thecoshman I need the peripherals - 2 CAN controllers etc. There is also enough flash for two versions of the app code, so avoiding upgrade disasters. If a flash load fails, the bootloader finds the checksum bad, marks the new version as duff and runs the old one instead. The user can also instruct the bootloader to ignore the new version even if its checksum is correct, (not that I ever deliver code that does not work:).
 
oh, that is fancy
 
@Xeo That's called required<T>.
 
10:26 AM
@thecoshman Staves off 'panic fixes':)
 
Xeo
@Rapptz No, it's called expect<T, E>. That's what it says in my source file. :P
 
No I mean your idiom.
Having it throw if ignored
That's what required<T> does (the above is ReturnCode but it's the same principle)
 
Xeo
Ah.
 
Xeo
Oh, nice.
I probably saw that before but forgot
 
10:32 AM
I don't like it
 
To accommodate my design, I have to build each version twice, to run at two different flash addresses. The SD card then gets 'A' and'B' images with the version number in the filename. On startup, the bootloader checks for an SD card and for image files. If it finds an image file with a later version than either of the two it has in flash, it overwrites the oldest flash version with the appropriate new image from the card and checksums it.

If OK, it runs it. If not, it runs the other image it was running before.
 
also lol
> 6.3 Almost never-empty guaranty
how come no one can spell guarantee
 
I wonder why assigning half of std::thread::hardware_concurrency threads is faster on my laptop. More cache misses if using all cores?
 
@MartinJames why don't you learn to not make mistakes? :P
 
10:34 AM
@Veritas hyperthreading?
 
@Rapptz Apparently guaranty has a meaning that is guarantee
 
TIL. I've only seen that spelling used in debt contexts.
 
@thecoshman It's not just me. Garage technicians do the upgrades:) The upgrades must either work better or work. Failure is not an option 'cos then I'm in 'panic fix' mode:(
 
could be
 
@MartinJames still, it's cool that you have down to just "turn of, plug in this new card, turn on"
 
10:37 AM
imma go to bed
 
I presume for something like an AVR sucha bootloader would probably eat too much space
 
@thecoshman 'Garage technicians'....
 
Xeo
@Rapptz They spell it "guarantee" in the 2nd next sentence.
 
@thecoshman Some of them can be trusted to take the two image files as email attachments and copy them to the correct folder on the SD-card with a laptop, (the cards have FAT32).
 
@MartinJames sounds risky to me :P
 
10:40 AM
user image
2
 
ok
 
@thecoshman Yeah. It works about as often as having my car serviced and it coming back working as well as when it went in:)
 
I got two games of starcraft 2 out of my undead GPU
 
> Uns ist es ernst mit dem Begriff Experte. Wenn Sie bei BIOS an Biosprit denken, ist die Insider Preview möglicherweise nichts für Sie.
> We are serious about the term expert. If you think about Biofuel when hearing BIOS, this is probably nothing for you
Microsoft's view of an expert is one that can differentiate between BIOS and Biofuel
 
lol
 
10:44 AM
@Puppy lol, can you help it by leaving the panel off and positioning a desk fan or fan-heater on cold?
 
I have no such devices
 
user1804599
@Jefffrey lol dat @Ven diagram
 
@Puppy lol, OK, what about your hair-dryer on cold :)
 
what hair dryer
 
10:52 AM
lol, I give up. Wait for your new card/whatever:)
 
stop oneboxing images, my GPU dies briefly every time :(
 
Ok, I'm done. Sorry.
 
@Jefffrey Too much overlap.
 
user1804599
wrong logo
 
How can I clean up all the shit I have on Win7
I have no idea how my stuff sums up to 360GiB
 
Ell
10:56 AM
@Puppy is your gpu faulty as well?
Are you sure it's not your PSU fucking everything over?
what brand is your PSU?
 
@Jefffrey agar.io?
3
 
lol
 
our values are gonna be screwed
 
Xeo
@MarcoA. lol
 
I foresee a split kill in your future
 
Xeo
10:58 AM
lounge.io
 

« first day (1695 days earlier)      last day (3269 days later) »