« first day (1718 days earlier)      last day (3230 days later) » 

11:00 PM
p cool
 
user1804599
> then
 
user1804599
terrible
 
user1804599
should be map and flatMap
 
> If you stream at more than 1.3mbps your stream may be terminated automatically.
Hahahahahaha
 
Folly has interesting stuff.
 
11:00 PM
@Prismatic I feel like I would be coding node.js with C++.
 
@rightfold functional programming friends please go
 
user1804599
"then" is a too ambiguous word.
 
@Nooble Then he fails as a sysadmin :)
 
@rightfold and "map" isn't?
 
user1030718
Is this 14 year old book amazon.com/dp/0201704315/?tag=stackoverfl08-20 (recc. from stackoverflow.com/questions/388242/… ) too old? Hobbyist programmer tryin' to improve.
 
11:01 PM
it beats "go" in any case :p
 
@Nooble but I shouldn't shout:
Jan 7 '14 at 0:01, by sehe
I didn't even realize i might have terminated the mumble server accidentally. I also completely reinstalled my linode over christmas.
 
user1804599
@Prismatic no.
 
Future/Async frameworks should "than" function that just "rm -rf /"
 
Turned out to be on another server o.O
 
user1804599
Also, futures are heavily overrated.
 
11:02 PM
@sehe Heh.
 
@Nican then? Or was that the joke
 
user1804599
Threads and queues are much easier to reason about in many cases.
 
@NeuroFuzzy Yes. Modern C++ changed a lot.
 
@NeuroFuzzy The small-object allocator is cool.
 
@sehe That was the joke. ;o
 
user1030718
11:03 PM
@Nican yes... and I haven't learned any C++11 yet.
 
C++ is a great first language i highly endorse it
5
 
Wow... Thinking about it now, 14 years old does still covers C99.
 
So I have to resort to OBS' "Game Capture" to properly capture VS.
 
It uses some kind of 3d acceleration mode due to WPF, IIRC (since VS2010)
 
@nick c++ was my first undergrad programming course... I think the pass rate was like 50%
 
user1804599
11:05 PM
@sehe ga slapen jij insomniac.
 
We're sending out a workaround for the routing issue now - access to sites should be normal within about 5 minutes.
 
Goed idee.
 
@NeuroFuzzy But as I usually recommend to people: Try learning programming by getting yourself a project, like making a game; Instead of going through tutorials and learning for-loops.
 
Though basic c++ programming courses dont touch templates so really, its a pretty decent first language. It lets you teach memory management and object oriented programming in one class
 
user1804599
lol
 
user1804599
11:06 PM
learning programming through making a game
 
user1804599
don't learn programming by entering cargocultfests
 
user1030718
@Nican @nick sorry, I just meant that I haven't learned modern C++. I've done a good amount of C++ but they all fall apart after the ~4,000 line mark
 
summon mike acton
 
user1030718
as in, I have a decent grasp of OOP, rule of three, object control, that sort of thing.
 
@Prismatic same, it was easy but most of the folks in my class had no prior programming experience
people were trying to write code in microsoft word
 
11:08 PM
@rightfold That's what I'm doing :)
 
@nick My professor did that. :D
 
ahahah
 
user1030718
@nick oh... dear.
 
It was great; He then complained that MS-Word did not have emacs bindings.
 
@nick Hehe.
 
11:10 PM
@Nican hopefully he was at least using a fixed width font :/
 
user1030718
So it looks like that book is still relevant with things I should know. (never done anything non-trivial with a smart ptr nor singletons nor *factories)
 
@Nican I bet there's a plugin for that. I used viEmu with Word and Outlook
 
Can you search the transcript for starred posts by a single user
 
@Prismatic yes, search for "most starred" and browse to the area where the 1-star messages live...
Mmm. You'll have to specify a keyword. :(
@buttifulbuttefly just notussed. That's nice :)
Night all
Don't fall asleep now
that would be a waste of time
 
@NeuroFuzzy Rule of three is so 2005. It's pretty worthless now.
 
11:19 PM
@NeuroFuzzy alexandrescu's book is still great for learning TMP even though you won't find yourself using most things.
 
@sehe good night sweet prince
 
@nick Can I eat him?
(I am guessing it is a him)
 
maybe tomorrow night
 
user1030718
@Puppy Heheh oh no. I haven't written a program w/o using that in a while.
 
I think Github opened their site up to recruiters or something... I got another email today wtf
 
11:28 PM
What the shit, Chris Squire is dead.
(he's most known as Yes' bass player)
 
@Prismatic You email in commits.
 
aw wait this isn't a recruiter email, its a freelancer invite
:[
I feel less important
 
user1030718
@Puppy How the heck is the rule of three pretty worthless??
 
user1030718
I'm really using it all the time, in everything I write.
 
Have any of you freelanced before? Should I consider it? I have like... virtually no professional c++ experience
 
11:34 PM
it's now rule of five
well almost
 
@NeuroFuzzy Rule of Zero
 
^ even better but not always practical.
 
@Veritas I frequently declare a handful of special members (typical example is move members) without changing the other implicit declarations. E.g. I almost never declare a destructor.
 
@Prismatic It's harder to find jobs meeting narrow qualifications. You should learn frameworks and such.
 
If anything, the rule of five is more like an exception.
 
11:36 PM
meh I don't really follow any specific rule tbh.
 
Well, don’t parrot. Understand!
 
but if you define a move constructor you will then have to define both assignments and the copy constructor.
 
Unless I don’t want to. And my experience is that most of the time, leaving the implicit declaration is what I want.
 
I guess it depends on whether you count defaulted constructors.
 
I careful used 'declare' to mean that.
 
user1030718
11:43 PM
@Borgleader @Veritas Oh. So it and similar things (rule of five) are still relevant for, ex. file acquisition, unique identifiers, classes with pointers. That's all I care.
 
@NeuroFuzzy "Rule of Zero" basically means "outsource your rule of three/five to generic code".
 
user1030718
Yeah I found the wiki page. It could help my code quite a bit actually.
 
I am not completely bought yet on the rule of zero.
Consider deep copy semantics with std::unique_ptr. Instead of doing the work at the copy constructors, wrappers providing deep copying can be used but then idiomatic usage means everyone writing their own wrappers.
 
You don't do deep copy with unique_ptr.
 
Ell
Std unique doesn't have deep copy semantics
It is uncopyable
(Right?)
 
11:56 PM
well that's the whole point of making wrappers around it to provide deep copying semantics.
 
Ell
You wouldn't wrap unique_ptr
You'd write value_ptr
 
@Veritas you can't even copy a unique_ptr
 
Ell
I think this is what you are describing
 
there's no smart pointer with deep copy semantics in the stdlib
there are things like e.g. value_ptr out there
 
Ell
Why does idiomatic usage mean everyone writing their own wrapper?
 
11:58 PM
Did I say there was, or that I was attempting to deep copy std::unique_ptr? English is not my native language so sometimes I don't get across like I want.
 
Well, you asked us to consider something that doesn’t exist.
 
you don't have to wrap anything
 
Ell
The impression I got was that yoy want a smart pointer with deep copy semantics
 
just provide the copy constructors and then default everything else
your point is lost on me
 
something like value_ptr was what I was describing. Wrapper is not the right choice of words, it's just that the last time I attempted that I used a wrapper to provide deep copy semantics on move only types.
 

« first day (1718 days earlier)      last day (3230 days later) »