« first day (1691 days earlier)      last day (3259 days later) » 

2:00 PM
the counter ended and welp nothing
suckers
 
Smart > dumb > half-smart
 
@AndyProwl Here you go. I realised I was fussing too much about when a template function definition was allowed or required to take place, when I could just shove in an(other) explicit instantiation to, well, you get the idea.
 
And now for another round of building boost... sigh.
 
this is so dissapointing
I lost all interest in Fallout as of this moment
 
2:02 PM
@BartekBanachewicz but they already accidentally announced it
see it's official
 
@LucDanton Not sure about this. I'd expect it to be still ill-formed probably no diagnostic required, but of course it's no longer covered by the paragraph I quoted earlier
 
@AlexM. meh noobs
 
YAY new speed cube arrived OMG this thing turns like butter.
 
@AndyProwl As a soft argument consider that if you turn everything into regular functions (placing the declarations and the definitions at their respective correct places) then you would expect it to work. It’s my personal opinion that’s a goal of templates in general.
 
2:05 PM
@LucDanton That makes sense to me
 
@R.MartinhoFernandes times or didn't happen
 
Oh my message is wrongly connected :(
@AndyProwl Yeah I have no idea one way or the other.
 
@LucDanton It would certainly be a sensible goal
 
user image
2
Lounge confirmed
 
@BartekBanachewicz I'll do some timings later. I'll probably get worse because I'm not used to the feel of this thing. It almost feels... liquid.
 
2:14 PM
uhm, as you would with any other library or as you would for any other library ?
English doubt
 
Depends?
What is it you would?
 
a correct one, if possible. If they're both acceptable nevermind
> If you have a CMake project, just add it as a subproject and build it along with the rest (CMake should make sure it isn't rebuilt if not needed). Otherwise just build it once and use the static libraries as you would with any other library
this is the sentence that excerpt was taken from
 
@samaYo Ask @Cinch
 
lol
 
lol
 
2:24 PM
lol
 
there's a guy out of the window that is shooting photos at a tree
and he's shooting lots of photos to that tree
I think he's having problems getting a focused photo
trees are hard to capture due to their speed
 
@R.MartinhoFernandes something like a Dayan Zhanchi? Where did you buy?
@MarcoA. live objects are always the hardest
 
user1804599
bleh
 
user1804599
OVER (PARTITION BY original_id)
 
@sehe This one: amazon.de/dp/B00OKT766I. Bought it from Amazon.
 
user1804599
2:36 PM
Window functions are terrific.
 
In today's lecture, I tried to inherit from JTable and Observable at the same time :-D
 
user1804599
I don't know what those are.
 
user1804599
Use a language that supports multiple inheritance.
 
The twist is that Java does not have multiple inheritance.
 
user1804599
Such as Python.
 
2:41 PM
brb convert lecture to Python...
 
user1804599
SQL code is much uglier when keywords are lowercased.
 
lowercased SQL is beautiful
Otherwise it's like if you were to write: DO { int x = func(); } WHILE (x != 0); in C
 
user1804599
@fredoverflow I found a usecase for structural types in Scala.
 
@AlexM. The video smells Unreal.
 
@rightfold explain
 
user1804599
 
user1804599
This way, the caller of authenticate can pass a function that uses more efficient SQL queries.
 
user1804599
It only needs to fetch a password hash, and isn't require to fetch all other fields a user has.
 
what's the difference between a speed cube and a Rubik's cube?
just a "svitol" bottle?
 
user1804599
You can call authenticate with EmailAddress => User if you need a whole user, or just EmailAddress => { def id: UserID; def passwordHash: PasswordHash } if all you need is the user's ID.
 
user1804599
Structural types are pretty nice if you grow structures over time, since { def a: T } is a subtype of { def a: T; def b: U }.
 
user1804599
2:54 PM
It's a shame Scala implements structural type member access using reflection.
 
user1804599
It is possible to implement it with interfaces.
 
Doesn't java seperate interface implementation and inheritance?
 
I'm not even sure Scala is going to keep structural types forever. I seem to remember Martin dislikes them.
@Veritas Yes, it does. Why?
 
ah I read Observable as Comparable pff
 
user1804599
Although you would need an allocation in that case, instead of reflection.
 
@fredoverflow This one youtube.com/watch?v=AohOD6F_rwA is "an awful lot of minutes" long.
 
@fredoverflow He's always about one minute off. Maybe it's because he doesn't count the intro/outro in it. Or maybe it's a running gag.
 
@EtiennedeMartel There's always a section with dub jokes in the end.
Or an ad.
@EtiennedeMartel Like a post-credits scene.
 
> The only thing wrong with TERMINATOR is the sequels that followed it. Hopefully in the next sequel, TERMINATOR will go back in time and stop them from making any sequels of the original movie.
lol agreed
@R.MartinhoFernandes Oh. Well, none of them were funny.
 
Ell
3:07 PM
Did you guys hear about the alton towers ride crash?
 
@R.MartinhoFernandes interesting!
> Als Referenz habe ich den Speed Cube Ultimate 1 aus dem Hause Cubikon, und einen Dayan Zhanchi V. Dieser steckt beide locker in die Tasche
Lol. The wording too :)
 
I have the V0 and it was nice already.
 
@MarcoA. look up
 
Nice comment, litb
I only see 1 general category which is move semantics, and 5 special cases of that. — Johannes Schaub - litb Dec 27 '14 at 12:29
 
> I THINK I JUST CAME THROUGH MY BUTTHOLE, CUZ MY DICK WAS TO BUSY PISSING ITSELF!
2
 
3:18 PM
wadup in this butt
 
what what
 
that's the spirit
 
@fredoverflow People are stupid if they get so excited about this. Really.
 
I agree getting excited so easily is not a sign of wisdom
 
It's a sign of spiritual youth.
 
3:23 PM
@MarkGarcia you sure they'd just abandon their engine?
it looks like an upgraded skyrim in terms of quality imo
 
user562566
looks like everything is made out of clay
 
greetings fellaz
 
/me greets
 
Ell
Hi
 
@wilx I like it when people are enthusiastic about stuff.
 
3:33 PM
Well fuck
 
Dell computers are pretty good in my experience.
 
Damnit
I am terrible at interviews
Damnit
 
What did you do? Get all Bartek again?
 
Not really
But I more or less said I am not a good fit for the position
W/e
Time for uni interview
Wish me MORE luck this time
 
@BartekBanachewicz I wish you the best of luck man, wickedly awesome luck with sprinkles of fucking luck! In other words; just a heavy shitload of luck on crack.
^ should have @BartekBanachewicz covered for a week or two
 
3:37 PM
@BartekBanachewicz How come?
@BartekBanachewicz You wanna do a PhD or something?
 
3:49 PM
TIL there are people, that pour boiling hot water on themselves
As self-harm
 
hi guys
 
Ell
@BartekBanachewicz good luck pal
 
Hey guys
Ive googled searched this error and its a common error it seems
 
What's the declaration of first_word and second_word?
 
and I tried fixing some of the things I suspected might be causing it, but its not getting fixed
hey @nabijaczleweli char first_word[20];
char second_word[20];
 
3:52 PM
Bit of a strange question here: but do companies put any faith in seeing a w3schools certificate? I mean, if a job lists as reqs "C++ (or any main language you would apply), HTML, CSS etc etc".
 
lol w3school certificate
@TheArtist Use std::string
 
@TheArtist Something fishy is going on in line 17, post full code (not inline here, of course), please?
 
btw Im learning C :)
@nabijaczleweli sure :)
@Jefffrey huh?
 

