« first day (1819 days earlier)      last day (3115 days later) » 

Ell
9:05 PM
Man I'm confused
 
user1804599
confuzzled
 
Ell
if I were to boot linux in text mode, would it have a framebuffer device?
 
@ScarletAmaranth You need macros.
You can’t just accept the overloaded f, you have to replicate it for every signature.
also that works badly as you would expect
 
yeah I had a very minor case of major brain-fart
 
Accept Niebler into your heart as the true prophet.
 
9:08 PM
with his horrible lazy transpose?
 
@ScarletAmaranth does this help? stackoverflow.com/questions/26846299/…
@Ell depends on kernel config. I think they're trying to remove support for fbdev but it takes years already
 
user1804599
This music is great.
 
user1804599
such happy lyrics

NOT
 
Why am I not surprised
 
Ell
9:10 PM
I'm not sure why they'd remove support for fbdev
 
@sehe uuuuu - c'est excellent; merci
 
Ell
actually I guess they will replace it with KMS, but I'm not sure that's really an apples vs apples comparison
 
I was trying to google for it. Couldn't find it. Read it on Phoronix, I think
@ScarletAmaranth c++14 makes it even better because you can have a "catch-all" case with auto
 
user1804599
LOL
 
wat wat now
 
user1804599
9:12 PM
This'd be cool.
 
@ScarletAmaranth lol did you XY 'I want to construct a functor with overloaded operator()'?
 
user1804599
auto add = [] {
    () { return 0; } // identity element
    (int a, int b) { return a + b; }
};
 
user1804599
You can do this in Clojure.
 
@ell you have a frame buffer only with the appropriate driver
 
9:13 PM
@LucDanton nono, it just so happens I can use that for my alternative approach
 
user1804599
Like, (def add (fn ([] 0) ([a b] (+ a b)))).
 
I use variant only to parse from spirit - I'll get rid of it soon enough, I technically don't need a sum type
 
Ell
I've read about fbdev, KMS, drivers and vga modes and blah blah for so long. I should know what they are by now
 
@elyse nice song. Not the best singer sadly
 
@ScarletAmaranth still think going Niebler is less boilerplate
 
9:14 PM
@elyse awesomius
@LucDanton what does he use?
 
You know, functors.
 
oh those, but they are tedious to declare, no? You mean, he has them macros at the ready?
 
@sehe Sort of. If the alternative is to implement an overloaded_functor then the comparison is more favourable though.
 
Depends on the load factor. I think the facility is one-time only. I haven't spent hours on it and reuse it occasionally
 
I have Vim commands to do the whole forwarding/return type dance etc. so it helps :Þ
 
9:17 PM
Cheater
 
@LucDanton this only has one flaw - you need to use Vim
 
Do the same with your favourite editor.
 
I don't like using that kind of "IDE support". I do one-time vim macros.
 
@sehe I don’t like to hurt my wrists.
 
Don't code c++ :)
Me neither
 
9:19 PM
@sehe Why? The ratio of writing:not writing is not unfavourable.
 
@LucDanton I've recently found out that giving massages regularly helps me relax my wrists
 
teehee. smooth
 
1
A: N-ary Tree implementation: cannot convert 'Tree::node*' to 'node*' in assignment

Filip Roséen - refpThe Problem Your declaration of Tree::nodeSon::node_ptr is made by telling the compiler that you have not yet eclared struct node, but that you would like the compiler to hold on for a second, and that a declaration of this struct will be available elsewhere. The problem is that when you doing ...

^ is that answer clear enough, or could I somehow improve it?
 
@ScarletAmaranth :o
 
I'm really too tired to answer questions at SO right now, but I got nothing better to do
 
9:21 PM
generally my left wrist would start to hurt after ~4 hours of typing
not much but enough to feel the strain
 
You, sir, have gotten a lot better in explaining over the last year (or two?) — sehe 5 secs ago
@FilipRoséen-refp I'd "show/don't tell" earlier, but your reduced sample delivered the oomph
 
@ScarletAmaranth when you masturbate you should do it with your left hand every once in a while, that should fix the issue
@sehe do you mean I should put the reduced example before the explanation?
 
Ell
> too tired
> nothing better to do
Sleep!
 
@Ell I can't... already tried to sleep, but I can't relax so I'd rather keep myself busy with something
 
