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
Malor
t2_4fo45
Note that he doesn't list *any* examples of where Windows is faster. He mentions that Git implements workarounds to reduce the damage, not that it's better in any particular way than the Unix client.
null
0
1546109974
False
0
ectgl3j
t3_aalc4n
null
null
t1_ectaehl
/r/programming/comments/aalc4n/windows_file_access_performance_compared_to_linux/ectgl3j/
1548232839
32
t5_2fwo
r/programming
public
null
False
shawwwn
t2_12nqdn6d
Ok, I have to ask. Did you give yourself gold? If not, that's a really good sign. Sounds like you have some committed users.
null
0
1546109987
False
0
ectglrl
t3_aankii
null
null
t1_ectei7y
/r/programming/comments/aankii/upforksh_keep_up_to_5_forks_updated_for_free_and/ectglrl/
1548232848
2
t5_2fwo
r/programming
public
null
False
verylittlefinger
t2_ta9ws
Of course! We are hiring! Send me your LinkedIn page or however you distribute your resume, and I can pass it on to my leads!
null
0
1546110042
False
0
ectgofz
t3_aaagix
null
null
t1_ect77zu
/r/programming/comments/aaagix/why_review_code/ectgofz/
1548232881
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546110064
False
0
ectgpih
t3_aajb7r
null
null
t1_ecsr7xc
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectgpih/
1548232894
1
t5_2fwo
r/programming
public
null
False
MoTTs_
t2_9aafw
> It's not trivia but based on something based on a real problem we've encountered. The catch, though, is what if our product is, for example, an Electron-based app? Maybe we ask you a small question based on a real Electron-related problem we've encountered. Even though you're a good programmer, even though you could learn Electron if and when the situation required it, you still might fail that interview.
null
0
1546110236
1546115227
0
ectgxvf
t3_aaco1d
null
null
t1_ectd6mu
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectgxvf/
1548232997
2
t5_2fwo
r/programming
public
null
False
LPTK
t2_eufy7
> I can avoid the bits I don't like and keep it readable, but I work with other people, and I use libraries and frameworks written by other people. That's an entirely different problem you're describing there. I don't see the connection with the original quote: > if modern C++ is not easier to understand than old style for loops then modern C++ is not worth it To which you answered: > This is also why I loathe Scala. As shown above, in Scala a high-level iterator loop can be easier to write _and_ to read. You say that it's not specifically about loops, but IME this is true of most things. Scala lets you abstract things cleanly in general, as opposed to C++.
null
0
1546110276
False
0
ectgzs6
t3_aac4hg
null
null
t1_ectf3y9
/r/programming/comments/aac4hg/modern_c_lamentations/ectgzs6/
1548233021
2
t5_2fwo
r/programming
public
null
False
Liorithiel
t2_2ly7l
10) Entries requiring human interaction to be initially compiled are not permitted.
null
0
1546110356
False
0
ecth3r2
t3_aag673
null
null
t1_ectcodu
/r/programming/comments/aag673/ioccc_2019_begins_official_contest_rules/ecth3r2/
1548233069
5
t5_2fwo
r/programming
public
null
False
Creris
t2_owuu8
for(int i = 0; ...) was working even in visual studio 2008 so I do not understand what do you even mean by this
null
0
1546110446
False
0
ecth86l
t3_aac4hg
null
null
t1_ecszqgv
/r/programming/comments/aac4hg/modern_c_lamentations/ecth86l/
1548233124
4
t5_2fwo
r/programming
public
null
False
fabiosantoscode
t2_fyr6x
I was surprised too! But we only have 2 users we don't know plus a few friends. Want to become one? ;)
null
0
1546110458
False
0
ecth8sd
t3_aankii
null
null
t1_ectglrl
/r/programming/comments/aankii/upforksh_keep_up_to_5_forks_updated_for_free_and/ecth8sd/
1548233131
2
t5_2fwo
r/programming
public
null
False
AyrA_ch
t2_8mz48
If that includes creating the makefile, then we can still just deliver a 1MB makefile to them
null
0
1546110556
False
0
ecthdjr
t3_aag673
null
null
t1_ecth3r2
/r/programming/comments/aag673/ioccc_2019_begins_official_contest_rules/ecthdjr/
1548233190
2
t5_2fwo
r/programming
public
null
False
seamsay
t2_1zos4clf
It's a relatively common style, using pascal case for types and snake case for functions/variables. I first saw it in python, but basically every style guide I come across nowadays uses it.
null
0
1546110594
False
0
ecthfbz
t3_aajb7r
null
null
t1_ectf18i
/r/programming/comments/aajb7r/how_doom_fire_was_done/ecthfbz/
1548233212
2
t5_2fwo
r/programming
public
null
False
gloix
t2_5q1bq
I find it strange that given this statement: "In the code, lower-left is at array index zero and upper right is at index FIRE_HEIGHT * FIRE_WIDTH - 1." One substracts to go up.
null
0
1546110730
False
0
ecthlv1
t3_aajb7r
null
null
t1_ectcqno
/r/programming/comments/aajb7r/how_doom_fire_was_done/ecthlv1/
1548233293
2
t5_2fwo
r/programming
public
null
False
Ateist
t2_3d1y3
> Are you saying that you actually prefer this: Absolutely, especially if your comparator operator is more than one line long - and you reuse it in more than one place. Each line doing one and only one nontrivial thing is far easier to read, understand and -most importantly - debug than a code that tries to do several things at once. Just try to read each code: first one only requires you to read the last, simple line - you can easily do it "for free", below 1 second. Second code requires you to read every part of what StringComparator does, understanding each and every bit of the code. It can easily take you 10+ seconds. > Clearly this is less verbose That was referring to all the various things like deleting mandatory generated members of the classes or making them default.
null
0
1546110846
1546116217
0
ecthrge
t3_aac4hg
null
null
t1_ecsmlqy
/r/programming/comments/aac4hg/modern_c_lamentations/ecthrge/
1548233362
2
t5_2fwo
r/programming
public
null
False
shepherdjerred
t2_95udcat
The lost cycles during runtime are usually worth the decreased development time
null
0
1546110867
False
0
ecthsfk
t3_aajb7r
null
null
t1_ecsulri
/r/programming/comments/aajb7r/how_doom_fire_was_done/ecthsfk/
1548233404
32
t5_2fwo
r/programming
public
null
False
sketch_56
t2_w65be
Take this line of code from the `spreadFire(src)` method firePixels[src - FIRE_WIDTH] = firePixels[src] - 1; 'src' is the current pixel to be generating fire from, where `src = y * FIRE_WIDTH + x`. Notice that the array is updating `firePixels[src - FIRE_WIDTH]`, which means that the `spreadFire(src)` method would be generating pixels on a lower line. In `spreadFire(y * FIRE_WIDTH + x)`, take x = 0 and y = 1, making src=FIRE_WIDTH. Thus, firePixels[FIRE_WIDTH - FIRE_WIDTH] = firePixels[FIRE_WIDTH] - 1; -> firePixels[0] = firePixels[FIRE_WIDTH] - 1; If the array was indexed 0 at bottom left, that means that the bottom line, line 0, runs from index 0 to index FIRE_WIDTH-1. An input where y=1, which equates to line 1, updated a pixel in line 0. This would be overwriting the "fire generator" pixels, and you'd get no fire anyways since it's spreading fire in the wrong direction. However, if the firePixels array was 0 indexed at the top left, it would make sense to be updating the pixels in this order, and having to make sure that y>=1 would not be because of overwriting the bottom line, but because of an out-of-bounds error.
null
0
1546110885
1546111648
0
ecthtaw
t3_aajb7r
null
null
t1_ect6ucd
/r/programming/comments/aajb7r/how_doom_fire_was_done/ecthtaw/
1548233415
3
t5_2fwo
r/programming
public
null
False
Ateist
t2_3d1y3
Requiring such a call if you are converting integer to enum would be type safety. But doing it when you've already *explicitly* declared that your enums *are* integer is not. Rather, it *breaks* type safety, as you are already using conversion operator so if you switch to a different type you won't even get a warning. There *must* be a way to retrieve the value out of enum types without using conversion operators - or those values just serve no purpose at all.
null
0
1546111106
1546112547
0
ecti3ti
t3_aac4hg
null
null
t1_ecsgzf0
/r/programming/comments/aac4hg/modern_c_lamentations/ecti3ti/
1548233545
0
t5_2fwo
r/programming
public
null
False
PrimozDelux
t2_lost9eb
Cool, a bunch of stuff some dude doesn't know
null
0
1546111405
False
0
ectii6f
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectii6f/
1548233722
2
t5_2fwo
r/programming
public
null
False
AyrA_ch
t2_8mz48
You're faster because Windows has only one handle open for the virtual disk of your VM. Your VM application doesn't opens and closes handles every time you access a file from the virtualized OS. This becomes very noticeable if you handle a metric ton of tiny files. I'm looking at you, npm
null
0
1546111422
False
0
ectij0x
t3_aalc4n
null
null
t1_ect6pe5
/r/programming/comments/aalc4n/windows_file_access_performance_compared_to_linux/ectij0x/
1548233732
37
t5_2fwo
r/programming
public
null
False
gaearon
t2_7enqh
This is why don't go higher than built-in JS runtime or at most a few DOM APIs (which we're happy to describe if the candidate isn't aware). For example we don't ask anything React related even if the position in practice might involve writing React.
null
0
1546111586
False
0
ectiqxc
t3_aaco1d
null
null
t1_ectgxvf
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectiqxc/
1548233830
3
t5_2fwo
r/programming
public
null
False
kreiger
t2_34y7j
`UPPER_CASE` is typically used for constants.
null
0
1546111590
False
0
ectir4u
t3_aajb7r
null
null
t1_ectd268
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectir4u/
1548233833
5
t5_2fwo
r/programming
public
null
False
sketch_56
t2_w65be
They are the constants used for the bounds of the fire, like a screen resolution size. The `var rand` in the code works to generate the fieriness, where sideways motion is generated from `dst = src - rand + 1`, and upwards licks of flame are created from the bit `firePixels[dst - FIRE_WIDTH] = firePixels[src] - (rand & 1);`
null
0
1546111609
False
0
ectis1x
t3_aajb7r
null
null
t1_ectd268
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectis1x/
1548233844
3
t5_2fwo
r/programming
public
null
False
exorxor
t2_h57gcb9
OK, let me get this straight: If I were to interview at Facebook, *you* -- someone without even a CS degree -- would be interviewing me?! What would we even be discussing? The things I would want to discuss can't even exist in your head. I would probably tell whoever setup the meeting that I have no business being interviewed by such a low developed form of life and ask Facebook to try again or just find a different place. OMG, a "real problem we've encountered"?! Sure. /s
null
0
1546111741
False
0
ectiy8v
t3_aaco1d
null
null
t1_ectd6mu
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectiy8v/
1548233920
0
t5_2fwo
r/programming
public
null
False
foxh8er
t2_60e80
In fairness almost all of the FB questions in the bank are used *very* often. Source: All of the questions I got on my last onsite were on Leetcode and I still failed :(
null
0
1546111806
False
0
ectj1dx
t3_aaco1d
null
null
t1_ectd6mu
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectj1dx/
1548233959
1
t5_2fwo
r/programming
public
null
False
ItzWarty
t2_56t41
There are many ways to implement metaballs. An alternative easier explanation is: score(p, ball) => ball.radius / dist(p, ball) computePixelIntensity(p) => balls.sum(score(p)) Assume pixel intensity for a given pixel point, p, goes from 0 to 1. Anything higher gets clamped to this range. Alone, a ball will score >=1 within its radius and fall off linearly after (you could pass the score sum and/or score results to any falloff function of your choice, like a pow or exp or threshold). Balls next to each other will in total contribute significantly to the pixels between them, causing them to light up too.
null
0
1546111952
1546112144
0
ectj8g7
t3_aajb7r
null
null
t1_ecspbsl
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectj8g7/
1548234075
5
t5_2fwo
r/programming
public
null
False
mr_birkenblatt
t2_d7qfg
yeah, the comment wasn't directed at people trying to learn about monads. it was more directed at people teaching them. that's why I put > short version
null
0
1546112016
False
0
ectjbi3
t3_aai5ap
null
null
t1_ecte1uf
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectjbi3/
1548234114
3
t5_2fwo
r/programming
public
null
False
Boza_s6
t2_j1w9p
>I don’t think somebody learning web stack in 2018 has to beat themselves up for not knowing them all — which is why I thought it’s valuable to write it, and to counter-act that mentality. You can totally learn on the go and zoom in as necessary. Never have I said you have to beat yourself, that's stupid. >That’s a pretty bold assumption that just because I'm comfortable admitting I don't know _some_ things, I treat everything as a black box. I bet I know some things you don’t too. I'm saying that if you work with http on daily basis, it should be good to know what is tcp/ip. And I would except senior developer to know it. I get feeling you are _boasting you ignorancs_ even you said you don't. That's were I base my assumption.
null
0
1546112046
False
0
ectjcwg
t3_aaco1d
null
null
t1_ect96t4
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectjcwg/
1548234131
0
t5_2fwo
r/programming
public
null
False
Holy_City
t2_bj3zm
> They create a spec they don't control the actual implementation of it A large chunk of the committee are current or former compiler developers representing Clang, GCC, Microsoft, Apple, Intel, and other compiler projects.
null
0
1546112104
False
0
ectjfq4
t3_aac4hg
null
null
t1_ecsu8xm
/r/programming/comments/aac4hg/modern_c_lamentations/ectjfq4/
1548234167
6
t5_2fwo
r/programming
public
null
False
Xander_1
t2_121ddr1p
Watching AlphaZero play chess is so interesting, it doesn’t mind sacrificing pieces for a better board position, and 10+ moves down the line it gets compensation for those lost pieces
null
0
1546112155
False
0
ectji47
t3_aaksym
null
null
t3_aaksym
/r/programming/comments/aaksym/how_the_artificial_intelligence_program_alphazero/ectji47/
1548234196
7
t5_2fwo
r/programming
public
null
False
gaearon
t2_7enqh
We're not just looking for correct answers.
null
0
1546112468
False
0
ectjx11
t3_aaco1d
null
null
t1_ectj1dx
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectjx11/
1548234380
1
t5_2fwo
r/programming
public
null
False
Isvara
t2_10v24
>I’m not sure where to go from here. "To make an apple pie from scratch, you must first create the universe." — Carl Sagan
null
0
1546112502
False
0
ectjyma
t3_aaco1d
null
null
t1_ecs8uwy
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectjyma/
1548234399
7
t5_2fwo
r/programming
public
null
False
Katholikos
t2_dqowe
Chill
null
0
1546112524
False
0
ectjzo8
t3_aajb7r
null
null
t1_ect9p79
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectjzo8/
1548234412
3
t5_2fwo
r/programming
public
null
False
yawaramin
t2_77bue
Hey, thanks for explaining. IIUC, the main benefit for you is being able to do everything in a single transaction? If so, you might want to consider using a stored procedure on the DB side. Stored procs can e.g. insert a primary record, get the newly-inserted record ID, and insert secondary records all in one go. And calling a stored proc from a client is by default a single atomic transaction in modern DBs e.g. Postgres. I get that people don't like stored procs for various reasons (like they're not testable–which they actually are: https://pgtap.org/ ), but 'use the right tool for the job' :-)
null
0
1546112533
False
0
ectk021
t3_a8vpy4
null
null
t1_ecte6av
/r/programming/comments/a8vpy4/why_did_we_shift_away_from_databasegenerated_ids/ectk021/
1548234417
1
t5_2fwo
r/programming
public
null
False
bartturner
t2_dyc5p
Exactly. It does crazy things that no human would do. What I do find a bit funny is that once it knows it won it does garbage moves. So with Go when it starts doing garbage moves the person knows they lost just they do not know how.
null
0
1546112601
False
0
ectk38v
t3_aaksym
null
null
t1_ectji47
/r/programming/comments/aaksym/how_the_artificial_intelligence_program_alphazero/ectk38v/
1548234456
7
t5_2fwo
r/programming
public
null
False
ruinercollector
t2_4bzgg
I think that file based includes are the biggest major complaint that I still have.
null
0
1546112602
False
0
ectk39y
t3_aa7kp2
null
null
t1_ecqky9n
/r/programming/comments/aa7kp2/create_your_first_phpmysql_application_in_docker/ectk39y/
1548234456
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
A monad is like a burrito.
null
0
1546112648
False
0
ectk5iu
t3_aai5ap
null
null
t1_ecsbyf5
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectk5iu/
1548234484
8
t5_2fwo
r/programming
public
null
False
imposs1buru
t2_egu5ytm
Who called it NodeSecurity and not Oxymoron!
null
0
1546112718
False
0
ectk8sp
t3_aakn4q
null
null
t3_aakn4q
/r/programming/comments/aakn4q/introducing_nodesecurity_the_easiest_way_to/ectk8sp/
1548234524
6
t5_2fwo
r/programming
public
null
False
ironykarl
t2_3q9eo
You absolutely don't need to write good code to make a good game, though.
null
0
1546112720
False
0
ectk8wg
t3_aajb7r
null
null
t1_ecte8o4
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectk8wg/
1548234526
5
t5_2fwo
r/programming
public
null
False
gaearon
t2_7enqh
>I'm saying that if you work with http on daily basis, it should be good to know what is tcp/ip. And I would except senior developer to know it. When you say “know”, how deeply do you mean? I know what TCP/IP _is_ (a protocol) but I can't tell you RFC-level details without looking them up. And its details are not _very_ relevant to using HTTP by definition — because HTTP is on a higher level of abstraction. How exactly is understanding details of TCP/IP relevant to using HTTP? I agree it’s _valuable_ to know but calling not knowing it “ridiculous” doesn’t make sense to me — unless you work specifically on implementing network protocols.
null
0
1546112773
False
0
ectkbev
t3_aaco1d
null
null
t1_ectjcwg
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectkbev/
1548234556
6
t5_2fwo
r/programming
public
null
False
LeeHide
t2_tqbvo
Yes you do. You absolutely need to write good code whenever you do write code, that's what you need to strive for.
null
0
1546112791
False
0
ectkc8x
t3_aajb7r
null
null
t1_ectk8wg
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectkc8x/
1548234567
-7
t5_2fwo
r/programming
public
null
False
LeeHide
t2_tqbvo
I only use Java, C# and C++ in my everyday stuff, where it's not common to do that, at least for C# and Java.
null
0
1546112855
False
0
ectkfbl
t3_aajb7r
null
null
t1_ecthfbz
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectkfbl/
1548234633
3
t5_2fwo
r/programming
public
null
False
Holy_City
t2_bj3zm
/r/learnprogramming
null
0
1546112864
False
0
ectkfrs
t3_aanxnr
null
null
t3_aanxnr
/r/programming/comments/aanxnr/limiting_user_input_to_numerical_values_in_c_vs/ectkfrs/
1548234639
5
t5_2fwo
r/programming
public
null
False
KagakuNinja
t2_7m1it
I’m an old school c/c++ programmer, who moved to java and then Scala. You don’t need fancy new languages to create unintelligible code. People managed to do that amazingly well just with 1980s era C...
null
0
1546113134
False
0
ectksc2
t3_aac4hg
null
null
t1_ecshr26
/r/programming/comments/aac4hg/modern_c_lamentations/ectksc2/
1548234795
3
t5_2fwo
r/programming
public
null
False
Bastram
t2_dyolc
This would not work for what I work on as the objects that we are trying to segment from each other are at the same depth.
null
0
1546113397
False
0
ectl4yp
t3_aa91bp
null
null
t1_ecqmh84
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ectl4yp/
1548234950
1
t5_2fwo
r/programming
public
null
False
yawaramin
t2_77bue
I'm not particularly an insider either, but I very much enjoy coding Elixir. IMHO the culture is very much set by Jose Valim's personal leadership style. If you'll take a look in the Elixir Forum, whenever people become critical of alternative tools, Jose is likely to step in and remind them to be kinder.
null
0
1546113516
False
0
ectlaon
t3_aaexva
null
null
t1_ecshwts
/r/programming/comments/aaexva/elixir_a_minidocumentary_2018/ectlaon/
1548235020
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546113854
False
0
ectlquy
t3_aa7kp2
null
null
t1_ecptvnu
/r/programming/comments/aa7kp2/create_your_first_phpmysql_application_in_docker/ectlquy/
1548235249
1
t5_2fwo
r/programming
public
null
False
Isvara
t2_10v24
I once worked on a prototype project that required, among other things, the position of a car to be tracked on a web page. I wrote the HTML and CSS for that page, and some JavaScript to read the position from a WebSocket and pass it to the Google Maps API. I also wrote the backend for that site, which communicated between the page and a service that received telemetry from the car. I wrote that service too. The data came via a cellular connection using a custom, lightweight binary protocol I designed. The data was generated by ARM firmware I wrote, running on a small embedded operating system I wrote, via drivers I wrote for the GPS receiver and cellular modem on a PCB I designed and assembled by hand. It was a fun project and I learned a lot, but I joke that that's when I decided I could call myself a full-stack developer (with some reservations, of course; I'm still learning Verilog so I can push further down). The point is, it's a very ill-defined term and not that useful. There's always more stack.
null
0
1546113900
False
0
ectlt70
t3_aaco1d
null
null
t1_ecs7wh3
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectlt70/
1548235278
7
t5_2fwo
r/programming
public
null
False
Bastram
t2_dyolc
Best recommendation would be get familiar with the tools, then do stuff like hackathons or contribute to open source stuff, and put it on your resume once you can . The only people that are really experts in this field right now are people that started working on this stuff as grad students in like 2010. Mask RCNN was published at the end of last year so its still pretty new. PhD is probably the most straight forward rout if you are still in university.
null
0
1546113943
False
0
ectlvc6
t3_aa91bp
null
null
t1_ecr2esi
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ectlvc6/
1548235304
1
t5_2fwo
r/programming
public
null
False
ironykarl
t2_3q9eo
I'm sorry, but that's absurd. I'm an advocate of good code (look which subreddit we're in), but there're absolutely good games with bad code. It's not that people shouldn't try to write good code, but you can most certainly peck and hack your way to making decent games, now, without being a proper "programmer."
null
0
1546113955
False
0
ectlvxv
t3_aajb7r
null
null
t1_ectkc8x
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectlvxv/
1548235312
3
t5_2fwo
r/programming
public
null
False
Bastram
t2_dyolc
If you are looking to make a real product with this you need real images that it will see when running otherwise it does not perform well.
null
0
1546114015
False
0
ectlyz1
t3_aa91bp
null
null
t1_ecsn6kd
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ectlyz1/
1548235349
1
t5_2fwo
r/programming
public
null
False
Bastram
t2_dyolc
runs at 5fps on 512 x 512 images on a titan x
null
0
1546114071
False
0
ectm1qf
t3_aa91bp
null
null
t1_ecsmknp
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ectm1qf/
1548235383
1
t5_2fwo
r/programming
public
null
False
tuesdayrain
t2_4uz9wrh
Go is good if you feel like prioritizing web server speed over development speed. Personally I find Node to be the best middle ground.
null
0
1546114150
False
0
ectm5h8
t3_aa2peh
null
null
t3_aa2peh
/r/programming/comments/aa2peh/why_go_sucks_and_you_should_use_node/ectm5h8/
1548235430
2
t5_2fwo
r/programming
public
null
False
qzrt
t2_175xbf
That still doesn't mean any C++ is required to implement something a specific way, eg how optimization is done and what levels of optimization there should be. It's why things like "force_inline" isn't in the C++ standard but virtually every C++ compiler has their own version of it.
null
0
1546114165
False
0
ectm64k
t3_aac4hg
null
null
t1_ectjfq4
/r/programming/comments/aac4hg/modern_c_lamentations/ectm64k/
1548235438
1
t5_2fwo
r/programming
public
null
False
Kaarjuus
t2_1p1n
Ever tried engineering an electronic device that handles paint? Where the unit sales price starts from 30 bucks? The little contact I've had with robotics, has taught me that I never want to build anything more complicated than a camera gimbal. Compared to the messiness of physics, anything software is *easy*.
null
0
1546114205
False
0
ectm819
t3_aaco1d
null
null
t1_ecsulur
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectm819/
1548235462
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546114302
False
0
ectmcp0
t3_a9sscm
null
null
t1_ecm8yo0
/r/programming/comments/a9sscm/when_is_it_ok_to_use_goto/ectmcp0/
1548235519
1
t5_2fwo
r/programming
public
null
False
masterofmisc
t2_dqd35
25 million lines of code? Sweet Jesus, is that an OS you look after over there? What field is your software for? ...Just being nosy really!
null
0
1546114306
False
0
ectmcwc
t3_aac4hg
null
null
t1_ectbh1a
/r/programming/comments/aac4hg/modern_c_lamentations/ectmcwc/
1548235522
1
t5_2fwo
r/programming
public
null
False
wrensdad
t2_208cmu5t
>server (ASP .NET MVC, NHibernate, Entity Framework) In that case just smash your face into your desk a few times and it turns out you do know Node! I say this as someone who moved from a .NET shop to Node (and likes it).
null
0
1546114309
False
0
ectmd22
t3_aaco1d
null
null
t1_ect10jd
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectmd22/
1548235524
4
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546114342
False
0
ectmem3
t3_a9sscm
null
null
t1_ecmlgxr
/r/programming/comments/a9sscm/when_is_it_ok_to_use_goto/ectmem3/
1548235543
0
t5_2fwo
r/programming
public
null
False
stamas
t2_ofvpb
Nice! I'm wondering, is there any other way to require a specific dependency (say, fs) in any other ways than what is checked with this project? Or issue an http request? Also, is there a way to list what my dependencies are currently accessing? It would be really informative.
null
0
1546114359
False
0
ectmfee
t3_aakn4q
null
null
t3_aakn4q
/r/programming/comments/aakn4q/introducing_nodesecurity_the_easiest_way_to/ectmfee/
1548235553
2
t5_2fwo
r/programming
public
null
False
playaspec
t2_5du1m
It falsed on a single frame. If you take action on that one frame, you're doing it wrong.
null
0
1546114453
False
0
ectmjtg
t3_aa91bp
null
null
t1_ecsjmxy
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ectmjtg/
1548235608
1
t5_2fwo
r/programming
public
null
False
Sedbict
t2_670l7m
It surely is a bit overwhelming. A while back I started toying around with IDA and beginning to reverse an old DOS game, with the ultimate goal to convert them to scummvm (I'm now on a break, but planning to get back in a month or so, when I get more free time). After getting increasingly more confident with low-level concepts (I already had a basic understanding, but not anything too technical) I decided to peek back at Dolphin's repo... nope it's still way over my head. Those guys are wizards!
null
0
1546114590
False
0
ectmqcr
t3_aaml78
null
null
t1_ectfyvu
/r/programming/comments/aaml78/rpcs3_ps3_emulator_november_2018_progress_report/ectmqcr/
1548235688
11
t5_2fwo
r/programming
public
null
False
bitwize
t2_6dq6
Swing is so passé. It's bloated, slow, and looks nowhere near native. That's why everyone uses Electron!
null
0
1546114750
False
0
ectmxug
t3_aansm3
null
null
t3_aansm3
/r/programming/comments/aansm3/netbeans_10_released_the_best_swing_gui_builder/ectmxug/
1548235809
58
t5_2fwo
r/programming
public
null
False
Katalash
t2_2lfp0pch
IDA and asm knowledge certainly help, but Dolphin is still fundamentally a hardware emulator, and a lot of the code is to capture all the low level io/register accesses of the various hw blocks and emulate its functionality super quickly. It’s still pretty intense because these systems are undocumented and had to be reverse engineered, and the authors of that code are probably the only people with a good understanding of that hardware.
null
0
1546115359
False
0
ectnpvf
t3_aaml78
null
null
t1_ectmqcr
/r/programming/comments/aaml78/rpcs3_ps3_emulator_november_2018_progress_report/ectnpvf/
1548236156
21
t5_2fwo
r/programming
public
null
False
inmatarian
t2_1elfr
try/catch can be replaced by a monad. Instead of throwing an exception, you return a failure. But it's not just an exit code, like return -1, but rather the failure object implements the same monad interface.
null
0
1546115371
False
0
ectnqf4
t3_aai5ap
null
null
t1_ecseg0u
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectnqf4/
1548236163
1
t5_2fwo
r/programming
public
null
False
iamnotsureperhaps
t2_2c5fjixj
Can someone(reading this post) rewrite/remake this in python ? currently learning programming and would like to see how one goes around this !
null
0
1546115595
False
0
ecto0pu
t3_aajb7r
null
null
t3_aajb7r
/r/programming/comments/aajb7r/how_doom_fire_was_done/ecto0pu/
1548236289
2
t5_2fwo
r/programming
public
null
False
ny83427
t2_2lvinf9w
Yeah, honestly speaking Swing is getting older and older and would be outdated soon. But there are still great products built on it. For example, the great IDE IntelliJ IDEA. Meanwhile, I've tried Electron before and it's really cool.
null
0
1546115940
False
0
ectofsd
t3_aansm3
null
null
t1_ectmxug
/r/programming/comments/aansm3/netbeans_10_released_the_best_swing_gui_builder/ectofsd/
1548236505
2
t5_2fwo
r/programming
public
null
False
schlenk
t2_jsgc
Your python example is flawed. You can import just a single function to keep your namespace clean, but you pay all the cost (memory/runtime) to import the whole module and if it is inside a package parts of the package too.
null
0
1546115999
False
0
ectoik9
t3_aac4hg
null
null
t1_ecs0jir
/r/programming/comments/aac4hg/modern_c_lamentations/ectoik9/
1548236539
1
t5_2fwo
r/programming
public
null
False
gaj7
t2_70ndj
For me, the question is "how do monads preserve purity over IO actions or other stateful/nondeterministic/side-effect things?"
null
0
1546116109
False
0
ectonfm
t3_aai5ap
null
null
t1_ecskivu
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectonfm/
1548236599
2
t5_2fwo
r/programming
public
null
False
rsclient
t2_300db
I can't tell if that is an /s or not.
null
0
1546116130
False
0
ectoobj
t3_aai5ap
null
null
t1_ecszhts
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectoobj/
1548236610
8
t5_2fwo
r/programming
public
null
False
Sedbict
t2_670l7m
Oh sure, you're completely right and I didn't mean that the two skillsets are completely interchangeable, just that they intersect a bit (it's just less than I expected). The thing is hardware emulation is a different beast entirely. When looking at a codebase for the first time, I usually can instantly make out bits and pieces of the code, with emulation I get stumped.
null
0
1546116238
False
0
ectot51
t3_aaml78
null
null
t1_ectnpvf
/r/programming/comments/aaml78/rpcs3_ps3_emulator_november_2018_progress_report/ectot51/
1548236670
5
t5_2fwo
r/programming
public
null
False
Determinant
t2_3fmrp
Does NetBeans have any plans to improve Kotlin support?
null
0
1546116341
False
0
ectoxr0
t3_aansm3
null
null
t3_aansm3
/r/programming/comments/aansm3/netbeans_10_released_the_best_swing_gui_builder/ectoxr0/
1548236726
3
t5_2fwo
r/programming
public
null
False
rsclient
t2_300db
Challenge accepted! Using totally arbitrary syntax: maybe x = sin (theta) if (x.HasValue) t= t+x Done! I've ruined my program and the compiler doesn't care, and it just took a few quick characters!
null
1
1546116345
False
0
ectoxwq
t3_aai5ap
null
null
t1_ecsxiby
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectoxwq/
1548236729
-2
t5_2fwo
r/programming
public
null
False
_INTER_
t2_qqzj8
> It's bloated, slow, and looks nowhere near native. That's why everyone uses Electron! oh the irony
null
0
1546116602
False
0
ectp99q
t3_aansm3
null
null
t1_ectmxug
/r/programming/comments/aansm3/netbeans_10_released_the_best_swing_gui_builder/ectp99q/
1548236869
2
t5_2fwo
r/programming
public
null
False
Kendos-Kenlen
t2_10qpda
« [Upfork logo] Welcome to Autofork... » A message needs to be updated ;) Otherwise, very interesting project. Gonna give a try. Had an issue few weeks ago that could have been solved by your solution.
null
0
1546116629
False
0
ectpagc
t3_aankii
null
null
t3_aankii
/r/programming/comments/aankii/upforksh_keep_up_to_5_forks_updated_for_free_and/ectpagc/
1548236884
3
t5_2fwo
r/programming
public
null
False
hoosierEE
t2_g6ibf
Nice, thanks!
null
0
1546116684
False
0
ectpczu
t3_aa3qdm
null
null
t1_ecrj349
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ectpczu/
1548236915
1
t5_2fwo
r/programming
public
null
False
BrunchWithBubbles
t2_gw8cq
Then you missed my point. Nullable types (in TypeScript at least) is not the same as the sum types Option/Maybe in other languages. Even calling TypeScript's nullable a sum type is frankly abusing the terminology a bit. In TypeScript `T | null | null` is by definition exactly the same type as `T | null`. This essentially means that "2=1" if you think about nullable as `T + 1` - a contradiction. To get true sum types you need _tagged_ unions, which _are_ perfectly typeable in TypeScript, but it's not nullable types. Just to be clear, I'm not saying that Option/Maybe is superior to nullable types in all cases. I'm just saying that they are not the same thing. Nullable is sort of a sum type where `+1` is idempotent. This makes it not a monad.
null
0
1546116726
False
0
ectpesr
t3_aai5ap
null
null
t1_ect1dkg
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectpesr/
1548236937
8
t5_2fwo
r/programming
public
null
False
ny83427
t2_2lvinf9w
Jetbrains once provide kotlin plugin for netbeans but had stopped development as usage numbers of the plugin were too low(https://github.com/JetBrains/kotlin-netbeans/issues/122). Currently it seems there is not official plan from Apache side, however, I do think for kotlin development, IDEA will always be the best choice.
null
0
1546116771
False
0
ectpgqx
t3_aansm3
null
null
t1_ectoxr0
/r/programming/comments/aansm3/netbeans_10_released_the_best_swing_gui_builder/ectpgqx/
1548236962
7
t5_2fwo
r/programming
public
null
False
Katalash
t2_2lfp0pch
Haha yeah. If you want to get into it I’d recommend looking at an emulator for a simpler system first (original game boy is a good one that’s relatively beginner friendly and relatively well documented). Dolphin is in theory similar to any other emulator, but has to do many tricks to emulate the Wii’s much faster processors at playable frame rates such as JITing multiple processors, emulating pretty much the entire fixed function gpu in shaders, etc.
null
0
1546116807
False
0
ectpi8j
t3_aaml78
null
null
t1_ectot51
/r/programming/comments/aaml78/rpcs3_ps3_emulator_november_2018_progress_report/ectpi8j/
1548237009
11
t5_2fwo
r/programming
public
null
False
BorderCollieFlour
t2_1wievutf
No it's like saying [funny, go](https://youtu.be/HlEJbs02wAM?t=36s). Different skillsets
null
0
1546116921
False
0
ectpn1k
t3_aaco1d
null
null
t1_ecrq4zg
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ectpn1k/
1548237068
1
t5_2fwo
r/programming
public
null
False
drysart
t2_3kikg
FIRE_WIDTH and FIRE_HEIGHT refer to the size of the area within which the fire is burning, not to the flames themselves.
null
0
1546116955
False
0
ectpogf
t3_aajb7r
null
null
t1_ectd268
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectpogf/
1548237086
2
t5_2fwo
r/programming
public
null
False
Crackbreaker
t2_gmcn7
Gooooo Frutallllllll
null
0
1546117011
False
0
ectpqum
t3_aankii
null
null
t1_ectei7y
/r/programming/comments/aankii/upforksh_keep_up_to_5_forks_updated_for_free_and/ectpqum/
1548237116
2
t5_2fwo
r/programming
public
null
False
lampshadish2
t2_3dlp3
I worked with C++98 for about 12 years. I thought I was comfortable with the language. But looking at modern C++ (C++11 and up) I feel like I might as well be looking at Rust or D or something similar for how different it is. The added features have probably erased all the idioms I relied on. Maybe that's a good thing. `auto` looks very useful. But I probably won't ever pick C++ for a new project without seriously evaluating other choices. (Not working in a field where C++ is the default choice. I mostly use Python and Go nowadays). I'd be very interested in some sort of overview of the changes since C++98 and how to use them effectively.
null
0
1546117073
False
0
ectptg4
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ectptg4/
1548237147
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546117116
False
0
ectpv8m
t3_aa0xom
null
null
t3_aa0xom
/r/programming/comments/aa0xom/arbitrary_precision_signed_integer_arithmetic/ectpv8m/
1548237170
1
t5_2fwo
r/programming
public
null
False
winger_sendon
t2_zoz0d
Why don't you use C style enums then?
null
0
1546117166
False
0
ectpxg8
t3_aac4hg
null
null
t1_ecti3ti
/r/programming/comments/aac4hg/modern_c_lamentations/ectpxg8/
1548237196
1
t5_2fwo
r/programming
public
null
False
myringotomy
t2_9f1cg
That sounds interesting. You should post this to r/programming languages
null
0
1546117214
False
0
ectpziy
t3_aaorwh
null
null
t3_aaorwh
/r/programming/comments/aaorwh/xtext_language_engineering_made_easy/ectpziy/
1548237222
-1
t5_2fwo
r/programming
public
null
False
omni-viral
t2_3chm4v
Most of the times you just have least big-O complexity that can handle your computations. I rarely can't figure or find most effective algorithm for my problems (except this problem about 1 dimensional backpack with some item pairs allowed to overlap). Most slowness sources in software I encountered were (starting with worst): * Unnecessary waits for external signals. Also request-wait in sequence when could be in parallel. * Doing complex computation, using in one place, dropping result, doing same computation again. * Overusing RTTI (this one is mostly relevant to C++) * Overusing dynamic polymorphism. * And only last one, using suboptimal algorithm.
null
0
1546117234
False
0
ectq0dt
t3_aac4hg
null
null
t1_ecteh39
/r/programming/comments/aac4hg/modern_c_lamentations/ectq0dt/
1548237233
1
t5_2fwo
r/programming
public
null
False
encyclopedist
t2_ok8do
Well. it's not mine idea. I got this idea from StackOverflow.
null
0
1546117262
False
0
ectq1kg
t3_a9yxp6
null
null
t1_ecouht7
/r/programming/comments/a9yxp6/gitbatch_manage_all_of_your_git_repositories_in/ectq1kg/
1548237248
2
t5_2fwo
r/programming
public
null
False
thetdotbearr
t2_4tonw
In doing so you’ve explicitly decided to fuck shit up, which you can of course do but that’s not really the point. You had to *decide* to do that, whereas you can simply forget a null check and inadvertently break things.
null
0
1546117266
False
0
ectq1q2
t3_aai5ap
null
null
t1_ectoxwq
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectq1q2/
1548237250
3
t5_2fwo
r/programming
public
null
False
mrkite77
t2_4iq0c
Yeah.. mine is greatly simplified. It's because it is based on a 256-byte fire competition entry I wrote 22 years ago: http://seancode.com/older/mk256.asm So corners were cut in the algorithm so the binary would be exactly 256-bytes.
null
0
1546117332
False
0
ectq4l2
t3_aajb7r
null
null
t1_ect5vc3
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectq4l2/
1548237285
90
t5_2fwo
r/programming
public
null
False
Ozwaldo
t2_3tdnf
My man... takes a little heat for his javascript fire effect, proceeds to post his goddamn *assembly* source that he based it on.
null
0
1546117515
False
0
ectqcr1
t3_aajb7r
null
null
t1_ectq4l2
/r/programming/comments/aajb7r/how_doom_fire_was_done/ectqcr1/
1548237386
87
t5_2fwo
r/programming
public
null
False
noir_lord
t2_3655m
Honestly can't tell if sarcasm or not. Well done.
null
0
1546117535
False
0
ectqdp0
t3_aansm3
null
null
t1_ectmxug
/r/programming/comments/aansm3/netbeans_10_released_the_best_swing_gui_builder/ectqdp0/
1548237397
52
t5_2fwo
r/programming
public
null
False
shinazueli
t2_dprsa
That's legitimately untrue. I distinctly remember it not working in 2012.
null
0
1546117569
False
0
ectqf8p
t3_aac4hg
null
null
t1_ecth86l
/r/programming/comments/aac4hg/modern_c_lamentations/ectqf8p/
1548237417
2
t5_2fwo
r/programming
public
null
False
twigboy
t2_4caar
Plus all the handles open to watch for changes on said metric ton of tiny files
null
0
1546117607
False
0
ectqh0b
t3_aalc4n
null
null
t1_ectij0x
/r/programming/comments/aalc4n/windows_file_access_performance_compared_to_linux/ectqh0b/
1548237439
6
t5_2fwo
r/programming
public
null
False
shinazueli
t2_dprsa
I can't go into detail it's too small of a field. But it's an embedded product in customer homes with significant user facing functionality and our margins are tiny so we need the cheapest hardware we can get our hands on, meaning we have hard constraints related to memory and CPU usage, and our own custom Linux kernel because hey why not.
null
0
1546117614
False
0
ectqhc3
t3_aac4hg
null
null
t1_ectmcwc
/r/programming/comments/aac4hg/modern_c_lamentations/ectqhc3/
1548237443
1
t5_2fwo
r/programming
public
null
False
gaj7
t2_70ndj
There are I think 2 pieces of syntax you need to understand. First, `->` is used to describe the type of functions. `a -> b` describes a function which takes an argument of type `a`, and evaluates to an expression of type `b`. When chained together, `->` is right associative, meaning `a -> b -> c` is really `a -> (b -> c)`, so it describes a function which takes an argument of type `a`, and evaluates to a function of type `b -> c`. (If you are curious as to why functions only ever take one argument, I'd suggest you look into currying and partial evaluation). The other is a type constructor, e.g. `App`, `Maybe`, `Either`, etc. A type constructor takes a type and creates a new one (Well actually it can also create a new type constructor. They are essentially curried in the same way as functions IIRC). For example, for any type `a`, you could write `Maybe a` to represent the type which contains all values of `a` as well as the special symbol `Nothing` which signifies the lack of an `a` value. Hope that helps.
null
0
1546117626
False
0
ectqhv3
t3_aai5ap
null
null
t1_ecte1uf
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ectqhv3/
1548237450
3
t5_2fwo
r/programming
public
null
False
delight1982
t2_spv3t
I can't even..
null
0
1546117738
False
0
ectqn2z
t3_aansm3
null
null
t1_ectmxug
/r/programming/comments/aansm3/netbeans_10_released_the_best_swing_gui_builder/ectqn2z/
1548237515
3
t5_2fwo
r/programming
public
null
False
chewyfruitloop
t2_4ugok
We just hired 2 guys over 50 and a guy over 60 for programming & sysadmin ... I’ve been in places full of pfy’s and it’s shows with the quality of the output
null
0
1546117761
False
0
ectqo5j
t3_aandti
null
null
t3_aandti
/r/programming/comments/aandti/older_workers_pushed_out_of_work_or_forced_into/ectqo5j/
1548237528
49
t5_2fwo
r/programming
public
null
False
antiquechrono
t2_4jrwn
> Maybe a dumb observation, but "vastly" more complex... how? Is it actual complexity or scale? The first problem is that like they said a real neuron has a ton of things going on with it and is really complex all by itself before you even add things like how neurons grow. An "AI" neuron is only multiplying some numbers together and behaves nothing like a real one. Next even if you could 100% model a real neurons behavior and had the computing power to simulate how many a brain has it wouldn't do anything. The brain is composed of many different structures including tons of macro and micro circuits that all compute different things, most of which we haven't figured out yet. There's pretty good evidence that the brain is using many different algorithms to compute various things as well. Your motor system and ability to correlate multiple events seems to be based on bayesian inference while something like your own error estimation is probabilistic but not bayesian. There's good evidence that the brain is using large populations of neurons to encode probability distributions and perform bayesian inference on them by exploiting properties of how the neurons themselves spike which "AI" neurons do none of. Finally we still understand very little of how the brain works as we haven't been able to study very large numbers of neurons all working at the same time.
null
0
1546117802
False
0
ectqq4j
t3_aa91bp
null
null
t1_ecr51w8
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ectqq4j/
1548237552
1
t5_2fwo
r/programming
public
null
False
gleno
t2_61ri0
Wow. So rude.
null
0
1546117820
False
0
ectqqzy
t3_aabai1
null
null
t1_ecs28c7
/r/programming/comments/aabai1/fish_shell_30/ectqqzy/
1548237563
1
t5_2fwo
r/programming
public
null
False
winger_sendon
t2_zoz0d
Is "Function" like std function? Or non owning one like function_ref?
null
0
1546117874
False
0
ectqtke
t3_aac4hg
null
null
t1_ecszdue
/r/programming/comments/aac4hg/modern_c_lamentations/ectqtke/
1548237624
2
t5_2fwo
r/programming
public
null
False
CaptainMuon
t2_n4umy
Stackoverflow, as brutal as always.
null
0
1546117925
False
0
ectqvv2
t3_aanxnr
null
null
t3_aanxnr
/r/programming/comments/aanxnr/limiting_user_input_to_numerical_values_in_c_vs/ectqvv2/
1548237652
3
t5_2fwo
r/programming
public
null