C

C stands for Control.
 
3:55 PM
@fredoverflow that's a "no"?
Talking about getting to a job interview
 
Thanks @nabijaczleweli codeshare.io/KFHgd Here :)
 
@paul23 Don't even mention the w3school certificate man. Not to anyone.
5
You'll likely get laughed out of the room.
Let's just forget you mentioned it even.
 
@Jefffrey Thought so (requirements of knowledge seemed silly to me at most), but still w3schools keeps popping up so quickly in search engines. Means they get referenced a lot right?
 
Not in a good way.
 
@paul23 Fuck certificates. Show me your github repo, and I might consider an interview.
 
3:58 PM
@fredoverflow -.- gee that's the problem: I never create something :P
 
Why not?
 
I love learning a language. The moment I can create something I hop to the next language.
 
That seems pretty pointless.
 
For me learning languages is like why some people like to solve sudokus etc
 
Your employer probably won't pay you to learn languages and never deliver anything useful.
 
4:00 PM
In line 17, you have `char second_word[a]='*';`, which should make the compiler YELL LIKE HELL at you.
It's a definition of a *variable-sized-array* of `char`, not an assignment statement. If you remove the `char` from the line start, you will be assigning `'*'` to `second_word[a]`, and that's what I think you wanna do.
 
I see learning a language and figuring out how it evolves for certain algorithms (like quicksort/A*/whatever) as a "puzzle".
 
