« first day (1751 days earlier)      last day (3188 days later) » 

12:00 AM
@rightfold That's web snackchat being terrible
 
@Ell Because I dont have codegen for mine and its only expressions/statements/functions T_T
 
Ell
nah I haven't written any of it at all :P
 
pretty sure he made it up just now
 
Ell
^ this
 
user1804599
Tabs should be avoided for the same reason as whitespace in filenames: tools are bad at them.
 
12:00 AM
I usually go with 4 but now that I work with mainly JS, I'm kind of leaning towards 2 spaces
callbacks on callbacks on callbacks lol
when you have to use the horizontal scroll you're doing it wrong
 
This should be fun.
 
@ʞɔᴉN I like 4 when I'm writing code in fullscreen, 2 when it's halfscreen or less
 
To the moon!
 
@rightfold Yeah, also Unicode and go back to your 80x25 terminals with ASCII
 
@jaggedSpire I like four.
 
12:01 AM
they'll work with everything
 
user1804599
Never create files of which the names don't match ^[a-zA-Z0-9\.\-_/]+$.
 
Never listen to rightfold
 
If tools are bad at whitespace they should get better at it.
 
user1804599
They'll break stuff.
 
Ell
you should fix the tools
 
12:03 AM
I have my editor set to convert tabs to spaces.
 
Broken stuff deserves to be broken. If it gets broken then what's stopping malicious users from doing this?
 
user1804599
Fixing the tools is more expensive than avoiding such filenames.
 
Ell
it is a better solution
you may accidentally have a bad filename
 
user1804599
Because there's shitloads of them and they're already installed everywhere.
 
I write code for human readability. Or I try to anyway. Sometimes there isn't a good name that doesn't summon the magic carpal tunnel fairy.
I suppose that would make it a bad name, anyway.
 
12:05 AM
you should see Obj-C method names
so verbose
 
Summoning fairies is always is a good idea.
 
By weird accident most Windows tools don't have problems with spaces in filenames
 
Ell
man I hope my phone can be fixed tomorrow
 
@Nooble I respectfully disagree, and suggest you have a word with Harry Dresden.
 
Ell
it's really going to fuck things up if not :(
 
12:06 AM
@Ell Just install gentoo on it
 
