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
q0-
null
How exactly is [this](https://github.com/GJDuck/libf/blob/1049aa7ad65d11e6eaebd724a56cf0f487aa81f5/fvector.cpp#L156) an improvement over `std::vector<>::push_back`? As far as I can tell, you just reimplemented the *exact* same algorithm used by `vector::push_back`, except (probably very) poorly. It's also comple...
null
1
1491980659
False
0
dg5la84
t3_64wi07
null
null
t3_64wi07
null
1494001208
-6
t5_2fwo
null
null
null
null
EllaTheCat
null
> quietly started using tile-based rendering approaches (or just announced so openly) I did Tile Based Rendering back in the late 80s, the patents must be expiring, that "openly" remark is intriguing. I'm glad its day has finally come.
null
0
1491980716
False
0
dg5lb0m
t3_64wjj0
null
null
t3_64wjj0
null
1494001220
1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491980748
False
0
dg5lbf7
t3_64oqaq
null
null
t1_dg3zoak
null
1494001225
1
t5_2fwo
null
null
null
null
Eirenarch
null
When you work for a company that web developers hate and your tool comes late to the party but you still manage to change the way the world writes JavaScript because you are Anders Motherfucking Hejlsberg
null
1
1491980824
False
0
dg5lci2
t3_64u2vh
null
null
t3_64u2vh
null
1494001239
-2
t5_2fwo
null
null
null
null
rijoja
null
No but claiming that javascript is a bad language is absurd. It's a good and elegant language, that can solve certain program with much more ease and elegance than C#. For other problems this is not true, and of course qbasic isn't as good as C# or java.
null
0
1491980891
False
0
dg5lded
t3_64oqaq
null
null
t1_dg5244j
null
1494001250
0
t5_2fwo
null
null
null
null
covabishop
null
Positive little takeaway from this: I accidentally implemented Fisher-Yates without ever knowing about it! Before I knew about the `shuf` command, I wrote a quick and dirty Python script to take a playlist file with a song on every line and shuffle it once a day. Lo and behold, I implemented Fisher-Yates shuffle in a ...
null
0
1491980959
False
0
dg5leaz
t3_64uwoq
null
null
t3_64uwoq
null
1494001263
4
t5_2fwo
null
null
null
null
shameless_inc
null
How dare you thumb down Rise Against.
null
0
1491981117
False
0
dg5lgdg
t3_64uwoq
null
null
t1_dg5iawk
null
1494001291
84
t5_2fwo
null
null
null
null
megablast
null
Another one: flash was downloaded once and was a few mb, whereas electron is downloaded with every app and is huge.
null
0
1491981298
False
0
dg5lir9
t3_64oqaq
null
null
t1_dg3wuhy
null
1494001323
2
t5_2fwo
null
null
null
null
richdougherty
null
Out of interest, what sucks about Spotify's current shuffle?
null
0
1491981378
False
0
dg5ljvi
t3_64uwoq
null
null
t1_dg5izfe
null
1494001337
23
t5_2fwo
null
null
null
null
iEzhik
null
With Google Play Music I noticed that it doesn't seem to shuffle all that well at all. I don't know if I'm falling for the same failure of randomness recognition that the Spotify article talks about, but whenever I start playing music on shuffle from a song that starts with "A", I would be *very* unlikely to get a son...
null
0
1491981403
False
0
dg5lk81
t3_64uwoq
null
null
t1_dg5hu8j
null
1494001342
1
t5_2fwo
null
null
null
null
accidentalginger
null
This. A thousand times this.
null
0
1491981550
False
0
dg5lm5v
t3_64oqaq
null
null
t1_dg43pma
null
1494001368
1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491981725
1491981974
0
dg5locz
t3_64oqaq
null
null
t1_dg5f6sd
null
1494001398
2
t5_2fwo
null
null
null
null
headevershaker
null
Great! Not sure whether it was a joke or not, but what's definitely true is that it's a perfect description of a mindset reserving no room for criticism.
null
0
1491981816
False
0
dg5lpj3
t3_64r5j6
null
null
t1_dg4kv87
null
1494001413
2
t5_2fwo
null
null
null
null
zoomT
null
> How exactly is this an improvement over `std::vector<>::push_back`? The premise here is immutable replacements to `std` objects. Naively making `std::vector` immutable would require an O(n) array copy every `push_back` operation since the old copy must not be destroyed. `F::Vector` is immutable and suppor...
null
0
1491981833
False
0
dg5lprq
t3_64wi07
null
null
t1_dg5la84
null
1494001416
10
t5_2fwo
null
null
null
null
__crackers__
null
Hmm. Maybe I just perceive it as slow because I don't use VS Code all that much, and so whenever I do start it, it has a lot more housekeeping tasks to do, checking for updates etc. I have Sublime running constantly, so it probably manages to do most of that stuff when I'm not staring at it, waiting for it to open.
null
0
1491981862
False
0
dg5lq5z
t3_64oqaq
null
null
t1_dg594mi
null
1494001421
1
t5_2fwo
null
null
null
null
peex
null
I'm a developer and using both at work. If you want more performance disable aero and it's much better than 10.
null
0
1491981903
False
0
dg5lqpb
t3_64oqaq
null
null
t1_dg58az5
null
1494001428
1
t5_2fwo
null
null
null
null
rijoja
null
ah no no I didn't refer to you but the parent. I don't think javascript is a terrible language at all, but rather an elegant one. The DOM on the other hand...
null
0
1491981935
False
0
dg5lr4o
t3_64oqaq
null
null
t1_dg4iiw1
null
1494001434
1
t5_2fwo
null
null
null
null
marinespl
null
That's what I said.
null
0
1491982005
False
0
dg5lrzq
t3_64oqaq
null
null
t1_dg54dac
null
1494001446
1
t5_2fwo
null
null
null
null
KleptoBot
null
Yeah, but good luck keeping track of group boundaries.
null
0
1491982072
False
0
dg5lsus
t3_64uwoq
null
null
t1_dg5iq4f
null
1494001458
22
t5_2fwo
null
null
null
null
q0-
null
> but obviously not as fast as mutable `std::vector` So you're saying it's nothing but a proof-of-concept, that doesn't actually improve anything? I'm sorry if I'm being a killjoy right now, but the readme also really tries to make it seem that not being functional is essentially a bad thing, but the logic simply...
null
0
1491982169
False
0
dg5lu2l
t3_64wi07
null
null
t1_dg5lprq
null
1494001474
-7
t5_2fwo
null
null
null
null
Creshal
null
PySide looks like an incomplete mess tbh
null
0
1491982185
False
0
dg5lu8q
t3_64oqaq
null
null
t1_dg5i8xl
null
1494001476
0
t5_2fwo
null
null
null
null
FullNoodleFrontity
null
I don't know if my iPhone is gibbled or if Apple's algorithm is completely insane, but I'm sure I could replicate the shuffle algorithm perfectly as follows: 1. Select 12 random songs from the playlist and play them. 2. Select one random song from the playlist and substitute it for one of the 12 and play the *new* 12...
null
0
1491982241
False
0
dg5luyr
t3_64uwoq
null
null
t3_64uwoq
null
1494001486
3
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491982358
1492333455
0
dg5lwgn
t3_64oqaq
null
null
t1_dg5bxgz
null
1494001506
1
t5_2fwo
null
null
null
null
Phenidickbutt
null
Plays a song by "Emancipator"
null
0
1491982375
False
0
dg5lwoh
t3_64uwoq
null
null
t1_dg5kx0q
null
1494001508
59
t5_2fwo
null
null
null
null
zachary87921
null
The cef also has user level access to computer functionalities not available to normal websites, read/write to storage, access to I/o devices, open sockets.
null
0
1491982449
False
0
dg5lxm5
t3_64oqaq
null
null
t1_dg4skwq
null
1494001520
10
t5_2fwo
null
null
null
null
Yuushi
null
Metaprogramming is compile-time computation, immutable data structures are run-time data structures. Immutable data structures are (almost) never as fast as mutable variants, but can be useful, especially when multiple threads come into play, as there is no sharing of mutable data, hence locks aren't required. As a ni...
null
0
1491982486
1491986655
0
dg5ly3p
t3_64wi07
null
null
t1_dg5lu2l
null
1494001528
13
t5_2fwo
null
null
null
null
WaxyChocolate
null
Here is the Fisher-Yates shuffle in python: random.shuffle(lst)
null
0
1491982604
1491983009
0
dg5lzlk
t3_64uwoq
null
null
t1_dg5j3ck
null
1494001547
96
t5_2fwo
null
null
null
null
Juggernog
null
> multiple native apps Or, better yet, a single native app with a cross platform UI framework like Qt compiled on numerous platforms.
null
0
1491982610
False
0
dg5lzof
t3_64oqaq
null
null
t1_dg4azg7
null
1494001548
3
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491982700
1492195135
0
dg5m0uf
t3_64uwoq
null
null
t1_dg5jqq3
null
1494001564
12
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491982839
False
0
dg5m2ly
t3_64uwoq
null
null
t1_dg5m0uf
null
1494001588
-3
t5_2fwo
null
null
null
null
Owyn_Merrilin
null
This is the classic problem with shuffled play lists. It's less common now but back in the early 2000's it seemed like nothing was truly random, it was more like procedural generation with a very small number of possible seeds. Always seemed like maybe they were still using quick and dirty algorithms that were "good en...
null
0
1491982847
False
0
dg5m2ps
t3_64uwoq
null
null
t1_dg5gnl0
null
1494001590
2
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491982863
False
0
dg5m2wp
t3_64oqaq
null
null
t1_dg40foj
null
1494001592
1
t5_2fwo
null
null
null
null
WaxyChocolate
null
I know, I know. It's not the actual implementation. Here it is: def shuffle(lst): for i in reversed(range(1, len(lst))): j = int(random() * (i+1)) lst[i], lst[j] = lst[j], lst[i]
null
0
1491982920
1491984790
0
dg5m3lv
t3_64uwoq
null
null
t1_dg5lzlk
null
1494001601
47
t5_2fwo
null
null
null
null
flukus
null
Vim (and it's variants), emacs (and it's variants), notepad++, Kate, kakoune. There are plenty of native competitors, many from long before ST existed. Some from before html existed.
null
0
1491982920
False
0
dg5m3ly
t3_64oqaq
null
null
t1_dg41drx
null
1494001601
1
t5_2fwo
null
null
null
null
zoomT
null
This was not the intention. It was merely meant to point out that the current standard library classes are mutable and thus unsuitable for pure (side-effect free) functional programming. Of course, this assumes that the reader has decided they *want* pure functional programming in the first place. If not, then there...
null
0
1491982927
False
0
dg5m3p4
t3_64wi07
null
null
t1_dg5lu2l
null
1494001603
11
t5_2fwo
null
null
null
null
cypressious
null
Don't know about electron based git _alternatives_, but sure enough there's an electron based git _client_ https://www.gitkraken.com/
null
0
1491983039
False
0
dg5m54m
t3_64u2vh
null
null
t1_dg59zxr
null
1494001622
2
t5_2fwo
null
null
null
null
badsectoracula
null
Yeah, but as a user i'd take it if the alternative is Electron :-P.
null
0
1491983111
False
0
dg5m611
t3_64oqaq
null
null
t1_dg52uil
null
1494001633
1
t5_2fwo
null
null
null
null
_Mardoxx
null
>from scratch #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <signal.h> #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <sys/types.h> ...
null
0
1491983167
False
0
dg5m6q4
t3_64uinn
null
null
t3_64uinn
null
1494001644
-7
t5_2fwo
null
null
null
null
boris_the_boris
null
Compared to most other languages, C++ really does let you program in almost any style without punishing you for it. So if you want OOP, you do OOP. If you want functional, you do functional. I don't see the added value of what is going on there. You want "functional programming", you need to do basically two things: -...
null
0
1491983218
False
0
dg5m7c0
t3_64wi07
null
null
t3_64wi07
null
1494001651
-3
t5_2fwo
null
null
null
null
temp54098450984
null
Stuff like this is why I shouldn't be allowed to talk to users. Because I'd tell them that they're frikkin morons for complaining that "shuffle" shuffles songs rather than spacing them out all nice and orderly, and that when I implement their *feature request* it sure as hell won't be called "shuffle".
null
0
1491983246
False
0
dg5m7p0
t3_64uwoq
null
null
t3_64uwoq
null
1494001656
2
t5_2fwo
null
null
null
null
zerexim
null
You can work on Visual Studio in Visual Studio.
null
0
1491983300
False
0
dg5m8cn
t3_64u2vh
null
null
t1_dg5cm5y
null
1494001665
5
t5_2fwo
null
null
null
null
JDeltaN
null
Your site hijacked my scroll wheel.
null
0
1491983325
False
0
dg5m8ni
t3_64sycy
null
null
t3_64sycy
null
1494001669
1
t5_2fwo
null
null
null
null
skerit
null
My main problem with the shuffle is that I constantly hear the same songs. I have thousands of songs in my favourites, but 10 minutes after I press "Shuffle" one of the five Muse songs in the list will start playing.
null
0
1491983334
False
0
dg5m8rt
t3_64uwoq
null
null
t1_dg5i2s8
null
1494001670
130
t5_2fwo
null
null
null
null
Ph0X
null
Yep, that's the main complaint I always hear.
null
0
1491983356
False
0
dg5m929
t3_64uwoq
null
null
t1_dg5m8rt
null
1494001675
41
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491983411
1492195146
0
dg5m9ou
t3_64uwoq
null
null
t1_dg5m2ly
null
1494001683
6
t5_2fwo
null
null
null
null
Chief_slapah0
null
LONG.LIVE.JAVASCRIPT
null
1
1491983474
False
0
dg5mafy
t3_64w526
null
null
t3_64w526
null
1494001693
5
t5_2fwo
null
null
null
null
WarKiel
null
I actually stopped using Spotify and went over to Deezer because of this. There's this one band that I don't particularly like, but Spotify decided that I fucking LOVE that band and started putting in their songs in almost every playlist radio I used. Thumbed them down every single time they popped up. Almost felt li...
null
0
1491983506
False
0
dg5matx
t3_64uwoq
null
null
t1_dg5iawk
null
1494001698
13
t5_2fwo
null
null
null
null
skerit
null
I thought this was weird, though: > We noticed that some people don’t want the same artist playing two or three times within a short time period Does anyone actually like that? Couldn't they have figured that out by using their own application?
null
0
1491983571
False
0
dg5mbmn
t3_64uwoq
null
null
t1_dg5hkp8
null
1494001710
26
t5_2fwo
null
null
null
null
skerit
null
Ok great, that means I'm not going crazy. I have thousands of songs in my Favourites playlist, and I swear everytime I press shuffle some songs start playing in an order I've already heard.
null
0
1491983685
False
0
dg5md2e
t3_64uwoq
null
null
t1_dg5gnl0
null
1494001730
10
t5_2fwo
null
null
null
null
Noxfag
null
Sad to hear this. Before it was banned in my country back in 2007/08 it was a really clever service, lots of great reccomendations.
null
0
1491983770
False
0
dg5me4u
t3_64uwoq
null
null
t1_dg5ikqi
null
1494001744
18
t5_2fwo
null
null
null
null
Yuushi
null
There's no real support for **pure** functional programming, of which immutable data structures are a part (although this also provides a discriminated union, which has been in boost for a long time, and `std::variant` will be in C++17).
null
0
1491983814
False
0
dg5menp
t3_64wi07
null
null
t1_dg5m7c0
null
1494001750
11
t5_2fwo
null
null
null
null
ygra
null
It's not the same, though, as the C# version is an IEnumerable that shuffles only on demand. So if you need only the first three shuffled items, you're not going to shuffle the whole 10k-item list.
null
0
1491983866
False
0
dg5mfas
t3_64uwoq
null
null
t1_dg5m3lv
null
1494001759
12
t5_2fwo
null
null
null
null
jaapz
null
In my experience it gives way more weight to songs you like, which means if you listen to a large playlist for a few hours, the same songs will be played multiple times even though you're not through the entire playlist yet.
null
0
1491983929
False
0
dg5mg2a
t3_64uwoq
null
null
t1_dg5ljvi
null
1494001770
79
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491983976
1492087340
0
dg5mgmr
t3_64os39
null
null
t1_dg5b5rn
null
1494001777
1
t5_2fwo
null
null
null
null
d4rch0n
null
You know range can take a third parameter which specifies the increment right? You can just pass -1 for it to go backwards (but you have to do `range(len(lst) - 1, 0, -1)` to make that equivalent and end at 1). I guess reversed is kind of easier to read in this case.
null
0
1491984036
False
0
dg5mhdg
t3_64uwoq
null
null
t1_dg5m3lv
null
1494001787
2
t5_2fwo
null
null
null
null
florensie
null
Random.org claims they have 'true randomness' because they use space-noise as input. EDIT: why is the guy above me being downvoted?
null
0
1491984094
1491993169
0
dg5mi31
t3_64uwoq
null
null
t1_dg5l24t
null
1494001796
2
t5_2fwo
null
null
null
null
masklinn
null
> Does anyone actually like that? I really don't mind.
null
0
1491984103
False
0
dg5mi74
t3_64uwoq
null
null
t1_dg5mbmn
null
1494001797
115
t5_2fwo
null
null
null
null
RetardedSquirrel
null
It's almost as if they get paid to promote certain songs/artists in your shuffle/recommendations/radio.
null
0
1491984190
False
0
dg5mj9m
t3_64uwoq
null
null
t1_dg5k6ip
null
1494001812
4
t5_2fwo
null
null
null
null
recycled_ideas
null
No, you said chrome. The app actually targets the web.
null
0
1491984207
False
0
dg5mjgx
t3_64oqaq
null
null
t1_dg5lrzq
null
1494001815
0
t5_2fwo
null
null
null
null
simoneobo
null
http://wallpaperawesome.com/wallpapers-awesome/wallpapers-operating-system-android-ios-apple-windows-awesome/wallpaper-drinking-windows-linux.jpg
null
0
1491984316
False
0
dg5mkrf
t3_64wk0y
null
null
t3_64wk0y
null
1494001831
-37
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491984328
1492019787
0
dg5mkwn
t3_64uwoq
null
null
t1_dg5m9ou
null
1494001833
-12
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491984350
False
0
dg5ml70
t3_64u2vh
null
null
t1_dg5j75s
null
1494001837
23
t5_2fwo
null
null
null
null
SmokeFrosting
null
I do.
null
0
1491984387
False
0
dg5mlmf
t3_64uwoq
null
null
t1_dg5mbmn
null
1494001844
35
t5_2fwo
null
null
null
null
boris_the_boris
null
Well, not just C++, even C will let you do purely functional programming. The huge advantage of C++ comes from having templates. I know this is a silly example but I hope it bring the point across: int string_length(char* s) { char* p = s; while (*p != '\0') ++p; return (p -...
null
0
1491984437
False
0
dg5mm9d
t3_64wi07
null
null
t3_64wi07
null
1494001852
7
t5_2fwo
null
null
null
null
smallblacksun
null
> Milliseconds per frame is a better gauge of performance than frames per second. I don't understand what you mean here. They are measuring exactly the same thing.
null
0
1491984453
False
0
dg5mmh2
t3_64qhv2
null
null
t1_dg53b2n
null
1494001855
1
t5_2fwo
null
null
null
null
d4rch0n
null
You can do yield in python too. This is pretty much the exact equivalent of the C# version: from random import randint def shuffle_iterator(src): buf = list(src) for i in range(len(buf)): j = randint(i, len(buf) - 1) yield buf[j] buf[j] = buf[i] https://rep...
null
0
1491984455
1491987932
0
dg5mmhq
t3_64uwoq
null
null
t1_dg5mfas
null
1494001855
30
t5_2fwo
null
null
null
null
Viker_
null
The way I read the article it says: "You are just a tool: your competency, your knowledge, and your experience mean nothing if you don't play nice, because you are just a replaceable tool" You know sometimes its better to have a competent jerk than a nice idiot...
null
0
1491984485
False
0
dg5mmuh
t3_64sdig
null
null
t3_64sdig
null
1494001859
3
t5_2fwo
null
null
null
null
WaxyChocolate
null
This is a slight alteration of the official implementation: https://hg.python.org/cpython/file/2e8b28dbc395/Lib/random.py#l276 Changed `x` to `lst` and removed some arguments which obscured the point. And switched to `range` vs `xrange` because I'm a python3 fanboy.
null
0
1491984494
False
0
dg5mmyd
t3_64uwoq
null
null
t1_dg5mhdg
null
1494001861
6
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491984545
False
0
dg5mnjr
t3_64wq2f
null
null
t3_64wq2f
null
1494001870
-3
t5_2fwo
null
null
null
null
Kozmyn
null
Reading the comments on that blog and the ones here it's clear that they either don't shuffle the playlist and just serve random songs from it, or the users click shuffle whenever they don't like the song instead of clicking next.
null
0
1491984561
False
0
dg5mnq2
t3_64uwoq
null
null
t3_64uwoq
null
1494001872
1
t5_2fwo
null
null
null
null
The_frozen_one
null
> Spent 45 minutes during my walk creating a beautifully long response, only to have it deleted as when I submitted it, as I didn't have a cellular connection Ouch, that sucks! I appreciate you taking the time to re-writing your reply. > Qt actually works just fine for closed-source applications as it's dual-li...
null
0
1491984592
False
0
dg5mo2v
t3_64oqaq
null
null
t1_dg5jodl
null
1494001876
1
t5_2fwo
null
null
null
null
steamruler
null
Congrats, you baited me, here you go: >So your app will look like it's 10 years old, be impossible to style correctly, and take 300% longer to write? Sign me up! It looks like it belongs on the target platform. If it looks 10 years old, it's because the OS looks or is 10 years old. I also find grid-container based...
null
0
1491984593
False
0
dg5mo3r
t3_64oqaq
null
null
t1_dg4jvqv
null
1494001877
1
t5_2fwo
null
null
null
null
Edmang
null
Isn't the article saying that the Fisher-Yates alg did give them random shuffles, but there are some random shuffles that users don't like?
null
0
1491984595
False
0
dg5mo49
t3_64uwoq
null
null
t1_dg5jtif
null
1494001877
4
t5_2fwo
null
null
null
null
MagicMurderBagYT
null
What exactly is the difference between true immutability and const?
null
0
1491984599
False
0
dg5mo5s
t3_64wi07
null
null
t1_dg5menp
null
1494001878
2
t5_2fwo
null
null
null
null
badsectoracula
null
Yeah, but this is mainly an issue with Qt on Windows (GOG Galaxy which also uses Qt comes with a bunch of DLLs). The only DLL you need for Qt with Lazarus is the qt4pas one (which is needed to provide a C interface for Qt so that Free Pascal can import it).
null
0
1491984656
False
0
dg5mosk
t3_64oqaq
null
null
t1_dg53eii
null
1494001887
1
t5_2fwo
null
null
null
null
jocap
null
What external service? I'd love to try it.
null
0
1491984675
False
0
dg5mp04
t3_64uwoq
null
null
t1_dg5ksf8
null
1494001889
3
t5_2fwo
null
null
null
null
The_frozen_one
null
[I think this GIF is called for :\)](http://i.imgur.com/4MmX4zh.gif)
null
0
1491984740
False
0
dg5mps7
t3_64oqaq
null
null
t1_dg4xtsy
null
1494001900
2
t5_2fwo
null
null
null
null
steamruler
null
Just like any other Uncanny Valley, it gets pretty much exponentially harder to improve it the closer to 100% you get.
null
0
1491984743
False
0
dg5mpta
t3_64oqaq
null
null
t1_dg4tgvz
null
1494001900
1
t5_2fwo
null
null
null
null
d4rch0n
null
Ha, nice. I really should spend some time reading through the stdlib code... it'd be good to know exactly how they implemented that stuff.
null
0
1491984757
False
0
dg5mpzb
t3_64uwoq
null
null
t1_dg5mmyd
null
1494001902
1
t5_2fwo
null
null
null
null
unbiasedswiftcoder
null
A UI design were new windows steal your keyboard focus, so your typing <return> in the terminal accepts some system window popping up without giving you time to even read, potentially doing some blunder in another app, is not a very well designed UI in my book.
null
0
1491984956
False
0
dg5msaf
t3_64r2vr
null
null
t1_dg5iulj
null
1494001935
1
t5_2fwo
null
null
null
null
WaxyChocolate
null
The major cost of the C# implementation is this `List<T> buffer = source.ToList();`. This means any improvement you do is just a constant factor increased in complexity, i.e., going from O(n) to O(2n). No big deal.
null
0
1491984991
False
0
dg5msp5
t3_64uwoq
null
null
t1_dg5mfas
null
1494001940
9
t5_2fwo
null
null
null
null
Edmang
null
The problem is that their users didn't consider true randomness to be a good "shuffle", because true randomness can create clusters (in this case, consecutive songs from the same artist/album).
null
0
1491985000
False
0
dg5mssb
t3_64uwoq
null
null
t1_dg5l99c
null
1494001941
2
t5_2fwo
null
null
null
null
boris_the_boris
null
I agree, the standard library containers were not really made with immutability as a primary concern.
null
0
1491985051
False
0
dg5mtcu
t3_64wi07
null
null
t1_dg5menp
null
1494001949
1
t5_2fwo
null
null
null
null
Supadoplex
null
The code does define a ton of identifiers that start with _ and an upper case, so the behaviour is undefined. While usage of _ before every variable is a decent nit to pick, the use of reserved identifiers is more than that. It is a bug.
null
0
1491985098
False
0
dg5mtvl
t3_64wi07
null
null
t1_dg5ly3p
null
1494001956
3
t5_2fwo
null
null
null
null
WaxyChocolate
null
I know. For instance, I don't really know why they reversed the order of the list in the first place.
null
0
1491985117
False
0
dg5mu30
t3_64uwoq
null
null
t1_dg5mpzb
null
1494001958
1
t5_2fwo
null
null
null
null
steamruler
null
I started using it back when you had to make an account in France to join the Beta. Shuffle has always sucked. Maybe slightly less now, but it's most certainly weighted poorly.
null
0
1491985203
False
0
dg5mv33
t3_64uwoq
null
null
t1_dg5cmg7
null
1494001972
5
t5_2fwo
null
null
null
null
DiscoverYourFuck-bot
null
As a person who has set up my playlists to play specific songs after or before specific songs, I think the shuffle is great. Because it rarely ever plays those songs together.
null
0
1491985242
False
0
dg5mvk0
t3_64uwoq
null
null
t3_64uwoq
null
1494001978
1
t5_2fwo
null
null
null
null
logicalLove
null
Which is actually pretty good I might add.
null
0
1491985264
False
0
dg5mvu2
t3_64u2vh
null
null
t1_dg5m54m
null
1494001982
8
t5_2fwo
null
null
null
null
boris_the_boris
null
I guess the point is that if you have an "immutable" stack, for example, and you push something to it, then you just need one extra memory allocation and a pointer to the new top; since everything is immutable, whoever is still holding on the the now second element in the stack still has a valid stack, one element shor...
null
0
1491985308
False
0
dg5mwcf
t3_64wi07
null
null
t1_dg5mo5s
null
1494001989
2
t5_2fwo
null
null
null
null
logicalLove
null
Am web dev. Am very into static typing.
null
0
1491985339
False
0
dg5mwou
t3_64u2vh
null
null
t1_dg5jax9
null
1494001993
1
t5_2fwo
null
null
null
null
Yuushi
null
You can apply `const` to values where the underlying value can change, for one: int i = 1; const int& j = i; // Cannot modify j, but its value can change since i is mutable. `const` is also not deep: #include <memory> #include <vector> #include <iostream> void some_...
null
0
1491985409
1491985667
0
dg5mxjc
t3_64wi07
null
null
t1_dg5mo5s
null
1494002005
11
t5_2fwo
null
null
null
null
Supadoplex
null
Purely functional, but also potential overflow of stack with long argument string if the recursion isn't tail optimized. To allow strict functional programming, the language must in practice guarantee tail call optimization. Neither C nor C++ guarantees.
null
0
1491985457
1491985858
0
dg5my47
t3_64wi07
null
null
t1_dg5mm9d
null
1494002013
21
t5_2fwo
null
null
null
null
steamruler
null
It's pretty much impossible to prove that something is truly random, but it's at least highly random.
null
0
1491985471
False
0
dg5mya6
t3_64uwoq
null
null
t1_dg5mi31
null
1494002015
1
t5_2fwo
null
null
null
null
BezierPatch
null
>*Does the number of users impact the limit?* >The limit is per group, regardless of how many users are in the group. So you pay per user but don't get extra minutes per user? O.o
null
0
1491985546
False
0
dg5mz5n
t3_64wq2f
null
null
t3_64wq2f
null
1494002026
15
t5_2fwo
null
null
null
null
Noxime
null
WSL has to be one of the coolest things windows 10 has brought. I love working with linux and its command line, but windows feels "safe", so I don't want to switch over full time. WSL has really helped me in day to day work, even with simple stuff like ssh.
null
0
1491985578
False
0
dg5mzi6
t3_64wk0y
null
null
t3_64wk0y
null
1494002031
76
t5_2fwo
null
null
null
null
boris_the_boris
null
Yes indeed.
null
0
1491985638
False
0
dg5n07t
t3_64wi07
null
null
t1_dg5my47
null
1494002041
4
t5_2fwo
null
null
null
null
diggr-roguelike
null
> because if I ever try Nidium and I run into some CSS or HTML that behaves differently than on a browser I think I would drop this like a hot potato. Maybe you should have read the FA, because behaving differently than a browser is their whole shtick.
null
0
1491985685
False
0
dg5n0rz
t3_64w526
null
null
t1_dg5jmfr
null
1494002048
9
t5_2fwo
null
null
null
null
Poddster
null
I'm getting Deja vu -- didn't I read this exact article last month? But the date on this one is yesterday?
null
0
1491985685
False
0
dg5n0s1
t3_64sdig
null
null
t3_64sdig
null
1494002048
1
t5_2fwo
null
null
null
null
thecodingdude
null
It's one of the most important changes in the last few decades. Bash is _the_ shell that both DOS and Powershell could never match, and now instead of developers offering Windows compatible binaries, you can just apt-get install ffmpeg and use it as if you were on Linux. This can only be a major, major net positive go...
null
0
1491985767
False
0
dg5n1qz
t3_64wk0y
null
null
t1_dg5mzi6
null
1494002061
24
t5_2fwo
null
null
null
null
shevegen
null
"We are happy to say that teams at Google have a choice between many client side languages and can choose the best one for their needs." Wait a moment ... Why does Google develop NEW languages then? Because he is saying that they can choose the best one for their needs. But if new languages are developed, it would b...
null
0
1491985773
False
0
dg5n1u1
t3_64v6zv
null
null
t3_64v6zv
null
1494002062
1
t5_2fwo
null
null
null