« first day (1615 days earlier)      last day (3342 days later) » 

1:00 PM
Why do I like to shitpost so much
 
No one?
At least try to guess.
 
@AlexandrosLiarokapis Did you use the same email for two accounts?
 
@AlexandrosLiarokapis Why do you have two accounts?
 
ahahahahahahhahha
 
This one has my real name on it so I would like to keep them separate.
 
1:04 PM
@LightnessRacesinOrbit I was thinking that too...
 
Take that, Vlad.
 
He is Vlad
 
@AlexandrosLiarokapis Bumped it and improved tags
can't put a bounty on yet tho
 
He is what Vlad wants to be.
 
@AlexandrosLiarokapis Why have the one with your real name at all?
 
1:04 PM
@Griwes lol
 
@Griwes It's anti-Vlad. Maybe we should introduce them :)
 
Mutual annihilation!
 
@LightnessRacesinOrbit probably a stupid decision in the first place but what is done is done.
 
@LightnessRacesinOrbit Hmm.. if we assume 100kg each...
 
thanks for the bump btw !
 
1:08 PM
If you wanted to upload your open-source project to github all you really need is the .h and .cpp files and documentation don't you?
 
18000000000000000000J
 
can you measure the distance and direction of sound with a mic?
I mean
suppose there was a high sens mic to the right of the keyboard
and you used keypad + and caps lock as limits
would you be able to tell which key is pressed by the sound it makes
(how far away from those limits is and in what direction)
 
@AlexM. with a stereo mic yes. In principle
 
~4500 megatons.
 
as in, two mics
 
1:10 PM
so a mic on each side of the keyboard?
 
@LightnessRacesinOrbit
If you wanted to upload your open-source project to github all you really need is the .h and .cpp files and documentation don't you?
 
@DonLarynx Sometimes you don't need even that
Consider PHP projects
 
@AlexM. I'd say that gives you two possible points in the worst case.
Sound localization refers to a listener's ability to identify the location or origin of a detected sound in direction and distance. It may also refer to the methods in acoustical engineering to simulate the placement of an auditory cue in a virtual 3D space (see binaural recording, wave field synthesis). The sound localization mechanisms of the mammalian auditory system have been extensively studied. The auditory system uses several cues for sound source localization, including time- and level-differences between both ears, spectral information, timing analysis, correlation analysis, and pattern...
 
@AlexM. it's certainly possible and has been done with typewriters
 
Was that written in a typewriter?
 
1:14 PM
by an electronic device?
 
@DonLarynx Probably
@DonLarynx usually some build script too
@DonLarynx and many projects are far more complex than just .h and .cpp files
 
@LightnessRacesinOrbit What about in regards to just a C++ project?
 