(they have problems with unicode filenames, but that's another issue)
 
yes I know that makes no sense
 
@jaggedSpire Dresden knows nuffink.
 
these all speak well of environments
 
user1804599
@ʞɔᴉN outputImageProviderFromBufferWithPixelFormat:pixelsWide:pixelsHigh:baseAddress:‌​‌​bytesPerRow:releaseCallback:releaseContext:colorSpace:shouldColorMatch:
 
12:07 AM
@Nooble :|
@rightfold goodbye hopes for succinct expressions of ideas
 
I call them "almost named parameters"
 
@Puppy When I turn on RCS and SAS I get stuck in some weird loop of shaking.
 
@rightfold HAH exactly
it's nice but tiresome at the same time
 
@jaggedSpire The name also give you an idea what are you supposed to pass to it. It's both an advantage and disadvantage.
 
exactly
no need for explicit documentation on args
 
12:11 AM
Also this provides support for "almost overloading" without complicated mangling
Which is good for language interop
 
@unordered_meow shrugs
 
@jaggedSpire (compare C++ ABI with name mangling)
 
user1804599
@unordered_meow Objective-C methods uses dynamic dispatch à la Ruby instead of linkers à la C.
 
user1804599
So that doesn't matter.
 
@unordered_meow That I can get on board with.
 
user1804599
12:15 AM
Every time you send a message, the method is looked up in a cache and then in a hash table.
 
@rightfold yeah except selectors can still be selected manually
 
user1804599
Yes, but even if there were name mangling then @selector(…) could handle that.
 
An another language could import them just like any other C function (not sure about that, haven't used Obj-C to that extent)
And call them directly
 
user1804599
No.
 
yes
 
user1804599
12:18 AM
If you want to send a message to an Objective-C object, you have to call objc_msgSend and pass the receiver, the selector and the arguments to it.
 
obj-c/c++ is compatible
 
@rightfold Fair point.
 
user1804599
You can turn a char const* into a selector using sel_registerName.
 
good info actually
 
Ok, so the reason I thought they did that doesn't really apply here
I stand corrected
> The page you were seeking burned down.
 
12:27 AM
 
yay my thing works on android
alright yall, I have an update loop of 1ms on a 3ghz i3
How slow do you think it'll be on a quad core 1.5 ghz snapdragon
 
Well.
What does this loop do?
 
copies and sorts 1000 very small pieces of geometry
Im thinking factor of 10 slow down
phones suck
 
Ell
Sure why not
 
I need a new keyboard.
The piano kind.
I'm browsing YouTube and all of a sudden, a relevant ad!
@Ell You need this.
Next time you decide to dance to things.
 
12:34 AM
I wonder what the lifetime guarantee means
 
lifetime of the phone obviously
"it will be protected until it shatters"
 
user1804599
@Nooble -1 no AdBlock
 
@rightfold Poor guy :(
 
What is this .nl site that spams with a huge cookie pop-up and doesn't work with NoScript or cookies disabled
 
12:38 AM
> Svalbard, a group of islands in the High Arctic, north of Norway; the one place on the planet where carrying a gun is a legal requirement, and for a very good reason.
Essentially, too many sehes trying to kill people.
 
lol the loop jumps from 7ms to 24ms
 
@unordered_meow this. every time rightfold posts that site
 
pretty disappointing... I wonder why its so jumpy
 
Ell
I am so sad about my phone :(
It has actually really upset me
I don't know how ill take photos on my Trip
I guess I'm going to have to shell out large cash for a new phone >.<
 
@Ell You have a OnePlus One?
 
12:46 AM
@ScottW E====D
 
@ʎǝɹɟɟɟǝſ Why is it so blocky?
 
Ell
Yeah OPO
 
@Nooble I've been watching minecraft 1.9 videos
 
@ʎǝɹɟɟɟǝſ Hey, I play Minecraft too!
<3
@Ell Ah, that's a good phone.
Can't you just replace the display?
 
Ell
The replacement won't arrive in time :/
I'm leaving Monday morning
And its Sunday morning now
 
12:49 AM
Ah.
How bad is the crack?
 
Ell
Very
The whole thing is shattered basivally
 
So how many companies did you apply for before you got your first job?
 
Ell
The touch screen doesn't work
 
Did you have connections?
 
@DonLarynx 0
 
12:50 AM
@DonLarynx NaN
 
Xeo
@DonLarynx Applied? A few. Actually interviewed? 2.
 
Is there an extension for Firefox that displays a red warning sign near the address bar if HTTP is used?
 
@Ell Well on the bright side, the display isn't too expensive.
 
Ell
I think ill buy a moto g
 
It's a pretty nice phone
I have a moto g.
 
12:52 AM
@ʎǝɹɟɟɟǝſ ...
 
Ell
My bro does
 
@Nooble What?
 
Ell
It Is good but its no OPP
 
@ʎǝɹɟɟɟǝſ I didn't time it right.
Because I knew you had one.
 
Ell
*OPO
 
12:53 AM
What's OPO?
 
@ʎǝɹɟɟɟǝſ A funny face.
 
You guys have to stop inventing acronyms
 
The OPT is coming out.
 
Ell
Oneplus One
 
12:54 AM
What's Oneplus One?
 
a phone
 
Don't you just love it when no one's talking on Mumble.
 
@Nooble Yes it's why I hang out there
 
@jaggedSpire Me too. How else would I get silence?
 
@Xeo thanks for your input.
 
12:55 AM
mumble squad online?
 
Xeo
No time to mumble, gotta watch SGDQ
 
k bb
@Nooble like you yesterday
 
@ʞɔᴉN :P
@ʞɔᴉN Yes.
But no one is talking.
 
Ell
I hope my problems are resolved tomorrow or I might cry :(
Night all
 
@Ell Good luck and good night :)
@ʞɔᴉN Please get on.
 
12:59 AM
Didn't go for the 20km bushwalk today ... my heels have developed blisters again
:(
 
@chmod711telkitty 20km is a lot.
Actually. Is that greater than or less than 7 miles?
 
I felt nothing yesterday though ...
 
That's greater, ok.
I got lost in Manhattan and had to walk all the way home.
 
it didn't take the whole day, did it :p
 
@Nooble i will in a bit
 
1:03 AM
@ʞɔᴉN :D
 
Do not ever, ever use new[] and delete[], always use a std::vector. — Puppy Dec 21 '11 at 14:11
I can guarantee std::vector uses new [] and delete []. Why not use malloc in c++? This question does not answer why not to use malloc () in C++.
17
A: Does STL Vector use 'new' and 'delete' for memory allocation by default?

Steve Jessopvector uses std::allocator by default, and std::allocator is required to use global operator new (that is, ::operator new(size_t)) to obtain the memory (20.4.1.1). However, it isn't required to call it exactly once per call to allocator::allocate. So yes, if you replace global operator new then ...

@Puppy any input please?
 
@DonLarynx It uses std::allocator::allocate
 
On why not to use malloc ()
 
@DonLarynx There's no Puppy here, although I can emulate the experience
Using new[] is retarded and there's no reason to use it, and malloc is even worse, therefore, by extension, there's no reason to use malloc in C++.
 
@unordered_meow why not use malloc in C++? No offense, but everyone is begging the question (a logical fallacy). Even this user begs the question, not explaining the real reason to avoid malloc:
11
A: When to use Malloc instead of New

anonA couple that spring to mind: When you need code to be portable between C++ and C. When you are allocating memory in a library that may be called from C, and the C code has to free the allocation.

 
1:11 AM
@ScottW Why aren't you talking.
 
@DonLarynx It's exception-unsafe and leak prone.
Also lol manual memory management
 
The only speedrun i was interested in was DX:HR and i missed it
 
Ok it seems I can't find this addon for Firefox
I guess I have to learn how to write addons
 
Ell
I won't sleep
So stressed
 
1:26 AM
@ScottW I was sleeping :(
rip oatsngoats
 
1:40 AM
Apparently malloc for non-POD data structs is bad.
 
@ScottW you were saying? :)
 
@DonLarynx It essentially doesn't call constructors
(nor does free destructors)
(how it even could, there's only one thing you can pass to malloc - the size of allocated block)
 
@ʞɔᴉN Where are you.
 
lol I literally just sat down, kinda creepy
 
@DonLarynx what do you mean 'apparently'
 
1:52 AM
@DonLarynx There is no malloc 'for structs', in a sense. It gives you bytes.
 
2:07 AM
@LucDanton that shouldn't be a problem for PODs
@melak47 if you add a virtual destructor then malloc is bad according to stackoverflow.com/a/7970036/3602281 it doesn't explain why, though
@unordered_meow not a problem if there is no dynamic alloc
 
what
malloc is dynamic allocation
 
@unordered_meow dont mind the don
 
@DonLarynx It becomes a non-POD
 
@DonLarynx what do you mean why.
 
@unordered_meow suppose you have a pointer in your struct. In the constructor you have the pointer initialized to new int [1024].
 
2:09 AM
how would free() call a virtual destructor, or any destructor
 
For example.
 
@ʞɔᴉN God damn it.
 
@Mysticial do you still play TF2?
 
Hello Everyone,
A quick question :

If I have a node struct as a private member of a class Hash, if I implement destructor for ~Hash, do I still need to implement ~node() inside the node struct?
Sample here http://pastebin.com/P9Vdzq7x
 
@unordered_meow thanks I didnt know this. I w as building on your point about using nonstatic pointers. It makes me wond r...do static pointers allow dynamic alloc? I am unfortunately away from my compiler to find outm..
 
2:18 AM
what the hell
 
> static pointers allow dynamic alloc
 
@hello err...always? Make sure to delete [] inside ~node ()
 
@unordered_meow that was my question.
 
2:19 AM
@DonLarynx It's ambiguous as fuck
@hello You delete stuff you new
(still, you should use std::vector instead)
also, std::unordered_map
 
> There's no syntactic reason you couldn't do away with malloc() and use

bool my_fancy_alloc(void*& memory, unsigned char size, bool zero_it);
instead. (Mark: There are other reasons, though. Like your fellow-workers' sanity.)
Enough about malloc, anyway.
 
lolno that's just wrapper around calloc
 
Xeo
5h Chrono Trigger run, here we go
 
If you think initialization means zeroing you need to educate yourself
Also good job @ working only with void* pointers
 
@unordered_meow perhaps learning about calloc might help this education
 
2:27 AM
Construction means preparing the object for first use
If it's not usable after construction the class is badly designed
If it has to make an internet connection to do its job, so be it.
 
exception: factories
err, no, not an exception
 
not really, they're extending the constructor interface
 
@unordered_meow zeroing? Like setting the basic data types to zero? Thats default init but not general init, general init is any value
And yeah I didnt like the void * idea either
 
@DonLarynx That's what is posted in the passage you quoted
also re-read this
4 mins ago, by unordered_meow
Construction means preparing the object for first use
 
I saw that, and I completely agree. If it doesnt work it isnt constructed.
 
2:38 AM
@DonLarynx Sure, but that’s not by any virtue of malloc.
 
3:00 AM
Anyone happen to know if there is a way to upgrade Visual Studio 2015 CTP to the official version? Or do I have to download everything again?
 
@Borgleader Every once in a while.
 
@DemCodeLines I'm pretty sure you have to download everything again no matter what
I don't know if it lets you install over the old one, but I'd just remove it first
 
3:26 AM
Does the RTM version of VS15 have the W10 SDK in it?
 
I think not, it's a seperate download
I downloaded it separately anyway. maybe I have 2 of them now...
 
You like W10 much?
 
I've been using it on my laptop, still reluctant to install it on my desktop...
 
feels awkward
 
@ScottW sorry, I'm actually gonna go to sleep
 
3:51 AM
@ScottW am I invited?
 
coz noodle is already there?
 
@ScottW I'll be there after I am done emptying my anal canal
 
join mumble and you may be graced with my presence
 
@chmod711telkitty noodle has decided to sleep instead of hang out with the cool crowd
 
Android Studio is the worst debugger I've ever used :/
about 75% of the time it just stops while my app is loading. No logs, I can't pause, nothing. And I simply stop my app and try to debug again. About 5 reboots per actual test I accomplish.
 
4:03 AM
it beats eclipse?
 
@chmod711telkitty I may install eclipse and find out
 
are you Prismatic
 
running an app on a real device from eclipse is a pain in the butt, takes hours to set up properly
 
oh, I figured out what's happening. ish. It's freezing when a breakpoint is hit. It's not actually breaking, merely freezing.
 
@ScottW what's the server
loungecpp.net doesn't work
 
4:54 AM
@ScottW meh
wait, how is my image still not propogated. That ain't right
 
5:06 AM
there we go. 100% duck again
 
umm ... Peking duck pancakes
I have a few things to do, will be on mumble another day?
Also, I do love roasted duck on peking duck pancakes ...
yum ...
 
5:29 AM
@MooingDuck Android Studio you can fix that by unplugging your device and replugging
 
6:05 AM
@DonLarynx using an emulator, but yeah, restarting it seems to help. Just takes a while
 
6:38 AM
 
Ell
that lamb green masala is not sitting well..
 
6:53 AM
How strange that "hell" is on the bible belt
 
I gave the younger chicken some red wine
she acted absolutely normal ~_~
just ate a lot more ...
 
7:18 AM
@MaiLongdong Nope, it's a friend of mine's
I usually write stuff here
 
7:46 AM
@chmod711telkitty /me calls PETA on @chmod711telkitty
 
~_~
maybe the chicken was a born alcoholic?
 
@chmod711telkitty Or maybe you did not give it enough.
 
I didn't try to kill my chicken :p
I also try to teach her how to beg for hugs from me by making her watching what other chickens do on youtube. Dumb chicken does not learn.
 
@chmod711telkitty ...
 
There is a mirror in the backyard, she stares into the mirror a lot. What a egoistic chicken!
 
7:51 AM
@chmod711telkitty Maybe you should get a man to hug you instead of a chicken... Just thinking out loud.
 
8:05 AM
wtf??
 
living by the second
@Ell how is it sitting now?
 
no more butt?
RIP
+
 
ripptz
 
Ell
8:20 AM
And my toe is infected
I don't think This could be a worse lead up to a holiday -.-
 
@Ell Should probably see a doctor about that.
 
Ell
I probably should but its a Sunday and I'm leaving tomorrow morning
 
can't you get some over the counter medicine?
 
Use meth instead
 
8:28 AM
@Ell So... you can spend the whole holiday with an untreated uninfected toe?
it's pretty fuckin critical to get some antibiotics or something before you leave.
 
Ell
ill just clean it frequently
It'll fix itsself
 
no, it really won't.
you'll get gangrene and lose the toe.
 
@Ell Rub it with medical alcohol
My toes get infected all the time too.
I just drown them in medical alcohol and it gets better fairly quickly
 
the point where you have an uninfected injury is when you just clean it frequently
after it's been infected you've already lost the cleaning battle and it's time to take some drugs that kill things
 
Ell
I am Confident I Won't lose the toe
 
8:36 AM
@Puppy "clean it frequently"?
 
@Ell Based on what, your extensive medical training?
@Columbo Assuming that it's not serious in the firstplace
 
You clean a wound once; By letting it bleed for a short while. Once it bled to clean itself, you can put some stuff on it (I prefer to), but that's basically all the cleaning necessary
If it's serious, other measures are appropriate, such as calling a fucking ambulance
 
regular ambulances work too
 
And converting to Christianity to temporarily pray for your toe or whatever you anticipate to lose
 
Judaism is better (just read the Toerah)
 
8:41 AM
you can definitely skip that part.
 

« first day (1751 days earlier)      last day (3188 days later) »