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
[deleted]
None
[deleted]
null
0
1543806402
False
0
eaz6rx5
t3_a2b8u4
null
null
t1_eaz2zzh
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaz6rx5/
1546352094
-8
t5_2fwo
r/programming
public
null
False
MINIMAN10001
t2_15mrcb
I mean what would even be the opposite. Traits of oop include objects encapsulating state which is modified by function calls. The opposite would be what, directly modifying global state? Although I guess opposite could be meant to be used as "anything but oop" which gives the other common choices of functional programming and generic programming OOP seems like a straight forward way to go about programming. You give a thing a name and things it can do. When learning it send to me to be the most intuitive. I see no reason to avoid it.
null
0
1544961395
False
0
ebwlvj3
t3_a6nfvi
null
null
t1_ebwh1ew
/r/programming/comments/a6nfvi/what_is_object_oriented_programming_oop_basic_oop/ebwlvj3/
1547679562
3
t5_2fwo
r/programming
public
null
False
geordano
t2_6cd1j
I think we don't need to pick on Dart, nowadays modern languages have more in common than they differ, so if you know one of Java/C#/Kotlin/Swift/TypeScript, you will be quite comfortable with Dart in no time. It's not a bad language I'd say.
null
0
1543806702
False
0
eaz7428
t3_a2b8u4
null
null
t1_eax29mk
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaz7428/
1546352243
1
t5_2fwo
r/programming
public
null
False
_INTER_
t2_qqzj8
Agreed, it shows the childish nature of some JS people. The PR is ~~ready~~ open. The response is a wall of text arguing that "Fuck" needs to stay just because the PR is from IBM.
null
0
1544961595
1544968912
0
ebwlzr7
t3_a6i85m
null
null
t1_ebw4uws
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwlzr7/
1547679644
0
t5_2fwo
r/programming
public
null
False
dgriffith
t2_3tdq4
That's right, because that's a type error, and compilers are smart enough to know that strings and numbers don't mix. But when you write a program to try and access an uninitialised variable, your C compiler will happily build it for you. It makes the assumption that you know what you're doing. So it builds your program, setting up the assembler code that says "int X is at memory location Y", and what you do with that memory location is up to you. Maybe you *want* garbage out of that variable that's likely to be different on every startup. Maybe there's a sequence of events in your program that should set that variable to something before you access it, the compiler doesn't know. So it lets you do it, and good luck with that. Other languages, such as Rust, are a lot more rigorous with their checks during compile-time. Attempts to use uninitialised variables in those languages mean that they won't compile.
null
0
1543806879
False
0
eaz7bar
t3_a2epsa
null
null
t1_eaz0idl
/r/programming/comments/a2epsa/undefined_behavior_is_really_undefined/eaz7bar/
1546352332
5
t5_2fwo
r/programming
public
null
False
sic_itur_ad_astra
t2_ivgrx
Every time I see a “test the limits of your hearing” YouTube video, I groan. This author’s hearing does not suddenly cut off at 15kHz, and neither does yours. The audio on that video is compressed, which includes a hard low-pass filter at 15kHz. In reality, your hearing would fade out as the signal got higher. If you ever hear a sudden cutoff like in the video, it’s not that you can’t hear it. It’s just that the sound is suddenly no longer playing.
null
0
1544961737
False
0
ebwm2op
t3_a6k3qb
null
null
t3_a6k3qb
/r/programming/comments/a6k3qb/how_shazam_works_audio_fingerprinting_and_indexing/ebwm2op/
1547679680
56
t5_2fwo
r/programming
public
null
False
oridb
t2_90rkq
There is a lot of value in doing boring things well
null
0
1543807116
False
0
eaz7kuh
t3_a2b4n9
null
null
t1_eawwcge
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eaz7kuh/
1546352476
6
t5_2fwo
r/programming
public
null
False
[deleted]
None
[removed]
null
0
1544961755
False
0
ebwm301
t3_a6k3qb
null
null
t3_a6k3qb
/r/programming/comments/a6k3qb/how_shazam_works_audio_fingerprinting_and_indexing/ebwm301/
1547679684
4
t5_2fwo
r/programming
public
null
False
postreplypreview
t2_2cmh4ary
C++ has a garbage collector?
null
0
1543807490
False
0
eaz7zp0
t3_a2b4n9
null
null
t1_eayd1uk
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eaz7zp0/
1546352660
0
t5_2fwo
r/programming
public
null
False
MasterKongQiu
t2_i3pmq
Fine, I'll just disable user input. Problem solved.
null
0
1544962275
False
0
ebwmcz8
t3_a6nfgh
null
null
t1_ebwjn29
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwmcz8/
1547679808
36
t5_2fwo
r/programming
public
null
False
sisyphus
t2_31lml
Personally, I'd rather have a few that work well (which includes, with an acceptable level of performance and resource utilization) than a wide variety of crap. "Low barrier to entry" is also user hostile, it prioritizes being able to get cheap devs over building quality software.
null
0
1543807818
False
0
eaz8cpz
t3_a2b8u4
null
null
t1_eayzr9e
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaz8cpz/
1546352821
18
t5_2fwo
r/programming
public
null
False
loup-vaillant
t2_3vfy2
No scrollbar. Scrollbars should not require fucking JavaScript. (There, another swear word. How about solving the root cause of those swear words, instead of suppressing the evidence?)
null
0
1544962300
False
0
ebwmdhz
t3_a6i85m
null
null
t3_a6i85m
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwmdhz/
1547679814
1
t5_2fwo
r/programming
public
null
False
fp_weenie
t2_2e56j0fa
> bare in mind *bear > And VSCode gets a lot of contributors, people can contribute who may not know much about each platform and C/C++, and can write extension. Vim has many plugin writers as well.
null
0
1543807851
False
0
eaz8e4j
t3_a2b8u4
null
null
t1_eay7cfd
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaz8e4j/
1546352838
2
t5_2fwo
r/programming
public
null
False
tristes_tigres
t2_edvst
Very unsophisticated mathematically, it's no wonder Shazam works so poorly.
null
0
1544962535
False
0
ebwmi3f
t3_a6k3qb
null
null
t3_a6k3qb
/r/programming/comments/a6k3qb/how_shazam_works_audio_fingerprinting_and_indexing/ebwmi3f/
1547679871
-10
t5_2fwo
r/programming
public
null
False
ishiz
t2_isto5
Is it possible to let the user select what format their legal name is in? For example, choose whether it is First Middle Last or First Last or maybe even just FullName? I have a typical western First Middle Last name while my mom has several names. However for official legal purposes she goes by a unique combination of those names. For her, filling out forms is a guessing game of how her compromises will affect her. For example, if she puts her full name on her license will it be cut off? If it is cut off, will it prioritize her "last" name or her "middle" name (neither term accurately describing what she considers to be the format of her name). I can see how a transparent system could be convenient for these outliers.
null
0
1543807899
1543808359
0
eaz8g05
t3_a2c8xv
null
null
t1_eaxvgyk
/r/programming/comments/a2c8xv/falsehoods_programmers_believe_about_names_with/eaz8g05/
1546352861
1
t5_2fwo
r/programming
public
null
False
matthieum
t2_5ij2c
It's been my experience so far, as well. For "business" code, full of branches/virtual functions, GCC is better at optimizing than Clang. The ideal setup, for me, is Clang for Debug builds and GCC (+LTO) for Release builds, which gives me the best of both worlds: - better diagnostics and faster build times during development. - faster production binaries.
null
0
1544962586
False
0
ebwmj31
t3_a6o8uz
null
null
t3_a6o8uz
/r/programming/comments/a6o8uz/performance_comparison_of_firefox_64_built_with/ebwmj31/
1547679883
116
t5_2fwo
r/programming
public
null
False
fp_weenie
t2_2e56j0fa
Getting an app to work on Linux, OSX, and Windows is pretty easy. You can even get a GUI with it. Might take a little longer than a day but even Haskell has the requisite libraries.
null
0
1543807978
False
0
eaz8j1j
t3_a2b8u4
null
null
t1_eay63nq
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaz8j1j/
1546352899
2
t5_2fwo
r/programming
public
null
False
KHRZ
t2_715a1
Got called in by my boss last week, he wondered if I had screwed something up in someone's else code (I hadn't, just added an URL to my page...) Apparantly this was something you had to discuss first. This is an unreleased product, wtf. ​ In my previous job I went into the core of the database query generating code and did batch optimization for 20x speedups of some page loads that customers were mad about and shitting on the company for at Twitter. Some risk was there of corrupting money data and what not with my meddling, but everyone loved it. :p
null
0
1544962744
False
0
ebwmm8h
t3_a6f5bk
null
null
t3_a6f5bk
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebwmm8h/
1547679922
1
t5_2fwo
r/programming
public
null
False
sisyphus
t2_31lml
If you've used Atom and VS Code you know there is a very wide performance possibility on Electron.
null
0
1543807997
False
0
eaz8jrq
t3_a2b8u4
null
null
t1_eaychs5
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaz8jrq/
1546352908
1
t5_2fwo
r/programming
public
null
False
MasterKongQiu
t2_i3pmq
[https://github.com/anaulin](https://github.com/anaulin)
null
0
1544962776
False
0
ebwmmvj
t3_a6nfgh
null
null
t1_ebwjitv
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwmmvj/
1547679930
4
t5_2fwo
r/programming
public
null
False
fp_weenie
t2_2e56j0fa
There's lots of research that says that users very much do care about such things. > The hardware is keeping up just fine to enable this. I don't think this is true.
null
0
1543808082
False
0
eaz8mze
t3_a2b8u4
null
null
t1_eayr0f5
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaz8mze/
1546352948
19
t5_2fwo
r/programming
public
null
False
ArtyBoomshaka
t2_80wx8
I'd rather have it identifying different versions and covers correctly, thanksverymuch.
null
0
1544962833
False
0
ebwmo16
t3_a6k3qb
null
null
t1_ebwa83d
/r/programming/comments/a6k3qb/how_shazam_works_audio_fingerprinting_and_indexing/ebwmo16/
1547679944
1
t5_2fwo
r/programming
public
null
False
fp_weenie
t2_2e56j0fa
I use gitk when I can because github is bloated crapware.
null
0
1543808153
False
0
eaz8pmh
t3_a2b8u4
null
null
t1_eaysusi
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaz8pmh/
1546353010
7
t5_2fwo
r/programming
public
null
False
seamsay
t2_1zos4clf
> The entire point of swearing is to shock I completely disagree, in fact I would go as far as to say that if someone is shocked by swearing then you should probably try to avoid swearing around them. In my opinion swearing is all about conveying emotion, and all of the most interesting conversationalists that I know swear like a sailor (though obviously it's neither sufficient nor necessary). But it's for exactly this reason that I think swearing is pointless in source code, because you're supposed to be informative rather than interesting (also because some people don't like swearing, and I think that's fair enough). I will say however that you present a bit of a false dichotomy there, > the server is fucking buggy and corrupts packets internally because of concurrency issues is just as informative as the clean version.
null
0
1544962866
False
0
ebwmopn
t3_a6i85m
null
null
t1_ebw5n8b
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwmopn/
1547679953
4
t5_2fwo
r/programming
public
null
False
dobkeratops
t2_bb9fa
re-read what I wrote. "no garbage collector (like C++,Rust)" that means like C++ and Rust, it has no garbage collector.
null
0
1543808311
False
0
eaz8vga
t3_a2b4n9
null
null
t1_eaz7zp0
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eaz8vga/
1546353081
3
t5_2fwo
r/programming
public
null
False
IJzerbaard
t2_hzhzu
It was upgraded to a single cycle operation in Broadwell (which introduced the capability to have more than 2 inputs to a µop)
null
0
1544963066
False
0
ebwmsqv
t3_a6g1nh
null
null
t1_ebwl45d
/r/programming/comments/a6g1nh/an_introduction_to_simd_intrinsics/ebwmsqv/
1547680002
2
t5_2fwo
r/programming
public
null
False
devraj7
t2_yhtpo
Looks like every single communication about Jai has to happen in video form, which is tragic.
null
0
1543808528
False
0
eaz93y5
t3_a2b4n9
null
null
t3_a2b4n9
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eaz93y5/
1546353186
10
t5_2fwo
r/programming
public
null
False
TheCodexx
t2_3so9y
It's kind of embarassing that I have to explain that: 1. Adults should realize the distinction between "professional" and "unprofessional" is an imaginary cultural boundary to begin with 2. That many people are attracted to programming and especially open source to begin with because it has a unique subculture associated with it. 3. Attempts to sanitize this subculture are ongoing and this is a prime example of how small, innocuous changes are being made to institute a bureucracy and to "tame" the frontier of open source so it is palatable to the average person. Computing has been a place where people who were astounded by the stupidity of the rest of the world could congregate, laugh about legal disclaimers on toothpick wrappers, and *try to do better themselves*. And now, the moment open source starts to see some success, what happens? The harpies come in and start dictating terms. "You gotta be professional", "act like an adult", "don't you want to be taken seriously?". No, I don't. I want people to use software because it's *good* and because it's *open* and the issue of conduct is *not* up for debate. There can be no concessions. There can be no discussion. We keep the culture that has made open source so successful until now or we will be right back at square one in a few years, "open source proclaimed victorious" the headlines will read, while corporations reap the rewards and the people who dreamed of a truly better world are locked out because "sorry we can't have any *swear words* here, that's not acceptable". If you don't like it, then leave. Get on a Mayflower with the other puritans and go start your own free software movement aimed at "being professional".
null
1
1544963228
False
0
ebwmw09
t3_a6i85m
null
null
t1_ebwaq2x
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwmw09/
1547680042
6
t5_2fwo
r/programming
public
null
False
hoosierEE
t2_g6ibf
Had to submit a form recently where "middle name" was required (and I don't have one). Thankfully it let me enter `" "`. I will be disappointed if I don't see `Firstname " " Lastname` in official correspondence.
null
0
1543808554
False
0
eaz9505
t3_a2c8xv
null
null
t3_a2c8xv
/r/programming/comments/a2c8xv/falsehoods_programmers_believe_about_names_with/eaz9505/
1546353199
5
t5_2fwo
r/programming
public
null
False
Joshtopher_Biggins
t2_e97mh
Not enough things if you care about backwards compatibility
null
0
1544963256
False
0
ebwmwkd
t3_a6nfgh
null
null
t1_ebwkvod
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwmwkd/
1547680050
2
t5_2fwo
r/programming
public
null
False
diggr-roguelike2
t2_13327ggz
> Can't even form a coherent English sentence > Wants to run 'arbitrary' code while compiling his shit Checks out, you're retarded. Did your cousin invent the Excel macro virus industry? I see a certain family resemblance in y'all's retarded thought processes.
null
1
1543808554
False
0
eaz9506
t3_a2b4n9
null
null
t1_eayht0n
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eaz9506/
1546353199
-4
t5_2fwo
r/programming
public
null
False
underflo
t2_16ecpy
I agree but, as a junior dev, can you tell me which other patterns are obsolete?
null
0
1544963271
False
0
ebwmww6
t3_a64sao
null
null
t1_ebuebzd
/r/programming/comments/a64sao/why_you_should_use_strategy_pattern/ebwmww6/
1547680054
1
t5_2fwo
r/programming
public
null
False
Nanobot
t2_2sue
That's UCS-2, not UTF-16. UCS-2 has performance characteristics similar to traditional 8-bit encodings like ISO-8859-1 and ASCII, while UTF-16 has performance characteristics similar to UTF-8. If you want to use UCS-2 this way, you need to understand the distinction between UCS-2 and UTF-16. At some point, you may get input containing 0xD83DDE00. This means different things between UCS-2 and UTF-16. In UCS-2, it's two characters from the reserved surrogate range (permanently unassigned codepoints). In UTF-16, it's one emoji character. If your intention is to not accept emoji characters, or any sequence that has a different interpretation between UCS-2 and UTF-16, then you'd better have input validation that explicitly rejects any codepoints in the 0xD800 - 0xDFFF range. Or be careful that you aren't passing off your UCS-2 string as UTF-16 data (you'll need to re-encode those surrogate codepoints so that they also point to surrogate codepoints in UTF-16). Also, for what it's worth, it's illegal to sell software in China that doesn't support Unicode characters beyond the Basic Multilingual Plane, which means you need real UTF-16 or UTF-8 (or another complete Unicode encoding) at some level.
null
0
1543808729
1543809212
0
eaz9bwq
t3_a23cci
null
null
t1_eaz4m8i
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eaz9bwq/
1546353284
3
t5_2fwo
r/programming
public
null
False
stringsfordays
t2_z5o1qwz
I once was tasked with rewriting an internal tool company used for raffles and goody give aways and such. Basically you'd get an email with a link, you go to the link and click a button and we log you in for the event and you'll have your chance at whatever is being raffled. Well, some folks in engineering department figured out that if you layed on the button for the 2 seconds it took the page to finish it's original request you would generate as many entries for yourself as you managed to click this increasing your chances. The things got especially heated for a season pass for local hockey team.
null
0
1544963284
False
0
ebwmx5x
t3_a6nfgh
null
null
t1_ebwk9k0
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwmx5x/
1547680056
52
t5_2fwo
r/programming
public
null
False
dobkeratops
t2_bb9fa
you have to accept that by convention; there's an expectation for example ```a+b-b == a``` , ```a+b == b+a``` etc. you *could* overload those in ways where that was not true, but doing so would be rather nasty. I do agree it would be nice to state it formally but that should be implied by "+" etc directly without needing to create additional vocabulary and bloat. In rust , compared to all the capabilities of overloading on computed types (eg lazy ops, dimension checking, fixed point), I have just found the bounds to be annoying. *seriously* for lerp, consider all the possibilities for intermediates and write the type bound - it's much longer than the function, and it's *seriously ugly* to read. the *true* general purpose bound is:- *"a and b support subtraction, the result of that must support multiplication by f, the result of which supports addition to a producing an a"* . There's cases like vectors (implied W=1 or 0, but only store 3 elements) where I don't actually want to constrain that 'a-b' returns the same type.. just that a-b returns a type that can be added again to recover the original (eg. point - point = offset. point+offset = point. point+point <doesn't make sense, it might not be implemented>) I know it's possible, but I can't even remember how to write that off hand( and it takes almost as much space as the english description). I'd must rather just see ```lerp(a, b, f)=(b-a)*f+a```. it fits on one line, and it's easy to read. you can put a little comment "lerp=Linear interpolation..." if the name is too arcane, which still helps user comprehension more than any arcane type bounds. why do people insist that just because it's a systems language , we can't have nice clear expressions for maths aswell? why do people in the rust community celebrate and glorify ugly code???? At least C++ has the excuse that *it's* ugly parts are there for backward compatibility, and unforeseen changes in software emphasis over 4 decades; but in Rust, it's all *deliberate* it's like the world has this unwritten rule - *if you don't want a garbage collector, you must tolerate ugly bloated code for everything else, not just memory ops*
null
0
1543808751
1543809558
0
eaz9csb
t3_a2b4n9
null
null
t1_eaz34do
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eaz9csb/
1546353295
1
t5_2fwo
r/programming
public
null
False
lordretard
t2_jct1a
Well, there's basically nothing on there anyway, so why bother.
null
0
1544963380
False
0
ebwmz0a
t3_a6nfgh
null
null
t1_ebwmmvj
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwmz0a/
1547680079
-8
t5_2fwo
r/programming
public
null
False
o11c
t2_fjay8
`SLEEP()` will also return useful information to the attacker about whether something *is* being executed, e.g. to figure out what kind of quoting is happening.
null
0
1543808846
False
0
eaz9gfc
t3_a2cosx
null
null
t1_eax3wt7
/r/programming/comments/a2cosx/a_very_sleepy_mysql_attack/eaz9gfc/
1546353339
1
t5_2fwo
r/programming
public
null
False
TheCodexx
t2_3so9y
It's carpetbaggers. Lots of great people put lots of great work into building the open source community and now all the cityfolk are arriving at the frontier and saying "no no no, this won't do, we need all the bullshit from the cities that these people left to avoid and we need it here now". All that awful corporate dictation of behavior? It's coming to an open source project near you soon. But fucktards will welcome it because, like always, they'll say "what's wrong with a little professionalism?". Maybe if we worried less about supplanting the old order by becoming it we could actually, I dunno, supplant it? Trying to conform to what people expect is exactly how you neuter yourself, and it's small battles like these that *actually matter* but are usually disregarded as unimportant.
null
1
1544963417
False
0
ebwmzsb
t3_a6i85m
null
null
t1_ebwb1x3
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwmzsb/
1547680089
-2
t5_2fwo
r/programming
public
null
False
ano414
t2_5jzix
Ok, that answers my question. I come from a java background and it’s definitely stricter at compile time.
null
0
1543808852
False
0
eaz9gpi
t3_a2epsa
null
null
t1_eaz7bar
/r/programming/comments/a2epsa/undefined_behavior_is_really_undefined/eaz9gpi/
1546353343
1
t5_2fwo
r/programming
public
null
False
TheCodexx
t2_3so9y
If you want that to be the case then we need to stop playing defense. Sorry, but this is how we lose. I don't want to push back but as it stands the puritans just keep showing up to projects, demanding concessions, and then either getting them immediately or throwing a tantrum when they don't get their way, and projects will cave to that. Then they act like it's the standard and more fall... If programming is to have a chance against social just cunts, the professionalism gestapo, and the puritans then we need to actively encourage a rules-free environment, not just expect one.
null
1
1544963596
False
0
ebwn3e9
t3_a6i85m
null
null
t1_ebwa233
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwn3e9/
1547680134
1
t5_2fwo
r/programming
public
null
False
meneldal2
t2_l7gg5
I was mostly referring to the state of many "UTF-16" implementations, that say they support it but simply do shit when encountering multi-byte characters, but not being strictly UCS-2 compliant either. Basically assuming many things that are not true for many actual strings.
null
0
1543808899
False
0
eaz9igp
t3_a23cci
null
null
t1_eaz9bwq
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eaz9igp/
1546353365
2
t5_2fwo
r/programming
public
null
False
jcelerier
t2_nju89
use nanosleep > cl.exe foo.cpp error C3861: 'nanosleep': identifier not found std::chrono works on clang, gcc, and MSVC (which instead provides QueryPerformanceCounter), unlike nanosleep.
null
0
1544963678
False
0
ebwn54x
t3_a6fh8y
null
null
t1_ebwikwe
/r/programming/comments/a6fh8y/looking_for_criticism_on_my_tutorial_opening_a/ebwn54x/
1547680156
4
t5_2fwo
r/programming
public
null
False
NotLadyIris2ISwear
t2_3wbdts6
Every functional language: "data succ pred open where fatarrow blah blah blah boring things that aren't words in most languages but are in this one." Nobody cares how short you can make your one-liners when it is inevitably the case you're linking against 2MB of runtime libs in which all the actual functionality lives in the minimal case. That's literally just *using a library.*
null
0
1543809178
False
0
eaz9tcc
t3_a2gb0v
null
null
t3_a2gb0v
/r/programming/comments/a2gb0v/programming_language_foundations_in_agda/eaz9tcc/
1546353499
-11
t5_2fwo
r/programming
public
null
False
mazeez
t2_1j03c9sr
Relevant article: [https://willdrevo.com/fingerprinting-and-audio-recognition-with-python/](https://willdrevo.com/fingerprinting-and-audio-recognition-with-python/)
null
0
1544963740
False
0
ebwn6dv
t3_a6k3qb
null
null
t3_a6k3qb
/r/programming/comments/a6k3qb/how_shazam_works_audio_fingerprinting_and_indexing/ebwn6dv/
1547680172
4
t5_2fwo
r/programming
public
null
False
diggr-roguelike2
t2_13327ggz
> the fact is that you're going to have a ton of ASCII characters in it So fucking what? That HTML is biased towards Latin1 is not an argument to penalize CJK even more. Presumably CJK people want to read books n'shiet too, or are you going to deny them that as well? (Not that that's an argument for UTF16, of course. UTF16 is a shit idea.)
null
0
1543809389
False
0
eaza1wb
t3_a23cci
null
null
t1_eayj430
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eaza1wb/
1546353634
-1
t5_2fwo
r/programming
public
null
False
duhace
t2_dhfv4
> they send you a patch removing all the colour and character and heart you put in your personal project i hate to break it to you, but if removing swearing removes all color, heart, and character from your project then your project never had much of any of that to begin with
null
1
1544963768
False
0
ebwn6xy
t3_a6i85m
null
null
t1_ebwl407
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwn6xy/
1547680207
3
t5_2fwo
r/programming
public
null
False
NatoBoram
t2_hwbhy
People talking about their Delphi programs being 2% of the weight of this native Flutter Desktop implementation… I just don't know what to say!
null
0
1543809651
False
0
eazacr0
t3_a2b8u4
null
null
t1_eawzmdu
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazacr0/
1546353768
3
t5_2fwo
r/programming
public
null
False
skooterM
t2_91pkbtn
With QA skills like that, you'll never be out of a job.
null
0
1544964097
False
0
ebwndop
t3_a6nfgh
null
null
t1_ebwk9k0
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwndop/
1547680290
9
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543809741
False
0
eazagcy
t3_a2b8u4
null
null
t1_eaxzc1p
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazagcy/
1546353814
1
t5_2fwo
r/programming
public
null
False
sgtfrankieboy
t2_am1u0
This the opening Keynote of KubeCon 2017?
null
0
1544964224
False
0
ebwng9h
t3_a6np9j
null
null
t3_a6np9j
/r/programming/comments/a6np9j/keynote_kubecon_opening_keynote_kelsey_hightower/ebwng9h/
1547680322
3
t5_2fwo
r/programming
public
null
False
NatoBoram
t2_hwbhy
You could theorically build two interfaces and select the appropriate components according to the run-time OS. It would probably be possible to build a small library for that
null
0
1543809837
False
0
eazajvq
t3_a2b8u4
null
null
t1_eayru9w
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazajvq/
1546353857
2
t5_2fwo
r/programming
public
null
False
ivquatch
t2_3a6gu
I suppose the last part about classes was a bit controversial.
null
0
1544964240
False
0
ebwngls
t3_a6nfvi
null
null
t1_ebwkvn4
/r/programming/comments/a6nfvi/what_is_object_oriented_programming_oop_basic_oop/ebwngls/
1547680326
2
t5_2fwo
r/programming
public
null
False
NatoBoram
t2_hwbhy
They do feel native to Android since they use material design, and they *can* feel native to iOS since Cupertino components are included. But yeah, for other platforms, you'd need new components.
null
0
1543809903
False
0
eazamd0
t3_a2b8u4
null
null
t1_eax7z8z
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazamd0/
1546353887
1
t5_2fwo
r/programming
public
null
False
underflo
t2_16ecpy
what's that?
null
0
1544964309
False
0
ebwni4b
t3_a6h2n9
null
null
t1_ebv0o3v
/r/programming/comments/a6h2n9/why_python_is_the_most_popular_language_for/ebwni4b/
1547680345
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543809984
False
0
eazapbo
t3_a2b4n9
null
null
t1_eay96qv
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eazapbo/
1546353924
3
t5_2fwo
r/programming
public
null
False
dirtyuncleron69
t2_3kqs5
We literally just build man made caves and controlled fires in every home in the developed world, so yes. E: TIL people don’t heat their homes or have basements
null
1
1544964642
1544984673
0
ebwnpph
t3_a6k3qb
null
null
t1_ebwiodz
/r/programming/comments/a6k3qb/how_shazam_works_audio_fingerprinting_and_indexing/ebwnpph/
1547680438
1
t5_2fwo
r/programming
public
null
False
NatoBoram
t2_hwbhy
Have you tried to compile a hello world in UWP?
null
0
1543809990
False
0
eazapjw
t3_a2b8u4
null
null
t1_eax3l1c
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazapjw/
1546353927
2
t5_2fwo
r/programming
public
null
False
duhace
t2_dhfv4
> Are you saying we should burn the history books to prevent the risk of people "thinking of slavery"? your source code isn't a history book > The words "master/slave" precisely describe a type of relationship in computer systems. "A man chooses, a slave obeys" -- in the computer system, the slave absolutely, always, unquestioningly obeys the master. controller and worker also precisely describes said relationship without the baggage of master/slave. I'm not sure why you insist that this concept use the terms "master" and "slave" when it's really not necessary and some people find it offensive.
null
1
1544964674
False
0
ebwnqew
t3_a6i85m
null
null
t1_ebwlr0w
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwnqew/
1547680448
1
t5_2fwo
r/programming
public
null
False
NatoBoram
t2_hwbhy
That's a huge undertaking. Electron is the current best option, as it does all that but not natively. Flutter Desktop is just across the corner, and completely native on all platforms.
null
0
1543810184
False
0
eazawxn
t3_a2b8u4
null
null
t1_eaz3llr
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazawxn/
1546354017
1
t5_2fwo
r/programming
public
null
False
unafnyirf
t2_6k2y6
php 7 is not backwards compatible with older versions though.
null
0
1544964682
False
0
ebwnqlo
t3_a6nfgh
null
null
t1_ebwmwkd
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwnqlo/
1547680450
2
t5_2fwo
r/programming
public
null
False
NatoBoram
t2_hwbhy
It's exactly that, except Go doesn't have a graphical user interface.
null
0
1543810273
False
0
eazb08u
t3_a2b8u4
null
null
t1_eaxp7zn
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazb08u/
1546354058
2
t5_2fwo
r/programming
public
null
False
hpp3
t2_5x7sy
If your site has any APIs, public or otherwise, then you have user input.
null
0
1544964768
False
0
ebwnslt
t3_a6nfgh
null
null
t1_ebwmcz8
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwnslt/
1547680474
4
t5_2fwo
r/programming
public
null
False
NatoBoram
t2_hwbhy
This : > Solving the wrong problem. AGAIN. For fuck's sake... If you don't understand the problem, stop presenting your abortions as the fix.
null
0
1543810477
False
0
eazb91v
t3_a2b8u4
null
null
t1_eawv2mh
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazb91v/
1546354167
1
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
https://en.wikipedia.org/wiki/Worse_is_better
null
0
1544964829
False
0
ebwnu03
t3_a6h2n9
null
null
t1_ebwni4b
/r/programming/comments/a6h2n9/why_python_is_the_most_popular_language_for/ebwnu03/
1547680492
2
t5_2fwo
r/programming
public
null
False
NatoBoram
t2_hwbhy
Your solution comes across the "lowest common denominator" problem. And if you just say fuck it add them all, then there's components that aren't quite equivalent to other components and some that aren't found in other platforms. What you end up doing is making new components and an engine to render those components. That's the Sky engine, used in Flutter.
null
0
1543810614
False
0
eazbeeg
t3_a2b8u4
null
null
t1_eawz5ay
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazbeeg/
1546354263
1
t5_2fwo
r/programming
public
null
False
bhldev
t2_dcjll
A lot.
null
0
1544965127
False
0
ebwo0t5
t3_a6i85m
null
null
t1_ebwl225
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwo0t5/
1547680575
1
t5_2fwo
r/programming
public
null
False
meneldal2
t2_l7gg5
Your first example is interesting, but it's not as obvious as it looks like. For example, the multiplication operator is not commutative for matrices, yet it is still commonly considered useful. It is tempting to want to assign a set of properties that some operators need to implement, but I think allowing various options is important. Plus and minus (as binary ops) are a set of two operators that have the property you described (not sure of the name), but it is not always the case. There is also the unary minus operator that need to be consistent, so you're looking at a set of 3 operators in the end. For your second case, C++ got it right with the duration/timepoint library, but unfortunately didn't make a facility to create your own types that follow this. It is a generic concept, and I do believe that with reflection and metaclasses something to make it work easily will come, but right now it's ugly. You can code this by abusing casts and using pointer/pointerdiff base types that are the simplest couple that have this relation. Using functions that do complex operations is obviously preferred when possible, especially when it can allow some optimizations. C++ definitely is trying to allow nice expressions through some libraries, but you still get bitten by them not supplying stuff you'd want like assigning on a subrange of your matrix, because `operator=` doesn't copy data, it reallocates. Example in Matlab: `M(:,1:5)=func()` assigns the result of func to a subset of M In C++ with OpenCV: `M(Range::all(),Range(0,4)=func()` actually produces no side-effects, because the r-value returned by the subrange operator is a temporary that gets reallocated then thrown away. I don't think anyone sane would use the assignment operator in that way, changing the size and underlying memory of a container like that is something I never needed, but writing values to a subrange is actually useful. Also as a bonus "your interface is inconsistent", they provide an overload for a scalar, which in this case doesn't reallocate but does copy the scalar to the whole matrix. Matlab can't get it totally right either though, because you can't index the result of a temporary without sending it through a function for that, making the syntax awful.
null
0
1543810675
False
0
eazbgv4
t3_a2b4n9
null
null
t1_eaz9csb
/r/programming/comments/a2b4n9/abner_coimbre_nasa_engineer_on_jai_language/eazbgv4/
1546354293
1
t5_2fwo
r/programming
public
null
False
ivquatch
t2_3a6gu
The "Command" pattern is another obvious one. "Factory", "Chain of Responsibility" and "Decorator" could probably be replaced by functions in certain cases. The role of many others is diminished by other language features not yet available to java/C#, For example, "Visitor" is obviated by the ability to pattern-match over "Sum Types". Inheritance is also no longer considered good practice. Although there are exceptional cases where inheritance is still useful, "Composition" should generally be favored instead.
null
0
1544965160
1544965736
0
ebwo1on
t3_a64sao
null
null
t1_ebwmww6
/r/programming/comments/a64sao/why_you_should_use_strategy_pattern/ebwo1on/
1547680587
1
t5_2fwo
r/programming
public
null
False
didhe
t2_fhv1c
Weak Whorfianism has strong _evidence_ for it: just go do a Stroop test. It's one of the best-replicated results in psych, which granted doesn't sound like a high bar. There are plenty of minor language-mediated perception phenomena. Most of them are kind of boring. It's hard to generalize them to more "interesting" topics and the effects usually aren't big and aren't necessarily intuitive.
null
0
1543810732
False
0
eazbiy4
t3_a2hpd8
null
null
t1_eayvrc5
/r/programming/comments/a2hpd8/is_lisp_a_good_language_to_start_learning_as_a/eazbiy4/
1546354319
2
t5_2fwo
r/programming
public
null
False
Un-Unkn0wn
t2_4ji6v2g
> Tokutek is big data! > Tokutek claims to improve MongoDB performance 20x. It is unclear if this also means losing 20x as many documents. Ouch
null
0
1544965378
False
0
ebwo7d6
t3_a6i85m
null
null
t1_ebvr41n
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwo7d6/
1547680659
16
t5_2fwo
r/programming
public
null
False
bitwize
t2_6dq6
No. This isn't a pissing contest. Obviously if you're going to work on Adobe's C++ codebase, you need to know C++. But I'm telling you, from what I've seen, C and C++ are pretty poor places to _start_ learning programming. Just like you don't learn to fly in a Learjet, you start with something a little more beginner-friendly like a Piper Cub. And there are people out there getting paid to program (the definition of professional) who came straight out of JavaScript bootcamp. Lots of programmers have built their careers on database systems (COBOL, MUMPS, dBASE, SAP ABAP, whatever) without touching a line of C++. Obviously they're not going to be working on Windows or Photoshop, but if they can feed their families with those skills, that's what matters to them. But that's really beside the point.
null
0
1543811073
1543811253
0
eazbvsg
t3_a2gatx
null
null
t1_eaz3yy7
/r/programming/comments/a2gatx/what_proggraming_languages_should_i_learn/eazbvsg/
1546354477
4
t5_2fwo
r/programming
public
null
False
Jautenim
t2_jcsh9
*Enter strong typing*.
null
0
1544965423
False
0
ebwo8l7
t3_a6nfgh
null
null
t1_ebwfxnv
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwo8l7/
1547680679
9
t5_2fwo
r/programming
public
null
False
tapuzon
t2_u9ojis3
Porgnaming
null
0
1543811408
False
0
eazc8ei
t3_a2gatx
null
null
t1_eaykzck
/r/programming/comments/a2gatx/what_proggraming_languages_should_i_learn/eazc8ei/
1546354632
-2
t5_2fwo
r/programming
public
null
False
jesus_is_imba
t2_1u5nwor9
[No, the PR is not ready.](https://github.com/Stuk/jszip/issues/570#issuecomment-447622737) So not only is the author wrong, they also don't know what they're doing.
null
0
1544965625
False
0
ebwodyc
t3_a6i85m
null
null
t1_ebwlzr7
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwodyc/
1547680746
6
t5_2fwo
r/programming
public
null
False
McNerdius
t2_5e8bl
also missed a couple language features... namespace HelloWorldApplication { class HelloWorld { static void Main(string[] args) => System.Console.WriteLine("Hello World"); } } (am bored)
null
0
1543811659
False
0
eazciqp
t3_a2hi6s
null
null
t1_eayj59g
/r/programming/comments/a2hi6s/nice_syntax_popular_languages_syntaxes_compared/eazciqp/
1546354761
1
t5_2fwo
r/programming
public
null
False
Ghosty141
t2_b3512
>I do heavily disagree with using your own time to do this kind of thing. You are not being paid. Bad idea. Sets a bad precedent. Why does it matter if he gets paid or not? Apart from that, the fact that it wasn't known why the application was that slow is the real problem.
null
0
1544965734
False
0
ebwogx9
t3_a6f5bk
null
null
t1_ebulas0
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebwogx9/
1547680805
1
t5_2fwo
r/programming
public
null
False
sunflowerdeath
t2_ksk6f
Actually, this is development build which has no optimizations and includes such things like debugging and hot reloading. Production build may be at least twice smaller.
null
0
1543811784
False
0
eazco7i
t3_a2b8u4
null
null
t1_eax3pcm
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazco7i/
1546354858
1
t5_2fwo
r/programming
public
null
False
Ghosty141
t2_b3512
Studies have shown multiple times that open offices do not benefit communication and "team spirit". It's so weird how they still get all the praise.
null
0
1544965884
False
0
ebwoky7
t3_a6f5bk
null
null
t1_ebuyywn
/r/programming/comments/a6f5bk/the_best_programming_advice_i_ever_got_2012/ebwoky7/
1547680854
6
t5_2fwo
r/programming
public
null
False
MissionLiterature
t2_4q5xihj
Given Spectre, Meltdown and Rowhammer in the presence of ECC RAM, how exactly do you achieve "security from the ground up" with "thousands of multitenant microVMs"? I am genuinely curious whether any additional mitigation against microarchitectural attacks has been integrated into firecracker.
null
0
1543812421
False
0
eazdcx8
t3_a2irfr
null
null
t3_a2irfr
/r/programming/comments/a2irfr/firecracker_microvm_virtual_machine_manager/eazdcx8/
1546355163
11
t5_2fwo
r/programming
public
null
False
jesus_is_imba
t2_1u5nwor9
Morons*
null
0
1544965971
False
0
ebwon7i
t3_a6i85m
null
null
t1_ebvi6wx
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwon7i/
1547680882
1
t5_2fwo
r/programming
public
null
False
asrtaein
t2_x8jtj
And then you haven't started with the Alipay and Wechat Pay (online/phone payment services) fun yet! Their character limit is shorter than the banks, so it is entirely possible to sign up for a bank account and then be unable to register for Alipay because you are unable to fill in your name matching the bank accounts name. Or with Wechat that requires all your connected debit cards to have the same name, but banks don't have the same convension for writing your full name. Sometimes it's LASTNAMEGIVENNAME, sometimes GIVENNAME LASTNAME, other combinations probably exist too. Or services that ask for 姓名 (full name, literally familynamegivenname, and in Chinese also written in that order) but complain if you actually fill it in with your lastname first...
null
0
1543812611
False
0
eazdjh3
t3_a2c8xv
null
null
t1_eayxsuy
/r/programming/comments/a2c8xv/falsehoods_programmers_believe_about_names_with/eazdjh3/
1546355244
5
t5_2fwo
r/programming
public
null
False
Mamoulian
t2_6wagt
"why is this not a standard feature of testing frameworks? I want some way to re-run tests flipping some of the assertions, to make sure they are testing what I think they are." ​ Yup.
null
0
1544966000
False
0
ebwonyx
t3_a6nfgh
null
null
t3_a6nfgh
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwonyx/
1547680891
20
t5_2fwo
r/programming
public
null
False
MonokelPinguin
t2_z3hqj
If they want to read a book, they probably want to read it in some kind of book format, not a plain text file. Epub uses HTML, Word uses some kind of XML, no idea about PDF. Or they read it online. In all cases the argument of having a lot of ASCII characters in the text applies and UTF-8 encoded books would be the same size or smaller (probably).
null
0
1543812679
False
0
eazdlv2
t3_a23cci
null
null
t1_eaza1wb
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eazdlv2/
1546355274
1
t5_2fwo
r/programming
public
null
False
AngularBeginner
t2_eky8x
Does he also learn about an actual use case?
null
0
1544966029
False
0
ebwooq0
t3_a6nl85
null
null
t3_a6nl85
/r/programming/comments/a6nl85/joe_rogan_learns_about_blockchain_technology_with/ebwooq0/
1547680901
1
t5_2fwo
r/programming
public
null
False
asdfkjasdhkasd
t2_15jlfw
>All you really need to know is functions and passing variables into them This is precisely what's confusing to beginners. Hell I'd say there are a lot of programmers that have been programming for 1-2 years and still don't fully grasp higher order functions. For evidence of this look at the confusion over promises, async, decorators, and probably much more I can't think of.
null
0
1543812945
False
0
eazdv1i
t3_a2hpd8
null
null
t1_eaz0xom
/r/programming/comments/a2hpd8/is_lisp_a_good_language_to_start_learning_as_a/eazdv1i/
1546355416
7
t5_2fwo
r/programming
public
null
False
Aurenkin
t2_dy5hu
I know exactly what you mean. My philosophy has basically become "All code I write is shit. I just might not know why yet"
null
0
1544966048
False
0
ebwop7e
t3_a6nfgh
null
null
t1_ebwgvnf
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwop7e/
1547680907
463
t5_2fwo
r/programming
public
null
False
MalaGalaTala
t2_2ivggw3q
I just built a JavaFx app(internal) and it is beautiful, responsive and a major improvement over the alternatives for a multi platform environment. Most of my engineers do Java so JavaFx fits right in.
null
0
1543812959
False
0
eazdvho
t3_a2b8u4
null
null
t1_eax3b6e
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eazdvho/
1546355421
2
t5_2fwo
r/programming
public
null
False
golgol12
t2_3ocqd
Line 1.... I've never seen a unit test in my career. Stay classy video games.
null
0
1544966273
False
0
ebwov2z
t3_a6nfgh
null
null
t3_a6nfgh
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwov2z/
1547680979
256
t5_2fwo
r/programming
public
null
False
asdfkjasdhkasd
t2_15jlfw
I seriously doubt anyone who has been programming for less than 1-2 years could derive any benefit from reading a spec. Have you ever looked a program specification? They are incredibly convoluted, nearly every rule has 5 predicates and 10 special cases. Imo one of the big advantages of python for beginners is that the common case is usually pretty simple. For example, try asking a beginner to split a string in C vs split a string in python. Try asking a beginner to create a dynamically sized list in python vs C.
null
0
1543813119
False
0
eaze0xb
t3_a2hpd8
null
null
t1_eayrdc2
/r/programming/comments/a2hpd8/is_lisp_a_good_language_to_start_learning_as_a/eaze0xb/
1546355489
0
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
And one thing they still failed to understand - all this web crap is not a real programming.
null
0
1544966343
False
0
ebwowzx
t3_a6nfgh
null
null
t3_a6nfgh
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwowzx/
1547681003
-41
t5_2fwo
r/programming
public
null
False
Nanobot
t2_2sue
Using just the text contents of [this article](https://ja.wikisource.org/wiki/%E6%BA%90%E6%B0%8F%E7%89%A9%E8%AA%9E/%E7%B4%85%E8%91%89%E8%B3%80) as an example, and applying traditional deflate compression, gives me these results: UTF-8: 13.6 kB UTF-16: 12.5 kB Here's the same content, using bz2 compression instead: UTF-8: 10.4 kB UTF-16: 10.9 kB This is pretty much a best-case scenario for UTF-16: pure Japanese text. And yet, once you apply some modern compression, UTF-8 still ends up smaller than UTF-16. This is because UTF-8 is generally more compressible than UTF-16.
null
0
1543813128
False
0
eaze18y
t3_a23cci
null
null
t1_eaza1wb
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eaze18y/
1546355492
4
t5_2fwo
r/programming
public
null
False
jcelerier
t2_nju89
> > Although I guess opposite could be meant to be used as "anything but oop" which gives the other common choices of functional programming and generic programming no, OOP is fine. What is not fine is saying : "objects are just like real-world objects/entities.". That's a dumb metaphor from the 80s which leads to unmaintainable code. Objects are just objects, a tool in a programming language that you can use to achieve some effect.
null
0
1544966374
False
0
ebwoxte
t3_a6nfvi
null
null
t1_ebwlvj3
/r/programming/comments/a6nfvi/what_is_object_oriented_programming_oop_basic_oop/ebwoxte/
1547681013
8
t5_2fwo
r/programming
public
null
False
MalaGalaTala
t2_2ivggw3q
I have a similar use case. Needed a fast and responsive UI with drag and drop capability that could talk to legacy win32 apps. Our core expertise is Java and FX was perfect for the task.
null
0
1543813158
False
0
eaze27w
t3_a2b8u4
null
null
t1_eaxv1g5
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eaze27w/
1546355505
1
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
Unit tests are very rare in any serious development, outside of that retarded web bubble. Real men do integration testing instead, and do not use shitty toy dynamicqlly typed languages that suck without unit testing.
null
0
1544966542
False
0
ebwp2c7
t3_a6nfgh
null
null
t1_ebwov2z
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebwp2c7/
1547681072
-73
t5_2fwo
r/programming
public
null
False
asrtaein
t2_x8jtj
Yes, how would you deal with those even if you wanted to? Attach a picture? And if a written form of their name doesn't exist (the author seems to have forgotten this case) add a voice recoding?
null
0
1543813240
False
0
eaze4xo
t3_a2c8xv
null
null
t1_eay8yx2
/r/programming/comments/a2c8xv/falsehoods_programmers_believe_about_names_with/eaze4xo/
1546355539
3
t5_2fwo
r/programming
public
null
False
mattkenefick
t2_393vk
A......... I..........
null
0
1544966707
False
0
ebwp6qk
t3_a6k3qb
null
null
t1_ebw5f62
/r/programming/comments/a6k3qb/how_shazam_works_audio_fingerprinting_and_indexing/ebwp6qk/
1547681126
10
t5_2fwo
r/programming
public
null
False
asdfkjasdhkasd
t2_15jlfw
> One you get those Lang's, learning new ones is easy. One you get those languages, learning another curly braced imperative language is easy. But you'll basically be starting from scratch if you are trying to learn something like Haskell.
null
0
1543813286
False
0
eaze6ew
t3_a2hpd8
null
null
t1_eaywoqs
/r/programming/comments/a2hpd8/is_lisp_a_good_language_to_start_learning_as_a/eaze6ew/
1546355557
2
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> To summarize my findings, I found that watchdog in Firefox kills the training > run before it had time to stream profile data to disk. This bug in Firefox build > system has bad effect on performance Mozilla has the world award for the most outdated and most stupid build system to date. There is a reason why it is such a colossal mess at Mozilla - they invest money into PR rather than real technical improvements (or investing a new programming language nobody needs that still hasn't reversed the downwards trend of firefox - go figure).
null
0
1544966790
False
0
ebwp8wi
t3_a6o8uz
null
null
t3_a6o8uz
/r/programming/comments/a6o8uz/performance_comparison_of_firefox_64_built_with/ebwp8wi/
1547681153
-65
t5_2fwo
r/programming
public
null
False
mcg42ray
t2_235cxs8
> No. This isn't a pissing contest. I thought so. > you start with something a little more beginner-friendly like a Piper Cub. By starting with Javascript and Python you miss out on a lot of important concepts like typing, inheritance, modules, namespaces, concurrency, etc. Yes, you can get a job with just interpreted languages, but you won't be doing any interesting large-scale development. I think it's better to start with complete languages. By the way, the notion that something like C# is harder to use than Python or Javascript is silly. I've done both and interpreted languages are far harder to deal with just because you're never sure what's happening.
null
0
1543813320
False
0
eaze7iv
t3_a2gatx
null
null
t1_eazbvsg
/r/programming/comments/a2gatx/what_proggraming_languages_should_i_learn/eaze7iv/
1546355570
1
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
It obviously is not the real definition of a bug. Java does not use the comment section for code-behaviour.
null
0
1544966847
False
0
ebwpaeh
t3_a6i85m
null
null
t3_a6i85m
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebwpaeh/
1547681171
1
t5_2fwo
r/programming
public
null