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
|
Alokat7r
|
t2_w9pak
|
You can also check my article on this video
[https://medium.com/@aloka…/how-javascript-works-380456931478](https://medium.com/@alokat7r/how-javascript-works-380456931478?fbclid=IwAR2rzMQW3veJeuQKWGx9Di9Dy9n6INfLJw1-LYsipwsvSQeei7wdtRc-LM4)
| null |
0
|
1544250919
|
False
|
0
|
ebcaz9t
|
t3_a48fvj
| null | null |
t3_a48fvj
|
/r/programming/comments/a48fvj/how_javascript_works_lets_understand_in_a_quick/ebcaz9t/
|
1547336168
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TankorSmash
|
t2_4fqx0
|
Yeah, a lot of nice people offering a bunch of different approaches, it is very informative.
| null |
0
|
1545410165
|
False
|
0
|
ec9d6vr
|
t3_a80lqp
| null | null |
t1_ec9d33g
|
/r/programming/comments/a80lqp/announcing_rust_1311/ec9d6vr/
|
1547894285
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lelanthran
|
t2_pnmpo0f
|
> how is that irrelevant? that's like saying if i built a house and rented it out, and the renter told the government he owns it, because he's paying for it, its legitimate.
Actually, yes. If you built a house, and then rented it out, then renter "owns" the house exclusively for the period of the lease[1] or as long as he keeps paying the rent (which is what linode determined - who is paying the rent?)
As the owner, you don't have any rights to the house[2], you cannot enter the house, you cannot use the house, you cannot invite your friends to the house. All you can do is sell the house (and the lease agreement might even continue after the sale!)
[1] The renter can legitimately and legally call the house his own and such a thing is frequently done.
[2] Until the lease agreement is violated, at which point you can evict the occupant.
| null |
0
|
1544250943
|
False
|
0
|
ebcazut
|
t3_a477c9
| null | null |
t1_ebc8ntv
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcazut/
|
1547336177
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chugga_fan
|
t2_raasi
|
> C++ didn't have much of a standard library for 20 years.
It had at a minimum the C standard library, something more complete somehow than the javascript standard library.
> Java's has made every possible interface and library mistake and all are now permanently baked into the standard library.
C#, Python, Ruby, D, etc. all have their own STDLIB and don't fuck up time as well. And btw, Java can deprecate their shit to fix things.
| null |
0
|
1545410211
|
False
|
0
|
ec9d99i
|
t3_a89y3r
| null | null |
t1_ec9cnlk
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9d99i/
|
1547894314
|
15
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lawandordercandidate
|
t2_14okl0
|
> any rights to the house[2], you cannot enter the house, you cannot use the house, you cannot invite your friends to the house. All you can do is sell the house (and the lease agreement might even continue after the sale!)
right, but the renter cant take the house for good.
| null |
0
|
1544251022
|
False
|
0
|
ebcb1vt
|
t3_a477c9
| null | null |
t1_ebcazut
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcb1vt/
|
1547336202
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Er_Coues
|
t2_wfu1z
|
#Legend
| null |
0
|
1545410219
|
False
|
0
|
ec9d9mg
|
t3_a8bhjj
| null | null |
t1_ec9bzwo
|
/r/programming/comments/a8bhjj/public_updates_to_java_se_will_end_starting/ec9d9mg/
|
1547894319
|
-7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
IceSentry
|
t2_cqjq2
|
I'd say jetbrain ide are good despite being written in java. They offer really nice features, but the fact that it's written in java is not the reason why people use them.
| null |
1
|
1544251064
|
False
|
0
|
ebcb2zy
|
t3_a45jvw
| null | null |
t1_ebc4zql
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcb2zy/
|
1547336215
|
-3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mrbonner
|
t2_8bsa0
|
You don’t attack the person, you attack the problem. Wait, what if this person is the problem 😂?
| null |
0
|
1545410229
|
False
|
0
|
ec9da4u
|
t3_a80lqp
| null | null |
t1_ec80u1h
|
/r/programming/comments/a80lqp/announcing_rust_1311/ec9da4u/
|
1547894324
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Paradox
|
t2_1t9b
|
Thats Gruber for you
| null |
1
|
1544251262
|
False
|
0
|
ebcb8ii
|
t3_a45jvw
| null | null |
t1_ebbs6s4
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcb8ii/
|
1547336284
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ThePowerfulSquirrel
|
t2_89piy
|
Well, as the presenter himself said, you can achieve even lower latency in other languages. So it's not just that they can do it in another language, it's that they can do it better in that other languages. I'd also be very much surprised if most banks / IB's / HFT firms don't already have infrastructure up to support c++ since they all (or at least the vast majority) use it already.
| null |
0
|
1545410268
|
False
|
0
|
ec9dc3t
|
t3_a8aels
| null | null |
t1_ec9cw7g
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/ec9dc3t/
|
1547894349
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pleb_nz
|
t2_i3a02
|
They already have and it's on its way already. JavaScript will no longer required to write web apps.
| null |
1
|
1544251621
|
False
|
0
|
ebcbi3r
|
t3_a45jvw
| null | null |
t1_ebbvt0c
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcbi3r/
|
1547336429
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kirbyfan64sos
|
t2_lzxoq
|
> "new kids on block"
macOS/BSD and Linux support path lengths of roughly 4x (~1000) and 16x (~4000) Windows's, respectively, and both have been around for a very long time.
| null |
0
|
1545410292
|
False
|
0
|
ec9ddad
|
t3_a89y3r
| null | null |
t1_ec9aipc
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9ddad/
|
1547894364
|
23
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kodablah
|
t2_3z4j8
|
Bad logic, replacing Electron's language isn't replacing Electron. Electron = JS + bunch of browser bullshit runtime. Replace JS w/ WASM and you have Electron = WASM + bunch of browser bullshit runtime.
| null |
0
|
1544251669
|
False
|
0
|
ebcbjel
|
t3_a45jvw
| null | null |
t1_ebc5rf1
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcbjel/
|
1547336445
|
21
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
filleduchaos
|
t2_7r81qd
|
I feel like I'm taking crazy pills here. Did your eyes just skip past all of
> Precisely. And **that restriction of virtually every other dependency/package manager** is that devs strive to
> - *make much more consistent interfaces for their libraries*
> - *treat breaking API changes as a really big deal, often maintaining old versions with different names only when absolutely necessary, so you can have mylib and mylib3*
> - *downstream users of a library will make their code work with more than one version when possible*, like:
try:
import mylib3 as mylib
except ImportError:
import mylib
> **That restriction forces the community to deal with it** and the dependency situation ends up being much cleaner.
? What do you imagine the listed points were talking about? You're replying as though that last fragment was the entire comment.
| null |
0
|
1545410310
|
False
|
0
|
ec9de7o
|
t3_a89y3r
| null | null |
t1_ec9d428
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9de7o/
|
1547894403
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
dv_
|
t2_3v0o3
|
True. I remember coding in DOS as a kid, and the VGA mode 13h was magical. "Just" a framebuffer, but because of that, it was super flexible. Furthermore, one pixel one byte was so nice to work with, and the colors it's could reproduce were good enough for great looking pixel art. And it ended up being used for Doom etc.
| null |
0
|
1544251778
|
False
|
0
|
ebcbm9f
|
t3_a44xl7
| null | null |
t1_ebc7rp8
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebcbm9f/
|
1547336480
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SoundCheetah
|
t2_fo9z2
|
Yeah, the main complaint by the author was just the number of directories it creates? Which makes it hard to copy/paste? You shouldn’t be copying your node_modules around anyways. Use source control and re-install from the new hard drive. Or delete node_modules before copying your project around. It’s not that hard
| null |
0
|
1545410331
|
False
|
0
|
ec9dfb9
|
t3_a89y3r
| null | null |
t1_ec95leg
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9dfb9/
|
1547894417
|
19
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lelanthran
|
t2_pnmpo0f
|
> right, but the renter cant take the house for good.
Yes, and the renter *isn't* taking the house for good from the owner - Linode still owns that house[1].
The problem is that *you* aren't the owner: you rented the house from Linode, and then someone else rented the house from you (subletted sounds like a nice word here).
Now the owner (Linode) has to decide which of the two people (who claim to be renters) gets to stay in the house, and they decided to let the one who is paying the rent stay.
This is why it sounds legitimate to me - if you are paying rent on a property, should the owner be able to simply kick you out and give that property to someone else?
To me it looks like Linode chose the correct path - whoever is paying the rent gets the house.
You should use this as a good lesson for the future - always be the one to pay the rent to the owner, even if you sublet. If you want to pass the cost on to someone else, then get them to pay you, and then you pay the rent.
[1] I'm sticking with that analogy 'cos it's a good one in this context.
| null |
0
|
1544251806
|
False
|
0
|
ebcbmym
|
t3_a477c9
| null | null |
t1_ebcb1vt
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcbmym/
|
1547336489
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Red_Iron_8
|
t2_2tt4klsq
|
At least this is direct
| null |
0
|
1545410370
|
False
|
0
|
ec9dh8k
|
t3_a8bhjj
| null | null |
t1_ec9bzwo
|
/r/programming/comments/a8bhjj/public_updates_to_java_se_will_end_starting/ec9dh8k/
|
1547894441
|
-7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
darkclaw6722
|
t2_few41
|
> git document
| null |
0
|
1544251821
|
False
|
0
|
ebcbnc1
|
t3_a3twpj
| null | null |
t1_eb93kxg
|
/r/programming/comments/a3twpj/microsoft_created_a_git_document_of_goals_and/ebcbnc1/
|
1547336494
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
awegge
|
t2_pstsf
|
> I provided two counterexamples (Ruby and Python) demonstrating that this is false. It doesn't end up being cleaner, it actually ends up a lot worse.
You really just described how easy Django and Rails easily develop into dumpster fires.
| null |
0
|
1545410410
|
False
|
0
|
ec9djdf
|
t3_a89y3r
| null | null |
t1_ec9d428
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9djdf/
|
1547894467
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lawandordercandidate
|
t2_14okl0
|
> You should use this as a good lesson for the future - always be the one to pay the rent to the owner, even if you sublet. If you want to pass the cost on to someone else, then get them to pay you, and then you pay the rent.
Then why did Digital Ocean deny his request to lock me, the account owner, out?
| null |
0
|
1544251930
|
False
|
0
|
ebcbq5r
|
t3_a477c9
| null | null |
t1_ebcbmym
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcbq5r/
|
1547336528
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ITsourcerer
|
t2_1uzdw4c6
|
Ouch!
| null |
0
|
1545410415
|
False
|
0
|
ec9djnf
|
t3_a8bhjj
| null | null |
t1_ec9bzwo
|
/r/programming/comments/a8bhjj/public_updates_to_java_se_will_end_starting/ec9djnf/
|
1547894471
|
-7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
BedtimeWithTheBear
|
t2_bnfxv
|
When over 90% of the time you’re waiting on disk or network, the language your product is written in becomes almost irrelevant from a performance perspective.
| null |
0
|
1544252093
|
False
|
0
|
ebcbuig
|
t3_a40weq
| null | null |
t1_ebaw9us
|
/r/programming/comments/a40weq/goldman_sachs_invests_20_million_in_devops_firm/ebcbuig/
|
1547336582
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
NiteLite
|
t2_3m0dq
|
npm install -g rimraf
rimraf node_modues
Basically deletes a folder and all its contents in a way that avoids the path problem with old Windows commands. Quick fix for working in Windows :)
| null |
0
|
1545410447
|
False
|
0
|
ec9dl8r
|
t3_a89y3r
| null | null |
t1_ec92d20
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9dl8r/
|
1547894490
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gcbirzan
|
t2_6tnbx
|
Just like you are a low quality poster.
| null |
0
|
1544252094
|
False
|
0
|
ebcbuj5
|
t3_a41wdv
| null | null |
t1_ebbnu32
|
/r/programming/comments/a41wdv/react_native_accessibility_is_pretty_bad/ebcbuj5/
|
1547336582
|
18
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chikien276
|
t2_xbbgs
|
Are you sure you know what are you talking about?
| null |
0
|
1545410521
|
False
|
0
|
ec9doye
|
t3_a7xki7
| null | null |
t1_ec8s2tt
|
/r/programming/comments/a7xki7/net_core_whats_coming_in_net_core_30/ec9doye/
|
1547894536
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lelanthran
|
t2_pnmpo0f
|
> Then why did Digital Ocean deny his request to lock me, the account owner, out?
Who knows? Digital Ocean deciding differently doesn't mean that Linode decided wrong.
You aren't the owner of these VPSs, Linode/DO are. How they decide who gets occupancy is up to them. Deciding that the **paying** renter gets occupancy is a legitimate decision; sounds normal to me.
| null |
0
|
1544252144
|
False
|
0
|
ebcbvv2
|
t3_a477c9
| null | null |
t1_ebcbq5r
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcbvv2/
|
1547336598
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MissionLiterature
|
t2_4q5xihj
|
Honest question: Why do companies use general purpose processors and software in HFT at all? For many applications a significantly lower latency can be achieved with a hardware description language configuring an FPGA.
| null |
0
|
1545410583
|
False
|
0
|
ec9ds3j
|
t3_a8aels
| null | null |
t1_ec9acck
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/ec9ds3j/
|
1547894575
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pleb_nz
|
t2_i3a02
|
Millions use illegal drugs as well. Doesn't mean they should
| null |
0
|
1544252588
|
False
|
0
|
ebcc7qg
|
t3_a45jvw
| null | null |
t1_ebbvi5v
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcc7qg/
|
1547336747
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pkulak
|
t2_1xjoq
|
What a world we live in when Java is held up as the small, speedy and efficient comparison.
EDIT: Guys, I'm not calling Java slow. Just marveling at how it _used_ to be the whipping boy in these kinds of conversations.
| null |
0
|
1545410590
|
1545428222
|
0
|
ec9dsfm
|
t3_a89y3r
| null | null |
t3_a89y3r
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9dsfm/
|
1547894579
|
68
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lawandordercandidate
|
t2_14okl0
|
> the owner of these VPSs, Linode/DO are. How they decide who gets occupancy is up to them. Deciding that the paying renter gets occupancy is a legitimate decision; sounds normal to me.
> did Digital Ocean deny his request to lock me, the account owner, out?
Because they aren't desperate for sales. this guy committed fraud, straight up. Linode saw the money, and threw ethics right out the window. Hackernews agrees with me though, that's all the validation I need.
You are wrong for thinking Linode did nothing wrong. And I hope you dont really work anywhere that integrates security into their business model. This is like authentication 101, and Linode failed here. Its my account, I created it, I ran it, I paid on it 6 months before I put this guys card on file, he called, acted like he was me, and Linode fell for it.
Horrible horrible decision from Linode. I wouldn't recommend hosting anything sensitive on their servers. All you have to do is get the last 6 digits of someones credit card and viola, you own that account.
All id have to do is go to who ever owns The Onion's (one of the most profitable sites in existance) house, dig through his trash, piece together his credit card number, call Linode and say "Hi im Onion Owner, my credit card number is bla bla bla" and Linode would just willingly hand a million dollar site over to me no questions asked.
| null |
0
|
1544252592
|
False
|
0
|
ebcc7te
|
t3_a477c9
| null | null |
t1_ebcbvv2
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcc7te/
|
1547336748
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545410633
|
False
|
0
|
ec9dumd
|
t3_a89y3r
| null | null |
t1_ec987yk
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9dumd/
|
1547894606
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pleb_nz
|
t2_i3a02
|
Most people who learn or know do indeed make that decision. I use one electron app. The rest I find alternatives for.
| null |
0
|
1544252669
|
False
|
0
|
ebcc9w9
|
t3_a45jvw
| null | null |
t1_ebbvnpp
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcc9w9/
|
1547336773
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Er_Coues
|
t2_wfu1z
|
and soon you ll need to pay for it https://upperedge.com/oracle/using-java-heres-how-oracles-new-2019-java-se-licensing-affects-you/
| null |
0
|
1545410645
|
False
|
0
|
ec9dv7c
|
t3_a8ae4l
| null | null |
t1_ec963sk
|
/r/programming/comments/a8ae4l/optimizing_java/ec9dv7c/
|
1547894613
|
-15
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
NullableType
|
t2_c3qui
|
The name of this song on the album he put out for/alongside the video is (Echoing)[https://xahoy.bandcamp.com/track/echoing]. Not sure if it's inspired by or sampling a game for the Amiga though, but could be.
| null |
0
|
1544252679
|
1544284411
|
0
|
ebcca67
|
t3_a44xl7
| null | null |
t1_ebc7v4a
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebcca67/
|
1547336776
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
thirdegree
|
t2_63m0r
|
Like I said, it's never an issue I've had in Python. I've had some 2/3 comparability issues, but no package versioning conflict issues. Most Python packages I've noticed pin dependencies to major versions, often multiple major versions, which gives a lot of room to work with.
| null |
0
|
1545410703
|
False
|
0
|
ec9dy51
|
t3_a89y3r
| null | null |
t1_ec9cuh9
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9dy51/
|
1547894650
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Flameaxe
|
t2_qn4zhyy
|
Don't think this is the best place to post a video like this.
| null |
0
|
1544252698
|
False
|
0
|
ebccapv
|
t3_a48431
| null | null |
t3_a48431
|
/r/programming/comments/a48431/how_to_get_1_tb_storage_for_free_legit/ebccapv/
|
1547336783
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Myzzreal
|
t2_8gz9o
|
Thanks for your suggestions, I do indeed feel like I'm being overly influenced by business coding style sometimes, making stuff a tad more complicated then it needs to be - I'll look into it!
​
As for the comments section - I want my website to be static, without a database and as little javascript as possible. I also don't want to offload the comments to a third-party, like disqus. That's why I do not have a comments, but I've heard there is a solution for that problem for static websites hosted on github, I'll probably give it a try.
| null |
0
|
1545410732
|
False
|
0
|
ec9dzp4
|
t3_a89u0x
| null | null |
t1_ec93kyn
|
/r/programming/comments/a89u0x/framework_independence_using_interfaces_and/ec9dzp4/
|
1547894669
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pleb_nz
|
t2_i3a02
|
Not quite true in all cases
| null |
0
|
1544252710
|
False
|
0
|
ebccb1f
|
t3_a45jvw
| null | null |
t1_ebbz9zx
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebccb1f/
|
1547336787
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lispers-anonymous
|
t2_2e4sc8tt
|
It was probably an uberjar. That's really not too bad for a lambda function if they were doing something like pulling in a couple libraries to interact with other AWS services or a database.
| null |
0
|
1545410744
|
False
|
0
|
ec9e09l
|
t3_a89y3r
| null | null |
t1_ec9aq47
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9e09l/
|
1547894675
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lawandordercandidate
|
t2_14okl0
|
This is like authentication 101, and Linode failed here. Its my account, I created it, I ran it, I paid on it 6 months before I put this guys card on file, he called, acted like he was me, and Linode fell for it.
Horrible horrible decision from Linode. I wouldn't recommend hosting anything sensitive on their servers. All you have to do is get the last 6 digits of someones credit card and viola, you own that account.
All id have to do is go to who ever owns The Onion's (one of the most profitable sites in existence) house, dig through his trash, piece together his credit card number, call Linode and say "Hi im Onion Owner, my credit card number is bla bla bla" and Linode would just willingly hand a million dollar site over to me no questions asked.
Sorry bro, but Linode fucked up. DigitalOcean stopped this from happening, because its common security practice. Any site, anywhere has multiple two-factor authentication processes to verify the owner.
| null |
0
|
1544253193
|
False
|
0
|
ebccnq0
|
t3_a477c9
| null | null |
t1_ebc53wr
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebccnq0/
|
1547336943
|
-3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
¯\\_(ツ)_/¯ Your experience doesn't match mine then. Agree to disagree.
| null |
0
|
1545410781
|
False
|
0
|
ec9e24w
|
t3_a89y3r
| null | null |
t1_ec9dy51
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9e24w/
|
1547894698
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ivquatch
|
t2_3a6gu
|
People's dislike of Java runs deeper than its verbosity. The style of programming is limiting, error-prone and downright bizarre sometimes. C# smooths over some of the rough edges by added syntactic sugar, functional programing constructs, and proper generics. Idiomatic C# however, is still very Java-like.
To be specific, C#'s imperative style is a bad default choice. Nulls are very prevalent, although C# 8.0 has added some features to mitigate this problem. It lacks proper sum types. The primary mode of programming in C# is also still Java-style OOP. Even though C# has added functional features, the culture by and large is still Java-style "OOP first", with its inheritance hierarchies, GoF patterns, and overuse of sub-type polymorphism. This is what people hate about Java (and to a lesser extent C#).
| null |
0
|
1544253234
|
False
|
0
|
ebccoqc
|
t3_a3764r
| null | null |
t1_ebc6gpt
|
/r/programming/comments/a3764r/announcing_net_core_22/ebccoqc/
|
1547336957
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
snowe2010
|
t2_53c7i
|
> In theory - in practice, that's not the case. Sure it's not hard, but it's tedious and managers don't see shiny new features, so you have to fight for the time to do it.
You don't ask for time to do it. You do it as part of your other work like testing, because you're a trusted developer who understands how to get a product done.
>but those still fall under the category of people who likely don't have licenses, and thus aren't likely to use that website in the first place.
I really do not understand your logic here. There are plenty of people who might use accessibility features and not be blind. That was the whole point of the insurance example.
Sighted people appreciate accessibility features just as much as blind people, like appropriate tab ordering so you can navigate forms properly, to correct ids on elements so you can automate a script against a website. There are thousands of use cases for accessibility and half of them have nothing to do with disabled users.
| null |
0
|
1545410812
|
False
|
0
|
ec9e3q0
|
t3_a7xwy3
| null | null |
t1_ec8cugq
|
/r/programming/comments/a7xwy3/theres_already_a_blueprint_for_a_more_accessible/ec9e3q0/
|
1547894718
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1544253287
|
False
|
0
|
ebccq3s
|
t3_a44xl7
| null | null |
t1_ebc8w7j
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebccq3s/
|
1547337003
|
19
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545410826
|
1545958463
|
0
|
ec9e4gu
|
t3_a89y3r
| null | null |
t1_ec987yk
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9e4gu/
|
1547894728
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lastethere
|
t2_phy3j
|
> Electron is a cancer
Last time i heard that, it was about Linux. Maybe Gruber has some nostalgy of the Ballmer epoch.
| null |
1
|
1544253465
|
False
|
0
|
ebccuku
|
t3_a45jvw
| null | null |
t1_ebbqs7k
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebccuku/
|
1547337058
|
-4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
thirdegree
|
t2_63m0r
|
Ya that's fair enough. I also true to explicitly focus on keeping dependencies minimal, so there's inherently less room for conflict. Might just be a difference in programming approach.
| null |
0
|
1545410899
|
False
|
0
|
ec9e85i
|
t3_a89y3r
| null | null |
t1_ec9e24w
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9e85i/
|
1547894772
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tso
|
t2_37rbd
|
The original Quake may well be the last of the bare metal games, as recently i ran into story of how it effectively killed the market for a "good enough" x86 clone.
This because John Carmack made use of a quirk of the Intel Pentium when writing the software render engine. A quirk that didn't work on the clone.
Then later we get GLQuake and Quakeworld, and the rest is history.
On a different note, Quake was insanely modifiable.
There were virtually no hard limits on the number of guns etc that could be introduced, only a limit of how many variables could be carried over between maps (and it was large enough that people produced whole RPGs for it).
| null |
0
|
1544253818
|
False
|
0
|
ebcd3ie
|
t3_a44xl7
| null | null |
t1_ebcbm9f
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebcd3ie/
|
1547337169
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Valarauka_
|
t2_5oqce
|
The heck does CLASSPATH have to do with this? Any decent toolchain will let you have sane per-project environments without needing to bring global environment variables into it.
| null |
0
|
1545410903
|
False
|
0
|
ec9e8cd
|
t3_a89y3r
| null | null |
t1_ec9bxjw
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9e8cd/
|
1547894775
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tso
|
t2_37rbd
|
The CD32 was barely on the market in Europe before Commodore in USA closed up show. The bosses of Commodore UK, who oversaw the European markets, tried to rescue the remains and continue on but was outbid by other US companies.
| null |
0
|
1544254110
|
False
|
0
|
ebcdarx
|
t3_a44xl7
| null | null |
t1_ebc9dhp
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebcdarx/
|
1547337259
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
grauenwolf
|
t2_570j
|
You're talking in circles. Complaining about 2000 era prices, then bragging about what you did in 2014. Saying it would require good people with a RDBMS and average people for MongoDB, then complaining how hard it was with the latter.
And at the end of the day its just advertising data. Dump it into flat files and aggregate it for reporting. Trying to keep 60TB of logs online for ad hoc reporting is stupid. It's not like anyone can actually use that much data to make a meaningful decision.
| null |
0
|
1545410904
|
False
|
0
|
ec9e8eh
|
t3_a7q1bi
| null | null |
t1_ec9349e
|
/r/programming/comments/a7q1bi/bye_bye_mongo_hello_postgres/ec9e8eh/
|
1547894776
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1544254143
|
False
|
0
|
ebcdbht
|
t3_a1lbh8
| null | null |
t1_ebb7wq7
|
/r/programming/comments/a1lbh8/announcing_typescript_32/ebcdbht/
|
1547337267
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
JohnyTex
|
t2_46lra
|
Not sure about Rails, but last time I checked Django only depends on pytz, six and whatever database adapter you end up using.
| null |
0
|
1545410982
|
False
|
0
|
ec9ecf8
|
t3_a89y3r
| null | null |
t1_ec9c1jz
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9ecf8/
|
1547894825
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mdw
|
t2_1vnq
|
> love the FTL logo at one point for atari (oids at 24.24), they made exactly one obscure game
FTL (Faster Than Light) are a legend. They made multiple titles, but Dungeon Master is an iconic and highly influential game of the time. I spent countless hours with it myself.
| null |
0
|
1544254146
|
False
|
0
|
ebcdbk8
|
t3_a44xl7
| null | null |
t1_ebbolwg
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebcdbk8/
|
1547337268
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
If the conclusion is false, so is the logic used to support it. I _could_ try to guess where I think the other commenter went wrong with their reasoning leading up to that conclusion, but that's unnecessary when I can just debunk the conclusion directly.
| null |
0
|
1545411001
|
False
|
0
|
ec9edf5
|
t3_a89y3r
| null | null |
t1_ec9de7o
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9edf5/
|
1547894838
|
-4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1544254176
|
False
|
0
|
ebcdc7b
|
t3_a1lbh8
| null | null |
t1_ebb7uob
|
/r/programming/comments/a1lbh8/announcing_typescript_32/ebcdc7b/
|
1547337277
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lispers-anonymous
|
t2_2e4sc8tt
|
> Oh look, more bitching from native dev geezers.
the future is now old man. embrace the script
| null |
0
|
1545411063
|
False
|
0
|
ec9eghv
|
t3_a89y3r
| null | null |
t1_ec91glp
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9eghv/
|
1547894876
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hasen-judy
|
t2_2j2as8va
|
Most other IDEs are incredibly resource hungry that Electron fades in comparison.
| null |
0
|
1544254441
|
False
|
0
|
ebcdhyd
|
t3_a45jvw
| null | null |
t1_ebc9tzq
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcdhyd/
|
1547337347
|
51
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ThePowerfulSquirrel
|
t2_89piy
|
Couldn't the same be achieved if they simply switched to a lightweight java framework? Seems like the problem was more about spring then Java.
| null |
0
|
1545411123
|
False
|
0
|
ec9ejho
|
t3_a8ae4l
| null | null |
t1_ec9betw
|
/r/programming/comments/a8ae4l/optimizing_java/ec9ejho/
|
1547894914
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lelanthran
|
t2_pnmpo0f
|
I can see you haven't learned anything from this.
> And I hope you dont really work anywhere that integrates security into their business model.
Not that my credentials matter, but I'm a developer for EMV software, used on EMV terminals, handling millions in transactions per week.
You don't get much more secure than that.
| null |
0
|
1544254582
|
False
|
0
|
ebcdkui
|
t3_a477c9
| null | null |
t1_ebcc7te
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcdkui/
|
1547337383
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
errado_
|
t2_6fri2mq
|
(Disclaimer: I don't work with any kind of trading; Do have a bit of background on real-time for critical systems)
I think you are right in saying that most of what the speaker says would be valid for any decent language operating in the low latency, so I think choosing Java boils down to:
* Safety: I'd much rather get an exception than find out (if ever) that the reason my trading bot is losing money is because of a silent memory corruption (instead of just a not very good algorithm)
* Integration. You'll likely want to write simulation, test, reporting and stressing code and that can be delegated to engineers without too much experience in low latency programming and it's a lot easier to find engineers skilled in java.
While you can squeeze more ops/s from C++ from the start, after some iterations tuning the java code you end up with a competitively fast runtime with a lot of safety guarantees. I'd recommend taking a look at the stuff the people from [OpenHFT][1] and [real-logic][2] have released - both Peter Lawrey and Martin Thompson have really good talks on youtube, do check it out if you are interested!
[1]: https://github.com/OpenHFT
[2]: https://github.com/real-logic
So, in conclusion, I'd say it's a matter of approach and it likely depends on the skills of your team when you are starting the project: you can go for raw performance first and spend some time with verification or go with safety first (and pretty good performance still I'd say). If I could afford losing a few trades because my tail latency is not perfect I definitely would go for the JVM - critical hard real-time systems likely can't make this choice, HFT oftentimes can.
| null |
0
|
1545411166
|
False
|
0
|
ec9ells
|
t3_a8aels
| null | null |
t1_ec97mre
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/ec9ells/
|
1547894940
|
15
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
didNotGoGentle
|
t2_20lw6nm
|
Did google chrome too removed that pesky feature introduced with v69 iirc, which tied irrevocably your google account with your chrome services installation, and thus also to your machine every time you turned it on, after you've logged even just once in any of google online servoves? (e.g. gmail)?
| null |
0
|
1544254600
|
False
|
0
|
ebcdl8y
|
t3_a3t3rg
| null | null |
t1_ebarbnx
|
/r/programming/comments/a3t3rg/goodbye_edgehtml_the_mozilla_blog/ebcdl8y/
|
1547337388
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gyroda
|
t2_90y5r
|
What does this mean? Why is it bad?
| null |
0
|
1545411188
|
False
|
0
|
ec9empu
|
t3_a89y3r
| null | null |
t1_ec95qu0
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9empu/
|
1547894953
|
27
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lawandordercandidate
|
t2_14okl0
|
> EMV
then the fact that you think Linode made the right decision is very worrisome.
| null |
0
|
1544254693
|
False
|
0
|
ebcdn69
|
t3_a477c9
| null | null |
t1_ebcdkui
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcdn69/
|
1547337412
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SaltTM
|
t2_8tr5k
|
> The guy who invents a wheel started in a world where there were no wheels. Someone who simply makes another wheel is leveraging that innovation.
I know what it means and no one has ever used that phrase (in my life time) in the literal sense of actually inventing and always in the manner of rebuilding what's already been built. Which is why I said "here we go with the semantics". I feel like this is some reddit shit that belongs in /r/iamsmart
| null |
0
|
1545411194
|
False
|
0
|
ec9en0r
|
t3_a7z5ni
| null | null |
t1_ec86mjv
|
/r/programming/comments/a7z5ni/why_dependencies_are_ing_you_over_and_over_again/ec9en0r/
|
1547894957
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ArmoredPancake
|
t2_jc7zp
|
Only fanatics use products because product is written in XYZ.
With that said, people DO use JetBrains products because they're written in Java, because it delivers same experience on every platform.
| null |
0
|
1544254770
|
False
|
0
|
ebcdot6
|
t3_a45jvw
| null | null |
t1_ebcb2zy
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcdot6/
|
1547337432
|
21
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
Fair point. Node doesn't really have a Django/Rails equivalent, so it's possible that much of the problem could just be with those frameworks rather than the package manager in general.
| null |
0
|
1545411238
|
False
|
0
|
ec9ep9g
|
t3_a89y3r
| null | null |
t1_ec9djdf
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9ep9g/
|
1547895014
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lelanthran
|
t2_pnmpo0f
|
Well, there is nothing wrong with their decision.
You're renting an apartment somewhere, you come home one day and find that the owner has locked you out even though the rent is up to date.
What would you do?
| null |
0
|
1544254836
|
False
|
0
|
ebcdq5w
|
t3_a477c9
| null | null |
t1_ebcdn69
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebcdq5w/
|
1547337449
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
The problem isn't usually Django's dependencies, it's all the other plugins that depend on Django.
| null |
0
|
1545411267
|
False
|
0
|
ec9eqpt
|
t3_a89y3r
| null | null |
t1_ec9ecf8
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9eqpt/
|
1547895032
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ArmoredPancake
|
t2_jc7zp
|
Electron is a tool for web developers to write desktop programs, not to replace them.
| null |
0
|
1544254840
|
False
|
0
|
ebcdq8j
|
t3_a45jvw
| null | null |
t1_ebc5rf1
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcdq8j/
|
1547337450
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
1
|
1545411286
|
False
|
0
|
ec9ero8
|
t3_a89y3r
| null | null |
t3_a89y3r
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9ero8/
|
1547895044
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
interesting-_o_-
|
t2_yxciw
|
It's a direct TCP connection without any sort of NAT traversal. So it's only peer-to-peer on a local network or if you explicitly configure both networks to allow it. Azure is going to be most of the connections. I couldn't find any claim that it was end-to-end encrypted, except that they promise not to snoop. The source code of the extension seems to contain no E2E encryption software or anything for key exchange, just normal TCP socket stuff. It's encrypted with SSL, but Microsoft can read that traffic, as they own the private key.
The similar Teletype does use WebRTC connections, which do NAT traversal through ICE/STUN. (But have Github-owned signalling servers for key-exchange that would allow Github to silently man-in-the-middle connections.)
| null |
0
|
1544254850
|
False
|
0
|
ebcdqfz
|
t3_a3z3i9
| null | null |
t1_ebc7v8s
|
/r/programming/comments/a3z3i9/replit_multiplier/ebcdqfz/
|
1547337452
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ThePowerfulSquirrel
|
t2_89piy
|
>While you can squeeze more ops/s from C++ from the start, after some iterations tuning the java code you end up with a competitively fast runtime
​
Doesn't that contradict the talk? He said that Java was better at first but when everything was optimized, it was slower than c# and c++.
| null |
0
|
1545411351
|
False
|
0
|
ec9euza
|
t3_a8aels
| null | null |
t1_ec9ells
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/ec9euza/
|
1547895085
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Philipp
|
t2_26mwz
|
It's funny. I lived in Germany and the Amiga was all the rage. Beloved by all kids for years, everyone who cared about gaming had one, and tons of software available for it. Maybe Germany was an alternate reality kind of version of Amiga history...
| null |
0
|
1544255086
|
False
|
0
|
ebcdvw2
|
t3_a44xl7
| null | null |
t1_ebbweh6
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebcdvw2/
|
1547337519
|
30
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ForeverAlot
|
t2_4yj7p
|
> Other languages that aren't managed oop languages don't suffer as much from those kind of problems that can contribute to bloating in a large scale application.
I think this is rubbish. Java makes it impossible to rely on stack allocation, and _if_ we get that the language will enjoy a massive, much-welcomed paradigm shift, but in the general case writing fast Java has more to do with just not doing silly stuff and few languages have safeguards against that. It's likely that a careless programmer will write a slower/fatter application in Java than in C++ but the threshold for bloat is relative to the language, not the problem domain: that's why Electron is "bloated": it's some of our most inefficient technologies for performing some of our most basic operations.
| null |
0
|
1545411354
|
False
|
0
|
ec9ev6k
|
t3_a8ae4l
| null | null |
t1_ec99tqx
|
/r/programming/comments/a8ae4l/optimizing_java/ec9ev6k/
|
1547895087
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
segv
|
t2_kmwc
|
There are also portability (why create three versions for linux/mac/windows when you could do one?) and branding/look&feel consistent with whatever else they have
| null |
0
|
1544255087
|
False
|
0
|
ebcdvws
|
t3_a45jvw
| null | null |
t1_ebca33o
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcdvws/
|
1547337519
|
33
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ZiggyTheHamster
|
t2_5qzay
|
1. `npm install` probably won't install the exact same set of packages you had before because its lock format sucks and didn't exist forever. Hopefully you already migrated to Yarn.
2. Nobody copies whole folders containing dozens of projects across disks and skips `node_modules` in each.
| null |
0
|
1545411375
|
False
|
0
|
ec9ew7o
|
t3_a89y3r
| null | null |
t1_ec9d2jl
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9ew7o/
|
1547895100
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mdw
|
t2_1vnq
|
> This is not just my being a fanboy, but the Atari ST was barely more than a game console with a keyboard, much like the other Atari computers of that era, which I had loved previously.
What a bullshit. At the time Atari had quite a selection of professional grade software, like the Calamus desktop publishing system, Cubase MIDI sequencer, Borland Turbo C, GenST assembler suite etc. It was common to see Atari ST with their small but very sharp monochromatic monitor SM124 at concerts. Recently I learned that the software that is today called AutoCAD was originally written for Atari ST.
| null |
0
|
1544255103
|
False
|
0
|
ebcdwat
|
t3_a44xl7
| null | null |
t1_ebbxpe7
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebcdwat/
|
1547337524
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
darkclaw6722
|
t2_few41
|
I like to point this out when students at my uni ask why we don't teach things like React in our core curriculum.
| null |
0
|
1545411479
|
False
|
0
|
ec9f1hl
|
t3_a8b4fa
| null | null |
t3_a8b4fa
|
/r/programming/comments/a8b4fa/stop_learning_frameworks/ec9f1hl/
|
1547895165
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chirag9696
|
t2_3pn31n
|
I am new to this algorithm, need help.
​
| null |
0
|
1544255288
|
False
|
0
|
ebce0z4
|
t3_a48ugx
| null | null |
t3_a48ugx
|
/r/programming/comments/a48ugx/is_my_understanding_of_time_complexity_for_sieve/ebce0z4/
|
1547337611
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Brostafarian
|
t2_5zfy6
|
we just had a problem at work between prototype, lodash, and webpack. I'm going to butcher this story since its been a few months but I'll try anyways.
Legacy code has Prototype on the window with custom templating delimiters, but modern code will import lodash if it needs it. Problem was Lodash followed require.js recommendations and has an AMD define block that isn't supposed to be used if you don't use AMD; these recommendations also say to expose that import to the window due to an edge case with script loading. Webpack indiscriminately parses both the regular import and the AMD loader block, leaking lodash to the window, destroying the templating variables that were set on Prototype... asynchronously. Due to the way imports are parsed (importing anything from a file requires executing that file), anything that imported anything from lodash would cause this error.
From our end, importing some random file in a page that only developers could see broke templating for all of the legacy code in the application, and it took us hours to figure out why. The lodash import was about 10 files deep, and by the time we even found it, we still weren't exactly sure what was going on. It was not a good day
| null |
0
|
1545411499
|
False
|
0
|
ec9f2fo
|
t3_a89y3r
| null | null |
t1_ec94r78
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9f2fo/
|
1547895177
|
26
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lawandordercandidate
|
t2_14okl0
|
> nting an apartment somewhere, you come home one day and find that the owner has locked you out even though the rent is
think of it like your bank transactions. i steal a guys credit card. i walk up to the bank, and say "empty this account. look i have my credit card". Would the bank empty it out? No, they'd ask for ID, a pin number, notify account owner of suspicious funds, bring out the branch manager, etc.
in Linode's world, I just walk up with a credit card and say "give me all the money on this account" and Linode bank says "OK!"
| null |
0
|
1544255292
|
False
|
0
|
ebce12c
|
t3_a477c9
| null | null |
t1_ebcdq5w
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebce12c/
|
1547337612
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
giantsparklerobot
|
t2_47gyf
|
It's my impression that the "JS community" is populated primarily by...the JS community. There's not a large contingent with experience with experience in other languages or non-web platforms. Not only do they not have experience with other languages they often don't have meaningful experience with vanilla JavaScript, everything they've touched has involved *some* framework where some heavy lifting has been done for them. Worse still is browsers have had to completely reimplement their JavaScript engines to make overwrought JavaScript frameworks (and people's shitty code) run well.
This leads to some really stupid problems with JavaScript. Not having experience with languages with good standard libraries and always using some framework leads to people (as you've seen) not appreciate or understand the reason for standard libraries. Modules then get thoughtlessly added to projects because the resources to run them belong to someone else. So you and I end up paying the price in reduced battery life or shitty responsiveness because some JavaScript "developer" added a 1MB module to pad some text or provide a data type that should exist in the stdlib.
| null |
0
|
1545411502
|
False
|
0
|
ec9f2n3
|
t3_a89y3r
| null | null |
t1_ec96hi7
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9f2n3/
|
1547895179
|
28
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lelanthran
|
t2_pnmpo0f
|
You haven't answered:
What would you do if your landlord locked you out of the apartment you've paid rent on?
| null |
0
|
1544255437
|
False
|
0
|
ebce4z8
|
t3_a477c9
| null | null |
t1_ebce12c
|
/r/programming/comments/a477c9/how_linode_screwed_me/ebce4z8/
|
1547337661
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ZiggyTheHamster
|
t2_5qzay
|
And then `npm install` fucks you, no thanks
| null |
0
|
1545411586
|
False
|
0
|
ec9f6rw
|
t3_a89y3r
| null | null |
t1_ec9dfb9
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9f6rw/
|
1547895231
|
-8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chirag9696
|
t2_3pn31n
|
To summarize my question:
[Check this link for my question](https://imgur.com/a/eMv3zoh)
| null |
0
|
1544255485
|
False
|
0
|
ebce68q
|
t3_a48ugx
| null | null |
t3_a48ugx
|
/r/programming/comments/a48ugx/is_my_understanding_of_time_complexity_for_sieve/ebce68q/
|
1547337676
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
filleduchaos
|
t2_7r81qd
|
That doesn't even make any sense considering your comment, but I can see you don't have any desire to engage with what they actually said so you do you.
| null |
0
|
1545411702
|
False
|
0
|
ec9fcfm
|
t3_a89y3r
| null | null |
t1_ec9edf5
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9fcfm/
|
1547895300
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
imguralbumbot
|
t2_180i376
|
^(Hi, I'm a bot for linking direct images of albums with only 1 image)
**https://i.imgur.com/2LjFNtA.png**
^^[Source](https://github.com/AUTplayed/imguralbumbot) ^^| ^^[Why?](https://github.com/AUTplayed/imguralbumbot/blob/master/README.md) ^^| ^^[Creator](https://np.reddit.com/user/AUTplayed/) ^^| ^^[ignoreme](https://np.reddit.com/message/compose/?to=imguralbumbot&subject=ignoreme&message=ignoreme) ^^| ^^[deletthis](https://np.reddit.com/message/compose/?to=imguralbumbot&subject=delet%20this&message=delet%20this%20ebce6gn)
| null |
0
|
1544255492
|
False
|
0
|
ebce6gn
|
t3_a48ugx
| null | null |
t1_ebce68q
|
/r/programming/comments/a48ugx/is_my_understanding_of_time_complexity_for_sieve/ebce6gn/
|
1547337679
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shenglong
|
t2_2nn6w
|
> Well, as the presenter himself said, you can achieve even lower latency in other languages.
It's turtles all the way down.
Regardless, it's not just banks/HFTs that use this technology. Our firm runs a Java/Scala/Akka/Kafka stack for its Risk Management Platform (processes tens of millions of transactions per day).
FWIW, we're a .NET house. We were "forced" into Java because this system was bought from a partner, who was eventually bought by someone else. So in order to support it we had to hire a Java/Scala team. I'm not sure why the original company decided on this stack, but we've never really had any performance issues related to it.
Would we rewrite it in C#/F# given the opportunity? Probably not. There's no business case to be made for it.
| null |
0
|
1545411715
|
False
|
0
|
ec9fd4a
|
t3_a8aels
| null | null |
t1_ec9dc3t
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/ec9fd4a/
|
1547895309
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ironnomi
|
t2_kw4bt
|
Of course, like 2 out of 3 computers are locked into old versions of Chrome here, so definitely "almost" as bad. :D
| null |
0
|
1544255496
|
False
|
0
|
ebce6k2
|
t3_a3q1vh
| null | null |
t1_ebc3isi
|
/r/programming/comments/a3q1vh/its_official_chromium_is_coming_to_microsoft_edge/ebce6k2/
|
1547337680
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
munificent
|
t2_331sn
|
> Hash table requires the string to be scanned twice: first time for computing hash value of the string and second time is strcmp(key,collisionBucketEntry->key)
This is why we cache the hash code with each string. Creating a string is already O(n) to allocate and copy the bytes over, so it's good time to calculate the hash too. Since strings are immutable (in most languages and in the language in the book), it's safe to cache the hash.
I've wanted to try using a trie for a symbol table, but never get around to it. My general impression is that their real-world performance is worse than a hash table. The space usage might be better, but you're doing a lot of pointer chasing and that's not going to make the CPU cache happy.
| null |
0
|
1545411741
|
False
|
0
|
ec9fee9
|
t3_a8an2s
| null | null |
t1_ec9c3nz
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/ec9fee9/
|
1547895324
|
15
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mdw
|
t2_1vnq
|
> The speculation on the linux kernel and how you think the Amiga kernel has "never been duplicated since" is nonsense talk.
I stopped reading right there.
| null |
1
|
1544255504
|
False
|
0
|
ebce6rn
|
t3_a44xl7
| null | null |
t1_ebcalgu
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebce6rn/
|
1547337683
|
-3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Novemberisms
|
t2_heqyx
|
You're right. Let's all just ignore the size of node_modules so the problems fix themselves and go away.
| null |
0
|
1545411756
|
False
|
0
|
ec9ff5e
|
t3_a89y3r
| null | null |
t1_ec92byo
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9ff5e/
|
1547895333
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Jokinishi
|
t2_1eflmhvt
|
Remember that you as developer can easy check for malicious reading npm depency code.
Also in native apps you have to check for depency malicious, in most case you can't cause code is not open.
Alternative is rewrite all libraries from zero.
| null |
0
|
1544255518
|
False
|
0
|
ebce75q
|
t3_a45jvw
| null | null |
t1_ebbuxq3
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebce75q/
|
1547337687
|
-11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Tynach
|
t2_9rbwn
|
Basically, if developers need to worry about breaking compatibility with other code, it encourages higher quality code and fewer breakages. It means that a library is much more likely to become popular only if it is also stable because the devs take their time to make sure to maintain backwards compatibility.
The npm way encourages breaking changes by making it easy to work with multiple versions. If it doesn't matter if you make a breaking change, you're less likely to worry and care about making them, and more likely to not thoroughly consider your changes before making them.
Now, that's what I think the argument is. I lack enough experience to really know if that's how things work in the Real World™, so I'm just following along with the discussion and not really taking sides. But I figured I'd try to reword their post for you, in case you hadn't understood it.
**Edit**: For clarity: since you never directly addressed any of the logic, it was ambiguous whether you understood it or not.
| null |
0
|
1545411919
|
1545412155
|
0
|
ec9fn63
|
t3_a89y3r
| null | null |
t1_ec9edf5
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9fn63/
|
1547895432
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1544255759
|
False
|
0
|
ebced75
|
t3_a45jvw
| null | null |
t1_ebbsywm
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebced75/
|
1547337764
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kohlerm
|
t2_35ubx
|
I appreciate the presentation but he seems to imply that repeatedly computing the same function is most times better than caching.
It all depends where your bottleneck is and whether you care about what the cost of your infrastructure is. It could also happen that not caching some result e.g you do an O(n) computation instead of an O(1) memory access.
| null |
0
|
1545411972
|
False
|
0
|
ec9fprm
|
t3_a8aels
| null | null |
t3_a8aels
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/ec9fprm/
|
1547895464
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ArmoredPancake
|
t2_jc7zp
|
There's that little platform, called Java, that allows you write crossplatform.
| null |
0
|
1544255775
|
False
|
0
|
ebcedk1
|
t3_a45jvw
| null | null |
t1_ebc9872
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcedk1/
|
1547337767
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
VVVDoer
|
t2_knapm4p
|
Why do people use so many dependencies for such lightweight tasks?
| null |
0
|
1545412030
|
False
|
0
|
ec9fsqx
|
t3_a89y3r
| null | null |
t3_a89y3r
|
/r/programming/comments/a89y3r/the_node_modules_problem/ec9fsqx/
|
1547895501
|
15
|
t5_2fwo
|
r/programming
|
public
| null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.