« first day (2241 days earlier)      last day (2709 days later) » 

user1804599
12:04 AM
@Ven TIL you can write $f = static function() { }; and it won't capture $this.
 
user1804599
12:48 AM
Today elections in Austria and referendum in Italy. Celebrating democracy twice a day!
 
1:28 AM
 
why not die with dignity, after all
 
1:43 AM
That's exactly what I asked my childhood monster.
It never came back
 
1:59 AM
Magpie used to be baby chick's childhood monster, but now chickens are physically bigger ...
 
 
1 hour later…
3:10 AM
@GundolfGundelfinger remember that pvp-focused anet employee hanging around in streamer chats and so on? he has now left the company
 
 
2 hours later…
5:14 AM
@LucDanton wow
Is that related in any way?
 
 
1 hour later…
6:26 AM
@Borgleader 10h later, it's still there
 
 
1 hour later…
7:32 AM
all these hour(s)-long gaps
my my
 
 
1 hour later…
8:52 AM
no hotlinking
how about a nice cup of fuck you instead
 
9:06 AM
2
Q: Multithread wrapper

MichalIn my program there is lot of loops that can be easily rewritten into multithread. Basically for each function which should be multithreadd I am writing following function: void func_to_threaded(int i_from, int i_to, int num_th, ...other_parameters) { int i_min = i_from; int i_max = i_to...

> rewritten into multithread
/cc @GundolfGundelfinger
 
 
2 hours later…
10:45 AM
@jaggedSpire your fault for abandoning dicks chord
 
When I first saw the title "The mythical man-month" I misread it as "The mythical mammoth" and got excited.
Such a downer.
 
all managers talk about that book
so I assume it's full of crap
 
It's not full of crap.
It's full of anti-crap.
 
gief example
 
Dunno haven't read it.
 
10:52 AM
well then prefix your claims with "I assume"
because it's an assumption
 
Morning.
Oh, it is already afternoon.
 
11:38 AM
Winter is coming, chats are hibernating ... :p
but it's summer here
 
^^^ C++ Containers
vvv Java Collections
 
I just ignore all that stuff and use arraylists everywhere
 
Well, at least it's not as bad as Scala:
9
Q: Lost in the inheritance graph of Scala's collections

fredoverflowToday I wanted to learn about the supertypes of List: sealed abstract class List[+A] extends AbstractSeq[A] with LinearSeq[A] with Product with GenericTraversableTemplate[A, List] ...

 
@fredoverflow which results in "unmodifiable" collections
 
user1804599
11:48 AM
@fredoverflow LOL collection libraries that without clear laws
 
user image
10
^^ for <10k users
 
so you have 10k now, nice
 
@JohanLarsson that was not a very subtle brag
 
user1804599
The best Scala collection library is Scalaz' type classes
 
I'll have 10k in two years
 
12:00 PM
Are there any naming conventions for iterator typenames depending on the iterator category, like typename FwdIter or something?
 
sure, FwdIt is a commonly used name for that
similarly with InputIt, OutputIt, BidirIt
@fredoverflow both libstdc++ and libc++ simply use full names, as in, _ForwardIterator
 
@milleniumbug Ah, so It instead of Iter?
 
I guess Iter would also be used, but I've seen It more often
@fredoverflow Boost seems to be using full names, but with Iter: ForwardIter, BidirectionalIter
 
@milleniumbug lol that canned comment
 
 
1 hour later…
1:18 PM
City Attorney Spraying Anti-Trump Graffiti While Drinking Wine Is All We Have Left. For the liberal elites, it's... http://jwz.org/b/yiha
@milleniumbug I more or less assumed you were there all along :)
 
Hi.
 
Lo.
@JohanLarsson I admire a person who can plan things.
 
Mid.
 
I actually had "Epic" in my agenda somewhere in ~aug 2011 IIRC. Made my wife ask me interesting questions.
That was back in the day when I still liked repcaps
 
1:21 PM
what is the criteria for epic?
 
