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
|
timbowen
|
t2_3djn8
|
At least they had the opportunity, thats all you can really provide.
| null |
0
|
1543674277
|
False
|
0
|
eaus7c6
|
t3_a22biq
| null | null |
t1_eaurds3
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaus7c6/
|
1546277936
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
That's a lot of work when you can just use a language that has most of those capabilities baked-in! Ada is a very general-purpose, fully-featured, expressive language. If you can write it in C++, you can write it in Ada, without question. It will also be much easier (especially concurrency), more maintainable, and is certain to have far less bugs.
| null |
0
|
1544803321
|
False
|
0
|
ebs5orz
|
t3_a5ylm8
| null | null |
t1_ebrg2o1
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs5orz/
|
1547604718
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
the_evergrowing_fool
|
t2_tenb6
|
Your type system would have to be very weird too.
| null |
0
|
1543674309
|
False
|
0
|
eaus8ew
|
t3_a1o5iz
| null | null |
t1_earu9py
|
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eaus8ew/
|
1546277949
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
Sounds like you're just looking for arbitrary holes to poke through.
| null |
0
|
1544803369
|
False
|
0
|
ebs5sdh
|
t3_a5ylm8
| null | null |
t1_ebr95wb
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs5sdh/
|
1547604763
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543674461
|
False
|
0
|
eausdmh
|
t3_a23csk
| null | null |
t3_a23csk
|
/r/programming/comments/a23csk/why_is_2_i_i_faster_than_2_i_i_in_java/eausdmh/
|
1546278042
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Eirenarch
|
t2_46hjd
|
> Except for the most part, that niche is not filled by users - it's filled by developers.
Of course but devs are who pic technology.
> Don't you mean the other way around? Ie, smaller payload, more requests?
No. Every UI action in Razor Components is one request where with REST you might need to get a comment and then get the user with the id provided in the comment's authorId property.
| null |
0
|
1544803375
|
False
|
0
|
ebs5suh
|
t3_a5ssxk
| null | null |
t1_ebrkh11
|
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebs5suh/
|
1547604768
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Dafnik
|
t2_zw3qt
|
Do the right thing (for your stackholder)
| null |
0
|
1543674578
|
False
|
0
|
eaushua
|
t3_a1tazn
| null | null |
t1_easj5y7
|
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eaushua/
|
1546278094
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
I still don't see how that makes it immature. Would you call the airline industry immature?
| null |
0
|
1544803406
|
False
|
0
|
ebs5v5v
|
t3_a5ylm8
| null | null |
t1_ebr3qxh
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs5v5v/
|
1547604797
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rexbron
|
t2_4nflx
|
https://blogs.akamai.com/sitr/2018/11/upnproxy-eternalsilence.html
"UPnProxy is alive and well. There are 277,000 devices, out of a pool of 3.5 million, running vulnerable implementations of UPnP. Of those, Akamai can confirm that more than 45,000 have been compromised in a widely distributed UPnP NAT injection campaign. These injections expose machines living behind the router to the Internet and appear to target the service ports used by SMB"
I can not say this strongly enough. Nat is not a firewall.
Say it with me, NAT is not a firewall.
Given most natd networks will probably default to 192.168.1.0/24, 255 addresses isn't that hard to flood.
| null |
0
|
1543674629
|
1543674936
|
0
|
eausjp5
|
t3_a1ysx2
| null | null |
t1_eaus1qs
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eausjp5/
|
1546278117
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Sledger721
|
t2_8ns9f
|
Thank you so much!!
| null |
0
|
1544803425
|
False
|
0
|
ebs5wn2
|
t3_a61to1
| null | null |
t1_ebs24f4
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs5wn2/
|
1547604815
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
AngularBeginner
|
t2_eky8x
|
https://www.reddit.com/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/
Mods really should enable duplicate detection.
| null |
0
|
1543674652
|
False
|
0
|
eauskjp
|
t3_a23csk
| null | null |
t3_a23csk
|
/r/programming/comments/a23csk/why_is_2_i_i_faster_than_2_i_i_in_java/eauskjp/
|
1546278128
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
G_Morgan
|
t2_30zrq
|
A straight forward recursive descent parser solves this easily.
When you start trying to special case everything is when your compiler breaks. Just get a parser which generates an unambiguous tree.
| null |
0
|
1544803441
|
False
|
0
|
ebs5xu7
|
t3_a61to1
| null | null |
t1_ebrv72m
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs5xu7/
|
1547604829
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TheBITLINK
|
t2_sorfn
|
On top of that, every phone made in the last few years also has USB OTG, which means you could also directly connect the printer to the device.
| null |
0
|
1543674792
|
False
|
0
|
eauspmt
|
t3_a1ysx2
| null | null |
t1_eauluz8
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauspmt/
|
1546278190
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Phyrexian_Illithid
|
t2_swcamwh
|
Nice job!
| null |
1
|
1544803514
|
False
|
0
|
ebs637w
|
t3_a661q3
| null | null |
t3_a661q3
|
/r/programming/comments/a661q3/my_project_was_considered_by_github_as_one_of_the/ebs637w/
|
1547604896
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
elmicha
|
t2_35jys
|
Every reasonable person would think so, but [I'm not so sure about that](/r/netsec/comments/a1jd5h/how_to_create_the_perfect_anonymizing_botnet_by/).
| null |
0
|
1543674948
|
False
|
0
|
eausvbd
|
t3_a1ysx2
| null | null |
t1_eaus1qs
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eausvbd/
|
1546278261
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
NotWorthTheRead
|
t2_g4euq
|
In defense of OP, hype isn't always bad. Jumping blindly in support of hyped things often is, but 'I don't immediately see how this is useful but lots of other people say it is, maybe I should investigate and see if there's anything to it' is a healthy attitude.
| null |
0
|
1544803549
|
False
|
0
|
ebs65uj
|
t3_a5xzo8
| null | null |
t1_ebqhcwa
|
/r/programming/comments/a5xzo8/dockerize_your_development_environment/ebs65uj/
|
1547604928
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Allthingsconsidered-
|
t2_11nyuk
|
It's just a fun competition, nothing else. Obviously he will be fine if/when he gets dethroned but people want to make it interesting
| null |
0
|
1543675046
|
False
|
0
|
eausyog
|
t3_a1ysx2
| null | null |
t1_eaus244
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eausyog/
|
1546278303
|
79
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
Not suggesting "changing the language" as you make it sound - like re-writing. The actual point is, selecting the right language at the start of a project can avoid serious problems in the future. Ada is an excellent language that is neither dead or inactive. We ourselves have had incredible results starting new projects with it. We have large APIs that have run for years without having a single bug, or a single operational excursion. In any other language I've ever used to build anything, it has never been that smooth. I also am able to train most 2nd year CS interns to be effective in Ada within 1 week.
| null |
0
|
1544803577
|
False
|
0
|
ebs67ui
|
t3_a5ylm8
| null | null |
t1_ebr3oj6
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs67ui/
|
1547604954
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
elmicha
|
t2_35jys
|
You have to explicitly allow port forwardings to the IPv6 addresses, so unless the manufacturer botched the implementation, it should be pretty safe.
| null |
0
|
1543675129
|
False
|
0
|
eaut1hw
|
t3_a1ysx2
| null | null |
t1_eauodwl
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaut1hw/
|
1546278337
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
You should try it out :)
| null |
0
|
1544803632
|
False
|
0
|
ebs6bxq
|
t3_a5ylm8
| null | null |
t1_ebr3mot
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs6bxq/
|
1547605004
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Bananabarbedwire
|
t2_15p4uhp4
|
The answer is good enough. I have an degree in telecommunications (it's more towards infrastructures) and I have the basic knowledge about the matter, so i when i saw this video the first thing got to my mind was "hasn't this been done already?".
| null |
0
|
1543675153
|
False
|
0
|
eaut2cy
|
t3_a22fay
| null | null |
t1_eaul3pd
|
/r/programming/comments/a22fay/aws_infrastructure_as_code_using_aws_cdk/eaut2cy/
|
1546278348
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
stupodwebsote
|
t2_16iquzue
|
That's why commas were invented
| null |
0
|
1544803663
|
False
|
0
|
ebs6e81
|
t3_a63q5y
| null | null |
t1_ebrrjul
|
/r/programming/comments/a63q5y/evelyn_berezin_word_processor_pioneer_dies_aged_93/ebs6e81/
|
1547605032
|
17
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
notfancy
|
t2_1rgd
|
Except the array description comes from a 50-year old sensible and straightforward idea that originated with Dijkstra. Or Strachey. Or someone, long ago, and it is fully integrated into the semantics of what an array is: a finite mutable map from an ordered range to a set of whatever.
| null |
0
|
1543675192
|
False
|
0
|
eaut3o7
|
t3_a1we32
| null | null |
t1_eaupg4z
|
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eaut3o7/
|
1546278364
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Eirenarch
|
t2_46hjd
|
How would the app "freeze"? It will be exactly the same - you press a button you get an error message.
The use case for intranet applications is quite obvious - no downsides, better code, easier to maintain because it is not written in two languages and what is more the language is not JS. Hell you might even achieve better performance compared to what you would do if you are not an expert SPA dev.
| null |
0
|
1544803740
|
False
|
0
|
ebs6jym
|
t3_a5ssxk
| null | null |
t1_ebrl16l
|
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebs6jym/
|
1547605104
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
I_will_draw_boobs
|
t2_kby8z
|
Ahh cool, thanks for the explanation
| null |
0
|
1543675215
|
False
|
0
|
eaut4fz
|
t3_a1ysx2
| null | null |
t1_eausyog
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaut4fz/
|
1546278374
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
fuddlesworth
|
t2_djve0
|
This. It's built up such a huge history of libraries that there's practically a well developed library for everything. Building on this, it's also stupidly simple to create C/C++ bindings especially compared to what it takes in Perl/Python/Etc.
NodeJS is constantly evolving: improving performance, adding features, fixing issues. Then you have Babel that adds support for proposed features.
No other language is as accessible as JavaScript is.
| null |
0
|
1544803754
|
False
|
0
|
ebs6l16
|
t3_a65liu
| null | null |
t1_ebs5evu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs6l16/
|
1547605118
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Treyzania
|
t2_8vzbi
|
Making the edges a little more diffuse would help with that too.
| null |
0
|
1543675320
|
False
|
0
|
eaut82a
|
t3_a230zo
| null | null |
t1_eaurr60
|
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaut82a/
|
1546278418
|
43
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
VC1bm3bxa40WOfHR
|
t2_1av8uju8
|
Web Assembly might be a viable choice in the future though, right?
| null |
0
|
1544803772
|
False
|
0
|
ebs6mdv
|
t3_a65liu
| null | null |
t1_ebs3npq
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs6mdv/
|
1547605134
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Slick424
|
t2_33rxc
|
IT WAS A HEATED GAMING MOMENT!!!
| null |
1
|
1543675389
|
False
|
0
|
eautab1
|
t3_a1ysx2
| null | null |
t1_eaurk55
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eautab1/
|
1546278446
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CCIE_14661
|
t2_4hiw1pq
|
How does this compare to iPerf/jPerf?
| null |
0
|
1544803830
|
False
|
0
|
ebs6qqh
|
t3_a662r3
| null | null |
t3_a662r3
|
/r/programming/comments/a662r3/open_source_network_performance_tool_in_go_from/ebs6qqh/
|
1547605218
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shadowh511
|
t2_5virf
|
The nonsense words were intentionally chosen because it's so applicable to so many cases.
| null |
0
|
1543675394
|
False
|
0
|
eautah0
|
t3_a1we32
| null | null |
t1_eaui2jk
|
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eautah0/
|
1546278449
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
F-0X
|
t2_lk6ut
|
> I'm in favor of this and don't see much wrong with it because most developers after a while develop templates for projects that they reuse. That's kinda like going to a restaurant.
I don't really agree. My home-cooked templates are probably not on the restaurant's menu, and the best I could achieve is being a pain to the chef and asking for a bunch of substitutions he may not necessarily be prepared for and in the end I get a meal I don't like for expensive when I could have had something much better and cheaper at home.. then I take 5 minutes to put everything in the dishwasher.
I think the analogy is ridiculous in the first place though. If a developer were in a restaurant, the only fitting role is a cook.
| null |
0
|
1544803854
|
False
|
0
|
ebs6sj5
|
t3_a6308n
| null | null |
t1_ebr9kcm
|
/r/programming/comments/a6308n/software_development_should_be_more_like_eating/ebs6sj5/
|
1547605240
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shadowh511
|
t2_5virf
|
Dude, I love urbit. I used to hang out on :talk all the time. I should really set up my planet again and dig into hoon.
| null |
0
|
1543675461
|
False
|
0
|
eautcly
|
t3_a1we32
| null | null |
t1_eauagvr
|
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eautcly/
|
1546278475
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
christophercq
|
t2_goxqb
|
It's because it has browser support and can be run on servers. That is it.
| null |
0
|
1544803948
|
False
|
0
|
ebs6zdc
|
t3_a65liu
| null | null |
t1_ebs2wkg
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs6zdc/
|
1547605324
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tchaffee
|
t2_92kg3
|
Computer programming used to be dominated by women until home computers were marketed to young boys and their parents in the 1980s. You can sort of "force" people to be interested in stuff.
| null |
1
|
1543675465
|
False
|
0
|
eautcqj
|
t3_a22biq
| null | null |
t1_eaul203
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eautcqj/
|
1546278477
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
leonardomso
|
t2_131ojb
|
Thank you!
| null |
1
|
1544803973
|
False
|
0
|
ebs716z
|
t3_a661q3
| null | null |
t1_ebs637w
|
/r/programming/comments/a661q3/my_project_was_considered_by_github_as_one_of_the/ebs716z/
|
1547605347
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shadowh511
|
t2_5virf
|
Thanks, I try to make it nice to read
| null |
0
|
1543675484
|
False
|
0
|
eautdcn
|
t3_a1we32
| null | null |
t1_eauee7u
|
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eautdcn/
|
1546278484
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HAMSHAMA
|
t2_7p6t9
|
Nice article! It reminds me how much fun I had writing 68k assembly for my microcomputers class.
I think the doc used for the AND instruction was used when explaining the ADD instruction.
| null |
0
|
1544803984
|
False
|
0
|
ebs7230
|
t3_a61to1
| null | null |
t3_a61to1
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs7230/
|
1547605358
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Freyr90
|
t2_qy7vh
|
> I don't change it
>I just make a new one for my new purpose.
You've never ever written any serious production code, right?
| null |
0
|
1543675496
|
False
|
0
|
eautdoy
|
t3_a1o5iz
| null | null |
t1_eaumcz5
|
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eautdoy/
|
1546278488
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Holy_City
|
t2_bj3zm
|
Languages are just tools. It's knowing how to use them to build something that's important, and knowing which tool is important for the job, and how a different tool can be used to do a better job.
And just like tools you can appreciate craftsmanship and scoff at someone trying to pound in a screw with a hammer.
| null |
0
|
1544804031
|
False
|
0
|
ebs75k3
|
t3_a65liu
| null | null |
t1_ebs2pqc
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs75k3/
|
1547605400
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Small_chip
|
t2_ys49mms
|
Ok, then go write an article.
| null |
0
|
1543675501
|
False
|
0
|
eautdvk
|
t3_a22biq
| null | null |
t1_eaum13d
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eautdvk/
|
1546278491
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
deceased_parrot
|
t2_7q7zg
|
> How would the app "freeze"? It will be exactly the same - you press a button you get an error message.
Wait a second - are there UI events in Razor that _don't_ make a call to the server? Or do ALL UI events make a call to the server?
| null |
0
|
1544804043
|
False
|
0
|
ebs76e6
|
t3_a5ssxk
| null | null |
t1_ebs6jym
|
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebs76e6/
|
1547605411
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543675624
|
1543683557
|
0
|
eauthws
|
t3_a1tazn
| null | null |
t3_a1tazn
|
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eauthws/
|
1546278540
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
girandsamich
|
t2_5hqs6
|
Yep, this is what I did for mine.
| null |
0
|
1544804064
|
False
|
0
|
ebs77yp
|
t3_a61to1
| null | null |
t1_ebs5xu7
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs77yp/
|
1547605431
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
They've had the opportunity since the 60s. And yet, we still get articles like these and special programs and everything else. Nothing is ever enough.
| null |
1
|
1543675636
|
1543676317
|
0
|
eautic3
|
t3_a22biq
| null | null |
t1_eaus7c6
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eautic3/
|
1546278546
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
__GG
|
t2_cj1gg
|
Up arrow, cursor at the end of last command, ctrl w ctrl w. No need to retype the file, just change what it's getting piped to.
| null |
0
|
1544804109
|
False
|
0
|
ebs7bbc
|
t3_a5sg9k
| null | null |
t1_ebs51ls
|
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebs7bbc/
|
1547605472
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Camto
|
t2_17igff
|
Exactly. Pewds > T
| null |
1
|
1543675668
|
False
|
0
|
eautjhc
|
t3_a1ysx2
| null | null |
t1_eaug4k8
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eautjhc/
|
1546278559
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Jazonxyz
|
t2_b5uhq
|
I'm writing a programming language and vm for fun. For this problem, I did something like this:
expression parseAdditionOrSubtraction() {
value1 = parseMultiplicationOrDivision();
if(tokenIs('+')) {
return new AddExpression(value1, parseMultiplicationOrDivision());
}
if(tokenIs('-')) {
return new SubtractExpression(value1, parseMultiplicationOrDivision());
}
return value1;
}
expression parseMultiplicationOrDivision() {
value1 = parseValue();
if(tokenIs('*')) {
return new MultiplicationExpression(value1, parseValue());
}
if(tokenIs('-')) {
return new DivisionExpression(value1, parseValue());
}
return value1;
}
expression parseValue() {
if(tokenIsNumber()) {
return new NumberExpression(tokenValue());
}
if(tokenIs('(')) {
return parseAdditionOrSubtraction();
tokenShouldBe(')');
}
throw "invalid expression";
}
This is not something I came up with. I read it on Wikipedia. In it's current form, my algorithm is much more robust, but I started simple and slowly made it more robust.
EDIT: I'm also going to include code generation:
class BinaryExpression(v1, v2) {
void compile(program) {
v1.compile();
v2.compile();
operation(program);
}
virtual void operation(program);
}
class AddExpression(v1, v2) extends BinaryExpression(v1, v2) {
void operation(program) {
program.add();
}
}
class SubtractExpression(v1, v2) extends BinaryExpression(v1, v2) {
void operation(program) {
program.subtract();
}
}
class MultiplyExpression(v1, v2) extends BinaryExpression(v1, v2) {
void operation(program) {
program.multiply();
}
}
class DivideExpression(v1, v2) extends BinaryExpression(v1, v2) {
void operation(program) {
program.divide();
}
}
class NumberExpression(v) {
void compile(program) {
program.pushNumber(v);
}
}
I'm using made up the syntax, but it should be easy to follow. Just imagine that the VM for this language operates as a stack. You push two values and execute operations on those values.
| null |
0
|
1544804171
|
1544805293
|
0
|
ebs7fsz
|
t3_a61to1
| null | null |
t1_ebrqykt
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs7fsz/
|
1547605528
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
s0lly
|
t2_j2bhc
|
Thanks, I'll look into that.
| null |
0
|
1543675671
|
False
|
0
|
eautjlm
|
t3_a230zo
| null | null |
t1_eaut82a
|
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eautjlm/
|
1546278561
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
deceased_parrot
|
t2_7q7zg
|
> Of course but devs are who pic technology.
Yes, but they generally do so based on what makes sense for the project, not whether they hate technology X or want to try out technology Y.
| null |
0
|
1544804187
|
False
|
0
|
ebs7h0o
|
t3_a5ssxk
| null | null |
t1_ebs5suh
|
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebs7h0o/
|
1547605542
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TheDarkSwordsman
|
t2_jakj8
|
I mean, it's kinda standard I guess, but when my friend worked at Google as an intern (ridiculously good pay BTW), his agreement went into detail about how literally everything he does at work is essentially owned by Google.
So, essentially, if they see a message from me on Discord with my private github repo for a project that I may have invited him to on one of their computers, they can legally claim it as their own and steal it from me.
It actually goes as far as, if they find out you have been working on your own projects at home, they can claim the projects as theirs and fire you on the spot.
That may not actually be feasible and they likely don't enforce it that hard, but it's legally possible, I think (not a lawyer). I think the rule is there more to discourage people from working on personal projects while working for Google so the employees can focus their efforts on Google projects.
I mean when you're getting paid over $20 an hour and they pay for your whole relocation for a summer, it's a pretty decent deal and I can see why they don't want you going anything. However, it may be not so good for students with other projects or deadlines. Lol
Then again, seeing how HORRIBLE most of Google's documentation is, I begin to wonder what they're actually doing over there.
| null |
0
|
1543675688
|
False
|
0
|
eautk5x
|
t3_a1tazn
| null | null |
t3_a1tazn
|
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eautk5x/
|
1546278568
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
renatoathaydes
|
t2_gp2s3
|
Given the rapid growth of Python and the popularity of JS (even if it's so popular only because it's mandatory on the client side), I would say that yes! We need to keep discussing about the value of static type systems.
Types are by no means accepted as a must for professional software development.
I love types, but every time this discussion comes up, someone is quick to bring up that no study has ever shown conclusive proof that strong type systems actually result in fewer bugs.
I have a difficult time trying to understand why that may be the case... I've been playing around with Clojure and Racket (mentioned in the Q/A) to try to figure this out... but so far, I still don't get it...
I find it quite hard to do anything with them and am constantly making mistakes that a statically typed language's compiler would have easily caught for me (but I fully acknowledge this is more because of my unfamiliarity with the languages than with their lack of a static type system - ignoring the typed version of those languages)... just trying to imagine refactoring thousands of lines of code written in those languages without a type system to show me what needs to change gives me a headache.
| null |
0
|
1544804368
|
False
|
0
|
ebs7u6u
|
t3_a61eig
| null | null |
t1_ebrixoj
|
/r/programming/comments/a61eig/types_and_why_you_should_care/ebs7u6u/
|
1547605709
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tchaffee
|
t2_92kg3
|
When you factor those things all in, there is still a pay gap. Here's a huge study from the UK:
[https://www.ons.gov.uk/employmentandlabourmarket/peopleinwork/earningsandworkinghours/articles/understandingthegenderpaygapintheuk/2018-01-17](https://www.ons.gov.uk/employmentandlabourmarket/peopleinwork/earningsandworkinghours/articles/understandingthegenderpaygapintheuk/2018-01-17)
​
Things are getting better, but a pay gap based just on gender should be disturbing to anyone who wants to be proud of their industry.
| null |
0
|
1543675761
|
False
|
0
|
eautmss
|
t3_a22biq
| null | null |
t1_eauny9i
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eautmss/
|
1546278629
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
As someone with a degree in Architecture, this is not a true as you might imagine. The basic principles of the design process, and especially civil engineering, has not changed all that much in hundreds of years. It has been iterative improvements. Concrete has been around since the Roman empire (as were multi-story dwellings).
Honestly, Software has been a lot less discipline than other industries I've been around. In most engineering spaces, an attempt is made to not reinvent the wheel, and to make careful iteration. The software industry seems to have a lust for coming-up with the same ideas in a 10 year cycle, making little iterative progress in the long-term.
Again, I see this as lack of discipline more than immaturity.
| null |
0
|
1544804418
|
False
|
0
|
ebs7xwo
|
t3_a5ylm8
| null | null |
t1_ebrb6uu
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs7xwo/
|
1547605755
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Phantasmagorickal
|
t2_giszaf
|
...If what you say is true, then why can’t women’s roles in society be accounted for in the work place? We “have more sick days” probably for various reasons that are unique to women. Women often take up more responsibility in tending to children, and women also bleed for a week every month typically with cramps and bloating included (we make it look easy so males tend to forget).
When a family decides to have a child, the father can keep on working with no consequence. But god forbid a woman wants some time off for her body to recover and to bond with the child. She deserves that wage gap.
The United States needs to act like the “first world country” it claims to be when it comes to the treatment of women.
| null |
1
|
1543675853
|
False
|
0
|
eautq3s
|
t3_a22biq
| null | null |
t1_eauny9i
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eautq3s/
|
1546278670
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
deceased_parrot
|
t2_7q7zg
|
I wonder if you can predict recessions with this - when the times are good, companies are willing to hire specialists, but when times are bad, they want a size-one-fits-all hire.
| null |
0
|
1544804449
|
False
|
0
|
ebs808j
|
t3_a5z6i5
| null | null |
t3_a5z6i5
|
/r/programming/comments/a5z6i5/full_stack_software_developer_named/ebs808j/
|
1547605808
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shadowh511
|
t2_5virf
|
Every project is finished twice. The first time is when work stops on it. The second time is when it's forgotten. The modern internet makes the latter much harder than the former.
| null |
0
|
1543675857
|
False
|
0
|
eautq8z
|
t3_a1we32
| null | null |
t1_eaub9dg
|
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eautq8z/
|
1546278672
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
thefirstfucker
|
t2_dfvmadl
|
Because its a language for the lowest common denominator.
| null |
0
|
1544804521
|
False
|
0
|
ebs85ia
|
t3_a65liu
| null | null |
t3_a65liu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs85ia/
|
1547605873
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543675935
|
False
|
0
|
eautt0x
|
t3_a1ysx2
| null | null |
t1_eaus244
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eautt0x/
|
1546278706
|
-20
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
madsmooth
|
t2_5uj7z
|
I would argue that more devices exist that support JavaScript over any other language but it's just a supposition.
| null |
0
|
1544804548
|
False
|
0
|
ebs87i2
|
t3_a65liu
| null | null |
t3_a65liu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs87i2/
|
1547605898
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
thegreatgazoo
|
t2_32fvm
|
Just remember that the printer companies just want you using ink. They don't care what causes it to be used.
| null |
0
|
1543675949
|
False
|
0
|
eautti4
|
t3_a1ysx2
| null | null |
t1_eauluz8
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eautti4/
|
1546278712
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Fusseldieb
|
t2_wcz6k
|
Eewww globo
| null |
0
|
1544804569
|
False
|
0
|
ebs8932
|
t3_a5wkot
| null | null |
t3_a5wkot
|
/r/programming/comments/a5wkot/how_we_built_globoplays_api_gateway_using_graphql/ebs8932/
|
1547605918
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543675987
|
False
|
0
|
eautuvl
|
t3_a1yh8f
| null | null |
t1_eaug6vp
|
/r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eautuvl/
|
1546278729
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mamcx
|
t2_jb3t7
|
> being far and beyond the best scripting language around.
This must be ironic. JS is badly designed (or more correctly, not designed at all, like php, made in a hurry).
Much more scripting languages are orders of magnitud better than JS. Python, Ruby, Julia, but in the use-case for JS, Lua is probably the best in the space.
| null |
0
|
1544804596
|
False
|
0
|
ebs8b4h
|
t3_a65liu
| null | null |
t1_ebs5evu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs8b4h/
|
1547605943
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tchaffee
|
t2_92kg3
|
So a sample size of 4? Hardly worth paying attention to.
Women used to dominate computer programming. That changed after home computers were marketed to young boys and their parents in the 1980s.
| null |
0
|
1543676036
|
False
|
0
|
eautwka
|
t3_a22biq
| null | null |
t1_eaurds3
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eautwka/
|
1546278750
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Jdonavan
|
t2_46hud
|
And on the 4th you find out there's an edge case and your generic solution isn't generic.
| null |
0
|
1544804735
|
False
|
0
|
ebs8l1q
|
t3_a5y50c
| null | null |
t1_ebrmzer
|
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebs8l1q/
|
1547606065
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FlyingRhenquest
|
t2_nkufq
|
Four decade old floppies, even if you can find two separate drives around for the 5 inch and three inch ones somewhere, it's a pretty good chance there's nothing on them but sector read errors and sadness.
| null |
0
|
1543676110
|
False
|
0
|
eautz6j
|
t3_a1y1rq
| null | null |
t1_eatx3kb
|
/r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eautz6j/
|
1546278783
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mamcx
|
t2_jb3t7
|
Not only productivity. Security, Correctness, Performance, Expressivity.
Things that JS not have.
| null |
0
|
1544804763
|
False
|
0
|
ebs8mzw
|
t3_a65liu
| null | null |
t1_ebs5e1z
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs8mzw/
|
1547606089
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
klysm
|
t2_vhgyt
|
I’ve read the first few chapters of their book and it’s presented much better than this in writing - this presentation was a pretty shitty rehash if the main ideas in the chapters
| null |
0
|
1543676142
|
False
|
0
|
eauu0cd
|
t3_a205ai
| null | null |
t3_a205ai
|
/r/programming/comments/a205ai/a_little_taste_of_dependent_types_by_david/eauu0cd/
|
1546278797
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
metalevelconsulting
|
t2_2f90b1tt
|
I would wager that Selenium itself is a very well-written library/tool. However, the tool is trying to tame the wild-wild-west -- all the web quirks of all the types of HTML and http and wsgi and js and css and how they make the browser do funky things.
​
I've used Selenium and the Python layer over it (written by Cobra team... ok.. its call Splinter I remember now) with great success.
| null |
0
|
1544804905
|
False
|
0
|
ebs8w66
|
t3_a5wwjf
| null | null |
t1_ebq5axb
|
/r/programming/comments/a5wwjf/automate_the_boring_stuff_with_python_tinder/ebs8w66/
|
1547606204
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
linux_needs_a_home
|
t2_2okhau9c
|
Just wondering, but does it hurt to be as dumb as you are?
| null |
1
|
1543676209
|
False
|
0
|
eauu2sy
|
t3_a1yh8f
| null | null |
t1_eaujhbi
|
/r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eauu2sy/
|
1546278832
|
-5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kb_klash
|
t2_4qk01
|
> Every programmer should do it at least once.
https://media.giphy.com/media/bkGXLpEXC6Tsc/giphy.gif
| null |
0
|
1544804948
|
False
|
0
|
ebs8ywc
|
t3_a61to1
| null | null |
t1_ebreae9
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs8ywc/
|
1547606237
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
It's an anecdote, asshole. Every statistic on this subject backs up my assessment. The fact that a tiny group of women were interested in programming in the 60s is not statistically relevant either. But, like all dishonest assholes, you conveniently ignore that.
| null |
1
|
1543676222
|
False
|
0
|
eauu3at
|
t3_a22biq
| null | null |
t1_eautwka
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauu3at/
|
1546278838
|
-3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
EWJacobs
|
t2_bash7
|
Even if it's just bullet points it's still more useful than a video I don't have time to watch.
| null |
0
|
1544804988
|
False
|
0
|
ebs91ex
|
t3_a60dlr
| null | null |
t1_ebs2roo
|
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebs91ex/
|
1547606269
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tchaffee
|
t2_92kg3
|
A sample size of 1? Hopefully most of the folks here have enough love of science to completely ignore your claim unless you can provide a study with a reasonable sample size that eliminates other factors.
| null |
0
|
1543676267
|
False
|
0
|
eauu4zv
|
t3_a22biq
| null | null |
t1_eaurp5z
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauu4zv/
|
1546278858
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
Or you could settle on an existing, well tested, extremely carefully designed, mature, robust, general-purpose, expressive language that can do anything, from writing an OS to a web API (Ada). I do not know one single compiled language that has the actual real-world validation, along with the amount of built in safety that Ada has. You have probably trusted your life to Ada without noticing it. I think of of the reasons Ada has been hidden had to do with how infrequently software written in it fails.
The Boeing 777 - with over 1,500 and growing planes world-wide, is fly-by-wire and highly automated. 99% of its software was all written in Ada. It has never experienced a software bug in over 20 years of service - which includes extensive iteration of said software (AIMS1 -> AIMS2).
The NextGen air traffic control system in the US, also being written in Ada. So is Canada's automated ATC, so is EuroControl's system, so is UK's next iteration.
Most of the ISS safety-critical systems are written in Ada, and so is the Canadarm.
But what I find interesting is how effective full Ada is as a general-purpose systems programming language. I think its lesser adoption is really about lack of awareness. I fully expect that to change. The business case for Ada is stronger than many realize. For the early adopters - it is an easy competitive advantage. Those never last.
​
| null |
0
|
1544805116
|
False
|
0
|
ebs99jh
|
t3_a5ylm8
| null | null |
t1_ebrcnxb
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs99jh/
|
1547606369
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Phantasmagorickal
|
t2_giszaf
|
Naaah, little girls are very interested in math, science, and computers. Somewhere along the way that curiosity is discouraged or not encouraged as much as it is in males.
Also I’ve found that a lot of males are intimidated by a woman who knows more than they do about...anything really, and it’s annoying. I’ve often come up with an idea or a solution to a problem and then some douche will regurgitate exactly what I just said as if it was his own idea.
Anyway, despite the curiosity young girls naturally have in STEM, we have been pushed out over the course of our lives. And it’s only worse in the adult work place. But we’re knocking these doors down so I’m not worried about the future of little girls. We’re making progress.
| null |
1
|
1543676326
|
False
|
0
|
eauu76i
|
t3_a22biq
| null | null |
t1_eaujpuo
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauu76i/
|
1546278886
|
-5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ravek
|
t2_72i2j
|
I struggle to think of any modern language that doesn’t support this anyway. (Even Java) Some patterns are just obsolete.
| null |
0
|
1544805139
|
False
|
0
|
ebs9b26
|
t3_a64sao
| null | null |
t1_ebs24hi
|
/r/programming/comments/a64sao/why_you_should_use_strategy_pattern/ebs9b26/
|
1547606417
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tsingy
|
t2_q99uz
|
Rip printers....... I can’t imagine how many people will be hacked.
| null |
1
|
1543676363
|
False
|
0
|
eauu8kp
|
t3_a1ysx2
| null | null |
t3_a1ysx2
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauu8kp/
|
1546278904
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ryantwopointo
|
t2_5n496
|
Hahah seriously.
“Hey bud, wanna grab some beers at the dock with a few girls? It gonna be a warm one tonight!”
“No thanks, I’m optimizing my native C compiler for my virtual machine, and I think it’ll be an all nighter!”
“Oh... okay then.”
| null |
0
|
1544805203
|
False
|
0
|
ebs9f57
|
t3_a61to1
| null | null |
t1_ebs8ywc
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs9f57/
|
1547606467
|
20
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Just look at this filthy retarded code monkey here. This is exactly what Python does to a human brain. Don't do Python, or you'll end up being like this piece of shit.
| null |
1
|
1543676389
|
False
|
0
|
eauu9j3
|
t3_a1yh8f
| null | null |
t1_eaug6vp
|
/r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eauu9j3/
|
1546278915
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ahsansaeed067
|
t2_v8rwoio
|
Yes, it is Kotlin.
| null |
0
|
1544805227
|
False
|
0
|
ebs9gnu
|
t3_a5umpk
| null | null |
t1_ebs4ek0
|
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebs9gnu/
|
1547606486
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Phantasmagorickal
|
t2_giszaf
|
Why do you automatically assume her young daughter wants kids? I hope you’re being sarcastic. No young woman should plan her life around having some man’s babies, being his sperm receptacle, baby sitter and maid.
A young girl should focus first and foremost on being self sufficient and exploring her passions and curiosities in this world. Kids are a bonus if they happen.
| null |
0
|
1543676656
|
False
|
0
|
eauujas
|
t3_a22biq
| null | null |
t1_eaurlgk
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauujas/
|
1546279036
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
Check out SPARK/Ada - formally verifiable subset of Ada.
However this is not cost-effective for everything. It is another benefit of choosing Ada for a project. You can write the most important parts in SPARK, and formally prove that it is free from run-time errors. The rest of the business logic can be in Ada. Since SPARK is Ada, you can make this seamless.
| null |
0
|
1544805313
|
False
|
0
|
ebs9m66
|
t3_a5ylm8
| null | null |
t1_ebr4bh7
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs9m66/
|
1547606554
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tchaffee
|
t2_92kg3
|
Great article. You only have to browse many of the comments here to see how hostile our industry is to women. Or if you've simply asked women in our industry to tell you how they have been treated you'll get plenty of stories that should make you ashamed of how bad it is for women in our industry. The reason you have tech conferences for "women only" is because of just how creepy guys in our industry act towards women in a professional setting. I'm fully expecting to get downvoted because there are so many sexist devs out there who hate being confronted with how they act around female devs. But to end on a positive note, things continue to get better and that's thanks to the many devs who do put in the effort to make sure women in our industry have an environment to work in that is welcoming and free from discrimination. Keep up the good work. Some day the ugly stories from women in our industry will be few and far between thanks to those who are pushing for improvements.
| null |
1
|
1543676756
|
1543754289
|
0
|
eauumy2
|
t3_a22biq
| null | null |
t3_a22biq
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauumy2/
|
1546279081
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
whichton
|
t2_mqi7s
|
Use a mix of recursive descent and shunting yard. Recursive descent will parse till the `if` keyword. Once the parser sees `if` followed by `(`, it calls the shunting yard parser to parse the expression within. Once shunting yard is done, the next token must be `)`.
I find shunting yard much easier to understand and implement than Pratt.
| null |
0
|
1544805460
|
1544805842
|
0
|
ebs9vau
|
t3_a61to1
| null | null |
t1_ebrqykt
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs9vau/
|
1547606669
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Innsui
|
t2_o22wl
|
He don’t care about it at all lol. He’s just joining in on the fun because it’s honestly a meme at this point. He admit that it will affect him I. No way whatsoever.
| null |
0
|
1543676780
|
False
|
0
|
eauunuc
|
t3_a1ysx2
| null | null |
t1_eaus244
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauunuc/
|
1546279092
|
20
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
joshhua5
|
t2_i6m86
|
And it runs on my phone!
| null |
0
|
1544805501
|
False
|
0
|
ebs9xv8
|
t3_a61to1
| null | null |
t1_ebre7pb
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs9xv8/
|
1547606700
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543676795
|
False
|
0
|
eauuoe8
|
t3_a1ysx2
| null | null |
t1_eau5g8h
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauuoe8/
|
1546279099
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
Well I look at this, and I cannot see a plausible way to end up with that result from a merge error. Of course, you can imagine any condition, but if you look at the original code, and you try to transform it faithfully to Ada, I don't see how this would have been a viable threat.
The point of the article was to imagine if this project had been using Ada, and the same clearly poor programmer, with the same style, what likely would have happened.
| null |
0
|
1544805544
|
False
|
0
|
ebsa0g9
|
t3_a5ylm8
| null | null |
t1_ebrpyqz
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebsa0g9/
|
1547606733
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
Your suggestions are a recipe for misery. Just look at millennial women. Most of them followed your advice and now 75%+ of them are miserable and are on some sort of anti depressant or psychoactive.
| null |
0
|
1543676851
|
False
|
0
|
eauuqi2
|
t3_a22biq
| null | null |
t1_eauujas
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauuqi2/
|
1546279125
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
netgu
|
t2_57cfp
|
This is completely correct, not sure why so many JS comments claiming otherwise are being made. It's almost like people don't understand the different between compiled vs. interpreted.
| null |
0
|
1544805557
|
False
|
0
|
ebsa18r
|
t3_a60dlr
| null | null |
t1_ebrft9a
|
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebsa18r/
|
1547606742
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Irregular_Person
|
t2_ndhztdv
|
Let's pivot to 4 digit PINs for an example where that's not the case. You have 10000 possibilities, so "unconstrained" and at random, I have a 1/10000 chance of coming up with a random password. If the numbers are random and evenly distributed, it should take 5000 guesses on average if one were to brute force.
Only thing is, something like 20% of PINs are birthdays, because people like easy to remember numbers.
So if I had a set of 100 accounts to break into, I could run through 1918-2018 on each one then move on. On average, I would now have access to 20% of those accounts using only 100 guesses for each one. Assuming no other known patterns, I'd have to brute force the rest.
But a bank doesn't want ANY accounts broken into that easily. So they could say "no dates 1918-2018". So now the problem space is reduced for everyone. There are only 9900 possibilities. I have a 1/9900 chance at random, because I know about the restriction. All the "good" pins are now slightly weaker because we've eliminated the common ones. But at the same time, I can no longer just search dates first.
| null |
0
|
1543676930
|
False
|
0
|
eauutgb
|
t3_a1gbqw
| null | null |
t1_eaua4gl
|
/r/programming/comments/a1gbqw/ebay_japan_source_leak_as_git_folder_deployed_to/eauutgb/
|
1546279162
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Ravek
|
t2_72i2j
|
Which programming languages you know specifically doesn’t really matter imo, as long as you know a bunch. If you’ve programmed with coroutines in Kotlin then I’ll trust you to write async/await code in C#. If you’ve worked with functional languages I’ll trust you to apply the map and filter functions you’ll find in every modern OO environment ever nowadays effectively. It doesn’t matter if you learned about algebraic data types from ML or from Swift.
But I will be extra skeptical of anyone who only has experience in one or two languages. It enriches you immensely to look at code from different perspectives and shows a drive to learn if you have a few under your belt.
| null |
0
|
1544805646
|
False
|
0
|
ebsa6si
|
t3_a65liu
| null | null |
t1_ebs1r51
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebsa6si/
|
1547606811
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Phantasmagorickal
|
t2_giszaf
|
You’re actually showing both your sexism and racism by assuming that because someone has a vagina or is of a different race that these are the only reasons they’re on the team.
I really wish people like you would lift your heads out of your own assholes long enough to realize what’s been happening in this world. The reason companies have to have these diversity initiatives is because historically businesses would ACTIVELY DESCRIMINATE against talented/skilled people of certain races, and genders as well. Now, in order to combat that ACTIVE DESCRIMINATION, they must ACTIVELY seek out those who they have historically barred from entry.
Get it?
| null |
1
|
1543676943
|
False
|
0
|
eauutx9
|
t3_a22biq
| null | null |
t1_eauobop
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauutx9/
|
1546279167
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pidoid
|
t2_1fdfaotw
|
To be honest, I think WebSocket should be enough but it's impressive to see a true alternative to tedious socket.io in Java ecosystem.
| null |
0
|
1544805667
|
False
|
0
|
ebsa849
|
t3_a661pv
| null | null |
t3_a661pv
|
/r/programming/comments/a661pv/cettia_a_fullfeatured_realtime_web_framework_for/ebsa849/
|
1547606827
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tchaffee
|
t2_92kg3
|
>It's an anecdote
Exactly. Entirely ignorable. Carry on.
| null |
0
|
1543676948
|
False
|
0
|
eauuu42
|
t3_a22biq
| null | null |
t1_eauu3at
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eauuu42/
|
1546279169
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
As far as I can tell, Rust is simply not as expressive as Ada. Its error handling semantics looks really sexy and elegant and first glance, but they are not as efficient as exceptions for very large systems. Ada's type system is immensely more powerful and expressive, and its package system has better encapsulation capabilities than any structure language I've seen. Rust has as far as I can tell (I'm still a novice), a very watered-down C++-esque approach to encapsulation.
Often times in a large system, faults need to be passed up from lower layers to be properly handled. In rust, you basically have to engineer an explicit chain to pass that kind of propagation up. That is pretty hard to maintain, and prone to error.
Also Rust has the same readability problems as most C-like syntax languages. This is constantly underplayed. Readability is super important. Software is read and maintained so very much more than it is written. It seems obvious that you'd want a language that was "harder" to write, but easier to maintain and read. This is true from a programmer prospective, but it is doubly true from a business perspective.
| null |
0
|
1544805764
|
1544807964
|
0
|
ebsae8p
|
t3_a5ylm8
| null | null |
t1_ebr73hg
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebsae8p/
|
1547606908
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nullball
|
t2_s271y
|
>really useful to see how a person behaves.
Yeah, if the person does the project you'll know they're desperate and will take the job no matter what you'll pay. Great way to get cheap employees.
| null |
0
|
1543677019
|
False
|
0
|
eauuwq4
|
t3_a1tazn
| null | null |
t1_eaurthi
|
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eauuwq4/
|
1546279225
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bearsinthesea
|
t2_3gx8s
|
So it starts. Will be interesting to see how it all shakes out with all the vendors.
| null |
0
|
1544805840
|
False
|
0
|
ebsaj2r
|
t3_a66102
| null | null |
t3_a66102
|
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsaj2r/
|
1547606968
|
694
|
t5_2fwo
|
r/programming
|
public
| null |