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
|
sanity
|
t2_75zx
|
Yes, Yegge's post is probably one of the best explanations of why Kotlin is cool that I've seen, I particularly liked this paragraph:
> And once I was a bit fluent, well, wow. I'm so jaded that I didn't think it was possible to love a language ever again, but Kotlin is just gorgeous. Everything you write in it feels like you made something cool. I've certainly felt that way with other languages before. But most of them had really steep learning curves. Kotlin is just butter: Tailor-made for us Java programmers who are still sort of scratching our heads over Java 8's parallel streaming filterable collecting scheduled completable callbacking futuring listening forking executor noun kingdom. Kotlin gives you all the same power -- substantially more, actually, with its coroutines support -- but makes it way easier to say stuff. Java 8 lets you say interesting things, but you have to do it with a mouthful of sand.
| null |
0
|
1544305418
|
1544306990
|
0
|
ebdsn7y
|
t3_a4dtp2
| null | null |
t1_ebdq1nl
|
/r/programming/comments/a4dtp2/kweb_a_new_approach_to_building_rich_webapps_in/ebdsn7y/
|
1547361267
|
40
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cowinabadplace
|
t2_3xj24
|
It's better suited to Scala by the way.
| null |
0
|
1545458520
|
False
|
0
|
ecawyq7
|
t3_a8ae4l
| null | null |
t1_ecans0a
|
/r/programming/comments/a8ae4l/optimizing_java/ecawyq7/
|
1547920374
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tjpalmer
|
t2_i3yo8
|
Good times.
| null |
0
|
1544305507
|
False
|
0
|
ebdsrku
|
t3_a44xl7
| null | null |
t1_ebc1t7i
|
/r/programming/comments/a44xl7/flatline_how_the_amiga_languished/ebdsrku/
|
1547361321
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
aredirect
|
t2_9elx3
|
> We had a project very much like this as a Final in my Programming Languages course in college. I didn't have a solid enough understanding of Prolog to figure out how to encode the relationships properly.
I totally feel you, I don't have a proper CS education myself (I'm an electrical engineer). I enjoyed reading [Thinking as Computation](https://mitpress.mit.edu/books/thinking-computation) It's amazing, gradual and very intuitive too unlike lots of dry books out there.
| null |
0
|
1545458755
|
False
|
0
|
ecax7h1
|
t3_a8fs67
| null | null |
t1_ecawcrq
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecax7h1/
|
1547920483
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pjmlp
|
t2_755w5
|
That is the whole point, just because a language has a GC doesn't mean it is the same everywhere.
Even D and C# do allow for quite fine grained control how the GC behaves, it is a matter of actually learning the tools that language designers put at our disposal.
And in what concerns a typical game, the amount of gameplay code usually overwhelms the small portion of high performance code used for the graphics engine.
| null |
0
|
1544305688
|
False
|
0
|
ebdt0uc
|
t3_a47s2x
| null | null |
t1_ebdrbkz
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdt0uc/
|
1547361435
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
khedoros
|
t2_63drl
|
It sounds interesting, thank you for the recommendation.
| null |
0
|
1545459051
|
False
|
0
|
ecaxhga
|
t3_a8fs67
| null | null |
t1_ecax7h1
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecaxhga/
|
1547920606
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
robmcm
|
t2_3fr4u
|
Applets were riddled with security issues and never really got started, flash was wildly popular and I bet Air would have been two, had it not been for the advent of mobile (and Adobe not really having the resources or desire for it to succeed).
Today we have a relatively democratic platform that’s evolving at an almost unprecedented rate (especially for a ubiquitous standard). In the past this has held it back from platforms that can move quickly (like Flash) but now it has little competition and buy-in for the biggest players.
I wonder if Apple will live to regret catapulting the web forward (WebKit/canvas/thoughts-on-flash) as it continues to cannibalise their native platform.
| null |
0
|
1544305838
|
False
|
0
|
ebdt8la
|
t3_a45jvw
| null | null |
t1_ebdrkds
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdt8la/
|
1547361532
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
snuxoll
|
t2_38xez
|
var c = 0;
function myPrivateFunction(aString, count) {]
console.log(count.toString().concat(" ", aString);
}
function doThing(aString) {
c++;
myPrivateFunction(aString, c);
}
module.exports.doThing = doThing;
You now have a module that exports one function, `doThing(aString)`, it can still use everything contained within the module itself (functions, prototypes, variables, etc.) but people importing the module don't have access to them.
var myModule = import('my-module');
myModule.doThing("Hello, world"); // works
myModule.myPrivateFunction("Hello, world", 0); // doesn't work
Beyond CommonJS (Node.js/browserify), there's other module systems out there (AMD, ECMAScript modules) that have similar methods of hiding implementation details even without proper private functions.
Unfortunately due to warts with the way Javascript prototypes work there's no way to hide private members of prototypes without increasing memory usage, at least not from a technical perspective. Personally, I feel that just doing it the way Python does (just prefix private member names with \_/\_\_, Python mangles the names to make you put in SOME effort to break encapsulation - but whatever) and telling people "if you break encapsulation it's your own damned fault" is good enough.
| null |
0
|
1545459163
|
1545460104
|
0
|
ecaxkvi
|
t3_a89y3r
| null | null |
t1_ecawvug
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecaxkvi/
|
1547920648
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
dungone
|
t2_8uzx2
|
All of the things you mentioned are infrastructure concerns and not application concerns. The application is only concerned about telling the infrastructure which service talks to which other service; it doesn’t care about where those services live, how many replicas they have, etc. Also, you can run batch jobs with Swarm if you like; but even then, scheduling batch jobs is not an application concern. Granular permissions for the Kubernetes APi? That’s definitely not an applictcon concern.
The idea behind Swarm wasn’t ever to compete with Google in cramming as many features as it could into an infrastructure franework. It was meant to decouple apication development from infrastructure development. You can kind of tell the effect this has on application development. To prototype a non-trivial distributed system on Swarm takes me 15-30 minutes, after which I can start coding. To get to the same place on Kubernetes where I work takes 2-3 engineers the better part of a sprint. By the time they can even write the first line of a Hello World application, they have to make the whole infrastructure setup production ready.
| null |
0
|
1544305893
|
1544307855
|
0
|
ebdtbd7
|
t3_a3tk0q
| null | null |
t1_ebdmg7a
|
/r/programming/comments/a3tk0q/is_k8s_too_complicated/ebdtbd7/
|
1547361566
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
aredirect
|
t2_9elx3
|
Sure thing :)
| null |
0
|
1545459185
|
False
|
0
|
ecaxlif
|
t3_a8fs67
| null | null |
t1_ecaxhga
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecaxlif/
|
1547920656
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ThirdEncounter
|
t2_1ud6zgq
|
Nobody is forcing you to use it.
| null |
0
|
1544305913
|
False
|
0
|
ebdtcd0
|
t3_a4dtp2
| null | null |
t1_ebdoaez
|
/r/programming/comments/a4dtp2/kweb_a_new_approach_to_building_rich_webapps_in/ebdtcd0/
|
1547361606
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FG_Regulus
|
t2_aybf9
|
You ever use an FPGA? No thanks, I'll stick with a standard CPU please.
| null |
0
|
1545459189
|
False
|
0
|
ecaxlnb
|
t3_a8aels
| null | null |
t1_ec9ds3j
|
/r/programming/comments/a8aels/how_low_can_you_go_ultra_low_latency_java_in_the/ecaxlnb/
|
1547920658
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pjmlp
|
t2_755w5
|
C++ certainly has it, first of all because since C++11, C++ has official tracing GC APIs on the standard library, secondly because anyone with a decent CS degree knows that reference counting (e.g. std::shared_ptr<>()) is a GC algorithm.
Now you can keep coding in C++98/C++03 if you want.
| null |
0
|
1544305937
|
False
|
0
|
ebdtdmf
|
t3_a47s2x
| null | null |
t1_ebdhb3u
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdtdmf/
|
1547361622
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
agildehaus
|
t2_3cobx
|
I'm unable to come up with a place where Facebook uses speech recognition. Is wav2letter used somewhere publicly?
| null |
0
|
1545459381
|
False
|
0
|
ecaxr8g
|
t3_a8eox6
| null | null |
t3_a8eox6
|
/r/programming/comments/a8eox6/facebook_opensources_a_speechrecognition_system/ecaxr8g/
|
1547920729
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pleb_nz
|
t2_i3a02
|
Good tip. I'll give that ago
| null |
0
|
1544306021
|
False
|
0
|
ebdti0s
|
t3_a4eakz
| null | null |
t1_ebdpptp
|
/r/programming/comments/a4eakz/accidentally_from_macos_to_windows_and_wsl/ebdti0s/
|
1547361676
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ISvengali
|
t2_3x1vs
|
Oh god I dont do that at all. This is horrible advice for me if I was just starting out.
I find paper solving often overlooks very important points. Things like, 'oh we'll just write a bird identifier in the last month of the project' (as the [XKCD](https://xkcd.com/1425/) comic points out).
I like to get stuff into the strictest environment I can as quickly as I can. I mean, sure. I plot out some high level stuff early on, usually just a sheet of paper or so.
The most formal environment I have avialable happens to be the compilers I have on my machine. You simply cant wave away problems, they stick out like a sore thumb.
Getting a complete loop of the product as quickly as possible to evaluate APIs, feasibility, and the rest of dev is just super important.
| null |
0
|
1545459766
|
False
|
0
|
ecay1yq
|
t3_a88xny
| null | null |
t3_a88xny
|
/r/programming/comments/a88xny/the_most_important_tip_for_beginner_software/ecay1yq/
|
1547920890
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hdayi
|
t2_2pbgsj8o
|
This reminds me Microsoft's CEO's saying "Linux is cancer"
| null |
0
|
1544306046
|
False
|
0
|
ebdtj9v
|
t3_a45jvw
| null | null |
t1_ebdqukt
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdtj9v/
|
1547361691
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
irve
|
t2_4befw
|
I read "why" and was slightly dissappointed.
| null |
0
|
1545459882
|
False
|
0
|
ecay57l
|
t3_a8bizo
| null | null |
t3_a8bizo
|
/r/programming/comments/a8bizo/using_tensorflow_to_learn_when_your_cat_wants_to/ecay57l/
|
1547920930
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rlbond86
|
t2_436ic
|
The tracing GC APIs aren't the default, and yes reference counting might *technically* be GC but we aren't talking about that.
The simple truth is it's difficult to use D without an automatic garbage collector.
| null |
0
|
1544306069
|
False
|
0
|
ebdtkh2
|
t3_a47s2x
| null | null |
t1_ebdtdmf
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdtkh2/
|
1547361706
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Bekwnn
|
t2_9hvux
|
Depending on what type of programming you do, it might be worth looking up data oriented design. [Here's the classic Mike Acton talk on the subject.](https://www.youtube.com/watch?v=rX0ItVEVjHc&t=12m23s)
It's becoming an increasingly pervasive idea in areas of graphics, games, C++, and the performance-sensitive world. In AAA games, which is the origin of Mike Acton's talk, it's pretty close to being common knowledge.
[Casey Muratori](https://caseymuratori.com/blog_0015) has also written/spoken on it. He's most notably known for the Handmade Hero project and having worked on The Witness, about which he wrote a pair of fantastic articles titled [The Nebraska Problem](https://caseymuratori.com/blog_0011) and [The Walk Monster](https://caseymuratori.com/blog_0005).
| null |
0
|
1545460448
|
False
|
0
|
ecaymmi
|
t3_a8epbk
| null | null |
t1_eca8png
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecaymmi/
|
1547921145
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
doublehyphen
|
t2_9v5mu
|
What is up with Rocket in those benchmarks? It is not much faster than Sinatra plus Puma which is mostly written in Ruby and not really that optimized (Ruby's Roda framework for example is faster than Rocket in the benchmarks).
| null |
0
|
1544306368
|
False
|
0
|
ebdtzpu
|
t3_a4cebi
| null | null |
t1_ebdl0i2
|
/r/programming/comments/a4cebi/rocket_v04_typed_uris_database_support_revamped/ebdtzpu/
|
1547361895
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Player736
|
t2_17g4c7
|
https://portal.facebook.com for an application of speech recognition. I don’t know if it uses wav2letter specifically.
| null |
0
|
1545460510
|
False
|
0
|
ecayoje
|
t3_a8eox6
| null | null |
t1_ecaxr8g
|
/r/programming/comments/a8eox6/facebook_opensources_a_speechrecognition_system/ecayoje/
|
1547921169
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Renive
|
t2_gw9z3
|
And that's exactly opposite where future lies. Frontend nowadays have more business logic than backend.
| null |
0
|
1544306709
|
False
|
0
|
ebdufvp
|
t3_a45jvw
| null | null |
t1_ebc9lzd
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdufvp/
|
1547362095
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
__k_thx_bye__
|
t2_2jsid70v
|
Thanks for sharing!
| null |
0
|
1545460825
|
False
|
0
|
ecayy1a
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecayy1a/
|
1547921287
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kheiron1729
|
t2_15qbq4
|
No, I was just referring to execution alone.
| null |
0
|
1544306880
|
False
|
0
|
ebdunwq
|
t3_a45jvw
| null | null |
t1_ebdqtj6
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdunwq/
|
1547362223
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ForeverAlot
|
t2_4yj7p
|
I've heard but they're a ways off yet, and _could_ still turn out not to work out.
| null |
0
|
1545460885
|
False
|
0
|
ecayzy2
|
t3_a8ae4l
| null | null |
t1_eca7837
|
/r/programming/comments/a8ae4l/optimizing_java/ecayzy2/
|
1547921310
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
inhumantsar
|
t2_3d5df
|
you just sold me on trying it.
| null |
0
|
1544306941
|
False
|
0
|
ebduqt6
|
t3_a4dtp2
| null | null |
t1_ebdkzfv
|
/r/programming/comments/a4dtp2/kweb_a_new_approach_to_building_rich_webapps_in/ebduqt6/
|
1547362259
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Trevor266
|
t2_ber0m
|
assembly.
| null |
0
|
1545461157
|
False
|
0
|
ecaz87z
|
t3_a8ef7i
| null | null |
t1_ecanztd
|
/r/programming/comments/a8ef7i/apollo_8_flight_software_colossus_237_on_github/ecaz87z/
|
1547921443
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sacundim
|
t2_5kksh
|
Did the essay get cut off or something? I’m seeing it end with this:
> However, if you want to understand why people find untyped languages useful, and how they use them, I think that the uni-typed perspective doesn't let us answer the questions we want. This is similar to the perspective that human thinking operates at the level of neurons—it's clearly true, but it doesn't help us figure out what other people will do in practice. Instead, I find it useful to think about how programmers in languages like Python reason about their programs—often it turns out to be via unformalized reasoning that bears a close resemblance to Pierce and Reynolds' definitions, usually often not to particular type systems in existing languages. Much of our work on Typed Racket has involved exploring exactly this question.
| null |
0
|
1544307002
|
False
|
0
|
ebdutgp
|
t3_a4du9i
| null | null |
t3_a4du9i
|
/r/programming/comments/a4du9i/on_typed_untyped_and_unityped_languages/ebdutgp/
|
1547362292
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
unregistered88
|
t2_ervcs
|
In other news, Facebook also open-sources all your private data.
| null |
0
|
1545461305
|
False
|
0
|
ecazcv4
|
t3_a8eox6
| null | null |
t3_a8eox6
|
/r/programming/comments/a8eox6/facebook_opensources_a_speechrecognition_system/ecazcv4/
|
1547921500
|
28
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Renive
|
t2_gw9z3
|
LOL embedded isn't in scope of this discussion. And if you wanna bring it, id say even refrigerators have oled panels and like 16gb of ram. Things like raspberry pi are dirt cheap nowadays. Move on with the times with the embedded people, theres literally no reason for any business to be tryhard with optimizations when hardware is dirt cheap. Or just go full reactive programming if you wanna buckle cash on programmers instead of hardware, but that will be unmaintenable spaghetti for most.
| null |
0
|
1544307177
|
False
|
0
|
ebdv0ye
|
t3_a45jvw
| null | null |
t1_ebd9ojv
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdv0ye/
|
1547362384
|
-47
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ledasll
|
t2_h00pz
|
that would be interesting to read. because now it's usually impossible to persuade as everyone thinks it is feature that would be nice to have, but no real value. do you have some links?
| null |
0
|
1545461485
|
False
|
0
|
ecazi3n
|
t3_a7xwy3
| null | null |
t1_eca6fo3
|
/r/programming/comments/a7xwy3/theres_already_a_blueprint_for_a_more_accessible/ecazi3n/
|
1547921565
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Renive
|
t2_gw9z3
|
You seem to know nothing about wasm, even its goal. Its to strengthen JavaScript, fyi. Its reflected even at logo level.
| null |
0
|
1544307341
|
False
|
0
|
ebdv7y4
|
t3_a45jvw
| null | null |
t1_ebc4qfr
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdv7y4/
|
1547362470
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FigyTuna
|
t2_87gr6
|
Is it just me or is anyone else bothered by the $50 vs. $100 if you flip a coin and it's head experiment? I've seen it used as an example for this theory before, I've always been bothered when people say the options are equivalent. They're equivalent if you take the limit as the number of trials reaches infinity, yes. But given just one choice and one coin flip, it doesn't seem quite right to call the options equivalent. I think a better example would be the option between $50 and $1 for every heads out of 100 coin flips. Though I wonder if the statistics fall out the same way given that there would be less risk in this new scenario.
| null |
0
|
1545461538
|
False
|
0
|
ecazjo4
|
t3_a8ilv4
| null | null |
t3_a8ilv4
|
/r/programming/comments/a8ilv4/trading_the_trade_war_sentimentbased_trading/ecazjo4/
|
1547921585
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Renive
|
t2_gw9z3
|
But its like the only one. We need hundreds of those, like on web.
| null |
0
|
1544307397
|
False
|
0
|
ebdvafd
|
t3_a45jvw
| null | null |
t1_ebcv8b6
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdvafd/
|
1547362501
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FanOfHoles
|
t2_2ftopua8
|
That's why the enterprise project won't be upgraded - no budget. Until somebody needs a *new feature*. New features get a budget, maintenance does not (because why would management pay someone who creates nothing new; and as long as the old stuff still works, where is the value of working on it when users don't see any change). Exceptions exist, but overall this is what it comes down to.
| null |
0
|
1545461603
|
False
|
0
|
ecazlhr
|
t3_a89y3r
| null | null |
t1_ecagnmx
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecazlhr/
|
1547921607
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
IDEs compile code and need parallel processing to speed up compile times. You agreed that the web doesn't have threads. So, which is it?
| null |
0
|
1544307432
|
False
|
0
|
ebdvbxw
|
t3_a45jvw
| null | null |
t1_ebdunwq
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdvbxw/
|
1547362520
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
BraakOSRS
|
t2_q1aqg
|
So everytime you watch a video it slows down YouTube for others? Better stop using it altogether then.
| null |
0
|
1545461618
|
False
|
0
|
ecazlxm
|
t3_a8epbk
| null | null |
t1_ecavwf5
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecazlxm/
|
1547921613
|
17
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
parentis_shotgun
|
t2_1fsoypwj
|
Its just slow. I think they've even removed it recently from those comparisons by request.
| null |
0
|
1544307540
|
False
|
0
|
ebdvgp9
|
t3_a4cebi
| null | null |
t1_ebdtzpu
|
/r/programming/comments/a4cebi/rocket_v04_typed_uris_database_support_revamped/ebdvgp9/
|
1547362578
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
leixiaotie
|
t2_9ac9x
|
There is already a standard lib developed somewhere, but I haven't used it and still wondering how useful / recommended it is. [https://stdlib.io/](https://stdlib.io/)
| null |
0
|
1545461693
|
False
|
0
|
ecazo2p
|
t3_a89y3r
| null | null |
t1_ec93f6w
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecazo2p/
|
1547921639
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ameisen
|
t2_5qad2
|
But why?
If you can compile to wasm, you can compile to a native ISA.
| null |
0
|
1544307553
|
False
|
0
|
ebdvh7z
|
t3_a433uo
| null | null |
t1_ebbcd3j
|
/r/programming/comments/a433uo/running_unmodified_nginx_compiled_to_webassembly/ebdvh7z/
|
1547362584
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ESBDB
|
t2_pqgji
|
To transcript all your conversations it listens to from your phone without your knowledge to sell you more targeted ads
| null |
0
|
1545461746
|
False
|
0
|
ecazpmo
|
t3_a8eox6
| null | null |
t1_ecaxr8g
|
/r/programming/comments/a8eox6/facebook_opensources_a_speechrecognition_system/ecazpmo/
|
1547921659
|
26
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Renive
|
t2_gw9z3
|
There is nothing better for app development. Maybe flutter. I work as c# dev and writing desktop apps without Electron is garbage and a lot of work for gaining basically nothing. It doesnt make sense.
| null |
1
|
1544307559
|
False
|
0
|
ebdvhic
|
t3_a45jvw
| null | null |
t1_ebcln1s
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdvhic/
|
1547362588
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
xzt123
|
t2_ekrat
|
You're probably right, I've just been working with a lot of NoSQL and redshift data warehouse data. Many of the tables are terabytes and it isn't uncommon to have billions of rows.
| null |
0
|
1545461988
|
False
|
0
|
ecazwbc
|
t3_a87e7m
| null | null |
t1_ec8xgeb
|
/r/programming/comments/a87e7m/til_that_theres_this_amazing_database/ecazwbc/
|
1547921741
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
charrondev
|
t2_iwq1c
|
Are there any nice looking QT apps you could point to? To me discord is probably one the nicest apps I have on my windows machine.
| null |
0
|
1544307609
|
False
|
0
|
ebdvjqj
|
t3_a45jvw
| null | null |
t1_ebcv4iu
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdvjqj/
|
1547362616
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ai3ai3
|
t2_86t6v
|
The options are equivalent with regards to expected value ($50 per flip). I think even many people choosing the defensive option 1 are aware of that. The reason they are still preferring it over the other option is exactly this risk-adverse thinking: "Better get something than nothing". The thinking "I will get double the money if I win" seems to be less prevalent.
| null |
0
|
1545462072
|
False
|
0
|
ecazypb
|
t3_a8ilv4
| null | null |
t1_ecazjo4
|
/r/programming/comments/a8ilv4/trading_the_trade_war_sentimentbased_trading/ecazypb/
|
1547921771
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
> Applets were riddled with security issues
Unlike the web? o_O
> flash was wildly popular and I bet Air would have been two, had it not been for the advent of mobile
Air died long before mobile came onto the scene.
> Today we have a relatively democratic platform
No.
> that’s evolving at an almost unprecedented rate
Also, no. The rate is not unprecedented at all and it's evolving toward what, exactly? It's almost as good as the tech we had natively in the 90s. But, not quite.
| null |
0
|
1544307636
|
False
|
0
|
ebdvkxb
|
t3_a45jvw
| null | null |
t1_ebdt8la
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdvkxb/
|
1547362630
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
gearvOsh
|
t2_3yl3z
|
Number 1 is no longer true and hasn't been for a long time.
| null |
0
|
1545462122
|
False
|
0
|
ecb0081
|
t3_a89y3r
| null | null |
t1_ec9ew7o
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecb0081/
|
1547921790
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DrKakistocracy
|
t2_p9iww4t
|
I don't hate Chromium with quite the same passion, but Edge was really promising (fast on crap hardware, remarkably light on memory) and I hate seeing it die. Cmon MS, at least make it open source if you're abandoning it!
OTOH, I get it from a bean counter perspective - a re-skinned chromium has got to cost less than supporting and maintaining development for an in-house engine.
What's really ominous are the longterm effects: with Opera transitioning to re-skinned Chromium a few years back, and now Edge, all we're left with is Chromium derivatives and Firefox derivatives. And, to be frank, Firefox is better at developing new features than they are at presenting an attractive, stable, and efficient alternative to the Googlopoly. I love the mission, but I don't love 5 fucking tabs using up all my memory.
So basically, Google runs the net now. That's awesome. I'm sure they'll keep innovating just as quickly, and not become bloated, ossified, and incompetent like IE did after winning the first round of the browser wars.
| null |
0
|
1544307709
|
1544307903
|
0
|
ebdvo74
|
t3_a3q1vh
| null | null |
t1_ebdhn48
|
/r/programming/comments/a3q1vh/its_official_chromium_is_coming_to_microsoft_edge/ebdvo74/
|
1547362672
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tv64738
|
t2_7z7tf
|
The bit that you're missing is that the output of a MD5 is just as much a "random string". MD5 ain't the thing that makes it safe for use as a file name.
| null |
1
|
1545462177
|
False
|
0
|
ecb01oh
|
t3_a8hgqh
| null | null |
t1_ecawwhe
|
/r/programming/comments/a8hgqh/benchmark_deep_directory_structure_vs_flat/ecb01oh/
|
1547921808
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
China is the biggest environmental polluter on the planet, both now and when it was a communist regime. Being pro communist means being pro climate change.
| null |
1
|
1544307713
|
False
|
0
|
ebdvoce
|
t3_a45jvw
| null | null |
t1_ebds6ik
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdvoce/
|
1547362673
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FanOfHoles
|
t2_2ftopua8
|
Of course you can write private code! Just use lexical scoping. Sure, if you use some "class" everything on it is accessible. But if you use *functions* you can use lexical scoping and completely hide stuff. There is a reason why "functional" coding is a bit hyped, it really does provide a lot of advantages. No "this", no "class", no "prototype" (or invisible __proto__, the actual chain), no "bind" (unless you use it for partial application, rather then for setting the value of "this"), no "call" or "apply". Just functions and objects. You can do anything you can do with a "class" based approach - and then a lot more.
I'm not in the "overhype" camp though, if people are used to the "class" stuff/style, I'll happily trudge along. That works too, and you can create readable code too. But when people make claims about what they think JS cannot do it's time to point out that it is completely your own fault, because JS easily *can*. Just use the functional playbook. You don't even have to go all monad-y, really just basic functions are enough already to achieve things like totally private code, easily. For example, put all the code into the lexical scope of the function, create an API object inside that function, attach only those methods you want to make public, return the object. The function is gone and what was in it, it's variables, functions, all the code written inside the function, now still is accessible - through the exported object. Unless you hack the C++ JS runtime itself you cannot access the hidden stuff.
That's how node.js modules work. What you write into some file as node.js module is put into a wrapper function's code body when it is loaded by node.js. The function is called with various arguments, one of them being the `exports` (and `module` which has a reference to the same object in a property called `exports` too). The whole function is then eval-ed (it actually uses node.js specific `vm.runInThisContext` but if you do't have that you would just use `eval` - the added security of `vm` methods does not make a difference for the things I talked about here, which is all about your own code), and what the function put on `exports` now is available, what was not remains hidden.
See https://github.com/nodejs/node/blob/v11.5.0/lib/internal/modules/cjs/loader.js#L131
Module.wrap = function(script) {
return Module.wrapper[0] + script + Module.wrapper[1];
};
Module.wrapper = [
'(function (exports, require, module, __filename, __dirname) { ',
'\n});'
];
and further down a call to `wrap` in the `Module.prototype._compile` function.
| null |
0
|
1545462202
|
1545463638
|
0
|
ecb02de
|
t3_a89y3r
| null | null |
t1_ecam0cj
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecb02de/
|
1547921816
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
> You don't want to do that.
You NEED control flow in even the simplest of applications. You could get away with that crap when the web was just rendering static documents, but that was a long, long time ago. For anything involving logic, which is anything that does anything, you need control flow. To clarify for the morons in the cheap seats who never went to college, control flow includes if statements and loops. The inability to perform a simple if means the whole paradigm is fucked.
| null |
0
|
1544307804
|
False
|
0
|
ebdvsda
|
t3_a45jvw
| null | null |
t1_ebdryur
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdvsda/
|
1547362723
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tv64738
|
t2_7z7tf
|
No, I am not.
| null |
0
|
1545462205
|
False
|
0
|
ecb02fk
|
t3_a8hgqh
| null | null |
t1_ecawv9j
|
/r/programming/comments/a8hgqh/benchmark_deep_directory_structure_vs_flat/ecb02fk/
|
1547921818
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Renive
|
t2_gw9z3
|
No, those incidents were in python ecosystem too, and likely many others. It comes with popularity. Java is on deathbed, mostly living on legacy code or "enterprise" (which nowadays is the same as overengineered) systems.
| null |
0
|
1544307942
|
False
|
0
|
ebdvy8t
|
t3_a45jvw
| null | null |
t1_ebcf7v8
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdvy8t/
|
1547362825
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
zarandysofia
|
t2_ou7jv
|
Robert C. Martin... whatever improvement you believed you got was all a placebo from there.
| null |
0
|
1545462764
|
False
|
0
|
ecb0ha8
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecb0ha8/
|
1547922030
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Renive
|
t2_gw9z3
|
Its because js have monopoly on web frontend, so why not do everything else with it? Doing full stack on one single language is uniwersal principle. It just works.
| null |
0
|
1544308029
|
False
|
0
|
ebdw20y
|
t3_a45jvw
| null | null |
t1_ebckbny
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdw20y/
|
1547362872
|
-7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pleb_nz
|
t2_i3a02
|
Facebook
| null |
0
|
1545462924
|
False
|
0
|
ecb0lnh
|
t3_a8eox6
| null | null |
t3_a8eox6
|
/r/programming/comments/a8eox6/facebook_opensources_a_speechrecognition_system/ecb0lnh/
|
1547922085
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cafk
|
t2_43wlw
|
Just because it is open source does not mean that your feedback is listened to. The features and functionalities are still managed by a dedicated team who seems to do great work.
This is not always the case with open-source, especially if someone deciding on code quality has different agendas :)
| null |
0
|
1544308138
|
False
|
0
|
ebdw6ut
|
t3_a4dip4
| null | null |
t1_ebdsipd
|
/r/programming/comments/a4dip4/top_5_reasons_why_you_should_consider_vscode/ebdw6ut/
|
1547362932
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
catsoup-sama
|
t2_lcjsb
|
Nice paper; a really interesting read, cheers!
| null |
0
|
1545463087
|
False
|
0
|
ecb0q0v
|
t3_a89y3r
| null | null |
t1_eca6gij
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecb0q0v/
|
1547922140
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1544308185
|
False
|
0
|
ebdw8y1
|
t3_a4du9i
| null | null |
t1_ebdutgp
|
/r/programming/comments/a4du9i/on_typed_untyped_and_unityped_languages/ebdw8y1/
|
1547362957
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
GeneReddit123
|
t2_edeol
|
I love this [already](https://github.com/virtualagc/virtualagc/blob/master/Colossus237/TVCSTROKETEST.agc#L70).
# NOTE....THIS IS NOT THE OFFICIAL WAVEFORM....
# ** **
# ** **
# ** ** EXAMPLE WAVEFORM (EACH * REPRESENTS
# * * * * 85.41 ARCSEC OF ACTUATOR CMND)
# * * * *
# * * * *
# * * * * ** ** ** ** **
# * * * * ** ** ** ** **
# * * * * ** ** ** ** **
# * * * * * * * * * * * * * * ** ** ** ** **
# * * * * * * * * * * * * * * ** ** ** ** **
# * * * * * * * * * * * * * * ** ** ** ** **
# -----------------------------------------------------------------------------------------------------
# * * * * * * * * * * * * * * ** ** ** ** **
# * * * * * * * * * * * * * * ** ** ** ** **
# * * * * * * * * * * * * * * ** ** ** ** **
# * * * * ** ** ** ** **
# * * * * ** ** ** ** **
# * * * * ** ** ** ** **
# * * * *
# * * * *
# * * * *
# ** **
# ** **
# ** **
| null |
0
|
1545463430
|
False
|
0
|
ecb0z4z
|
t3_a8ef7i
| null | null |
t3_a8ef7i
|
/r/programming/comments/a8ef7i/apollo_8_flight_software_colossus_237_on_github/ecb0z4z/
|
1547922251
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bruce3434
|
t2_12379h
|
Python is an interpreted language, D/ C++ is a an AoT compiled statically typed native language. I hope you understand what the difference implies.
| null |
0
|
1544308199
|
False
|
0
|
ebdw9kw
|
t3_a47s2x
| null | null |
t1_ebdfcw5
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdw9kw/
|
1547362965
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ScientificBeastMode
|
t2_n9cqo
|
16 million weekly downloads... holy crap... 16 million application versions want to know if a value is a Number data type. But JS doesn’t have an adequate built-in tool for that.
About half of all my JS input sanitization code is basically either throwing errors for invalid “types,” or coercing “types” to allow for a broader range of inputs (don’t worry, I document that stuff, lol). It should be as simple as `if (typeof(myVar) != ‘number’) {...}`, but instead I have to write 50 lines of code just to see if it’s the right *kind* of object... lol. And invariably the code is a bit different for each case.
That’s really more of a problem with the language itself. But there ought to be a standard low-level method for dealing with it, in my (humble and lowly) opinion.
| null |
0
|
1545463624
|
False
|
0
|
ecb1450
|
t3_a89y3r
| null | null |
t1_ec9q5ta
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecb1450/
|
1547922314
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
BLEAOURGH
|
t2_4zbh4
|
> A bog standard message queue is relatively easy to implement even in assembly or C. It won't be the same thing as a "cloud" message service but then you don't need big iron to try to manage distributed state.
If you're not going to handle fault tolerance, persistence, or back pressure in your message queue (which is far from simple to do *properly*) you may as well not bother and just make synchronous rest calls. Whatever HTTP framework you use in your language probably has an internal queuing system anyway.
> TO have a balanced view on the subject, it's my opinion that you have to spend some time doing it both ways. The alternative is an essentially "religious war" approach to discussing the subject.
I have done it both ways. Dynamically typed languages work fine for small teams on small codebases. Once you go "enterprise" and you have teams on separate continents trying to work on the same codebase you start running into problems. Microservices solves this a bit (by usually assigning one team = one source repository), but you still have the revolving door problem where an entire dev team will turn over within 5 years, meaning they have to relearn the codebase from scratch.
In professional settings, code is read far more than it is written and it should be optimized as such. Static typing undeniably helps with readability.
| null |
0
|
1544308326
|
False
|
0
|
ebdwf3c
|
t3_a4723m
| null | null |
t1_ebdl9sh
|
/r/programming/comments/a4723m/the_virtues_of_writing_maintainable_software/ebdwf3c/
|
1547363032
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
dksiyc
|
t2_p1y3s
|
So by caring about performance and writing things in rust, this project is 20 times faster than babel?
Nice!
| null |
0
|
1545463829
|
False
|
0
|
ecb19lm
|
t3_a8i4ar
| null | null |
t3_a8i4ar
|
/r/programming/comments/a8i4ar/swc_superfast_alternative_for_babel/ecb19lm/
|
1547922381
|
32
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bruce3434
|
t2_12379h
|
D's GC is deterministic and can be paused, resumed and invoked manually. I don't see what's so out of control about it?
| null |
0
|
1544308333
|
False
|
0
|
ebdwfem
|
t3_a47s2x
| null | null |
t1_ebdtkh2
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdwfem/
|
1547363036
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chx_
|
t2_cyduk
|
How does this square with http://be-n.com/spw/you-can-list-a-million-files-in-a-directory-but-not-with-ls.html ?
| null |
0
|
1545464110
|
False
|
0
|
ecb1h61
|
t3_a8hgqh
| null | null |
t3_a8hgqh
|
/r/programming/comments/a8hgqh/benchmark_deep_directory_structure_vs_flat/ecb1h61/
|
1547922475
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shim__
|
t2_ke5mi
|
Not having a clear barrier between client and server sounds pretty dangerous, what kind of validation and guards does your framework apply to those events ?
| null |
0
|
1544308342
|
False
|
0
|
ebdwfrx
|
t3_a4dtp2
| null | null |
t1_ebdrtet
|
/r/programming/comments/a4dtp2/kweb_a_new_approach_to_building_rich_webapps_in/ebdwfrx/
|
1547363041
|
23
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mmishu
|
t2_f5ejk
|
Is it possible to jump into documentation while being a complete beginner?
Why do u suggest postgres for sql?
Surely watching videos on the subject can still be useful one way or another? Like watching during downtime or when u cant focus or just to keep your mind occupied or pique your curiosity/interest or just provide a different perspective?
| null |
0
|
1545464175
|
False
|
0
|
ecb1iz8
|
t3_a8epbk
| null | null |
t1_eca7jn1
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecb1iz8/
|
1547922497
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rar_m
|
t2_13m1x8
|
Fast iteration can lend itself to bugs, which can be mitigated by defining the versions but sometimes you want those security updates and not those 'nice' refactors that cause you to change around your own code.
I suppose if I had to chose though, I'd almost always go with the opensource version than the closed source, since you can inspect and fix things yourself.
Opensource being questionable is probably not the right way to put it. The idea of pulling in lots of code from random people w/ little oversight is the thing that I immediately thought of.
I wouldn't worry about stuff like that when using say, SQLite which is open source but well maintained. So i guess I'd take that statement back, opensource itself isn't really the problem I'm worried about.
| null |
0
|
1544308378
|
False
|
0
|
ebdwhbu
|
t3_a4dip4
| null | null |
t1_ebdsipd
|
/r/programming/comments/a4dip4/top_5_reasons_why_you_should_consider_vscode/ebdwhbu/
|
1547363060
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
fr0stbyte124
|
t2_4bi4k
|
Clickbait headline. It's just waiting for the cat to be in position for a fixed amount of time. TensorFlow is just for cat detection.
| null |
0
|
1545464243
|
False
|
0
|
ecb1kxg
|
t3_a8bizo
| null | null |
t3_a8bizo
|
/r/programming/comments/a8bizo/using_tensorflow_to_learn_when_your_cat_wants_to/ecb1kxg/
|
1547922522
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
aa93
|
t2_4vyut
|
Or maybe those ecosystems simply never had any reason to develop things that were already included in the IDE?
| null |
0
|
1544308749
|
False
|
0
|
ebdwwt1
|
t3_a45jvw
| null | null |
t1_ebdj9v5
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdwwt1/
|
1547363251
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
feature_creep
|
t2_y22om
|
>It's a matter of scale.
It'seems entirely a matter of perspective. I've worked with Javascript and *many other languages* over the last 39 years, and for the last 18 or so, Javascript has been my favorite for many reasons, and maybe I'm lucky (or smart) but I haven't had more WTF with it than any other language.
| null |
0
|
1545464388
|
False
|
0
|
ecb1ox1
|
t3_a89y3r
| null | null |
t1_ecav2r2
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecb1ox1/
|
1547922570
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
> you need to build a rich web application that looks like it belongs in 2018, but you really don’t feel like grappling with the massive and complex JavaScript ecosystem,
How is this a good reason to use kweb? Especially the first part of the sentence
| null |
0
|
1544308898
|
False
|
0
|
ebdx2kd
|
t3_a4dtp2
| null | null |
t3_a4dtp2
|
/r/programming/comments/a4dtp2/kweb_a_new_approach_to_building_rich_webapps_in/ebdx2kd/
|
1547363322
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
minno
|
t2_4rhvq
|
I don't think that's right either. The clue is a compound sentence:
1. The person with the bag was not in the bathroom or dining room. `\+Bag=Bathroom, \+Bag=Dining`
2. The person with the bag was not Barbara or George. `\+barbara=Bag, \+george=Bag`
There's nothing there saying that Barbara is not in the bathroom or dining room. That's implied by clues 2 and 7 (Barbara and Yolanda are in the bathroom and study, and Yolanda is not in the study), so it still finds the right answer with that added restriction.
| null |
0
|
1545464522
|
False
|
0
|
ecb1sia
|
t3_a8fs67
| null | null |
t1_ecau6ja
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecb1sia/
|
1547922650
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
spacejack2114
|
t2_fp92m
|
I'm sorry but using "if statements" and "loops" in declarative views is idiotic when you have array maps, filters, reduce and ternaries at your disposal, along with the ability to easily subdivide complex views into smaller components. I mean if you can only think in primitive, C-like control flow constructs then I guess yeah, declarative views might seem problematic.
Jesus, I thought you were talking about something actually difficult like fine-grained control over the order of element creation and initialization.
| null |
0
|
1544308940
|
False
|
0
|
ebdx441
|
t3_a45jvw
| null | null |
t1_ebdvsda
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdx441/
|
1547363341
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cephalopodAscendant
|
t2_f8hs0
|
I think you've misinterpreted clue 3 a bit. Just to make things easier on everyone, the clue reads as follows.
> The person with the bag, who was not Barbara nor George, was not in the bathroom nor the dining room. Who had the bag in the room with them?
You took the following interpretation.
> 1. Barbara isn't the one with the bag
> 2. George isn't the one with the bag
> 3. Barbara isn't in the bathroom or dining room
> 4. George isn't in the bathroom or dining room
> 5. The person with the bag isn’t the one in the bathroom AND isn’t the one in the dining room
Constraints 1, 2, and 5 are valid deductions, but constraints 3 and 4 are not. We know that certain people do not have the bag, and we know that the bag is not in certain rooms, but we don't know what the relationships between the people and the rooms are.
In fact, this bad interpretation gets you into major trouble, since the solution states that George *is* in the dining room. Luckily, Barbara really isn't in either room, and you forgot to specify that George shouldn't be in either in the actual code, so your program still manages to come up with the right answer. With the "missing" constraints added in, the program can no longer find any solutions.
| null |
0
|
1545464575
|
False
|
0
|
ecb1ttd
|
t3_a8fs67
| null | null |
t3_a8fs67
|
/r/programming/comments/a8fs67/solving_murder_with_prolog/ecb1ttd/
|
1547922666
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bubbleguuum
|
t2_bv3v2
|
Consistency maybe was a cornerstone. Today, it's dead and (almost) nobody cares. Time to market, multiplatform and brand consistency is most important for these big companies that chose Electron. OS consistency is not even on their radar, and it looks like it works given the massive success of said apps. And life (and money even more) is too short to code same the app for 3-4 different UI toolkits.
| null |
0
|
1544309088
|
False
|
0
|
ebdx9v5
|
t3_a45jvw
| null | null |
t1_ebcyca9
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdx9v5/
|
1547363441
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Sebazzz91
|
t2_a2yne
|
And even use the same file extension, as many "good" decisions npm has made - "Javascript ARchive".
| null |
1
|
1545464580
|
False
|
0
|
ecb1txn
|
t3_a89y3r
| null | null |
t1_ec9i5p5
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecb1txn/
|
1547922668
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rlbond86
|
t2_436ic
|
Because the programmer simply lacks control.
| null |
0
|
1544309295
|
False
|
0
|
ebdxidl
|
t3_a47s2x
| null | null |
t1_ebdwfem
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdxidl/
|
1547363547
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
omgusernamegogo
|
t2_n0hqz
|
There are some real time wasters here. I've not seen a Kevlin Henney talk that wasn't just intellectual wank opinionated by a disregard for the history of decisions.
The talk about clean code with the Buzzfeed title in your list is not worth the view. Lost a lot of credibility where he 'refactored' a commonly used JS function to make it "cleaner". Which would then proceed to not work on any version of IE or browsers dated prior to 2014. This is a vid from Jan 2017. If I told my team we werent supporting 3 year old browsers back then, Id be laughed out of the room.
Edit: I do appreciate OP sharing his playlist though. I'm critical because I'm a fan of conference vids also, so after watching a number of them, you can tell which speakers are true leaders and which are up there because they love the sound of their voice.
| null |
0
|
1545464723
|
1545522949
|
0
|
ecb1xd2
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecb1xd2/
|
1547922710
|
37
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
> I'm sorry but using "if statements" and "loops" in declarative views is idiotic when you have array maps, filters, reduce and ternaries at your disposal
Declarative views have none of that at its disposal. Those are facilitated by Javascript, which is not declarative in any way. You have no idea what you're talking about.
| null |
0
|
1544309305
|
False
|
0
|
ebdxisu
|
t3_a45jvw
| null | null |
t1_ebdx441
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdxisu/
|
1547363552
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SophiaOnReddit98
|
t2_2tz70m62
|
Could someone drop me a link, video doesn’t seem to work.
| null |
0
|
1545464876
|
False
|
0
|
ecb210z
|
t3_a8epbk
| null | null |
t3_a8epbk
|
/r/programming/comments/a8epbk/i_made_a_playlist_of_129_videos_on_programming/ecb210z/
|
1547922756
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pjmlp
|
t2_755w5
|
D offers full control about GC and memory allocation currently work, I hardly see what is missing beyond an improved GC algorithm implementation.
| null |
0
|
1544309447
|
False
|
0
|
ebdxohm
|
t3_a47s2x
| null | null |
t1_ebdxidl
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdxohm/
|
1547363622
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Crypto_To_The_Core
|
t2_uzv3nj6
|
LOL, trivially easy question. Volume in video needs to increase 100x.
&#x200B;
| null |
0
|
1545464889
|
1545465151
|
0
|
ecb21bs
|
t3_a8gh7v
| null | null |
t3_a8gh7v
|
/r/programming/comments/a8gh7v/coding_interview_uber_with_real_problem_daily/ecb21bs/
|
1547922760
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kpenchev93
|
t2_zfuln
|
Why the fields are capitalized?
| null |
0
|
1544309471
|
False
|
0
|
ebdxpjo
|
t3_a4dt8f
| null | null |
t3_a4dt8f
|
/r/programming/comments/a4dt8f/graphql_wrapper_for_the_omdb_api/ebdxpjo/
|
1547363634
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
amoetodi
|
t2_eakui
|
[I made something similar](https://stellartux.github.io/CC125/) but with sliders for each amplitude and the ability to play back the waveform as audio.
| null |
0
|
1545464916
|
False
|
0
|
ecb21z9
|
t3_a8e189
| null | null |
t3_a8e189
|
/r/programming/comments/a8e189/fourier_series_visualization/ecb21z9/
|
1547922768
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bruce3434
|
t2_12379h
|
Are you ~~an NPC~~ a bot?
edit: PC
| null |
0
|
1544309610
|
1544309849
|
0
|
ebdxvam
|
t3_a47s2x
| null | null |
t1_ebdxidl
|
/r/programming/comments/a47s2x/happy_17th_birthday_d/ebdxvam/
|
1547363707
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Holston18
|
t2_ex7bjge
|
Status: Working Draft
Supported browsers:
* Chrome: 39
* Firefox (Gecko): No
* Internet Explorer: No
* Opera: No
* Safari (WebKit): No
Also "it will work offline" applies only as far as your needs are within narrow band of what's allowed for PWAs.
| null |
0
|
1545464971
|
False
|
0
|
ecb239n
|
t3_a8cagl
| null | null |
t1_eca1ul4
|
/r/programming/comments/a8cagl/electron_400_has_been_released_electron_blog/ecb239n/
|
1547922784
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tjgrant
|
t2_54xph
|
So I see “today we introduce go-explore,” but I don’t see a github link… Is there source available somewhere?
There’s no repo on Uber’s github that matches anything in the article, as far as I can tell. I assume it’d be on Uber’s github since this article is being hosted on Uber’s site.
| null |
0
|
1544309614
|
False
|
0
|
ebdxvh3
|
t3_a4e14f
| null | null |
t3_a4e14f
|
/r/programming/comments/a4e14f/montezumas_revenge_solved_by_goexplore_a_new/ebdxvh3/
|
1547363708
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
twisted-teaspoon
|
t2_14672k
|
Now if only we could visualise this comment somehow.
| null |
0
|
1545464972
|
False
|
0
|
ecb23aw
|
t3_a8e189
| null | null |
t1_ecaom8m
|
/r/programming/comments/a8e189/fourier_series_visualization/ecb23aw/
|
1547922784
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
yawkat
|
t2_a7pa9
|
Pip had malicious packages since pip has a similarly low barrier of entry as npm (unlike maven central), but they did not make it into transitive dependencies of large libraries like it happened on npm, because the pip ecosystem is not nearly as fine-grained as npm. It is the combination of a low barrier of entry and the fine-grainedness of packages that make npm particularly risky.
Maven is and remains the largest and most active package registry by package count after npm, so it is a good comparison. Maven has also been running fairly successfully with a high barrier of entry and coarse-grained dependencies for almost 15 years.
| null |
0
|
1544309722
|
False
|
0
|
ebdy09s
|
t3_a45jvw
| null | null |
t1_ebdvy8t
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdy09s/
|
1547363768
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Sebazzz91
|
t2_a2yne
|
And removing dependencies is very much a political problem, a lot of Node package maintainers are not open for that.
| null |
0
|
1545465194
|
False
|
0
|
ecb28jg
|
t3_a89y3r
| null | null |
t1_eca3rii
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecb28jg/
|
1547922849
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CarVac
|
t2_f8ptw
|
Honestly I don't know, aside from my own app Filmulator which is usable if not "nice looking".
I find it funny that some people I chat with on Discord find Discord itself to be ugly when you (as well as I) find it well-designed.
| null |
0
|
1544309736
|
False
|
0
|
ebdy0uj
|
t3_a45jvw
| null | null |
t1_ebdvjqj
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdy0uj/
|
1547363775
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Holston18
|
t2_ex7bjge
|
> 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.
That's up to the users to decide. Plenty of them are happy to choose "website pretending it's a native app" over nothing.
| null |
0
|
1545465217
|
False
|
0
|
ecb291p
|
t3_a8cagl
| null | null |
t1_ecai2aj
|
/r/programming/comments/a8cagl/electron_400_has_been_released_electron_blog/ecb291p/
|
1547922856
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sic_itur_ad_astra
|
t2_ivgrx
|
I challenge you to find me a smart fridge with 16gb of RAM.
Also LOL “get with the times”, if you think embedded has become irrelevant then you are entirely blind to things like Alexa, self-driving cars, the phone you probably posted your comment from... embedded is growing faster than you could imagine, and _all_ embedded environments are heavily resource-limited. That’s literally one of the requirements to be considered an embedded system. Otherwise all computers are just embedded systems and you yourself are an embedded programmer.
| null |
0
|
1544309839
|
1544310169
|
0
|
ebdy58i
|
t3_a45jvw
| null | null |
t1_ebdv0ye
|
/r/programming/comments/a45jvw/electron_and_the_decline_of_native_apps/ebdy58i/
|
1547363829
|
33
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Sebazzz91
|
t2_a2yne
|
Besides the other reasons mentioned, it is also because *it can*. Everything in Javascript is an object, even functions. This means you can pretty harmless import a library multiple times and they will all be dependent.
| null |
0
|
1545465392
|
False
|
0
|
ecb2cv0
|
t3_a89y3r
| null | null |
t1_ec9xww6
|
/r/programming/comments/a89y3r/the_node_modules_problem/ecb2cv0/
|
1547922902
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ArkyBeagle
|
t2_r4aik
|
Thanks for a patient and understanding reply. Bear with me...
> not going to handle fault tolerance,...
To be sure - although ( out of nearly perfect ignorance ) I have to wonder why the infrastructure and/or applications requirements have devolved to where you actually need all that.
I worked on minicomputer-based billing databases in the 1980s that handled tens of thousands of transactions per second. When I ask what the upper limit for that is now, the answer is "how much money you got?" :) But the nominal figure for say, old-school J2EE ( vintage 2008 or so when I saw it last ) was about 10 - 100 Hz for a "normal" desktop computer of that era. Ten posts per second for a 3GHz dual-core machine with a great deal of RAM and good bandwidth otherwise.
> I have done it both ways.
Great! Then you know what I mean. I do have to protest that I haven't used anything "enterprise" as-a-user that performed very well in a very long time - I've had webpages load in on-the-order-of ten minutes and something's gone horribly wrong that way.
It's staring to infect retail point-of-sale equipment - we now experience tens of seconds of latency per operation.
This is just me - I think that having large teams is the mistake, and that it's really hard to say what the effect of that on system performance might be.
| null |
0
|
1544309873
|
False
|
0
|
ebdy6o0
|
t3_a4723m
| null | null |
t1_ebdwf3c
|
/r/programming/comments/a4723m/the_virtues_of_writing_maintainable_software/ebdy6o0/
|
1547363846
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Holston18
|
t2_ex7bjge
|
Electron is now made by Microsoft.
| null |
0
|
1545465407
|
False
|
0
|
ecb2d6m
|
t3_a8cagl
| null | null |
t1_ecadxaw
|
/r/programming/comments/a8cagl/electron_400_has_been_released_electron_blog/ecb2d6m/
|
1547922906
|
9
|
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.