« first day (1092 days earlier)      last day (3870 days later) » 

user1804599
5:01 PM
Use Perl.
 
@not-rightfold Whats with you and perl?
You've gone all perly recently.
 
user1804599
It is a good programming language.
 
user1804599
And way better than CPP.
 
user1804599
0
Q: Create a vector of abstract class?

Liso22I have been using a dynamic array but I had to add and remove items. I've read it's not recommended to use realloc or to resize the arrays when one can simply use std::vector however I'm having problems in changing my array to a vector. This is my current code: int main(){ // This is what I...

 
user1804599
Ugh so much bad.
 
5:08 PM
Some grepping revealed this.
GET_MESSAGE(Point, ((int)(x))((int)(y))((int)(z)))
becomes
struct Point : std::tuple< int , int , int > {
    Point() : std::tuple< int , int , int >(x , y , z ) , x(x) , y(y) , z(z) { };
    int & x;
    int & y;
    int & z;
};
 
@not-rightfold Are you talking about the question, the answers, or the way that C++ handles this rather common situation?
 
Silly attempts at making something convenient and overdoing it.
 
user1804599
@us2012 the question and 2.5 answers.
 
@us2012 The code just make no sense.
 
@not-rightfold Agreed about most of the answers, but the question - well, it's fairly clear what he wants to do imho and especially if you come from Java or similar this is fairly puzzling at first.
 
5:11 PM
@CatPlusPlus I should have consulted you right from the beginning.
 
Shameless downvote
No I'm kidding I'm too lazy to read it
 
std::vector<Sub> v;
 
user1804599
tldr use std::unique_ptr<T> instead of T*.
 
The OS will free the memory too :)
 
user1804599
5:20 PM
It won’t until your program terminates.
 
Just use multiprocessing and kill a few child processes if you need more memory.
you say delete, I say kill.
 
user1804599
Delete the programs so you have more place to swap.
 
Buy more memory
 
Don't limit yourself to child processes, kill other unrelated processes because your program is more important ;_;
 
My stupid phone is starting to malfunction
 
user1804599
5:26 PM
Buy a new phone
 
user1804599
Nokia C3
 
Phones are expensive :<
 
user1804599
You can get a phone for twenty bucks.
 
I'm not buying used shit
 
user1804599
It’s not used.
 
user1804599
5:27 PM
Who the hell buys used phones.
 
@us2012 The problem with coming from Java is that you're used to everything being shit.
 
@not-rightfold was this popular in NL as well?
 
[Tell] me about cheap Android phones
 
user1804599
@StackedCrooked I don’t know.
 
user1804599
@CatPlusPlus Fuck Android.
 
user1804599
5:29 PM
Symbian ftw.
 
Ah, you're young :)
 
Symbian is dead
 
@CatPlusPlus They said perl was dead too.
 
user1804599
It has twelve buttons and a screen that shows phone numbers and a contact list.
 
user1804599
What else do you need?
 
5:29 PM
internet and GPS, for a start.
my phone's best function is GPS and Internet maps.
 
Software that isn't utter shit
 
user1804599
The specification was a phone, not a quantum computer.
 
also playing music.
 
I'm tired of primitive contact lists
 
@CatPlusPlus + 1
Fuzzy search ftw!
 
5:30 PM
Oh shit. I hear a very loud Harlem Shake taking place on my street.
Why are people silly?
 
@not-rightfold Those things are on phones since 2007.
 
@MohammadAliBaydoun 'cuz its fun.
 
I'd move out of that city
 
Android is too mainstream for hipsterfold
3
 
@MohammadAliBaydoun It's a secret society and there's a lot of money involved.
That's why they dance so sillily.
 
5:31 PM
Money you say
 
Fucking telecomms
 
what, it's the "I'm in the secret society, therefore give me all the money" dance?
 
PHONE 1 PLN MONTHLY SUBSCRIPTION 140 PLN
Dammit I want a phone. Just a phone. Where's a shop with phones
 
Works just fine.
 
5:34 PM
I mean without telecomm subscription you dummy
 
