« first day (1375 days earlier)      last day (3575 days later) » 

8:00 PM
@Puppy Off the top of my head I'd say take away mass. But it's late and don't trust me on science right now ;-P
 
@rubenvb You don't need to remember more than 3.141592653589793 because that's all that fits into a double.
 
@rubenvb That doesn't preclude it, though. Remember that since Avogadro's Constant is based on measurement of 1kg of stuff, then it's based on the limitations of measuring 1kg as well.
 
14
Q: Why does moving a pointer variable not set it to null?

FredOverflowWhen implementing move constructors and move assignment operators, one often writes code like this: p = other.p; other.p = 0; The implicitly defined move operations would be implemented with code like this: p = std::move(other.p); Which would be wrong, because moving a pointer variable does...

 
user1804599
Bootstrap is so terrible.
 
@FredOverflow Funny enough, I was already reading this.
 
8:01 PM
@rightfold Is it a trap for boots?
 
@FredOverflow because nature works in floating point.
 
@rubenvb bonds are ~more or less~ lack of energy IIRC... so in theory, two atoms have less energy and thus less mass when bonded together...
it could be reverse though :S
 
@rightfold what's terrible about it
 
@thecoshman that's what I thought. Nuclear mass defect is caused by binding energy
 
user1804599
@sehe Separation of concerns. Or rather, the lack thereof.
 
user1804599
8:03 PM
The fact that you have to change your HTML if you want to change the width of a column.
 
@rubenvb yeah... I think when two atoms bonds, they release energy... but then I got thinking that wouldn't that be less entropy, which should take energy...
 
@thecoshman that's too simple a view. Total entropy always increases.
 
user1804599
If you use Bootstrap you could just as well use <font>.
 
@rubenvb yes, but you can put energy into a small part of a system to reduce it's entropy... ie, put energy into bonding two atoms to reduce the entropy of those two atoms.
 
Oh no rightfold read that one page that said Bootstrap is bad
 
user3010322
8:07 PM
@Rapptz Why would it matter if it did? :o
 
if it did
 
user image
2
^ pretty win solution for a game store
 
it'd screw up my generic T val
that might be a pointer that is just a reference
 
user1804599
@CatPlusPlus ?
 
@rightfold there's actually two pages
 
8:08 PM
@CatPlusPlus puppy uses, doesn't he? so must be bad.
 
user1804599
I’ve never read a page that was negative about Bootstrap.
 
@thecoshman yeah, but the thing is: bonding atoms usually release energy (no input energy needed: the "activatio energy" is released "after" the reaction is completed)... So you're not really making sense :-s
 
user3010322
Data => plural Datum ?
 
user3010322
Or is it Datum => plural Data?
 
@rubenvb because I wasn't sure which way it went :S
 
user1804599
8:12 PM
Data is plural of datum, noob.
 
Data is plural of data
 
user3010322
Oh.
 
datum is singular
 
user3010322
Guess I need RackDatum and RackData, then.
 
"That's a fuck load of data to enter"
 
8:13 PM
lol how to make an API sound intelligent
"Datum"
 
The only singular Data is this one:
 
"Scrotum"
 
"Fuck"
Woops... where did that come from?
 
user3010322
Eh. "RackDatum" being stored in a "RackData" seems like... Iunno. Weird.
 
user3010322
8:14 PM
Oh well.
 
..?
How?
 
user3010322
Just, uh. I dunno, it's weird!
 
No one sane in the English speaking part of the world uses the word "datum" to mean a single element of data.
 
Why... so... serious ... ? :-)
 
8:17 PM
0
A: Reference struct/class member variable off of user input

Ben VoigtIn before possible closure -- this question is not a duplicate, it asks about member variables, and is about to get an interesting answer.

Quick, spam upvotes
Let confusion abound.
 
lol
 
lolwut
 
I should flag this as "not an answer" :-prubenvb 11 secs ago
 
Instead of "klass", "clazz", "clas" and other atrocities, I'm using "сlass" next time (notice the Cyrillic "с"). #readability #russiancode
See. There are benefits
 
user1804599
@class
 
user1804599
8:22 PM
It’s a pity programming languages allow identifiers containing characters that aren’t part of ASCII.
 
they don't force you to use them though
and compiler will catch things
 
user1804599
Well then.
 
user1804599
Wat do.
 
anyone here who wants thief gold on steam? I got the new humble bundle and I already have it
 
holy shit I'm scared of death
 
user1804599
8:32 PM
Congrats.
 
user1804599
You’re scared of something that is most likely going to happen.
 
