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

3:00 PM
What made you think I was informing you?
 
The fact that you announced it here.
 
I didn't realize a directed message was an announcement
 
@BartekBanachewicz My point is, since the user has to call a function (difftime) to get any meaningful value from the thing returned from getTime, why bother exposing it?
 
fuck yeah stuff moves
@milleniumbug who said he has to call that function?
the double as a number of seconds is meaningful
 
@BartekBanachewicz But the "start of app" in "seconds since start of app" is not.
 
3:04 PM
@milleniumbug why not?
FWIW I do store timestamps as doubles
but I don't really see it as a problem
 
@BartekBanachewicz It's not well defined what it means - the beginning of the first instruction ran in your code or the moment runtime library gets initialized or what?
 
It doesn't matter
 
@milleniumbug no one cares
it's some point in time
you do your stuff, take the measurement, do some more stuff, compare with the previous measurement
using, no less, double subtraction.
 
I invoke the power of the loungers to doom that shit
 
@Rerito is that really an ad for counterfeited documents
 
3:09 PM
@BartekBanachewicz It looks like so!
 
then it shouldn't be downvoted
it should be flagged
 
Already flagged it
 
@Rerito yay free helpful flags
 
Use `turtle` for shell scripting in Haskell: http://www.haskellforall.com/2015/01/use-haskell-for-shell-scripting.html Hackage: http://hackage.haskell.org/package/turtle Github: https://github.com/Gabriel439/Haskell-Turtle-Library
this is seriously cool
 
Too bad I was about to comment a dumb shit
 
3:12 PM
Boring
 
@milleniumbug It's some fixed point in time prior to the current one.
 
> However, a lot of programmers (mostly in game development) recommend using the second case.
 
hey
consider something you can draw
some D that's instance of trivial Drawable class
you newtype it to say Wireframe D
then instance is "enable wireframe, call base draw"
 
You know we autocomplete D right?
 
almost like inheritance
so that obviously feels a bit wrong to me
every instance peels a layer off and calls into super instance
well it doesn't have to but you get the idea
 
3:17 PM
grr inheritance
 
obviously it's better than normal inheritance because you kinda get X ( Y ( D ) ) and Y ( X ( D ) for free
@CatPlusPlus elaborate. I need a rubber duck cat
 
inhurrritance
 
that sounds like a dog
 
Obviously
 
3:18 PM
@CatPlusPlus you're a cat, not a lion
is my approach worth anything? Does that have any chance of making any sense?
 
TIL the postfix increment operator returns the previous value. What the hell.
 
the postfix operator
 
@AndyProwl he prolly means +=
 
@BartekBanachewicz I think += returns T&
 
I had to learn that through a solid 15 minutes of suffering.
 
3:23 PM
Uh what did you expect to return
That's the whole reason that two of them exist
Try C++ 101 or something
 
why doesn't FTP support deleting of non-empty directories? ;o
 
ok whatever
 
I seriously don't understand that design "feature"
(more like annoyance)
 
It can be easily done on client level, no reason to include it as a protocol command
 