@FilipRoséen-refp Not really. But the phrase "is made by telling the compiler that you have not yet eclared struct node, but that you would like the compiler to hold on for a second, and that a declaration of this struct will be available elsewhere." is hanging in the void there a bit. I'm willing to bet that that's way too abstract for the OP
 
user1804599
9:26 PM
I wish I were smart.
 
I don't know how much smarter you would like to get.
 
@sehe I will see how I can fix that sentence to a little bit less abstract, thanks
 
evening
 
'Bout 2 bottles of самогон worth of smartness, I assume
 
user1804599
@sehe One unit of smartness.
 
9:29 PM
Corrected for local minima?
@FilipRoséen-refp I'd suggest just something like
> ... is made by telling the compiler that you have not yet declared struct node (struct node*), but it will get that node declaration elsewhere.
On rereading, it's basically already there. So the (parens fragment) can go
 
@sehe what about this?
 
assgoblin sounds like something I'd give try to
 
user1804599
goblins are great
 
@elyse Nice race in WoW
 
Amazing explanation! :D Pretty clear and punctual. Thank you so much that definitely solves my problem. — RedSkull 2 mins ago
 
Ell
9:34 PM
okay I have a display manager finally
 
@Ell Does it display managers?
 
@FilipRoséen-refp splendid! no more polish now. Get some sleep
 
Ell
It looks like this:
so last century
but at least I don't have to log in blind
 
Is that clean X11
 
user1804599
use i3
 
9:36 PM
@Ell looks like a xrdp/xvnc greeter
 
Ell
@elyse I do :P
 
user1804599
hele gretige UI
 
Ell
@sehe It's just xdm :)
 
wow. that's oldschool
 
Ell
9:36 PM
@sehe yup
it has very few dependencies and it just works
 
@Ell why not use the standard login, and fire Xorg manually if you need/want to?
 
Ell
which is enough for me
I spend most of my time logged in, surprisingly
 
@elyse I finally implemented a sane approach to walking the AST. Here is a use case:
 
user1804599
I use standard login screen
 
translationUnit.walk({}) {
    when (it) {
        is For -> {
            checkHarmless(it.init, "loop initialization")
            checkHarmless(it.update, "loop update")
        }
        is Comma -> {
            checkHarmless(it.left, "left operand of comma")
        }
        is ExpressionStatement -> {
            checkHarmless(it.expression, "statement")
        }
    }
}
 
9:37 PM
@FilipRoséen-refp spoken like a true gentoo user
 
user1804599
not GUI.
 
Ell
@FilipRoséen-refp because nvidia proprietary drivers make that p much impossible for me
 
@sehe arch!
 
user1804599
I enter username, password, and then get a shell in which I enter startx.
 
Ell
I used to do that also
 
9:38 PM
@fredoverflow sexy
 
Ell
but doing it with a blank screen is just annoying
 
@Ell hmm.. disable early KMS?
 
Ell
@FilipRoséen-refp nvidia doesn't support KMS or framebuffer devices (on uefi at least)
I'm stuck I think really
 
1 min ago, by sehe
@FilipRoséen-refp spoken like a true gentoo user
 
user1804599
@fredoverflow I found a nice way to have both: *) multiple type errors per TU, and *) no redundant type errors. gist.github.com/rightfold/05c5fff68ed72f21adf5
 
9:38 PM
@Ell I had trouble when I was using the nvidia-proprietary drivers, first as you described, but as it turned out I was using the wrong driver-version, but then the only problem I had was that after quitting X the screen would not turn back on
 
user1804599
So { int i = "x"; int j = "x"; } raises two type errors, but { auto i = 1 + "x"; vector<string> j = i; } raises only one.
 
Ell
I've tried booting linux in "text mode" to try and get any kind of visible console
but nothing has worked for me thus far
 
@elyse why would there be two type-errors in the latter?
 
Ell
so I've given up and installed xdm
 
@elyse Interesting, I have been thinking about this problem just the other day!
 
user1804599
9:40 PM
@FilipRoséen-refp check again; updated it. 1 + "x" is a type error, don't want to raise a type error again for every expression that depends on it.
 
@Ell the ones where she has clothes on will
 
@elyse sometimes I freakin' hate the fact that you can edit messages
 
