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
|
Treyzania
|
t2_8vzbi
|
Just use any other language.
| null |
0
|
1543964712
|
False
|
0
|
eb3mohb
|
t3_a32foa
| null | null |
t1_eb2y4rg
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3mohb/
|
1547024359
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jgthespy
|
t2_ffqj8
|
Start with [the book](https://doc.rust-lang.org/book/).
After that, you should just make something. I learned a ton working on a CHIP-8 emulator. Make sure you're designing it so that you use all of the features covered in the book and use the [standard library documentation](https://doc.rust-lang.org/std/index.html) to fill in the gaps. I think the official documentation is really helpful.
If you have any smart home stuff with accessible APIs, that's even better. I've been working on some stuff that interacts with my Hue lights and it's been really fun and incredibly useful for learning stuff like concurrency as well as some of the more useful crates like serde.
| null |
0
|
1545152126
|
False
|
0
|
ec1xpt9
|
t3_a7aua9
| null | null |
t1_ec1s7hk
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec1xpt9/
|
1547769258
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SepplFranz
|
t2_1x4mdu
|
Yeah I don't get that. Why are so many people suggesting to "sanetize" inputs? If I send
var scripts = list<script>
then that's exactly what I want to appear in the chat.
How would one sanitize anything about this? Simply eat the angle brackets? But that's not what I wrote! People are not going to understand that code without the angle brackets! The correct way of ensuring that what the user types is what appears on the screen is escaping the user's input when it's embedded into the HTML. If you mangle the user's input then you'll end up with some abomination like
var scripts = list&lt;script&gt;
Too far-fetched? Just do a google search for
"List&lt;"
(including the quotation marks!) and you'll find plenty of cases. I mean, WHAT? https://books.google.at/books?id=335BiZNKf50C&pg=PA210&lpg=PA210&dq=%22List%26lt%22&source=bl&ots=CmJCh6CxvU&sig=QQCqnmRoaYEvO_Op6oKf4Oj7Kfg&hl=de&sa=X&ved=2ahUKEwiG_5HE9IbfAhWtd98KHTRgBBoQ6AEwBHoECFgQAQ#v=onepage&q=%22List%26lt%22&f=false
And here's a nice example of angle brackets getting eaten with everything inbetween: https://ericlippert.com/2012/12/04/why-are-braces-required/
Fuckin' Wordpress!
Edit:
And I know exactly why this keeps happening. It's because web technologies are completely bananas. It starts with HTML being a century-old "standard" nobody really complies with which, to its defense, was good at its time, but is now completely unnecessary and only exists because people are too lazy to say "Fuck it! We're defining a new standard which fixes all those issues!" (look at BAML for an example of a good standard), and ends with effectively all popular (web-)programming languages not understanding the output they generate (how could they possibly when there is no clear standard they could follow?) and therefore can't tell you when you are embedding user input into HTML without escaping.
| null |
0
|
1543964768
|
1543965736
|
0
|
eb3mr2k
|
t3_a2way5
| null | null |
t1_eb25d0k
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb3mr2k/
|
1547024421
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
eliasv
|
t2_786hb
|
There's a wide gap between "community self-moderation is unhealthy for society" and "community self-moderation is fascist".
Besides, saying that *open discourse is necessary* is not the same as saying it is *appropriate in all contexts*. I'd argue that suppressing all discussion of politics in a sewing forum, for example, does not suppress minority views or bias access to any contrasting views one way or the other.
It is possible to embrace open discourse in general, and provide platforms for such discussion, while also deleting github comments of users making MLM pitches or offering their opinion of Jews.
Besides, as I said, I think the more important tool is education.
~~And FWIW I don't think that responding to only one small part of a comment, and doing so with a ten-thousand-word chapter of a book without any attempt to contextualise appropriately, is engaging in good-faith discussion...~~ Since you've edited in more.
> that ideas are like viruses that can infect people instead of inoculate them by debate and discussion is the real fallacy.
Sadly, people with unsubstantiated beliefs are often only reinforced in those beliefs when exposed to corrective information.
The idea that a belief is like a "virus of the mind" sounds very similar to the concept of memes...
| null |
0
|
1545152163
|
1545152768
|
0
|
ec1xrk1
|
t3_a7aonv
| null | null |
t1_ec1urbc
|
/r/programming/comments/a7aonv/uncle_bob_we_the_unoffended/ec1xrk1/
|
1547769279
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
alexbuzzbee
|
t2_dutnz
|
Yes, it would be a massive upheaval. I think if Microsoft wanted to open-source Windows their lawyers could probably mostly figure it out, but it would still be a mess.
| null |
0
|
1543964777
|
False
|
0
|
eb3mrik
|
t3_a32foa
| null | null |
t1_eb3l4nt
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3mrik/
|
1547024427
|
15
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Candid_Calligrapher
|
t2_2nsvdulx
|
A DSL is a compiler for a very small language.
| null |
0
|
1545152311
|
False
|
0
|
ec1xyll
|
t3_a79otw
| null | null |
t1_ec1p5tp
|
/r/programming/comments/a79otw/why_programmers_suck_post_from_2009_now_more/ec1xyll/
|
1547769367
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nitasGhost
|
t2_s5so3
|
have you looked at their standard library (called Mecca; its on github)?
It is very specific to their use case ie., a lot of "reactor" style stuff + IO libraries. Nothing unusual when developers of all languages do it to fit their style and performance requirements.
This is like saying Qt developers should not do their own networking libraries because there is perfectly good C++ network libraries in Boost.
| null |
0
|
1543964806
|
False
|
0
|
eb3msx8
|
t3_a3106x
| null | null |
t1_eb3hkx1
|
/r/programming/comments/a3106x/interview_liran_zvibel_of_wekaio/eb3msx8/
|
1547024444
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kankyo
|
t2_77w4q
|
It doesn't help probably but no. It's just people not caring about the performance.
| null |
0
|
1545152378
|
False
|
0
|
ec1y1od
|
t3_a7axuv
| null | null |
t1_ec1lflm
|
/r/programming/comments/a7axuv/python_at_microsoft_flying_under_the_radar/ec1y1od/
|
1547769404
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543964867
|
1544491694
|
0
|
eb3mvwo
|
t3_a32foa
| null | null |
t1_eb31ivt
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3mvwo/
|
1547024481
|
40
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kankyo
|
t2_77w4q
|
There is no beating pypi though.
| null |
0
|
1545152423
|
False
|
0
|
ec1y3qo
|
t3_a7aul8
| null | null |
t1_ec1i9n6
|
/r/programming/comments/a7aul8/whats_your_favourite_programming_language_sound/ec1y3qo/
|
1547769430
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
apDurodur
|
t2_dty0w
|
there is black, midnight, and dark dark dark dark dark grey
| null |
0
|
1543964873
|
False
|
0
|
eb3mw6h
|
t3_a32foa
| null | null |
t1_eb30kwz
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3mw6h/
|
1547024484
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Noctune
|
t2_4sfpa
|
What about [docopt](http://docopt.org/)? Basically, you write your `--help` screen in a somewhat structured way and it uses that to parse the options. Since it's structured as a help screen, it's also fairly readable in code. It does not do any input validation like Click does, though.
| null |
0
|
1545152793
|
False
|
0
|
ec1ykyj
|
t3_a7arbt
| null | null |
t3_a7arbt
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec1ykyj/
|
1547769659
|
24
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CantankerousMind
|
t2_6rthr
|
The point is that people still own the copyright to their code even when submitting to an open source library. Look up how you go about switching from open source to closed source. You better have a specific agreement or clause stating that the copyright is transferred to the owner of the library upon submission or you risk them being able to claim partial copyright and being able to sue you (if they can sue for copyright infringement in that case they could do it in this case). A lot of open source licenses do not have that clause and the library owners don't make people sign an agreement.
| null |
0
|
1543964917
|
1543966432
|
0
|
eb3mydb
|
t3_9idpyr
| null | null |
t1_e75qrzx
|
/r/programming/comments/9idpyr/linux_developers_threaten_to_pull_kill_switch/eb3mydb/
|
1547024511
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hglman
|
t2_31tkq
|
Agreed 10 decorators is not readable.
| null |
0
|
1545152800
|
False
|
0
|
ec1yl9f
|
t3_a7arbt
| null | null |
t1_ec1o6b4
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec1yl9f/
|
1547769663
|
84
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
leodash
|
t2_4retw
|
What did they use for source control prior to last month?
| null |
0
|
1543964931
|
False
|
0
|
eb3mz08
|
t3_a32foa
| null | null |
t3_a32foa
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3mz08/
|
1547024519
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kankyo
|
t2_77w4q
|
The decorators are in one place that you call from main though... right?
| null |
1
|
1545152827
|
False
|
0
|
ec1ymhm
|
t3_a7arbt
| null | null |
t1_ec1o6b4
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec1ymhm/
|
1547769678
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543964965
|
1544491692
|
0
|
eb3n0jk
|
t3_a32foa
| null | null |
t1_eb3399t
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3n0jk/
|
1547024538
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pouladpld
|
t2_2t5adchc
|
Are you calling it a Russian spyware just because its core dev team is Russian? Or you have a better reason for it? (I'm a tg user)
| null |
0
|
1545152847
|
False
|
0
|
ec1ynei
|
t3_a79md4
| null | null |
t1_ec1dlm5
|
/r/programming/comments/a79md4/building_a_telegram_bot_from_scratch_r/ec1ynei/
|
1547769690
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Dean_Roddey
|
t2_r72lw
|
It's not widely known, but the internet was originally conceived as a means to allow people people who haven't achieved anything to make snide remarks about the efforts of those who have. That pretty much makes it one of the great success stories of the last century, far exceeding its creator's objectives.
BTW, this is one of the reasons that really experienced people tend to leave most on-line forums, once they move beyond the level of a small, dedicated 'family' of professionals. They post something, based on decades of experience, and just get eaten alive by people who are so inexperienced that it would be difficult to even explain to them why they are wrong. It just quickly becomes not worth it.
&#x200B;
| null |
0
|
1543964967
|
False
|
0
|
eb3n0mf
|
t3_a2s9t2
| null | null |
t3_a2s9t2
|
/r/programming/comments/a2s9t2/you_cant_impress_developers_so_dont_try/eb3n0mf/
|
1547024539
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
> Does that mean that most js developpers are idiots? because they don't know everything they should
They're idiots because they're *using* shit they know nothing about. They are the idiots who created this insane npm mess in the first place.
| null |
0
|
1545152858
|
False
|
0
|
ec1ynw8
|
t3_a79otw
| null | null |
t1_ec1mtwt
|
/r/programming/comments/a79otw/why_programmers_suck_post_from_2009_now_more/ec1ynw8/
|
1547769695
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
grauenwolf
|
t2_570j
|
Ok, scratch that theory.
| null |
0
|
1543965030
|
False
|
0
|
eb3n3i3
|
t3_a313x9
| null | null |
t1_eb3jyp4
|
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb3n3i3/
|
1547024574
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kankyo
|
t2_77w4q
|
A better solution is to just assume utf8 if you can't figure anything else out. This is strictly superior to what you get in python 2 but you aren't warning about how that is crappy.
| null |
0
|
1545152924
|
False
|
0
|
ec1yqyb
|
t3_a7arbt
| null | null |
t1_ec1q4i5
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec1yqyb/
|
1547769735
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
coopermidnight
|
t2_bs47j
|
Maybe WPF can finally have native support for SVGs!
~~Also are they still uploading? The WPF repo looks kind of bare compared to the colossal amount of files that I'm familiar with in the reference source.~~ EDIT: I see now that they're in the process of porting it from .NET framework.
EDIT #2: Made an issue for it. One of the WPF guys tagged it and added it to the "Future" milestone 👍
| null |
0
|
1543965051
|
1544029798
|
0
|
eb3n4h8
|
t3_a32foa
| null | null |
t3_a32foa
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3n4h8/
|
1547024586
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
IGI111
|
t2_7zcpw
|
> There's a wide gap between "community self-moderation is unhealthy for society" and "community self-moderation is fascist".
It is not, the fascist response involves the State. This is more like the socialist response (in at least some senses of the word). Still relatively incompatible with Liberalism however.
>I don't think that responding to only one small part of a comment, and doing so with a ten-thousand-word chapter of a book without any attempt to contextualise appropriately, is engaging in good-faith discussion...
I mean it's the core of my objection with your idea, and Mill has the best answer. I did make a succinct summary of his answer in my last phrase though. Communities are no more justified in silencing people than states are, because the reason we ought to be free isn't that it's inconvenient not to, it's that liberty can't survive without freedom.
I just hate watering down such a concise argument. But the philosophical definition of "concise" is a bit wide I'll admit.
>Besides, saying that open discourse is necessary is not the same as saying it is appropriate in all contexts. I'd argue that suppressing all discussion of politics in a sewing forum, for example, does not suppress minority views or bias access to any contrasting views one way or the other.
That's actually debatable. There are certainly practical considerations to be had so as to keep forums on topic. But banning someone from your sewing forum because you know from unrelated postings that they have a certain political opinion as some would advocate is immoral. At least in my opinion.
>It is possible to embrace open discourse in general, and provide platforms for such discussion, while also deleting github comments of users making MLM pitches or offering their opinion of Jews.
We'll agree there, issue trackers are justified in banning trolling therein, for practical reasons of not obstructing discussion. So long as the definition of trolling isn't broadened. If you start banning contributors for having political opinions on other forums, you've gone too far.
| null |
0
|
1545152978
|
1545153168
|
0
|
ec1ytfd
|
t3_a7aonv
| null | null |
t1_ec1xrk1
|
/r/programming/comments/a7aonv/uncle_bob_we_the_unoffended/ec1ytfd/
|
1547769765
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CantankerousMind
|
t2_6rthr
|
They're saying "This article or discussion isn't useful" while calling people trash and insinuating that they're idiots. The lack of self awareness is kind of funny.
| null |
0
|
1543965063
|
False
|
0
|
eb3n50y
|
t3_9idpyr
| null | null |
t1_e6r0m38
|
/r/programming/comments/9idpyr/linux_developers_threaten_to_pull_kill_switch/eb3n50y/
|
1547024593
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mitsuhiko
|
t2_7v80
|
The problem is that on Python 3 I cannot do that because this is all done in the interpreter/stdlib. Python 3 does *not* assume utf-8 everywhere.
| null |
0
|
1545152992
|
False
|
0
|
ec1yu24
|
t3_a7arbt
| null | null |
t1_ec1yqyb
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec1yu24/
|
1547769772
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543965186
|
1544491690
|
0
|
eb3naoe
|
t3_a32foa
| null | null |
t1_eb37150
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3naoe/
|
1547024662
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
NondenominationalRam
|
t2_m1k5nme
|
I recall that in the early days of .Net it was impossible to search for either “.Net “ or “C#”. Took quite a while before that was fixed.
| null |
0
|
1545153051
|
False
|
0
|
ec1ywu1
|
t3_a77ja5
| null | null |
t1_ec1jr60
|
/r/programming/comments/a77ja5/a_tiny_compiler_with_elf_and_pe_executable_for_x86/ec1ywu1/
|
1547769807
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Akira1364
|
t2_rfrn0
|
More importantly Lazarus is also fully cross-platform and uses native widgets everywhere such a thing exists (Win32-API based on Windows, Carbon or Cocoa based on Mac.) On Linux you have your pick of the GTK-based or QT-based backends. And the IDE is made with itself so it also runs on all those platforms.
It completely solved the "seamless cross-platform GUI" issue people in this thread are complaining about years ago. If they don't like that the implementation language is Pascal that's their problem IMO.
| null |
0
|
1543965230
|
1543969473
|
0
|
eb3ncpq
|
t3_a32foa
| null | null |
t1_eb3h6as
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3ncpq/
|
1547024689
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
veritasserum
|
t2_elotq
|
This is just some noob complaining about things they do not understand.
| null |
0
|
1545153138
|
False
|
0
|
ec1z0s7
|
t3_a7b6tm
| null | null |
t1_ec1p93u
|
/r/programming/comments/a7b6tm/8_reasons_python_sucks/ec1z0s7/
|
1547769855
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ThisIs_MyName
|
t2_f3gm5
|
That was fast.
| null |
0
|
1543965255
|
False
|
0
|
eb3ndvu
|
t3_a32foa
| null | null |
t1_eb37ma9
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3ndvu/
|
1547024703
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ivquatch
|
t2_3a6gu
|
> Ideally a language should be as agnostic as possible.
I think there's value in having well-understood language idioms, especially in multi-paradigm OOP/FP languages. While people often use them like Java++, F# says, "no!" and encourages you to use its language idioms instead. And yes, "Object Programming" is idiomatic in F#. The distinction is that F# is not "Object Oriented".
| null |
0
|
1545153194
|
False
|
0
|
ec1z3fu
|
t3_a7aua9
| null | null |
t1_ec1oks7
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec1z3fu/
|
1547769889
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ravinglunatic
|
t2_3l89i
|
I don’t get it.
| null |
0
|
1543965298
|
False
|
0
|
eb3nfsn
|
t3_a33egf
| null | null |
t3_a33egf
|
/r/programming/comments/a33egf/nvidia_has_created_the_first_video_game_demo/eb3nfsn/
|
1547024727
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
First you must realise that most of the Lisp community is rightfully suspicious of all that "functional programming" fad.
| null |
0
|
1545153211
|
False
|
0
|
ec1z493
|
t3_a75owm
| null | null |
t1_ec1ji8z
|
/r/programming/comments/a75owm/clojure_110_release/ec1z493/
|
1547769898
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nemec
|
t2_3r7wz
|
You're right. They have numbers from 2016 and earlier, too.
https://insights.stackoverflow.com/survey/2018/#technology-developers-primary-operating-systems
| 2013 | 2014 | 2015 | 2016 | 2018
---|---|----|----|----|----
Mac | 18.7 | 20.3 | 21.5 | 26.2 | 26.7
Windows | 60.4 | 57.9 | 54.5 | 52.2 | 49.9
Linux | 19.9 | 20.9 | 20.5 | 21.7 | 23.2
Other | 1 | 0.5 | 3.5 | 0 | 0.2
| null |
0
|
1543965367
|
False
|
0
|
eb3nizj
|
t3_a32foa
| null | null |
t1_eb3mnva
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3nizj/
|
1547024766
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MorrisonLevi
|
t2_74s59
|
> previously a weak point for the language
Ha, that's an understatement. I solved some programming puzzles using Clojure to try the language out. When I'd make an error I'd get approximately 100 stack frames (I am exaggerating, but only slightly) and only a few of them even existed in Clojure-land (a bunch of Java internals were the rest, I presume). I determined I could never seriously work in Clojure with that sort of experience, so I'm glad some effort has been made.
| null |
0
|
1545153293
|
False
|
0
|
ec1z82c
|
t3_a75owm
| null | null |
t1_ec1mohd
|
/r/programming/comments/a75owm/clojure_110_release/ec1z82c/
|
1547769946
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
scholeszz
|
t2_dpxce
|
> Ever been to an event that shows tweets on a projector?
I want to do this so bad, but I'll have to create a twitter account :-(
| null |
0
|
1543965548
|
False
|
0
|
eb3nrev
|
t3_a2way5
| null | null |
t1_eb2h8b9
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb3nrev/
|
1547024870
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Who cares about desktops anyway?
| null |
0
|
1545153296
|
False
|
0
|
ec1z87p
|
t3_a7b3s7
| null | null |
t1_ec1mdul
|
/r/programming/comments/a7b3s7/wave_computing_launches_the_mips_open_initiative/ec1z87p/
|
1547769947
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Zhyko-
|
t2_y9nan
|
> The point is whether or not he was qualified to make something like this.
And is there any argument for either side? Other than "someone have made a mistake"?
| null |
0
|
1543965577
|
False
|
0
|
eb3nsrn
|
t3_a31liz
| null | null |
t1_eb3knwy
|
/r/programming/comments/a31liz/kubernetes_first_major_security_hole_discovered/eb3nsrn/
|
1547024887
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
joesb
|
t2_33sp
|
We are playing a bit of semantic here. Sure you can call write DSL and a bit of meta programming “writing compiler”. But if you use that meaning of the word, you don’t need knowledge of conventional meaning of writing compiler, or any thing close to this guy talking about C++ and assembly.
Any programmer can write a simple DSL without knowing how compiler works. You can’t have it both way with using both meaning of the words at the same time, Claiming that you need knowledge of how compiler works concerting C++ to assembly and saying that you were just talking about writing some in-language DSL abstractions. Like this guy is trying to back off from his original argument.
| null |
0
|
1545153333
|
False
|
0
|
ec1z9y0
|
t3_a79otw
| null | null |
t1_ec1xyll
|
/r/programming/comments/a79otw/why_programmers_suck_post_from_2009_now_more/ec1z9y0/
|
1547769969
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
scholeszz
|
t2_dpxce
|
What's a nickping?
| null |
0
|
1543965603
|
False
|
0
|
eb3nu03
|
t3_a2way5
| null | null |
t1_eb32p8d
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb3nu03/
|
1547024902
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
RaptorXP
|
t2_e0lgi
|
Anyone who asks if some piece of code has bugs doesn't understand software development.
| null |
0
|
1545153360
|
False
|
0
|
ec1zb5n
|
t3_a6nfgh
| null | null |
t1_ebwzar0
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ec1zb5n/
|
1547769984
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
polaristerlik
|
t2_ddold
|
/r/cringe
| null |
0
|
1543965612
|
False
|
0
|
eb3nudr
|
t3_a32foa
| null | null |
t1_eb2xe1g
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3nudr/
|
1547024907
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HucHuc
|
t2_moncu
|
I don't believe the source you show me is the same you've used to build the app.
&#x200B;
The best way I can prove it's not opening unwanted connections is to sniff the traffic on my own machine using Wireshark or some other similar program. Just imagine, some random dude seeing ProgramX randomly opening and closing connections to some server somewhere. First thing is he'll tweet "this program is dumping my data" even without bothering to see what exactly it dumps (assuming it's just error reports). From that point on, the PR cost to explain it's actually only bug reports and it's not malicious goes through the roof.
&#x200B;
Not to mention, that some automatic data can be used to track you back. Who knows what's sent in an anonymous, silent bug report, you can easily be dumping my GPS coordinates with all those reports, just in case.
| null |
0
|
1545153430
|
False
|
0
|
ec1zeei
|
t3_a719k6
| null | null |
t1_ec1r45y
|
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec1zeei/
|
1547770024
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
miketdavis
|
t2_3ouse
|
Making it cross platform and removing the windows specific implementation might make the performance so bad that no one wants to use it any more.
This is a big step in the right direction. If someone wants to fork it to bring WPF to linux bad enough then it will happen without Microsoft's help.
| null |
0
|
1543965618
|
False
|
0
|
eb3nuny
|
t3_a32foa
| null | null |
t1_eb30b6m
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3nuny/
|
1547024910
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
__dkp7__
|
t2_22e530e2
|
Google has neat solution for that.
https://github.com/google/python-fire
| null |
0
|
1545153516
|
1545242853
|
0
|
ec1zift
|
t3_a7arbt
| null | null |
t3_a7arbt
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec1zift/
|
1547770073
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
imhotap
|
t2_13wrff
|
We'd have heard an official dementi from MS by now, given the amount of MS shills ^ H ^ H ^ H lurkers here, and that the immediate halt of any web work for targetting Edge done by site owners, CSS and CMS devs, testers, etc. is at stake.
| null |
0
|
1543965665
|
False
|
0
|
eb3nwwp
|
t3_a313x9
| null | null |
t1_eb3eyas
|
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb3nwwp/
|
1547024938
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
AeroNotix
|
t2_41gql
|
Common Lisp, obviously.
| null |
0
|
1545153647
|
False
|
0
|
ec1zoqt
|
t3_a7aul8
| null | null |
t1_ec1i6zv
|
/r/programming/comments/a7aul8/whats_your_favourite_programming_language_sound/ec1zoqt/
|
1547770151
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Eirenarch
|
t2_46hjd
|
Maybe they can move devs from the engine team to developing actual end user features and that can result in a better browser?
| null |
0
|
1543965889
|
False
|
0
|
eb3o7e0
|
t3_a313x9
| null | null |
t1_eb3n3i3
|
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb3o7e0/
|
1547025096
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ivquatch
|
t2_3a6gu
|
This statement is false.
| null |
0
|
1545153691
|
False
|
0
|
ec1zqrq
|
t3_a7arbt
| null | null |
t1_ec1xj0m
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec1zqrq/
|
1547770205
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chucker23n
|
t2_39t9i
|
macOS 10 is much older. The user base of Windows 7 is still significant. That of Mac OS 9 is not.
| null |
0
|
1543965910
|
False
|
0
|
eb3o8dy
|
t3_a32foa
| null | null |
t1_eb3mki4
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3o8dy/
|
1547025108
|
37
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ipv6-dns
|
t2_1t534du4
|
Ar e you a Russian bot?
| null |
0
|
1545153779
|
False
|
0
|
ec1zuz6
|
t3_a79md4
| null | null |
t1_ec1ynei
|
/r/programming/comments/a79md4/building_a_telegram_bot_from_scratch_r/ec1zuz6/
|
1547770257
|
-10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
BinaryRockStar
|
t2_49iwm
|
There is an extension for BitBucket pull requests as well, if that's the system you're using. Pull requests are functionality provided by the git "wrapper" (GitHub, BitBucket, GitLab, etc.), not by git itself so any VS Code integration will be on per-wrapper basis.
EDIT: After a bit of research git does natively provide pull requests but all it does it produce a structured message for you to send to the upstream maintainer telling them the repo URL to be pulled from, and start and end commits.
| null |
0
|
1543965968
|
1543966165
|
0
|
eb3ob33
|
t3_a34gu4
| null | null |
t1_eb3m6dh
|
/r/programming/comments/a34gu4/vs_code_first_look_at_a_rich_code_navigation/eb3ob33/
|
1547025142
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
legends2k
|
t2_17gx9m
|
Have you tried [docopt][1]?
[1]: https://pypi.org/project/docopt/
| null |
0
|
1545153854
|
False
|
0
|
ec1zyjn
|
t3_a7arbt
| null | null |
t3_a7arbt
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec1zyjn/
|
1547770301
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
wllmsaccnt
|
t2_6j5x5
|
They didn't want to do more work on WinForms and WPF, and their original stance was that they weren't going to port these libraries. They only ported these to .NET Core because the dev community was asking about their fate at every conference and it was obvious it was a major barrier to enticing developers to move their stacks to Core. They definitely didn't do this because they expect the community to port them to other platforms as-is.
| null |
0
|
1543966130
|
False
|
0
|
eb3oijl
|
t3_a32foa
| null | null |
t1_eb3ffqi
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3oijl/
|
1547025234
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
asocial-workshy
|
t2_221psd1t
|
Security isn't about making things right but about making things obviously right.
You *could* make sure to explicitly filter out personal info from error reports but it's just far simpler and much more obviously secure to not automatically report bugs as well.
| null |
0
|
1545153864
|
False
|
0
|
ec1zz18
|
t3_a719k6
| null | null |
t1_ec1pr1y
|
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec1zz18/
|
1547770307
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
wllmsaccnt
|
t2_6j5x5
|
They've announced it several times before in their 3.0 plans. The only surprise to me was that it was ready so soon.
| null |
0
|
1543966169
|
False
|
0
|
eb3okc5
|
t3_a32foa
| null | null |
t1_eb2th6t
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3okc5/
|
1547025256
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nullsego
|
t2_zru15
|
WHY ARE YOU SHOUTING
| null |
0
|
1545153891
|
False
|
0
|
ec200bm
|
t3_a7arbt
| null | null |
t1_ec1pzx7
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec200bm/
|
1547770323
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TheWix
|
t2_58097
|
Yep, that's what I use regularly. I am also looking into Reason and Elm.
| null |
0
|
1543966336
|
False
|
0
|
eb3osbm
|
t3_a32foa
| null | null |
t1_eb3n0jk
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3osbm/
|
1547025356
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lx45803
|
t2_4iylw
|
>First thing is he'll tweet "this program is dumping my data" even without bothering to see what exactly it dumps (assuming it's just error reports).
Ask them for details on what data is being sent. If you're not sending private data, they'll never be able to show your program doing so.
>Who knows what's sent in an anonymous, silent bug report
Of the people out there who can detect a silent bug report, the vast majority also know how to open Wireshark and look at the contents of the HTTP request carrying it.
| null |
0
|
1545153918
|
False
|
0
|
ec201oo
|
t3_a719k6
| null | null |
t1_ec1zeei
|
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec201oo/
|
1547770340
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
knome
|
t2_1p9n0
|
> and can withdraw their contributions if they don't like the change to the license
I would think being unable to get explicit permission from the contributor would make their code unable to be relicensed whatsoever, requiring the project to replace code entirely that could not be verified or where consent was refused.
Going from open to closed source isn't even a thing. If I let you use my code so long as you pass on modifications under the same license, I don't have to explicitly find out you relicensed it and then tell you my code is out, you have to find me and get permission to use my work under the new license.
I'm no lawyer, but anything else doesn't make sense. Being unable to make arbitrarily one-sided changes to contracts seems pretty central to them.
| null |
0
|
1543966392
|
False
|
0
|
eb3ov3t
|
t3_9idpyr
| null | null |
t1_eb3mkq8
|
/r/programming/comments/9idpyr/linux_developers_threaten_to_pull_kill_switch/eb3ov3t/
|
1547025390
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ScripsterOX
|
t2_2si32fzg
|
Nope she asked me to find out who owns the fake account harassing her lol
| null |
0
|
1545153995
|
False
|
0
|
ec205az
|
t3_a7d28z
| null | null |
t3_a7d28z
|
/r/programming/comments/a7d28z/i_commented_on_a_post_so_boys_think_shell_offer/ec205az/
|
1547770385
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543966600
|
False
|
0
|
eb3p4vm
|
t3_a32foa
| null | null |
t1_eb345jc
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3p4vm/
|
1547025511
|
-28
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
groshh
|
t2_66jw4
|
This false is statement
| null |
0
|
1545154107
|
False
|
0
|
ec20aqa
|
t3_a7arbt
| null | null |
t1_ec1zqrq
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec20aqa/
|
1547770453
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DevOmem
|
t2_xib5j
|
Please not Chrome based :(
| null |
0
|
1543966649
|
False
|
0
|
eb3p74s
|
t3_a313x9
| null | null |
t3_a313x9
|
/r/programming/comments/a313x9/microsoft_building_new_chromebased_browser_to/eb3p74s/
|
1547025538
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
saphire121
|
t2_a0trv
|
I got bored and added it to a school project, pretty neato. Unfortunately, its really basic and the progress bar was nigh useless, so i might have added a sleep funciton...
| null |
0
|
1545154123
|
False
|
0
|
ec20bhy
|
t3_a7arbt
| null | null |
t3_a7arbt
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec20bhy/
|
1547770462
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Hydroshock
|
t2_6m9ci
|
Yeah there is a lot more time, Windows is on the bi-annual release like Ubuntu. I'm just saying, there are multiple Windows 10 versions. Though, not sure you really need to target particular versions...
| null |
0
|
1543966718
|
False
|
0
|
eb3pa9u
|
t3_a32foa
| null | null |
t1_eb3o8dy
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3pa9u/
|
1547025606
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
anengineerandacat
|
t2_hq59g
|
Another case where the "Clean Code" book is largely correct; typically if you see a large switch it's because someone didn't think before implementing it and it very well likely can be refactored to be reduce the amount of cases with proper OOP (See [Command Pattern](http://wiki.c2.com/?CommandPattern)). At the same time it's a recommendation and there are cases (Hah) where a switch is genuinely the best option.
&#x200B;
Also to note switch-statement performance is typically worse off than if / else's unless it's strictly ordinals and even then only up to a point (at least in higher lvl langs).
&#x200B;
Everything and anything can be refactored and I would wager if it's done outside of a library and in an application the initial approach is likely the most inefficient (but that's not really bad per-say). Personally with any new code I usually go with the rule of three during the vetting process.
| null |
0
|
1545154185
|
False
|
0
|
ec20eh3
|
t3_a70crz
| null | null |
t1_ec15ucr
|
/r/programming/comments/a70crz/stop_learning_frameworks/ec20eh3/
|
1547770498
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Emiroda
|
t2_d77r6
|
> viable or suitable for use
doesn't look like it's trying to be.
it's open source code, dude. What, would you prefer it to have stayed closed source?
| null |
0
|
1543966797
|
False
|
0
|
eb3pdsu
|
t3_a32foa
| null | null |
t1_eb37tuj
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3pdsu/
|
1547025649
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
JohnDoe_John
|
t2_13bskn
|
Well, I use desktop and aquarium-CRT monitor for some purposes :)
| null |
0
|
1545154214
|
False
|
0
|
ec20fxr
|
t3_a7b3s7
| null | null |
t1_ec1z87p
|
/r/programming/comments/a7b3s7/wave_computing_launches_the_mips_open_initiative/ec20fxr/
|
1547770516
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543966809
|
False
|
0
|
eb3pecr
|
t3_a32foa
| null | null |
t1_eb2xkdu
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3pecr/
|
1547025656
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
And how those purposes are aligned with the purposes of having an *open* architecture? I cannot see how it can ever be beneficial in desktop-related applications, unlike many other domains.
| null |
0
|
1545154296
|
False
|
0
|
ec20jv4
|
t3_a7b3s7
| null | null |
t1_ec20fxr
|
/r/programming/comments/a7b3s7/wave_computing_launches_the_mips_open_initiative/ec20jv4/
|
1547770565
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CantankerousMind
|
t2_6rthr
|
Yes, going from open source to closed source is a thing. If you want to change the license to your copyrighted material, you can (you can decide not to license future versions making it closed source). Users can still use old versions of your software under the old license though. They'll have to rewrite chunks of the linux kernal that get rescinded in future versions.
https://opensource.stackexchange.com/questions/33/how-can-a-project-be-relicensed
Any contributor that contributes, under a license that does not transfer **copyright ownership** of the contribution, still owns their copyright and can relicense it.
Just because you own a copy of Star Wars on blueray, that doesn't mean you have a license for the next anniversary copy of the movie with new edits, etc. You can still watch your old blueray (technically just a license) but you'll have to buy the anniversary copy (new license).
If a bunch core developers got removed because someone abused the new rules then it would be a lot of work to patch things up. And if there was a lawsuit I'm pretty sure that they would be *forced by the courts* to remove the contributions in question, or at least stop using them, until the lawsuit was over (which would take years). Like, if they are collecting donations for software in a pending copyright lawsuit they are technically getting money due to what is potentially copyright infringement, so the courts would put a stop to it until an outcome was reached.
| null |
0
|
1543966934
|
1543967277
|
0
|
eb3pk2m
|
t3_9idpyr
| null | null |
t1_eb3ov3t
|
/r/programming/comments/9idpyr/linux_developers_threaten_to_pull_kill_switch/eb3pk2m/
|
1547025726
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kankyo
|
t2_77w4q
|
Hmm... seems at least you can do something in 3.7, but that's too little too late I agree. Thanks for clearing this up.
| null |
0
|
1545154446
|
False
|
0
|
ec20qwn
|
t3_a7arbt
| null | null |
t1_ec1yu24
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec20qwn/
|
1547770653
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
p3ngwin
|
t2_3aa2m
|
yep:
https://9to5google.com/2018/12/04/google-hummingbird-flutter-web/
>**In a surprise announcement at the end of the keynote, the Flutter team unveiled the work-in-progress Hummingbird project as a way to bring Flutter apps to the web at large.**
| null |
0
|
1543966985
|
False
|
0
|
eb3pmek
|
t3_a33mqk
| null | null |
t1_eb3g7sp
|
/r/programming/comments/a33mqk/flutter_10_googles_portable_ui_toolkit/eb3pmek/
|
1547025756
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
> Another case where the "Clean Code" book is largely correct;
Nope, it's exactly an example of how outlandishly out of touch with reality it is.
> typically if you see a large switch it's because someone didn't think before implementing it and it very well likely can be refactored to be reduce the amount of cases with proper OOP (See Command Pattern).
Firtly, OOP is almost always the wrong paradigm to express the semantics of your problem domain clearly. You'll hardly ever find any single area which can be *adequately* expressed in OOP.
Secondly, this breaking a switch into tiny bits is exactly the obfuscation I'm talking about.
Imagine a very common use case - a switch (or, more likely, a large pattern matching statement) selecting over patterns in an AST for a very specific tree transform pass. You *must* see all the patterns covered by this together, next to each other - this is the most important part of the story, usually more important than the right hand sides, the actual processing of the selected patterns. If there are many of them - well, it's a natural feature, and if you break it into smaller parts you'll only make it even worse.
> Also to note switch-statement performance is typically worse off than if / else's
Typically?!? I can hardly name a single case where this is true. Flat is better than nested.
Guess why `cond` is preferred to `if` in most Lisps.
| null |
0
|
1545154584
|
1545156827
|
0
|
ec20xc1
|
t3_a70crz
| null | null |
t1_ec20eh3
|
/r/programming/comments/a70crz/stop_learning_frameworks/ec20xc1/
|
1547770732
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nemec
|
t2_3r7wz
|
...you're complaining about him *not* saying something dumb?
| null |
0
|
1543967095
|
False
|
0
|
eb3prfg
|
t3_a30hg9
| null | null |
t1_eb2tztc
|
/r/programming/comments/a30hg9/gcc_9_adds_frontend_support_for_the_d_programming/eb3prfg/
|
1547025817
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
KingNg
|
t2_onewp
|
I will fill it up
| null |
0
|
1545154705
|
False
|
0
|
ec2135u
|
t3_a7aua9
| null | null |
t1_ec1r006
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2135u/
|
1547770834
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
wllmsaccnt
|
t2_6j5x5
|
They took their server hopes and pinned them on Azure, which has been growing at insane rates.
| null |
0
|
1543967102
|
False
|
0
|
eb3prpr
|
t3_a32foa
| null | null |
t1_eb30fkj
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3prpr/
|
1547025821
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
homeparkliving
|
t2_12dwfo
|
I also used invoke for work; I ended up creating magicinvoke to solve some inconveniences I had with it. Let me know if it helps you out at all or if there's anything you'd do differently!
https://magicinvoke.readthedocs.io/en/latest/
| null |
0
|
1545154744
|
False
|
0
|
ec214yw
|
t3_a7arbt
| null | null |
t1_ec1v1wm
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec214yw/
|
1547770857
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
KareasOxide
|
t2_4cp2q
|
> This isn't the point. The point is whether or not he was qualified to make something like this.
It doesn't matter whether he was qualified. He made it and thousands of people are using it, that's how software works. There is no "test" to make sure you are qualified to write code.
Please link your github so we can see the shining examples of code you have wirten.
| null |
0
|
1543967182
|
False
|
0
|
eb3pvaw
|
t3_a31liz
| null | null |
t1_eb3knwy
|
/r/programming/comments/a31liz/kubernetes_first_major_security_hole_discovered/eb3pvaw/
|
1547025867
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Sandarr95
|
t2_pxijj
|
Does it have a bot api?
| null |
0
|
1545155194
|
False
|
0
|
ec21r7r
|
t3_a79md4
| null | null |
t1_ec1pwko
|
/r/programming/comments/a79md4/building_a_telegram_bot_from_scratch_r/ec21r7r/
|
1547771131
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
KareasOxide
|
t2_4cp2q
|
> There are software "engineers" who adamantly believe a byte is 16 bits. The title itself is meaningless.
Do you honestly believe the creator of K8 falls into that category?
| null |
0
|
1543967244
|
False
|
0
|
eb3py2d
|
t3_a31liz
| null | null |
t1_eb3k7zw
|
/r/programming/comments/a31liz/kubernetes_first_major_security_hole_discovered/eb3py2d/
|
1547025900
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
grammarxcore
|
t2_7jbcf
|
If you use markdown in the fancy new editor it doesn't parse it leading to stuff like this. You have to either manually switch to the old markdown editor or use the GUI link inserter.
I have no idea if that's what's happened here or not but I did it once or twice after the redesign before I figured that out. Kinda frustrating but I mainly use Relay so it doesn't bother me much.
| null |
0
|
1545155287
|
False
|
0
|
ec21vsy
|
t3_a7arbt
| null | null |
t1_ec1xh30
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec21vsy/
|
1547771189
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HeterosexualMail
|
t2_172zyp
|
I did read it before commenting, and remained confused.
Thanks for the snark. Sorry for missing something in the text. Hope it felt good putting someone else down.
| null |
0
|
1543967253
|
1543967785
|
0
|
eb3pygh
|
t3_a33lr5
| null | null |
t1_eb3e15s
|
/r/programming/comments/a33lr5/hummingbird_building_flutter_for_the_web/eb3pygh/
|
1547025905
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Topher_86
|
t2_forxg
|
The effort that is put into some of these reviews instead of learning the right way to do things boggles my mind.
Not once have I had to think about what version of pip I was using. TBH installing versions with pip and freezing projects is beyond super simple. What’s more, using freeze the way any guide will tell you likely protects against rogue versions like what we saw with npm recently (though admittedly pip has major security concerns itself).
| null |
0
|
1545155295
|
False
|
0
|
ec21w5u
|
t3_a7b6tm
| null | null |
t1_ec1z0s7
|
/r/programming/comments/a7b6tm/8_reasons_python_sucks/ec21w5u/
|
1547771193
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
badsectoracula
|
t2_3jbnd
|
Ah yeah, that too. Although this might be a bit harder since i think the VB6 compiler uses bits of the C (VC6) compiler.
| null |
0
|
1543967264
|
False
|
0
|
eb3pyxw
|
t3_a32foa
| null | null |
t1_eb355lb
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3pyxw/
|
1547025912
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
midairfistfight
|
t2_117ro2
|
No. In python code you don't (normally) call decorators directly. The runtime uses them to apply a transformation to a function that I may later call, possibly causing side effects at the time of applying that transformation.
Yes, they're all localized to one function in these example, but that's not going to be the case if your script has subcommands with different argument formats (e.g. git's CLI).
(Those aren't the only influences on my personal preference for when to use decorators, but I didn't really want to get into that tangent here anyway.)
| null |
0
|
1545155315
|
1545156584
|
0
|
ec21x6o
|
t3_a7arbt
| null | null |
t1_ec1ymhm
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec21x6o/
|
1547771206
|
17
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Jesta23
|
t2_81nij
|
This is how punting was made possible back in the early AOL days.
At least I think so, I was so young when I played around with that stuff.
| null |
0
|
1543967400
|
False
|
0
|
eb3q567
|
t3_a2way5
| null | null |
t3_a2way5
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb3q567/
|
1547025988
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Zafiasist
|
t2_74vf6
|
Python 3.7 made "async" and "await" into reserved keywords, so it actually did break some programs. It happened to a library that I use, so I'm stuck on 3.6 until the maintainer patches it. In general, though, you're correct.
| null |
0
|
1545155429
|
False
|
0
|
ec222tp
|
t3_a7b6tm
| null | null |
t1_ec1qbk1
|
/r/programming/comments/a7b6tm/8_reasons_python_sucks/ec222tp/
|
1547771276
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
vattenpuss
|
t2_brzia
|
That depends on how one defines a ”release”.
| null |
0
|
1543967434
|
False
|
0
|
eb3q6qz
|
t3_a32foa
| null | null |
t1_eb3mki4
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3q6qz/
|
1547026007
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
TheFaithfulStone
|
t2_8d4h6
|
I was skeptical at first because `jq` is a thing and `jq` is awesome - but you're definitely in a different ballpark here. If I could get this kind of CLI interactivity using the jq language I would be all about it. Nice work.
| null |
0
|
1545155439
|
False
|
0
|
ec223aw
|
t3_a7auew
| null | null |
t3_a7auew
|
/r/programming/comments/a7auew/discover_how_to_use_fx_effectively_a_json/ec223aw/
|
1547771281
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Dropping_fruits
|
t2_9009f
|
400 IQ commit
If you stop calling them hacks then they won't need to be fixed anymore
| null |
0
|
1543967488
|
False
|
0
|
eb3q977
|
t3_a32foa
| null | null |
t1_eb37ma9
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3q977/
|
1547026038
|
44
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
valar_k
|
t2_179kap
|
I kind of agree but at the same time I'm having trouble coming up with a situation where you distribute a Python script that people can use but can't pip install click for.
| null |
0
|
1545155516
|
False
|
0
|
ec2274v
|
t3_a7arbt
| null | null |
t1_ec1m5sd
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec2274v/
|
1547771329
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
folkrav
|
t2_c34fi
|
Exactly. They would probably need to allocate some time for a couple of employees just for this, and I honestly doubt that they want anything with it.
I honestly suspect it was probably part of their reasoning that by open-sourcing it under a very permissive licence, it'd get forked and ported to other platforms by the community without needing their own involvement. I may be wrong, but it could make sense...
| null |
0
|
1543967695
|
False
|
0
|
eb3qibu
|
t3_a32foa
| null | null |
t1_eb3kwm3
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb3qibu/
|
1547026150
|
18
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
coderstephen
|
t2_l2t7a
|
Same with AWS. The AWS CLI is written in Python and is the slowest command line tool I've ever used.
| null |
0
|
1545155547
|
False
|
0
|
ec228og
|
t3_a7axuv
| null | null |
t1_ec1lflm
|
/r/programming/comments/a7axuv/python_at_microsoft_flying_under_the_radar/ec228og/
|
1547771348
|
18
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
fGeorjje
|
t2_bbs04qk
|
the chat display was likely loaded via an OBS browser source window so that's very unlikely.
however given the myriad of webkit exploits I still wouldn't feel too good about this.
| null |
0
|
1543967780
|
False
|
0
|
eb3qlzc
|
t3_a2way5
| null | null |
t1_eb3bpuo
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb3qlzc/
|
1547026225
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nsiivola
|
t2_3hzwt
|
docopt <3
| null |
0
|
1545155606
|
False
|
0
|
ec22bmd
|
t3_a7arbt
| null | null |
t3_a7arbt
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec22bmd/
|
1547771411
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pm_me_any_dragon
|
t2_xtyfl
|
It literally is XSS though.
They are running scripts from input on another site.
https://www.youtube.com/watch?v=zv0kZKC6GAM
| null |
0
|
1543967799
|
False
|
0
|
eb3qmsx
|
t3_a2way5
| null | null |
t1_eb32s0r
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb3qmsx/
|
1547026235
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shevegen
|
t2_atqp
|
> Like Steve Jobs said “Technology is nothing. What’s important is that you have
> a faith in people, that they’re basically good and smart, and if you give them
> tools, they’ll do wonderful things with them”.
Said the dead dude who stole millions from hackers in the USA (see the court
cases), bootstrapping a company that is known for its overpriced tech, in an
era by now where - while true artificial "intelligence" does not exist yet - the
software used daily becomes increasingly more and more sophisticated,
complex and important.
So, nah - Steve was only a prophet in a small area. And I find it hypocritical
of someone to praise the faith in people while stealing money from them:
https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_Litigation#Civil_class_action
It's strange that you can settle this with money. While Jobs is dead, what
about the others who stole money? Why no mandatory jail sentence?
| null |
1
|
1545156104
|
False
|
0
|
ec230uw
|
t3_a7d8ar
| null | null |
t3_a7d8ar
|
/r/programming/comments/a7d8ar/have_you_ever_asked_yourself_about_the_future_of/ec230uw/
|
1547771724
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.