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
badsectoracula
t2_3jbnd
> Win32 Actually there are *three* variations of this in terms of styling: 1. The "themed" variation that most apps use 2. The "unthemed" variation that still a lot of apps use because Microsoft for some reason decided to make theming opt-in and even then instead of using a `EnableThemes(ET_PLEASE);` API call they make it use a weird XML-based resource that you *still* have to jump through hoops with most resource compilers. 3. The "Windows NT 3.x" variation that uses slightly a altered unthemed style which fits the Win 3.x/NT 3.x a bit better, is enabled using an executable flag that indicates the exe's minimum supported OS and is still supported on modern 64bit Windows 10. In case you haven't seen it, [here is a comparison](https://i.imgur.com/WGKG9q5.png) using an example from OpenWatcom's samples (which has a switch to enable it). Ironically, the flatter style fits modern Windows 10 better :-P. Yes, you can still find some apps using the last one too. Of course add to this all the custom controls released over the years that replicate standard Windows controls, even by Microsoft themselves (hello MFC).
null
0
1543781931
False
0
eay4v3e
t3_a2b8u4
null
null
t1_eaxjoie
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay4v3e/
1546334349
8
t5_2fwo
r/programming
public
null
False
loup-vaillant
t2_3vfy2
> The real lesson should be; don't touch other peoples code without asking first. Technically, he *did* ask first. He didn't modify the main repository, just his own working copy. Then he showed what his idea _would_ do if they allowed it to be pushed to production. The lesson I see is more like "don't piss off powerful people".
null
0
1544911807
False
0
ebvbhsj
t3_a6f5bk
null
null
t1_ebuurej
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvbhsj/
1547657887
13
t5_2fwo
r/programming
public
null
False
heydabop
t2_6d07q
Yea Android emulator has been fine for ~2 years now I'd say.
null
0
1543781962
False
0
eay4xa8
t3_a2b8u4
null
null
t1_eaxnrbh
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay4xa8/
1546334405
10
t5_2fwo
r/programming
public
null
False
shponglespore
t2_4dw4r
If you take a program that was designed from the ground up to take maximal advantage of a rendering pipeline contained in a single machine, and you try to implement a remote display by just piping it through an off-the-shelf network protocol to a dumb receiver, there's gonna be a lot of latency. The more you can customize the protocol and/or implement application-specific logic on the receiving end, the closer you can come to matching the performance of the purely local case. Client-side JavaScript is a pretty good analogy. JS code is used to render a lot of UI updates on web pages that could, in principle, work just as well by requesting an updated page from the server, but in practice, doing it that way is intolerably slow. If you want to build a website that works well without client-side JS, you have to lower your expectations at the start and design your entire UI around the constraint that any update to the page content , no matter how small, is going to take at least a few hundred milliseconds.
null
0
1544911947
False
0
ebvbofr
t3_a6f5bk
null
null
t1_ebuw6v8
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvbofr/
1547657970
5
t5_2fwo
r/programming
public
null
False
Holy_City
t2_bj3zm
Sorry I misinterpreted what you're saying. I thought you were saying "not everything needs to be native" and not "not everything needs to be packaged as an app." We really need to fix the terminology in this industry, I don't even know what "native" means anymore.
null
0
1543782019
False
0
eay519h
t3_a2b8u4
null
null
t1_eaxqoc3
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay519h/
1546334454
10
t5_2fwo
r/programming
public
null
False
s888marks
t2_j5hzi
Read the review thread linked from the bug report.
null
0
1544911984
False
0
ebvbq82
t3_a6i85m
null
null
t1_ebv5adp
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebvbq82/
1547658021
22
t5_2fwo
r/programming
public
null
False
badsectoracula
t2_3jbnd
> and theres a chance that performance will actually be decent on modern hardware. And also it wont waste half the screen real estate with useless empty space.
null
0
1543782054
False
0
eay53oy
t3_a2b8u4
null
null
t1_eaxj68x
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay53oy/
1546334484
4
t5_2fwo
r/programming
public
null
False
seemone
t2_6j4j9
From that point on I would be speaking for all the other people, especially his boss.
null
0
1544912105
False
0
ebvbw1x
t3_a6f5bk
null
null
t1_ebut2th
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvbw1x/
1547658092
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543782081
False
0
eay55l2
t3_a2gatx
null
null
t1_eay2r6e
/r/programming/comments/a2gatx/what_proggraming_languages_should_i_learn/eay55l2/
1546334507
-1
t5_2fwo
r/programming
public
null
False
NonOrthoStice
t2_1uqmqte0
Oh dear. If you can't answer these questions, you have no idea whether your final result is correct or just numerical noise. I find scientific computing on supercomputers to be the ideal place for unit tests. They encourage you to consider the robustness of your calculation at every stage.
null
0
1544912197
False
0
ebvc0ik
t3_a6d3nz
null
null
t1_ebuhslg
/r/programming/comments/a6d3nz/tests_are_neither_necessary_nor_sufficient/ebvc0ik/
1547658148
8
t5_2fwo
r/programming
public
null
False
diggr-roguelike2
t2_13327ggz
> arbitrary compile time code execution Nobody wants that shit. People want tightly controlled and sandboxed compile time code execution, not compile-time "lol just fuck my shit up yolo".
null
0
1543782096
False
0
eay56n2
t3_a2b4n9
null
null
t1_eawxkzs
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eay56n2/
1546334520
-8
t5_2fwo
r/programming
public
null
False
--recursive
t2_cu0fm
Some of them are from movie quotes, too. Good grief. Who benefits from this?
null
0
1544912216
False
0
ebvc1gj
t3_a6i85m
null
null
t3_a6i85m
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebvc1gj/
1547658159
41
t5_2fwo
r/programming
public
null
False
bitwize
t2_6dq6
You don't need to learn those languages to be a professional in this field. There are many professional software engineers who've never touched a line of C or C++. And while it does help to learn them _eventually_, until you have some experience programming and understanding of how computers work it's best to hold off on learning them and stick with something that lets you explore without breaking in alarming ways.
null
0
1543782350
False
0
eay5o8z
t3_a2gatx
null
null
t1_eay55l2
/r/programming/comments/a2gatx/what_proggraming_languages_should_i_learn/eay5o8z/
1546334738
4
t5_2fwo
r/programming
public
null
False
AngularBeginner
t2_eky8x
But why are you posting it here? What relevance does it has to /r/programming? Check the sidebar.
null
0
1544912387
False
0
ebvc9nq
t3_a6j7gm
null
null
t1_ebvalxq
/r/programming/comments/a6j7gm/constructive_logic/ebvc9nq/
1547658261
7
t5_2fwo
r/programming
public
null
False
badsectoracula
t2_3jbnd
On Linux and other unices too. Pretty much only Mac OS X cares and even there there are several programs that break the UI consistency. Now don't get me wrong, i'd like it if applications were consistent, but i think this promise was broken since the moment Bill Atkinson decided to reimplement the button control in HyperCard.
null
0
1543782397
False
0
eay5rbo
t3_a2b8u4
null
null
t1_eax2q3x
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay5rbo/
1546334775
9
t5_2fwo
r/programming
public
null
False
HalibetLector
t2_17d4bn
There are companies out there doing exactly that, though, such as Parsec.tv. It's possible. It's just difficult.
null
0
1544912458
False
0
ebvcd3g
t3_a6f5bk
null
null
t1_ebuw6v8
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvcd3g/
1547658303
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543782456
False
0
eay5v6b
t3_a2b8u4
null
null
t1_eaxi65h
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay5v6b/
1546334822
2
t5_2fwo
r/programming
public
null
False
AI221
t2_lb3ty
Are you joking? Try playing with an additional 10ms latency. Not with a controller, although you still might notice, but with a mouse. It doesn't feel right. I mean, maybe some people who have never played a game before wouldn't know, but it definitely registers at a subconscious level and they will prefer the lower-latency system, given an input lag difference of 10MS. 10MS is almost a whole frame at 60hz, and almost 2 at 144hz. Yeah, you'll definitely notice that and it will degrade the experience, even if not consciously. To be clear: We're talking about _adding_ 10ms on top of all the other latencies, which there are many.
null
0
1544912471
False
0
ebvcdqr
t3_a6f5bk
null
null
t1_ebvb0oq
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvcdqr/
1547658311
2
t5_2fwo
r/programming
public
null
False
ggtsu_00
t2_72fwy
HTTPS is hugely misleading if you think it gives your internet usage total protection. It only provides *some* encryption of your traffic, not total encryption. Someone snooping your traffic can still infer a lot of information by simply looking at the plaintext TLS handshakes, and the size and frequency of packets exchanged under the session.
null
1
1543782473
False
0
eay5w83
t3_a2eskq
null
null
t3_a2eskq
/r/programming/comments/a2eskq/why_itunes_downloads_dont_use_https/eay5w83/
1546334836
-4
t5_2fwo
r/programming
public
null
False
Blobthe15
t2_8lzjf
That isn't really correct, because of client-side prediction. When you play a game, your connection to the server might be a normal 30ms, but the lag between your inputs and the screen will always be less than 10ms, because the majority of inputs that were possible on this tick will be possible on the next tick given by the server, so the game renders it as succeeding even if it didn't. The difference is between streaming the local gameworld to a player, and streaming all of the graphics. If you have to stream all of the graphics, the latency will need to be below 10ms. If you have to stream only the gameworld, the client can predict whether an input will succeed and draw appropriately.
null
0
1544912538
False
0
ebvch3o
t3_a6f5bk
null
null
t1_ebv20r6
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvch3o/
1547658352
9
t5_2fwo
r/programming
public
null
False
SoPoOneO
t2_6d0s
But at the enterprise level aren't most networks already intentionally NITM'ing all the traffic? I believe at my work they do this by creating their own signing authority and installing as "trusted" it on all company machines. This would allow for caching of all content whether over http or https.
null
0
1543782500
False
0
eay5y0m
t3_a2eskq
null
null
t1_eaxlc1l
/r/programming/comments/a2eskq/why_itunes_downloads_dont_use_https/eay5y0m/
1546334858
3
t5_2fwo
r/programming
public
null
False
HalibetLector
t2_17d4bn
SHH!!! Don't spook the web devs! You might accidentally invalidate some of their trendy new ideas, like that language server protocol.
null
0
1544912594
False
0
ebvcjyu
t3_a6f5bk
null
null
t1_ebumsr3
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvcjyu/
1547658387
2
t5_2fwo
r/programming
public
null
False
Holy_City
t2_bj3zm
All these things are issues in every cross platform GUI framework, or have at least affected them in the recent past. That's not an Electron problem. >All because the company doesn't want to pay for platform-specific UI engineers. Because fuck you, that's why. 2x the work, 2x the code to maintain. It's not really "fuck you" territory, it's basic cost-effect analysis. Not to mention we all know about DRY principles, don't we?
null
0
1543782518
False
0
eay5z6p
t3_a2b8u4
null
null
t1_eax5eqz
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay5z6p/
1546334873
0
t5_2fwo
r/programming
public
null
False
glaba314
t2_g0h7l
well I typically play RTS games, and latencies in the tens of milliseconds are expected and don't feel strange at all. If you mean 10ms on top of other latencies then I understand that you might notice that difference, i thought you meant 10ms total
null
0
1544912660
False
0
ebvcn7c
t3_a6f5bk
null
null
t1_ebvcdqr
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvcn7c/
1547658427
5
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543782533
False
0
eay604g
t3_a2b8u4
null
null
t1_eay4un7
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay604g/
1546334884
-7
t5_2fwo
r/programming
public
null
False
AI221
t2_lb3ty
My current monitor is 7MS input lag, and it's noticeable, but not the worst. My new one will be 4MS. 7MS is almost half a frame at 60hz, which you will definitely notice. You have to remember, I mean subconsciously notice and impacts the experience, not necessarily being able to say "woah there's a 7.1452MS latency on this!" I've tried game stream. It's god-awful latency. That's going to depend massively on where you live, but for me it's a no go. > lag doesn't matter if you're doing a massive compute job. Straw-man argument, that's not what I'm talking about.
null
1
1544912693
False
0
ebvcou6
t3_a6f5bk
null
null
t1_ebva037
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvcou6/
1547658447
-1
t5_2fwo
r/programming
public
null
False
saltupz
t2_1apw6yx6
Like in everything, there is always a cost of abstaction. The more abstactions, the more you pay, but you also get other rewards. You can slap togheter a app with electron in a single day that works on linux, osx and windows. Try doing that in any other lowlevel language.
null
0
1543782585
False
0
eay63nq
t3_a2b8u4
null
null
t1_eax8qpj
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay63nq/
1546334928
4
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
1
1544912716
False
0
ebvcpxv
t3_a6f5bk
null
null
t1_ebv20r6
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvcpxv/
1547658461
-1
t5_2fwo
r/programming
public
null
False
badsectoracula
t2_3jbnd
Maybe you are just used to it? I remember getting used to Eclipse on a machine with 512MB of RAM back in mid-2000s.
null
1
1543782622
False
0
eay665l
t3_a2b8u4
null
null
t1_eaxbr1m
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay665l/
1546334958
3
t5_2fwo
r/programming
public
null
False
InquiREEEEEEEEEEE
t2_2fm0meg7
> hb-private.hh's "Common Region for Access Protection" type, whose acronym is used in several places both inside that file, and other files. (No doubt the author is very pleased with themselves.) Nothing like a little passive aggression.
null
0
1544912798
False
0
ebvctyi
t3_a6i85m
null
null
t3_a6i85m
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebvctyi/
1547658511
150
t5_2fwo
r/programming
public
null
False
roodammy44
t2_366wv
That’s the same as electron, in fact. Chrome + Node with nothing loaded is just a bit over 100MB.
null
0
1543782654
False
0
eay689v
t3_a2b8u4
null
null
t1_eax3pcm
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay689v/
1546335016
1
t5_2fwo
r/programming
public
null
False
loup-vaillant
t2_3vfy2
Sometimes, their boss might.
null
0
1544912800
False
0
ebvcu2a
t3_a6f5bk
null
null
t1_ebut2th
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvcu2a/
1547658512
1
t5_2fwo
r/programming
public
null
False
floodyberry
t2_m24q
But they don't say it's not possible, they're just a bit smug that everyone is (_still_) getting it wrong when it's so obvious how to do it right.
null
1
1543782787
False
0
eay6h3v
t3_a2c8xv
null
null
t1_eaxvgyk
/r/programming/comments/a2c8xv/falsehoods_programmers_believe_about_names_with/eay6h3v/
1546335124
0
t5_2fwo
r/programming
public
null
False
brtt3000
t2_8796b
True but programmers aren't business executives.
null
0
1544912880
False
0
ebvcxzj
t3_a6f5bk
null
null
t1_ebuvcs1
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvcxzj/
1547658560
3
t5_2fwo
r/programming
public
null
False
FormerTimeTraveller
t2_10rucmh4
SQL is probably first priority for workplaces. It is pretty simple, and very different from other languages, but forces a useful way of thinking about and structuring data. But it is not enough on its own. A lot of organizations use a lot of .NET (C#). Java is a pretty good and portable general purpose OOP, but the Scala variant is becoming more mainstream. Python is very easy to code, very versatile, and has a huge set of libraries for everything you would typically need to do. JavaScript is often a go-to scripting language, and html/css/php is standard for web development. If you want full control and power, I think Rust is gaining over C and C++ with its ownership concept, which opens it up to awesome possibilities in parallel computing. To;dr learn SQL first, then python. Without knowing anything else
null
0
1543782794
False
0
eay6hjg
t3_a2gatx
null
null
t1_eay1boa
/r/programming/comments/a2gatx/what_proggraming_languages_should_i_learn/eay6hjg/
1546335130
1
t5_2fwo
r/programming
public
null
False
brtt3000
t2_8796b
If you pay per CPU core or other licences fuckery you know what is going on.
null
0
1544912944
False
0
ebvd10t
t3_a6f5bk
null
null
t1_ebux2r3
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvd10t/
1547658627
3
t5_2fwo
r/programming
public
null
False
WonderfulNinja
t2_yeloc5f
Mostly Java and Javascript, C# is less common. Gaming industry use modern C++ and few C#. For modern iOS applications you need Swift, for legacy iOS hell you need Objective C. Also in legacy hell software you will see PHP and badly coded old C++. Legacy hell pays more because people run from that shit.
null
0
1543782817
False
0
eay6j46
t3_a2gatx
null
null
t1_eay1boa
/r/programming/comments/a2gatx/what_proggraming_languages_should_i_learn/eay6j46/
1546335149
1
t5_2fwo
r/programming
public
null
False
Hero_Of_Shadows
t2_13fjr0
Jesus I just got images of some PM telling generals that they need to take 3 cities from the enemy in the next 2 weeks else their burndown charts will look very bad :(
null
0
1544913049
False
0
ebvd658
t3_a66102
null
null
t1_ebtjrdq
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebvd658/
1547658691
1
t5_2fwo
r/programming
public
null
False
ArrrGaming
t2_c3hig
Now I wish Unicode included all characters used by J.R.R. Tolkien.
null
0
1543782856
False
0
eay6lvf
t3_a2c8xv
null
null
t3_a2c8xv
/r/programming/comments/a2c8xv/falsehoods_programmers_believe_about_names_with/eay6lvf/
1546335183
5
t5_2fwo
r/programming
public
null
False
HalibetLector
t2_17d4bn
> You can have your cake and eat it too. I doubt that. You're completely missing the point of the story. The mere existence of that faster version gave enough ammunition to one department to win what appears to be a very big, very influential power struggle with several other departments. For that to be even remotely true, that means somebody was telling a lot of other people that making the program faster either wasn't possible or wasn't economically feasible. The only way to have your cake and eat it too in this scenario was to keep it to yourself and tell nobody. When asked why the program was so much faster for you, lie and say you have no idea. I'm not sure I would be able to do that with a straight face, nor would I want to. I'd probably quit first. But, that's me. I love contracting because I can fire my client if I don't like how they do business.
null
1
1544913114
False
0
ebvd9i0
t3_a6f5bk
null
null
t1_ebv9wbp
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvd9i0/
1547658732
3
t5_2fwo
r/programming
public
null
False
celicaraptor
t2_14j6q1
How is it compared to Java/JavaFX or Kotlin/TornadoFX ?
null
0
1543782872
False
0
eay6n16
t3_a2b8u4
null
null
t3_a2b8u4
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay6n16/
1546335197
2
t5_2fwo
r/programming
public
null
False
Kaze79
t2_bb9ex
In his opinion we should not. The advice was bad but it was a valubale lesson to him. Whenever someone suggests something or has feedback on the writer's code, he remembers the `Stay the hell out of other people's code` and actually listens harder because he doesn't want to be like his former boss. That's the way I interpreted the story.
null
0
1544913282
False
0
ebvdi7g
t3_a6f5bk
null
null
t1_ebuc5ff
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvdi7g/
1547658840
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543782913
1545146058
0
eay6pxo
t3_a2b8u4
null
null
t1_eay665l
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay6pxo/
1546335234
5
t5_2fwo
r/programming
public
null
False
pooerh
t2_5ibyi
It was Java-style verbose XML sent @ 300 baud.
null
0
1544913482
False
0
ebvdsam
t3_a6f5bk
null
null
t1_ebukqji
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvdsam/
1547658965
2
t5_2fwo
r/programming
public
null
False
_never_known_better
t2_ej8kmnc
Hi 📎. It looks like you're trying to write a shitty Facebook post. Would you like some help with that?
null
0
1543783015
False
0
eay6wza
t3_a2b8u4
null
null
t1_eaxk0pu
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay6wza/
1546335321
1
t5_2fwo
r/programming
public
null
False
HalibetLector
t2_17d4bn
That wouldn't have avoided this situation at all. It was an interdepartmental squabble and the guy he would have paired with would have told him to stay out of it, but not why. I doubt the devs on the ground had much insight into why the app was as bad as it was. Given the curiosity of the dev in question, it probably would have played out exactly the same. Pair programming is not a silver bullet.
null
0
1544913521
False
0
ebvdub8
t3_a6f5bk
null
null
t1_ebugjad
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvdub8/
1547658990
3
t5_2fwo
r/programming
public
null
False
diggr-roguelike2
t2_13327ggz
> and before you say something about Asian languages, the space savings of UTF-16 aren't as significant as you might think, once you mix in the markup/JS syntax and compression So, in other words, the space savings for Asian languages aren't significant if you don't use Asian languages? Not an argument, dumbass.
null
0
1543783015
False
0
eay6wzn
t3_a23cci
null
null
t1_eavfzlc
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eay6wzn/
1546335321
-2
t5_2fwo
r/programming
public
null
False
Anonman9
t2_ermnh
"crap" is swearing?
null
0
1544913531
False
0
ebvdut4
t3_a6i85m
null
null
t3_a6i85m
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebvdut4/
1547658997
27
t5_2fwo
r/programming
public
null
False
ander_bsd
t2_mrrn82w
TCL/TK runs many times faster on the GUI side than JS.
null
0
1543783042
False
0
eay6yxq
t3_a2b8u4
null
null
t1_eaxolf4
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay6yxq/
1546335345
18
t5_2fwo
r/programming
public
null
False
Str4yfromthep4th
t2_1650jz
You're essentially mixing Java with c# to a certain extent. First thing you learn in school is not to do this. Don't mix C and C++ they are different. Seeing mixed code is essentially a telltale sign of a beginner with no formal training.
null
0
1544913536
1544913824
0
ebvdv2r
t3_a6fh8y
null
null
t1_ebuoo5h
/r/programming/comments/a6fh8y/looking_for_criticism_on_my_tutorial_opening_a/ebvdv2r/
1547658999
6
t5_2fwo
r/programming
public
null
False
ander_bsd
t2_mrrn82w
> The difference between an ideal native application and an ideal platform-independent application is minuscule. LMAO. You didn't use a Pentium3/Core Duo recently, right? Tell my GF that she has to use JS ridden bloatware under her C2D with 4GB of RAM, it would throw the laptop to your face.
null
0
1543783093
False
0
eay72k0
t3_a2b8u4
null
null
t1_eaxijmi
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay72k0/
1546335390
7
t5_2fwo
r/programming
public
null
False
pavel_lishin
t2_2w8h
This would not be a good environment for me. I'd be too stressed by the end of the week to care about personal development, and would give zero shits about the quality of the end product.
null
0
1544913560
False
0
ebvdwac
t3_a6f5bk
null
null
t1_ebuwrm8
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvdwac/
1547659015
3
t5_2fwo
r/programming
public
null
False
sidegrid
t2_y0986
Why do people say "softwares"?
null
0
1543783110
False
0
eay73r5
t3_a2b8u4
null
null
t1_eawxtg6
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay73r5/
1546335404
10
t5_2fwo
r/programming
public
null
False
Fergus653
t2_qq11m
>\- reduces portability/ties you to a vendor I would say in some cases the opposite applies. For many years I supported a clinical application which we deployed to multiple hospitals, each with a different back-end patient administration system. We defined the common entities in stored procedures customized to each vendors PAS and our data layer was mostly a single code set which only needed to call the correct stored procedures, very little needed to be done in our code to handle the different schema in the other vendor's software. Of course this relied on us getting permission from each vendor to install our own stored procedures in their database, or in some cases we contracted to them to provide the interface. It was also simplified by the fact that we were not updating the PAS, just reading patient and clinical information to combine with our application's data. ​
null
0
1544913643
False
0
ebve0cd
t3_a691r7
null
null
t1_ebtj90h
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebve0cd/
1547659064
1
t5_2fwo
r/programming
public
null
False
ander_bsd
t2_mrrn82w
> You should value cross-platform compilation for that bytecode, not for the source code which you don't have and which sometimes no longer exists. Please, kid, BSD ports have software since 1980 and before.
null
0
1543783170
False
0
eay785p
t3_a2b8u4
null
null
t1_eaxnxi5
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay785p/
1546335459
2
t5_2fwo
r/programming
public
null
False
brtt3000
t2_8796b
Being able to talk freely with direct coworkers/teammembers is the best thing for productivity and collaboration. Sitting with people with other projects or job functions has a chilling effect on the flow of communication.
null
0
1544913660
False
0
ebve16q
t3_a6f5bk
null
null
t1_ebuuyp2
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebve16q/
1547659075
8
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
1
1543783230
False
0
eay7cfd
t3_a2b8u4
null
null
t1_eay2sra
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay7cfd/
1546335513
-1
t5_2fwo
r/programming
public
null
False
AI221
t2_lb3ty
Once you write a single C compiler (in a different language), it can be used to compile a new C compiler that's written in C. From there, you use that _already-compiled_ C-in-C compiler to compile itself. It's called bootstrapping.
null
0
1544913734
False
0
ebve4us
t3_a6bev8
null
null
t1_ebv2883
/r/programming/comments/a6bev8/9cc_a_small_c_compiler/ebve4us/
1547659120
15
t5_2fwo
r/programming
public
null
False
JoshiKousei
t2_14hgkm
Is undefined behavior even detectable in all cases though?
null
0
1543783328
False
0
eay7ji9
t3_a2epsa
null
null
t1_eay1zr5
/r/programming/comments/a2epsa/undefined_behavior_is_really_undefined/eay7ji9/
1546335630
15
t5_2fwo
r/programming
public
null
False
kds1398
t2_422c1
Siloing as I know it in agile is where individuals are personally responsible for specific code bases and specific technical duties within a team. So he isn’t talking about breaking down the separation of duties and code bases. He’s talking about being open to receiving and giving criticism.
null
0
1544913740
False
0
ebve54k
t3_a6f5bk
null
null
t1_ebv6rop
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebve54k/
1547659123
3
t5_2fwo
r/programming
public
null
False
ander_bsd
t2_mrrn82w
I have old as fuck but UPDATED software which interface was 20 years old, and still runs fast and *secure*. >*Results not guaranteed. Especially if the program is still maintained. Then it's pretty much complete garbage. Tell that to Mplayer, MPV, XPDF (Motif), XFig, Xephem, GV, Emacs, half of the window managers of Unix...
null
0
1543783374
False
0
eay7mvp
t3_a2b8u4
null
null
t1_eaxj68x
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay7mvp/
1546335672
2
t5_2fwo
r/programming
public
null
False
rememberthesunwell
t2_fujg8
Except for the fact that language server protocol works literally great in all the cases I've tried. See: vscode
null
0
1544913834
False
0
ebve9n8
t3_a6f5bk
null
null
t1_ebvcjyu
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebve9n8/
1547659208
2
t5_2fwo
r/programming
public
null
False
early_charles_kane
t2_8490sqs
This was 5 years ago. I’m sure most of the people working there are no longer there. I’m certainly no longer there. And I’m not sure how Proguard worked 5 years ago not so I think they used gradle because that was still being actively developed by Google and not yet the industry standard. This is way off the it takes only 2 minutes to fully compile an app topic that started this thread.
null
0
1543783465
False
0
eay7t57
t3_a2b8u4
null
null
t1_eaxzk1f
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay7t57/
1546335748
13
t5_2fwo
r/programming
public
null
False
Mdjdksisisisii
t2_1267g0o8
Lmao don’t touch other people’s code, I must be taking crazy pills because at my company that’s all we do lol
null
0
1544913840
False
0
ebve9xc
t3_a6f5bk
null
null
t1_ebuurej
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebve9xc/
1547659212
4
t5_2fwo
r/programming
public
null
False
jl2352
t2_11g67p
When Android was first launched it probably made a lot of sense. The mobile hardware at the time was nothing like today.
null
0
1543783472
False
0
eay7tlq
t3_a2b8u4
null
null
t1_eaxvbsp
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay7tlq/
1546335754
17
t5_2fwo
r/programming
public
null
False
krista_
t2_ev3bu
i understand your point completely. i disagree with it. computers back then were a *lot* different. one could eat 50% of your cpu *easily* simply performing a bulk packet transfer. there's a reason os/2 bragged about being able to format a floppy and print at the same time. i spent a lot of time hand optimizing assembly back in those days. simply reordering instructions could yield a 50% *or more* improvement in execution time. so, you have an "extended" or "expanded" memory manager and/or driver to handle anything outside of 20 address bits. as data is limited to blocks of 2^16 bytes, because intel addressing was segmented, with a 16 bit segment register, segments started every 16 bytes... so memcpy (or drawing lines on the screen in mapped vga memory) required additional checking to ensure you don't overflow your segment. anyhooo, as one had < 640k addressable memory, using more required paging from xmm or emm... and depending on your system, this could actually *be* a memcpy handled by the os or xmm/emm driver *in a weird ass addressing mode*, which took time to switch to, and usually a context switch. so, as your network driver (and every-bloody-thing-else) on your pc tried to keep the first 640k clear for the program you were running: - fetch line coordinates - build network request - call network stack - calls software interrupt - manually saves context - pages to/from xmm to build network buffer - issues software interrupt to send packet - interrupt handled to receive packet - manually save context - page xmm for packet - issue software interrupt to renderer informing packet received - renderer manually saves context - renderer pages xmm for packet - renderer draws a line and then it sends an ack, and the who kit and caboodle rolls back up. it was a clusterfuck. things were bad back then for complex code architecture, things that we take for granted today. formatting a hard drive would take most of the day, and you weren't doing anything else with your machine. like, a raspberry pi has several orders of magnitude more power than these types of machines. i can *easily* believe ditching the network code (even never sending anything on the wire) could yield a 100x speedup.
null
0
1544913928
False
0
ebvee4f
t3_a6f5bk
null
null
t1_ebv957y
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvee4f/
1547659263
4
t5_2fwo
r/programming
public
null
False
ander_bsd
t2_mrrn82w
AKA GTK3 software.
null
0
1543783511
False
0
eay7wd2
t3_a2b8u4
null
null
t1_eay53oy
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay7wd2/
1546335788
2
t5_2fwo
r/programming
public
null
False
panorambo
t2_nv5sw
Wait, I merely argue that bringing up concerns to code owners expecting them to solve it, is not going to work, in my experience, *even* if you show them *why* it's slow. The *only* evidence accepted by an engineer, and rightfully so, is showing them a working solution. If the engineer believes they "need" a network distributed client-server framework to solve a problem, then that's what they thought was best, and short of showing them something better you won't be convincing them. That's my experience with stubborn computer scientists. To be fair you're right about bugs -- new code may introduce new faults, with emphasis on "new". But degraded performance from a user's point of view is bad too. One absolutely needs to assess where there is more risk -- introducing new faults but taking the chance on improving performance, or keeping old code. I also struggle to understand the doctor comparison, how do doctors relate to computer scientists here? Is it that we do things without regard of empirical evidence too often? Is that the point of comparison?
null
0
1544914089
1544914525
0
ebvem97
t3_a6f5bk
null
null
t1_ebv43ih
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvem97/
1547659363
2
t5_2fwo
r/programming
public
null
False
CODESIGN2
t2_h00ih
> It is a win for most companies/developers though otherwise we wouldn't continually see an endless cycle of tech trying to handle the same problems. I think you're mistaking short-term ease covering the same ground with long-term benefit, or genuine differentiation. You also need to be careful thinking about who is benefiting. Maybe some indie devs do, but dev shops that are not huge often get swallowed whole in areas. > If this was such a no win situation, Electron would have never been created. There is always a benefit to a large mega-corp like Google in shitting it's technologies in as many places as possible. I don't hate electron, but it's success has nothing to do with it's suitability. It's in a grossly underfunded area. What outside of electron is there? > It may not be a win to consumers, but it is a win to many companies/devs. Perhaps in the VC world there are some wins to be had, but those companies are not blindly investing. It's simply not a scalable solution.
null
0
1543783532
False
0
eay7xrm
t3_a2b8u4
null
null
t1_eaxw1j3
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay7xrm/
1546335805
2
t5_2fwo
r/programming
public
null
False
appropriateinside
t2_729ad
The title is what the last dev of the system I'm working on did... The entire applications business logic is in stored procedures. Filesystem operations are also in stored procedures. Everything is a stored procedures there are thousands of them. It's the dumbest shit I've ever had to deal with.
null
0
1544914231
1544914702
0
ebveti0
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebveti0/
1547659452
2
t5_2fwo
r/programming
public
null
False
timcotten
t2_bhzle
Gotcha - I understand what you mean now. Yes, since each SLEEP() can lock up a connection and since connections are finite and meant to execute in milliseconds and get recycled, then it's trivial to bring down database access with a flood of SLEEP() attacks. Some examples are found here: [https://blog.pythian.com/mysql-injection-sleep/](https://blog.pythian.com/mysql-injection-sleep/)
null
0
1543783558
False
0
eay7zju
t3_a2cosx
null
null
t1_eaxmlab
/r/programming/comments/a2cosx/a_very_sleepy_mysql_attack/eay7zju/
1546335827
3
t5_2fwo
r/programming
public
null
False
appropriateinside
t2_729ad
SQL is not meant for your business logic. It is the terrible platform for that. Your essentially hard coding everything. Being verse with SQL makes it more manageable yes, but being marginally competent with your programming makes it even more manageable to be in your codebase. I'm dealing with a business application where all the logic, all the tiny little queries, even filesystem actions are stored procedures. It's by far the least maintainable code base I have ever dealt with in my life, and the dozen other people that have to deal with it have all agreed. Even the UI view states are hardcoded into stored procedures. Something that should take 5 minutes to change takes hours. Something that should take a week takes months. It's easy to find someone to work on your codebase, it's not very easy to find someone to work on your codebase when all the business logic is in SQL. Let's not even get into the giant shitpile of mostly unfixable vulnerabilities that we have. Long-term maintainability is far more important and expensive.
null
0
1544914443
1544914814
0
ebvf4ac
t3_a691r7
null
null
t1_ebt7roa
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebvf4ac/
1547659587
1
t5_2fwo
r/programming
public
null
False
CarlSagan79
t2_69xwf
Agreed. That they say it's "expected" just means it's consistent with the code as written. That is to say, "we only use http and never https." It's almost certainly an oversight of the developers and they need to fix this stat. There's no practical reason for this. If Windows Update and Google Play can pull it off, so can Apple.
null
1
1543783598
False
0
eay82ae
t3_a2eskq
null
null
t1_eaxldim
/r/programming/comments/a2eskq/why_itunes_downloads_dont_use_https/eay82ae/
1546335862
-4
t5_2fwo
r/programming
public
null
False
Gotebe
t2_2y75
Just go up, what's important is there on top. And I know you're pretending that you don't see it, because it rattles your cage.
null
0
1544914475
False
0
ebvf5s1
t3_a5mumu
null
null
t1_ebv9wet
/r/programming/comments/a5mumu/agile_estimates_versus_noestimates_bridging_the/ebvf5s1/
1547659605
1
t5_2fwo
r/programming
public
null
False
monsto
t2_52jog
>They all are different UX paradigms. yeah ok. I wish you luck.
null
0
1543783612
False
0
eay837r
t3_a2b8u4
null
null
t1_eay1v4r
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay837r/
1546335873
1
t5_2fwo
r/programming
public
null
False
mlk
t2_2nus6
Reactstrap is fine
null
0
1544914498
False
0
ebvf6vz
t3_a5zjwu
null
null
t1_ebrb1dy
/r/programming/comments/a5zjwu/bootstrap_340_released/ebvf6vz/
1547659619
2
t5_2fwo
r/programming
public
null
False
davidk01
t2_1c5pc
Halting problem and all but even in the cases where UB could be prevented the compiler still chooses to just YOLO it without asking the programmer to opt in.
null
0
1543783648
False
0
eay85ly
t3_a2epsa
null
null
t1_eay7ji9
/r/programming/comments/a2epsa/undefined_behavior_is_really_undefined/eay85ly/
1546335902
5
t5_2fwo
r/programming
public
null
False
loup-vaillant
t2_3vfy2
> Many doctors initially resisted the idea of washing their hands before surgery. Their intentions may have been good, They were not. When [Ignaz Semmelweis](https://en.wikipedia.org/wiki/Ignaz_Semmelweis) discovered that properly washing one's hand with chlorine after an autopsy would dramatically reduce occurences of [Puerperal fever](https://en.wikipedia.org/wiki/Puerperal_fever), some doctors went out of their way to perform autopsies _just before assisting childbirth_, and raised the mortality rate of the mothers they "cared for" to a virtual *certainty* (over 9 mothers out of 10 were dying at their hands). While only a few were this purposefully murderous, most of the profession was too busy looking good and denying that they were the cause of the infections to do anything about it. Nobody actually look at the empirical evidence and said something like _"okay, chlorine hand washing is correlated with lower childbirth deaths **somehow**. We don't know why, but we should probably try this out, just in case it saves many many lives."_ Antisepsis caught on only much later, when people like Louis Pasteur and Joseph Lister developed germ theory. I suspect it was because this time, doctors understood what was going on, and therefore wouldn't be perceived as performing rituals they don't understand. For many people, even today, social status is more important than the lives of others.
null
0
1544914512
False
0
ebvf7ka
t3_a6f5bk
null
null
t1_ebv43ih
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvf7ka/
1547659628
6
t5_2fwo
r/programming
public
null
False
ander_bsd
t2_mrrn82w
You could tune your WM/DE to *anything*. Any taste... - Happy/childish mood? Hardcore coding with kids/cartoony icons. No one bat an eye, and even a lot of "serious" people liked it, it was relaxing. - Active mood? "Toxic/radioactive" icons, metalish theme. Lets pass that exam as a boss. - Minimalistiic mood? Back in the day you had Fluxbox themes mimicking a lot of /r/unixporn minimal thrends. Gray/flatish looks, minimal/outlined wallpapers, few desktop icons. Total zen and calm mind to code/syadmin. No distractions. Now everything is flat as boring. Everything is copied to and from each other. As I said, check /r/unixporn. There is no originality. It's like the new coders/aficionados are afraid of being criticized. Or worse, extremes. Either i3-gaps faking being a programmer, or huge adwaita/Arc themes with the same Numix/Faenza icons everywhere. Meh. I loved the Fluxbox/FVWM modding comunity back in the day. People composed unique themes. Steampumk, Gaudi "childdish" icons as if they were taken from a fairy tale, modernish, MAC-ish, industrial themed...
null
0
1543783731
1543783948
0
eay8b3d
t3_a2b8u4
null
null
t1_eax089x
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay8b3d/
1546335970
2
t5_2fwo
r/programming
public
null
False
izikiell
t2_igjpx
An international crisis just got avoided, thanks god ! /s
null
0
1544914669
False
0
ebvff2d
t3_a6i85m
null
null
t3_a6i85m
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebvff2d/
1547659720
8
t5_2fwo
r/programming
public
null
False
davidk01
t2_1c5pc
I think you missed the point of my comment. It's still not native. There is an interpreter between you and the UI.
null
0
1543783778
False
0
eay8ea9
t3_a2b8u4
null
null
t1_eay6yxq
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay8ea9/
1546336009
-11
t5_2fwo
r/programming
public
null
False
guepier
t2_5row0
Hang on, could you clarify a point please: > Only the size of the largest source file matters. Plus all the files it includes (transitively), surely. Is that still below 200 kiB for Linux? That strikes me as rather little, even just to store the textual source representation.
null
0
1544914685
False
0
ebvffue
t3_a6bev8
null
null
t1_ebuzib0
/r/programming/comments/a6bev8/9cc_a_small_c_compiler/ebvffue/
1547659729
3
t5_2fwo
r/programming
public
null
False
myringotomy
t2_9f1cg
How much work would it be to fork the language and make it a little more pleasant to work with. Less verbose, easier garbage collection etc.
null
0
1543783841
False
0
eay8iq6
t3_a2b8u4
null
null
t1_eax99qw
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay8iq6/
1546336064
2
t5_2fwo
r/programming
public
null
False
christmasyiffaccount
t2_pt1dhf0
ZGC doesn’t require a specialized JVM and is relatively low latency. It also fits the definition of real-time.
null
0
1544914844
False
0
ebvfnkj
t3_a661pv
null
null
t1_ebsm94s
/r/programming/comments/a661pv/cettia_a_fullfeatured_realtime_web_framework_for/ebvfnkj/
1547659853
1
t5_2fwo
r/programming
public
null
False
exorxor
t2_h57gcb9
This is ambiguous language. Regardless, anyone who is up against me, wishes they have never been born.
null
0
1543783858
False
0
eay8jxc
t3_a2b8u4
null
null
t1_eax2yr0
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay8jxc/
1546336079
1
t5_2fwo
r/programming
public
null
False
appropriateinside
t2_729ad
How do you even go about breaking apart 10000 + line long stored-procedures in a timely manner? That are trying to emulate business logic, so it's unreasonably complex. No one on our team can even get a handle on the things, never mine refactoring it.
null
0
1544914915
False
0
ebvfr73
t3_a691r7
null
null
t1_ebtxb3m
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebvfr73/
1547659898
1
t5_2fwo
r/programming
public
null
False
GYN-k4H-Q3z-75B
t2_lbonz
This is what happens when you go full Q/A engineer.
null
0
1543783952
False
0
eay8qc6
t3_a2c8xv
null
null
t3_a2c8xv
/r/programming/comments/a2c8xv/falsehoods_programmers_believe_about_names_with/eay8qc6/
1546336158
-4
t5_2fwo
r/programming
public
null
False
i9srpeg
t2_b7hny
To me, that feels like a frontend dev saying that writing CSS is worth it only if you have a dedicated CSS-coder in house. I don't think SQL is so hard to master that a backend programmer can't be expected to know it. You can easily specialize in both SQL and your favorite backend language.
null
0
1544914930
False
0
ebvfrzy
t3_a691r7
null
null
t1_ebuor0l
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebvfrzy/
1547659908
1
t5_2fwo
r/programming
public
null
False
ander_bsd
t2_mrrn82w
>then in stumbles some gimmicky app that just has to be light because fuck you, I'm pretty, and there's no way to change it. sct 3500 at night. sct 6500 in the morining.
null
0
1543783997
False
0
eay8thm
t3_a2b8u4
null
null
t1_eax089x
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay8thm/
1546336227
1
t5_2fwo
r/programming
public
null
False
i_feel_really_great
t2_qzxow
Improved code vs. office politics - office politics wins!
null
0
1544915043
False
0
ebvfxtt
t3_a6f5bk
null
null
t3_a6f5bk
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvfxtt/
1547659980
0
t5_2fwo
r/programming
public
null
False
didibus
t2_4xpocx2
> Your comment sounded a bit patronizing That definitly wasn't my intent, sorry if it came off that way. > It's possible I was (or still am) a beginner, but I like to think I have pretty good grasp on the language. I believe the problem I had is more about readability of and getting around the codebase than knowing the language. I contributed to the ascension of Clojure as our primary language on my team at work a few years ago. So I had the opportunity to see a lot of developers through their Clojure journey. The problem you describe is what most people struggle with the longest. Even once you understand the concepts and the semantics, it can feel disorienting to navigate a code base. Where are the entities defined, where is the data modeled, where are the main components, what are the arguments, what's in this map, etc. This is something you do get over eventually, you develop an intuition into it and a better sense of the cues in the code that helps you get a sense of the code base at a glance. As well as, like you guessed, being one with the REPL. Also, there are techniques eventually you develop to write code in a way that makes understanding it easier, such as with better naming, proper sprinkling of doc and comments, better design, flatter composition, more purity, the use of destructuring, now there is spec also obviously. So this is what I meant by beginner. Maybe beginner was too novice, you could be considered intermediate or whatever, those are fuzzy qualifiers. My point is more that struggling with this in Clojure is still a sign that you havn't finished mastering the language. Yes, this is a weak point in Clojure for sure. There's nothing attractive in having to climb a massive learning wall just to be able to understand an unfamiliar code base. The last two years with Spec have really been about that. How can the wall be lowered or eliminated while not giving up on anything else. This holds true even once you're past that wall. I can manage myself around unfamiliar code bases, but making that easier and less effort would be great even for more experienced Clojure devs. I think a lot of people don't understand though what people like me feel like we gain with this. Why would you struggle through this and accept that situation? Why continue to use and prefer using Clojure. Why don't you move to languages who put that problem front and center? Honestly, it's a great question, and I don't blame anyone who chooses to say screw this. It's also a question I've never managed to answer in ways people understand. For example, I mentioned how Spec is trying to solve this problem while not sacrificing anything else. So what are those things? I wish I could just list them out, but a lot of it is immaterial. There's this thing about working with Clojure (and some of the other Lisps as well), that makes it the coding experience is completly different. I normally tell people it's like the difference between jamming (as in musical jam session) and composing music (as in classical and writing music sheets). Clojure is the Jazz of programming languages. If you're more in the camp that programming is a science, you might think its crazy not to want to formalize things even more. If you believe programming is more of an art and trade, you'll probably love the improvisation Clojure provides. This is also the true essence of dynamic programming in my view. I think the word dynamic now is too strongly attached to this idea of not having type information at compile time. That's not where the idea developed though. Dynamism is about programs that are living things, that are self aware, and which can reshape themselves as they run. It's about blurring the lines between code, compilation and execution as well as bringing the programmer closer to the program. The lack of type information is simply an artifact of the current mechanism which try to achieve this dynamism. There's a reason there are no legitimate typed Lisp, because no one has figured out a way to bring type information and retain the same level of dynamism. That said, if you look at languages on all sides, you will see that static systems are becoming more and more dynamic, and dynamic systems are trying to close the gaps in terms of safety. What you won't see often is languages trying to become more static (in the dynamic, static sense I described above, not the type information sense) > I used Clojure (as in, on JVM). Ah okay, I think since you mentioned Slack and Elm, I figured you must have been targeting JavaScript. > I just like static typing better now after the experience. Like I said, I don't blame anyone going that route. There's good reasons to do so.
null
0
1543784017
1543784240
0
eay8usv
t3_a1o5iz
null
null
t1_eaxivra
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eay8usv/
1546336243
2
t5_2fwo
r/programming
public
null
False
appropriateinside
t2_729ad
He's not referring to it being low-level, just it being hard to read when you're using it to solve the same problems you would with a typical programming language.
null
0
1544915069
False
0
ebvfz5f
t3_a691r7
null
null
t1_ebuecij
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebvfz5f/
1547659996
3
t5_2fwo
r/programming
public
null
False
TheBestOpinion
t2_94mm1
Why do you want to see the world burn ?
null
0
1543784035
False
0
eay8vuc
t3_a2b8u4
null
null
t1_eay73r5
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay8vuc/
1546336255
-3
t5_2fwo
r/programming
public
null
False
your-opinions-false
t2_gmuze
10 milliseconds is 2/3 of a frame. That's simply not noticeable unless you're a pro fighting game/CS:GO player playing in a competitive way. Games already have many frames of lag built-in. Doom 2016, for example, [has about 87ms of input latency](https://www.eurogamer.net/articles/digitalfoundry-2017-console-fps-input-lag-tested) (when targeting 60fps). Many games take longer than that. An extra 10ms would hardly make a game jump from normal to barely playable. 100ms would.
null
0
1544915119
False
0
ebvg1ne
t3_a6f5bk
null
null
t1_ebvcpxv
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvg1ne/
1547660027
19
t5_2fwo
r/programming
public
null
False
ander_bsd
t2_mrrn82w
Custom Manifest files could theme your Windows NT theme based old applications.
null
0
1543784075
False
0
eay8yal
t3_a2b8u4
null
null
t1_eay4v3e
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eay8yal/
1546336286
1
t5_2fwo
r/programming
public
null
False
juuular
t2_62rzw
I write all my code as if someone else could see it. I really wish I was in a job where other people could see my code, I really try to make it beautiful.
null
0
1544915142
False
0
ebvg2tk
t3_a6f5bk
null
null
t1_ebv8vif
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvg2tk/
1547660042
6
t5_2fwo
r/programming
public
null
False
EntroperZero
t2_573jc
Nah, some of these are good points, others, nobody cares. It's probably a good idea for your system to allow people to change their name. This happens all the time. It's probably not a good idea for your system to attempt to handle names which can't be represented in Unicode. Or people who don't have names. At some point, you place the onus on the user to integrate with your system rather than the other way around. You're not going to get far in modern society without a name.
null
0
1543784084
False
0
eay8yx2
t3_a2c8xv
null
null
t1_eawy9w9
/r/programming/comments/a2c8xv/falsehoods_programmers_believe_about_names_with/eay8yx2/
1546336293
13
t5_2fwo
r/programming
public
null
False
kotzkroete
t2_56p34
How do you even know what machine this code ran on? For all we know it could have been an SGI workstation with hardware accelerated drawing.
null
1
1544915145
False
0
ebvg2ye
t3_a6f5bk
null
null
t1_ebvee4f
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvg2ye/
1547660043
-1
t5_2fwo
r/programming
public
null
False
chedabob
t2_2ktdr
I don't think helping enterprise networks cache the downloads is the reason. Firstly, unless iTunes did SSL pinning, any reasonably large company will have their own root certificate installed on machines so they can intercept SSL traffic (for monitoring, filtering, and caching). Secondly, videos and music downloaded from iTunes are unique per user as they contain a bit of information about the purchaser, so caching the downloads is of little value https://i.imgur.com/1BkO3IB.png It's more likely that there's little reason to change.
null
0
1543784101
False
0
eay8zzy
t3_a2eskq
null
null
t3_a2eskq
/r/programming/comments/a2eskq/why_itunes_downloads_dont_use_https/eay8zzy/
1546336307
13
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
1
1544915223
False
0
ebvg6vu
t3_a6f5bk
null
null
t1_ebvg1ne
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebvg6vu/
1547660092
-1
t5_2fwo
r/programming
public
null