Ell
@paul23 I have some bad news
if you are not creating anything then you are not learning the language
 
Backticks don't work? Huh.
 
@fredoverflow Guess that's true. I'm looking for a "part time job" after the summer, and wondering how I could get myself "wanted". Friends ALWAYS state I should take a programming job (and in any engineering project I've been the programmer, but those are scientific applications, which I obviously can't publish).
@Ell I've programmed half a dozen algorithms in many languages. But the moment people start talking about user interfaces I drag out and die of boredom
 
Ell
You don't have to write a user interface to create something :)
 
4:03 PM
@nabijaczleweli ohh I see. I fixed that :) But
 
@TheArtist I suggest to take a step back, look at your code carefully and if you can't see what's wrong then go and read the basics again.
 
Ell
But just implementing algorithms will not teach you all of the benefits/pitfalls of a language imho
 
@nabijaczleweli the error message is still the same
 
Ell
but still I guess implementing algorithms is creating something vOv
 
@Ell hah. See the author of Boost Spirit: boost.2283326.n4.nabble.com/…
> Correction: Spirit is LL. There's always this debate on top-down vs.
bottom up. Recursive descent is top down.
 
4:05 PM
@TheArtist char anagrams(char first_word, char second_word, int lenFirst, int lenSecond) -- neither first_word nor second_wordare indexable types.
 
And
 
Most vexing parse is LITERALLY the MVP
 
> Parser-combinators (like Spirit) tend to be PEG and RD. It is inherent.

(BTW: GCC is now using RD. GCC once used YACC, but LR proved to be
problematic in many aspects.) Interestingly, RD proves to be superior
in performance!)
 
@Veritas But i read the basics today :/ I always read the basics and then solve problems :) But i think I learn a lot by doing :) in the past few days I have improved a lot, I think
 
@Ell Maybe, but what would you suggest me to do over the summer than? So that I could actually look activelly for a part time job to pay my studies next year? I find myself confident in python, C++ and java (and HTML/css/js seem silly language which I can hack myself away in). I really wonder what I shoudl do over the summer then.
 
4:06 PM
@nabijaczleweli Microsoft Most Valued Person
 
@TheArtist You are passing chars to the anagram function - not pointers so you can't use subscripts and even if you could that would be wrong since strcmp takes pointers to chars not chars.
 
@sehe I was just in the process of writing a message saying that the last mail is probably most interesting there. :D
 
:D
 
@TheArtist Why are you learning C even
 
@paul23 Don't do what friends tell you. Do what your hearts tell you!
 
4:07 PM
Uff, managed to get this mess to compile again.
 
Ell
@sehe ah there we go :P
 
@fredoverflow Well I'd love to do it. I just haven't ever felt myself confident enough.
 
Ell
I'm surprised that RD was superior in performance, mind
 
Now just make it link and then proceed to the rest of the gazillion of assert(0)s marking what is not done yet. :D
 
@TheArtist moreover you got the parentheses wrong in this.
`if (strcmp(first_word[i],second_word[a]==0))`
 
4:08 PM
Dang I was supposed to put my Coke in the fridge.
 
like 90% of SO is more experienced than me. But then again I spoke to some "programmers" who I found were terrible at actually understanding the meaning of algorithms and just hacked together code without making sure they have optimized it.
 