user1804599
Scala does this, and it's annoying.
 
user1804599
If you have a type error, it infers Any and then continues type checking.
 
user1804599
So you get shitloads of type errors that are completely useless.
 
user1804599
9:42 PM
val x = 1 - "x"
val y = x
y.f() // error: Any has no method f
 
@elyse you do know that you are in Lounge<C+plus>, right? useless errors are kinda C++ diagnostics in a nutshell
 
@AlexM. giggles
 
Ell
@elyse wut. why would it infer Any for that?
 
user1804599
Because scalac is a disaster.
 
Ell
I can't even see the reason for that though
why wouldn't it fail at 1 - "x"?
 
9:44 PM
magic
> If it's Scala, it's probably magic
 
user1804599
@Ell It does.
 
user1804599
It reports an error, then acts as if it was of type Any, so it can find more type errors.
 
user1804599
hmm
 
user1804599
in a few weeks Vlad will get unsuspended.
 
Flag him moar
 
user1804599
9:47 PM
Still unemployed.
 
@AnalPhabet friendship
 
user1804599
 
omg. rightfold is just a child
 
user1804599
?????
 
@sehe IDGI
 
user1804599
9:50 PM
My Little Pony: Friendship Is Magic is a children's animated television series produced by Hasbro Studios and DHX Media Vancouver. The series is based on Hasbro's My Little Pony line of toys and animated works and is often referred by collectors to be the fourth generation or "G4" of the My Little Pony franchise. The series premiered on October 10, 2010, on The Hub cable channel. Hasbro selected animator Lauren Faust as the creative director and executive producer for the show. Faust sought to challenge the established nature of the existing My Little Pony line, creating more in-depth characters...
 
urgh
 
"I could probably go delete the word 'roughly' and still be portraying the same message" // would you say it's roughly meaningless? Don't create unnecessary confusion. It's roughly useless, and probably a bit, like, counter-productive, maybe, I dunno. Basically. — sehe just now
@AnalPhabet regurghitate
 
@sehe have you ever linked to rick astley from a demo button?
 
nope
What's a demo button?
 
topkek
 
9:54 PM
Live on Coliru
 
ahhhh a beer :)
 
44
Q: Is there "magic" in the STL?

JobLet me start with explaining what I mean with "magic". I will use two examples from Java: Every class inherits (directly or indirectly) the Object class. Operator overloading is not supported by Java but the + operator is defined for String objects. This means that it is impossible to make an...

 
this thing from F# is pretty cool
form.MouseMove
    |> Event.filter ( fun evArgs -> evArgs.X > 100 && evArgs.Y > 100)
    |> Event.add ( fun evArgs ->
        form.BackColor <- System.Drawing.Color.FromArgb(
            evArgs.X, evArgs.Y, evArgs.X ^^^ evArgs.Y) )
^ filtered event handler firing
 
reactive built into the language
 
@AlexM. ^^^ <---- Whats this mean?
 
10:04 PM
evArgs.X to the power of to the power of to the power of evArgs.Y
 
useful
 
@AnalPhabet oh wow
but seriously?
 
also I don't know
I'm just talking out of my ass
 
neato
 
10:08 PM
@sehe cool
 
If you follow people who work at Stack Overflow, we're about to get really annoying. Now is the time to mute us. <3 #SOinSD
 
why does atom think my .hs file is a directory
like I decide to try this editor people speak about
and it fails 10 minutes in
 
isn't that what you set out to establish
 
@AlexM. Isn't Atom the new Sublime Text for the web or something?
 
I don't know but I've been trying to get something to let me edit and compile and run haskell on my PC for a while now and I so can't find a straightforward solution
atom had a hs plugin
 
Ell
10:17 PM
@AlexM. text editor and GHC? o.O
 
something a bit more IDE-like you know
 
Ell
emacs ;)
 
Should beginners worry about the order of function definitions in C? Or should I let them get away with a warning when they call a function above its definition?
 
I try to create a new file
Haskell-ghc-mod: ghc-modi crashed on type with message <blank message here>
DOES THIS LANGUAGE WANT TO BE LEARNED
 
@fredoverflow They should worry. It's essential to building a mental model of what a compiler does
 
