« first day (1708 days earlier)      last day (3236 days later) » 

Ell
1:01 PM
lounge is quiet today
 
good morning
 
morning ?! :)
 
sehe spotted the mistake! +1 internet
 
@Ell I heard a BOOM just before that
 
1:04 PM
@Ven hahahahaha
who uses google chrome anyway?
 
Yup. I know all about that goal. I've settled for "oh well. Statically loaded is OK too". Although I specifically remember having it working in both Win32 and AIX using IBM's XlC++ 7/8.0 series (I stopped bothering with later projects). So ... If you are prepared to do what it takes, chances are you will succeed. (Prepare to read about non-portable attributes, linker options, explicit symbol visibility etc.) — sehe 37 secs ago
 
Ven
@buttifulbuttefly I did. I guess I'm gonna switch now. But with chrome fucked, firefox fucked, ... not sure.
guess I should just use curl or use lynx.
 
@Ven Why is FF fucked?
 
Ven
@nabijaczleweli DRM stuff, what firefox is trying to ship along with it, etc
 
Ell
1:10 PM
they include pocket or sthng
 
There are forks without DRM / pocket
 
sdd
Good morning
 
Ven
@buttifulbuttefly heh. maybe I should look at that. or at vivaldi. no idea
 
user1804599
@Ven could be some fetish for total functions.
 
sdd
Simple question for you guys: When I work with a large database, like 10 columns, 10k rows. How long will it take to load that to the iphone app?
is it like 1sec or 1 minute?
 
Ven
1:13 PM
@rightfold then return Maybe Int :D
 
user1804599
If you suffer from that, make division return an optional number instead.
 
@sdd try it and see
 
user1804599
0 - 1 in some languages results in 0 if the numbers are natural numbers.
 
user1804599
@Ven You're doing it wrong.
 
user1804599
1:14 PM
"fast" isn't a noun.
 
sdd
@Borgleader It will take me some days to make a database of 10k rows..
 
Ell
"quickly" is what you're looking for
 
sdd
So if it is not reasonable, I won't even start
 
user1804599
"speed"
 
@sdd Generate it artificially
 
1:14 PM
^
 
Ven
@rightfold I fixed it
 
sdd
@nabijaczleweli interesting, tell me more..
 
user1804599
good ven
 
yesterday, by Borgleader
Jun 13 at 21:18, by sehe
Jul 6 '14 at 18:58, by Borgleader
@AaronKyleKilleen Public service announcement
D:
 
@sdd Write a program to randomly generate a database of expected size & structure.
 
sdd
1:17 PM
@nabijaczleweli sounds logical, In what language do you recommend writing that program? (what is the easiest, because I never did it and I am going to google it)
 
Ven
@sdd APL
 
@sdd No idea, never worked with DBs
 
sdd
@Ven you have experience with iPhone and database connection?
 
Ven
@sdd my iphone apps used REST backends
 
user1804599
@sdd you seem to have a lot of experience with overly vague questions.
 
1:20 PM
he needs a lot of rest cuz hes lazy
 
sdd
@rightfold indeed, I see you have experience in telling unnecessary stuff
 
user1804599
I also have experience with plonking morons, which seems to come in handy right now!
 
sdd
How? can't see your dad around.
 
@sdd (echo 'create table large(datum uuid);'; for a in {1..10000}}; do echo "insert into large(datum) values('$(uuidgen)');"; done) | sqlite3 somedb
 
@sdd yes because he needs his dad to press the "ignore user everywhere button", that makes total sense. Let's see if I can pull that off too without parental help.
 
Ell
1:25 PM
TIL "fax" came from "facsimile"
 
user1804599
@sehe why'd you use uuidgen.
 
user1804599
Just like the DBMS generate UUIDs.
 
@rightfold s/like/let/ ?
 
user1804599
insert into large values (uuid_generate_v4());
 
Error: near line 5029: no such function: uuid_generate_v4
Error: near line 3466: no such function: uuid_generate_v4
Error: near line 9607: no such function: uuid_generate_v4
Error: near line 785: no such function: uuid_generate_v4
Error: near line 1024: no such function: uuid_generate_v4
Awesome. Let's upvote this a bit because that's one handy option not enough know about :) — sehe 9 secs ago
 