@Jefffrey don't you need a license to carry one of those? things are dangerous.
 
@Jefffrey Maybe for a caveman.
 
user1804599
@CatPlusPlus You cannot buy Nokia 3310 with a subscription.
 
user1804599
:F
 
I already have Nokia 3310
 
user1804599
5:35 PM
Use it.
 
Or a similar model, I don't remember
It's annoying
 
let me guess, it's terrible?
oh. annoying.
 
And starts to malfunction
That's why I'm looking for a new one
 
user1804599
N95.
 
Nokia 6630 was a nice improvement. It even had colors.
And 3G.
 
5:36 PM
I don't want Symbian dammit
 
I know. :P
 
well
Samsung didn't become the world's biggest phone vendor by selling only expensive phones.
they should have some cheap Android something
 
I want something I can program for, and Symbian uses C++ so fuck that shit
 
user1804599
I have no idea what people need internet for on phones.
 
user1804599
I’m either at work or at home and there I have Internet, and if I’m somewhere else I wouldn’t use Internet anyway.
 
5:38 PM
I don't need that; I do need PIM stuff
 
@CatPlusPlus pim?
 
Android uses Java IIRC so...
 
Contacts, calendar, notes, this sort of shit
A personal information manager (often referred to as a PIM tool or, more simply, a PIM) is a type of application software that functions as a personal organizer. The acronym PIM is now, more commonly, used in reference to personal information management as a field of study. As an information management tool, a PIM tool's purpose is to facilitate the recording, tracking, and management of certain types of "personal information". Scope Personal information can include any of the following: * Personal file collections (digital and physical): documents, music, photos, videos and similar * Pers...
 
class PersonalInfoManager
 
user1804599
Moleskine.
 
5:42 PM
@DeadMG Define cheap, because Nexus 4 is like 200$
 
I'm flipping through a phone catalog site
And there's filtering
And apparently 5 Android 4.1 phones don't have a calculator
Good metadata there folks
 
user1804599
Assemble your own device and install Gentoo.
 
So useful
 
user1804599
> oh okay, there's a firmware update for my mouse, but this build doesn't support firmware updates.
 
@not-rightfold Not sure if Richard Stallman wannabe or trolling
 
5:47 PM
I'd consider Windows Phone if developing on Win7 was possible
 
Before choosing phones based on their development platform characteristics, first make sure there's at least one you consider decent
 
It's a criterion, not the criterion
 
I'm saying if you hate them all then it shouldn't be a criterion
so, make sure you don't hate them all
 
I have no idea what the fuck are you talking about
 
user1804599
Don’t do mobile development people.
 
5:55 PM
I'm with Borgleader here.
 
Symbian uses C++ which you hate, Android uses Java which you hate, iOS uses Objective-C which afaik you hate. And you just said Windows Phone is impossible to develop for
Not much choice left is there?
 
I think I already said I'm looking for an Android phone
Development for iOS is even more impossible than for WP8
And Symbian is also additionally dead
 
It's NSImpossible.
 
user1804599
Firefox OS.
 
The problem with phones is that they're even more obnoxious to research than laptops
I just realised I can buy shit from amazon dot co dot uk
(And then I'll find out that the network here is incompatible)
I hate shopping
 
6:02 PM
Maybe you should try shoplifting.
It involves more adrenaline.
:)
 
lol
 
lol
 
@StackedCrooked In order to shoplift, one must actually be able to lift
 
Yeah it usually requires lifting things in shops.
 
It has amazing success rate, esp wrt electronic equipment that's locked in cases or in warehouses
Or when the shop is online
That's like 100%
 
6:08 PM
Shoplifting online has 100% success rate?
 
I stole their jpgs.
 
Yes, you only need to press "steal" butan
 
Nobody noticed.
I knew this kinda dumb guy. He heard that he could download music from the internet. He tried it by dragging music album icons from online stores do his desktop.
 
And they will even pack and ship it to you
 
I pressed the butan.
Apparently the design I use for my protocol stack project at work is called serial dispatch queue.
 
6:13 PM
hmm
has anyone seen BSG: Blood and Chrome?
 
