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

11:00 AM
@Jefffrey how can a sorting algorithm have constant space complexity?
 
It can't
 
What
Yes it can
@AlexM. insertion sort has a constant space complexity
 
Oh, space
 
bubble sort too
 
11:01 AM
Then yes, it can
 
quick sort too I think
 
> О(n) total, O(1) auxiliary
 
Misread as time complexity
 
I dunno, I also consider the input to be part of the space complexity
 
Yes, O(1) space complexity means auxiliary
 
11:02 AM
ew Jeff you're using return type sfinae
 
@BartekBanachewicz I am?
 
it always irks me for some reason. Perhaps that reason is that it doesn't belong there.
 
@Jefffrey No. You need to account for stack space.
@AlexM. That's useless.
 
@R.MartinhoFernandes What do you mean?
 
yes it is now that I think about it
 
11:03 AM
@Jefffrey Recursion
 
@Jefffrey The recursion uses space.
 
pff.. sleep sort is the best sorting algorithm!
 
@R.MartinhoFernandes So it's log(n) space complex?
Nah, it's O(n)
best case scenario it's log(n)
 
don't say it's "best case log(n)". It's "worst case n"
 
11:05 AM
What?
@Jefffrey But you can use tricks to avoid that worst case.
 
barteking barketing marketing
 
Sort the smaller half recursively, then tail recurse the other.
 
/g/ invents programming language for Girls (honestly it is more a reaction to youngsters looking at code the first time, or something)
 
Randomizing works well too
 
> Two other important optimizations, also suggested by Sedgewick and widely used in practice are:
- To make sure at most O(log n) space is used, recurse first into the smaller side of the partition, then use a tail call to recurse into the other.
yup
 
user1804599
11:09 AM
@FilipRoséen-refp offensive!!11!111oneone
 
@R.MartinhoFernandes That would only work if you have tail call optimization, correct?
 
> When checking if a guess is in the vector of missing letters, it is convenient to return a proof that the guess is in the vector, using isElem below, rather than merely a Bool:
lol
isn't that "proof" just the index in the vector
 
@rightfold this is the internet, everything is offensive
 
> Accidentally checking the number of missing letters, rather than the
number of remaining guesses, when checking if a game was lost.
I mean isn't the ablity to catch such errors soo great
 
@FilipRoséen-refp @jalf
 
user1804599
11:15 AM
> PVV leader Geert Wilders will show Muhammad cartoons in the airing time for political parties.
 
user1804599
lol
 
I bet they also have a mechanism to delay exceptions
on exception: pretend it's fine
 
user1804599
coooooooooooooooooool
 
user1804599
> The first #ATLAS event display with #13TeV stable beams!
 
user1804599
IRTA "steel beams"
 
user1804599
11:18 AM
13 TeV can't melt steel beams.
 
@Jefffrey You can explicitly replace the second recursion with iteration if that's not the case.
@FilipRoséen-refp But not everything is funny, though.
 
user1804599
TIL 13 TeV is approximately 13 times the kinetic energy of a flying mosquito.
 
user1804599
Thank your Wolfram Alpha for this enlightening information.
 
@Jefffrey Why do you keep doing that?
 
@R.MartinhoFernandes agreed, not everything is funny.
 
11:21 AM
@R.MartinhoFernandes For fun. I know it's not fun.
 
I hate sys-adminig
 
user1804599
Don't mine ads.
 
@Jefffrey it is
 
@R.MartinhoFernandes lol, I thought about doing the same but then I managed to restrain myself. :)
 
Is there a Random monad somewhere?
Or is it misguided
 
Thanks!
 
OK, theme change. Children, cover your eyes!
 
@Mr.kbok It's just a different name for a state monad.
 
Cunnilingus, how long?
 
@Mr.kbok State StdGen?
I typically hoist my computations into that
 
11:30 AM
State monad sound like public monad
I'll have a look.
 
Ven
hoistStateWithLens ugh.
 
it's zoom
I reinvented the wheel there
at least it's descriptive :P
 
PotatoEmpire?
 
Potato Empires, what about it
 
11:33 AM
Maybe we could start with that for our strat bot fight server
 
I thought we wanted WS/TCP
this is REST
 
oh
 
I was too tired yesterday to code anything
I got that codementor request and decided to help the guy
and then I basically fell asleep dead
 