@MartinJames lol
@MartinJames :(
@DonLarynx Define "just a C++ project". If you mean "a project with only C++ source files in it" then, yes, such a project only has C++ source files in it. If you don't, then other files may be present.
Mine has makefiles, .conf files, .sql files, script files with proprietary extensions, images, .tpl files, .css files, .js files, .tex files, .sh files .. among others.
 
Everyone here should learn rust.
It just seems so awesome.
 
1:32 PM
@rubenvb why?
what's so particularly awesome about it?
 
I'm rusty on the details, myself.
 
Rust is on my to-learn list after I improve my fluency on Haskell.
 
@AlexandrosLiarokapis Good idea. Rust has a lot of familiar concepts
I'd say going from Haskell to Rust should be more natural than going from C++ to Rust from what I know
but I haven't used it yet
 
@BartekBanachewicz It's like the power of C++ without the clunky syntax (well, euhm, taste differs) and it tries to prevent you from shooting yourself in the foot.
 
seems immature and a bit impractical
 
1:35 PM
@BartekBanachewicz Rust is nearing v1.0
 
@rubenvb GHC is nearing 8.0. your point?
 
What is it, that you have tried already? — rubenvb 1 min ago
@BartekBanachewicz "immature" in the sense of "lots of breaking changes" seems in the past.
 
there are still going to be breaking changes
if they're not breaking there's a possiblity they'll become leftovers
legacy
call it as you like
 
So now you're saying it's a project like any other?
Doesn't seem like a solid argument against it.
 
@rubenvb You don't have the power of C++ if you don't have templates and exceptions (...or at least a saner solution than try! for that).
Oh, and having to turn RAII on is kinda shitty.
 
1:38 PM
Macros are more powerful than templates.
 
Are they really? Can they switch on types?
(And non-type values?)
 
macros pattern match?
 
...
I can find the docs. I asked a specific question.
 
Then read the docs. There's a section calles "Matching".
 
1:40 PM
Is it an alternative to C?
 
@rubenvb That section gives me an answer "they can't".
 
But I haven't gotten this far yet, so I can't answer your question.
 
@Griwes yes, they are
there's nothing more powerful in terms of language features than writing code
 
Oh, god. The two Pole fanbois are talking to each other. Leave the door open for me.
 
macros essentially write code
 
1:43 PM
@BartekBanachewicz bit like you? :P
@R.MartinhoFernandes u racist
 
are they like the lisp macros in a sense?
 
@BartekBanachewicz And templates do what in your point of view, erase said code? Duh.
 
@rubenvb pretty much every attempt I've seen that attempts to "Fix" C++ fundamentally misses the point completely. I'm not saying that C++ can't be improved (it most definitely can) but I don't think you can remove the danger inherent in it.
 
@Mgetz Why not?
 
1:45 PM
@Griwes an instance of a template can create a class or a function. An instantiation of a macro can produce any arbitrary primitive.
Well, show me a thing templates can do that macros can't.
 
@Mgetz Rust doesn't try to "fix C++". At all. It's just a completely different systems programming language.
 
I am not claiming templates are more powerful. You are claiming that macros are, so you should be the one to show an example.
 
@R.MartinhoFernandes C++ is a, to use John Kalb's term, Responsibility based language. Without some form of RAII no language can do what C++ does.
 
@BartekBanachewicz Well done. Show me a thing templates can do that Brainfuck can't.
 
But w/e, just answer my question about switching on types.
 
1:47 PM
@rubenvb bullshit, sorry but Rust is yet another attempt to fix C and C++
 
Macros can define a new language itself
 
@Mgetz What's the relation between RAII and danger?
 
Xeo
@rubenvb Rust does seem quite nice
 
@R.MartinhoFernandes The access to raw resources
 
@rubenvb The docs are written for C programmers, not for C++ programmers, and the whole language seems that way.
 
1:47 PM
I LOVE when I answer a question and the user comes back commenting "thanks but I have a different problem, I completely edited my question so you can screw all your explanation up. Plz answer again my different problem"
 
@Mgetz And you base this assumption on what exactly?
 
@Mgetz Yes, and what is that for?
 
(The way they talk about cost of stuff that is essentially free in C++ and shit.)
 
@rubenvb statements by Mozilla and/or rust devs about how Rust would have prevented X or Y bug that was in C or C++
 
1:48 PM
@Mgetz Causation/correlation.
Or just causality. One of them.
 
@R.MartinhoFernandes maybe but I have yet to see haskell devs do anything of the sort, they are just condescending
 
C++ is very safe when using modern practices imo.
 
@Mgetz What raw resources do you not have access to in Rust?
 
@AlexandrosLiarokapis practices like this one? coliru.stacked-crooked.com/a/4a2d7072dd185c0a
 
@LightnessRacesinOrbit ahaha
 
1:50 PM
@AlexandrosLiarokapis Dunno what you mean by "modern", but probably not.
 
reminds me of that "two wongs don't make a wright" pic
 
@R.MartinhoFernandes yes I realize that rust has unsafe, but unsafe is barely better than C
 
@Mgetz No, I wasn't going there at all.
 
well that piece of code is everything bad about using C++ :p
 
I still don't get why people bring up RAII when comparing Rust to C++.
 
1:51 PM
I'm going to walk away from this, mostly because I am willing to admit I'm letting my emotions creep in and that is not a good thing.
 
Oh, ffs, are you a fanboi too?
 
eh... don't know if I'd go that far
 
Why would you be emotional about this?
 
and the fact that I'm saying that probably means: yes
Denial: the first step to avoiding recovery
3
 
Xeo
Rust's macro system looks fancy. Now I wanna play around with it
 
1:56 PM
@Mgetz FWIW, aren't C++'s "danger" features also only barely better than C?
 
@R.MartinhoFernandes well if we're to believe Bjarne they are C
 
Sep 24 '14 at 15:32, by R. Martinho Fernandes
do-notation! https://gist.github.com/rmartinho/bb686abaf5906ab7e9fe (do is a reserved keyword :<)
 
Xeo
@R.MartinhoFernandes the $($t);* part expands all matched $t, seperated by semicolons?
 
Xeo
2:00 PM
fancy
 
It looks like some kind of dictionary initialisation, but it actually produces a graph. (The name map is in the cartographic sense, not CS-y)
 
@LightnessRacesinOrbit lol. I see what you did there. :)
 
