« first day (1585 days earlier)      last day (3374 days later) » 

Xeo
6:07 PM
If I wanted to say anything, I'd have done so yesterday night when the videos came out :P
Or even last week when UHC 20 was announced
 
true true, but I didn't see it last night
 
yo noobs
@райтфолд So basically just static typing?
 
Static dispatch
 
Xeo
@CatPlusPlus I felt the same with the iOS build today. The buildfail was always concluded in red. :(
 
I need to redo the entire deploy procedure because holy fuck is it slow
Docker layering would come in handy
Right now I'm just executing commands on every server
 
6:20 PM
what the hell Lua! double dash to comment? are you fucking nuts!?
 
Xeo
now
what should I eat
@thecoshman what's the problem with that?
(inb4 Bartek mentioning that Haskell does it too)
 
Syntax details, who cares
 
user1804599
@Puppy no it changes no semantics
 
so basically just static typing then
 
user1804599
You can still say 4 * "foo" and it'll compile just fine.
 
user1804599
6:25 PM
And you'll get a runtime error when it gets evaluated.
 
user1804599
I may emit a warning.
 
@Xeo everything :P
 
ah, I didn't realize
so it's half-arsed static typing, then
 
user1804599
Time to play a video game.
 
user1804599
It's dynamic typing with optimisations.
 
user1804599
6:28 PM
It's like calling Python statically typed because one of its implementations does constant folding.
 
Of course resizing the disk in vCloud Director didn't resize the filesystems
That would be convenient
 
user1804599
@thecoshman easier to type than //
 
user1804599
I also like (**) for comments over /**/ for that!
 
user1804599
Stupid PMC commercials I've already watched over and over again.
 
oh hey Panman, I hope you're cool with that nickname even if you weren't cool with the nickname I gave your sort :)
 
user1804599
6:39 PM
Ugh, this library requires -fno-strict-aliasing.
 
Ell
what library?
 
This library
 
That library
 
in WPF, 50 mins ago, by Jeremy
Thinking is for managers
flag right?
 
@JohanLarsson ?
 
6:49 PM
:)
 
Yeah. managers should stick to hiring, firing and fighting for budgets. They should not interfere in areas where thay have no talent, skill or training.
 
being a manager sounds awesome
i wish i went to business school
 
user784668
Become a manager manager.
 
Ell
you mean managerial school
 
user1804599
Thinking is for all people.
 
6:52 PM
@Ell there's a difference?
 
@Pris What? I just so not awesome, except maybe in that 'it's awesome that anyone would be so stupid as to take that job on'.
 
Ell
@Pris managers are for managing people, business people are for managing businesses
 
Everything's better than writing code
And it pays more, too!
 
businesses largely consist of people
 
Ell
I think I'd enjoy being a manager
 
6:54 PM
@Ell If the business is managing people, eg, an agency, then there is a circular dependency and the business cannot be built.
 
@CatPlusPlus knows where its at. I'd way rather yell at people to write code than do it myself :p
 
using a python implementation of lex and yacc. it's "unable to build parser" but won't tell me why ;_;
 
@Pris You realize that CatPlusPlus is nearly dead? I thought it was only kittens that exploded.
 
@Mgetz never heard of him
 
6:58 PM
Anyone here ever given a lightning talk?
 
I'm too important to give talks
 
Atmospheric electrical discharges are outside my fields of expertise.
Thre's not much to talk about. Lightning just appears, makes a huge amount of unwanted noise and then disappears again, all in a couple ms :)
 
Xeo
Still hungry...
Still not sure what to eat.
 
user784668
@Xeo I recommend food.
 
in C#, 11 mins ago, by Johan Larsson
Requiting is too important to leave to HR & managers.
 
7:03 PM
@Xeo Shawarma.
 
Xeo
@EtiennedeMartel Don't think any place around here serves that.
 
Who says his goal was to not remain hungry?
 
@Xeo pizza
 
user1804599
@Maxpm what the fuck is a lightning talk?
2
 
user784668
@райтфолд A typo for @Lightness talk.
 
Xeo
@райтфолд A short, informative and possibly funny talk about a specific topic
@Maxpm @R.MartinhoFernandes did
multiple, IIRC
 
@EtiennedeMartel That's actually the one I just listened to.
 
