« first day (2584 days earlier)      last day (2366 days later) » 

12:07 AM
OÒÓÔÕÖȌȍȎȏ
 
@sehe can i get up vote if i explained it right! :)
 
So... I've just reviewed that answer. No offense, but it's pretty bad.
The formatting is atrocious, the explanation is extremely roundabout and doesn't give any _hard_ definition, just "anecdotal" examples. Then, you completely mess up because you copy pasted the comments from `class` to `struct` - and now, ironically it's completely wrong, and you finish up by some unauthoritative recommendation ("I do XXX") for which you can't even find a proper argument ("It's easier that way").
The worst part of it all is that it's protected post that really didn't need another answer at all.
 
Sure i'll look into how to answer properly.
 
@Frrank But don't do it on a question that has many good answers.
That's just a waste of time.
Compare to this one:
54
A: When should you use a class vs a struct in C++?

Lightness Races in OrbitThere are lots of misconceptions in the existing answers. Both class and struct declare a class. Yes, you may have to rearrange your access modifying keywords inside the class definition, depending on which keyword you used to declare the class. But, beyond syntax, the only reason to choose on...

 
Sure. I'll keep that in mind. thanks
 
12:14 AM
Camera movement based on rotation is killing me D:
I can get the camera to move forward, back, left, and right along with getting it to actually look in all directions using the mouse
 
@Frrank Thanks for linking me that question - I'd never looked at it. LOTS of answers earned my downvote. It's sad.
 
However if I look to the left and move forward it isn't forward anymore, as in my perspective it would be going right but I can't figure out at all how to fix it
 
The "real difference" part of this answer is totally wrong. — juanchopanza Jul 29 at 23:31
Like that one /cc @Frrank
People mistake SO for reddit or hackernews. It's not a "impress your coworkers" site or "water cooler hobbyist gathering". It's a site for quality information, and we try very hard NOT to spread misunderstandings, half-truths, popular myths or obsolete assumptions.
 
lol
 
@MarfGamer Yeah this kind of logic usually does my head in. But I know it's going to happen so I write my code so it will always translate to a fixed frame of reference, so I don't have to
@Telkitty who did they ask? That looks like the [AskUbuntu.SE] community. I suspect Super User would give other stats
 
@sehe it's not an issue, down vote should be more often thn up votes as we are always learning and making mistakes, it always great to be rectified by someone to improve your skills.
 
Completely agree. It's how I learned from stackoverflow
 
:)
 
12:35 AM
what's the drawback of running a 10 year old version of ubuntu as server?
 
12:55 AM
lol
Nice baiting. Ask on AskUbuntu :)
 
1:32 AM
Wow. That's heroic. And... horrible :) I'm happy to inform you my answer lists ... about 6 different approaches that are less horrible. — sehe 53 secs ago
Well. That answer got upvoted within 10 minutes, even though it's... HORRIBLE
And then I upvoted it myself for effort/demonstrating how ugly low-level tinkering in Spirit semantic actions really is.
Don't worry though, you have shown that you now understand the mechanics of semantic actions, phoenix actors, fusion sequences and semantic predicates. This hands-on experience is invaluable and could never be replaced by anything you learned from reading or copying form others. +1 from me — sehe 2 mins ago
 
 
1 hour later…
2:48 AM
> Grandma steals baby; becomes mother-outlaw.
 
Xeo
3:13 AM
...
 
4:10 AM
Underground coal miner Dave McLachlan has been "saved" after the Fair Work Commission found he was unfairly sacked for joining workers who stripped down to their underpants in protest against cuts to their laundry services.
 
 
6 hours later…
10:01 AM
oh hey
I've been contacted about a possible video tutorial series gig
on see plus plus
 
They aren't offering enough
 
I don't know the offer yet
 
it's not enough
 
lol
I might do it just for fun tbh
 
 
3 hours later…
1:17 PM
@LucDanton nice
 
1:53 PM
@rightfold omgersky
@thecoshman How long have you been a Kotlin user now? Have you noticed anything about Kotlin you dislike?
 
@fredoverflow erm... about a year maybe longer
I'm not as heavy a user as you are though
The only thing really is that it's quite new, so it's hard to know what the 'good ways' of doing things are, though it's hard to do things too bad with Korlin. It's mostly about the libraries though
Like, Ktor; looks like a nice lib, but just doesn't have to docs built up enough for it really be viable
 
@EyalK. you're missing the point, you're flooring them anyway and they are precalculated. Making them double just delays the conversion until it causes the prefetcher trouble. Since they are precalulated you can preconvert them too. — Mgetz 44 mins ago
 
Have you heard that Java will get data classes and pattern matching?
 
No
but I wouldn't be surprised
data classes in particular a very easy to add, no?
 
user1804599
2:13 PM
@fredoverflow Have you ever used jetty-maven-plugin?
 
@rightfold never used Jetty
 
user1804599
:(
 
user1804599
mvn jetty:run compiles my code and then exits but it should run the server xD
 
Hobby project or work-related?
 
user1804599
Hobby
 
user1804599
2:16 PM
I want to write a servlet and run it from Maven.
 
A servlet? Wow, that's oldschool.
 
user1804599
It's the only thing that doesn't require unmaintainable asynchronous code these days.
 
Does Jetty serialize parallel requests?
Because normally, Servlets can be (and are) run from multiple threads.
 
user1804599
I don't know.
 
user1804599
2:21 PM
Lol globals.
 
@fredoverflow theoretically yes, that's kinda the whole point behind REST
 
@Mgetz The article is about concurrency bugs.
 
@fredoverflow I saw, and most of the 'stateful' web applications I've ever worked on had crippling locking issues.
either in the database or in the main application code
 
Apparently, locking is too hard. Let's all "just" become Clojure programmers!
 
@fredoverflow it's not too hard, but you need to limit where and when you can lock and what for.
 
2:24 PM
@rightfold use Gradle and Ktor :D
 
user1804599
???
 
@thecoshman Did you know you can write your Gradle build scripts in Kotlin? :)
 