Xeo
Oh cool, Rust even has direct compiler plugins written in Rust, it seems.
 
ordered fish and chips again
hopefully it'll be quicker this time
i'm so lazy
 
2:14 PM
@LightnessRacesinOrbit You are. Learn to cook stuff.
 
@Xeo They bootstrapped a while back.
 
@wilx I can cook - I just don't have any supplies in at the moment and I'm too hungry to go out shopping
 
@LightnessRacesinOrbit That seems to happen a lot to you. :)
 
I think if the supermarket next door were open I'd take a nice stroll and get some pizzas and whatnot, but it's closed for refurb so at the moment a grocery trip is a bit of a car drive. such effort
@wilx yeah :(
also hangover
also not showered yet and too hungry to bother with that
 
@LightnessRacesinOrbit In the middle of the week? Dude, you need to pull yourself together.
 
2:17 PM
Build a man a fire, and he'll stay warm for a night. Set a man on fire, and he'll be warm for the rest of his life.
 
@LightnessRacesinOrbit doesn't 3.8/3 conflict with 3.9/3 ?
 
@wilx oh please
@wilx talk to @MartinJames he understands
@wilx quiz night shenanigans cannot be missed!
 
WTH is quiz night?
 
@wilx It's one of the large set of reasons to get drunk.
 
@AlexandrosLiarokapis 3.9/3 is a great find
@AlexandrosLiarokapis and yeah I think there may be a conflict here, though probably not with 3.8/3
@AlexandrosLiarokapis it may just be that "new object" in the paragraph I quoted is underspecified
 
2:21 PM
@LightnessRacesinOrbit you may have missed it, but you were right yesterday.
 
@wilx A night on which there is a quiz. Dude, you need to pull yourself together.
@Blob bout what
 
@wilx You do not have bar quiz nights in CZ?
 
Iterator invalidation
 
@MartinJames Probably not. I have no idea what you two are talking about.
 
@Blob I don't remember what the question was
 
2:22 PM
bars lol
going out lol
 
lol lol
 
I wasn't here for the question, but you and Jerry were arguing
 
.o. .o.
-o- -o-
 
@Blob I very much doubt it, since I cannot see anything Jerry writes (except when slander goes on the starboard).
 
2:23 PM
\o/ \o/
 
@wilx It's a bar activity, like pool or darts. Ad-hoc teams of drunks are asked questions and write down the answers.
 
...just exercising.
 
why did LRiO plonk Jerry lol
 
@MartinJames That's...weird. :D
 
2:23 PM
@LightnessRacesinOrbit yes
 
@Blob thanks anyway ;p
 
Oh, you were arguing through Cinch
 
@wilx Fun questions, not jQuery or SQL.
 
Not directly
 
@Blob ok I don't really remember arguing about iterator invalidation
I remember pointing Cinch to the iterator invalidation rules
if anyone disputed my assessment I wasn't aware of it
nice to know I can win arguments i'm not even in, though
 
2:26 PM
@LightnessRacesinOrbit dodo nation
 
user1804599
I wrote a wonderful program today.
 
user1804599
It turned CSV data into SQL.
 
@райтфолд Oh wonderful. I can imagine how deeply satisfying that was.
 
DONT LEAVE ME HANGING HERE YOU BRIT
I'm curious to hear why you plonked Jerry lol
 
user1804599
It was just one line of AWK code.
 
2:29 PM
because IME he's the most unplonkable user ever
11
 
lolol
that's cos he doesn't hate you and take out his rage on you mate
look we don't need to discuss this again
 
kk I got it
 
@rubenvb not to stalt any lacist again, ... but what did you say about lust?
 
@wilx There are prizes involved, too.
 
Xeo
> Make sure to get this name right: you need the capital C!
what.
 
2:31 PM
It's a way to get more patrons than usual.
 
@R.MartinhoFernandes Interesting. I guess I am not going to the right kinds of pubs here.
 
@R.MartinhoFernandes and it works
 
Xeo
Rust seems very intent on dictating fluff stuff.
 
There's a ton of them here in Berlin. They're quite common in the Anglophone world, too. Dunno how popular they are elsewhere.
 
btw I hope you all remember JAM IS ON THIS WEEKEND
 
2:33 PM
thought it was marmalade
 
It's marmalade dude, you insisted on it
 
it's confiture
the lounge game confiture
 
Gonna bust some toasters tonight.
 
@AlexM. lol
 
@AlexM. Save that for the next rebranding attempt
 
2:41 PM
@AlexM. ;p
@R.MartinhoFernandes That's a racist epithet
 
That's a fact
LRIO just said so
 
(And I meant it in that context)
> Number Six and Helo have both expressed that they consider "Toaster" to be an offensive racial epithet
whistles
 
Xeo
> Because this function will cause a crash, it will never return, and so it has the type '!', which is read "diverges." A diverging function can be used as any type
Hello, bottom!
 
@R.MartinhoFernandes Oh ahahaha. I just misread that as "rapist". I couldn't find any obvious reference using google :/
 
2:47 PM
lol, just realised it links to the Uncyclopedia.
 
@райтфолд Yes.
7
Warning: This doesn't really attempt to deal with quite a few corner cases (which, in this case includes any number that isn't strictly positive), formatting the number as the stream has been set up to do (e.g., adding padding to the correct width), etc. It's purely a proof of concept level piece of code.
 