yea looping each subdirectory and sending a delete command for each file is very efficient :[
 
3:25 PM
Now I have to do a soddin' build and test for the Columbians before Monday 10:00 deadline. My highly respected and much admired German customer keeps emphasizing that word 'DEADLINE' on the phone and typing it in upper-case in emails. We are not amused.
 
FTP is designed for transferring files, not remote management
(Also don't use FTP)
 
@CatPlusPlus FTP stands for Femote Tanagement Protocol.
 
If there were other options I would use them xD
 
Fucking Terrible Protocol.
6
 
indeed
my hosting is supposed to support SSH and SFTP but meh
 
3:29 PM
Fuck The Police //CollegeStudentMindset
 
@MartinJames You should ask in which timeline the deadline applies. I'ld be laughing so much picturing your customer's head hearing that!
 
so it's hard to admit
 
That said, I have to admit that transferring files directly to my customers' FTP server is quicker than the cloudy alternatives like Dropbox, Gdrive etc.
 
but I'm struggling with drawing a circle
 
Xeo
lol
 
3:30 PM
Clearly you don't have enough unit wrappers
 
@Gizmo ssh is like, tons better.
 
I wonder if I can break in ghci
 
@R.MartinhoFernandes ssh is like.. never ever never used by windows people
so I don't know what the hell to do with it
 
I use ssh on Windows all the time.
 
also, I can't seem to find a option to transfer files using "SSH"
 
3:31 PM
scp
 
putty doesn't support file transfer :/
 
Or pscp if it comes with putty.
 
putty lol
 
@Gizmo I use it all the time for that.
 
Quick question. Say I do some typedefs in a base class, are those typedefs available in derived classes as well?
 
3:32 PM
@Rerito Yes, unless private.
 
Alright thanks!
 
ok so, sending files, FTP, deleting directories, SSH. good.
i'm fine with that xD
The SCP command is not beginner friendly
 
srsly I don't even know how to start transfering a local file
 
3:34 PM
That's an egg on top of a poutine.
 
5 hours till beer. This is the worst day of my life, assuming I'm allowed to complete it.
 
Yeah you need at least 4 years of experience to use commands that have two arguments
7
 
@EtiennedeMartel I don't care what it is. I want one.
 
pscp user@remote:/path/to/remote /path/to/local
pscp /path/to/local user@remote:/path/to/remote
 
2spooky
 
3:35 PM
@R.MartinhoFernandes Well, that makes it perfectly clear which way the data is flowing.
 
@CatPlusPlus i.imgur.com/Z0YHkDk.png at least more experience than one command is needed
 
The fuck are you doing
 
You run that from your machine, not from the remote.
 
@Gizmo oh lmao
 
3:38 PM
Trying to send directory SendShit to root dir?
 
If you're already in sftp interface then command is put, not scp
 
root dir does not want shit
 
Also lol desktop
 
command not found ;o
 
@wilx That's odd, I'm required to type Base::my_typedef in order to use it in Derived
 
3:39 PM
I think my websites' ssh is very limited
 
@Rerito You shouldn't be
 
@Gizmo pscp C:\Users\Rafal\Desktop\SendShit gz0.nl@ssh.strato.de:/ from your machine. The server has no idea what the fuck your folders are.
 
@Gizmo Have you spent the requisite 8 hours of chown/chmod yet?
 
@AndyProwl That's what puzzling me here
 
sec lemme download pscp
 
3:40 PM
Oh windoes
 
(Can you put stuff on the root?)
 
@Gizmo lol, you didn't have it?
 
yaay debugging werks
what can I do now
 
@MartinJames not on my machine
 
@Gizmo lol
 
I think I did hav it on my old one
just never used
 
It's just amazing that any data ever gets tansferred, correctly and completely, from the right place to the right place.
 
Nuclear pants
 
3:42 PM
okey so :list
what now
let's step in
 
heh pscp can't send directories? XD
 
Whne the data does get there, the email filters/AV whatever promptly delete it.
 
> pscp: C:\Users\Rafal\Desktop\SendShit\: not a regular file
 
6
Q: PSCP: Upload an entire folder, Windows to Linux

UpHelixI am using PSCP to upload some files from windows to linux. I can do it fine just uploading one file at a time. But I have some very large directories and I want to upload an entire dir at once. I have tried: pscp -i C:\sitedeploy\abt-keypair.ppk includes\* root@mysite.com:/usr/local/tomcat/web...

you're so bad at googling it hurts
 
@Pris exception safety...
 
3:43 PM
@EtiennedeMartel My cholesterol has risen just by taking a look at the picture.
I feel fat clogging my veins.
Help.
 
@Gizmo Sorry, for folders you need -r.
 
Embrace the fat
 
@BartekBanachewicz you're so good at being annoyed that it hurts when people can't google well/don't have the habit
 
Also jseus christ whatever happened to solving your own damn problems
 
@BartekBanachewicz Ah indeed okay ^.^ I'll probably just download a GUI for it, just so I don't screw up the commands
 
3:44 PM
@Jefffrey Meh - go for it. Tomorrow, you could be dead.
 
and accidentally delete 3 websites
 
@CatPlusPlus He's teaching the loungers patience
 
@MartinJames So I'm going to eat that to make sure tomorrow I'll be dead?
That don't make sense.
 
@sehe I did type scp /? but bartek was faster
 
@Gizmo scp /!!!!?!
 
3:45 PM
@Jefffrey Enjoy it while you can.
 
p :: Float = _
[samples\sample3.hs:17:5-37] *Main> :list
16      p <- fmap fromIntegral ask
17      circle Filled (vec2 (p/10.0) 0) 2
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
[samples\sample3.hs:17:5-37] *Main> :step
Stopped at samples\sample3.hs:17:20-34
_result :: Vec2 = _
p :: Float = _
[samples\sample3.hs:17:20-34] *Main> :list
16      p <- fmap fromIntegral ask
17      circle Filled (vec2 (p/10.0) 0) 2
                       ^^^^^^^^^^^^^^^
18
 
On what OS does that make sense
 
hey this is p cool
 
@sehe /? usually means help?
 
@BartekBanachewicz is it?
 
3:46 PM
Usually means Windows noob :/ o.O (SCNR)
 
@Jefffrey is it not?
 
Yeah - you get dozens of man pages full of BN crap. Makes it easy to understand.
 
@AndyProwl My use case is more like this
(Except that FunkyClass is a template instead)
 
@BartekBanachewicz I have no idea what I'm looking at.
 
3:47 PM
@Rerito you should in class templates. Reason being, specializations might not have the base class (or more formally: 2-phase name lookup). /cc @AndyProwl
 
@BartekBanachewicz Ugh, that prompt.
 
@R.MartinhoFernandes shit someone noticed
 
It's really hard, sometimes it's /?, other times --help , other times -help, another app uses /help and other programs some other bullshit. There is no consistency -,-
 
@Jefffrey a middle of GHCi debugging session?
 
Oh, it's the debugger thingy.
Yeah.
 
3:48 PM
@BartekBanachewicz 1) multiline 2) λ
 