10:20 PM
@fredoverflow If you don’t outright prevent it, some will get used to it and (ab)use the 'feature'.
 
why aren't all languages supported by visual studio ugh
 
Because that'd be an incentive to use VS, duh
 
^^^^
 
int to the power of to the power of to the power of to the power of int?
(implicit int and Alex's code snippet)
 
that's just ↑4 right
 
10:28 PM
I got the thing to work
 
@AlexM. Impossibru. You got it take full screen i.imgur.com/iTr2kTG.png
 
now I need to see how I can run the exe from within the thing
 
I just "profiled" my compiler for the first time. The longest program I have written so far is 35 lines :)
   syntax: 1.325432 ms
typecheck: 0.565985 ms
     lint: 0.215475 ms
The first run is a lot slower, probably because JIT and stuff.
 
@sehe are you livecoding?
hi @Nooble!!!
 
not anymore.
Have been ~3 hours
 
10:30 PM
Awwww :(
 
I think
I don't count the hours
 
nice :)
 
@sehe Can you see a list of people who watch you?
 
It was low traffic, so I did something else for a change and went for "general SO questions"
@fredoverflow Only logged in usernames
 
@sehe and how was that?
 
10:32 PM
And technically you could watch off-site, I guess
 
@sehe chants downvote, downvote, downvote, close vote, downvote, downvote, downvote, downvote, downvote, close vote, downvote, downvote, downvote, close vote
 
@TonyTheLion Hilarious at times. Depressing at others.
 
@sehe hehe
 
Rightfold has zarroo patience with "dumb shitty questions" :)
 
@sehe Not surprised. I'm guilty of the same. I think it comes from being in the Lounge
its kind of a thing here
 
10:32 PM
@sehe Did you form anything?
 
@AnalPhabet I don't think I d/v. c/v yes
 
@AnalPhabet pointar obviously :P
 
@TonyTheLion I was hoping for something original, straight from the OP
 
@AnalPhabet but sehe wasn't OP
 
like a flie
@TonyTheLion but he did see stuff from OPs
hallo how is flie formad ?? thank you
 
10:35 PM
@AnalPhabet you don't form stuffs by looking
 
@AnalPhabet lol
 
@TonyTheLion Hi!
Need to finish an oral report.
 
@Nooble Hi :)
 
@sehe mental shortcut for: "did you see OPs forming"
 
@Nooble ohhh oral
 
10:36 PM
mainly because you were answering them, so you'd be forming them to
 
@AnalPhabet I saw a phaggot forming :P
How is OP formad?
 
> Alone, we're just a bundle of sticks, but together we form a mighty faggot!
 
Best TS Eliot fact. He used the S because he was acutely conscious of what his name spelled backwards if he didn't.
 
@TonyTheLion with nomads
 
awesome
 
10:37 PM
@AnalPhabet obligatory
 
> mental
 
hides
 
@Nooble So what exactly does an oral report entail?
 
@TonyTheLion him performing oral acts
on air
 
lol
hahahah
 
10:39 PM
inb4 starb8
 
I'm not starring it
the most dumb things get starred these days
 
@TonyTheLion For you must stand strong
 
I want to go back to Lounge days where stars were worth something
not just bs getting starred
 
@TonyTheLion How much were they worth? Something 'bout three fiddy?
 
yea
worth something
 
10:40 PM
@TonyTheLion Badness.
 
starb9 after starb8 after star7
and nobody's taking it
 
@Nooble hmmm not sure what to make of that?
 
@TonyTheLion 30 minute report
I have to stand up and like... talk.
 
@Nooble about what?
the state of entropy in the universe?
 
@TonyTheLion Architecture!
 
10:41 PM
lololol measuring talks by time
> >tfw asserting identical data density
 
@Nooble building architecture or software architecture?
 
@TonyTheLion building ofc
 
@TonyTheLion building
 
@TonyTheLion He's in high school
 
@AnalPhabet how would I know
I only know Nooble from here, and see him talk about OpenGL
 
Ell
10:42 PM
Okay any haskellers around?
 
Sure @BartekBanachewicz can be plinked
 
@Ell @Bartek @AlexM.
now there are
 
@Ell hi
 
@Ell oh what about our meeting, when shall we schedule it?
did we decide?
 
Ell
Is $ preferred over ()?
 