@fredoverflow oh cool, I did see a Gradle like thing in Kotlin... can't recall the name
 
@rightfold Wait, what JVM language are you using currently?
 
user1804599
Java.
 
2:26 PM
Stop being bad
 
@thecoshman In some sense, Java stopped being bad at version 8 ;)
 
Is "Gradle using Kotlin" still known as "Gradle"?
Yeah, Java8 really changed a lot, but compared to Kotlin, I'd find it hard to accept it's a better choice for a project
 
@thecoshman Yes. Unfortunately, they decided to call it "Gradle using Kotlin" (very clumsy) instead of just "Kradle" :(
 
"Kradle" sounds a bit... funny though
also, is it really just "Gradle using Kotlin"? That's a stupid name XD
 
wow they missed the occasion of the century
 
2:30 PM
@thecoshman Once Java has data classes and pattern matching, I might be tempted to switch back to it as my default... simply because more programmers will be able to understand my code, hopefully.
@thecoshman From the kradle to the krave? :)
 
I think that lambdas are handled so much better in Kotlin though, I'd be inclined to stick with it
Plus I much prefer the types in Kotlin
 
Wait, I forgot about Kotlin's nullable reference types. Fuck Java!
@thecoshman How are lambdas handled better in Kotlin?
 
just easier to write them really
 
Oh, and I really like Kotlin's reified generics for inline functions.
Also extension functions.
 
Java makes it still feel clunky
 
2:33 PM
flow tyyyyypeeeeeeees
 
extension functions and inline are really nice yes
 
@milleniumbug Since when are you a Kotlin konvert?
 
since some time ago, but I haven't had the occasion to use it much, since I prefer CLR to JVM
 
but if I ever had to target JVM, Kotlin would be my first choice
 
2:36 PM
what's so good about CLR over JVM?
 
@thecoshman reified generics
List<int> requires no boxing.
But Java will get there eventually, they have been working on it for a couple of years now.
 
@fredoverflow hang on... this doesn't add up :\
 
the problem is Java standard library vs C# standard library. I prefer the latter. Kotlin fixes the language, but the libraries are still here
 
Kotlin makes using the Java stdlib a lot easier, but currently, afaik, it's looking to write it's own stdlib
interoperability makes more sense
 
2:39 PM
@thecoshman agreed
 
that said, the biggest annoyance (Java collection framework) is out of the way
 
oooh, say that's the deal with reified generics
 
@milleniumbug Yeah, the magical read-only views are really nice.
 
3:14 PM
> Entendu en Gelbique une fois: "Je vais prendre de l'argent dans le mur".
@sehe they tell me it’s a calque from Flemish? I hope it’s true cos it sounds great
 
@LucDanton "Geld uit de muur trekken" (pull money from the wall) is a common expression for withdrawing from ATM
-3
Q: How can I make SourceInsight understand smart pointers?

watereIf my code uses smart pointers, navigation and completion don't work with SourceInsight. For example with this simple example code: class test { public: void fun(){} }; int main() { boost::scoped_ptr<test> a; a->fun(); return 0; } When I click fun() in main , SourceInsight tel...

What an utterly useless program
@rightfold doesn't sound overly enthusiastic... (sorry for kitty suffix there)
 
3:43 PM
@sehe Seems like both of them are a lot of work to implement the equivalent of if (scanf("%d-%d", &begin, &end) == 1) end = begin;
 
 
3 hours later…
6:23 PM
auto stomach = 0xFULL;
 
@fredoverflow ...and 0xFU too... :-)
(Hereabouts, it's getting sort of close to lunch time, and I'm getting kind of hungry).
 
7:21 PM
I've finished my 2-day wood bending training
fun
I still have all of my fingers
 
7:36 PM
> Both C locales and wchar_t are shitfucked retarded legacy braindeath.
Quality rant indeed
 
@milleniumbug Fucking brilliant
 
8:21 PM
2 messages moved to Trash can
3 messages moved to Trash can
 
8:41 PM
> Any thread can call setlocale() at any time, and it's supposed to change the locale of all other threads.
wow
 
9:25 PM
@BartekBanachewicz Would it be better to define a separate phase of program execution when it's specifically safe/unsafe?
Only call it once before doing any I/O.
 
9:48 PM
@Potatoswatter While there are certainly questions that honestly are too broad, I'd say roughly 85% of votes to close as too broad really mean "too broad for my narrow little mind to comprehend."
 
@Potatoswatter it should be closed
SO isn't for "how can I solve this problem" sorts of questions. It also sounds like homework :\
 
10:15 PM
@thecoshman Perhaps, but that's the antithesis of too broad. The latest site policies say homework is OK, no?
 
10:34 PM
Okay Google, what's the worst possible name for our voluntary home surveillance product? https://twitter.com/Ninety7life/status/910526455783845888
@milleniumbug so relatable. At my previous employer I tried to Do The Right Thing and found out all that info (particularly relating to Posix + threads) but never completed it. It's too damn hard.
@Potatoswatter homework is, but that's not a coding question to begin with :)
(voted to reopen)
@BartekBanachewicz try harder (should I say "ply harder"?)
 
lol
Imma buy a router
A wood router I mean
@Potatoswatter if you consider sprintf "IO" then sure :P
 
11:14 PM
I was gonna ask "Ok, what professor is giving this assignment and sending all his students to StackOverflow to figure it out":
But then I looked at the most recent one and he states he's devops coding for a living. Mmm.
 

« first day (2584 days earlier)      last day (2366 days later) »