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
bocckoka
t2_10wkbp
And who said that? The purpose of the compiler is to make you happy by not letting you write inconsistent code with undefined behavior (tm). No principle will help you if your compiler isn't good enough. Architectural decisions matter, of course, but it's the compiler that matters most.
null
0
1544702677
False
0
eboyh4q
t3_a56am1
null
null
t1_ebm7zda
/r/programming/comments/a56am1/whats_the_deal_with_the_solid_principles_part_2/eboyh4q/
1547550429
1
t5_2fwo
r/programming
public
null
False
GLneo
t2_32ox6
A statue of a person to be fair.
null
0
1546015356
False
0
ecqm4no
t3_aa91bp
null
null
t1_ecqamxc
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqm4no/
1548184708
6
t5_2fwo
r/programming
public
null
False
oorza
t2_3g5rj
https://i.imgur.com/cAKA2QU.png
null
0
1544702861
False
0
eboyl9h
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/eboyl9h/
1547550480
134
t5_2fwo
r/programming
public
null
False
jbgross55
t2_1iz61hvy
This is a fun (to me, at least) assignment I use in my AI course. The interesting challenge comes in considering constraints for your heuristic. What would you do if you didn’t know the location of the exit?
null
0
1546015365
False
0
ecqm54d
t3_aabfr9
null
null
t3_aabfr9
/r/programming/comments/aabfr9/hey_guys_i_coded_a_program_that_solves_mazes/ecqm54d/
1548184714
1
t5_2fwo
r/programming
public
null
False
Godd2
t2_4y6bn
e
null
1
1544702871
False
0
eboylh6
t3_a5qm02
null
null
t1_eboxus8
/r/programming/comments/a5qm02/a_tale_of_132_es/eboylh6/
1547550483
0
t5_2fwo
r/programming
public
null
False
rajadain
t2_96bgl
Great news! I've been using `fish` every day for almost three years now and love it! Really welcome the addition of `&&` and `||`. With this I can now recommend it to first time terminal users. Really excellent work.
null
0
1546015393
False
0
ecqm6is
t3_aabai1
null
null
t3_aabai1
/r/programming/comments/aabai1/fish_shell_30/ecqm6is/
1548184731
82
t5_2fwo
r/programming
public
null
False
icantthinkofone
t2_38m87
No Unix programmer reads anything on dev.to either. The home of frustrated reddit users trying to make a name for themselves by posting useless articles like this one.
null
0
1544702908
False
0
eboymco
t3_a5sg9k
null
null
t1_ebox6vg
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/eboymco/
1547550494
68
t5_2fwo
r/programming
public
null
False
Ettubrutusu
t2_1qi8jd60
> Insurance that your documentation is true, at least. It won't magically catch regressions that you haven't documented as such. What do you mean by this? Let's say you write unit test and have 90% code coverage. Your documentation likely won't cover the implementation to the same degree, and even if it did, I wo...
null
0
1546015450
False
0
ecqm9ej
t3_aa3qdm
null
null
t1_ecq6m7p
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqm9ej/
1548184767
1
t5_2fwo
r/programming
public
null
False
barubary
t2_9lgaa
> some typo in the gcc syntax that my subconscious has blocked from my memory doesn’t compile your source files, it fucking deletes them A "popular" way to do that is to use tab completion on the output file name: gcc prog.c -o pr<TAB> becomes gcc prog.c -o prog.c which overwrites your source file...
null
0
1544702945
False
0
eboyn76
t3_a5hkyo
null
null
t1_eboarq6
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/eboyn76/
1547550504
5
t5_2fwo
r/programming
public
null
False
IshKebab
t2_htaqb
It just tweets "Downloaded 7 tweets"... Also why is this a twitter bot? Wouldn't it make more sense as an ordinary website?
null
0
1546015527
False
0
ecqmdc5
t3_aa8wit
null
null
t3_aa8wit
/r/programming/comments/aa8wit/soimadeathing_twitter_bot_that_replies_back_with/ecqmdc5/
1548184845
4
t5_2fwo
r/programming
public
null
False
meta_stable
t2_59yj7
Unfortunately a Dev commented that they won't move to tree sitter because they're waiting to be able to use what ever visual studio is using.
null
0
1544703306
False
0
eboyvs0
t3_a5mk9z
null
null
t1_ebotx04
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/eboyvs0/
1547550640
4
t5_2fwo
r/programming
public
null
False
SemaphoreBingo
t2_pvsrd
Things are only simple in retrospect.
null
0
1546015534
False
0
ecqmdo0
t3_aa91bp
null
null
t1_ecpy73e
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqmdo0/
1548184848
2
t5_2fwo
r/programming
public
null
False
VictorNicollet
t2_4tz09
There are _some_ invariants which can only be expressed in a pure system. My argument is that the really important invariants (that cause the hard-to-reproduce bugs when broken) will not fit in the type system, regardless of purity. Here's a data structure I had to work with this week: 1. It's a dictionary : it m...
null
0
1544703376
False
0
eboyxi0
t3_a5iior
null
null
t1_eboxj76
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/eboyxi0/
1547550661
1
t5_2fwo
r/programming
public
null
False
_INTER_
t2_qqzj8
* Java distributions are built from OpenJDK. There's an OpenJDK build directly from source and there are vendor buillds from Oracle, Azul, RedHat, IBM, etc. (Certified by TCK) * Oracle manages the Oracle JDK and the OpenJDK builds. OpenJDK is always the newest version. * Previously Oracle was backporting security upd...
null
0
1546015597
1546015999
0
ecqmgwo
t3_aa8eqo
null
null
t1_ecqkt5k
/r/programming/comments/aa8eqo/confused_would_oracles_new_jre_patch_expected_on/ecqmgwo/
1548184888
6
t5_2fwo
r/programming
public
null
False
squigs
t2_14w6r
That's interesting, and the solution makes sense. Something I don't quite follow is how this actually prevents piracy.
null
0
1544703398
False
0
eboyy09
t3_a5hkyo
null
null
t3_a5hkyo
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/eboyy09/
1547550668
1
t5_2fwo
r/programming
public
null
False
flitcho
t2_2q0rezz6
Couldn‘t you just solve problem 3 by using radar sensors to messure how far things are away?
null
0
1546015604
False
0
ecqmh84
t3_aa91bp
null
null
t1_ecqdg1t
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqmh84/
1548184892
6
t5_2fwo
r/programming
public
null
False
tritratrulala
t2_6yo7q
Not always faster (multiple processes vs one single process).
null
1
1544703448
False
0
eboyz7h
t3_a5sg9k
null
null
t1_eboxuas
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/eboyz7h/
1547550682
2
t5_2fwo
r/programming
public
null
False
NeverComments
t2_4r1xy
It seems that the programming parallel would be a comment inside the `else` explicitly stating "This branch was intentionally left empty". Otherwise your intentions are as ambiguous to the reader as a blank sheet of paper.
null
0
1546015726
False
0
ecqmnc8
t3_aa3qdm
null
null
t1_ecqhbce
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqmnc8/
1548184968
6
t5_2fwo
r/programming
public
null
False
Hendrikto
t2_rsoye
> The client application is a single JavaScript file included with the framework, blazor.server.js. This application is a special SignalR client with a responsibility to receive/process DOM changes from the server, send events to the server, and most importantly establish a WebSocket connection with the server. So ...
null
1
1544703488
False
0
eboz049
t3_a5ssxk
null
null
t3_a5ssxk
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/eboz049/
1547550695
0
t5_2fwo
r/programming
public
null
False
Dean_Roddey
t2_r72lw
Actually, I wasn't thinking correctly above. The problem that I first ran into when thinking about CUDA was in audio processing. The problem isn't looping the value back around. The problem is that the value has to be looped back around and new data has to be fed into the input. But that data is not available up front....
null
0
1546015991
False
0
ecqn0qu
t3_aa3ojc
null
null
t1_ecprqia
/r/programming/comments/aa3ojc/pessimism_about_parallelism_are_more_that_two/ecqn0qu/
1548185134
1
t5_2fwo
r/programming
public
null
False
FlockOnFire
t2_drugx
What do you mean by considering the domain the unit to test? Only write tests on a higher level than classes?
null
0
1544703753
False
0
eboz6lc
t3_a5g1hn
null
null
t1_ebnsij0
/r/programming/comments/a5g1hn/what_to_test_and_not_to_test/eboz6lc/
1547550774
1
t5_2fwo
r/programming
public
null
False
mariotacke
t2_8lk32w
Instead of an mp4, perhaps you could reply with a GIF that works within the twitter thread?
null
0
1546016091
False
0
ecqn5uj
t3_aa8wit
null
null
t3_aa8wit
/r/programming/comments/aa8wit/soimadeathing_twitter_bot_that_replies_back_with/ecqn5uj/
1548185196
1
t5_2fwo
r/programming
public
null
False
everyonelovespenis
t2_bjvixy
See this all the time. Recently had a meeting with various IT admin, security + firewall guys. Me: So what's the zoning firewall do? Where is it deployed and what's it checking/allowing through? Meeting room: Stunned silence Network bod: You don't know what a zoning firewall is? Me: Nope, but to finish...
null
0
1544703778
False
0
eboz772
t3_a5kkr5
null
null
t1_ebnnkr8
/r/programming/comments/a5kkr5/everything_you_should_know_about_certificates_and/eboz772/
1547550782
19
t5_2fwo
r/programming
public
null
False
irish_throwaway_1
t2_fqmvy
No, like I said, that's why I choose to use an in-memory DB.
null
0
1546016116
False
0
ecqn71l
t3_a8vpy4
null
null
t1_ecigdkf
/r/programming/comments/a8vpy4/why_did_we_shift_away_from_databasegenerated_ids/ecqn71l/
1548185211
1
t5_2fwo
r/programming
public
null
False
RunasSudo
t2_c1zfg
From some perspective, it doesn't really, at least not from a procedural standpoint. The key interaction which makes it vaguely effective in practice is covered in part 4 – the game requests from DRMUI.exe a key to decrypt the game code, and DRMUI.exe will only provide this key after checking that the social platform ...
null
0
1544703896
False
0
eboza3g
t3_a5hkyo
null
null
t1_eboyy09
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/eboza3g/
1547550817
3
t5_2fwo
r/programming
public
null
False
vier86
t2_5rucy
I caught this the other day and I have to say it was a very upsetting watch, I wonder what his quality of life would have been like if he got the support he needed.
null
0
1546016127
False
0
ecqn7l8
t3_a9wkc6
null
null
t3_a9wkc6
/r/programming/comments/a9wkc6/documentary_about_terry_davis_and_templeos/ecqn7l8/
1548185217
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544703896
False
0
eboza3q
t3_a5i57x
null
null
t1_ebnbsg3
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/eboza3q/
1547550817
1
t5_2fwo
r/programming
public
null
False
kr_kr
t2_14gk4x
"Best practice" is a vague term. If you can't explain why it's objectively better, you shouldn't force it onto other team members. ​ It's possible to be very successful as a business without using common language/framework idioms. If you take a look at C++ Google codestyle, for instance, many C++ experts w...
null
0
1546016138
1546019027
0
ecqn86z
t3_aaagix
null
null
t1_ecql488
/r/programming/comments/aaagix/why_review_code/ecqn86z/
1548185225
2
t5_2fwo
r/programming
public
null
False
0987654231
t2_1gy6bm
> the world's payments infrastructure No, it's a paypal/stripe competitor. Don't bait and switch us like that.
null
0
1544703976
False
0
ebozc2z
t3_a5rqbw
null
null
t3_a5rqbw
/r/programming/comments/a5rqbw/stories_from_the_development_team_building_the/ebozc2z/
1547550842
4
t5_2fwo
r/programming
public
null
False
Ettubrutusu
t2_1qi8jd60
Wut. What makes you think an internal best practice can't be explained and shouldn't be brought up directly when a violation is seen?
null
0
1546016189
False
0
ecqnaq5
t3_aaagix
null
null
t1_ecqhnww
/r/programming/comments/aaagix/why_review_code/ecqnaq5/
1548185256
3
t5_2fwo
r/programming
public
null
False
JimJamJamie
t2_5asup
Regex is so handy but whenever I see it, it just looks like the computer has sneezed on my screen
null
0
1544704002
False
0
ebozcrd
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebozcrd/
1547550850
48
t5_2fwo
r/programming
public
null
False
villanovafan
t2_15bgwh
Entirely off-topic. GTFO.
null
0
1546016267
False
0
ecqneq9
t3_aa4izt
null
null
t3_aa4izt
/r/programming/comments/aa4izt/just_a_chill_instrumental_mix_for_while_you_code/ecqneq9/
1548185306
1
t5_2fwo
r/programming
public
null
False
tjpalmer
t2_i3yo8
I don't get why worry about the negative feedback at all.
null
0
1544704071
False
0
ebozekj
t3_a5qm02
null
null
t1_ebom13y
/r/programming/comments/a5qm02/a_tale_of_132_es/ebozekj/
1547550872
11
t5_2fwo
r/programming
public
null
False
crashorbit
t2_3z9ie
Reality is always Plan B. "No" is always the easy answer and if you ask for permission you will get that answer.
null
0
1546016374
False
0
ecqnkd5
t3_aab645
null
null
t1_ecqlogs
/r/programming/comments/aab645/learning_to_learn_develop_skills_to_master/ecqnkd5/
1548185406
1
t5_2fwo
r/programming
public
null
False
vintermann
t2_9rry
The P in LAMP stands for PHP, what did you think? (Remember LAMP?)
null
0
1544704170
False
0
ebozh24
t3_a5i57x
null
null
t1_ebouu5l
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebozh24/
1547550904
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546016438
False
0
ecqnno1
t3_aabai1
null
null
t3_aabai1
/r/programming/comments/aabai1/fish_shell_30/ecqnno1/
1548185447
9
t5_2fwo
r/programming
public
null
False
squigs
t2_14w6r
Okay. So is this a "phone home" type of thing, where it checks the licence file against the logged in user?
null
0
1544704202
False
0
ebozhv8
t3_a5hkyo
null
null
t1_eboza3g
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebozhv8/
1547550913
1
t5_2fwo
r/programming
public
null
False
anthonybsd
t2_4ales
I kinda am one. Been using Vim since 1997, but it's never been my primary editor for anything. I use it for everything in the shell, git rebase, git commit messages, cron, etc. Occasional Perl and python script edits, occasional views of large log files. However, for all coding related stuff I've always used dedicated ...
null
0
1546016445
False
0
ecqno1p
t3_a9fg8h
null
null
t1_ecjll52
/r/programming/comments/a9fg8h/spacevim_release_v100/ecqno1p/
1548185452
2
t5_2fwo
r/programming
public
null
False
deceased_parrot
t2_7q7zg
> Razor Components treats the browser as a “thin-client” where the web browser handles just the user interface (UI) and the server receives events and responds with UI updates remotely. Are they really suggesting to run parts of the UI on the server?
null
0
1544704403
False
0
ebozn0u
t3_a5ssxk
null
null
t3_a5ssxk
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebozn0u/
1547550977
6
t5_2fwo
r/programming
public
null
False
kr_kr
t2_14gk4x
My issue with these so called "best practices" is that more often than not people can't provide a solid explanation why they're better than alternatives. After a series of "why" question, the final answer usually is something like "we've always done it like that here" or "it works according to my experience". &#x2...
null
0
1546016474
False
0
ecqnpe3
t3_aaagix
null
null
t1_ecqnaq5
/r/programming/comments/aaagix/why_review_code/ecqnpe3/
1548185468
1
t5_2fwo
r/programming
public
null
False
Iwan_Zotow
t2_xwkmk
ee ?
null
0
1544704490
False
0
ebozp85
t3_a5qm02
null
null
t1_eboylh6
/r/programming/comments/a5qm02/a_tale_of_132_es/ebozp85/
1547551004
1
t5_2fwo
r/programming
public
null
False
kr_kr
t2_14gk4x
If someone can upgrade the language version and the team (or parts of it) doesn't know about it just before the code review, something is likely to be very wrong with the processes in your company.
null
0
1546016559
False
0
ecqntkb
t3_aaagix
null
null
t1_ecqiuug
/r/programming/comments/aaagix/why_review_code/ecqntkb/
1548185519
5
t5_2fwo
r/programming
public
null
False
Keyframe
t2_31hxp
If you're that lazy to make a small change like that, that you think is so important to you, until the real change arrives from 'the above'... I really don't know what to say. Stay strong and complain!
null
0
1544704839
False
0
ebozyg3
t3_a5mk9z
null
null
t1_eboyepk
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebozyg3/
1547551118
-8
t5_2fwo
r/programming
public
null
False
shenglong
t2_2nn6w
This is exactly what that part of my post was referring to: > I'll also sometimes put in "empty" else statements **with a comment in.** "Intentionally blank pages" refer to pages with that sentence written on them. But in all honesty, if you just leave an empty terminator then the experienced reader should know w...
null
0
1546016635
1546017525
0
ecqnx7s
t3_aa3qdm
null
null
t1_ecqcf4q
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqnx7s/
1548185565
2
t5_2fwo
r/programming
public
null
False
poloppoyop
t2_9a5a3
Yes. Write tests at the boundaries of what you are releasing.
null
0
1544704849
False
0
ebozypp
t3_a5g1hn
null
null
t1_eboz6lc
/r/programming/comments/a5g1hn/what_to_test_and_not_to_test/ebozypp/
1547551120
2
t5_2fwo
r/programming
public
null
False
irish_throwaway_1
t2_fqmvy
One key difference - UUIDs can be generated and assigned by the application without persisting, which creates better separation of concerns. The application should be able to fully manage the lifecycle of its objects on it's own. When the DB is in the picture, it creates cases where the application had to persist the ...
null
0
1546016698
1546016982
0
ecqo08d
t3_a8vpy4
null
null
t1_ecewfeu
/r/programming/comments/a8vpy4/why_did_we_shift_away_from_databasegenerated_ids/ecqo08d/
1548185602
0
t5_2fwo
r/programming
public
null
False
Danthekilla
t2_37ivm
Me saying that pretty much everyone does is not made false by that.
null
0
1544704884
1544741949
0
ebozzm5
t3_a5mk9z
null
null
t1_ebox7o9
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebozzm5/
1547551132
4
t5_2fwo
r/programming
public
null
False
narwi
t2_7s32m
The sole reason it continues to have a number of developers in excess of a single digit number is the hype power of Google. It does not bring anything new at all to table and what it does is much better implemented elsewhere.
null
0
1546016743
False
0
ecqo2g6
t3_aa3qdm
null
null
t1_ecq8sgs
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqo2g6/
1548185628
4
t5_2fwo
r/programming
public
null
False
JoseJimeniz
t2_7bcl1
Snippets exist in extensions. Macros do not.
null
0
1544704956
False
0
ebp01jg
t3_a5mk9z
null
null
t1_ebom5k4
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp01jg/
1547551156
3
t5_2fwo
r/programming
public
null
False
lyml
t2_6981o
What is A* + Djikstra's? Dijkstra's algorithm is simply A* where the heuristic function is constant.
null
0
1546016748
False
0
ecqo2om
t3_aabfr9
null
null
t3_aabfr9
/r/programming/comments/aabfr9/hey_guys_i_coded_a_program_that_solves_mazes/ecqo2om/
1548185632
2
t5_2fwo
r/programming
public
null
False
driusan
t2_bvkul
You know you've made some bad choices when someone comes up with a perl version that's easier to read.
null
0
1544705033
False
0
ebp03li
t3_a5sg9k
null
null
t1_eboxuas
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp03li/
1547551211
266
t5_2fwo
r/programming
public
null
False
Ettubrutusu
t2_1qi8jd60
Okay. In my view such documentation is redundant. Consistency is obvious in my view, just as you wouldn't document "Don't introduce bugs if you can help it".
null
0
1546016752
False
0
ecqo2vr
t3_aaagix
null
null
t1_ecqnpe3
/r/programming/comments/aaagix/why_review_code/ecqo2vr/
1548185634
1
t5_2fwo
r/programming
public
null
False
matheusmoreira
t2_8lmya
Wow. Do they have no shame?
null
0
1544705038
False
0
ebp03qx
t3_a57th7
null
null
t1_ebkihpi
/r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebp03qx/
1547551213
2
t5_2fwo
r/programming
public
null
False
HeadAche2012
t2_873xv
I always see the titles of A* or Dijkstra's search, say to myself "Dont be a grid" and click, but never have been successful, because they always make the graph a grid
null
0
1546016931
False
0
ecqobhv
t3_aabfr9
null
null
t3_aabfr9
/r/programming/comments/aabfr9/hey_guys_i_coded_a_program_that_solves_mazes/ecqobhv/
1548185740
1
t5_2fwo
r/programming
public
null
False
bdtddt
t2_x8et0
This post proves that Lisp can look however you want, you can’t call it ugly.
null
0
1544705049
False
0
ebp040d
t3_a5p0ct
null
null
t1_ebopvi5
/r/programming/comments/a5p0ct/extending_a_language_with_reader_macros_a_subset/ebp040d/
1547551216
4
t5_2fwo
r/programming
public
null
False
GrandOpener
t2_n35lq
\> Most of the text I wrote is motivation As are the circles. Perhaps we'll just have to agree to disagree. I've read everything you've written, I greatly appreciate your contribution to the knowledge here, but I still feel that the circle animations are *extremely* useful for gently introducing the topic...
null
0
1546017005
False
0
ecqof01
t3_a8e189
null
null
t1_ecqeydw
/r/programming/comments/a8e189/fourier_series_visualization/ecqof01/
1548185783
1
t5_2fwo
r/programming
public
null
False
JeezyTheSnowman
t2_9rynl
Not $80 better
null
0
1544705063
False
0
ebp04dq
t3_a5mk9z
null
null
t1_ebosl7a
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp04dq/
1547551220
12
t5_2fwo
r/programming
public
null
False
kr_kr
t2_14gk4x
I mean, in many languages there're two (or more) ways to do the same thing. I believe that's a good idea to have an internal doc with internal codestyle. It's especially useful if new members join the team frequently. ​ I have also seen a few situations when different team members had different ideas about...
null
0
1546017044
False
0
ecqogvk
t3_aaagix
null
null
t1_ecqo2vr
/r/programming/comments/aaagix/why_review_code/ecqogvk/
1548185807
2
t5_2fwo
r/programming
public
null
False
KillianDrake
t2_kxibfg4
I'm sure they want to rename it to Azure Code Studio.
null
0
1544705348
False
0
ebp0c8x
t3_a5mk9z
null
null
t1_ebonkqa
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp0c8x/
1547551319
6
t5_2fwo
r/programming
public
null
False
korylprince
t2_o7tdj
Did you do this after doing Advent of Code? If not you may give it a try; there's several path-finding problems this year.
null
0
1546017091
False
0
ecqoj6u
t3_aabfr9
null
null
t3_aabfr9
/r/programming/comments/aabfr9/hey_guys_i_coded_a_program_that_solves_mazes/ecqoj6u/
1548185836
1
t5_2fwo
r/programming
public
null
False
_NUCLEON
t2_161mrb
yeah, but before the advent & widespread availability of grid, you couldn't just arbitrarily place elements on the screen, so nesting and order were necessarily baked into the html structure. Even with grid, there are accessibility and seo considerations that will dictate some nesting and ordering in markup. I like...
null
0
1544705376
False
0
ebp0d0f
t3_a5b649
null
null
t1_ebovy9q
/r/programming/comments/a5b649/css_10_years_of_flexboxing/ebp0d0f/
1547551328
1
t5_2fwo
r/programming
public
null
False
irish_throwaway_1
t2_fqmvy
Sounds like lack of input validation, which is a problem no matter how you generate keys.
null
0
1546017100
False
0
ecqojne
t3_a8vpy4
null
null
t1_ecgcn7v
/r/programming/comments/a8vpy4/why_did_we_shift_away_from_databasegenerated_ids/ecqojne/
1548185840
1
t5_2fwo
r/programming
public
null
False
JoseJimeniz
t2_7bcl1
> NuGet package > official repository How do you find the official repository? Aren't you just using NuGet?
null
0
1544705619
False
0
ebp0jzq
t3_a5knml
null
null
t1_ebos4f3
/r/programming/comments/a5knml/a_confusing_dependency/ebp0jzq/
1547551414
2
t5_2fwo
r/programming
public
null
False
shenglong
t2_2nn6w
> Yes Then you've missed the point. In order to refactor it as such, you would need to *assume* that the original is correct in its logic. The entire point of explicit code is to help reduce the number of assumptions. Yes, *if the code were originally written in the way you've described* then it would be easy to...
null
0
1546017223
1546017569
0
ecqoplv
t3_aa3qdm
null
null
t1_ecqgair
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqoplv/
1548185914
1
t5_2fwo
r/programming
public
null
False
Nimaoth
t2_136hjo
I wrote an extension which allows you to synchronize your user settings and user keybindings. It uses git, so you can use GitHub or GitLab for example (I use GitLab). I haven't published it to the marketplace, but if you want you can check it out here: https://github.com/Nimaoth/VsCodePrefSync The readme isn't up to d...
null
0
1544705722
1544708368
0
ebp0mzj
t3_a5mk9z
null
null
t1_eboob17
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp0mzj/
1547551451
6
t5_2fwo
r/programming
public
null
False
irish_throwaway_1
t2_fqmvy
Only if you suck at programming... the more likely case is that your create the same record, assign it a key, and then start running a bunch of validation. If the validation succeeds, you persist the record. If it fails, you throw the record away. If an exception occurs, you show an error page and luckily haven't persi...
null
0
1546017291
1546314575
0
ecqoszy
t3_a8vpy4
null
null
t1_ecgjq91
/r/programming/comments/a8vpy4/why_did_we_shift_away_from_databasegenerated_ids/ecqoszy/
1548185958
1
t5_2fwo
r/programming
public
null
False
SippieCup
t2_39ek0
VSCode hacker typer. You can watch him code it in 7 minutes: https://youtu.be/rO8-cgtkZSw Sure its a basic macro extension, but you can improve it.
null
0
1544705795
False
0
ebp0p34
t3_a5mk9z
null
null
t1_ebp01jg
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp0p34/
1547551476
1
t5_2fwo
r/programming
public
null
False
shenglong
t2_2nn6w
Why would you assume you know what language that is written in?
null
0
1546017325
False
0
ecqoupe
t3_aa3qdm
null
null
t1_ecqggmj
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqoupe/
1548186007
-1
t5_2fwo
r/programming
public
null
False
Hendrikto
t2_rsoye
Due to scheduling difficulties, I worked for about 8 months prior to studying CS. I started using git while working there, and continue to use it for absolutely everything now. It‘s so useful, I cannot imagine doing any project without it. I think your advice about learning git is very solid. I am in the final year of...
null
0
1544705799
False
0
ebp0p6w
t3_a5hkyo
null
null
t1_ebogv3f
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebp0p6w/
1547551478
5
t5_2fwo
r/programming
public
null
False
jcelerier
t2_nju89
> This is fine, as long as you don’t have to modify or reuse this code. But what if, for instance, instead of printing, you wanted to draw the triples as triangles? Or if you wanted to stop as soon as one of the numbers reached 100? In my experience, this kind of comment qualifies as "over-reuse smell". I frankly t...
null
0
1546017491
1546017749
0
ecqp2wu
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecqp2wu/
1548186109
107
t5_2fwo
r/programming
public
null
False
qaisjp
t2_9wfvb
You don't have to pay... just press escape every 25 saves..
null
0
1544705864
False
0
ebp0r0d
t3_a5mk9z
null
null
t1_ebp04dq
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp0r0d/
1547551500
-5
t5_2fwo
r/programming
public
null
False
ProcyonHabilis
t2_1sa8o012
Someone implemented it as a brainfuck module only accessible with IPC calls
null
0
1546017547
False
0
ecqp5li
t3_aa3qdm
null
null
t1_ecq7ru7
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqp5li/
1548186142
4
t5_2fwo
r/programming
public
null
False
JoseJimeniz
t2_7bcl1
I don't care about someone's obscure definition of correctness. I care about writing correct code. And I do that without any formal proofs.
null
0
1544705865
False
0
ebp0r17
t3_a5iior
null
null
t1_ebnh9f2
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebp0r17/
1547551501
0
t5_2fwo
r/programming
public
null
False
TheOsuConspiracy
t2_j9ui7
No one thinks exceptions are the right answer either. Result or Either types are the optimal solution in my mind. Forces the developer to statically handle their error, and it's immediately clear from the type signature where/how a function can fail.
null
0
1546017663
False
0
ecqpb7y
t3_aa3qdm
null
null
t1_ecql23n
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqpb7y/
1548186211
14
t5_2fwo
r/programming
public
null
False
icarebot
t2_2n5al08x
I care
null
0
1544705870
False
0
ebp0r6m
t3_a5iior
null
null
t1_ebp0r17
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebp0r6m/
1547551502
3
t5_2fwo
r/programming
public
null
False
tending
t2_da6cc
You're missing the point: the language standard says nothing about compiler flags or what they mean. Every compiler can come up with it's completely totally unique own set of flags with completely opposite meanings from every other compiler and still be 100% standards compliant. You can never count on flags meaning the...
null
0
1546017699
False
0
ecqpcz6
t3_a9oey4
null
null
t1_ecpd8sb
/r/programming/comments/a9oey4/do_developers_understand_ieee_floating_point/ecqpcz6/
1548186233
1
t5_2fwo
r/programming
public
null
False
Emmanuel_I
t2_49k2f
The whole story is absolutely fantabulous.
null
0
1544705918
False
0
ebp0sjt
t3_a5qm02
null
null
t3_a5qm02
/r/programming/comments/a5qm02/a_tale_of_132_es/ebp0sjt/
1547551519
1
t5_2fwo
r/programming
public
null
False
stupodwebsote
t2_16iquzue
The "PLEASE DO NOT" reminds me of someone I know who sometimes drives me absolutely crazy. It's completely useless to try to communicate with him and agree on something. I'm sure he's not the only one of his kind so there's probably now people who see this notice and are now burning with the urge to "DO" what this noti...
null
0
1546017760
False
0
ecqpfvm
t3_aa3qdm
null
null
t1_ecpodhk
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqpfvm/
1548186269
6
t5_2fwo
r/programming
public
null
False
matheusmoreira
t2_8lmya
_Why_ the tampering was discovered is probably irrelevant. People get punished because of the _results_ of their actions. Incompetence will justify the leak but the developer will still be guilty.
null
0
1544705922
False
0
ebp0so2
t3_a57th7
null
null
t1_ebnirml
/r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebp0so2/
1547551521
2
t5_2fwo
r/programming
public
null
False
erwan
t2_18j45
Well, sometimes there are 2 equally valid ways to do it but it's good to be consistent in the code base.
null
0
1546017802
False
0
ecqphuv
t3_aaagix
null
null
t1_ecqnpe3
/r/programming/comments/aaagix/why_review_code/ecqphuv/
1548186294
0
t5_2fwo
r/programming
public
null
False
gredr
t2_qb5vu
NuGet isn't any better in this regard. Anyone can upload whatever package, as long as the name hasn't been taken. There's a \*lot\* of stuff in NuGet that shouldn't be there, and which wasn't put there by who is listed.
null
0
1544705952
False
0
ebp0tjs
t3_a5knml
null
null
t1_ebos4f3
/r/programming/comments/a5knml/a_confusing_dependency/ebp0tjs/
1547551531
1
t5_2fwo
r/programming
public
null
False
phpdevster
t2_f1b58
> Either it's written down or it's not really a rule. Agreed with this. Even if all you're doing is just collating supposedly "common knowledge" idiomatic and best practices together into one document, it still needs to be done. Very few things should be left to be implicitly understood. The more explicit you make ...
null
0
1546017903
False
0
ecqpmq2
t3_aaagix
null
null
t1_ecqogvk
/r/programming/comments/aaagix/why_review_code/ecqpmq2/
1548186354
3
t5_2fwo
r/programming
public
null
False
XANi_
t2_7z5jp
Embarrassed ? Most people do not even know what questions to ask in the first place. Good article. Now only to force our developers to read it...
null
0
1544705986
False
0
ebp0uik
t3_a5kkr5
null
null
t3_a5kkr5
/r/programming/comments/a5kkr5/everything_you_should_know_about_certificates_and/ebp0uik/
1547551544
1
t5_2fwo
r/programming
public
null
False
spaztiq
t2_4dici
A couple speed optimizations I found while working with an A* algorithm in Python: - Instead of keeping nodes in open/closed lists that you have to check multiple times, make each node an "object" with inOpen / inClosed flags that can quickly be toggled/checked. (You have to keep a list of nodes that changed, to reset...
null
0
1546017925
1546018485
0
ecqpntd
t3_aabfr9
null
null
t3_aabfr9
/r/programming/comments/aabfr9/hey_guys_i_coded_a_program_that_solves_mazes/ecqpntd/
1548186367
1
t5_2fwo
r/programming
public
null
False
AwesomeBantha
t2_impv1
> laptop is not confirmed to be an IBM Thinkpad REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
null
0
1544706082
False
0
ebp0xbx
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp0xbx/
1547551578
-9
t5_2fwo
r/programming
public
null
False
ifatree
t2_35oh6
> fish indices start at 1 aaaaand, i'm out.
null
0
1546018027
False
0
ecqpsmz
t3_aabai1
null
null
t3_aabai1
/r/programming/comments/aabai1/fish_shell_30/ecqpsmz/
1548186427
148
t5_2fwo
r/programming
public
null
False
rlnrlnrln
t2_iriqi
I agree. You should make a bot that attaches this text to every bot that posts in subreddits you frequent.
null
0
1544706136
False
0
ebp0yx7
t3_9v7ulj
null
null
t1_e9ar11d
/r/programming/comments/9v7ulj/i_created_a_bot_that_talks_to_recruiters_for_me/ebp0yx7/
1547551598
1
t5_2fwo
r/programming
public
null
False
badillustrations
t2_14sdqi
If it's a brought up in a code review, it seems like it's basically *not* an unspoken rule. I think code reviews are the perfect time to have discussions about whether something makes sense. Everyone on my team has had the "what's the value in that change?" conversation and it's a great opportunity for the reviewer...
null
0
1546018112
False
0
ecqpwqf
t3_aaagix
null
null
t1_ecqfwvc
/r/programming/comments/aaagix/why_review_code/ecqpwqf/
1548186477
6
t5_2fwo
r/programming
public
null
False
jbawgs
t2_wfkfs
e
null
0
1544706301
False
0
ebp13pj
t3_a5qm02
null
null
t1_ebozp85
/r/programming/comments/a5qm02/a_tale_of_132_es/ebp13pj/
1547551657
3
t5_2fwo
r/programming
public
null
False
falconfetus8
t2_5lnfr
You know what's even better than an intentionally blank else statement? No else statement at all. It's far more explicit than an empty else branch, because it doesn't even raise the *possibility* of another branch being taken. In contrast, an empty else just makes me think "WTF? Did something get deleted? Does t...
null
0
1546018282
False
0
ecqq4pd
t3_aa3qdm
null
null
t1_ecqhbce
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqq4pd/
1548186604
12
t5_2fwo
r/programming
public
null
False
JoseJimeniz
t2_7bcl1
to;dr: The whole point of having the computer test the code is: we're lazy. ------ Programmers are lazy. > *"Can't I get the computer to test this?"* I don't want to have to manually run through the same test cycle every single time. - How about I take some extra time, write code - that will do the testing...
null
0
1544706427
1544706629
0
ebp17d6
t3_a5iior
null
null
t1_ebo84py
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebp17d6/
1547551702
2
t5_2fwo
r/programming
public
null
False
kr_kr
t2_14gk4x
That's exactly my point. It's normal to choose, document and enforce one of the two ways. I just advocate being honest about the reasons for the choice: if it's just about consistency, don't say that the chosen way is a "best practice".
null
0
1546018363
False
0
ecqq8jo
t3_aaagix
null
null
t1_ecqphuv
/r/programming/comments/aaagix/why_review_code/ecqq8jo/
1548186652
1
t5_2fwo
r/programming
public
null
False
thebritisharecome
t2_im1m9
That seems much more inefficent...
null
0
1544706552
False
0
ebp1b20
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp1b20/
1547551748
29
t5_2fwo
r/programming
public
null
False
wkjid10t
t2_67j7x
Yes. For a cohesive product. But I bet they're trying to push the boundaries on video stream only machine learning algorithms. If you can have a system that only needs video cams and no additional radars, that saves a bunch of money for the final product implemented in a vehicle or whatever.
null
0
1546018378
False
0
ecqq98e
t3_aa91bp
null
null
t1_ecqmh84
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqq98e/
1548186660
11
t5_2fwo
r/programming
public
null
False
JoseJimeniz
t2_7bcl1
It's also in violation of the new Australian law. The law cannot require you to introduce systemic weakness. They can compel you to provide technical expertise. But they cannot compel you to weaken the system. ----- Division 7 of the act explicitly has limitations, which prevent a "technical assistance notice" or ...
null
0
1544706775
1544707352
0
ebp1hnj
t3_a57th7
null
null
t1_ebl3hgy
/r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebp1hnj/
1547551858
2
t5_2fwo
r/programming
public
null
False
oridb
t2_90rkq
Yes, those are nice enough that I implemented them in languages I have designed, and have talked with standards committee members about a design to get them in to C++. I don't think they're going to change this code so much. The code reads like someone forgot a case, a manager went "this needs to be rock solid", and a...
null
0
1546018385
1546025837
0
ecqq9l5
t3_aa3qdm
null
null
t1_ecq4zf5
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqq9l5/
1548186664
7
t5_2fwo
r/programming
public
null
False
pterencephalon
t2_gnt9h
I've been using on my Chromebook for 6 months (including as a main dev machine) with no problems, so it's fast enough for me rn
null
1
1544706779
False
0
ebp1hs4
t3_a5mk9z
null
null
t1_ebors0k
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp1hs4/
1547551859
1
t5_2fwo
r/programming
public
null
False
The-Effing-Man
t2_f18kz
Jesus, I never even considered that as a problem. I took a computer vision class in college and remembered one of the very hardest problems were mirrors.
null
0
1546018455
False
0
ecqqcua
t3_aa91bp
null
null
t1_ecqf5m0
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqqcua/
1548186704
11
t5_2fwo
r/programming
public
null
False
KillianDrake
t2_kxibfg4
they just build games around lootboxes that require an online component to grant those items - IE, the game is totally useless without those lootboxes so pirated games (or people that bought the game but don't pay for lootboxes) are essentially playing impossibly annoying grindfests.
null
0
1544706781
False
0
ebp1hu3
t3_a5hkyo
null
null
t1_ebognhu
/r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebp1hu3/
1547551860
3
t5_2fwo
r/programming
public
null
False
EidolonHue
t2_hfxycif
>One day we'll work out how the brain works and reproduce it someone will still say "that's not real AI". This was the original comment that sent you off on your tangent. I mean, yes, this is one of thousands (millions?) of CS advances this year that was good enough to be published, and one of many dealing with AN...
null
0
1546018460
False
0
ecqqd38
t3_aa91bp
null
null
t1_ecqlceq
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqqd38/
1548186708
6
t5_2fwo
r/programming
public
null