@sehe Could you please enlight me here? I'm lost
 
@Gizmo Windows/cmd use /?, Unix tools use --help. What's so hard about that?
 
It's cool then.
 
@rubenvb third party software is designed bad sometimes, that's hard.
 
@R.MartinhoFernandes I especially like it when it lists all loaded modules.
 
3:48 PM
@Gizmo The help entry on the main menu usually works, (unless you are using a 1960's interface).
 
I can't get into the library function though\
and that's actually what I wanted to debug :/
 
Doh, time to commute back home... @sehe any little example or ref will do :)
 
@Rerito Remember the discussion we had about this-> in class templates? (I think it was with you)
 
See you later mates
 
that's the same story
 
TIL that the C++ tag wiki has a link to this chat room in the "beginners" section.
 
Perfect (in the end that's exactly what I did since the compiler guided me through the error messages). I just didn't understand it
 
@Gizmo Then.... Don't use it?
 
If I google 2-phase name lookup I should get some decent explanation right?
 
@Rerito To make it worse, MSVC will silently accept code that doesn't obey these requirements
 
3:51 PM
Oh shit. If I ask for 1.5L of oil to be dispensed, I get 1.51L. Raped by FP again.
 
@Rerito Yes. Two-phase maybe
 
@rubenvb i'm against the NIH syndrome..
 
@Gizmo What? It was invented here!
 
Ok will do when I reach home!
Thank you @sehe @AndyProwl :)
 
3:51 PM
No problem
 
yo
 
What would I do without this website? I think I would live under a bridge, or suffer in isolation while doing maths in a basement.
 
> but keep it civilized.
lol
Yeah, civilised is exactly the term I'd use to describe this room.
 
cue
Apr 4 '13 at 10:14, by Bartek Banachewicz
Last time I saw someone trying to use Haskell with OpenGL he wasn't able to display a triangle
 
And "angels" to describe those who populate this room.
 
3:53 PM
@DonLarynx If you choose trolling the bridge, make sure you charge at least €45 for passage.
 
@MartinJames I did not know I could do this.
*adds function TrollBridge(Troll Don)*
 
@DonLarynx Sure. You have to keep the bridge in good repair.
 