0
Q: Nginx is cannot serve css files because of MIME type error

khajvahMy Setup: It is a nginx/gunicorn setup for django webapp. Here is my nginx config file: worker_processes 1; user ubuntu nogroup; # for systems with a "nogroup" # user nobody nobody; # for systems with "nobody" as a group instead # Feel free to change all paths to suit your needs here, of c...

shameless dump :(
 
is cannot?
 
11:38 AM
wow, thanks for noticing
 
@Mr.kbok if you want to start hacking something already then just do it, you can always add me as a contributor later
but you'll prolly indeed want to get familiar with monad stacks a bit
 
'Bubble sort double linked list'. Right, so no possibility of bugs there, then:(
 
Jez
11:53 AM
OK guys, straw poll. Anyone here who is a developer. Would you be able to concentrate sufficiently on your work if this level of noise was happening most of the working day, and you were not allowed to work from home?: game-point.net/misc/office2.mp3
 
@Jez I'm fine with noise, but that's just me
 
@Jez I use headphones
 
DISCLAIMER: no clue whether it actually works. Still things wonky with that 131 assigned to char. Also, various evil C-style casts that might not be well-defined. — sehe 34 secs ago
ITT sehe links to CERT advisories
 
^that
 
I could concentrate if THIS was the noise.. HELL YEAH!
 
11:54 AM
I use headphones because man those people are loud
 
how can you even work without music
 
hey people :D
 
Jez
@Mr.kbok well, music isn't for everyone either, especially at times when you need to learn stuff and really think hard. headphones and music are OK when you're kind of in autopilot mode.
 
@Jez I'm not fine with noise. Headphones are the cure. Also, coworkers with the decency to go elsewhere.
 
Jez
for learning for me, just requires quiet.
@sehe and homeworking isn't?
or private offices?
 
11:56 AM
Homeworking is totally different
Private offices are not part of my reality
 
Jez
totally different - well yeah
but dont many companies offer some element of homeworking?
 
@Jez I agree. When it's noisy and I have to wear headphones, then I choose to do simpler tasks.
 
yeah, you should become a CEO and have a separate room
 
Jez
@Mr.kbok right. but i was in a situation when it was pretty much always noisy.
 
Noise-cancelling headphones.
 
11:57 AM
ofice is the place that u HAVE TO attend
 
@R.MartinhoFernandes Bose
 
S = malloc(10*sizeof(int));
S = NULL;

[sigh]
 
and that's the biggest drawback
 
@zloidooraque Office sucks
 
Jez
@zloidooraque only if your employer takes the frankly old-fashioned view that everyone physically being in the office is somehow the best way to do things.
 
11:57 AM
146% right
 
some of the best noise canceling headphones
 
I wish I could work from home
 
@Jez good recording though. Did you ask for permission?
 
@Jez If noise is really an issue maybe you can talk to your manager about moving your desk
 
Jez
they refuse to accept that some devs might be more productive working from home
@sehe no
 
11:58 AM
@Jez I'm used to it, but I'm not fine with it
 
@MarcoA. Here there's a set of those for each employee.
 
Jez
@Mr.kbok oh, i did all that. we came to the conclusion today that their ludicrous policy of "you have to be in the noisy office and we aint gonna do SFA to change it" was incompatible with my staying there
 
@R.MartinhoFernandes oh that would be cool
 
The colleague sitting in front of me just keeps talking to himself all the time
 
I mean: if they gave them to us as well
 
11:58 AM
i can't like program, 24 hours and then walk to office to work 8 more
 
other colleagues do the same so they can actually think
result: jungle
 
@Jez Yeah, that's always an option. Shame it has to come to that.
 
i need to seep those 8 hours and then 24 hours of coding again
 
@AndyProwl the colleague next to me used to thumbs up his monitor whenever he did something right
 
also I used to work in a huge open space with > 100 people and that was a mess
@AlexM. hahaha
 
11:59 AM
office just breaks ntural rhythm, any of them ((%
 
I hate this so much
why don't they feel ridiculous?
 
Lack of "a" in "natural" is breaking my rhythm.
 
Jez
@Mr.kbok indeed. they have lost a decent coder because of their blinkered, old-fashioned view. it baffles me.
why do some employers think homeworking is fine, and others take the polar opposite opinion?
it's strange
 
I'd have to do weird VPN shit to work from home
 
because people are different
 
12:01 PM
and then again I wouldn't enjoy having work assets on home PCs
 
It's a bit weird to go on a crusade about moral issues like "old-fashioned view", and "somehow the best way to do things", and "happening most of the working day" and you didn't use judgment to see whether posting the recording is strictly appropriate/required.
 
so I don't mind working in the office
 
Jez
@AlexM. you mean setup a vpn? hardly difficult. also, laptops can be assigned for remote working.
 
and you can't say for sure you will be more productive at home
 
@Jez Oh. That's sad
 
12:01 PM
one thing is certain tho
at home I'd take more pauses
with CS GO in them
 
Jez
@sehe it's a brief recording to indicate noise levels. i fail to see the problem
 
and the average match takes an hour
 
yeah
 
@Jez I fail to see the use. Why/when did you make the recording?
 
@Jez look at it this way
 
Jez
12:03 PM
@khajvah oh, i absolutely can. i had worked from home before and been perfectly productive, and the chances of me being less productive as opposed to working in a very noisy environment where i cant concentrate are zero.
 
if you want to work from home indefinitely
you now have a solution
 
Jez
@sehe somewhat recently.
 
tell your boss that you recorded office activity and made it public
;)
 
Jez
recording office activity that reveals no sensitive information is a problem?
 
@Jez some level. Yes, no. I've been on single-position gigs and I did considerable work from home. I was on a two-man team for a project and we did the development parts from our homes (the commute was 2 hours one way), but we sat together
 
12:04 PM
GEAR PORN
 
@sehe I think it's a severe breach of trust.
 
@Jez It's a sign. It's not even necessary for the discussion.
 
this little beauty here goes for €3000 used.
 
@R.MartinhoFernandes Well. I don't rate it a "severe breach". I do read it as a lack of trust. And a need to "prove" things instead of convincing.
It's not very communicative this way
 
Jez
@sehe yes it is. somebody might accuse me of whining about "a little bit of noise"
i wanted to illustrate just how bad it was
it's like the noise of people talking in a loud pub after work
 
12:06 PM
@Jez Wait. What the hell would that mean to you? Imagine you came to lounge and someone had the chutzpah to call you a whiny bitch?
 
Jez
...except it was in an office, in working hours
 
you should license that audio tho
looks like background noise that could be used in games
 
@Jez Not a loud pub. I can tel you don't go to pubs.
 
Jez
games about shitty jobs?
 
12:07 PM
@Jez It totally isn't like that.
 
patrician 2 and 3 had lovely background sounds whenever you entered a building
 
Jez
@sehe well... a moderately loud pub
 
(I don't go to (loud) pubs because I don't survive in the noise)
 
No. That's a quiet pub.
 
Jez
anyway, shooting the breeze after work
 
12:07 PM
there was this sort of city hall
 
You can understand the words.
 
@sehe You are barely surviving in your icing home
 
with lovely big wooden doors opening sounds and footsteps
 
Jez
it's still way too much for an office where people need to concentrate
 
and whispers
 
12:07 PM
No way that happens in a pub.
 
@Jez Nah. A casual office. I would resent if my office was like that all day, but it's not strange. In fact, with us it's frequently louder. In which case, after 10 minutes, I'll kindly point out that it is time for me to get some work done again.
 
Why is this Jez guy all over the starboard
Jeez
 
Many times people take their discussions to the kitchenette anyways
@Jefffrey staarboard
 
most of the time here they take it to the balcony
with the door open
 
Jez
@sehe well a) i wasnt involved in the discussion and b) it would be distracting in itself to have to go and tell them to shut up every 10 minuts
 
12:09 PM
so all the smoke comes inside
I wish everyone in the building used logic
 
@Jez Yes. That's annoying right. Wait until you have a family (if you care). People have needs. And they conflict. Welcome to the real world
 
@Jez Do you, by any chance, work at Naughty Dog? I'd love to hear some office noise from there.
 
lel
And so an unlikely trade in assorted office noises flourished. Time to get the startup funded
@AlexM. I hate when people do that
 
Jez
@Jefffrey eh? what is that
 
Best. Noise. All. Around.
 
12:17 PM
@Jez a gamedev company
 
my neighbour works for naughty america :D what type of noises r u interested in hearing? @Jefffrey :D
 
user1804599
Your C++ book explains this early on. — rightfold 6 secs ago
 
hmm I wonder how the interview will look like
 
also I wonder how much they do pay there
 
12:26 PM
@BartekBanachewicz 1000-5000 dollars
 
yes probably in that range
 
@BartekBanachewicz If you had a tieclip camera to plug into your phone, you could video it and post it here. I'm sure it would be very popular.
 
@TheArtist Any noise that contains "last of us" in it.
 
@MartinJames It prolly would. It would also be morally wrong.
not to mention potentially illegal
 
> Fatal error: A test was missing test.done(), so nodeunit exploded. Sorry!
 
12:28 PM
@Jez Here
 
-.-
what a garbage
 
@BartekBanachewicz Yeah, but the lols..
 
user1804599
@Jefffrey nice Jak and Daxter
 
stable_effect_position_driven_calibration_collecting_interactor_test_suite.cpp - I might have exaggerated a bit
 
12:34 PM
You did, once. I didn't want to tell you back then
 
Back when?
 
Oh. Several times really.
 
Sample?
 
Erm. I'm too lazy right now I was trolling. Seems it worked :S
 
Trolling always works on me
Anyway I was genuinely interested
 
12:43 PM
:D
 
@sehe it's amazing how some smokers cannot comprehend what a nuisance their smoke can be to other people
dad thinks I'm a weirdo for complaining about it
 
My troll attempt failed: 'Why to avoid memory allocations in C++?'

'It makes the use of C++ in GUI frameworks very difficult and so perpetuates the use of command-line interfaces which, sadly, is all that some C++ developers can understand.'

Question was deleted before I could get the comment in:(
 
"but boost doesn't work" - that's a trigger sentence. 93% of people who say "[but] X doesn't work" are clueless help-vampires. — sehe 9 secs ago
@AlexM. FWIW your dad is a weirdo. I do get how people can be oblivious.
However, I deem them no longer oblivious after I told them.
@MartinJames karma
Chinese kids extorting internetizens blog.trendmicro.com/trendlabs-security-intelligence/… Cute
 
Anonymous
hello all.
 
hello some.
@BartekBanachewicz verdict is in: not keep-listening-to music. The first track is worthwhile though. Meanwhile look through this album, it might contain some surprises open.spotify.com/album/5wXFpS7CTNulnwJkYbrbSS
 
12:59 PM
jury has spoken
 
> Fingering, Fractures, and Feel (oh my!)
 
Anonymous
I have one super-noob question. Who likes to be entertained? :)
 
> (Some fingering tips are over here ^.) pianocheetah.com/tutorial/fingering.html
 
oooh choirs
 
@samaYo let's have it (but we have an "abort mission" signal: "PEACOCK")
 
1:01 PM
@samaYo We all do - post the link to it.
 
(also, ducks to get groceries)
 
user1804599
I want to make software.
 
Make ransomware instead
 
user1804599
No.
 
@rightfold There are too many build-control systems already.
 
1:02 PM
Yeah pantoona why don't you make a malware
 
user1804599
I want to make a video game.
 
@Mr.kbok No - he wants to do something different.
 
@MartinJames :)
 