user1804599
@Xeo Sounds incredibly boring.
 
why are computer fans so shit
 
7:06 PM
All fans are bad
 
user1804599
I'm not a fan of that thought.
 
Not really. I've had house fans for decades and their bearings don't grind to shit
 
Xeo
@EtiennedeMartel Hm, we do have something similar called Dürum Döner, though.
 
@Xeo It's all over the place in Berlin.
 
Deploy succeeded and then it turns out someone broke logging in :cripes:
 
7:07 PM
Whereas every computer I've had that's older than 3 or 4 years I've had to replace a fan. Now my video card's fan is screwed and I don't think I can replace it... shit is infuriating
 
@R.MartinhoFernandes, where and on what did you give your talks?
 
Ell
Doner meat is good
 
Mars, conquering Earth
 
@Maxpm Berlin C++ User Group.
 
user1804599
@Xeo catch and slaughter a pig.
 
Xeo
7:08 PM
But if I'm gonna order Doener, I might aswell get the gratinated one with extremely delicious and tender chunks of meat.
 
@CatPlusPlus The world is not enough.
@Ell mmmm
I was gonna order chinese but now...
 
user1804599
Turn laughter into manslaughter.
 
man'slaughter
 
Xeo
Can't spell slaughter without laughter.
 
7:09 PM
@Xeo Yeah, well, shawarma, gyro, döner all kinda refer to the same kind of meal.
 
@Pris True. I'm sure we've all seen extractor fans in dingy washrooms that are still working fine, even though the thick grime and dust indicates that they have had no maintenance for decades.
 
Ell
the doner kebab I ordered in switzerland was much different to the stuff I have here
it looked like it was actually made of meat over there
 
Xeo
lol
 
Ell
it had chunks of stuff
 
@Ell lol, it's not a proper doner, then:)
 
Ell
7:10 PM
as opposed to a compacted mystery meat cylinder
 
Those were people
 
Ell
@MartinJames amen ;)
 
user1804599
"slaughter" consists of threee syllables each of threee letters => Half Life 3 confirmed.
 
user1804599
(I tell lies.)
 
@Ell You have to be drunk enough to ignore that thing in front of the gas burners.
 
Ell
7:11 PM
I shamefully eat doner meat sober
 
@райтфолд sla-u-ter? i say slaw-ter
 
@Ell Cue "They're made out of meat"
 
Damn you, puppy.
4
 
user1804599
@Ell did you try a kapsalon.
 
To risk not winning by trying to win with style, or playing it safe and winning in a boring manner; that's the question.
 
7:16 PM
Losing is fun
 
is money involved in winning
 
user1804599
No, but it is in losing.
 
omg 4 server deploy is taking 15 minutes already
This needs to be redone
 
Ell
@R.MartinhoFernandes this is great
 
@CatPlusPlus Actually, I don't risk losing; it would just take longer to win. Stylish it is.
 
7:19 PM
@R.MartinhoFernandes Awww yeah.
 
Look at this java code:
> private final String myString = "foo";
isn't that redundant, strings are immutable in java.
 
No
final is for reference
 
@DonLarynx So are ints.
 
user784668
@R.MartinhoFernandes 2 = 3
 
@R.MartinhoFernandes Assuming it's a game, and you're just playing for fun (no big bet on winning, or anything like that) having fun is more important than winning, so go for the style points not the boring win.
 
7:25 PM
me in gmod TTT: only use deagles, go into room full of innocents and try to #rekt them all with headshots
 
@R.MartinhoFernandes Thanks.
 
i used to be pretty good years ago when i played all day
now i suck
 
@LightnessRacesinOrbit I definitely started all of that.
 
@Mgetz Well he's writing extensively about his opinions and experiences. How's that bitching?
 
@EtiennedeMartel I hope you're pleased with yourself!
 
7:28 PM
I couldn't find the mentioned soup nazis being users of SO.
 
@CatPlusPlus ohhhhhhhhhhhhhhh
lol
 
@πάνταῥεῖ I wouldn't really say he's bitching since he's quite balanced, but I question why he felt the need to bother writing a blog post about it. If you don't like it, don't use it.
Now I can't choose between Chinese and other stuff
maybe a burger with doner meat and chips
 
"chips"
 
