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 | thegreatgazoo | t2_32fvm | Unless it is certain manufacturers printers.
A lot of them offer printing from the web, so presumably changing the default password will help? | null | 0 | 1543654879 | False | 0 | eauehvy | t3_a1ysx2 | null | null | t1_eaud49r | /r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauehvy/ | 1546271545 | 157 | t5_2fwo | r/programming | public | null |
False | Sn0wCrack7 | t2_6a50ypi | Great article there, I learned a lot myself from Bisqwit in terms of emulation development and even managed to make a couple emulators myself because of it, a surprisingly fun task to actually do, especially one you see the results!
​
One nitpick though, this is an Emulator you're written rather than a VM. | null | 0 | 1544784630 | False | 0 | ebre19j | t3_a61to1 | null | null | t3_a61to1 | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebre19j/ | 1547591344 | 30 | t5_2fwo | r/programming | public | null |
False | IdealImperialism | t2_24jtbsb1 | What do you use instead? I've been looking at their Jenkins X CI system. | null | 0 | 1543654946 | False | 0 | eauejbq | t3_a2144y | null | null | t1_eaue59q | /r/programming/comments/a2144y/5_initiatives_to_modernize_jenkins_and_kill_the/eauejbq/ | 1546271575 | 4 | t5_2fwo | r/programming | public | null |
False | AngularBeginner | t2_eky8x | What a salty and jelly comment... | null | 0 | 1544784920 | False | 0 | ebre7ec | t3_a634wb | null | null | t1_ebrd3ht | /r/programming/comments/a634wb/the_state_of_the_octoverse_new_open_source/ebre7ec/ | 1547591449 | 7 | t5_2fwo | r/programming | public | null |
False | DanySpin97 | t2_134nrq | Fixed, thanks for the tip! | null | 0 | 1543655158 | False | 0 | eauenlw | t3_a219ba | null | null | t1_eaudfo3 | /r/programming/comments/a219ba/makefiles_best_practices/eauenlw/ | 1546271632 | 4 | t5_2fwo | r/programming | public | null |
False | chrisgseaton | t2_fnesn | Your computer today is massively more powerful than a 6502, so it isn't a problem at all to emulate every transistor - there are only 3,510 of them in a 6502. | null | 0 | 1544784934 | False | 0 | ebre7pb | t3_a61to1 | null | null | t1_ebrcsn9 | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebre7pb/ | 1547591453 | 68 | t5_2fwo | r/programming | public | null |
False | Dimensionorb1 | t2_12m35dal | Triggered | null | 0 | 1543655195 | False | 0 | eaueodw | t3_a1we32 | null | null | t3_a1we32 | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eaueodw/ | 1546271641 | 2 | t5_2fwo | r/programming | public | null |
False | mck1117 | t2_ck43v | That's exactly my point: my computer is so many orders of magnitude larger and faster than the humble 6502 that it can emulate it with relative ease, with all those layers of abstraction in place. | null | 0 | 1544785005 | False | 0 | ebre95g | t3_a61to1 | null | null | t1_ebre7pb | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebre95g/ | 1547591470 | 50 | t5_2fwo | r/programming | public | null |
False | flym4n | t2_a418y | That's not how pipelining works. With a N stage pipeline you get one instruction per cycle on average. There are N instructions
executing in parallel, but each of those last N cycles.
An IPC above 1 is only possible with superscalar processors | null | 0 | 1543655267 | False | 0 | eauepyk | t3_a1sbwp | null | null | t1_eatpw7d | /r/programming/comments/a1sbwp/not_all_cpu_operations_are_created_equal/eauepyk/ | 1546271661 | 2 | t5_2fwo | r/programming | public | null |
False | dazzawazza | t2_14d8p | Writing a virtual CPU and a compiler that takes C and targets your virtual PC is a great summer project. I did it on my Amiga too many years ago now. Every programmer should do it at least once. | null | 0 | 1544785066 | False | 0 | ebreae9 | t3_a61to1 | null | null | t3_a61to1 | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebreae9/ | 1547591486 | 60 | t5_2fwo | r/programming | public | null |
False | touristtam | t2_ggn3q | Unit test and integration test are not necessary mutually exclusive. | null | 0 | 1543655383 | False | 0 | eauescp | t3_a0w66h | null | null | t1_eal0x3m | /r/programming/comments/a0w66h/we_dont_have_time_to_write_tests/eauescp/ | 1546271691 | 1 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | Well see what he offers for the rest of the series before we make that conclusion. | null | 0 | 1544785461 | False | 0 | ebreifm | t3_a5ylm8 | null | null | t1_ebrcnxb | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebreifm/ | 1547591585 | 4 | t5_2fwo | r/programming | public | null |
False | dpash | t2_5bdkm | Who said anything about unit tests or integration tests? We're talking automated vs manual testing. | null | 0 | 1543655498 | False | 0 | eaueunc | t3_a0w66h | null | null | t1_eauescp | /r/programming/comments/a0w66h/we_dont_have_time_to_write_tests/eaueunc/ | 1546271720 | 1 | t5_2fwo | r/programming | public | null |
False | walen | t2_33hf5 | > I did not watch the video - I feel videos take too much time compared to written text.
+1. I really wish people always posted the slides along with the video :( | null | 0 | 1544785613 | False | 0 | ebrelcm | t3_a60dlr | null | null | t1_ebrd4qn | /r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrelcm/ | 1547591621 | 27 | t5_2fwo | r/programming | public | null |
False | CarlSagan79 | t2_69xwf | Any sufficiently talented engineer has had this happen multiple times. The lesson is to stop selling yourself short. | null | 0 | 1543655834 | False | 0 | eauf1mz | t3_a1tazn | null | null | t1_eatrnag | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eauf1mz/ | 1546271806 | 4 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | While I'm not saying you are wrong, we do have to be careful so that we aren't so strict that changes can't be made without an IDE.
I'm not just thinking about knuckle draggers who force their employees to use notepad (yes, that's a real thing) but also runtime code generators. | null | 0 | 1544785644 | False | 0 | ebrelyv | t3_a5ylm8 | null | null | t1_ebr8lvt | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebrelyv/ | 1547591628 | 1 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | I was the one saying that they don't exist. | null | 0 | 1543655867 | False | 0 | eauf2bt | t3_a1o5iz | null | null | t1_eatxxx6 | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauf2bt/ | 1546271814 | 1 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | While I agree in spirit, people make mistakes when they're tired. And merge tools really screw things up on occasion. | null | 0 | 1544785706 | False | 0 | ebren7t | t3_a5ylm8 | null | null | t1_ebrbn7y | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebren7t/ | 1547591644 | 6 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | >Look, I'm going to answer you politely, but I'll stop if you continue with these disrespectful comments.
Look, you should learn about the topics before posting things. You're pretty much shitposting r/programming.
> Prior to Rust, garbage collectors were the defacto standard for managing memory in a safer way.
Nope: 1. GCs were only used for high-level domains 2. smart pointers and move-semantics existed before Rust. 3. linear types existed before Rust.
> They incur a runtime cost though, and can still leak around OS resources.
It's not just the runtime cost - it's also the issue that you can't control the memory and you need to live with the latency created by the collection phases.
> It's been a while now though since their overhead hasn't been problematic due to more powerful hardware and increase in memory, for most use cases.
Half true, GCs just got more sophisticated but they're still lagging behind.
> The use case is key in the comment that you quoted from me. Everyone who could afford to pay the runtime overhead of a GC did. One group that still struggle to this day with the overhead are system level programmers, because a lot of their use case still target weaker hardware with limited memory.
And game developers(they're not targeting "weaker" hardware), and embedded developers, and those who need low latency etc.
> But the way the tagline is written, I feel like it insinuates that prior to Rust, the reason people only picked two of those was because they weren't smart enough.
No, they said that because it's obvious that it was impossible before. Even Rust has problems with performance(it's also 'too far' from the hardware, which's a problem for some developers) but it's the first language using linear typesystems at this level *and* also concentrating on safety and performance. Now, the "productivity" of Rust is highly questionable. | null | 0 | 1543656560 | 1543681488 | 0 | eaufg0r | t3_a1jjyg | null | null | t1_eatvofe | /r/programming/comments/a1jjyg/a_new_look_for_rustlangorg/eaufg0r/ | 1546271983 | 0 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | Core reviews were not the cause of your company's dysfunction. Nor is the fact that it couldn't solve the problem surprising. If people can't behave like professionals, or at least adults, then it really doesn't matter what process you use. | null | 0 | 1544785754 | False | 0 | ebreo75 | t3_a5ylm8 | null | null | t1_ebr9hii | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebreo75/ | 1547591656 | 3 | t5_2fwo | r/programming | public | null |
False | linux_needs_a_home | t2_2okhau9c | https://christine.website/resume is another joke. | null | 0 | 1543656612 | False | 0 | eaufh23 | t3_a1we32 | null | null | t3_a1we32 | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eaufh23/ | 1546272010 | -12 | t5_2fwo | r/programming | public | null |
False | Fyorl | t2_50748 | Is that not exactly the same as what I wrote in my Kotlin example? Except without the outer `try` block? Just having unchecked exceptions doesn't make them go away, you have to catch them somewhere, and often the best place is at the source of the exception. Which is why I don't understand why Kotlin has made it so clunky and unergonomic to do such a fundamental thing. | null | 0 | 1544785998 | False | 0 | ebretb4 | t3_a5969k | null | null | t1_ebpelgg | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebretb4/ | 1547591719 | 1 | t5_2fwo | r/programming | public | null |
False | zesterer | t2_g3g1z | That's not really an abstraction. A compiler is just a source to source translator. Ignoring the hardware, C++ is still a Turing-complete model of computation all on its own.
If I were to call `printf` though... That's an abstraction. It's reaching out of the arena of C++ and is performing a complex implementation-defined operation. | null | 0 | 1543657119 | False | 0 | eaufqe5 | t3_a1rp4s | null | null | t1_eau93yp | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaufqe5/ | 1546272125 | -1 | t5_2fwo | r/programming | public | null |
False | birdbrainswagtrain | t2_car4b | That's another one for the "medium 'article' as an ad for some product" bin. | null | 0 | 1544786301 | False | 0 | ebrezmo | t3_a6308n | null | null | t3_a6308n | /r/programming/comments/a6308n/software_development_should_be_more_like_eating/ebrezmo/ | 1547591797 | 12 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | > The only benefit currently of dynamic types is their convenience honestly. They just get out of your way. Static type systems still limit the realm of valid programs, or sacrifice safety. And they kind of get in your way a bit.
If static typing gets in your way then you probably use them wrong. They were supposed to help you. Btw, it's not static typing which limits "the realm of valid programs" - but the way you defined the types. You need to get used to them first by learning how to design them bottom-up.
> But, I've personally found that, type errors are rare and caught early, quickly fixed, and generally have low impact.
They can be found early with a typechecker. With dynamic typing you need to test the living shit out of your code - which introduces a lot more code which's much harder to maintain. Major tech companies switch to statically typed languages too because they experience productivity issues when working with dynamic typing and large-scale software.
> That's why dependant types are an area of research now, because the more harmful bugs are functional in nature, or they're memory related, or security related. Practical type systems don't yet cover those though.
Of course they do - look, we were talking about Rust in another thread. C++ can also help a bit. Nim can detect thread/resource issues at compile-time.
> I'm aware of a few alternatives. Runtime contracts are one, popular in Clojure obviously and what Rich talks about in this talk.
spec? It's harder to write than unit tests...
> Interactivity is another. This one is harder to grasp, but the ability to see the effect of your programs almost in realtime, and change propagate quickly helps a lot with functional correctness. So things like live programming, repl driven workflows, automated test runners on code change, etc.
That isn't going to work with complex deployments and multi-threaded programs. A REPL can help but why would I bother?
> There's also runtime monitors/managers, not sure how to call it. But basically runtimes like garbage collectors, process supervisors, etc. The idea is that you have running programs monitor running programs for issues, and possibly have them perform recovery tasks for you. This would also include container software, auto scaling systems, serverless, etc. Even simple metric management like New Relic.
TL;DR: you complicate your software deployment, give up performance and also need to introduce much more dev tools to be able to use dynamic typing.
> There's also safer code constructs. Things like immutability, iterators, safe pointers, pure functions, if/else, pattern matching, etc. Imagine still having to use goto for any kind of loop or control flow? That's an easy way to add accidental defects into your code.
Those things won't improve your code quality - they'll only improve your comfort.
> Might be others, honestly, software is complex, in my experience defects are reduced when you take a multi-lateral approach and combine many of these techniques together.
And yet, you want to ignore the most basic and most useful technique - which is so important that certain domains wouldn't be able to work without it. | null | 0 | 1543657263 | False | 0 | eauft6x | t3_a1o5iz | null | null | t1_eats0ca | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauft6x/ | 1546272160 | 0 | t5_2fwo | r/programming | public | null |
False | ahsansaeed067 | t2_v8rwoio | Yes, you're right, I'm trying to replace my code editor plugin. | null | 0 | 1544786428 | False | 0 | ebrf2dr | t3_a5umpk | null | null | t1_ebr879x | /r/programming/comments/a5umpk/10_new_features_in_java_11/ebrf2dr/ | 1547591830 | 0 | t5_2fwo | r/programming | public | null |
False | willrandship | t2_6q9v3 | Barrel shifters (able to shift by any number of bits) have higher critical path than full adders at that scale.
The shortest-path method I know of to implement a barrel shifter is in log2(nbits)+1 (or log2(log2(maxvalue))+1) controllable shifts. So for example, 32-bit would be 5 levels, 64 would be 6. You have one controllable layer for each bit of your shift value, and if that bit is set, it shifts by a fixed amount. If it's not set, it does not shift. In either case, the value proceeds to the next stage. [Diagram](https://www.researchgate.net/profile/Moustafa_Khatib3/publication/269818702/figure/fig20/AS:295089327886355@1447366186535/Shifter-architectures-a-Logarithmic-shifter-b-Barrel-shifter.png)
A ripple-carry adder is obviously worse than this, but real adders use carry propagation, also referred to as carry-skip or carry-look-ahead, to precalculate carry values for specific regions and reduce the worst-case timing. The most stepwise-efficient (not gate-efficient) version of this that I know of (the kogg-stone) is actually identical in structure to a hillis prefix sum.
One example is a Kogge-Stone adder, which can implement the process in log2(bits) steps. This would also be a 5-level path. [Here's an example 8-bit kogg-stone adder](https://upload.wikimedia.org/wikipedia/commons/7/77/Kogge-stone-8-bit.png). Note that this is implemented using half-adders, which have a gate delay of 1, not 2 like full-adders.
This would make it seem that shifting is always as fast as adding, since they have the same number of logical levels, but each layer of the barrel shifter is implemented as a set of 2-choice multiplexers in parallel, which each have a longer critical path than a half adder. This means that while both have 5 levels, each level is of a different weight. 5 \* mux delay != 5 \* half-adder delay
The end result of this is that shifting up by 1 may be faster in an add, while shifting up by any other amount will be faster as a shift. Assuming, of course, that the CPU can handle variable-time instructions to that level of precision. | null | 0 | 1543657484 | False | 0 | eaufxgm | t3_a1rp4s | null | null | t1_eattnhl | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaufxgm/ | 1546272212 | 11 | t5_2fwo | r/programming | public | null |
False | dzecniv | t2_j6dwn | kind of: http://www.nagare.org/ exple: http://www.kansha.org/
| null | 0 | 1544786510 | False | 0 | ebrf41j | t3_a5umm4 | null | null | t1_ebqbpbh | /r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebrf41j/ | 1547591852 | 1 | t5_2fwo | r/programming | public | null |
False | CentiDiscord | t2_1xcy2zm4 | It's also particularly weird that they felt the need to go out of their way to mess with OS configuration that have nothing to do with Node.js like Windows Update which is pretty much the last thing anyone should do (and if you do, it should be clearly warned and be a vetted process.) Node.js is basically a script kiddie galore with that culture and mindset. | null | 0 | 1543657491 | 1543657715 | 0 | eaufxlu | t3_a1u6ge | null | null | t1_eat6tc4 | /r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eaufxlu/ | 1546272214 | 12 | t5_2fwo | r/programming | public | null |
False | wsppan | t2_321ka | Can you explain the difference between a emulator and VM? | null | 0 | 1544786624 | False | 0 | ebrf6fw | t3_a61to1 | null | null | t1_ebre19j | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebrf6fw/ | 1547591882 | 19 | t5_2fwo | r/programming | public | null |
False | AngularBeginner | t2_eky8x | > Please keep submissions on topic and of high quality. | null | 0 | 1543657569 | False | 0 | eaufz28 | t3_a21siu | null | null | t3_a21siu | /r/programming/comments/a21siu/how_long_youve_been_programming/eaufz28/ | 1546272232 | 9 | t5_2fwo | r/programming | public | null |
False | hasen-judy | t2_2j2as8va | Even for a medium article, this was a new level of cringe. | null | 0 | 1544786767 | False | 0 | ebrf9hm | t3_a6308n | null | null | t3_a6308n | /r/programming/comments/a6308n/software_development_should_be_more_like_eating/ebrf9hm/ | 1547591919 | 6 | t5_2fwo | r/programming | public | null |
False | superINEK | t2_9c337 | Java bytecode doesn't use registers as seen by the lack of operands in the bytecode. It uses a stack to keep track of the variables. The stack can grow to sizes beyond any processors registerspace. No idea how the jvm translates that to machine code though. | null | 0 | 1543657698 | False | 0 | eaug1l5 | t3_a1rp4s | null | null | t1_easbrbu | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaug1l5/ | 1546272263 | 1 | t5_2fwo | r/programming | public | null |
False | Cool-Goose | t2_9v02e | Or use bootstrap and don't worry about the js and it's also 'pure' :) | null | 0 | 1544786830 | False | 0 | ebrfaw6 | t3_a5zjwu | null | null | t1_ebrb1dy | /r/programming/comments/a5zjwu/bootstrap_340_released/ebrfaw6/ | 1547591937 | 16 | t5_2fwo | r/programming | public | null |
False | TestZero | t2_4ok2p | Because we know how desperately he needs more subscribers. | null | 0 | 1543657845 | False | 0 | eaug4k8 | t3_a1ysx2 | null | null | t3_a1ysx2 | /r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaug4k8/ | 1546272299 | -32 | t5_2fwo | r/programming | public | null |
False | ipv6-dns | t2_1t534du4 | In general you are right, sure. But I think, there are processes which are more predictable, more "dictate", they prevent such situations more early, I don;t know how to call it more accurate. It's like laws: people are not such cultural but they obey to laws, the same here - the review process leads to late solving of some problems. I remember my first jobs at 90s and we had not such problems never, but we had more planning, architectures who described us what and how we should do, very strong interfaces, etc. but no any reviews. And I don't know why, but people were more aimed to results than to refactore and play with abstractions, it's difficult to explain, but I remember that we accepted someone's decisions/solutions/architecture much easier. We wanted to get something really worked. May be the cause is in modern education, I don't know. But in my last 3 companies the review process leaded only to problems, so I suppose that there is right review and wrong review, but my IMHO is if some practice is so difficult to be used in right way, better is to replace it with something another - more simple, more strong, more effective. | null | 0 | 1544787105 | False | 0 | ebrfgxp | t3_a5ylm8 | null | null | t1_ebreo75 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebrfgxp/ | 1547592040 | 3 | t5_2fwo | r/programming | public | null |
False | aseigo | t2_m8ral | 6 weeks ago, max? | null | 0 | 1543657865 | False | 0 | eaug4zs | t3_a1gbqw | null | null | t1_eateoxp | /r/programming/comments/a1gbqw/ebay_japan_source_leak_as_git_folder_deployed_to/eaug4zs/ | 1546272305 | 1 | t5_2fwo | r/programming | public | null |
False | KHRZ | t2_715a1 | Here's an idea. What if law makers do their best to understand basic terminology? | null | 0 | 1544787499 | False | 0 | ebrfpmj | t3_a63ff2 | null | null | t3_a63ff2 | /r/programming/comments/a63ff2/we_as_an_industry_should_do_our_best_to_ensure/ebrfpmj/ | 1547592148 | 31 | t5_2fwo | r/programming | public | null |
False | RubenGM | t2_50mrp | 👏👏 | null | 0 | 1543657915 | False | 0 | eaug5yf | t3_a1ysx2 | null | null | t3_a1ysx2 | /r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaug5yf/ | 1546272317 | 37 | t5_2fwo | r/programming | public | null |
False | combinatorylogic | t2_iab4d | Yes, Tcl is a good example - its string substitution semantics makes it nearly impossible to compile it into anything efficient.
Python is another example - a bit better than Tcl, but still, way too dynamic. You can extract a more static subset though (see RPython). | null | 0 | 1544787510 | False | 0 | ebrfpvy | t3_a60dlr | null | null | t1_ebrda3p | /r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrfpvy/ | 1547592151 | 9 | t5_2fwo | r/programming | public | null |
False | Frisky_raccoon | t2_c845sqo | Not first time... https://arstechnica.com/tech-policy/2018/06/inventor-says-google-is-patenting-work-he-put-in-the-public-domain/
Where are your values Google ? | null | 0 | 1543657948 | False | 0 | eaug6nc | t3_a1tazn | null | null | t3_a1tazn | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eaug6nc/ | 1546272325 | 2 | t5_2fwo | r/programming | public | null |
False | surgura | t2_ksn41 | Don't assume I run my javascript on an OS man. Ever heard of embedded NodeJS? | null | 0 | 1544787637 | False | 0 | ebrfsro | t3_a61to1 | null | null | t1_ebrcsn9 | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebrfsro/ | 1547592187 | -18 | t5_2fwo | r/programming | public | null |
False | Organic_Choice | t2_2l4q0qt4 | Programmers don't need category theory, at all. You should only learn category theory if you're a mathematician who's bored and wants to know what a small group of autistic mathematicians are circlejerking about. | null | 0 | 1543657961 | 1543659542 | 0 | eaug6vp | t3_a1yh8f | null | null | t3_a1yh8f | /r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eaug6vp/ | 1546272328 | -17 | t5_2fwo | r/programming | public | null |
False | combinatorylogic | t2_iab4d | > If you look at Javascript - as the most popular (as in "nr. of installations") example - you have both interpreted as well as compiled code at the same time.
Nope. You cannot *statically* compile Javascript. You can do some smart JIT optimisations, of course, which in some fringe cases may be efficient (as in, just an order of magnitude slower than the statically compiled languages).
> The JS runtime in a modern browser is not, as an example for where that black/white view fails quite miserably.
Nope. Still very clear distinction - you cannot compile Javascript without all the *runtime* information available. | null | 1 | 1544787660 | False | 0 | ebrft9a | t3_a60dlr | null | null | t1_ebrdnk5 | /r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrft9a/ | 1547592193 | 4 | t5_2fwo | r/programming | public | null |
False | zesterer | t2_g3g1z | Thanks for the detailed explanation! I admit I hadn't thought through such details at any great depth. | null | 0 | 1543657996 | False | 0 | eaug7li | t3_a1rp4s | null | null | t1_eaufxgm | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaug7li/ | 1546272338 | 5 | t5_2fwo | r/programming | public | null |
False | masterofmisc | t2_dqd35 | > **TypeScript – was it worth?**
Yes :) | null | 0 | 1544787773 | False | 0 | ebrfvtv | t3_a62mux | null | null | t3_a62mux | /r/programming/comments/a62mux/typescript_was_it_worth/ebrfvtv/ | 1547592225 | 9 | t5_2fwo | r/programming | public | null |
False | willrandship | t2_6q9v3 | After some looking, Java does specify behavior of integer overflows. C/C++ do not, specifically so they can make assumptions like this. | null | 0 | 1543658162 | False | 0 | eaugaxr | t3_a1rp4s | null | null | t1_eatttt7 | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaugaxr/ | 1546272379 | 4 | t5_2fwo | r/programming | public | null |
False | combinatorylogic | t2_iab4d | Just a reminder that this emulator does not run anywhere close to the real time performance (all 8MHz of it). Not even in the KHz range. | null | 0 | 1544787803 | False | 0 | ebrfwi7 | t3_a61to1 | null | null | t1_ebre95g | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebrfwi7/ | 1547592233 | 42 | t5_2fwo | r/programming | public | null |
False | reddit_Twit | t2_10e7ksfn | Java for loosers | null | 0 | 1543658225 | False | 0 | eaugc6u | t3_a1rp4s | null | null | t1_eatbnwq | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaugc6u/ | 1546272394 | -1 | t5_2fwo | r/programming | public | null |
False | Sn0wCrack7 | t2_6a50ypi | I'm not really in the know about every single nuance of it, but the main difference here is that a Virtual Machine is designed to run on the Platform you're running it on, you can't Virtualise an ARM Operating System on an x86 machine because all instructions are passed down to the CPU itself to be run in a true Virtual environment, where as an Emulator interprets compiled source code (that's usually bytecode or raw cpu instructions) and interprets / translates that (if you're looking at JIT or the like) into something your processor can actually understand.
There's also no real way for "direct pass through" of a lot of hardware, there needs to be a communication layer in code specifically between the two, any code in your emulator that is specifically say trying to call an NVIDIA API, needs to be interpreted in your emulator, then sent off to your Operating System and then back into the emulator, where as a Virtual Machine can have direct access to that card through VFIO or IOMMU
You could make a case that an Emulator is a Type-2 Hypervisor in a way, but this is mostly only true with actual hardware virtualisation is occurring.
It's a pretty thin line to walk when you're looking at it from the outside honestly, but under the hood some differences do become apparent, and even I don't know the true extent of all of it myself, which I why I said it's really only a nitpick. | null | 0 | 1544787807 | False | 0 | ebrfwl8 | t3_a61to1 | null | null | t1_ebrf6fw | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebrfwl8/ | 1547592234 | 14 | t5_2fwo | r/programming | public | null |
False | zesterer | t2_g3g1z | It's surprising how many good optimisations are blocked by rules like this that the programmer almost certainly doesn't care about breaking in the normal case. It's even more of a problem with floating point operations. There are flags like `-ffast-math` for C and C++ that permit the compiler to break these rules though (often accumulating extra imprecision as a result). | null | 0 | 1543658453 | False | 0 | eauggtr | t3_a1rp4s | null | null | t1_eaugaxr | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eauggtr/ | 1546272451 | 4 | t5_2fwo | r/programming | public | null |
False | morpheousmarty | t2_4de6z | He made no reference to location, so I think his point is more along the lines that trying to cut corners on software is a bad idea. So if he's saying anything about European developers, it's that you can't get the one good ones for cheap. | null | 0 | 1544787994 | False | 0 | ebrg0ua | t3_a4n8jv | null | null | t1_ebhjllu | /r/programming/comments/a4n8jv/why_software_developers_are_paid_5x_more_in_the/ebrg0ua/ | 1547592287 | 3 | t5_2fwo | r/programming | public | null |
False | squigs | t2_14w6r | Looked it up. You're right. SHL seems to takes 3 cycles on 386 and 2 cycles on a 486 (which given we're taking 2 or 1 cycle for an add, that's quite a lot). It's also a byte longer but nobody cares about that.
On a 286, shift left is 5+n cycles, which I guess means 8 cycles for shifting 3 places. | null | 0 | 1543658664 | False | 0 | eaugl61 | t3_a1rp4s | null | null | t1_eastrmv | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaugl61/ | 1546272505 | 5 | t5_2fwo | r/programming | public | null |
False | SamProf | t2_2fxvjzt4 | Blazor Fiddle now in stage Alpha 3. Main feature of this stage is Really FAST COMPILATION (now in Experimental mode). Later - more. =) [https://blazorfiddle.com/](https://blazorfiddle.com/) | null | 0 | 1544788033 | False | 0 | ebrg1qq | t3_a5kug2 | null | null | t3_a5kug2 | /r/programming/comments/a5kug2/blazorfiddle_blazor_net_developer_playground_code/ebrg1qq/ | 1547592298 | 3 | t5_2fwo | r/programming | public | null |
False | kitari1 | t2_5yg2z | The issue is what happens if someone bails on their degree for a job that doesn't work out? They're now left with no job and no degree and the next job search becomes even harder. It's smart to play it safe and finish up the degree. | null | 0 | 1543658693 | False | 0 | eauglrj | t3_a1tazn | null | null | t1_eat9vik | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eauglrj/ | 1546272512 | 1 | t5_2fwo | r/programming | public | null |
False | invisi1407 | t2_6nbco | Use code quality checkers, code standard checking, and static code analyzers. If a given language toolchain does not have either of these then re-think if the language is a good fit for whatever you're doing. | null | 0 | 1544788074 | False | 0 | ebrg2o1 | t3_a5ylm8 | null | null | t1_ebqxb7y | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebrg2o1/ | 1547592309 | 2 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | > I think you're trying to portray me like a zealot, but that's just a complete misrepresentation.
It isn't, because you're ignoring the benefits of static typing because you love clojure unconditionally and act like it's without defects.
> I use an array of languages, and I would use statically typed languages in certain situations. I'd also use dynamic ones. It's the pro static type evangelists that are the real zealots. I mean look at the OP's comment that started this whole thread:
You should also look at your comment above. You've zero rational arguments - it's 100% speculation and ignorance:
"I think if static types made a discernable difference, it'd be long discerned and those languages wouldn't be around anymore."
> How disingenuous and disrespectful is this comment? That's the sign of a true zealot to me.
But it's true. You dynamic typing zealots are unable to argue with rational arguments. Instead, you talk about how hard it is to work with correct data layout. How unprofessional is that?
> You mention Nim, Rust and Idris. Okay, which one do you want to discuss?
Any of them.
> Or are you just ignoring the comment I replied too arguing that static type evangelists always promote the union of the benefits of all typed languages?
No, but you sound very ignorant. I replied to OP's comment too - saying that you can choose any of these languages and they will still be able to provide much more than dynamic typing.
> You want to talk about Idris? Okay, I love Idris. I'm a huge fan of Idris, Liquid Haskell, and F*. Neither are in a state where I can realistically bring them to my team and depend on them commercially. They also bring a pretty big overhead in terms of productivity, but that could just be me still getting a better grip with them.
Is that all you can say? That's not much. It's actually nothing. You were supposed to talk about the benefits it can introduce - not that you can't use it. It sounds like you're actually just lying. Most of your comments are about your love towards clojure - I doubt that you can use any other language, let alone knowing how to use a statically typed language.
> What about Nim? I mean, Nim, really? Its type system is nowhere the same league as Idris and Rust, I'm confused why you bring it up?
Nim can do things at compile-time what Rust can't do: like detect data races at compile-time(without linear types by parallel scopes and a high-level thread/GC model), infer effects(you know what's an effect system, right?) and errors, unify types by structural abstractions and provide very high-level and zero-cost abstractions when working with resources(and manually allocated memory - easier to work with low-level domains where you need memory regions) - similar to C++'s solutions.
> It also has a garbage collector.
Garbage collector**s**. By default it uses a defered RC with a tracing GC to collect cyclic references(Rust can barely do that) per thread. It can use the mark-and-sweep GC too which can improve performance. You can tweak the GC however you want. You can also use semi-automatic memory management too with template scopes and manual memory management.
> So what about Nim?
It's a much more advanced statically typed language than the average. It's not targeting low-level domains like Rust but it's a much more productive language and it's also better against leaks.
> Alright, Rust is my second favourite language currently after Clojure. Static memory guarantees are a whole other ballgame. When I need critical performance, Rust is my go to. Obviously I wouldn't build a browser in Clojure.
Then why do you say bullshit like this:
"I think if static types made a discernable difference, it'd be long discerned and those languages wouldn't be around anymore." - ?
> How am I ignoring it?
"I think if static types made a discernable difference, it'd be long discerned and those languages wouldn't be around anymore."
> If you have system programming experience, well, I can't even think of a single system level language without static types.
C might be the closest in that it doesn't particularly have a very powerful one. But like why are we even arguing in this case. Go use Rust or stick with C.
Then why are you acting like static typing didn't make a "discernable difference"?
> Maybe TypeScript, I havn't used it, but I do know its type system is unsound.
That's not the biggest issue - it's the fact that it needs to work with a weakly-typed runtime.
> So why not Bucklescript and OCaml, or ClojureScript?
So since ts's typesystem is not perfect everyone should switch to cljscript - which can't guarantee anything? Makes sense!
> And if you were using Node, and care about safety and now security too, just don't. Use the JVM, or the CLR, or the Beam, or GHC, or Go.
Go. Really?
> If you had a bad experience with X, and X lacked types, don't think the lack of types was the entire root cause.
Except when you know that the problem with X is that it couldn't provide anything because of dynamic typing. As I said, you're ignoring the benefits of static typing.
> And to that, I'm arguing Clojure as a whole is a really productive and mostly safe language. Much more productive and safer than many statically typed languages.
That doesn't say much. | null | 0 | 1543658918 | False | 0 | eaugqhp | t3_a1o5iz | null | null | t1_eatqv1z | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eaugqhp/ | 1546272571 | -4 | t5_2fwo | r/programming | public | null |
False | notfancy | t2_1rgd | It's the same time span we've had nuclear power. I don't think anyone is arguing that nuclear is "immature."
*Edit:* grammar | null | 0 | 1544788234 | 1544809839 | 0 | ebrg6fy | t3_a5ylm8 | null | null | t1_ebr3qxh | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebrg6fy/ | 1547592356 | 3 | t5_2fwo | r/programming | public | null |
False | noperduper | t2_1ln41pwl | How can you do the groceries, wash your stuff, clean your apartment and cook with 2-3 hours and programming on top of that? :( | null | 0 | 1543659043 | False | 0 | eaugt3p | t3_a0s88m | null | null | t1_eamxr3a | /r/programming/comments/a0s88m/if_its_not_fun_anymore_you_get_nothing_from/eaugt3p/ | 1546272633 | 1 | t5_2fwo | r/programming | public | null |
False | LimEJET | t2_4zfyw | Absolutely, but the question remains why it's so large to begin with. Things like Pure have basically the same features but clock in at a drastically smaller size. | null | 0 | 1544788512 | False | 0 | ebrgcuf | t3_a5zjwu | null | null | t1_ebrc4xm | /r/programming/comments/a5zjwu/bootstrap_340_released/ebrgcuf/ | 1547592436 | 8 | t5_2fwo | r/programming | public | null |
False | orion78fr | t2_mz49q | I had this in Java just the other day on my 4790k. Sorting before processing costed around 400ms and made the loop run from 90s to 30s. | null | 0 | 1543659295 | False | 0 | eaugybl | t3_a1rp4s | null | null | t1_easozpq | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaugybl/ | 1546272698 | 2 | t5_2fwo | r/programming | public | null |
False | wsppan | t2_321ka | Thank you! | null | 0 | 1544788515 | False | 0 | ebrgcx3 | t3_a61to1 | null | null | t1_ebrfwl8 | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebrgcx3/ | 1547592437 | 2 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | > That's pushing it a little. I'm only saying that static types havn't shown a clear and undeniable benefit, and that's why we're all here arguing about it.
You're not honest. And it's very clear:
You also said that Rust is your 2nd favorite language and that you are aware of its benefits. You also mentioned that you tried Idris, F* etc. and you know what's up with them. There are too much paradoxes in your comments
> Type driven design is fun, and static guarantees are highly satisfying. But as much as I have feelings of interest and safety with regards to static type systems, I can not say they are justified, because *I have no data to justify them with*.
Forgetting Rust again? And all the programming domains which are strictly limited to statically typed languages?
> The small data I have seem to show Clojure as an outlier in the dynamic world, and that static type systems in general bring only minimal benefits in terms of defects, while having a small impact on productivity.
Where is that data?
> This leads me to the conclusion that you need to judge a language as a whole. Because many parts might each contribute more or less to productivity and safety, and it is when you sum them all that big benefits are gained or lost.
Yes: but the thing is that *dynamic typing will never be able to guarantee anything because it's dynamic typing* - try to argue against this. Yes, you can have good productivity but you can't talk about safety with them. You'll be forced to use external, non-standard and unsound tools to improve your safety - while also giving up productivity and performance.
You're either aware of the benefits and you're trying to ignore them to push your agenda, or you were just lying when you said that you know Rust and similar languages. As I said, you're not honest. | null | 0 | 1543659433 | False | 0 | eauh13c | t3_a1o5iz | null | null | t1_eatp2ag | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauh13c/ | 1546272732 | 0 | t5_2fwo | r/programming | public | null |
False | Radmonger | t2_ir2ci | Your available choices are:
1. do a job of work yourself
2. buy a raptor which you then train to do the job.
When the raptor starts eating people instead of doing the job, it is always possible to describe the failure as 'inadequate training'.
Whereas quite likely it is actually impractical to train a raptor in that way, so the project was doomed at the point the 'buy a raptor' decision was made.
​ | null | 0 | 1544788637 | False | 0 | ebrgfrz | t3_a5y50c | null | null | t1_ebra7yv | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebrgfrz/ | 1547592472 | 8 | t5_2fwo | r/programming | public | null |
False | bdtddt | t2_x8et0 | Category theory is not ‘needed’ by programmers, but it is extremely useful, illuminating and interesting. | null | 0 | 1543659485 | False | 0 | eauh24w | t3_a1yh8f | null | null | t1_eaug6vp | /r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eauh24w/ | 1546272744 | 14 | t5_2fwo | r/programming | public | null |
False | fuckin_ziggurats | t2_cmam5 | How is jQuery making things a hell of a lot easier today? There are many alternatives to most of its most commonly used features: querying the DOM, making AJAX requests, animation, etc. It's a blob of uncorrelated functionality where it pays off (performance-wise) to replace it with pure JavaScript, or smaller, more specialized libraries. | null | 0 | 1544788762 | False | 0 | ebrgit8 | t3_a5zjwu | null | null | t1_ebr9tb9 | /r/programming/comments/a5zjwu/bootstrap_340_released/ebrgit8/ | 1547592509 | 10 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | I've tried python's typehints. They didn't live up to my lowered expectations. | null | 0 | 1543659526 | False | 0 | eauh2zb | t3_a1o5iz | null | null | t1_eat8w8o | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauh2zb/ | 1546272755 | 1 | t5_2fwo | r/programming | public | null |
False | fuckin_ziggurats | t2_cmam5 | I think he didn't understand that a major version release doesn't equal stopping maintenance on older, still widely used versions. | null | 0 | 1544788968 | False | 0 | ebrgo7f | t3_a5zjwu | null | null | t1_ebr9e6u | /r/programming/comments/a5zjwu/bootstrap_340_released/ebrgo7f/ | 1547592604 | 11 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | What you can observe in Hickey's talks is that he doesn't like static typing and instead of showing better solutions in dynamic typing he just tries to attack static typing with very weak arguments. He doesn't like testing and yet he recommends using external tools to achieve quality instead of using advanced typesystems. For pro-dynamic typing people the quality of his arguments don't seem to matter. | null | 0 | 1543659744 | False | 0 | eauh7cc | t3_a1o5iz | null | null | t1_eato44w | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauh7cc/ | 1546272810 | 8 | t5_2fwo | r/programming | public | null |
False | fuckin_ziggurats | t2_cmam5 | >most languages use an awful joke of what they call OOP
Like that damn Ruby! | null | 0 | 1544789137 | False | 0 | ebrgsnj | t3_a60dlr | null | null | t1_ebrd616 | /r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebrgsnj/ | 1547592659 | 9 | t5_2fwo | r/programming | public | null |
False | scook0 | t2_3bq55 | Or move the old algorithm into your test suite, and check that both give the same results. | null | 0 | 1543659803 | False | 0 | eauh8h6 | t3_a1rp4s | null | null | t1_easikql | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eauh8h6/ | 1546272823 | 3 | t5_2fwo | r/programming | public | null |
False | joakimds | t2_i36p4 | Good attempt to write a summary of differences and similarities!
\> Ada (please, correct me, if I'm wrong) compiler can detect infinite loops and to raise warning, Haskell - never.
Maybe an Ada compiler can detect infinite loops sometimes, but as an Ada developer I would say no in the general case. If one wants assurances of terminating loops one has to look to SPARK.
\> Good is to compare Ada GC with GC of other language
By GC I guess you mean Garbage Collector? Ada was designed to support GC but no compiler vendor ever did that as far as I know. The most flexible way one can achieve memory safety in Ada is memory pools/subpools (perhaps better known as Arena pools?). Another way to achieve memory safety in Ada is to go stack only by forbidding heap allocations. How to achieve memory safety in Ada is a lengthy topic.
​
I prefer to use the term PR (Public Relations) instead of propaganda since propaganda is for use in war-time and PR is used in peace-time. For elaboration on that topic I heartily recommend the documentary "Century of the Self" and one can find it on Youtube. | null | 0 | 1544789283 | False | 0 | ebrgwkh | t3_a5ylm8 | null | null | t1_ebrau76 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebrgwkh/ | 1547592707 | 9 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | I don't think it can be "fixed". There are too many addicted profiteers in the system. Why should patent attorneys want to have less revenue?
The patent system is totally broken from A to Z, not just in regads to software but look at the s*** of patents in the life sciences. CRISPR/Cas9 has been invented by bacteria yet humans have been given the exclusive right of control for CRISPR-related genetic engineering (e. g. in particular being able to do site-specific changes, which works easier with CRISPR than it does with most other techniques, if we exclude off-target reactions). This is a form of slavery since the patent holders can restrict what others do. I consider this significantly more problematic than the patent on PCR, which I consider a "better" patent than the one on CRISPR/Cas9 (but even that shouldn't be in the way it has been).
But no worries - the system won't be changed with the way how indirect "democracy" works.
Politicians are lobbyists too.
You'd actually need a real revolution for change. | null | 0 | 1543659898 | False | 0 | eauhaf8 | t3_a1ywmw | null | null | t3_a1ywmw | /r/programming/comments/a1ywmw/how_to_fix_the_patent_system/eauhaf8/ | 1546272848 | 5 | t5_2fwo | r/programming | public | null |
False | combinatorylogic | t2_iab4d | Come back when there is something like SPARK for that Rust toy of yours. | null | 0 | 1544789298 | False | 0 | ebrgwz6 | t3_a5ylm8 | null | null | t1_ebr73hg | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebrgwz6/ | 1547592713 | 10 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | The correct type documentation won't be enforced by typehints from the code comments.
In statically type languages I only need to write about the function's nature - the types will be generated(correctly) into the docs - which's a huge help while reading them. Even if I don't write down the types and use type inference - the type signature will still be correct in the docs - less work, more docs, better discoverability.
For example, when I open the docs most of them time it's enough for me to look at the function's name and type signature to use them properly - while in dynamic typing you need to try it in the REPL first or just try to guess the arguments' types - this is not convenient at all. The type signature is also a huge help when I use context-aware code completion. | null | 0 | 1543660099 | False | 0 | eauheic | t3_a1o5iz | null | null | t1_eatk7n0 | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauheic/ | 1546272898 | 1 | t5_2fwo | r/programming | public | null |
False | beefok | t2_4u13j | Just FYI: Typical 6502’s ran at 1MHz-2MHz (more likely half NTSC or PAL rate)
Z80 had to run harder to gleam the same processing power. | null | 0 | 1544789539 | False | 0 | ebrh3e3 | t3_a61to1 | null | null | t1_ebrfwi7 | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebrh3e3/ | 1547592792 | 27 | t5_2fwo | r/programming | public | null |
False | Katyona | t2_owmei | Is the programming equivalent of the [retro encabulator?](https://www.youtube.com/watch?v=RXJKdh1KZ0w)
| null | 0 | 1543660144 | False | 0 | eauhfbk | t3_a1we32 | null | null | t1_eatdor8 | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eauhfbk/ | 1546272908 | 7 | t5_2fwo | r/programming | public | null |
False | NotSoButFarOtherwise | t2_1ha8wt1w | **The question wasn’t asking how to parse HTML.** It was asking how to pattern-match HTML tags, which doesn’t require any contextual understanding of HTML format (apart from it being well-formed, which any SGML/XML parser will also assume), and is consequently an okay match for regular expressions.
That’s why that post is so emblematic of problems with SO: the answer wasn’t just saying “don’t do that,” but “don’t do something you aren’t trying to do in the first place”. Which isn’t just condescendingly arrogant, it’s also ignorant. | null | 0 | 1544789564 | False | 0 | ebrh42a | t3_a5sg9k | null | null | t1_ebq3kt5 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebrh42a/ | 1547592800 | 3 | t5_2fwo | r/programming | public | null |
False | lpreams | t2_geipf | Have you ever read a company mission statement? They're all full of arbitrary terms with no legal definitions. | null | 0 | 1543660244 | False | 0 | eauhh9k | t3_a1tazn | null | null | t1_eat4oo2 | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eauhh9k/ | 1546272931 | 4 | t5_2fwo | r/programming | public | null |
False | falconfetus8 | t2_5lnfr | I use C# as my preferred language, and I have passion. I'm also in it for money, because I have bills and like staying alive. | null | 0 | 1544789571 | False | 0 | ebrh49x | t3_a5i57x | null | null | t1_ebolv7a | /r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebrh49x/ | 1547592802 | 1 | t5_2fwo | r/programming | public | null |
False | idobai | t2_fu8kq | That's not a solution. | null | 0 | 1543660255 | False | 0 | eauhhgj | t3_a1o5iz | null | null | t1_eatlm0z | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauhhgj/ | 1546272934 | 1 | t5_2fwo | r/programming | public | null |
False | moshohayeb | t2_7tglr | I really hate the dogmatic case against the use of cat. For me it gives me a standard way to kickstart my pipeline, I don't have to worry how the second command receives its arguments, are they listed at the end? does it support more than a single file? What if I wan't to insert a new command before the second? I don't want to worry about moving the input list to this new command and worry about all these things again.
As long as I can be reasonably sure that the command accepts stdin, I can just fire cat with the list of input files and play with the pipeline until I get my desired output | null | 0 | 1544789591 | False | 0 | ebrh4te | t3_a5sg9k | null | null | t1_ebox6vg | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebrh4te/ | 1547592809 | 1 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | The games were successful back in the days.
I guess today they are not really attracting many folks, but back then it was not only the games - it sort of was new in many regards, especially the adventure-type ones like King's Quest, Space Quest, and Leisure Suit Larry (in particular the first one which seemed quite new in style to me back then; the later ones improved on the graphics gameplay but it was quite different from the first ones). | null | 0 | 1543660262 | False | 0 | eauhhlx | t3_a1y1rq | null | null | t1_eatnbgp | /r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eauhhlx/ | 1546272936 | 7 | t5_2fwo | r/programming | public | null |
False | AdequateSource | t2_lnryxsf | Yes - in an ideal world.
But we are not making it easy for them. Cloud means 'a computer some arbitrary place', Artificial Intelligence means 'algorithms that take their environment into consideration' and Machine Learning means 'applied statistics'.
Our whole terminology is geared towards marketing and investments, not explaining what it is and does. | null | 0 | 1544789782 | False | 0 | ebrha52 | t3_a63ff2 | null | null | t1_ebrfpmj | /r/programming/comments/a63ff2/we_as_an_industry_should_do_our_best_to_ensure/ebrha52/ | 1547592874 | 12 | t5_2fwo | r/programming | public | null |
False | lpreams | t2_geipf | They create their own standard. Fragmentation is part of their evil plot. | null | 0 | 1543660304 | False | 0 | eauhih2 | t3_a1tazn | null | null | t1_eaub8ai | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eauhih2/ | 1546272947 | 6 | t5_2fwo | r/programming | public | null |
False | combinatorylogic | t2_iab4d | Yep, sure, that's a typo. Still, transistor-level simulation does not even reach KHz ranges. | null | 0 | 1544789940 | False | 0 | ebrheoy | t3_a61to1 | null | null | t1_ebrh3e3 | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebrheoy/ | 1547592930 | 10 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | He is being downvoted because his statement is incorrect.
https://en.wikipedia.org/wiki/Leisure_Suit_Larry#Series
Leisure Suit Larry was a success back then, so the statement "as shit as his games" is simply incorrect. So of course he is being downvoted. | null | 0 | 1543660339 | False | 0 | eauhj5z | t3_a1y1rq | null | null | t1_eatt4w2 | /r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eauhj5z/ | 1546272955 | 4 | t5_2fwo | r/programming | public | null |
False | hastor | t2_4f4pr | Superficially, yes. The agile process is good at delaying decisions. But the idea in agile is that taking decisions early leads to bad decisions because ppl generally don't know what they should build.
That's not the case here. Or it's only superficially true.
In this story, we have two parties, one professional and one amateur, and the professional exploits that the amateur doesn't know how to specify how to build a house. The professional knows full well that the amateur will likely not be satisfied with the $50k house.
In this case I think what the amateur should look for is "has this professional been successful in dealing with amateurs previously". If the amateur analyzes the offers in this light, the $50k offers would likely fail as they can't provide documentation to this effect. | null | 0 | 1544789978 | False | 0 | ebrhfuk | t3_a5y50c | null | null | t1_ebrbouc | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebrhfuk/ | 1547592945 | 4 | t5_2fwo | r/programming | public | null |
False | Organic_Choice | t2_2l4q0qt4 | Category theory is an esoteric field of math that has had very little use in real life. Perhaps one day it may be useful, but today is not that day. A knowledge of category theory does little or nothing at all for your programming skills. | null | 1 | 1543660507 | False | 0 | eauhme7 | t3_a1yh8f | null | null | t1_eauh24w | /r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eauhme7/ | 1546272995 | 0 | t5_2fwo | r/programming | public | null |
False | xxxmuffinflavoredxxx | t2_14iglc | I’d be curious to see the performance of the C version compared to the C++ code, and maybe even an article on how to achieve greater performance possibly | null | 0 | 1544790004 | False | 0 | ebrhgmg | t3_a61to1 | null | null | t3_a61to1 | /r/programming/comments/a61to1/write_your_own_virtual_machine/ebrhgmg/ | 1547592954 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 1 | 1543660523 | False | 0 | eauhmnl | t3_a1ysx2 | null | null | t1_eauehvy | /r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauhmnl/ | 1546272998 | 3 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544790151 | 1544992426 | 0 | ebrhkvt | t3_a61jek | null | null | t1_ebr1pjj | /r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebrhkvt/ | 1547593007 | 1 | t5_2fwo | r/programming | public | null |
False | beatniak | t2_3g2do | Java Script? Java is NOT the same as JavaScript. | null | 0 | 1543660573 | False | 0 | eauhnl5 | t3_a210md | null | null | t3_a210md | /r/programming/comments/a210md/java_script_web_app_migrations_on_the_hasura/eauhnl5/ | 1546273009 | 1 | t5_2fwo | r/programming | public | null |
False | CurtLiom | t2_1uqdc36s | I coded my bot in Python. To get started I used this [website](https://www.devdungeon.com/content/make-discord-bot-python).
I also used the Discord.py documentation which can be found at [this site](https://discordpy.readthedocs.io/en/latest/api.html). | null | 0 | 1544790204 | False | 0 | ebrhmf4 | t3_a5dskw | null | null | t1_ebqzn10 | /r/programming/comments/a5dskw/i_dunno_how_many_of_you_are_memers_but_i_coded/ebrhmf4/ | 1547593026 | 1 | t5_2fwo | r/programming | public | null |
False | hasen-judy | t2_2j2as8va | The suggested solution is to give awards for inventions. This is a really bad idea. Imagine if restaurants are not paid by clients but are paid by a central committee made up of "food experts". | null | 0 | 1543660585 | False | 0 | eauhnta | t3_a1ywmw | null | null | t3_a1ywmw | /r/programming/comments/a1ywmw/how_to_fix_the_patent_system/eauhnta/ | 1546273012 | 1 | t5_2fwo | r/programming | public | null |
False | fb39ca4 | t2_6x3us | > Because the position was meant to bring in Node experience, I chose to implement the challenge in Node.
>According to the recruiter, the sample was "technically correct, but they didn't like the choice of language"
When I thought I had heard it all in stupid hiring practices. | null | 0 | 1544790211 | False | 0 | ebrhmmd | t3_a5i57x | null | null | t1_ebp7yha | /r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebrhmmd/ | 1547593028 | 1 | t5_2fwo | r/programming | public | null |
False | yourbank | t2_kq5i3 | id rather learn it then implementing some rest endpoint mutating fuck knows what | null | 0 | 1543660721 | False | 0 | eauhqf4 | t3_a1yh8f | null | null | t1_eaug6vp | /r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eauhqf4/ | 1546273045 | 8 | t5_2fwo | r/programming | public | null |
False | Stenwalden | t2_hkej2 | A true battleroyale of shitty hacks, TODOs and copy pasting from stackoverflow! | null | 0 | 1544790233 | False | 0 | ebrhnag | t3_a5mk9z | null | null | t1_ebovmsi | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebrhnag/ | 1547593037 | 3 | t5_2fwo | r/programming | public | null |
False | ants_a | t2_4955b | Writing in assembly [is not going to save you](https://eli.thegreenplace.net/2013/12/03/intel-i7-loop-performance-anomaly/). ([here's an explanation of what is probably going on](https://www.reddit.com/r/programming/comments/1s066i/intel_i7_loop_performance_anomaly/cdsuhh2/)) | null | 0 | 1543660931 | False | 0 | eauhu5t | t3_a1rp4s | null | null | t1_easxqwo | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eauhu5t/ | 1546273091 | 3 | t5_2fwo | r/programming | public | null |
False | KHRZ | t2_715a1 | Huh? You must have overlooked this:
`Student[] studentArray = studentList.toArray(new Student[0]);`
It's being simplified to:
`Student[] studentArray = studentList.toArray(Student[]::new);`
​
Now I can quickly type two of the same character `::` in succession, rather than `space` and `0`. Neat. | null | 0 | 1544790262 | False | 0 | ebrho58 | t3_a5umpk | null | null | t1_ebpjp8p | /r/programming/comments/a5umpk/10_new_features_in_java_11/ebrho58/ | 1547593047 | 2 | t5_2fwo | r/programming | public | null |