10:43 PM
@TonyTheLion inb4 sex
 
Ell
@TonyTheLion we didn't decide
 
@Ell :(
 
Ell
but there are no birthdays next weekend
 
@Ell Up to personal preference.
 
@Ell I prefer dollars over empty hands, yes
(the parens look kinda like hands)
 
Ell
10:44 PM
@TonyTheLion I can do 16,17,18th
 
@Ell good edit
 
@Ell ie next weekend
erm
 
Ell
@TonyTheLion yeah
 
I can't do the Sunday
 
I was about to comment on how you were rigging him underage girls
 
10:44 PM
but Saturday should be fine
 
Ell
okay :)
I'm not sure what the plan will be
should I come friday and sleep on the floor and then go saturday? or just come saturday? or just come friday?
 
@Ell I have a sofa
its comfy too, I've slept on it
so whatever you want
 
inb4 so much sex
 
Floor best mattress \o/
 
Ell
I mean, only if you're cool hosting me
 
10:46 PM
@ThePhD I know your floor sleep shenanigans :) (if you even slept when you were over??)
 
They're not shenaaanigans... per-se.
 
@Ell totally fine :)
 
Over whom?
 
The floor is just nice.
 
@ThePhD lol
 
10:47 PM
@ThePhD inb4 dendrophilia
 
And comfy and hard. STAR DEFENSE.
3
 
Ell
@TonyTheLion Cool :) I'll come over friday and leave on saturday then I think
 
@Ell cool :)
 
@ThePhD NOOOOOOOOOOOOOOOOOOOOOOOOOOOO
 
@AnalPhabet MUAHAHAHA.
 
Ell
10:47 PM
I'll see waht time I finish friday
 
DON"T YOU DARE DEFEND YER POST AGAINST ME
 
@ThePhD when you coming over next?
I want another fruit salad :P
 
That means full-on battle to ze deff
 
I'd probably stop by whenever I'm in the UK, but I'm not traveling for a good while...
 
@Ell I'm chill, no rush
 
10:48 PM
BUT! If I have my way, I might be going to Japan next year.
 
@ThePhD :(
 
Come over around the same time as @Ell and make that a threesome, @ThePhD
 
If that's the case, then I can quickstop by the UK first.
 
Ell
I finish at 6 on friday
 
@ThePhD ohhh I'm jelly :)
 
10:49 PM
@TonyTheLion I thought you were Tony O_o
 
@AnalPhabet you just suck if you don't star it because of some lame caps
 
@sehe Damn right
 
@AnalPhabet lol
 
in Rust, 23 hours ago, by Jerry Coffin
@JohanLarsson Oh so tempted to star, just to be obnoxious...
 
@ElimGarak So, when I went to the Linear Algebra's professor's office hours... you know what he made me do? I ended up writing down the Proof for Projection * Projection is Involutory (produces the same matrix), and why Reflection * Reflection produces the identity matrix. There's no escape from the proofs. ;~;
 
10:52 PM
@ThePhD Prove it
 
@AnalPhabet sob
 
@ThePhD I wish I understood Linear Algebra that well :(
 
@TonyTheLion I can explain it to you incrementally some day!
 
I find algebra fascinating
 
That'd make me make sure I know WTF I'm doing.
 
10:52 PM
just like Organic Chemistry <3
 
@TonyTheLion you just write down maths while doing line after line
 
@ThePhD :)
 
inb4 cocaine
 
And then you can fact-check me against @ElimGarak and then have him undo all the damage I do u.u
 
hahaha
Guise, I had a really productive week this week
 
10:57 PM
@ThePhD underestimating entropy
 
Just do phd-the | filt $(nooblel) | filt $(garak-elim)
@TonyTheLion How so?
 
@AnalPhabet I got work done
I refactored tons of code
 
@TonyTheLion I was hoping for a joke
 
I fixed quite a lot of bugs
@AnalPhabet no joke, all serious
 
fuckforforest.com finally a porn site you should visit without guilt
 
10:58 PM
Tony doesn't deliver
 
> Join the member area to get access to thousands of photos and videos with exciting erotic activist showing IT ALL to protect nature and liberate life
huh
not that interesting
goes back to pornhub
 
wuts it have to do with c++?
 

« first day (1819 days earlier)      last day (3115 days later) »