@DonLarynx I think it is shiiiiit
@Jefffrey I once googled "civilized" and Lounge<C++> was the top 3rd result
 
@BartekBanachewicz what the hell is that abomination
 
this looks like an extra vertex
 
3:55 PM
i can post glitch art too
 
inserted for whatever reason
 
Pffttttttttt <-- there's the missing tea
 
 
@Gizmo I meant find a better alternative tool.
 
3:57 PM
thats what happens when you try to draw vbos filled with garbage! yay
 
It's art
 
@rubenvb just because the program doesn't have a helpful/easy usage doesn't mean it's bad, mostly I just download a GUI and I'm happy :P
 
@Pris lol
 
I've no idea how that could happen
 
integer over- or arithmetic underflo
keeping the typow
 
4:01 PM
it only occurs when drawing lines
 
All those years playing RuneScape...I could have been OOPing
 
hm well ok with trianglestrip too
[10.0,10.0,10.0,20.0,20.0,20.0]
no zeros.
aaah ffound it
damnit ugh
such a rookie mistake
 
A rookie bertaek
 
@CatPlusPlus actually :S
I fucked up the number of vertices and the number of floats
 
@Jefffrey "Civil war-ized", perhaps? :-)
 
4:10 PM
@BartekBanachewicz yay for floats. Maybe you accidentally counted a timestamp as a vertex :)
 
@sehe well my Polygon construction accepted a list of Vec2, and the internal buffer construction accepted a list of floats.
 
All my triangles are 5 seconds wide
 
the latter was the one that determined the size
and thus the drawing function tried to draw too many primitives
 
Crappy model interface
 
since I zeroed the buffer beforehand it ended up in 0
 
4:11 PM
@BartekBanachewicz Anything that requires programmers to count is doomed (figured that out back in the Fortran days--roughly half of defects consisted of counting and correcting the length of "Hollerith constants").
 
@CatPlusPlus I know.
I was too busy adding features to fix it
 
Keep yer invariants
 
I need a working PoC before I start refactoring
otherwise I'll end up with beautiful piece of crap instead of just a piece of crap
well okay I'm refactoring parts as I go
oh fuck
I accidentally went onto master instead of develop
fuck
 
What would your users say
 
@CatPlusPlus if I had them, you mean?
fuck, what now
I suppose the cleanest way is to scrap the old develop and rebranch it
and live with the fact that master is half-broken right now
fucking shit
 
4:16 PM
@JerryCoffin How can you fail with such short things?
 
so something that should take 4x as long to execute takes only 1x as long with asio ... i hate threading lol
 
@R.MartinhoFernandes "binary" was a good base to pick--most programmers can't count past 2.
 
I got a haircut
I lost some weight because of it
my soul is free
 
@JerryCoffin ughwat
who the hell thought that was a good idea
I mean compilers weren't that primitive were they
 
gives computer to Bjarne Stroustrup
 