Never did plan anything rep-related since
I did consciously make an effort for Legendary even though I stopped the rep-game in general, so each time I had a "lucky" day I'd push a little to get the rep-cap. So maybe that counts as an "open-ended plan", not "planned". Then, after Legendary, no plan whatsoever.
 
that is a tough one, not gonna plan it
I just want to see flags but going to main is too depressing :)
 
its morwenn
:)
 
It's a-me :D
 
tfs is so scary
getting merge conflicts with self
 
1:27 PM
The 76% one is pretty itchy :)
 
@Morwenn hello. how a goes it?
 
@sehe what does it mean?
 
She deserves 76% of males?
 
@TonyTheLion Fine. It's pretty cold out there, but the weather is sunny, so it's ok :)
@sehe 76% of the other girls.
 
Ell
1:29 PM
I don't get it still
 
@milleniumbug lol! its gone now though :(
 
@Ell r/wagegap
 
Ell
ohhh
 
@Morwenn Same here
 
Still sleeping with the window partially open though.
Waking up is more and more difficult since my bed feels comfier and comfier with that cold out there.
 
1:41 PM
@Morwenn Tell me about it T_T
 
Hehe :D
 
@sehe perfect for your feminist labor organizers to serve coffee to their male counterparts in
 
@Morwenn I have the same problem
 
1:53 PM
@TonyTheLion Don't you have a handy solution?
 
suffer the horror of getting up is the only way
since staying in bed isn't an option
 
Eh, too bad.
 
@Morwenn it was -8.4C here this morning, my windows are shut tight!
 
It was -4°C here.
 
brrrrrrrrr
 
2:05 PM
@GundolfGundelfinger no, my understanding is that he was a veteran who had been handling the pvp side for a while. as much fun I have reporting these, I tend to think they’re part of regular turnover in a long-running company. (e.g. I'm fairly sure Amazon Games has had filled its ranks for several months now.)
 
30 degrees during the day here ...
 
Nice oven.
 
Something bugs me - why old extinct creatures were all so big: dinosaurs, megalodon, even mammoths ...
22 degrees right now being in the middle of the night
 
why not
size is an extreme advantage
5
 
yeah, but creatures are getting smaller ...
 
2:09 PM
modern mice had to evolve to be smaller yes
No that doesn't explain your small boobs/dick
Nice try tho
 
yeah right, the chickens sold at your local supermarket are getting smaller :p
 
@LucDanton All I understood is rip anet
 
of course
 
@набиячлэвэли Evolution in general does, though.
 
@набиячлэвэли wrong
 
 
1 hour later…
4:17 PM
Eerie how being at risk for war in the EU-zone seems to predict for lower vulns rate
@Telkitty Not getting it
 
4:44 PM
@Ven PHP is just horrible. No doubt about it.
 
user1804599
PHP is the nicest of the untyped languages.
 
@rightfold Uhhuh.
 
imgur.com/rCA33dk /cc @jaggedSpire
 
user1804599
The other ones are worse.
 
user image
8
Sunday purrito!
 
4:55 PM
Ow :3
 
Ell
@rightfold what about Python
 
@Telkitty #1 theory is that there was a TON of carbon dioxide in the air, so tons of plants. Also it was a lot warmer, so it was easier for cold-blooded creatures to be large. Warm blooded animals have a size limit before they cook themselves internally.
 
Ell
5:17 PM
I need to design a website to edit my database stuff
 
5:39 PM
@Ell "The nicest of the untyped languages" isn't really a title you want to compete for. That's like trying to be the most edible shit.
 
Ell
still :P
 
user1804599
@Ell Far worse.
 
Ell
Why?
 
5:58 PM
@wilx because 1) in 20xx russia doesn't need lithuania. 2) insurgency doesn't really work. see how it works in chechnya/dagestan (hint: it doesn't).
 
Ell
map[string]int looks v weird
 
@Abyx Insurgency makes lives of the invaders really hard and they have to take it into account when they weight whether they want to go in and lose some people to it. It is much better than just lying on your back belly up.
 
@wilx No.
 
@Abyx Sure.
 
user1804599
@Ell y u Go
 
Ell
6:08 PM
@rightfold I'm writing a json api
or w/e those things are called
to fetch data from the database and put it into JSON and serve that over http
 
user1804599
JSON in Go is nice and PostgreSQL in Go is also nice.
 
@wilx This is what happens to insurgents in Russia. They'd just level the house you're in and that's it.
 
Ell
good job then :D
 
user1804599
Also check out postgrest.com
 
user1804599
It may be enough.
 
Ell
6:11 PM
looks cool
 
blech REST
 
@wilx anyways, in few recent decades there are no successful examples of insurgency except muslims on middle east.
 
@Abyx Ukraine?
 
@wilx DPR and LPR are proper states, they're not insurgency.
 
@Abyx Hahaha.
OK, you are clearly delusional.
 
6:20 PM
@wilx what those lithuanian guys do - they're wannabe guerilla. There is no guerilla in government-controlled territory of Ukraine. What DPR/LPR actually do - it's a trench war. It is not guerilla or insurgency.
 
@Abyx It started as insurgency, clearly.
 
Ell
@rightfold I'm going to need to write a website for this stuff anyway
So I think I'm better off writing it in Go anyway
 
@wilx I wouldn't say so. They started with capturing cities and tried to hold them. There wasn't much of guerilla warfare.
welp the point (1) still holds. Russia has no need for lithuanian territory. there is no common border for fucks sake
 
@Abyx There is a common border with Russia. Look at a map.
 
@wilx uhm... with Kaliningrad? yeah but it's so unlikely
 
Ell
6:34 PM
@rightfold JSON is very nice :3 apart from the need to use a capital letter for the fields
 
I'd rather believe that Russia would sell Kaliningrad
 
Ell
ah welp go doesn't have a nullable type
terrible :(
 
6:51 PM
wut. get it off. https://t.co/oJ2PIbRGve
5
/cc @jaggedSpire @Morwenn
 
Ven
@Borgleader don't forget me :(
 
@Ven <3
 
7:17 PM
Yet another Bjarne keynote, but with quite extensive and interesting Q&A at the end
@Ell What language spoiled you when it comes to nullable types?
For me it was Kotlin.
 
Ell
@fredoverflow c++ has enough to spoil me >.<
 
user1804599
@Ell JSON is awful.
 
@Ell You mean std::optional?
 
Ell
@fredoverflow yeah
 
user1804599
@Ell You don't need capitalization. You can use tags to specify custom field names. For example: struct { Foo `json:"bar"` }.
 
user1804599
7:28 PM
@Ell Use pointer types. For example: *string.
 
Ell
@rightfold yeah, it just sux a little
 
user1804599
@Ell Also beware that the JSON package treats nil slices as null, not as empty slices.
 
user1804599
If you want an empty JSON array you have to create an empty non-nil slice.
 
@Ell Or use an array that has either 0 or 1 elements in it? ;)
 
user1804599
@fredoverflow No, that's not how the JSON package {un,}marshals nulls.
 
user1804599
7:31 PM
Arrays, like slices, are {un,}marshalled as JSON arrays.
 
Ell
I need to use sql.nullablestring too
 
I didn't realize you were talking about JSON.
 
user1804599
@Ell It's called sql.NullString. It does not implement the JSON marshalling interface, so it will not help you there. You can however create a new type that wraps sql.NullString and implements the Marshaler and Unmarshaler interfaces.
 
Ell
Right okay
 
user1804599
If you try to marshal plain sql.NullString you'll get a JSON object with a Boolean and a string, lol.
 
7:34 PM
@rightfold Clojure parameter list is a vector, right? So does that mean even if I just want to pass one boolean, I have to pass a vector with 32 references (128 or 256 bytes, depending on the platform) in it?
 
user1804599
@fredoverflow The parameter list is a vector in the syntax, but no actual vector is created when calling a function. The IFn interface, which is used for functions, has 21 methods, each for different arities: clojure.github.io/clojure/javadoc/clojure/lang/IFn.html. For example, if you call a function passing two arguments, it will call the binary invoke method overload.
 
Ah, so Clojure solved Scala's problem of having about 20 different interfaces (with 1 method each) by using just 1 interface... with 20 different methods? :)
 
user1804599
In Clojure, you write a data structure. You could interpret this data structure in any way you like. For example, you could convert it back to text, or extract documentation from it. The compiler happens to interpret it as an AST, and it compiles lists of the form (fn <any vector> ...) to functions.
 
user1804599
@fredoverflow Yes. To save memory usage, the AFn abstract class has default implementations for all these methods that throw arity errors.
 
user1804599
(It doesn't generate these stubs over and over again for each function.)
 
7:40 PM
makes sense
fn is the keyword for lambda functions? Does it also have "normal" named functions?
Sorry for the basic question that I could simply look up on Wikipedia :)
 
user1804599
No, fn is a symbol. The compiler treats lists with fn as their first element as AST nodes for lambda functions.
 
user1804599
deffn is just a macro that expands (deffn f ...) to (def f (fn ...)), more or less.
 
I like that very much.
There's only lambda functions, but also syntactic sugar for (what noobs would consider) "normal" functions.
 
user1804599
Eh, defn, not deffn.
 
7:44 PM
I ffigured as much...
 
user1804599
It's defined in a weird way because defmacro is defined after it. :P
 
user1804599
Vars are one of these things I really hate about Clojure.
 
@AnishUKIP Anish you're fulla pish. I'm offended by the over commercialism of Christmas. People forget the real meaning of it. Santa's bday
Lol. The level of trolling is quite high in that thread
 
user1804599
I wish there were a much greater distinction between what happens at compile-time and what happens at runtime.
 
user1804599
7:47 PM
But REPL obsession, I guess.
 
@rightfold How come? Aren't they the essence of how Clojure treats mutation?
 
user1804599
And the whole metadata crap.
 
user1804599
@fredoverflow Mutation is fucking awful. You don't want to mutate globals. And you already have atoms.
 
@T.C.: Could be--it's pretty hard to give solid reasoning about what will happen when the relevant documents directly disclaim any ability to reason about what's really going on/going to happen. — Jerry Coffin Jun 10 at 3:28
324k rep is a bit obscene @JerryCoffin :)
 
rofl
So "C programming" now means "C# and C++" :)
> I would recommend C first then C++, because C++ is C with stuff on top.
 
