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
invisi1407
t2_6nbco
It'll be editor-suicide if they do, is all I'm saying.
null
0
1544731477
False
0
ebpwu8g
t3_a5mk9z
null
null
t1_ebpuom4
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpwu8g/
1547566496
3
t5_2fwo
r/programming
public
null
False
ack_complete
t2_ubq9z
No, just on plain collections.
null
0
1546040665
False
0
ecrmj1n
t3_aac4hg
null
null
t1_ecrfbhg
/r/programming/comments/aac4hg/modern_c_lamentations/ecrmj1n/
1548201944
4
t5_2fwo
r/programming
public
null
False
aim2free
t2_7mxv
OK, it's a programmer obsessed with having to use pipes, awk and sed, where I would just use emacs. I leve pipes, awk, sed for the heavy repeatable stuff.
null
0
1544731676
False
0
ebpx3ur
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpx3ur/
1547566614
0
t5_2fwo
r/programming
public
null
False
PoshNpie
t2_b3cfl
As far as I know he is the creator of the popular javascript state management library Redux, and he works on the React.js team. He's not "internet famous" but he's definitely a respected name in the web dev community
null
0
1546040720
False
0
ecrmljb
t3_aaco1d
null
null
t1_ecrhz60
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrmljb/
1548201974
30
t5_2fwo
r/programming
public
null
False
metalevelconsulting
t2_2f90b1tt
lol. this tickled me. But one thing: I thought Tinder was just a mobile app? Did you emulate a mobile phone? Or is Tinder available via a desktop browser now. I'm at work and cant check. ​
null
0
1544731745
False
0
ebpx7br
t3_a5wwjf
null
null
t3_a5wwjf
/r/programming/comments/a5wwjf/automate_the_boring_stuff_with_python_tinder/ebpx7br/
1547566657
1
t5_2fwo
r/programming
public
null
False
hot_diggity_dog314
t2_1txxlzhl
**G**NU’s **N**ot **U**nix
null
0
1546040745
False
0
ecrmmne
t3_aabai1
null
null
t1_ecrcj0x
/r/programming/comments/aabai1/fish_shell_30/ecrmmne/
1548201988
4
t5_2fwo
r/programming
public
null
False
berong91
t2_b0ixd
Jesus so many commands, howdabout one .py file to open the menu, do a bunch of magic string tearing, one simple re to grab the price and parse it to double, then a majestic if else. Anyone?
null
0
1544731753
False
0
ebpx7pg
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpx7pg/
1547566662
3
t5_2fwo
r/programming
public
null
False
WonderfulNinja
t2_yeloc5f
Lambdas effectively allow stuff that was impossible like nested functions. Once meta classes are added into C++ it will get all the nice stuff I missed from Delphi.
null
0
1546040772
False
0
ecrmnuv
t3_aac4hg
null
null
t1_ecrdb2z
/r/programming/comments/aac4hg/modern_c_lamentations/ecrmnuv/
1548202003
9
t5_2fwo
r/programming
public
null
False
0987654231
t2_1gy6bm
Maybe, but you delivered wrong. It's like I'm going to be reading about how the financial infrastructure for the world works instead it's articles on a single company. No one likes a bait and switch. If the content is interesting then you don't need the clickbait titles.
null
0
1544731777
False
0
ebpx8wu
t3_a5rqbw
null
null
t1_ebpvnxd
/r/programming/comments/a5rqbw/stories_from_the_development_team_building_the/ebpx8wu/
1547566677
2
t5_2fwo
r/programming
public
null
False
munchbunny
t2_51tnj
Most assholes are not assholes 100% of the time, and nice people aren't nice 100% of the time. It's really more like the difference between someone who is an asshole in 0.5% of cases vs 5% of cases. At 1/200, they're just human. At 1/20, they're unpleasant and you'd rather not talk to them. By the time it's 1/5 or more, they're already toxic.
null
0
1546040814
False
0
ecrmpsp
t3_aaco1d
null
null
t1_ecrkcks
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrmpsp/
1548202026
7
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
Exactly, I couldn't quite come up with an elegant way to express that. Most pipelines are developed iteratively, or mashed together from other pipelines.
null
0
1544731932
False
0
ebpxgg6
t3_a5sg9k
null
null
t1_ebpehvw
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpxgg6/
1547566770
2
t5_2fwo
r/programming
public
null
False
matthieuC
t2_kxoj7
I'm surprised he doesn't know Typescript.
null
0
1546040857
False
0
ecrmrsi
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrmrsi/
1548202051
22
t5_2fwo
r/programming
public
null
False
McNerdius
t2_5e8bl
yup. https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools https://github.com/Microsoft/vscode-cpptools/blob/master/launch.md i've only used the extension with C, but haven't had any problems.
null
0
1544732005
False
0
ebpxk6o
t3_a5mk9z
null
null
t1_ebp4wyv
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpxk6o/
1547566845
5
t5_2fwo
r/programming
public
null
False
drjeats
t2_4lzhn
> To be fair, I've been a professional Unity developer for years, have worked on over a hundred Unity games, some award winning, and have never seen nor written C# code like that. Probably because code using Linq/Enumerable ran like shit on Unity's mono runtime until very recently (still runs poorly, but the new runtimes are helping. And supposedly there's a new GC? I stopped using Unity a couple of years ago). I'm surprised you haven't seen Linq syntax before, though. Did you do gamedev with C++ then switch to Unity?
null
0
1546040903
False
0
ecrmtuw
t3_aac4hg
null
null
t1_ecqxrdd
/r/programming/comments/aac4hg/modern_c_lamentations/ecrmtuw/
1548202077
9
t5_2fwo
r/programming
public
null
False
moomoomoo309
t2_eld9j
Bit of a jump, eh? You went from "Well, that was pointless" to "This person does not deserve life regardless of their past actions or any potential future actions they will do"
null
0
1544732016
False
0
ebpxkpf
t3_a5qm02
null
null
t1_ebp22mj
/r/programming/comments/a5qm02/a_tale_of_132_es/ebpxkpf/
1547566851
13
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
Yes, ScopedLambda is similar to function\_ref from your proposal, which even says that the objective is small overhead (no allocations, no exceptions and possibly even zero overhead when inlining the call), so I don't quite understand your comment. Even without the inlining the overhead is basically an indirect method call, which is significantly smaller than what std::function does, which at very least copies the callable, which may even result in an allocation if the callable doesn't fit small buffer optimization of std::function. And I do maintain that std::function being copyable is a bad decision. At the very least there should have been move-only std::function alternative.
null
0
1546040933
False
0
ecrmv9f
t3_aac4hg
null
null
t1_ecrlid9
/r/programming/comments/aac4hg/modern_c_lamentations/ecrmv9f/
1548202094
3
t5_2fwo
r/programming
public
null
False
ZombieLincoln666
t2_c0638
What will happen is that people will get upset and complain, and then just live with the ads because they've already invested so much time in learning VSCode. That's how it always works with these business models.
null
0
1544732075
False
0
ebpxnjq
t3_a5mk9z
null
null
t1_ebpwu8g
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpxnjq/
1547566886
-4
t5_2fwo
r/programming
public
null
False
victotronics
t2_izlew9
Some of it is more computing than simulation of intelligence, but on the whole: nice job.
null
0
1546040948
False
0
ecrmw01
t3_aafep8
null
null
t3_aafep8
/r/programming/comments/aafep8/a_history_of_artificial_intelligence/ecrmw01/
1548202104
2
t5_2fwo
r/programming
public
null
False
snowe2010
t2_53c7i
huh. well. whatever works I guess!
null
0
1544732086
False
0
ebpxo2c
t3_a5cm5c
null
null
t1_ebouksk
/r/programming/comments/a5cm5c/people_who_disagree_with_you_arent_trying_to_make/ebpxo2c/
1547566892
2
t5_2fwo
r/programming
public
null
False
AdjustedMold97
t2_kwtr4
Ah I see. Thank you for clarifying!
null
0
1546040957
False
0
ecrmweg
t3_aabfr9
null
null
t1_ecr60ih
/r/programming/comments/aabfr9/hey_guys_i_coded_a_program_that_solves_mazes/ecrmweg/
1548202108
1
t5_2fwo
r/programming
public
null
False
SunderingSeas
t2_ljjoy
If you like video format checkout OP's [keynote (this link jumps you to 60 fps animation demo).](https://www.youtube.com/watch?v=Z2DU0qLfPIY&feature=youtu.be&t=2632)
null
0
1544732142
1544732476
0
ebpxqwv
t3_a5umm4
null
null
t3_a5umm4
/r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebpxqwv/
1547566928
3
t5_2fwo
r/programming
public
null
False
notevencrazy99
t2_q99gh
So he is frontend...
null
1
1546040965
False
0
ecrmwsc
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrmwsc/
1548202113
-1
t5_2fwo
r/programming
public
null
False
Candid_Calligrapher
t2_2nsvdulx
I had one of these guys in my algorithms & complexity course in the 3rd year. Nice guy, but absolutely useless :-/. He dropped out of the course though.
null
0
1544732209
False
0
ebpxu81
t3_a5u9z0
null
null
t1_ebpr39w
/r/programming/comments/a5u9z0/cs_interviews_and_how_they_can_become_unbroken/ebpxu81/
1547566970
1
t5_2fwo
r/programming
public
null
False
mikelieman
t2_2c4ud
I thought you meant https://en.wikipedia.org/wiki/Files_transferred_over_shell_protocol
null
0
1546040966
False
0
ecrmwtf
t3_aabai1
null
null
t3_aabai1
/r/programming/comments/aabai1/fish_shell_30/ecrmwtf/
1548202114
-1
t5_2fwo
r/programming
public
null
False
rhyswes
t2_19d9nua
It says payments, not financial. Ok matter of interpretation noted but bait and switch was not the intent.
null
0
1544732447
False
0
ebpy5zy
t3_a5rqbw
null
null
t1_ebpx8wu
/r/programming/comments/a5rqbw/stories_from_the_development_team_building_the/ebpy5zy/
1547567116
2
t5_2fwo
r/programming
public
null
False
FunCicada
t2_1p5massk
Files transferred over Shell protocol (FISH) is a network protocol that uses Secure Shell (SSH) or Remote Shell (RSH) to transfer files between computers and manage remote files.
null
0
1546040982
False
0
ecrmxk9
t3_aabai1
null
null
t1_ecrmwtf
/r/programming/comments/aabai1/fish_shell_30/ecrmxk9/
1548202123
2
t5_2fwo
r/programming
public
null
False
jiffier
t2_cx0s7
I'm starting to suspect you nailed it there: VSCode is the editor of the millenials, and Javascript is their language. Ten years ago all the hype was about using RoR, and many of them were using Textmate. Because Textmate was the real thing. God knows where the hype will be in 10 years, but I do know that by that time, Emacs will still be there alive and kicking (and I'll still be able to use it through ssh)
null
0
1544732500
False
0
ebpy8mk
t3_a5i57x
null
null
t1_ebnt699
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebpy8mk/
1547567149
3
t5_2fwo
r/programming
public
null
False
drjeats
t2_4lzhn
You always need to materialize the collection it at some point. And the overhead is there because you have to construct the graph of IEnumerable objects you eventually call ToList on.
null
0
1546041041
False
0
ecrn06g
t3_aac4hg
null
null
t1_ecrfbhg
/r/programming/comments/aac4hg/modern_c_lamentations/ecrn06g/
1548202155
3
t5_2fwo
r/programming
public
null
False
LeifCarrotson
t2_ku0nh
Honestly, I've had pretty decent results with OCRing PDF documents for data extraction. Trying to use PDFSharp or others to parse the menu even if it's actually an export of their menu and not just a scan typically results in disaster...on some of these documents seems like Illustrator or LaTeX or whatever generated these documents is intentionally obfuscating the data. If one word is physically at the same level and to the right of another, they should probably go on the same line...OCR does that.
null
0
1544732502
False
0
ebpy8p5
t3_a5sg9k
null
null
t1_ebp6cbc
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpy8p5/
1547567150
9
t5_2fwo
r/programming
public
null
False
sadderreborn
t2_2qizqgel
Right, i guess that was what i was lazily expressing
null
0
1546041064
False
0
ecrn16q
t3_aac4hg
null
null
t1_ecrmj1n
/r/programming/comments/aac4hg/modern_c_lamentations/ecrn16q/
1548202167
1
t5_2fwo
r/programming
public
null
False
thorhs
t2_aabam
Sure, if you are running in a container and have a way to provision certs programmatically, line Hashicorp vault, the why store the certs at all? You would just be storing the very on a ephemeral storage, so why not just in memory? It doesn’t have to be because of security, it could just be simpler provisioning.
null
0
1544732609
False
0
ebpydyx
t3_a5kkr5
null
null
t1_ebot37y
/r/programming/comments/a5kkr5/everything_you_should_know_about_certificates_and/ebpydyx/
1547567214
2
t5_2fwo
r/programming
public
null
False
houses_of_the_holy
t2_50b3x
I got 16s -O2 and 21s -O3 with gcc. I just tried it with clang as well and I got 31s on -O2. Interestingly clang is slightly faster when using -O0, shaves about 0.7s off my build time but damn it seems 2x worse for optimized builds in this use case D:
null
0
1546041105
False
0
ecrn31p
t3_aac4hg
null
null
t1_ecrm1au
/r/programming/comments/aac4hg/modern_c_lamentations/ecrn31p/
1548202219
3
t5_2fwo
r/programming
public
null
False
nimbomobi
t2_109fdkfl
Wow imagine trying to debug with even the smallest amount of code complexity
null
0
1544732632
False
0
ebpyf4y
t3_a5u5dc
null
null
t3_a5u5dc
/r/programming/comments/a5u5dc/helping_blind_people_learn_to_code/ebpyf4y/
1547567228
2
t5_2fwo
r/programming
public
null
False
Booty_Bumping
t2_93n4r
Shockingly inexperienced.
null
0
1546041120
False
0
ecrn3qv
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrn3qv/
1548202228
-20
t5_2fwo
r/programming
public
null
False
netinept
t2_5201u
Let me know when that becomes an issue.
null
0
1544732675
False
0
ebpyh8z
t3_a5sg9k
null
null
t1_ebpk4sq
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpyh8z/
1547567255
7
t5_2fwo
r/programming
public
null
False
WonderfulNinja
t2_yeloc5f
Man, that is just how a PhD writes his loops. Only uneducated peasants use "for".
null
0
1546041123
False
0
ecrn3x2
t3_aac4hg
null
null
t1_ecrbyss
/r/programming/comments/aac4hg/modern_c_lamentations/ecrn3x2/
1548202231
29
t5_2fwo
r/programming
public
null
False
attreya12
t2_15o0a3
It's available through the web. tinder.com
null
0
1544732699
False
0
ebpyifd
t3_a5wwjf
null
null
t1_ebpx7br
/r/programming/comments/a5wwjf/automate_the_boring_stuff_with_python_tinder/ebpyifd/
1547567269
2
t5_2fwo
r/programming
public
null
False
vasiapatov
t2_b083k
I've seen some very talented people fall victim to engaging in bikeshedding, I don't think the "cluelessness" you describe is a necessary ingredient. Also, some of the questions you mentioned are actually important - something like choosing micro or nanoseconds can be significant, as far as being consistent across an API and minimizing cognitive load for developers. For example, an imperial/metric mismatch once caused a [space catastrophe](http://www.cnn.com/TECH/space/9909/30/mars.metric.02/).
null
0
1546041128
False
0
ecrn44y
t3_aabai1
null
null
t1_ecrcszd
/r/programming/comments/aabai1/fish_shell_30/ecrn44y/
1548202233
5
t5_2fwo
r/programming
public
null
False
ahsansaeed067
t2_v8rwoio
Yes, you're right. Kotlin already added those extension functions in classes. But what can u say Java had to add these features in native APIs.
null
0
1544732815
False
0
ebpyoa5
t3_a5umpk
null
null
t1_ebpurve
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebpyoa5/
1547567342
1
t5_2fwo
r/programming
public
null
False
tasminima
t2_q2mvk9r
In practice maybe but even then maybe only for optimized builds (in theory the standard is completely unpreoccupied about such thing, and the concept of zero-cost abstraction pretty much never hold for debug builds), although the compiler might devirtualize calling a function pointer, and if it does not the CPU will cache it if it is in a hot spot, then with virtually no perf loss (well, then except if you need Spectre mitigations) So it is a little weird to rely soo much on the optimizing tricks of the implementation to get the proverbial "zero" cost abstractions (which "free" calls of callable in template param are part of), but to forget the ones that also exist for "old" constructs.
null
1
1546041154
False
0
ecrn5bb
t3_aac4hg
null
null
t1_ecrij8o
/r/programming/comments/aac4hg/modern_c_lamentations/ecrn5bb/
1548202248
3
t5_2fwo
r/programming
public
null
False
Matrix_V
t2_hkr2b
> Shenandoah gc as an experimental GC alongside ZGC Would you provide further reading for Shenandoah vs ZGC vs G1?
null
0
1544732859
1544739741
0
ebpyqge
t3_a5umpk
null
null
t1_ebponqg
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebpyqge/
1547567368
1
t5_2fwo
r/programming
public
null
False
__pg_
t2_rcy9eog
tcc being 30x faster than gcc with optimizations turned off really drives home how innefficient the compile-and-edit cycle currently is.
null
0
1546041198
False
0
ecrn7c1
t3_aac4hg
null
null
t1_ecrn31p
/r/programming/comments/aac4hg/modern_c_lamentations/ecrn7c1/
1548202273
5
t5_2fwo
r/programming
public
null
False
polymorphiced
t2_aqrsv
There is no download page.
null
0
1544733043
False
0
ebpyznb
t3_a5izk6
null
null
t1_ebo5acw
/r/programming/comments/a5izk6/a_crosseditor_plugin_to_improve_any_text_editor/ebpyznb/
1547567509
1
t5_2fwo
r/programming
public
null
False
witti534
t2_i759c
You mean it's easy to get job security because no one will be able to replace you. /s
null
0
1546041344
False
0
ecrndqx
t3_aac4hg
null
null
t1_ecrecnn
/r/programming/comments/aac4hg/modern_c_lamentations/ecrndqx/
1548202352
17
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
Not shell programming, live interaction. If you move it into a permanent script, feel free to minimize processes. But when you're goofing around in the shell, whatever promotes the best thought process is all that matters.
null
0
1544733085
False
0
ebpz1q0
t3_a5sg9k
null
null
t1_ebpl67z
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpz1q0/
1547567535
46
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546041363
False
0
ecrnekh
t3_aac4hg
null
null
t1_ecr4f04
/r/programming/comments/aac4hg/modern_c_lamentations/ecrnekh/
1548202362
1
t5_2fwo
r/programming
public
null
False
demodawid
t2_4apfx
No, [THIS](https://www.ioccc.org/2011/goren/hint.html) is not a pipe
null
0
1544733149
False
0
ebpz4z7
t3_a5sg9k
null
null
t1_ebp9twn
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpz4z7/
1547567575
8
t5_2fwo
r/programming
public
null
False
jstrong
t2_347dn
How would that work? (32 bit int would inherently fit in 64). Just curious what you meant, not trying to play gotcha.
null
0
1546041364
False
0
ecrnelz
t3_aac4hg
null
null
t1_ecrhnrt
/r/programming/comments/aac4hg/modern_c_lamentations/ecrnelz/
1548202362
0
t5_2fwo
r/programming
public
null
False
m50d
t2_6q02y
> What if a data structure you need to use (maybe an array'ish thing) requires a default constructor because it preallocates the objects cannot take parameters. It's extremely rare to need that. I'd prototype without it first, and see if performance was adequate. In the unlikely event that this was actually necessary, at least I'd have a known-correct implementation to compare to. > What if you have to persist them, which means you have to have a default ctor to create an empty one to read into. Get a better persistence framework. > What if all of the information cannot be available when you create it and you need to partial set it up so that you can then ask it what else it needs? Make the partially set up thing a different type to the fully set up thing. > There are many of those types of situations that just don't practically allow us to have the level of control we might like to have. Shrug, not my experience. There might be occasional cases where you have to fall back to tests, but the overwhelming majority of the time you can figure out a way to do it with types as soon as you actually try.
null
0
1544733251
False
0
ebpza32
t3_a5iior
null
null
t1_ebpoww3
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebpza32/
1547567638
0
t5_2fwo
r/programming
public
null
False
raptormeat
t2_3435l
That's exactly the crowd you'd expect that kind of result from, though.
null
0
1546041392
False
0
ecrnfu3
t3_aac4hg
null
null
t1_ecrgn8o
/r/programming/comments/aac4hg/modern_c_lamentations/ecrnfu3/
1548202377
36
t5_2fwo
r/programming
public
null
False
orthoxerox
t2_cyj90
You can created a data/ directory in vscode's installation directory and it will automatically use it instead of c:/users/oldatbrain/...
null
0
1544733292
False
0
ebpzc5z
t3_a5mk9z
null
null
t1_ebox1o2
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpzc5z/
1547567663
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546041474
False
0
ecrnjju
t3_aac4hg
null
null
t1_ecrij8o
/r/programming/comments/aac4hg/modern_c_lamentations/ecrnjju/
1548202423
-1
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
Awk is actually a very beautiful tool. You build its behavior out of a series of selectors (usually matching attributes of a line, but there are magic selectors like `BEGIN` or `END`, etc.). I like to think of it as its own little programming language paradigm. You can succinctly respond to different types of input lines, and create state to communicate between the different effective "streams" of content to aggregate and reduce to your target output. None of it is all that strange if you're familiar with regular expressions, the C API, and braces / parentheses.
null
0
1544733470
False
0
ebpzl1u
t3_a5sg9k
null
null
t1_ebpskib
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpzl1u/
1547567775
6
t5_2fwo
r/programming
public
null
False
liveart
t2_3ci9j
Knowing enough to do all that stuff probably pushes you passed casual. Compared to what you need to know for pretty much any other editor anyways. I think it's the difference between "casual for a vim user" and "casual in general".
null
0
1546041532
False
0
ecrnm3q
t3_a9fg8h
null
null
t1_ecqno1p
/r/programming/comments/a9fg8h/spacevim_release_v100/ecrnm3q/
1548202456
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[removed]
null
0
1544733639
False
0
ebpztkr
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpztkr/
1547567879
1
t5_2fwo
r/programming
public
null
False
quicknir
t2_iczmz
Not sure why you don't understand, "zero overhead" means something fairly specific. Yes, the overhead of std::function is less than function_ref, but it still has overhead relative to using a template in the general case. It's fine to argue that function being copyable was a mistake but hyperbole isn't necessary. function being copyable makes it more ergonomic to use, and the vast majority of the time, the targets its used with are copyable. But yeah, an alternative would be nice (and I think has also been proposed).
null
0
1546041692
False
0
ecrnt9b
t3_aac4hg
null
null
t1_ecrmv9f
/r/programming/comments/aac4hg/modern_c_lamentations/ecrnt9b/
1548202544
3
t5_2fwo
r/programming
public
null
False
anengineerandacat
t2_hq59g
I mean I only really say it's the best because the language itself is perhaps the closest thing to the silver-bullet and truly general language. ​ You can write code in that language in a variety of different styles which is fairly powerful in it's own right (some types of work call for different styles to ensure maintainability and having the language get in your way is the last thing you want). ​ As far as Swift and Kotlin go; I would have to really see if they "add" anything to the development lifecycle at least from a lang perspective because they seem to be more focused about simplifying development on an existing runtime. ​ A ton of languages being made nowadays seems to be targeted around improving development for a target runtime over just providing methods for other languages to target those runtimes. Rust, Swift, Kotlin for instance seem to be around improving support for lower-level development or providing an alternative higher-level lang to what was a low-level lang (Objective-C -> Swift; Kotlin as a mechanism to encourage functional patterns in the Java-lang). ​ They seem so focused on a particular style that they forget not every problem needs to be solved the same way.
null
0
1544733708
False
0
ebpzx0i
t3_a5i57x
null
null
t1_ebnmsfd
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebpzx0i/
1547567923
1
t5_2fwo
r/programming
public
null
False
stravant
t2_42ckf
This is probably most people who use Python. I can write a lot of practical stuff in Python and it's my go-to if I need to write some non-trivial filesystem / asset munging tools, but if you asked me to write a library in it I wouldn't know where to start.
null
0
1546041700
False
0
ecrntn6
t3_aaco1d
null
null
t1_ecrf8qc
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrntn6/
1548202549
14
t5_2fwo
r/programming
public
null
False
shepherdjerred
t2_95udcat
You can say that about any language. Anyone who has any knowledge about anything has a choice on how they use it.
null
0
1544733851
False
0
ebq046m
t3_a5q9y8
null
null
t1_ebpqmnk
/r/programming/comments/a5q9y8/blockevil_a_userscript_that_denies_callback/ebq046m/
1547568040
1
t5_2fwo
r/programming
public
null
False
irrelevantPseudonym
t2_53f31
Is there a `cd -P` option?
null
0
1546041700
False
0
ecrntn8
t3_aabai1
null
null
t1_ecqustb
/r/programming/comments/aabai1/fish_shell_30/ecrntn8/
1548202549
1
t5_2fwo
r/programming
public
null
False
__redruM
t2_889ob
wget, likely a dozen other ways. A json api would be the easy for pages that are meant to be scraped.
null
0
1544734059
1544734378
0
ebq0ep3
t3_a5sg9k
null
null
t1_ebp1n6v
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebq0ep3/
1547568170
1
t5_2fwo
r/programming
public
null
False
pigeon768
t2_47j2b
> good Lord, *Lambdas* are complicated? His point is that if you're a curmudgeonly C++ programmer who goes to work, does their job, goes home, and plays with the kids/dog/watches sports/gets nagged by the wife, and does not ever try to grow as a C++ programmer, the first dozen times the FNG who just graduated from college sent you a code review that had a lambda in it, you'd say, "Kid, I know you're trying to do your best, and I know you don't know this yet, but the most important for code to be is readable and maintainable. Don't try to impress me with your fancy new syntax or whatever, it looks like Perl. Fix it so that's it's easy to read." With the unstated "easy to read *for me*", not "easy to read for people who give a shit." It's not that lambdas are complicated, it's that they're new/different. And if you're an employee first and a programmer second, who just wants everything to stay the same forever, you won't like them. The reality is that most programmers aren't the sort of people who goes to /r/programming, they're the people that go to /r/golf /r/fishing or /r/stamps or whatever.
null
0
1546041760
False
0
ecrnwan
t3_aac4hg
null
null
t1_ecrdb2z
/r/programming/comments/aac4hg/modern_c_lamentations/ecrnwan/
1548202582
114
t5_2fwo
r/programming
public
null
False
stupodwebsote
t2_16iquzue
He was just being Dutch.
null
0
1544734097
False
0
ebq0gkk
t3_a5kk6b
null
null
t1_ebpkt1m
/r/programming/comments/a5kk6b/donald_knuths_24th_annual_christmas_lecture/ebq0gkk/
1547568193
1
t5_2fwo
r/programming
public
null
False
NicolasGuacamole
t2_cyzs2
/r/programmersadcringe
null
0
1546041785
False
0
ecrnxg1
t3_aabai1
null
null
t1_ecra4sk
/r/programming/comments/aabai1/fish_shell_30/ecrnxg1/
1548202596
54
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544734126
1545667904
0
ebq0i24
t3_a5iior
null
null
t1_ebp17d6
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebq0i24/
1547568211
1
t5_2fwo
r/programming
public
null
False
__j_random_hacker
t2_4rnnt
It makes a certain amount of sense when you consider there's a finite amount of time to allocate between (a) learning new things and (b) getting stuff done. (Let's say someone checked in a source file in some obscure language that no-one else in your company has used before; your argument would also apply here, to argue that everyone else should just learn that new language.)
null
0
1546041947
False
0
ecro4gn
t3_aac4hg
null
null
t1_ecrjvi5
/r/programming/comments/aac4hg/modern_c_lamentations/ecro4gn/
1548202683
21
t5_2fwo
r/programming
public
null
False
Isvara
t2_10v24
The cost of one approach over another depends on much more than multiplying the constant cost of literally just spawning a process. Think of how much time Perl takes to initialize itself compared to those tiny utilities. (In my brief tests, it's slightly, but consistently, quicker to use the six processes than to use Perl.)
null
0
1544734149
False
0
ebq0j6r
t3_a5sg9k
null
null
t1_ebpcv7s
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebq0j6r/
1547568225
4
t5_2fwo
r/programming
public
null
False
astrellon3
t2_9jaxi
Sure when there's a problem something must be done. But when we have a performance issue we don't just change the code and call it a day because we think it's better. We check if it's actually made a real difference. I agree that measuring it is difficult but if it can't be measured how can we be sure it's doing anything.
null
0
1546041964
False
0
ecro584
t3_aaagix
null
null
t1_ecribde
/r/programming/comments/aaagix/why_review_code/ecro584/
1548202691
3
t5_2fwo
r/programming
public
null
False
invisi1407
t2_6nbco
I disagree.
null
0
1544734183
False
0
ebq0kxr
t3_a5mk9z
null
null
t1_ebpxnjq
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebq0kxr/
1547568247
3
t5_2fwo
r/programming
public
null
False
jericho
t2_39os
Using pipes, grep, xargs etc is really useful and pretty basic. You can do a lot with Python, also, but buddy doesn't know that either.... I would make those my goals.
null
0
1546042049
False
0
ecro92o
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecro92o/
1548202739
7
t5_2fwo
r/programming
public
null
False
__redruM
t2_889ob
grep shrimp menu.txt | cut -d\$ -f2 | cut -d. -f1
null
0
1544734184
False
0
ebq0kzp
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebq0kzp/
1547568247
3
t5_2fwo
r/programming
public
null
False
ryjen78
t2_ynijq
are you coming out of the closet as a normal person?
null
0
1546042053
False
0
ecro99o
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecro99o/
1548202742
31
t5_2fwo
r/programming
public
null
False
GYN-k4H-Q3z-75B
t2_lbonz
My issue with this list is that most of the items on it aren't language features. How is String.repeat a (major) language feature? In any case, while it's good that the language is finally developing into something, the cadence of updates is weird. Rather have a major update every two years with some support instead of these tiny increments every 6 months.
null
0
1544734275
False
0
ebq0pm1
t3_a5umpk
null
null
t3_a5umpk
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebq0pm1/
1547568304
7
t5_2fwo
r/programming
public
null
False
houses_of_the_holy
t2_50b3x
Yeah that is pretty ridiculous, I'd heard of tcc before but never tried it. I suppose if you are writing C use tcc for iteration loop and then switch to gcc/clang for an optimized build. Our shop is C++ tho so unfortunately this wouldn't help my work compile times.
null
0
1546042112
False
0
ecrobwz
t3_aac4hg
null
null
t1_ecrn7c1
/r/programming/comments/aac4hg/modern_c_lamentations/ecrobwz/
1548202803
5
t5_2fwo
r/programming
public
null
False
WonderfulNinja
t2_yeloc5f
Fakes with great soft skills are very dangerous fools. They believe they know something and they will convince top management they know, but they only can bring down a project and burn it into ashes.
null
0
1544734287
False
0
ebq0q90
t3_a5u9z0
null
null
t1_ebpr39w
/r/programming/comments/a5u9z0/cs_interviews_and_how_they_can_become_unbroken/ebq0q90/
1547568313
3
t5_2fwo
r/programming
public
null
False
ArkyBeagle
t2_r4aik
I meant reviews are hard to measure. Performance is much less so. :)
null
0
1546042182
False
0
ecrof2c
t3_aaagix
null
null
t1_ecro584
/r/programming/comments/aaagix/why_review_code/ecrof2c/
1548202842
1
t5_2fwo
r/programming
public
null
False
duhace
t2_dhfv4
There isn't a ton of comparisons between shendandoah and ZGC yet. I would like to make one, but Shenandoah isn't included by default in any jdk except fedora's build of openjdk, and zgc just became available for use in openjdk 11. However, the ZGC creators have made comparisons between it and G1. [This video](https://youtu.be/kF_r3GE3zOo?t=903) goes into detail about ZGC, and the time I linked you at shows some performance comparisons between it and G1 and parallel GC. Right now, in synthetic benchmarks at least, ZGC seems to have significant throughput advantages over both G1 and parallel GC, and I think that's because of how its garbage collection is run mostly concurrently with the program that's generating garbage. I think Amdahl's law gives it some wiggle room to improve performance despite the on-paper perf losses (up to 15% throughput reduction) incurs. I'm pretty sure that G1 can improve beyond what it is right now and that it can be a better GC that balances throughput and latency, but it still has issues. I'm hoping some of the improvements in java 12 make it better (and java 11 already had some improvements to it)
null
0
1544734364
False
0
ebq0tys
t3_a5umpk
null
null
t1_ebpyqge
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebq0tys/
1547568358
3
t5_2fwo
r/programming
public
null
False
drjeats
t2_4lzhn
> (he insists on using coroutines while it’s clear that the current state of the language is not capable of handling them natively) Coroutines are relevant because they're on track for standardization in C++20. Source: https://herbsutter.com/2018/11/13/trip-report-fall-iso-c-standards-meeting-san-diego/
null
0
1546042212
False
0
ecrogfj
t3_aac4hg
null
null
t1_ecr3syp
/r/programming/comments/aac4hg/modern_c_lamentations/ecrogfj/
1548202859
10
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544734427
False
0
ebq0x3z
t3_a5u9z0
null
null
t1_ebpbllu
/r/programming/comments/a5u9z0/cs_interviews_and_how_they_can_become_unbroken/ebq0x3z/
1547568397
0
t5_2fwo
r/programming
public
null
False
shponglespore
t2_4dw4r
The C++ in Chromium is thoroughly modern but also very idiosyncratic. Exceptions are strictly forbidden, even in dependencies, and a lot of stuff that's in the standard library is shunned in favor of Google-flavored versions. There are lambdas and rvalue references all over the place, and smart pointers are so ubiquitous that the `delete` keyword is de facto forbidden.
null
0
1546042217
False
0
ecrogm1
t3_aac4hg
null
null
t1_ecqu6o3
/r/programming/comments/aac4hg/modern_c_lamentations/ecrogm1/
1548202861
33
t5_2fwo
r/programming
public
null
False
EWJacobs
t2_bash7
The whole point of having the computer test the code is that computers are consistent. They don't have lapsed in attention, they don't accidentally do something a different way, they're always available when you need them. It's delusional to think manual testing will ever be as consistent as automated testing.
null
0
1544734471
False
0
ebq0z99
t3_a5iior
null
null
t1_ebp17d6
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebq0z99/
1547568423
1
t5_2fwo
r/programming
public
null
False
flexmuzik
t2_b8wez
What part of `IndirectUnaryInvocable<I> Fun>(R&& r, Fun fun) requires Range<indirect_result_t<Fun, I>>` Do you not understand?
null
0
1546042224
False
0
ecrogyu
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecrogyu/
1548202866
136
t5_2fwo
r/programming
public
null
False
EWJacobs
t2_bash7
2 + 2 = 5 is type correct.
null
0
1544734517
False
0
ebq11k0
t3_a5iior
null
null
t3_a5iior
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebq11k0/
1547568452
1
t5_2fwo
r/programming
public
null
False
drjeats
t2_4lzhn
Try starting with C. The Kernighan & Ritchie C book is only 272 pages. You can supplement with other material that updates some of the idioms in there to be better (like not assuming every `char*` param you receive will be null terminated).
null
0
1546042239
False
0
ecrohni
t3_aac4hg
null
null
t1_ecrixko
/r/programming/comments/aac4hg/modern_c_lamentations/ecrohni/
1548202875
9
t5_2fwo
r/programming
public
null
False
Isvara
t2_10v24
For searching a three-line file, do whatever you want and ignore the know-it-all nitpickers.
null
0
1544734519
False
0
ebq11p0
t3_a5sg9k
null
null
t1_ebpfwmc
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebq11p0/
1547568453
1
t5_2fwo
r/programming
public
null
False
SevereExperience
t2_10kbuphu
I have no idea who the author is, or what they work on...
null
0
1546042282
False
0
ecrojk8
t3_aaco1d
null
null
t1_ecrd9pj
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrojk8/
1548202897
12
t5_2fwo
r/programming
public
null
False
matejdro
t2_677ml
Yeah, most of those are just stdlib features, not language features.
null
0
1544734580
False
0
ebq14u2
t3_a5umpk
null
null
t1_ebq0pm1
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebq14u2/
1547568492
2
t5_2fwo
r/programming
public
null
False
SaphirShroom
t2_ogov5
So then why don't you just follow your own two rules and ignore the CoC? I agree that CoCs usually feel unnecessary but it's not like they hurt anyone.
null
0
1546042297
False
0
ecrok8n
t3_a9swiz
null
null
t1_eco1ix5
/r/programming/comments/a9swiz/rust_2019_and_beyond_limits_to_some_growth/ecrok8n/
1548202906
3
t5_2fwo
r/programming
public
null
False
duhace
t2_dhfv4
java 11 is the LTS release you're looking for. In 3 years, java 17 will be the next LTS release. Stick with those if you want a long term supported jvm. If there's a feature you want in the other releases (java 12, 13, etc), you can hop on them, still have bugfix support and such for 6 months, and get your new features early. However, you'll have to jump on a new release every 6 months if you want to stay on a supported jvm until you hit the next LTS jvm (java 17).
null
0
1544734594
False
0
ebq15k9
t3_a5umpk
null
null
t1_ebq0pm1
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebq15k9/
1547568501
6
t5_2fwo
r/programming
public
null
False
FFODZ
t2_11kpsp
I am become chrome, consumer of r a m
null
0
1546042381
False
0
ecroo0s
t3_aac4hg
null
null
t1_ecr4l9m
/r/programming/comments/aac4hg/modern_c_lamentations/ecroo0s/
1548202953
65
t5_2fwo
r/programming
public
null
False
[deleted]
None
this is cool but surely they would be better at something else idk why we want everyone to code. or why they would want to code
null
1
1544734627
False
0
ebq17ah
t3_a5u5dc
null
null
t3_a5u5dc
/r/programming/comments/a5u5dc/helping_blind_people_learn_to_code/ebq17ah/
1547568523
-2
t5_2fwo
r/programming
public
null
False
philipwhiuk
t2_78ppe
I don’t think you know half what you think you half as well as you think you do.
null
0
1546042426
False
0
ecropyt
t3_aaco1d
null
null
t1_ecrfqsw
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecropyt/
1548202976
-4
t5_2fwo
r/programming
public
null
False
commander_nice
t2_12o7i7
Traveling waiter problem
null
0
1544734648
False
0
ebq18d1
t3_a5sg9k
null
null
t1_ebplx1q
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebq18d1/
1547568535
13
t5_2fwo
r/programming
public
null
False
Shulamite
t2_13jdls
>I don’t know monoids, functors, etc. I know what a monad is but maybe that’s an illusion so with all due respect, yes that's an illusion ​
null
0
1546042556
False
0
ecrovu4
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrovu4/
1548203050
58
t5_2fwo
r/programming
public
null
False
ccfreak2k
t2_5cq7p
from __future__ import replicator
null
0
1544734788
False
0
ebq1fhy
t3_a5sg9k
null
null
t1_ebp73o7
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebq1fhy/
1547568653
6
t5_2fwo
r/programming
public
null
False
in0pinatus
t2_pvt8zmx
You're not full-stack unless you're smelting your own copper.
null
0
1546042572
False
0
ecrowlo
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrowlo/
1548203058
316
t5_2fwo
r/programming
public
null
False
o11c
t2_fjay8
Trapped in a pile of broken code.
null
0
1544734795
False
0
ebq1ftj
t3_a5sg9k
null
null
t1_ebpcn7q
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebq1ftj/
1547568657
2
t5_2fwo
r/programming
public
null
False
Ameisen
t2_5qad2
Using Object is not the same thing, as `var` has the inferred type and thus provides type safety on calls.
null
0
1546042610
False
0
ecroybd
t3_aac4hg
null
null
t1_ecrjvmu
/r/programming/comments/aac4hg/modern_c_lamentations/ecroybd/
1548203080
18
t5_2fwo
r/programming
public
null
False
i_am_suicidal
t2_al0jv
When writing a quick thing in bash, memory efficiency is not really my main priority. If I am writing an actual tool for proper use then it might be relevant to remove the `cat`.
null
0
1544734828
1544735245
0
ebq1hj4
t3_a5sg9k
null
null
t1_ebpk4sq
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebq1hj4/
1547568678
6
t5_2fwo
r/programming
public
null
False
MadRedHatter
t2_skbl1
Because the only other languages in which you could feasibly write those projects would be D and Rust, and Rust is only 3 years old, and D used to have GC throughout, and in both cases you still have to contend with the amount of code that's been previously written in C++.
null
0
1546042616
False
0
ecroylj
t3_aac4hg
null
null
t1_ecr83ib
/r/programming/comments/aac4hg/modern_c_lamentations/ecroylj/
1548203083
18
t5_2fwo
r/programming
public
null