most likely
 
@sehe that's GENIUS!
@AlexM. does it run on Linux?
 
nope
 
Xeo
Soo... mobo and RAM are in place, on to CPU and cooler
 
8:34 PM
@Xeo my god you are slow :P
 
1 hour ago, by Lightness Races in Orbit
guys stop fucking up the results
 
Xeo
@thecoshman vOv
 
welp, gave it away
 
Xeo
First build
 
8:36 PM
time to sleep
cya
 
@Xeo enjoy it, that magic wear of fast
 
@Xeo So slow.
 
Xeo
1 min ago, by Xeo
First build
 
It shows.
:3
 
Xeo
Also, I literally screwed up and used the wrong screw in one place. Was a pain to get out again
 
8:38 PM
Not sure how you messed that up
 
Xeo
I blame the case manual for having a misleading picture. The screw looks nothing like the picture!
 
oh yeah, PC shit has mastered making 100 screws all just subtly different enough to matter
 
user1804599
I like how ordering in Scala is handled.
 
@rightfold a library?
 
user1804599
Like, sorted uses a default ordering unless you pass one.
 
user1804599
8:43 PM
But without extends Ordering or something.
 
Xeo
Hi Intel box cooler! Bye intel box cooler!
 
boo hiss you got a <whatever brand you got> component! what a noob
 
Xeo
heh
 
user3010322
Acrtic Silver, I hope.
 
user3010322
8:58 PM
I've never really used anything but the stock CPU fan though.
 
@Jefffrey hmm?
 
user1804599
If type class instances were scoped you could have multiple Ord instances for the same type, which might be quite nice.
 
@ThePhD that or zalman
 
any of you guys used Windows Phone 8.1? was thinking about maybe getting one
 
user3010322
It's got better privacy policy than Android.
 
8:58 PM
Someone just answered a question I asked almost two years ago.
 
user3010322
So, sure. Go nuts.
 
I'm curious about your take on how an (to me) obviously idiotic question, firstly - is not closed right away; secondly - has 25000+ views after 2 days? stackoverflow.com/questions/24848359/…
 
> Judge in Australia says incest may no longer be a taboo and the only reason it is criminal is potential birth abnormalities, which can be solved by abortion
 
9:02 PM
@Captain what's wrong with the question?
 
user3010322
@Xeo Arctic Silver is the actual CPU Coolant.
 
user3010322
The fan thing is just... uh. WEll, I've never bought a new CPU fan thing.
 
> The man has pleaded guilty to sexually assaulting his sister when she was 10 or 11 years old in 1973 or 1974 but has pleaded not guilty to charges relating to sex they had in 1981, when she was 18 and he was 26.
 
@LightnessRacesinOrbit The quite basic notion that false == 0 and true != 0
 
he's not randomly asking which is faster; he's following up on another perskna idiocy because hes afraid hes missing something
and hes right
 
user3010322
9:03 PM
It was an interview question, I thought?
 
@Xeo yeah I HOPE you're applying thermal grease
 
i mean hes right in that he was not missing anything
the interview question was idiotic but the SO question was not
 
@LightnessRacesinOrbit your engrish is deteriorating
 
Why not a close to a duplicate, "Why is 42 true in c/c++?"
 
Xeo
@ThePhD Uuh, when I said "Intel box cooler", I meant the cooler, not the thermal paste
@sehe D'uh
 
9:05 PM
I fail to see the difference here "the interview question was idiotic but the SO question was not".
 
hth
@sehe phkne
phone*
@captain can't help you there then. but there's an immense differnce
 
@LightnessRacesinOrbit I think you can help me. What is the difference?
 
i would but in on mobile and sat with my parenys
maybe another time
 
9:08 PM
I have an intense headache
:(
 
user3010322
 
@sehe I'm just not feeling well recently.
 
user3010322
1 star
 
user3010322
Con: looks nice
 
user3010322
GOT IT.
 
9:09 PM
// my expectations: \(^.^)/
// what is probably the sad truth: /(;.;)\
 
9:24 PM
hmm
so the low-end phone competition seems currently to be the Moto E/G (Android), or Lumia 520/620 (WP 8.1)
 
user3010322
Lumia sounds nicer.
 
I have a Nokia dumb phone with two broken buttons. Refuse to be given an iphone :)
 
