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 | Vigorous_Vertigo | t2_nnzvy | The name could be a problem for some with LibreOffice installed though:
`$ which uno`
`/usr/lib64/libreoffice/program/uno` | null | 0 | 1543632611 | False | 0 | eatwx90 | t3_a1s9y5 | null | null | t3_a1s9y5 | /r/programming/comments/a1s9y5/uno_a_uniq_like_cli_tool_for_log_data_a_tiny_tool/eatwx90/ | 1546263323 | 6 | t5_2fwo | r/programming | public | null |
False | hasen-judy | t2_2j2as8va | This, a million times.
The industry needs more people who understand this point.
The whole flexibility biznis was sold to companies by consultants who would profit from creating a complex (convoluted) system that only they can understand.
| null | 0 | 1544768043 | False | 0 | ebr3u77 | t3_a5y50c | null | null | t1_ebqt7s7 | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr3u77/ | 1547586604 | 13 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 1 | 1543632632 | 1543672115 | 0 | eatwy0p | t3_a1we32 | null | null | t1_eatgnyu | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eatwy0p/ | 1546263333 | 1 | t5_2fwo | r/programming | public | null |
False | Snowtype | t2_2rwuie3t | I have to deal with an "architect" 9-to-5 programmer on my team who insists on having wrapper layers between every piece of the application (including duplicate data structure wrappers), who's now blaming me for delaying the project after pushing onto me the whole work of connecting the poorly matching wrappers with the actual working code. I'm just going to delete the whole pile of junk instead. | null | 0 | 1544768055 | False | 0 | ebr3ukj | t3_a5y50c | null | null | t1_ebr0aw6 | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr3ukj/ | 1547586609 | 13 | t5_2fwo | r/programming | public | null |
False | Xgamer4 | t2_7by79 | The article contains this quote explaining why:
> Lowe's listings clarify a few things: first, he has not tested any of these disks, and second, owning these disks is not the same as owning the legal rights to freely or commercially distribute their contents. "Realize that, while you’ll have my data as of the day of Larry 1’s creation, you will not own the intellectual property rights to the game, the code, the art, or anything else," Lowe says in the LSL1 listing. "Nor do I. The IP rights were sold over and over again, until they are now owned by a German game company."
EDIT: The deleted parent comment asked, essentially, "why is he selling this when he could be open-sourcing it?". Why the parent deleted him comment... I don't know. This is neither the first nor last time someone on reddit would learn the answer to the question by reading the article. | null | 0 | 1543632781 | 1543641634 | 0 | eatx3kb | t3_a1y1rq | null | null | t1_eatrufd | /r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eatx3kb/ | 1546263401 | 16 | t5_2fwo | r/programming | public | null |
False | slvrsmth | t2_htpyc | Seems neat for the simple end of the requirements spectrum, which arguably covers most of the enterprise-y applications. Two main concerns for me are
* at what latency / internet spottiness does this break down at, and
* how screwed are you when requirements take you outside the comfort zone? Like adding dynamic charts, or listening to gyroscope events. | null | 0 | 1544768058 | False | 0 | ebr3un1 | t3_a5umm4 | null | null | t3_a5umm4 | /r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebr3un1/ | 1547586610 | 1 | t5_2fwo | r/programming | public | null |
False | nilukush | t2_agkst | Scary. We need to be careful when sharing our work. | null | 0 | 1543632930 | False | 0 | eatx908 | t3_a1tazn | null | null | t3_a1tazn | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatx908/ | 1546263468 | 0 | t5_2fwo | r/programming | public | null |
False | aa93 | t2_4vyut | How is it that this comment is dumb in the same way most of your comments are, but it doesn't use the same words? | null | 0 | 1544768160 | False | 0 | ebr3xkt | t3_a5umm4 | null | null | t1_ebq5pz5 | /r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebr3xkt/ | 1547586646 | 3 | t5_2fwo | r/programming | public | null |
False | remimorin | t2_kt9oq | So much fun exactly this, then answers plain wrong.
Is broccoli a small tree?
No, it's a part of a plant, it is flower bud but not a tree.
Maybe it's a kind of tree?
Actually it's a colony of small evil aliens whose goal is to ruin supper. Just joking it's tree poo in fact and so on... So much fun.
| null | 0 | 1543632947 | False | 0 | eatx9oi | t3_a1rp4s | null | null | t1_eatkyhc | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatx9oi/ | 1546263476 | 1 | t5_2fwo | r/programming | public | null |
False | PC__LOAD__LETTER | t2_pgt8t | I mean the implication here is that the operations, small they may be, would need to be repeated at such frequency to where performance was a realistic concern. That’s common in industry stuff where things scaled beyond expectation. | null | 0 | 1544768225 | False | 0 | ebr3zep | t3_a5sg9k | null | null | t1_ebppssu | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebr3zep/ | 1547586669 | 1 | t5_2fwo | r/programming | public | null |
False | kckaaos | t2_jugm0 | At the processor level, multiplication can be very inconsistent on execution times.
For instance 47\*2 is much faster to execute than 2\*47
​
47\*2 can be performed with a single operation (Arithmetic Shift Left). Literally shifting left multiplies by two.
2\*47, on the other hand, takes 11 ASLs and 4 additions. This is to say
2\*47=2\*(32+15)=
2\*32+2\*15=
2\*(2\*2\*2\*2\*2)+2\*15=
2\*(2\*2\*2\*2\*2)+2(8+7)=
2\*(2\*2\*2\*2\*2)+2\*8+2\*7=
2\*(2\*2\*2\*2\*2)+2\*(2\*2\*2)+2\*7=
2\*(2\*2\*2\*2\*2)+2\*(2\*2\*2)+2\*(4+3)=
2\*(2\*2\*2\*2\*2)+2\*(2\*2\*2)+2\*4+2\*3=
2\*(2\*2\*2\*2\*2)+2\*(2\*2\*2)+2\*(2\*2)+2\*3=
2\*(2\*2\*2\*2\*2)+2\*(2\*2\*2)+2\*(2\*2)+2\*(2+1)=
2\*(2\*2\*2\*2\*2)+2\*(2\*2\*2)+2\*(2\*2)+2\*2+2= | null | 0 | 1543633245 | False | 0 | eatxkbm | t3_a1rp4s | null | null | t3_a1rp4s | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatxkbm/ | 1546263637 | 9 | t5_2fwo | r/programming | public | null |
False | sim642 | t2_49npq | Should have used verified programming even. Doesn't compile until you prove it's correct. | null | 0 | 1544768666 | False | 0 | ebr4bh7 | t3_a5ylm8 | null | null | t3_a5ylm8 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr4bh7/ | 1547586817 | 2 | t5_2fwo | r/programming | public | null |
False | TrolliestTroll | t2_5pqrh | I’m guessing you quoted the wrong fragment, or perhaps I didn’t make my position clear, but I am in fact arguing in favor of type systems. In other words I think the trade off of constraining expression space to enable greater reasoning at the level of types is a worthwhile one in most (but perhaps not all) scenarios.
To your second point, I agree. Sometimes it feels as if the type system is hampering your ability to express an idea you “know” is right, often because it is... by design! To this I have two remarks.
First, remember that this isn’t a matter of power. Due to Turing equivalence, there is always an escape hatch to do what you want to do by merely subverting the type system in some way. The trade off is, by definition, that you lose safety for the parts of the code that you “hide” from the type checker.
Second, such hacks are usually not necessary because for almost every semantically valid but logically unsound program you may want to express, there is usually a logically sound analog. It may require reworking the problem space a bit (type Tetris as it’s sometimes referred), but it nevertheless allows you to recover the incredibly valuable property of soundness.
Finally, it’s important to keep in mind that the degree to which expression space is constrained lives on a continuum. Specifically it is proportional to the expressive power of the type system in question. Languages like C are static but are very inexpressive at the level of types. Conversely, languages like Haskell and it’s dependently types cousins Coq, Idris, etc are maximally expressive and therefore make it possible to type far more programs while maintaining soundness. Of course there are still provably error free programs that these systems make challenging to express, but practically speaking those live as limit edge cases of things you’re likely to need, and as mentioned there is often an analogous form that can be natively expressed. | null | 0 | 1543633288 | False | 0 | eatxltu | t3_a1o5iz | null | null | t1_eatgpez | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatxltu/ | 1546263655 | 3 | t5_2fwo | r/programming | public | null |
False | nil_von_9wo | t2_33yai | Any non-trivial solution eventually grows to become complicated.
Good architecture anticipates and prepares for complication and thereby helps to make it manageable.
It also doesn't actually add complication, though it may depend upon adding some boiler plate code and developers who are actually literate to read code instead of just write it.
| null | 0 | 1544768722 | False | 0 | ebr4cyj | t3_a5y50c | null | null | t1_ebqmn8j | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr4cyj/ | 1547586836 | 2 | t5_2fwo | r/programming | public | null |
False | TheHobo | t2_340mj | >Thomas Edison's entire business model.
[Family Guy did it](https://www.youtube.com/watch?v=gu5ffdGvBCw) | null | 0 | 1543633291 | False | 0 | eatxlx9 | t3_a1tazn | null | null | t1_eatpxq6 | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatxlx9/ | 1546263657 | 5 | t5_2fwo | r/programming | public | null |
False | seagal_impersonator | t2_8rtwr | Doesn't this imply that your typing speed is the bottleneck? I seriously doubt that it is.
I daresay that if typing speed is even close to being the bottleneck, you aren't thinking about your code nearly enough. | null | 0 | 1544768759 | False | 0 | ebr4dzm | t3_a5ylm8 | null | null | t1_ebqwhnh | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr4dzm/ | 1547586849 | 3 | t5_2fwo | r/programming | public | null |
False | jephthai | t2_591d | Where did I say they don't exist? I said each has its place and usefulness. | null | 0 | 1543633642 | False | 0 | eatxxx6 | t3_a1o5iz | null | null | t1_eathgt7 | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatxxx6/ | 1546263804 | 1 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | Get rid of semi colon line terminators and that makes a lot of sense. But with them the language lacks any enforcement. | null | 0 | 1544768779 | 1544773218 | 0 | ebr4eiw | t3_a5ylm8 | null | null | t1_ebr2r6j | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr4eiw/ | 1547586855 | 0 | t5_2fwo | r/programming | public | null |
False | gredr | t2_qb5vu | I think you have to lay a significant amount of the blame at the feet of the Chocolaty people (who made Boxstarter). I get it, from the JS people's perspective, it was a "package" and therefore was safe, well-tested, and well-supported (because why wouldn't a package be?), but this pile of dung was a team effort. | null | 0 | 1543633896 | False | 0 | eaty6nw | t3_a1u6ge | null | null | t1_eat6tc4 | /r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eaty6nw/ | 1546263913 | 18 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | It also doubles the line count, which is why I don't use it. Especially in languages where dead code detection prevents this specific error. | null | 0 | 1544768933 | False | 0 | ebr4iq5 | t3_a5ylm8 | null | null | t1_ebqotad | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr4iq5/ | 1547586907 | -6 | t5_2fwo | r/programming | public | null |
False | xxgreg | t2_33ypa | It's possible. But not officially supported. See:
https://github.com/google/flutter-desktop-embedding | null | 0 | 1543634002 | False | 0 | eatyadw | t3_9zpn0h | null | null | t1_eaf4qkr | /r/programming/comments/9zpn0h/flutter_the_good_the_bad_and_the_ugly/eatyadw/ | 1546263959 | 1 | t5_2fwo | r/programming | public | null |
False | stargazer83 | t2_5alkr | That was 5 years ago. I could not get how it fits any of my use cases. So I dropped it. Now, 5 years later, I figured out a use case that would be a great fit, learnt again how Docker works, and used it. And it serves me very well, much better than other solutions I previously used. If that's hype wagon for you or "I forced myself to use it", so be it! | null | 0 | 1544769100 | 1544795696 | 0 | ebr4n41 | t3_a5xzo8 | null | null | t1_ebqhcwa | /r/programming/comments/a5xzo8/dockerize_your_development_environment/ebr4n41/ | 1547586961 | 2 | t5_2fwo | r/programming | public | null |
False | didibus | t2_4xpocx2 | Okay, that's interesting, I havn't seen someone professionally not writing tests in a while. I'm genuinely curious to know how that is working out. You make it sound like its going pretty well. Can I ask what's the specific language you're using and how big the code base is? | null | 0 | 1543634037 | False | 0 | eatybnf | t3_a1o5iz | null | null | t1_eat534c | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatybnf/ | 1546263974 | 1 | t5_2fwo | r/programming | public | null |
False | shAdOwArt | t2_ccpc1 | What do you mean by ”I think actual flexible code is typically the result of factoring out common elements of working systems”? Could you give an example? | null | 0 | 1544769130 | False | 0 | ebr4nw3 | t3_a5y50c | null | null | t1_ebqt7s7 | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr4nw3/ | 1547586970 | 2 | t5_2fwo | r/programming | public | null |
False | perspectiveiskey | t2_3kibl | That's actually a great idea that I'll never do. But thanks for the chuckle! | null | 0 | 1543634040 | False | 0 | eatybr3 | t3_a1we32 | null | null | t1_eattu2r | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eatybr3/ | 1546263976 | 10 | t5_2fwo | r/programming | public | null |
False | nil_von_9wo | t2_33yai | While lasagna pattern is a thing, there is good argument to be made that *sometimes* some of the extra layers exist for consistency with code where they are actually needed.
By being consistent, the code becomes more predictable and therefore easier (even if somewhat more laborious) to maintain.
For example, I worked on a project where to fetch any data from the database, we needed to call the repo which would delegate to a dao and then send the data back wrapped in a DTO. So, any time the model needed to be revised, we needed to touch (or create!) at least 3 files, not including where the data would actually be consumed.
This was useless for about 80% of the code, but none of the developers needed to memorize which 20% actually needed this. | null | 0 | 1544769204 | False | 0 | ebr4pul | t3_a5y50c | null | null | t1_ebr0sau | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr4pul/ | 1547586994 | 6 | t5_2fwo | r/programming | public | null |
False | hasen-judy | t2_2j2as8va | Probably because of some words that someone else put on a website. | null | 0 | 1543634086 | False | 0 | eatydei | t3_a1we32 | null | null | t1_eatt3r1 | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eatydei/ | 1546263996 | 49 | t5_2fwo | r/programming | public | null |
False | bartonski | t2_493wz | Just as an exercise, how many orders of magnitude is there between the resources used by web browser that you're using to read this and the difference between `cat foo | grep bump` and `grep bump foo`? | null | 0 | 1544769424 | False | 0 | ebr4vn7 | t3_a5sg9k | null | null | t1_ebpl67z | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebr4vn7/ | 1547587067 | 5 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1543634228 | False | 0 | eatyif4 | t3_a1tazn | null | null | t1_eatjznl | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatyif4/ | 1546264058 | 1 | t5_2fwo | r/programming | public | null |
False | bedobi | t2_k155g | And then the next dev or autoformatter comes and reformats it to
if (condition)
doSomething()
and then the next dev comes and adds
if (condition)
doSomething()
doAnotherThing()
thinking that they are both inside the if, when in fact only one of them is. There are countless examples of this resulting in very, very serious bugs in systems that affect pretty much everyone.
Meanwhile
if (condition) { doSomething() }
has negligible to no impact on readability, but prevents a very serious and common bug. There's no reasonable justification why the compiler shouldn't enforce it, or, if it doesn't, code analysis shouldn't enforce it. | null | 0 | 1544769689 | 1544769980 | 0 | ebr52i2 | t3_a5ylm8 | null | null | t1_ebr2r6j | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr52i2/ | 1547587152 | 24 | t5_2fwo | r/programming | public | null |
False | AffectionateTotal7 | t2_2ku10f9f | I just wanted to say I tried to test this in C++ but llvm optimized main to `printf("%d\n", 119860736);` | null | 0 | 1543634286 | False | 0 | eatyki6 | t3_a1rp4s | null | null | t3_a1rp4s | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatyki6/ | 1546264084 | 2 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544769691 | False | 0 | ebr52jt | t3_a5zjwu | null | null | t3_a5zjwu | /r/programming/comments/a5zjwu/bootstrap_340_released/ebr52jt/ | 1547587153 | 1 | t5_2fwo | r/programming | public | null |
False | AffectionateTotal7 | t2_2ku10f9f | I tried in clang. llvm optimized main to `printf("%d\n", 119860736);` | null | 0 | 1543634590 | False | 0 | eatyuuh | t3_a1rp4s | null | null | t1_easqtem | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatyuuh/ | 1546264241 | 5 | t5_2fwo | r/programming | public | null |
False | Yuioup_____ | t2_goi8g | http://youmightnotneedjquery.com/ | null | 0 | 1544769702 | False | 0 | ebr52tp | t3_a5zjwu | null | null | t1_ebqz6kd | /r/programming/comments/a5zjwu/bootstrap_340_released/ebr52tp/ | 1547587156 | 24 | t5_2fwo | r/programming | public | null |
False | yeahbutbut | t2_cccqr | > \> Yeah I mess up and have logic errors, or forget to handle some database exception
>
>All errors are type errors in a sufficiently eloquent type system. Unhandled exceptions and logic errors as well (safe stuff like wrong spelling in strings of course ;)
​
And sufficiently complicated logical expressions can be undecidable. Undecidability is not a property I want in a type system ;-) | null | 0 | 1543634724 | False | 0 | eatyzdo | t3_a1o5iz | null | null | t1_eatfv7d | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatyzdo/ | 1546264297 | 0 | t5_2fwo | r/programming | public | null |
False | Daell | t2_46uwm | 4Head | null | 0 | 1544769729 | False | 0 | ebr53j7 | t3_a5mk9z | null | null | t1_ebqm368 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebr53j7/ | 1547587165 | 1 | t5_2fwo | r/programming | public | null |
False | AlwaysHopelesslyLost | t2_ezus4 | There are a LOT of comments on that. I feel like they should have been ripped out into a chat room? | null | 0 | 1543634790 | False | 0 | eatz1op | t3_a1rp4s | null | null | t1_eas9m8o | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatz1op/ | 1546264325 | 1 | t5_2fwo | r/programming | public | null |
False | theoneandonlypatriot | t2_yjg5r | Because it works?
Why do you need a full article for this? | null | 0 | 1544769794 | False | 0 | ebr559x | t3_a5y50c | null | null | t3_a5y50c | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr559x/ | 1547587215 | 2 | t5_2fwo | r/programming | public | null |
False | ILikeFreeGames | t2_l9pwn | Gotcha. Yeah, I was sorta assuming software emulation for RISC-V. | null | 0 | 1543634822 | False | 0 | eatz2so | t3_a1rp4s | null | null | t1_eatjyoz | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatz2so/ | 1546264339 | 1 | t5_2fwo | r/programming | public | null |
False | Gotebe | t2_2y75 | Having seen systems that were flexible in ways that weren't needed when change came and systems that were flexible correctly, but the flexibility had the additional complexity that has an operating cost, I am not sure.
"Flexibility" is often a lure. A spring flexes in one direction, not in another, and I must know what direction I'll need upfront, otherwise...
It comes down to predicting the future. I see more failures than success in that. I also see that a good *grasp* on the current *inflexible* system *is* the needed flexibility. | null | 0 | 1544770000 | False | 0 | ebr5al8 | t3_a5y50c | null | null | t1_ebqqz3k | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr5al8/ | 1547587281 | 2 | t5_2fwo | r/programming | public | null |
False | xxgreg | t2_33ypa | Don't forget Flutter actually started 4+ years ago. This is about 2 years before Kotlin's 1.0 release. Kotlin native, especially iOS support, is even newer. i.e. At the time the Flutter team chose to use Dart, Kotlin wasn't very mature, and didn't offer the features the team thought would make the project successful.
Edit: Also: https://news.ycombinator.com/item?id=16476292
| null | 0 | 1543634978 | 1543635441 | 0 | eatz8kk | t3_9zpn0h | null | null | t1_eadkku3 | /r/programming/comments/9zpn0h/flutter_the_good_the_bad_and_the_ugly/eatz8kk/ | 1546264410 | 1 | t5_2fwo | r/programming | public | null |
False | janinesutto | t2_6ay8lht | HA! | null | 0 | 1544770008 | False | 0 | ebr5at5 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebr5at5/ | 1547587283 | -1 | t5_2fwo | r/programming | public | null |
False | DeltaNerd | t2_axz1w | I mean sure but we are having a discussion. It's alright we all love programming(sometimes) here. Middle ground | null | 0 | 1543635032 | False | 0 | eatzana | t3_a1rp4s | null | null | t1_eatfn15 | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatzana/ | 1546264436 | 2 | t5_2fwo | r/programming | public | null |
False | 30thnight | t2_n8xgv | Mixing jQuery in React / Vue build is a bit annoying. | null | 0 | 1544770021 | False | 0 | ebr5b5f | t3_a5zjwu | null | null | t1_ebqz6kd | /r/programming/comments/a5zjwu/bootstrap_340_released/ebr5b5f/ | 1547587288 | 20 | t5_2fwo | r/programming | public | null |
False | myringotomy | t2_9f1cg | https://en.wikipedia.org/wiki/First_to_file_and_first_to_invent
The relevant quote
>The America Invents Act signed on 16 September 2011,[7] switched U.S. right to the patent from the previous "first-to-invent" system to a "first-inventor-to-file" system for patent applications filed on or after 16 March 2013.[8]
>If it worked the way you just said, there would be literally nothing stopping every patent troll in the world from just looking for un-patented commercial products, getting the patent, and then extorting the companies in question.
Happens more often than you think.
| null | 0 | 1543635059 | False | 0 | eatzbq5 | t3_a1tazn | null | null | t1_eattu61 | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatzbq5/ | 1546264449 | -8 | t5_2fwo | r/programming | public | null |
False | Gotebe | t2_2y75 | It's not intentional in a sense that they want to exploit the client. But they surely have different incentives, they are a bitch. | null | 0 | 1544770241 | False | 0 | ebr5gyt | t3_a5y50c | null | null | t1_ebr3u77 | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr5gyt/ | 1547587359 | 8 | t5_2fwo | r/programming | public | null |
False | locotx | t2_4cdu0 | this was very interesting..... great post | null | 0 | 1543635179 | False | 0 | eatzgey | t3_a1rp4s | null | null | t3_a1rp4s | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatzgey/ | 1546264507 | 2 | t5_2fwo | r/programming | public | null |
False | jiffier | t2_cx0s7 | Well, I need to ssh to remote servers, and edit many types of files in there. What is tramp? Hever heard of it. | null | 0 | 1544770266 | False | 0 | ebr5hk7 | t3_a5i57x | null | null | t1_ebq85b7 | /r/programming/comments/a5i57x/the_rise_of_microsoft_visual_studio_code/ebr5hk7/ | 1547587367 | 1 | t5_2fwo | r/programming | public | null |
False | orclev | t2_3y51q | This thread is a literary Hitler. | null | 0 | 1543635326 | False | 0 | eatzlv5 | t3_a1we32 | null | null | t1_eatwy0p | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eatzlv5/ | 1546264575 | 10 | t5_2fwo | r/programming | public | null |
False | growl360 | t2_1vk9za20 | This is just cringy | null | 0 | 1544770296 | False | 0 | ebr5id3 | t3_a3q1vh | null | null | t1_ebq8ofi | /r/programming/comments/a3q1vh/its_official_chromium_is_coming_to_microsoft_edge/ebr5id3/ | 1547587377 | 1 | t5_2fwo | r/programming | public | null |
False | flerchin | t2_jk1pz | That's all my business actually understands. Blah blah this is going to take longer than expected blah blah blah | null | 0 | 1543635591 | False | 0 | eatzvs6 | t3_a1we32 | null | null | t3_a1we32 | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eatzvs6/ | 1546264697 | 11 | t5_2fwo | r/programming | public | null |
False | dpash | t2_5bdkm | Why? How do I know it's at all relevant to me? Your title is bad and you should feel bad.
For what it's worth for anyone else, the article title is
> Software disenchantment
and is another article about bloat in modern software.
A better title would have been
> I urge everyone to read this *article on software bloat* | null | 0 | 1544770297 | 1544770631 | 0 | ebr5ie8 | t3_a62ef2 | null | null | t3_a62ef2 | /r/programming/comments/a62ef2/i_urge_everyone_to_read_this/ebr5ie8/ | 1547587377 | 6 | t5_2fwo | r/programming | public | null |
False | Fer2409 | t2_2ksg196l | Really? | null | 0 | 1543635839 | False | 0 | eau04si | t3_a1ysx2 | null | null | t3_a1ysx2 | /r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eau04si/ | 1546264837 | 74 | t5_2fwo | r/programming | public | null |
False | Plasticcaz | t2_98nns | That sentence made perfect sense, /u/akher just chose to interpret it in a silly way.
You chose the right article. | null | 0 | 1544770311 | False | 0 | ebr5irc | t3_a5p0ct | null | null | t1_ebpprbj | /r/programming/comments/a5p0ct/extending_a_language_with_reader_macros_a_subset/ebr5irc/ | 1547587381 | 7 | t5_2fwo | r/programming | public | null |
False | NotUniqueOrSpecial | t2_3wrgy | > Happens more often than you think.
Does it? I'm thinking no.
I've been through this process. I've had to attend corporate meetings on a near-yearly basis about how this works. I'm one of the inventors on a granted patent, and am one of the inventors on a good handful of others that are currently going through the process. I'm the engineer in the company that gets pulled into the meetings with the in-house counsel as well as our patent lawyers when we have to go over patent-related issues.
Can you say the same?
You obviously don't understand the difference between first-to-file and first-to-invent or what prior-art means.
It used to be that if you could prove--despite it not being otherwise legally prior art--that you came up with something before somebody else filed for the patent, then you could invalidate their claim to the invention/get the patent yourself.
That meant that if you had in-house implementations of an idea, homegrown versions of something, or even according to some, (it's probably apocryphal) had mailed yourself a registered U.S. Mail with the details and never opened it up, and, said information could be proven to predate the patent filing date you were contesting, then you could invalidate said patent and get it yourself.
That changed in 2011. I even remember that because of all the meetings I had to attend *because* that fact was changing.
That shift, while dramatic, did *not* change how prior-art applies in this situation; you still can't patent something that's been shown *anywhere* in public. Hell, it's not even a matter of "public". If it's not under NDA, you can't even show it to your corporate partners, your friends, or your family, without risking somebody contesting you on prior art.
You're simply incorrect.
| null | 0 | 1543635988 | False | 0 | eau0ac9 | t3_a1tazn | null | null | t1_eatzbq5 | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eau0ac9/ | 1546264906 | 11 | t5_2fwo | r/programming | public | null |
False | IMovedYourCheese | t2_ld7yx | Don't bother. It's the same "everything is bad these days" rant that is posted here every day. | null | 0 | 1544770377 | False | 0 | ebr5kg3 | t3_a62ef2 | null | null | t3_a62ef2 | /r/programming/comments/a62ef2/i_urge_everyone_to_read_this/ebr5kg3/ | 1547587402 | 5 | t5_2fwo | r/programming | public | null |
False | ThirdEncounter | t2_1ud6zgq | Had to look it up. You were not kidding. I stand corrected.
| null | 0 | 1543636721 | False | 0 | eau1194 | t3_a1t38z | null | null | t1_eatw8fn | /r/programming/comments/a1t38z/a_collection_of_wellknown_software_failures/eau1194/ | 1546265239 | 0 | t5_2fwo | r/programming | public | null |
False | Gotebe | t2_2y75 | Not the OP, but it's simply this: if I recognize parts that do X in, say, three places in a system, and I make then one part P that is now standalone, but still used by these three places, chances are, in the future there will be a 4th place that needs it, and I can just use it there. Flexible! | null | 0 | 1544770446 | False | 0 | ebr5m6g | t3_a5y50c | null | null | t1_ebr4nw3 | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr5m6g/ | 1547587424 | 9 | t5_2fwo | r/programming | public | null |
False | Kamek_pf | t2_bqiiq | You're looking for a new maintainer for a tool you wrote less than 24 hours ago ? | null | 0 | 1543636841 | False | 0 | eau15t6 | t3_a1qyws | null | null | t1_eatn7mq | /r/programming/comments/a1qyws/github_joeky888fil_unix_file_command_written_in_go/eau15t6/ | 1546265295 | 6 | t5_2fwo | r/programming | public | null |
False | markand67 | t2_11edsw | fortunately all my apps I use are not written in electron and I can use my 10 years old laptop. if you don't like bloatware, don't use it. it's not like you're forced to use atom, hyper, vscode or slack. make your choices but stop rants. | null | 0 | 1544770751 | False | 0 | ebr5tz1 | t3_a62ef2 | null | null | t3_a62ef2 | /r/programming/comments/a62ef2/i_urge_everyone_to_read_this/ebr5tz1/ | 1547587520 | 2 | t5_2fwo | r/programming | public | null |
False | sindisil | t2_3dd9 | I give up.
You have a very particular definition of bootstrapping a compiler, as opposed to the usual way of using that term (see https://en.wikipedia.org/wiki/Bootstrapping_(compilers) or http://foldoc.org/bootstrap for example).
| null | 0 | 1543637202 | False | 0 | eau1iog | t3_9j6i6y | null | null | t1_eatrklm | /r/programming/comments/9j6i6y/how_microsoft_rewrote_its_c_compiler_in_c_and/eau1iog/ | 1546265484 | 1 | t5_2fwo | r/programming | public | null |
False | Gotebe | t2_2y75 | Hm, I would expect that the hype around this job title would start to go deflate by now.... guess not. Must be that I spend too much time on hipster websites 😁😁 | null | 0 | 1544770797 | False | 0 | ebr5v46 | t3_a5z6i5 | null | null | t3_a5z6i5 | /r/programming/comments/a5z6i5/full_stack_software_developer_named/ebr5v46/ | 1547587534 | 1 | t5_2fwo | r/programming | public | null |
False | Salami_On_Rye | t2_g5p8ne9 | > Why am I paying a court some money?
Because generally people don't like working for free.
You could argue that taxes should fund the patent process, but if there was no cost to filing a patent, you'd end up with a bloated system. People would file patents hoping to get them through even if there was only a slim chance that it was a unique invention because, why not, it doesn't cost anything to do so?
| null | 0 | 1543637413 | False | 0 | eau1q7z | t3_a1tazn | null | null | t1_eat90oo | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eau1q7z/ | 1546265576 | 7 | t5_2fwo | r/programming | public | null |
False | AngularBeginner | t2_eky8x | https://www.reddit.com/r/programming/comments/9go8ul/software_disenchantment/
https://www.reddit.com/r/programming/comments/9hehud/software_disenchantment_all_the_current_software/ | null | 0 | 1544771150 | False | 0 | ebr63pg | t3_a62ef2 | null | null | t3_a62ef2 | /r/programming/comments/a62ef2/i_urge_everyone_to_read_this/ebr63pg/ | 1547587640 | 1 | t5_2fwo | r/programming | public | null |
False | 13steinj | t2_i487l | Okay, I'll ask here since it seems you're at least involved enough with the ecosystem to know these tools:
* what's chocolatey
* what's box starter
* does node install both, or one and another installs the least common denominator. Basically what's the chain of command in terms of dependent tools here?
* which tool exactly is the root of the issue
* how the fuck can it change group policies which for non-pro and non-enterprise machines, don't exist? Or rather, don't have access to. Or does this only affect versions pro and enterprise? | null | 0 | 1543637510 | False | 0 | eau1tii | t3_a1u6ge | null | null | t1_eatw2i0 | /r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eau1tii/ | 1546265617 | 11 | t5_2fwo | r/programming | public | null |
False | Kyrolike | t2_6hhhh | Yeah I was wondering why your english is so good. That's usually not the case for japanese people :D | null | 0 | 1544771310 | False | 0 | ebr67nj | t3_a5s9a7 | null | null | t1_ebqp6t9 | /r/programming/comments/a5s9a7/planning_to_start_a_stream_for_people_who_want_to/ebr67nj/ | 1547587688 | 1 | t5_2fwo | r/programming | public | null |
False | Dockirby | t2_6ozpc | Officially yes, but in reality it only works well in Windows ME. | null | 0 | 1543637783 | False | 0 | eau23iw | t3_a1we32 | null | null | t1_eat9h9a | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eau23iw/ | 1546265740 | 5 | t5_2fwo | r/programming | public | null |
False | criticalcontext | t2_mq1bg | '"shrimp" in whatever.tolower()' | null | 0 | 1544771314 | False | 0 | ebr67r3 | t3_a5sg9k | null | null | t1_ebp3da1 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebr67r3/ | 1547587689 | 1 | t5_2fwo | r/programming | public | null |
False | sekjun9878 | t2_96bnj | They rebranded didn’t they? | null | 0 | 1543637913 | False | 0 | eau285e | t3_a1t38z | null | null | t1_easqlab | /r/programming/comments/a1t38z/a_collection_of_wellknown_software_failures/eau285e/ | 1546265797 | 1 | t5_2fwo | r/programming | public | null |
False | jonjonbee | t2_t44gw | Old man yells at sky. | null | 0 | 1544772105 | False | 0 | ebr6rvs | t3_a62ef2 | null | null | t3_a62ef2 | /r/programming/comments/a62ef2/i_urge_everyone_to_read_this/ebr6rvs/ | 1547587967 | 1 | t5_2fwo | r/programming | public | null |
False | theferrit32 | t2_6glap | Yeah I know for a fact that AWS crawls public GitHub repos and scans for AWS credentials people accidentally checked in, maybe on other places as well. That's pretty cool of them to do, I wonder how much it costs them compared to how much it saves them by preventing fraudulent charges and helping customer retention. | null | 0 | 1543638300 | False | 0 | eau2m8o | t3_a1gbqw | null | null | t1_eapvz70 | /r/programming/comments/a1gbqw/ebay_japan_source_leak_as_git_folder_deployed_to/eau2m8o/ | 1546265971 | 2 | t5_2fwo | r/programming | public | null |
False | ackerlight | t2_4fjbf | The performance is usually in pair with the version of Chromium used. | null | 0 | 1544772145 | False | 0 | ebr6sxk | t3_a5mk9z | null | null | t1_ebou79j | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebr6sxk/ | 1547587981 | 1 | t5_2fwo | r/programming | public | null |
False | AffectionateTotal7 | t2_2ku10f9f | Vhin you're alright because I'm assuming this was a random thought. But everyone who upvoted. WTF!?! Don't you have a braincell?
Not only do many people not want a patent (you wouldn't be able to afford a lawsuit, maybe you can sell it if you have those skills) but it's a whole other skill to write a patent and it cost alot to submit one. Who the fuck thinks this random thought is a good idea wtf!?! | null | 0 | 1543638315 | False | 0 | eau2mt5 | t3_a1tazn | null | null | t1_eask7lk | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eau2mt5/ | 1546266007 | -4 | t5_2fwo | r/programming | public | null |
False | jonjonbee | t2_t44gw | The problem is that the people who **need** to read and understand this (accountants and managers), aren't the people who read this subreddit. | null | 0 | 1544772189 | 1544779651 | 1 | ebr6u3j | t3_a5y50c | null | null | t3_a5y50c | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr6u3j/ | 1547587995 | 53 | t5_2fwo | r/programming | public | null |
False | beyphy | t2_4zpyk | Were you guys using the standard Python interpreter? For speed, pypy is recommend. It's many orders faster than the native Python interpreter from what I remember reading. | null | 0 | 1543638543 | False | 0 | eau2ur8 | t3_9tqxd9 | null | null | t1_e8zknjn | /r/programming/comments/9tqxd9/python_is_becoming_the_worlds_most_popular_coding/eau2ur8/ | 1546266105 | 1 | t5_2fwo | r/programming | public | null |
False | ygra | t2_8kizi | PowerShell works on string i a case-insensitive manner by default. But you're right in that `-contains` doesn't work like expected here. | null | 0 | 1544772253 | False | 0 | ebr6vtm | t3_a5sg9k | null | null | t1_ebr67r3 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebr6vtm/ | 1547588016 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1543638561 | False | 0 | eau2v98 | t3_9tqxd9 | null | null | t1_e8zknjn | /r/programming/comments/9tqxd9/python_is_becoming_the_worlds_most_popular_coding/eau2v98/ | 1546266112 | 1 | t5_2fwo | r/programming | public | null |
False | jonjonbee | t2_t44gw | > You don't make software projects cheaper or better by being more thorough in the planning phase
Nonsense, better planning never hurt anything. Of course it's possible to have too much planning, but too little is far more responsible for bad projects than too much. | null | 0 | 1544772423 | False | 0 | ebr70b7 | t3_a5y50c | null | null | t1_ebqmn8j | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr70b7/ | 1547588072 | 2 | t5_2fwo | r/programming | public | null |
False | earthboundkid | t2_1w5x | https://github.com/carlmjohnson/whatsit | null | 0 | 1543638777 | False | 0 | eau32kv | t3_a1qyws | null | null | t3_a1qyws | /r/programming/comments/a1qyws/github_joeky888fil_unix_file_command_written_in_go/eau32kv/ | 1546266202 | 1 | t5_2fwo | r/programming | public | null |
False | skocznymroczny | t2_4zi6k | Why use Ada if you can just rewrite it in Rust? | null | 1 | 1544772544 | False | 0 | ebr73hg | t3_a5ylm8 | null | null | t3_a5ylm8 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr73hg/ | 1547588111 | 5 | t5_2fwo | r/programming | public | null |
False | earthboundkid | t2_1w5x | I enjoy clean Ruby code, but the distinction of modules from import paths is fundamentally broken and makes everything needlessly painful. | null | 0 | 1543639176 | False | 0 | eau3fhi | t3_a1qoid | null | null | t1_eas1oho | /r/programming/comments/a1qoid/modules_in_ruby_part_i/eau3fhi/ | 1546266362 | 2 | t5_2fwo | r/programming | public | null |
False | Dentosal | t2_u51mk | You should do same with all software based on the USA, as well as with other Five Eyes network countries: Australia, Canada, New Zealand and UK | null | 0 | 1544772555 | False | 0 | ebr73rp | t3_a57th7 | null | null | t1_eblrfmr | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebr73rp/ | 1547588114 | 1 | t5_2fwo | r/programming | public | null |
False | jeffzebub | t2_1nkvfd8x | I received a CS&E BS degree from UCLA in the early 90s. The undergrad CS classes there at that time focused heavily on theory. There were labs, but were meant to enable demonstration of the theory. They didn't spend much time teaching you how to program in particular languages, since you were expected to mostly figure that out on your own, and if you couldn't, then I guess that was a hint that you were in the wrong field. I agree with that approach and feel like I received a very solid foundation which has served me very well in my career for almost 30 years. | null | 0 | 1543639255 | False | 0 | eau3i0z | t3_a1rp4s | null | null | t1_eascnsw | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eau3i0z/ | 1546266393 | 1 | t5_2fwo | r/programming | public | null |
False | neutronbob | t2_31jk8 | This post is just one blogger's favorite new methods. There is a lot more that's happened in Java 11. Notable are a new HTTP Client and new Websocket API. There is also new variable declaration syntax inside lambdas. And lots of new methods. This [article](http://www.javamagazine.mozaicreader.com/NovemberDecember2018#&pageSet=39&page=0) in Oracle's Java Magazine gives a long-form discussion of the major points. | null | 0 | 1544772625 | False | 0 | ebr75ix | t3_a5umpk | null | null | t1_ebpjp8p | /r/programming/comments/a5umpk/10_new_features_in_java_11/ebr75ix/ | 1547588136 | 7 | t5_2fwo | r/programming | public | null |
False | JustOneThingThough | t2_l1wxc | I mean, we wouldn't be able to accomplish much if they were all CMP. | null | 0 | 1543639268 | False | 0 | eau3ids | t3_a1sbwp | null | null | t3_a1sbwp | /r/programming/comments/a1sbwp/not_all_cpu_operations_are_created_equal/eau3ids/ | 1546266398 | 0 | t5_2fwo | r/programming | public | null |
False | Atulin | t2_jfbtb | To my knowledge, no countries but Australia require the developers to put backdoors on their software and hardware. | null | 0 | 1544772668 | False | 0 | ebr76l9 | t3_a57th7 | null | null | t1_ebr73rp | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebr76l9/ | 1547588149 | 3 | t5_2fwo | r/programming | public | null |
False | HeadAche2012 | t2_873xv | Lots of spam on here lately | null | 0 | 1543639325 | False | 0 | eau3k9s | t3_a1we32 | null | null | t3_a1we32 | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eau3k9s/ | 1546266421 | -4 | t5_2fwo | r/programming | public | null |
False | cansozbir | t2_24m0s301 | Is possible run model on the android with developed on the pytorch now ? | null | 0 | 1544772690 | False | 0 | ebr7766 | t3_a44eoz | null | null | t3_a44eoz | /r/programming/comments/a44eoz/pytorch_10_released_stable/ebr7766/ | 1547588157 | 1 | t5_2fwo | r/programming | public | null |
False | PsychohistorySeldon | t2_bk621 | You can flopnax a dinglebop and still get good results with the shleem. Just use Plumbus.js. | null | 0 | 1543639492 | False | 0 | eau3pli | t3_a1we32 | null | null | t3_a1we32 | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eau3pli/ | 1546266487 | 18 | t5_2fwo | r/programming | public | null |
False | Tohnmeister | t2_8vvfa | I think companies are too afraid for off shoring or letting people work from home full time. Yes, it's a challenge, but it's certainly not undoable and an opening to a lot of potential talent. | null | 0 | 1544772957 | False | 0 | ebr7dvq | t3_a4n8jv | null | null | t1_ebgaccf | /r/programming/comments/a4n8jv/why_software_developers_are_paid_5x_more_in_the/ebr7dvq/ | 1547588239 | 1 | t5_2fwo | r/programming | public | null |
False | WaiYanMyintMo | t2_1gss14ac | r/NoStupidQuestions | null | 0 | 1543639573 | False | 0 | eau3sas | t3_a1rp4s | null | null | t1_easiruo | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eau3sas/ | 1546266520 | 1 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | Uh, wait a second. You said auto-formatter, which means you get this:
if (condition)
doSomething()
doAnotherThing()
| null | 0 | 1544773282 | False | 0 | ebr7lyy | t3_a5ylm8 | null | null | t1_ebr52i2 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr7lyy/ | 1547588338 | 11 | t5_2fwo | r/programming | public | null |
False | ivquatch | t2_3a6gu | You can think of async/await as imperative syntax sugar for the following expression:
verifyUser(username, password).then(userVerification =>
getRoles(username).then(rolesRetrival =>
logAccess(username).then(logEntry => {
// ... the rest of your function
})
)
);
So it's really just a monad in disguise.
There are other ways of expressing this with different async semantics. As you can see, `verifyUser`, `getRoles` and `logAccess` have no dependency on one another. So, it might be more efficient to perform them in parallel. Written in applicative style, you could do something like this (roughly. this is psuedo code):
new Promise(userVerification => rolesRetrieval => logEntry => { /* ... the rest of your function */ })
.apply(verifyUser(username, password))
.apply(getRoles(username))
.apply(logAccess(username));
I probably butchered the syntax, but you see what I'm getting at. Applicative style is very elegant and also a less powerful abstraction than a monad. So, it adheres nicely here to the "principle of least power". In a language with custom operators, it would look like this (psuedo code):
(\userVerification rolesRetrival logEntry -> ... )
<$> verifyUser username password
<*> getRoles username
<*> logAccess username
No special language constructs like async/await are required here. It will also await these operations in parallel since javascript promises would all be started immediately.
So, while async/await is convenient, it's not always best to break out the "monad hammer" so quickly, especially in this case where sequential execution needlessly inefficient.
EDIT: the `apply()` methods here corresponds to the apply function for applicative functors, not the javascript apply function.
| null | 0 | 1543639670 | 1543651187 | 0 | eau3vnt | t3_a1lebc | null | null | t1_earmyay | /r/programming/comments/a1lebc/actually_callbacks_are_fine_implementing_monads/eau3vnt/ | 1546266562 | 2 | t5_2fwo | r/programming | public | null |
False | rubarax | t2_37zbd | Life-changing | null | 0 | 1544773292 | False | 0 | ebr7m8a | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebr7m8a/ | 1547588342 | -1 | t5_2fwo | r/programming | public | null |
False | distortedsignal | t2_712j6 | I can help with one of those -
chocolatey is a package manager for Windows. See here: https://chocolatey.org/
It's... fine. Not great. | null | 0 | 1543639931 | False | 0 | eau44n9 | t3_a1u6ge | null | null | t1_eau1tii | /r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eau44n9/ | 1546266702 | 14 | t5_2fwo | r/programming | public | null |
False | nikonino | t2_sb61r | If you think about it, almost every problem regarding software is strongly related to the requirement analysis phase. Either the developers misunderstood something or the problem was there all along. The only way to ensure that you have understood something correctly is to write down workflows. My experience says that presenting diagrams not only help the stakeholders understand clearly what you are designing, but its also easier for the development team to have the bigger picture of what they are building. | null | 0 | 1544773314 | False | 0 | ebr7mqh | t3_a5y50c | null | null | t1_ebr390j | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr7mqh/ | 1547588348 | 18 | t5_2fwo | r/programming | public | null |
False | ivquatch | t2_3a6gu | I think the article is referring to the "continuation monad" which is a way of composing callbacks without necessarily creating a pyramid of doom (aka "continuation-passing" style). Parser combinators are an example of a continuation monad (iiuc), and they're fucking awesome. | null | 0 | 1543640056 | 1543640846 | 0 | eau48to | t3_a1lebc | null | null | t1_earqc40 | /r/programming/comments/a1lebc/actually_callbacks_are_fine_implementing_monads/eau48to/ | 1546266754 | 1 | t5_2fwo | r/programming | public | null |
False | r0b0t1c1st | t2_47iq2 | This is sloppy:
import os
os.system(f'sudo ifconfig {interface} down')
os.system(f'sudo macchanger -r {interface}')
os.system(f'sudo ifconfig {interface} up')
It:
* Doesn't actually check if the commands succeed
* Doesn't interpolate correctly if you like to make things hard for yourself and name your interfaces with spaces in
Using `subprocess` eliminates these problems:
from subprocess import run
run(['sudo', 'ifconfig', interface, 'down'], check=True)
run(['sudo', 'macchanger', '-r', interface], check=True)
run(['sudo', 'ifconfig', interface, 'up'], check=True) | null | 0 | 1544773430 | False | 0 | ebr7pfb | t3_a5rb95 | null | null | t3_a5rb95 | /r/programming/comments/a5rb95/free_hotel_wifi_with_python_and_selenium/ebr7pfb/ | 1547588411 | 4 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1543640279 | False | 0 | eau4g6x | t3_a1tazn | null | null | t1_eat4oo2 | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eau4g6x/ | 1546266844 | 5 | t5_2fwo | r/programming | public | null |
False | bumbumbambam | t2_x5lq3vd | Yup, these days software is being crippled on purpose, so that companies could charge you for every single feature/line of code, and even write broken code in the first place, so they could charge you again to fix it. | null | 0 | 1544773622 | False | 0 | ebr7tvw | t3_a5y50c | null | null | t1_ebqt7s7 | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebr7tvw/ | 1547588466 | 1 | t5_2fwo | r/programming | public | null |