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
|
rekt_brownie
|
t2_geypd
|
IIRC, they rewrote a solid chunk of it in C++ for performance reasons
| null |
0
|
1544283048
|
False
|
0
|
ebcyqvt
|
t3_a45jvw
| null | null |
t1_ebc9tzq
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcyqvt/
|
1547347299
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
afiefh
|
t2_428e2
|
I want to ask if php actually does this, but I'm afraid I might lose faith in developer kind...
| null |
0
|
1545429748
|
False
|
0
|
eca30xu
|
t3_a8an2s
| null | null |
t1_ec9tng7
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/eca30xu/
|
1547906356
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DarkLordAzrael
|
t2_srtuf
|
This is especially true if you use something like Qt that takes care of all the platform specific stuff for you.
| null |
0
|
1544283137
|
False
|
0
|
ebcyv2w
|
t3_a45jvw
| null | null |
t1_ebch8fd
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcyv2w/
|
1547347351
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ablindmantwo
|
t2_90etl
|
Not quite true, it has no dependencies!
| null |
0
|
1545429879
|
False
|
0
|
eca377f
|
t3_a89y3r
| null | null |
t1_ec9kmze
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca377f/
|
1547906462
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
maep
|
t2_33133
|
Reminds me of the kx Drivers for the EMU10K1 chipset.
| null |
0
|
1544283163
|
False
|
0
|
ebcyw9t
|
t3_a44d04
| null | null |
t3_a44d04
|
/r/programming/comments/a44d04/soul_a_new_efficient_portable_lowlatency_audio/ebcyw9t/
|
1547347365
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MatthewMob
|
t2_gqcpc
|
> Though they do like to use a library for silly things some times.
May I present to you [the entire 'is-object' library](https://github.com/ljharb/is-object/blob/master/index.js).
Seven million downloads a month and used in NodeMon amongst other large packages - it literally uses less code to write it yourself than to import and use this package.
| null |
0
|
1545430105
|
False
|
0
|
eca3i3m
|
t3_a89y3r
| null | null |
t1_ec8zp37
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca3i3m/
|
1547906598
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Dimsml
|
t2_eum0r
|
I did not know it at the time, but a bunch of Amigas were initially used to render graphics for Babylon 5. But I think they replaced them with a network of IBM PCs very early into the show.
https://www.youtube.com/watch?v=6eNYj-Chkxw
| null |
0
|
1544283227
|
False
|
0
|
ebcyz2p
|
t3_a44xl7
| null | null |
t1_ebcqad6
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebcyz2p/
|
1547347400
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
1
|
1545430197
|
False
|
0
|
eca3mrq
|
t3_a89y3r
| null | null |
t1_ec9c8s7
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca3mrq/
|
1547906655
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jesuscrysis
|
t2_254ib0qk
|
> Ideally every OS should include a browser renderer natively.
It is called Internet Explorer. People didn’t like it much and MS got sued for doing it.
| null |
0
|
1544283278
|
False
|
0
|
ebcz1as
|
t3_a45jvw
| null | null |
t1_ebcnbtc
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcz1as/
|
1547347428
|
29
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
get_salled
|
t2_6aezo
|
Know your data. Know your hardware.
When you throw any language that requires a runtime, you've added "know your runtime" to your requirements list and the first two are already hard. With that said, I'm sure "1 us Java programmers" exist but I would guess there are more "1 us C++ programmers" simply because they don't have a runtime to consider. (Borrowing numbers from his talk @ 14:44)
​
| null |
0
|
1545430277
|
False
|
0
|
eca3qr3
|
t3_a8aels
| null | null |
t3_a8aels
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/eca3qr3/
|
1547906704
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DarkLordAzrael
|
t2_srtuf
|
If you're already using C++ there is no reason to maintain multiple GUI layers instead of using Qt...
| null |
0
|
1544283322
|
False
|
0
|
ebcz37m
|
t3_a45jvw
| null | null |
t1_ebcm153
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebcz37m/
|
1547347450
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545430291
|
False
|
0
|
eca3rii
|
t3_a89y3r
| null | null |
t1_ec94dag
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca3rii/
|
1547906714
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ericgj
|
t2_5z4gk
|
Good article, thanks for posting.
| null |
0
|
1544283545
|
False
|
0
|
ebczcak
|
t3_a4ab10
| null | null |
t3_a4ab10
|
/r/programming/comments/a4ab10/im_a_developer_i_wont_teach_my_kids_to_code_and/ebczcak/
|
1547347564
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
giantsparklerobot
|
t2_47gyf
|
> This is the byproduct of bootcamp mills churning out designers that know how to cobble libraries together and amateurs who make a few react apps and call themselves engineers.
I think this is right on the money (for the general case, don't get your fee fees hurt outliers). It might not be a bad way for a community to form if the language wasn't such shit. It seems problem solving in JavaScript is to throw more libraries and frameworks at the problem. Then more overwrought shit to manage all the frameworks and modules is needed. Then framework management gets so complicated *it* needs a management system. But don't worry it's built on the totally not fragile npm system where every package is super trustworthy.
🙄
| null |
0
|
1545430373
|
False
|
0
|
eca3vpd
|
t3_a89y3r
| null | null |
t1_eca09sy
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca3vpd/
|
1547906765
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
skeeto
|
t2_3em9l
|
Also, The Digital Antiquarian has a series called *The 68000 Wars* that
discusses a lot of the the Amiga's history:
* [The 68000 Wars, Part 1: Lorraine](https://www.filfre.net/2015/03/the-68000-wars-part-1-lorraine/)
* [The 68000 Wars, Part 2: Jack Is Back!](https://www.filfre.net/2015/04/the-68000-wars-part-2-jack-is-back/)
* [The 68000 Wars, Part 3: We Made Amiga, They Fucked It Up](https://www.filfre.net/2015/04/the-68000-wars-part-3-we-made-amiga-they-fucked-it-up/)
* [The 68000 Wars, Part 4: Rock Lobster](https://www.filfre.net/2015/11/the-68000-wars-part-4-rock-lobster/)
* [The 68000 Wars, Part 5: The Age of Multimedia](https://www.filfre.net/2017/10/the-68000-wars-part-5-the-age-of-multimedia/)
| null |
0
|
1544283563
|
False
|
0
|
ebczd1g
|
t3_a44xl7
| null | null |
t1_ebbq7bz
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebczd1g/
|
1547347573
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MatthewMob
|
t2_gqcpc
|
Or without ironically installing a new module to delete modules:
mkdir \empty
robocopy /mir \empty node_modules
| null |
0
|
1545430419
|
False
|
0
|
eca3xzm
|
t3_a89y3r
| null | null |
t1_ec9dl8r
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca3xzm/
|
1547906794
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pjmlp
|
t2_755w5
|
Which only matters in very specific niches.
Even modern games engines do support C++ GCs.
| null |
0
|
1544283668
|
False
|
0
|
ebczhl8
|
t3_a47s2x
| null | null |
t1_ebcymti
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebczhl8/
|
1547347629
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bakery2k
|
t2_cesqn
|
http://news.php.net/php.internals/70691 :(
| null |
0
|
1545430614
|
False
|
0
|
eca47qq
|
t3_a8an2s
| null | null |
t1_eca30xu
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/eca47qq/
|
1547906914
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sime
|
t2_35em5
|
It costs 600MB to open one file. It doesn't cost another 600MB to open a second file.
Electron has a fairly high fixed memory cost just to display a blank page, but after that it is much more reasonable as application complexity increases.
| null |
0
|
1544283679
|
False
|
0
|
ebczi26
|
t3_a45jvw
| null | null |
t1_ebcxtr2
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebczi26/
|
1547347635
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gngeorgiev
|
t2_q0bfr
|
We should ask the developer to give us collaboration rights so we can add dependencies to the project and add the new version to npm
| null |
0
|
1545430639
|
False
|
0
|
eca48zh
|
t3_a89y3r
| null | null |
t1_eca377f
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca48zh/
|
1547906930
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Eirenarch
|
t2_46hjd
|
Not for you but it means that there is no reason to shove the electron app on others.
| null |
0
|
1544283683
|
False
|
0
|
ebczi7p
|
t3_a45jvw
| null | null |
t1_ebcxysj
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebczi7p/
|
1547347637
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
coderbot16
|
t2_22ku8x
|
JIT makes up for a pretty tiny amount of execution time in most long running applications, and since many Java applications are servers the JIT time doesn't matter too much. Sure, in many cases Java can be slower, but not exceedingly so. If you aren't allocating and throwing away hundreds of megabytes every second then the GC doesn't even make a huge impact.
Don't get me wrong, when you're dealing with use cases with a lot of memory usage (Voxel games), Java sucks and it sucks hard. But if you're doing mostly numerical stuff, the differences are basically 0.
| null |
0
|
1545430774
|
False
|
0
|
eca4fo4
|
t3_a89y3r
| null | null |
t1_ec9zo5c
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca4fo4/
|
1547907042
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
robolab-io
|
t2_md5k8b0
|
Get together and create a replacement for JavaScript? And you want corporations (and Mozilla) to do so? This is the worst idea of all time. Enjoy having your own code spy on you.
| null |
0
|
1544283699
|
False
|
0
|
ebczixa
|
t3_a45jvw
| null | null |
t1_ebbvt0c
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebczixa/
|
1547347645
|
-3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545430980
|
False
|
0
|
eca4oyt
|
t3_a89y3r
| null | null |
t1_eca122v
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca4oyt/
|
1547907156
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
>using way more resources than necessary just because it's easier is something that many of us oppose on principle. You can say, "Well, it's only RAM", "It's only disk space", etc, but imagine if every program did that. There are a solid 1000 programs available on a default \*nix install. What if they all took up 300MB disk space? What if some idiot decided that listing files in a directory was just a special of a browser using the file:// URL protocol, and now ls uses upwards of 1GB of RAM?
I would agree that there are some programs that should be written natively (like system programs such as ls) but for "apps" like discord or slack, I don't really mind. I'm not going to install 1000s of apps like discord on my computer. I only have about 10 or so these types of programs that I use on a regular basis (office, steam, chrome, vscode, spotify, and I'm sure there's a couple others). If they each took up 1GB of disk space or even 1GB of memory I wouldn't mind in the slightest.
| null |
0
|
1544283785
|
False
|
0
|
ebczmtd
|
t3_a45jvw
| null | null |
t1_ebcsaje
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebczmtd/
|
1547347694
|
-6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
itdependsnetworks
|
t2_ix288
|
I know this is old comment but I have been looking for this for a long time. The use case is for source of truth, especially around networking. As you make changes to your network, you don't merge them to master until they are ready for change. This works well in keeping yaml and git, but without that db, there is a lot of tradeoffs. This is a pretty good in between.
| null |
0
|
1545431149
|
False
|
0
|
eca4whd
|
t3_9b65st
| null | null |
t1_e51cgid
|
/r/programming/comments/9b65st/litetree_sqlite_with_branches_like_git/eca4whd/
|
1547907249
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sime
|
t2_35em5
|
They didn't.
(The file search "engine" though is an external app written in Rust, if recall.)
| null |
0
|
1544283795
|
False
|
0
|
ebczn8m
|
t3_a45jvw
| null | null |
t1_ebcyqvt
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebczn8m/
|
1547347699
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Polantaris
|
t2_b7r9g
|
Well, there's that, but there's also the issue where Javascript doesn't compile into something like C#/Java do. A package is one file (excluding its dependencies) in C#. Maybe you add in some readmes and some other stuff like that, but it's not like JavaScript. A big package in JavaScript, even without its dependencies, can be hundreds upon hundreds of files and an absolute mess. Especially more recently when npm became really adopted over people dealing without it and making clustered bundles.
| null |
0
|
1545431286
|
False
|
0
|
eca52dm
|
t3_a89y3r
| null | null |
t1_ec8zp37
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca52dm/
|
1547907321
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Garethp
|
t2_3e6hh
|
I'm not shoving electron on anyone. Your point was that users should demands developers do triple work to support all platforms. My point is that the vast majority of developers don't and won't
| null |
0
|
1544283829
|
False
|
0
|
ebczorn
|
t3_a45jvw
| null | null |
t1_ebczi7p
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebczorn/
|
1547347718
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gnaritas
|
t2_nhw0
|
Any customers that require caring about accessibility at all. The market of people who don't use any of it is more than large enough that those of us selling things don't care about accessibility. There's no $$ in it, it's not a demographic we care to target. I write software for fully functional non handicapped people who don't use any accessibility features; I don't give a shit about any other market because that market is big enough that I don't ever have to care. Business is about chasing the easy money, it's not a social justice endeavor to help the disabled.
If my software is hard for you to use because of some disability, then go use someone else's software, you're not my target market.
| null |
0
|
1545431357
|
1545432450
|
0
|
eca55h2
|
t3_a7xwy3
| null | null |
t1_ec9s253
|
/r/programming/comments/a7xwy3/theres_already_a_blueprint_for_a_more_accessible/eca55h2/
|
1547907359
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sime
|
t2_35em5
|
Unfortunately the Qt people have done a good job of ignoring languages other than C++ over the years. It was a missed opportunity.
It would be nice if they at least supported QML for different languages even if they didn't create bindings for the rest of Qt's libraries.
| null |
0
|
1544283978
|
False
|
0
|
ebczvhg
|
t3_a45jvw
| null | null |
t1_ebcx4sj
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebczvhg/
|
1547347830
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
F-0X
|
t2_lk6ut
|
The spring-based application I work on takes tomcat at least 4 minutes to start up. I think it is in the 1-2 million LoC region. Clearly there is room for a lot of variability.
| null |
0
|
1545431518
|
False
|
0
|
eca5cin
|
t3_a8ae4l
| null | null |
t1_ec9rem0
|
/r/programming/comments/a8ae4l/optimizing_java/eca5cin/
|
1547907448
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
epic_pork
|
t2_qnykm
|
No, the runtime speed of the program. TypeScript compiles to JavaScript, so during execution it's just as slow a vanilla JavaScript.
| null |
0
|
1544284080
|
False
|
0
|
ebd006m
|
t3_a45jvw
| null | null |
t1_ebctqci
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd006m/
|
1547347888
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pazer2
|
t2_khovf
|
This is a huge pet peeve of mine, along with applications installing themselves to [local] appdata.
| null |
0
|
1545431520
|
False
|
0
|
eca5cm3
|
t3_a89y3r
| null | null |
t1_ec95qu0
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca5cm3/
|
1547907449
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
plasticparakeet
|
t2_hhltf8g
|
>performance penalty of the actual cross library call is negligible
That is not true. As your Python code grows, things start to get slower due the overhead of Python itself, leaving you with no choice but use the CFFI, which defeats the "nice wrapper around these libraries with easy syntax" argument. Writing the "hot" parts in C is such a common thing in Python that even the standard library does that.
>Even if Julia manages to catch up, there's not much that will get anyone to switch. The benefits of Julia over Python are minimal due to the GIL and other penalties being negligible
Performance is a pretty good reason to switch, specially in the ML field, where dealing with huge amounts of data and expensive algorithms is the norm. Never heard of [Swift for Tensorflow](https://github.com/tensorflow/swift)? Following your analogy, it's like turning a plain white bread into a tuna sandwich. And since when the GIL is negligible?
| null |
0
|
1544284108
|
False
|
0
|
ebd01jl
|
t3_a462ss
| null | null |
t1_ebcje3f
|
/r/programming/comments/a462ss/julia_vs_python_which_programming_language_will/ebd01jl/
|
1547347905
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Yep, never met a single convincing low latency use of Java. There is a lot of Java in a slower tier (ms latencies range).
| null |
0
|
1545431522
|
False
|
0
|
eca5cod
|
t3_a8aels
| null | null |
t1_ec9acck
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/eca5cod/
|
1547907450
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
thilehoffer
|
t2_3d98o
|
So we need something faster than JavaScript, I misunderstood.
| null |
0
|
1544284170
|
False
|
0
|
ebd04ds
|
t3_a45jvw
| null | null |
t1_ebd006m
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd04ds/
|
1547347940
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
silentcon
|
t2_dqq11
|
Python?
| null |
0
|
1545431548
|
False
|
0
|
eca5dtj
|
t3_a89y3r
| null | null |
t1_eca3mrq
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca5dtj/
|
1547907463
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DarkLordAzrael
|
t2_srtuf
|
There are bindings for go and python, and rust, d, .net, and Nim have qml bindings. What language do you think should have bindings that doesn't?
| null |
0
|
1544284363
|
False
|
0
|
ebd0day
|
t3_a45jvw
| null | null |
t1_ebczvhg
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd0day/
|
1547348049
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gnaritas
|
t2_nhw0
|
A good user experience can be had with zero accessibility. Most people don't use accessibility features. The notion that a good user experience requires accessibility is absurd. Those who care about and use accessibility are a small demographic that aren't worth chasing unless you've already maxed out in other demographics that don't require that extra work.
> Regarding your point about ‘hosting’, it’s not about where a service is hosted, it’s where the service operates
Oh, they'd like you to think that, but it's not true.
> If you want to offer a service in the EU for example, you need to comply with the regulations.
Not true; certainly the EU wants to make it so, the GDPR is a great example of this attempt, but wanting it to be so isn't the same as it being so. The EU has no jurisdiction over me, nor does an EU citizen coming to my site and doing business grant the EU jurisdiction over me. Where I am and why my business is very much defines who can fuck with me as a matter of simple fact. Regulations like the GDPR are attempts to assert false authority over me that they have no legal right to enforce. It's only going to be efficiently applied to businesses who have a physical presence in the EU.
> Not even sure why I’m continuing this tbh.
I can't say, but I'm right and you're wrong and I think you know it but can't admit it so you're trying to find a way to be right.
| null |
0
|
1545431746
|
False
|
0
|
eca5mer
|
t3_a7xwy3
| null | null |
t1_ec9rq63
|
/r/programming/comments/a7xwy3/theres_already_a_blueprint_for_a_more_accessible/eca5mer/
|
1547907570
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
8483
|
t2_m68sl
|
It is for single page applications i.e. non window reloading experience.
| null |
0
|
1544284445
|
False
|
0
|
ebd0h1x
|
t3_a45jvw
| null | null |
t1_ebctz8d
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd0h1x/
|
1547348096
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bubuottote
|
t2_2takmx7l
|
No they didn't, watching all this is mostly a waste of time
| null |
1
|
1545431758
|
False
|
0
|
eca5mx1
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/eca5mx1/
|
1547907605
|
39
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
crrc
|
t2_bap90
|
WebAssembly exists
Typescript exists
| null |
1
|
1544284502
|
False
|
0
|
ebd0jlo
|
t3_a45jvw
| null | null |
t1_ebbvt0c
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd0jlo/
|
1547348128
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
flyingjam
|
t2_8n6t9
|
Not OP, but look into static site generators. Though, that's more about the ease of pushing out new content than how good it looks.
| null |
0
|
1545431775
|
False
|
0
|
eca5nq5
|
t3_a8an2s
| null | null |
t1_ec9q90z
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/eca5nq5/
|
1547907615
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
qudat
|
t2_fmp2y
|
Are you talking about skeleton screens? https://kyusuf.com/post/fake-it-til-you-make-it-css
| null |
0
|
1544284605
|
False
|
0
|
ebd0o9j
|
t3_a45jvw
| null | null |
t1_ebcwxmz
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd0o9j/
|
1547348185
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545431797
|
1545435257
|
0
|
eca5opa
|
t3_a89y3r
| null | null |
t1_eca5dtj
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca5opa/
|
1547907628
|
-5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Eirenarch
|
t2_46hjd
|
No. For example when Slack is minimized and you restore it you can see the content moving around for a second. I can also see that it is mine content and not placeholders. Also parts of slack itself reorder. For example I can clearly see the search box in the upper right appearing somewhere in the middle and then moving to the right probably pushed by some other element.
And don't get me started on switching servers which takes like 20 seconds if you hadn't opened the server in the past hour.
| null |
0
|
1544284836
|
False
|
0
|
ebd0ykg
|
t3_a45jvw
| null | null |
t1_ebd0o9j
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd0ykg/
|
1547348312
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MacNulty
|
t2_5yns7
|
Yeah, fuck creativity!
| null |
0
|
1545431844
|
False
|
0
|
eca5qop
|
t3_a8bizo
| null | null |
t1_ec9joah
|
/r/programming/comments/a8bizo/using_tensorflow_to_learn_when_your_cat_wants_to/eca5qop/
|
1547907652
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tonefart
|
t2_ywdx0
|
First you start with not choosing those latest fad frameworks...
Then you ensure you don't rely on web apps and javascript.
Stick to traditional desktop software in C/C++ using opensource portable UI frameworks. The only proper real software nowadays are not web based.
| null |
0
|
1544284889
|
False
|
0
|
ebd10x7
|
t3_a4723m
| null | null |
t3_a4723m
|
/r/programming/comments/a4723m/the_virtues_of_writing_maintainable_software/ebd10x7/
|
1547348342
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
igeligel
|
t2_h12si
|
Ever thought about using yarn workspaces? https://yarnpkg.com/lang/en/docs/workspaces/
It's mostly made for mono repo though but where I work lerna (something similar) is working great. Like really great :)
| null |
0
|
1545431872
|
False
|
0
|
eca5rxp
|
t3_a89y3r
| null | null |
t1_ec9cl9b
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca5rxp/
|
1547907668
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sime
|
t2_35em5
|
Only the C++ and Python support is at a level of maturity and support high enough that I would consider it for anything other than a weekend hacking experiment.
| null |
0
|
1544284947
|
False
|
0
|
ebd13j2
|
t3_a45jvw
| null | null |
t1_ebd0day
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd13j2/
|
1547348402
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gnaritas
|
t2_nhw0
|
> If the software you're working on isn't going to store anything worth stealing, isn't going to be used by anyone who doesn't speak English or have a slightly unusual name and doesn't have any sort of impairment then sure incorporating these aspects would be unnecessary but those seem like pretty big assumptions.
You've just described most business software in the US. Big companies that operate internationally need that stuff, but most businesses are small businesses and don't do international business, don't care about accessibility unless legally forced to do it, and skimp on everything they possibly can because that's what small business is. There's simply no $$ incentive to attack accessibility early on unless your business is literally chasing that exact market.
> When a project scales and needs these elements bolted on later, future developers (maybe you!) will wish the extra thought and effort had been put in at the beginning.
Of course, I've been there as have many, but I also understand business and perfectly well know not doing it up front was the correct business decision even if it was the wrong technical decision.
| null |
0
|
1545431896
|
1545432285
|
0
|
eca5t0o
|
t3_a7xwy3
| null | null |
t1_ec9nvmn
|
/r/programming/comments/a7xwy3/theres_already_a_blueprint_for_a_more_accessible/eca5t0o/
|
1547907681
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
frutiger
|
t2_29tfb
|
Isn't that up to the application author though? What you're (rightfully) complaining about is the culture around npm and Node modules in general. That's really got nothing to do with any of the actual technologies being used here (Chromium, NodeJS, Electron, whatever).
It's possible (though perhaps unlikely) that you can have an Electron app with no dependencies from npm. If you looked at all the libraries a regular native app uses, you might be surprised too.
> Here the problem is a trusted developer delivering malicious code unwittingly that can do far more damage than a typical web page.
A trusted developer delivering malicious code unwittingly should not be a trusted developer!
| null |
0
|
1544285039
|
False
|
0
|
ebd17os
|
t3_a45jvw
| null | null |
t1_ebbzguh
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd17os/
|
1547348453
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MadDoctor5813
|
t2_eifbq
|
Eh it feels kind of unfair to roast him for something he did when he thought no one would use it.
If you judged me on something I wrote just for myself I’d look pretty stupid too.
| null |
0
|
1545431932
|
False
|
0
|
eca5ukq
|
t3_a8an2s
| null | null |
t1_eca47qq
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/eca5ukq/
|
1547907700
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nnomae
|
t2_10kghk
|
I have the latest VS code open here, been running solidly now for about a week since I last launched it, have a bunch of plugins running, multiple files open and it's current memory usage is 100 mb. If you are using that amount of memory with no plugins and a single file open then there is something messed up about your VS Code install.
| null |
0
|
1544285080
|
False
|
0
|
ebd19ip
|
t3_a45jvw
| null | null |
t1_ebck1s1
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd19ip/
|
1547348476
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
silentcon
|
t2_dqq11
|
+1. Pip is a mess. You have to use virtual environments just to have a local copy of dependencies. Requirements.txt isn't as complete as package.json (sometimes i have the dependencies to the file myself). You then have setup.py which you don't need in npm. I like python for what it is but dependency management is trash.
| null |
0
|
1545431980
|
False
|
0
|
eca5woc
|
t3_a89y3r
| null | null |
t1_ec95leg
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca5woc/
|
1547907726
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
frutiger
|
t2_29tfb
|
You really don't have to use NPM to build a JS app (or an Electron app). I know this is true because I do just that at my job.
| null |
0
|
1544285128
|
False
|
0
|
ebd1bpg
|
t3_a45jvw
| null | null |
t1_ebc1mvh
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd1bpg/
|
1547348503
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cybernd
|
t2_x0sl9
|
> and the team neglected to say "there's the backlog".
Most often caused by a really simple reason: the other party has higher power within the company.
| null |
0
|
1545432007
|
False
|
0
|
eca5xsh
|
t3_a806xl
| null | null |
t1_ec7jj18
|
/r/programming/comments/a806xl/dark_scrum/eca5xsh/
|
1547907740
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
8483
|
t2_m68sl
|
This is why I develop apps on a VM with 2 GB of RAM and one CPU.
| null |
0
|
1544285174
|
False
|
0
|
ebd1dv3
|
t3_a45jvw
| null | null |
t1_ebcl4zx
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd1dv3/
|
1547348529
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Agent_03
|
t2_fvner
|
> The saying jack of all trades is often finished with master of none. It's obvious that in computing world we're trying to optimize things, that's why we tailor our approaches to our needs.
I'll counter that old saying with "premature optimization is the root of all evil." Your DB doesn't need to be the *absolute best solution* possible as long as it works well enough -- and as a rule of thumb it's better to have something that's flexible in the face of changing needs than something that is highly optimized for one specific thing.
A common counterpoint is Unix tools, which do one thing and do it very well -- but in that case they are flexible in a different way by combining and composing their outputs via pipes and redirection.
> silver bullet
That's just a common mis-usage in English, don't worry about it -- I highlighted it because it's a great example.
> I'm really sorry if this offended you
You haven't *offended* me, I just think what you're saying is kinda rubbish.
> I'm sorry, but Moore's law is in decay and we've been approaching manufacturing limits for some time now. It's also cheaper to scale out than it is to scale up. Scaling up has some obvious limits, scaling out, while may be harder has these limits generally much higher.
Transistor density is still increasing, and in general terms we've found other solutions besides just transistor density for improved performance. See: increased flash density by increasing layers and the number of levels per cell.
$20k/year will now rent you an AWS instance with 32-72 cores, up to 384 GB of memory, and dedicated SSDs for instance storage. That's a *seriously* beefy machine, and $20k/year is chump change for an organization that needs such high resources. The limits for scale-up of databases with such incredibly powerful hardware are even higher than you'd think, with proper use of indexes and caching (and dedicated cache servers for Web traffic and query results). With that amount of memory, it is completely possible to store the entire database in RAM, or all the data you'd generally access in a week.
I mentioned before that *all of* StackOverflow runs with just a pair of SQL DB servers as their main source of truth (and really, one of them is just for fail-over). [This article looked more closely at what hardware they used to be using](https://nickcraver.com/blog/2016/02/17/stack-overflow-the-architecture-2016-edition/). Wikimedia (the parent organization of Wikipedia) runs on small clusters of MariaDB servers. A well-known multibillion-dollar company I worked for used a couple small clusters of Oracle DBs for all their central systems -- with splitting based on role. Clustering was primarily for high availability in this case.
So, you see that it is quite possible to handle the load from some of the most demanding sites and companies with small handfuls of servers *without* needing to jump to NoSQL. Scale-out serves a different use-case -- it's not done just for of performance, but for robustness. Google, Amazon, etc need to support geographically distributed systems, and to provide continuous automatic handling of regular hardware failures.
Cache well, use reasonable algorithms, and by the time you hit the actual *limits* of scale-up the actual hardware costs will be the least of your concerns.
> It's also cheaper to scale out than it is to scale up.
Only if you forget that scale-out requires a more people and effort to administer plus a network to connect it, and networks are neither instantaneous, nor granted infinite throughput or complete reliability.
If you're using cloud providers scale-up is often as simple as "back up, shut down, upgrade instance type, and start back up using previous data." Scaling from 1 to 30+ CPUs is nearly effortless and can be done within a single instance family. The big cloud providers have special types that will go up 96+ CPUs -- that's the equivalent of using a cluster of 24 nodes with 4 CPUs, except generally the mega-machine will often much perform better because communication is local.
> Cost savings of using a dedicated solution vs a generic one, that requires more resources can often be the thing that makes or breaks a business.
Rarely is this true -- software engineers are quite expensive relative to hardware, and relational solutions generally save on development costs once you get past the initial proof-of-concept phase. A $100k+/yr developer salary buys or rents a *lot* of hardware. Although if you're in a region with very low salaries that equation can change.
| null |
0
|
1545432040
|
1545433136
|
0
|
eca5zb0
|
t3_a8alsv
| null | null |
t1_ec9vh1h
|
/r/programming/comments/a8alsv/abandon_relations_all_ye_who_enter_here_a/eca5zb0/
|
1547907758
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MostlyGibberish
|
t2_5lqfr1c
|
God. Fucking Teams. Had to have their arm twisted by the community to add something as basic as quiet hours (just turn off the notifications on your phone!), and last time I checked that feature was still in "on the roadmap" purgatory. And what's even the point of having channels within each "team" if you can't leave and can't disable the notifications? Not to mention the issue where it wouldn't allow my Mac to sleep properly and caused the battery to die overnight while it sat in my bag. Sorry, I have a lot of feelings about Teams.
| null |
0
|
1544285187
|
False
|
0
|
ebd1ehs
|
t3_a45jvw
| null | null |
t1_ebcw2oj
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd1ehs/
|
1547348538
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
orthoxerox
|
t2_cyj90
|
How do you plan to deal with non-terminating macros? Or even slightly slower macros, won't they destroy the performance of RLS?
| null |
0
|
1545432067
|
False
|
0
|
eca60fs
|
t3_a8ck3f
| null | null |
t3_a8ck3f
|
/r/programming/comments/a8ck3f/procedural_macros_in_rust_2018/eca60fs/
|
1547907772
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
masterofmisc
|
t2_dqd35
|
ahhh right, I see.
| null |
0
|
1544285293
|
False
|
0
|
ebd1jig
|
t3_a45jvw
| null | null |
t1_ebcwva7
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd1jig/
|
1547348600
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
fudini
|
t2_3v2f4
|
Is this the guy who turned every ansi color into an npm package?
Edit: [Yup](https://www.npmjs.com/package/ansi-yellow)
| null |
0
|
1545432155
|
1545432586
|
0
|
eca649o
|
t3_a89y3r
| null | null |
t1_ec9sjqa
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca649o/
|
1547907820
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
NAN001
|
t2_bwg53
|
HTML is perfectly valid input for a chat message. So you don't sanitize the input, you sanitize the output.
| null |
0
|
1544285307
|
False
|
0
|
ebd1k6h
|
t3_a2way5
| null | null |
t3_a2way5
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/ebd1k6h/
|
1547348607
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TheAkio
|
t2_hcyke
|
Problem is convincing coworkers to use yarn instead of npm... I'm the apprentice there so it's hard to get my stuff through sometimes. I personally prefer yarn over npm still.
| null |
0
|
1545432332
|
False
|
0
|
eca6byl
|
t3_a89y3r
| null | null |
t1_eca5rxp
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca6byl/
|
1547907914
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
the_bananalord
|
t2_2mb0h2hf
|
Why do you think that 600MB is being used on the file?
You can't spare 600MB of RAM on your development machine?
Latency? Seriously? I have zero complaints with VS Code in latency or memory footprint. 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?
| null |
1
|
1544285532
|
False
|
0
|
ebd1u93
|
t3_a45jvw
| null | null |
t1_ebcxtr2
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd1u93/
|
1547348733
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
needadvicebadly
|
t2_5pe8g
|
> I'm well aware of what a garbage collector is.
> Try goggling "windows gc"
maybe try googling ".net gc" instead.
| null |
0
|
1545432365
|
False
|
0
|
eca6def
|
t3_a7x9fj
| null | null |
t1_ec9mfoi
|
/r/programming/comments/a7x9fj/war_story_the_mystery_of_the_very_long_gc_pauses/eca6def/
|
1547907932
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1544285571
|
False
|
0
|
ebd1w2u
|
t3_a45jvw
| null | null |
t3_a45jvw
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd1w2u/
|
1547348756
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
s73v3r
|
t2_3c7qc
|
> It useful for small percentage of population
That's flat out not true. Studies have shown that when you do design your site with accessibility in mind, it not only gets usable for those with disabilities, it becomes easier for everyone else to use.
| null |
0
|
1545432419
|
False
|
0
|
eca6fo3
|
t3_a7xwy3
| null | null |
t1_ec8r72w
|
/r/programming/comments/a7xwy3/theres_already_a_blueprint_for_a_more_accessible/eca6fo3/
|
1547907960
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[removed]
| null |
0
|
1544285585
|
False
|
0
|
ebd1wqj
|
t3_9tqxd9
| null | null |
t3_9tqxd9
|
/r/programming/comments/9tqxd9/python_is_becoming_the_worlds_most_popular_coding/ebd1wqj/
|
1547348763
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
llbit
|
t2_7fyu5
|
[This paper](http://janvitek.org/pubs/oopsla17b.pdf) has some interesting statistics about `node_modules` on GitHub, among other things. About 70% of JavaScript code on GitHub is in `node_modules`, but only about 6% of projects push their `node_modules` directory.
| null |
0
|
1545432438
|
False
|
0
|
eca6gij
|
t3_a89y3r
| null | null |
t3_a89y3r
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca6gij/
|
1547907970
|
20
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Eirenarch
|
t2_46hjd
|
I have very high hopes about C# on wasm but production-ready version that I can honestly recommend to my employer for commercial product is in my opinion at least 5 years away.
| null |
0
|
1544285915
|
False
|
0
|
ebd2bys
|
t3_a45jvw
| null | null |
t1_ebd1jig
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd2bys/
|
1547348952
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sinagog
|
t2_kmjsq
|
Thanks for the review! Would you mind explaining why you think so? I want to be better at what I do, so if there's something I'm missing I'd love to know what. Thanks in advance!
| null |
0
|
1545432450
|
False
|
0
|
eca6h0m
|
t3_a8epbk
| null | null |
t1_eca5mx1
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/eca6h0m/
|
1547907977
|
44
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
VLaplace
|
t2_15o87q
|
But for running shellscript you need to use a specific function correct? In that case can't you protect yourself from shellscripts in other JS projects by checking if it calls this function?
Afterall, compared to binaries, what you get from npm is pure javascript code that can be read and modified easily , so looking for "bad code" using text search tools (sorry don't know the name) like grep is possible correct?
While i understand that it is bad , and we got an example not too long ago, i think it's better than binaries that you can't inspect.
Trust is always an issue when using something, so i don't think it's worth a bad point here. But that's just my opinion.
And i agree with you, electron and nwjs should have a safety / sandbox mode, for code that don't need to access the System.
| null |
0
|
1544286157
|
False
|
0
|
ebd2nc8
|
t3_a45jvw
| null | null |
t1_ebbzguh
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd2nc8/
|
1547349121
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hexaga
|
t2_22wzbwyk
|
Neat
| null |
0
|
1545432551
|
False
|
0
|
eca6ler
|
t3_a8e189
| null | null |
t3_a8e189
|
/r/programming/comments/a8e189/fourier_series_visualization/eca6ler/
|
1547908031
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Morten242
|
t2_62wo4
|
Last I used it it felt very immature. On Windows with DMC/phobos there's still a bug that if you try to open two different files at the same time on different threads they will open the same one, no work done on this bug. [1][2]
- [1]: https://issues.dlang.org/show_bug.cgi?id=18483
- [2]: http://bugzilla.digitalmars.com/issues/show_bug.cgi?id=327
| null |
0
|
1544286304
|
False
|
0
|
ebd2u46
|
t3_a47s2x
| null | null |
t1_ebcsxxs
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebd2u46/
|
1547349204
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Candid_Calligrapher
|
t2_2nsvdulx
|
Yeah, but the fact that he decided to contort the naming of his functions instead of just switching the hashing functions is straight up remarkable.
| null |
0
|
1545432572
|
False
|
0
|
eca6mbq
|
t3_a8an2s
| null | null |
t1_eca5ukq
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/eca6mbq/
|
1547908042
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Do you realise that becoming a programmer is not a fucking goal of learning CS fundamentals? Did all the kids who studied mathematics in school get PhD in mathematics later? Did everyone who had PE classes ended up in their country Olympic team?
| null |
0
|
1544286386
|
False
|
0
|
ebd2xxl
|
t3_a4ab10
| null | null |
t1_ebcy05q
|
/r/programming/comments/a4ab10/im_a_developer_i_wont_teach_my_kids_to_code_and/ebd2xxl/
|
1547349251
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MadDoctor5813
|
t2_eifbq
|
I can imagine doing the same thing.
“Yeah I could, but no one’s going to see this. Fuck it.”
| null |
0
|
1545432607
|
False
|
0
|
eca6nut
|
t3_a8an2s
| null | null |
t1_eca6mbq
|
/r/programming/comments/a8an2s/crafting_interpreters_how_to_build_a_hash_table/eca6nut/
|
1547908061
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
dzikakulka
|
t2_7pkly
|
Talk about irrelevant shit injected in a technical discussion lol
| null |
0
|
1544286446
|
False
|
0
|
ebd30tv
|
t3_a3y2nv
| null | null |
t1_ebb9ebj
|
/r/programming/comments/a3y2nv/c_sg20_education_and_recommended_videos_for/ebd30tv/
|
1547349287
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
agumonkey
|
t2_62nu4
|
The full stack tuning is a great question I have. I'm not in HPC or anything serious even, but companies IT infrastructures has always seemed to me a best-effort / downward levelling based creation. Lots of big brand put thei pieces there (comittee effect), few people try to integrate as fast as possible, as soon as it functions, let it run. Nothing is even near optimal. Everything is working against weird constraints. Stupid example: long ago company rotated clients into 64bits c2d machines but didn't have support for 64bit OS nor recent Office suite. So we'd run XP with 2003 Office (thus single core) on way more capable hardware. Now that's peanuts, but I do wonder if it's not the same for beefier system: OS tuning, hardware compatibilty, configuration, thermal limits, whatever..
| null |
0
|
1545432683
|
False
|
0
|
eca6r2e
|
t3_a8aels
| null | null |
t1_eca2ama
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/eca6r2e/
|
1547908101
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
defunkydrummer
|
t2_m6xbhrx
|
>Except D is garbage collected
You can also work without the GC in D.
| null |
0
|
1544286464
|
False
|
0
|
ebd31n3
|
t3_a47s2x
| null | null |
t1_ebcymti
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebd31n3/
|
1547349297
|
17
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
igeligel
|
t2_h12si
|
Then look into lerna maybe. I believe it works without yarn.
| null |
0
|
1545432715
|
False
|
0
|
eca6sg9
|
t3_a89y3r
| null | null |
t1_eca6byl
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca6sg9/
|
1547908118
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
poolontheroof
|
t2_5bo1n
|
Nah, big O notation is as important as ever. In fact its a great way to think about everything else you’re complaining about, you can ignore things that have inefficient constant costs because it makes no difference (except when it does, which definitely happens, perf optimization is very much alive on websites), but you’ll still get burned quickly by bad algorithms.
| null |
0
|
1544286532
|
False
|
0
|
ebd34zo
|
t3_a45jvw
| null | null |
t1_ebcihje
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd34zo/
|
1547349339
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MacNulty
|
t2_5yns7
|
Yeah I would think this would be better as randomness generator.
| null |
0
|
1545433017
|
False
|
0
|
eca75cj
|
t3_a8bizo
| null | null |
t1_ec9vgda
|
/r/programming/comments/a8bizo/using_tensorflow_to_learn_when_your_cat_wants_to/eca75cj/
|
1547908307
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MadDoctor5813
|
t2_eifbq
|
I’m not going to profess to be an expert on native development, but if seemingly the entire industry has concluded Java is not an option, then instead of assuming they’re all lazy or stupid, maybe we think there’s something wrong with Java.
And there’s no shortage of candidates for that.
| null |
0
|
1544286533
|
False
|
0
|
ebd350v
|
t3_a45jvw
| null | null |
t1_ebcedk1
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd350v/
|
1547349339
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545433026
|
False
|
0
|
eca75q6
|
t3_a8ae4l
| null | null |
t1_ec99tqx
|
/r/programming/comments/a8ae4l/optimizing_java/eca75q6/
|
1547908311
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
yogthos
|
t2_73rg
|
[This](https://www.youtube.com/watch?v=AJING0Vigpg) is one of the better pair programming environments I've seen.
| null |
0
|
1544286600
|
False
|
0
|
ebd3884
|
t3_a3z3i9
| null | null |
t1_ebavc32
|
/r/programming/comments/a3z3i9/replit_multiplier/ebd3884/
|
1547349379
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
erulabs
|
t2_1oknw
|
_generally_, sure. Query complexity is relative, of course, and it's hard to compare "expensive" when that can mean 5ms or 5 hours. However, there is no world where a query which calls _up to fourteen_ `fopens`should be considered "not complicated". There are _so many_ things to consider, as opposed to one large table, which is _by necessity_ much simpler.
Yes, if all indices are entirely in memory, and (for example in innodb) the table is sitting entirely in the buffer pool, then yes, there wont be the filesystem overhead. But it is still _by definition_ more complex than a single table (and thus single file) lookup.
I shouldn't need to say this in a technical discussion, where we should all have manners ("You don't even know how databases work"?!), but I've been a DBA at major companies for 6 years :/
> If it's hitting the disk before it's returning the final results you structured your query wrong and a query explain will tell you that.
That is extremely conditional on whats trying to be accomplished. Tons and tons and tons of SQL uses where the dataset doesn't fit entirely in memory.
| null |
0
|
1545433038
|
1545434347
|
0
|
eca768h
|
t3_a7q1bi
| null | null |
t1_ec6dsex
|
/r/programming/comments/a7q1bi/bye_bye_mongo_hello_postgres/eca768h/
|
1547908318
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
BLEAOURGH
|
t2_4zbh4
|
> The first step in making something maintainable is to make it easy to understand. Don't add complexity to a simple problem; especially not in anticipation of some hypothetical or imaginary problem.
Yeah. The author jumps to the conclusion of using a message queue and handwaves it as "oh wow it magically exists in the company!" But what if it didn't? Then you'd have to make the tradeoff between a more robust implementation of this service, versus the cost of building, maintaining and operating a Kafka (or Rabbit, etc) cluster. Which is where the real difficulty in writing maintainable software lies.
> Take backups daily or hourly.
Similar here. It's very possible to build systems that have near-zero data loss during catastrophic failure (and zero data loss during normal failures). But those kind of systems take a lot more effort to develop and maintain.
> Don't write it in a slow language (python/ruby) and don't host it on cheap server.
Disagree with this for this specific instance. It's more likely this service would be I/O bound rather than CPU-bound. Using an interpreted language wouldn't be a bottleneck.
But since this is an article about maintainability: languages without static typing are less maintainable, period. Nobody serious about software maintainability would use them. So skip them regardless.
| null |
0
|
1544286604
|
False
|
0
|
ebd38ey
|
t3_a4723m
| null | null |
t1_ebca5e2
|
/r/programming/comments/a4723m/the_virtues_of_writing_maintainable_software/ebd38ey/
|
1547349381
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cypher0six
|
t2_y8hbl
|
>I appreciate the presentation, but I don't know if it convinced me that Java is a good choice for low latency.
I don't think it is either. Sometimes though, low-latency systems don't always start out as low-latency systems.
For example, I once worked on a HFT system that was originally written in Java. Java was chosen because at the time the system was created, HFT wasn't it's purpose and the goal was reliability over all else. It wasn't until more than a decade later that the company decided to enter into the HFT market and modify their systems to compete.
In the end, they used JNI (calling out to C libraries) and a custom Java library, to speed up slow routines and avoid garage collection. These changes were made slowly over time as more clients were brought on and the need to scale grew.
The system designers admitted if they had known what they built was going to be used for any sort of low-latency, high-throughput operations, they would have built the system in C, not Java.
| null |
0
|
1545433056
|
False
|
0
|
eca76zr
|
t3_a8aels
| null | null |
t1_ec97mre
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/eca76zr/
|
1547908328
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cthree87
|
t2_6o205
|
Discord’s backend runs Erlang/Elixir as does whatsapp. Slack does not.
| null |
1
|
1544286671
|
False
|
0
|
ebd3bv7
|
t3_a45jvw
| null | null |
t1_ebcx9fc
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd3bv7/
|
1547349424
|
-4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
I couldn't get past the first paragraph and the broken English.
| null |
0
|
1545433074
|
False
|
0
|
eca77sg
|
t3_a89y3r
| null | null |
t3_a89y3r
|
/r/programming/comments/a89y3r/the_node_modules_problem/eca77sg/
|
1547908337
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
travis134
|
t2_3x3o2
|
Thank you for your feedback.
I considered using a more complex example problem to demonstrate how it could be decomposed but was worried that it would take over the majority of the article and didn't want the reader to get too hung up on that level of detail.
I'm sure your solution to this problem would be more than enough in most cases. For large scale applications, where upwards of 10K TPS is the norm, not the outlier, concerns about designing your software so that it can be resilient to burst traffic patterns and scales in a cost effective way become very important.
Do you have any suggestions on how I can improve? Should I have used a more complex example to get the points across better? I'm going to dig deeper into each of the points in future blog posts including code examples, I didn't go into enough detail in this article.
Thank you for taking time to read the article, I'm new to this style of writing, and I'm just sharing some of what has helped me in my career. I'll get better.
edit: fixed typo
| null |
0
|
1544286756
|
1544288079
|
0
|
ebd3g58
|
t3_a4723m
| null | null |
t1_ebca5e2
|
/r/programming/comments/a4723m/the_virtues_of_writing_maintainable_software/ebd3g58/
|
1547349477
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lbkulinski
|
t2_17799v
|
If you haven’t heard, [value types](https://openjdk.java.net/jeps/169) are in the works.
| null |
0
|
1545433081
|
False
|
0
|
eca7837
|
t3_a8ae4l
| null | null |
t1_ec9ev6k
|
/r/programming/comments/a8ae4l/optimizing_java/eca7837/
|
1547908341
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
landline_number
|
t2_2ffun79t
|
I'm honestly surprised by some of the responses to your post. Whether writing a cross-platform apps natively is double the cost or triple totally depends on the app and organization but whatever the additional cost, it's not zero.
​
Good developers are rare and aren't cheap in whatever language but it's going to be cheaper and easier to hire JavaScript devs that know HTML and CSS than C++ devs that know QT (I know there are other options but I see C++ and QT mentioned a lot in arguments about portable native development). Also, every developer on Reddit is a rockstar developer that knows multiple languages and knows all the OS specific pitfalls and blah blah blah but in my experience this isn't the case at all. You may need to higher additional developers that know OSX or Linux.
​
QA costs go up. If you release an app on Windows and Mac you have to QA on both regardless. But you're going to do less QA when a Electron is handling most of the cross platform specifics for you. I think the same could be said for support costs.
| null |
0
|
1544286916
|
False
|
0
|
ebd3oa6
|
t3_a45jvw
| null | null |
t1_ebbv379
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd3oa6/
|
1547349606
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Tizizzails
|
t2_2joa1fsp
|
Thumbnail: man giving lecture about software development has throat slashed by ninja Assassin.
I think I’d rather read a book than watch 129 videos. At the same time, the list of videos I need to watch is 1000 items long. I am overwhelmed.
| null |
0
|
1545433245
|
1545433442
|
0
|
eca7f45
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/eca7f45/
|
1547908427
|
293
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cthree87
|
t2_6o205
|
You aren’t following the Electron sucks theme so expect to be downvoted. I run slack, vscode, 5 terminals and virtual box running windows 10 pro vm on my MacBook Pro without any issues and have done so every day for more than a year. I’m good.
| null |
1
|
1544286968
|
False
|
0
|
ebd3qxw
|
t3_a45jvw
| null | null |
t1_ebczi26
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebd3qxw/
|
1547349639
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
NervousScene
|
t2_2b2n7xe6
|
Reminder that SAMBA code donated to linux **ACTUALLY HAD A BACKDOOR** and was part of Microsoft getting paid to produce the WANNACRY product for NSA
... guess how many r programming posts on **AN ACTUAL BACKDOOR THAT WAS SUBMITTED TO LINUX UNDER EVERYONE'S NOSES** ??
NONE!! Not a SINGLE POST **THAT AN ACTUAL BACKDOOR THAT WAS ACTUALLY EXPLOITED AND USED BY GOVS AND CRIMINALS, THAT WAS _INTENTIONALLY_ INSERTED INTO LINUX BY A COMPETITOR (MICROSOFT)** ... not a single post
I mean. someone makes a lego starwars using cookie dough and m&ms, I bet that would get upvoted here
someone (microsoft) actually INFECTS LINUX FOR CASH and it is EXPLOITED and we FIND OUT about it...
not a SINGLE POST, not on schneider, not on any of the "security blogs" not on programming not on netsec, in fact, no posts on reddit.
WEIRD
| null |
0
|
1545433311
|
False
|
0
|
eca7hvz
|
t3_a82nec
| null | null |
t1_ec8yody
|
/r/programming/comments/a82nec/this_github_url_makes_it_look_like_linux_has_a/eca7hvz/
|
1547908462
|
-4
|
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.