Not I, I've been meaning to though
 
user1804599
I want a coral reef in my basement.
 
One Piece is good.
 
@FredOverflow One would think that's where the blame should be directed then.
 
@StackedCrooked Watching anything from the fall season?
 
6:17 PM
Not yet. I might watch first episodes of Kill la Kill tonight.
Currently watching Gatchaman Crowds.
 
@StackedCrooked Ahh, you should. I like it.
 
@StackedCrooked Only because it's so over the top you can't help but feel respect for the author.
 
Perhaps, but that trick wouldn't last for such a long time.
I think.
It was really over-the-top from the very first episodes though.
 
Ah fuck it, I'll try to build Rust.
 
So it has come to this.
 
6:24 PM
@StackedCrooked Always appropriate
 
@LucDanton Hope you don't need bitbucket for that ^
 
@sehe What did you do...
 
It goes down down down
 
user1804599
6:35 PM
@sehe 4chan is also not fully working.
 
I broke it
supposedly https access to git repos should work, but my git clients say otherwise
Peeps! Tell me I din't break chat too
 
You should remain silent for a while.
 
I think I could manage a whiel better
 
You broke my typing.
 
I'm the greatest
 
6:44 PM
û̸̡̺̥̗͓̺̬̜̹̞̠̥͚̰̭̙͌̂ͤͪ̈̈́̑̚ṉ̴̶̵̘̞̟̙̤̝̪̬̪͓̙̼ͥͩ̃͛̋̅ͨ̑͋̾ͯ͛̆͂̈͟ḱ̴̨̻͙̠͈̘̮̼̫̲͂ͬ̇̾͊̋͘‌​͔͇̙̗n̢̯̝̯̤͕̰̬̬̮̤̩̮̲̥͖͙̫̒̋́̅̽̀͠oͩ͗͌ͮ͋̈ͧ̓ͩͧͥ͌̿͌̂̄͠͏̛͕̰̗̗͉̪̩̹̤͚̥̗͕̱̳w̷̷̢̾̀̂̃͐ͯ̌ͤ͆̈͒҉‌​͇̝̙̻̗͚͕͙̯̖͖̜̜n̶̯̱̣̤̥̖̗̝̥̯̳̪̬͈̣̮̜ͨͧ̐ͮͨ͑͘ͅ
 
lol
 
@sehe and the polar ice caps too
 
... too witty for me
 
harhar, all I see is a bunch of U+FFFD.
 
6:48 PM
@StackedCrooked Bunch of squares for me.
 
user1804599
I’m in the mood to use Scheme.
 
Bunch of squares for me too
 
It's the mess in the screenshot for me
 
I'm missing font & skill
 
Studio Brussels is airing good stuff tonight
 
user1804599
6:52 PM
Holy shit this is useful.
 
you have a Chrome app?
 
yeah
1829 users :D
It's a very silly app.
If you visit an anime page on Wikipedia then my plugin will insert ratings for that anime into the page.
 
@not-rightfold Oh fuck. You gotta be kidding me. I've always clicked "Details", waited for the app store to be launched and then click to close it.
 
It uses the myanimelist api.
 
user1804599
6:56 PM
I wonder what living maggots taste like.
 
But I think it's a nice example of how awesome the web it. You could never do this with desktop applications.
 
@not-rightfold Apparently they make pretty good food
 
user1804599
Hopefully better than adult flies.
 
@not-rightfold They taste more wriggly.
 
user1804599
Holy shit I hate it when they fly into my mouth during bicycling through the forest.
 
6:58 PM
@LucDanton BB accidentally stalked you for me: are you going to propose 0 <= Which < tuple_size<Tuple>() as a core language feature :/
 
Yummy.
 
Yeah, 'accidentally' :D
 
Ok the oven is hot so I will now insert the pizza.
 
user1804599
Apparently you can use maggots to heal wounds.
 
user1804599
@StackedCrooked There’s maggots in the pizza.
 
user1804599
6:59 PM
inb4 eetlust weg
 
lol and they say I can't cook
 

« first day (1092 days earlier)      last day (3870 days later) »