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
False
davidk01
t2_1c5pc
I don't know enough to say whether this is correct or not and whether it sidesteps the problem. There are type theories where proofs are relevant so they actually matter at runtime.
null
0
1544669493
False
0
ebob126
t3_a5iior
null
null
t1_ebo745p
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebob126/
1547539482
2
t5_2fwo
r/programming
public
null
False
Dumfing
t2_tgcfm
Does it get stuck on a 3 dot line
null
0
1545977001
False
0
ecpnhb6
t3_aa72q0
null
null
t1_ecpm4n4
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpnhb6/
1548168504
7
t5_2fwo
r/programming
public
null
False
charles_milette
t2_uy68a
I never heard about plans to integrate an X server, care to share a source?
null
0
1544669680
False
0
ebob8l1
t3_a5hkyo
null
null
t1_ebmyzes
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebob8l1/
1547539575
2
t5_2fwo
r/programming
public
null
False
hillgod
t2_m3mo
The code! We want the code!
null
0
1545977114
False
0
ecpnl8v
t3_aa72q0
null
null
t3_aa72q0
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpnl8v/
1548168552
11
t5_2fwo
r/programming
public
null
False
Golden_Venom
t2_138ts1
Thank you! :)
null
0
1544669716
False
0
eboba1e
t3_a56d72
null
null
t1_ebnlzuf
/r/programming/comments/a56d72/time_lapse_of_programming_a_simple_game/eboba1e/
1547539592
1
t5_2fwo
r/programming
public
null
False
stronghup
t2_3mx3u
I find it funny how looks of an IDE are important for programmers too. I agree they are important, for me as well. But I wonder why. What should really matter is the FUNCTIONALITY of the IDE not how beautiful its fonts look. Somehow I feel more satisfaction from the code I write when it is also rendered beautifully, with beautiful fonts. But of course that has very little to do with how many bugs there are in it, how many bugs the IDE helps me find. ​
null
0
1545977168
False
0
ecpnn3f
t3_aa05by
null
null
t1_ecp4lkw
/r/programming/comments/aa05by/netbeans_100_released/ecpnn3f/
1548168575
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544669940
False
0
ebobizp
t3_a59umh
null
null
t1_ebm5bxg
/r/programming/comments/a59umh/javascript_interview_question_who_is_the_first/ebobizp/
1547539702
1
t5_2fwo
r/programming
public
null
False
chipstastegood
t2_h2vq6
You step through all your code after writing it, correct? And you write tests to validate use cases and error conditions, right? All that works equally well with dynamic types Static types are often used as an excuse to cut corners in debugging and testing. “But it compiled just fine”
null
0
1545977273
False
0
ecpnqji
t3_a9q0uh
null
null
t1_ecnav9g
/r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecpnqji/
1548168640
1
t5_2fwo
r/programming
public
null
False
ajs124
t2_8rb7x
Obviously. I mean, they only great thing about X11 is it's extensible and backwards compatibility, but it's still kind of weird, to see running on top of Windows, without some hack, but coming from Microsoft themselves.
null
0
1544669990
False
0
ebobkwz
t3_a5hkyo
null
null
t1_ebnz2og
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebobkwz/
1547539726
1
t5_2fwo
r/programming
public
null
False
AlotOfReading
t2_7lpej
You can encode any program in some amount of hardware, but not necessarily in a particular finite amount of parallel hardware. You're right though, hardware can get away from the bottleneck problem and I was incorrect.
null
0
1545977315
False
0
ecpnrzs
t3_aa3ojc
null
null
t1_ecpe5at
/r/programming/comments/aa3ojc/pessimism_about_parallelism_are_more_that_two/ecpnrzs/
1548168657
1
t5_2fwo
r/programming
public
null
False
swick_
t2_bmqwg
Personally I dislike fuchsia because it's not copyleft.
null
0
1544670010
False
0
eboblpz
t3_a5ikq1
null
null
t1_ebnn673
/r/programming/comments/a5ikq1/fuchsia_sdk_is_now_included_into_android_open/eboblpz/
1547539736
12
t5_2fwo
r/programming
public
null
False
caleblafeve
t2_1v3gigc6
https://github.com/TechNerd1/gameoflifegame
null
0
1545977315
False
0
ecpns06
t3_aa72q0
null
null
t1_ecpnl8v
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpns06/
1548168657
15
t5_2fwo
r/programming
public
null
False
amplex1337
t2_66r1y
This is incredibly detailed and insightful. Thanks for the write-up!
null
0
1544670156
False
0
ebobrdn
t3_a5hkyo
null
null
t3_a5hkyo
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebobrdn/
1547539835
1
t5_2fwo
r/programming
public
null
False
hillgod
t2_m3mo
Bad ass. Thanks!
null
0
1545977372
False
0
ecpntyv
t3_aa72q0
null
null
t1_ecpns06
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpntyv/
1548168683
3
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
I believe it was something like, "Scan a password file and print a listing of usernames for each UID." It was an infosec job, and imagine that they're looking to see if some hacker changed a UID to be the same as root, or something. I ended up with something vaguely like this: awk -F: '{x[$3] = x[$3] " " $1} END { for(i in x) print(i ":" x[i]) }' < passwd The company does a lot of source code analysis for finding vulnerabilities, so I suspect most of their interviewees would write something up in C. At least, every "look at this code and tell me what's wrong with it" question was C code, so there was some bias in the interview. Sample output happened to be super easy to match with my one-liner: 0: root games abrt 1: bin dbus 2: daemon 3: adm 4: lp <snip>
null
0
1544670470
False
0
eboc3ne
t3_a5i57x
null
null
t1_ebo679l
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/eboc3ne/
1547539988
6
t5_2fwo
r/programming
public
null
False
EsotericFox
t2_31fcu
Not everything needs to be forth. As people have told you before, seems like RPN is your hammer and everything is a nail.
null
0
1545977427
False
0
ecpnvt9
t3_aa75kj
null
null
t3_aa75kj
/r/programming/comments/aa75kj/proposal_rpn_as_super_macro_for_cc_code/ecpnvt9/
1548168706
2
t5_2fwo
r/programming
public
null
False
beta2release
t2_1y5lv7
That is exactly what they are doing. They have started porting the [Android Framework](https://9to5google.com/2018/11/09/fuchsia-friday-java-borrowing-from-android/) to Fuchsia.
null
0
1544670737
False
0
eboce7h
t3_a5ikq1
null
null
t1_ebnuz4p
/r/programming/comments/a5ikq1/fuchsia_sdk_is_now_included_into_android_open/eboce7h/
1547540118
5
t5_2fwo
r/programming
public
null
False
caleblafeve
t2_1v3gigc6
No, I have it add all the cells in one frame and if the sum of all the cells is the same the next frame then it resets. The 3 dot always gives the same sum every frame, it just switches back and forth.
null
0
1545977434
False
0
ecpnw37
t3_aa72q0
null
null
t1_ecpnhb6
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpnw37/
1548168709
7
t5_2fwo
r/programming
public
null
False
13steinj
t2_i487l
To note this is outdated. Reddit stopped being open source 2 years ago. Even while open source, * The "hot" algorithm went through a variety of secret changes * so did the front page algorithm * now we have "best" for posts, which is not "best" for comments * it's extremely possible the comment sorts have changed, I ran the math on a variety of comments recently and found that the best sort on site did not match the open source version, but I'm not sure if my findings are statistically significant, and I'm explicitly biased in finding comments that specifically break the rule.
null
0
1544670797
False
0
ebocgjz
t3_a5gx0c
null
null
t3_a5gx0c
/r/programming/comments/a5gx0c/how_reddit_ranking_algorithms_work_hacking_and/ebocgjz/
1547540146
5
t5_2fwo
r/programming
public
null
False
TheOsuConspiracy
t2_j9ui7
No-op branches can often be dealt with via monadic error handling. That would statically ensure that conditions like failures or possibly null states are handled without explicitly adding branches even for no-op cases.
null
0
1545977448
False
0
ecpnwk9
t3_aa3qdm
null
null
t1_ecpex0t
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecpnwk9/
1548168715
23
t5_2fwo
r/programming
public
null
False
beta2release
t2_1y5lv7
They have [documentation](https://fuchsia.googlesource.com/docs/+/master/the-book/). They explain how it works just not why they are making it.
null
0
1544670935
False
0
eboclu0
t3_a5ikq1
null
null
t1_ebnjiqx
/r/programming/comments/a5ikq1/fuchsia_sdk_is_now_included_into_android_open/eboclu0/
1547540212
5
t5_2fwo
r/programming
public
null
False
chiagod
t2_4fkca
TIL: Conway's game of life is not the board game. Now I'm (maybe) less confused about all the [slashdot news articles about it](https://www.google.com/search?q=site%3Aslashdot.org+conway%27s+game+of+life).
null
0
1545977497
False
0
ecpny9x
t3_aa72q0
null
null
t1_ecpk57x
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpny9x/
1548168736
7
t5_2fwo
r/programming
public
null
False
magnora7
t2_mddsa
Okay smaller font, can do. If you want to browse on desktop, then don't go to m.saidit.net. Go to saidit.net. That's sort of the whole point
null
0
1544671033
False
0
ebocpp7
t3_a5lhnh
null
null
t1_ebo74pj
/r/programming/comments/a5lhnh/saiditnet_now_has_a_mobile_interface_looking_for/ebocpp7/
1547540259
2
t5_2fwo
r/programming
public
null
False
caleblafeve
t2_1v3gigc6
Np :)
null
0
1545977541
False
0
ecpnzo8
t3_aa72q0
null
null
t1_ecpntyv
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpnzo8/
1548168753
3
t5_2fwo
r/programming
public
null
False
butsbutts
t2_13o6yh
i've always wondered how people hack drm!
null
0
1544671037
False
0
ebocpvj
t3_a5hkyo
null
null
t3_a5hkyo
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebocpvj/
1547540261
2
t5_2fwo
r/programming
public
null
False
hillgod
t2_m3mo
Alright, this article is crap, and the intro is a rambling mess that provides no value. I've been getting some random errors from Watson speech-to-text, and was hoping for, perhaps, actual audio samples and their results? This is useless.
null
0
1545977732
False
0
ecpo5og
t3_a9z26i
null
null
t3_a9z26i
/r/programming/comments/a9z26i/comparison_of_the_top_speech_processing_apis/ecpo5og/
1548168828
3
t5_2fwo
r/programming
public
null
False
hopfield
t2_15y1ak
I don’t see why xterm.js couldn’t just go ahead and implement whatever they needed to do and bump the version number.
null
0
1544671103
False
0
ebocsd0
t3_a5mk9z
null
null
t1_ebo0k64
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebocsd0/
1547540292
53
t5_2fwo
r/programming
public
null
False
AttackOfTheThumbs
t2_79zad
I can't explain it, but this had me laughing out loud, because it reminds me of someone in my office.
null
0
1545978000
False
0
ecpodhk
t3_aa3qdm
null
null
t1_ecpj533
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecpodhk/
1548168925
17
t5_2fwo
r/programming
public
null
False
magnora7
t2_mddsa
I have relative font sizes for the vote numbers, but I'll look in to shrinking the overall font, most people say it's too large apparently.
null
0
1544671185
False
0
ebocvhg
t3_a5lhnh
null
null
t1_ebnrje0
/r/programming/comments/a5lhnh/saiditnet_now_has_a_mobile_interface_looking_for/ebocvhg/
1547540331
2
t5_2fwo
r/programming
public
null
False
OneWingedShark
t2_bx7wh
>One is not having the right tools. Most languages don’t support anything but mutex-and-mailbox, which has the advantage that the primitives are easy to implement but the disadvantage that it induces horrible complexity explosions and is nigh-impossible to model accurately in your head at scales over about four interacting locks. This is one *major* reason I'd recommend looking at Ada for any concurrent/parallel program of non-trivial complexity: the `Task` construct makes it easy and natural to decompose parallel-processes across their logical boundaries. -- Yes, that is a rather coarse-grained level, but for many things it's more than enough... and if you really need fine-grained parallelism, the Ada 2020 standard has `parallel` blocks & loops to do so. ​
null
0
1545978139
False
0
ecpohfb
t3_aa3ojc
null
null
t3_aa3ojc
/r/programming/comments/aa3ojc/pessimism_about_parallelism_are_more_that_two/ecpohfb/
1548168973
3
t5_2fwo
r/programming
public
null
False
HowDoIDoFinances
t2_14s0va9q
Pure functions plus mocks is the answer to this. Sounds like OP has some stateful side effect fuckery going on.
null
0
1544671199
False
0
ebocw10
t3_a5iior
null
null
t1_ebmxx5s
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebocw10/
1547540337
4
t5_2fwo
r/programming
public
null
False
lexchou
t2_1c9bc
I tried it, it's really a good IDE, but I still think the top priority in the next version is to make it not looks like a stone-age toy. ​
null
0
1545978143
False
0
ecpohjb
t3_aa05by
null
null
t3_aa05by
/r/programming/comments/aa05by/netbeans_100_released/ecpohjb/
1548168974
5
t5_2fwo
r/programming
public
null
False
ryankearney
t2_3gdil
People who think "SSL Certificates" are a thing.
null
0
1544671304
False
0
ebod004
t3_a5kkr5
null
null
t1_ebnk8so
/r/programming/comments/a5kkr5/everything_you_should_know_about_certificates_and/ebod004/
1547540417
-2
t5_2fwo
r/programming
public
null
False
chipstastegood
t2_h2vq6
That would be a significant data loss that would affect compliance with government regulation including adherence to pricing regulation Just because you can’t imagine what the issues might be, doesn’t mean they’re not there
null
0
1545978147
False
0
ecpohnn
t3_a3dobm
null
null
t1_eb7e44u
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/ecpohnn/
1548168976
0
t5_2fwo
r/programming
public
null
False
AyrA_ch
t2_8mz48
Too bad if you lose your key or if the hidden service to update the canary becomes unavailable
null
0
1544671763
False
0
ebodhrr
t3_a57th7
null
null
t1_ebo720z
/r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebodhrr/
1547540635
1
t5_2fwo
r/programming
public
null
False
agumonkey
t2_62nu4
more, for the curious https://dl.acm.org/citation.cfm?id=3191317&dl=ACM&coll=DL#URLTOKEN#
null
0
1545978314
False
0
ecpome4
t3_aa7aea
null
null
t3_aa7aea
/r/programming/comments/aa7aea/the_essence_of_datalog/ecpome4/
1548169040
2
t5_2fwo
r/programming
public
null
False
zardeh
t2_8npx0
But unit tests are very good at solving the incompatible interface issue. So unit tests + purity does solve exactly that problem.
null
0
1544671778
False
0
ebodief
t3_a5iior
null
null
t1_ebnp4le
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebodief/
1547540643
2
t5_2fwo
r/programming
public
null
False
Toast42
t2_455ro
Spaceship!
null
0
1545978363
False
0
ecponrn
t3_aa72q0
null
null
t3_aa72q0
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecponrn/
1548169057
2
t5_2fwo
r/programming
public
null
False
thezapzupnz
t2_bmur7
No, hyperbole isn't the only way. Believe it or not, developers value comprehensive and accurate information. Look at Hacker News; hyperbolic clickbait is called out in the first few comments, and then the other hundred or so are on something completely different because people became aware the article wasn't worth the time. We're probably the demographic least susceptible to clickbait.
null
0
1544671854
False
0
ebodle9
t3_a4vfjo
null
null
t1_ebklf7x
/r/programming/comments/a4vfjo/flutter_will_change_everything_and_apple_wont_do/ebodle9/
1547540681
2
t5_2fwo
r/programming
public
null
False
Hoten
t2_7rku0
[whaaaat](https://youtu.be/mPn2AdMH7UQ?t=329)
null
0
1545978414
False
0
ecpop4g
t3_aa72q0
null
null
t1_ecpldiv
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpop4g/
1548169075
7
t5_2fwo
r/programming
public
null
False
balefrost
t2_6lw8n
There are multiple ways of measuring coverage - there's e.g. line-based and branch-based. I don't know if such a tool exists, but a suitably clever tool could realize that there's an implied branch depending on whether `share` is `0` or nonzero. That is to say, `/` could be approximated as: if (denominator == 0) { throw new ArithmeticException(); } else { return safe_divide(numerator, denominator); } ... and a code coverage tool could treat it as such. Like I said, I don't know if any tool does do that. I presume that some do.
null
0
1544671948
False
0
ebodp18
t3_a5iior
null
null
t1_ebnuwyl
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebodp18/
1547540725
1
t5_2fwo
r/programming
public
null
False
dponyatov
t2_1exzhp7z
FORTH is great as the CLI command-line shell. Really, even in the cloud computing era of 16 cores processors. And especially on microcontroller-based external I/O hardware devices (Arduino level etc).
null
0
1545978436
False
0
ecpopt2
t3_a9e0a5
null
null
t1_ecilxzg
/r/programming/comments/a9e0a5/programming_a_problemorientedlanguage/ecpopt2/
1548169085
1
t5_2fwo
r/programming
public
null
False
AffectionateTotal7
t2_2ku10f9f
My point was more about tablets. Unless you're expecting tablets with high res will use desktop version of pages?
null
0
1544672100
False
0
ebodv2j
t3_a5lhnh
null
null
t1_ebocpp7
/r/programming/comments/a5lhnh/saiditnet_now_has_a_mobile_interface_looking_for/ebodv2j/
1547540800
2
t5_2fwo
r/programming
public
null
False
joshuaavalon
t2_kotsw
Every time I see Conway's Game of Life, I remember [there are people built a working game of Tetris in Conway's Game of Life](https://codegolf.stackexchange.com/questions/11880/build-a-working-game-of-tetris-in-conways-game-of-life).
null
0
1545978443
False
0
ecpoq04
t3_aa72q0
null
null
t3_aa72q0
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpoq04/
1548169086
26
t5_2fwo
r/programming
public
null
False
balefrost
t2_6lw8n
You're right; I meant to be referring to path-based coverage, not simple branch coverage (maybe I should have said "branch-aware coverage"). And you're also right what I was describing wouldn't consider all 64 possible combinations. What I was talking about would look for the 4 possible flows through those two `if` statements.
null
0
1544672177
False
0
ebody49
t3_a5iior
null
null
t1_ebnqy39
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebody49/
1547540838
1
t5_2fwo
r/programming
public
null
False
DerpDick90
t2_xll8t
What LED matrix is this?
null
0
1545978556
False
0
ecpot3v
t3_aa72q0
null
null
t3_aa72q0
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpot3v/
1548169124
2
t5_2fwo
r/programming
public
null
False
Dave9876
t2_3tl6h
Or automatic padding. Compilers usually word align structs so they're more efficient to access. It can usually be overridden, but it's one of the reasons that sending raw structures across the wire is a bad idea.
null
0
1544672325
False
0
eboe3zf
t3_a5hkyo
null
null
t1_ebmrskv
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/eboe3zf/
1547540910
8
t5_2fwo
r/programming
public
null
False
caleblafeve
t2_1v3gigc6
32x32 by adafruit
null
0
1545978585
False
0
ecpotvw
t3_aa72q0
null
null
t1_ecpot3v
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpotvw/
1548169134
4
t5_2fwo
r/programming
public
null
False
swordglowsblue
t2_2nrkh5d0
When people think of tribalism in programming, they think of "my language is the right tool for the job, no matter what" - the mindset that their language is the only right language. In reality, the right language is the one that's the right tool for the job, regardless of personal bias (or rather, in spite of personal bias if necessary).
null
0
1544672748
False
0
eboekm7
t3_a5i57x
null
null
t1_ebnbpfo
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/eboekm7/
1547541144
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1545978587
False
0
ecpoty2
t3_aa72q0
null
null
t1_ecpop4g
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpoty2/
1548169135
2
t5_2fwo
r/programming
public
null
False
yeahbutbut
t2_cccqr
Yes?
null
0
1544672962
False
0
eboestk
t3_a5iior
null
null
t1_ebnp6yz
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/eboestk/
1547541245
1
t5_2fwo
r/programming
public
null
False
tmk1108
t2_4mxqv
Can you expand on that point why microservices pair well with a monorepo? We are going through similar transition and the repo structure is a hot topic of discussion in the office.
null
0
1545978638
False
0
ecpovdn
t3_a9yxp6
null
null
t1_ecpboyv
/r/programming/comments/a9yxp6/gitbatch_manage_all_of_your_git_repositories_in/ecpovdn/
1548169153
3
t5_2fwo
r/programming
public
null
False
sylvester_0
t2_3p757
Yeah, I ran into an issue with my files appearing to not save/close properly a few days ago on Arch. I built the electron 3 branch and that fixed it right up. Dunno why they're so far behind on this.
null
0
1544673341
False
0
ebof7an
t3_a5mk9z
null
null
t1_ebnv70c
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebof7an/
1547541424
4
t5_2fwo
r/programming
public
null
False
killerstorm
t2_m827
> In theory you could just continue loading different kernel after different kernel for a single core, each one doing the next step, GPUs execute programs serially. If you look at 'shader' code, it looks just like a normal program in C doing math, and, of course, every step can use results from previous steps. (TBH I can't even imagine the alternative, how do you think "parallel" programs can work?) GPUs can execute programs, serially, using multiple threads at once. Threads work on different pieces of data in parallel. But every thread works serially. If you run just one thread, it won't use all execution units, but it won't require you to go through some insane contortions.
null
0
1545978694
False
0
ecpowuv
t3_aa3ojc
null
null
t1_ecpadna
/r/programming/comments/aa3ojc/pessimism_about_parallelism_are_more_that_two/ecpowuv/
1548169171
4
t5_2fwo
r/programming
public
null
False
HalibetLector
t2_17d4bn
> The Left doesn't realize Yes, they do. They don't care. They're not fighting bigots. They're grabbing power any way they can get it while claiming they aren't. They're exploiting the so called "bigots" good natures to do it. The whole thing is paradoxical, but it's working.
null
1
1544673556
False
0
eboffbt
t3_a5o7qs
null
null
t1_ebo4zsv
/r/programming/comments/a5o7qs/female_engineer_chats_to_james_damore_sex/eboffbt/
1547541523
8
t5_2fwo
r/programming
public
null
False
deliciouspuppy
t2_tm7ro
okay so it may be that your construction is 'faster' than running repeated dijkstra, which like you said is v2logv, and yours i guess could be construed to be linear. but if we were to draw out the runtime, mine would look like v2logv, but yours would look like 1000000 * (v + e), since the physical act of having to tape strings to balls is costly from a time perspective. as far as the memory, your device requires a lot of physical space, which can be considered an analog for memory. after all the memory i use has a physical size, and your device has a physical size. it's difficult to compare an algo running on a computer and a physical contraption, but my point i guess is that you can still try and find analogs to compare them as much as you can (both my algo and your device require time to construct the initial solver which need to be accounted for, once constructed can return the answer in constant time, and my device requires v2 memory while yours requires the physical space needed for v balls and e strings). it's useful to compare because let's say you have a real problem (not a toy example like this, since you know and i know that even if my solver has a higher runtime than yours, a computer can process this in nano seconds while you making your device will take minutes if not more), that can be solved with making a real physical object or with a computer algorithm. only by comparing them can you make an informed decision on which path may or may not be better.
null
0
1545978813
False
0
ecpp04r
t3_a9qz9q
null
null
t1_ecokul2
/r/programming/comments/a9qz9q/amoeba_finds_approximate_solutions_to_nphard/ecpp04r/
1548169233
1
t5_2fwo
r/programming
public
null
False
appropriateinside
t2_729ad
It's kind of funny and sad. There is an old view on .net as being clunky, slow, proprietary, and "microsofty". It's anything but these days, but that incorrect view still stands day due to some of the history of frameworks associated with .net. I do .net core development on Linux... So it really grinds my gears when people assume to use C# you have to be in a Windows environment and have to pay some sort of licencing fees to use it... Literally, at my last job, which was a full with down environment. They refused to consider .net because they didn't want to deal with licencing...
null
0
1544673842
False
0
ebofpmc
t3_a5i57x
null
null
t1_ebn2vq6
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebofpmc/
1547541680
1
t5_2fwo
r/programming
public
null
False
Spaceshipable
t2_ccwa7
I imagine you get a lot of false positives with that? I mean maybe not?
null
0
1545978858
False
0
ecpp1c2
t3_aa72q0
null
null
t1_ecpnw37
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpp1c2/
1548169248
7
t5_2fwo
r/programming
public
null
False
appropriateinside
t2_729ad
Used to be justified* Time to keep up with changes in tech and stop sticking with old prejudices? As far as .net goes, it's amazing. Microsoft's other products can burn in a bin though, like windows and office...
null
0
1544674091
False
0
ebofynk
t3_a5i57x
null
null
t1_ebnx512
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebofynk/
1547541792
4
t5_2fwo
r/programming
public
null
False
badpotato
t2_72zdp
There's a tiny screenshot on their website: https://gitahead.github.io/gitahead.com/
null
0
1545978901
False
0
ecpp2hc
t3_aa1an1
null
null
t1_ecp65l1
/r/programming/comments/aa1an1/gitahead_opensourced_now_on_github/ecpp2hc/
1548169262
4
t5_2fwo
r/programming
public
null
False
[deleted]
None
[removed]
null
0
1544674625
False
0
ebogic6
t3_a5969k
null
null
t1_ebn9fpu
/r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebogic6/
1547542035
1
t5_2fwo
r/programming
public
null
False
illegiblebastard
t2_jy6zusf
This is exceptionally cool. Perfect wall art piece.
null
0
1545978965
False
0
ecpp496
t3_aa72q0
null
null
t3_aa72q0
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpp496/
1548169284
4
t5_2fwo
r/programming
public
null
False
FMLatex
t2_j3m6e
It's been like 10 years since I've done any reverse engineering. Back in the day, Armadillo, Asprotect and Themida were the most difficult protections I dealt with and some of them could take me weeks or months to fully reverse engineer. How are things nowadays? I always thought about pursuing a career in the field but never happened. I'd love to hear from someone working at a Sec firm/Antivirus/forensic and learn about the pros/cons. That was a fantastic read.
null
0
1544674768
False
0
ebognhu
t3_a5hkyo
null
null
t3_a5hkyo
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebognhu/
1547542100
4
t5_2fwo
r/programming
public
null
False
zerotol4
t2_e44lz
Ueh... did someone fart in here or did someone just suggest starting a new application using PHP
null
0
1545979059
False
0
ecpp6qu
t3_aa7kp2
null
null
t3_aa7kp2
/r/programming/comments/aa7kp2/create_your_first_phpmysql_application_in_docker/ecpp6qu/
1548169315
-8
t5_2fwo
r/programming
public
null
False
PoVa
t2_bnoh0
Well, having the most popular computing platform in the world (by a large margin) might prove that they do.
null
0
1544674876
False
0
ebogrga
t3_a5ikq1
null
null
t1_ebnixh7
/r/programming/comments/a5ikq1/fuchsia_sdk_is_now_included_into_android_open/ebogrga/
1547542148
1
t5_2fwo
r/programming
public
null
False
pknerd
t2_54sig
The tutorial has nothing to do with PHP as such. YOu can use your \_favorite\_ language/application in Docker.
null
0
1545979130
False
0
ecpp8q2
t3_aa7kp2
null
null
t1_ecpp6qu
/r/programming/comments/aa7kp2/create_your_first_phpmysql_application_in_docker/ecpp8q2/
1548169339
4
t5_2fwo
r/programming
public
null
False
SanityInAnarchy
t2_5oygg
And that's why, when people ask what skills they should be learning that school won't teach them, first thing I suggest is git. You don't need a server or anything, and it will save your ass even in first-year comp sci in college.
null
0
1544674978
False
0
ebogv3f
t3_a5hkyo
null
null
t1_ebnwit4
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebogv3f/
1547542221
11
t5_2fwo
r/programming
public
null
False
wellfriedbeans
t2_uh03y
[https://ameya98.github.io/GraphAlgorithmsVisualized/delaunay.js/](https://ameya98.github.io/GraphAlgorithmsVisualized/delaunay.js/) Can't edit the link, here's the new one.
null
0
1545979167
False
0
ecpp9qr
t3_aa23nx
null
null
t3_aa23nx
/r/programming/comments/aa23nx/visualizing_the_delauney_triangulation/ecpp9qr/
1548169352
5
t5_2fwo
r/programming
public
null
False
vplatt
t2_1uz5
Yes! I thought I was doing something wrong for a while. Turns out, my only crime was not trying the 2 or 3 times it took for it to catch.
null
0
1544675434
False
0
ebohazo
t3_a5mk9z
null
null
t1_ebnr7sx
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebohazo/
1547542417
3
t5_2fwo
r/programming
public
null
False
gaj7
t2_70ndj
Oh thanks, that makes sense. Arrays are a perfect example of when you would want to be able to restrict parameters to const.
null
0
1545979351
False
0
ecppemn
t3_a9zyp3
null
null
t1_ecpddof
/r/programming/comments/a9zyp3/thoughts_on_rust_in_2019/ecppemn/
1548169412
1
t5_2fwo
r/programming
public
null
False
Rhylyk
t2_ivlih
Pretty much the only thing I want is a built in repl api that extension authors could target that would reuse syntax highlighting, Auto complete, etc. I feel like this would solidify vscodes place for repl driven workflows
null
0
1544675615
False
0
ebohh6g
t3_a5mk9z
null
null
t1_ebo1lb3
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebohh6g/
1547542494
15
t5_2fwo
r/programming
public
null
False
criticalcontext
t2_mq1bg
It's feasible at that size to just save all hashes of all states and check if the state has happened before I think. At least within a time horizon. But yours works too.
null
0
1545979370
False
0
ecppf3p
t3_aa72q0
null
null
t1_ecpls0g
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecppf3p/
1548169417
2
t5_2fwo
r/programming
public
null
False
arduinomancer
t2_x7s7d
This is amazingly cool, awesome writeup!
null
0
1544675781
False
0
ebohmqk
t3_a5hkyo
null
null
t3_a5hkyo
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebohmqk/
1547542563
2
t5_2fwo
r/programming
public
null
False
caleblafeve
t2_1v3gigc6
I thought the same thing before I implemented it and I haven't noticed it resetting at a bad time yet. It only checks to see if it's stuck every 100 frames. If I had it check every 2 frames then that would be an issue I'm sure and would use more processing power.
null
0
1545979477
False
0
ecpphsc
t3_aa72q0
null
null
t1_ecpp1c2
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpphsc/
1548169451
8
t5_2fwo
r/programming
public
null
False
Analemma_
t2_aviju
It’s already available in the Insiders build and is targeted to land in the February release.
null
0
1544676053
False
0
ebohvw4
t3_a5mk9z
null
null
t1_ebnv70c
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebohvw4/
1547542675
11
t5_2fwo
r/programming
public
null
False
caleblafeve
t2_1v3gigc6
Thank you 😊
null
0
1545979510
False
0
ecppin3
t3_aa72q0
null
null
t1_ecpp496
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecppin3/
1548169462
2
t5_2fwo
r/programming
public
null
False
meltingdiamond
t2_9ae9f
Like six gigs bigger.
null
0
1544676352
False
0
eboi5wl
t3_a5hkyo
null
null
t1_ebo8mr7
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/eboi5wl/
1547542829
4
t5_2fwo
r/programming
public
null
False
caleblafeve
t2_1v3gigc6
I was going to do that but I'm using this on an arduino and the less work for it to do the better.
null
0
1545979631
False
0
ecpplsg
t3_aa72q0
null
null
t1_ecppf3p
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpplsg/
1548169500
5
t5_2fwo
r/programming
public
null
False
grauenwolf
t2_570j
Non-repeatable unit tests? I don't think you understand what we're talking about.
null
0
1544676407
False
0
eboi7oh
t3_a5iior
null
null
t1_ebo6oab
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/eboi7oh/
1547542851
3
t5_2fwo
r/programming
public
null
False
oridb
t2_90rkq
In spite of the comment, I don't see any no-op branches in that code.
null
0
1545979725
1545987354
0
ecppo79
t3_aa3qdm
null
null
t1_ecpnwk9
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecppo79/
1548169530
21
t5_2fwo
r/programming
public
null
False
JoseJimeniz
t2_7bcl1
Macros yet? https://github.com/Microsoft/vscode/issues/4490
null
0
1544676575
False
0
eboid3f
t3_a5mk9z
null
null
t3_a5mk9z
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/eboid3f/
1547542917
14
t5_2fwo
r/programming
public
null
False
wengchunkn
t2_teo9t
How is that an objection? Do you have an alternative?
null
0
1545979845
False
0
ecppr77
t3_aa75kj
null
null
t1_ecpnvt9
/r/programming/comments/aa75kj/proposal_rpn_as_super_macro_for_cc_code/ecppr77/
1548169567
-1
t5_2fwo
r/programming
public
null
False
grauenwolf
t2_570j
It is much better going into it with the mindset of "How can I break this?". If you have the mindset that you are going to prove it isn't broken, you are more likely to only test the happy paths. Destroy what you have created, it is the only way.
null
0
1544676586
False
0
eboidew
t3_a5iior
null
null
t1_ebo7w2j
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/eboidew/
1547542921
2
t5_2fwo
r/programming
public
null
False
ggvh
t2_11pc7e
Something I've been debating with myself, but what made me go this way: \- I wanted to show the visual element of going through the actual paper and highlighting it. \- Aren't all the kids getting their info by watching YT vids rather than reading walls of text? \- I personally want to experiment with this format
null
0
1545979856
False
0
ecpprgl
t3_aa3t88
null
null
t1_ecov90b
/r/programming/comments/aa3t88/software_processes_are_software_too/ecpprgl/
1548169571
1
t5_2fwo
r/programming
public
null
False
grauenwolf
t2_570j
I've been wanting that myself, but it's such a massive amount of work to dig through all of those error code lists that I didn't even try.
null
0
1544676750
False
0
eboiima
t3_a5hxji
null
null
t3_a5hxji
/r/programming/comments/a5hxji/new_library_entityframeworkexceptions_handle/eboiima/
1547542986
1
t5_2fwo
r/programming
public
null
False
Dean_Roddey
t2_r72lw
OK, yeh, if you are willing to use one execution unit I can see that. I was sort of assuming that the kernels were fairly limited in size and you'd have to keep pushing up new ones to continue the process. How complex a kernel can you use with CUDA? BTW, when I said next step though I meant the output of the previous round becomes the input to the next one, not the next step in the algorithm. That's what makes so many operations impossible to process in parallel. Does CUDA allow a kernel to independently feed its output back to its input, or does that have to be driven by the host via some sort of buffer swapping thing or something? As a practical matter is one of these small EUs going to have enough performance that it would ever be a win to do that relative to just doing it on the CPU? ​
null
0
1545980186
False
0
ecpq00f
t3_aa3ojc
null
null
t1_ecpowuv
/r/programming/comments/aa3ojc/pessimism_about_parallelism_are_more_that_two/ecpq00f/
1548169675
-4
t5_2fwo
r/programming
public
null
False
ais523
t2_4xvam
Right, that looks like the sort of thing that awk is very good at (and C is very bad at!). It translates fairly simply into Perl, another language designed for this sort of task: perl -alF: -e 'push @{$x{$F[2]}}, $F[0]; END { for $i (keys %x) {print "$i: @{$x{$i}}";} }' /etc/passwd Of course, if you really wanted to blow your interviewer's mind, you could use a golfing/competition language such as [Jelly](https://github.com/DennisMitchell/jellylanguage) (note: not recommended for an actual interview): jelly eun 'Ỵṣ€”:[3,1]ịⱮṢµZḢV€IkµḢ€Ḣ;“: ”;Kµ€Y' "$(< /etc/passwd)" This actually isn't a particularly good language choice, but it's such a generally terse language it can write it in a few characters anyway. (It also took much longer to write than the Perl did; that isn't always the case with competition languages, which are often designed to write quickly, but Jelly doesn't have any sort of dictionary in its standard library; much of this solution is an implementation of one.) EDIT: **Please don't use the Jelly code in production.** There's a string `eval` in there running on untrusted data (this is the easiest and intended way to do string→int conversion in Jelly, because the language in general doesn't expect to come into contact with untrusted data anywhere, but obviously you'd have to verify that the string was made entirely of digits before you made the conversion in a production program).
null
0
1544676799
1547059349
0
eboik7c
t3_a5i57x
null
null
t1_eboc3ne
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/eboik7c/
1547543005
4
t5_2fwo
r/programming
public
null
False
Spaceshipable
t2_ccwa7
Ah okay that makes more sense
null
0
1545980384
False
0
ecpq574
t3_aa72q0
null
null
t1_ecpphsc
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpq574/
1548169741
2
t5_2fwo
r/programming
public
null
False
ArmoredPancake
t2_jc7zp
> a bit Nice joke.
null
0
1544676910
False
0
eboinov
t3_a5ikq1
null
null
t1_ebnux28
/r/programming/comments/a5ikq1/fuchsia_sdk_is_now_included_into_android_open/eboinov/
1547543049
6
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1545980423
False
0
ecpq65b
t3_aa72q0
null
null
t1_ecpoq04
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpq65b/
1548169752
5
t5_2fwo
r/programming
public
null
False
wqking
t2_5068k
About 10 years ago I used Dancing Links to solve Sudoku. It's a so beautiful algorithm!
null
0
1544676951
1544677295
0
eboip0i
t3_a5kk6b
null
null
t3_a5kk6b
/r/programming/comments/a5kk6b/donald_knuths_24th_annual_christmas_lecture/eboip0i/
1547543065
2
t5_2fwo
r/programming
public
null
False
lmao_react
t2_6o7k52x
so pretty much https://github.com/hxoht/scratches but closed source? also - if it's electron, why not have the button say `MacOS/Windows/Linux Download` ?
null
0
1545980555
1545990397
0
ecpq9f5
t3_aa4jac
null
null
t3_aa4jac
/r/programming/comments/aa4jac/runjs_a_javascript_playground_app_for_mac/ecpq9f5/
1548169821
1
t5_2fwo
r/programming
public
null
False
ZZ9ZA
t2_f1u52
Hardly "of late". Remember PulseAudio, most especially Ubuntu's incredibly half-arsed broken implementation?
null
0
1544676978
False
0
eboipxk
t3_a5hkyo
null
null
t1_ebn7syx
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/eboipxk/
1547543076
3
t5_2fwo
r/programming
public
null
False
Muklead
t2_2i92ew67
The best free IDE for C/C++. It has type deduction/completion for auto variables. Maybe the best IDE for analysing code. I'm using it for C++ and Linux kernel development. I've been trying to use VS Code, but there is a lack of some basic features like "Find usages".
null
0
1545980632
False
0
ecpqbc2
t3_aa05by
null
null
t3_aa05by
/r/programming/comments/aa05by/netbeans_100_released/ecpqbc2/
1548169845
6
t5_2fwo
r/programming
public
null
False
LaM3a
t2_6in3g
Lol it's spelled coup de grâce, what you wrote basically means "hit of fat".
null
0
1544677035
False
0
eboirpj
t3_a5mk9z
null
null
t1_ebo8mm7
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/eboirpj/
1547543098
175
t5_2fwo
r/programming
public
null
False
coolpeepz
t2_xq0iz
They built a whole computer and then made it run Tetris.
null
0
1545980728
False
0
ecpqdsn
t3_aa72q0
null
null
t1_ecpoq04
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpqdsn/
1548169875
13
t5_2fwo
r/programming
public
null
False
brett84c
t2_4hicc
Hear hear! The best IDE I've ever used and proof that Electron can make some seriously powerful software, memory footprint aside, heh.
null
0
1544677148
False
0
eboivex
t3_a5mk9z
null
null
t1_ebo1lb3
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/eboivex/
1547543143
23
t5_2fwo
r/programming
public
null
False
killerstorm
t2_m827
This article seems to be /r/iamverysmart content. > Dijkstra’s n-least-paths algorithm; cycle detection in directed graphs (with implications for 3-SAT solvers); I don't think I ever needed to solve Dijkstra's n-least-paths algorithm on my laptop. (I mean, at scale. Perhaps games I was playing were solving it, but they were coping with it just fine.) What I needed, however, is to build a project. And, guess what, build task is parallelizable. And not in theory, but in practice -- when I click _Build_, all 4 hyperthreads of my CPU are occupied. I also happen to have a need to run tests which simulate multiple processes, and thus can benefit from multiple hardware threads. Also, if you happen to use JVM, you might benefit from multiple cores even when your program is serial -- JVM will do JIT compilation and GC in a separate threads. Also, as a developer, sometimes I simply launch several tasks in parallel -- say, rebuild front-end and back-end (which are implemented in different languages) at the same time. > For most desktop/laptop users the only seriously parallel computing that ever takes place on their computers is in their graphics chips. Do these users have a need to run Dijkstra's n-least-path algorithm for huge graphs? Chances are they are mostly use their computer to browse internets, no? Speaking of which, browsing internets is actually a parallelizable task -- JS can also, at least potentially, run JIT and GC in separate threads, there might be many JS contexts on a page (iframes, web workers), CSS computation and rendering can be parallelized. So there could be easily enough work to occupy 10 threads when you loading a page. On top of that, we have things like video playback. And users often have multiple tabs which often update in background. Then again, people who buy expensive CPUs probably do more than just web browsing. They might be into gaming -- and games can utilize multiple cores for things other than graphics. A game might need to compute physics, animation, do visibility checks, do networking, AI and so on. All these things can be run in parallel. Or they might be into video editing -- and video manipulation is very parallelizable. Or they might do photo editing -- and graphics is often very parallelizable. So nobody needs multi-core CPUs. Except software developers. And people who play modern games. And people who do graphics and video editing. And people who work with visualizations. And people using CAD software... > But the truth is, we don’t really know what the “right” language primitives are for parallelism This is the only thing in article I agree with. What I want is a language which is able to run things in parallel automatically -- a normal program already has information about data dependencies and IO which needs to be serial. And that's actually possible, and in fact, there were few research languages which worked like that.
null
0
1545980963
1545992204
0
ecpqjxv
t3_aa3ojc
null
null
t3_aa3ojc
/r/programming/comments/aa3ojc/pessimism_about_parallelism_are_more_that_two/ecpqjxv/
1548169951
16
t5_2fwo
r/programming
public
null
False
grauenwolf
t2_570j
You're missing the most common exception in SQL Server, deadlock. Which brings up a larger question of retriable vs non-retriable exceptions. If someone gets a network or deadlock exception, usually the correct action is to retry (within reason, you eventually have to give up) because the error is transitory.
null
0
1544677304
False
0
eboj0bs
t3_a5hxji
null
null
t1_ebnbssy
/r/programming/comments/a5hxji/new_library_entityframeworkexceptions_handle/eboj0bs/
1547543203
1
t5_2fwo
r/programming
public
null
False
ra1vo7
t2_275wa4ke
Ooo man, I remember when I had to make this game during my internship to get a job. Beautiful times..
null
0
1545980968
False
0
ecpqk2s
t3_aa72q0
null
null
t3_aa72q0
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecpqk2s/
1548169953
4
t5_2fwo
r/programming
public
null