Xeo
I want the LG G3 :(
Not because I'd come even close to utilising everything it offers, but just because.
 
user1804599
 
Coliru is giving me Internal Server Error
 
9:34 PM
@Rapptz fixed
 
@Xeo you did get thermal paste right...
 
Xeo
@thecoshman Included with the CM cooler.
 
@Xeo oh ok
 
user3010322
You can return a bool from a .Select() functor in C# and it will cull elements based on that predicate, right?
 
Xeo
@thecoshman It may be my first build, but I have done my reading :P
@ThePhD That's Where.
 
9:38 PM
@Xeo that's what they said about <massive disaster> :P
 
user3010322
Oh.
 
Xeo
Select is transform/map
 
user3010322
Uhm.
 
user3010322
Well, okay then...
 
> Apple Sold 35.2M iPhones, 13.3M iPads And 4.4M Macs In Q3 2014
Damn.
 
user1804599
9:42 PM
Kek, I just realised.
 
user1804599
You can create type class instances at runtime in Scala.
 
9:53 PM
imgur Y U MAKE YOUR SITE HIDEOUSLY UNUSABLE???
 
user3010322
[Dududu] = 'Sandstorm'
 
user3010322
^ In SQL, is that a "if equal to" ?
 
user1804599
No. It’s “is equal to.”
 
user3010322
Oh. That explains a lot.
 
9:54 PM
@LightnessRacesinOrbit How do I upload an image then?
it used to be a simple click and done, now I can't even find it???
 
@TonyTheLion It's up at the top.
 
lol
it hideously obvious that I can't see it
damn it
 
I freehand circle -> you lose
 
@TonyTheLion but now it's so web 2.0
 
9:58 PM
honestly I found it instantly when I went to the site
 
user3010322
( from r in info.Rivets
     where r.RivetType == RivetType.Gigantic ).FirstOrDefault()
 
user3010322
Is there a FirstOrDefault for LinQ expressions?
 
I just imgur things from the chat window.
 
user1804599
It’s LINQ, not LinQ.
 
9:59 PM
@ThePhD er, yes?
You're missing a select, though.
 
user1804599
Also that’s ugly. Either use full query expression or method call expression.
 
user3010322
No I mean, how do I pick the first or "default" when using the from r ...
 
@ThePhD Integrated syntax is for noobs. Use the direct syntax.
 
user1804599
info.Rivets.Where(r => r.RivetType == RivetType.Gigantic).FirstOrDefault()
 
user3010322
@rightfold That's what I'm tyrying to figure out. :c
 
user1804599
10:00 PM
Query expression syntax is less powerful.
 
As you did works if you add a select.
 
user3010322
What's the FirstOrDefault for the SQL-like syntax thingy.
 
user1804599
You cannot do things like picking only one value.
 
user3010322
Oh.
 
There isn't.
 
10:00 PM
not every method has a query syntax correspondence.
 
user3010322
Oh, bump query syntax then.
 
Query syntax is a gimmick.
 
I see Final Contest got suspended
Must have missed that.
 
No one serious uses it unless joins.
Method syntax joins can be hard to read.
 
10:01 PM
@TonyTheLion lol, so true
 
-1. It is too broad an answer and we already got canonical duplicates in a much finer-tuned way. — Final Contest Jul 16 at 16:58
 
user1804599
I want more type system wanking.
 
@thecoshman heheh
 
user3010322
I guess I'll switch between the two when appropriate.
 
@rightfold I think FirstOrDefault takes a predicate so you can skip the where
 
user3010322
10:03 PM
@JohanLarsson Yep, I did that.
 
I did that motherfuckfuckfucker
 
user3010322
Now just looks like info.Rivets.FirstOrDefault( r => r.RivetType == RivetType.Gigantic )
 
do you expect there to be none or more than one?
 
user3010322
They should have a from ... where ... take N, where N is the number you want to take.
 
user3010322
10:06 PM
So you can just take 1
 
where(...).Take(1)
 
user3010322
I meant for the query syntax.
 
ok idk I never use it
 
so
I wrote a Haskell prototype with Scotty and PostgreSQL binding
and accompanying js client
 
@rightfold ermm... implicit types are soo smart?
 
user1804599
10:12 PM
What?
 
vOv you wanted to talk shit about type systems
 
user1804599
What is an implicit type?
 
user1804599
inb4 “a type that is implicit”
 
10:19 PM
`int a = 10;` <- implcately typed as an int
`a = 10;` <- explicate typed as an int
 
user1804599
wat
 
@thecoshman wat
 
what?
 
did you just forget the word for "type inference" or what
 
user1804599
Do you mean auto a = 10; vs int a = 10;?
 
10:20 PM
you can be statically typed without having to declare what type explicitly.
@rightfold no
 
user1804599
@thecoshman That’s type inference.
 
@thecoshman that's type inference
 
user1804599
The only languages that lack it are C and Java.
 
Hey so listen, I may be asking you to kill some people for Me sometime later this week. Just a heads-up on that.
 
user1804599
And I see it more as syntactic sugar rather than a type system feature.
 
10:21 PM
I'm sorry, I thought you wanted to talk about type wankery?
 
though it facilitates type system use that is otherwise inconvenient
 
user1804599
Type inference is not very interesting.
 
@rightfold oh it is a feature
@rightfold H-M is
 
auto i = int();
 
fuck that example
 
user1804599
10:23 PM
int i = auto();
 
user1804599
I like how you can do auto i(0);.
 
T f () { ... };

void g () {
    auto v = f();
}
 
user1804599
Will auto f(std::string()); be most vexing parse in C++14? :)
 
