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
oblio-
t2_9a80o
> I guess unless you are a die hard Python person. Larry Wall is a hack! /ducks
null
0
1544715369
False
0
ebparma
t3_a5sg9k
null
null
t1_ebp5y41
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebparma/
1547556188
2
t5_2fwo
r/programming
public
null
False
igouy
t2_6sj2
There's [another discussion](https://www.reddit.com/r/java/comments/a9n9zx/java_versus_c_net_core_fastest_programs/?st=jq8hvao8&sh=8fb19161)
null
0
1546029211
False
0
ecr6w57
t3_a9ossx
null
null
t3_a9ossx
/r/programming/comments/a9ossx/java_versus_c_net_core_fastest_programs/ecr6w57/
1548194445
1
t5_2fwo
r/programming
public
null
False
fel
t2_1y874
Very nice :)
null
0
1544715373
False
0
ebpars5
t3_a5sg9k
null
null
t1_ebp865n
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpars5/
1547556190
1
t5_2fwo
r/programming
public
null
False
gc3
t2_38zon
Or lidar which is better.
null
0
1546029287
False
0
ecr70ij
t3_aa91bp
null
null
t1_ecqmh84
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecr70ij/
1548194499
1
t5_2fwo
r/programming
public
null
False
kevinonebot
t2_1rb8c0e2
Ha! I only knew of commode as "toilet" so I looked it up just now and it's quite a bit more than just a pot for defecating. Fascinating.
null
0
1544715376
False
0
ebparvy
t3_a5mk9z
null
null
t1_ebow95f
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebparvy/
1547556192
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546029305
False
0
ecr71jw
t3_aac4hg
null
null
t1_ecqzdk3
/r/programming/comments/aac4hg/modern_c_lamentations/ecr71jw/
1548194512
1
t5_2fwo
r/programming
public
null
False
CptBartender
t2_hxktq
Sure thing, will do.
null
0
1544715382
False
0
ebpas7a
t3_a5q9y8
null
null
t1_ebpa8mn
/r/programming/comments/a5q9y8/blockevil_a_userscript_that_denies_callback/ebpas7a/
1547556196
1
t5_2fwo
r/programming
public
null
False
theaceshinigami
t2_eeral
If you want you can add a meta method for the _ENV table that makes indexs normal. There’s a way to make this not effect libraries you use but I’m on mobile right now I’ll post later if anyone’s interested.
null
0
1546029360
False
0
ecr74q7
t3_aabai1
null
null
t1_ecqxfbp
/r/programming/comments/aabai1/fish_shell_30/ecr74q7/
1548194552
1
t5_2fwo
r/programming
public
null
False
MrCatacroquer
t2_3yhki
Scrolling menus is evil
null
0
1544715473
False
0
ebpawfs
t3_a5mk9z
null
null
t3_a5mk9z
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpawfs/
1547556248
5
t5_2fwo
r/programming
public
null
False
sobels
t2_bdhcu
I'm really not being pedantic. I'm unsure where I'm being unclear. I really don't care what style they use. Style is like 0.1% of the work of building a mission critical system. But it's bogus to label it as "shuttle-style" or "mission-critical" or any other flavor of reliable, when pv_controller.go weighs in at 1714 lines and pv_controller_test.go weighs in at 359 lines. There's no way they're covering every branch they include in that file.
null
0
1546029452
False
0
ecr7ac0
t3_aa3qdm
null
null
t1_ecr5jjg
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr7ac0/
1548194621
12
t5_2fwo
r/programming
public
null
False
GamerLeFay
t2_13bgld
So what happens when they raise the price of pasta and shrimp to $11.25, but they introduce a shrimp scampi for $9.25 (and Bob *hates* scampi)?
null
0
1544715558
False
0
ebpb0d8
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpb0d8/
1547556296
12
t5_2fwo
r/programming
public
null
False
ricky_clarkson
t2_tcz2
How do you tell the difference between someone genuinely reviewing stuff and someone who just wants to get the most changes reviewed to get more money from you?
null
0
1546029537
False
0
ecr7fcf
t3_aaagix
null
null
t1_ecr4z3a
/r/programming/comments/aaagix/why_review_code/ecr7fcf/
1548194683
3
t5_2fwo
r/programming
public
null
False
MrCatacroquer
t2_3yhki
Great!
null
0
1544715597
False
0
ebpb24o
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpb24o/
1547556317
1
t5_2fwo
r/programming
public
null
False
30thnight
t2_n8xgv
I switched from fish to zsh as well. Once auto-complete is setup, it pretty much feels the same.
null
0
1546029599
False
0
ecr7j1r
t3_aabai1
null
null
t1_ecr3p5f
/r/programming/comments/aabai1/fish_shell_30/ecr7j1r/
1548194730
10
t5_2fwo
r/programming
public
null
False
manuranga
t2_4081a
That is an amazing talk, but he is a strong advocate of unit tests within the each boundary, in fact he usages test driven development. He does as OP says, not as OP does, therefor exactly opposite of OP.
null
0
1544715601
False
0
ebpb2ba
t3_9yroqq
null
null
t1_ea3npqf
/r/programming/comments/9yroqq/unit_testing_do_as_i_say_dont_do_as_i_do/ebpb2ba/
1547556320
1
t5_2fwo
r/programming
public
null
False
shenglong
t2_2nn6w
> I'm really not being pedantic. > But it's bogus to label it as "shuttle-style" or "mission-critical" So you really are being pedantic.
null
0
1546029614
False
0
ecr7jwt
t3_aa3qdm
null
null
t1_ecr7ac0
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr7jwt/
1548194741
-7
t5_2fwo
r/programming
public
null
False
spotter
t2_347wr
Congrats, all your bitcoin wallets are now stolen.
null
0
1544715647
False
0
ebpb4g2
t3_a5sg9k
null
null
t1_ebp44ix
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpb4g2/
1547556346
19
t5_2fwo
r/programming
public
null
False
JamesRustleford
t2_8925d
Duplication is cheaper than the wrong abstraction.
null
0
1546029671
False
0
ecr7nas
t3_aac4hg
null
null
t1_ecqp2wu
/r/programming/comments/aac4hg/modern_c_lamentations/ecr7nas/
1548194782
98
t5_2fwo
r/programming
public
null
False
titulum
t2_ejcgp
Shitter?
null
0
1544715647
False
0
ebpb4gj
t3_a5i57x
null
null
t1_ebny31o
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebpb4gj/
1547556347
3
t5_2fwo
r/programming
public
null
False
Occivink
t2_53r1h
I don't get what prompted this change, the "virtual path" is at best a practical hack, and at worst can cause unexpected data deletion. Reading the discussion doesn't explain why they had that change of mind.
null
0
1546029680
False
0
ecr7nri
t3_aabai1
null
null
t1_ecqustb
/r/programming/comments/aabai1/fish_shell_30/ecr7nri/
1548194788
10
t5_2fwo
r/programming
public
null
False
MrCatacroquer
t2_3yhki
This is amazing. I really admire them.
null
0
1544715688
False
0
ebpb6f5
t3_a5u5dc
null
null
t3_a5u5dc
/r/programming/comments/a5u5dc/helping_blind_people_learn_to_code/ebpb6f5/
1547556370
3
t5_2fwo
r/programming
public
null
False
sobels
t2_bdhcu
Only if words no longer need to be truthful. You would be calling me pedantic if I was criticizing code written in "bug-free" style too.
null
0
1546029721
False
0
ecr7qb4
t3_aa3qdm
null
null
t1_ecr7jwt
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr7qb4/
1548194820
12
t5_2fwo
r/programming
public
null
False
CuttingEdgeRetro
t2_1zao8t9h
I would absolutely hire a non-american. But they have to be qualified. And so far they just aren't.
null
0
1544715696
False
0
ebpb6s6
t3_a4n8jv
null
null
t1_ebiopxx
/r/programming/comments/a4n8jv/why_software_developers_are_paid_5x_more_in_the/ebpb6s6/
1547556375
1
t5_2fwo
r/programming
public
null
False
HellfireOwner
t2_2juz5fhu
That downvote is exactly the answer I expected from a know-nothing. ​ Go fuck yourself, kid. You can't fool people like me
null
0
1546029877
False
0
ecr7zz0
t3_a7cdjo
null
null
t1_ecr63q4
/r/programming/comments/a7cdjo/16x_aa_font_rendering_using_coverage_masks_part/ecr7zz0/
1548194939
0
t5_2fwo
r/programming
public
null
False
Fancy_Mammoth
t2_d19xu
Thanks for the laugh.
null
0
1544715696
False
0
ebpb6u7
t3_a5sg9k
null
null
t1_ebp4kp4
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpb6u7/
1547556375
20
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> Try building one of the widely available big codebases (any > of: Chromium, Clang/LLVM, UE4 etc will do) Ok. Now ... rewrite these projects in ... which other language? With all criticism about C++, why are these projects written in C++ if the compile time would constitute such a terrible block? That these projects are damn memory hungry can be seen - try to compile llvm and look whether your machine becomes slow during the process. That happened a LOT more than e. g. compiling a new GCC from source. And it takes long for me to compile llvm too; a bit shorter than GCC possibly due to the build system but damn, is that beast memory hungry. I even had machines fail to compile LLVM (unless you fiddle with settings) whereas I never had a problem compiling GCC in regards to memory/RAM issues.
null
1
1546029937
False
0
ecr83ib
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecr83ib/
1548195012
4
t5_2fwo
r/programming
public
null
False
AsiansHaveCancer
t2_2okl9vol
LabVIEW NXG is solving many problems of traditional labview (for example: unicode strings, or zoom the block diagram, or resize blocks). ​ The problem is that it still sucks. The UI is worse and slower than before, it's all fucking gray. And there is not feature parity yet. ​ They are extremely slow in developing new things or fixing things. ​ The only good news is that they have drivers for .NET for all NI hardware , so basically you can give them a huge middle finger anytime.
null
0
1544715758
False
0
ebpb9pu
t3_9kgk75
null
null
t3_9kgk75
/r/programming/comments/9kgk75/visual_programming_why_its_a_bad_idea/ebpb9pu/
1547556411
1
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
I get that trying to compile llvm!!!
null
0
1546029968
False
0
ecr85dv
t3_aac4hg
null
null
t1_ecqxcbd
/r/programming/comments/aac4hg/modern_c_lamentations/ecr85dv/
1548195037
19
t5_2fwo
r/programming
public
null
False
TBNL
t2_3ndw4
Even with the `:(` thrown in just to draw your eye, it's readable! Quite amazing indeed!
null
0
1544715758
False
0
ebpb9qd
t3_a5sg9k
null
null
t1_ebp03li
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpb9qd/
1547556411
5
t5_2fwo
r/programming
public
null
False
dmethvin
t2_1ufq
https://i.imgur.com/NG56cyS.jpg
null
0
1546030004
False
0
ecr87i0
t3_aac4hg
null
null
t1_ecqxcbd
/r/programming/comments/aac4hg/modern_c_lamentations/ecr87i0/
1548195062
23
t5_2fwo
r/programming
public
null
False
frisch85
t2_dlugb
No thanks, I'll stay with SQL where I can easily pick the best meal for me based on the ingredients that I don't want and with the lowest price rather than the menu I like the most: SELECT men.menuename FROM menues AS men WHERE men.menueID NOT IN ( SELECT DISTINCT menIn.menueID FROM menuingrediendts AS menIn INNER JOIN myingredients AS myIn ON menIn.ingredientID = myIn.ingredientID AND myIn.dislike = 'J' ) ORDER BY men.price ASC LIMIT 1
null
0
1544715825
False
0
ebpbctu
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpbctu/
1547556449
4
t5_2fwo
r/programming
public
null
False
iphone6sthrowaway
t2_172tyv
Same here. Being a pretty new user of fish, this is the only annoyance I found when migrating (from bash). All the other times I've noticed fish doing something differently than bash, it's usually for the better.
null
0
1546030054
False
0
ecr8adh
t3_aabai1
null
null
t1_ecqm6is
/r/programming/comments/aabai1/fish_shell_30/ecr8adh/
1548195098
16
t5_2fwo
r/programming
public
null
False
reacher
t2_3pfyz
Rest In Pipes
null
0
1544715867
False
0
ebpbetl
t3_a5sg9k
null
null
t1_ebp4jea
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpbetl/
1547556474
17
t5_2fwo
r/programming
public
null
False
Marthinwurer
t2_a1hwx
Yeah, I looked but it was too in depth for me to understand with my C++ knowledge. I should have probably claimed something false so someone who knew more than me would correct me so I'd get a real answer and not a complaint.
null
0
1546030092
False
0
ecr8cfc
t3_aach46
null
null
t1_ecqxwky
/r/programming/comments/aach46/lazy_code_a_c_header_only_lib_what_if_you_could/ecr8cfc/
1548195123
17
t5_2fwo
r/programming
public
null
False
CuttingEdgeRetro
t2_1zao8t9h
Yeah, several people in the thread have jumped to this conclusion.
null
0
1544715880
False
0
ebpbfhb
t3_a4n8jv
null
null
t1_ebhfxc5
/r/programming/comments/a4n8jv/why_software_developers_are_paid_5x_more_in_the/ebpbfhb/
1547556483
1
t5_2fwo
r/programming
public
null
False
shenglong
t2_2nn6w
Yeah, because saying "we are writing code in the same style as XYZ in that we do ABC" is the as what you're saying, right? Look, it really is very simple - they made a statement and *explained what they meant by it*. If you have a problem with the explanation in terms of what writing mission-critical entails, then say that. *Otherwise you really are just being pedantic.* It's like me saying "I painted my house fire engine style in that it is red" and you saying I'm having delusions of grandeur because there's a lot more that go into fire engines than the paint. Great! Except that only an obtuse pedant will be blind to the fact that I explicitly mentioned what aspect of a fire engine I'm referring to. The fact that NASA spent hundreds of millions testing its code has got nothing to do with explicit else clauses.
null
0
1546030121
False
0
ecr8dzw
t3_aa3qdm
null
null
t1_ecr7qb4
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr8dzw/
1548195143
-5
t5_2fwo
r/programming
public
null
False
smbear
t2_hjeyr
> test returns an exit status code of 1 if the condition passes or 0 if no match. `test` returns 0 on success and 1 on failure.
null
0
1544715896
False
0
ebpbg8d
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpbg8d/
1547556491
17
t5_2fwo
r/programming
public
null
False
Existential_Owl
t2_ff7ph
Dan would fail the same software interviews that I did. It's a very comforting thought.
null
0
1546030132
False
0
ecr8em9
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecr8em9/
1548195151
147
t5_2fwo
r/programming
public
null
False
mkingsbu
t2_ahhjz
I actually got really excited for a moment at the prospect that someone had actually built something to import this type of data from an arbitrary restaurant website.
null
0
1544715982
False
0
ebpbkdk
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpbkdk/
1547556542
5
t5_2fwo
r/programming
public
null
False
playaspec
t2_5du1m
> ANN don't have to function exactly like the brain to achieve emergence. Citation? Extraordinary claims *REQUIRE* extraordinary evidence.
null
0
1546030149
False
0
ecr8fjz
t3_aa91bp
null
null
t1_ecql61z
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecr8fjz/
1548195162
3
t5_2fwo
r/programming
public
null
False
oblio-
t2_9a80o
Yes, but yours looks like nail clippings and his looks like regular code :)
null
0
1544715998
False
0
ebpbl4o
t3_a5sg9k
null
null
t1_ebp8vrm
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpbl4o/
1547556552
24
t5_2fwo
r/programming
public
null
False
AmalgamDragon
t2_12wxo6
There are only three ways: 1) get promoted, 2) get hired into the position, 3) found your own company and hire direct reports. The former is easier than the later two, so all you really need to do is manage up. Everything else will follow from that.
null
0
1546030226
False
0
ecr8jm0
t3_aabmhg
null
null
t3_aabmhg
/r/programming/comments/aabmhg/the_path_to_technical_leadership_how_to_go_from/ecr8jm0/
1548195213
1
t5_2fwo
r/programming
public
null
False
tonefart
t2_ywdx0
They can become unbroken when stupid fuck colleges and unis and politicians stop politicising the need to code and hype this industry up to the point it becomes an oversupply problem. When supply dies down then employers will start ditching their bullshit broken processes.
null
0
1544716008
False
0
ebpbllu
t3_a5u9z0
null
null
t3_a5u9z0
/r/programming/comments/a5u9z0/cs_interviews_and_how_they_can_become_unbroken/ebpbllu/
1547556558
-5
t5_2fwo
r/programming
public
null
False
BubuX
t2_dh7qw
Yep. I'm pointing out that there's so much more discussion in HN and saving everyone 3 clicks in the process.
null
0
1546030237
False
0
ecr8k6t
t3_aa3qdm
null
null
t1_ecq3t46
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr8k6t/
1548195219
2
t5_2fwo
r/programming
public
null
False
cheesepuff07
t2_c5ypv
Wow I would be escalating this to your companies IT then, on my machine from a cold start it opens and is usable in under 2 seconds.
null
0
1544716431
False
0
ebpc5rz
t3_a5mk9z
null
null
t1_eboybwa
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpc5rz/
1547556836
2
t5_2fwo
r/programming
public
null
False
SupersonicSpitfire
t2_3d9fk
Probably, with macros.
null
0
1546030238
False
0
ecr8k7u
t3_aac4hg
null
null
t1_ecqqr85
/r/programming/comments/aac4hg/modern_c_lamentations/ecr8k7u/
1548195219
7
t5_2fwo
r/programming
public
null
False
abranhe
t2_1ubuyn52
lol, there is an npm module for everything eh 😂
null
0
1544716462
False
0
ebpc796
t3_a5sg9k
null
null
t1_ebp44ix
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpc796/
1547556854
5
t5_2fwo
r/programming
public
null
False
danopia
t2_3pxlr
I guess the concern is that fish's old behavior straight up blocked certain usecases (like compiling go without storing the go in your actual gopath). Symlinks were reduced to little more than redirects. The new behavior allows those usecases and still lets you manually resolve the symlink if you want to. I liked having symlinks always resolved from a UX perspective. I have some symlinks that exist purely to redirect myself to a proper location. Now the redirect doesn't happen so those locations are available under two different paths, which wasn't the point. I'll also admit to falling back to other shells to compile my golang programs and such. So I guess this change is a net positive :/
null
0
1546030251
False
0
ecr8kzo
t3_aabai1
null
null
t1_ecr7nri
/r/programming/comments/aabai1/fish_shell_30/ecr8kzo/
1548195230
10
t5_2fwo
r/programming
public
null
False
VictorNicollet
t2_4tz09
The bug is that the function can return "Ambigiuous type for foo at None" if `use` is `None`. But let's assume for a moment that we're not weakening the type system by allowing any value to be passed into `%s`. The compiler notices that `use` is a `Location option` but is printed as a `Location`, and complains. The author of the code now needs to express what should happen when `use = None`, and so they ask themselves the question: "Under which circumstances could this happen ?" Two possible answers: - There exists a situation where `variablesWithAmbiguousTypes` returns a variable that does not appear in the map returned by `firstUseOfEachVariable` - This cannot actually happen, but the type system cannot express the subset relationship between the contents of `ambiguous` and the keys of `firstUse`, so the case must be explicitly dealt with to placate the compiler. After spending a few minutes checking the documentation for both functions, the author decides that the second answer is the most likely, and writes: | Some use -> sprintf "Ambiguous type for %s at %s" v use | None -> raise "This should never happen!" Of course, we know now that the first answer was correct. But if had the second answer been correct, what was the best thing the author could have written ?
null
0
1544716545
False
0
ebpcb4f
t3_a5iior
null
null
t1_ebp54ji
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebpcb4f/
1547556902
1
t5_2fwo
r/programming
public
null
False
PeakingBruh
t2_1hoe4pzs
Shut up nerds
null
0
1546030273
False
0
ecr8m79
t3_aa3qdm
null
null
t1_ecr8dzw
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr8m79/
1548195244
-1
t5_2fwo
r/programming
public
null
False
Crandom
t2_4mzys
I doubt vscode will ever catch up to IDEA, IDEA for Java is the gold standard of IDEs, imo.
null
0
1544716581
False
0
ebpccqh
t3_a5mk9z
null
null
t1_ebon8ej
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpccqh/
1547556922
4
t5_2fwo
r/programming
public
null
False
Linoliumz
t2_bdzzo
Thanks for writing this article, I think it is very good. One of the problems of C++ ever since the 90s has been that C++ programmers get delighted by what they can achieve with template metaprogramming. And so there are many people out there who write template metaprogramming libraries in their spare time that can do all kinds of cool stuff that no one really needs. Here are two examples: [Tick](https://github.com/pfultz2/Tick), [tiny](https://github.com/foonathan/tiny). And here is a list of [insane C++ proposals](http://www.stroustrup.com/P0977-remember-the-vasa.pdf) pointed out by Bjarne Stroustrup himself. And unfortunately the goal of many C++ programmers to become famous is: my extremely smart template metaprogramming library should be included into the C++ standard because here is a problem (that obviously nobody ever encounters in a real project) that you cannot solve without my library. That being said I am not against Eric's ranges library. I think there are real use cases for it which can be solved more elegantly than Eric's bad Pythagorian Triples example. But the critique of modern C++ in the article is good in that it reminds us that **if modern C++ is not easier to understand** than old style for loops then modern C++ is not worth it and perhaps the design of the new modern C++ feature is even flawed.
null
0
1546030282
1546034188
0
ecr8mp6
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecr8mp6/
1548195251
94
t5_2fwo
r/programming
public
null
False
lanzaio
t2_zlgp0
That link was pathetic.
null
0
1544716662
False
0
ebpcggg
t3_a5sg9k
null
null
t1_ebox6vg
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpcggg/
1547556968
0
t5_2fwo
r/programming
public
null
False
AngularBeginner
t2_eky8x
From the sidebar: > Do you have a question? Check out /r/learnprogramming, /r/cscareerquestions, or Stack Overflow.
null
0
1546030384
False
0
ecr8s6t
t3_aacubf
null
null
t3_aacubf
/r/programming/comments/aacubf/need_help_for_a_python_assignment/ecr8s6t/
1548195318
3
t5_2fwo
r/programming
public
null
False
mccoyn
t2_32ied
It was probably different groups of developers that were involved. It sounds like the limit for the core Git servers used to be 32 and all of the web services were built and tested around that. Then, the core Git servers were expanded to 132 and the web services around them were not re-tested.
null
0
1544716776
False
0
ebpclry
t3_a5qm02
null
null
t1_ebp3o6y
/r/programming/comments/a5qm02/a_tale_of_132_es/ebpclry/
1547557034
23
t5_2fwo
r/programming
public
null
False
playaspec
t2_5du1m
> Based on your logic every algorithm that is computable is just trivial math. Isn't it? The real magic comes from knowing what order to apply them, and what data to apply them to.
null
0
1546030408
False
0
ecr8thw
t3_aa91bp
null
null
t1_ecr0eh1
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecr8thw/
1548195334
0
t5_2fwo
r/programming
public
null
False
lookmeat
t2_35hrh
> I'm not sure I follow? Defining a custom monad is more work than just defining a set of commands and using Free Ah I see the were I misexplained myself. I am assuming that the monad already has been defined. I am assuming a scenario (and I think that the original author was) were we already have a monad to handle RPC calls and it already handles parallelism. In the "ideal" world you would make everything work with a Free Monad and then use the RPC handler monad, the thing is that you wouldn't be able to give further parallelism hints to the RPC handler because Free Monads work on the simplest case. The thing is that there might be no need for a generalized version if you'll only use the RPC Handler, and that lets you use specialized hooks, letting you simplify the case by admitting "we only run with this one version". Your tests would test the RPC handling system by mocking out the incoming and outgoing network requests, but still using the RPC Handler monad as you want to make sure the whole system works. Now if no Monad exists, then you shouldn't define one arbitrarily just to get a concrete usage. If no Monad exists then you should be honest and just use the abstract definition (Free Monad) to explain that idea. > Failing to grasp the full extent of the problem is possible but rare, and relatively easy to notice when it does happen. I'm not talking about failure to grasp the full extent, I am talking about explicitly and purposefully choosing to ignore issues of the problem that have small impact but add a lot of complexity. Also not about accidental complexity, but essential one. The term in software for this kind of technique/mindset are "worse is better" and YAGNI. The best example I can see was someone who solved a huge issue with software that couldn't be done under budget by simply making a system that recognized when some hard-to-deal-with edge cases happened, and then it would physically call a human being to come and fix it manually. The company was perfectly fine, because the problem happened so rarely, and the issue was itself so strange and hard to handle automatically, that it was cheaper to pay hours someone to come and fix it for a decade than to pay the extra dev time that it would take. At the same time, YAGNI is all about us solving a much more complex and larger problem than the one we have. It's not obvious until you start solving the problem, so the idea is not to rush it and wait for the needs to appear on their own.
null
0
1544716780
False
0
ebpclx1
t3_a5cm5c
null
null
t1_ebov0ar
/r/programming/comments/a5cm5c/people_who_disagree_with_you_arent_trying_to_make/ebpclx1/
1547557036
1
t5_2fwo
r/programming
public
null
False
Drisku11
t2_bg6v5
Thing is, I am a mostly visual learner, which is why these animations annoy me so much. What *motivation* do the circles convey? *Why* would anyone ever describe their functions that way? What makes that a useful representation? How do you calculate what the radius of each circle should be, and why? The assertion on betterexplained that you should think in terms of circles, not sinusoids, is pretty much exactly wrong. Sinusoids vs. a single propagating ripple gives an intuitive visualization of the uncertainty principle, for example (the sinusoid has a frequency, but no definite position. The ripple has a position, but no definite frequency). The author admits he doesn't actually know of any intuition for why a Dirac delta function should have all frequencies in terms of circles; it just works when you try it. Nevermind trying to convey things like aliasing, bandwidth, the sampling theorem, Parseval's theorem, or the convolution theorem (i.e. every important topic related to Fourier transforms) in terms of circles. It might be easy to understand the idea that you can build a signal out of circles, but that idea doesn't actually lead anywhere useful, and makes it seem like it'd be a lot more complicated than it actually is computationally. So the point is that it *doesn't* introduce the topic gently. It doesn't introduce it at all. It shows a tangentially related corollary of the actual ideas that's only useful as a parlor trick (e.g. the Homer Simpson animation).
null
0
1546030432
1546030757
0
ecr8upk
t3_a8e189
null
null
t1_ecqof01
/r/programming/comments/a8e189/fourier_series_visualization/ecr8upk/
1548195351
1
t5_2fwo
r/programming
public
null
False
Inkdrip
t2_lbszv
TIL about regex backreferences Where would I be without nitpicky users?
null
0
1544716808
False
0
ebpcn7q
t3_a5sg9k
null
null
t1_ebp4r1t
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpcn7q/
1547557052
11
t5_2fwo
r/programming
public
null
False
Daneel_Trevize
t2_dxefp
I really don't get why them and shevygen/shevyruby are tolerated by mods in this subreddit. They're probably actually >90% of downvotes that aren't against throwaway accounts spamming their own blogs/vids.
null
0
1546030433
False
0
ecr8uqv
t3_aaco1d
null
null
t1_ecr5rwx
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecr8uqv/
1548195351
28
t5_2fwo
r/programming
public
null
False
moopet
t2_6e4gh
grep -q 'shrimp.*$\d\.' menu.txt && echo "Available" That'll do it. Why test for numerically less-than-ten when that's the same as "a single digit"?
null
0
1544716872
False
0
ebpcq6f
t3_a5sg9k
null
null
t1_eboxuas
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpcq6f/
1547557088
21
t5_2fwo
r/programming
public
null
False
DarkLordAzrael
t2_srtuf
There isn't a void pointer in that example. Also, function pointers are valid in constexpr contexts, so long as you don't try to do pointer manipulation on them (which you shouldn't be doing with function pointers anyway.)
null
0
1546030444
False
0
ecr8vcz
t3_aac4hg
null
null
t1_ecr6vxo
/r/programming/comments/aac4hg/modern_c_lamentations/ecr8vcz/
1548195358
24
t5_2fwo
r/programming
public
null
False
barubary
t2_9lgaa
I'm not sure what you mean. Spawning six processes is slower than spawning a single process. Especially if all you want to do is parse a 5 line text file.
null
0
1544716982
False
0
ebpcv7s
t3_a5sg9k
null
null
t1_eboyz7h
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpcv7s/
1547557150
7
t5_2fwo
r/programming
public
null
False
sobels
t2_bdhcu
Listen, I already said that if they wanted reliable code they should have expanded their tests instead of using the style formerly known as Shuttle style. That's a concrete action, not pedantic at all. You're utterly fixated on the smallest part of my criticism.
null
0
1546030447
False
0
ecr8viy
t3_aa3qdm
null
null
t1_ecr8dzw
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr8viy/
1548195360
6
t5_2fwo
r/programming
public
null
False
InquiREEEEEEEEEEE
t2_2fm0meg7
Just my thought! If I have some time under the pile of things I want to do, that could be a fun project :)
null
0
1544717018
False
0
ebpcwso
t3_a5sg9k
null
null
t1_ebp792v
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpcwso/
1547557170
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546030497
1546882999
0
ecr8y2j
t3_aaco1d
null
null
t1_ecr8uqv
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecr8y2j/
1548195391
43
t5_2fwo
r/programming
public
null
False
Bowgentle
t2_aix51
This does seem like a rather bizarre way to get around using Javascript. And a very Microsoft sort of way, too.
null
0
1544717019
False
0
ebpcwu6
t3_a5ssxk
null
null
t3_a5ssxk
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpcwu6/
1547557170
4
t5_2fwo
r/programming
public
null
False
AngularBeginner
t2_eky8x
And to pretty much duplicate your API. I prefer the functional approach: Just pass delegates/callbacks. Testable too, without the mess of having to create interfaces for everything.
null
0
1546030539
False
0
ecr90ca
t3_aacv7i
null
null
t3_aacv7i
/r/programming/comments/aacv7i/softwarearch_using_interfaces_and_dependency/ecr90ca/
1548195420
4
t5_2fwo
r/programming
public
null
False
PM_ME_UR_OBSIDIAN
t2_lyb3e
It's funny to mix levels of swearing. "Câlisse de tabarouette" is a bit like saying "gosh-darned cunt".
null
0
1544717028
False
0
ebpcx98
t3_a5mk9z
null
null
t1_eboj9c4
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpcx98/
1547557204
1
t5_2fwo
r/programming
public
null
False
khuongnguyen232
t2_9aaj3
This is not a sub for homework question really. And you need to show your attempts, explain what not working for you/ what you don't understand
null
0
1546030562
False
0
ecr91kb
t3_aacubf
null
null
t3_aacubf
/r/programming/comments/aacubf/need_help_for_a_python_assignment/ecr91kb/
1548195435
1
t5_2fwo
r/programming
public
null
False
manuranga
t2_4081a
Nice article, I am working on a compiler myself and was thinking about the cost of unit testing a compiler. It is hard to write non-end-to-end tests for a compiler, but it is possible to do that by adding more layers and testing each layer as a system boundary. eg: https://github.com/apple/swift/tree/master/test/SILOptimizer Do you think this is a worthwhile approach?
null
0
1544717108
False
0
ebpd0si
t3_9yroqq
null
null
t1_ea4lwk8
/r/programming/comments/9yroqq/unit_testing_do_as_i_say_dont_do_as_i_do/ebpd0si/
1547557248
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
Nice try.
null
0
1546030587
False
0
ecr92vp
t3_aaco1d
null
null
t1_ecr5rwx
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecr92vp/
1548195451
-1
t5_2fwo
r/programming
public
null
False
PM_ME_UR_OBSIDIAN
t2_lyb3e
Peu importe la qualité de ton Québécois, il y a juste une phrase qu'il faut absolument savoir dire: À BOIRE, TABARNAK!
null
0
1544717135
1544745508
0
ebpd20t
t3_a5mk9z
null
null
t1_ebp6rrm
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpd20t/
1547557262
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
The auto completion is far better than any other shell
null
0
1546030700
False
0
ecr98vq
t3_aabai1
null
null
t1_ecqtfd1
/r/programming/comments/aabai1/fish_shell_30/ecr98vq/
1548195526
24
t5_2fwo
r/programming
public
null
False
iBzOtaku
t2_gimzb
I'm surprised there's no popular extension for it. And as for writing it myself, I have no idea how to write editor extensions yet. Sounds like a fun side project.
null
0
1544717199
False
0
ebpd510
t3_a5mk9z
null
null
t1_eboxf5j
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpd510/
1547557299
1
t5_2fwo
r/programming
public
null
False
VernorVinge93
t2_2amyhthy
Thanks. Whoops
null
0
1546030726
False
0
ecr9a71
t3_aa13tt
null
null
t1_ecqre9g
/r/programming/comments/aa13tt/dart_vs_swift_a_comparison/ecr9a71/
1548195542
1
t5_2fwo
r/programming
public
null
False
13steinj
t2_i487l
This list is just wrong * of cat: piping a cat output is more likely to be available on the system than depending on the shell to default pipe any files, or depend on the binary to accept a file argument * of kill -9: SIGTERM (15) is usually already tried by the user, via clicking the damned X button or some other managing command. SIGINT(2) is not meant to specifically be a process killer. Plenty of interactive processes use it as a "stop current step". SIGHUP(1) is more or less equivalent to SIGTERM, but it has a different meaning which may cause more behavior than SIGTERM. * echo: special case of backticks, self admitted * ls \*: shell dependent * wc -l: grep version and flavor dependent, self admitted * sed and awk vs grep: if it can be understood more easily via grep piping, it is better. Also generally it can be considered faster too. * back ticks: shell fucking dependent * test: shell fucking dependent I'm all for less uselessness. But it's not useless if the "better alternatives" are dependent on the behavior of X. The signal thing is the most egregious-- just plain fucking wrong.
null
0
1544717281
False
0
ebpd91g
t3_a5sg9k
null
null
t1_ebox6vg
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpd91g/
1547557350
13
t5_2fwo
r/programming
public
null
False
bob_ama_the_spy
t2_1ht0jy11
What are some of the areas in which real-time object detection would be a game changer in the world right now?
null
0
1546030749
False
0
ecr9be0
t3_aa91bp
null
null
t3_aa91bp
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecr9be0/
1548195556
1
t5_2fwo
r/programming
public
null
False
PM_ME_UR_OBSIDIAN
t2_lyb3e
It's also an adjective, meaning something between "practical" and "fortuitous". On the other hand, "mal commode" means "impolite" or "jerk".
null
0
1544717285
False
0
ebpd99v
t3_a5mk9z
null
null
t1_ebparvy
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpd99v/
1547557353
2
t5_2fwo
r/programming
public
null
False
playaspec
t2_5du1m
> “10% of brain power as a function of neurons and synapses” is misleading at best It's garbage science is what it is.
null
0
1546030909
False
0
ecr9k1b
t3_aa91bp
null
null
t1_ecqiyn3
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecr9k1b/
1548195689
2
t5_2fwo
r/programming
public
null
False
quietchaos
t2_39s8u
GTFO Telerik salesman
null
1
1544717311
False
0
ebpdai8
t3_a5ssxk
null
null
t3_a5ssxk
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpdai8/
1547557368
0
t5_2fwo
r/programming
public
null
False
Brillegeit
t2_5q0j1
> Longhorn shipped. It was Vista Wasn't the development on the "real" Longhorn stopped and they instead ported the finished stuff to Windows 2003 and launched as Vista? But yeah, RIP as Vista as well. So there's a new MS FS as well? Do you know the name?
null
0
1546030922
False
0
ecr9kst
t3_a89y3r
null
null
t1_ecr5w2i
/r/programming/comments/a89y3r/the_node_modules_problem/ecr9kst/
1548195699
1
t5_2fwo
r/programming
public
null
False
SpaceboyRoss
t2_dr90jbt
Unix programmers are a different people and that's the reason why they do that.
null
0
1544717328
False
0
ebpdbaf
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpdbaf/
1547557377
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546030980
False
0
ecr9nzf
t3_aabai1
null
null
t1_ecr6jrp
/r/programming/comments/aabai1/fish_shell_30/ecr9nzf/
1548195739
8
t5_2fwo
r/programming
public
null
False
Zeroto
t2_8kqkh
But for visual studio the version is very important. So I normally search for `vs2017` or `vscode` depending on what results I want.
null
0
1544717376
False
0
ebpddln
t3_a5mk9z
null
null
t1_ebovgqi
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpddln/
1547557406
8
t5_2fwo
r/programming
public
null
False
playaspec
t2_5du1m
If only there were some simple markup that people could use to express their sarcasm....
null
0
1546031010
False
0
ecr9poh
t3_aa91bp
null
null
t1_ecqy6au
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecr9poh/
1548195760
-2
t5_2fwo
r/programming
public
null
False
VictorNicollet
t2_4tz09
This is my usual approach as well, but in this situation, I'm stuck. There will be a piece of code that drops a value from the structure, and has to mark some previously "Referenced" keys as "Unreferenced", because this is the only situation where "Referenced" keys can become "Unreferenced". But how do I get the type system to check that I'm not marking the wrong keys ? For instance, If I use reference-counting (increment when a reference is added, decrement when a reference is dropped), how does the type system tell me that I haven't forgotten an increment or decrement ? How does it tell me that (for instance) if a value references a key twice, I will mistakenly increment only once, but still decrement twice ?
null
0
1544717378
False
0
ebpddow
t3_a5iior
null
null
t1_ebp3ndj
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebpddow/
1547557407
1
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
It's a cool shell. I settled for bash due to laziness but fish brings things into the equation that bash will never know; and even zsh does not have as-is by default. The default colour highlighting for example.
null
0
1546031028
False
0
ecr9qni
t3_aabai1
null
null
t3_aabai1
/r/programming/comments/aabai1/fish_shell_30/ecr9qni/
1548195771
12
t5_2fwo
r/programming
public
null
False
CarlTysonHydrogen
t2_h0s3c
too*
null
0
1544717383
False
0
ebpddx3
t3_a5kkr5
null
null
t3_a5kkr5
/r/programming/comments/a5kkr5/everything_you_should_know_about_certificates_and/ebpddx3/
1547557410
2
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
Aaaaaaaaas if anyone sane in his/her mind would write shell scripts.
null
0
1546031042
False
0
ecr9rf8
t3_aabai1
null
null
t1_ecqpsmz
/r/programming/comments/aabai1/fish_shell_30/ecr9rf8/
1548195781
-13
t5_2fwo
r/programming
public
null
False
Dgc2002
t2_52v7g
Anyone know what movie that gif is from?
null
0
1544717470
False
0
ebpdi7b
t3_a5mk9z
null
null
t1_ebore7v
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpdi7b/
1547557462
1
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
You mean this prevents you from writing shell scripts? Good! Write in a decent language such as ruby or python.
null
1
1546031072
False
0
ecr9t0y
t3_aabai1
null
null
t1_ecqsgm7
/r/programming/comments/aabai1/fish_shell_30/ecr9t0y/
1548195801
-1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544717509
False
0
ebpdk3v
t3_9yroqq
null
null
t1_ea3mbpl
/r/programming/comments/9yroqq/unit_testing_do_as_i_say_dont_do_as_i_do/ebpdk3v/
1547557486
1
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> I was making off-by-one errors It's common for people to make off-by one errors. There are only two really hard problems that programmers face: - Giving something a good name. - Writing clean/elegant code. - Off by one errors.
null
1
1546031127
False
0
ecr9w46
t3_aabai1
null
null
t1_ecqxfbp
/r/programming/comments/aabai1/fish_shell_30/ecr9w46/
1548195839
-5
t5_2fwo
r/programming
public
null
False
moopet
t2_6e4gh
Found the American.
null
0
1544717529
False
0
ebpdl57
t3_a5sg9k
null
null
t1_ebpa3t0
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpdl57/
1547557498
20
t5_2fwo
r/programming
public
null
False
shenglong
t2_2nn6w
> You're utterly fixated on the smallest part of my criticism. That is *your entire criticism*. You're fixated on the fire-engine. Again, **did you actually read the submission**? > As a result, the controller code may seem overly verbose, commented, and 'branchy'. *However, a large amount of business knowledge and context is recorded here in order to ensure that future maintainers can correctly reason through the complexities of the binding behavior*. For that reason, changes to this file should preserve and add to the space shuttle style.
null
0
1546031138
False
0
ecr9woo
t3_aa3qdm
null
null
t1_ecr8viy
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr9woo/
1548195847
-1
t5_2fwo
r/programming
public
null
False
Zakman--
t2_is8um
Yes, it's almost like you're streaming the entire UI. Having said that though, only the DOM diffs are sent to the server and back so everything would fit under 1KB. The problem is latency. The Blazor devs found that if you're hitting a server on the other side of the world then you'll be looking at half a second response times for UI events but if you're within something like a thousand miles then there's no lag whatsoever. I could see this being really popular with small businesses in the B2B world. Definitely wouldn't recommend it for any public-facing sites.
null
0
1544717576
False
0
ebpdnfr
t3_a5ssxk
null
null
t1_ebozn0u
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpdnfr/
1547557528
7
t5_2fwo
r/programming
public
null
False
Renive
t2_gw9z3
So it works better?
null
0
1546031182
False
0
ecr9ywm
t3_aa3qdm
null
null
t1_ecq7ru7
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecr9ywm/
1548195873
2
t5_2fwo
r/programming
public
null
False
NaBrO-Barium
t2_ff064qt
Out of context and perfectly appropriate!
null
0
1544717583
False
0
ebpdns8
t3_a5sg9k
null
null
t1_ebp9twn
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpdns8/
1547557532
18
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
Good! ZSH is a good shell but too geeky. I realized that I don't need much from a shell. This is why I stayed with bash - because of laziness. But Fish is great. And I still want zsh's RPROMPT in bash, too. And in Fish.
null
0
1546031190
False
0
ecr9zcc
t3_aabai1
null
null
t1_ecqqqyo
/r/programming/comments/aabai1/fish_shell_30/ecr9zcc/
1548195879
7
t5_2fwo
r/programming
public
null