You should optimize for maintainability first.
 
To me: Job interviews = bluffing yourself in.
 
I'm sensing whiskey evening today.
 
@TheArtist I suggest to read pointers more carefully.
 
4:10 PM
@TheArtist Your book's "basics" included strcmp?
 
@Veritas oh :O didn't see this :) Thanks fixing it
 
Ell
@paul23 I suggest trying to build a finished product :)
 
@Griwes yes
 
@TheArtist Get a better book.
 
Ell
also I wouldn't underestimate the challenge of css/js :P
js is a terrible language imho
 
4:11 PM
Or throw your C book away and get a C++ one.
@Ell Yes.
 
@fredoverflow While it's popular to say, that once again depends on the purpose I think. In python for many projects I've written a lot of "work once" code where part of the code is more like "user text" (IE: I a special blurring code over an image to reduce outliers).
 
@Ell My opinion of it improved somewhat since I needed to write some JS, but I agree. It's pretty horrible
 
In C++ though I doubt you'll see that
@Ell once I got to scopes and how "hackish" that seemed I stopped right there and then. thinking "well I'll wait for someone to make a good language for websites".
 
@nabijaczleweli what do you mean? :)
 
Taking many years though before someone does that.
 
4:13 PM
If I ever had to actually write JS (for my personal projects, I mean - so in cases where I can spend some time on it), I'd write an expression templates engine for JS generation.
 
@fredoverflow I wonder why people are so excited. I mean, it's Bethesda behind it, not Obsidian.
 
@TheArtist char is not indexable.
 
@EtiennedeMartel Probably fans of the 3 predecessors?
 
@Veritas @Griwes @nabijaczleweli Am I missing knowledge on pointers or use of strcmp? :) Im going to go back and read whichever one I lack knowledge in.
 
@fredoverflow Fallout 3 is nothing like Fallout and Fallout 2.
 
4:14 PM
probably both.
 
Still I don't even have "ideas" for a full fledged program. I mean I could make my RPN parser work not only in python. But that's not even a full fledged program I guess?
 
@TheArtist Basics. You are learning basics. neither strcmp nor pointers are basics of this language.
 
user1804599
hey :!
 
The first two Fallout where designed by a different studio, one that eventually closed out and led to the formation of Obsidian, who made Fallout: New Vegas (basically Fallout 3.5).
 
Go get a book that starts in the right place, instead of starting from the bottom.
 
4:15 PM
@Griwes Is he learning C or C++?
 
@fredoverflow C
 
@fredoverflow He's in a C++ room, so I automatically assume C++ vOv
 
In short: Fallout 4 is made by the people who made the least good Fallout.
 
If he's learning C, maybe he should go to a C room?
 
this room is cooler :P
 
4:16 PM
@Griwes Sounds reasonable to me...
 
Blind hype will never cease to amaze me.
 
user1804599
Learn Go.
 
@TheArtist This room has no interests in C.
 
@TheArtist Ask for support there, hang out here.
 
@Griwes Who cares, C++ has C inside it.
 
4:16 PM
Problem solved
 
I have a question about Vitamin C, is this the right room?
8
 
@rightfold Eww, terrible language that doesn't bring anything new.
@fredoverflow No, it doesn't :F
 
user1804599
@fredoverflow No, C++ has no Vitamin C inside it.
 
@fredoverflow hahahahaa
 
Talking about languages: I wonder why F# has never picked up a spot.
 
4:17 PM
@fredoverflow top lel
 
@nabijaczleweli :)
 
Well to be honest, these are all stuff that are also part of C++.even though not necessarily idiomatic.
 
Ell
@TheArtist this is the wrong room though
 
@paul23 For the same reason nobody likes OCaml.
 
Do you guys think my algorithm is correct ? :)
 