8:12 PM
Well. There's a lot of truth to that.
Ironically, none of that truth supports the advice.
 
You want to study biology? I would recommend chemistry first, because biology is chemistry with stuff on top.
 
Well. TBF. High school chemistry is a prerequisite to most biology studies
 
user1804599
 
hehe love it :)
 
user1804599
8:17 PM
Biology is like C++ and physics is like Haskell.
 
user1804599
TIL ap with the function monad is the S combinator.
 
rightfold is like daknøk
 
user1804599
geef chips
 
user1804599
I wish VS Code did SQL syntax highlighting in string literals.
 
Ell
@rightfold are there any pure lisps though?
I wanted to find one when I was practising writing lambda calculus stuff
 
user1804599
8:24 PM
@Ell define lisp
 
Ell
(((...))) :D
all I wanted was an untyped lambda calculus evaluator I guess
 
user1804599
I see no reason for there existence, but there are probably some obscure ones.
 
Ell
I just watched Tarzan again
such a great film <3
and a great phil
@rightfold this is so stupid
why don't they write it to output json null instead?
 
user1804599
No, sql.NullString is for SQL. It's not a general nullable string.
 
Ell
8:27 PM
I know but
meh
 
I keep forgetting netflix works on my PC. I suck
 
Ell
It soon won't probably :(
 
