« first day (1791 days earlier)      last day (3383 days later) » 

15:00
The only problem is that since Snow Leopard, Mac OS upgrades didn't really introduced any new useful feature and they just got incredibly heavy to run.
Culminating in Yosemite which is really just the predecessor with some transparency here and there to make rendering a little bit harder.
The upgrades got free, though, so they're more like fancy service packs with a new name.
I just got hit on by a girl, entirely in Cantonese. ._.
If you see the presentation it's literally 70% of them just repeating how cool transparency is.
15:01
well I like how OSX integrates with iOS
On that side, Windows 10, looks better from here.
it's by far the only OS that allows me to pick up my phone from my laptop
I'd need to get an iphone, but I'm planning to do that next
But the neighbour's grass is always greener so...
Well Metro apps aren't actually useful
@AnastasiyaAsadullayeva How do you know she was hitting on you then?
15:02
in retrospect, I didn't use them on my yoga p much at all
I like Window's "metro" style a lot
I mostly coded on it and browsed the net
@Mr.kbok Because she asked for my WeChat (Chinese equivalent of WhatsApp)
But I probably would never get a windows phone.
I hope that OSX will just make that one device fault-less
15:03
But yeah, iPhone integration is awesome
one device I have to care about less
@AnastasiyaAsadullayeva How do you know she did? You speak cantonese?
And I'm probably the only soul on Earth that likes iTunes
I use spotify so
don't care about itunes being there or not really
15:05
but I like garageband and in general DAWs on Mac are p cool
@Mr.kbok No but I understand very basic things AND she pulled her phone out and showed me her WeChat ID and pointed at me, I guess that means "give me your WeChat ID" and not "how do I synchronize my contacts with the cloud".
even Reaper works on OSX
She did say she's from Guangzhou and doesn't speak English which is very helpful
It's just weird seeing you move to OSX
why?
I don't think I'll notice the change in the OS that much
I, like, mostly use the terminal, spotify and web browser
15:06
It's the only logical step, @ʎǝɹɟɟɟǝſ
Xeo
Xeo
Bartek's always been an apple hipster
Bartek has always enjoyed dick
Fag OSX makes perfect sense
Jul 29 '13 at 11:56, by Bartek Banachewicz
@Fanael I don't think that OSX is a bad operating system.
I guess I remembered wrong
@AnastasiyaAsadullayeva was she hawt (emphasis mine)
What emphasis?
15:08
I had no rectal thermometer on me, I'd say about 36.5 celsius
@AnastasiyaAsadullayeva Are you saying you were penis-less?
ITT Jefffrey's penis is a thermometer
do you want to discuss OSes by e-mail
@Mr.kbok its a retort.
I feel like there is a bit of déjà vu.
15:14
It's a meme now. Sorry.
What do you mean it's a retort?
@AnastasiyaAsadullayeva iow too fucking hot
@Morwenn NO ACCENTS IN THE AMERICAN ALPHABET
Internet is belong to USA
NoOoOo
what did he say
@AnastasiyaAsadullayeva I don't really care about America.
15:16
I want to be an owner just to stop people removing stuff from my face
@Mr.kbok they're taking the hobbits to isengard!
@Mr.kbok use stargazer, it restores deleted messages
@AnastasiyaAsadullayeva It doesn't work lol
It does nothing
Well it works for me vOv
I can see deleted messages
@AnastasiyaAsadullayeva that's naïve
15:18
Shut up you inferior non-American individual
How does it feel to wear clothes for the first time??
@AnastasiyaAsadullayeva damn elevens
@Morwenn you might even say that you could care less
you can't spell Asadullayeva without 'dull'
Nor Anastasiya without stasi
@thecoshman Yes. I could care even less. Not sure I would be doing anyone a favour though.
15:20
@milleniumbug sure you can, Asaayeva
I spent the whole day trying to debug assembly loading issues in VS, turns out there was a stray "îþîþîþîþîþ" at the end of an XML file
7
@Morwenn o_0 ... moving on.
ibibibip
@Mr.kbok I read that as bipbipbipbip
@AnastasiyaAsadullayeva Yes
@AnastasiyaAsadullayeva I'm picturing roadrunner making fun of me
15:21
p4merge tends to insert some kind of UTF8 BOM in files sometimes for whatever reason
@AnastasiyaAsadullayeva p4rip
@AlexM. Hahahaha "Palm trees have sprouted on Skellige." jedi wave
top kek
I have a pussy that is smaller than my hand in my bed right now. So cute.
i can smell the bait from over here
@ʎǝɹɟɟɟǝſ a cat?
15:24
yes
kitty
i came in here for one reason and one reason only
Mr. kittybok
15:25
std::ifstream ifs(filename);
ifs.seekg(0, std::ios_base::end);
size_t size = ifs.tellg();
ifs.seekg(0, std::ios_base::beg);
std::vector<char> buffer(size);
ifs.read(&buffer[0], size);
return &buffer[0];
FUN?!?! WHAT THE HELL IS WRONG WITH YOU!!!!
^ I found the root cause. Spot the bug.
@Mr.kbok Nice pointer to local variable there.
@Mr.kbok whats the return type?
@Borgleader std::string
Sorry, that's important indeed
15:27
@Mr.kbok No trailing \0?
@EtiennedeMartel Yep.
There we go.
@Mr.kbok I know! It's C++. There's your bug.
hence "îþîþîþîþîþ".
îþîþ hurray
15:28
Relying on that implicit conversion is terrible
This is why implicit conversions are a bad idea.
what would change with an explicit string construction?
You wouldn't have to ask for return type
the conversion isnt the problem, \0 bullshit is
@EtiennedeMartel The real issue is that I can't get Visual Studio to debug C++/CLI, so I spent a lot of time understanding where the issue was from. I was simply left with a "internal error" messagebox.
15:29
ah, ok
but it wouldn't help avoiding the bug
@Mr.kbok You have to set your debugger to "mixed".
@EtiennedeMartel I know, but it doesn't work for some reason. Maybe 64-bit.
No, but you could as well use the range ctor and not char* one
It'd be more readable and you don't have to insert any dumb \0
(Which is another bug waiting to happen if you get stray \0 in the middle of the file)
True, but that is not related to the fact that the conversion is implicit
@CatPlusPlus This code is meant to be thrown away in exactly 30 minutes, so I didn't bother
15:30
Why wait 30 minutes
He's pretending to be working on it
so he can chat in the meanwhile
I'm testing if it works when reading the buffer from a file, and when it does I'll use the real output from the program instead
@Morwenn aww :3
(it's a cat)
@CatPlusPlus He's French. If he does it any quicker he'll make his coworkers look bad and they'll all resent him for it.
They're already mad at me because I ate all the baguette and cheese
baguette and cheese is love
15:32
did you also raise a white flag while on strike
Depends on the kind of cheese.
also don't forget to be rude and have a strong accent
while smoking a cigarette and dressed as a mime (???)
stop making fun of my accent I know it sounds very french
I can't read your accent
15:33
Does it? get on mambel asap
@AndyProwl mumble.
zissize a vèctore foule of inte
oui canne risaillezitte ofcourse ouize ze méthode .rezise
@Mr.kbok ah, I see. Can't talk now
15:34
butte zatte dazènt cheynge ze capacitie
a vécteure
1 minute in "wow kbok sounds very very french !!!" :'(
I didn't know you were french
@AnastasiyaAsadullayeva u're not on mamble?
I thought you were from Brittany
@TonyTheLion 2 mins
15:35
:)
@Mr.kbok lol, accents are cool don't mind them
@EtiennedeMartel meh
every other industry pretty much has to compete with others in their field
don't see why taxis should somehow be different
@TonyTheLion Taxis have to follow very strict rules. Uber doesn't.
Hell, Uber themselves are claiming they're not a taxi service, which means they can skip the regulations, dump their cash in a tax haven and not give a shit.
15:39
@EtiennedeMartel Just found in Witcher 3 "Tyromancy, or the Noble Art of Cheese Divination"
It's not fair competition, which is the exact issue here.
@EtiennedeMartel very true
@EtiennedeMartel Haven?
adjust the system for someone like uber, move on
Real taxis are sometimes shady enough idk why would you want to get a ride from someone totally random
15:40
@TonyTheLion If you put the same amount of regulations on Uber as you do on taxis, then suddenly Uber won't be as competitive.
In fact, they probably won't be.
errryone get on mambel
@CatPlusPlus What?
But you need rules. Otherwise you end up like what Cat says.
Tony is drunk and saying some weird shit it's hilarious
for real
15:41
> Perl 6 corrects some of the flaws in the Perl 5 design, but in doing so it also corrects many of the flaws in other popular dynamic languages.
@AnastasiyaAsadullayeva My family is, but I was born in France.
@CatPlusPlus It's not "random", they need a license and shit. Or at least they need to in civilized countries, I don't know about Poland.
Taxists are not exactly "random"
@Mr.kbok I thought you were an individual of value
I mean Uber drivers
15:42
They are just as random as bus drivers are
UberX allows basically anyone to do the same job, with no transparency or accountability.
insmod uber.ko
And Uber doesn't pay taxes in the countries where it operates.
And it kinda treats its employees like shit.
And they're assholes.
@EtiennedeMartel Yes that's what I said
@EtiennedeMartel Welcome to the modern world! Technology empowers the people~~
15:44
But because it's cheaper than taxi and it comes with a shiny fancy smartphone app, then people lose their shit and forget the bigger picture: that there are too many cars and not enough bike lanes in a fucking city.
Apropos bus drivers, 3 days ago they caught a bus driver here with almost 4 promilles
It depends on the city
Anyway. In 10 years our taxis will be self driving cars, but by then Uber execs would have stuffed their billions in a tax haven somewhere in the Bahamas and they'll leave their drivers in the dust.
Uber is popular in France because we have the shittiest taxi service in da world
Fire ze taxis
15:45
@Mr.kbok azy aret la raciste
What's promilles?
@Mr.kbok Shoot 'em with a Panzershreck
In NYC, uber isn't as popular, because taxi service is as good and you get your taxi faster than your uber
In paris you wait 30mins for a taxi
15:46
@ʎǝɹɟɟɟǝſ 1/1000 of alcohol in blood/exhaled air
@AnastasiyaAsadullayeva porte-mayo
Is that a lot?
@Mr.kbok allégée en graisse svp
15:46
What's the limit?
Blood alcohol content (BAC), also called blood alcohol concentration, blood ethanol concentration, or blood alcohol level is most commonly used as a metric of alcohol intoxication for legal or medical purposes. Blood Alcohol Content is the legal name for BAC but Blood Alcohol Concentration is sometimes used for simpler description. Blood alcohol content is usually expressed as a percentage of ethanol in the blood in units of mass of alcohol per volume of blood or mass of alcohol per mass of blood. == Effects by blood alcohol content == == Estimated blood alcohol content by intake == To calculate...
@ʎǝɹɟɟɟǝſ In Poland? 0, IIRC
@AnastasiyaAsadullayeva porte ketchup is on the east side
@Mr.kbok You guys have the worst service of anything in the world.
15:47
@набиячлевэлиь I think it's 0.2
5+ is lethal
@EtiennedeMartel that's not... yeah ok
I've spoken to a few Uber drivers here in the UK, a lot of them came from other taxi companies and said that they were enjoying working for Uber. <anecdotal data>
Which doesn't matter since drinking one beer/one shot of vodka exceeds that IIRC
0.02% in poland
0.05% in italy (above 21 years old)
15:49
My VS now constantly crashes, no matter what or not matter where I debug in my project. =/
Guess it's time to find a new Build System and IDE.
yup remembered right
@Rapptz is lucbuild™ ready?
@ThePhD Sublime Text 3
/cc @Nooble
That's a text editor, not a build system.
gvim
ask sehe
15:49
CMake
@ThePhD Start VS in safe mode, and try to clear user data. I used to have the same issue and that solved it.
or scons
@ThePhD Ctrl+B, OTOH is
@AnastasiyaAsadullayeva How does one start VS in... "Safe mode" ?
15:50
flex :P
First you need a goat
.-.
@ThePhD I forgot
15
Q: Why is Visual Studio constantly crashing?