1:34 PM
I made some business cards.
 
Xeo
"Homeless programmer, will code 4 food"?
 
@R.MartinhoFernandes Will get lost for money?
That was mean, I'm sorry :(
 
@Borgleader You're a meanie
 
@R.MartinhoFernandes Wonderful.
 
Ell
1:37 PM
@R.MartinhoFernandes quirky
 
user1804599
@sehe CREATE EXTENSION "uuid-ossp";.
 
Ell
in a good way
 
I wanted to just make it a hand-drawn QR code, but I suck at hand-drawing QR codes.
 
user1804599
@R.MartinhoFernandes you're missing the word "hipster".
 
I imagine it takes a bit of time to hand draw a QR code.
 
1:38 PM
@R.MartinhoFernandes hehe. I like how you write urls hπp://blabla.io
 
It's a ligature.
 
@R.MartinhoFernandes is that the cloud-to-butt logo?
 
Xeo
That's a snake eating an elephant
 
@R.MartinhoFernandes Nobody writes ligatures :)
 
1:39 PM
@Xeo Ooh. I remember now
 
looks more like a hat to me
 
user1804599
do gays lay eggs? i dont understand how they reproduce.?
 
user1804599
LOL
 
Xeo
@LucDanton Aaand you fail!
 
1:39 PM
@LucDanton well played
 
It's a slug, clearly.
 
^
 
Xeo
Whoosh yourself
 
Yeah, right.
 
1:40 PM
:D Nope. Luc is informed. He doesn't make this joke by accident
 
Whoosh me, cuz i didnt get it.
 
Xeo
@R.MartinhoFernandes Note that I ended in an exclamation mark.
 
ohhh
 
Oh.
 
1:41 PM
what's the brainfuck supposed to do?
 
Xeo
It could also be the energy-level diagramm thingy.
 
user1804599
I store all business cards I receive in my paper shredder.
 
47
A: Fibonacci function or sequence

R. Martinho FernandesBrainfuck, 22 strokes +>++[-<<[->+>+<<]>>>+] Generates the Fibonacci sequence gradually moving across the memory tape.

 
Yeah it looked familiar...
 
Bad copy-paste.
 
1:42 PM
@melak47 implore you to run it
@rightfold that's awesome. You can now contact the average composite person in your files
 
@sehe I tried that first, but it didn't terminate or print anything :(
 
Ell
Idea
 
@melak47 Use a brainfuck IDE that lets you see the tape.
 
Ell
Subway but for tortillas!
 
@R.MartinhoFernandes don't have one, and this silly online thing won't let me see the memory unless it terminates :p
 
1:45 PM
$5 footlong tortillas?
 
I think this is the one I was using 4mhz.de/bfdev.html
 
user1804599
Implement Brainfuck yourself.
 
with the brain: fuck-you implement
 
@melak47 Yeah, with bfdev, just press the eye ("Watch program operation"), run it, and look at the memory tape.
 
Ell
@Nooble just that they make them in front of you
 
1:54 PM
Yo dawg - I hear you like canceling.
Maybe you want to cancel your cancellation?
 
Ven
that's a nice wolf
 
@R.MartinhoFernandes put the instructions on the back of the businesscard
 
@Ven It's also a nice VPS provider.
 
user1804599
I like Linode.
 
1:55 PM
@R.MartinhoFernandes I know. It's just... slightly non-obvious
 
user1804599
But Hetzner is cheaper.
 
@rightfold Me too. Which is why I'm not canceling linode
 
@sehe If you know Brainfuck, it's easy to figure out.
 
Ven
@sehe but I don't know of anyone with a herd of VPS providers
 
Very.
 
1:55 PM
@sehe Why are you cancelling then? :P
 
user1804599
@sehe good thing that
 
My other programming art is too large to fit on a card.
 
