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
EmbarrassedBanana3
t2_2mxu8drd
How uncivilized of you that you don't use metric A4 paper.
null
0
1544508996
False
0
ebjrbq9
t3_a1ysx2
null
null
t1_eavtlcm
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/ebjrbq9/
1547461637
1
t5_2fwo
r/programming
public
null
False
Idontremember99
t2_1n36v9
Yeah, and the manual does a much better job explaining how to do it too...
null
0
1545763288
False
0
ecj8100
t3_a9bqbi
null
null
t1_ecifpl4
/r/programming/comments/a9bqbi/how_to_reset_root_password_in_mysql_8/ecj8100/
1548060270
1
t5_2fwo
r/programming
public
null
False
lawandordercandidate
t2_14okl0
i know im right. just because you can validate the last 6 digits of a credit card doesn't mean you are authenticated. i think you are woefully behind with identification verification practices, and 2FA. All other accounts, just to even log in, I need a text to my phone and a valid password. This guy took over the account with 6 numbers lmao. You could literally brute force Linode's security policies in seconds.
null
0
1544509015
False
0
ebjrc6z
t3_a477c9
null
null
t1_ebjqxxf
/r/programming/comments/a477c9/how_linode_screwed_me/ebjrc6z/
1547461643
1
t5_2fwo
r/programming
public
null
False
accountforshit
t2_4jmo6
Some things are like that (not just languages, but libraries/frameworks/styles/... too), but it's difficult to tell which ones, and people say that about damn near everything. *"This will make the code more readable/maintainable"* is another popular claim that more often than not just boils down to personal preference and style. Lisp for example, I could see getting some good ideas from. TCL or APL, not so much. Sometimes learning something really is just a waste of time.
null
0
1545763351
1545763607
0
ecj83vu
t3_a9da04
null
null
t1_ecij0d3
/r/programming/comments/a9da04/learn_prolog_now/ecj83vu/
1548060305
1
t5_2fwo
r/programming
public
null
False
pnewb
t2_3s5a2
Then we’d just all be on mercurial instead.
null
0
1544509017
False
0
ebjrc99
t3_a52jc5
null
null
t1_ebjq5v6
/r/programming/comments/a52jc5/the_architecture_and_history_of_git_a_distributed/ebjrc99/
1547461643
50
t5_2fwo
r/programming
public
null
False
skyhi14
t2_dip2w
Not a binary tree; downvoted /s
null
0
1545763585
False
0
ecj8egk
t3_a9eefg
null
null
t3_a9eefg
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecj8egk/
1548060436
2
t5_2fwo
r/programming
public
null
False
Diark
t2_j29nm
I think C is preferred because of the explicit nature of memory management that C allows. All the other languages abstract it out so you don't have to worry about it but if you start with C you'll have a better understanding of the Memory structure of a program. It's so that a programmer knows what's going on under the hood which someone won't if they start with a higher level language.
null
0
1544509177
False
0
ebjrgh3
t3_a54748
null
null
t1_ebjr3zz
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjrgh3/
1547461695
4
t5_2fwo
r/programming
public
null
False
MrDOS
t2_43dri
A broken clock is still right twice a day.
null
0
1545763617
False
0
ecj8fww
t3_a9elh1
null
null
t1_ecixl1y
/r/programming/comments/a9elh1/the_gift_of_giving_up/ecj8fww/
1548060454
23
t5_2fwo
r/programming
public
null
False
mcg42ray
t2_235cxs8
Nope. It's too low-level and is missing objects and templates.
null
0
1544509213
False
0
ebjrhfa
t3_a54748
null
null
t1_ebjqwpb
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjrhfa/
1547461706
0
t5_2fwo
r/programming
public
null
False
skyhi14
t2_dip2w
Did you mean red-black tree?
null
0
1545763622
False
0
ecj8g4j
t3_a9eefg
null
null
t1_eciqyq3
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecj8g4j/
1548060457
2
t5_2fwo
r/programming
public
null
False
devolveinc
t2_1umog2em
Agree with you React native is the most promising technology in mobile app development.
null
0
1544509226
False
0
ebjrhsk
t3_a547tx
null
null
t3_a547tx
/r/programming/comments/a547tx/react_native_is_it_really_the_future_of_mobile/ebjrhsk/
1547461711
-6
t5_2fwo
r/programming
public
null
False
MrDOS
t2_43dri
> So, Polymer 2.0 uses HTML Imports to bring in its dependencies—this is something Chrome pushed for but which never gained widestream adoption. It's being [removed by Chrome around March 2019](https://bugs.chromium.org/p/chromium/issues/detail?id=766694), something which the JavaScript console will happily inform you of. > > Importantly, we suspect Santa Tracker will just _stop working_ for Chrome users in March. ⚠️😱 Google's hubris never fails to astonish, and naysayer naysayers should take heed: this is _exactly_ how IE5/6-era Microsoft treated the web. The lack of self-awareness (or perhaps the strength of self-centredness) seeping out of the Google camp right now is bewildering.
null
0
1545764054
False
0
ecj8ze6
t3_a9elh1
null
null
t3_a9elh1
/r/programming/comments/a9elh1/the_gift_of_giving_up/ecj8ze6/
1548060724
32
t5_2fwo
r/programming
public
null
False
Pleb_nz
t2_i3a02
And anything that teaches logic or problem solving is now ‘coding’
null
0
1544509290
False
0
ebjrjhv
t3_a4vhtk
null
null
t1_ebi0xkb
/r/programming/comments/a4vhtk/how_to_teach_adults_to_code/ebjrjhv/
1547461732
0
t5_2fwo
r/programming
public
null
False
pron98
t2_f0thb
I think that what makes TLA+ hard to learn (at least for me, when I learned it) is nothing intrinsic, but the learner's familiarity with programming (I remember asking on the mailing list when I was learning whether TLA^+ was eagerly or lazily evaluation only to be given the answer that the very question is out of place, as, obviously, there is no concept of evaluation in simple mathematics; I had to learn to think of computation separately from programming, after decades of programming). The more you try to think of TLA^+ as programming, the harder it will be to internalize its concepts, although they are simpler than those of any programming language. This is intentional, and what gives TLA (the logic that forms the basis TLA^+ ) its unusual expressive power -- especially the notion of the abstraction/refinement relation which is at the core of TLA. Having said that, programmers learn TLA^+ to a sufficient amount to write useful specifications of large, complex systems either in a 3-day hands-on seminar or in 2-3 weeks (part time) on their own, using the available tutorials.
null
0
1545764350
1545766950
0
ecj9c36
t3_a9h3up
null
null
t3_a9h3up
/r/programming/comments/a9h3up/tla_is_hard_to_learn/ecj9c36/
1548060881
7
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544509395
False
0
ebjrmai
t3_a1ysx2
null
null
t1_ebjrbq9
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/ebjrmai/
1547461766
0
t5_2fwo
r/programming
public
null
False
bloody-albatross
t2_cdjk3
Currently listening to that talk. Very interesting. So far he made several points that speak for languages like Rust. Sure it is easy to write a language that has no special constructs for error handling, but are the resulting programs simple or a complected mess of error handling? Later he praises languages that are per default immutable (which is another topic, but still). Praising Haskell in particular (a language that does error handling with algebraic types and a language where you can't ignore return values). And he has both, conditionals and matching in the complexity column (Vs. simplicity). So there Go isn't different than Rust/Haskell/etc. My intention is not to advocate Rust, I just used it as an example that is somewhat well known. Could have just as well used Haskell, but I feared you might not know that.
null
0
1545764367
1545764603
0
ecj9cui
t3_a8rptf
null
null
t1_ecidq64
/r/programming/comments/a8rptf/i_do_not_like_go/ecj9cui/
1548060891
1
t5_2fwo
r/programming
public
null
False
tonefart
t2_ywdx0
No it's not. It's the future of project failures and regrets. The future is PWA.
null
0
1544509582
False
0
ebjrr4o
t3_a547tx
null
null
t3_a547tx
/r/programming/comments/a547tx/react_native_is_it_really_the_future_of_mobile/ebjrr4o/
1547461855
9
t5_2fwo
r/programming
public
null
False
TwistedShafts
t2_19ecavd0
Now it will be the macOS way of wishing Christmas
null
0
1545764404
False
0
ecj9eh4
t3_a9eefg
null
null
t3_a9eefg
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecj9eh4/
1548060911
1
t5_2fwo
r/programming
public
null
False
lelanthran
t2_pnmpo0f
> This guy took over the account with 6 numbers lmao. He didn't take over the account. He paid for the account, hence he's the rightful owner. > i think you are woefully behind with identification verification practices, and Nope. Like I said earlier, I actually do the hard stuff with security: the encryption, the authentication, the verification, and not some simple website, but EMV card transactions. In other words, I actually am an authority on security, having both the credentials and the relevant industry experience. What's your credentials? You can't even hold on to an account after you created it, so what makes you think you know anything?
null
0
1544509629
False
0
ebjrsei
t3_a477c9
null
null
t1_ebjrc6z
/r/programming/comments/a477c9/how_linode_screwed_me/ebjrsei/
1547461871
1
t5_2fwo
r/programming
public
null
False
rebel_cdn
t2_4vhqr
It seems like the main problem is HTML imports, which were added to Chrome in the hope that they'd become a standard, but it didn't work out that way, so they're now being removed from Chrome. I wouldn't say that the code is hopelessly outdated, just that it uses features that'll have no future. They could probably polyfill and continue to use the existing code, too. Don't get me wrong, the front end obsolescence cycle annoys me too. I don't think the original developers made a terrible choice. They took a chance on a uncertain bit of tech which is going to require a rewrite sooner or later.
null
0
1545764472
False
0
ecj9hcv
t3_a9elh1
null
null
t1_eciwron
/r/programming/comments/a9elh1/the_gift_of_giving_up/ecj9hcv/
1548060946
23
t5_2fwo
r/programming
public
null
False
illepic
t2_3zq83
Thank you, Uptight BitKeeper Author Dude. You were the hero we didn't know we needed.
null
0
1544509680
False
0
ebjrtq6
t3_a52jc5
null
null
t1_ebjrc99
/r/programming/comments/a52jc5/the_architecture_and_history_of_git_a_distributed/ebjrtq6/
1547461887
44
t5_2fwo
r/programming
public
null
False
muffinanomaly
t2_f32zq
Everyone knows Macs are unhackable godboxes protected by the ghost of Steve Jobs
null
0
1545764562
False
0
ecj9laq
t3_a9eefg
null
null
t1_eciyszu
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecj9laq/
1548060995
7
t5_2fwo
r/programming
public
null
False
EmbarrassedBanana3
t2_2mxu8drd
If you put two A4 papers together, you get A3 which still has the same aspect ratio as A4 but is twice the size. No matter how often you cut metric paper in half, the aspect ratio never changes.
null
0
1544509734
False
0
ebjrv5x
t3_a1ysx2
null
null
t1_ebjrmai
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/ebjrv5x/
1547461904
1
t5_2fwo
r/programming
public
null
False
suhcoR
t2_rzwyn0
>Flutter did. How do you know? Is there evidence independent of Google?
null
0
1545764930
False
0
ecja1a3
t3_a9f2ni
null
null
t1_ecj16bu
/r/programming/comments/a9f2ni/how_flutter_uses_widgets_elements_and/ecja1a3/
1548061223
3
t5_2fwo
r/programming
public
null
False
pnewb
t2_3s5a2
Don’t get me wrong, git is life. But the functional differences for most of us are pretty minimal. I feel like it was kind of a vhs vs Betamax thing, and the Linux kernel was porn.
null
0
1544510031
False
0
ebjs2om
t3_a52jc5
null
null
t1_ebjrtq6
/r/programming/comments/a52jc5/the_architecture_and_history_of_git_a_distributed/ebjs2om/
1547461997
61
t5_2fwo
r/programming
public
null
False
suhcoR
t2_rzwyn0
>if you make relatively simple apps So you consider it not useful for non-simple apps? Whether people will follow Google and switch from Android to Fuchsia is rather questionable, isn't it?
null
0
1545765273
False
0
ecjaftn
t3_a9f2ni
null
null
t1_eciu1su
/r/programming/comments/a9f2ni/how_flutter_uses_widgets_elements_and/ecjaftn/
1548061402
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544510329
False
0
ebjsadg
t3_a53j97
null
null
t3_a53j97
/r/programming/comments/a53j97/humble_bundle_product_management_and_design_by/ebjsadg/
1547462094
1
t5_2fwo
r/programming
public
null
False
shaggywookie
t2_ibvuh
For a hot second, my brain saw "The Linux way of Washing Dishes", so the Christmas tree confused me
null
0
1545765531
False
0
ecjaram
t3_a9eefg
null
null
t3_a9eefg
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecjaram/
1548061543
2
t5_2fwo
r/programming
public
null
False
Gabro27
t2_9xajw
Hehe, I actually saw this specific quirk for the first time in your Scala Days talk :) I just thought it would be fun to analyze it, and I'm still fascinated to date by the number of Scala features that interplay to produce that result!
null
0
1544510614
False
0
ebjshkf
t3_a4wvz7
null
null
t1_ebjd88x
/r/programming/comments/a4wvz7/anatomy_of_a_scala_quirk/ebjshkf/
1547462182
6
t5_2fwo
r/programming
public
null
False
Shorttail0
t2_ygybi
Yeah fuck that. I could do differentiation, but had no concept of what it meant. Five minutes of a physics lesson a semester later, vertical toss, and differentiation was the most straight forward thing.
null
0
1545765583
False
0
ecjatkh
t3_a9d94p
null
null
t1_ecigwze
/r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecjatkh/
1548061571
15
t5_2fwo
r/programming
public
null
False
m0dev
t2_sxtkd
I always think "honor where honor is due", sadly often there is a initial burden for doing it right. Would love if you embed the CC license from the website and it would offer an "click to copy proper attribute text to clipboard (including hyperlinks)" or something similar to make it more easy. (Hint: I have seen this on unsplash). Still this instance here was more a fault of mine, don't want to talk around it.
null
0
1544510709
False
0
ebjsjxj
t3_a4z6ia
null
null
t1_ebjp6z8
/r/programming/comments/a4z6ia/code_review_best_practices/ebjsjxj/
1547462211
2
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> Following a short, traumatic experience with SUSE Linux I found comfort > in Ubuntu. Ubuntu was great. It (then) brought the stability and robustness > of Debian to the masses. How strange. I found all who went into systemd traumatic. It's weird since I see linux more as a building block of separate components, much more like LFS/BLFS views things (although I find it annoying that the LFS adheres to the FHS-joke, but LFS also provides high quality information as a whole, which is awesome). I guess the only "benefit" that you have via ubuntu or, say, fedora, is when things work out of the box, in ways that don't make you require to want to change much at all. Then it may be fine. The moment you don't want to fit to that or become impatient because some distributions are so slow (debian in particular; and debian sid is a joke if you compare it to e. g. void, gentoo or any of the other distributions that have some people with brains behind), is the moment where you are completely stuck with these "simple" distributions. I found that debian, for example, by splitting packages into illogical sub-packages, makes things super inconvenient. I never had this problem with slackware for example. I don't feel that these "convenient" distributions that cater to simple users primarily, have made things better on the whole. They have made it better in that non-computer savvy people can use linux comparatively easily, but it does not really feel as if you really have linux. You more have a sandbox filled with sand; you sit there and dig into the sand and everything is fine when you keep on digging. The moment you want to leave that is the moment of shock. > It made me love Linux and open-source and got me curious and motivated. I don't "love" linux even though I have been using it since soon 20 years or so (in a few years). Linux is great though - in particular the flexibility is simply unparalleled. Not even the BSDs reach that - again, see LFS/BLFS but keep in mind that you can modify it easily by adding your ideas on top of it. You could say that the different BSD flavours achieve that but ... it's not the same. You don't get the same level of control in the BSDs as you get with Linux. Linux is like the ideal LEGO building block of things. I don't "love" ruby either, but if I have to pick between linux and ruby then ruby is infinitesimally more awesome than linux. If ruby were as fast as the mother-of-all languages today (C) then nobody would use C; and perhaps you may even see something like the linux kernel, just not in C (but evidently you need to be either faster; or as fast as C; plus the fact that some of it is written in assembler, so you may have to use assembly too). > After Ubuntu I moved on to Arch Linux and Gentoo, and felt the beauty > and fright of compilations and optimizations. Yay! \o/ One step up! Although Arch Linux is a mere shadow of its former glory; Gentoo is still going strong in regards to having people with brains. I don't use Gentoo primarily because of its python focus (emerge; and nah, I don't want to use paludis or anything like that, even more so since Gentoo does not allow me to use AppDirs such as GoboLinux allows me to do so), but Gentoo is a great distribution. Void is like the modern baby that you get when you merge oldschool Arch, Gentoo and FreeBSD. Admittedly the installer needs massive improvement but aside from that Void is headed for the future. > Not for a second did I miss the pain of configuring some obnoxious > application in Linux. I don't have this problem because I use ruby to manage the system. > Looking back, and this is a shamelessly retrospective observation, > I generally lost interest in software during that period. I did too, mostly in the sense of tinkering. I need things to work and work reliably so. > Now, as shiny as Ubuntu is at this point, it still needs love to > flourish. It needs time and effort. It challenged and provoked me > to use the command line. I don't get this dude. The commandline is the most efficient way to handle things. Perhaps he is not competent with the commandline. > Things needed tweaking. Yes. So use Ruby. Or any other language to automate whatever you need to be done. > I had to work things out myself That is why you don't use Ubuntu! > Linux got me back on the roller coaster. Its simplicity, elegance and > imperfection. And at this point it fits perfectly with my state of > being, my willingness to learn and need to become better at what I do. What a strange person. I guess he never tried to go through a LFS/BLFS. I can recommend going through it - even if you only use it to learn, it can be super-helpful: http://www.linuxfromscratch.org/ Also it needs more contributors!
null
0
1545766401
False
0
ecjbs5t
t3_a9g8zw
null
null
t3_a9g8zw
/r/programming/comments/a9g8zw/how_linux_makes_me_better/ecjbs5t/
1548062028
-10
t5_2fwo
r/programming
public
null
False
victorestupadre
t2_98aq6
People that downvote this comment have not seen the promise over and over again. Give them another decade... There's no silver bullet, no free lunch, eventually everything sucks. Then we rewrite. Repeat.
null
0
1544510806
False
0
ebjsmgy
t3_a547tx
null
null
t1_ebjrr4o
/r/programming/comments/a547tx/react_native_is_it_really_the_future_of_mobile/ebjsmgy/
1547462243
4
t5_2fwo
r/programming
public
null
False
mrkite77
t2_4iq0c
> Mac OS and even Windows are more stable or slicker than any Linux DE. ChromeOS is technically a Linux DE, and it's far more stable and slicker than Windows or Mac OS. It is also the poster child for elegantly and seamlessly updating your OS.
null
0
1545766436
False
0
ecjbtu1
t3_a95jxj
null
null
t1_ecgp1vt
/r/programming/comments/a95jxj/the_420_kernel_has_been_released/ecjbtu1/
1548062049
1
t5_2fwo
r/programming
public
null
False
pseudoentropic
t2_c1zkp4i
I wonder how many potentially great programmers were turned away forever by this attitude. C is so unpleasant to use that it will serve more to dissuade beginners than anything else. We've come so far in terms of tooling, package management, memory safety, type systems, etc, why would we subject beginners to C? I get the impression that people who say beginners should learn C first are the same people who tell their kids they had to walk 5 miles uphill both ways to school.
null
0
1544510826
False
0
ebjsmzi
t3_a54748
null
null
t1_ebjqwpb
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjsmzi/
1547462249
16
t5_2fwo
r/programming
public
null
False
Andrioshe
t2_11khwc
Just started learning VIM only because of you. I saw your posts on reddit and tried vim (neovim) for the first time. I love it so far, there are many functions i have to learn but I think you guys did a very good work!
null
0
1545766468
False
0
ecjbvaz
t3_a9fg8h
null
null
t3_a9fg8h
/r/programming/comments/a9fg8h/spacevim_release_v100/ecjbvaz/
1548062067
38
t5_2fwo
r/programming
public
null
False
pseudoentropic
t2_c1zkp4i
Yep, I learned how to build an internal combustion engine from scratch before I learned to drive as well and I insist everyone else do the same.
null
0
1544510929
False
0
ebjspkg
t3_a54748
null
null
t1_ebjrgh3
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjspkg/
1547462281
7
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
It's quite short really. The thing is - and I said this before - people should not expect the JIT to do magic right now. Wait until 3.0. Here is an introduction: https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT#Basic-usage I think things will slowly improve over time - including how people can use the JIT successfully. For example, I myself don't know whether I should use the JIT anywhere. Since I am both lazy and a scaredy cat I will wait for others to test it; then I learn from them. :P
null
0
1545766503
False
0
ecjbwvu
t3_a9g38m
null
null
t1_ecj0w2k
/r/programming/comments/a9g38m/ruby_26_jit_progress_and_future/ecjbwvu/
1548062086
8
t5_2fwo
r/programming
public
null
False
Diark
t2_j29nm
No it's not that low level. Assembly would be equivalent to an internal combustion engine. C would be assembling the engine into a car. Now can you drive a car without knowing how to assemble it?. Yes you can. Would it be better to know what components a car has?. Yes so that incase of break down you know what might have caused it. Driving a car is still the objective, which can still be done without knowing the internals. It's just a bit better if you know what internals the car has.
null
0
1544511136
False
0
ebjsuop
t3_a54748
null
null
t1_ebjspkg
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjsuop/
1547462344
1
t5_2fwo
r/programming
public
null
False
ClickableLinkBot
t2_bc5klqt
##r/clojure --------------------------------------------- ^(For mobile and non-RES users) ^| [^(More info)](https://np.reddit.com/r/botwatch/comments/6xrrvh/clickablelinkbot_info/) ^| ^(-1 to Remove) ^| [^(Ignore Sub)](https://np.reddit.com/r/ClickableLinkBot/comments/9wy10w/ignore_list/)
null
0
1545766664
False
0
ecjc4pg
t3_a9hail
null
null
t3_a9hail
/r/programming/comments/a9hail/the_art_of_tree_shaping_with_zippers_from_rclojure/ecjc4pg/
1548062183
1
t5_2fwo
r/programming
public
null
False
supercyberlurker
t2_wg1d4
A lot of people think hash maps are some big complex thing, and maybe implementing one from scratch is and one should understand how they work but *using* them is ridiculously easy.
null
0
1544511199
False
0
ebjsw5s
t3_a4ul7u
null
null
t3_a4ul7u
/r/programming/comments/a4ul7u/what_common_misunderstandings_do_people_have/ebjsw5s/
1547462362
2
t5_2fwo
r/programming
public
null
False
orthoxerox
t2_cyj90
On the other hand, Lombok has `@Value` for making immutable objects with value semantics. And `@NonNull`. Not as good as Kotlin, but much better than vanilla Java.
null
0
1545766835
False
0
ecjcd0x
t3_a956qz
null
null
t1_echnwat
/r/programming/comments/a956qz/java_language_architect_brian_goetz_on_java_and/ecjcd0x/
1548062286
1
t5_2fwo
r/programming
public
null
False
LissaGreense
t2_16x3jfan
Great article ;)
null
0
1544511221
False
0
ebjswpb
t3_a544ls
null
null
t3_a544ls
/r/programming/comments/a544ls/understand_arraymap_in_javascript_by_rolling_your/ebjswpb/
1547462369
2
t5_2fwo
r/programming
public
null
False
TunaLobster
t2_aimtl
The gist of what I know is look for rm -rf / and downloading extra stuff with curl or wget.
null
0
1545766998
False
0
ecjcl0h
t3_a9eefg
null
null
t1_ecj50t8
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecjcl0h/
1548062414
1
t5_2fwo
r/programming
public
null
False
kasperpeulen
t2_ii3zp
I disagree, Flutter has more potential.
null
1
1544511261
False
0
ebjsxnd
t3_a547tx
null
null
t1_ebjrhsk
/r/programming/comments/a547tx/react_native_is_it_really_the_future_of_mobile/ebjsxnd/
1547462409
3
t5_2fwo
r/programming
public
null
False
lorarc
t2_zlcgl
My father told me how he could fix his car with a hammer and a wrench, I had to do it with my first car too, now I have younger friends who don't know how their cars work...And I'm happy for them. My father's car broke on every bigger trip, mine broke every few months, cars these days don't break so often and I'd rather have that than forced to repair it all the time.
null
0
1545767026
False
0
ecjcmaz
t3_a90xot
null
null
t1_ecibvcn
/r/programming/comments/a90xot/making_a_game_in_turbo_pascal_302/ecjcmaz/
1548062431
1
t5_2fwo
r/programming
public
null
False
dpash
t2_5bdkm
It's a shame that they created eagerly evaluated versions of map/filter etc. It makes some operations far less efficient. Compare var array = [1, 2, 3, 4, 5] var foundEven = array.map(e => e * 2) .some(e => e % 2 === 0) vs var list = List.of(1, 2, 3, 4, 5); var foundEven = list.stream() .map(e -> e * 2) .anyMatch(e -> e % 2 == 0); In JavaScript the `map` function will run five times. In Java it'll run just once. (Sorry if I got the JavaScript example wrong; it's not my primary language and I'm on my phone)
null
0
1544511456
1544511720
0
ebjt2dy
t3_a544ls
null
null
t3_a544ls
/r/programming/comments/a544ls/understand_arraymap_in_javascript_by_rolling_your/ebjt2dy/
1547462468
1
t5_2fwo
r/programming
public
null
False
sinedpick
t2_ksuu9
I find it best to learn these things by experiencing the need for them and reasoning out a solution, rather than reading an article about it. Still a good article, though.
null
0
1545767168
False
0
ecjcsv5
t3_a968wy
null
null
t3_a968wy
/r/programming/comments/a968wy/understanding_throttling_and_debouncing/ecjcsv5/
1548062512
1
t5_2fwo
r/programming
public
null
False
SauronsUnderpants
t2_6mn92
4GL = Fourth generation languages. It's a term that is not used a lot any more, since the dream about having any actual improvement in language design has been pretty much dead for decades in the larger software developer community. The idea went that language design has been moving further away from matching the underlying processor model and grouped languages into four broad generations based on this idea: First generation = Assembly. Second generation = Simple compiled languages, still closely matching computer internals. (Basic, B, Fortran, C) Third generation = More complex languages using more abstract constructs that do not map as directly to to underlying metal. (Java, C#, Python etc) Fourth genration = Languages that in a sense *only* have abstract concepts that specify what to calculate but not how. SQL is the classic example.
null
0
1544511544
False
0
ebjt4hc
t3_a4zp2m
null
null
t1_ebjp00z
/r/programming/comments/a4zp2m/boolean_short_circuiting_is_not_guaranteed_in_sql/ebjt4hc/
1547462494
12
t5_2fwo
r/programming
public
null
False
suhcoR
t2_rzwyn0
Thanks.
null
0
1545767220
False
0
ecjcvc4
t3_a9g38m
null
null
t1_ecjbwvu
/r/programming/comments/a9g38m/ruby_26_jit_progress_and_future/ecjcvc4/
1548062543
1
t5_2fwo
r/programming
public
null
False
phillipcarter2
t2_gxfjqq4
...unless you end up using a language that isn't C-style, in which case things will very much _not_ follow.
null
0
1544511586
False
0
ebjt5ib
t3_a54748
null
null
t1_ebjqwpb
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjt5ib/
1547462506
13
t5_2fwo
r/programming
public
null
False
CelloAxeMurder
t2_q5pre
Go's GC is pretty primitive, being based pretty much on \~1970 design.
null
1
1545767439
False
0
ecjd5yf
t3_a9gej5
null
null
t3_a9gej5
/r/programming/comments/a9gej5/avoiding_high_gc_overhead_with_large_heaps/ecjd5yf/
1548062674
-4
t5_2fwo
r/programming
public
null
False
SauronsUnderpants
t2_6mn92
What? A declarative language that does not care about the order of my clauses? I'm SHOCKED! SHOCKED! /s
null
0
1544511849
False
0
ebjtbu7
t3_a4zp2m
null
null
t3_a4zp2m
/r/programming/comments/a4zp2m/boolean_short_circuiting_is_not_guaranteed_in_sql/ebjtbu7/
1547462584
20
t5_2fwo
r/programming
public
null
False
GoranM
t2_94uoz
> Basically it seemed that NetThings UK Ltd made remote controlled thermostats and lighting controllers for large retail spaces etc. and their devices had one of BitFolk’s IP addresses burnt into them at the factory. And they could not be identified or remotely updated. Oh, and whatever these devices were, without an external time source their clocks would start to noticeably drift within 2 weeks. I'm surprised that it only takes 2 weeks. Upon further research, it seems that most computers have a lot of trouble keeping accurate time internally, and therefore depend on sync over NTP more frequently than I originally assumed. I'm equally surprised by the fact that, apparently, having someone flip a switch, to turn on a light, at a particular time, is so inefficient, to where automating it (with complicated computer systems, which depend on external networks) is considered worthwhile.
null
0
1545767457
False
0
ecjd6to
t3_a9ezut
null
null
t3_a9ezut
/r/programming/comments/a9ezut/the_internet_of_unprofitable_things/ecjd6to/
1548062684
50
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
Mozilla gave up in the browser competition runs several years ago, so it is no surprise that old bugs are not fixed. Mozilla isn't even able to use sane build systems either. http://www.linuxfromscratch.org/blfs/view/cvs/xsoft/firefox.html Look at the dependency on an ancient autoconf and then tell me why other large software code bases out there are able to have sane build systems. I read that the next major qt release will use cmake. Mozilla gave up when they became a PR promo organization. How could you trust someone to claim how they will obliterate adChromium all the while as Google pays them to prioritize Google for the search result? They pour more resources into Rust, so of course firefox is no longer their priority. > Whenever users try to leave, the owners of these shady sites trigger the authentification > modal in a loop This is a serious defect in UI design to begin with - the mere thought that the browser should do whatever random idiot wrote in a remote site. For example, disable right click or disable scrolling behaviour. I don't think random remote authors should be able to dictate such behaviour onto what MY browser renders with MY money. Why would I want to pay for being crippled by my browser?
null
0
1544511918
False
0
ebjtdfq
t3_a549og
null
null
t3_a549og
/r/programming/comments/a549og/malicious_sites_abuse_11yearold_firefox_bug_that/ebjtdfq/
1547462604
-29
t5_2fwo
r/programming
public
null
False
lorarc
t2_zlcgl
\[\] == \[\] equals false {} == {} equals false \[\] == {} equals false {} == \[\] equals syntax error ​ I would expect all of them to return false. I might have used a wrong example but you know that many operators in js aren't reversible. ​
null
0
1545767495
False
0
ecjd8ng
t3_a90xot
null
null
t1_ecgnsw5
/r/programming/comments/a90xot/making_a_game_in_turbo_pascal_302/ecjd8ng/
1548062707
1
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
Now we understand why left-pad became so widely used.
null
0
1544511970
False
0
ebjtep5
t3_a544ls
null
null
t3_a544ls
/r/programming/comments/a544ls/understand_arraymap_in_javascript_by_rolling_your/ebjtep5/
1547462619
-1
t5_2fwo
r/programming
public
null
False
julesjacobs
t2_1vbw
Yeah, although the exact correspondence between loops in the DFA and Kleene stars in the regular expression might be complicated, because given a regular language neither the DFA nor the regular expression is unique.
null
0
1545767626
False
0
ecjdez3
t3_a9d94p
null
null
t1_ecj668p
/r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecjdez3/
1548062785
2
t5_2fwo
r/programming
public
null
False
tulipoika
t2_zczahne
The car analogy is great. Just like languages and computers cars have gone from “I’ll just change the spark plug myself” to “guess it’s time to take it to service.” Very few could actually fix the car even if they knew what the problem was and knowing it doesn’t help much. You still need a mechanic. The same with languages. You want to get stuff done? Do it. With any language you want/know. Python is great to begin with. So many people are doing great things in science, for example, without knowing how memory management works, or if their code is the bestest ever. It’s the end result that matters. If you had forced these people to go through C first you’d have a lot less science in this world. And that’s not ok. And even if you go “no but the actual coders...” it’s not ok. They’re coding real things. And they don’t need C. It’s useful for a programmer to know how computers work. C isn’t always useful and doesn’t always help with that. It does help with pushing people away from programming.
null
0
1544511987
False
0
ebjtf34
t3_a54748
null
null
t1_ebjsuop
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjtf34/
1547462624
8
t5_2fwo
r/programming
public
null
False
julesjacobs
t2_1vbw
Proving that a regular expression has only finitely many different derivatives is fairly easy by induction on the syntax of regular expressions, and this gives you an explicit and efficient algorithm for computing the DFA of a regular expression. The most intuitive proof I know is the following. Given a regex you first exhaustively apply the rule (A+B)C = AC+BC to push things inside +. This puts your regex in the form union of sequence of (char or kleene star of regex). Doing this is not necessary but putting it in this normal form lowers the number of cases you have to check. The derivative D\_c with respect to c does: D\_c(A + B) -> D\_c(A) + D\_c(B) D\_c(dR) -> R if d=c and 0 otherwise D\_c(A\* B) -> D\_c(A) A\* B + D\_c(B) This fully defines it on normal forms. The only case that might create an infinite number of derivatives is the A\* B case, but if we assume by induction that A only has finitely many derivatives it's easy to see that A\* B also only has finitely many different derivatives, because D^(n)(A\* B) only creates new terms of the form D^(n)(A) A\* B and by the induction hypothesis there are only finitely many different D^(n)(A). Another way to do it is to define the conversion regex -> DFA directly by recursion on the syntax of the regex. Simplifying, a DFA is a pair of a state space and a step function (S,f). Given (S1,f1) for regex A and (S2,f2) for regex B you can define (S1 x S2, g) where g\_c(s1,s2) = (f1\_c(s1),f2\_c(s2)) as the DFA for A + B, and similarly for all other regex constructs.
null
0
1545767645
1545770526
0
ecjdfvz
t3_a9d94p
null
null
t1_ecijjfv
/r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecjdfvz/
1548062796
0
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> In JavaScript the map function will run five times. What a clown language if this statement is true. I can't know myself since I very happily avoid learning this joke of a language but to me .map always implies a single iteration, like in ruby. Can't we get rid of the javascript monopoly?
null
0
1544512054
False
0
ebjtgqz
t3_a544ls
null
null
t1_ebjt2dy
/r/programming/comments/a544ls/understand_arraymap_in_javascript_by_rolling_your/ebjtgqz/
1547462645
-12
t5_2fwo
r/programming
public
null
False
driusan
t2_bvkul
Stockholm syndrome does not make you a better programmer.
null
1
1545767665
False
0
ecjdgv8
t3_a9g8zw
null
null
t3_a9g8zw
/r/programming/comments/a9g8zw/how_linux_makes_me_better/ecjdgv8/
1548062809
2
t5_2fwo
r/programming
public
null
False
Auburus
t2_bmzso
Clickbait title. Despite that and despite the bug being mostly inconvenient more than harmful, I do agree that it is something that _ideally_ should have been fixed by now. Oh well, it'll probably get fixed when https everywhere becomes a thing.
null
0
1544512089
False
0
ebjthm2
t3_a549og
null
null
t3_a549og
/r/programming/comments/a549og/malicious_sites_abuse_11yearold_firefox_bug_that/ebjthm2/
1547462656
13
t5_2fwo
r/programming
public
null
False
sinedpick
t2_ksuu9
welcome to Google! We push new shit really, really hard but drop it even quicker, when we find something newer and cooler! Isn't it great?
null
0
1545767828
False
0
ecjdojv
t3_a9elh1
null
null
t1_eciwron
/r/programming/comments/a9elh1/the_gift_of_giving_up/ecjdojv/
1548062903
35
t5_2fwo
r/programming
public
null
False
gedankenlos
t2_15uwwo
I was curious and read your source. It has been a long time since I have written any C++ - can you give me a hint what kind of expression [this "[&](auto& ctx){...}"](https://github.com/octobanana/stig/blob/master/src/stig/stig.cc#L147) is?
null
0
1544512089
False
0
ebjthm5
t3_a53282
null
null
t1_ebjhqes
/r/programming/comments/a53282/stig_a_cli_tool_for_searching_github_from_the/ebjthm5/
1547462656
3
t5_2fwo
r/programming
public
null
False
lorarc
t2_zlcgl
I can't remember when was the last time I did any scripting outside of work that wasn't cause by programming being my hobby. I think I made a short script to convert subtitles from one format to another but that was like a decade ago. And I can't think when anyone I know outside IT had to do something that couldn't be solved with Excel.
null
0
1545767868
False
0
ecjdqge
t3_a90xot
null
null
t1_ecghtkj
/r/programming/comments/a90xot/making_a_game_in_turbo_pascal_302/ecjdqge/
1548062927
1
t5_2fwo
r/programming
public
null
False
AngularBeginner
t2_eky8x
No, it will really not.
null
0
1544512114
False
0
ebjti9n
t3_a4ym6s
null
null
t3_a4ym6s
/r/programming/comments/a4ym6s/flutter_will_change_everything_and_apple_wont_do/ebjti9n/
1547462663
2
t5_2fwo
r/programming
public
null
False
13steinj
t2_i487l
A segfault is caused by any illegal use of memory. The three main types of "laws", or permissioms, are execution, reading, and writing. If you do one on memory you aren't allowed to, you segfault. Including but not limited to * reading from the page of lowest values, usually 0-4096 * reading from an OS-based group that defines the lowest pages * the two above, but a write not a read * executing raw machine code that you have as bytes on the heap that aren't under the execute protection Thus just about any language that is built on such semantics can segfault. And because x86/64 works on these semantics, thus so does at least one variation of C with a specific libc, and so does bash. Chance of segfaulting in bash is low though. Not sure if it's higher or lower than getting a segfault in Python. Either way not fun.
null
0
1545768008
False
0
ecjdwz9
t3_a9eefg
null
null
t1_eciq1p1
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecjdwz9/
1548063037
3
t5_2fwo
r/programming
public
null
False
fet-o-lat
t2_8tx8i
Doesn’t take several seconds to load JavaScript libraries and client-side render page components you don’t need. No nag for push notifications or subscribing to a newsletter. Simpler times.
null
0
1544512171
False
0
ebjtjlc
t3_a4vzev
null
null
t1_ebilp6j
/r/programming/comments/a4vzev/how_i_created_a_bot_that_plays_castlevania_nes/ebjtjlc/
1547462680
22
t5_2fwo
r/programming
public
null
False
mister____mime
t2_f6th7
Don’t you want to solve the monkey banana problem?
null
0
1545768111
False
0
ecje1qr
t3_a9da04
null
null
t1_ecignl0
/r/programming/comments/a9da04/learn_prolog_now/ecje1qr/
1548063096
6
t5_2fwo
r/programming
public
null
False
AbstractButtonGroup
t2_uq5ia5l
My feelings on Python are mixed. I do use it at work where I must, but avoid it where I can. The reason being that while I do not hate it with passion, I do not get any pleasure from coding in it (for reasons too long and convoluted to list here). Therefore I, personally, would not advise to anyone learning Python as their first programming language. But that's just my personal opinion.
null
0
1544512282
False
0
ebjtmeq
t3_a54748
null
null
t3_a54748
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjtmeq/
1547462715
1
t5_2fwo
r/programming
public
null
False
MrCalifornian
t2_8xba1
Yeah true origin is important.
null
0
1545768126
False
0
ecje2er
t3_a95jxj
null
null
t1_ecimrow
/r/programming/comments/a95jxj/the_420_kernel_has_been_released/ecje2er/
1548063104
1
t5_2fwo
r/programming
public
null
False
lawandordercandidate
t2_14okl0
yikes. can you not really tell the difference between security protocols and policies? i recommend reading Practical Unix & Internet Security, 3rd Edition it might clear up some things for you
null
0
1544512429
False
0
ebjtq5s
t3_a477c9
null
null
t1_ebjrsei
/r/programming/comments/a477c9/how_linode_screwed_me/ebjtq5s/
1547462761
1
t5_2fwo
r/programming
public
null
False
Zee2
t2_7did8
What marks bytes on the heap as executable? I know you can arbitrarily execute machine code on the stack without any restrictions as long as it's in-page.
null
0
1545768146
False
0
ecje3aj
t3_a9eefg
null
null
t1_ecjdwz9
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecje3aj/
1548063115
1
t5_2fwo
r/programming
public
null
False
dakotahawkins
t2_31rbs
It's a [lambda](https://en.cppreference.com/w/cpp/language/lambda) that captures everything by reference and takes one parameter by reference whose type is deduced by the compiler (`auto`) They're pretty great, though I probably wouldn't capture everything by reference (`[&]`, though not sure if required for this case -- didn't look too hard) ~~and I'd make the parameter const (like `const auto& ctx`)~~
null
0
1544512437
1544517801
0
ebjtqe9
t3_a53282
null
null
t1_ebjthm5
/r/programming/comments/a53282/stig_a_cli_tool_for_searching_github_from_the/ebjtqe9/
1547462764
3
t5_2fwo
r/programming
public
null
False
nikanjX
t2_4kg4n
I’m not sure how I made it sound bad in the first place
null
0
1545768288
False
0
ecje9x5
t3_a8kwz8
null
null
t1_ecj4y6y
/r/programming/comments/a8kwz8/raw_string_literals_removed_from_java_12_as/ecje9x5/
1548063198
1
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> Python has a simple syntax as compared other popular languages > such as C++. Python is a fine language. Ruby is better but it is fine to use Python too. However had, this statement goes on my nerve. Yes, python has a lightweight syntax compared to C++. C++ has to have you invest time to tell the compiler which types go where. That in itself inflates the syntax. As shitty as C++ can be (it is pretty shitty), the end result will be so much faster than Python. So the comment is really really really unfair - yes, python has the better syntax, we all know that. Ruby's syntax is even better. But when you use C++, I am pretty sure your goal will be to be faster than any equivalent python code written here. So the comment is really really unfair. > Advanced tasks: Python can handle advanced tasks That's a pointless statement since these languages are turing complete, so you can do whatever you want to do in one and the other. > Web Development Possible: Python has great frameworks Also pointless. I use ruby on the web too but without using any of the existing web-frameworks (obviously I also wrote a lot of web-related code). So if you can do so , you can do this in other languages. You would not use C++ for this. It's too much work. The syntax is also way too heavy. Web applications will not be described in C++ unless you really really need some speed - but not at the front end. > High Salary of Python Developer Quite frankly - it is a metric we can understand. But it is a pretty HORRIBLE reason to want to learn a language merely because you want more money. > Python is the fastest programming language that can deal > with big data. Yet you will still be faster with C++. As odd as it is but I think the best language to start with will be C. C is much harder than python but you can learn python lateron anyway. While I myself use ruby just about every day, I think C is the single most important programming language. You cana lso think about it why ruby, perl, python etc... linux kernel are all written predominantly in C. Or on which language C++ is based on (and compatible).
null
0
1544512478
False
0
ebjtrga
t3_a54748
null
null
t3_a54748
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjtrga/
1547462778
2
t5_2fwo
r/programming
public
null
False
NooBJeff
t2_ey09q
This is serious, they are potentially destroying others business. I personally will not touch this framework ever...
null
0
1545768306
False
0
ecjeaqc
t3_a9hs3u
null
null
t3_a9hs3u
/r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecjeaqc/
1548063207
167
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
Hah! I just wrote almost the same ... So yeah, I agree with you. You can learn python lateron at any moment in time very easily, but learning C after you learned e. g. ruby or python is so much harder.
null
0
1544512519
False
0
ebjtsie
t3_a54748
null
null
t1_ebjqwpb
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjtsie/
1547462790
2
t5_2fwo
r/programming
public
null
False
delight1982
t2_spv3t
It's agile I guess
null
0
1545768396
False
0
ecjeeq5
t3_a9elh1
null
null
t1_ecjdojv
/r/programming/comments/a9elh1/the_gift_of_giving_up/ecjeeq5/
1548063257
13
t5_2fwo
r/programming
public
null
False
k0t0n0
t2_avbmg
downvote for Clickbait title.
null
1
1544512541
False
0
ebjtt2o
t3_a549og
null
null
t3_a549og
/r/programming/comments/a549og/malicious_sites_abuse_11yearold_firefox_bug_that/ebjtt2o/
1547462797
2
t5_2fwo
r/programming
public
null
False
Aeon_Mortuum
t2_j5t1a
/r/NotKenM
null
0
1545768435
False
0
ecjegfd
t3_a9e0a5
null
null
t1_ecir7wj
/r/programming/comments/a9e0a5/programming_a_problemorientedlanguage/ecjegfd/
1548063277
11
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
The thing is - you can learn python lateron anyway. But you may not learn C lateron. For example, I used to learn/read books about: - perl - C++ - php - ruby - python In this order. I am using ruby these days the most although I also use python though less than I do ruby. But I can also tell you that I do not want to learn/master C because it feels so shitty and inferior to ruby - at the same time, C is so incredibly important. Literally all the awesome stuff is written in C. And I don't feel like learning it properly because it is such a horrible language compared to ruby. This is why people should learn C first. It's not pleasant but it is important. > We've come so far in terms of tooling, package management, > memory safety, type systems, etc, why would we subject beginners to C? Because C is important.
null
0
1544512682
False
0
ebjtwjd
t3_a54748
null
null
t1_ebjsmzi
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjtwjd/
1547462839
-8
t5_2fwo
r/programming
public
null
False
Aeon_Mortuum
t2_j5t1a
Or learn about your ancestors
null
0
1545768485
False
0
ecjeinl
t3_a9da04
null
null
t1_ecje1qr
/r/programming/comments/a9da04/learn_prolog_now/ecjeinl/
1548063305
6
t5_2fwo
r/programming
public
null
False
MattyClutch
t2_5cm17
Well, we don't want outdated! Lets get a web 4.0 guru in here ASAP. Lots to do! Lets add Bootstrap - all the bootstraps!, a EU GDPR compliant modal, email list signup modal, *ENABLE LOCATION SERVICES?*, don't use adblock modal, several tons of JavaScript, *DO YOU WANT NOTIFICATIONS?*, 2mb of raw CSS styling, icons for tons of dead social media platforms, some of those fancy new HTML5 autoplay videos, and a **great big uncompressed background image**! The other web devs will be green with envy!
null
0
1544512703
1544512885
0
ebjtx1m
t3_a4vzev
null
null
t1_ebin5fa
/r/programming/comments/a4vzev/how_i_created_a_bot_that_plays_castlevania_nes/ebjtx1m/
1547462846
30
t5_2fwo
r/programming
public
null
False
dgryski
t2_3hcmx
The sorting algorithm is even older, based on ideas from 1960.
null
0
1545768490
False
0
ecjeivw
t3_a9gej5
null
null
t1_ecjd5yf
/r/programming/comments/a9gej5/avoiding_high_gc_overhead_with_large_heaps/ecjeivw/
1548063308
5
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
I fail to see the truth in this. Ruby and Python are very different to C-style - and both are better syntax-wise than C too. The area where C obliterates both is speed.
null
0
1544512722
False
0
ebjtxi6
t3_a54748
null
null
t1_ebjt5ib
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjtxi6/
1547462852
-5
t5_2fwo
r/programming
public
null
False
13steinj
t2_i487l
Well it's moreso that you gave a code snippet to arbitrarily download and run something from the internet. Someone new would probably do this without thinking. But in reality a malicous actor (not you) would do the same thing. The only difference here is I doubt you control the content of that script. Generally when giving snippets like that its good to * provide a direct link that can be clicked and examined, in case someone wants to (it's not clickable, and while copypasta to the url bar is minimal effort people are lazy) * encourage someone to examine the link yourself * never link to some tree reference, always use a link to a specific commit. This minimizes the chance of screwing people over after your comment is made and the original author or another actor changes the content that the link is to be some script that say, gains root due to an issue in X11 and then wipes the drive. E: the first four words and markdown marker were unrelated and made my comment confusing. I have no idea why they were there. I probably accidentally pasted something on my clipboard.
null
0
1545768527
1545883663
0
ecjekkm
t3_a9eefg
null
null
t1_eciw1gt
/r/programming/comments/a9eefg/the_linux_way_of_wishing_christmas/ecjekkm/
1548063329
2
t5_2fwo
r/programming
public
null
False
Jataman606
t2_rm6rq
Im conflicted on claims like this. I think it boils down to what you are trying to teach. Like you will never learn how actually computer works inside, if you use python. But at the same time its a real hassle to learn algorithms in C, when you have to implement maps, lists or trees.
null
0
1544512740
False
0
ebjtxyq
t3_a54748
null
null
t3_a54748
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjtxyq/
1547462857
2
t5_2fwo
r/programming
public
null
False
mimerkki
t2_2k4qhcf7
I also HATE Pumping Lemma
null
0
1545768689
False
0
ecjermw
t3_a9d94p
null
null
t3_a9d94p
/r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecjermw/
1548063417
-1
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> The future of the technology will rely on Artificial Intelligence. THERE IS NO AI AS OF TODAY. No true intelligence in any of these systems.
null
0
1544512748
False
0
ebjty5k
t3_a54748
null
null
t1_ebjr3zz
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjty5k/
1547462859
-1
t5_2fwo
r/programming
public
null
False
lorarc
t2_zlcgl
Same although actually I made it into second year at Uni before it was explained to me in, like, 30 seconds. Two semester of math and noone cared to explain it and I was so opposed to having to learn that that I didn't even try looking for an explanation elsewhere.
null
0
1545768721
False
0
ecjet2w
t3_a9d94p
null
null
t1_ecjatkh
/r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecjet2w/
1548063435
4
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
The analogy fails because you can build EVERYTHING via C. So not "just" a combustion engine but literally everything, in your short-sighted analogy. Ruby and Python are written in C for a reason - as is a lot of other software.
null
0
1544512796
False
0
ebjtzc4
t3_a54748
null
null
t1_ebjspkg
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebjtzc4/
1547462875
-2
t5_2fwo
r/programming
public
null
False
cinyar
t2_24es8maw
Nah dude, that's just the xmas alcohol talking.
null
0
1545768743
False
0
ecjeu1c
t3_a9d94p
null
null
t1_ecijkbj
/r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecjeu1c/
1548063447
1
t5_2fwo
r/programming
public
null
False
dpash
t2_5bdkm
Ruby by default is eager. You have to remember to ask for lazy evaluation: irb(main):005:0> array.map { |x| puts x; x * 2 }.any? { |x| x % 2 == 0 } 1 2 3 4 5 => true irb(main):006:0> array.lazy.map { |x| puts x; x * 2 }.any? { |x| x % 2 == 0 } 1 => true From what I remember, Perl is eager.
null
0
1544512850
False
0
ebju0pa
t3_a544ls
null
null
t1_ebjtgqz
/r/programming/comments/a544ls/understand_arraymap_in_javascript_by_rolling_your/ebju0pa/
1547462891
5
t5_2fwo
r/programming
public
null
False
mimerkki
t2_2k4qhcf7
This is most likely the case for all of us who dislike it.
null
0
1545768776
False
0
ecjevhe
t3_a9d94p
null
null
t1_eciipnn
/r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecjevhe/
1548063465
6
t5_2fwo
r/programming
public
null
False
Jataman606
t2_rm6rq
If driving car is your profession then you should know at least basics. Noone says you need to know assembly to write simple JS scripts.
null
0
1544512856
False
0
ebju0vc
t3_a54748
null
null
t1_ebjspkg
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebju0vc/
1547462894
1
t5_2fwo
r/programming
public
null
False
cinyar
t2_24es8maw
So you don't even have the balls to stand by what you said? Pathetic...
null
0
1545768883
False
0
ecjf077
t3_a9d94p
null
null
t1_ecihhj0
/r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecjf077/
1548063524
7
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
The car analogy is awful. You can build anything via C - look around, open your eyes. Unix. Linux? 500 out of 500 supercomputers run Linux. Python, ruby, perl, lua ... php. All written in C. These are not "accidents". C is ranked #2 on TIOBE. I am sorry but to claim that C is irrelevant is rubbish. And that analogy is rubbish too - you can build cars, houses, airplanes!
null
0
1544512903
False
0
ebju1zw
t3_a54748
null
null
t1_ebjtf34
/r/programming/comments/a54748/top_5_reasons_to_learn_python_as_your_first/ebju1zw/
1547462908
-4
t5_2fwo
r/programming
public
null
False
mattgen88
t2_4jm3y
Vet your dependencies. Review code before use.
null
1
1545768925
False
0
ecjf1zx
t3_a9hs3u
null
null
t3_a9hs3u
/r/programming/comments/a9hs3u/the_ant_design_christmas_egg_that_went_wrong/ecjf1zx/
1548063546
-32
t5_2fwo
r/programming
public
null