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
|
drysart
|
t2_3kikg
|
The Linux port of WinForms, for a long time, depended on Wine. Reason being is that WinForms is a *very* leaky abstraction over Win32, and it's basically impossible to run any non-trivial WinForms application without emulating Win32 as well, because every non-trivial WinForms application circumvents the abstraction in some way and ends up taking a dependency on the underlying Win32 behaviors.
Then, and especially now, Mono's WinForms port is *very, very far* from a "it just works" replacement for .NET WinForms running on Windows; and it likely will never be. WinForms is just not designed or capable of being a first class cross-platform UI toolkit.
| null |
0
|
1543981480
|
False
|
0
|
eb477lj
|
t3_a32foa
| null | null |
t1_eb37gqp
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb477lj/
|
1547033954
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
anengineerandacat
|
t2_hq59g
|
>Do you mean *visual* branching? Yes, it's a cognitive load, that's why higher level representations (such as a single big term rewriting rule) is better than an explicit control flow.
Which is why I say there are likely better alternatives to a switch; however nowhere in my own personal recommendations do I say it's not useful just that in normal day-to-day business application development you likely don't need it or it's not the ideal end-result.
>That's a horrible code bloat vs. a single compact ADT + a single pattern matching for every rewrite (and you can have dozens of them).
Not my domain; but it appears to be what IntelliJ does for their solution. [https://upsource.jetbrains.com/idea-ce/file/idea-ce-a7b3d4e9e48efbd4ac75105e9737cea25324f11e/platform/core-api/src/com/intellij/lang/ASTNode.java](https://upsource.jetbrains.com/idea-ce/file/idea-ce-a7b3d4e9e48efbd4ac75105e9737cea25324f11e/platform/core-api/src/com/intellij/lang/ASTNode.java)
Example of one of their parser's: [https://upsource.jetbrains.com/idea-ce/file/idea-ce-a7b3d4e9e48efbd4ac75105e9737cea25324f11e/RegExpSupport/src/org/intellij/lang/regexp/RegExpParser.java?nav=992:992](https://upsource.jetbrains.com/idea-ce/file/idea-ce-a7b3d4e9e48efbd4ac75105e9737cea25324f11e/RegExpSupport/src/org/intellij/lang/regexp/RegExpParser.java?nav=992:992)
Code bloat is subjective so it's unclear what you mean in this context; might need you clarify here.
​
​
| null |
0
|
1545169512
|
False
|
0
|
ec2kwjc
|
t3_a70crz
| null | null |
t1_ec2hj90
|
/r/programming/comments/a70crz/stop_learning_frameworks/ec2kwjc/
|
1547780079
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mcb3k
|
t2_4gzqu
|
You really haven't given me anything to refute that using a dual license would not be a valid way to deal with this. I'm not saying it's the only way, or the best way. Just that it is a valid way.
The NPOSL license would possibly be a good option, as opposed to something like the GPLv3. That way the licensor is declaring that they aren't deriving any revenue whatsoever from the work.
From the [NPOSLv3.0](https://opensource.org/licenses/NPOSL-3.0):
>17) **Non-Profit Amendment.** The name of this amended version of the Open Software License ("OSL 3.0") is "Non-Profit Open Software License 3.0". The original OSL 3.0 license has been amended as follows:
>
>(a) Licensor represents and declares that it is a not-for-profit organization that derives no revenue whatsoever from the distribution of the Original Work or Derivative Works thereof, or from support or services relating thereto.
>
>(b) The first sentence of Section 7 \["Warranty of Provenance"\] of OSL 3.0 has been stricken. For Original Works licensed under this Non-Profit OSL 3.0, LICENSOR OFFERS NO WARRANTIES WHATSOEVER.
​
Anyway, calling someone "an asshole", "very confused", or "a corporate shill" isn't very effective of convincing someone of your point. In the future, it would be nice if you could skip the ad hominem tactics and instead address the argument at hand.
​
As this conversation seems to be relatively unproductive, and all I really wanted to do is point out that CC licenses aren't really intended for code, I suppose I am done here.
​
I hope you have a nice day, and that the people you interact with on the internet may treat you better than you've treated me.
​
| null |
0
|
1543981508
|
False
|
0
|
eb478qe
|
t3_a1tazn
| null | null |
t1_eayuesc
|
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eb478qe/
|
1547033967
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545169592
|
False
|
0
|
ec2l0c1
|
t3_a7arbt
| null | null |
t1_ec2es78
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec2l0c1/
|
1547780126
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jmacato
|
t2_1atrhfgj
|
The biggest help would be the open-sourced System.Xaml, Xaml testing suite and WPF's built-in Controls that can be ported to our project! I really can't emphasize enough how big of a deal this is for us :)
| null |
0
|
1543981515
|
False
|
0
|
eb4791g
|
t3_a32foa
| null | null |
t1_eb3hlms
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb4791g/
|
1547033971
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Tynach
|
t2_9rbwn
|
And the source for Click using it?
Sorry if this sounds annoying, and in my own case I don't particularly care. I just feel like you aren't providing anything to actually back up your main claim.
| null |
0
|
1545169669
|
False
|
0
|
ec2l40p
|
t3_a7arbt
| null | null |
t1_ec2es78
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec2l40p/
|
1547780172
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MaximRouiller
|
t2_12u27jig
|
Hi /u/KryptosFR,
I've sent a link to this thread to Rajen who's part of the VS Team.
The current time in Las Vegas (where Connect is happening) is about 7:42pm so I'm not sure there's going to be an answer tonight but I'll make sure it's read at a minimum.
Feedback is very important and we seriously appreciate the fact that you went through the installation process, tried different settings, and hopefully found bugs.
Question. Could the "Apply title case styling to menu bar" be a setting that is roamed to your different profiles in VS2017/VS2019? If not, I'll let /u/RajenK know so he can pass it on to the team.
| null |
0
|
1543981586
|
False
|
0
|
eb47byj
|
t3_a32r4e
| null | null |
t1_eb46sgy
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb47byj/
|
1547034037
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
weez09
|
t2_399e0
|
I cant imagine any cli that has to make network calls is not slow in the traditional sense
| null |
0
|
1545169724
|
False
|
0
|
ec2l6lv
|
t3_a7axuv
| null | null |
t1_ec1lflm
|
/r/programming/comments/a7axuv/python_at_microsoft_flying_under_the_radar/ec2l6lv/
|
1547780205
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
PositiveReplyGuy
|
t2_13d0ts
|
Even mathematicians have to define their variable types. The closer people move computer science to "anything goes" the further away it moves from a rigorous discipline. Scripts are for glue and prototyping. Strongly typed compiled languages really are the way to go if you're building nontrivial applications. The compiler can rule out a lot of the issues you'd face before the application is even built while languages like JavaScript will take whatever you did and run with it.
You can shoot yourself in the foot with C/C++, but with JavaScript you'll fill your home with hundreds of invisible ticking timebombs.
| null |
0
|
1543981739
|
False
|
0
|
eb47i94
|
t3_a32foa
| null | null |
t1_eb2xe1g
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb47i94/
|
1547034115
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rouille
|
t2_bfc17
|
It's slow because they split the azure cli into millions of modules, and because azure is slow.
| null |
0
|
1545169854
|
False
|
0
|
ec2lcow
|
t3_a7axuv
| null | null |
t1_ec1lflm
|
/r/programming/comments/a7axuv/python_at_microsoft_flying_under_the_radar/ec2lcow/
|
1547780280
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
drysart
|
t2_3kikg
|
I'd think probably the biggest thing that would keep them from open sourcing Windows would be any third-party obligations, or code inside it somewhere that they don't have the rights to open up and sublicense.
Then again, with their MinWin efforts, they've done an admirable job of cutting down the core Windows to the bare bones; which means they *could* go the Apple route: open source the kernel, but leave proprietary stuff on top.
| null |
0
|
1543981799
|
False
|
0
|
eb47kn0
|
t3_a32foa
| null | null |
t1_eb3frtw
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb47kn0/
|
1547034144
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CyclopsFishInMyWater
|
t2_1du1ef08
|
> Just like C# is perhaps seen as a better language than JavaScript, because of its statically typed feature, many functional programming languages are seen superior to C#, Java, and others, because of their domain modelling features.
Are they? Or is it more of a pros and cons or personal preference type thing?
| null |
0
|
1545169951
|
False
|
0
|
ec2lha9
|
t3_a7aua9
| null | null |
t3_a7aua9
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2lha9/
|
1547780338
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
edc_svr_wxf_qaz
|
t2_124tnj
|
Come back when you have open source directx and win32.
| null |
0
|
1543982071
|
False
|
0
|
eb47voj
|
t3_a32foa
| null | null |
t3_a32foa
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb47voj/
|
1547034280
|
-6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CurtainDog
|
t2_4b0ul
|
We know [names aren't simple](https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/) - a name field should just be whatever the system will use as a name.
| null |
0
|
1545170058
|
False
|
0
|
ec2lm7g
|
t3_a78jub
| null | null |
t1_ec234er
|
/r/programming/comments/a78jub/writing_code_without_ifs_and_boilerplate_waste/ec2lm7g/
|
1547780424
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jms_nh
|
t2_5ymof
|
"One... two-hoo... three... (CRUNCH) three!" The world may never know.
| null |
0
|
1543982204
|
False
|
0
|
eb480xk
|
t3_a30fwd
| null | null |
t3_a30fwd
|
/r/programming/comments/a30fwd/how_many_additions_does_it_take_to_break_a/eb480xk/
|
1547034345
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kyriii
|
t2_3qoeo
|
Which smartphone do you use?
Just in case it's Android:
> Google says it now controls more than 51,000 patents and patents pending.
I'm completely against software patents. Unfortunately it's the world we live in right now. If you are a US citizen: Please work to change the relevance of software patents. Thanks!
What I'm trying to say: Just because someone has patents doesn't make them evil. It's also possible that's it's just the rules of the game.
| null |
0
|
1545170062
|
False
|
0
|
ec2lmdl
|
t3_a6r0ka
| null | null |
t1_ec0ky2y
|
/r/programming/comments/a6r0ka/concord_how_i_built_a_screen_sharing_application/ec2lmdl/
|
1547780427
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MommySmellsYourCum
|
t2_2etq91wj
|
That's not the same thing at all. macOS 10.x is a -very- different system from MacOS 9
| null |
0
|
1543982283
|
False
|
0
|
eb483z8
|
t3_a32foa
| null | null |
t1_eb3mki4
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb483z8/
|
1547034382
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
> just that in normal day-to-day business application development you likely don't need it or it's not the ideal end-result
I'd argue that *any* kind of code, in any domain must do more of this. Linguistic abstraction is the most powerful tool known, it's just mad not to utilise it.
> but it appears to be what IntelliJ does for their solution
Java mentality. All the code they're writing is few orders of magnitude more bloated than it should have been.
Compare it to how a typical Nanopass code looks like.
> Code bloat is subjective
Nope. There are physical limits of how many things a human can keep in mind at the same time. Once you exceed that limit for a logical *unit* of code, it's less readable. Keeping related things together is the only way to maintain the readers attention at a level required for a smooth understanding experience.
| null |
0
|
1545170073
|
False
|
0
|
ec2lmxl
|
t3_a70crz
| null | null |
t1_ec2kwjc
|
/r/programming/comments/a70crz/stop_learning_frameworks/ec2lmxl/
|
1547780434
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CoderHawk
|
t2_3dval
|
I was able to make it work. I added the below to the csproj file.
```
<PropertyGroup>
<LangVersion>8.0</LangVersion>
<NullableReferenceTypes>true</NullableReferenceTypes>
</PropertyGroup>
```
| null |
0
|
1543982303
|
False
|
0
|
eb484rh
|
t3_a32r4e
| null | null |
t1_eb30rxo
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb484rh/
|
1547034392
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
essdotc
|
t2_dyziy
|
So far I'm having alot of fun with it. Very easy to get up and running with it, which is always a good sign.
| null |
0
|
1545170242
|
False
|
0
|
ec2luy8
|
t3_a7djyg
| null | null |
t3_a7djyg
|
/r/programming/comments/a7djyg/why_mobile_developers_should_pay_attention_to/ec2luy8/
|
1547780534
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CoderHawk
|
t2_3dval
|
https://github.com/dotnet/project-system/issues/4058#issuecomment-435611411 says it's already in Preview 1.
| null |
0
|
1543982367
|
False
|
0
|
eb48753
|
t3_a32r4e
| null | null |
t1_eb32ya4
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb48753/
|
1547034421
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Green0Photon
|
t2_frrmd
|
Wow. I didn't know that Python is first class supported on Windows now. :)
I haven't really been paying attention, because I generally work in MSYS2, or WSL, now.
Excellent news!
| null |
0
|
1545170283
|
False
|
0
|
ec2lwu0
|
t3_a7axuv
| null | null |
t3_a7axuv
|
/r/programming/comments/a7axuv/python_at_microsoft_flying_under_the_radar/ec2lwu0/
|
1547780556
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
earthboundkid
|
t2_1w5x
|
I admire shevegen’s commitment to negative karma. It really puts the fake internet points in perspective.
| null |
0
|
1543982370
|
False
|
0
|
eb487a4
|
t3_a2xdzw
| null | null |
t1_eb2lbsl
|
/r/programming/comments/a2xdzw/the_friendship_that_made_google_huge/eb487a4/
|
1547034423
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
-isb-
|
t2_130pwj
|
Link to the paper: https://users.aalto.fi/~laines9/publications/karras2018iclr_paper.pdf
| null |
0
|
1545170342
|
False
|
0
|
ec2lzkk
|
t3_a7c9p8
| null | null |
t3_a7c9p8
|
/r/programming/comments/a7c9p8/nvidia_learned_to_make_realistic_faces/ec2lzkk/
|
1547780591
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
casualblair
|
t2_7r2vw
|
Node won because it was out of the box bidirectional and because npm. Look at signalr. Look at nuget. The current (decent) iterations are as good as node was years ago.
| null |
0
|
1543982500
|
False
|
0
|
eb48c4v
|
t3_a32foa
| null | null |
t1_eb469ui
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb48c4v/
|
1547034482
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Kyo91
|
t2_on0ei
|
Personally, I think there are still benefits to a new Common Lisp standard. It's held up very well over the past 20+ years since latest standard, both because of how forward thinking it already was by then, and how malleable the language is. But there are some things like dispatching on parameterized types that Julia does a lot better than CL. Not to mention that while vectors and hashsets are very workable in CL, they're a lot less ergonomic when compared to clojure.
| null |
0
|
1545170455
|
False
|
0
|
ec2m4si
|
t3_a75owm
| null | null |
t1_ec1sxvx
|
/r/programming/comments/a75owm/clojure_110_release/ec2m4si/
|
1547780654
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
davidk01
|
t2_1c5pc
|
Nice. Looking forward to more updates on this. I used Dart for a bit in the beginning but the messaging around what it was for was confusing. Flutter on the other hand makes sense.
| null |
0
|
1543982559
|
False
|
0
|
eb48ec5
|
t3_a33lr5
| null | null |
t3_a33lr5
|
/r/programming/comments/a33lr5/hummingbird_building_flutter_for_the_web/eb48ec5/
|
1547034510
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
duncan1382
|
t2_6v52c
|
Looks legit. Nice work dude.
&#x200B;
Also, this thing is really cool: [https://www.npmjs.com/package/pkg](https://www.npmjs.com/package/pkg)
| null |
0
|
1545170475
|
False
|
0
|
ec2m5o8
|
t3_a7auew
| null | null |
t3_a7auew
|
/r/programming/comments/a7auew/discover_how_to_use_fx_effectively_a_json/ec2m5o8/
|
1547780666
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
PeridexisErrant
|
t2_akdh8
|
Huh, I didn't even consider matrices; too used to the cubic-time for multiplication being slow and I didn't know about the log-exponentiation trick.
My best was a log-time log-space version.
1. The adjacency list is the number of strings of length two starting from `first` and ending with `last` (length zero or one is trivial).
2. Given the adjacency list for strings of length `a` and `b`, we can calculate the adjacency list for length `a + b` in time proportional to the number of digits squared (i.e. constant in `a + b`). If there are *x* paths from 1 to 2 of length `a` and *y* from 2 to 3 of length `b`, there are *xy* paths from 1 to 3 of length `a + b` - plus however many go via other neighbors of 1 at length `a`.
3. Given some desired length `k`, we can therefore start by dynamically generating all adjacency lists for powers of 2 <= k in logarithmic time, by combining 2+2, 4+4, etc. In any serious implementation I'd cache this for future use, but it's log-time both here and overall either way.
4. Finally, we decompose `k` into powers of two, and combine the matching adjacency lists according to the procedure in part 2.
It's log- instead of constant-space, though the constant factor is way better for sparse graphs (number of edges, not square of number of nodes).
And while this is also log-time in the worst- and expected-cases, it's best-case constant time if you ask about a length that's a power of two :-P
| null |
0
|
1543982958
|
False
|
0
|
eb48u5w
|
t3_a31fme
| null | null |
t3_a31fme
|
/r/programming/comments/a31fme/using_linear_algebra_to_solve_a_google_interview/eb48u5w/
|
1547034734
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chucker23n
|
t2_39t9i
|
I feel like we could generally benefit from these. I don’t understand why so many .NET methods that expect a timeout either only have an `int` overload, or bizarrely have both `int` *and* `TimeSpan` overloads. There should only ever be the latter, because it makes it explicitly whether the expected value is seconds, milliseconds, etc.
But even better would be F#’s approach, wherein `TimeSpan` becomes superfluous: instead of an ambiguous `= 5` (what unit is this?) or a verbose `= TimeSpan.FromSeconds(5)`, all you’d have to write is `= 5s`.
Sad that this feature has yet to catch on.
| null |
0
|
1545170494
|
False
|
0
|
ec2m6l3
|
t3_a7aua9
| null | null |
t1_ec1ur7c
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2m6l3/
|
1547780677
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tf2manu994
|
t2_dui7a
|
he works for microsoft
| null |
0
|
1543983051
|
False
|
0
|
eb48xu2
|
t3_a32foa
| null | null |
t1_eb37ma9
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb48xu2/
|
1547034780
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545170640
|
1545172544
|
0
|
ec2md3y
|
t3_a6z75x
| null | null |
t1_ec0smqd
|
/r/programming/comments/a6z75x/three_tips_for_managing_technical_debt_while/ec2md3y/
|
1547780757
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lolwutpear
|
t2_3h7nq
|
Who are the busybodies that go around making changes like this? It accomplishes nothing other than wasting that person's time, the time of the person who has to review it, and the person who says "I remember I left it marked 'hack' so I could find it later... wait, where did it go?"
We have one of these people on my team, and it's infuriating.
| null |
0
|
1543983267
|
False
|
0
|
eb496fh
|
t3_a32foa
| null | null |
t1_eb37ma9
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb496fh/
|
1547034886
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
monitorius1
|
t2_10noxg
|
The thing which bothers me is that .NET libraries are not written with F# in mind. That means that even you have your warm and fuzzy F# code, you have to interop with .NET/C# code all the time. And the community doesn't seem nowhere as large compared to other "alternative" languages on other platforms.
| null |
0
|
1545170699
|
False
|
0
|
ec2mfra
|
t3_a7aua9
| null | null |
t3_a7aua9
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2mfra/
|
1547780790
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
PaluMacil
|
t2_ww9q4
|
look at the caveats
> This is not an officially supported Google product.
> This is an exploratory effort, and is not part of the Flutter project
| null |
0
|
1543983341
|
False
|
0
|
eb499hi
|
t3_a32foa
| null | null |
t1_eb37mmq
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb499hi/
|
1547034924
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
synn89
|
t2_3jm4t
|
Testing is not more difficult and the class isn't tied to only being used on the cli. From one of my tests:
from unittest import TestCase
from CheckXmlValue import CheckXmlValue
import urllib2
class TestCheckXmlValue(TestCase):
def test_build_url(self):
args = lambda: None
args.ssl = False
args.port = 80
args.hostname = "localhost"
args.url = "/"
check = CheckXmlValue(args)
self.assertEquals("http://localhost/", check.build_url())
The class is composed of small functions that do one thing that can be easily tested by passing in different lambas on the constructor.
If I wanted better re-usability I would be using a proper framework. But we already use Laravel for that. Our python code is purely for small portable sysadmin client scripts.
And it's been okay for that, though not the greatest.
| null |
0
|
1545170733
|
False
|
0
|
ec2mhc6
|
t3_a7arbt
| null | null |
t1_ec25mo8
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec2mhc6/
|
1547780809
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
RitchieThai
|
t2_80vog
|
Sure it's possible for a script to extract the password from a password box. Exact same as extracting any text from a regular text box.
I did see someone post part of a script to steal the log in session on whatever site that chat was running on and post it on some generic paste website, but instead of actually reading the cookies it just posted the words "log in cookies" or something like that. It made we wonder whether that person was just doing it as a demonstration that it's possible or if it was someone who didn't know how to finish the job. I'm also not sure what the set up of that chat on your side was; whether your actually logged into some sort of account in the first place.
| null |
0
|
1543983383
|
False
|
0
|
eb49ass
|
t3_a2way5
| null | null |
t1_eb3tafj
|
/r/programming/comments/a2way5/this_is_why_you_sanitize_user_input_chat_hacked/eb49ass/
|
1547034940
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CurtainDog
|
t2_4b0ul
|
> My general advice would be to basically just delete all of it and write as much SQL as you can instead.
My reading of the article is that it essentially advocates reusing the approach already taken by relational databases. So yes, if your store is an rdbms then you could get away with encoding everything in sql. But if you're dealing with data from multiple sources then the suggested approach has merit.
Now, I can't let a reference to sql go by without getting out the whacking stick. SQL is terrible for two reasons: the vendor specific extensions which make it impossible to write portable sql code; and lack of structure making it hard to compose and inspect. I don't think it's a random coincidence that lisp solves the latter problem very nicely.
| null |
0
|
1545170763
|
False
|
0
|
ec2min0
|
t3_a78jub
| null | null |
t1_ec16tsw
|
/r/programming/comments/a78jub/writing_code_without_ifs_and_boilerplate_waste/ec2min0/
|
1547780826
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
WonderfulNinja
|
t2_yeloc5f
|
I agree. The panic reached absurd levels without a single working Javascript sample. Browsers went into panic mode and killed the precision of performance counters and killed some nice features. Is not even possible using pure C code, is necessary to use compiler intrinsics or go down to assembly.
| null |
0
|
1543983447
|
False
|
0
|
eb49d7d
|
t3_a2epsa
| null | null |
t1_eazmwd5
|
/r/programming/comments/a2epsa/undefined_behavior_is_really_undefined/eb49d7d/
|
1547034970
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
yawaramin
|
t2_77bue
|
> Putting all your eggs in the same basket is, in general, a horrible idea in software development.
The analogy doesn't really hold in software. You have to put your eggs in _some_ basket. You can't just hold on to them forever in hopes of achieving the perfect basket distribution. You might as well put them in the best-suited basket.
> SQL databases ... are a horrible way to express complex data models.
That depends, what do you mean by 'complex data models'? If it's something that can be expressed as a group of relations (tables) with constraints, then an RDBMS is pretty much the perfect way to express that. If it's a tree or graph structure, then less so, but an argument could still be made for it.
> It is much easier to express models in object oriented languages
Really, let's compare:
// Person.java
class Person {
public Person(string id, string name) {
this.id = id;
this.name = name;
}
public string getId() {
return id;
}
public string getName() {
return name;
}
@Override
public boolean equals(Object other) {
if (other == this) return true;
if (!(other instanceof Person)) return false;
Person person = (Person)other;
return id == person.getId() && name == person.getName();
}
// ... etc.
private string id;
private string name;
}
-- person.sql
create table person(id text primary key, name text);
> store the data that is easily serialized as a Json document in a key-value store, and business rules in functional languages
This is great until the first time you need to enforce some constraints on your documents in the store, and you realize it's all a schemaless chaos. Or the first time you need to write another client that consumes the data–maybe an iOS app, say–and realize you need to re-implement all the business rules that you wrote in your object-oriented, or no functional, languages, that you are also now maintaining btw and trying to find developers who can work in a myriad of different languages.
Meanwhile the guy who used an RDBMS has a single source of truth for his data, business logic, constraints, and a vast pool of qualified database engineers who know SQL.
> you MUST try new paradigms as much as you reasonably can. Exploring new ways to store data is one of them.
That's fine, as long as they're not being used for anything business-critical.
| null |
0
|
1545170764
|
False
|
0
|
ec2mio4
|
t3_a691r7
| null | null |
t1_ec2iw5u
|
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ec2mio4/
|
1547780826
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ack_complete
|
t2_ubq9z
|
After the Great War of VS2012 where the IDE team was convinced to tone down the brightness and add color back in... they've begun brightening it again. :(
| null |
0
|
1543983539
|
False
|
0
|
eb49gvm
|
t3_a32r4e
| null | null |
t1_eb32nsf
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb49gvm/
|
1547035016
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ninjarobots
|
t2_7d73d
|
Yea, I'm going through the book right now, then I want to check out the rust version of the Vulkan Tutorial that I followed in C++.
https://vulkan-tutorial.com
| null |
0
|
1545170802
|
False
|
0
|
ec2mkce
|
t3_a7aua9
| null | null |
t1_ec1xpt9
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2mkce/
|
1547780846
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Hydroshock
|
t2_6m9ci
|
That's not relevant to what I said. Microsoft said they're not re-naming the OS with a future major release. They're doing continuous updates the same way Apple did when they got to OSX. Apple does a major update every year, Microsoft is doing twice a year like Ubuntu does. They even took the naming scheme of Ubuntu with the current version being Windows 10 release 1809 (YYMM).
| null |
0
|
1543983896
|
False
|
0
|
eb49tnq
|
t3_a32foa
| null | null |
t1_eb483z8
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb49tnq/
|
1547035202
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
vidaj
|
t2_h154y
|
It's really hard to read, though. 560px forced max width is not nice at all :/ I also think that the extreme line height might also have something to do with it. If I have to restyle the entire site to be able to read the article, I just end up doing something else instead.
| null |
0
|
1545170856
|
False
|
0
|
ec2mmr9
|
t3_a7aua9
| null | null |
t1_ec1lutu
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2mmr9/
|
1547780876
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lord_braleigh
|
t2_79d7n
|
It’s not so much a technical problem as a philosophical problem... there are an infinite number of non-Black formatting styles, but only one style is Black. So I’m not sure which of the infinite non-Black styles you want.
| null |
0
|
1543983966
|
False
|
0
|
eb49w6q
|
t3_a2sqev
| null | null |
t1_eb3u0i1
|
/r/programming/comments/a2sqev/black_the_uncompromisingly_opinionated_code/eb49w6q/
|
1547035234
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pjmlp
|
t2_755w5
|
What I would be really impressed would be to see Blend support for F# instead.
| null |
0
|
1545170942
|
False
|
0
|
ec2mqgt
|
t3_a7aua9
| null | null |
t1_ec1u4rl
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2mqgt/
|
1547780922
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ijustwantanfingname
|
t2_63w28
|
I am glad I don't work with zsd4yr. What an absolute plank.
| null |
0
|
1543984172
|
False
|
0
|
eb4a3lq
|
t3_a32foa
| null | null |
t1_eb37ma9
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb4a3lq/
|
1547035325
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
johnyma22
|
t2_46f68
|
Referring to autonomous vehicles or?
| null |
0
|
1545170964
|
False
|
0
|
ec2mrcf
|
t3_a7c9p8
| null | null |
t1_ec2dgms
|
/r/programming/comments/a7c9p8/nvidia_learned_to_make_realistic_faces/ec2mrcf/
|
1547780933
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ijustwantanfingname
|
t2_63w28
|
I'd git-rm his brake lines.
| null |
0
|
1543984263
|
False
|
0
|
eb4a742
|
t3_a32foa
| null | null |
t1_eb496fh
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb4a742/
|
1547035369
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
wikwikwik
|
t2_2rjyrp4o
|
The hidden partitions appear as unused space.
This isn't a password "lock" like a guard at the door. It's more like "the information is in a secret code, and the password is the code key".
"unused" doesn't mean "zero valued" and when you first encrypt a drive with full disk encryption, it will typically encrypt the whole drive, even the unused space. Without that key you cannot make sense of any data on that drive (except the boot sector that boots the decrypt prompt). After the key is input, the drive can be decoded but you'll only see what the key revealed. One key will show the hidden part as simply unused, not there, etc.
You should probably google an overview of full disk encryption and deniable encryption as it's going to take time to explain, and I'm no expert.
| null |
0
|
1545170973
|
1545171324
|
0
|
ec2mrru
|
t3_a73l9e
| null | null |
t1_ec2kh3t
|
/r/programming/comments/a73l9e/a_windows_program_to_hide_a_section_of_a_drive/ec2mrru/
|
1547780938
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
franzwong
|
t2_5ysgs
|
The more I use Javascript, the more I avoid "class" in Javascript. As a backend developer, the real challenge for me is CSS.
| null |
0
|
1543984329
|
False
|
0
|
eb4a9p8
|
t3_a32lo1
| null | null |
t3_a32lo1
|
/r/programming/comments/a32lo1/why_would_a_java_engineer_love_frontend/eb4a9p8/
|
1547035400
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chucker23n
|
t2_39t9i
|
> Ideally a language should be as agnostic as possible.
Nah. Good engineering requires focus and trade offs. A language where every design decision was answered with “why not both?” sounds terrible to me. An opinionated language will be one I won’t always agree with, but at least it can give me guidance through how its creators intended it to be used.
| null |
0
|
1545171229
|
False
|
0
|
ec2n394
|
t3_a7aua9
| null | null |
t1_ec1oks7
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2n394/
|
1547781109
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
icetheace
|
t2_18hijudb
|
You know what's terrible. A video that doesn't work.
| null |
0
|
1543984337
|
False
|
0
|
eb4a9zb
|
t3_a38pv8
| null | null |
t3_a38pv8
|
/r/programming/comments/a38pv8/everything_about_distributed_systems_is_terrible/eb4a9zb/
|
1547035404
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
xvzsert
|
t2_2tb6fs56
|
Can you recommend any books on this topic?
And by small DSL compilers, do you mean something like a Lisp macro or a standalone program?
| null |
0
|
1545171375
|
False
|
0
|
ec2n9wd
|
t3_a79otw
| null | null |
t1_ec1ps5g
|
/r/programming/comments/a79otw/why_programmers_suck_post_from_2009_now_more/ec2n9wd/
|
1547781191
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
meneldal2
|
t2_l7gg5
|
VLC did win a court battle over breaking the DVD copy protection so all hope is not lost there.
| null |
0
|
1543984397
|
False
|
0
|
eb4ac90
|
t3_a2oxxm
| null | null |
t1_eb472iy
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb4ac90/
|
1547035431
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CornedBee
|
t2_10lnt6
|
Works fine for me.
| null |
0
|
1545171564
|
False
|
0
|
ec2ni83
|
t3_a6zxou
| null | null |
t1_ec1c8tr
|
/r/programming/comments/a6zxou/sandspiel_a_falling_sand_game_built_in_rust_and/ec2ni83/
|
1547781294
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ijustwantanfingname
|
t2_63w28
|
Sure they are, haven't you been watching the news? Wine Is Now an Emulator.
| null |
0
|
1543984536
|
False
|
0
|
eb4ahmb
|
t3_a32foa
| null | null |
t1_eb3c77y
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb4ahmb/
|
1547035498
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
__luca
|
t2_12hfnn
|
Was let down that "scratch" meant using a telegram R package :\
| null |
0
|
1545171570
|
False
|
0
|
ec2nigv
|
t3_a79md4
| null | null |
t3_a79md4
|
/r/programming/comments/a79md4/building_a_telegram_bot_from_scratch_r/ec2nigv/
|
1547781297
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
KryptosFR
|
t2_15txl0
|
Thanks /u/maximRouiller for the quick reply.
There is no need to hurry, though. It can wait a few days if you guys have more urgent matters to deal with. I might still try it at home, since my projects there are non critical.
Roaming could be involved indeed. I did no think of that. I knew that roaming involved at least the list of extensions but it did not occur to me that it could also be applied to other settings. It does make sens to some extent, but I wish us users would have more control over it:
* know which settings are roamed and which aren't (make it visible in the UI)
* allow to override locally some of them (either on a per project/solution basis or on a machine basis)
* allow to share some other on a per project or per team basis (similarly to what ReSharper is doing for its own settings)
| null |
0
|
1543984563
|
False
|
0
|
eb4ailx
|
t3_a32r4e
| null | null |
t1_eb47byj
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4ailx/
|
1547035510
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
monitorius1
|
t2_10noxg
|
I think some people are mistaking functional style with functional programming languages. Both F# and C# are multi-paradigm languages. That long and convoluted strategy pattern example could be implemented in the same F# way in C#. In fact, it takes less lines of code (unless curly braces are used).
bool MustHaveUppercase(string password) =>
password.Any(char.IsUpper);
bool MustHaveDigits(string password) =>
password.Any(char.IsDigit);
bool MustHaveMinimumLength(int length, string password) =>
password.Length >= length;
bool IsValidPassword(string password) =>
MustHaveMinimumLength(8, password)
&& MustHaveDigits(password)
&& MustHaveUppercase(password);
Sort example:
delegate List<int> SortAlgorithm(List<int> values);
List<int> QuickSort(List<int> values) =>
values; // Do QuickSort
List<int> MergeSort(List<int> values) =>
values; // Do MergeSort
void DoSomething(SortAlgorithm sort, List<int> values)
{
var sorted = sort(values);
}
public void Main()
{
var values = new List<int> { 9, 1, 5, 7 };
DoSomething(QuickSort, values);
}
| null |
0
|
1545171749
|
1545175589
|
0
|
ec2nqih
|
t3_a7aua9
| null | null |
t3_a7aua9
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2nqih/
|
1547781396
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
WalterBright
|
t2_1zosa
|
It's not unusual for high performance applications in C/C++ to write their own custom versions of runtime library functions. Replacing malloc/free, for example, is commonplace.
| null |
0
|
1543984605
|
False
|
0
|
eb4ak9a
|
t3_a3106x
| null | null |
t1_eb3hkx1
|
/r/programming/comments/a3106x/interview_liran_zvibel_of_wekaio/eb4ak9a/
|
1547035530
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Renive
|
t2_gw9z3
|
It does. BigInt is guaranteed to be in next spec, TypeScript already follows it. Hopefully no one does anything serious in Lua but JS is the fastest interpreted only language in town https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/node-python3.html for example. And if you think its only HTTPS doing the secure part youre just mistaken.
| null |
0
|
1545171995
|
False
|
0
|
ec2o1fw
|
t3_a65liu
| null | null |
t1_ec26tap
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ec2o1fw/
|
1547781531
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
errrrgh
|
t2_jogu6
|
You can always buy an old macmini or macbook for 500 bucks to build on. Just make sure it can run the newest Xcode. But yes, Apple did that intentionally just to get people to buy their systems - otherwise they would've release Xcode and their Keychain Manager for Windows (that's a different timeline, unfortunately)
| null |
0
|
1543984673
|
False
|
0
|
eb4amui
|
t3_a33mqk
| null | null |
t1_eb3k4p5
|
/r/programming/comments/a33mqk/flutter_10_googles_portable_ui_toolkit/eb4amui/
|
1547035563
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
s73v3r
|
t2_3c7qc
|
Perhaps, but there is no way in hell that a random person should be able to commit to master.
| null |
0
|
1545172144
|
False
|
0
|
ec2o81c
|
t3_a719k6
| null | null |
t1_ec0f6f1
|
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec2o81c/
|
1547781642
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
> After the Great War of VS2012
Is there somewhere I can learn more about this historical event?
| null |
0
|
1543984787
|
False
|
0
|
eb4ar9x
|
t3_a32r4e
| null | null |
t1_eb49gvm
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4ar9x/
|
1547035617
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tiftik
|
t2_3we5m
|
Google has never used a single patent for anything web related. In fact Google bought On2 just to open source the VP8 and VP9 codecs. Google is also spearheading AV1, the most advanced general purpose video codec, fully open and royalty free.
In contrast, Apple is supporting a patent pool that demands royalties for every device with a h264/h265 codec.
So no, the situation is not comparable at all.
| null |
0
|
1545172285
|
False
|
0
|
ec2oeaq
|
t3_a6r0ka
| null | null |
t1_ec2lmdl
|
/r/programming/comments/a6r0ka/concord_how_i_built_a_screen_sharing_application/ec2oeaq/
|
1547781719
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chucker23n
|
t2_39t9i
|
> Dark theme are easier on the eyes.
That is far from settled. https://ux.stackexchange.com/questions/53264/dark-or-white-color-theme-is-better-for-the-eyes
| null |
0
|
1543985002
|
False
|
0
|
eb4azky
|
t3_a32r4e
| null | null |
t1_eb40xk1
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4azky/
|
1547035719
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
adolfont
|
t2_iufkf
|
Excellent account of the history of Erlang.
| null |
0
|
1545172289
|
False
|
0
|
ec2oehb
|
t3_a7fsq5
| null | null |
t3_a7fsq5
|
/r/programming/comments/a7fsq5/twenty_years_of_open_source_erlang/ec2oehb/
|
1547781721
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
WalterBright
|
t2_1zosa
|
Liran writes about how WekaIO has created the world's fastest filesystem using the D programming language.
| null |
0
|
1543985077
|
False
|
0
|
eb4b2f4
|
t3_a3106x
| null | null |
t3_a3106x
|
/r/programming/comments/a3106x/interview_liran_zvibel_of_wekaio/eb4b2f4/
|
1547035755
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
baggier
|
t2_3mjpi
|
Clicked on the link before I realised it wasnt a [**r/guitarlessons**](https://www.reddit.com/r/guitarlessons/) post
| null |
0
|
1545172490
|
False
|
0
|
ec2on7w
|
t3_a7aua9
| null | null |
t3_a7aua9
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2on7w/
|
1547781830
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chucker23n
|
t2_39t9i
|
> I’m just saying, there are multiple Windows 10 versions.
Sure. I know what Microsoft is saying here. But all of them are at best three and a half years old, and the wording makes it sound as though nobody is using older Windows than that.
| null |
0
|
1543985119
|
False
|
0
|
eb4b40u
|
t3_a32foa
| null | null |
t1_eb3pa9u
|
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb4b40u/
|
1547035803
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Chii
|
t2_32xof
|
> In a lot of companies that will just get you marked as "not a team player" and "too negative" and if you push too hard you'll be replaced with a better cog.
it is the hope that companies that do this will fair worse over time, and thus, fail (or at least, don't remain competitive with salary).
If it happens to you, move/change companies asap, rather than trying to fix up the problem from the inside.
| null |
0
|
1545172538
|
False
|
0
|
ec2opb8
|
t3_a719k6
| null | null |
t1_ec1j83e
|
/r/programming/comments/a719k6/the_consequences_of_your_code_tom_scott/ec2opb8/
|
1547781856
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
errrrgh
|
t2_jogu6
|
Not a lot, yes there is an additional renderer drawing the screen but its very efficient and really a browser isn't much different. AFAICT there is a very busy garbage collector running down abandoned widgets, reminds me of the Android lifecycle.
| null |
0
|
1543985195
|
False
|
0
|
eb4b6tm
|
t3_a33mqk
| null | null |
t1_eb3qxvt
|
/r/programming/comments/a33mqk/flutter_10_googles_portable_ui_toolkit/eb4b6tm/
|
1547035839
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
billsil
|
t2_6ay72
|
I don't know why you're being difficult. Unless you explicitly ask for what you want, you're going to get what I give you. I posted that specific question in another reply a while ago. The author of click actually responded.
| null |
0
|
1545172566
|
False
|
0
|
ec2oqhh
|
t3_a7arbt
| null | null |
t1_ec2l40p
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec2oqhh/
|
1547781871
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
1xltP3mgkiF9
|
t2_by07m
|
I find them harder to my eyes. I just use blue screen blocker with white themes and it's the best combo for me.
| null |
0
|
1543985374
|
False
|
0
|
eb4bdny
|
t3_a32r4e
| null | null |
t1_eb40xk1
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4bdny/
|
1547035922
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
BobHogan
|
t2_8ox92
|
Oh man that just makes me think about python's import system and virtual environments. So clunky that there are dozens of tools written for the sole purpose of trying to make it simpler
| null |
0
|
1545172661
|
False
|
0
|
ec2oul3
|
t3_a7arbt
| null | null |
t1_ec1pdra
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec2oul3/
|
1547781921
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Valmar33
|
t2_zbck5
|
An excellent pun. ;D
| null |
0
|
1543985438
|
False
|
0
|
eb4bg1p
|
t3_a30hg9
| null | null |
t1_eb2lyf4
|
/r/programming/comments/a30hg9/gcc_9_adds_frontend_support_for_the_d_programming/eb4bg1p/
|
1547035952
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
EsotericFox
|
t2_31fcu
|
It's true. A GPU could perform this operation, but it's expensive no matter how you slice it.
| null |
0
|
1545172688
|
False
|
0
|
ec2ovr9
|
t3_a7cdjo
| null | null |
t1_ec2kftj
|
/r/programming/comments/a7cdjo/16x_aa_font_rendering_using_coverage_masks_part/ec2ovr9/
|
1547781935
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bruce3434
|
t2_12379h
|
Reddit nerds have the worst bants
| null |
0
|
1543985609
|
False
|
0
|
eb4bmdq
|
t3_a30hg9
| null | null |
t1_eb3jr3m
|
/r/programming/comments/a30hg9/gcc_9_adds_frontend_support_for_the_d_programming/eb4bmdq/
|
1547036031
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lobei
|
t2_hqdob
|
I mean how can they kill the performance in PostgreSQL?
Edit: I'm slow.
| null |
0
|
1545172701
|
1545268979
|
0
|
ec2owe3
|
t3_a71g76
| null | null |
t1_ec2j6dg
|
/r/programming/comments/a71g76/comparison_of_many_standard_and_nonstandard_sql/ec2owe3/
|
1547781943
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MaximRouiller
|
t2_12u27jig
|
Those are great ideas! No idea if a few of them can make the cut for VS2019 RTM release or future release but I think having a visual notification of settings that are roamed would be nice.
I'll keep /u/RajenK in the loop for this.
| null |
0
|
1543985811
|
False
|
0
|
eb4btrm
|
t3_a32r4e
| null | null |
t1_eb4ailx
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4btrm/
|
1547036123
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SuperCaptainObvious
|
t2_6kb85
|
Some people and I used F# in a large project, and while the language was great overall, we had some major complaints with the tooling. The ionide extension for visual studio performed poorly and more often than not, it would crash. It was impossible to write unit tests without crashing or a long freeze. It was also really difficult(impossible?) to debug, or at least it wasn’t clear how to make the debugger work properly.
Luckily we could make use of Jetbrain’s Rider, which offered support for F# and had a sufficiently usable debugger, but performance was still poor(on a top specced laptop).
A lot of F# libraries we wanted to use were also unmaintained but that wasn’t much of a problem given it’s interoperability with other languages. We used a lot of C# so it was pretty cool.
Overall, it’s a solid language with a strong ecosystem of packages and interoperability, but man the tooling... A solid linter would’ve been nice for our CI too, since we had issues maintaining some F# standards, but that’s just nit picking I guess. Probably won’t use it again though, not really my cup of tea.
Just my two cents, unrelated to the article really :)
| null |
0
|
1545172983
|
False
|
0
|
ec2p8tz
|
t3_a7aua9
| null | null |
t3_a7aua9
|
/r/programming/comments/a7aua9/why_you_should_learn_f/ec2p8tz/
|
1547782097
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CoreParad0x
|
t2_11t5pr
|
I wonder why open source it but not accept community attempts at porting it? That seems odd to me. That would both increase interest in it even more, and probably drive even more improvements.
| null |
0
|
1543985811
|
False
|
0
|
eb4btrx
|
t3_a32d8v
| null | null |
t1_eb2xd2k
|
/r/programming/comments/a32d8v/announcing_net_core_3_preview_1_and_open_sourcing/eb4btrx/
|
1547036124
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ToTimesTwoisToo
|
t2_gpo21
|
an interactive anime character generator using similar methods
https://make.girls.moe/#/
| null |
0
|
1545173052
|
False
|
0
|
ec2pbxf
|
t3_a7c9p8
| null | null |
t3_a7c9p8
|
/r/programming/comments/a7c9p8/nvidia_learned_to_make_realistic_faces/ec2pbxf/
|
1547782136
|
24
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
James-Lerch
|
t2_46m1b
|
This was a great thread to read, even if I only understood a small portion of it.
| null |
0
|
1543985898
|
False
|
0
|
eb4bwya
|
t3_a2y16c
| null | null |
t1_eb2wa48
|
/r/programming/comments/a2y16c/a_notcalled_function_can_cause_a_5x_slowdown/eb4bwya/
|
1547036163
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jewrome
|
t2_5zddx
|
When decorators are over used I feel like I have to use python foo to get what I need done
| null |
0
|
1545173357
|
False
|
0
|
ec2ppe1
|
t3_a7arbt
| null | null |
t1_ec1o6b4
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec2ppe1/
|
1547782330
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chucker23n
|
t2_39t9i
|
Have you gotten it to work?
| null |
0
|
1543986172
|
False
|
0
|
eb4c6yc
|
t3_a32r4e
| null | null |
t1_eb48753
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4c6yc/
|
1547036289
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jvanderbeek
|
t2_1058qpgy
|
You would either test a single line against all texels, or a single texel against all lines. No matter how you put it, it's a quadratic problem. By limiting the set of lines to the smallest set possible you're making the algorithm cheaper. Later in the article I'm explaining how the parallelization happens on GPU: each texel is rasterized individually, and it will only need to consider a small set of lines.
| null |
0
|
1545173503
|
False
|
0
|
ec2pvqy
|
t3_a7cdjo
| null | null |
t1_ec2kftj
|
/r/programming/comments/a7cdjo/16x_aa_font_rendering_using_coverage_masks_part/ec2pvqy/
|
1547782409
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
harihisu
|
t2_dbnny
|
Hi, is there any way I can run Code Cleanup on all .cs files at once?
| null |
0
|
1543986190
|
False
|
0
|
eb4c7ll
|
t3_a32r4e
| null | null |
t1_eb3d9r5
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4c7ll/
|
1547036296
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
0xMattBLZ
|
t2_21jnfz1t
|
No Python??!
| null |
0
|
1545173548
|
False
|
0
|
ec2pxq6
|
t3_a7g0yl
| null | null |
t3_a7g0yl
|
/r/programming/comments/a7g0yl/connect_your_api_to_decentralized_db_better_than/ec2pxq6/
|
1547782433
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
immibis
|
t2_dj2ua
|
> The ideal fix would be to design a better system. It's like the developer who has never heard of a thread pool, and instead starts creating thousands of threads - and then complains when the thread management time swamps any useful work time. Stop creating and destroying so many kernel objects.
Actually, I think the ideal fix here is for operating systems to make threads not be so expensive. I can't say how they would do that, without knowing why they're expensive now.
| null |
0
|
1543986268
|
False
|
0
|
eb4cagv
|
t3_a2y16c
| null | null |
t1_eb2n3ft
|
/r/programming/comments/a2y16c/a_notcalled_function_can_cause_a_5x_slowdown/eb4cagv/
|
1547036332
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SpecificWeight
|
t2_2sfwz0xg
|
what the fuck
| null |
0
|
1545173567
|
False
|
0
|
ec2pyj1
|
t3_a7c9p8
| null | null |
t1_ec2pbxf
|
/r/programming/comments/a7c9p8/nvidia_learned_to_make_realistic_faces/ec2pyj1/
|
1547782444
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
aslakg
|
t2_3hr5l
|
Some explanation of how to actually play the game would be nice
| null |
0
|
1543986269
|
False
|
0
|
eb4caib
|
t3_a36sl3
| null | null |
t3_a36sl3
|
/r/programming/comments/a36sl3/cfg_game/eb4caib/
|
1547036332
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
yawaramin
|
t2_77bue
|
It’s important to note that these faces are generated from what amounts to randomized mixing of _existing_ human faces. They’re not being made out of nowhere.
| null |
0
|
1545173570
|
False
|
0
|
ec2pyp4
|
t3_a7c9p8
| null | null |
t3_a7c9p8
|
/r/programming/comments/a7c9p8/nvidia_learned_to_make_realistic_faces/ec2pyp4/
|
1547782446
|
15
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
WalterBright
|
t2_1zosa
|
It's a career-making achievement. We're all very proud to have Iain on our team!
| null |
0
|
1543986325
|
False
|
0
|
eb4cclr
|
t3_a30hg9
| null | null |
t1_eb43yqe
|
/r/programming/comments/a30hg9/gcc_9_adds_frontend_support_for_the_d_programming/eb4cclr/
|
1547036358
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
takanuva
|
t2_82xqp
|
Holy crap.
| null |
0
|
1545173669
|
False
|
0
|
ec2q31v
|
t3_a7c9p8
| null | null |
t3_a7c9p8
|
/r/programming/comments/a7c9p8/nvidia_learned_to_make_realistic_faces/ec2q31v/
|
1547782499
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
captainjon
|
t2_3lf81
|
Are those space dots now a thing? I find it rather distracting. And why is new project not the first thing listed on the start page? I can modify order?
| null |
0
|
1543986359
|
False
|
0
|
eb4cdul
|
t3_a32r4e
| null | null |
t3_a32r4e
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4cdul/
|
1547036373
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
plonkisok
|
t2_2k105spy
|
Depends on the application of your application. You want to make a reusable enterprise system that integrates with multiple disparate client systems DI becomes an essential test aid and a feature.
| null |
0
|
1545173792
|
False
|
0
|
ec2q8bq
|
t3_a7d9m9
| null | null |
t1_ec24ct3
|
/r/programming/comments/a7d9m9/dependency_injection_in_python/ec2q8bq/
|
1547782565
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chucker23n
|
t2_39t9i
|
That’s what I had tried, but I still got warnings that I wasn’t in a nullable block.
| null |
0
|
1543986398
|
False
|
0
|
eb4cf7r
|
t3_a32r4e
| null | null |
t1_eb484rh
|
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb4cf7r/
|
1547036415
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tobeportable
|
t2_ae8vh
|
https://github.com/google/squires
| null |
0
|
1545174093
|
False
|
0
|
ec2qlpn
|
t3_a7arbt
| null | null |
t3_a7arbt
|
/r/programming/comments/a7arbt/how_to_write_perfect_python_commandline_interfaces/ec2qlpn/
|
1547782730
|
1
|
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.