« first day (3082 days earlier)      last day (1849 days later) » 

12:00 AM
In the dystopian future we will pay for compile time by mining bitcoin. Everybody will know that the cycles could have been better spent compiling code, but nobody will have the ability to change the status quo.
 
 
3 hours later…
2:56 AM
In case you didn't know, one of the main reasons why an Australian went to NZ for massive shooting and killed 50 people is that there is gun control in Australia, and there wasn't one in New Zealand.
A great example on how gun control can cut down mass shootings.
 
3:12 AM
@Mikhail std::copy will not work to copy a std::vector<std::vector<int>> into a std::vector<std::vector<int, A>, A>. (Scoped allocator stuff omitted for brevity.)
@Puppy There's nothing dangerously implicit about an API like auto v = copy_to_different_allocator<A>(vector_of_vectors).
@Mikhail "The real issue is that the guy isn't able to produce a cogent problem statement" is an mean and arrogant way of saying "I don't understand what you're asking about."
 
You'd be correct
 
 
3 hours later…
5:54 AM
Does anyone know if c++ slack is a 'Real Name' community or an 'Alias' community?
Or is it user preference?
 
 
3 hours later…
9:19 AM
@fredoverflow Kotlin :P
 
9:43 AM
I wonder how Stephen Colbert gonna react to the Mueller report.
Probably not very happy about it.
 
10:13 AM
Also: event loops are awesome.
 
10:29 AM
@StackedCrooked one of the more underrated constructs in programming
 
 
2 hours later…
12:05 PM
@thecoshman Wanna review some "slides"? :) github.com/frectures/kotlin
 
sure
'mob programming'...
 
Mob programming is a software development approach where the whole team works on the same thing, at the same time, in the same space, and at the same computer. This is similar to pair programming where two people sit at the same computer and collaborate on the same code at the same time. With Mob Programming the collaboration is extended to everyone on the team, while still using a single computer for writing the code and inputting it into the code base.It builds on principles of lean manufacturing, extreme programming, and lean software development. Early use of the phrase "mob programming" was...
 
Not gang programming?
 
Mafia programming!
 
Why no Clojure on the timeline?
 
12:10 PM
Is this some extreme version of pair programming?
 
@thecoshman I just liked the Rich Hickey quote; there is no relation between Clojure and Kotlin, is there?
> Mob programming is a software development approach where the whole team works on the same thing, at the same time, in the same space, and at the same computer. This is similar to pair programming where two people sit at the same computer and collaborate on the same code at the same time.
 
@fredoverflow Other then the 'l' and 'o' in the spelling you mean? :p
 
Klotjure
 
@fredoverflow both on jvm...
how much is Scala similar to Kotlin?
Also, fun main() = println("Hello Kotlin!") no?
I forget if that would work though
 
@thecoshman The basiscs are pretty similar. Also, JetBrains seriously considered using Scala instead of inventing Kotlin. And the mob programming project was converted from Scala to Kotlin. That's why Scala is on the timeline.
 
12:15 PM
This list of JVM Languages comprises notable computer programming languages that are used to produce computer software that runs on the Java virtual machine (JVM). Some of these languages are interpreted by a Java program, and some are compiled to Java bytecode and JIT-compiled during execution as regular Java programs to improve performance. The JVM was initially designed to support only the programming language Java. However, as time passed, even more languages were adapted or designed to run on the Java platform. == JVM languages == === High-profile languages === Apart from the Java language,...
 
@thecoshman I guess that could work, but I prefer "braced" functions, unless the body is trivial.
 
Obviously don't put all JVM languages on the time line, but imo, Clojure is a 'big one', so worth noting
@fredoverflow which it is :\
I mean, you can only really drop the braces if the body is trivial any way
Plus, it's another thing to introduce and talk about
 
@thecoshman Hm, I guess I'll consider it. I have nothing against Clojure, au contraire :)
 
Clojure is the Lisp inspired one, no?
 
Clojure is a LISP.
According to Wikipedia, the "High-profile languages" besides Java on the JVM are Clojure, Groovy, JRuby, Jython, Kotlin and Scala.
 
12:19 PM
Oh yeah, Groovy is kinda worth adding there
 
I have never done anything in Groovy, except copy/pasting Gradle scripts. And that was a long time ago.
 
I wouldn't bother with JRuby orJython, as those are both basically just the other language running on JVM
Groovy is kinda nice...
But sure, it's just a time line
Erm, I think you should make it clear what language each of the code snippets are in
 
and maybe flag like Kotlin - Simply translation from Java and Kotlin - Idiomatic
 
You can even run a flavour of cobol on JVM, except I am not sure why would anyone want to do it that way.
 
12:21 PM
@fredoverflow not surprised
Also, other than maybe overflows, I don't spot the bug :\ maybe the scanner doesn't strip the \n?
or maybe you don't like the fact that what you type in for your password is typed onto the console and not masked?
in Sane equality maybe mention val vs var?
'forename' is normally known as 'firstname' I would say
 
I am not entirely convinced that Kotlin has taken over Java as the main Android development language. App development has past it peak. I am almost feel sorry for anyone who learns Swift just for ios/macOS programming purpose.
 