huh
 
Ell
oh wait that's just 4k streaming, never mind
It requires windows 10 + edge + a kaby lake processor
(for the drm)
 
I literally signed up, and once a week I think "I should watch that once" and never find a TV to watch it on, so forget. I suppose it doesn't help I don't have 2 monitors hooked up anymore
 
8:29 PM
@Ell The first two are prob drm, i wouldnt be surprised if the last is just to have HW decoding.
 
Ell
@Borgleader well, the DRM has to go all the way down
also it seems it needs 10-bit decoding
which only Kaby Lake has
 
bewm
oh right, for HDR content?
maybe its just more colors
idk
 
user1804599
I signed up for free one-month Netflix trial, searched for my favourite show, they didn't have it so I deleted my account.
 
user1804599
Netflix sucks.
 
Ell
@rightfold netflix originals are really good
you should watch breaking bad
 
user1804599
8:41 PM
No.
 
user1804599
It's not Futurama, so it sucks.
 
Ell
wow
Why do you close your mind? You are doing yourself such a disservice :(
 
@Ell He's rightfold, he knows everything already. :P
 
user1804599
@Ell Yolo.
 
Ell
Exactly :P
 
8:50 PM
@Ell Breaking bad was a netflix original?
 
user1804599
Therefore I would rather spend my time doing things I know are fun, rather than risking wasting time on things that may not be as fun.
 
Ell
@Borgleader oh apparently not o.O
I thought it was for some reason
 
user1804599
WTF, I need Python to install the bcrypt Node library.
 
Ell
@rightfold why do you try so many languages then? :)
 
