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
frisch85
t2_dlugb
Replace only replaces the first instance, meaning <><xmp> Would still break your site
null
0
1543926653
False
0
eb2bkwj
t3_a2way5
null
null
t1_eb26anv
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2bkwj/
1546404802
25
t5_2fwo
r/programming
public
null
False
mudpizza
t2_6e5xz
~~...and has 75% less pixels~~
null
0
1545080154
1545083211
0
ec023np
t3_a6zxou
null
null
t1_ebzjp3v
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec023np/
1547737636
2
t5_2fwo
r/programming
public
null
False
abdelhamidem
t2_vxp5q
Loool i almost spat my food
null
1
1543926689
False
0
eb2blu6
t3_a2way5
null
null
t1_eb2akne
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2blu6/
1546404814
-8
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
> You don't challenge anyone's ignorance. Said a useless subhuman who actually believe in the shit Uncle Bob is writing. How hilarious! > Why don't you try reading Knuth's book Carry on demonstrating your ignorance you pitiful monkey. We're talking about a *code base* here, not just a book.
null
0
1545080251
False
0
ec028ab
t3_a70crz
null
null
t1_ec022ar
/r/programming/comments/a70crz/stop_learning_frameworks/ec028ab/
1547737693
1
t5_2fwo
r/programming
public
null
False
fuckin_ziggurats
t2_cmam5
For someone that doesn't read about AI all day it's quite interesting. A good summary for a non-savvy person I'd say.
null
0
1543926698
False
0
eb2bm26
t3_a2vomh
null
null
t1_eb2bimo
/r/programming/comments/a2vomh/is_deep_learning_already_hitting_its_limitations/eb2bm26/
1546404817
2
t5_2fwo
r/programming
public
null
False
Canthros
t2_mlypa
[This was posted a day or so ago.](https://www.reddit.com/r/programming/comments/a66f6u/uncle_bob_sjwjs/) It's in reaction to something from Sarah Mei. Apparently they've butted heads over related stuff in the past.
null
0
1545080314
False
0
ec02b9n
t3_a6xy9s
null
null
t1_ebzkgo1
/r/programming/comments/a6xy9s/sjwjs/ec02b9n/
1547737730
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543926815
False
0
eb2bp5u
t3_a1fvqp
null
null
t1_eapl0lk
/r/programming/comments/a1fvqp/this_has_not_been_shared_in_a_while_but_everyone/eb2bp5u/
1546404855
1
t5_2fwo
r/programming
public
null
False
CarlSagan79
t2_69xwf
I've seen this debate go down an infinite number of times on here in /r/programming. The reality is you're both right, for your respective domains. For webby stuff, you have to use unit testing to check "basic math". This is because of the weak typing system where 0 + "1" will return a string, not a number, but its side effects will probably not be realized until much, much later. These are mistakes which are largely impossible to do because, by default, the compiler's type system enforces this--bonus points if you have warnings as errors. You'll probably catch almost all casting weirdness.
null
0
1545080316
False
0
ec02be8
t3_a6nfgh
null
null
t1_ebxb4wo
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec02be8/
1547737731
1
t5_2fwo
r/programming
public
null
False
filleduchaos
t2_7r81qd
Or, like I said, you can build parameterized queries in SQL as the language has supported for ages. There's more to the language than `SELECT * FROM users`.
null
0
1543926897
False
0
eb2brcr
t3_a2way5
null
null
t1_eb2bdvh
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2brcr/
1546404882
13
t5_2fwo
r/programming
public
null
False
EWJacobs
t2_bash7
>subhuman...pitful moneky Your mom needs her computer back honey. Go take a nap.
null
0
1545080369
False
0
ec02dyn
t3_a70crz
null
null
t1_ec028ab
/r/programming/comments/a70crz/stop_learning_frameworks/ec02dyn/
1547737764
0
t5_2fwo
r/programming
public
null
False
m50d
t2_6q02y
Most immediately you want to run the same validation code on the GUI and the backend - a lot of bugs are caused by inconsistent validation in different places. But you also want to use the same datatypes - why have two representations for the same thing? Of course it's important that what you pass between client and server be inert data (i.e. records), but there are far better ways to achieve that than a custom text-based protocol, which is adding a lot of overhead and opportunities for error to no benefit.
null
0
1543927098
False
0
eb2bwqm
t3_a2pp4w
null
null
t1_eb2b3h9
/r/programming/comments/a2pp4w/open_source_net_4_years_later/eb2bwqm/
1546404949
1
t5_2fwo
r/programming
public
null
False
kyru
t2_5zska
I was legitimately concerned this was going to be about some digital prophet or startup asshole so I was pleasantly surprised it was about Knuth. Great read and he's a truly great person.
null
0
1545080425
False
0
ec02gmr
t3_a71xg6
null
null
t3_a71xg6
/r/programming/comments/a71xg6/the_yoda_of_silicon_valley/ec02gmr/
1547737825
88
t5_2fwo
r/programming
public
null
False
diggr-roguelike2
t2_13327ggz
> Of course your dev environment must contain exactly the same database as production you pathetic subhuman. Top kek. Where do you work? Does your boss wear clown shoes? Send me your DB passwords, plox.
null
0
1543927129
False
0
eb2bxm2
t3_a2b4n9
null
null
t1_eb255ij
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eb2bxm2/
1546404960
1
t5_2fwo
r/programming
public
null
False
CarlSagan79
t2_69xwf
> what you write now can be around for decades And it's never the code you suspect will have longevity. Often it's the throwaway code that you didn't expect to last a weekend that's still running 10 years later. Inversely, that over-architected beautiful code masterpiece? Yeah, even its repository has been deleted.
null
0
1545080440
False
0
ec02hd3
t3_a6nfgh
null
null
t1_ebwhz27
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec02hd3/
1547737834
2
t5_2fwo
r/programming
public
null
False
Batrachus
t2_q0642
I use both 24/7
null
0
1543927301
False
0
eb2c2c4
t3_a2way5
null
null
t1_eb2bby2
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2c2c4/
1546405018
33
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
> For webby stuff, you have to use unit testing to check "basic math". I doubt there is anything fundamentally different in the web domain, that makes it so unique and unlike the rest of the industry. > This is because of the weak typing system where 0 + "1" will return a string Weak type system is not a mandatory requirement for the web. It's their own choice to stick to this level and do all this unit testing insanity instead of adopting a proper static type system. They have all the tools required to get away from weak dynamic typing.
null
0
1545080614
False
0
ec02pr0
t3_a6nfgh
null
null
t1_ec02be8
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec02pr0/
1547737937
2
t5_2fwo
r/programming
public
null
False
oorza
t2_3g5rj
✓ async/await ✓ generators ✓ for-await-of ✓ directly invoking promises ✓ event emitters yeah I'm gonna go ahead and say this method isn't using "nothing else" but instead has jammed every single type of JS async primitive into like 100 lines of code.
null
0
1543927330
False
0
eb2c35i
t3_a2zzuh
null
null
t3_a2zzuh
/r/programming/comments/a2zzuh/infinite_scroll_using_generators_and_nothing_else/eb2c35i/
1546405029
-1
t5_2fwo
r/programming
public
null
False
CarlSagan79
t2_69xwf
> longterm extensibility and maintainability These two -ilities are way over sold. Future-proofing is hard. As you realized it's better to focus on KISS and letting the future handle itself.
null
0
1545080620
False
0
ec02q0z
t3_a6nfgh
null
null
t1_ebxv8i4
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec02q0z/
1547737941
2
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
A clown who does not even have a testing DB instance in a dev environment detected. What else to expect from a dipshit who trust a deployed runtime more than his own build environment.
null
0
1543927520
False
0
eb2c8d4
t3_a2b4n9
null
null
t1_eb2bxm2
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eb2c8d4/
1546405093
0
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
Just a reminder - I ordered you to shut the fuck up, until you can at least coherently explain how to rewrite TeX "properly". Until that you're a worthless webshit clown, and you're digging yourself deeper with every single retarded post.
null
0
1545080708
False
0
ec02ugi
t3_a70crz
null
null
t1_ec02dyn
/r/programming/comments/a70crz/stop_learning_frameworks/ec02ugi/
1547737996
1
t5_2fwo
r/programming
public
null
False
field_marzhall
t2_lzqpw
This is no different from regular real-time scanning/photogrammety. The amount of geometry needed to make it look acceptable even on a low resolution screen is so much that it probably ran in 5,000$+ system and the geometry is only useful for visualizing, useless for any sort of programmed interactions. All they did was take already existing work on computer vision and vehicle AI and created a random generator using the already captured data.
null
0
1543927537
False
0
eb2c8u5
t3_a2zftr
null
null
t1_eb2bavk
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2c8u5/
1546405098
-9
t5_2fwo
r/programming
public
null
False
twilightnoir
t2_4tfak
Proper story pointing shouldn't even include time taken to complete (complexity and uncertainty only), rendering velocity a useless metric that only misguided evangelists use to try and squeeze every bit of productivity that they can out of you
null
0
1545080724
False
0
ec02vb3
t3_a6z75x
null
null
t1_ebzxxvx
/r/programming/comments/a6z75x/three_tips_for_managing_technical_debt_while/ec02vb3/
1547738006
12
t5_2fwo
r/programming
public
null
False
yawaramin
t2_77bue
Anything including lying about Firefox and Edge features?
null
0
1543927631
False
0
eb2cbhr
t3_a2b8u4
null
null
t1_eb273xd
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb2cbhr/
1546405131
1
t5_2fwo
r/programming
public
null
False
CarlSagan79
t2_69xwf
Nope.
null
0
1545080801
False
0
ec02z48
t3_a6nfgh
null
null
t1_ebxnv98
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec02z48/
1547738053
1
t5_2fwo
r/programming
public
null
False
Philluminati
t2_2je14
But you have to stay up to date with all the flaws and attack vectors and apply that testing to your framework over time. Realistically you’re going to pretend your software is secure when no one has actually done any reasonable security testing against it at all. If you do have a security team in your company they would tell you to host your stupid shit behind nginx or something at a minimum so they some audit trail.
null
0
1543927662
False
0
eb2ccea
t3_a2ml49
null
null
t1_eb0dh8b
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb2ccea/
1546405142
1
t5_2fwo
r/programming
public
null
False
EWJacobs
t2_bash7
You couldn't competently order a goddamn pizza.
null
0
1545080979
False
0
ec0380w
t3_a70crz
null
null
t1_ec02ugi
/r/programming/comments/a70crz/stop_learning_frameworks/ec0380w/
1547738163
0
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
Validation in the ui and the logic layer are different. Do not be a lazy copy-paster, do the right thing. And, text-based communication have tons of benefits: * scriptable * easy to replace gui frontends * testable * easy to insert something (e.g., logging, network forwarding, etc.) in between And no drawbacks whatsoever, IPC is much faster than your gui latencies anyway (unless it's a video, of course)
null
0
1543927740
False
0
eb2cem1
t3_a2pp4w
null
null
t1_eb2bwqm
/r/programming/comments/a2pp4w/open_source_net_4_years_later/eb2cem1/
1546405169
0
t5_2fwo
r/programming
public
null
False
fuddlesworth
t2_djve0
No, it's *5 Programming Languages To Learn in 2019*. Generally you want to learn what's relevant and what's in demand. Basically what's going to get you a job. Ada, Lisp, and Forth have almost no relevancy to what's in demand.
null
0
1545081099
False
0
ec03dyr
t3_a706es
null
null
t1_ebzttyn
/r/programming/comments/a706es/5_programming_languages_to_learn_in_2019/ec03dyr/
1547738237
2
t5_2fwo
r/programming
public
null
False
AngularBeginner
t2_eky8x
No one cares.
null
0
1543927992
False
0
eb2clx3
t3_a2zlmh
null
null
t3_a2zlmh
/r/programming/comments/a2zlmh/bitchute_suspended_by_patreon_but_theres_more/eb2clx3/
1546405289
0
t5_2fwo
r/programming
public
null
False
TheGidbinn
t2_5zojc
While I wouldn't ever advocate, say, Apache over nginx, or MySQL over anything, I think there is something to be said for building software using known, standard, non-volatile tools. If you write an application in C++ using well-known, well-established libraries, it'll be good for years, decades maybe. If you choose to write it using bleeding-edge tools then you must also accept that technical debt will accrue faster.
null
0
1545081125
False
0
ec03fae
t3_a6z75x
null
null
t1_ebzxp3h
/r/programming/comments/a6z75x/three_tips_for_managing_technical_debt_while/ec03fae/
1547738256
3
t5_2fwo
r/programming
public
null
False
m50d
t2_6q02y
> Validation in the ui and the logic layer are different. No, the same type has the same set of valid states, by definition. > Do not be a lazy copy-paster, do the right thing. This is utterly backwards. You avoid copy-pasting by avoiding repeating yourself, which means reusing the same logic - not a copy but the actual same code - when you want to do the same thing. > And, text-based communication have tons of benefits: > scriptable > easy to replace gui frontends > testable > easy to insert something (e.g., logging, network forwarding, etc.) in between All that remains true for more structured communication mechanisms, which avoid the security issues and unreliability inherent in text-based approaches. Custom parsers are still one of the biggest sources of security vulnerabilities, and interleaving control and data is still another one.
null
0
1543927993
False
0
eb2cly9
t3_a2pp4w
null
null
t1_eb2cem1
/r/programming/comments/a2pp4w/open_source_net_4_years_later/eb2cly9/
1546405289
2
t5_2fwo
r/programming
public
null
False
CarlSagan79
t2_69xwf
In tech you do want to move as fast as you possibly can. Reason being is that if you don't, your competitors will. The ideal balance in engineering is moving fast but not so fast you're your own roadblock.
null
0
1545081179
False
0
ec03i08
t3_a6nfgh
null
null
t1_ebz39ze
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec03i08/
1547738289
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[removed]
null
0
1543928001
False
0
eb2cm62
t3_a2zlmh
null
null
t1_eb2clx3
/r/programming/comments/a2zlmh/bitchute_suspended_by_patreon_but_theres_more/eb2cm62/
1546405292
1
t5_2fwo
r/programming
public
null
False
bomomu
t2_sv50iei
Sensitive files or disks should be encrypted. This is only security through obscurity (removing assigned letters from disks).
null
0
1545081290
False
0
ec03nmz
t3_a73l9e
null
null
t3_a73l9e
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec03nmz/
1547738358
36
t5_2fwo
r/programming
public
null
False
lebogglez
t2_kicp1
Let's say a website lets you input your name somewhere. Instead of your name you write some CSS, SQL or HTML. What do you sanitize against? If you set your name to "DROP DATABASE" (SQL) that doesn't matter as long as it's not used in a database command. It is perfectly safe to show this in a web page (HTML) for example, so why sanitize against SQL? If you set your name to "<b style='color:red'>bold text</b>" (HTML+CSS) then HTML encoding would need to change the < and >, while SQL would need to change the '. If you put it in a database you don't want the < and > to be messed with, if it's displayed in HTML you don't want the ' to be messed with. So you just need to encode the input depending on where it is output. You can not generally know where your input will be used, e.g. your database values may be displayed in an HTML website or a CSV spreadsheet or a PDF document, which each need different encoding, so it doesn't make sense to apply their encoding yet when you accept the value and then put it in the database. Most website developers don't get this right and it's the reason why your input is unnecessarily stripped of perfectly safe content or double escaped (you type in < but later see some weird <). Hope that helps!
null
0
1543928134
1543928672
0
eb2cq3o
t3_a2way5
null
null
t1_eb23nn8
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2cq3o/
1546405341
10
t5_2fwo
r/programming
public
null
False
killerstorm
t2_m827
Are web servers an actual bottleneck these days? OK, maybe, Ruby-based web servers are. But if you replace Ruby with something more efficient, like, I dunno, Go, your workload will likely be dominated by the database and latency of talking to the database. So I won't be surprised that co-hosting a database and backend code written in Go on a beefy multicore machine will be more performant and cheaper than a whole zoo running multiple stateless containers on multiple machines. In any case, it would be interesting to see actual benchmarks. You can get a monster server with 32 hardware threads for like $250/month. That should be enough for "thousands of requests per second" unless you're doing something computationally expensive, or doing it wrong. As a point of reference, SPECweb2005 is now obsolete, but results submitted in 2009-2010 demonstrated that a single server can handle 100k concurrent sessions (i.e. concurrent users) without a problem.
null
0
1545081416
False
0
ec03tyi
t3_a706js
null
null
t1_ebzf4ea
/r/programming/comments/a706js/announcing_gitlab_serverless/ec03tyi/
1547738464
1
t5_2fwo
r/programming
public
null
False
TomKing89
t2_x71ml
As a programmer and a part time streamer I find this doubly interesting and hilarious
null
0
1543928171
False
0
eb2cr6j
t3_a2way5
null
null
t3_a2way5
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2cr6j/
1546405354
13
t5_2fwo
r/programming
public
null
False
Endit32
t2_bdm1ajx
I mean yeah, this is for 'other' sensitive files, if you know what I mean.
null
0
1545081466
False
0
ec03wgx
t3_a73l9e
null
null
t1_ec03nmz
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec03wgx/
1547738494
23
t5_2fwo
r/programming
public
null
False
sim642
t2_49npq
Most PHP tutorials newbies use just do md5.
null
0
1543928500
False
0
eb2d0t7
t3_a2xikx
null
null
t1_eb24dos
/r/programming/comments/a2xikx/quora_user_data_compromised/eb2d0t7/
1546405473
2
t5_2fwo
r/programming
public
null
False
lynx44
t2_4deye
I don't necessarily disagree, but particularly with the testing example, I'm not sure I agree either. If the tests help you write more correct code and verify existing behavior (which is very important on an early task for a new developer), I don't feel like it has to be made into a huge team focused goal. You can have a quick conversation with the team about the framework you'd like to use, write the tests, and run them locally (and probably commit them, possibly in a different repo, if there are concerns). Most testing frameworks aren't that different, and the tests are providing immediate value and can likely be transitioned to the "official" framework (when/if that ever happens). The momentum of actually starting a test project is a already a big benefit to both you and the team.
null
0
1545081527
False
0
ec03zjz
t3_a72807
null
null
t3_a72807
/r/programming/comments/a72807/why_the_boy_scout_rule_is_insufficient/ec03zjz/
1547738532
5
t5_2fwo
r/programming
public
null
False
oblio-
t2_9a80o
True, but Java was designed to be cross platform. .NET wasn't, the GUI libraries are basically the Windows UI layer...
null
0
1543928535
False
0
eb2d1v4
t3_a2pp4w
null
null
t1_eb27ltf
/r/programming/comments/a2pp4w/open_source_net_4_years_later/eb2d1v4/
1546405486
2
t5_2fwo
r/programming
public
null
False
bomomu
t2_sv50iei
Well, it's a nice way of handling assigning/removing devices through bat scripts. Certainly has its use-cases.
null
0
1545081555
False
0
ec040zm
t3_a73l9e
null
null
t1_ec03wgx
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec040zm/
1547738551
3
t5_2fwo
r/programming
public
null
False
existentialwalri
t2_qzhaeug
the problem is, better or not thats not what matters these days, is it trendy? thats what matters...slam that baby in there worry about issues on another sprint
null
0
1543928559
False
0
eb2d2lh
t3_a2vv0d
null
null
t1_eb1lvfp
/r/programming/comments/a2vv0d/microsoft_is_building_a_chromiumpowered_web/eb2d2lh/
1546405495
1
t5_2fwo
r/programming
public
null
False
Endit32
t2_bdm1ajx
It would look suspicous if there were unknown files within the drive, or if you are asked for a password when you try to access the drive
null
0
1545081610
False
0
ec043rc
t3_a73l9e
null
null
t1_ec03nmz
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec043rc/
1547738585
3
t5_2fwo
r/programming
public
null
False
KHRZ
t2_715a1
Well us humans don't exactly run search algorithms in our heads, do we? You could hook a search algorithm into your neural network, and see for yourself where it would end up sending any input/intermediate transformed signals resembling a graph configuration. But ideally, you would want to allow your neural network to write, compile and plug in code itself.
null
0
1543928578
False
0
eb2d36m
t3_a2vomh
null
null
t3_a2vomh
/r/programming/comments/a2vomh/is_deep_learning_already_hitting_its_limitations/eb2d36m/
1546405502
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1545082008
False
0
ec04nu7
t3_a66f6u
null
null
t1_ebvyxrf
/r/programming/comments/a66f6u/uncle_bob_sjwjs/ec04nu7/
1547738834
1
t5_2fwo
r/programming
public
null
False
Meguli
t2_c4fi5
Thought it would be great if logic and multivariable calculus coverage were expanded, looking at TOC.
null
0
1543928609
False
0
eb2d42p
t3_a2vq8j
null
null
t3_a2vq8j
/r/programming/comments/a2vq8j/a_programmers_introduction_to_mathematics_new_book/eb2d42p/
1546405513
1
t5_2fwo
r/programming
public
null
False
jogjib
t2_21qp1hpo
why not just use an external storage device?
null
0
1545082046
False
0
ec04pu6
t3_a73l9e
null
null
t3_a73l9e
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec04pu6/
1547738858
2
t5_2fwo
r/programming
public
null
False
robolab-io
t2_md5k8b0
Hacked on TIVO?
null
0
1543928769
False
0
eb2d8w1
t3_a2way5
null
null
t1_eb28o0w
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2d8w1/
1546405573
9
t5_2fwo
r/programming
public
null
False
sam_dark
t2_g2jol
Thanks for noticing it. I've fixed the code to match. Not sure how I've missed it :(
null
0
1545082144
False
0
ec04upj
t3_a6sude
null
null
t1_ebz11l1
/r/programming/comments/a6sude/naming_things/ec04upj/
1547738918
1
t5_2fwo
r/programming
public
null
False
AyrA_ch
t2_8mz48
that assumes it's javascript. In JS you can use replace with regex: `x.replace(/</g,"<").replace(/>/g,">")` or set text using `document.createTextNode(x)`
null
0
1543928855
False
0
eb2dbdr
t3_a2way5
null
null
t1_eb2bkwj
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2dbdr/
1546405603
14
t5_2fwo
r/programming
public
null
False
ltjbr
t2_5dh9x
Just dropping sand in the same spot results in an asymmetrical distribution. Kinda weird, would expect symmetry on both sides.
null
0
1545082208
False
0
ec04xw3
t3_a6zxou
null
null
t3_a6zxou
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec04xw3/
1547738958
1
t5_2fwo
r/programming
public
null
False
vielga2
t2_20robo
> Implying the limits of type systems are whatever shit language you're using.
null
0
1543928997
False
0
eb2dfnw
t3_a0w66h
null
null
t1_eb1x4p2
/r/programming/comments/a0w66h/we_dont_have_time_to_write_tests/eb2dfnw/
1546405655
0
t5_2fwo
r/programming
public
null
False
wikwikwik
t2_2rjyrp4o
most good crypto systems have "deniability" for example 2 passwords. one unlocks the drive and doesn't show the secret files. one unlocks everything. so just enter the safe password if someone challenges you. btw: id expect every machine to be password protected, what if it gets stolen and they access your banking apps or facebook rude things to your employer?
null
0
1545082227
False
0
ec04ytc
t3_a73l9e
null
null
t1_ec043rc
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec04ytc/
1547738970
12
t5_2fwo
r/programming
public
null
False
CheeseAndCh0c0late
t2_zq130
That's quite a low risk assumption there
null
0
1543929106
False
0
eb2dixq
t3_a2way5
null
null
t1_eb27dh9
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2dixq/
1546405696
6
t5_2fwo
r/programming
public
null
False
zutajo86
t2_ny421xi
This is one of my major frustrations with using closed-source software. It never tells me what is wrong, sometimes even making me google some long error code just to find out "an error occured". Marketers seem to be under the impression that users are fine with errors but they just dislike error *messages* for some reason
null
0
1545082294
False
0
ec05246
t3_a719k6
null
null
t1_ebzjwhx
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec05246/
1547739038
40
t5_2fwo
r/programming
public
null
False
pleurplus
t2_radu8
I hope people following those tutorials don't work for quora...
null
0
1543929237
False
0
eb2dn0e
t3_a2xikx
null
null
t1_eb2d0t7
/r/programming/comments/a2xikx/quora_user_data_compromised/eb2dn0e/
1546405746
2
t5_2fwo
r/programming
public
null
False
AttackOfTheThumbs
t2_79zad
You truly are an awful human being. I hope you don't need to interact with real people. I would pity them.
null
0
1545082325
False
0
ec053ld
t3_a61to1
null
null
t1_ebzfu7p
/r/programming/comments/a61to1/write_your_own_virtual_machine/ec053ld/
1547739057
1
t5_2fwo
r/programming
public
null
False
LaneTheBishop
t2_12a60k
Yeah I made the mistake of making one to be able to view a page. So annoying that these sites beg you to give them trust and are constantly compromising data.
null
0
1543929261
False
0
eb2dnqc
t3_a2xikx
null
null
t1_eb230iq
/r/programming/comments/a2xikx/quora_user_data_compromised/eb2dnqc/
1546405755
2
t5_2fwo
r/programming
public
null
False
anengineerandacat
t2_hq59g
In the midst of profiling one of our pages because it takes a bit to load (SLA for us is about 3 seconds, meaning anyone outside region is just longer from there). ​ Analytics (just injecting into the page) is roughly 300 ms and it's fairly full-featured as far as data collected goes (know which buttons folks are tapping, mouse areas, hot spots, even get generated videos of where they browse around). ​ The issue is that all of this is overhead especially the heavier pixel metrics (taps, mouse movement, etc.) as it usually involves sending data down the pipe as it occurs over in-bulk (ie. move mouse; fire network request, fun stuff). So logging in takes 200-300 ms longer, actioning on elements is 100-200ms longer, moving the mouse can cause network floods causing ajax calls to queue up (ones that users want). ​ With proper throttling and debouncing and setting up a buffer for analytics data it gets manageable again however this work only happened because someone finally noticed it took 3+ seconds internally to load the page and someone was nice enough to have a budget for it. At the same time this data is worth a good chunk of change however thankfully a responsive site is even more valuable as we sell product and the analytics helps to sell more product it's not solely the income driver of the site (thankfully). ​ Big wall of text but my point is that if you are on sites with heavy analytics and it's slow it's because the data collection is more important to the company than the actual content on the site or what the site in general is trying to accomplished.
null
0
1545082525
False
0
ec05ddc
t3_a71ccv
null
null
t1_ebzo8xk
/r/programming/comments/a71ccv/google_amp_case_study_leads_dropped_by_59_how_to/ec05ddc/
1547739177
2
t5_2fwo
r/programming
public
null
False
lebogglez
t2_kicp1
Check my response to the other guy.
null
0
1543929377
False
0
eb2draz
t3_a2way5
null
null
t1_eb282e0
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2draz/
1546405829
1
t5_2fwo
r/programming
public
null
False
jl2352
t2_11g67p
Actually it uses about the same. If you inspect the sand game you can see the canvas is set to 450 x 450 pixels square. It's then scaled up to give the illusion of a higher pixel count. I would guess it would not run smoothly at a higher resolution. Which is actually a little disappointing.
null
0
1545082697
False
0
ec05luc
t3_a6zxou
null
null
t1_ec023np
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec05luc/
1547739282
2
t5_2fwo
r/programming
public
null
False
fnordstar
t2_8xyuf
AMD never cared about Linux so I couldn't care less if the company went under now. Nvidia had closed drivers, yes, but atleast they worked and brought accelerated OpenGL to Linux.
null
0
1543929383
False
0
eb2dri3
t3_a2oxxm
null
null
t1_eb0if7o
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb2dri3/
1546405832
0
t5_2fwo
r/programming
public
null
False
wikwikwik
t2_2rjyrp4o
> Human beings understand that the characters e, é, E, É, è, ê, and so forth, should be considered as the same letter (e) with accents. i don't know if i should be offended or if the author is just uneducated. so i speak a language where this isn't true. what am i if not a human?
null
0
1545082720
False
0
ec05mzr
t3_a72ued
null
null
t3_a72ued
/r/programming/comments/a72ued/sorting_strings_properly_is_stupidly_hard/ec05mzr/
1547739296
6
t5_2fwo
r/programming
public
null
False
rinnagz
t2_hip66
keeping his cool is an understatement, he lost his shit lmfao
null
0
1543929513
False
0
eb2dvkw
t3_a2way5
null
null
t1_eb1sjqu
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2dvkw/
1546405883
4
t5_2fwo
r/programming
public
null
False
anengineerandacat
t2_hq59g
Yeah solid guess, I guess a good strong lesson to be up to date on your invoicing.
null
0
1545082866
False
0
ec05u2c
t3_a6nfgh
null
null
t1_ec00o4q
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec05u2c/
1547739384
2
t5_2fwo
r/programming
public
null
False
AdrianMan1987
t2_6mek48z
Try QMX Clips from [Uniqey](https://uniqey.net/en/accessories/18/qmx-clips-plate-mount-110-pcs.?c=11) for silencing. They are awesome.
null
0
1543929636
False
0
eb2dzi5
t3_a30gcq
null
null
t3_a30gcq
/r/programming/comments/a30gcq/a_look_at_the_ultimate_hacking_keyboard/eb2dzi5/
1546405931
3
t5_2fwo
r/programming
public
null
False
metamatic
t2_4a9rt
I wrote about [why Signal is the way it is](http://meta.ath0.com/2018/08/on-trusting-signal/).
null
0
1545082896
False
0
ec05viq
t3_a66102
null
null
t1_ebsr4yr
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ec05viq/
1547739402
1
t5_2fwo
r/programming
public
null
False
schm0
t2_3ue2q
He uses Lunix which can steal songs from your radio
null
0
1543929712
False
0
eb2e1yr
t3_a2way5
null
null
t1_eb2b63c
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2e1yr/
1546405962
8
t5_2fwo
r/programming
public
null
False
annexi-strayline
t2_opgl37x
>often in a way that's much easier to read. For whom? How about people new to the language?
null
0
1545082927
False
0
ec05x3t
t3_a5ylm8
null
null
t1_ebv0vni
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ec05x3t/
1547739421
1
t5_2fwo
r/programming
public
null
False
juustgowithit
t2_dxeab
Thank you for this
null
0
1543929821
False
0
eb2e5ij
t3_a2way5
null
null
t1_eb1ys9w
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2e5ij/
1546406006
2
t5_2fwo
r/programming
public
null
False
Sleakes
t2_d58d0
have you delved into the realm of javascript testing? just curious.
null
0
1545082978
False
0
ec05zlq
t3_a72807
null
null
t1_ec03zjz
/r/programming/comments/a72807/why_the_boy_scout_rule_is_insufficient/ec05zlq/
1547739452
1
t5_2fwo
r/programming
public
null
False
DolphinsAreOk
t2_a67on
https://twitter.com/HSBC_UK/status/1066813781404114945
null
0
1543929862
False
0
eb2e6v8
t3_a2zftr
null
null
t1_eb29fw5
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2e6v8/
1546406023
8
t5_2fwo
r/programming
public
null
False
Audioillity
t2_88w3s
Sometimes management or cost cutting forces things like this to happen..
null
0
1545083143
False
0
ec067k5
t3_a719k6
null
null
t1_ec01n20
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec067k5/
1547739551
6
t5_2fwo
r/programming
public
null
False
Kukuluops
t2_jmvkm
zombo.com is still working. And you can do everything at zombo.com. The only limit is yourself.
null
0
1543929984
False
0
eb2eauz
t3_a2xikx
null
null
t1_eb28v5x
/r/programming/comments/a2xikx/quora_user_data_compromised/eb2eauz/
1547003676
1
t5_2fwo
r/programming
public
null
False
mudpizza
t2_6e5xz
Woops, you're right. Now i want to tweak the code to see how it manages higher resolutions :p
null
0
1545083193
False
0
ec06a1t
t3_a6zxou
null
null
t1_ec05luc
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec06a1t/
1547739611
1
t5_2fwo
r/programming
public
null
False
thegreatgazoo
t2_32fvm
hampsterdance.com
null
0
1543930044
False
0
eb2ecrw
t3_a2xikx
null
null
t1_eb1zaww
/r/programming/comments/a2xikx/quora_user_data_compromised/eb2ecrw/
1547003698
1
t5_2fwo
r/programming
public
null
False
sam_dark
t2_g2jol
Thanks for sharing. It is awesome!
null
0
1545083198
False
0
ec06aag
t3_a6sude
null
null
t1_ebzdj6i
/r/programming/comments/a6sude/naming_things/ec06aag/
1547739614
1
t5_2fwo
r/programming
public
null
False
Banakai1
t2_ig35u
Is this not kinda the same thing as procedural generation.
null
0
1543930123
False
0
eb2efas
t3_a2zftr
null
null
t3_a2zftr
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2efas/
1547003730
3
t5_2fwo
r/programming
public
null
False
deceased_parrot
t2_7q7zg
I think burning it all to the ground would have been an improvement...
null
0
1545083444
False
0
ec06m2z
t3_a72807
null
null
t1_ebzz0lc
/r/programming/comments/a72807/why_the_boy_scout_rule_is_insufficient/ec06m2z/
1547739759
4
t5_2fwo
r/programming
public
null
False
thegreatgazoo
t2_32fvm
So much for eCommerce, credit card transactions, electronic banking, and many others. Nothing important at all.
null
0
1543930230
False
0
eb2eiqo
t3_a2yh6t
null
null
t3_a2yh6t
/r/programming/comments/a2yh6t/labor_and_the_coalition_have_come_to_an/eb2eiqo/
1547003773
2
t5_2fwo
r/programming
public
null
False
OneWingedShark
t2_bx7wh
> Generally you want to learn what's relevant and what's in demand. I was talking about learning, ie education, not employability or fads -- this is the stupid way to go about it from an institutional perspective, too: as Go, Rust, whatever might not be around by the time they finish their 4-year degree (and this is ignoring the time to spin up a new curriculum) -- but even so, the understanding you'll gain from being exposed to these generally-foreign \[to "*the industry*"\] modes of thought will help you understand your own problems with a wider point of view. >Basically what's going to get you a job. Ada, Lisp, and Forth have almost no relevancy to what's in demand. Ada's commonly used in aerospace, high-integrity, and high-security applications; Forth is commonly used in microcontrollers. Granted, I don't know of any industry using Lisp. ​
null
0
1545083540
False
0
ec06qqt
t3_a706es
null
null
t1_ec03dyr
/r/programming/comments/a706es/5_programming_languages_to_learn_in_2019/ec06qqt/
1547739817
2
t5_2fwo
r/programming
public
null
False
__crackers__
t2_oen2h
It’s *not* a question of “Electron or nothing”. There’s nothing stopping you using Node for your backend and HTML+JS for the frontend, but combining it with platform-native engines instead of bundling an entire, non-shared browser with your app. It ain’t gonna run any faster, but it’ll save hundreds of megabytes of users’ RAM and disk space that Electron wastes. The average user *does not* have the resources to spare you seem to imagine they do. Most people have 4GB of RAM or less. That disappears very quickly when all your apps use a few hundred MB more than necessary because they’re all loading their own copy of Chromium (a notoriously resource-hungry browser) into RAM.
null
0
1543930351
False
0
eb2emnd
t3_a2b8u4
null
null
t1_eb25994
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb2emnd/
1547003820
3
t5_2fwo
r/programming
public
null
False
ChallengingJamJars
t2_ilp6z
If it's a widespread problem then any semi-unique code will do as it allows for googling.
null
0
1545083595
False
0
ec06tfr
t3_a719k6
null
null
t1_ebzxh3p
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec06tfr/
1547739850
15
t5_2fwo
r/programming
public
null
False
thegreatgazoo
t2_32fvm
I see that even AI engines know that Taxi drivers drive like asshats...
null
0
1543930463
False
0
eb2eqbc
t3_a2zftr
null
null
t3_a2zftr
/r/programming/comments/a2zftr/the_first_interactive_ai_rendered_virtual_world/eb2eqbc/
1547003867
16
t5_2fwo
r/programming
public
null
False
Booty_Bumping
t2_93n4r
> OMG WebAssembly ALLOWS FOR REMOTE CODE EXECUTION EXPLOITS It does?
null
0
1545083606
False
0
ec06ty8
t3_a6zxou
null
null
t1_ebzgntz
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec06ty8/
1547739856
1
t5_2fwo
r/programming
public
null
False
_Spektrum_
t2_n1j4r4g
The uPlay game overlay messaging has this exact same vulnerability, amazing work from Ubisoft.
null
0
1543930512
False
0
eb2eryy
t3_a2way5
null
null
t3_a2way5
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2eryy/
1547003886
14
t5_2fwo
r/programming
public
null
False
bitwize
t2_6dq6
In other words, a tool to help you commit the felony of lying to federal agents at the border. And not even a particularly good one. Good luck with that.
null
0
1545083669
False
0
ec06x1w
t3_a73l9e
null
null
t3_a73l9e
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec06x1w/
1547739895
-38
t5_2fwo
r/programming
public
null
False
coffeewithalex
t2_2ie1hb9f
Taking things out of context, bad examples, judging the general based on the particular and the other way around, are logical fallacies. Just because I didn't say the magic words doesn't mean that it cased to be logical fallacies. So instead of expecting everyone to consistently write at each step "logical fallacy" so that you don't forget, how about you just grow up, you child.
null
0
1543930676
False
0
eb2exgy
t3_a2b8u4
null
null
t1_eb2arcz
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb2exgy/
1547003955
1
t5_2fwo
r/programming
public
null
False
kevinsspiltchili
t2_2sfh4vy0
Does this count as a monopoly? Was this implemented just to discourage consumers from using competitors or is this really the ideal way for YouTube to load pages?
null
0
1545083840
False
0
ec075az
t3_91i0mc
null
null
t3_91i0mc
/r/programming/comments/91i0mc/youtube_page_load_is_5x_slower_in_firefox_and/ec075az/
1547739997
1
t5_2fwo
r/programming
public
null
False
Ikinoki
t2_5gh81
My first xss meeting was when in a ticket system alert popped up, that's when we started putting <pre> in code anywhere there's output from customers.
null
0
1543930814
False
0
eb2f23l
t3_a2way5
null
null
t1_eb1y41q
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2f23l/
1547004012
13
t5_2fwo
r/programming
public
null
False
fuddlesworth
t2_djve0
Both aerospace and microcontrollers are extremely niche. Unless you want to go into a niche field like that, these languages have no relevant value. They aren't even applicable to learning as a beginner. There's a reason codecamps exist focusing on specific languages like JavaScript. You know why? Because it will get people jobs.
null
0
1545083850
False
0
ec075s8
t3_a706es
null
null
t1_ec06qqt
/r/programming/comments/a706es/5_programming_languages_to_learn_in_2019/ec075s8/
1547740004
2
t5_2fwo
r/programming
public
null
False
BunnyBlue896
t2_x7hen
They were probably just repeating something they heard on the internet.
null
0
1543930901
False
0
eb2f517
t3_a2p24m
null
null
t1_eb0gx23
/r/programming/comments/a2p24m/securing_your_site_like_its_1999/eb2f517/
1547004048
2
t5_2fwo
r/programming
public
null
False
flowering_sun_star
t2_29r4ytmn
I've found it is usually better to separate the refactor from the changes in functionality. The changes you plan to make can inform the refactor, but are best done afterwards. If you've already done the refactor a month ago, then hopefully the new changes are much easier. In reality, the big refactors I've done have generally been in response to getting annoyed while fixing a bug. So I end up with a bugfix that touches dozens of files. Probably best not to do that, but hey ho!
null
0
1545083966
False
0
ec07bdm
t3_a6z75x
null
null
t1_ebzsoo6
/r/programming/comments/a6z75x/three_tips_for_managing_technical_debt_while/ec07bdm/
1547740072
6
t5_2fwo
r/programming
public
null
False
burnmp3s
t2_5zbjp
Classic replay attack
null
0
1543931310
False
0
eb2fj1i
t3_a2way5
null
null
t1_eb2d8w1
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2fj1i/
1547004220
2
t5_2fwo
r/programming
public
null
False
yessir999
t2_21wrgr
Salesforce developer. Certainly has its quirks but the demand is high right now.
null
0
1545084107
False
0
ec07i0v
t3_a6nfgh
null
null
t1_ebz19n5
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec07i0v/
1547740154
1
t5_2fwo
r/programming
public
null
False
airforcefalco
t2_4aety
Hacked an archive?
null
0
1543931370
False
0
eb2fl5y
t3_a2way5
null
null
t1_eb2d8w1
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb2fl5y/
1547004246
1
t5_2fwo
r/programming
public
null
False
rebo
t2_3bxt5
No
null
0
1545084167
False
0
ec07ku4
t3_a6zxou
null
null
t1_ec06ty8
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec07ku4/
1547740217
8
t5_2fwo
r/programming
public
null
False
TheSnaggen
t2_lovpr
I'll save the link if the noise starts to bother me or interfere with conference calls.
null
0
1543931387
False
0
eb2flpm
t3_a30gcq
null
null
t1_eb2dzi5
/r/programming/comments/a30gcq/a_look_at_the_ultimate_hacking_keyboard/eb2flpm/
1547004253
1
t5_2fwo
r/programming
public
null
False
bitwize
t2_6dq6
But is it really part of the design that when a machine answers you're clear, but when it transfers you to a human you're pozzed? It seems to me that that's the sort of heuristic that gets discovered and applied after the fact, like gauging acceptance to a university by the thickness of their reply envelope (thick=accept, thin=reject). How obligated are we to design systems that comport with our users' guesses about how they function?
null
0
1545084193
False
0
ec07m2s
t3_a719k6
null
null
t3_a719k6
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec07m2s/
1547740232
17
t5_2fwo
r/programming
public
null