Starring so I can see it later when I'm not on a tablet :|
 
that's star abuse
wow, nice code
that's worthy of starring for real reasons
now, can I find a reason to use it in my work codebase :D
 
> One crucial detail that was not mentioned this is the same rig that was used in January and was giving 28-30fps oh High settings, now after optimization it's giving 60 on Ultra. Just to put things into perspective.
CD Projekt seem to have learned how to optimize their games :)
 
2:53 PM
as if optimizing games was a slider from "not optimized [------------|----] optimized"
 
@BartekBanachewicz it would hilarious if it actually was, and the games companies were just too lazy to set it to optimized
 
fish and chips here again yeahhhhh
fast this time
 
but after having read last night how Geometry Shaders are completely screwed on non-intel hardware... lol
 
@LightnessRacesinOrbit It's an important part of an INTERCAL compiler.
 
these guys are SO apologetic about yesterday. they keep upsizing my meals and stuff
@R.MartinhoFernandes or it was, back in the late MCMLs
 
2:56 PM
@Mgetz integrated video master race
 
@AlexM. eh... not really, more like massive register file master race
 
the shit above is good news though, 1 x GTX 980 can run TW3 maxed out > 60 fps
I should be fine with GTX 760
since I never turn on AA and all that, I just want nice textures and effects
no need to upgrade yet
 