user1804599
Learning new things.
 
user1804599
8:52 PM
Is OpenID still a thing?
 
Ell
yes
 
user1804599
Do I need five hundred thousand incomprehensible combinations of keys to use it?
 
user1804599
Like you need with OAuth 1.
 
user1804599
Maybe I'll just support only login with bookface.
 
user1804599
Or hash the password in PostgreSQL.
 
user1804599
9:02 PM
dunno
 
user1804599
Doesn't matter which way I pick, they're all terrible.
 
Ell
@rightfold that is via openid so
I think?
 
user1804599
No.
 
Ell
maybe I'm wrong
google is via open id
 
user1804599
Ugh, and I have to set up all the cookie and session stuff
 
user1804599
9:06 PM
fucking crap
 
9:36 PM
can i be a good pogrammer
 
user1804599
@Jose yes
 
10:10 PM
So, I have spent today creating Greasemonkey scripts for Czech typography and Czech hyphenation on selected sites.
I know you do not care but I have to tell (brag about it to) someone!
 
@wilx So I take it you're not Jewish.
 
@CaptainGiraffe I do not know. Probably not.
@CaptainGiraffe How do you figure?
 
@wilx The Sabbath and all that kinda fuss.
 
@CaptainGiraffe Oooh, right. Yeah, I am not Jewish and I would still ignore it if I were. There is no God.
 
10:19 PM
@CaptainGiraffe Hahaha. :D Nice.
 
@Borgleader So cute :3
 
user1804599
> As a gay man who doesn't own a weedwhatever, I can confirm his logic
 
@rightfold unwarranted positivism
 
user1804599
wisdom
 
> ? 299792458 // Random value chosen by the universe upon creation
> return 66740831; // return a fundamentally attractive random value.
 
10:43 PM
@wilx vidim ze v nedelu nudis :)
 
@ScarletAmaranth Jojo. :)
 
@Borgleader :D
 
aarggh
this just in, meatbag drivers are bad, best solution is to lock them up instead of just not need meatbag drivers anymore
 
10:58 PM
I for one welcome our robot overlords
 
@Puppy Because the higher the sentence the lower the crime rate, as shown on good example of the USA, right? :)
Harsher and harsher sentencing is a trademark of right wing politics which I dislike.
> Muslims in some parts of the country are so cut off from the rest of society that they believe the majority of Britons share their faith, according to a shock new report.
Wow.
 
@jaggedSpire :)
 
@TonyTheLion ^_^
 
user1804599
@wilx and so are their hands
 
@Puppy Dangerous drivers who kill could face life in prison .... how is this news? xD
 
11:14 PM
@Borgleader Previously it was life in prison?
 
user1804599
11:30 PM
The unfortunate defeat in Austria was compensated for by the huge victory in Italy.
 
user1804599
May the EU collapse ASAP.
 
@rightfold Hmpf, I do not want that. :(
 
user1804599
:(
 
11:48 PM
> Christmas advent calendar 2016 | The BMJ -- The scientific calendar. :D
 

« first day (2241 days earlier)      last day (2709 days later) »