archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
null
small_nit
null
yeah, fully agree, but D is around for nearly two decades, no? :O do you mention it because they changed the stdlib from gc to no gc?
null
0
1491210738
False
0
dfridzc
t3_631p99
null
null
t1_dfqymqq
null
1493751003
0
t5_2fwo
null
null
null
null
davydany
null
Yeah I was wondering the same. It doesn't make sense to increment a Boolean, as opposed to toggling it by negating it.
null
0
1491210985
False
0
dfrigqc
t3_6350ax
null
null
t1_dfric97
null
1493751042
75
t5_2fwo
null
null
null
null
[deleted]
null
[removed]
null
0
1491211074
False
0
dfrihrx
t3_635nmd
null
null
t3_635nmd
null
1493751055
1
t5_2fwo
null
null
null
null
hagbaff
null
What's the type of a u8 *character* literal, considering utf8 characters can be up to 6 octets...
null
0
1491211172
False
0
dfriix7
t3_6350ax
null
null
t3_6350ax
null
1493751071
9
t5_2fwo
null
null
null
null
Shaper_pmp
null
Yeah - that works too, but cryptographically signing the data you send to the client is massive overkill or inapplicable in about 99% of use-cases you encounter during normal web-development. Plus, you know, if you cryptographically sign the data then you *aren't* trusting the client (you're trusting the signature), so the maxim still stands.
null
0
1491211252
False
0
dfrijuu
t3_62ul90
null
null
t1_dfr2qjb
null
1493751083
1
t5_2fwo
null
null
null
null
Dave3of5
null
Not that surprising most university courses that employers look for are around the computer science end of academia which don't place great emphasis on computer security. Interestingly I've never been asked a technical question on security in an interview either. For Example why should you not use md5 to hash a password, what's the purpose of salting a password, what is SQL injection, what is XSS ... etc. Maybe some more security conscious employers ask these questions but most only seemed interested in if I could create a linked list, binary tree, reverse a string, figure out if a word is a palindrome.
null
0
1491211345
False
0
dfriky2
t3_6344ep
null
null
t3_6344ep
null
1493751099
3
t5_2fwo
null
null
null
null
Kasc
null
I didn't see these 1 year ago or 8 months ago. I'm glad this was reposted.
null
1
1491211559
False
0
dfring6
t3_635ggh
null
null
t1_dfrhitr
null
1493751132
-1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491211636
False
0
dfriocx
t3_633o3y
null
null
t3_633o3y
null
1493751145
3
t5_2fwo
null
null
null
null
mehum
null
Whats Truer than True? TRUE++!
null
0
1491211845
False
0
dfriqpx
t3_6350ax
null
null
t1_dfrigqc
null
1493751176
193
t5_2fwo
null
null
null
null
AngularBeginner
null
My comment was not > "this was posted already, screw you" but rather > "this was posted already, click here to see the valuable comments from past then". No idea why people downvote this.
null
0
1491212141
False
0
dfriu44
t3_635ggh
null
null
t1_dfring6
null
1493751221
16
t5_2fwo
null
null
null
null
jmtd
null
If you are depending on an OS-provided random interface, you may get different results for the same seed on different platforms, because they are implementing different pseudo-random functions. I'd go a step further: if reproducibility is important, you need guarantees from your pseudorandom-function provider (be that your OS, or something else, e.g. Java runtime for Java programs) that it offers this property for future versions too.
null
0
1491212157
1491212509
0
dfriuab
t3_630cgb
null
null
t1_dfrgudb
null
1493751224
1
t5_2fwo
null
null
null
null
LittleLui
null
Mama, thread had just begun.
null
0
1491212274
False
0
dfrivli
t3_6350ax
null
null
t1_dfrhw8s
null
1493751241
101
t5_2fwo
null
null
null
null
diggr-roguelike
null
> Youtube video instead of code snippets. Great to know where your priorities lie! Into the trash it goes.
null
0
1491212357
False
0
dfriwl8
t3_631p99
null
null
t3_631p99
null
1493751254
0
t5_2fwo
null
null
null
null
LordoftheSynth
null
In the same boat here too. Software dev pays the bills, but by avocation I'm a musician.
null
0
1491212581
False
0
dfriz8j
t3_633o3y
null
null
t1_dfrh4mp
null
1493751290
3
t5_2fwo
null
null
null
null
PonchoVire
null
I do agree it does not make the important things jump into your eyes enougth..
null
0
1491212664
False
0
dfrj06l
t3_635h86
null
null
t1_dfri8y7
null
1493751302
1
t5_2fwo
null
null
null
null
dyu_ftw
null
Not really :-) Music is based on "feel", which humans have. The musician's improvisation and phrasing is what makes it unique and beautiful. No amount of programming/deep-learning/etc can replicate that.
null
1
1491212710
False
0
dfrj0o5
t3_633o3y
null
null
t1_dfriocx
null
1493751308
-4
t5_2fwo
null
null
null
null
cies010
null
I prefer one that is printable. As CVs mostly get printed, and read from print (+jotted on) by the interviewers. Here's mine: https://rawgit.com/cies/resume/master/cies-breijs-resume.pdf And here's how to use it yourself: https://github.com/cies/resume
null
0
1491212823
False
0
dfrj1xz
t3_635h86
null
null
t3_635h86
null
1493751326
1
t5_2fwo
null
null
null
null
Kasc
null
Default Redditor stance is to complain about reposts, apologies for assuming!
null
0
1491212866
False
0
dfrj2gk
t3_635ggh
null
null
t1_dfriu44
null
1493751333
16
t5_2fwo
null
null
null
null
bubuopapa
null
Well, they have been brute forcing wrong devices all this time. Computer wont give up password easily, you have to brute force the weak link in this chain. And it costs like 5 bucks.
null
0
1491212924
False
0
dfrj35x
t3_62jpnd
null
null
t1_dfndo57
null
1493751342
0
t5_2fwo
null
null
null
null
ArunMu
null
I am just a _cool_ boy, I need no C(ympathy)...
null
1
1491212951
False
0
dfrj3h3
t3_6350ax
null
null
t1_dfrhs7o
null
1493751346
-3
t5_2fwo
null
null
null
null
sin2pifx
null
Unless, you know ...
null
0
1491213062
False
0
dfrj4oz
t3_6350ax
null
null
t1_dfri9v8
null
1493751363
12
t5_2fwo
null
null
null
null
MarshallBanana
null
> I'd say it's good enough This is usually what you think when you see midpoint displacement for the first time. But once you've seen it ten times, you start realising that it always looks exactly the same, and isn't at all capable of capturing the vast variety of landscape types you find in nature. In fact, you'd be hard pressed to actually find a landscape that looks like those generated by midpoint displacement.
null
0
1491213167
False
0
dfrj5wx
t3_630cgb
null
null
t1_dfrcv1a
null
1493751379
13
t5_2fwo
null
null
null
null
someenigma
null
Check the notes. u8 only takes code points that are one code unit of UTF-8, aka 8 bits.
null
0
1491213200
False
0
dfrj6b9
t3_6350ax
null
null
t1_dfriix7
null
1493751384
11
t5_2fwo
null
null
null
null
axilmar
null
We also need better tools, i.e. better programming languages.
null
0
1491213238
False
0
dfrj6qd
t3_6344ep
null
null
t3_6344ep
null
1493751390
-5
t5_2fwo
null
null
null
null
someenigma
null
> Nested namespace declarations Ok this has me excited to move some projects to C++17. Now, if only I had the time+energy to dedicate to something like that.
null
0
1491213302
False
0
dfrj7gw
t3_6350ax
null
null
t3_6350ax
null
1493751399
46
t5_2fwo
null
null
null
null
MarshallBanana
null
Rather, you should just not ever use a random number generator provided by someone else, because pretty much none of them will give you these guarantees. Just copy the code for a good one into your project. Visual-quality random generators are dead simple, and it into a handful of lines.
null
0
1491213316
False
0
dfrj7nd
t3_630cgb
null
null
t1_dfriuab
null
1493751403
3
t5_2fwo
null
null
null
null
thosakwe
null
Thanks for your post - this will definitely help a few people to get started. A complete list of prerequisites is in the "Getting Started" page in the wiki. Adding it to the README too couldn't hurt, though.
null
0
1491213321
False
0
dfrj7pb
t3_632937
null
null
t1_dfrf20y
null
1493751403
1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491213325
False
0
dfrj7r3
t3_633o3y
null
null
t1_dfrj0o5
null
1493751404
16
t5_2fwo
null
null
null
null
hagbaff
null
> No amount of programming/deep-learning/etc can replicate that. He just did. It's as "unique" as any old Beyonce churn-out.
null
0
1491213494
False
0
dfrj9sp
t3_633o3y
null
null
t1_dfrj0o5
null
1493751431
2
t5_2fwo
null
null
null
null
hagbaff
null
That's... idiotic and certainly not "u8". It should be called "anal_u8"
null
0
1491213524
False
0
dfrja5h
t3_6350ax
null
null
t1_dfrj6b9
null
1493751436
15
t5_2fwo
null
null
null
null
thosakwe
null
Yes, honestly the lack of interest in server-side Dart is what necessitated that I build something, at least for use within my own projects. Dart really is better-suited for "isomorphicity" than JS. It's always trivial for me to use the same model classes on an Angel server, and within a Dart frontend. With the sensitive data stripped, of course. But I think that Dart's frontend capabilities do make for any server-side inconvenience. The Dart Team is doing an amazing job with Flutter and Angular2.
null
0
1491213590
False
0
dfrjax6
t3_632937
null
null
t1_dfrazly
null
1493751446
1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491213675
False
0
dfrjbzb
t3_633o3y
null
null
t1_dfrj0o5
null
1493751460
3
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491213698
1491213962
0
dfrjc84
t3_631p99
null
null
t1_dfqymqq
null
1493751463
6
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491213772
False
0
dfrjd5v
t3_633o3y
null
null
t1_dfrj0o5
null
1493751476
1
t5_2fwo
null
null
null
null
foonathan
null
Well, 'A' doesn't need to be 65, depends on the source file encoding. So u8'A' is portable.
null
0
1491213948
False
0
dfrjfb2
t3_6350ax
null
null
t1_dfrja5h
null
1493751504
14
t5_2fwo
null
null
null
null
WorkItMakeItDoIt
null
We have implemented those in all our code for that exact reason.
null
0
1491214064
False
0
dfrjgqd
t3_6350ax
null
null
t1_dfrib2r
null
1493751526
24
t5_2fwo
null
null
null
null
dotaheor
null
java deprecates APIs, c++ deprecates features.
null
0
1491214255
False
0
dfrjiyw
t3_6350ax
null
null
t3_6350ax
null
1493751556
86
t5_2fwo
null
null
null
null
dyu_ftw
null
It's ok. I don't expect non-musicians to understand it. "In fact, you can do "improvisation and phrasing" on 8 bit machines with a unique and beautiful result." If you find that beautful, then sure. This post is on a programming subreddit, of course some programmers aren't gonna accept that they can't produce like a real musician can.
null
0
1491214281
False
0
dfrjj9u
t3_633o3y
null
null
t1_dfrj7r3
null
1493751559
-7
t5_2fwo
null
null
null
null
kankyo
null
> Remove trigraphs Finally
null
0
1491214315
False
0
dfrjjoz
t3_6350ax
null
null
t3_6350ax
null
1493751565
121
t5_2fwo
null
null
null
null
peggmesissy
null
This whole article seems to me like a managers bullshit report about something that has nothing to do with reality.... It is not wrong... it is just not right.... Walls and Walls of text, filled with catchy word and phrases that we recognize yet they convey nothing. That is how managers communicate when they have nothing to say.
null
0
1491214337
False
0
dfrjjyi
t3_635ser
null
null
t3_635ser
null
1493751568
22
t5_2fwo
null
null
null
null
pm_plz_im_lonely
null
I feel this big thing would've been better if split into smaller things with each one having a clear point. I didn't know much more after reading the rant than before, although I can appreciate the experience of the author.
null
0
1491214365
False
0
dfrjk9x
t3_635ser
null
null
t3_635ser
null
1493751572
8
t5_2fwo
null
null
null
null
Koxymon
null
You must be saying the truth.
null
0
1491214389
False
0
dfrjkm3
t3_6350ax
null
null
t1_dfriqpx
null
1493751577
6
t5_2fwo
null
null
null
null
pm_plz_im_lonely
null
This is an ad.
null
0
1491214450
False
0
dfrjlcx
t3_635qxq
null
null
t3_635qxq
null
1493751587
5
t5_2fwo
null
null
null
null
systmshk
null
But I had to segfault everything away.
null
0
1491214467
False
0
dfrjlki
t3_6350ax
null
null
t1_dfrivli
null
1493751589
88
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491214472
False
0
dfrjlmr
t3_631p99
null
null
t1_dfqwrbz
null
1493751590
6
t5_2fwo
null
null
null
null
PM_ME_UR_OBSIDIAN
null
?
null
0
1491214473
False
0
dfrjlnh
t3_6350ax
null
null
t1_dfrjjoz
null
1493751590
1
t5_2fwo
null
null
null
null
Liorithiel
null
> Rather, you should just not ever use a random number generator provided by someone else, because pretty much none of them will give you these guarantees. Some platforms do provide guarantee of OS/implementation-agnostic reproducible values with seed. Python and [Java](https://docs.oracle.com/javase/8/docs/api/java/util/Random.html) do.
null
0
1491214548
False
0
dfrjmjb
t3_630cgb
null
null
t1_dfrj7nd
null
1493751603
2
t5_2fwo
null
null
null
null
[deleted]
null
I think some people here didn't get it, but the intention is not make Task as features rich as Make, but instead be an alternative for who don't need everything Make has to offer. Anyway, I appreciate any criticism. Thank you.
null
0
1491214576
False
0
dfrjmu9
t3_62zk1i
null
null
t1_dfrcm8r
null
1493751607
2
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491214704
False
0
dfrjocm
t3_633o3y
null
null
t1_dfrjj9u
null
1493751627
13
t5_2fwo
null
null
null
null
sirin3
null
Scala is nice for that ` "fizbuzz" reverse ` Pretty much can't get shorter. But it is bad for interviewing when you get used to solve the problem with two words. Q: "Write a program to print the numbers from 1 to 100. " A: `1 to 100` Q: "Right that is range I said. How would you print them?" A: `1 to 100`
null
0
1491214720
False
0
dfrjoj6
t3_62xwba
null
null
t1_dfrccdu
null
1493751631
1
t5_2fwo
null
null
null
null
[deleted]
null
Currently, Task don't support include another file. Maybe your use case is too advanced to Task, that aims to be a simpler tool, and you should stick with Make.
null
0
1491214743
False
0
dfrjoss
t3_62zk1i
null
null
t1_dfr12y0
null
1493751633
1
t5_2fwo
null
null
null
null
Hnefi
null
There are several disadvantages of using product types, like in your example above, instead of sum types. Just to be clear, with sum types there's only one return value and it's either an error or a result, as opposed to having both. Perhaps the biggest disadvantage is that you always need to represent the possibility of a garbage state, regardless of whether it makes sense. This is null, obviously, which is called the billion dollar mistake for good reason. With sum types, the error state is opt-in; only if a function can actually fail does it return a sum type with an error as a possible value, otherwise it simply returns the concrete type. This allows the programmer to properly reason about potential error cases and make actual informed decisions based on the function signature. Even better, if the function signature changes so that error cases are introduced or removed, the compiler can catch these and give errors at compile time. This lets sum types eliminate an entire class of errors which product types simply let go unchecked for no particular gain. There are more advantages depending on how your language's syntax is constructed. For example, sum types can support optional chaining in a very elegant way. But I don't know if your language's syntax could easily accomodate that due to the homepage issues others have already reacted to.
null
0
1491214821
False
0
dfrjpqr
t3_631p99
null
null
t1_dfqv4jn
null
1493751646
1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491214936
False
0
dfrjr7q
t3_633o3y
null
null
t1_dfrjj9u
null
1493751665
3
t5_2fwo
null
null
null
null
ve0m
null
Hey, this seems like an awesome idea, have you had much interest? I've always liked pair programming and I've wondered if I could make an interesting programming stream.
null
0
1491214938
False
0
dfrjr8r
t3_63109d
null
null
t3_63109d
null
1493751666
1
t5_2fwo
null
null
null
null
NoetherFan
null
I believe it serves as a unary logical self negation operator due to overflow wraparound. Edit: Tested it, false. Incrementing true is still just true. You could however use it to turn a false bool to be true, or the -- operator to turn a true bool false. I've never done it, and have to guess it's bad style, but it might shave a few characters in a golf.
null
0
1491214940
1491217168
0
dfrjr9s
t3_6350ax
null
null
t1_dfric97
null
1493751666
5
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491215016
False
0
dfrjs78
t3_633o3y
null
null
t1_dfrcbji
null
1493751679
-13
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491215049
False
0
dfrjsm4
t3_635h86
null
null
t3_635h86
null
1493751685
2
t5_2fwo
null
null
null
null
omfgtim_
null
You're making the assumption that people asking these questions only care about getting the right answer. They (should) care about your coding style, your approach to the problem, how you clarify requirements, how you take criticism and support. Algorithm questions still provide opportunities to show your mastery of the language and consideration for future engineers reading the code. If you think that these questions are just binary, correct or incorrect, you're missing the point entirely.
null
0
1491215058
False
0
dfrjspn
t3_62xwba
null
null
t1_dfq33ky
null
1493751686
0
t5_2fwo
null
null
null
null
dyu_ftw
null
" is that this feeling can be expressed by any instruments, including electronic ones, which may be programmed" Let me quote from wiki: Phrasing is the manner in which a musician shapes a sequence of notes in a passage of music, in order to express an emotion or impression. A musician accomplishes this by deviating stylistically from the sheet music—altering tone, tempo, dynamics, articulation, inflection, and other characteristics. A program can only **try** to do that. I do understand the level of quality I expect is different from others. It may sound like "good music" to your ears, but definitely not to a musician's ear.
null
1
1491215120
False
0
dfrjthn
t3_633o3y
null
null
t1_dfrjbzb
null
1493751696
-2
t5_2fwo
null
null
null
null
Admicos
null
[??!](https://en.wikipedia.org/wiki/Digraphs_and_trigraphs)
null
0
1491215309
False
0
dfrjvs3
t3_6350ax
null
null
t1_dfrjlnh
null
1493751727
27
t5_2fwo
null
null
null
null
zhuxphix
null
You're not a good musician if you think phrasing is the only quality of music. Bach had NO PHRASING AT ALL in SOME of his works. Not only lack of markings in notation, there is no expectation of phrasing whatsoever, just a steady stream of notes. A robot can play certain Bach pieces, and it will still be beautiful
null
0
1491215347
False
0
dfrjw9n
t3_633o3y
null
null
t1_dfrjthn
null
1493751734
5
t5_2fwo
null
null
null
null
resdresd
null
It just sets the value to true. The only justification that I can see for it ever existing is that it's slightly quicker to say ``` ++b;``` than ```b = true;```.
null
0
1491215362
False
0
dfrjwgg
t3_6350ax
null
null
t1_dfric97
null
1493751736
4
t5_2fwo
null
null
null
null
Peaker
null
Except `map` is going to be touching ~8-20 cache lines and list will touch 2-4. `list` is far better for this purpose. And it's not uncommon in long-running systems that need to represent the state of many ongoing requests - and order them according to various criteria. e.g.1: A chronological list of requests for timing out purposes -- always append to the end, pop the oldest from the beginning of the list. You could use a ringbuf but then you have to hard-code a maximum size. e.g.2: A list per physical port, that is enumerated very rarely (physical port failure) where performance doesn't matter, but request deletion needs O(1) deletion from all the lists. e.g.3: A hash table bucket can usefully use an intrusive linked list.
null
0
1491215399
False
0
dfrjwxd
t3_62xwba
null
null
t1_dfqrtbh
null
1493751742
1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491215421
False
0
dfrjx7m
t3_633o3y
null
null
t1_dfrjthn
null
1493751746
3
t5_2fwo
null
null
null
null
andrewhn
null
Spam
null
0
1491215666
False
0
dfrk0b2
t3_62ci1q
null
null
t3_62ci1q
null
1493751787
1
t5_2fwo
null
null
null
null
sgmctabnxjs
null
Thoughts: * Simplifies code to switch everything 'on', except overflow. * Ternary logic. * Maybe wanted something smaller than an int but were afraid of a char. No, sorry, am stretching and it doesn't make sense.
null
0
1491215704
False
0
dfrk0s9
t3_6350ax
null
null
t1_dfric97
null
1493751794
33
t5_2fwo
null
null
null
null
hagbaff
null
> A musician accomplishes this by deviating stylistically from the sheet music—altering tone, tempo, dynamics, articulation, inflection, and other characteristics. > A program can only try to do that. An instrument can be programmed by a musician to do that in interesting ways. The articulation and inflection comes from code instead of strumming a string. How dense are you?
null
0
1491215719
False
0
dfrk0zk
t3_633o3y
null
null
t1_dfrjthn
null
1493751797
1
t5_2fwo
null
null
null
null
dyu_ftw
null
Lol. I guess I'm sorry for offending you.
null
0
1491215747
False
0
dfrk1bl
t3_633o3y
null
null
t1_dfrjs78
null
1493751801
19
t5_2fwo
null
null
null
null
mehum
null
not
null
0
1491215844
False
0
dfrk2jw
t3_6350ax
null
null
t1_dfrjkm3
null
1493751817
2
t5_2fwo
null
null
null
null
solarnexus
null
https://www.youtube.com/watch?v=nZV5gPwGloQ&t=23s
null
0
1491215878
False
0
dfrk2zt
t3_6350ax
null
null
t1_dfrjkm3
null
1493751823
1
t5_2fwo
null
null
null
null
youtubefactsbot
null
>[**Rick and Morty - Jerry In Cloud Atlas [2:21]**](http://youtu.be/nZV5gPwGloQ) > [*^Zombie ^Media*](https://www.youtube.com/channel/UCQY8LvrE5uVgPJjc-5h4K8g) ^in ^Comedy >*^472,764 ^views ^since ^Sep ^2015* [^bot ^info](/r/youtubefactsbot/wiki/index)
null
0
1491215893
False
0
dfrk36c
t3_6350ax
null
null
t1_dfrk2zt
null
1493751825
1
t5_2fwo
null
null
null
null
pm_plz_im_lonely
null
The way I see it, if the user expects the texture to behave like a value, they will expect copy to be a heavy operation. After someone gets that, it makes sense to hold pointers to textures instead of textures directly. The problem is mentioned in [the tutorial for this feature](https://www.sfml-dev.org/tutorials/2.4/graphics-sprite.php#the-white-square-problem). Remember: It's called **Simple** and Fast Multimedia Library. SFML's API design is driven by simplicity and its documentation is second to none. SFML empowers beginner developers and motivates them to learn. That's why if you look at its support forums, it's filled to the brim with beginners! If you avoid common pitfalls, it's also pretty fast. I think you're being too rough on this library.
null
0
1491215908
False
0
dfrk3ds
t3_634f0e
null
null
t1_dfrdfry
null
1493751829
2
t5_2fwo
null
null
null
null
Gavekort
null
Quantum computing.
null
0
1491215981
False
0
dfrk4dl
t3_6350ax
null
null
t1_dfric97
null
1493751842
4
t5_2fwo
null
null
null
null
UpBoat420
null
Go fuck yourself
null
0
1491216087
False
0
dfrk5pl
t3_62yl50
null
null
t1_dfr4sr5
null
1493751859
6
t5_2fwo
null
null
null
null
KrocCamen
null
Intel, hardware Decimal32 and Decimal64 plz. It's a chicken and an egg problem and its not like your processors are getting any faster -- we need more stuff to shift into hardware.
null
0
1491216238
False
0
dfrk7q5
t3_635ggh
null
null
t3_635ggh
null
1493751886
5
t5_2fwo
null
null
null
null
plistig
null
Are digraphs still allowed? I'd love to have my C++ code look like PHP: int main() <% ... %>
null
0
1491216625
False
0
dfrkcu6
t3_6350ax
null
null
t1_dfrjjoz
null
1493751955
47
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491216645
False
0
dfrkd3u
t3_633o3y
null
null
t1_dfrk1bl
null
1493751958
-10
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491216716
False
0
dfrke2p
t3_633o3y
null
null
t1_dfrjj9u
null
1493751972
6
t5_2fwo
null
null
null
null
dyu_ftw
null
Ok. You win :-)
null
0
1491216880
False
0
dfrkgcl
t3_633o3y
null
null
t1_dfrkd3u
null
1493752002
8
t5_2fwo
null
null
null
null
scorcher24
null
Why?
null
0
1491216975
False
0
dfrkhmy
t3_6350ax
null
null
t1_dfrkcu6
null
1493752019
21
t5_2fwo
null
null
null
null
scorcher24
null
> Whats Truer than True? Manowar
null
0
1491217037
False
0
dfrkihq
t3_6350ax
null
null
t1_dfriqpx
null
1493752031
67
t5_2fwo
null
null
null
null
emdeka87
null
All in all nothing to get overly excited about. Sadly. Fold expressions and constexpr if seem to be cool though.
null
0
1491217101
False
0
dfrkjd9
t3_6350ax
null
null
t3_6350ax
null
1493752042
-5
t5_2fwo
null
null
null
null
Mazo
null
You might be interested in Code of Honor if you haven't read it before. Different game, same company. http://www.codeofhonor.com/blog/the-making-of-warcraft-part-3 Scroll to "Playing against a human" for how the OP article relates.
null
0
1491217106
False
0
dfrkjft
t3_62yl50
null
null
t1_dfqe7yp
null
1493752043
1
t5_2fwo
null
null
null
null
tcanens
null
The only use case I know of is postfix `++`, aka "set to `true` and return the previous value": bool flag = false; for(...) { if(flag++) { // something you want to skip on the first iteration } } That need is now filled by C++14 `std::exchange`.
null
0
1491217216
False
0
dfrkkzx
t3_6350ax
null
null
t1_dfric97
null
1493752064
22
t5_2fwo
null
null
null
null
ThisIs_MyName
null
Yep and if your code increments bool, chances are it's already broken.
null
0
1491217276
False
0
dfrklun
t3_6350ax
null
null
t1_dfri9v8
null
1493752075
76
t5_2fwo
null
null
null
null
Double_A_92
null
Caching...
null
0
1491217351
False
0
dfrkmwn
t3_5mq3y4
null
null
t1_dc9ia6e
null
1493752090
1
t5_2fwo
null
null
null
null
Double_A_92
null
Thats what happens when you hire "full-stack" developpers to do the job of at least 5 people.
null
0
1491217476
False
0
dfrkood
t3_5mq3y4
null
null
t1_dc5qsg3
null
1493752114
1
t5_2fwo
null
null
null
null
dunerocks
null
Does it support easy interfacing to C?
null
0
1491217485
False
0
dfrkosl
t3_631p99
null
null
t3_631p99
null
1493752116
1
t5_2fwo
null
null
null
null
ve0m
null
Apart from the visual feedback you've already gotten, I would focus more on achievements and projects that you've done.
null
0
1491217890
False
0
dfrkumb
t3_635h86
null
null
t3_635h86
null
1493752193
1
t5_2fwo
null
null
null
null
Atsch
null
if you wanted something to always be true or false, why not use true or false instead.
null
0
1491217924
False
0
dfrkv41
t3_6350ax
null
null
t1_dfrjr9s
null
1493752199
13
t5_2fwo
null
null
null
null
jhi
null
Only four octets since Unicode Corrigendum One (http://www.unicode.org/versions/corrigendum1.html) in 2001 or RFC 3629 (https://tools.ietf.org/html/rfc3629) in 2003.
null
0
1491218081
False
0
dfrkxha
t3_6350ax
null
null
t1_dfriix7
null
1493752238
11
t5_2fwo
null
null
null
null
astrobe
null
It depends on your use case. If you use it to generate alien landscapes, slightly "unnatural" may be what you want. In our case, a similar algorithm is used to generate textures and normal maps for planets seen from orbit only. The variety is achieved by having per planet landmass/ocean ratios. We can't afford high details anyway since it has to be generated in the fly, in a fraction of a second.
null
0
1491218095
False
0
dfrkxor
t3_630cgb
null
null
t1_dfrj5wx
null
1493752251
1
t5_2fwo
null
null
null
null
uerb
null
As /u/tcanens said below, you can use it as a toggle to short-circuit part of a for loop during the first iteration. Still, it is not a clear notation, since you could expect "bool" to wrap around
null
0
1491218322
False
0
dfrl138
t3_6350ax
null
null
t1_dfrkv41
null
1493752599
1
t5_2fwo
null
null
null
null
tcanens
null
`--` has never worked on `bool` in C++. Basically the semantics here was somewhat similar to "`int` used as a boolean".
null
0
1491218516
False
0
dfrl42d
t3_6350ax
null
null
t1_dfrjr9s
null
1493752639
7
t5_2fwo
null
null
null
null
ioquatix
null
Isn't it obvious?
null
0
1491218527
False
0
dfrl483
t3_6350ax
null
null
t1_dfrkhmy
null
1493752641
77
t5_2fwo
null
null
null
null
uerb
null
Couldn't you get the same thing, without any confusion, by simply toggling the flag after the first iteration?
null
0
1491218567
False
0
dfrl4sp
t3_6350ax
null
null
t1_dfrkkzx
null
1493752648
23
t5_2fwo
null
null
null
null
scwizard
null
I understood some of those words!
null
0
1491218580
False
0
dfrl4zu
t3_6350ax
null
null
t3_6350ax
null
1493752651
36
t5_2fwo
null
null
null
null
i_tried_butt_fuck_it
null
Now kiss. :D
null
0
1491218639
False
0
dfrl5wq
t3_6344ep
null
null
t1_dfrhmww
null
1493752662
6
t5_2fwo
null
null
null
null
uerb
null
So, where is the ( |++> + |--> ) / sqrt(2) operator?
null
0
1491218649
False
0
dfrl61u
t3_6350ax
null
null
t1_dfrk4dl
null
1493752664
7
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491218656
False
0
dfrl653
t3_6350ax
null
null
t3_6350ax
null
1493752665
7
t5_2fwo
null
null
null