I've just started reading on Rust and I am already loving it
 
Rust...should be Lust.
 
3:12 PM
I haven't seen any of Cicada's usual incarnations lately around here
did he change accounts or sth?
is it Smart Dev
 
What?
 
@AlexM. cough cough
You don't fool u
us* :)
 
@AlexM. wut
AA is p much free these days
do you like them pixels so oldschool?
 
@sehe I've been found :O
 
rust's panic! reminds me of Panic! at the Disco
 
Xeo
3:26 PM
lol. Hit F12 while selecting a semicolon in VS - "The current operator ';' is not overloaded."
10
 
> You sir, deserve more upvotes.
reddit approves of me :D :D :D
 
YAY, new The Mountain Goats album.
@Xeo IntelliSense is so good.
 
Xeo
It also does this for :. And also for , which might be helpful!
 
@Xeo Does it do that with a whitespace?
Bjarne would giggle about that lol
 
3:42 PM
The only two specializations of ctype that are guaranteed to be defined are ctype<char> and ctype<wchar_t>.
There really is no way out of the impl.-specific encodings.
So, how do you append the letters f, o, o generically to an std::basic_string<CharT, Traits, Alloc>?
These letters part part of the basic source set and of course Unicode. Couldn’t be simpler, no?
 
hi there
 
@LucDanton Great, ain't it?
 
@Nooble Very similar indeed.
 
@R.MartinhoFernandes See, I thought this was limited to faithful/useful conversions. I thought that the entire notion of 'basic source set' meant there was some thought put into the whole thing.
 
3:47 PM
what is the difference between these 2 ranged for based statements:
for(auto& e : c) // do something ....
for(auto&& e : c) // do something ...
 
It's a holdover from ancient times.
 
?
 
Is there anything that can be said about the whole thing other than "wchar_t happened, sorry"?
@amin One &.
 
:)
@LucDanton funny
 
@LucDanton That's a pretty good summary.
 
3:49 PM
@R.MartinhoFernandes What is one to do? Remorseless UTF-8?
At the end of the day there’s stuff I have to append to my strings :v
 
I dunno. I try to SEP it.
@LucDanton Would the cr32tomb stuff help?
Not generic enough, I guess.
(Does libstdc++ pack those already?)
 
It’s okay, I don’t need all possible conversions. I’m fine with narrow(ish) -> wide.
@R.MartinhoFernandes I thought nobody knew for sure what those ones did?
also, global C locale :s
wrong direction, too
 
There's mbrtoc32.
But yeah, sucks.
Why do locales have to come with encodings associated :(
 
No <cuchar> but there is a <uchar.h> with mbrtoc32 in it.
 
why isn't there just one locale for the whole planet
we should all speak the same language anyway
 
3:56 PM
@R.MartinhoFernandes Wouldn’t change a thing in this case. I still want to add f, o and o generically.
 
@LucDanton There is no pair of non-identity conversion functions that can be used to roundtrip string literals.
 
-5
A: Arrays are Pointers?

LearnerFew points of differences : An array name is a pointer to the first element. It is a constant pointer. you can add an integer to a pointer or subtract an integer from pointer, where as in case of array you use subscript operator.

lol -5 accepted
 
I don’t want to roundtrip, do I?
 
@LucDanton No, but it shows the fundamental problem that makes it an impossibility.
 
Why have a basic source character set, was my point though.
 
3:59 PM
Yeah, it's pointless.
 
@R.MartinhoFernandes And it’d be fine if it didn’t always work. But as is nothing works.
 

« first day (1615 days earlier)      last day (3342 days later) »