"(Setters for var fields)" swap to "Setters (for var fields)"
NullPointerException is very rare in Kotlin add maybe example for val foo = nullableString?.length
 
I wonder whether C++ would reach other peak once A.I. programming era arrives, after all, a lot of deep learning methods are computational intensive and optimization would be done in C++.
 
@fredoverflow there we go, nothing too big stands out to be fair
What's the target for this
 
12:37 PM
@thecoshman "java" != password is always false, because it just compares references in Java.
@thecoshman oh yeah, good idea
@thecoshman also good idea
 
@fredoverflow ah yes, It's amazing how easy that is to forget
 
@thecoshman Guest lecture for students I have never met.
 
students of what?
presumably some programming course
 
@thecoshman Some flavor of computer science I guess, they already know OO in Java.
 
@fredoverflow lol, 'know', 'OO', 'in Java'
 
12:51 PM
@thecoshman Could you elaborate?
 
@fredoverflow mocking. They don't 'know' what they think they 'know'. It's probably not very good 'OO' that they are learning, and 'java'
 
I can only work with what I've been told...
 
1:14 PM
safe to assume though :P
 
1:59 PM
@thecoshman Thanks for your feedback!
 
 
2 hours later…
3:36 PM
@Borgleader
Hmm, I guess this is how we got this treasure of a post? Might help to state the obvious "don't put the same thing into all the boxes"... although I doubt whether it would do much when PEBKAC. — Dan MaĊĦek yesterday
^^ Check the revision history of the post. lol
 
4:15 PM
 
 
3 hours later…
6:57 PM
Seems like T-series finally passed pewdiepie.
 
pewdiepie has some controversies though...
 
Yeah.
He made some mistakes. But in the end he's a good guy.
 
It is true that things have changed very quickly in the past couple decades.
I remember growing up, everybody would hurt around homophobic slurs like nothing. This was California of all places! (granted we were all kids so we didn't really know what they really meant)
 
Yeah. Like many TV commercials from 90s would be not acceptable today.
 
Now if you get caught just once - even just out of an old habit, your life is fucked.
 
7:04 PM
Especially if you're a public figure.
 
On the topic of racial slurs. In Chinese, the colloquial terms for "whites" and "blacks" are basically slurs.
"white ghost" and "black ghost"
 
Wow, just read this:
> PewDiePie has apologized for the content in his videos, but recently, his brand was once again dragged into controversy when the suspect in the New Zealand shootings mentioned his channel in a video and said, "Subscribe to PewDiePie!"
 
@Mysticial tbf they don't pretend about racism
they just are
 
@Mgetz pretty much. And you can't easily change the language to fix that.
When I'm speaking Cantonese with someone other than my family, I do actively try to omit the "ghost" part of the nouns for "whites" and "blacks". But it's really hard to break a habit that's well ingrained in the language.
 
7:12 PM
Adding the word "ghost" makes it racist?
 
I don't know if it actually is racist. But a western interpretation of it certainly would be.
There is an alternate pronoun for white people and Caucasians in Cantonese that's suitable for colloquial usage. I think both myself and my parents have been consistently using that for the past decade or so. But not my grandparents.
I don't think there's alternative for blacks though.
 
@Mysticial we keep trying here in the US, and it just pisses people off
 
Now that I think about it a bit more. The word "ghost" is basically used for anybody that isn't Chinese. You can pretty much substitute it for the word "person" and it would work. But when used without any further qualification, the word "ghost" alone, when not used in the context of actual ghosts does seem to imply Caucasian.
So yeah, the language itself is racist.
 
@Mysticial does anyone actually take offense
 
@Mgetz No because there are very few non-Asians that speak Cantonese.
So they wouldn't understand it when it's said.
I'm less sure about the situation for Mandarin. Since that's a big enough of a language that people do learn it as a second language.
 
7:27 PM
@Mysticial I suspect more than you think speak cantonese IIRC it's spoken extensively in Hong Kong.
That said I suspect they don't worry about it
 
@Mgetz Anyone under the age of like 70 in Hong Kong who speaks Cantonese will likely also speak English.
 
@Mysticial given the CCP I'm surprised they haven't waged an all out war on Cantonese
 
And those under the age of like 40 who speak Cantonese will also speak English and Mandarin fluently.
*assuming they grew up in Hong Kong.
 
@Mysticial oh I figure, my point was more that the CCP seems to hate anything not Mandarin
 
@Mgetz Well Hong Kong is one of those special admin places.
 
7:31 PM
@StackedCrooked If he really were sorry he wouldn't be friends with all those nazis.
 
@Mysticial I'm going to say 'was' the CCP seems to being doing their best to remove any special cases
one country two systems is very very dead
 
Hong Kong will be officially assimilated in 2040-something.
 
I don't think Xi is going to give it that long
I'm expecting him to officially just dissolve the basic law in a few years and dare the UK to do anything
 
8:20 PM
goo
 
 
4 hours later…
11:50 PM
I wonder if in reality, peace is just a balance reached during a fight/power struggle.
 

« first day (3082 days earlier)      last day (1849 days later) »