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
MaltersWandler
t2_9yqajws
The standard way is to use shell redirection sort <file
null
0
1544722865
False
0
ebpkz56
t3_a5sg9k
null
null
t1_ebp7wao
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpkz56/
1547560959
4
t5_2fwo
r/programming
public
null
False
alex-weej
t2_417rb
That's often not really reusable enough - one reason is because you can't bind data to the callback in this example. Replace with `std::function<void(int, int, int)>` and you're reasonably general. Replace with a templated callable type for efficiency, at the cost of, well, templates.
null
0
1546035520
False
0
ecrfxo3
t3_aac4hg
null
null
t1_ecqzdk3
/r/programming/comments/aac4hg/modern_c_lamentations/ecrfxo3/
1548198866
5
t5_2fwo
r/programming
public
null
False
doomvox
t2_s32d0
And burning more processes is the essence of shell programming.
null
0
1544723003
False
0
ebpl67z
t3_a5sg9k
null
null
t1_ebpkiab
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpl67z/
1547561046
28
t5_2fwo
r/programming
public
null
False
sobels
t2_bdhcu
It's ironic that you're talking about reading comprehension, when I've been singing the praises of testing for hours and you think I'm criticizing the code for the name of its style convention. But yes, I agree that further discussion is pointless.
null
0
1546035525
False
0
ecrfxw1
t3_aa3qdm
null
null
t1_ecrdj1e
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrfxw1/
1548198869
10
t5_2fwo
r/programming
public
null
False
CameronNemo
t2_91j1q
>the underlying Linux tech is the same They use the same kernel features but the userspace code interfacing with them is completely different. > except LXD doesn't use overlay filesystems This is correct, LXD uses ZFS, btrfs, or LVM for its storage backend. ~~You sure about that? I think it does use them for some aspects, just not in the same way that docker does.~~
null
0
1544723018
1544727833
0
ebpl720
t3_a5suza
null
null
t1_ebp73q3
/r/programming/comments/a5suza/lxd_38_has_been_released/ebpl720/
1547561056
2
t5_2fwo
r/programming
public
null
False
Xx_PUSSYSLAYER69_x
t2_2sypjf7b
This has nothing to do with programming
null
0
1546035544
False
0
ecrfyrk
t3_aacb38
null
null
t1_ecrfgwc
/r/programming/comments/aacb38/adsense_magic_keywords/ecrfyrk/
1548198879
1
t5_2fwo
r/programming
public
null
False
MrDick47
t2_6dm0u
No one said anything about language used. Its point is that processes create overhead, and small datasets/problems will create enough overhead where the execution is slower than if it was a single process. The point is valid across all languages including shell. Stop arguing for the sake of arguing, it's annoying.
null
0
1544723127
False
0
ebplck4
t3_a5sg9k
null
null
t1_ebpjt66
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebplck4/
1547561125
-2
t5_2fwo
r/programming
public
null
False
DroneDashed
t2_jjtoi
What the fuck man, I might be in fact stupid but certainly not in this way. Of course I could adjust if I had too. But I see script languages as utilities and I do have a kind of brain muscle memory that arrays start at 0. A script language should not be an obstacle in the way. And these kind of design decisions kind of break this brain muscle memory. Look, my comment was kind of a comic one and of course I could adjust but I also think these kind of features are unnecessary.
null
1
1546035561
False
0
ecrfzk9
t3_aabai1
null
null
t1_ecrd27x
/r/programming/comments/aabai1/fish_shell_30/ecrfzk9/
1548198889
6
t5_2fwo
r/programming
public
null
False
lubutu
t2_a98tx
Note, though, that this can sometimes be very inefficient. For example, `tail file` and `tail <file` will both open the file at the very end and read only the last few lines, whereas `cat file | tail` must read the entire file all the way through. For very large files it can make a big difference. I also find it more consistent to use `<` as the reverse of `>`, but you do you.
null
0
1544723232
False
0
ebplhxh
t3_a5sg9k
null
null
t1_ebpfo1v
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebplhxh/
1547561190
31
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546035602
False
0
ecrg1fd
t3_aaco1d
null
null
t1_ecrf8qc
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrg1fd/
1548198913
1
t5_2fwo
r/programming
public
null
False
orbat
t2_333we
Ha, ouais. Nous finlandais avons ça en commun avec vous
null
0
1544723284
False
0
ebplkpw
t3_a5mk9z
null
null
t1_ebpd20t
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebplkpw/
1547561225
3
t5_2fwo
r/programming
public
null
False
gyroda
t2_90y5r
Yep. You can be right and also not be a dick, they're orthogonal. You don't need to be horrible, you don't need to put others down, you don't even need to overly polite. Just don't be a dick.
null
0
1546035627
False
0
ecrg2je
t3_aaco1d
null
null
t1_ecrd8bz
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrg2je/
1548198926
12
t5_2fwo
r/programming
public
null
False
doomvox
t2_s32d0
I tend to write my own grep clones that don't have that annoying "file name as second argument" feature. Just cat the file into the grepper, then you can use multiple arguments for multiple patterns rather than egrep dis from_here | egrep also_dis | egrep -v not_dat
null
0
1544723330
False
0
ebpln39
t3_a5sg9k
null
null
t1_ebpdv84
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpln39/
1547561254
3
t5_2fwo
r/programming
public
null
False
CyborgJunkie
t2_hhch8
I wasn't talking about emergence of mind if that's what you assumed, though I understand why you would think that. I was simply saying that although ANNs function differently from *real* neurons, they can still have emergent properties such as object recognition etc. So while they differ in implementation, the end result is the same or at least similar. If I were to argue the claim (that I did not claim), I would at least say that it's likely to be true given our current understanding. The reason being that our own minds are symbol systems that emerge from simple interactions between neurons, and similarly it seems likely that ANNs could be arranged in such an architecture that would render them so too. Thus, Allen Newell's [physical symbol system hypothesis](https://en.wikipedia.org/wiki/Physical_symbol_system) would suggest that they too can be intelligent, but that's nothing but guess.
null
0
1546035640
False
0
ecrg356
t3_aa91bp
null
null
t1_ecr8fjz
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecrg356/
1548198933
-1
t5_2fwo
r/programming
public
null
False
Dean_Roddey
t2_r72lw
Come on, mathematical proofs are not a realistic example. Most of the stuff we write is messy and dealing with far less stringently defined stuff than that. Type safety is absolutely great, despite the claims of Javites. But that's a very limited form of semantic expression. It's a very important one, because the compiler does check them every time. But it's low level compared to the application domain specific semantics that we are dealing with in real world programs. The compiler knows nothing about them at all, and hence can't tell us if they have been violated. We have to enforce those things. Obviously having checks in the class itself goes a long way, but that's a runtime thing, not compile time. In some cases it's hard to prove that you have caught many of the ways that the outside world could misuse your class, or that you haven't allowed some new ways to get through any time you make changes. Tests can be sort of the 'semantic checker' that the compiler cannot provide. It can both check itself and it can exercise your internal checks, which only are useful when the code is actually run.
null
0
1544723447
False
0
ebplszq
t3_a5iior
null
null
t1_ebpkspq
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebplszq/
1547561327
2
t5_2fwo
r/programming
public
null
False
astrellon3
t2_9jaxi
One thing not mentioned was the importance of company culture and how it might need to shift to accommodate code reviews. At my last company code reviews were brought in but not a culture that supported it. It was brought in with a bit of a 'magic bullet' mind set given that bugs were committed so code reviews will fix that. For instance we also allowed that the 'owner' of code didn't have to review it, which lead to may weird bugs appearing because inexperienced people were tasked with fixing something in a tool they hadn't worked on and someone else who also hadn't worked on it approved the change. The code review became a bit of a problem because people assumed since their changes had been reviewed it was all good. We also didn't have time to reflect on things too much because we had weekly releases so changes got in quickly and so reviews were also seen as a road block to getting your own work done. We were generally a data driven company with usually most experiments backed up with some evidence for why we did certain things, but when I asked where were the metrics for code reviews there weren't any. We just did it because it felt right but we didn't have any evidence that it actually improved the code quality, reduced the number of bugs, improved productivity. Someone else mentioned that it's 2018 at this point > At this point though it is clearly in the camp of “why wash your hands?” or “why wipe your butt” type of questions... Those things have evidence for what they do and I wish there were better ways to actually measure how well a code reviewing system works. I agree with code reviews in general but I've seen it fail and from hearing friends experiences at other companies I've also seen it fail there, again with no thought to measuring it's actual performance.
null
0
1546035652
False
0
ecrg3pk
t3_aaagix
null
null
t3_aaagix
/r/programming/comments/aaagix/why_review_code/ecrg3pk/
1548198940
11
t5_2fwo
r/programming
public
null
False
tick_tock_clock
t2_4on3u
[Very relevant xkcd](https://xkcd.com/287/)
null
0
1544723524
False
0
ebplx1q
t3_a5sg9k
null
null
t1_ebp8ubo
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebplx1q/
1547561405
119
t5_2fwo
r/programming
public
null
False
VernorVinge93
t2_2amyhthy
Further "a plumber doesn't make a good surgeon though they both make things where pumping is involved". I've heard of people expecting Devs to know everything before and then responding "what, it's all computers" when told no. That kinda crap is why we get junior Devs implementing large software, particularly websites, with little to no budget and then management is suprised when the thing doesn't work or is insecure. Ugh, the software industry.
null
0
1546035687
False
0
ecrg5b3
t3_aaco1d
null
null
t1_ecr5rfc
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrg5b3/
1548198960
91
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
> I'm just not sure how you can claim that reader macros can be implemented with non-reader macros because reader macros run before any non-reader macro has a chance to run. Easy - if you [replace](https://github.com/combinatorylogic/mbase/tree/master/src/l/lib/pfront) your REPL or compiler toplevel and your `load` (or whatever else you use to include other source files) macro, you can insert your own parser, which, in turn, can support reader macros, or an extensible syntax in general. The only downside of this approach is that you have to [re-implement](https://github.com/combinatorylogic/mbase/blob/master/src/l/lib/pfront/sexp.hl) the original parser as well.
null
0
1544723578
False
0
ebplzsx
t3_a5p0ct
null
null
t1_ebpjwli
/r/programming/comments/a5p0ct/extending_a_language_with_reader_macros_a_subset/ebplzsx/
1547561440
1
t5_2fwo
r/programming
public
null
False
ggtsu_00
t2_72fwy
The compile time issue can be solved, but then you end up with a language like Go - simple yet everyone hates it for the lack of compile time work that it does.
null
0
1546035688
False
0
ecrg5e2
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecrg5e2/
1548198961
4
t5_2fwo
r/programming
public
null
False
grauenwolf
t2_570j
That's step two, step one is identifying the error codes that can be retried.
null
0
1544723579
False
0
ebplzww
t3_a5hxji
null
null
t1_eboqkw2
/r/programming/comments/a5hxji/new_library_entityframeworkexceptions_handle/ebplzww/
1547561441
1
t5_2fwo
r/programming
public
null
False
sendersforfun
t2_m01e0
I feel he is coming from a similar position with Python that I am: _I can read python... but I can't write it myself_ I could probably even update a script to do some additional stuff with documentation open or copy how a similar function did it. But if I was assigned to do anything substantial in python I'd have to loop up most of it.
null
0
1546035709
False
0
ecrg6cy
t3_aaco1d
null
null
t1_ecrf8qc
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrg6cy/
1548198973
19
t5_2fwo
r/programming
public
null
False
Digitalzombie90
t2_jf5o4
Reading thru useless instantiation and pre complicated code, like Bob's case, for non existent problems is what ruined programming for many
null
0
1544723684
False
0
ebpm576
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpm576/
1547561506
2
t5_2fwo
r/programming
public
null
False
krista_
t2_ev3bu
and nobody has a sense of humor anymore
null
0
1546035740
False
0
ecrg7qn
t3_aac4hg
null
null
t1_ecr8vcz
/r/programming/comments/aac4hg/modern_c_lamentations/ecrg7qn/
1548198989
-5
t5_2fwo
r/programming
public
null
False
Phailjure
t2_7556p
Yeah, if you hold down a letter you'll notice it's constantly one character behind, which feels bad. But it's nice to have a visual representation for home/end/pageup/pagedown, etc.
null
0
1544723762
False
0
ebpm94n
t3_a5mk9z
null
null
t1_ebor4z7
/r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpm94n/
1547561556
3
t5_2fwo
r/programming
public
null
False
stupodwebsote
t2_16iquzue
https://en.m.wikipedia.org/wiki/Terry_A._Davis#/media/File%3ATerry_A._Davis_in_1985.jpg
null
0
1546035831
False
0
ecrgbwx
t3_a9wkc6
null
null
t1_ecow2nm
/r/programming/comments/a9wkc6/documentary_about_terry_davis_and_templeos/ecrgbwx/
1548199042
3
t5_2fwo
r/programming
public
null
False
m50d
t2_6q02y
> Come on, mathematical proofs are not a realistic example. Most of the stuff we write is messy and dealing with far less stringently defined stuff than that. Right, so most stuff is much easier. > But that's a very limited form of semantic expression. It's a very important one, because the compiler does check them every time. But it's low level compared to the application domain specific semantics that we are dealing with in real world programs. The compiler knows nothing about them at all, and hence can't tell us if they have been violated. Of course it can. You put them in the types. If your semantic requirement is that you only blork the flubwozzle when the moon is in Taurus, you have a type that can only be instantiated when the moon is in Taurus, require an instance of that on the flubwozzle's blork method, and then the compiler can verify for you that your requirement was actually fulfilled. > In some cases it's hard to prove that you have caught many of the ways that the outside world could misuse your class, or that you haven't allowed some new ways to get through any time you make changes. Have only one way to construct your class, and have that construction require representations of all your invariants. (Which you need anyway, otherwise you wouldn't be able to present those invariants where they're used).
null
0
1544723877
False
0
ebpmezx
t3_a5iior
null
null
t1_ebplszq
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebpmezx/
1547561628
0
t5_2fwo
r/programming
public
null
False
HelperBot_
t2_owot1
Desktop link: https://en.wikipedia.org/wiki/Terry_A._Davis#/media/File%3ATerry_A._Davis_in_1985.jpg *** ^^/r/HelperBot_ ^^Downvote ^^to ^^remove. ^^Counter: ^^227783
null
0
1546035839
False
0
ecrgc9z
t3_a9wkc6
null
null
t1_ecrgbwx
/r/programming/comments/a9wkc6/documentary_about_terry_davis_and_templeos/ecrgc9z/
1548199046
1
t5_2fwo
r/programming
public
null
False
Brekkjern
t2_5rkzt
> I've never seen a pipe-question-mark in any other language. The question mark is an alias for "Where-Object".
null
0
1544724007
False
0
ebpmlt0
t3_a5sg9k
null
null
t1_ebpff0b
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpmlt0/
1547561712
8
t5_2fwo
r/programming
public
null
False
iuqwej
t2_wi614
I'm confident that after 10 minutes of exposure this would not be a issue or a deal breaker for you, because I'm sure you are not stupid. I don't like your attuide, tho. Maybe i came across too passive-agressive.
null
1
1546035877
1546036235
0
ecrgdzy
t3_aabai1
null
null
t1_ecrfzk9
/r/programming/comments/aabai1/fish_shell_30/ecrgdzy/
1548199068
3
t5_2fwo
r/programming
public
null
False
rhyswes
t2_19d9nua
Lot of assumptions there:)
null
0
1544724160
False
0
ebpmti7
t3_a5rqbw
null
null
t1_ebp1j0k
/r/programming/comments/a5rqbw/stories_from_the_development_team_building_the/ebpmti7/
1547561807
1
t5_2fwo
r/programming
public
null
False
pagwin
t2_11hvmh
your github link is the edit link not the view link https://github.com/gaearon/overreacted.io/blob/master/src/pages/things-i-dont-know-as-of-2018.md is the view link and https://github.com/gaearon/overreacted.io/edit/master/src/pages/things-i-dont-know-as-of-2018.md is the edit link and you put the edit link in the article so people can't just click on it and read they have to go to the folder it's in and click on it to view it
null
0
1546035915
False
0
ecrgfoj
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrgfoj/
1548199087
1
t5_2fwo
r/programming
public
null
False
xevz
t2_38an0
`awk -F '$' '$1 ~ /shrimp/ && $2 < 10 { print "Available"; exit } ENDFILE { print ":(" }' menu.txt`
null
0
1544724267
False
0
ebpmypl
t3_a5sg9k
null
null
t1_ebp81j8
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpmypl/
1547561871
6
t5_2fwo
r/programming
public
null
False
FG_Regulus
t2_aybf9
Okay, but that's not justification for having the page. They don't intentionally add blank pages to make sure the readers knows they didn't forget something - those blank pages exist due to manufacturing constraints and they have to inform the reader it's not a misprint. Adding empty else statements is hideous and only serves to confuse the people coming behind you. The fact that you already understand you have to leave a comment there explaining you're doing it on purpose should be incredibly telling that it's a bad idea.
null
0
1546035941
False
0
ecrggvg
t3_aa3qdm
null
null
t1_ecq8neg
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrggvg/
1548199104
2
t5_2fwo
r/programming
public
null
False
deceased_parrot
t2_7q7zg
To be honest, I see no advantage in it what-so-ever. I can't even imagine the though process that went into creating something like Razor Components - I mean, what's the use case? Appeasing developers who hate JavaScript?
null
0
1544724291
False
0
ebpmzvn
t3_a5ssxk
null
null
t1_ebpgifk
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpmzvn/
1547561886
-2
t5_2fwo
r/programming
public
null
False
spaceyjase
t2_wkqa3
Excellent. I’m in the position that I left my job and brushing up on the shit I’m likely to be asked is terrible. So I spent some time rescuing an old (but still active, thanks past me) app written in 2012 off my old mac mini, ported it to Swift 4 and changed a few things around based on some glowing reviews that really made my day. I had to look up a few things since I’ve not touched swift in years, but I pushed the update out and it was published earlier today. Still, I got a question wrong about the order of operators in C++ so there’s another job that’s passed me by (I was told using brackets wasn’t in the spirit of the question so probably for the best).
null
0
1546035957
False
0
ecrghjn
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrghjn/
1548199112
9
t5_2fwo
r/programming
public
null
False
bstamour
t2_3e0sk
I chuckled, but OOP really is POO in a lot of cases. Definitely not the be-all and end-all of programming paradigms like a lot of people think.
null
0
1544724404
False
0
ebpn585
t3_a5g3pi
null
null
t1_ebmgquj
/r/programming/comments/a5g3pi/top_3_things_that_ive_learned_in_my_journey_as_a/ebpn585/
1547561951
1
t5_2fwo
r/programming
public
null
False
lamhiennhan
t2_j6huyp4
Hello there, Sheetbase is a ecosystem that contains tools for developers to build websites and apps at small scaled. See the homepage: [https://sheetbase.net](https://sheetbase.net/). See more: [https://medium.com/@sheetbase/sheetbase-starter-1-the-introduction-18f9de8f26dd](https://medium.com/@sheetbase/sheetbase-starter-1-the-introduction-18f9de8f26dd)
null
0
1546035991
False
0
ecrgj1z
t3_aaf1n7
null
null
t3_aaf1n7
/r/programming/comments/aaf1n7/sheetbase/ecrgj1z/
1548199130
1
t5_2fwo
r/programming
public
null
False
Ironfist
t2_3qutu
Right but that's not the default setting in most shells.
null
0
1544724467
False
0
ebpn87w
t3_a5sg9k
null
null
t1_ebpk2rj
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpn87w/
1547562018
3
t5_2fwo
r/programming
public
null
False
burlyjez
t2_8kxgx
We have a name for this: "Speculative generality". If you added complexity for a use-case you _might_ need, there is a non-negligible chance (probably >50%) you've just wasted time.
null
0
1546036033
False
0
ecrgkwn
t3_aac4hg
null
null
t1_ecqp2wu
/r/programming/comments/aac4hg/modern_c_lamentations/ecrgkwn/
1548199153
45
t5_2fwo
r/programming
public
null
False
stupodwebsote
t2_16iquzue
adsafe
null
0
1544724495
False
0
ebpn9gm
t3_a5q9y8
null
null
t1_ebpa2e4
/r/programming/comments/a5q9y8/blockevil_a_userscript_that_denies_callback/ebpn9gm/
1547562034
2
t5_2fwo
r/programming
public
null
False
stupodwebsote
t2_16iquzue
> I wonder if lack of dating became a big part of how crazy he became No. That's not how schizophrenia works. It's a brain disease just like any heart or lung or kidney or liver disease.
null
0
1546036046
False
0
ecrglgo
t3_a9wkc6
null
null
t1_ecpiqv1
/r/programming/comments/a9wkc6/documentary_about_terry_davis_and_templeos/ecrglgo/
1548199160
5
t5_2fwo
r/programming
public
null
False
_zoopp
t2_adc69
Ha! Joke's on you. I actually got tired of checking lunch menus daily around the area I work at so I made a web app that scrapes this information and centralises it in a single web page. Most likely useless to all of you but in case you're curious: http://palas.life/business-lunch.
null
0
1544724520
False
0
ebpnap0
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpnap0/
1547562049
2
t5_2fwo
r/programming
public
null
False
isuruamaliya
t2_2b7t7xqg
sorry
null
0
1546036052
False
0
ecrglqk
t3_aacb38
null
null
t1_ecrfyrk
/r/programming/comments/aacb38/adsense_magic_keywords/ecrglqk/
1548199163
-1
t5_2fwo
r/programming
public
null
False
ArseneWankerer
t2_nvyog
The Fuck
null
0
1544724685
False
0
ebpnip0
t3_a5pyfh
null
null
t1_eboqji1
/r/programming/comments/a5pyfh/x86_64_linux_assembly_program_with_8_inputs_and/ebpnip0/
1547562147
1
t5_2fwo
r/programming
public
null
False
Plazmatic
t2_6j0l8
According to cppcon 2018, virtually no one used pre modern C++11.
null
0
1546036085
False
0
ecrgn8o
t3_aac4hg
null
null
t1_ecqu6o3
/r/programming/comments/aac4hg/modern_c_lamentations/ecrgn8o/
1548199210
14
t5_2fwo
r/programming
public
null
False
mrbonner
t2_8bsa0
I want a NodeJS version! Let’s count how many packages it pulls from npm.
null
0
1544724797
False
0
ebpno2f
t3_a5sg9k
null
null
t3_a5sg9k
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpno2f/
1547562213
4
t5_2fwo
r/programming
public
null
False
ghidawi
t2_29i593sn
I currently work with Python and don't know it. I'm a backend engineer and use Python to automate some stuff and demonstrate features at the end of a sprint. I can write Python but I don't really understand Python the same way I understand Java.
null
0
1546036089
False
0
ecrgnfs
t3_aaco1d
null
null
t1_ecrf8qc
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrgnfs/
1548199213
14
t5_2fwo
r/programming
public
null
False
eldamir88
t2_r1npe
Faster prototyping, fewer different technologies in stack, UI and data object living on the server, so no need for large DTO overhead, and then a somewhat questionable "added security", because business logic isn't run on the client. There are a bunch of very real advantages. I understand that it feels foreign from other approaches to web development, but that doesn't mean it is bad. Vaadin does something similar for the Java environment, and they even provide some components to help get a UI setup quickly. It makes web development feel very similar to developing desktop apps and abstract away much of the low level ceremony of URLs, serialization of objects, etc. Most tangible disadvantage is the latency, as mentioned, but that is manageable. I hope that helps you on the way to understanding the thought process. It likely isn't the right tech for everything, but I certainly see potential for internal apps at my work :)
null
0
1544725164
False
0
ebpo5qt
t3_a5ssxk
null
null
t1_ebpmzvn
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpo5qt/
1547562433
8
t5_2fwo
r/programming
public
null
False
FG_Regulus
t2_aybf9
No, I mean adding empty else statements makes no sense. Those blank pages exist as a consequence of something else, such as the manufacturing or printing process. They aren't added on purpose and they have to print that extra stuff to prevent confusion. OP is imlying they add the pages themselves intentionally to somehow tell the reader that they didn't omit content. Just like he's adding else statement to say he didn't forget to consider a branch. But that's... Well, for lack of better words, confusing and stupid. Feel free to disagree, of course.
null
0
1546036180
False
0
ecrgred
t3_aa3qdm
null
null
t1_ecqhbce
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrgred/
1548199261
2
t5_2fwo
r/programming
public
null
False
badpotato
t2_72zdp
Possibly, he could browse using `lynx` to locate the page to scrap.
null
0
1544725204
False
0
ebpo7p0
t3_a5sg9k
null
null
t1_ebp1n6v
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpo7p0/
1547562457
7
t5_2fwo
r/programming
public
null
False
pudds
t2_37jeb
A company that doesn't pay programmers to review code is probably paying programmers to write suboptimal code.
null
0
1546036194
False
0
ecrgs1h
t3_aaagix
null
null
t1_ecqxqtv
/r/programming/comments/aaagix/why_review_code/ecrgs1h/
1548199270
4
t5_2fwo
r/programming
public
null
False
HowIsntBabbyFormed
t2_e9toh
okay, but what if we've got `menu.txt` and `daily_specials.txt` and your cheap shrimp meal could be in either. I know we could resort to `cat menu.txt daily_specials.txt | awk ...`, but `ENDFILE` still seems kinda like a hack to get around `exit`.
null
0
1544725225
False
0
ebpo8pj
t3_a5sg9k
null
null
t1_ebpmypl
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpo8pj/
1547562470
2
t5_2fwo
r/programming
public
null
False
DroneDashed
t2_jjtoi
Probably. I actually once had to code a basic R interpreter for a stupid feature where R code had to be ran in an .NET environment where no other dependencies were allowed. And I did adapt my brain to this quite fast. But, why is starting arrays at 1 is even a feature when the overall convention is to start at 0? Why this adicional brain pressure? I only understand this when the feature brings adicional value but I don't see it here. Do you see value on starting arrays at 1?
null
0
1546036223
False
0
ecrgtaf
t3_aabai1
null
null
t1_ecrgdzy
/r/programming/comments/aabai1/fish_shell_30/ecrgtaf/
1548199285
8
t5_2fwo
r/programming
public
null
False
ygra
t2_8kizi
> ... proceeds to write code that does string splitting and string array access 🤔... Well, that was to even the playing field and starting from the exact same input format to preempt the inevitable *»But you chose to use a different input that's easier to process«*. If my aim is to process the file with text-chopping tools that's probably how I'd save it; if my aim is to process it with a more structured approach, I'd probably use a different format, like CSV or JSON. Both of which would be a good fit for standard UNIX tools or common additional things like jq as well. I can write unreadable code in PowerShell as well (hell, I golf(ed) in it), and in fact, you chose to quote the shortest variant that's more a quick interactive hack instead of a proper readable piece of code below anyway (a common complaint is that PowerShell is too verbose, compared to traditional UNIX tools and default aliases and parameter parsing can be used to shorten code to nearly the same brevity, at the expense of readability).
null
0
1544725342
False
0
ebpoe7f
t3_a5sg9k
null
null
t1_ebp8vrm
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpoe7f/
1547562537
10
t5_2fwo
r/programming
public
null
False
FG_Regulus
t2_aybf9
And if every conditional required an else, it would get automatically generated by their tooling. So the likelihood of them forgetting to handle the other case doesn't go down and now it's even harder for the CR to tell.
null
0
1546036346
False
0
ecrgysc
t3_aa3qdm
null
null
t1_ecqq4pd
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrgysc/
1548199353
1
t5_2fwo
r/programming
public
null
False
mcnamaragio
t2_6hymk
Did you check the link from my comment? The custom DbExectutionStrategy does both of the steps, detecting and retrying.
null
0
1544725397
False
0
ebpoguv
t3_a5hxji
null
null
t1_ebplzww
/r/programming/comments/a5hxji/new_library_entityframeworkexceptions_handle/ebpoguv/
1547562569
1
t5_2fwo
r/programming
public
null
False
Diligent_Injury
t2_2mgsu80g
I'd also recommend [Python Principles](https://pythonprinciples.com/) for learning the basics of Python programming.
null
0
1546036392
False
0
ecrh0xo
t3_9y5y3x
null
null
t3_9y5y3x
/r/programming/comments/9y5y3x/free_tutorial_a_complete_course_on_python/ecrh0xo/
1548199379
0
t5_2fwo
r/programming
public
null
False
chucker23n
t2_39t9i
> Are they really suggesting to run parts of the UI on the server? Not just parts, really. In this model, which used to be called server-side Blazor, _all_ "events" are handled server-side. The client sends requests using SignalR (Web Sockets), and the server streams the response back. I understand the appeal, but I'm more of a fan of client-side Blazor, even if it's more of a pipe dream at this point. [The Blazor site still explores the differences in detail:](https://blazor.net/docs/host-and-deploy/hosting-models.html) >The benefits of the server-side hosting model are: > >* You can still write your entire app with .NET and C# using the Blazor component model. >* Your app still has a rich interactive feel and avoids unnecessary page refreshes. >* Your app download size is significantly smaller, and the initial app load time is much faster. >* Your Blazor component logic can take full advantage of server capabilities, including using any .NET Core compatible APIs. >* Because you're running on .NET Core on the server, existing .NET tooling, such as debugging, works as expected. >* Server-side hosting works with thin clients (for example, browsers that don't support WebAssembly and resource constrained devices). > >The downsides of the server-side hosting model are: > >* Latency: every user interaction now involves a network hop. >* No offline support: if the client connection goes down, the app stops working. >* Scalability: the server must manage multiple client connections and handle client state.
null
0
1544725433
False
0
ebpoio6
t3_a5ssxk
null
null
t1_ebozn0u
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpoio6/
1547562621
7
t5_2fwo
r/programming
public
null
False
FG_Regulus
t2_aybf9
Ditto - and I haven't had a single problem with bash compatibility. Well.. I can't copy and paste scripts, but that's a plus to me.
null
0
1546036412
False
0
ecrh1sn
t3_aabai1
null
null
t1_ecqm6is
/r/programming/comments/aabai1/fish_shell_30/ecrh1sn/
1548199390
3
t5_2fwo
r/programming
public
null
False
peterwilli
t2_dwi1a
Does anyone just hit a blank page after installing BlockEvil on the same Hotpage as this post? :) (https://www.reddit.com/r/programming/comments/a5q9y8/blockevil_a_userscript_that_denies_callback/) I just had to disable the extension unfortunately :(
null
0
1544725458
False
0
ebpojuh
t3_a5umm4
null
null
t3_a5umm4
/r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebpojuh/
1547562635
1
t5_2fwo
r/programming
public
null
False
_TheDust_
t2_953rb
As somebody who works with C++ a lot, I worry about it’s future now and then. The language is getting so top heavy that it might all fall over. So many new features and tweaks which, although having good intentions, make the language harder to learn and to understand all the edge cases. Take move semantics for example. While they are extremely useful and definitely fill a gap in the language, the implementation feels like a bandaid rather than coming from a solid design. Why is the synatx `&&`which looks like some weird double reference, why does ‘std::move‘ not actually do anything except typecast, why is an object still “alive” after moving it. Try explaining this to juniors. Another example is concepts. While good intentions and they definitely solve a real problem, they only help for nicer compiler errors and not strongly “enforce” anything. Try explaining that the “sortable” concept is not really necessary in your code but it only help to simplify compile erros (like some weird duck typing in a static compiled language). Looking at many of the proposals for C++, I feel many of them add more and more edge cases and make the language harder and harder to comprehend. The only solution might be break backwards compat hard and fix many of these wards.
null
0
1546036564
1546080612
0
ecrh8z2
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecrh8z2/
1548199478
61
t5_2fwo
r/programming
public
null
False
eras
t2_28h5b
>> except LXD doesn't use overlay filesystems > You sure about that? No idea about current version, but at least my older installation has no overlay filesystems mounted, so pretty sure. If it would use them, what would it use them for? Maybe the snapshotting mechanism could make use of them?
null
0
1544725478
False
0
ebpokue
t3_a5suza
null
null
t1_ebpl720
/r/programming/comments/a5suza/lxd_38_has_been_released/ebpokue/
1547562648
1
t5_2fwo
r/programming
public
null
False
Hyperian
t2_3b3j0
Wait I thought they should write perfect code the first time!
null
0
1546036582
False
0
ecrh9uz
t3_aaagix
null
null
t1_ecrgs1h
/r/programming/comments/aaagix/why_review_code/ecrh9uz/
1548199489
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
Honestly, if you are needing CRUD endpoints you're better off using something else than creating multiple AWS Lambda functions. Either create a GraphQL API with AWS AppSync or put it all in one application like Rails, Spring, Django. You can always wrap that up in a Docker image and deploy it to AWS ECS.
null
0
1544725493
False
0
ebpollb
t3_a5tzs5
null
null
t3_a5tzs5
/r/programming/comments/a5tzs5/guide_serverless_with_aws_building_apis_with/ebpollb/
1547562657
2
t5_2fwo
r/programming
public
null
False
Diligent_Injury
t2_2mgsu80g
For anyone who's convinced, I'd recommend [Python Principles](https://pythonprinciples.com/) for learning the basics of Python programming.
null
0
1546036610
False
0
ecrhb7u
t3_a4feef
null
null
t3_a4feef
/r/programming/comments/a4feef/heres_why_you_should_learn_python/ecrhb7u/
1548199506
1
t5_2fwo
r/programming
public
null
False
201838123
t2_feadx8d
it doesnt look like that to me, there was a pretty clear reason why it was reported in the first email, but they refused to believe it and assume it must be a personal attack.
null
1
1544725498
False
0
ebpolu9
t3_a5qm02
null
null
t1_ebp3mya
/r/programming/comments/a5qm02/a_tale_of_132_es/ebpolu9/
1547562660
4
t5_2fwo
r/programming
public
null
False
jlrobins_ssc
t2_38vct
Wouldn’t solve the other stray-man-ish use case of the consumer wanting to stop at the first hundred. Now, of course, you can solve that with this scheme through having the consumer function return a boolean indicating wether or not to continue or not, but again you’d need to modify this generating code (and all preexisting consumer functions) to accommodate. It is things like this which make python’s ‘yield’ statement allowing for lazy-evaluation and co-routines nice. The simplest way to write this function in python would probably be with a yield statement then allow for all such uses determined after the fact. Too bad the python runtime would end up taking way longer than the slowest C++ implementation.
null
0
1546036624
1546287020
0
ecrhbv6
t3_aac4hg
null
null
t1_ecqzdk3
/r/programming/comments/aac4hg/modern_c_lamentations/ecrhbv6/
1548199514
6
t5_2fwo
r/programming
public
null
False
psaux_grep
t2_bnepu
For a moment I’d almost forgotten about flash.
null
0
1544725530
False
0
ebponec
t3_a5sg9k
null
null
t1_ebp8ubo
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebponec/
1547562679
18
t5_2fwo
r/programming
public
null
False
micka190
t2_ei8gk
If performance and compile time are their only concern, the function objects have some overhead to them vs just basic function pointers.
null
0
1546036698
False
0
ecrhfk6
t3_aac4hg
null
null
t1_ecr4f04
/r/programming/comments/aac4hg/modern_c_lamentations/ecrhfk6/
1548199560
18
t5_2fwo
r/programming
public
null
False
duhace
t2_dhfv4
The new java releases are done every 6 months, so they don't have a lot of features each release. Here's the java 12 features coming out early next year: https://openjdk.java.net/projects/jdk/12/ Lots of nice garbage collector improvements, plus the addition of the shenandoah gc as an experimental GC alongside ZGC which came out with 11. The reason for this change in release cadence is to help keep the jvm releases on time instead of letting them be held up potentially for years like happened with java 7, 8, and 9. Instead, features are released when they are ready, and so we get stuff like switch expressions early instead of waiting 3 years for project valhalla to be finished in order to get them.
null
0
1544725538
1544725784
0
ebponqg
t3_a5umpk
null
null
t1_ebpjp8p
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebponqg/
1547562683
27
t5_2fwo
r/programming
public
null
False
imforit
t2_bu77j
Probably would have been faster to not fix NTFS, just build the new one with enough of a feature subset to support everything. Oh, like AFS!
null
0
1546036731
False
0
ecrhh7h
t3_a89y3r
null
null
t1_ecrbk8t
/r/programming/comments/a89y3r/the_node_modules_problem/ecrhh7h/
1548199580
2
t5_2fwo
r/programming
public
null
False
chucker23n
t2_39t9i
In this model, the GraphQL request wouldn't run from the browser at all, but from the server. (Possibly one server to another, but probably often really one and the same machine.)
null
0
1544725573
False
0
ebpopho
t3_a5ssxk
null
null
t1_ebped3e
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpopho/
1547562705
1
t5_2fwo
r/programming
public
null
False
licuala
t2_fb1q8
I don't know what their exact rationale was but the symmetry of 1-indexing has allowed them to implement some intuitive list indexing and slicing, where negative indices are offsets from the end of the list. So a slice of [-2..2] would be everything from the 2nd entry to the 2nd to last entry _and in reverse order_. Which is kind of cool.
null
0
1546036778
False
0
ecrhjfm
t3_aabai1
null
null
t1_ecqpsmz
/r/programming/comments/aabai1/fish_shell_30/ecrhjfm/
1548199608
10
t5_2fwo
r/programming
public
null
False
LowB0b
t2_6u5ig
you could use your nails, a fork, a knife, your belt-buckle, etc.
null
0
1544725698
False
0
ebpovfr
t3_a5sg9k
null
null
t1_ebp1n6v
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpovfr/
1547562778
5
t5_2fwo
r/programming
public
null
False
bagtowneast
t2_pii4tqi
It's really more like 100% since that code is not needed at all until the *might* need becomes the *actual* need. Of course, maintaining that generality has a cost that can diminish the long term value of that speculation. And if that generality never has a use, well then it's just technical debt.
null
0
1546036850
False
0
ecrhn0z
t3_aac4hg
null
null
t1_ecrgkwn
/r/programming/comments/aac4hg/modern_c_lamentations/ecrhn0z/
1548199652
16
t5_2fwo
r/programming
public
null
False
Dean_Roddey
t2_r72lw
All the compiler knows is that you expect a so and so type. It doesn't have any idea what the moon being in Taurus means, you had to write the code to define those semantics. Types aren't magical. Yes we can express a certain amount of semantics with them, but only at the type checking level. Most of it is code we have to write that only we understand the meaning and goals of. The bulk of what we write ultimately comes down to actual code doing things that the compiler doesn't understand and cannot enforce. This code is expressing some kind of semantics that are important, but only we know if it is correct. ​ As to your last point, that's kind of idealistic. 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. They have to be set up after the fact. What if you have to persist them, which means you have to have a default ctor to create an empty one to read into. 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? 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. ​ Anyhoo, that's all I'm going to say. I'm not here to prove that the internet is wrong. Everyone can make their own decisions. I'll accept that I'm not perfect and that the compiler can't read my mine, and I'll use tests to help prove I've got my semantics correct.
null
0
1544725728
False
0
ebpoww3
t3_a5iior
null
null
t1_ebpmezx
/r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebpoww3/
1547562796
2
t5_2fwo
r/programming
public
null
False
captainramen
t2_7eyqt
It depends on what you are doing. If you are working on a database you don't want to silently go from a 32 bit value to a 64 bit one - oops I just corrupted the db! But if you are like most of us working on an lob app it probably doesn't matter.
null
1
1546036866
False
0
ecrhnrt
t3_aac4hg
null
null
t1_ecrdb2z
/r/programming/comments/aac4hg/modern_c_lamentations/ecrhnrt/
1548199661
3
t5_2fwo
r/programming
public
null
False
LaconicLacedaemonian
t2_18wzqi0g
IMO, you should use coding interviews to establish a base level of compentence, and some companies go overboard. That you need to and can study for coding interviews, even as a senior engineer means the process is poorly optimised. I think the main problem is institutional inertia. Everyone currently employed went through the process and passed, so all new hires should too.
null
0
1544725755
False
0
ebpoy6q
t3_a5u9z0
null
null
t3_a5u9z0
/r/programming/comments/a5u9z0/cs_interviews_and_how_they_can_become_unbroken/ebpoy6q/
1547562812
7
t5_2fwo
r/programming
public
null
False
Nuaua
t2_1bg7oy23
I think people usually have some kind of hack solution by smoothing after the fact or using another network to interpolate frame-by-frame results. The correct way of doing it is to include time in the problem like in hidden Markov models or recurrent neural networks, but then it usually become much more numerically demanding.
null
0
1546036869
False
0
ecrhnwq
t3_aa91bp
null
null
t1_ecrdj2s
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecrhnwq/
1548199663
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544725765
False
0
ebpoypq
t3_a5sg9k
null
null
t1_ebox6vg
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpoypq/
1547562819
1
t5_2fwo
r/programming
public
null
False
Plazmatic
t2_6j0l8
Oof, and now we run into the same problems with readability that C++ has.
null
0
1546036977
False
0
ecrhsuz
t3_aac4hg
null
null
t1_ecrfn7f
/r/programming/comments/aac4hg/modern_c_lamentations/ecrhsuz/
1548199725
8
t5_2fwo
r/programming
public
null
False
chucker23n
t2_39t9i
The origins are in client-side Blazor, which is a single-page application framework for writing C# that compiles to WebAssembly. The WebAssembly heritage brings various problems, some of them temporary and some of them harder to avoid, such as: * there's a fairly large initial download, as you need to run some minimal form of .NET runtime to even get started. This can be mitigated through better dead code detection and also sharing the same runtime across sites, but we're not there yet. * it's currently interpreted, so it's very slow. This will get better once Mono gets AOT on WebAssembly working. * not all browsers support WebAssembly * even those that do may do so poorly See also [my other post](https://www.reddit.com/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpoio6/).
null
0
1544725780
False
0
ebpozho
t3_a5ssxk
null
null
t1_ebpmzvn
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpozho/
1547562828
4
t5_2fwo
r/programming
public
null
False
Earthling1980
t2_495k5
Seriously. Is this guy “internet famous”or something? I would be very reluctant to hire somebody who professed this level of ignorance on such a wide range of fundamental computing topics.
null
0
1546037111
False
0
ecrhz60
t3_aaco1d
null
null
t1_ecrfqsw
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrhz60/
1548199832
-23
t5_2fwo
r/programming
public
null
False
chucker23n
t2_39t9i
This isn't a transpiler from C# to JS (unlike, say, Bridge.NET). The JS only exists as a basic platform; your custom code is and remains C#.
null
0
1544725848
False
0
ebpp2un
t3_a5ssxk
null
null
t1_eboz049
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpp2un/
1547562869
4
t5_2fwo
r/programming
public
null
False
FeepingCreature
t2_201xo
Eh, the absence of the std:: spam in idiomatic D does help a bit. I am very surprised the generator version is faster, though it should probably not surprise me in hindsight. Ranges have a way to go yet before they're equivalent to tight for loops.
null
0
1546037158
False
0
ecri1ij
t3_aac4hg
null
null
t1_ecrhsuz
/r/programming/comments/aac4hg/modern_c_lamentations/ecri1ij/
1548199861
8
t5_2fwo
r/programming
public
null
False
Skyler827
t2_6gdum
Why are the code samples in a proportional font?
null
0
1544726205
False
0
ebppk50
t3_a5umpk
null
null
t3_a5umpk
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebppk50/
1547563084
11
t5_2fwo
r/programming
public
null
False
downloadingYourRAMs
t2_gw09i
Best of both worlds is something like resharper where I can write var everywhere and then ctrl-alt-f to expand to explicit types.
null
0
1546037177
False
0
ecri2ek
t3_aac4hg
null
null
t1_ecreyy4
/r/programming/comments/aac4hg/modern_c_lamentations/ecri2ek/
1548199872
35
t5_2fwo
r/programming
public
null
False
CallMeMalice
t2_zh7sr
Damn man, coming from a language without the articles is hard.
null
0
1544726350
False
0
ebpprbj
t3_a5p0ct
null
null
t1_ebovkwz
/r/programming/comments/a5p0ct/extending_a_language_with_reader_macros_a_subset/ebpprbj/
1547563172
3
t5_2fwo
r/programming
public
null
False
ArkyBeagle
t2_r4aik
The thesis "code reviews are a net gain" appears, unfortunately, not to be a testable hypothesis. Plus, it's hard not to bikeshed. But for the love of all that's holy, the only management information emanating from a review should be a punch list/list of defects and "yes, we did a review." The punch list should only go as far as it need to to execute the punch list. Defects are *normal*. I once got dinged on a performance review over notes for code style form a code review, when it turned out somebody'd given me an old copy of the ( really disgusting ) coding standard for the shop. Then again, that place had politics derived from Shakespeare about Rome so it worked out in the end.
null
0
1546037279
False
0
ecri7c6
t3_aaagix
null
null
t1_ecqu5fe
/r/programming/comments/aaagix/why_review_code/ecri7c6/
1548199933
5
t5_2fwo
r/programming
public
null
False
lotanis
t2_jsnla
\> That has more to do with the design of the Android SDK than any limitation of Kotlin This is certainly true. However, Kotlin is part of the Java world and so you can't get completely away from the 'everything should be solved using objects' approach. ​ I suspect Dart is going to continue to get heavy development if they truly want to replace Android with Fuschia, so maybe some of the things people miss will get included.
null
0
1544726375
False
0
ebppsms
t3_a5ikq1
null
null
t1_ebpi19h
/r/programming/comments/a5ikq1/fuchsia_sdk_is_now_included_into_android_open/ebppsms/
1547563218
1
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
std::function has additional overhead though - it copies the argument and thus it also needs the argument to be copyable (which by itself is a horrible design). You can either make the function a template and just invoke the template functor, or if that's not possible, you can use something like [Scoped Lambda](https://github.com/WebKit/webkit/blob/master/Source/WTF/wtf/ScopedLambda.h), which gives you best of both worlds - zero overhead and the function itself doesn't need to be templated.
null
0
1546037307
False
0
ecri8oe
t3_aac4hg
null
null
t1_ecrfxo3
/r/programming/comments/aac4hg/modern_c_lamentations/ecri8oe/
1548199949
10
t5_2fwo
r/programming
public
null
False
immibis
t2_dj2ua
If you care about performance for small problems and datasets *in one-off shell scripts*, stop using an 8086 so that you won't need to care about performance for small problems and datasets in one-off shell scripts.
null
0
1544726379
False
0
ebppssu
t3_a5sg9k
null
null
t1_ebpjt66
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebppssu/
1547563220
1
t5_2fwo
r/programming
public
null
False
ArkyBeagle
t2_r4aik
I think measuring it is impossible. It amounts to "something must be done, this is something, this must be done." In the best of all possible worlds, it's implemented as teaching. But hu-mans are competitive.
null
0
1546037361
False
0
ecribde
t3_aaagix
null
null
t1_ecrg3pk
/r/programming/comments/aaagix/why_review_code/ecribde/
1548199982
0
t5_2fwo
r/programming
public
null
False
vielga2
t2_20robo
lol pathetic, retarded, useless java. java's "what's new" feature list is a fucking joke.
null
0
1544726401
False
0
ebpptwj
t3_a5umpk
null
null
t3_a5umpk
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebpptwj/
1547563234
-36
t5_2fwo
r/programming
public
null
False
ArkyBeagle
t2_r4aik
They should have guidance outside reviews.
null
0
1546037415
False
0
ecridy3
t3_aaagix
null
null
t1_ecqzs03
/r/programming/comments/aaagix/why_review_code/ecridy3/
1548200014
2
t5_2fwo
r/programming
public
null
False
ivquatch
t2_3a6gu
Commodities don't have bills to pay :)
null
0
1544726423
False
0
ebppv2y
t3_a5i57x
null
null
t1_ebon7i1
/r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebppv2y/
1547563248
1
t5_2fwo
r/programming
public
null
False
ArkyBeagle
t2_r4aik
Determining the value of an activity should be done well before the activity is done.
null
0
1546037463
False
0
ecrigad
t3_aaagix
null
null
t1_ecqpwqf
/r/programming/comments/aaagix/why_review_code/ecrigad/
1548200043
2
t5_2fwo
r/programming
public
null
False
mjmalone
t2_s7cc0
Yea I totally agree. At smallstep our `step` CLI (github.com/smallstep/cli) is a first move towards more useable tooling, but we want to raise the level of abstraction even more to improve usability (and prevent accidental misuse). I’m hopeful that security tokens like Yubikey with U2F support will start to bring CAC-card like functionality to the masses. In fact I’m pretty sure Yubikeys have all the same features — pretty sure PIV is the CAC card standard, which Yubikeys implement.
null
0
1544726483
False
0
ebppy7x
t3_a5kkr5
null
null
t1_ebpkp0z
/r/programming/comments/a5kkr5/everything_you_should_know_about_certificates_and/ebppy7x/
1547563287
3
t5_2fwo
r/programming
public
null
False
SaphirShroom
t2_ogov5
I too hate using things for what they're best at.
null
0
1546037470
False
0
ecrigo2
t3_aabai1
null
null
t1_ecr9rf8
/r/programming/comments/aabai1/fish_shell_30/ecrigo2/
1548200048
3
t5_2fwo
r/programming
public
null