4:24 PM
Hm.. bug report, exception message logged: 'File Time Table Loopup failed'. Loopup? Certainly sounds like one of my exception messages, yes:(
OK, grepping for 'Loopup'..
 
@BartekBanachewicz Well, yes, they were. A "Hello World" program would have been something like this:
10 '11HHello World'
print * 10
The "11H" is telling you that the next 11 characters are a "Hollerith Constant" (a string).
 
@JerryCoffin but was it because of the limitation of the compiler to actually count the number of characters or because there was some weird justification for that
 
My Loopup grep failed:(
 
I'm gonna buy some tequila and see what it's like
 
@MartinJames Error: loopup loopup failed.
 
4:29 PM
@JerryCoffin lol:(
 
@AlexM. I recommend Patron.
 
@JerryCoffin I'll see if I can find that in the supermarkets here
probably not, I can't even find it on websites in Romania
 
@BartekBanachewicz Well....it did sort of fit with the rest of how Fortran format strings worked.
 
> Tequila Silver 0.7l Patron
$100/bottle
dat price
 
@JerryCoffin Wasn't there like a maximum and then you'd just concatenate many short ones?
 
4:31 PM
@AlexM. Ouch. Don't think it's quite that high around here. It is good, but I doubt I'd pay that much for it.
 
Tequila Blanco 0.7l Olmeca seems to be priced at 1/4 * Patron
much more accessible, especially for a never-had-before-and-curious guy
inb4 taken out of context
and somehow turned into bi-curious
 
@R.MartinhoFernandes Hmm...well, you were normally limited to 80 columns.
 
I can't find any supermarket selling bourbon online
hmm
 
@AlexM. I think I'd get a shot at a bar. Might be overpriced, but at least you don't end up with a whole bottle of something you really don't like.
 
@AlexM. Oh dear...
 
4:34 PM
@AlexM. A lot of cheap tequila is pretty nasty stuff.
 
@JerryCoffin olmeca seems to be serious business en.wikipedia.org/wiki/Olmeca_Tequila
 
@AlexM. You know it has a well-deserved rep for destroying you brain for days?
 
And of course, you should probably be reminded of the old chant: "One Tequila, Two Tequila, Three Tequila, Floor!"
 
probably I should have been more exact
 
I have a doubly linked parent child thing that I can't think of a clean solution for.
 
4:35 PM
I was actually interested in turning the tequila into stuff like this en.wikipedia.org/wiki/Tequila_Sunrise_%28cocktail%29
 
Tequila: Weird af
 
so I'm not exactly interested in drinking the bottle off :A
 
Drink off the bottle.
 
it's a bit annoying that I cannot get to the biggest supermarket today
 
@JohanLarsson Doubly linked parent-child relationship? Do you have some incest going on there?
 
4:38 PM
I doubt they have grenadine syrup in the market next to me
 
@JerryCoffin That, or a GUI framework.
 
@JerryCoffin possibly. I just tried almost asking here to see if it would spark something :)
 
@AlexM. In that case, yeah, a less expensive tequila is probably all right.
@JohanLarsson ...and of course it did (a little something, anyway).
 
I wrote a failing test for it.
 
@MartinJames Let's just not go there, okay? I mean incest is bad, but GUI? That's just nasty...
 
4:45 PM
whats with all the gui framework hate
 
hey @Jerry mind taking a look at this situation I figured you're the one who could know how to handle cases like that
 
Gregory should have made December the leap month. This makes my program unnecessarily longer.
 
@Pris In the Lounge, they don't like it up 'em. It involves pointers and C-style API calls. Thay cannae take it.
 
@BartekBanachewicz Wow. Umm...I'm not sure what to say.
 
4:52 PM
you guys should make a modern c++ gui framework :]
 
we'd probably argue between us about what makes it good
and not get anything done
 
@Pris why that :S
 
shared_ptr<std::ui::window> window(std::ui::surface);
window->show();
 
shared_ptr<std::sexy::widow>
 
shared_widow<std::chlamydia>
 
4:56 PM
the api for the not-really-ui-lib im working on looks like this:

    ks::shared_ptr<ks::Thread> render_thread =
            ks::make_shared<ks::Thread>();
    render_thread->Start();

    ks::shared_ptr<ks::Thread> data_thread =
            ks::make_shared<ks::Thread>();
    data_thread->Start();

    // application
    bool init_ok;
    ks::shared_ptr<ks::gui::ApplicationSDL> app =
            ks::make_shared<ks::gui::ApplicationSDL>(init_ok);

    if(!init_ok) {
        ks::LOG.Fatal() << "Failed to create ks::Application";
 
I love writing and maintaining a list of guides and issues + solutions in my docs
the speed at which you can reply to mails with "There's already a solution here:"
it's just, wow
"C'mon, nobody reads the docs."
that's true!
until they need my help
 
@Pris Why oh why is everything a shared pointer?
 
do people really say 'nobody reads the rocs'
 
nobody reads the rocs
thunderbirds are read more often tho
ba dum tschh
(in case the reference was not captured heroes.thelazy.net/wiki/Roc_and_Thunderbird)
 
@R.MartinhoFernandes makes my life easier. also its handy to prevent destruction of certain objects by holding onto references... like you can't destroy a thread if its in use by an object for example
 

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