4:18 PM
(well the French like OCaml, but that's a case of chauvinism, since OCaml is French)
 
Or actually functional languages in general. - Being able to define pure functions and work on those should make multi-processor architectures natural. So you don't have to worry about concurrency - it happens automatically?
Maybe it's just my bias as I learned basic programming using labview and started with that. - And I still visualize programs like there.
 
user1804599
@paul23 You are able to define pure functions in many programming languages.
 
10
Q: Should I tell on my colleague for not keeping to assigned work-hours and abusing work-hours as break time?

Scorch91Recently a new colleague started at our company (Germany, approx. 30 employees). Since he started, almost every day right after he comes in he leaves again to get a coffee at subway without stamping into break time. Also he often comes late to work and leaves early. I am not his supervisor nor...

 
@rightfold But do they implicitly make it multi-processor then?
 
@rightfold But nobody spanks your bottom if you get it wrong.
 
4:20 PM
@EtiennedeMartel Actually they don't
 
user1804599
@paul23 If you need to simultanously handle entities to observe each other's actions, you need to worry about concurrency.
 
@Mr.kbok Well, the universities do.
 
Because many functional languages have terrible syntax/naming and there isn't a lot of established demand.
 
Haskell syntax is lovely.
 
user1804599
No.
 
user1804599
4:21 PM
It has significant indentation.
 
@EtiennedeMartel They're faceless organizations full of crazy, so "nobody" still applies
 
user1804599
We can immediately conclude that it is not lovely.
 
@rightfold Yes, but for a functional language the moment you have the inputs for a function you can execute it.
 
@Mr.kbok Yes.
 
It is lovely I agree, the functions and the environment not so much in my opinion.
 
4:21 PM
@rightfold I hate that at first, but then I learned python....
 
user1804599
@paul23 You can also call a C++ function if you have the inputs for it.
 
user1804599
Please know what you're talking about.
 
@rightfold true, barring side effects though.
 
Maybe he is talking about laziness?
 
user1804599
Reasoning about concurrent programs is easier once you take away shared state.
 
user1804599
4:22 PM
You can do this in many languages.
 
Well I would do it by removing "variables" in a language.
And inserting "connections" between functions
 
If you want to bloom in a culture that embraces it, learn Clojure.
 
user1804599
You can write C++ programs that don't share any mutable state between threads.
 
@paul23 You should invent a graphical programming language where the programmer draws connections between functions.
 
user1804599
In D it's easier because of immutable.
 
4:23 PM
@fredoverflow Clojure has 'C' in it! Is this the right room? /s
 
user1804599
In Haskell it's more easier since immutable is the only option you have.
 
user1804599
 
@nabijaczleweli Clounger
 
from all the functional languages I have attempted to learn, Scheme/Common List and Haskell were my favorites although I am not good in either.
 
4:24 PM
blocks are functions, lines are connections. I just wish there was a more generic purpose languages like this.
 
user1804599
Design and implement one.
 
@paul23 The approach doesn't scale. Many people have tried and failed.
 
I still have no idea how you would approach writing a game in haskell.
 
@Veritas @nabijaczleweli Hey GUYS :D I FIXED IT :D YES MY CODE IS WORKING
 
Ell
4:27 PM
they work for small things, but I would be inclined to agree it doesn't scale
 
although to be fair, I don't really have a lot of experience with Haskell.
 
user1804599
Don't ever write games.
 
@fredoverflow thanks, will check it out.
 
user1804599
Don't ever write Haskell.
 
@fredoverflow :/ there I can't argue anymore.
 
user1804599
4:27 PM
Don't ever write games in Haskell.
 
I never write games anyway
I am more interested in their architecture than writing them.
 
user1804599
> "Gay Schnitzel" mit Obst-Panier soll zeigen, "dass Traditionelles und Neues ohne Weiteres nebeneinander bestehen können"
 
user1804599
> Gay Schnitzel
 
Scaling such an intangible reason. A good one, but impossible to measure.
 
4:29 PM
@Veritas @nabijaczleweli i forgot to add & in front of first_name and second_name in the because they are single characters :) and i removed the function away :) And did everything inside the main. Works perfectly :D
 
Anyways I guess I'll write a good pacman AI over the summer (with ghosts who work together as drones to drive you as user into a little corner and then attack you all at once killing the user in a devastating blow!)
POWER TO THE ARTIFICIAL INTELLIGENCE! DOWN WITH THE HUMANS! muahahahaha!
 