NescioVisual Studio randomly crashes when adding/removing references and projects. Any thoughts why? Will installing Sp1 help? EDIT: I do not work with any addons except SourceSafe. I do most of my development in connected mode. Developing using: Visual Studio 2008 WinXp Terminal Service -> ...

inb4 "because VS"
user1804599
@fredoverflow repost
15:52
@elyse sorry :(
> Boot up in safe mode
> VS boots in less than 1 second
WTF are these extensions DOING
@elyse May I please you with What's wrong with Java's type system? instead?
@ThePhD ( ͡° ͜ʖ ͡°)
user1804599
@fredoverflow erased generics.
15:53
@ThePhD Figuring the best way to crash VS
2
user1804599
VS also takes about 1 second to start on my machine.
EVERYTHING IS A FUCKING JOKE
Xeo
Xeo
fuck xcode and UE
time to go home
Well, it still crashes immediately. =/
Back to square one.
Try the devenv /resetuserdata, deleting .suo and things
15:54
@TonyTheLion Why do you say that?
Because it's true
@fredoverflow because I feel like it.
What makes you feel that way?
~~~~software~~~~
format your C:
15:56
Nooble2015
> This is fixed by regenerating the visual studio files
.....
Are you fucking kidding me
"YEAH JUST REDO ALL OF YOUR PROJECT AND SOLUTION FILS"
FILS-AIME
FILLET O' FISH
preemptive "BUKKAKE"
15:58
audible roars
audible sigh
Sullcy & Mouldre: Teh Ks Fils
if((char const * val = "git gud")) is valid code, right?
Yes, but also pointless in its current form.
@fredoverflow The pointlessness doesn't matter
16:01
it has a pointer so it points
It is equivalent to char const * val = "git gud"; if (val) ...
> <record>604</record>
<time>2015/09/11 15:59:24.396</time>
<type>Error</type>
<source>Color Theme Service</source>
<description>The color &apos;Popup&apos; in category &apos;de7b1121-99a4-4708-aedf-15f40c9b332f&apos; does not exist.</description>
:I
:IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
@fredoverflow Point is, g++ 5.1.0 refuses to compile that
16:02
That's my error
The fucking
color scheme service
fucking blows my shit up
@набиячлевэлиь Oh wait, the code is wrong. You need to remove one pair of parens.
@ThePhD audible explosion
ok i'll stop now
@fredoverflow Oooooh! Thanks
@набиячлевэлиь fred is right, the problem is that what's inside the parens there must be an expression. Declaration is not an expression.
Right, you can't parenthesize declarations. Unless you count if (char const * (val) = "git gud") ;)
16:04
OTOH the parens in if(whatever) are part of if statement and so are not considered as parens
@fredoverflow (declations)
@milleniumbug Of course
@набиячлевэлиь 1776: Declation of Indy Pandas
Just gonna reset, shower, and then bemoan my existence.
Why don't you bemoan your existence in the shower? Saves time.
@ʎǝɹɟɟɟǝſ These are on my to-watch list:
fred@blackbox ~/watch $ ls
Bill Venners, Q&A with Alexy Khrabrov of SF Scala @Sungevity.mp4
Book Reading Club Effective Java by Josh Bloch - Part 3.mp4
High Performance Lists in Java - Thomas Mauch auf Vimeo.mp4
Java 8 DOs and DON'Ts - Fredrik Vraalsen auf Vimeo.mp4
Java Concurrency Under the Hood.mp4
New Concurrency Utilities in Java 8 by Angelika Langer.mp4
The Opposite of Infinity - Numberphile.mp4
The Rule of Three - Kevlin Henney auf Vimeo.mp4
What's wrong with Java's type system auf Vimeo.mp4
you can't spell bemoan without 'moan'
16:13
You can't speel bemoan without "emo"...
You can't spill bemoan without 'be'...
You can't spell any word without the empty string ""...
yup can't beat that
How often does the empty string appear inside the empty string?
every time
16:18
@fredoverflow Turtles all the way down.
16:33
I haven't done the math, but I suspect if the bullet had all the tea in China, it might mass enough to pull the gun back to it. d: — aslum 3 hours ago
@TonyTheLion I'd love to have this handy in 10 years or so, when he's talking about how much better his current thing is than all that shitty stuff that came before...
16:49
@TonyTheLion Thats big words from a company that couldnt get the savers working properly on PS3 (for Skyrim at the very least). Besides, its bullshit, recent open world games: Witcher 3 and GTA V, neither of them were shitty, in fact quite the contrary.
user1804599
@fredoverflow ask on Computer Science.
Wiedźmin is love, Wiedźmin is life death
@ScottW Blasphemy
@Borgleader The Inquisition probably would have agreed. :-)
@JerryCoffin I never would have expected the inquisition
to agree
16:55
@Borgleader Of course not. Nobod...no, doesn't need to be said.
17:23
@TonyTheLion Bethesda makes buggy messes with a tremendous amount of issues but some little endearing quality that kinda almost redeem them.
coliru.stacked-crooked.com/a/c98e18ec2737738a - any faster/better way to calculate pi? And if there's any, why?
target is obviously no supreme-precision scientific library but something quick and approximate
@MarcoA. system("ycruncher.exe"); /cc @Mysticial
@MarcoA. M_PI calculates pi on O(0)
@Borgleader that would be overkill :P
@набиячлевэлиь I'm wondering if using Google is O(1).. is there a timeout or something?
@MarcoA. Hrmm, does WolframAlpha have an API? :P
17:27
lol I suppose so
@MarcoA. Did you see, this?
uh nope, I'll give it a look thanks
compile-time stuff is neat for this kind of problems
that uses Leibniz's approximation: coliru.stacked-crooked.com/a/c98e18ec2737738a
@Borgleader You forgot the dash. :)
17:34
@MarcoA. I'd just hardcode it really
I don't think there's any practical use for pi digits after the 40th
Speaking of hardcoding. The decompressed download for y-cruncher is tens of MBs. Perhaps it's fast because I just hardcoded a few tens of MBs into the binaries. whistles...
that is some hardcore hardcoding
of hardcore material nah, that is prone to misunderstandings
@Mysticial That would be a feat in itself.
That is, not in quick calculation, but in the very impressive lossless compression
Though I probably should do something about the size of the download.
It's going to get significantly bigger once the AVX512 stuff rolls out. (whenever the hell that might be)
17:38
aaah fr33dom
I'm looking at some legacy code, and I see:

```
WORD A;
short B;
//...
B = *(short *)&A;
```
horrible
terrible
Is that not the same as:
B = (short)A
?
Don't get me wrong.. the cast is bad, but is that not equivalent?
not semantically
17:40
no.
what's the diference?
also depends on definition of WORD
your mum
^^ dat
ok, word is unsigned short
17:41
switch to C++ style casts
strange comment about rollover...
Technically, the former is undefined behavior. But VS and all compilers that copy VS (I'm looking at you Intel Compiler) don't give a shit about that.
I guess my question is: what's the difference between these two expressions
A = (short)B
A = *(short*)&B
assume A is short
and B is unsigned short
one of them is equivalent to static_cast and the other to reinterpret_cast
@TrevorHickey the second is unnecessarily convoluted if the first does what you want
17:44
If you're on Windows, then it makes no difference. The UB aspect doesn't apply since no Windows compilers do strict aliasing.
If you're talking standardese, the standard doesn't specify the representation or signed integers. It be whatever the hell the compiler wants.
what is strict aliasing exactly?
In the first case, the compiler must make the conversion numerically correct (barring overflow). In the second case, you're just reinterpreting the bits. If the environment so messed up that signed integers say have their bits reversed, then shit will hit the fan when you do the latter.
396
Q: What is the strict aliasing rule?

BenoitWhen asking about common undefined behavior in C, souls more enlightened than I referred to the strict aliasing rule. What are they talking about?

@набиячлевэлиь yeah yeah...
17:49
not yeah yeah
@Mysticial ok, so the first way can reverse the value back, and the second way can not....
if you can't google then you won't survive in this field
6
This is (almost) literally your question plugged into Google
@TrevorHickey Yeah. Hypothetically. A better example would be on hardware that uses one's-complement instead of two's complement for signed integers.
I can't name any hardware that actually does one's complement. But I know they existed at some point in time.
haha, I am googling it. I was just hoping that someone might explain it in the context of the expressions I posted
17:54
@milleniumbug Based on the questions I see on SO nowadays, I get the impression that the proportion of programmers who can't google is very high.
which is a sad state of affairs
ICE again...
compile-time calculations are horribly slow with respect to run-time ones.. sooner or later we'll ask optimization passes in the compiler itself

« first day (1791 days earlier)      last day (3383 days later) »