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

@MarfGamer Unless it's good code, just leave it without a license. It's on github so the code is recorded and dated if anybody's silly enough to copy an enthusiast's private project
 
> I am now going to test my code by dropping my laptop on the floor
 
I thought I was strong enough to make it through it a second time
I am not
 
does anyone actually use siri other than for amusement?
 
Oh, that's the infamously bad star wars show?
 
hello
I've just written some brainfuck to take the current (A) and the previous (B) value (as if it were on a stack) and yeald in there place, 2^B * A
[->+<]<[>>[-<++>]<<->[->+<]<]>>[-<<+>>]<<
e.g.
+++>++++
[->+<]<[>>[-<++>]<<->[->+<]<]>>[-<<+>>]<<
 
12:34 AM
And youre posting this here because?
 
@Aaron3468 yeeeeep
@alan2here and I've just made the regrettable mistake of trying to re-watch the Star Wars Holiday Special
 
@jaggedSpire Tell me you watched the commented version by That guy with glasses or wtv?
 
This is the version you wanna want, well... when I say want to
 
I have watched the NC review, and I'm currently reading the cracked review to feel less bad about my life decisions
 
Ell
12:37 AM
Man
 
NC's review is what got me to watch the whole, uncut SWHS myself
 
Ell
I knew that gordon brown sold a load of gold at a terrible price, but TIL he announced in advance when he would do it and for how much :V
What a stupid man
 
OMGF1!!11
It is already 1:37!
 
> Because what list of the worst ideas ever conceived would be complete without a baby Chewbacca watching a robot fail to give an instructional video for 8 minutes?
 
why does the flour says itself is triple sifted?
 
12:43 AM
probably because it is
 
which supermarket sells unsifted flours nowadays?
 
probably very few
> Calling The Star Wars Holiday Special a uniquely repulsive failure of the filmmaker's art is an unearned compliment.
 
need to update some lib, downloaded latest stable version from github, but don't know which folders to include
 
1:15 AM
@jaggedSpire Re-watch? As if watching it in the first place wasn't a mistake
I've only read the scene-by-scene description and that was cringy enough
 
I...don't know how I made it through the first time tbh
I think I'll blame even worse taste than I have now, and a quantity of sleep deprivation that let me find most things fascinating
I didn't find the holiday special interesting, of course. But it wasn't impossible to pay attention without cringing out of the room
 
Why can't we have K/QCacheGrind for Windows?
 
Because there's no Valgrind for windows
 