Xeo
@LightnessRacesinOrbit Doenerpizza
 
@LightnessRacesinOrbit I agree. It's a really long post, and after all (I didn't read entirely) I don't see the point of him doing such an enourmous effort.
Pizza ...
 
7:31 PM
@LightnessRacesinOrbit Well, not now because I'm at work, but I sure will be tonight.
 
I goota take it slow tonite, long night tomorrow. There is a lecture at RR at 1700, (complimentary drinks), Indian after, (many Cobras), then back to the club, (many more beers).
 
@CatPlusPlus thanks
 
user1804599
I want to watch more of this but I can't find anything similar.
 
More ciiiiider
 
@R.MartinhoFernandes thanks also!
 
7:34 PM
@DonLarynx No. The final means you can't change the reference. It says nothing about the data that the reference points to.
 
@Maxpm got it thanks. it all makes sense now.
 
@Mgetz OpenSSL borken? That's new:)
 
Ell
@Mgetz ouch :P
@MartinJames purely kernel
 
@MartinJames not openssl, the kernel's RNG
 
7:38 PM
@JerryCoffin Well, it's some kind of a league. Game 6 of 7. I lost 4 of the previous ones, and drew 1. Thing is, a single win here will put me at second place, and with another win on the last game I'll be first. No prizes, though, just bragging rights.
 
@LightnessRacesinOrbit Ah, and THX a lot for your recent edit, "static storage duration" was that wording I couldn't find (I knew static wasn't really correct).
 
@πάνταῥεῖ sure
 
@R.MartinhoFernandes Is it bragging rights among more or less random strangers, or people whose opinion really matters to you?
 
> It was brought to my attention (thanks Juli) that it might not be clear that this issue does not effect any released version of FreeBSD. It only effects people who run -current.
 
YEEEEEEEESSSSSSS IT FUUUUUCKING WOOOOORKS somewhat
 
@CatPlusPlus εὕρηκα :)
 
@JerryCoffin Internet strangers. Winning will improve my reputation in the community and that increases my chances of being invited to games with stronger players. So I guess their opinion matters a bit.
 
0
Q: Does qt classes work as smart pointers or should be deleted as usual

HeatherFor example: QFile* file = new QFile... If there is no delete file is it memory leak? I ask because I'm new in Qt and reviewing some code I've found this so I wonder if that is sane for Qt classes or not?

Is it ever possible for an assignment to what looks like a raw pointer with the new keyword to ever not require delete?
 
user1804599
No, new always requires delete unless you want to leak.
 
@R.MartinhoFernandes In that case it probably depends on how badly you want to play in those harder games. Are they likely to involve still more of taking the boring route to try to win? If they do, being invited into them may not be much of a prize.
 
7:47 PM
In Qt, that's actually quite usual. You pass in a pointer to a parent object that takes care of the cleanup when it is destroyed.
 
@Pris Depends on your POV
 
It is ass-backwards, but they did it like that in the olden days.
 
Does it require delete? Yes. Do you need to type delete? No
 
@Wintermute but then the part where you pass the pointer to a parent is explicit
 
@Pris Placement new.
 
7:48 PM
@LightnessRacesinOrbit please elaborate
 
user1804599
That's not what he means.
 
user1804599
He means assignments with new keywords in them.
 
@райтфолд yes, I am aware of that
 
user1804599
Placement new allows that but he means not placement new.
 
7:49 PM
How do you know?
You can't just add arbitrary constraints on to someone else's question
 
user1804599
I can read minds.
 
It's clear from the question that it's not what he means. And it's fairly rare to meet people who know of placement new but don't know the semantics of plain new and delete.
 
Hearing voices is not the same as reading minds
You people are just no fun, seriously.
 
If I'm not sure about answering a question but I want to suggest a solution that can be tried, should I just write it as a comment?
 
std::vector<char> v(255);
char* ptr = new (&v[0]) char[20];   // look, ma! no delete!
 
user1804599
7:51 PM
They are far from equivalent. Delete the tutorial from your brain and blacklist the website you found it on. — райтфолд 35 secs ago
 
@Pris Yeah
@Pris Don't just give the deffo solution as a comment, though. I hate that.
 
Eh I still have to Dockerize loungecppdotnet and move Phabricator and Mumble off the old server
But then again nobody seems to care about that so
 