Sell it for $2000 a piece
@Borgleader Well, I don't need so many servers. And really, the thing that made me cancel is they are too good with security checks!
I kept getting POODLE warnings (even after disabling SSL altogether, AFAICT.). The warning was no doubt correct but I decided to lazy-out here and just throw the machine.
It's a bit unfair to them (I canceled because they have good diagnostics), but then again I kept the server for a year (or two) too long already.
 
wtf
who would buy halves of things?
 
2:00 PM
was ordered to give half of all his belongings to wifey in divorce settlement
 
> No two giraffes have the same spot pattern. They truly are special snowflakes.
@Prismatic Cool. I like the photography. A lot.
 
@melak47 I guess you can put a dot here between the two "rewinds" at the end of the inner loop and get output.
 
@sehe 10/10 would promoted post egain
 
guy has too much time
 
Ell
@Prismatic heh
this is clever
 
2:02 PM
he really should just sell everything, pay his ex-wife half then use the rest on escort services
 
@Borgleader I would :|
Ooh. Berlin.
I'd make an offer for the halbes Sofa if I had a home to put it in.
 
user1804599
 
how sad would it be if he put up half a heart for auction :[
 
@Prismatic I'd buy it if my Dark Bum has 1 heart collected already
 
2:07 PM
@R.MartinhoFernandes ?
 
> Nur Abholung, keine Garantie und Rücknahme.
lol
 
so I spent all night watching youtube videos
its the first time Ive ever done such a thing
I don't really know how to feel right now
There was this one channel where this guy superheats a metal ball and just puts it on stuff
 
@Borgleader What?
 
@R.MartinhoFernandes (he's asking you why'd you buy halves of stuff)
 
@Borgleader I like things with a story. And a half sofa is perfectly serviceable.
 
2:16 PM
@R.MartinhoFernandes The gif is just a guy saying "But why?"
 
sdd
What is the difference between Parse.com and PHPMyAdmin?
 
(I'm guessing youre one your phone?)
@R.MartinhoFernandes Hmm ok, I'll buy that (no pun intended)
theyre selling the base game with the expansion, why would you do that... i mean, offer an alternative, i have the base game, why would i want to pay for it again ?
 
Ell
@Borgleader I'm guessing he read the title and was confused :P
 
@Borgleader Because you wouldn't buy halves of things!
SCNR.
 
@R.MartinhoFernandes Well played
 
2:24 PM
@Prismatic lol, the MacBook comes with charger.
Gosh, this Internet is slow.
@Ell Yeah.
 
@R.MartinhoFernandes seriously dude, at least link me to where in the transcript I can read wtf happened, I've only got drips and drabs so far.
 
@thecoshman Nothing happened. I decided to finish my contract before I managed to find another place to live.
If I find a place in 5 days, I'll make an offer for the half-sofa.
 
@Borgleader Yeah, awful marketing there
 
Ell
@Borgleader don't prepurchase anything vOv
I don't know why people prepurchase stuff
 
Because they get bonuses.
 
2:33 PM
^
 
I don't pre-purchase stuff unless they are heavily discounted and from a reliable source
even then I don't like to fork out money before I receive goods or services
 
@Cat Will you prepurchase
 
Car Mechanic Simulator 2014 is on sale.
 
@R.MartinhoFernandes I see... so it's 'under control'? I had been lead to believe that you had simply failed to renew your contract by standard robot negligence.
@R.MartinhoFernandes free disappointment!
 
“If I have too much to drink, I can drink a lot of coffee to sober up quickly. Right?”

Ha. Tell us another one! Drinking a lot of coffee after drinking too much alcohol may, however, increase your discomfort through the need to use the bathroom while being transported to the jail on DUI charges. Only time reverses impairment.
 
2:40 PM
@thecoshman Nah, I had a periodic transfer set up in my bank to pay rent, and cancelled it. It was an active thing, not passive.
 
I like that answer
 
wow flagfest
 
Yeah, what's up with that?
 
@chmod711telkitty Mythbusters studied that, and found several ways to (temporarily?) reverse impairment. Most were adrenaline related.
 
Hmm, my whole Steam wishlist is on sale.
 
2:42 PM
@chmod711telkitty mainly: exercise+falling, and beint attacked both temporarily reversed impairment slightly.
 
@R.MartinhoFernandes I didnt buy anything on steam this time (so far anyway), i have like 230 games and have played maybe 40 of them
 
Allahu Akbar
 
@Borgleader Me neither. I probably won't play all of the things I have in my library ever, but the ones I put on my wishlist I really want to play. I only buy stuff from there, basically.
 
Hey guys I am trying to practice on templates and I just can't get the hang of it.
Tried to create a priority queue and failed so much(gist.github.com/anonymous/aa85cb2804c934ab0625)
anyone got a good guide on templates with examples ?
 
Might buy Alien: Isolation this sale.
 
@R.MartinhoFernandes I'm trying to motivate myself to play the games already in my library by not buying any games unless im going to play them now (like recently i got TIS-100 and Witcher 3)
 
@TBohne we are talking about drink driving, I don't think police would care much if your impairment is slightly reversed because your adrenaline is pumping hard when you hit that truck on the opposite side of the road
 
like even if its 2$ in a steam sale, nope not getting it
 
@R.MartinhoFernandes so how homeless are you right now?
 
@Borgleader Yeah, same.
 
2:46 PM
@maor At first glance I don't see any major template misunderstandings.
@maor Uh, there is a non-template problem that inc_number_of_objects is implemented inside of another function which.... isn't allowed.
 
@thecoshman I have a place to stay until tomorrow.
And a tent.
 
@maor Also enqueue has no return type. Your template code is fine. Your class code needs some work.
 
A US Navy Warship, Yours For $180,000
"AT THIS PRICE, THIS GREAT VESSEL IS GOING TO SELL FAST!!!!! CALL TODAY!" says actual listing for a US Navy ship
 
Ell
180k seems awful cheap for that
 
2:50 PM
it is ... must have some catch
 
so anyone fancy a spot of factorio together right now?
 
@TBohne so all functions inside a template class need to be written outside and not inline?
 
else I'll just be playing on my own... again... :'(
 
Ooh. I guess I could install that to fight boredom
 
@maor that's not how you implement an inline function either.
 
2:51 PM
Been downloading KSP for hours now.
 
@R.MartinhoFernandes oh my, your internet that slow? you poor thing
 
I'm at a hostel.
> This game is so awesome :D my gf hates it already +1
 
Maybe I should take the laptop to the office and suck out the Internet there.
 
well, for what it's worth, my terrible couch would be there for you :\
 
2:52 PM
oh no :(
 
@TBohne wait sorry I used the wrong word .inline is the next topic I intend to learn.
I meant to ask if in template class all functions need to be implement outside of the it?
 
@Borgleader No one has tried to seduce me yet.
 
@TBohne also why enqueue needs to have a return ?
the way I wrote it I don't see why it is a compile/code error
 
@maor no. Template class member functions can be implemented either in the class, or inline in the header, but should be implemented in the same file.
@maor All functions (except constructors/destructors) must have a return type. Often, the return type is void, to signify that there is no return value.
 
@TBohne allright Ill try to fix it now. thanks for you time and help
 
3:01 PM
@R.MartinhoFernandes boo hiss, factorio!
 
@thecoshman What?
 
@R.MartinhoFernandes play factorio with me rather than ksp :P
 
It's downloading.
 
Ell
@BartekBanachewicz did you get your cat today?
 
noooo
gotta go to work in 2 days I dont want
holiday is die :'(
 
3:09 PM
@R.MartinhoFernandes cool, are you up for some multiplayer then?
 
Morning
 
wheres your shoe
2
 
I've changed the email, I'll have to fix the gravatar
That color is wonderful though
 
it's fairly easy to mistake you for rightfold now
 
3:13 PM
rightfold is purple
jefffrey is pink
not the same thing
 
It's bordeaux
 
magenta :P
 
I'm losing my mind. Four days ago I "completed" my trie spellchecker, and everything works great and the log data looks great. In debug. In release, the logger logs 100% incorrect data and crashes right away :( But I can't find any problems with it
 
it's not a shoe is all that matters
 
user1804599
@TBohne debug, problem solved.
 
user1804599
3:15 PM
@AlexM. stolen together with your underwear.
 
@rightfold I am. It says "Access Violation" in vsnwprintf. But all the parameters that it shows me appear correct.
 
user1804599
delete all your code and use something other than C++
 
waaaaaaiiiit a second. "Access violation reading location 0x00200068." Does that address look like UTF-16 for " h" to anyone else?
 
user1804599
I want rape.
 
user1804599
Rape is delicious.
 
3:27 PM
inb4 flag
 
I prefer sunflower
 
@TBohne why would you derefence a UTF-16 code unit
 
user1804599
Because you're bad at programming.
 
@melak47 It's two code units, in the middle of my format string. I'm still working on it
 
user1804599
Since your design is highly decoupled, and your unit tests are therefore very specific, you can find the problem quickly by identifying which tests fail.
 
user1804599
3:30 PM
also don't implement spellchecking use the operating system's API for that
 
@rightfold that theory doesn't work for implementing complex algorithms like trie iteration or tree balancing or whatnot
 
user1804599
lol
 
@TBohne shouldn't you rather work with code points?
 
user1804599
algorithms are broken down into subalgorithms which can be tested individually
 
@FlorianMargaine say what now? One of just just misunderstood the other.
@rightfold I'm working on tests for my logger. Hadn't realized it needed more tests
@rightfold originally it was for a job interview question. I'm just expanding it now
 
3:33 PM
@rightfold Yeah, you go ahead and write an algorithm that finds if a tree is balanced without writing a function that does more than one thing.
And then call me when that happens, which is never.
 
@Jefffrey off the top of my head that sounds very doable
 
Oh yeah, and it has to be O(n) and recursive.
 
THE SHOE
has returned
 
@Jefffrey O(n) on binary trees is pretty rare. Mere iteration is O(n*logn)
Other than that, it looks pretty trivial
 
@TBohne What do you mean by "mere iteration"?
 
3:40 PM
@Jefffrey iterating over all nodes from "least" to "greatest"
@Jefffrey good point that top down is O(n)
 
A simple std::size_t size(node* tree) { return (tree == nullptr) ? 0 : size(tree->left) + size(tree->right); } is a common O(n) example on a tree.
 
@Jefffrey right, that's top-down.
 
What would bottom-up with O(n*logn) complexity look like exactly?
 
@Jefffrey not bottom-up. Left-to-right. Also known as In-order-traversal
@Jefffrey did you mean "complete"? That's much harder.
 
3:45 PM
haha, I learned that as well during E3
 
Xeo
@Jefffrey That's O(1) - it's always 0 :P
 
@TBohne No, balanced (the difference in number of nodes between the left and right subtrees is 0 or 1).
@TBohne The above size function is top-down and left to right.
 
@Jefffrey Uh, that contradicts wikipedia's definition for "balanced": A balanced binary tree has the minimum possible maximum height (a.k.a. depth) for the leaf nodes. en.wikipedia.org/wiki/Binary_tree
 
@Xeo ?
 
Xeo
Your size function always produces 0
 
3:48 PM
@Xeo lol yeah, it's missing a + 1.
still, it's O(n)
 
@Jefffrey which is known as top-down. left-to-right means it processes the left child, then the parent then the right child.
 
@TBohne Tree terminology is ambiguous. That's why I gave the explicit definition.
 
@Jefffrey got a source? Or you mean just colloquially?
 
user1804599
@Jefffrey I would never do that.
 
user1804599
Instead, I'd import it like any sane programmer.
 
@Jefffrey ...
 
But if you find it easier with the height of a tree, don't worry. Give it a try with the wikipedia definition.
 
@Borgleader I thought it was pronounced "Microsoft" now?
 
@AlexM. That's awesome
 
@melak47 heh
 
3:59 PM
whew, hibernated laptop at 1% battery
 
@Jefffrey :/ I was coding in a coliru tab and accidentally closed it
 
It remembers your code.
 

« first day (1708 days earlier)      last day (3236 days later) »