@MartinJames Oh wait.
 
> As the distance closes, both sides will put more effort at aircraft identification, because it is preferable to not kill an enemy than to kill a teammate.
lol
 
user1804599
1:03 PM
she
 
user1804599
I wonder whether there are GUI toolkits for Go that allow me to draw images in a window and read key presses.
 
user1804599
Maybe I should use JavaScript and go all SVG.
 
@sehe first one was really good
 
Anonymous
So, I just took a look at a C code, namely at the Zend Engine (php-src) and realized that there are two types of files, ones that have .h and others with .c extensions. I read that .h files are called headers and they should contain header information. But what does the headers do? I don't see any code except #isdef #def ...
 
@BartekBanachewicz o.O That's one I rather don't like. It's a sort of late-medieval pastiche(L'homme armée)
 
1:06 PM
I like that!
Medieval music has a nice vibe to it
@samaYo this is easily google'able: "what do headers do"
 
193
Q: Why have header files and .cpp files in C++?

CluelessWhy does C++ have header files and .cpp files?

 
Anonymous
> they should contain header information.
 
What's "header information"?
 
PEACOCK. PEACOCK.
 
Anonymous
@Jefffrey that's what confused me. I guess I read the wrong tutorials :
 
1:09 PM
> Curious, i'm not educated in psychology terminology but what would the psychology that the (...) use be called? (Other than batshit of course)
 
