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
brainwipe
t2_36vdd
How can sanitising lead to more exploits than escaping?
null
0
1543939268
False
0
eb2ohin
t3_a2way5
null
null
t1_eb25d0k
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2ohin/
1547008408
1
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
You don't have a tiniest bit of evidence to back your nonsense. Does anyone know how the author of a shit code written 10 years ago looked like, in order to conclude that this code is shit? Nope. Do you know how people from another department in your organisation look like? Nope. Not to mention opensource - you don't even know if your contributor is a human or a dog. You only interact in person with a tiny percentage of those who you interact with via code.
null
0
1545094297
False
0
ec0jcpo
t3_a6nfgh
null
null
t1_ec0gqwt
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec0jcpo/
1547745715
3
t5_2fwo
r/programming
public
null
False
KanbagileScrumolean
t2_zymlx
Always ready to downvote a shevegen post
null
0
1543939361
False
0
eb2olsx
t3_a2xdzw
null
null
t1_eb254iw
/r/programming/comments/a2xdzw/the_friendship_that_made_google_huge/eb2olsx/
1547008461
4
t5_2fwo
r/programming
public
null
False
holyknight00
t2_hiu8h
damn son that smoke is addictive af
null
0
1545094469
False
0
ec0jjal
t3_a6zxou
null
null
t3_a6zxou
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0jjal/
1547745797
2
t5_2fwo
r/programming
public
null
False
JimJamJamie
t2_5asup
`<h1>what the fuck</h1>`
null
0
1543939368
False
0
eb2om4e
t3_a2way5
null
null
t1_eb2h8ic
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2om4e/
1547008465
65
t5_2fwo
r/programming
public
null
False
meneldal2
t2_l7gg5
Considering I hate most JS devs, for me even if I'm no Google fan anything that forces JS devs to write good sites that don't require a beast of the computer is awesome. They brought it on themselves writing more and more bloat. The irony here is Google itself is no stranger to JS bloat (they are champions of shitty JS, especially with the new Youtube), but I guess when their own chromebooks can't run half the web they figured out they overdid it.
null
0
1545094518
False
0
ec0jl57
t3_a71ccv
null
null
t1_ec0hyhu
/r/programming/comments/a71ccv/google_amp_case_study_leads_dropped_by_59_how_to/ec0jl57/
1547745819
5
t5_2fwo
r/programming
public
null
False
captncraig
t2_64wm2
Then here's hoping whoever buys them is kind enough to put it up on pirate bay.
null
0
1543939412
False
0
eb2oo9e
t3_a2rcot
null
null
t1_eb1t3cy
/r/programming/comments/a2rcot/al_lowe_reveals_his_sierra_source_code/eb2oo9e/
1547008491
1
t5_2fwo
r/programming
public
null
False
germanbeer
t2_9ker7
How much of silicon valley is like this? I swear that most startups and some established companies have no profitable business models.
null
0
1545094697
False
0
ec0jrt0
t3_a6v025
null
null
t1_eby7yos
/r/programming/comments/a6v025/the_skills_gap_in_tech_is_virtually_nonexistent/ec0jrt0/
1547745901
1
t5_2fwo
r/programming
public
null
False
bautin
t2_3cri3
Don't forget my argument was that they were doing the same thing to each other. That they were trivializing each others concerns.
null
0
1543939475
False
0
eb2or5k
t3_a2p0j9
null
null
t1_eb2og9e
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb2or5k/
1547008526
2
t5_2fwo
r/programming
public
null
False
archiminos
t2_43pqf
In China your visa is tied to your job. I didn't want to leave Shanghai so I was looking for another position but if I quit my job I wouldn't have a visa to stay in the country. I was effectively 'out of work', but technically still employed.
null
0
1545094884
False
0
ec0jz65
t3_a6nfgh
null
null
t1_ebzl1n4
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec0jz65/
1547745991
2
t5_2fwo
r/programming
public
null
False
WorldsBegin
t2_ijg9a
You can get matrix powers `A^n` of a matrix `k x k` down to being asymptotically quadratic `O(k^2 log n)` in the matrix size if you multiply-by-squaring polynomials instead of the whole matrix, reduced over the characteristic polynomial and evaluated at `x = A`. You might even get `O(k log k log n)` by using FFT but that has some limitations. I leave it to the reader to work out the details ;)
null
0
1543939520
False
0
eb2otbf
t3_a31fme
null
null
t3_a31fme
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb2otbf/
1547008553
3
t5_2fwo
r/programming
public
null
False
beefsack
t2_49j3b
I tinkered with it a little bit and thought it was kinda neat. Then I started to learn about the interactions between the things and was really surprised. Then I found the cloner and it became legitimately fun (cloner + flammables + fire). Then my 4yo daughter joined in and I think it's already her GotY 2018, we've had an absolute blast and she's learned to read the important words for things she likes to use (plant, seed): https://imgur.com/a/MOjoY0g Amazing work, there's a deceptive amount of depth and room to play there. (Tangent, I was in Windows to play some games this morning, but I do all my Rust dev in Linux).
null
0
1545094913
False
0
ec0k0ax
t3_a6zxou
null
null
t3_a6zxou
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0k0ax/
1547746006
1
t5_2fwo
r/programming
public
null
False
ThirdEncounter
t2_1ud6zgq
It seems like this is just a rumor.
null
0
1543939566
False
0
eb2ovge
t3_a313x9
null
null
t3_a313x9
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb2ovge/
1547008580
43
t5_2fwo
r/programming
public
null
False
renrutal
t2_6nt9z
It is *also* our fault. We're just too willing to be the well oiled cog in the machine in order to receive a paycheck in the end of the month, and to avoid more friction than comfortable with others. "It's marketing or management fault" is just scapegoating. More often than not developers can predict months or years ahead what can go wrong with systems and their repercussions, as they are the ones who designed them.
null
0
1545094961
False
0
ec0k286
t3_a719k6
null
null
t1_ec01n20
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec0k286/
1547746029
46
t5_2fwo
r/programming
public
null
False
benmmurphy
t2_3otpy
this seems more to be a problem with PHP not having a proper datatype for String. PHP has something called a String but that is an array of bytes without an encoding. then weirdly enough you have a bunch of problems when people try to do 'String' operations on arrays of bytes without understanding the encoding of the bytes. mysql\_real\_escape\_string is still kind of bugged but i guess bugged in a way that would generally not cause problems. for example if you do: ​ user\_input (assuming input is GBK encoding) escaped = mysql\_real\_escape\_string(user\_input) converted = convert(escaped, GBK->UTF8) send\_db(converted) \[DB is UTF8 encoded\] ​ then you have troubles. like the assumption with mysql\_real\_escape\_string is that the encoding of the input to the function is in the same encoding as the database. the assumption of mysql\_escape\_string is that the input to the function is either ascii, utf8 or some single byte character set that is a superset of ascii. both functions make an assumption about the input. it just so happens that mysql\_real\_escape\_string's assumption is more likely to be correct. if you have GBK input and GBK encoded database you can make mysql\_escape\_string 'safe' by doing: escaped = utf8\_to\_gbk ( mysql\_escape\_string ( gbk\_to\_utf8 ( input ) ) though, if these functions are 'lossy' then maybe this is not something you want to be doing :)
null
0
1543939613
1543939853
0
eb2oxn6
t3_a2way5
null
null
t1_eb296o4
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2oxn6/
1547008606
2
t5_2fwo
r/programming
public
null
False
onionhammer
t2_4fak4
The smoke effect is so much better lookin than anything else, why’s that?
null
0
1545095103
False
0
ec0k81m
t3_a6zxou
null
null
t3_a6zxou
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0k81m/
1547746101
2
t5_2fwo
r/programming
public
null
False
senj
t2_3wc5u
I'm aware of no such court rulings, and googling doesn't turn up anything. If you can find a link, please share it. > as granting one without the other does not make sense unless it is an intentionally deceptive act by the copyright/patentholder. That doesn't follow. You can make something available under the BSD for any number of reasons, including just so that it is compilable by people who have taken a patent license from you, or for simple academic reference. The BSD makes no legal guarantee that there are absolutely no legal complications to your use of the code. In fact, it says quite the opposite: It says that nothing in the copyright grant implies the software is fit for any particular purpose (including "using this without getting sued for patent infringement") and exempts the copyright holder from any liability for any difficulties you run into from your use of the software, include legal difficulties.
null
0
1543939658
1543939982
0
eb2ozs7
t3_a2oxxm
null
null
t1_eb2mee3
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb2ozs7/
1547008633
1
t5_2fwo
r/programming
public
null
False
rlbond86
t2_436ic
And your opinion is based on a single reddit comment so it's pretty fucking stupid of you
null
0
1545095433
False
0
ec0kls5
t3_a6ufoy
null
null
t1_ec0ips7
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ec0kls5/
1547746299
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543939666
False
0
eb2p066
t3_a31fme
null
null
t1_eb2otbf
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb2p066/
1547008638
1
t5_2fwo
r/programming
public
null
False
014a
t2_57ogayt
The odd thing I've always felt about error messages is, even at someone like Google's scale, there is practically zero reason why the publishers shouldn't immediately know about any errors that happen (via error reporting software, crash traces, etc). Error messages/codes originated from a day when software was distributed, more or less, physically. Today, if you've got internet, we can ship those traces off. That's way more reliable and faster than waiting for a user to tell you the error code via email. That isn't a reason to not display error messages or codes; there is value in letting the user know what went wrong. Most of the time they're your customer, after all, and are paying you for the software they use. But at least once I've had a company's CS team (Slack, IIRC) reply to a Tweet with a "can you tell us the error message you got and your device information" and I can't help but yell "There is no way in hell you don't already have all that information, my app startup of two people [wouldn't need a user to tell us that](https://www.bugsnag.com/). Just fix it."
null
0
1545095533
False
0
ec0kpyc
t3_a719k6
null
null
t1_ebzlpto
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec0kpyc/
1547746351
3
t5_2fwo
r/programming
public
null
False
hapoo
t2_3ic1m
There’s a typo in that matrix. Kinda confused me for a second
null
0
1543939695
False
0
eb2p1hq
t3_a31fme
null
null
t3_a31fme
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb2p1hq/
1547008654
1
t5_2fwo
r/programming
public
null
False
TheBlackDon
t2_rahcv
I have no idea mate
null
0
1545095638
False
0
ec0kubj
t3_a754hi
null
null
t1_ec0hac4
/r/programming/comments/a754hi/program_an_arduino_to_have_64_sensors/ec0kubj/
1547746406
1
t5_2fwo
r/programming
public
null
False
offthewall1066
t2_8wng8
That’s exactly my point, encrypted (hashed) doesn’t make any sense. The wording is just unclear
null
0
1543939887
1543940069
0
eb2pag4
t3_a2xikx
null
null
t1_eb20o4n
/r/programming/comments/a2xikx/quora_user_data_compromised/eb2pag4/
1547008764
1
t5_2fwo
r/programming
public
null
False
Slavik81
t2_whzuw
Maximum friction. 'No slip' means that fluid at the wall is prevented from moving parallel to the wall.
null
0
1545095673
False
0
ec0kvqn
t3_a6zxou
null
null
t1_ec0czpq
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0kvqn/
1547746424
7
t5_2fwo
r/programming
public
null
False
Ferdi265
t2_eaor4
My University has an automatic online test system for the operating systems class. You could just print a closing pre tag in the kernel log and off you go
null
0
1543940069
False
0
eb2pj42
t3_a2way5
null
null
t1_eb2l8ww
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2pj42/
1547008899
16
t5_2fwo
r/programming
public
null
False
tiftik
t2_3we5m
The web is an open platform. I refuse to use any patent encumbered standard on the web. Apple is, of course, one of the companies that own the patent pool.
null
0
1545095731
False
0
ec0ky2y
t3_a6r0ka
null
null
t1_ebxtqli
/r/programming/comments/a6r0ka/concord_how_i_built_a_screen_sharing_application/ec0ky2y/
1547746453
1
t5_2fwo
r/programming
public
null
False
MCFiletMignon
t2_1gm636fm
Loving the hard work, but: *Latest stable version: 2 years, 5 months ago*
null
0
1543940102
False
0
eb2pknt
t3_a2yde9
null
null
t3_a2yde9
/r/programming/comments/a2yde9/dolphin_progress_report_november_2018/eb2pknt/
1547008918
-9
t5_2fwo
r/programming
public
null
False
Canthros
t2_mlypa
Reddit isn't exactly 'the streets'. It would cost you nothing to be civil, except that you might alienate fewer people by your odiousness.
null
0
1545095818
False
0
ec0l1s1
t3_a6xy9s
null
null
t1_ec0dkgo
/r/programming/comments/a6xy9s/sjwjs/ec0l1s1/
1547746498
1
t5_2fwo
r/programming
public
null
False
nefreat
t2_32evt
> Part of the problem is that I have difficult getting inside of the heads of people who think strict types make programming more difficult since the opposite seems true to me on a gut level. I am one of these people, AMA. He refers to papers about HM having limits and the programs he wants to write hitting those limits.
null
0
1543940248
False
0
eb2prbh
t3_a2s08c
null
null
t1_eb0r9mn
/r/programming/comments/a2s08c/the_little_typer_lets_learn_about_dependent_types/eb2prbh/
1547009000
1
t5_2fwo
r/programming
public
null
False
NoInkling
t2_csqao
I was about to say, this reminds me of the Liero level editor. Edit: actually I think it just reminds me of the game itself due to the graphical style, IIRC the levels themselves (and the editor) were very basic.
null
0
1545095936
1545097589
0
ec0l6j1
t3_a6zxou
null
null
t1_ec0htou
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0l6j1/
1547746556
2
t5_2fwo
r/programming
public
null
False
zayelion
t2_70rdq
Agreed!
null
0
1543940496
False
0
eb2q2o6
t3_a2ml49
null
null
t1_eazmq83
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2q2o6/
1547009140
1
t5_2fwo
r/programming
public
null
False
cowardlydragon
t2_d0po
So your spam requests fell? I'm crying.
null
0
1545095950
False
0
ec0l73i
t3_a71ccv
null
null
t3_a71ccv
/r/programming/comments/a71ccv/google_amp_case_study_leads_dropped_by_59_how_to/ec0l73i/
1547746564
11
t5_2fwo
r/programming
public
null
False
xenomachina
t2_7mxhc
>Or, like I said, you can build parameterized queries in SQL as the language has supported for ages. Perhaps if you give ab example of how this would be done from programming-language-of-your-choice it would make it more clear what you mean.
null
1
1543940602
False
0
eb2q7iz
t3_a2way5
null
null
t1_eb2brcr
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2q7iz/
1547009200
-1
t5_2fwo
r/programming
public
null
False
HalibetLector
t2_17d4bn
> Reddit isn't exactly 'the streets'. What part of "inciting violence" do you not understand? Do you think nobody tries to incite violence here on reddit? Actions have consequences. Even posts on reddit. > It would cost you nothing to be civil, except that you might alienate fewer people by your odiousness. I'm perfectly civil to anybody who comes at me with a similar level of civility. Calling me odious or a piece of shit (as the grandparent did) means you don't get to tell me to be civil, you fucking hypocrite. Maybe you should try being civil yourself first.
null
0
1545095956
1545098029
0
ec0l7bw
t3_a6xy9s
null
null
t1_ec0l1s1
/r/programming/comments/a6xy9s/sjwjs/ec0l7bw/
1547746567
3
t5_2fwo
r/programming
public
null
False
bruce3434
t2_12379h
How is it different than GDC?
null
0
1543940667
False
0
eb2qaii
t3_a30hg9
null
null
t3_a30hg9
/r/programming/comments/a30hg9/gcc_9_adds_frontend_support_for_the_d_programming/eb2qaii/
1547009237
23
t5_2fwo
r/programming
public
null
False
Ray192
t2_6jmdp
We're not drones, we should clarify things whenever possible.
null
0
1545096030
False
0
ec0laf6
t3_a719k6
null
null
t1_ec01n20
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec0laf6/
1547746605
6
t5_2fwo
r/programming
public
null
False
[deleted]
None
This is embedded browser from OBS it has no session cookies from his channel :)
null
0
1543940675
False
0
eb2qaw0
t3_a2way5
null
null
t1_eb1zklr
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2qaw0/
1547009242
3
t5_2fwo
r/programming
public
null
False
drjeats
t2_4lzhn
Slippery slope arguments are really low-effort. Try again tomorrow. And actually address my response to you in stead of shifting gears.
null
0
1545096346
False
0
ec0ln7y
t3_a6i85m
null
null
t1_ec0ckcb
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ec0ln7y/
1547746764
1
t5_2fwo
r/programming
public
null
False
DeebsterUK
t2_9s47o
Emails used be in UTF-7 quite a lot, although I think it's more rare nowadays.
null
0
1543940692
False
0
eb2qbmb
t3_a2way5
null
null
t1_eb2bby2
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2qbmb/
1547009250
3
t5_2fwo
r/programming
public
null
False
Isvara
t2_10v24
> regex So you just went ahead and skipped right over that README, huh?
null
0
1545096405
False
0
ec0lpmd
t3_a6z6cl
null
null
t1_ebz3h5j
/r/programming/comments/a6z6cl/pampyjs_pattern_matching_for_javascript/ec0lpmd/
1547746825
3
t5_2fwo
r/programming
public
null
False
PlymouthPolyHecknic
t2_4t5mpmn
It's not just about learning the language though is it? It's about all the problems that come along with a multi-language interop. Even if you already knew the r word it would take months longer
null
0
1543940737
False
0
eb2qdpn
t3_a2ml49
null
null
t1_eb10ax4
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2qdpn/
1547009277
2
t5_2fwo
r/programming
public
null
False
Isvara
t2_10v24
Anybody who wants pattern matching that badly should really just use a language with real pattern matching. This thing is extremely limited.
null
0
1545096520
False
0
ec0lubq
t3_a6z6cl
null
null
t3_a6z6cl
/r/programming/comments/a6z6cl/pampyjs_pattern_matching_for_javascript/ec0lubq/
1547746883
8
t5_2fwo
r/programming
public
null
False
imitation_crab_meat
t2_x87rq
18 House Dems... And how many House Republicans? Vote them all out.
null
0
1543940852
False
0
eb2qium
t3_a32431
null
null
t3_a32431
/r/programming/comments/a32431/18_house_dems_refuse_to_restore_net_neutrality_as/eb2qium/
1547009341
1
t5_2fwo
r/programming
public
null
False
stack-compression
t2_1w1eet1b
> human_hours = ->(arr) { arr.map(&to_12h).join(' - ') } What's wrong with that? I haven't programmed ruby seriously for years, and I was able to parse it quickly. And I am not great at reading others code.
null
0
1545096551
False
0
ec0lvm0
t3_a70qqn
null
null
t1_ebzokfy
/r/programming/comments/a70qqn/special_cases_are_a_code_smell/ec0lvm0/
1547746898
6
t5_2fwo
r/programming
public
null
False
alexgolec
t2_2cqp046e
Author here: please don’t, I’m not familiar with this solution. Can you elaborate? I’m curious how that solution would work.
null
0
1543940856
False
0
eb2qj0u
t3_a31fme
null
null
t1_eb2otbf
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb2qj0u/
1547009343
1
t5_2fwo
r/programming
public
null
False
shared_makes_it_real
t2_wvcqaot
The slope has already been slipped and yes it is low effort because it doesn't take much to explain what's wrong with CoCs.
null
0
1545096599
False
0
ec0lxmx
t3_a6i85m
null
null
t1_ec0ln7y
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ec0lxmx/
1547746923
2
t5_2fwo
r/programming
public
null
False
PlymouthPolyHecknic
t2_4t5mpmn
Why don't they know F#? What do you mean why don't they know F#? Why would they? There's dozens of easy to learn programming languages, if there's no benefit to you, why learn it? It's like asking why don't they know brainfuck or Ada
null
0
1543940860
False
0
eb2qj8g
t3_a2ml49
null
null
t1_eazpvap
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2qj8g/
1547009346
1
t5_2fwo
r/programming
public
null
False
jl2352
t2_11g67p
Use the inspector and find out for yourself.
null
0
1545096717
False
0
ec0m2hs
t3_a6zxou
null
null
t1_ec0atmu
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0m2hs/
1547746983
1
t5_2fwo
r/programming
public
null
False
alexgolec
t2_2cqp046e
Where?
null
0
1543940866
False
0
eb2qjhs
t3_a31fme
null
null
t1_eb2p1hq
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb2qjhs/
1547009349
1
t5_2fwo
r/programming
public
null
False
theforemostjack
t2_6vllq
Why is correcting word misuse a distraction? We should call backdoors "backdoors", not "front doors". We should call torture "torture", not "enhanced interrogation". We should call things by their proper names -- and shout down attempts to rename them with bland, inoffensive euphemisms. As for re-reading your posts in this thread...you described a back door and called it the front door for some reason. If your goal wasn't to make the back door sound more respectable, then what was your goal? I do apologize if I've misconstrued your intent, but keep in mind: What you're saying about "front doors" sounds a lot like Comey's nonsense from 2014. Finally...whether you call the implementation of your back door a "back door" or "front door", the problems are essentially the same. Security is hard. Making a secure comms system is hard. Making a secure comms system with a "government master key" makes it a lot harder. Now in addition to writing a secure system with authentication for the user, you have to think about how to implement your master key. Do you encrypt the message twice, once with the user's key and once with the backdoor key? Do you encrypt the message using a combination of the two? How do you handle storing and communicating the message -- does law enforcement have to seize the computer and type in the master password in the program, or are messages echoed to a govt server? Beyond that...What about China? Russia? Argentina? The article talked about Australian-mandated back doors, won't other countries start demanding the same thing? Do you end up needing to support 200 separate "master keys"? How do you secure those? Who's responsible when the e.g. TSA posts a screenshot of the private key on their homepage? Or when the next government data breach includes the government master key? Oops, now any criminal with $100 to spare has the master keys to *everything you've ever sent in the program*. Getting even one of those questions wrong could completely kill any security that the program is supposed to offer, and I'm not even scratching the surface.
null
0
1545096943
False
0
ec0mbmt
t3_a66102
null
null
t1_ebwjfah
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ec0mbmt/
1547747097
0
t5_2fwo
r/programming
public
null
False
Dgc2002
t2_52v7g
Oh dang your comment made me realize that Shev is back on their original account. I just looked and it seems they got banned 3 months ago, during which time they used /u/shevy-ruby, and got back on this account 24 days ago.
null
0
1543940893
False
0
eb2qkr8
t3_a2xdzw
null
null
t1_eb2olsx
/r/programming/comments/a2xdzw/the_friendship_that_made_google_huge/eb2qkr8/
1547009365
1
t5_2fwo
r/programming
public
null
False
Isvara
t2_10v24
I'm trying to do something with Rust and WASM, so I really appreciate you showing the source. I'll be pouring over it later.
null
0
1545097070
False
0
ec0mh0a
t3_a6zxou
null
null
t3_a6zxou
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0mh0a/
1547747163
2
t5_2fwo
r/programming
public
null
False
SonOfMyMother
t2_ab9kq
Right. This is all good advice, obviously. I think the original comment confused me because it's not really relevant to the situation in the video, as far as I can tell. The twitch chat messages are user input, and, as it happens, they are also output. They need to be sanitised. I don't get what the "no, no, NO" is really in aid of. Surely the main point is "sanitise stuff when you use it, not when you get it" rather than "sanitise HTML output and SQL input". But whatever, I'm just rambling now. Thanks for your detailed response!
null
0
1543940893
False
0
eb2qkrl
t3_a2way5
null
null
t1_eb2cq3o
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2qkrl/
1547009365
1
t5_2fwo
r/programming
public
null
False
ocross
t2_3xlnv
I really do like Postgres. If foreign key refs to partitioned tables were implemented it would truly be 10 / 10. The same materialized view functionality as Oracle would be nice too.
null
0
1545097176
False
0
ec0mli6
t3_a71g76
null
null
t1_ebzl8sg
/r/programming/comments/a71g76/comparison_of_many_standard_and_nonstandard_sql/ec0mli6/
1547747220
4
t5_2fwo
r/programming
public
null
False
k-selectride
t2_415od
https://en.wikipedia.org/wiki/Exponentiation_by_squaring here ya go edit: then apply the cayley-hamilton theorem
null
0
1543941068
1543941466
0
eb2qsvt
t3_a31fme
null
null
t1_eb2qj0u
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb2qsvt/
1547009493
1
t5_2fwo
r/programming
public
null
False
gott_modus
t2_j2d1j
>Use the inspector and find out for yourself. What information is saying that exactly?
null
0
1545097194
False
0
ec0mm9q
t3_a6zxou
null
null
t1_ec0m2hs
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0mm9q/
1547747229
1
t5_2fwo
r/programming
public
null
False
lechatsportif
t2_aqsat
The road side stuff is mind blowing, trees, temporarily parked cars, buses. I would love to just stare at the driving videos.
null
0
1543941074
False
0
eb2qt4w
t3_a2zftr
null
null
t3_a2zftr
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2qt4w/
1547009496
2
t5_2fwo
r/programming
public
null
False
Muffinabus
t2_6596v
Fuck me up with them jobs
null
0
1545097233
False
0
ec0mnur
t3_a6r0ka
null
null
t1_ec0adki
/r/programming/comments/a6r0ka/concord_how_i_built_a_screen_sharing_application/ec0mnur/
1547747249
4
t5_2fwo
r/programming
public
null
False
kneeanderthal
t2_43zpr
For those who don't know DwangoAC, he is a big member of the Tool Assisted Speedruns (TAS) community. TAS is using a script of frame-perfect button presses fed into an emulator to beat console games as quickly as possible, or perform other astonishing feats. Dwango helped create TASBot, a hardware that feeds the same button-press scripts into real consoles through the controller ports, proving the legitimacy of the scripts. Several games are vulnerable to memory manipulation techniques which allow code injection and execution, and Dwango has showcased many TASes doing crazy exploits live during the Games Done Quick marathons, which explains his amused attitude when he finds his own chat getting compromised.
null
0
1543941086
False
0
eb2qtph
t3_a2way5
null
null
t3_a2way5
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2qtph/
1547009504
23
t5_2fwo
r/programming
public
null
False
Jarmahent
t2_7wei5
Same dude.
null
0
1545097248
False
0
ec0mogq
t3_a6r0ka
null
null
t1_ec0mnur
/r/programming/comments/a6r0ka/concord_how_i_built_a_screen_sharing_application/ec0mogq/
1547747256
1
t5_2fwo
r/programming
public
null
False
swordglowsblue
t2_2nrkh5d0
TL;DR they tricked the compiler into optimizing addition in unreachable code such that two different variables relied on each other's definitions. It attempted to optimize the addition first and caused a stack overflow error in the compiler. Less of a "hey, that's cool" and more of a "yeah, that really shouldn't happen" - seems like a pretty serious compiler bug if it's wasting time optimizing code in the `else` of an `if(true)`. The title is rather misleading - I expected a stress test, but it was really just an optimization exploit.
null
0
1543941110
False
0
eb2qutg
t3_a30fwd
null
null
t1_eb2khrf
/r/programming/comments/a30fwd/how_many_additions_does_it_take_to_break_a/eb2qutg/
1547009517
36
t5_2fwo
r/programming
public
null
False
MarekKnapek
t2_o1lsh
I confess, I don't know how Ruby works on Java, I don't know how Ruby works on Graal, but I know how Ruby works on Windows. I will tell you: It is not nice. Look at win32\win32.c\void set_pioinfo_extra(void) function. Especially extra piece of shit. Caused me headaches. Next, their threatening of CriticalSection struct on Windows. Sometimes using it without initialization, sometimes freeing memory containing it without destructing it.
null
0
1545097305
False
0
ec0mqu3
t3_a6z8lb
null
null
t3_a6z8lb
/r/programming/comments/a6z8lb/running_jruby_on_the_graal_jit/ec0mqu3/
1547747285
1
t5_2fwo
r/programming
public
null
False
RedProletariat
t2_pi3ru
You could pick it up in a week, if you're a halfway decent programmer. So that the team doesn't already know F# shouldn't be an issue.
null
0
1543941125
False
0
eb2qvhp
t3_a2ml49
null
null
t1_eb2qj8g
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2qvhp/
1547009525
1
t5_2fwo
r/programming
public
null
False
Muffinabus
t2_6596v
Nope, that was my fuck up! Chrome released a new version today that moved the location of getDisplayMedia(). I should have tested my app on Canary but didn't think it'd change literally the day I pushed this out there. It'll be fixed tonight!
null
0
1545097373
False
0
ec0mtkg
t3_a6r0ka
null
null
t1_ebylive
/r/programming/comments/a6r0ka/concord_how_i_built_a_screen_sharing_application/ec0mtkg/
1547747320
2
t5_2fwo
r/programming
public
null
False
sfcpfc
t2_e98p8
Wow. Did signing that document have any consequences for you?
null
0
1543941139
False
0
eb2qw5c
t3_a2way5
null
null
t1_eb2h8ic
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2qw5c/
1547009533
27
t5_2fwo
r/programming
public
null
False
SlowButConstantly
t2_241ww175
where is he doing? it has zero non-dev dependencies
null
0
1545097408
False
0
ec0muxj
t3_a6z6cl
null
null
t1_ebzrg7u
/r/programming/comments/a6z6cl/pampyjs_pattern_matching_for_javascript/ec0muxj/
1547747336
3
t5_2fwo
r/programming
public
null
False
PlymouthPolyHecknic
t2_4t5mpmn
They're already got a profiler for .net: [dotTrace](https://www.jetbrains.com/profiler/)
null
0
1543941206
False
0
eb2qz4r
t3_a1k8ri
null
null
t1_eat3vv0
/r/programming/comments/a1k8ri/aws_has_just_announced_an_intellij_idea_plugin/eb2qz4r/
1547009570
1
t5_2fwo
r/programming
public
null
False
Muffinabus
t2_6596v
😏
null
0
1545097459
False
0
ec0mwzf
t3_a6r0ka
null
null
t1_ec0mogq
/r/programming/comments/a6r0ka/concord_how_i_built_a_screen_sharing_application/ec0mwzf/
1547747361
1
t5_2fwo
r/programming
public
null
False
alphaglosined
t2_f0fiz
It is GDC.
null
0
1543941226
False
0
eb2r036
t3_a30hg9
null
null
t1_eb2qaii
/r/programming/comments/a30hg9/gcc_9_adds_frontend_support_for_the_d_programming/eb2r036/
1547009582
51
t5_2fwo
r/programming
public
null
False
billsil
t2_6ay72
Can I just have the traceback? Oh, you're in the run analysis module, which means you've passed the input reading, ok so it can't be this... It's that or a segfault...
null
0
1545097467
False
0
ec0mxb1
t3_a719k6
null
null
t1_ec05246
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec0mxb1/
1547747365
3
t5_2fwo
r/programming
public
null
False
ThatsALovelyShirt
t2_refcwpf
It is procedural, it's just the result of highly multivariate optimization.
null
0
1543941261
False
0
eb2r1ry
t3_a2zftr
null
null
t1_eb2efas
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2r1ry/
1547009605
8
t5_2fwo
r/programming
public
null
False
driusan
t2_bvkul
I have never in my life seen anyone jump on a movement started by shevegen.
null
0
1545097628
False
0
ec0n3x3
t3_a71ccv
null
null
t1_ec0hyhu
/r/programming/comments/a71ccv/google_amp_case_study_leads_dropped_by_59_how_to/ec0n3x3/
1547747472
10
t5_2fwo
r/programming
public
null
False
moonboy2000
t2_ac0pr
Because Microsoft does not create browsers to give you the best browser out there. They are happy to have a browser that a lot of people use. They create browsers to collect user data, not to give you a fast internet experience.
null
1
1543941283
1543956342
0
eb2r2sy
t3_a313x9
null
null
t1_eb2kxqd
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb2r2sy/
1547009618
-2
t5_2fwo
r/programming
public
null
False
IAmApocryphon
t2_kdevl
You can say that about Swift and Kotlin, though. How many backends are using Vapor or Corda?
null
0
1545097681
False
0
ec0n61j
t3_a55qhp
null
null
t1_ebk4qlq
/r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ec0n61j/
1547747498
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
yes/no. IE was bad because it openly ignored web standards. Or when it did publish standards they were 1-3 years out of date and likely requires resources you couldn’t get without complicated partner contracts. Chrome has the opposite problem. They implement things before it is fully standardized as most web standard committee members are google employees, or work for non-profits which receive the major of their funding from Google. For example during the TLSv1.3 standardization process Google threaten to release what amounts to HTTP/3 if certain properties of 0-RTT reconnections were not include. Now 0RTT is literally advertising in the server hello, “*yes I am likely vulnerable to some replay attacks*”. So the committee included 0-RTT in a way that was so vague that next to no one implemented it (outside of corporate implementations). And now we’re seeing the HTTP/3 hype train start. Which is Google trying to deprecate TLS/SSL (as HTTP/3 uses QUIC not TLS) as it cannot control that standards body. Microsoft was decent enough to ignore the OSS web. Google pulled the OSS standardization process in house and is actively deprecating technology which it cannot control to further its corporate strategy.
null
0
1543941287
1543941706
0
eb2r2zu
t3_a313x9
null
null
t1_eb2o4gx
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb2r2zu/
1547009620
16
t5_2fwo
r/programming
public
null
False
righteousprovidence
t2_1kd5qc76
> I was legitimately concerned Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering.
null
0
1545097751
False
0
ec0n8vh
t3_a71xg6
null
null
t1_ec02gmr
/r/programming/comments/a71xg6/the_yoda_of_silicon_valley/ec0n8vh/
1547747533
26
t5_2fwo
r/programming
public
null
False
hapoo
t2_3ic1m
The first time he prints it out: ‘NEIGHBORS_MAP = { 0: (0, 0, 0, 0, 1, 0, 1, 0, 0, 0), 1: (0, 0, 0, 0, 0, 0, 1, 0, 1, 0), 2: (0, 0, 0, 0, 0, 0, 0, 1, 0, 1), 3: (0, 0, 0, 1, 0, 0, 0, 0, 1, 0), 4: (1, 0, 0, 1, 0, 0, 0, 0, 0, 1), 5: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0), 6: (1, 1, 0, 0, 0, 0, 0, 1, 0, 0), 7: (0, 0, 1, 0, 0, 0, 1, 0, 0, 0), 8: (0, 1, 0, 1, 0, 0, 0, 0, 0 ,0), 9: (0, 0, 1, 0, 1, 0, 0, 0, 0, 0), }’ Starting from row 0 Row 3 column 3 3 cant come from 3
null
0
1543941368
False
0
eb2r6uo
t3_a31fme
null
null
t1_eb2qjhs
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb2r6uo/
1547009668
2
t5_2fwo
r/programming
public
null
False
Equal_Entrepreneur
t2_2n2dzjh0
unofficial sequel/remake: http://www.powdertoy.co.uk/
null
0
1545097762
False
0
ec0n9bk
t3_a6zxou
null
null
t1_ebzevm5
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0n9bk/
1547747539
2
t5_2fwo
r/programming
public
null
False
brucedawson
t2_6r70z
Interesting idea. Calling that before LoadLibrary(L"user32.dll"); in all of the child processes in CreateProcessTests does indeed avoid the GDI penalty. Together with /delayload (since otherwise gdi32.dll would be loaded too early) this provides an alternate way of fixing these issues.
null
0
1543941490
False
0
eb2rcnf
t3_a2y16c
null
null
t1_eb29x6z
/r/programming/comments/a2y16c/a_notcalled_function_can_cause_a_5x_slowdown/eb2rcnf/
1547009739
6
t5_2fwo
r/programming
public
null
False
IAmApocryphon
t2_kdevl
How can any entity control an open source language?
null
0
1545097910
False
0
ec0nfg9
t3_a55qhp
null
null
t1_ebl8ruo
/r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ec0nfg9/
1547747614
2
t5_2fwo
r/programming
public
null
False
Torbuntu
t2_ktdopph
I should write a portable script that sets everything up for me 🤔 wouldn't need to be very long. Or better yet, customize a fedora image that I can just install pre ready with the stuff I want and need.
null
0
1543941522
False
0
eb2re8m
t3_a321cl
null
null
t3_a321cl
/r/programming/comments/a321cl/how_to_streamline_developer_onboarding_dev/eb2re8m/
1547009759
1
t5_2fwo
r/programming
public
null
False
Zarutian
t2_1wth
There is nothing preventing another country issuing anyone of any nationality or citizenship a new passport. It is just as any other internationally recognized govermental document of that function. Sure, it is a major hassle to go through and might impinge upon diplomatic relations if you are notarious enough.
null
0
1545098211
False
0
ec0nrvk
t3_a66102
null
null
t1_ebtw3zg
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ec0nrvk/
1547747768
1
t5_2fwo
r/programming
public
null
False
Treyzania
t2_8vzbi
Now Rust? It'd be great to have some alternate implementations, and it'd make Meson more able to support it since rustc doesn't act as similar to gcc as it expects.
null
1
1543941632
False
0
eb2rjlm
t3_a30hg9
null
null
t3_a30hg9
/r/programming/comments/a30hg9/gcc_9_adds_frontend_support_for_the_d_programming/eb2rjlm/
1547009824
-4
t5_2fwo
r/programming
public
null
False
madman2233
t2_45gd9
the nsa made a deal with microsoft so they would buy it and go to a server model so they could monitor it.
null
0
1545098215
False
0
ec0ns25
t3_a735xf
null
null
t1_ebzzv3d
/r/programming/comments/a735xf/an_experimental_study_of_the_skype_peertopeer/ec0ns25/
1547747771
6
t5_2fwo
r/programming
public
null
False
systemadvisory
t2_x7l9fdn
Well sure, but google decided this was the way and now we are all doing what google says, is the point.
null
0
1543941705
False
0
eb2rn31
t3_a2vv0d
null
null
t1_eb2hi0c
/r/programming/comments/a2vv0d/microsoft_is_building_a_chromiumpowered_web/eb2rn31/
1547009867
3
t5_2fwo
r/programming
public
null
False
anengineerandacat
t2_hq59g
I feel like we are at odds here; it's been a nice discussion. I'll merely end with that well-crafted classes with small to medium sized methods are much easier to test / verify at the end of the day than large methods unless they either have a finite amount of dependencies or are ideally pure functions with a set of provided inputs and repeatable output.
null
0
1545098232
False
0
ec0nsps
t3_a70crz
null
null
t1_ec0bjqk
/r/programming/comments/a70crz/stop_learning_frameworks/ec0nsps/
1547747778
1
t5_2fwo
r/programming
public
null
False
WorldsBegin
t2_ijg9a
Consider the characteristic polynomial `p_A(x)` of the matrix. By the Cayley–Hamilton theorem the matrix is a root of this polynomial. `p_A(A) = 0`. As a consequence, given any polynomial in `A`, we can write this polynomial as a polynomial of degree `k - 1`. In this case, if I am correct, the polynomial is `q(x) = x^10 - 1 x^9 -10 x^8 + 8 x^7 + 32 x^6 - 19 x^5 - 40 x^4 + 16 x^3 + 16 x^2 - 4 x + 0`. Please verify this :). To calculate some power n, we start with the polynomial `t_0 = x`, then power-by-square our way up. `t_i+1 = mod(t_i * t_i, q)` if the bit is 0, otherwise `t_i+1 = mod(t_i * t_i * x, q)` if the bit is 1. mod in this case is modulus defined on polynomials. Anyway, squaring a polynomial of degree `k` takes `O(k^2)` time, the modulus too. In the end, we have to plug in `x = A`, so we need to precompute `[A^0, ..., A^k)`. Just in this case, since we always multiply with `[[1]]` from the right and take the first entry, we can even here get away with less and conserve memory. We only need to store `[(A^0 * [[1]])[0], ..., (A^k * [[1]])[0])` which is an overhead of just `k` integers. EDIT: Here is some `gap` code to hopefully follow my train of thoughts: A:=[[0, 0, 0, 0, 1, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 1, 0], [0, 0, 0, 0, 0, 0, 0, 1, 0, 1], [0, 0, 0, 1, 1, 0, 0, 0, 1, 0], [1, 0, 0, 1, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 0, 0, 0, 1, 0, 0], [0, 0, 1, 0, 0, 0, 1, 0, 0, 0], [0, 1, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 1, 0, 0, 0, 0, 0]];; ch:=CharacteristicPolynomial(A); R:=PolynomialRing(Integers, "x");; AssignGeneratorVariables(R); ones := [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];; precomputed := TransposedMat(List([0 .. 9], i -> (A^i) * ones));; steps := 10000; start := 1; CoefficientsOfUnivariatePolynomial(PowerMod(x, steps, ch)) * precomputed[start]; # faster than (A^steps * ones)[start];
null
0
1543941732
1543953221
0
eb2rodv
t3_a31fme
null
null
t1_eb2qj0u
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb2rodv/
1547009884
3
t5_2fwo
r/programming
public
null
False
jl2352
t2_11g67p
The width and height attributes on the canvas. The canvas has a second size via the styling. The second set just stretches it to be larger, like setting an image to be larger.
null
0
1545098304
False
0
ec0nvl9
t3_a6zxou
null
null
t1_ec0mm9q
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0nvl9/
1547747813
1
t5_2fwo
r/programming
public
null
False
frequenttimetraveler
t2_7z6qs
You should write all your websites in brainfuck. The hackers are just not going to bother with you, even if they steal your code.
null
0
1543941748
False
0
eb2rp5i
t3_a2ml49
null
null
t3_a2ml49
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2rp5i/
1547009893
2
t5_2fwo
r/programming
public
null
False
autotldr
t2_6sklr
This is the best tl;dr I could make, [original](https://www.nytimes.com/2018/12/17/science/donald-knuth-computers-algorithms-programming.html) reduced by 94%. (I'm a bot) ***** > Inside are algorithms, the recipes that feed the digital age - although, as Dr. Knuth likes to point out, algorithms can also be found on Babylonian tablets from 3,800 years ago. > Randall Munroe, the xkcd cartoonist and author of "Thing Explainer," first learned about Dr. Knuth from computer-science people who mentioned the reward money Dr. Knuth pays to anyone who finds a mistake in any of his books. > Eventually Dr. Knuth became a compiler himself, inadvertently founding a new field that he came to call the "Analysis of algorithms." A publisher hired him to write a book about compilers, but it evolved into a book collecting everything he knew about how to write for computers - a book about algorithms. ***** [**Extended Summary**](http://np.reddit.com/r/autotldr/comments/a76jrc/donald_knuth_the_yoda_of_silicon_valley/) | [FAQ](http://np.reddit.com/r/autotldr/comments/31b9fm/faq_autotldr_bot/ "Version 2.02, ~372145 tl;drs so far.") | [Feedback](http://np.reddit.com/message/compose?to=%23autotldr "PM's and comments are monitored, constructive feedback is welcome.") | *Top* *keywords*: **Knuth**^#1 **Dr.**^#2 **algorithm**^#3 **Computer**^#4 **program**^#5
null
0
1545098593
False
0
ec0o7bq
t3_a71xg6
null
null
t3_a71xg6
/r/programming/comments/a71xg6/the_yoda_of_silicon_valley/ec0o7bq/
1547747959
-3
t5_2fwo
r/programming
public
null
False
filleduchaos
t2_7r81qd
...people *still* know you can literally just write SQL, yes?? PREPARE a statement and then EXECUTE it, it makes no difference whether you're doing it from Brainfuck or your database GUI of choice.
null
0
1543941766
False
0
eb2rq1p
t3_a2way5
null
null
t1_eb2q7iz
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2rq1p/
1547009904
4
t5_2fwo
r/programming
public
null
False
alex-fawkes
t2_2oxt1ow9
Yep - Law of Demeter violation. A unit shouldn't know how it's used (or by whom), just what it does. Maybe more appropriate: "SmoothPedalBehavior," "ResistantPedalBehavior," "FreeSpinBackPedalBehavior," "LockingBackPedalBehavior" (also not much of a cyclist...)
null
0
1545098597
False
0
ec0o7ht
t3_a6zede
null
null
t1_ebzmnhu
/r/programming/comments/a6zede/whats_the_deal_with_the_solid_principles_part_3/ec0o7ht/
1547747961
2
t5_2fwo
r/programming
public
null
False
brucedawson
t2_6r70z
In this case the test suite originated on Linux (I believe) which never saw a problem that it couldn't solve with more processes. Processes are also handy for tests because a failing test may leave the process in an undefined state and with multiple processes you get automatic isolation from those failing tests. Anyway, I see your point, but given that inserting a function call that is never executed can cause a 5X slowdown I'm still content with the title. It's really about where you assess the blame, and the debate over blame reminds me of the old joke that "it's not the fall that kills you, it's the landing"
null
0
1543941783
False
0
eb2rqwg
t3_a2y16c
null
null
t1_eb2n3ft
/r/programming/comments/a2y16c/a_notcalled_function_can_cause_a_5x_slowdown/eb2rqwg/
1547009915
10
t5_2fwo
r/programming
public
null
False
bodiam
t2_a5blz
Ha, this is so ugly, and the sand isn't doesn't even behave right... Half an hour later, setting my wood hourglass on fire, oh, wow, smoke, I'm letting the gas explode.... Great work, well done!!
null
0
1545098897
False
0
ec0ojwp
t3_a6zxou
null
null
t3_a6zxou
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0ojwp/
1547748143
0
t5_2fwo
r/programming
public
null
False
spgb-
t2_ty28p
If I was the streamer, I would have shut down that plugin so fast before someone spammed porn or worse and got my stream banned, holy shit. How'd he have the balls to let his chat play with it like that? More like lack of brains!
null
0
1543941818
False
0
eb2rslh
t3_a2way5
null
null
t3_a2way5
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2rslh/
1547009936
1
t5_2fwo
r/programming
public
null
False
gott_modus
t2_j2d1j
>> smart > >This trite summary tosses out all the work that precedes the solution. Sure, there are smart people in our industry, but there are also people that throw a LOT of spaghetti at the wall before something sticks. Better to recognize hard work than to recognize one's genetic advantage, because the former is accessible to everyone, whereas the latter is only held by a few. You're assuming smart => effortless analysis. That's not really the case.
null
0
1545099017
False
0
ec0ooyo
t3_a6ufoy
null
null
t1_ebzltgr
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ec0ooyo/
1547748204
1
t5_2fwo
r/programming
public
null
False
RirinDesuyo
t2_6j0d1cr
That's actually what I'm quite afraid if the chromium monoculture prevails in the end. More devs would end up using non-standard APIs that only chrome provides (e.g. ShadowDom v1 which wasn't standardized yet till v2) and breaks other browsers especially since they'd not bother adding polyfills for those wherein YouTube did but affected perf on other browsers. Ironically it'd end up in an IE situation which was the very thing that the web was trying to escape in the past where one browser rules them all while others are an afterthought. I actually had quite a good experience with Edge and Chakra Core so far so It'd be a shame it'll go out of favor, especially since it was a good competitor to Gecko and V8 to keep standards in tact.
null
0
1543941845
1543942161
0
eb2ru0l
t3_a313x9
null
null
t1_eb2ocr5
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb2ru0l/
1547009953
12
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1545099054
False
0
ec0oqgm
t3_a71xg6
null
null
t3_a71xg6
/r/programming/comments/a71xg6/the_yoda_of_silicon_valley/ec0oqgm/
1547748224
1
t5_2fwo
r/programming
public
null
False
NicolasGuacamole
t2_cyzs2
An advent calendar is a Christmas tradition where every day leading up to Christmas (the advent period) we open a section of an advent calendar and there’s a small something inside. Typically it’s chocolate, but here they are doing it with programming challenges.
null
0
1543941898
False
0
eb2rwmq
t3_a2damo
null
null
t1_eazq7n2
/r/programming/comments/a2damo/advent_of_code_2018_is_live_one_coding_challenge/eb2rwmq/
1547010013
1
t5_2fwo
r/programming
public
null
False
Inspirateur
t2_114m1y
ahah I love the fact that putting water on a burning plant actually makes the fire bigger
null
0
1545099117
False
0
ec0ot39
t3_a6zxou
null
null
t3_a6zxou
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec0ot39/
1547748256
1
t5_2fwo
r/programming
public
null