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
|
Grawprog
|
t2_fv6f380
|
Where in that paragraph does it say anything about perfection being the only thing that's acceptable and that you shouldn't teach your kids coding because of it? Or that you should teach first graders the peano axioms?
Did we read the same article? I don't remember that part of it...
This paragraph just before the one you quoted sums up the meaning pretty well behind it.
>Coding books for kids present coding as a set of problems with “correct” solutions. And if your children can just master the syntax, they’ll be able to make things quickly and easily. But that is not the way programming works. Programming is messy. Programming is a mix of creativity and determination. Being a developer is about more than syntax, and certain skills can only be taught to the very young.
It does not say you shouldn't teach kids to program. It says that you should teach them the other skills they'll need to write programs rather than just teaching them a bunch of syntax and solutions to problems.
That is good advice.
Getting a child to read through and learn only from a programming book for kids would be like giving them a book of grammar from a foreign language and expecting them to get fluent in that without taking them to talk to people or interact with people in the language they want their kid to learn.
Part of learning to program is learning to solve problems in a logical step by step manner. I've seen plenty of people who go through programming courses, who know all the syntax of the language they learned but can't write a simple program with more than 100 lines. The article is basically saying you need to avoid your child becoming like that if you want them to learn to program.
It's like people just read the title and immediately became defensive without actually understanding what he's saying....though to be fair like I said...it's a shittily written article with a shitty misleading title. But I really think the message behind it is being misunderstood.
| null |
0
|
1544294705
|
1544295043
|
0
|
ebdeq7u
|
t3_a4ab10
| null | null |
t1_ebda80v
|
/r/programming/comments/a4ab10/im_a_developer_i_wont_teach_my_kids_to_code_and/ebdeq7u/
|
1547354756
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
noratat
|
t2_jcghl
|
The latter has been true in npm for awhile now, but it doesn't help as much as you might think due to how bad the node.js community is at versioning things properly in the first place.
| null |
0
|
1545442427
|
False
|
0
|
ecah299
|
t3_a89y3r
| null | null |
t1_eca0udc
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecah299/
|
1547912920
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
torotane
|
t2_h23cc
|
How does the context of "coding" or programming exclude engineering?
| null |
0
|
1544294843
|
False
|
0
|
ebdex2d
|
t3_a4ab10
| null | null |
t1_ebct96k
|
/r/programming/comments/a4ab10/im_a_developer_i_wont_teach_my_kids_to_code_and/ebdex2d/
|
1547354840
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
NotSoButFarOtherwise
|
t2_1ha8wt1w
|
The semantic nature of HTML was overpromised and underdelivered, since semantics are heavily context dependent. Adding semantically dead elements is the only way to obtain certain visual constructs, because e.g. only flow elements are allowed inside `<LI>`.
| null |
0
|
1545442515
|
False
|
0
|
ecah5i3
|
t3_a7xwy3
| null | null |
t1_ec8y1pn
|
/r/programming/comments/a7xwy3/theres_already_a_blueprint_for_a_more_accessible/ecah5i3/
|
1547912961
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
KarmaYogadog
|
t2_14iq1r
|
Thanks for the link. I'll give the Linux version a try. Download link isn't on the Wikipedia page but I found it here: http://www.boomerangsworld.de/cms/worker/download/binaries.html
| null |
0
|
1544294916
|
False
|
0
|
ebdf0op
|
t3_a44xl7
| null | null |
t1_ebd51vk
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebdf0op/
|
1547354885
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
donSamiel
|
t2_tud5qby
|
Thanks for sharing. Really cool
| null |
0
|
1545442524
|
False
|
0
|
ecah5uw
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecah5uw/
|
1547912965
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
howox
|
t2_1550hf
|
Nobody mentions Amiga 600 :p
| null |
0
|
1544294951
|
False
|
0
|
ebdf2c9
|
t3_a44xl7
| null | null |
t3_a44xl7
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebdf2c9/
|
1547354906
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
noratat
|
t2_jcghl
|
Does Yarn actually use the lockfile? I.e. it always installs the locked version unless you explicitly request a version update? I ask because npm doesn't, not in a way that would make sense to anyone but npm devs anyways.
| null |
0
|
1545442544
|
False
|
0
|
ecah6n9
|
t3_a89y3r
| null | null |
t1_eca2cn9
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecah6n9/
|
1547913004
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
EqualityOfAutonomy
|
t2_abdj3
|
His username was whinemore.
So I delivered.
| null |
0
|
1544294999
|
False
|
0
|
ebdf4qs
|
t3_a3t3rg
| null | null |
t1_eb9c1ps
|
/r/programming/comments/a3t3rg/goodbye_edgehtml_the_mozilla_blog/ebdf4qs/
|
1547354935
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Crypto_To_The_Core
|
t2_uzv3nj6
|
Prolog for the WIN !!!
| null |
0
|
1545442953
|
False
|
0
|
ecahlb5
|
t3_a8fs67
| null | null |
t3_a8fs67
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecahlb5/
|
1547913184
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DGolden
|
t2_1pdmi
|
Certainly [ARexx](https://en.wikipedia.org/wiki/ARexx) and ARexx Ports were cool back then.
Mind you, on a conceptually related note perhaps underappreciated is that any modern Linux desktop has the ["D-Bus"](https://www.freedesktop.org/wiki/Software/dbus/), on which varuious apps and services directly expose lots of stuff that you can quite easily talk to directly from Python and a host of other scripting languages. e.g.
#!python
from pydbus import SessionBus
bus = SessionBus()
notifications = bus.get('.Notifications')
for i in range(0, 100):
notifications.Notify(
'Hi', 0, 'dialog-warning',
'ALERT',
f"Everything is fine {i}", [], {}, 5000
)
fm = bus.get('.FileManager1')
fm.ShowFolders(
["file://{}".format(os.path.expanduser("~"))],
"blah"
)
| null |
0
|
1544295107
|
False
|
0
|
ebdfa1y
|
t3_a44xl7
| null | null |
t1_ebcar3e
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebdfa1y/
|
1547355031
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
suyjuris
|
t2_98oga
|
The poor performance of Java compared to native code is caused by cache behaviour. Random access to memory is slow and the language semantics require lots of it. (Also, there is a ludicrous amount of abstraction, but that is more a matter of programming culture.)
As a side note, this [study](https://arxiv.org/pdf/1409.0252.pdf) comparing Rosetta code entries found the C programs to be 3.2 (!) times faster than the Java ones. The tasks there certainly qualify as 'doing mostly numerical stuff'.
| null |
0
|
1545443094
|
False
|
0
|
ecahqcn
|
t3_a89y3r
| null | null |
t1_eca4fo4
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecahqcn/
|
1547913246
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
zqvt
|
t2_18uf4vq
|
Erlang/Elixir are great but that shouldn't be related to the discussion about client side performance. They handle the logic on the server side
| null |
0
|
1544295129
|
False
|
0
|
ebdfb3s
|
t3_a45jvw
| null | null |
t1_ebd3bv7
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdfb3s/
|
1547355043
|
15
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
muffinheart
|
t2_485za
|
IANAE but I would think so. Otherwise the benefits of the lock file would be completely moot.
The whole idea behind a lock file is to get rid of any "works on my machine" issues. The only instance I can think of where the lock file wouldn't be used is if you didn't specify a package version in your package.json file. That would cause the lock file to always have the latest version (i.e. not locking it).
| null |
0
|
1545443108
|
False
|
0
|
ecahqta
|
t3_a89y3r
| null | null |
t1_ecah6n9
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecahqta/
|
1547913252
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
It's not "easier" in any way. The only reason that webshits are using this crap is that they don't want to learn anything else. The entire web stack is overengineered and wrong on all possible levels.
| null |
0
|
1544295140
|
1544296255
|
0
|
ebdfbmy
|
t3_a45jvw
| null | null |
t1_ebdeowa
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdfbmy/
|
1547355050
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
isaystuffonreddit
|
t2_wmbh4
|
Please engineer a better comment
| null |
0
|
1545443130
|
False
|
0
|
ecahrk9
|
t3_a8bizo
| null | null |
t1_ec9joah
|
/r/programming/comments/a8bizo/using_tensorflow_to_learn_when_your_cat_wants_to/ecahrk9/
|
1547913262
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jcelerier
|
t2_nju89
|
> Writing something in C++ does not magically make your program fast.
no, but writing it in other languages can really make it slow. Had a coworker make a simple python UI that showed realtime data in a table view. The same thing dumb-ported to C++ was literally 80 times faster, without even thinking about optimizing anything
| null |
0
|
1544295165
|
False
|
0
|
ebdfcw5
|
t3_a47s2x
| null | null |
t1_ebd8xtj
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdfcw5/
|
1547355065
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mb862
|
t2_g5kcp
|
If your app is best suited as a website, make it a website.
If your app is best suited as a native app, make it a native app.
Wrapping up a website and pretending it's a native app just shows that you don't actually care about your users, because Electron does absolutely nothing to benefit them, it only serves to waste their time and money.
| null |
1
|
1545443419
|
False
|
0
|
ecai2aj
|
t3_a8cagl
| null | null |
t1_ec9u3sj
|
/r/programming/comments/a8cagl/electron_400_has_been_released_electron_blog/ecai2aj/
|
1547913395
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
You're retarded. Let me guess - you're a webshit, right?
| null |
1
|
1544295174
|
False
|
0
|
ebdfda7
|
t3_a4ab10
| null | null |
t1_ebde9yb
|
/r/programming/comments/a4ab10/im_a_developer_i_wont_teach_my_kids_to_code_and/ebdfda7/
|
1547355070
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
EyeAmAhEr
|
t2_4k22o
|
This guy's stuff always sounds kinda boring from the title but is consistently so well written, it's actually fascinating. He really knows how to hit the sweet spot of being technical without it being overwhelming, and chatty without being annoying. Would make a great educator.
| null |
0
|
1545443835
|
False
|
0
|
ecaii4n
|
t3_a8an2s
| null | null |
t3_a8an2s
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/ecaii4n/
|
1547913618
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
billsil
|
t2_6ay72
|
> I have seen advice about avoiding floating point in finances repeated very often but never actually suffered from it, so I think it's not a useful thing to say when using 64-bit floats.
The government audits us every few years. They're anal retentive about being overcharged a cent, but they have no problem paying for an auditor. They complain about how frequently you round up for numbers that should be rounded up. Oh, but if you combine this bill with the next one, you overcharged us. Our billing department/secretary just rounds things down to the nearest cent to avoid questions. We're an engineering company and not a bank, so it's cheaper than getting it right.
| null |
0
|
1544295182
|
False
|
0
|
ebdfdon
|
t3_a4a2ks
| null | null |
t1_ebcteh8
|
/r/programming/comments/a4a2ks/floats_and_money/ebdfdon/
|
1547355075
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
grasspopper
|
t2_4c5eg
|
wish we had these while learning FT back in college
| null |
0
|
1545443892
|
False
|
0
|
ecaikb6
|
t3_a8e189
| null | null |
t3_a8e189
|
/r/programming/comments/a8e189/fourier_series_visualization/ecaikb6/
|
1547913646
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
KiNgOfSpEEdOJaCK
|
t2_1isc6a8a
|
...wait wut? It said the "rendering engine" not the complete app.
| null |
0
|
1544295189
|
False
|
0
|
ebdfdzw
|
t3_a3q1vh
| null | null |
t1_eba70zi
|
/r/programming/comments/a3q1vh/its_official_chromium_is_coming_to_microsoft_edge/ebdfdzw/
|
1547355079
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pear0
|
t2_gc0h5
|
What do you mean? Python’s venv has been around for a long time and it’s always worked flawlessly for me. No hacks. Then a requirements.txt to give pip specifying all modules and versions is pretty standard. The only other dependency manager I can think of is conda but that’s nowhere near 10 competing approaches.
| null |
0
|
1545444273
|
False
|
0
|
ecaiyvy
|
t3_a89y3r
| null | null |
t1_ec9s9kq
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecaiyvy/
|
1547913826
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Did you read the article?
| null |
0
|
1544295343
|
False
|
0
|
ebdflbs
|
t3_a4ab10
| null | null |
t1_ebdex2d
|
/r/programming/comments/a4ab10/im_a_developer_i_wont_teach_my_kids_to_code_and/ebdflbs/
|
1547355169
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545444315
|
False
|
0
|
ecaj0ht
|
t3_a66102
| null | null |
t3_a66102
|
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ecaj0ht/
|
1547913845
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
KiNgOfSpEEdOJaCK
|
t2_1isc6a8a
|
From what I have heard from this subreddit, it seems that guy is a troll that loves to shitpost about Microsoft. Just ignore him.
| null |
0
|
1544295514
|
False
|
0
|
ebdftdq
|
t3_a3q1vh
| null | null |
t1_eb9f951
|
/r/programming/comments/a3q1vh/its_official_chromium_is_coming_to_microsoft_edge/ebdftdq/
|
1547355269
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SaltTM
|
t2_8tr5k
|
I feel like there's this group of people that keep rewriting the same ol articles with the same languages that people have been checking out for a while now. Only new one on this list is maybe Zig.
Yet there's some actual new languages on the horizon such as: [Odin](https://github.com/odin-lang/Odin), [Crack](http://crack-lang.org/index.html), [Inko](https://inko-lang.org/), [Gravity](https://github.com/marcobambini/gravity), etc... [BaseCode](https://github.com/basecode-lang)
| null |
0
|
1545444356
|
False
|
0
|
ecaj20r
|
t3_a8cbm6
| null | null |
t3_a8cbm6
|
/r/programming/comments/a8cbm6/10_more_programming_languages_worth_checking_out/ecaj20r/
|
1547913864
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
vagif
|
t2_1uf6
|
Why on earth would they do it if the entire point of this switch is to stop maintaining their own version (EdgeHTML)?
They can't keep up on their own. No one can. Not at this giant size of a project.
| null |
0
|
1544295607
|
False
|
0
|
ebdfxmg
|
t3_a3q1vh
| null | null |
t1_eb95sm6
|
/r/programming/comments/a3q1vh/its_official_chromium_is_coming_to_microsoft_edge/ebdfxmg/
|
1547355322
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lordorwell37
|
t2_12hpy1
|
npm install isn't working.
| null |
0
|
1545444662
|
False
|
0
|
ecajdbk
|
t3_a8ef7i
| null | null |
t3_a8ef7i
|
/r/programming/comments/a8ef7i/apollo_8_flight_software_colossus_237_on_github/ecajdbk/
|
1547914004
|
63
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
klysm
|
t2_vhgyt
|
Sounds like an absolutely terrible idea.
| null |
0
|
1544295672
|
False
|
0
|
ebdg0kl
|
t3_a4c71j
| null | null |
t3_a4c71j
|
/r/programming/comments/a4c71j/codesync_the_whole_team_works_with_realtimesync/ebdg0kl/
|
1547355359
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CSharpFan
|
t2_mrk30
|
Well that came from windows Vista, to prevent UAC dialogs from happening. That location was always user-writable.
| null |
0
|
1545444663
|
False
|
0
|
ecajddb
|
t3_a89y3r
| null | null |
t1_eca5cm3
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecajddb/
|
1547914004
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gnus-migrate
|
t2_nvuy8
|
Frankly I found your argument extremely confusing. To me Kubernetes and Swarm operate on the same level of abstraction, that's why I would prefer Kubernetes' richer feature set and broader support despite the added complexity. That's more or less where I'm coming from. If my assumption is wrong then could you explain to me how?
| null |
0
|
1544295744
|
False
|
0
|
ebdg3sx
|
t3_a3tk0q
| null | null |
t1_ebdbumn
|
/r/programming/comments/a3tk0q/is_k8s_too_complicated/ebdg3sx/
|
1547355398
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
noratat
|
t2_jcghl
|
> The whole idea behind a lock file is to get rid of any "works on my machine" issues. The only instance I can think of where the lock file wouldn't be used is if you didn't specify a package version in your package.json file. That would cause the lock file to always have the latest version (i.e. not locking it).
Right, this is how a lockfile is supposed to work - versions are locked unless you run an explicit upgrade command.
Npm, as usual, decided to do something that makes no sense to anyone but them: running an npm install is actually equivalent to running yarn upgrade. The only way to get what should've been the default behavior is to run a completely separate command confusingly called `npm ci` for reasons that again, only seem to make sense to the npm devs.
| null |
0
|
1545444862
|
False
|
0
|
ecajkp1
|
t3_a89y3r
| null | null |
t1_ecahqta
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecajkp1/
|
1547914094
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tom-010
|
t2_1ec0i7n4
|
Otherwise I would not try it
| null |
0
|
1544295746
|
False
|
0
|
ebdg3wg
|
t3_a4c71j
| null | null |
t1_ebdg0kl
|
/r/programming/comments/a4c71j/codesync_the_whole_team_works_with_realtimesync/ebdg3wg/
|
1547355399
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
That hasn't been my experience. Packages adhere to Semver; it's been that way since the beginning. Furthermore, NPM defaults to installing dependencies with caret version ranges, so by default package dependencies only lock down the latest major release.
Allowing multiple versions to coexist without a name change encourages keeping packages up to date, because it allows you to update your dependencies without fear of creating conflicts for dependants downstream.
| null |
0
|
1545445284
|
False
|
0
|
ecak19h
|
t3_a89y3r
| null | null |
t1_ecac2lo
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecak19h/
|
1547914329
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
aa93
|
t2_4vyut
|
> limited by the external stuff from the current ecosystem
That's the opposite of a limit...
| null |
0
|
1544295824
|
False
|
0
|
ebdg7l9
|
t3_a45jvw
| null | null |
t1_ebcycjy
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdg7l9/
|
1547355445
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gc3
|
t2_38zon
|
Prolog seems to be designed for these puzzles. It's harder to use Prolog for creating production software though
| null |
0
|
1545445371
|
False
|
0
|
ecak4qp
|
t3_a8fs67
| null | null |
t3_a8fs67
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecak4qp/
|
1547914372
|
77
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cparen
|
t2_bl4in
|
True, but you get back to the classic problems of portable user interfaces that exist now almost entirely unchanged from the Java AWT vs Swing in the 90s. AWT simplified using native UI in Java apps and devs hated it because it was *hard* - getting the UI to look rigth still required manual testing on each platform. When Swing came out, the looks-the-same-everywhere-but-native-nowhere of its era, a lot of devs switched over immediately because it was *easy*.
I'm guessing that electron perf will improve, and enterprising devs will duplicate each platform's look and feel in CSS and script as packages you can drop in. You'll still need multiple layouts to feel really native, but with continuous improvement any app will get there if it's worthwhile. Then us old foggies will tell our stories of "back in my day, we manually managed our HWNDs and custom window classes, and were happy to!" and "meh, wtl did it better, and in less than a megabyte to boot. Thats right, we could do a UI in a megabyte, stop sneering."
| null |
0
|
1544295896
|
False
|
0
|
ebdgav2
|
t3_a45jvw
| null | null |
t1_ebbvt0c
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdgav2/
|
1547355485
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tenfingerperson
|
t2_2251jhr6
|
PHP
| null |
0
|
1545445719
|
False
|
0
|
ecaki7u
|
t3_a8an2s
| null | null |
t1_ec9slvc
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/ecaki7u/
|
1547914542
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
aa93
|
t2_4vyut
|
If I needed to do some C# or C++ dev I might too, but for TypeScript you can't beat VS Code.
| null |
0
|
1544295904
|
False
|
0
|
ebdgb84
|
t3_a45jvw
| null | null |
t1_ebcm0ha
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdgb84/
|
1547355490
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
No, that's false. If it were true, you wouldn't be able to check the lockfile into source control because it would change every time a new dev cloned the repo.
From [the docs](https://docs.npmjs.com/cli/install):
> This command installs a package, and any packages that it depends on. If the package has a package-lock or shrinkwrap file, the installation of dependencies will be driven by that, with an npm-shrinkwrap.json taking precedence if both files exist.
npm ci is for non-interactive installs. The difference is that it _exclusively_ relies on the lockfile, throwing an error and exiting if it isn't present or doesn't match package.json.
| null |
0
|
1545445763
|
False
|
0
|
ecakjxz
|
t3_a89y3r
| null | null |
t1_ecagcjm
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecakjxz/
|
1547914563
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Eirenarch
|
t2_46hjd
|
That's what I've heard but even when I write TypeScript I prefer to stay in VS because I sometimes switch to the server-side code and also I don't feel like learning a whole new set of shortcuts just to have some more TS help.
| null |
0
|
1544295983
|
False
|
0
|
ebdgf27
|
t3_a45jvw
| null | null |
t1_ebdgb84
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdgf27/
|
1547355536
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MotherOfTheShizznit
|
t2_ccgnn
|
Ever since having a cat I realized how I was totally mistaken about what cats want.
1. ~~Feed me.~~ My bowl is empty. Fill it.
2. ~~Let me in that room.~~ This door is closed. Open it.
3. ~~Pet me.~~ Look at me.
| null |
0
|
1545445917
|
False
|
0
|
ecakpve
|
t3_a8bizo
| null | null |
t1_ec9vgda
|
/r/programming/comments/a8bizo/using_tensorflow_to_learn_when_your_cat_wants_to/ecakpve/
|
1547914637
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ThePantsThief
|
t2_7iu2w
|
I was guessing haha. No clue how many packages I have. I know it's way over 300.
| null |
0
|
1544296116
|
False
|
0
|
ebdglu0
|
t3_a45jvw
| null | null |
t1_ebcr2k5
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdglu0/
|
1547355650
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tothebeat
|
t2_4xnjt
|
They rewrote the whole thing to save 150 words of storage.
| null |
0
|
1545445962
|
False
|
0
|
ecakrld
|
t3_a8ef7i
| null | null |
t3_a8ef7i
|
/r/programming/comments/a8ef7i/apollo_8_flight_software_colossus_237_on_github/ecakrld/
|
1547914657
|
24
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
davidk01
|
t2_1c5pc
|
All good points. I think it takes a level of maturity and having been around the block a few times to be able to put technical arguments in business contexts. Elevating software above all other concerns is partly why programmers consistently work against their own interests.
| null |
0
|
1544296178
|
False
|
0
|
ebdgovj
|
t3_a45jvw
| null | null |
t1_ebd3oa6
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdgovj/
|
1547355688
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
npm gets installed by default when you install Node, therefore for all intents and purposes it's "Node's package manager".
I see where you're coming from, but as far as I'm concerned bugs that were fixed years ago don't count towards npm being "terrible". In its current state, it's much much better than Rubygems+Bundler.
| null |
0
|
1545446018
|
False
|
0
|
ecaktso
|
t3_a89y3r
| null | null |
t1_ecadez7
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecaktso/
|
1547914685
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FR_STARMER
|
t2_9n7b9
|
I've been 'following' D for about 10 years now and it honestly hasn't changed a bit. It's a disaster of marketing, imo. People swear by it being amazing, but the lack of resources and community presence make it an obscure language choice.
| null |
0
|
1544296388
|
False
|
0
|
ebdgys5
|
t3_a47s2x
| null | null |
t1_ebcsxxs
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdgys5/
|
1547355809
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kace91
|
t2_91wwk
|
whats with the weird ligatures on the text? Plus a surprisingly hard to read font...
| null |
0
|
1545446032
|
False
|
0
|
ecakucf
|
t3_a8cbm6
| null | null |
t3_a8cbm6
|
/r/programming/comments/a8cbm6/10_more_programming_languages_worth_checking_out/ecakucf/
|
1547914692
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
davidk01
|
t2_1c5pc
|
It's neither a strawman argument nor about what YOU want. If I want the moon but am not willing to pay the actual cost of getting to the moon then I'm not gonna have a moon. It's easy to say I want quality. The majority of people are not willing to pay for it.
| null |
0
|
1544296390
|
False
|
0
|
ebdgywp
|
t3_a45jvw
| null | null |
t1_ebcm153
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdgywp/
|
1547355811
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cold12
|
t2_472yp
|
Of course not, the central package repository no longer exists!
| null |
0
|
1545446196
|
False
|
0
|
ecal0jm
|
t3_a8ef7i
| null | null |
t1_ecajdbk
|
/r/programming/comments/a8ef7i/apollo_8_flight_software_colossus_237_on_github/ecal0jm/
|
1547914768
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
simon_o
|
t2_unfj0
|
> Markdown is great.
It's great because other people put in a lot of work after Gruber abandoned it. (And then he tried to prevent standard markdown from happening.)
| null |
0
|
1544296434
|
False
|
0
|
ebdh0y5
|
t3_a45jvw
| null | null |
t1_ebbv84s
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdh0y5/
|
1547355836
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545446492
|
1545579944
|
0
|
ecalbsc
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecalbsc/
|
1547914933
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
davidk01
|
t2_1c5pc
|
I don't know. I've given up trying to make sense of general preferences.
| null |
0
|
1544296477
|
False
|
0
|
ebdh319
|
t3_a45jvw
| null | null |
t1_ebclwgq
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdh319/
|
1547355862
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jarfil
|
t2_5mzr6
|
This is why I use VHDx virtual drives to store code. It's much easier to move or backup the whole VHDx file than to run backups on millions of files (yes, literally millions).
| null |
0
|
1545446678
|
False
|
0
|
ecalipx
|
t3_a89y3r
| null | null |
t3_a89y3r
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecalipx/
|
1547915019
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
audioen
|
t2_gz6hs
|
> One solution is to drive down the costs of development, leaning on cheaper solutions (e.g. Electron).
It used to be that all you had to do was develop for Windows, and you would capture like 95 % of the market. Today, if you are serious about native development, you'd have to write 4 or 5 versions of whatever app you're doing, and each platform seems to recommend some specific, incompatible technology to build the app with. You'd have to write versions of the same app in Java, C#, Swift and maybe Python.
So, it's a pretty safe conclusion that driving down the cost of development is critically important, and so is sharing the code between the various implementations. To a degree, this matters more than the money you can get out of users for particular platform. You'll always be motivated to sharing the implementation between the various platforms as much as possible. All we're really doing now is just trying to discover the pieces of the best possible cross-platform development and delivery platform.
For me, the best I got going is some kind of SPA type technology hosted on a server, which takes care of all the desktop OSes and mobile, in a pinch. If there are native apps, they're mostly just a shim that hold a webkit view and maybe supply some additional native hooks to enhance the experience in an app context. Perhaps one day I can use something like react native, and actually generate each platform's application from some common codebase, but when I tried it, it seemed barely able to run a hello world application reliably.
| null |
0
|
1544296495
|
1544296842
|
0
|
ebdh3wp
|
t3_a45jvw
| null | null |
t1_ebcizep
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdh3wp/
|
1547355873
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Sadzeih
|
t2_dbcym
|
Just use yarn.
| null |
0
|
1545446859
|
False
|
0
|
ecalpn4
|
t3_a89y3r
| null | null |
t1_ec9lm0l
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecalpn4/
|
1547915105
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
simon_o
|
t2_unfj0
|
I think not being as cringe-worthy as Gruber is a perfectly fine accomplishment. :-)
| null |
0
|
1544296528
|
False
|
0
|
ebdh5hr
|
t3_a45jvw
| null | null |
t1_ebbvbg1
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdh5hr/
|
1547355892
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
myringotomy
|
t2_9f1cg
|
That's exactly how this subreddit works.
The only stories and comments that get upvotes are those that praise microsoft and technologies that came out of microsoft.
Anything made by google is demonized, anything made by apple is demonized, anything made by IBM and Oracle gets demonized, facebook, twitter etc the same story.
This place is full of Ms fanbois.
| null |
0
|
1545446953
|
False
|
0
|
ecalt8n
|
t3_a8cagl
| null | null |
t1_ecagt8x
|
/r/programming/comments/a8cagl/electron_400_has_been_released_electron_blog/ecalt8n/
|
1547915149
|
-17
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pougetat
|
t2_lr1ppls
|
And apple?
| null |
0
|
1544296537
|
False
|
0
|
ebdh5xb
|
t3_a3v0ve
| null | null |
t1_ebaevrx
|
/r/programming/comments/a3v0ve/facebook_engineers_discovered_technique_of_adding/ebdh5xb/
|
1547355898
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
snowe2010
|
t2_53c7i
|
>In its current state, it's much much better than Rubygems+Bundler.
You can keep saying that but the majority of devs disagree. Just perform a simple search on google or really anywhere tbh. Maybe start with `npm non-deterministic`, which you should know, is one of the biggest reasons for using a package manager. So your coworkers can use the same environment.
| null |
0
|
1545447005
|
False
|
0
|
ecalv8h
|
t3_a89y3r
| null | null |
t1_ecaktso
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecalv8h/
|
1547915174
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
davidk01
|
t2_1c5pc
|
What cross platform applications have you made?
| null |
0
|
1544296542
|
False
|
0
|
ebdh66q
|
t3_a45jvw
| null | null |
t1_ebch8fd
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdh66q/
|
1547355901
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
duuuh
|
t2_3uw0t
|
Since JS doesn't have (afaik) any sane 'public / private' distinction I don't think there's any real way to do this. You could rely on namespacing conventions. But honestly, 'C / whatever else' makes this kind of thing a lot easier.
| null |
0
|
1545447140
|
False
|
0
|
ecam0cj
|
t3_a89y3r
| null | null |
t1_eca8gfu
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecam0cj/
|
1547915238
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
davidk01
|
t2_1c5pc
|
Good thing then GCC can cross compile and can fill in hardware intrinsics with software emulation.
What exactly is your point? Did you write the GCC frontend and backend for ARM? Or did you just leverage what was already there?
Only on proggit is centuries of compiler work casually dismissed and contrasted with another compiler that optimizes dynamic code to get almost bare metal performance.
| null |
0
|
1544296636
|
1544296919
|
0
|
ebdhahy
|
t3_a45jvw
| null | null |
t1_ebcfxtx
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdhahy/
|
1547355954
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
NPM is deterministic when used with a lockfile, which has been the default behavior for over a year now.
| null |
0
|
1545447249
|
False
|
0
|
ecam4kg
|
t3_a89y3r
| null | null |
t1_ecalv8h
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecam4kg/
|
1547915290
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rlbond86
|
t2_436ic
|
Call it what you want. D has automatic, scheduled garbage collection that is not easily controlled by the programmer. C and C++ don't have that.
| null |
1
|
1544296650
|
False
|
0
|
ebdhb3u
|
t3_a47s2x
| null | null |
t1_ebd9m5d
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdhb3u/
|
1547355961
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
duckwizzle
|
t2_3yqaa
|
So what editor/ide do you guys use for electron?
| null |
0
|
1545447484
|
False
|
0
|
ecamdrp
|
t3_a8cagl
| null | null |
t3_a8cagl
|
/r/programming/comments/a8cagl/electron_400_has_been_released_electron_blog/ecamdrp/
|
1547915432
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1544296805
|
False
|
0
|
ebdhi5f
|
t3_a4cwk9
| null | null |
t3_a4cwk9
|
/r/programming/comments/a4cwk9/introduction_to_web_workers/ebdhi5f/
|
1547356049
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ologn
|
t2_4fylc
|
I've heard it works quite well as a database querying language.
| null |
0
|
1545447492
|
False
|
0
|
ecame1l
|
t3_a8fs67
| null | null |
t1_ecak4qp
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecame1l/
|
1547915436
|
27
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
KiNgOfSpEEdOJaCK
|
t2_1isc6a8a
|
Microsoft, why? Just why?
Edge was in the right way, its engine(EdgeHTML) was good enough and supported the modern standards the right way and it actually was never the problem to me, the problem was how RAM consuming it is + Feels very basic. If Microsoft just fixed the RAM issue and improved the performance/focused on it, and actually improved the UI and helped in extensions so that it doesn't feel basic anymore, it would actually be great.
I didn't need another Chromium. I actually wanted it to die, I just don't understand the direction Microsoft is taking right now, they designed some of their apps with Elecancer(like VSCode and Skype) and now they're moving to Edge, Chromium sure is fast and all but it's a fucking huge RAM cancer that is one of the reasons why stuff like Electron are hot garbage, yet Microsoft is using it, there were a lot of choices if they wanted to replace the engine. I really hope that Microsoft gets really careful with handling Chromium because the situation can really gets much worse since this is Chromium we are talking about.
I just wished they never took this path. Stuff like Chromium should be eliminated, not supported.
| null |
0
|
1544296917
|
False
|
0
|
ebdhn48
|
t3_a3q1vh
| null | null |
t3_a3q1vh
|
/r/programming/comments/a3q1vh/its_official_chromium_is_coming_to_microsoft_edge/ebdhn48/
|
1547356110
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
snowe2010
|
t2_53c7i
|
I can see you couldn't even take the time to google that: https://docs.npmjs.com/cli/install
Straight from npm. In case you're too lazy to click that link:
>This algorithm is deterministic, but different trees may be produced if two dependencies are requested for installation in a different order.
hence, non-deterministic. Not to mention that lockfiles don't actually lock anything. That's another thing that at least Bundler in RubyGems land gets right. `npm install` will modify your lockfile. You have to use `npm ci` to get reproducible results. Another reason it's not deterministic. npm can't even get lockfiles right. It's frankly ridiculous.
| null |
0
|
1545447581
|
False
|
0
|
ecamhio
|
t3_a89y3r
| null | null |
t1_ecam4kg
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecamhio/
|
1547915479
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
josefx
|
t2_4orl7
|
To be honest the last time I touched Qt5 I felt the need to strangle someone. Had to compile it for a system well past maintenance and Qt5 claimed everything was okay, all dependencies are as they should and the platform library required to start any Qt5 application would be compiled. Only it wasn't. Turns out the xcb headers on the system were a touch too old, which didn't stop the build script from explicitly listing them as good to go before it silently disabled everything depending on them.
On the other hand good luck getting electron run on that system, getting anything remotely current to compile and run on that target is always fun.
| null |
0
|
1544297093
|
False
|
0
|
ebdhv2r
|
t3_a45jvw
| null | null |
t1_ebdechp
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdhv2r/
|
1547356237
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
techsupport314
|
t2_uvevkwv
|
Now I can finally visualize the "randomness"
| null |
0
|
1545447614
|
False
|
0
|
ecamis1
|
t3_a8e189
| null | null |
t3_a8e189
|
/r/programming/comments/a8e189/fourier_series_visualization/ecamis1/
|
1547915494
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1544297186
|
False
|
0
|
ebdhzl3
|
t3_a44xl7
| null | null |
t1_ebd8gvg
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebdhzl3/
|
1547356293
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
snowe2010
|
t2_53c7i
|
this conversation is really going nowhere. I'd urge you to actually take a look at each part of npm and evaluate it against literally every other package manager and see how it fails at just basic sanity checks.
| null |
0
|
1545447626
|
False
|
0
|
ecamj9k
|
t3_a89y3r
| null | null |
t1_ecam4kg
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecamj9k/
|
1547915500
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
It's called Dart.
| null |
0
|
1544297266
|
False
|
0
|
ebdi3gf
|
t3_a45jvw
| null | null |
t1_ebbvt0c
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdi3gf/
|
1547356341
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
koprulu_sector
|
t2_zp0kp6
|
You’re getting downvoted, assuming because your comment comes off overtly negative, dismissive/exclusive. Let’s be positive to share and encourage; well be more successful in introducing and gaining adopters.
I share some of your views of OOP because of my own experiences. I quit programming after college because it wasn’t enjoyable; it was overly complicated (SOLID) and buggy (mutations, global variables, etc).
When I tried programming again (introduced by react and redux, it overnight made my code so much simpler and easier to reason about. It was like eureka and a lightbulb going off. Knowing a function only returns a new value instead of mutating a variable, for example, made it so easy to narrow down where I made a mistake/bug. No more solid; everything is just a function. And that was just from avoiding mutation - not even knowing about functional data structures, algorithms, functors, monoids, semi-groups, etc.
The really cool part was how my code evolved. I recently did a project in Ocaml where after looking back at my code, I saw my functions more as a declaration / template to solve a given problem, instead of a series of steps I have to mentally walk through.
This is surely anecdotal experience, but it was earth shattering to me.
| null |
0
|
1545447651
|
False
|
0
|
ecamk7c
|
t3_a8epbk
| null | null |
t1_ecacil2
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecamk7c/
|
1547915512
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jcelerier
|
t2_nju89
|
it's under LGPL so you can just ship the dlls along your proprietary code
| null |
0
|
1544297400
|
False
|
0
|
ebdi9qy
|
t3_a45jvw
| null | null |
t1_ebddrui
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdi9qy/
|
1547356419
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
This person seems to be misrepresenting “I rewrote bad code with better code” with “I fixed all my problems by switching from Java to Node.”
| null |
0
|
1545447684
|
False
|
0
|
ecamlid
|
t3_a8ae4l
| null | null |
t1_eca9l7l
|
/r/programming/comments/a8ae4l/optimizing_java/ecamlid/
|
1547915528
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ZoxxMan
|
t2_gbn7z
|
I played your game a bit. It seems the light from torches on the ground can be seen through walls and also the light doesn't have a smooth falloff, but it gets abruptly cut off at the end.
| null |
0
|
1544297455
|
False
|
0
|
ebdic7b
|
t3_a230zo
| null | null |
t3_a230zo
|
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/ebdic7b/
|
1547356449
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
koprulu_sector
|
t2_zp0kp6
|
Thank you for sharing!
| null |
0
|
1545447958
|
False
|
0
|
ecamw30
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecamw30/
|
1547915659
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
josefx
|
t2_4orl7
|
My point was that the little amount of work I had to port the software to ARM was far from 2 or 3 times the amount of work of keeping it on its original platform only.
> software emulation.
Why would anyone write explicit SSE optimized code if software emulation was even remotely fast enough for the task?
| null |
0
|
1544297517
|
False
|
0
|
ebdieyy
|
t3_a45jvw
| null | null |
t1_ebdhahy
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdieyy/
|
1547356484
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
noratat
|
t2_jcghl
|
> No, that's false. If it were true, you wouldn't be able to check the lockfile into source control because it would change every time a new dev cloned the repo.
No shit, that's why it was a horrible design.
I've gone back and tested this, it looks like npm quietly changed the behavior to be at least somewhat sane in npm 5.10.x+ (naturally, the changelog makes no mention of this). Before that, the developers were *adamant* that this idiocy was the intended behavior.
What I said is easily reproduced on npm 5.1 through 5.8.
> npm ci is for non-interactive installs. The difference is that it exclusively relies on the lockfile, throwing an error and exiting if it isn't present or doesn't match package.json.
Which should have been the default, not a separate command with a bizarre name (and yes, I know what CI stands for. It's still a really stupid name to use here).
| null |
0
|
1545447977
|
1545448196
|
0
|
ecamwsr
|
t3_a89y3r
| null | null |
t1_ecakjxz
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecamwsr/
|
1547915667
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SizzlerWA
|
t2_4c26u
|
Agreed. But not all Electron apps are like that. And the flip side is that a native app developed in AppKit might cost much more to consumers since it costs so much more to develop. So perf isn’t free.
| null |
0
|
1544297865
|
False
|
0
|
ebdivir
|
t3_a45jvw
| null | null |
t1_ebcg348
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdivir/
|
1547356688
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
That's misleading. Lockfiles lock the tree, not just dependencies, so unless you're updating dependencies you'll always get the same tree:
> package-lock.json is automatically generated for any operations where npm modifies either the node_modules tree, or package.json. It describes the exact tree that was generated, such that subsequent installs are able to generate identical trees, regardless of intermediate dependency updates.
([Source](https://docs.npmjs.com/files/package-lock.json))
npm install will _not_ modify your lockfile unless you change your package's dependencies. So yes, if you go and add a new dependency to package.json, then *obviously* npm will update package.lock. That's normal and correct behavior. Bundler does the same thing.
| null |
0
|
1545448062
|
False
|
0
|
ecan02s
|
t3_a89y3r
| null | null |
t1_ecamhio
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecan02s/
|
1547915708
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
suhcoR
|
t2_rzwyn0
|
Agree. But why Julia? Has anyone seen [CLASP](https://github.com/clasp-developers/clasp)? It's a Common Lisp implementation able to directly integrate C++ libraries without need of an adapter layer. The implementation is 10 to 20 times faster than Python and successfully used in science.
| null |
0
|
1544297867
|
1544298416
|
0
|
ebdivl2
|
t3_a462ss
| null | null |
t1_ebc6dab
|
/r/programming/comments/a462ss/julia_vs_python_which_programming_language_will/ebdivl2/
|
1547356689
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FriendlyDisorder
|
t2_1n81f7v2
|
That is a very nice visualization. Thank you.m for sharing!
| null |
0
|
1545448132
|
False
|
0
|
ecan2pj
|
t3_a8e189
| null | null |
t3_a8e189
|
/r/programming/comments/a8e189/fourier_series_visualization/ecan2pj/
|
1547915740
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Timbit42
|
t2_1tnz
|
The VIC-II video chip in the C64 is better in some ways and worse in others. It is better in sprites and getting all 16 colors on screen at once, although limited to 2 or 4 in each 8x8 cell. The Atari is better in having a beautiful palette of 256 colors instead of the 16 ghastly drab colors of the C64. What were they thinking? The Atari has a GPU which allows the screen be changed on every scanline, allowing different color flexibility than the C64. The C64 video chip is not a GPU. If you want anything fancy, you're going to burn the fewer CPU cycles the C64 has, to do it.
The SID sound chip in the C64 is better at string and woodwind sounds and has a wider range of tones, but is limited to 3 voices. The Atari's POKEY has 4 8-bit voices, each pair of which can be combined into a 16-bit voice. There are SID players for the Atari that show how much the POKEY can do what the SID can do.
The Atari has a faster 1.79 MHz CPU compared to the C64's 1 MHz CPU. This makes it easier for the Atari to do more calculations per second, particularly useful for calculating 3D coordinates for 3D graphics.j
The C64 has KERNAL which is basically an API of routines for accessing files, printing on the screen, and doing other I/O. The Atari has more of an operating system allowing access to various devices using device names similar to MS-DOS. One use of this is an 80-column display device connected to a joystick port can be printed to just like on the built-in 40-column display. The Atari can also boot from tape or disk and a variety of DOSes can be loaded depending on the needs of the user. The C64 doesn't even have proper disk commands available.
So when it comes to games, the C64 has an edge in putting 16 colors where you need them, and many larger sprites for game players and enemies. It also has an edge in music, although the 3 voices need to be multiplexed to make it sound really good. The Atari is also a very good games machine, after all Atari was primarily a games company, but the graphics and sound are slightly less flexible. When it comes to apps other than games, I think the Atari wins hands down. It has a faster CPU and more powerful operating system.
So that is the hardware. Let's look at software. It's not that the Atari was incapable of having the same games, but Atari was slow to release technical details to programmers, hobbling the system early on. The Atari was also more expensive than the C64. Once the C64 was on the market, Atari was unable to keep up. It's sometimes pointed out that piracy on the Atari was also a factor. It's not that there was any less piracy on the C64, but that the larger user base of the C64 meant that companies could still make money on their software because there were enough users who didn't pirate it. The Atari had a smaller user base so even if there were less piracy, there wasn't enough of a non-pirating user base to justify writing software for it.
So there ended up being a LOT more software for the C64, although most of it is games. If you're into gaming, then the C64 wins hands down. If you're into anything besides games, the two systems are pretty comparable. For most people, the games are all they care about. Personally, I got into computing for the programming and have never been a big gamer, so the Atari hardware is more interesting to me and there are lots of programming languages available for both systems.
| null |
0
|
1544297958
|
False
|
0
|
ebdj0ad
|
t3_a44xl7
| null | null |
t1_ebcio6r
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebdj0ad/
|
1547356747
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
If you can't produce an example of such a failure, I don't see why you'd expect _me_ to be able to.
| null |
0
|
1545448279
|
False
|
0
|
ecan7pk
|
t3_a89y3r
| null | null |
t1_ecamj9k
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecan7pk/
|
1547915803
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DGolden
|
t2_1pdmi
|
Oh, I had an '030 overclocked to an amazing 42MHz once... Sure, my understanding is Akiko is a bit crap too and its utility drops off with faster cpus and fast ram, but it was alongside a 14MHz '020. A little "cheating" like doubling 100 horizontal lines to 200 for display cost-free with the copper is possible on the Amiga, too. A CD32 with a somewhat faster '020 and maybe some fast ram seems more plausible than an '030 at the time in question if they wanted to meet console price points.
Hmm. I'm also now vaguely wondering if something non-cpu could drive akiko in any way. Everyone loves [Copper Danger Mode](http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node0029.html) to let the copper program the blitter and ~~trash all system memory astonishingly quickly when you inevitably fuck that up~~ do cool effects. Could anything other than the cpu write-read akiko and would that even be worthwhile? Literally haven't tried, whether on real or emulated hardware. (edit: well probably not the copper anyway, looks like [akiko lives outside traditional $dffxxx](https://github.com/tonioni/WinUAE/blob/master/akiko.cpp#L275) . Oh well.)
| null |
0
|
1544298006
|
1544300243
|
0
|
ebdj2r8
|
t3_a44xl7
| null | null |
t1_ebdcejg
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebdj2r8/
|
1547356807
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ajedi32
|
t2_6h0xg
|
I don't think `ci` should be the default behavior. If it were, you wouldn't be able to update your dependencies by editing package.json. (Which is fine in a non-interactive CI, but poor UX for normal use.)
| null |
0
|
1545448373
|
False
|
0
|
ecanapq
|
t3_a89y3r
| null | null |
t1_ecamwsr
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecanapq/
|
1547915840
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
progfu
|
t2_4llk6
|
VIM
| null |
1
|
1544298046
|
False
|
0
|
ebdj4us
|
t3_a45jvw
| null | null |
t1_ebd6bjy
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdj4us/
|
1547356832
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cm9kZW8K
|
t2_6fyglj1
|
> Go is fine for application servers.
Sure; my skepticism is about error handling mostly. It seems to be very verbose and from what ive seen its easy for them to miss corners.
| null |
0
|
1545448435
|
False
|
0
|
ecancsc
|
t3_a8ae4l
| null | null |
t1_ec9u7vg
|
/r/programming/comments/a8ae4l/optimizing_java/ecancsc/
|
1547915865
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
idobai
|
t2_fu8kq
|
IDEs usually have tools which can't be found in the core ecosystem.
| null |
0
|
1544298143
|
False
|
0
|
ebdj9v5
|
t3_a45jvw
| null | null |
t1_ebdg7l9
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdj9v5/
|
1547356894
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SmartToes
|
t2_1wdbkaix
|
http://pbfcomics.com/comics/skub/
| null |
1
|
1545448572
|
False
|
0
|
ecanhh8
|
t3_a8cagl
| null | null |
t1_ecaas6t
|
/r/programming/comments/a8cagl/electron_400_has_been_released_electron_blog/ecanhh8/
|
1547915924
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
yogthos
|
t2_73rg
|
And yet, apps like Slack, Git Kraken, Atom, Mailspring and so on likely would’ve never seen the light of day on Linux if not for Electron. Electron drastically lowers the barrier for writing and maintaining cross-platform applications, and I think that far outweighs its disadvantages. I don’t really see any insurmountable problems with Electron that can’t be addressed in the long run as the adoption grows.
The reality is that maintaining multiple UIs for different platforms is incredibly expensive, and only a few companies have the resources to dedicate separate development teams for that. The value of having a common runtime that works reasonably well on all platforms can’t be overstated in my opinion. This is especially important for niche platforms like Linux that were traditionally overlooked by many companies.
If it was as trivial to maintain multiple versions of a native app as you think it is, then we would've seen a lot more cross platform apps before Electron showed up.
| null |
1
|
1544298234
|
False
|
0
|
ebdjekn
|
t3_a45jvw
| null | null |
t1_ebch8fd
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdjekn/
|
1547356952
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cm9kZW8K
|
t2_6fyglj1
|
> Even if that’s true, you could have just as easily done the same in spring or spring boot.
Maybe, and if the client mandated java I would have. But this is not a strong use case for the JVM; so instead of another bean mess, they got a handful of small purpose specific microservices and saved a bundle on both dev time and operational cost.
Believe what you want; but if you havent done enterprise Java, you have no idea just how horrible it is.
| null |
0
|
1545448632
|
False
|
0
|
ecanjhn
|
t3_a8ae4l
| null | null |
t1_eca9l7l
|
/r/programming/comments/a8ae4l/optimizing_java/ecanjhn/
|
1547915949
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
idobai
|
t2_fu8kq
|
> Why do you think that 600MB is being used on the file?
I don't think that.
> You can't spare 600MB of RAM on your development machine?
For editing a single file? No.
> Latency? Seriously?
Yes, seriously. It lags.
> I have zero complaints with VS Code in latency or memory footprint.
You don't have complaints because you're biased. You electron fans are constantly lying about things.
> It opens quickly, loads my projects, and gets out of the way so I can write code. Why do you need more from a text editor?
Any editor can do that without sacrificing that much.
| null |
0
|
1544298250
|
1544299332
|
0
|
ebdjfdf
|
t3_a45jvw
| null | null |
t1_ebd1u93
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdjfdf/
|
1547356963
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
unkz
|
t2_3f87u
|
Depends on what you are trying to do. I’ve used it successfully as a data store for NLG.
| null |
0
|
1545448740
|
False
|
0
|
ecann1w
|
t3_a8fs67
| null | null |
t1_ecak4qp
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecann1w/
|
1547916021
|
6
|
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.