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
1544051066
False
0
eb69ww8
t3_a3crqx
null
null
t1_eb5j4fw
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb69ww8/
1547068898
1
t5_2fwo
r/programming
public
null
False
anechoicmedia
t2_11w2mr
>Most users will much prefer to pay a bit less, even if it means they don't get sandboxes and disk encryption. If the product wasn't labeled accordingly, most customers would pay a bit less to not have their food come from USDA-inspected facilities, too; Fortunately it's not their choice, which enables safety to proliferate as a norm and gain economies of scale. It's especially silly in software, where all the scarcity is fake and market segementation is only a question of marketing strategy and getting each customer to pay the maximum amount possible.
null
0
1545233839
False
0
ec48ebg
t3_a7hbku
null
null
t1_ec3u7kj
/r/programming/comments/a7hbku/windows_sandbox/ec48ebg/
1547807884
-1
t5_2fwo
r/programming
public
null
False
Poddster
t2_3a27b
Why did the article need to explain thread-safety? The implication here is that the concept was new to the author and that they thought it was "worth" sharing...
null
0
1544051096
False
0
eb69ydr
t3_a3crqx
null
null
t3_a3crqx
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb69ydr/
1547068916
-3
t5_2fwo
r/programming
public
null
False
ciaran036
t2_3cux3
And fuck Microsoft too, none of them are guilt free. I admire that Microsoft have turned a new leaf and are engaging and committing to open source but let's get real like every other corporation they are doing it for their own selfish self-interest. Fuck Microsoft just a tiny bit less for the moment.
null
0
1545233907
False
0
ec48hhp
t3_a7jj68
null
null
t1_ec3znor
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec48hhp/
1547807923
22
t5_2fwo
r/programming
public
null
False
timClicks
t2_4majh
Only if there was an internal champion. Fundamental changes like that would need to come from the inside
null
0
1544051110
False
0
eb69z2m
t3_a3djbw
null
null
t1_eb66xqe
/r/programming/comments/a3djbw/learn_c_with_the_help_of_libreoffice_developers/eb69z2m/
1547068925
5
t5_2fwo
r/programming
public
null
False
countofmontecristo0
t2_2hi8alf4
So he is the author of the computer programming books. Looking forward to reading them
null
0
1545233927
False
0
ec48ida
t3_a7nahb
null
null
t1_ec47n0u
/r/programming/comments/a7nahb/the_yoda_of_silicon_valley/ec48ida/
1547807933
-2
t5_2fwo
r/programming
public
null
False
TheAspiringHacker
t2_s5dmp3x
[Software Foundations](https://softwarefoundations.cis.upenn.edu/current/index.html) is a series of textbooks that teach programming language theory and formal methods. The original textbooks are written in literate Coq, but this submission is an Idris translation.
null
0
1544051125
False
0
eb69zqi
t3_a3ajit
null
null
t1_eb55irg
/r/programming/comments/a3ajit/software_foundations_with_idris/eb69zqi/
1547068933
2
t5_2fwo
r/programming
public
null
False
airodonack
t2_bebtp
Nope. Gsuites is a B2B product. The fact that consumers can use it is just free advertising.
null
0
1545233928
False
0
ec48ig6
t3_a7k0an
null
null
t1_ec3zhko
/r/programming/comments/a7k0an/did_google_cripple_edges_youtube_performance/ec48ig6/
1547807934
29
t5_2fwo
r/programming
public
null
False
chx_
t2_cyduk
I am very confused at this point. I just said I do not want my logic in the database to which I got the (implicit) reply I should and if I gather what you are using then I shouldn't so you are ... agreeing with me?
null
0
1544051204
False
0
eb6a3oi
t3_a3dobm
null
null
t1_eb69owd
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6a3oi/
1547068982
24
t5_2fwo
r/programming
public
null
False
mc8675309
t2_csj1m
Yes, but Knuth also wrote the typesetting software to actually publish the books.
null
0
1545233949
False
0
ec48jg4
t3_a7m6jc
null
null
t1_ec45d1z
/r/programming/comments/a7m6jc/a_profile_on_donald_knuth/ec48jg4/
1547807946
116
t5_2fwo
r/programming
public
null
False
2Punx2Furious
t2_5z1lm
Talking about physics, not code. Anyway, I haven't really studied it in depth, just heard about it.
null
0
1544051237
False
0
eb6a5ez
t3_a3crqx
null
null
t1_eb68v4e
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6a5ez/
1547069003
2
t5_2fwo
r/programming
public
null
False
VodkaHaze
t2_89d6j
Windows OS is probably one of the hardest pieces of software to refactor or add features to, mind you. There are tons of horror stories lying around on hackernews and reddit about how complex the old MS software is (Windows, Word, Excel, etc.) It's one of the legitimately oldest pieces of software people use day to day (with core unix stuff, but technical debt was reigned in there by having a standard and sticking to the unix principles)
null
0
1545233954
False
0
ec48jp1
t3_a7jj68
null
null
t1_ec3zlop
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec48jp1/
1547807950
36
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544051290
False
0
eb6a856
t3_a3djbw
null
null
t1_eb5utg0
/r/programming/comments/a3djbw/learn_c_with_the_help_of_libreoffice_developers/eb6a856/
1547069037
1
t5_2fwo
r/programming
public
null
False
0x256
t2_tz2g2
In `JwTokenHelper::generatePrivateKey(username, password)` the *plaintext password* is stored as a subject claim into the JWT, which is then returned to the client!? There are a ton of other errors, but this one really stands out. Edit: - The `ContainerRequestFilter` does not set a `SecurityContext` so we only know that there was a valid token, but not which user it represents. - `JwTokenHelper` is a singleton (bad enough) and the `getInstance()` method is not synchronized. - The author uses a non-standard 'privateKey' header instead of the established ` Authorization: Bearer <token>` header. - The login handler takes username and password as `HeaderParam` instead of `FormParam`!? - The annotation that should enable JWT token processing for a REST endpoint is called `JwtCustomToken` in one place and `JsonTokenNeeded` in another, but is then never used anyway. - Undefined parameters (e.g. `@HeaderParam`, `@FormParam`, ...) are `null`, not empty strings. The implementation shown will throw NPEs for requests missing these parameters, instead of returning an error. **tl;dr:** Author has no clue. Do not roll your own security. Never blindly copy&paste code from the internet.
null
0
1545234068
1545305142
0
ec48oxz
t3_a7ne8l
null
null
t3_a7ne8l
/r/programming/comments/a7ne8l/build_authentication_into_your_java_apis_with/ec48oxz/
1547808043
7
t5_2fwo
r/programming
public
null
False
max630
t2_mwwkl
>> dealing with sick geniuses Thanks, I have not noticed this one.
null
0
1544051328
False
0
eb6aa4n
t3_a3ft3u
null
null
t1_eb5vf6d
/r/programming/comments/a3ft3u/the_shame_of_being_a_nonpassionate_developer/eb6aa4n/
1547069061
2
t5_2fwo
r/programming
public
null
False
leapbitch
t2_vz0xn
I don't think any major player has an interest in pre-packaging such an open system like they do with MacOS or Windows 10.
null
0
1545234109
False
0
ec48qv9
t3_a7jj68
null
null
t1_ec47yu7
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec48qv9/
1547808067
2
t5_2fwo
r/programming
public
null
False
2Punx2Furious
t2_5z1lm
I think I've heard that the "randomness" in quantum physics is really non-deterministic, and there is no "hidden variable" that if discovered, could make it deterministic. But I don't know if that's true, and it sure as hell doesn't sound true to me, the universe seems deterministic to me logically. Anyway, thanks for the link.
null
0
1544051344
False
0
eb6aayd
t3_a3crqx
null
null
t1_eb69qby
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6aayd/
1547069071
3
t5_2fwo
r/programming
public
null
False
blue_2501
t2_dyknl
What? You don't like having Candy Crush and a hundred other mobile games on your OS?
null
0
1545234230
False
0
ec48wjo
t3_a7jj68
null
null
t1_ec3zlop
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec48wjo/
1547808136
10
t5_2fwo
r/programming
public
null
False
Paradox
t2_1t9b
No, I'm going to use Heroku or AWS and docker, and have one command to start up my dev server and another command to deploy
null
0
1544051419
False
0
eb6aern
t3_a3dobm
null
null
t1_eb67afp
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6aern/
1547069119
4
t5_2fwo
r/programming
public
null
False
Private_HughMan
t2_1ks5kl4m
> Don’t want a monoculture? Start making a browser that doesn’t suck shit." But Edge didn't suck. It's pretty decent overall and does a lot of stuff right (apart from being OS-dependent, which fucks up updates). Firefox is also great. And Safari is very decent.
null
0
1545234239
False
0
ec48wxn
t3_a7k0an
null
null
t1_ec3tq4o
/r/programming/comments/a7k0an/did_google_cripple_edges_youtube_performance/ec48wxn/
1547808141
26
t5_2fwo
r/programming
public
null
False
doublehyphen
t2_9v5mu
Not really. PostgreSQL will implement pluggable storage engines at a different level. Triggers, foreign keys, check constraints, etc, will be implemnted by PostgreSQL itself and not the storage engines.
null
0
1544051470
False
0
eb6ahgf
t3_a3dobm
null
null
t1_eb63tq2
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6ahgf/
1547069152
20
t5_2fwo
r/programming
public
null
False
Pjb3005
t2_83z30
This guy on HN has a possible theory: https://news.ycombinator.com/item?id=18703568
null
0
1545234272
False
0
ec48yfx
t3_a7jj68
null
null
t1_ec471gb
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec48yfx/
1547808161
75
t5_2fwo
r/programming
public
null
False
blipman17
t2_dq0kf
Creating tests that consistently highlight an error for a race condition? I mean, I've defenately tried a few times to write unit-tests. But even then, proving you've fixed some kind of window for a race condition to happen is fixed is gosh darn difficult.
null
0
1544051637
False
0
eb6apu3
t3_a3crqx
null
null
t1_eb6484c
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6apu3/
1547069256
13
t5_2fwo
r/programming
public
null
False
mattkenefick
t2_393vk
Buzzwords from a rockstar ninja agile coder! Synergize!
null
0
1545234304
False
0
ec48zxt
t3_a7jj68
null
null
t1_ec47lgc
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec48zxt/
1547808179
39
t5_2fwo
r/programming
public
null
False
Deathwatch72
t2_64r62
Oh were you referring to nuclear decay being completely random? My bad
null
0
1544051722
False
0
eb6au58
t3_a3crqx
null
null
t1_eb6a5ez
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6au58/
1547069308
5
t5_2fwo
r/programming
public
null
False
covercash2
t2_8hhmk
Inbox was great while it lasted. rip
null
0
1545234338
False
0
ec491it
t3_a7jj68
null
null
t1_ec3ymx2
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec491it/
1547808199
56
t5_2fwo
r/programming
public
null
False
doublehyphen
t2_9v5mu
PostgreSQL is well optimized for this use case, but as others have said most databases should handle it fine.
null
0
1544051753
False
0
eb6avru
t3_a3dobm
null
null
t1_eb604z1
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6avru/
1547069328
2
t5_2fwo
r/programming
public
null
False
Norgenigga
t2_rbzqt
Yeah on the same side. I like React, but JSX is a little sloppy and can get less than readable quickly. Vue closer to vanilla. Also Vue state management is a little cleaner.
null
0
1545234341
False
0
ec491o9
t3_a7lho8
null
null
t1_ec43nzd
/r/programming/comments/a7lho8/reasons_why_vuejs_is_getting_more_traction_every/ec491o9/
1547808201
4
t5_2fwo
r/programming
public
null
False
Isvara
t2_10v24
>how the hell didn't I know about Arcentry? You don't keep up with HN 🙃
null
0
1544051769
False
0
eb6awk2
t3_a3dobm
null
null
t1_eb5ilf3
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6awk2/
1547069338
2
t5_2fwo
r/programming
public
null
False
tHeSiD
t2_3bgpm
Since, I can't find any one asking this, I have to ask, do I have to enable virtualization on my motherboard (via bios) for this to work?
null
0
1545234366
False
0
ec492td
t3_a7hbku
null
null
t1_ec3hjr7
/r/programming/comments/a7hbku/windows_sandbox/ec492td/
1547808216
1
t5_2fwo
r/programming
public
null
False
timClicks
t2_4majh
This core/frontend architecture talking through an RPC layer is also how /r/xieditor operates
null
0
1544051841
False
0
eb6b063
t3_a3chz5
null
null
t3_a3chz5
/r/programming/comments/a3chz5/next_the_dynamic_web_browser_resilient_to/eb6b063/
1547069412
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1545234419
False
0
ec495c3
t3_a7m6jc
null
null
t1_ec48jg4
/r/programming/comments/a7m6jc/a_profile_on_donald_knuth/ec495c3/
1547808246
28
t5_2fwo
r/programming
public
null
False
mattkerle
t2_3aius
not very often, but sometimes, I've followed a bug down into the framework, sometimes with source, sometimes without (hello decompiler!). It's usually informative, and even though I've never solved my problem by updating the framework, it's usually shown that either I was doing it wrong, or how to work around the bug. Don't fear the framework!
null
0
1544051858
False
0
eb6b10z
t3_a3crqx
null
null
t1_eb57ing
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6b10z/
1547069422
3
t5_2fwo
r/programming
public
null
False
nexd
t2_arzy
What actual evidence is there for this other than an interns statement and a bunch of anecdotal evidence?
null
0
1545234518
False
0
ec499x1
t3_a7jj68
null
null
t3_a7jj68
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec499x1/
1547808303
16
t5_2fwo
r/programming
public
null
False
Stovoy
t2_tas2m0y
Everything is Docker / Cloud computing, like AWS, and in many SF startups, all the developers use Macbooks.
null
0
1544051906
False
0
eb6b3ej
t3_a3dobm
null
null
t1_eb67afp
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6b3ej/
1547069452
6
t5_2fwo
r/programming
public
null
False
maxc01
t2_gvgy1
My experience is most website is really fast in Firefox, but all material design website is slow in Firefox, and consumes so much CPU, like the new Reddit, Gmail, bitbucket, I dare not to open bitbucket especially.
null
0
1545234522
False
0
ec49a3b
t3_a7jj68
null
null
t3_a7jj68
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49a3b/
1547808305
3
t5_2fwo
r/programming
public
null
False
blipman17
t2_dq0kf
It could be that you were using UB, and in release the compiler interpreted your code differently in a way it could optimize it better.
null
0
1544051919
False
0
eb6b40m
t3_a3crqx
null
null
t1_eb5lqj1
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6b40m/
1547069459
1
t5_2fwo
r/programming
public
null
False
malnourish
t2_3muaf
There's always Thunderbird
null
0
1545234556
False
0
ec49bp6
t3_a7jj68
null
null
t1_ec3ymx2
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49bp6/
1547808325
22
t5_2fwo
r/programming
public
null
False
doublehyphen
t2_9v5mu
Yes, really. Even in a huge Microsoft country like Sweden SQL Server is pretty rare among startups these days (it used to be common).
null
0
1544051948
False
0
eb6b5gv
t3_a3dobm
null
null
t1_eb67afp
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6b5gv/
1547069477
5
t5_2fwo
r/programming
public
null
False
SilasX
t2_4o64v
I think I'd have to learn a lot more about this domain to comment, but... Abstractly, there's no reason that some hyperoptimal renderer shouldn't permit some kind of fix that solves the problem of one-level-deeper DOM elements. It's one more preprocessing step FFS. Edit: sorry I annoyed you for calling out shitty programming.
null
0
1545234565
1545236650
0
ec49c3u
t3_a7jj68
null
null
t1_ec48yfx
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49c3u/
1547808330
-4
t5_2fwo
r/programming
public
null
False
hylaine
t2_h0fcc52
If you are doing Greenfield and/or simple Dev and have done the right thing by NOT storing logic in your DB then Flyway rocks. If you've done more than that I love Redhat's source control for more complex DBs. Once you source control your DB you'll wonder how you lived without it. The implicit reply about adding logic to a db is ridiculous. It's a great way to split your repo,make things difficult to test, and make your DevOps situation a nightmare.
null
0
1544051981
False
0
eb6b73d
t3_a3dobm
null
null
t1_eb65bg7
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6b73d/
1547069497
6
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
The first browser to isolate tabs in different processes was IE8 beta 2 which was released a couple of weeks before Chrome was announced. IE (and currently Edge) does it a bit differently than Chrome as it optimizes the amount of processes based on the amount of system resources and can combine a couple of tabs in a process or even all tabs in a single process if you are running on a single core slow machine. This is probably why it doesn't eat that much RAM but the downside is that when a tab crashes usually 1 or 2 more tabs crash with it (I usually browse with 10-15 tabs) I always find it funny how people ignore the innovations of IE. There is something like the Steve Jobs reality distortion field in reverse when it comes to IE.
null
0
1545234608
False
0
ec49e5y
t3_a7k0an
null
null
t1_ec4524p
/r/programming/comments/a7k0an/did_google_cripple_edges_youtube_performance/ec49e5y/
1547808355
45
t5_2fwo
r/programming
public
null
False
imhotap
t2_13wrff
Now that gets me really interested. If you've got additional info to share, that'd really be appreciated. I have kindof a stake in it as I'm maintaining SGML DTDs for HTML 5.x (and SGML tools themselves).
null
0
1544051994
False
0
eb6b7qc
t3_a2ybqo
null
null
t1_eb4z20v
/r/programming/comments/a2ybqo/rip_the_web_19892019_microsoft_is_building_a/eb6b7qc/
1547069506
1
t5_2fwo
r/programming
public
null
False
errorkode
t2_6liwt
And RR Martin published a bunch of other stuff since the last book. I'm not saying there aren't reasons. Just found the comparison hilarious because Knuth is one of the few authors publishing his books slower than RR Martin.
null
0
1545234625
False
0
ec49ezq
t3_a7m6jc
null
null
t1_ec48jg4
/r/programming/comments/a7m6jc/a_profile_on_donald_knuth/ec49ezq/
1547808365
15
t5_2fwo
r/programming
public
null
False
doublehyphen
t2_9v5mu
No, and it did not work that way either when I started working professionally with Linux 11 years ago.
null
0
1544052090
False
0
eb6bch5
t3_a3dobm
null
null
t1_eb68np8
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6bch5/
1547069564
20
t5_2fwo
r/programming
public
null
False
Bio42
t2_q9y8r
ReSharper is one of the tools I would quit a job for not being able to access it. Best. Tool. Ever.
null
0
1545234637
False
0
ec49fjj
t3_a7mgov
null
null
t3_a7mgov
/r/programming/comments/a7mgov/resharper_ultimate_20183_is_here_performance_vs/ec49fjj/
1547808372
18
t5_2fwo
r/programming
public
null
False
fuckin_ziggurats
t2_cmam5
That's a great article. The Skeet never disappoints.
null
0
1544052261
False
0
eb6bl0m
t3_a3cluu
null
null
t1_eb58dkb
/r/programming/comments/a3cluu/exploring_cs_ref_return_to_better_understand_it/eb6bl0m/
1547069669
1
t5_2fwo
r/programming
public
null
False
slowpush
t2_dp27a
You get the popup once actually. Calling it a "nag" screen is kinda ridiculous. As opposed to Chrome nag screens on every single Google property if you visit it using Firefox
null
0
1545234643
1545235279
0
ec49fvl
t3_a7jj68
null
null
t1_ec46om1
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49fvl/
1547808376
68
t5_2fwo
r/programming
public
null
False
fullbeastcreative
t2_14nnor
We call those photon interference with internal circuitry - nothing we can do boss. Then when he leaves we go back to playing fortnite.
null
0
1544052275
False
0
eb6bloa
t3_a3crqx
null
null
t3_a3crqx
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6bloa/
1547069677
1
t5_2fwo
r/programming
public
null
False
vinnl
t2_36ai2
Yes, this sounds a lot more accurate. To make your point stronger again, you might want to add that YouTube is still on the older, non-standardised version.
null
0
1545234738
False
0
ec49kca
t3_a7jj68
null
null
t1_ec462nf
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49kca/
1547808432
15
t5_2fwo
r/programming
public
null
False
DittoBuns
t2_29mzckxv
r/blackmagicfuckery
null
0
1544052376
False
0
eb6bqox
t3_a3hvom
null
null
t3_a3hvom
/r/programming/comments/a3hvom/look_out_for_holograms/eb6bqox/
1547069741
1
t5_2fwo
r/programming
public
null
False
LetsGoHawks
t2_32830
Then some clearly less capable writers took over the typesetting documentary. Which everybody was kind of OK with because they wanted to know more about typesetting. And the Guttenburg stuff is cool and all, but we really wish he would have just gotten off his ass and finished the typesetting book.
null
0
1545234794
False
0
ec49mzw
t3_a7m6jc
null
null
t1_ec43pjb
/r/programming/comments/a7m6jc/a_profile_on_donald_knuth/ec49mzw/
1547808465
18
t5_2fwo
r/programming
public
null
False
mattkerle
t2_3aius
a guy I worked with once had a bug he was _convinced_ was in the compiler! After some teddy-bearing it turned out that he had two variables with very similar names and we were looking at the wrong one.. ;-)
null
0
1544052451
False
0
eb6buhr
t3_a3crqx
null
null
t1_eb5dvy5
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6buhr/
1547069788
2
t5_2fwo
r/programming
public
null
False
tilyral
t2_25gynkgb
Not true, there is a large following in the west. The biggest PHP framework Laravel is actively promoting it and using it as a default scaffolding.
null
0
1545234819
False
0
ec49o6s
t3_a7lho8
null
null
t1_ec3yo18
/r/programming/comments/a7lho8/reasons_why_vuejs_is_getting_more_traction_every/ec49o6s/
1547808480
9
t5_2fwo
r/programming
public
null
False
saltybandana
t2_2hallns5
I actually don't like the switch expressions. Well, it's not that I don't like them, I just think they're too unwieldy. I actually think leaning on generics or a template-like feature would be better. What I mean is code that can react to the nulls and do the right thing vs a permutation of all possibilities.
null
1
1544052488
False
0
eb6bwf7
t3_a3ghju
null
null
t3_a3ghju
/r/programming/comments/a3ghju/whats_new_in_c_80/eb6bwf7/
1547069811
-1
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
Edge did suck though especially on launch. People didn't give it much of a chance after that. But I guess this is how MS treats its consumer products now in the Nadella era. Can't wait for Apple to release a MacBook with touch so I can leave the MS ecosystem
null
0
1545234861
False
0
ec49q72
t3_a7k0an
null
null
t1_ec48wxn
/r/programming/comments/a7k0an/did_google_cripple_edges_youtube_performance/ec49q72/
1547808504
10
t5_2fwo
r/programming
public
null
False
_Scully_Dog_
t2_w8gjgl4
Chrome master race
null
0
1544052631
False
0
eb6c3m6
t3_a3htqg
null
null
t3_a3htqg
/r/programming/comments/a3htqg/while_we_blink_we_loose_the_web/eb6c3m6/
1547069900
-26
t5_2fwo
r/programming
public
null
False
ase1590
t2_6qlj4
>How about I pick a random backwoods community in Tennessee instead. >image data 2014 still better than [Helsinki](https://www.google.com/maps/@60.1682483,24.9372516,3a,75y,127.09h,91.49t/data=!3m7!1e1!3m5!1s6gc_Xpss8pi-5EoCdpufBA!2e0!6s%2F%2Fgeo0.ggpht.com%2Fcbk%3Fpanoid%3D6gc_Xpss8pi-5EoCdpufBA%26output%3Dthumbnail%26cb_client%3Dmaps_sv.tactile.gps%26thumb%3D2%26w%3D203%26h%3D100%26yaw%3D125.98218%26pitch%3D0%26thumbfov%3D100!7i13312!8i6656) >image data 2009 4 years vs 9 is a pretty big gap
null
0
1545234869
False
0
ec49qju
t3_a7jj68
null
null
t1_ec46i9c
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49qju/
1547808508
2
t5_2fwo
r/programming
public
null
False
coffeewithalex
t2_2ie1hb9f
You shouldn't have the logic in the database, unless you're doing data engineering and your whole code is SQL, in which case there isn't much plpgsql either, and certainly no triggers. There are many many arguments why you shouldn't keep logic in the database: 1. Performance. Databases are made for storing and manipulating data. Not for the logic when and how to do it. It's slow at it. 2. Security. Databases aren't made for this stuff. They don't have proper protection against malicious interactions. Web platforms do. Well documented bests practices, available modules for everything. 3. Debugging. Debugging and db code, whichever it is, is harder than for scripting or programming languages. 4. Version control. Your data is not disposable. It's your pet. You care that it's there, not many times. There are no reliable ways to version control databases when they also carry around data. The 2 mix together. Outside code however is isolated, and you can do what you want with it. 5. Visibility. With regular code, what you see is what you get. You see the flow of the code. You have good IDEs that let you navigate through code. With code in databases, you have to know where to look and what to look for. Is it an extension? Is it a procedure? Trigger? View? Materialized view? It's not visible unless you explicitly ask it. 6. Flexibility. If a part of your database isn't meeting demands, you can switch it for another data engineer, not necessarily SQL even. If logic is in outside code, it won't care much. If it's in the DB, it will have to be rewritten, which might not even be possible. 7. Features. Even the most advanced databases have a severely limited set of features, so writing code there is harder, uglier. 8. Current trends. Micro services, serverless computing, etc. There is no room for database triggers in those. 9. Big data. Just forget about triggers like it's a childhood nightmare when you get to this one. My job is not agreeing with anyone, but to throw in some good arguments for a position that deserves those arguments. :)
null
0
1544052671
False
0
eb6c5mw
t3_a3dobm
null
null
t1_eb6a3oi
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6c5mw/
1547069925
25
t5_2fwo
r/programming
public
null
False
nobodyman
t2_39ri9
Apparently ~~the google engineeer who added the empty-div~~ [has replied](https://medium.com/@jeremy.noring/did-google-cripple-edges-youtube-performance-ce5169d3e5f4). The ~~google~~ engineer claims it was meant as a work-around for the goofy way that Edge handles keypress events when a video element has focus.   edit: was mistaken, not *the* google engineer, but rather a video engineer who wrote a similar hack to work around edge's key-event swallowing for the video element.
null
0
1545234877
1545237761
0
ec49qxh
t3_a7jj68
null
null
t1_ec3hkq5
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49qxh/
1547808513
118
t5_2fwo
r/programming
public
null
False
pknopf
t2_m20fv
From Linux? Because of WSL? What advantages does WSL give you over native Linux?
null
0
1544052698
False
0
eb6c6zd
t3_a32foa
null
null
t1_eb45ry1
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb6c6zd/
1547069942
1
t5_2fwo
r/programming
public
null
False
malnourish
t2_3muaf
I agree, but I think throwing sand in the eyes of every non Blink related rendering engine is ultimately worse. Here we are discussing which of these scummy tactics is the worst when any one should be unthinkable
null
0
1545234883
False
0
ec49r80
t3_a7jj68
null
null
t1_ec46om1
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49r80/
1547808517
22
t5_2fwo
r/programming
public
null
False
Doomaa
t2_145eiu
It's been a while but you had to run a .make file command in the prompt before installing apps. It was not like clicking on an .exe or just typing run app.exe to install apps. And them the make command would not work if you were missing addins. It's been a while but that how I remember it working. This was 2003ish I believe. One other thing. This was for a bugzilla install.
null
1
1544052883
1544054300
0
eb6cgh6
t3_a3dobm
null
null
t1_eb6bch5
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6cgh6/
1547070087
2
t5_2fwo
r/programming
public
null
False
ase1590
t2_6qlj4
> Hotmail got converted to Outlook, but I think they try to upsell you on things. Nope. Outlook.com with uBlock Origin is a fantastic experience for me. Their mobile app doesn't serve me ads and works pretty great as well.
null
0
1545234977
False
0
ec49vn6
t3_a7jj68
null
null
t1_ec3sx8x
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49vn6/
1547808571
1
t5_2fwo
r/programming
public
null
False
semperverus
t2_41g4z
I'm going to have to be lame and say it's more a philosophical argument vs an actual practical one. But it does matter as far as neuroscience goes and trying to understand the human brain for the sake of fixing and also replicating it. I remember reading an article about how a research team took some FPGAs and some sort of AI algorithm to automatically come up with the best way for the FPGA to calculate a function. It wound up doing weird stuff like taking imperfections in the gates and the electromagnetic emissions they put off as part of the calculation. These little "subtle" random things have the potential to be quite powerful factors in how the brain works. It could even be what determines whether or not something is sentient if random is actually a component. I'm personally a fan of a completely deterministic brain and universe, but they both appear at first to favor random/chaos to a certain extent. Deterministic is more "clean."
null
0
1544052909
False
0
eb6chqi
t3_a3crqx
null
null
t1_eb66o82
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6chqi/
1547070104
2
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
The empty div makes sense but they also pushed the unusable web components version to Chrome users. The old youtube worked fine and they did keep it for older versions of IE and you can actually trick youtube to serve the old version for Edge which works infinitely better. As I see it they specifically fucked up Edge here and while I don't know about the empty div I was able to confirm the old/new youtube personally.
null
0
1545235009
False
0
ec49x66
t3_a7k0an
null
null
t1_ec3stsf
/r/programming/comments/a7k0an/did_google_cripple_edges_youtube_performance/ec49x66/
1547808619
7
t5_2fwo
r/programming
public
null
False
duzzar
t2_eydzy
Not even. You can use the old platform toolset from VS 2017.
null
0
1544052953
False
0
eb6cjuf
t3_a32r4e
null
null
t1_eb628ch
/r/programming/comments/a32r4e/announcing_visual_studio_2019_preview_1/eb6cjuf/
1547070129
1
t5_2fwo
r/programming
public
null
False
Colonel_White
t2_ea7r4sc
Not that I don't trust Google, but I don't trust Google. Anybody care to describe this "insane keypress logic" thing in detail? Was it half as annoying as Google's "insane keypress logic" thing where they would rip the cursor out of their own search box in order to create the habit of typing queries directly into the url window (and then force an unwanted and erroneous search on a fully-qualified url?)
null
0
1545235043
False
0
ec49yus
t3_a7k0an
null
null
t3_a7k0an
/r/programming/comments/a7k0an/did_google_cripple_edges_youtube_performance/ec49yus/
1547808640
-7
t5_2fwo
r/programming
public
null
False
BigFatMonads
t2_2k91bbh5
Stupid comment. Monopolies are never good.
null
0
1544053027
False
0
eb6cnk8
t3_a3htqg
null
null
t1_eb6c3m6
/r/programming/comments/a3htqg/while_we_blink_we_loose_the_web/eb6cnk8/
1547070175
15
t5_2fwo
r/programming
public
null
False
Superpickle18
t2_kzk9p
Maybe noone gives a shit about finland? They are constantly updating my city.
null
0
1545235043
False
0
ec49yuz
t3_a7jj68
null
null
t1_ec49qju
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec49yuz/
1547808640
3
t5_2fwo
r/programming
public
null
False
mixedCase_
t2_ot0tg
> Nobody even uses virtual servers anymore as a deployment target That's stretching it a lot, unfortunately.
null
0
1544053094
False
0
eb6cqxw
t3_a3dobm
null
null
t1_eb684g0
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6cqxw/
1547070217
17
t5_2fwo
r/programming
public
null
False
riwtrz
t2_avlby
AFAIK BIOS updates aren't required. Windows reports that the mitigations are enabled on my machine with just the microcode update package (except for CVE-2018-3639 -- the Haswell update doesn't seem to be available yet). > get-speculationcontrolsettings For more information about the output below, please refer to https://support.microsoft.com/en-in/help/4074629 Speculation control settings for CVE-2017-5715 [branch target injection] Hardware support for branch target injection mitigation is present: True Windows OS support for branch target injection mitigation is present: True Windows OS support for branch target injection mitigation is enabled: True Speculation control settings for CVE-2017-5754 [rogue data cache load] Hardware requires kernel VA shadowing: True Windows OS support for kernel VA shadow is present: True Windows OS support for kernel VA shadow is enabled: True Windows OS support for PCID performance optimization is enabled: True [not required for security] Speculation control settings for CVE-2018-3639 [speculative store bypass] Hardware is vulnerable to speculative store bypass: True Hardware support for speculative store bypass disable is present: False Windows OS support for speculative store bypass disable is present: True Windows OS support for speculative store bypass disable is enabled system-wide: False Speculation control settings for CVE-2018-3620 [L1 terminal fault] Hardware is vulnerable to L1 terminal fault: True Windows OS support for L1 terminal fault mitigation is present: True Windows OS support for L1 terminal fault mitigation is enabled: True BTIHardwarePresent : True BTIWindowsSupportPresent : True BTIWindowsSupportEnabled : True BTIDisabledBySystemPolicy : False BTIDisabledByNoHardwareSupport : False BTIKernelRetpolineEnabled : False BTIKernelImportOptimizationEnabled : False KVAShadowRequired : True KVAShadowWindowsSupportPresent : True KVAShadowWindowsSupportEnabled : True KVAShadowPcidEnabled : True SSBDWindowsSupportPresent : True SSBDHardwareVulnerable : True SSBDHardwarePresent : False SSBDWindowsSupportEnabledSystemWide : False L1TFHardwareVulnerable : True L1TFWindowsSupportPresent : True L1TFWindowsSupportEnabled : True L1TFInvalidPteBit : 45 L1DFlushSupported : False
null
0
1545235056
1545235241
0
ec49zh8
t3_a7hbku
null
null
t1_ec471pp
/r/programming/comments/a7hbku/windows_sandbox/ec49zh8/
1547808647
4
t5_2fwo
r/programming
public
null
False
flukus
t2_3855p
As other's have said, postgres or any other database, even access. The issue here is the volume.
null
0
1544053099
False
0
eb6cr6g
t3_a3dobm
null
null
t1_eb604z1
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6cr6g/
1547070220
1
t5_2fwo
r/programming
public
null
False
mindbleach
t2_28j4q
Both cases are anticompetitive abuses. Once is too often.
null
0
1545235087
False
0
ec4a0zb
t3_a7jj68
null
null
t1_ec49fvl
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4a0zb/
1547808666
-7
t5_2fwo
r/programming
public
null
False
nowonmai
t2_46d18
Source of what? Why it matters? I thought that should be self evident. It basically is the determining factor of whether we have free will or not. If our brain is completely deterministic, the same set of stimuli will always result in the same action.
null
0
1544053124
False
0
eb6csim
t3_a3crqx
null
null
t1_eb66o82
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6csim/
1547070236
3
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
They also threaten with lawsuits when MS release a high-quality YouTube app on Windows Phone :)
null
0
1545235098
False
0
ec4a1h5
t3_a7k0an
null
null
t1_ec3xsce
/r/programming/comments/a7k0an/did_google_cripple_edges_youtube_performance/ec4a1h5/
1547808672
3
t5_2fwo
r/programming
public
null
False
golgol12
t2_3ocqd
This article answers the question in the last couple paragraphs. It's that the memory is laid out sequentially, and if the string is short enough then it's possible that the start of the next string is loaded in the cache when the previous line is loaded.
null
0
1544053300
False
0
eb6d24l
t3_a3e1ea
null
null
t1_eb5k69s
/r/programming/comments/a3e1ea/how_can_dereferencing_the_first_character_of_a/eb6d24l/
1547070356
1
t5_2fwo
r/programming
public
null
False
synn89
t2_3jm4t
But most browser offerings were shit back when Chrome was gaining steam. I used to be a die hard Firefox user and the bloat and other BS it used to have drove me off a long time ago. And once you lose a customer it's real hard to bring them back through the door.
null
0
1545235154
False
0
ec4a47y
t3_a7k0an
null
null
t1_ec48wxn
/r/programming/comments/a7k0an/did_google_cripple_edges_youtube_performance/ec4a47y/
1547808706
14
t5_2fwo
r/programming
public
null
False
flukus
t2_3855p
Needs more npm modules.
null
0
1544053340
False
0
eb6d49x
t3_a3dobm
null
null
t1_eb5zyh0
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6d49x/
1547070382
8
t5_2fwo
r/programming
public
null
False
baconbrand
t2_g8qit
Every single time I click a link in the mobile Gmail app, it asks if I want to install Chrome instead of using Safari. Every. Time.
null
0
1545235291
False
0
ec4aai9
t3_a7jj68
null
null
t1_ec49fvl
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4aai9/
1547808785
50
t5_2fwo
r/programming
public
null
False
yawaramin
t2_77bue
This is a rock you'll have to keep rolling up the hill in every Flutter thread from now on.
null
0
1544053785
False
0
eb6ds62
t3_a33mqk
null
null
t1_eb3ewz8
/r/programming/comments/a33mqk/flutter_10_googles_portable_ui_toolkit/eb6ds62/
1547070708
1
t5_2fwo
r/programming
public
null
False
the_bananalord
t2_2mb0h2hf
I suspected that last part but didn't want to say either way without actually knowing. Thanks.
null
0
1545235310
False
0
ec4abe3
t3_a7jj68
null
null
t1_ec49kca
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4abe3/
1547808796
6
t5_2fwo
r/programming
public
null
False
VisibleCheck
t2_2qa9x33e
>at least a couple robust specialized a couple **OF**
null
0
1544053903
False
0
eb6dygi
t3_a3dobm
null
null
t1_eb667hh
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6dygi/
1547070786
-10
t5_2fwo
r/programming
public
null
False
baconbrand
t2_g8qit
They could just... not
null
0
1545235344
False
0
ec4acys
t3_a7jj68
null
null
t1_ec3xsve
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4acys/
1547808815
11
t5_2fwo
r/programming
public
null
False
bluntcoder
t2_c8s66
By rewriting it native? (sorry for the troll, I couldn't help myself. :)
null
0
1544053950
False
0
eb6e0z6
t3_a3crqx
null
null
t3_a3crqx
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6e0z6/
1547070817
2
t5_2fwo
r/programming
public
null
False
EWJacobs
t2_bash7
Is vue gaining traction? I've been on the lookout for job posting featuring it and I haven't seen anything.
null
0
1545235383
False
0
ec4aet8
t3_a7lho8
null
null
t3_a7lho8
/r/programming/comments/a7lho8/reasons_why_vuejs_is_getting_more_traction_every/ec4aet8/
1547808838
5
t5_2fwo
r/programming
public
null
False
dzecniv
t2_j6dwn
Yes ! - http://common-lisp.net/ - http://lisp-lang.org/ - https://github.com/CodyReichert/awesome-cl
null
0
1544054147
False
0
eb6ebuv
t3_a3chz5
null
null
t1_eb5uk3r
/r/programming/comments/a3chz5/next_the_dynamic_web_browser_resilient_to/eb6ebuv/
1547070953
2
t5_2fwo
r/programming
public
null
False
Kazuto88
t2_habdw
Yeah, really, the only reason they're suddenly embracing open source is because they're losing their grip on all their markets. If Linux wasn't such a big thing in corporate software, Microsoft wouldn't give a crap about open source software. And not to counter my initial point, but fuck Google, too. Not for screwing Microsoft, but for doing the exact same thing with Chrome that we criticize Microsoft for having done with IE. That wasn't the point of this article, but we know they keep trying to push non-standard standards, so, yeah.
null
1
1545235429
False
0
ec4agzj
t3_a7jj68
null
null
t1_ec48hhp
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4agzj/
1547808865
1
t5_2fwo
r/programming
public
null
False
ijustwantanfingname
t2_63w28
I totally stole it from an Aussie on reddit
null
0
1544054155
False
0
eb6ecan
t3_a32foa
null
null
t1_eb4d7wl
/r/programming/comments/a32foa/announcing_open_source_of_wpf_windows_forms_and/eb6ecan/
1547070959
1
t5_2fwo
r/programming
public
null
False
anechoicmedia
t2_11w2mr
>Home users will not use this feature. They certainly won't if the business decision has been made up front to not make it consumable to them with the appropriate interface. Consider "private tabs" in your browser of choice -- at one point, that capability was a sort of virtualization that required you create temp profiles, or manually sandbox processes, or spin up VMs. Naturally only nerds and obsessives who use Tor and whatnot would do these things set up disposable browser instances for themselves. But the reason all of us have instant private browsing mode on demand was because someone figured out how to package up various security technologies into a user-facing feature, as simple as clicking "new private tab". That's what so frustrating about this article, because while home users aren't going to use "Microsoft Hyper-V" to create "Windows Containers", the problem the article posits this feature solving -- "suppose you have a suspicous exe file" -- is one that basically *everybody has*. So imagine instead a hypothetical "run this app in private mode" option that you could get when right-clicking any program. A sandbox would be instantiated in the background, the program would launch in it, and it's window might be drawn with a different border color or something to indicate it's isolated status (sort of like drawing a RemoteApp window, or seamless mode Parallels/VirtualBox window). You could even make this the default for exe files downloaded from the internet, like Microsoft Office already does with Protected Mode in combination with the appropriate file attributes. That's something anyone could benefit from, without requiring them to understand what a "Container" is.
null
1
1545235434
False
0
ec4ah7h
t3_a7hbku
null
null
t1_ec3x0xx
/r/programming/comments/a7hbku/windows_sandbox/ec4ah7h/
1547808867
2
t5_2fwo
r/programming
public
null
False
DogMaster237
t2_gllx7
Their is no home button on what Im assuming is a X XS or XR,
null
0
1544054167
False
0
eb6ed2x
t3_a3dobm
null
null
t1_eb5vn3p
/r/programming/comments/a3dobm/at_22_years_old_postgres_might_just_be_the_most/eb6ed2x/
1547070969
-1
t5_2fwo
r/programming
public
null
False
ase1590
t2_6qlj4
Google has issues keeping any maps other than the US and certain popular countries up to date map-wise. In many cases Europe-side, Open Street Maps data will be better instead, depending on the region. However the website for OpenStreetMaps sucks, and is only useful if you use the data in a good app like maybe [osmAND](https://osmand.net/).
null
0
1545235441
1545235659
0
ec4ahkc
t3_a7jj68
null
null
t1_ec49yuz
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4ahkc/
1547808872
3
t5_2fwo
r/programming
public
null
False
bagtowneast
t2_pii4tqi
Harry Seldon, is that you?
null
0
1544054345
False
0
eb6en39
t3_a3crqx
null
null
t1_eb5ywdk
/r/programming/comments/a3crqx/how_i_debugged_a_non_reproducible_bug_with_20k/eb6en39/
1547071093
3
t5_2fwo
r/programming
public
null
False
BinarySplit
t2_iqq1
I'd attribute that to incompetence rather than malice. YouTube still loads rather sluggishly in Chrome as well. They foolishly invested in a technology before it was standardized and found that the polyfills needed to support Polymer weren't good enough. Now they're probably kicking themselves that they need to maintain multiple different forks of the site to support all the browsers.
null
0
1545235467
False
0
ec4aiqy
t3_a7jj68
null
null
t1_ec3tdrn
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4aiqy/
1547808887
10
t5_2fwo
r/programming
public
null
False
phalp
t2_ajc92
Hmm, but isn't typing the program basically equivalent to writing it? Maybe it's less code to write the types for matrix transposition (and let the computer infer the program) than to write the transposition program (and let the computer infer the types), but it seems like that would be a quirk of the language. Can we expect the types to be short and the program inferable often enough that picking which to write boosts productivity?
null
0
1544054374
False
0
eb6eopq
t3_a3cble
null
null
t1_eb5ttc8
/r/programming/comments/a3cble/idris_2_typedriven_development_of_idris/eb6eopq/
1547071113
8
t5_2fwo
r/programming
public
null
False
I_AM_ALWAYS_ANGRY
t2_ojxo4
If a <div> can slow your browser to a crawl, maybe you deserve to disappear.
null
0
1545235470
False
0
ec4aivn
t3_a7jj68
null
null
t3_a7jj68
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4aivn/
1547808890
1
t5_2fwo
r/programming
public
null
False
zeno490
t2_4den8
It isn't clear which values he used for constants but CPU caches are pretty big these days. If <32kb of memory is used, every string will fit in L1 and take the same amount of time. The L2 is usually about 256KB and the L3 in the 10-30MB range. Assuming he allocates more memory than for the L3 such that every string is potentially a cache miss, the resulting performance is entirely dependant on the allocator behavior. What is more likely to happen is that the allocator uses contiguous memory to allocate the strings and when we access them, even though the memory reads aren't contiguous, we either hit the same cache line or we hit cache lines with a constant stride which allows the processor to prefetch them somewhat up until the stride exceeds a whole 4kb page and it can no longer prefetch. Lots of things potentially at play here.
null
0
1544054431
False
0
eb6esa2
t3_a3e1ea
null
null
t1_eb5pcr4
/r/programming/comments/a3e1ea/how_can_dereferencing_the_first_character_of_a/eb6esa2/
1547071157
2
t5_2fwo
r/programming
public
null
False
AHHHHwhocares
t2_43oe74
I didn't try but that's what it says in the article- >If you are using a physical machine, ensure virtualization capabilities are enabled in the BIOS.
null
0
1545235561
False
0
ec4anbc
t3_a7hbku
null
null
t1_ec492td
/r/programming/comments/a7hbku/windows_sandbox/ec4anbc/
1547808944
3
t5_2fwo
r/programming
public
null
False
Synaps4
t2_gvpfc
Is it bad that the first thing I look at with this code is how much flexibility I have with what gets input to malloc()? I should be following the logic and instead I'm looking for input checking.
null
0
1544054498
False
0
eb6ew89
t3_a3e1ea
null
null
t3_a3e1ea
/r/programming/comments/a3e1ea/how_can_dereferencing_the_first_character_of_a/eb6ew89/
1547071232
2
t5_2fwo
r/programming
public
null
False
jl2352
t2_11g67p
But that is similar to *"there is no reason an sufficiently optimising compiler can't work out x optimisation"*. In practice building generic optimisations is hard, and building all these optimisations takes tonnes of time and effort. It's why many mature languages can fail to make some optimistions which may appear obvious and easy for a human.
null
0
1545235679
False
0
ec4aswk
t3_a7jj68
null
null
t1_ec49c3u
/r/programming/comments/a7jj68/former_microsoft_edge_intern_claims_google/ec4aswk/
1547809013
11
t5_2fwo
r/programming
public
null