I like this open.spotify.com/track/7e7EQm3QsOiHAxnvubPPVL for example. But it has the more explosive energies too sometimes ("In These Stones Horizons Sing")
Really surprised you take to this. It's a good day.
 
user1804599
how to lighting in maze game
 
@samaYo declarations. As opposed to definitions.
 
user1804599
flood fill
 
user1804599
hmmm
 
user1804599
1:10 PM
ray tracing
 
Just gradients. That'll be 7000€
 
@sehe I need something calmer before the the interview anyway. Stress is starting to kick in.
 
user1804599
No mustn't pass through walls.
 
@Jefffrey 'cos modules are too difficult for C++
 
This vaguely reminds me of Lacrimosa, too, which I love.
 
Anonymous
1:13 PM
Can anyone recommend a retard-friendly guide to C ?
 
@samaYo We don't really like/use/recommend/teach C here.
 
C is a beautiful language
 
C is a primitive language
 
@samaYo Unless you are an embedded developer where the sole alternative is assembler, don't waste your time.
TIL that a 'wide receiver' is a wing position in American football, and nothing to do with network comms in Puppy's language.
 
many universities still teach C as first language
 
1:31 PM
mine taught C as part of programming for unix systems
python was the first language
 
@AbhishekGupta so what?
 
user1804599
 