:-(
 
(yes, the trailing grind does mean something, surprisingly enough)
 
1:28 AM
I'm basically getting tons of spurious, useless profile information from MSVC2015 trying to slice off ~2ms from my parallel queues by removing locks etc.
Also going to need to replace all reference to std::mutex because MS sucks
 
Ell
Does recompiling with gcc help? :P
 
@Mikhail You're using too many locks. lol
What about spinlocking?
 
Ell
or hybrid lock :D
 
or just fuck it
Instead of using a lock, I'm going to try using luck
 
Wait, you can fuck things with luck?
I guess that's kinda true though.
 
1:34 AM
There are 100 million sperm in a single ejaculation. Everybody here is special.
 
1:50 AM
:3 /cc @jaggedSpire @Morwenn @Ven
 
When I dip my dirty paws in the soft feathers of my well fed chicken, I have a moment of pleasure. Sometimes I pat her a little, sometimes I give her a light little squeeze. She often turns around, get close to me and look at me with those loving gaze
 
@Borgleader foams at mouth
 
2:23 AM
Anybody tried to benchmark std::unique_lock vs std::lock_guard?
 
?
they're two different things
 
unless you're doing it wrong
like I am
 
I just use lock_guard
I've never had a use for std::lock
 
condition variables? .wait() releases the lock
 
2:38 AM
Hmm, maybe if I overclock my computer I'll solve my performance problem without having to code
 
3:23 AM
Who the heck buys Mac Book Pro nowadays .. It has become pro machine for web surfing .. due to limitations imposed by apple. Here is a real pro machine for sweet 4400 USD;/
http://www.techradar.com/reviews/razer-blade-pro-2016
 
I still prefer desktop if I have choice - with $3000 USD, you can build a super machine if you know how
 
@ProblemSlover I'm sorry but I can't take a computer that has under 64GB seriously.
Here are some real computers for half the price
 
@Telkitty +1. upgraded to 6950x . never been happier
@Mikhail well I never heard about those brands../
 
4:00 AM
@ProblemSlover I find it hilarious how Intel can jack that price up so high and yet people still pay for it.
Granted, I'm slightly guilty of that myself since I have a 5960X. But 70+% extra for only 2 extra cores and less overclock headroom.
 
I'm just waiting for a dual socket laptop
If I had some tape, I could probably whip something up, and use MPI to communicate
 
@Mikhail Sounds like a tall order.
They do make laptops that take desktop chips.
But not for the server variant - at least not that I'm aware of.
 
They have mobile xeons for ECC
Curiously, retailers like Dell actually don't include ECC memory in the price
 
@Mysticial well man... those 700 Bucks.. not big deal for me,.so. And I would say those who are willing to be smart in investing of their rig probably go for cheap ES xeons on ebay
 
@ProblemSlover "not a big deal"? Company money? Or are you just filthy rich?
Arguably, the really expensive server chips are a better deal since you can multi-socket them.
But that's not the case with the 6950X.
 
4:19 AM
or the 8890, supposedly you can have 8 of them, for a total of 176 cores on your node
 
@Mysticial I work for myself.
 
18
A: Windows 7 timing functions - How to use GetSystemTimeAdjustment correctly?

ArnoThe GetSystemTimeAsFileTimeAPI provides access to the system's wall clock in file time format. A 64-bit FILETIME structure receives the system time as FILETIME in 100ns units, which have been expired since Jan 1, 1601. The call to GetSystemTimeAsFileTime typically requires 10 ns to 15 ns. In or...

fun read
 
> The call to GetSystemTimeAsFileTime typically requires 10 ns to 15 ns.
Is it just me, or does that seem overly fast?
So ~50 cycles? Really?
 
Sounds hard to achieve because it has to be thread safe.
On the other hand its perfectly believable if all they need to do is read the PIC
 
Oh, it's not reading from the disk.
It's probably doing an rdtsc call. Then a bit of math to do the conversion.
The "FILE" part fooled me into thinking it did a disk access.
 
4:39 AM
It just converts to whatever format is used for the time attributes of files.
 
Another interesting attribute is the mismatch between units, NT internal resolution is in 100ns BUT the winapi resolution calls like TimeBeginPeroid are in ms.
TimeBeginPeriod
 
TimeBeginPeroid is what you call when you want your time on steroids.
ba-dum-tish
 
Another missed opportunity for a female hygiene joke.
 
That'll teach you to typo.
 
4:56 AM
Unspayed cats and dogs will have a period – or more correctly – come into heat. In female dogs, at the onset of heat, the vulva becomes quite swollen and will bleed. Some bitches bleed so much they will leave spots of blood all over the house.
 
Calls to timeBeginPeriod/timeEndPeriod or NtSetTimerResolution may change the system time by as much as ActualResolution. Doing it very often results in considerable changes of the system time.
The "Quantum Zeno-Effect" for computers
 
5:15 AM
Anybody have experience distributing stuff linked against ntdll.lib? Is it Windows version specific?
 
Dat edit doe
 
5:27 AM
@Mikhail What does ntdll.lib do?
 
why aren't files in the project's libs directory automatically treated as library files in xcode? :p
 
I've never had any linking problems on Windows once I figured out how to compile things properly.
 
@Mikhail Isn't that just the stubs for ntdll.dll?
 
Yes
But do they change between OSes?
 
I doubt it.
 
5:31 AM
I've had some annoying stuff in the past with bcrypt.lib, where I had to have the correct windows kit installed before it was ready for distribution .
 
5:49 AM
-2
Q: C++ Map throws vector subscript out of range

Thomas PaineI am trying to create a class which stores its instances in a map like so: class Apple { public: static Apple* getApple(const std::string &name) { auto it = allApples.find(name); if (it == allApples.end()) // if this apple doesnt exist, make a new one ...

 
6:46 AM
@Mikhail Depends on how you do the linking. If you link by name, you're usually pretty safe. If you link by ordinal, chances of breakage approach unity.
 
7:45 AM
should I tremble in shame if a hacker changed password to my email account?
 
@Borgleader So utterly cute :3
 
Ven
8:23 AM
Hi
 
8:45 AM
SONY DSC-RX100 IV looks yummy. Too bad the price is prohibitive for me.
 
nearly a week after I purchased my waterproof cam, the seller sent me an email said 'the colour you chose is not available'
 
@Telkitty Makeup?
 
no makeup? my mistake >_<
 
9:03 AM
Yup, no makeup :p
 
 
2 hours later…
10:35 AM
@Puppy Hey you
Are you around?
I have a question to ask you when you find this
 
10:55 AM
@MarfGamer "all rights reserved" is by default in jurisdictions where it is relevant.
You may add a disclaimer for those unaware ("All rights reserved" is a typical formulation), but that's it.
 
11:51 AM
> You can buy a brand new Cessna 182 today, and they want you to put 100 octane leaded fuel into it. It has an 8.8 liter engine with an 8.7:1 compression ratio producing 250ish horsepower. Now, forget motorcycles for a moment: my car puts out the same power with a 3 liter engine and a 10:1 compression ratio, and it runs on 87 octane pump gas with God only knows how much ethanol blended into it.
why don't we have more electric airplanes yet?!
 
Hey guys
I have a character matching function that supposed to match to "isdigit" until it doesn't
if I feed it stringstream.peek() repeatedly it keeps on failing. Why?
 
d+?
@VermillionAzure closed as "questions need to have code that reproduces the issue"
 
@BartekBanachewicz batteries are heavy
 
I wonder how hard would it be to build an airplane with say 15 minutes of flight
250hp is around 190kW
 
11:58 AM
working at full 190kW would require quite a lot of batteries indeed even for 15 minutes
 
you need about 47.5 kJ of storage
for just those 15 minutes assuming no losses
 
that's as much as the smallest capacity Tesla
> 1200 lb/544 kg (85 kWh)
so around 250-300kg for 48 kWh/kJ
 
on another note certifying aircraft engines is expensive and the power requirements for an airplane are very different than for a car
^one of the biggest reasons that planes still use leaded fuel
 
well I guess you certify after the thing lifts off the ground
which was my main concern right now
lel I went on for a search of batteries and found an alternative fuels factory line for sale
Allegro can still amaze me
"shipping: 21 days"
 
@BartekBanachewicz 1 kWh = 3600 kJ
 
12:04 PM
@ratchetfreak oh shit right
that's wrong
A 200Ah @ 12V industrial battery weighs 58kg
that's what, 2,4kWh?
I guess Tesla's pack is way more efficient then
about 4 times
but still, if I only need about 0.015 kWh, I could get a 30kg battery
that's literally nothing
 
for literally no airtime
 
15 minutes is enough for fun
also welp I've picked a huge engine for that
A cessna with that engine takes what, 250kg of fuel?
oh shit it has 1700km of range
found it, 55 galons which is about 200 liters
to carry one person the engine could be much smaller, but they seem to be rare actually
 
Wow
EOF is not an ASCII character.
 
I mean you can easily get a 75kW 3k RPM motor, but they run on ~400V, not 12
 
12:16 PM
@VermillionAzure of course it's not, ascii is only 7 bits
 
@BartekBanachewicz It's pretty ridiculous though...
Is there no C++ alternative to EOF without checking the stream state?
 
also it looks like those engines weight a ton
 
@VermillionAzure ... why not just check for the stream state?
 
@MarkGarcia I guess you're right. I'm having a data-focused mentality because I'm trying to practice manual parsing
 
But it's basically the same thing so I agree -- I should.
 
12:19 PM
@ratchetfreak More like, hydrocarbons is one of the densest energy sources.
 
90kg for 15kW
hmm, not too promising
actually that's heavy af
 
@BartekBanachewicz Wait, you want to build an RC or a flying death trap?
 
the latter, duh
 
Ah, that's more fun.
 
@MarkGarcia just google for "human carrying drone"
 
@VermillionAzure Well, you can have the stream throw an exception on EOF.
 
@wilx Why would I want to do that
 
this is really scary stuff
you can use those websites and they'll build you an army of drones
 
@VermillionAzure I am just offering that as an alternative to explicit stream state check.
 
12:29 PM
you could literally design a combat drone and just send the plans
and then they'd ship
what a crazy world we live in
 
@wilx Ah.
 
you may end up on watchlists though
 
Wait, you mean he isn't already on watchlists? :o
 
1:03 PM
@BartekBanachewicz They'll probably draw the line at "do the plans include machine guns?"
 
@R.MartinhoFernandes you can order parts and assemble them yourself
I'd hire a weapons expert anyway, a good overlord needs good support team
 
@BartekBanachewicz But that's nothing new :|
 
you can just let them put hardpoints on the frame for the combat accessories that you'll install later
 
also this is amazing start at pt 1
@ratchetfreak or that yeah
 
They won't build you an army of drones if you're the one building it.
@ratchetfreak But again, that's nothing new.
 
1:04 PM
@R.MartinhoFernandes that's really close though
 
You can buy and install guns on anything.
 
I guess
A personal electric airplane sounded fun enough w/o guns anyway
 
@R.MartinhoFernandes yay drones with gattling guns attached (preferably like this).
 
@StackedCrooked that has so much recoil it would be enough to fly on its own :P
A10 has a special system that counters the recoil of its gun with the control hydraulics
 
On another note, do you know they can have any protein synthetised and delivered to you?
 
1:08 PM
@BartekBanachewicz need to be sturdy drones
 
@R.MartinhoFernandes tasty ones too?
 
@BartekBanachewicz If you can design one so, yes.
 
now this is scary
 
They also do CRISPR stuff, so you can do gene editing for your own crop breeds.
 
so you could also make biological warfare
amazing
 
1:17 PM
I learned of this as one way for an AI in a box to obtain "arms".
Design an appropriate genome, cross an air gap to access the Internet, find some dirt on an individual with suitable personality traits, and blackmail them into ordering some specific proteins from such a company and produce the organism you designed. Once that's done, you are bootstrapped.
 
> Kolos ma ponad 6 metrów długości i waży przeszło 40 ton. Napędzany jest 12-cylindrowym silnikiem diesla o mocy 640 koni. Jazda nim to kosztowne hobby: pali od 360 do 460 litrów ropy i 30 litrów oleju silnikowego na każde 100 kilometrów.
 
@R.MartinhoFernandes lolwat
 
heh
@R.MartinhoFernandes lol
 
The western blot (sometimes called the protein immunoblot) is a widely used analytical technique used in molecular biology, immunogenetics and other molecular biology disciplines to detect specific proteins in a sample of tissue homogenate or extract. Artificial antibodies are created that react with a specific target protein. The sample to be tested is prepared and put together with these antibodies on a membrane – if the specific protein sought for is present, after a gel electrophoresis step this will result in an accordingly stained band on the western blot. A number of search engines, such...
 
You should start an Evil Overlord's Journal
so that I could read it and keep up to date on recent developments
 
Xeo
1:24 PM
It is a good idea to to keep member variables as private; however, you should give them access by set and get functions which must be public. — macroland 1 min ago
...
 
Incidentally I started refurbishing my axe yesterday for the zombie apocalypse
I guess it'll work for smashing rogue drones and routers with evil AI too
 
@Xeo expert programming advice
 
super expert
 
@Xeo Amazing that the question is about how to keep the invariants and the suggestion is to pretend there is no such thing as invariants.
 
@R.MartinhoFernandes :D
 
1:34 PM
@R.MartinhoFernandes Molecular biology wikis are such a rabbit hole for me.
 
@BartekBanachewicz Arguably this is better than ordering 3D-printed robot parts, because the organism can assemble itself from a microscopic seed, i.e., the schmuck doesn't need to know what is happening.
 
nwp
@R.MartinhoFernandes where did you get the "no such thing as invariants" part from?
 
@nwp That's what exposing your member variables like that does.
 
nwp
ah, ok
 
Xeo
If anybody can set and get your variables, you have no guarantees as to their values
 
1:45 PM
TIL bashism ${!foo}
 
2:01 PM
@Xeo The OS level process boundary should be sufficient for everyone.
 
2:41 PM
Hi, how would I get the DC of only a specific part of the screen? Or better yet how would I look for a single pixel change?
 
hehe
There are 2 hard problems in computer programming. Cache invalidation, naming things, and off-by-one errors. Your choice of two variables leads you to having a "cache" of the value (am I alive or dead?) in two spots. Don't make hard problems for yourself. — Yakk 20 mins ago
 
yay
my coworker will look at the moto posting
he's a triumph fan so I hope he'll be able to see if it's worth pursuing
the first thing he obviously said to me was "are you nuts" after I confirmed it's gonna be my first "real" bike
but then again
gotta go fast
 
nwp
@BartekBanachewicz not sure they taught you right in driving school
 
@nwp having failed an exam after going too slow, I'd differ :P
I'm super excited anyway
 
nwp
2:58 PM
Just ... remember that the real world runs on C++ and not Haskell and your body is not, in fact, immutable.
 
I am scared, someone hacked one of my email accounts, changed its password, then paid monthly VPS bill for me ...
 
@Ell No
 
@Telkitty Or maybe you have split personality?
Also, are you not using 2FA?
 
not using my credit card, so 2FA doesn't apply?
 
@Telkitty It is not connected to that, I think. You can just enable 2nd authentication through SMS and some one time code.
 
nwp
3:05 PM
@wilx Do you seriously type in the code from an SMS every time you check your email?
 
right, sending myself an sms everytime I try to log on to my own server ...
 
@nwp Of course not. It keeps me logged in in specific browsers and times out once in a long while.
 
@Ell Not being a comparison sorter, it's doing a lot of work behind the scene to handle many types. I'll feed it to my benchmarks in the evening to see what it's worth.
 
also I don't own the mail server, it's a private server ... and apparently someone was using one of my less used accounts to spam people, wtf
those are private email accounts, not public toilets ...
 
nwp
Maybe it is time to change all passwords to different long random passwords.
Now that I think about it writing the passwords on a post-it and putting it on the monitor is not actually terrible. It doesn't get hacked and people with physical access to your monitor can screw you over without the password.
 
3:15 PM
@nwp also it means you'll only be able to log in from that one device because you can't easily transfer it
 
@nwp I have 8+ frequently used accounts, and I have changed passwords a few times during the past 12 months because a few hacking incidences
 
nwp
@BartekBanachewicz Those post-it notes are not that hard to transfer, they fit in a wallet nicely. And arguably you are screwed anyways when your wallet gets stolen.
 
@nwp Why make it worse, though?
the point is to minimize the impact should the breach happen
that's why you're supposed to have different passwords btw
 
nwp
@Telkitty Using different passwords?
 
I love how « TOTAL RETARDATION IN C++ » is still updated.
 
3:23 PM
@nwp I am running out of passwords
but yes I do change them often
 
@Telkitty Use phrases instead.
 
nwp
@Telkitty That sounds like you are using a bad way to generate passwords.
 
Also, APG tool gives reasonable passwords.
 
@nwp I do.
Not from an SMS, but effectively the same.
 
nwp
@R.MartinhoFernandes Hmm, I thought you prioritized your free time over replying to people/mails, I don't understand why you made that trade.
 
3:30 PM
in order to delete trash emails, I changed display on every page to 200 emails, at 50% normal size
 
@nwp I don't check my email often enough for a 30-second delay to be problematic.
 
buttons are so tiny
 
Mar 16 '16 at 14:26, by sbi
He just got his keys, which apparently he needs to log into google (Don't ask!), which apparently he needs to log into the Lounge. (Don't ask.)
FWIW
 
@nwp I have a yubikey
yeah, I also need my home keys to get into the lounge
or I guess my phone because there's also the fb route
 
That said, the Lounge is one of few things I keep logged in for long.
 
3:51 PM
It would be sad if a hacker accesses my email accounts more frequently than myself
 
4:04 PM
Multitasking.. (second attempt)
http://i.imgur.com/HUOHxIy.gifv
 
4:25 PM
Oh my gosh.
I FINALLY made it to an inteview stage.
Ahhhhh is this how it feels to do job applications in the real world where 20 come back negative and 1 finally gets to the interview stage. ;~;
 
And then you get rejected because you're not properly wearing a tie.
 
@ThePhD Come to France, get a shitton of city offers!
 
@ThePhD It can get a little depressing. Then you get a job, and it gets really bad! ;-)
 
@JerryCoffin I should learn to do individual consulting like you and @TonyTheLion some day.
 
mm I found a nice service video for the 955
doesn't look bad
 
4:36 PM
@ThePhD I'm not doing that any more. Well, not much, anyway. I've had a real job for the last couple of years (or so).
 
@JerryCoffin Oooh. How do you like it, in comparison? Is it competitive wage-wise? Paperwork more or less?
 
actually my small bike looks a lot like the big ones in service, it's just easier to disassemble I suppose
I should replace the clutch bearing in it someday and do a complete overhaul but lazy
 
@ThePhD Definitely less paperwork. I like the work itself better, but it takes up quite a bit more time, leaving less to spend with my kids. Pay is a little hard to compare, since I moved from Colorado to California, so cost of living is higher. If I were still single, consulting would probably be better financially, but my wife can't "keep her hands out of the cookie jar". For example, when I was consulting, I got a $30K check once.
I figured we had enough to live for at least 4 months, probably more like 5, and if were careful could probably make 6. With my wife managing the money, however, it all disappeared in something like six weeks.
 
@JerryCoffin was there a sudden increase in the number of shoes in her closet?
 
So, even if it's somewhat less money overall, a pay check that's regular and dependable helps keep my wife's spending under much better control.
 
4:46 PM
I had a friend who bought a new car just to make the car money empty the budget so that his wife wouldn't spend it
 
sounds like a savings fund is a necessity, nothing comes out of it unless it was planned 6 months in advance or we don't have a house anymore
 
@ratchetfreak No. The part that pissed me off more than anything else is that about $10K of that I can't account for at all (and yes, we have....discussed....this at length, with no resolution).
 
@JerryCoffin I know how you feel about the money. I live with people that do the same thing, albeit with substantially less money.
It goes poof, you wonder WTF they're spending it on, and don't see it anywhere in the house.
 
I dunno what's worse
your SO doing that or yourself (myself :S) doing that
 
Like, did they bail a friend out, did they buy someone a chunk of a car, like
Where the fuck is the money???
 
4:51 PM
maybe it's somewhat of a mentality issue
we have some extra money now so I can spend $20 more on stuff this week
 
Weekly wages are so weird for me.
 
I think I'd like to be paid weekly
 
buying the brand-name products instead of the store brand stuff for example
 
@ThePhD Well, there's no question that I've bought made some pretty impractical purchases at times, but I've always been careful to assure that necessities took precedence, and I really did have something in exchange for the money. The strange thing, however, is that many purchases I made knowing they were completely impractical, actually ended up working out pretty well financially.
 
@ratchetfreak that's one thing nice about living in a place like Poland, I don't need to be concerned with that so much
 
Xeo
5:07 PM
30k... I could live over a year without doing anything if I got my hands on that much at once.
 
@ratchetfreak If anything, my wife tends toward the opposite of that--she'll scrimp and save, squeezing the last penny out of costs that are already so small they make no difference, then turn around and waste 1000 times that much on crap we don't need, and as far as I can tell even she doesn't really even want very badly. Practically every time I work on cleaning up stuff in storage I run across something she bought N years ago that she's never even bothered to take out of the package.
For example, just a few weeks ago I found a 2014 wall calendar still rolled up and sealed in its original packaging.
 
Ell
@ratchetfreak I tend to buy brand name foodstuffs but reverse the effect by buying the "best quality" version of it :V
 
@Xeo If it were me alone, I could too. Pretty sure I couldn't support a family of six for a year on that though.
 
@JerryCoffin make her write a 5 page essay on each thing she buys and why she bought it until she learns the lesson?
 
@ratchetfreak I don't think it can be done. I dread the ensuing fight, but I think about the only way I can get things under control is to open a new account to which she doesn't get access, deposit my checks there, and simply give her some "allowance" that she wastes however she feels like.
 
5:16 PM
@Xeo No you couldn't, you would be bored to death after 1 month, 2 months tops.
 
@JerryCoffin Calendars in their original packaging will be like action figures in the future!
 
@R.MartinhoFernandes Uhhhh...sure. If you say so.
 
@milleniumbug I suppose I shouldn't be any more, but every once in a while I'm surprised at the subject to which a web site is devoted...
 
> I like goto! It's nice, it reminds me of the seventies.
 
5:52 PM
sup
bye
 
00:00 - 18:0018:00 - 00:00

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