@rightfold Maybe this, starts slow but gets ok.
 
auto x = whatever is a device that automagically escapes MVP.
 
10:24 PM
now that changes things because T can change and as long as expression use in g compiles, g doesn't have to change
 
user1804599
@JohanLarsson Is that about the Curry–Howard isomorphism?
 
dunno, can you be more fancy?
 
wow, Haskell Curry was a 'logician', what a thing to be :P
 
user1804599
@JohanLarsson Nope.
 
hmpfh
@rightfold @Jefffrey is ScottyState meaningful for the user?
 
user1804599
10:27 PM
@BartekBanachewicz hectometre per fourth hour?
 
user1804599
@BartekBanachewicz Ugh Scotty.
 
scotty is easy enough to make simple things in it
and I needed a simple solution vOv
 
oooh, that's why we use Java ¬_¬ some fuckwit banned Erlangs use in 98
 
user1804599
HAHA :D XD :> 3: :3 :> :D =D 8D 8=D 8==D 8===D
 
10:31 PM
@rightfold 'tws lifted in 04
 
@thecoshman lmao
 
@rightfold what is that?
 
@rightfold Watch it, I think you will like it. Perhaps skip first module/chapter.
 
user1804599
@thecoshman It is a movie about Erlang.
 
@BartekBanachewicz well, it wasn't /just/ Erlang... it was all (not that Erlang was at the time) proprietary languages
 
user1804599
10:32 PM
The guy with the moustache is the creator of Erlang.
 
@thecoshman wait you haven't watched Erlang: The movie?
gosh.
 
user1804599
@thecoshman Erlang existed long before 98.
 
user1804599
It’s from 86.
 
@sehe 404'd already
 
@rightfold but not open source till 98
 
user1804599
10:39 PM
You can still use it within Ericsson when it’s not open-source. :v
 
@rightfold I know... except it was mandated in 98 that proprietary languages cannot be used...
 
user1804599
ohlol
 
user1804599
Silly requirement.
 
FromRow is pretty epic
 
user1804599
10:41 PM
What is FromRow?
 
I can't blame you finding it hard to understand, its mind boggling stupid
 
user1804599
postgresql-simple package?
 
@Rapptz huh. I didn't see that coming. I mean, he tweets more .. interesting things on a regular basis
 
night though
 
user1804599
10:41 PM
It’s nice indeed.
 
I found it nice how I can just create an instance with those calls to field and then query for it
should be derivable though
 
 
user1804599
In JDBC type mappings are created at runtime. :<
 
lol first time I saw that ^
 
user1804599
So I had to do something hacky for my wrapper library to ensure you don’t pass non-mapped types to prepared statements or try to get them out of records.
 
user1804599
10:45 PM
However, the mappings are scoped so unlike with postgresql-simple you won’t run into problems when you have multiple databases with different schemas. :P
 
@sehe This probably won't last.
 
functor function what's your function. anybody remember electric company and "conjunction junction what's your function"?
 
user1804599
MVP MVP watch your function!
 
Xeo
Hm, I should probably install the GPU tomorrow
it's almost 1am
 
user1804599
Can you do auto f(); in C++14?
 
10:50 PM
yes
 
user1804599
Hmm.
 
user1804599
Oh, auto s(std::string()); is already MVP (wut why?).
 
user1804599
So no breaking change there.
 
@rightfold Because it's always been MVP.
 
user1804599
> already
 
user1804599
10:55 PM
Hmm.
 
user1804599
Not sure if I want order lines to be part of an order object.
 
user1804599
Order lines aren’t aggregate roots.
 
user1804599
But path-dependent types would be rather.
 
user1804599
Ah, I know what I can do. I can have both.
 

« first day (1375 days earlier)      last day (3575 days later) »