user1804599
@CatPlusPlus Exactly.
 
user1804599
Does anyone use the Phabricator installation of loungecpp.net?
 
Ell
7:53 PM
it looks neat
 
@JerryCoffin Games with noobs tend to be less fun because they don't grok the value of cooperation in a prisoner's dilemma. There's a tendency for them to lose while ruining someone else's chances of winning too and that's no fun at all.
 
> The best solution is, obviously, to just not nest your comments.
lol wut
 
@R.MartinhoFernandes In that case, putting up with some boredom in the short term to improve enjoyment in the longer term seems like a perfectly reasonable investment.
 
user1804599
lol languages that disallow nesting comments
 
user1804599
primitive crap
 
7:55 PM
...
at least you're not spiteful and opinionated!
 
omgh
grfsdln my Pig Latin translator works
celebrates with champagne
miracles do happen guys
 
user1804599
Time to delete it and start over then!
 
@райтфолд I should, NOT
@райтфолд lol
 
user1804599
In Perl 6 you can use arbitrary delimiters for comments!
 
I exploded.
 
7:57 PM
@райтфолд thats not confusing at all
 
In other news, I should have been at the pub by now.
 
user1804599
ok so classes will not be types
 
user1804599
it's easier to keep them separate
 
@EtiennedeMartel this isn't chopped or anything anyway.
infinite loops irl
 
@райтфолд Quite the opposite. Anything that allows nesting of comments actually has no real comments at all. Even things in comments need to follow rules for the syntax of the language, so they're no longer really comments, they're just code that's partly ignored.
 
8:00 PM
Ping me if you care about the shared project hub idea (i.e. Phabricator) and plan to do anything with it.
 
Solution: Instead of /*"stuff"/*"more stuff"*/*/ just do

/*"stuff"//morestuff*/
 
user1804599
@CatPlusPlus I don't.
 
@CatPlusPlus Collection of ideas for possible projects?
 
user1804599
You said if, not iff. :D
 
Funny
 
8:02 PM
cpp plis anwser
 
@Blob How to eliminate annoying questions from being asked in a chatroom
jk
 
If you don't know what I'm talking about then it probably doesn't concern you
It's a tool for managing projects
That we have
 
user1804599
Oh this is nice:
 
user1804599
» pod2html --infile random.pod --outfile random.html
» !!:gs/random/control/
» pod2html --infile control.pod --outfile control.html
 
user1804599
I typed only the first two commands. The third one appeared automatically when I ran the second one.
 
8:05 PM
> String[] tokens = line.split("(?<=[\\s\\P{Alpha}]+)|(?=[\\s\\P{Alpha}]+)");
Interestingly enough, the same effect is achieved with:
> String[] tokens = line.split("(?<=[\\s\\P{Alpha}+]+)|(?=[\\s\\P{Alpha}+]+)");
 
user1804599
Try it with a line that contains a plus.
 
@xeo are you using the glsdk?
I guess in the spirit of "just make a fucking game!" I should worry about commit stuff that shouldn't really be committed
 
Xeo
@thecoshman nope
 
@райтфолд No noticeable change was noted.
 
user1804599
> *dick = *richard;
 
user1804599
8:09 PM
lol that example reminds me of richard being a fucking idiot
 
Xeo
Nom nom prawn
 
@CatPlusPlus ergh, I like to think that I'd get to making a project that could take advantage of it, but I'm not there right now.
 
It's nice to know the option is there
 
@LightnessRacesinOrbit she looks like an alien
 
8:12 PM
It's not free though, and for a shared hub to make sense it really needs to be a shared hub
 
@Xeo just glfw directly
 
You can run your own instance easily for 5$/month
 
Xeo
@thecoshman SFML
 
@Xeo you SFML!
@CatPlusPlus lol, pay
 
-1
Q: C++ ( Radius of a Circle ) , Jgrasp

Patricia MyronI have been working on this code for hours. For some reason the radius is coming up as 0. Not an expert on the subject, so any help or suggestion will be greatly appreciated. Thanks.! #include <iostream> using namespace std; int main () { double r=0.0; double a=0.0; const double p = 3.14;...

dat brace style
 
8:15 PM
@райтфолд well, you know when you go for a shit, and it's not exactly solid...
 
