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 | __GG | t2_cj1gg | `cat file | hexdump -Cv`
My justification has always been that it's easier to change the last command than the first one. | null | 0 | 1544717733 | False | 0 | ebpdv84 | t3_a5sg9k | null | null | t1_ebox6vg | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpdv84/ | 1547557624 | 1 | t5_2fwo | r/programming | public | null |
False | playaspec | t2_5du1m | Why not use the existing labeled image libraries to train the radar inputs, at least as a way to seed the radar network. | null | 0 | 1546031207 | False | 0 | ecra08g | t3_aa91bp | null | null | t1_ecqwe9i | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecra08g/ | 1548195890 | 2 | t5_2fwo | r/programming | public | null |
False | deceased_parrot | t2_7q7zg | And then there's GraphQL whose entire point is to minimize the size and number of requests to the API server. ¯\_(ツ)_/¯ | null | 0 | 1544718070 | False | 0 | ebped3e | t3_a5ssxk | null | null | t1_ebpdnfr | /r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebped3e/ | 1547557873 | 2 | t5_2fwo | r/programming | public | null |
False | imforit | t2_bu77j | I think I'm thinking of ReFS, which was in server '16, but then removed from w10. | null | 0 | 1546031220 | False | 0 | ecra0xu | t3_a89y3r | null | null | t1_ecr9kst | /r/programming/comments/a89y3r/the_node_modules_problem/ecra0xu/ | 1548195899 | 2 | t5_2fwo | r/programming | public | null |
False | OneWingedShark | t2_bx7wh | A good article; Waterfall gets a lot of bad rap but, honestly, even the strawman Figure 2 "Waterfall" would be better than a lot of development (eg "agile"/"scrum") that's done today for one simple reason: the buy-in on agile/scrum has had two very deleterious effects: (1) agile tends to focus everyone myopically, so that there is little to no grand design, and related (2) the near complete devaluing of Design.
This can be seen culturally among programmers with the advent of Codathons and the absolute absence of anything resembling them for Design. | null | 0 | 1544718086 | False | 0 | ebpedxq | t3_a5m8cb | null | null | t3_a5m8cb | /r/programming/comments/a5m8cb/waterfall/ebpedxq/ | 1547557884 | 1 | t5_2fwo | r/programming | public | null |
False | Dude_What__ | t2_2dhb3999 | I mean ... it's far from simple.
Not remotely AI, still not simple' | null | 0 | 1546031248 | False | 0 | ecra2ga | t3_aa91bp | null | null | t1_ecpy73e | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecra2ga/ | 1548195917 | 1 | t5_2fwo | r/programming | public | null |
False | fordmadoxfraud | t2_3ri1o | Adyen is a Dutch company. | null | 0 | 1544718105 | False | 0 | ebpeex4 | t3_a5rqbw | null | null | t1_ebp1j0k | /r/programming/comments/a5rqbw/stories_from_the_development_team_building_the/ebpeex4/ | 1547557896 | 4 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | > Even the small features like auto correcting capitals on tab and
> directory navigation using alt+arrows really add up to give
> an unbelieveable amount of productivity.
I don't have this problem as I use aliases.
And I am not kidding. I guess I am among top 100 world wide
using (real) aliases for getting things done (mostly to just call
a bewildering array of well-written and maintainable ruby code).
The shell is my kickstarter for literal everything. | null | 0 | 1546031292 | False | 0 | ecra4sk | t3_aabai1 | null | null | t1_ecr5vpx | /r/programming/comments/aabai1/fish_shell_30/ecra4sk/ | 1548195946 | -75 | t5_2fwo | r/programming | public | null |
False | taybul | t2_3gu25 | Plus you're almost always working in steps anyway so expanding your pipeline like this is simply natural. You debug along the way, use history to backtrack if needed, etc.
I feel like the anti cat critics also have the advantage of looking at the finished product and saying "of course there's a better way of doing this" when in fact the pipeline is more a reflection of the journey rather than the destination. | null | 0 | 1544718160 | False | 0 | ebpehvw | t3_a5sg9k | null | null | t1_ebp4vk0 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpehvw/ | 1547557932 | 5 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | Fish are overrated. | null | 0 | 1546031309 | False | 0 | ecra5oh | t3_aabai1 | null | null | t1_ecr0h7k | /r/programming/comments/aabai1/fish_shell_30/ecra5oh/ | 1548195957 | -13 | t5_2fwo | r/programming | public | null |
False | InquiREEEEEEEEEEE | t2_2fm0meg7 | Someone pretending to know something would be a big minus on my list. I want to work with people who are brutally honest. Nothing as bad as wasted weeks that happened due to miscommunications. | null | 0 | 1544718162 | False | 0 | ebpehzt | t3_a5kkr5 | null | null | t1_eboz772 | /r/programming/comments/a5kkr5/everything_you_should_know_about_certificates_and/ebpehzt/ | 1547557933 | 4 | t5_2fwo | r/programming | public | null |
False | Scroph | t2_6p6h0 | Here's a coroutine-like version that simply wraps the C code in a generator :
import std.stdio;
import std.typecons;
import std.concurrency;
alias Triple = Tuple!(int, int, int);
Generator!Triple printNTriples(int n)
{
return new Generator!Triple({
int i = 0;
for (int z = 1; ; ++z)
for (int x = 1; x <= z; ++x)
for (int y = x; y <= z; ++y)
if (x*x + y*y == z*z) {
yield(tuple(x, y, z));
if (++i == n)
return;
}
});
}
void main()
{
foreach(tup; printNTriples(4))
{
writeln(tup);
}
}
| null | 0 | 1546031318 | False | 0 | ecra66v | t3_aac4hg | null | null | t1_ecqwc6q | /r/programming/comments/aac4hg/modern_c_lamentations/ecra66v/ | 1548195964 | 20 | t5_2fwo | r/programming | public | null |
False | Mulrian | t2_ivg44 | Files.newBufferedReader(path).use {
// code
}
Not exactly the same, but just ensures the reader is closed even if there is an exception | null | 0 | 1544718227 | False | 0 | ebpelgg | t3_a5969k | null | null | t1_ebmvezq | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebpelgg/ | 1547557976 | 2 | t5_2fwo | r/programming | public | null |
False | imforit | t2_bu77j | I read on good ol' Wikipedia that even the name "Longhorn" reflects the halfway-ness between XP and windows 8- Longhorn is a real-life bar halfway between the ski areas Whistler (xp) and Blackcomb (w8). | null | 0 | 1546031378 | False | 0 | ecra9c1 | t3_a89y3r | null | null | t1_ecr9kst | /r/programming/comments/a89y3r/the_node_modules_problem/ecra9c1/ | 1548196003 | 2 | t5_2fwo | r/programming | public | null |
False | skeliskull | t2_iwfo9 | Holy shit adding inputs to tasks is going to make my life so much better. Really hyped about that. | null | 0 | 1544718290 | False | 0 | ebpeooo | t3_a5mk9z | null | null | t3_a5mk9z | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpeooo/ | 1547558016 | 6 | t5_2fwo | r/programming | public | null |
False | moschles | t2_e8kks | This is one of those enigmatic black magic blogs where it's all like , "You too can use functional programming within C++". | null | 0 | 1546031611 | False | 0 | ecral7u | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecral7u/ | 1548196151 | -7 | t5_2fwo | r/programming | public | null |
False | gauauuau | t2_3ddqzrs | >And maybe the problem of pretending to be a coder is less pervasive in 2018 than it was 10 years ago, so this whole current design of coding interviews is outdated?
&#x200B;
Maybe he has a better system for weeding out resumes, or a better candidate pool, but in my experience, you DO get loads of people that just have no ability to code whatsoever. I'm not sure what the best method of evaluating them is (I understand the complaints about all the various interview techniques, and I have my own theories about what works well and doesn't, but that's a tangent I won't get into here). My point is that just gauging soft skills isn't sufficient. You still need some way to weed out the people who are not technically able to do the job. | null | 0 | 1544718318 | False | 0 | ebpeq3q | t3_a5u9z0 | null | null | t3_a5u9z0 | /r/programming/comments/a5u9z0/cs_interviews_and_how_they_can_become_unbroken/ebpeq3q/ | 1547558034 | 8 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | Not when we worship complexity - be it C++ becoming more and more complex or systemd being touted as "replacement" for oldschool init.
Some people profit from complexity. There are more examples than the two given above - big corporations being able to do things smaller teams or indie devs can not do.
But there are a few moments of hope. 3D printing - while it's somewhat in its infancy (still), the very ability to be able to just literally produce anything is pretty ... awesome.
I remember some time ago having watched a video about one of the last survivors of an iron lung (after polio virus destroyed neurones); the machine was aging and needed replacement. Someone eventually did a replacement and said that the hardest part, aside from the lack of documentation (which was the second hardest thing ... trying to figure out how the iron lung really worked in fact), was to get replacement parts. Now that would be pretty cool to really manufacture any object, in just about any size (including nanosized), out of almost any bulk material that you can input.
3D printing is quite far away from this goal as of yet, but what is already possible today is quite decent. Everyone should have a factory at home - or, if this is too difficult per home, make it an aggregate place for like, say, 10.000 people in a city or so (should be feasible, from a logistics point of view, like in a big tech hall). | null | 0 | 1546031700 | False | 0 | ecrapsk | t3_aaa8y7 | null | null | t3_aaa8y7 | /r/programming/comments/aaa8y7/taming_the_chaos_can_we_build_systems_that/ecrapsk/ | 1548196235 | 5 | t5_2fwo | r/programming | public | null |
False | skeliskull | t2_iwfo9 | I would love it if they started making code able to integrate better with vs solution projects but idk if it would ever happen as vs2017 is a paid-for IDE.
I’d honestly pay for an extension that adds lots of the rich tooling from the heavyweight ide to the lighter vscode | null | 0 | 1544718464 | False | 0 | ebpexdw | t3_a5mk9z | null | null | t1_ebox49w | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpexdw/ | 1547558123 | 1 | t5_2fwo | r/programming | public | null |
False | iuqwej | t2_wi614 | If you want to generated a lazy sequence in c++, why not use a iterator? That's what i would do. | null | 0 | 1546031723 | False | 0 | ecraqyj | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecraqyj/ | 1548196250 | 8 | t5_2fwo | r/programming | public | null |
False | Shadowvines | t2_fw1r9 | yaaaaa except you don't get to decide an assessor does.
(4) One of the assessors must be a person who:
(a) has knowledge that would enable the person to assess whether proposed technical capability notices would contravene section 317ZG; and
(b) is cleared for security purposes to:
(i) the highest level required by staff members of ASIO; or
(ii) such lower level as the Attorney-General approves.
(5) One of the assessors must be a person who:
(a) has served as a judge in one or more prescribed courts for a period of 5 years; and
(b) no longer holds a commission as a judge of a prescribed court.
a prescribed court being
(12) For the purposes of this section, prescribed court means:
(a) the High Court; or
(b) the Federal Court of Australia; or
(c) the Supreme Court of a State or Territory; or
(d) the District Court (or equivalent) of a State or Territory.
so this assessor will be a judge that is no longer a judge and has served on those courts... | null | 0 | 1544718537 | False | 0 | ebpf11k | t3_a57th7 | null | null | t1_ebp573p | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebpf11k/ | 1547558168 | 1 | t5_2fwo | r/programming | public | null |
False | mttlb | t2_16c9hm | Saw some Google guys present their latest work on this like two months ago and they're starting to introduce loops to take the past into account. The reason this hadn't been done before is because they're mainly working on real time inference (for their practical stuff like driverless cars) and these models get EXTREMELY heavy. Their new architecture can « remember » as far as 5 frames prior if I'm correct. There's obviously a lot of information virtually lost when you don't use the fact that you're watching a movie and that frames are kinda related.
That said, models typically don't learn abstract stuff such as body properties; if anything, it would remember it predicted that thing to be a car on the earlier frames and so it should remain one (faster inference and better certainty).
These are huge issues because cars don't typically ship with 4x Titan V onboard... | null | 0 | 1546031746 | False | 0 | ecras65 | t3_aa91bp | null | null | t1_ecq2j0l | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecras65/ | 1548196265 | 1 | t5_2fwo | r/programming | public | null |
False | url01 | t2_xk6pc2h | Indeed. I've done this in the past for vimfiles and vimrc.
With Dropbox at least, it's only a matter of time before a conflict occurs and you're left stranded.
I would much prefer to be able to set the path as well. | null | 0 | 1544718610 | False | 0 | ebpf4mx | t3_a5mk9z | null | null | t1_eboy808 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpf4mx/ | 1547558213 | 3 | t5_2fwo | r/programming | public | null |
False | Candid_Calligrapher | t2_2nsvdulx | Because combinatorylogic actually knows things? | null | 0 | 1546031811 | False | 0 | ecravgu | t3_aaco1d | null | null | t1_ecr8uqv | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecravgu/ | 1548196306 | 18 | t5_2fwo | r/programming | public | null |
False | Mulrian | t2_ivg44 | That's also how you waste a full year and get no further forward. It's going to be the end of next year now before this gets in possibly in JDK 13.
A quicker release cadence is great, but only if they actually ship something. This is just raw string literals, its not exactly something truly complex like value types. | null | 0 | 1544718629 | False | 0 | ebpf5m0 | t3_a5969k | null | null | t1_ebmrf5m | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebpf5m0/ | 1547558225 | 1 | t5_2fwo | r/programming | public | null |
False | sobels | t2_bdhcu | My criticism is that they aren't effectively preventing glitches, which they obviously want to do (hint - why do they want people to correctly reason about their code?) I don't care what they name it. There's nothing pedantic about that. I really don't understand what is unclear about this. | null | 0 | 1546031849 | False | 0 | ecraxdj | t3_aa3qdm | null | null | t1_ecr9woo | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecraxdj/ | 1548196330 | 7 | t5_2fwo | r/programming | public | null |
False | Dgc2002 | t2_52v7g | I tend to avoid caret tweaks like that but... At first glance this is kind of nice. | null | 0 | 1544718743 | False | 0 | ebpfb21 | t3_a5mk9z | null | null | t1_ebnr0og | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpfb21/ | 1547558292 | 1 | t5_2fwo | r/programming | public | null |
False | playaspec | t2_5du1m | >It's also really good as classifying road signs as people.
Where did it do that? I've watched it three times and didn't see it. | null | 0 | 1546031856 | False | 0 | ecraxqh | t3_aa91bp | null | null | t1_ecqa0sd | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecraxqh/ | 1548196334 | 1 | t5_2fwo | r/programming | public | null |
False | sisyphus | t2_31lml | As one of the few people who seems to have loved the concept of Turbolinks/StimulusJS/spfjs style things this looks amazing and a great use case for the erlang platform. | null | 0 | 1544718750 | False | 0 | ebpfbgp | t3_a5umm4 | null | null | t3_a5umm4 | /r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebpfbgp/ | 1547558296 | 13 | t5_2fwo | r/programming | public | null |
False | BeansMostly | t2_yl14pvj | Learning the tools is 90% of it. I also work in computer vision and education is not nearly as important as being able to demonstrate your skills and speak coherently about proposed solutions to problems.
So... basically like all the other things in tech. Being able to do it, regardless of how those skills were acquired (via school or personal effort) is the most important bit.
That being said, experience always helps to get in the door. | null | 0 | 1546031885 | False | 0 | ecraz8e | t3_aa91bp | null | null | t1_ecr2esi | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecraz8e/ | 1548196352 | 2 | t5_2fwo | r/programming | public | null |
False | HowIsntBabbyFormed | t2_e9toh | If you really think that looks like "nail clippings", I don't know what to tell you. It's very simple and basic code. If you must have newlines, it's just this:
BEGIN {
FS="$"
}
$1 ~ /shrimp/ && $2 < 10 {
found=1
exit
}
END {
if (found)
print "Available"
else
print ":("
}
It's pretty much the same thing, except his doesn't print `:(`. And how is this clear code:
if (menu|? Name -co shrimp|? Price -lt 10)
I've never seen a pipe-question-mark in any other language. I've never seen `-lt` outside shell script to compare numbers, and `-co` for contains? And how about this part:
$splits = $_ -split '\$'
[pscustomobject]@{
Name = $splits[0]
Price = +$splits[1]
}
so clear and not clunky at all. | null | 0 | 1544718824 | False | 0 | ebpff0b | t3_a5sg9k | null | null | t1_ebpbl4o | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpff0b/ | 1547558341 | 8 | t5_2fwo | r/programming | public | null |
False | Ansjh | t2_48hg2 | Thinking of switching from zsh to fish, what are some of these differences for the better? | null | 0 | 1546031917 | False | 0 | ecrb0xf | t3_aabai1 | null | null | t1_ecr8adh | /r/programming/comments/aabai1/fish_shell_30/ecrb0xf/ | 1548196373 | 8 | t5_2fwo | r/programming | public | null |
False | EMCM | t2_8e4b4 | > I know that Atom and VSCode are both developed my Microsoft now.
What? | null | 0 | 1544718836 | False | 0 | ebpffl9 | t3_a5mk9z | null | null | t1_ebp2d3n | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpffl9/ | 1547558349 | 7 | t5_2fwo | r/programming | public | null |
False | PageFault | t2_40i2b | I have. I can say that:
for i in $(seq 1 ${#myArray[@]})
would look a hell of a lot cleaner than this does:
for i in $(seq 0 $(( ${#myArray[@]} - 1 )) ) | null | 0 | 1546032010 | False | 0 | ecrb5qi | t3_aabai1 | null | null | t1_ecqtsjr | /r/programming/comments/aabai1/fish_shell_30/ecrb5qi/ | 1548196448 | 23 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544718860 | False | 0 | ebpfgqz | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpfgqz/ | 1547558363 | 1 | t5_2fwo | r/programming | public | null |
False | Drisku11 | t2_bg6v5 | It's not more explicit. It's *redundant*. It's like writing
if ((condition == true) == true)
return condition
else
return condition
None of that gives me any more confidence that "all cases" were considered; I'm just going to think the author was incompetent, and therefore whatever their original intent was is probably wrong anyway. If there's anything nonobvious about why the condition is what it is or how it should be handled, then there should be a comment or design document explaining it. | null | 0 | 1546032026 | False | 0 | ecrb6hd | t3_aa3qdm | null | null | t1_ecr226m | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrb6hd/ | 1548196656 | 2 | t5_2fwo | r/programming | public | null |
False | sinedpick | t2_ksuu9 | >And in a Lisp without reader macros, you can easily add them by using the regular Lisp macros and replacing the parser altogether.
I don't buy it. Can you show a simple example?
| null | 0 | 1544718982 | False | 0 | ebpfmpy | t3_a5p0ct | null | null | t1_ebp1vti | /r/programming/comments/a5p0ct/extending_a_language_with_reader_macros_a_subset/ebpfmpy/ | 1547558466 | 3 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | > I don't care what they name it.
This is literally the first line on your post:
> Calling this "Space Shuttle Style" is a delusion of grandeur
And I'm going to stop here, because this is all the exposition that is needed:
> My criticism is that they aren't effectively preventing glitches, which they obviously want to do (hint - why do they want people to correctly reason about their code?)
If you are in the habit of writing "unreasonable" code, perhaps you should reconsider your criticism.
| null | 0 | 1546032117 | False | 0 | ecrbb7p | t3_aa3qdm | null | null | t1_ecraxdj | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrbb7p/ | 1548196720 | -1 | t5_2fwo | r/programming | public | null |
False | vesche | t2_gw4em | What Python library are they using from 26:00 - 45:00? | null | 0 | 1544718985 | False | 0 | ebpfmu7 | t3_a5srkh | null | null | t3_a5srkh | /r/programming/comments/a5srkh/writing_code_to_make_music_in_tokyo/ebpfmu7/ | 1547558468 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546032130 | False | 0 | ecrbbv6 | t3_aadm6c | null | null | t3_aadm6c | /r/programming/comments/aadm6c/lexcon_contest_part_2_httpmegitinfohackme_can_you/ecrbbv6/ | 1548196729 | 1 | t5_2fwo | r/programming | public | null |
False | emn13 | t2_1p64 | I mean, I couldn't care less about UUOC, but you don't need to rely on the tool itself to do it, `< input.file my-tool-here` is just as good as `cat input.file | my-tool-here`.
But yeah, you're right, it's simpler and more consistent to simply use pipes everywhere, and then you need `cat`. | null | 0 | 1544719009 | False | 0 | ebpfo1v | t3_a5sg9k | null | null | t1_ebp7wao | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpfo1v/ | 1547558483 | 20 | t5_2fwo | r/programming | public | null |
False | smashedshanky | t2_hh9bm | I have basic knowledge of the different types of neural networks and have made some projects based off of that, would you recommend just doing personal projects? I’m graduating next fall with bs in CS and want to sometime in the future get into computer vision. Would taking classes related to computer vision be of any credit compared some personal big projects? | null | 0 | 1546032132 | False | 0 | ecrbbyk | t3_aa91bp | null | null | t1_ecraz8e | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecrbbyk/ | 1548196730 | 1 | t5_2fwo | r/programming | public | null |
False | emn13 | t2_1p64 | You're downvoted, but you are, of course, entirely, 100%, completely correct.
But in general, for small datasets and simple problems: fewer processes usually wins. | null | 0 | 1544719180 | False | 0 | ebpfwmc | t3_a5sg9k | null | null | t1_eboyz7h | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpfwmc/ | 1547558588 | 3 | t5_2fwo | r/programming | public | null |
False | icarebot | t2_2n5al08x | I care | null | 0 | 1546032134 | False | 0 | ecrbc3d | t3_aa3qdm | null | null | t1_ecrbb7p | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrbc3d/ | 1548196731 | 5 | t5_2fwo | r/programming | public | null |
False | hielkew | t2_5oyqvg3 | Well, if you don't pay enough attention you'll think it is a control character. Just use proper English. | null | 1 | 1544719184 | False | 0 | ebpfwry | t3_a5sg9k | null | null | t1_ebpb9qd | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpfwry/ | 1547558590 | 0 | t5_2fwo | r/programming | public | null |
False | sempercrescis | t2_sblf4 | Flickering isnt really an issue | null | 0 | 1546032195 | False | 0 | ecrbf6k | t3_aa91bp | null | null | t1_ecpzjfx | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecrbf6k/ | 1548196769 | 2 | t5_2fwo | r/programming | public | null |
False | m50d | t2_6q02y | > But how do I get the type system to check that I'm not marking the wrong keys ?
If your language has singleton types, you can use those (e.g. have a way to look up key `k` in wherever you're tracking the reference counts that returns a reference count that refers to `k.type`). If not, you can fake it using generics and a parametricity argument (write code in terms of `[K1 <: K]` for some `k: K1`; in reality `K1` will always be `K` (your key type) but doing it that way ensures that you can't substitute some other key).
> how does the type system tell me that I haven't forgotten an increment or decrement ?
You encode your rules for what you're supposed to do. If you're supposed to increment whenever you obtain a reference, have your reference constructor do the increment. If you're supposed to increment whenever you insert a reference as a value, have your method for inserting reference values do the increment. If the logic is more complex than that, have different types for `ReferenceWhereIveIncremented` and `ReferenceWhereIHaventIncrementedYet`, and then break down your methods for dealing with those until they're clear enough to be correct.
Even in pure mathematics, proofs only tell you that your conclusions follow from your premises, so the compiler can't guarantee that our invariants mean what we think they do, but what we can do is encode our rationale for believing certain things: if we believe that A implies B we can have a type that represents A, a type that represents B, and our "premise" is just a method that takes an `A` and returns a `B`. And if we don't offer any other way to produce a `B`, then if we ever have a `B` then we know that this method must have been called, and we know that an `A` was passed in. The compiler can't guarantee that the method did what we thought it did, but either we're confident (as a human reader) that the method is correct, or we can break it down into smaller pieces and have the compiler check the relations between them.
> How does it tell me that (for instance) if a value references a key twice, I will mistakenly increment only once, but still decrement twice ?
If your language has linear types, you can make a phantom value that you instantiate when an increment happens and make the decrement the only way to "consume" that value. If the language has RAII you can use that in the same way. If there's an implementation of regions, or of iteratees with some kind of "bracket" operation, you can use those. | null | 0 | 1544719270 | False | 0 | ebpg181 | t3_a5iior | null | null | t1_ebpddow | /r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebpg181/ | 1547558644 | 1 | t5_2fwo | r/programming | public | null |
False | Brillegeit | t2_5q0j1 | Ah, yeah ReFS. It did seem a bit ambitious for Microsoft to try to not only fix issues with NTFS but also replicate something even Sun needed half a decade to make. | null | 0 | 1546032293 | False | 0 | ecrbk8t | t3_a89y3r | null | null | t1_ecra0xu | /r/programming/comments/a89y3r/the_node_modules_problem/ecrbk8t/ | 1548196831 | 1 | t5_2fwo | r/programming | public | null |
False | Dgc2002 | t2_52v7g | > which VSC shares/shared some code with
<TangentialRamble>
To my knowledge the only shared code is electron itself. I remember some folks were convinced that VSC had nicked a bunch of code from Atom based mostly on a single article. I did some digging and the 'evidence' was that 'atom' showed up in VSCode's binary or something like that. The reason was because Electron started off as a project with 'atom' in its name or branding and it remains in the codebase. [See here](https://github.com/electron/electron/search?utf8=%E2%9C%93&q=atom&type=)
</TangentialRamble> | null | 0 | 1544719314 | False | 0 | ebpg3d4 | t3_a5mk9z | null | null | t1_ebotx04 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpg3d4/ | 1547558671 | 2 | t5_2fwo | r/programming | public | null |
False | PageFault | t2_40i2b | Is it noticeably better than oh-my-zsh? | null | 0 | 1546032310 | False | 0 | ecrbl5r | t3_aabai1 | null | null | t1_ecr98vq | /r/programming/comments/aabai1/fish_shell_30/ecrbl5r/ | 1548196843 | 4 | t5_2fwo | r/programming | public | null |
False | jcelerier | t2_nju89 | looks like foxdot: http://foxdot.org/ | null | 0 | 1544719378 | False | 0 | ebpg6mt | t3_a5srkh | null | null | t1_ebpfmu7 | /r/programming/comments/a5srkh/writing_code_to_make_music_in_tokyo/ebpg6mt/ | 1547558711 | 2 | t5_2fwo | r/programming | public | null |
False | Renive | t2_gw9z3 | I perfectly understand you. I would still refactor it. | null | 0 | 1546032323 | False | 0 | ecrbltj | t3_aa3qdm | null | null | t1_ecr226m | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrbltj/ | 1548196851 | 1 | t5_2fwo | r/programming | public | null |
False | cosmo7 | t2_2j04 | This would be much simpler if we used a Java `MenuSearchResultShrimpDishComparatorFactory` model. | null | 0 | 1544719399 | False | 0 | ebpg7n8 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpg7n8/ | 1547558724 | 1 | t5_2fwo | r/programming | public | null |
False | sarneaud | t2_9bds8dk | Or use a templated callback if it needs to be just as compile-timey as the range version. | null | 0 | 1546032444 | False | 0 | ecrbs0j | t3_aac4hg | null | null | t1_ecqzdk3 | /r/programming/comments/aac4hg/modern_c_lamentations/ecrbs0j/ | 1548196927 | 11 | t5_2fwo | r/programming | public | null |
False | VeganBigMac | t2_ptrwa | The first point is probably true, but the second one could easily be that it is posted so much *because* of its meteoric rise. | null | 0 | 1544719447 | False | 0 | ebpga3j | t3_a5i57x | null | null | t1_ebow1zf | /r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebpga3j/ | 1547558754 | 1 | t5_2fwo | r/programming | public | null |
False | sobels | t2_bdhcu | Not sure why you're quoting unreasonable, since I never said that. But hey, I can understand that you didn't read me too carefully. Instead of addressing any substantial point I made, you're hammering away at a pithy one liner I used as a hook. Who's pedantic, again?
Also, I love it when people point out my silly code. Silly code is a habit that none of us can kick. | null | 0 | 1546032481 | False | 0 | ecrbtys | t3_aa3qdm | null | null | t1_ecrbb7p | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrbtys/ | 1548196951 | 8 | t5_2fwo | r/programming | public | null |
False | Darkglow666 | t2_aaxo5 | Perhaps, but I don't think Google itself is guilty of hyperbole here, anyway. Admittedly, there are a number of articles with hyperbolic titles like "Best Thing Ever!", but Google employees are not the authors. The new workflow just happens to inspire a lot of enthusiasm. :) | null | 0 | 1544719476 | False | 0 | ebpgbi8 | t3_a4vfjo | null | null | t1_ebodle9 | /r/programming/comments/a4vfjo/flutter_will_change_everything_and_apple_wont_do/ebpgbi8/ | 1547558772 | 1 | t5_2fwo | r/programming | public | null |
False | UpvoteIfYouDare | t2_5kf74 | > What’s missing is the ability to discriminate and say, “In these cases, Perl is a good language to use. In those cases, Perl is a terrible language.” Instead, people say, “Oh, wow. I taught myself Perl and I wrote this 20-line script. I will now go use Perl for every programming problem that I encounter.”
I wonder if they explicitly avoided the obvious example when writing this article. | null | 0 | 1546032521 | False | 0 | ecrbvzz | t3_aac063 | null | null | t3_aac063 | /r/programming/comments/aac063/when_good_engineers_write_bad_software/ecrbvzz/ | 1548196977 | 10 | t5_2fwo | r/programming | public | null |
False | Zakman-- | t2_is8um | I guess the advantage with Razor Components is that if everything exists on the same server then you can do away with HTTP endpoints... but then is it really an advantage if it's masking how web applications really work? | null | 0 | 1544719614 | False | 0 | ebpgifk | t3_a5ssxk | null | null | t1_ebped3e | /r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebpgifk/ | 1547558856 | 4 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | The reason you are finding this so hard to understand is because my "toy" function returns a bool.
void HandleFoo(Foo foo)
{
if (foo.Name == "Baz")
RunBazCode();
RunBarCode();
}
Refactor that procedure.
> If there's anything nonobvious about why the condition is what it is or how it should be handled, then there should be a comment.
Did you really miss my point about the empty statement with a backing coding standard? | null | 0 | 1546032566 | 1546033514 | 0 | ecrbydj | t3_aa3qdm | null | null | t1_ecrb6hd | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrbydj/ | 1548197006 | 0 | t5_2fwo | r/programming | public | null |
False | ik-wil-kaas | t2_16fnnkqz | ❤️ phoenix | null | 0 | 1544719692 | False | 0 | ebpgmb2 | t3_a5umm4 | null | null | t3_a5umm4 | /r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebpgmb2/ | 1547558905 | 18 | t5_2fwo | r/programming | public | null |
False | moschles | t2_e8kks | > one C++ which is used in blog posts, and another which is used in software development.
https://i.imgur.com/Srf91aW.png | null | 0 | 1546032575 | False | 0 | ecrbyss | t3_aac4hg | null | null | t1_ecqu6o3 | /r/programming/comments/aac4hg/modern_c_lamentations/ecrbyss/ | 1548197011 | 48 | t5_2fwo | r/programming | public | null |
False | SafariMonkey | t2_aa29v | [Microsoft acquired GitHub](https://blogs.microsoft.com/blog/2018/10/26/microsoft-completes-github-acquisition/), so in a sense both VSCode and Atom are developed by Microsoft now. | null | 0 | 1544719828 | False | 0 | ebpgsyw | t3_a5mk9z | null | null | t1_ebpffl9 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpgsyw/ | 1547559017 | 3 | t5_2fwo | r/programming | public | null |
False | oridb | t2_90rkq | > and you saying I'm having delusions of grandeur because there's a lot more that go into fire engines than the paint
Yes, that is true. But if you say "I painted my house fire engine red because it helps eliminate fires", you would be rightly labeled delusional. | null | 0 | 1546032742 | 1546065241 | 0 | ecrc73a | t3_aa3qdm | null | null | t1_ecr8dzw | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrc73a/ | 1548197115 | 5 | t5_2fwo | r/programming | public | null |
False | IsLoveTheTruth | t2_plkklda | Anyone else bothered by the truncating to integer? | null | 0 | 1544719869 | False | 0 | ebpgv1a | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpgv1a/ | 1547559042 | 5 | t5_2fwo | r/programming | public | null |
False | Daneel_Trevize | t2_dxefp | I didn't say they didn't, but are their contributions worth their constant vitriol? | null | 0 | 1546032748 | False | 0 | ecrc7f8 | t3_aaco1d | null | null | t1_ecravgu | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrc7f8/ | 1548197119 | 25 | t5_2fwo | r/programming | public | null |
False | KieranDevvs | t2_j3cj8 | Is there anything that Regex cant do already? | null | 0 | 1544719950 | False | 0 | ebpgz3j | t3_a5izk6 | null | null | t3_a5izk6 | /r/programming/comments/a5izk6/a_crosseditor_plugin_to_improve_any_text_editor/ebpgz3j/ | 1547559092 | 1 | t5_2fwo | r/programming | public | null |
False | Syrrim | t2_mn7pg | uwu whats this: https://github.com/kubernetes/kubernetes/blob/master/test/integration/volume/persistent_volumes_test.go | null | 0 | 1546032749 | False | 0 | ecrc7gm | t3_aa3qdm | null | null | t1_ecorivu | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrc7gm/ | 1548197119 | 1 | t5_2fwo | r/programming | public | null |
False | PC__LOAD__LETTER | t2_pgt8t | For small datasets and simple problems it usually doesn’t matter, is a more accurate assessment IMO. | null | 0 | 1544720027 | False | 0 | ebph2pp | t3_a5sg9k | null | null | t1_ebpfwmc | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebph2pp/ | 1547559137 | 11 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546032757 | 1546882996 | 0 | ecrc7u0 | t3_aaco1d | null | null | t1_ecravgu | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrc7u0/ | 1548197123 | 15 | t5_2fwo | r/programming | public | null |
False | Daegalus | t2_54cpx | Most need additional installs. I use Go and the plugin for go had to install a lot of tools before it work. Dart also and it required I have the dart sdk installed to work. Most plugins don't install the extras. PHP might need something else installed. | null | 0 | 1544720035 | False | 0 | ebph33i | t3_a5mk9z | null | null | t1_eboryk1 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebph33i/ | 1547559142 | 2 | t5_2fwo | r/programming | public | null |
False | RedUser03 | t2_56ozu | We’re all standing on the shoulders of giants | null | 0 | 1546032776 | False | 0 | ecrc8q4 | t3_aaco1d | null | null | t3_aaco1d | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrc8q4/ | 1548197135 | 22 | t5_2fwo | r/programming | public | null |
False | oblio- | t2_9a80o | if (Get-Menu |
Where-Object Name -Contains shrimp |
Where-Object Price -Lt 10) {
'Available!'
}
Looks pretty good to me. The -lt is the only thing that is debatable, in my opinion. | null | 0 | 1544720054 | False | 0 | ebph3za | t3_a5sg9k | null | null | t1_ebpff0b | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebph3za/ | 1547559154 | 7 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546032864 | False | 0 | ecrcd5w | t3_aadm6c | null | null | t3_aadm6c | /r/programming/comments/aadm6c/lexcon_contest_part_2_httpmegitinfohackme_can_you/ecrcd5w/ | 1548197189 | 1 | t5_2fwo | r/programming | public | null |
False | majormunky | t2_5btke | Ah this is a great line in the follow up post: "Please keep your e’s to a minimum, folks, there are people trying to perform capitalism here." | null | 0 | 1544720135 | False | 0 | ebph7yc | t3_a5qm02 | null | null | t3_a5qm02 | /r/programming/comments/a5qm02/a_tale_of_132_es/ebph7yc/ | 1547559202 | 25 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | I'm quoting unreasonable because it's the "opposite" of code that is easy to reason about (see? I did it again).
> Instead of addressing any substantial point
You made zero substantial points because you didn't read the submission. | null | 0 | 1546032870 | False | 0 | ecrcdfz | t3_aa3qdm | null | null | t1_ecrbtys | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrcdfz/ | 1548197193 | -1 | t5_2fwo | r/programming | public | null |
False | lbkulinski | t2_17799v | We are getting [switch expressions](https://openjdk.java.net/jeps/325) in Java 12. | null | 0 | 1544720137 | False | 0 | ebph80v | t3_a5969k | null | null | t1_ebpf5m0 | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebph80v/ | 1547559203 | 0 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | Yes. More accurate and faster, and a better UI | null | 0 | 1546032870 | False | 0 | ecrcdhd | t3_aabai1 | null | null | t1_ecrbl5r | /r/programming/comments/aabai1/fish_shell_30/ecrcdhd/ | 1548197194 | 13 | t5_2fwo | r/programming | public | null |
False | edwardkmett | t2_26009 | After watching this, I spent my last couple of twitch streams implementing a version of Dancing Links in C++ for use from Haskell:
[ [Part 1](https://www.twitch.tv/videos/345718973) | [Part 2](https://www.twitch.tv/videos/348443319) ]
My next step is to implement [Dancing with Decision Diagrams](https://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14907/13855).
[Edit: [Done](https://www.twitch.tv/videos/348667277) ]
| null | 0 | 1544720226 | 1544749406 | 0 | ebphchk | t3_a5kk6b | null | null | t3_a5kk6b | /r/programming/comments/a5kk6b/donald_knuths_24th_annual_christmas_lecture/ebphchk/ | 1547559258 | 3 | t5_2fwo | r/programming | public | null |
False | iphone6sthrowaway | t2_172tyv | Not sure about the differences between zsh and fish, I switched from bash to fish (only used zsh a few times in LiveCDs). Compared to bash, I would say that completion (and prediction) in fish is much, much better in fish than in bash. It's also easy to set up a good color scheme for readability. I also like the compact directory representation, e.g. that if the working directory is "/media/stuff/projects/linux/filesystem", it can be printed as "/m/s/p/l/filesystem" to avoid spamming to console if the path is long. | null | 0 | 1546032935 | False | 0 | ecrcgje | t3_aabai1 | null | null | t1_ecrb0xf | /r/programming/comments/aabai1/fish_shell_30/ecrcgje/ | 1548197231 | 10 | t5_2fwo | r/programming | public | null |
False | wookiee42 | t2_3mn1n | I read the title as a joke and thought I was in r/programmerhumor. I was very confused. | null | 0 | 1544720257 | False | 0 | ebphdz1 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebphdz1/ | 1547559276 | 1 | t5_2fwo | r/programming | public | null |
False | ricky_clarkson | t2_tcz2 | And learning something new can also be productive. | null | 0 | 1546032959 | False | 0 | ecrcho1 | t3_aaagix | null | null | t1_ecqrjbc | /r/programming/comments/aaagix/why_review_code/ecrcho1/ | 1548197245 | 1 | t5_2fwo | r/programming | public | null |
False | Rhylyk | t2_ivlih | Sure you can do that. But what about lisp? Julia? Ruby? Any of the other languages that don't have an ipython equivalent mode? Plus ipython mode isn't quite the same feeling. | null | 0 | 1544720455 | False | 0 | ebphntj | t3_a5mk9z | null | null | t1_ebp9tyv | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebphntj/ | 1547559398 | 1 | t5_2fwo | r/programming | public | null |
False | MLaidman | t2_6amiq | You're right. I'm on your side now. **F**riendly **I**nteractive **Sh**ell **Shell**.
Wikipedia still calls it the [friendly interactive shell](https://en.m.wikipedia.org/wiki/Friendly_interactive_shell) but I don't see anywhere on the [website](https://fishshell.com/) calling it anything besides "fish" or "fish shell". | null | 0 | 1546032988 | False | 0 | ecrcj0x | t3_aabai1 | null | null | t1_ecr9nzf | /r/programming/comments/aabai1/fish_shell_30/ecrcj0x/ | 1548197261 | 7 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544720707 | False | 0 | ebpi07c | t3_a5sg9k | null | null | t1_ebp44ix | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpi07c/ | 1547559550 | 11 | t5_2fwo | r/programming | public | null |
False | jewnicorn27 | t2_elvfc | That's just media portrayal. No real scientist or engineer call it that, unless maybe they need funding. | null | 0 | 1546033028 | False | 0 | ecrckxi | t3_aa91bp | null | null | t1_ecq8faj | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecrckxi/ | 1548197285 | 1 | t5_2fwo | r/programming | public | null |
False | NeverComments | t2_4r1xy | That has more to do with the design of the Android SDK than any limitation of Kotlin. Kotlin certainly has better support for functional programming styles than Dart.
For example you cannot replicate the functionality of Kotlin's `apply`, `with`, or `let` in Dart since it does not support receiver types in function declarations. You couldn't build a type-safe DSL in Dart for the same reason. Dart also does not support extension functions. | null | 0 | 1544720726 | 1544721007 | 0 | ebpi19h | t3_a5ikq1 | null | null | t1_ebowc60 | /r/programming/comments/a5ikq1/fuchsia_sdk_is_now_included_into_android_open/ebpi19h/ | 1547559564 | 1 | t5_2fwo | r/programming | public | null |
False | LexuCuFLexu | t2_283xgypd | sub to r/LeXCon maybe i'll leak some hints | null | 0 | 1546033090 | False | 0 | ecrcnu6 | t3_aadm6c | null | null | t3_aadm6c | /r/programming/comments/aadm6c/lexcon_contest_part_2_httpmegitinfohackme_can_you/ecrcnu6/ | 1548197321 | 1 | t5_2fwo | r/programming | public | null |
False | RabidKotlinFanatic | t2_1qd0ifm5 | Where your example is concerned we do need to define what is well named in order to have an objective measure. Otherwise you are just drawing on the social knowledge of what it and isn't well named. So let's say that we have a quantifiable definition of well named variables that largely reflects social consensus. Yes, unary underscore naming is less comprehensible. But everyone would be in agreement on this so the "objective measure" is useless. It can not be used to resolve disputes or gain insight into issues of code complexity. | null | 0 | 1544720885 | False | 0 | ebpi95c | t3_a5cm5c | null | null | t1_ebp9oie | /r/programming/comments/a5cm5c/people_who_disagree_with_you_arent_trying_to_make/ebpi95c/ | 1547559689 | 1 | t5_2fwo | r/programming | public | null |
False | LAUAR | t2_h29yr | Dianna is Physics Girl. | null | 0 | 1546033114 | False | 0 | ecrcozi | t3_a9wkc6 | null | null | t1_ecpiqv1 | /r/programming/comments/a9wkc6/documentary_about_terry_davis_and_templeos/ecrcozi/ | 1548197335 | 1 | t5_2fwo | r/programming | public | null |
False | carleeto | t2_367gg | Plot twist: He tries to scrape the menu and finds the website requires flash. | null | 0 | 1544721007 | False | 0 | ebpif8p | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpif8p/ | 1547559765 | 3 | t5_2fwo | r/programming | public | null |
False | Drisku11 | t2_bg6v5 | Again, I'm failing to see your point. This function is fine by me.
Doing:
void HandleFoo(Foo foo)
{
if (foo.Name == "Baz") {
RunBazCode();
} else {
}
RunBarCode();
}
as you would presumably suggest tells me nothing that the original does not. It doesn't tell you whether the author accidentally put `RunBarCode` outside of the brackets when it they meant for it to be inside, and more importantly, it doesn't tell you whether it *should be* outside the brackets. It only adds noise.
The choice not to have an `else` on an `if` *is* an explicit choice. | null | 0 | 1546033142 | False | 0 | ecrcqcu | t3_aa3qdm | null | null | t1_ecrbydj | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrcqcu/ | 1548197352 | 1 | t5_2fwo | r/programming | public | null |
False | carleeto | t2_367gg | Any takers for the Lisp programmer? ;-) | null | 0 | 1544721135 | False | 0 | ebpilcd | t3_a5sg9k | null | null | t1_ebp3da1 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpilcd/ | 1547559840 | 2 | t5_2fwo | r/programming | public | null |
False | sarneaud | t2_9bds8dk | This post describes exactly how I felt about C++. (Including the short love affair with template metaprogramming and Boost.)
I switched to using other languages. Mostly D nowadays. | null | 0 | 1546033182 | False | 0 | ecrcsch | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecrcsch/ | 1548197407 | 31 | t5_2fwo | r/programming | public | null |
False | nikofeyn | t2_6gxn7 | and it turns off everyone who avoid, even irrationally, microsoft and visual studio at all costs. | null | 1 | 1544721165 | False | 0 | ebpimtk | t3_a5mk9z | null | null | t1_ebor83r | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebpimtk/ | 1547559859 | 0 | t5_2fwo | r/programming | public | null |
False | iuqwej | t2_wi614 | It's no deal at all. This is called "bikesheding". Clueless people nitpick love to nitpick a tiny, irrelevant aspect that they *think* they understand, so they don't feel as clueless as they are. Combined with the fact that the less people know, the more they overestimate oneself leads interesting topics degrade to pointless discussions like "Where should array indexes start?" "should the sleep function expect time to be in micro or nano seconds?" "Should we indent 2 or 4 spaces?" "Shouldn't it be tabs?" | null | 1 | 1546033194 | False | 0 | ecrcszd | t3_aabai1 | null | null | t1_ecqtsjr | /r/programming/comments/aabai1/fish_shell_30/ecrcszd/ | 1548197415 | -9 | t5_2fwo | r/programming | public | null |
False | SilasX | t2_4o64v | *Just* in bash? That's an "I'm a cowboy coder trying to be too clever" method in any context. | null | 0 | 1544721258 | False | 0 | ebpirp2 | t3_a5sg9k | null | null | t1_eboxlib | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebpirp2/ | 1547559922 | 1 | t5_2fwo | r/programming | public | null |
False | BeansMostly | t2_yl14pvj | Between classes and big personal projects, I guess I'd take the classes. But I'd take a lot of little one-off, single featured projects over either (personally). Big projects are awesome and if you have the time and will power to produce them then go for it. But if you're a human like me with limited time and attention span then I'd go for many small projects exercising architectures you find interesting. That gives you broad exposure to multiple use cases for computer vision and avoids the terrible heartache of knowing you've got 4 projects in the background that you just can't find the time to complete. It also gives you a great excuse to build up a large body of work on github, which is better than any bullet point on a resume. | null | 0 | 1546033226 | False | 0 | ecrcuhy | t3_aa91bp | null | null | t1_ecrbbyk | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecrcuhy/ | 1548197433 | 2 | t5_2fwo | r/programming | public | null |
False | Mulrian | t2_ivg44 | Yeah, and that alongside `var` (which was much more trivial) are literally the only new languages feature we've gotten since Java 8 and lambdas - way back in March 2014. Am I the only one who is disappointed at the rate of change in Java even with the faster cycles? | null | 0 | 1544721362 | False | 0 | ebpiwum | t3_a5969k | null | null | t1_ebph80v | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebpiwum/ | 1547559985 | 1 | t5_2fwo | r/programming | public | null |
False | sobels | t2_bdhcu | Not sure if I'm falling prey to Poe's law, but I obviously read the submission. To rephrase the *painfully obvious* substantial point I had made many comments ago:
1. From all the comments in pv_controller.go, it's obvious that they thought this code is especially prone to error.
2. To mitigate this, they adopted a certain coding style.
3. Instead, they should have written more tests.
I didn't expect that I would need to write as in Simple Wikipedia to be understood. | null | 0 | 1546033253 | False | 0 | ecrcvtc | t3_aa3qdm | null | null | t1_ecrcdfz | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrcvtc/ | 1548197450 | 8 | t5_2fwo | r/programming | public | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.