user1804599
Albeit slow as fuck.
 
@BartekBanachewicz So nothing, it is just a speculation on my part as many might think C is quite easy and feel comfortable with it
 
user1804599
Very realistic though. :D
 
1:38 PM
TIL Broadcom sold for $37b
 
user1804599
less precise but faster: jsfiddle.net/21vxqvqz/9
 
user1804599
nice, I should use this.
 
@rightfold wtf is this?
 
@AbhishekGupta mostly people who never learned another language properly
in the meantime, razer made a glowing mouse mat
I never got that bling affiction
 
@BartekBanachewicz Indeed. Students should have own choice of language, or other topics should be taught in language independent manner
 
1:43 PM
@AndyProwl Figuring out an example of explicit instantiation done right is tricky, in no part because I suspect GCC is non-conforming (see Clang).
 
@LucDanton Isn't that ill-formed no diagnostic required self-immolation? The specialization is not visible at the point of instantiation
 
@AndyProwl Oh of course, I forgot the no-diagnostic part.
No wait, the no diagnostic is when separate PoI give different odr-meanings to a specialization.
 
I'd tend to think it's both, but I'm not sure - I would need to check
 
Folks, if boost headers fail to compile cleanly with MSVC with /W4 /WX, that means my stuff also doesn't have to, right?
 
> A partial specialization shall be declared before the first use of a class template specialization that would make use of the partial specialization as the result of an implicit or explicit instantiation in every translation unit in which such a use occurs; no diagnostic is required
[temp.class.spec]/1
 
@AndyProwl Good find, but what do you think of this?
Clang adjusts its diagnostic: error: implicit instantiation of undefined template 'foo<int *>'.
 
Also FUCK YOU bjam.
How the fuck does this build boost with the VS2015 toolchain if I'm in the VS2013 command-prompt?
Or better, WHY
Why would they... do whatever shenanigans they had to do to get that :(
 
> This embroidered patch is an extraordinarily faithful rendering. The source of this patch claimed that it was 1970's vintage, a claim that is supported by the original packaging it was in, with a price of $1. AB Emblem was the manufacturer of this patch as well as the one on the right. The "ribbing" effect visible in the sun marks this as the version worn by the crew.
ONE DOLLAR
 
> "on-line"
 
SHUT UP AND TAKE MY MONEY
 
1:55 PM
Them quotation marks.
 
them 90s
 
Fucking half-smart tools.
If you think you should make your tool half-smart because convenient, fuck you in the ear.
 
oh well "original" patches go for $99
 
@R.MartinhoFernandes Ow.
That doesn't go there.
 
@EtiennedeMartel 20 seconds
 

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