if (r<0)
      {cout << "Ending the program" << endl;
      return 0;}
 
user1804599
@thecoshman I call that diarrhoea.
 
@райтфолд yeah, a talk from lightness... isn't that what you asked about?
 
user1804599
No.
 
user1804599
Also, the question has long been answered by Xeo.
 
user1804599
8:16 PM
There is no need to explain it again.
 
even to mock?
 
@Pris I've been VTC this for a "simple typographical error" 3hrs ago
 
user1804599
@thecoshman krijg de tyfus
 
@πάνταῥεῖ It should be closed for unacceptable brace style
 
@Pris Well, I prefer to chose from the standard reasons :) ...
The bracing style was irrelevant.
 
8:20 PM
@πάνταῥεῖ I added another VTC, but 'simple typographical error' doesn't really cover 'printing out the value before calculating it'. I am struggling to think of any category description that doesn't involve uncomplimentary language, eg 'fucking moronic'.
 
@MartinJames Well, having the calculation after outputting the value, and wondering why the initialzed value is appearing in the output isn't a simple (typographical might by arguable) issue?
 
Ell
I'm eating red hot dutch
 
user1804599
@Ell I know a hot Dutch person with read hair.
 
user1804599
Many, even.
 
8:25 PM
Oops - I may be in trouble later. Anne is playing darts at a town pub and texted: 'Swan carpark closed off', (presumably road works). I sent back: 'Cops saw you play and taped off the pub as a crime scene?'.
 
:21603912 F# actually reads like "fuck sharp" for me :-P ...
 
@πάνταῥεῖ Are there no flat languages?
 
@MartinJames Just gave my impression ...
 
@thecoshman Around a 6 on the Bristool scale?
 
8:29 PM
@JerryCoffin lol
 
Ell
My brother has a mug with the bristol stool scale on the side of it
 
@Ell Seems like that might at least help keep others from borrowing/using your mug, anyway.
 
Ell
yep :P
 
How do you go about writing grammar for a parser? Start with an example and go through it in your head, writing each step?
or is there a better way?
 
Ell
you need to know what you're writing a grammar for first
 
8:35 PM
@MartinJames I knew you'd like it. :-)
 
anything but C++
 
@Blob Start with a grammar for the language you want to parse, then translate that grammar into a form that a parser generator (for one possibility) can...umm....parse.
 
Ell
@Blob well, choose something :P
 
gonna try to make my own language for a school proj
 
@Blob Start with lots of example input and the corresponding desired parse tree.
 
8:38 PM
ok
 
Niklaus Wirth used to advocate "railroad diagrams" instead, and they're also a reasonable possibility. For example: i.stack.imgur.com/VRomR.gif
 
food ordered one hour ago where is it
 
I ate it
 
@LightnessRacesinOrbit being 'inspected' to ensure it's not contaminated in any way shape or form
 
{"ago", "hour", "one"}   // That's how you order!
 
8:47 PM
@FredOverflow wrong. it should be based on length of letters.
or gender type
wait w8t
 
@FredOverflow In his case, the relevant tuple is more likely: {"clock", "learn", "read"}.
 
What's wrong with minecraft is that the blocks don't have the weird black spots on them like the sidewalks do IRL
 
@DonLarynx All letters have the same length, silly.
 
@DonLarynx Also, Minecraft is written in Java.
 
user1804599
@DonLarynx You mean mouldy bubblegum spots?
 
8:49 PM
what's wrong with minecraft is that the blocks are too big
 
user1804599
Maybe Minecraft originates from Singapore.
 
no detailed creation is modeled to size
 
if(hour.length() != ago.length()){
    System.out.println("DR.CoxSong.mp3");
    }
 
yay it's here
 
I hope it's pizza
cause I ordered pizza
and then we can eat pizza together
 
8:50 PM
@райтфолд yeah, or bird poop spots.
 
user1804599
Make a resource pack that has them.
 
Ell
I think I'm going to write a recursive descent EBNF parser
and a grammar which will by parseable by itsself :P
 
I have to write documentation for school
and to make so many types of diagrams
jesus christ so many diagrams
 
@Ell good
@Ell Don't get ahead of yourself :)
 
Ell
:P
 

« first day (1585 days earlier)      last day (3374 days later) »