user1804599
Make a Pac-Man clone with teleporting ghosts.
 
user1804599
So you always lose instantly.
 
@fredoverflow That would be relevant if it was relevant :P
 
btw I'm staring my MSc in control and system engineering, hoping to one day work at designing drones. (And hence making "algorithms" -feedback systems- to keep them stable)
 
user1804599
4:33 PM
No need to.
 
user1804599
Solved problem.
 
user1804599
Don't reinvent the wheel.
 
So if in 20 years you see humans turned in batteries living a copy of todays world - thank me :).
 
user1804599
Cure cancer instead.
 
You know quadcopters are inherently unstable right? (Similar to canard type aircraft such the F35). I find the logic behind the board computers there very interesting.
 
4:36 PM
@fredoverflow Taking a liking to learning about new approaches and the architecture of some pieces of software doesn't mean that you are not usually a practical developer. Writing games is not my thing but I still like to see how some problems were solved, only out of interest.
 
user1804599
Our drone is a quadcopter and it's stable enough.
 
user1804599
It works very well.
 
@rightfold amazing isn't it?
 
user1804599
No.
 
:(
 
@fredoverflow I don't really get why you link that.
 
@paul23 This is really easy to do. It's actually (IMO) more challenging to produce one that provides some threat, but still gives the player a chance.
 
by the way I read the articles frequently.
 
@JerryCoffin Well I'd make it an (personal) arm's race. Give pacman more and more power tools to win. And keep updating the AI to beat pacman. Meanwhile making the AI also more and more generic so it works in any environment.
 
4:46 PM
@paul23 So basically Mario Kart, but with a character shaped like Pac Man and a top-down view instead of a first-person.
 
@paul23 Can you Pacman AI win at chess?
 
Xeo
Fuck yeah, Apple & Cinnamon Unpizza.
 
@JerryCoffin It's amazing that you see the similarity. Mario kart (racing game) is very similar to a pacman game once you take the first derivative of the location. So you're workin in the speed domain instead of the location domain. A simple La place transformation :D
In pacman your position is a continuous state (apart from wrapping around), and speed is discontinuous. Where in mariokart also your speed continuous and accelleration is discontinuous.
Fun ;)
 
@paul23 You gotta admit that sounds like something an architecture astronaut would say...
> A recent example illustrates this. Your typical architecture astronaut will take a fact like "Napster is a peer-to-peer service for downloading music" and ignore everything but the architecture, thinking it's interesting because it's peer to peer, completely missing the point that it's interesting because you can type the name of a song and listen to it right away.
> All they'll talk about is peer-to-peer this, that, and the other thing. Suddenly you have peer-to-peer conferences, peer-to-peer venture capital funds, and even peer-to-peer backlash with the imbecile business journalists dripping with glee as they copy each other's stories: "Peer To Peer: Dead!"
 
@fredoverflow You mean a nerd?
Proud of it!
 
Ven
4:55 PM
hi lounge
 
Show me your Super Mario Pacman Kart prototype and I will give it a try.
 
:P
Well that is just my true love, the combination of mathematics engineering and computer science
 
@Xeo We’ve never done a variadic meta zip, have we?
 
Have you done the obligatory N-body-gravity-simulation yet?
 
@fredoverflow uh lol dozens of times
I study aerospace engineering..
 
4:57 PM
I knew it!
 
Ven
@LucDanton is it hard :o?
3
 
Did you write a simple O(n^2) solution or something smarter?
 
So yes in the courses (4 about them in bachelor) about computational modelling this is a common thing.
 
@Ven Don’t think so, but usually when 'we have done' something it means we have extracted a nice algo or something. So checking just in case.
 
Oh I just wrote down a "simpler" system of differential equations. Which I then solved. But we never go into the actual programming, we stop at saying "these are the differential equations, these are the boundary conditions, this is the algorithm perfectly fit considering thistype of problem"
 
Ell
4:59 PM
@fredoverflow is there any way?
 
(And in real life I would then pass these notes on to the programmer in the team who works out the rest)
 

« first day (1691 days earlier)      last day (3259 days later) »