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
0x16a0
t2_7izmv
You guys are massive pricks.
null
0
1543707411
False
0
eavx3bm
t3_a1tazn
null
null
t1_eav27kj
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eavx3bm/
1546297044
2
t5_2fwo
r/programming
public
null
False
smikims
t2_99ozc
LLVM hasn't really been a VM for a long time.
null
0
1544826614
False
0
ebt2hj7
t3_a61to1
null
null
t1_ebrn2bi
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebt2hj7/
1547620032
3
t5_2fwo
r/programming
public
null
False
s0lly
t2_j2bhc
I'm using the Chili Framework which is a relatively barebones (read: amazingly awesome) approach that let's you pump individual pixels to the screen (and simplifies other small things e.g. keyboard capture and sound) but leaves everything else up to you. Great for learning, which is what I'm doing (or trying to do!!). So, the rest of the code from there is my own. Edit: this is in C++.
null
0
1543707532
1543707729
0
eavx8mc
t3_a230zo
null
null
t1_eavsab0
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavx8mc/
1546297110
3
t5_2fwo
r/programming
public
null
False
happysmash27
t2_qp8d2
I agree, and do not know why you are being downvoted.
null
0
1544826718
False
0
ebt2lws
t3_a66102
null
null
t1_ebso97l
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt2lws/
1547620087
1
t5_2fwo
r/programming
public
null
False
lars_jeppesen
t2_d4m65xs
Imho Vue is inferior to Angular. ​ You're talking about AngularJS which has NOTHING to do with Angular.
null
0
1543707537
False
0
eavx8uu
t3_9udsg4
null
null
t1_e950aq2
/r/programming/comments/9udsg4/why_angular_made_me_quit_web_dev/eavx8uu/
1546297112
1
t5_2fwo
r/programming
public
null
False
stupodwebsote
t2_16iquzue
Don't think any special keyboard can ever accommodate their operators diarrhea
null
0
1544826726
False
0
ebt2m7z
t3_a5ylm8
null
null
t1_ebrtnmr
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebt2m7z/
1547620090
1
t5_2fwo
r/programming
public
null
False
lars_jeppesen
t2_d4m65xs
Only problem is that React is dated.. doesn't use Typescript per default, doesn't use Observables but uses Promises.. and so on and so on. ​ Don't even get me started on JSX
null
0
1543707587
False
0
eavxba0
t3_9udsg4
null
null
t1_e94zfpq
/r/programming/comments/9udsg4/why_angular_made_me_quit_web_dev/eavxba0/
1546297142
1
t5_2fwo
r/programming
public
null
False
annexi-strayline
t2_opgl37x
> You, on the other hand, pride yourself in knowing only one language and you somehow convinced yourself it's a good thing and that you will never change your mind about that. Excuse me? Please quote exactly where I said that I only know one language? You seem to have a habit of basing your arguments on notions which are either demonstrably false, or for which you are unable to provide a shred of evidence for. I really have no intention to discuss this topic any more with you, it is a waste of time.
null
0
1544826748
1544827824
0
ebt2n54
t3_a5ylm8
null
null
t1_ebt2csb
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebt2n54/
1547620102
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
This only applies if it's supposed to be a shadow and not what the character can see from their position. In the latter case you only need to cast the shadow from one point since it's not like there is a penumbra or diffusion when you're looking past a wall, there's a hard boundary between what you can and can't see.
null
0
1543707694
False
0
eavxg46
t3_a230zo
null
null
t1_eavf1ri
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavxg46/
1546297230
8
t5_2fwo
r/programming
public
null
False
TheLongestPete
t2_nj082x9
No not mine, stumbled upon it a few weeks ago in another subreddit
null
0
1544826956
False
0
ebt2vsc
t3_a69bzh
null
null
t1_ebt2axu
/r/programming/comments/a69bzh/synthwave_from_space_a_spotify_playlist_i_often/ebt2vsc/
1547620236
1
t5_2fwo
r/programming
public
null
False
s0lly
t2_j2bhc
Cheers! I did this in C++. I always thought making games was impossible even though I really wanted to do it. Then I found a few videos online earlier this year that just blew my mind, and showed me that it just requires some patience and a bit of time and you can do some really cool stuff with not that much code. I can point you to some of that if you'd be interested, happy to help!
null
0
1543707699
False
0
eavxgbq
t3_a230zo
null
null
t1_eavvu4f
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavxgbq/
1546297232
3
t5_2fwo
r/programming
public
null
False
maxsolmusic
t2_18b0fr2o
black mirror vibes af, I'll bet on apple staying around with a secure phone tho
null
0
1544826957
False
0
ebt2vu9
t3_a66102
null
null
t1_ebsu4w8
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt2vu9/
1547620237
1
t5_2fwo
r/programming
public
null
False
ideletedmyredditacco
t2_afcpm
I can't see it. I only see walls. #wallsnotshadows
null
0
1543707782
False
0
eavxjtj
t3_a230zo
null
null
t1_eaveqfb
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavxjtj/
1546297276
10
t5_2fwo
r/programming
public
null
False
Andernerd
t2_4xwal
That's only because the hard part (modular exponentiation) is taken care of by a library.
null
0
1544827115
False
0
ebt32el
t3_a66102
null
null
t1_ebt19le
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt32el/
1547620318
6
t5_2fwo
r/programming
public
null
False
s0lly
t2_j2bhc
I aim to explore this interesting effect a bit more ;p
null
0
1543707803
False
0
eavxkol
t3_a230zo
null
null
t1_eavojzs
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavxkol/
1546297287
3
t5_2fwo
r/programming
public
null
False
Andernerd
t2_4xwal
What are you talking about? Encryption where an unnecessary 3rd party holds the key is way weaker, just because the most likely way for it to be broken is for them to give the key away or lose it somehow.
null
0
1544827179
False
0
ebt350y
t3_a66102
null
null
t1_ebstpe0
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt350y/
1547620350
3
t5_2fwo
r/programming
public
null
False
edwardkmett
t2_26009
> The function must return the input list or a subset of it. This is because nothing about the type variable a is known. More a's cannot be made out of thin air. The output list is consists of potentially infinitely many copies of values from the input list. It can also repeat values in the input list. When we finally get them, with linear types you'd be able to know that it is a permutation of the input.
null
0
1543708085
False
0
eavxwwc
t3_a25r6x
null
null
t3_a25r6x
/r/programming/comments/a25r6x/ocaml_vs_maybe_not/eavxwwc/
1546297437
13
t5_2fwo
r/programming
public
null
False
Caraes_Naur
t2_2i5ux
Also, HR and recruiting toss around many terms they don't understand and impose ridiculous requirements such as "10 years of progressive web app experience".
null
0
1544827198
False
0
ebt35sp
t3_a5z6i5
null
null
t1_ebr13fn
/r/programming/comments/a5z6i5/full_stack_software_developer_named/ebt35sp/
1547620359
2
t5_2fwo
r/programming
public
null
False
aka-rider
t2_mp2al
I added this correction to the post. Also, I changed the term "zero cost" to "zero overhead" from your link. Thanks again.
null
0
1543708317
False
0
eavy6i8
t3_a1roi0
null
null
t1_easyfsa
/r/programming/comments/a1roi0/how_to_optimize_c_and_c_code_in_2018/eavy6i8/
1546297556
2
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
They can include the governments key in the conversation as a participant right? End-to-end, with spy inserted by your own client.
null
0
1544827306
False
0
ebt3abd
t3_a66102
null
null
t3_a66102
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3abd/
1547620417
3
t5_2fwo
r/programming
public
null
False
aka-rider
t2_mp2al
Thank you for this compliment. Actually, I recently moved blog from static Jekyll on github to medium. I don't want to handle GDPR, typography, and browser bugs anymore.
null
0
1543708580
False
0
eavyhss
t3_a1roi0
null
null
t1_eavsdn6
/r/programming/comments/a1roi0/how_to_optimize_c_and_c_code_in_2018/eavyhss/
1546297694
2
t5_2fwo
r/programming
public
null
False
DerNalia
t2_40cl6
sometimes it just can't work. I'm working on my own privacy-focused encrypted chat over at https://emberclear.io and it's just not possible to add a backdoor without it being _really_ obvious that private keys are getting shipped somewhere
null
0
1544827322
False
0
ebt3ayt
t3_a66102
null
null
t1_ebsb2z1
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3ayt/
1547620424
6
t5_2fwo
r/programming
public
null
False
26julio
t2_u4jhx
> blindly obvious Only in hindsight. At the time it was seen as incredibly clever, verging on dangerously complicated.
null
0
1543708674
False
0
eavyln4
t3_a23cci
null
null
t1_eavvqrh
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavyln4/
1546297742
21
t5_2fwo
r/programming
public
null
False
Ar-Curunir
t2_acgmy
Interesting, I knew that the USA was imperialist throughout its history, but didn't know that it was fascist for all that time too
null
0
1544827355
False
0
ebt3ccn
t3_a66102
null
null
t1_ebsslfp
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3ccn/
1547620442
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543708738
False
0
eavyodg
t3_a1we32
null
null
t1_eatzlv5
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eavyodg/
1546297806
1
t5_2fwo
r/programming
public
null
False
wanderingbilby
t2_c6du6
I know SQL like i know a lot of languages, just enough to do the hacky fixes i needed to put out the fires thrust in my face. So it appears i need to break out some manuals... 😑
null
0
1544827390
False
0
ebt3dtt
t3_a691r7
null
null
t1_ebt0ovy
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebt3dtt/
1547620460
3
t5_2fwo
r/programming
public
null
False
IdealImperialism
t2_24jtbsb1
Any complexity problem is always described as it's "worse case scenario".
null
1
1543708775
False
0
eavypwv
t3_a281dl
null
null
t3_a281dl
/r/programming/comments/a281dl/nphard_does_not_mean_hard/eavypwv/
1546297825
3
t5_2fwo
r/programming
public
null
False
DerNalia
t2_40cl6
would they just be a thin ... underbelt at that point?
null
0
1544827403
False
0
ebt3ech
t3_a66102
null
null
t1_ebsdbra
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3ech/
1547620466
3
t5_2fwo
r/programming
public
null
False
JezusTheCarpenter
t2_q0loq
Hmm, technically it's not correct because we have two eyes sperated some distance from each other. So even if it is not strictly a soft transition, it's not really a perfectly sharp line.
null
0
1543708940
False
0
eavyx6c
t3_a230zo
null
null
t1_eavxg46
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavyx6c/
1546297914
1
t5_2fwo
r/programming
public
null
False
thisisyournamenow
t2_1ghamdy3
Symptoms of bad code, images don't resize for mobile so I horizontal scroll all over the place.
null
0
1544827415
False
0
ebt3ev5
t3_a66ldu
null
null
t3_a66ldu
/r/programming/comments/a66ldu/symptoms_of_bad_code/ebt3ev5/
1547620473
8
t5_2fwo
r/programming
public
null
False
Booty_Bumping
t2_93n4r
Problem is, there are competing standards for this. Mentioned in the article is the string escape syntax with `\u`, there is also [Quoted-Printable](https://en.wikipedia.org/wiki/Quoted-printable) and [Punycode](https://en.wikipedia.org/wiki/Punycode)
null
0
1543709046
1543709328
0
eavz1s9
t3_a23cci
null
null
t1_eav2n0p
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavz1s9/
1546297970
10
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
> They can block the platform inside the country. They won't. This whole thing is about low-hanging fruit. They want to decrypt all the plebs on major vendors platforms. They don't care how many fish go uncaught so long as more fish are in the big-data nets. > Look at matrix.org/riot.im. Those are open source projects (GPL v3 I believe), they build a framework for encrypted communication for individuals, teams, groups If your application does group encryption then government can likely demand you insert their key as participant. Given you can then remove it again and compile your own version. > you can never put a backdoor in something like that because it will be forked Yeah, once again they'll ignore and instead hit Apple, Google and Facebook for ordinary citizens data. People they can pressure with money.
null
0
1544827428
False
0
ebt3fed
t3_a66102
null
null
t1_ebsrzrz
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3fed/
1547620479
6
t5_2fwo
r/programming
public
null
False
shadowh511
t2_5virf
That's another line for a tshirt TBH.
null
0
1543709046
False
0
eavz1se
t3_a1we32
null
null
t1_eatybr3
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eavz1se/
1546297971
7
t5_2fwo
r/programming
public
null
False
combinatorylogic
t2_iab4d
It is an *abstract machine*, which is a synonym for a VM. But since the dumber part of the population is often getting confused by what does VM mean, they had to explain that LLVM does not stand for a "low level virtual machine", just to force the stupid ones to shut up.
null
0
1544827462
False
0
ebt3gs8
t3_a61to1
null
null
t1_ebt2hj7
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebt3gs8/
1547620496
2
t5_2fwo
r/programming
public
null
False
semperverus
t2_41g4z
I know, I just felt the need to explain.
null
0
1543709340
False
0
eavzes8
t3_a1ysx2
null
null
t1_eavwvw5
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eavzes8/
1546298132
3
t5_2fwo
r/programming
public
null
False
Andernerd
t2_4xwal
> They seem to be based on fear/bias instead of fact. Or maybe I don't trust WhatsApp because the founder left the company to help build an actually secure messaging app - Signal.
null
0
1544827482
False
0
ebt3hmg
t3_a66102
null
null
t1_ebsuepx
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3hmg/
1547620506
5
t5_2fwo
r/programming
public
null
False
Canthros
t2_mlypa
Not actually relevant. The work in question wasn't created during a period of employment with Google, but at a time prior to an interview with the company. Based on another comment here, it may have been to do with work google was already working on. Regardless, the writer of the article seems to have dealt with it the way it's supposed to be handled, by documenting instances of prior art and getting that documentation submitted to the patent office.
null
0
1543709494
False
0
eavzlo0
t3_a1tazn
null
null
t1_eautk5x
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eavzlo0/
1546298217
2
t5_2fwo
r/programming
public
null
False
dancemethis
t2_12yr62
It can't be proven that Whatsapp's implementation wasn't tampered with. It's proprietary software, after all. And chances are always against the user, which is the real potential victim here.
null
0
1544827540
False
0
ebt3k06
t3_a66102
null
null
t1_ebsuepx
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3k06/
1547620536
5
t5_2fwo
r/programming
public
null
False
SilicateWielder
t2_3ltfvzk
For the curious this sprng is entirely math based no if statements or loops are used, just tell it the coordinates and seed and it will reliably provide you with a consistent value between 0 and 1, it's probably not the fastest thing in the world, especially with larger chunks but it gets the job done. The function is written in pure javascript. in total I've put in about 9 hours of work into it. Most resources on this topic go way over my head in terms of mathematics so this was all basically figured out on the spot
null
0
1543709667
False
0
eavzt8v
t3_a28cvu
null
null
t3_a28cvu
/r/programming/comments/a28cvu/i_just_wrote_my_first_smooth_prng_heres_a/eavzt8v/
1546298311
1
t5_2fwo
r/programming
public
null
False
hagamablabla
t2_f120i
They've done much worse in other countries. They'll remove anything if it helps their bottom line.
null
0
1544827545
False
0
ebt3k8o
t3_a66102
null
null
t1_ebssq6u
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3k8o/
1547620539
1
t5_2fwo
r/programming
public
null
False
asocial-workshy
t2_221psd1t
Slide 226 is incorrect. Unless you're working in an embedded hard-realtime situation or other specific situation like BIOS boot code most modern CPUs have a cache so optimising for moving a word between memory and CPU doesn't exactly make sense because you move to the cache first and on x86 it's basically promised by most manufacturers for multithreading purposes to operate on the cache in 128 bit chunks not on 32 bit chunks. I should note SSE instructions require(d) 16 byte alignment. In many cases packing stuff tightly can be faster because even if the unaligned loads and stuff are inefficient the overall reduction in memory use is faster. I feel this is mostly a legacy thing and it's debatable if you design a new architecture in 2018 whether or not you should have alignment like this although having alignment restrictions can probably let you do a few more tricks. Regardless, all the existing instruction sets are designed around alignment though so that's what C needs to do.
null
0
1543709837
False
0
eaw00os
t3_a1roi0
null
null
t1_eatk4fl
/r/programming/comments/a1roi0/how_to_optimize_c_and_c_code_in_2018/eaw00os/
1546298432
2
t5_2fwo
r/programming
public
null
False
redditrasberry
t2_2nzkn
It's true, but can they do anything about Google or Apple having been ordered to backdoor or screen capture the phone on which signal is installed? That is what these laws are really about.
null
0
1544827572
False
0
ebt3lb0
t3_a66102
null
null
t3_a66102
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3lb0/
1547620552
1
t5_2fwo
r/programming
public
null
False
TheZech
t2_gw95y
On x86, there are assembly instructions that have multiple opcode mappings, so it's not really 1:1
null
0
1543709988
False
0
eaw071h
t3_a1rp4s
null
null
t1_eavd89n
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaw071h/
1546298510
2
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
> they cannot ask Signal to compromise the service for all users, it has to be specific to the target Not exactly. The compromise can be global and the collection targeted. The rest becomes *"incidental collection"* and goes straight to NSA data-centres. Allowing for collection on US citizens by a FiveEyes partner. So long as the weakness can't be exploited by others. If the weakness is *"We simply inserted government keys into the conversation"* then it's still encrypted and still secure far as the lawyers will be concerned.
null
0
1544827652
False
0
ebt3oju
t3_a66102
null
null
t1_ebshsbo
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3oju/
1547620593
13
t5_2fwo
r/programming
public
null
False
ThemDeeps
t2_1yx97kk
Hello World!
null
0
1543710198
False
0
eaw0fyx
t3_a28hav
null
null
t3_a28hav
/r/programming/comments/a28hav/when_bae_asks_if_you_can_program/eaw0fyx/
1546298620
1
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
> reflects a lack of understanding behind cryptography. Oh they know what they're doing. They've been directed. > in the nation Anywhere Australia puts a server. i.e. On a fibre split in the US of A. > for some unstated purpose To collect everyones data. > I am of the opinion that Australia no longer wants to rely on 5 eyes This whole thing is absolute an integral part of FiveEyes. This is at the request of the US intelligence services. Incidental collection on US citizens by Australia. "Lawful"
null
0
1544827745
False
0
ebt3sao
t3_a66102
null
null
t1_ebsm0me
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt3sao/
1547620639
6
t5_2fwo
r/programming
public
null
False
shooshx
t2_3bvie
Demo is pretty shitty TBH
null
0
1543710357
False
0
eaw0mwb
t3_a1uigd
null
null
t3_a1uigd
/r/programming/comments/a1uigd/converting_a_c_opengl_application_to_wasm_with/eaw0mwb/
1546298705
1
t5_2fwo
r/programming
public
null
False
foomprekov
t2_5hh96
Everyone in this thread is talking about the problems with stored procedures, but this article makes no mention of using stored procedures. The logic shouldn't be inside your RDBMS, but it should be in your query.
null
0
1544827746
False
0
ebt3scp
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebt3scp/
1547620639
35
t5_2fwo
r/programming
public
null
False
appropriateinside
t2_729ad
Which is why I said AngularJS...
null
0
1543710416
False
0
eaw0pe7
t3_9udsg4
null
null
t1_eavx8uu
/r/programming/comments/9udsg4/why_angular_made_me_quit_web_dev/eaw0pe7/
1546298737
1
t5_2fwo
r/programming
public
null
False
splatterghost
t2_57pul
Sorry about that. Just pushed a fix to make it more tolerable.
null
0
1544827790
False
0
ebt3u4u
t3_a66ldu
null
null
t1_ebt3ev5
/r/programming/comments/a66ldu/symptoms_of_bad_code/ebt3u4u/
1547620661
13
t5_2fwo
r/programming
public
null
False
winger_sendon
t2_zoz0d
Why use makefiles when go already has a build system of its own?
null
0
1543710664
False
0
eaw105y
t3_a219ba
null
null
t1_eav18hx
/r/programming/comments/a219ba/makefiles_best_practices/eaw105y/
1546298870
2
t5_2fwo
r/programming
public
null
False
ggerganov
t2_k52rfbx
Not related to programming
null
0
1544827820
False
0
ebt3ve4
t3_a69bzh
null
null
t3_a69bzh
/r/programming/comments/a69bzh/synthwave_from_space_a_spotify_playlist_i_often/ebt3ve4/
1547620678
5
t5_2fwo
r/programming
public
null
False
javidx9
t2_14aoue
Having fun? 😁
null
0
1543710680
False
0
eaw1104
t3_a230zo
null
null
t3_a230zo
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaw1104/
1546298881
1
t5_2fwo
r/programming
public
null
False
TimeRemove
t2_10of6uy3
There's circumstances where SQL string manipulation is *fine*, but it is easy to essentially hard code part of your UI into SQL statements. Take this example: select FIRST_NAME||' '||LAST_NAME as NAME from person where [..something..] This seems harmless on the surface. You create a method in a service layer that returns names given certain conditions, return it, and display it on the front end. But suddenly the requirements evolve. They want a user selectable drop down to show the names as either [FIRST, LAST], or [LAST, FIRST] ordering. Now you have a choice to make: - Do you rewrite the entire pipeline to send back the individual name components - Do you hack it, string split on ' ', and then re-order If you had just mapped 1:1 from the table's columns into a Dto and then written a single line at the UI layer to format it this would be a five minute job. But you did it in SQL, consolidated data, and now either you have a fragile hack OR have to re-write everything to support the columns you should have supported originally. Plus any code written that returns this consolidated column cannot be re-used for updates, since you lack the source data for the individual columns. You've created a SQL statement with poor re-use. This often results in solutions (and I've seen this in the wild *often*) having multiple almost duplicate queries, one per flavor of the week string formatting. PS - Just want to reiterate the very first thing I said: **There's circumstances where SQL string manipulation is *fine***. The example this article uses is likely an anti-pattern however.
null
0
1544827841
False
0
ebt3w9g
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebt3w9g/
1547620688
36
t5_2fwo
r/programming
public
null
False
asocial-workshy
t2_221psd1t
I corrected the first part.
null
0
1543710778
False
0
eaw15by
t3_a25r6x
null
null
t1_eavuhid
/r/programming/comments/a25r6x/ocaml_vs_maybe_not/eaw15by/
1546298934
1
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
Adding your keys to a conversation is not a vulnerability or weakness. It's using encryption how it's intended. Only with the addition of an unwanted 3rd party. It's the frontdoor.
null
0
1544827962
False
0
ebt417r
t3_a66102
null
null
t1_ebsul0j
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt417r/
1547620749
2
t5_2fwo
r/programming
public
null
False
bush-didnothungwrong
t2_1yi15s0q
Bitch lasagna
null
0
1543710787
False
0
eaw15qi
t3_a1ysx2
null
null
t3_a1ysx2
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaw15qi/
1546298939
7
t5_2fwo
r/programming
public
null
False
thisisyournamenow
t2_1ghamdy3
Literally 10x better. Thanks dude
null
0
1544827964
False
0
ebt419l
t3_a66ldu
null
null
t1_ebt3u4u
/r/programming/comments/a66ldu/symptoms_of_bad_code/ebt419l/
1547620750
4
t5_2fwo
r/programming
public
null
False
BigFatMonads
t2_2k91bbh5
This isn't the right place for your low effort joke. Please go to /r/ProgrammerHumor
null
0
1543710886
False
0
eaw1a8r
t3_a28hav
null
null
t3_a28hav
/r/programming/comments/a28hav/when_bae_asks_if_you_can_program/eaw1a8r/
1546299023
19
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
> I wonder how quickly they’ll start rolling some of laws back. Australia will happily cut off it's nose to spite it's face if US partners demand it. The wedge is never withdrawn only pushed in deeper.
null
0
1544828033
False
0
ebt441q
t3_a66102
null
null
t1_ebsea6g
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt441q/
1547620812
6
t5_2fwo
r/programming
public
null
False
s0lly
t2_j2bhc
Indeed :)
null
0
1543710982
False
0
eaw1ep1
t3_a230zo
null
null
t1_eaw1104
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaw1ep1/
1546299079
2
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
> All this does is demolish privacy for normal people. As intended.
null
0
1544828072
False
0
ebt45mz
t3_a66102
null
null
t1_ebse67k
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt45mz/
1547620833
6
t5_2fwo
r/programming
public
null
False
asocial-workshy
t2_221psd1t
Why didn't they just use Valgrind?
null
0
1543711075
False
0
eaw1ikx
t3_a1roi0
null
null
t1_eaukhwt
/r/programming/comments/a1roi0/how_to_optimize_c_and_c_code_in_2018/eaw1ikx/
1546299126
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544828135
False
0
ebt487b
t3_a66102
null
null
t1_ebsfqfb
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt487b/
1547620864
1
t5_2fwo
r/programming
public
null
False
Crypto_To_The_Core
t2_uzv3nj6
Definitely joking. 2 reasons: (1) He seems pretty astute from his post history, and (2) I hope he's joking.
null
0
1543711205
1543711435
0
eaw1oeq
t3_a1rp4s
null
null
t1_eauc2z4
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaw1oeq/
1546299198
2
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
It will be. They'll insert government keys into every conversation.
null
0
1544828191
False
0
ebt4aja
t3_a66102
null
null
t1_ebsbur2
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt4aja/
1547620892
3
t5_2fwo
r/programming
public
null
False
that_which_is_lain
t2_79zaj
Sure you can. People can be forced to do all sorts of things. Like stay in a crappy field like this.
null
0
1543711307
False
0
eaw1sjc
t3_a22biq
null
null
t1_eaul203
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaw1sjc/
1546299249
1
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
> That makes it very difficult to circumvent, You simply add the governments key. Done. It's the frontdoor, there is no vulnerability or compromise.
null
0
1544828221
False
0
ebt4br7
t3_a66102
null
null
t1_ebsuepx
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt4br7/
1547620907
3
t5_2fwo
r/programming
public
null
False
Crypto_To_The_Core
t2_uzv3nj6
LOL
null
0
1543711842
False
0
eaw2fie
t3_a1rp4s
null
null
t1_eatnoa5
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaw2fie/
1546299533
1
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
Well we take whatever wins we can. Some people are trying to run non-HTML/CSS frameworks in the browser but that is much harder problem.
null
0
1544828231
False
0
ebt4c5b
t3_a5ssxk
null
null
t1_ebszpxz
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebt4c5b/
1547620912
1
t5_2fwo
r/programming
public
null
False
TehGogglesDoNothing
t2_42wcj
The old Cisco VPN client is past end of life and is not supported. You should be using their AnyConnect client now. The Deterministic Network Enhancer was a part of the old EOL VPN client and isn't in the AnyConnect client. Permissions can also be set to allow access to certain printers to everyone, not just domain users. Your example only applies to organizations that think that they can run old unsupported software and hardware forever.
null
0
1543711927
False
0
eaw2izi
t3_a1ysx2
null
null
t1_eauzbuc
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaw2izi/
1546299605
2
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
Frontdoor is not a weakness or vulnerability, it's using encryption as intended and passes those tests.
null
0
1544828311
False
0
ebt4ffq
t3_a66102
null
null
t1_ebstvam
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt4ffq/
1547620953
1
t5_2fwo
r/programming
public
null
False
Crypto_To_The_Core
t2_uzv3nj6
He was joking. :)
null
0
1543711933
False
0
eaw2j8l
t3_a1rp4s
null
null
t1_eauhu5t
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaw2j8l/
1546299608
1
t5_2fwo
r/programming
public
null
False
Paintingmyfreedom
t2_n1x8s
Why this picture?
null
0
1544828327
False
0
ebt4g2l
t3_a66102
null
null
t3_a66102
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt4g2l/
1547620961
1
t5_2fwo
r/programming
public
null
False
cowardlydragon
t2_d0po
What would be bad about this? pointless balkanization holds us all back. ​
null
0
1543712015
False
0
eaw2mq0
t3_a23cci
null
null
t1_eava0jt
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eaw2mq0/
1546299651
2
t5_2fwo
r/programming
public
null
False
figurativelybutts
t2_14qu4tf1
If it is "law", what else is there to pass? Wind? The only thing left to happen now, is for the Australian intelligence agencies to take advantage of this law, and for the industry to respond to it.
null
0
1544828370
False
0
ebt4hu8
t3_a66102
null
null
t1_ebstgw5
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt4hu8/
1547620983
12
t5_2fwo
r/programming
public
null
False
raevnos
t2_3995k
Since the JVM is BE, I would assume it uses UTF-16BE... There's a handy String method that returns an IntStream of codepoints so you don't have to worry about multi-codeunit UTF-16 sequences. Discovering that made "character" at a time string processing in Java so much nicer. Wonder if there's something similar for graphemes (Edit: There's always java.text.BreakIterator... not sure if there's a way to turn one of those into a Stream though)
null
0
1543712047
1543719733
0
eaw2o5b
t3_a23cci
null
null
t1_eavosxf
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eaw2o5b/
1546299669
5
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
It'll work just fine. They'll get a lot more data and the algos will enjoy that data. They don't care how much data is missed. This is for low-hanging fruit on normal people.
null
0
1544828381
False
0
ebt4ibr
t3_a66102
null
null
t1_ebsb2z1
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt4ibr/
1547620989
0
t5_2fwo
r/programming
public
null
False
gott_modus
t2_j2d1j
Certainly. 90% of the time I see an article on medium it's trash, but there are exceptions to this rule, and my initial reaction wasn't correct. Thanks for providing something decent
null
0
1543712125
False
0
eaw2ric
t3_a1roi0
null
null
t1_eavyhss
/r/programming/comments/a1roi0/how_to_optimize_c_and_c_code_in_2018/eaw2ric/
1546299711
3
t5_2fwo
r/programming
public
null
False
FriendlyDisorder
t2_1n81f7v2
With a small database, you can get away with this. Procs can be very convenient. Easy to change, easy to process large sets of data at once, no data transfer penalties to external servers, etc. With a huge databases with many simultaneous users. doing processing in procs can become a bottleneck. Databases really are not meant to do heavy processing. The CPU usage and temporary I/O for worktables becomes a big bottleneck. We used to use stored procs heavily, but we found that doing heavy processing outside of the database is much more scalable and much less expensive on database hardware requirements and software licensing (for a commercial database solution).
null
1
1544828412
False
0
ebt4jlx
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebt4jlx/
1547621005
2
t5_2fwo
r/programming
public
null
False
cafk
t2_43wlw
There he would be hung for using Java for Windows
null
0
1543712204
False
0
eaw2uyb
t3_a28hav
null
null
t1_eaw1a8r
/r/programming/comments/a28hav/when_bae_asks_if_you_can_program/eaw2uyb/
1546299753
1
t5_2fwo
r/programming
public
null
False
exorxor
t2_h57gcb9
Not sure whether you are serious. It could work; it's just that nobody paid someone to make it work. Emacs is fast enough for many core operations; it's all the custom Emacs Lisp written by amateurs that are the core of the references issue.
null
0
1544828426
False
0
ebt4k62
t3_a61to1
null
null
t1_ebrkdmv
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebt4k62/
1547621012
0
t5_2fwo
r/programming
public
null
False
Fart_Prospector
t2_muthduq
You know what, thank you. I first learned coding in high school with basic. I joined the Marines as a tank crewman so the past 14 years haven’t given me much work experience with coding/programming (I’m sure there are HUGE differences between those two terms) but I have screwed around with a little bit of various types of coding in my free time The one area where I have actually applied my programming knowledge is in excel. In the Marine Corps, every job becomes an office job of you get promoted high enough and most Marines aren’t very good at office work. I have spent a lot of time setting up excel documents to perform repetitive data entry and automate calculations. I have this one pet project that I have been working on for about 3 years and I am about to release it to everyone with my same job because I think it will help them a lot. I know excel is the butt of many jokes in the programming community. It certainly can’t do as many different things as most programming languages, but a huge percentage of people have excel and, on government computers at least, it is much easier to share an excel doc than to get the network admins to approve a new software. And I also think that the same skill set that programs take pride in is 100% applicable to excel.
null
0
1543712461
False
0
eaw35k6
t3_a1awzc
null
null
t3_a1awzc
/r/programming/comments/a1awzc/excel_files_are_not_documents_they_are/eaw35k6/
1546299884
1
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
You're dreaming. The world is going on as if nothing has changed.
null
0
1544828430
False
0
ebt4kbq
t3_a66102
null
null
t1_ebsfx51
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt4kbq/
1547621013
-1
t5_2fwo
r/programming
public
null
False
gopster
t2_52znk
How is it in Python? Curious how this works across various languages. Thanks for posting an interesting article OP.
null
0
1543712568
False
0
eaw39vq
t3_a1rp4s
null
null
t3_a1rp4s
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eaw39vq/
1546299937
1
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
Everyone is flocking to leave China right? Market speaks, if there is bucks to be made there is bucks to be made. The negative push-back from this will be negligible.
null
0
1544828465
False
0
ebt4lpv
t3_a66102
null
null
t1_ebsaj2r
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt4lpv/
1547621030
0
t5_2fwo
r/programming
public
null
False
nemec
t2_3r7wz
I thought the first was when you got tired of supporting it and the second when it's discovered the new maintainer put malware inside.
null
0
1543712592
False
0
eaw3awp
t3_a1we32
null
null
t1_eautq8z
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eaw3awp/
1546299949
3
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
The answer is simple: www.
null
0
1544828495
False
0
ebt4mvk
t3_a65liu
null
null
t3_a65liu
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebt4mvk/
1547621045
2
t5_2fwo
r/programming
public
null
False
nemec
t2_3r7wz
...wouldn't it be more efficient to serve a static readme that's only updated when a new version of a package is released?
null
0
1543712717
False
0
eaw3g4x
t3_a1we32
null
null
t1_eavfin7
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eaw3g4x/
1546300014
6
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
You are now alone. Unfortunately right now the tyranny of JavaScript is still dominating.
null
0
1544828519
False
0
ebt4nwz
t3_a65liu
null
null
t1_ebs1fts
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebt4nwz/
1547621057
2
t5_2fwo
r/programming
public
null
False
catandDuck
t2_jvyg4
What? it clearly says Yanny.
null
0
1543712726
False
0
eaw3gil
t3_a230zo
null
null
t1_eavxjtj
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaw3gil/
1546300019
2
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
CSS is great, except for the recent clusterfucks such as adding variables and shit that shouldn't be in it.
null
0
1544828542
False
0
ebt4otu
t3_a65liu
null
null
t1_ebs461g
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebt4otu/
1547621068
-2
t5_2fwo
r/programming
public
null
False
SushiAndWoW
t2_g83z1
Oh, it's definitely preferable if we can all use a single good encoding. It's just something that happens.
null
0
1543712842
False
0
eaw3lcj
t3_a23cci
null
null
t1_eaw2mq0
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eaw3lcj/
1546300078
2
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
I know you! You are supposed to be dead, you monty python sketch you.
null
0
1544828564
False
0
ebt4pp7
t3_a65liu
null
null
t1_ebsivjk
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebt4pp7/
1547621080
4
t5_2fwo
r/programming
public
null
False
chausies
t2_os9gy
I couldn't find anything else like it that seemed trust-worthy online, so I coded this up myself. With this, people can encrypt text messages that only you can decrypt. Don't want to send a password/credit card number as plaintext in an email? You can send an encrypted message with this instead. Everything runs in pure client-side javascript, so nothing you do on the webapp touches any server. (The entire website can run offline no problem) Source code can be found [here](https://github.com/chausies/chausies.github.io/blob/master/js/encrypt.coffee). Hope someone finds use for it.
null
0
1543713045
False
0
eaw3tp4
t3_a28vrm
null
null
t3_a28vrm
/r/programming/comments/a28vrm/i_made_a_minimalist_webapp_for_publickey/eaw3tp4/
1546300211
8
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> those who genuinely believe that Javascript is a good language. I think it is an awful language but you can, right now, do things that you can not do with other languages, at the least not in the same way - in particular when it comes to the www.
null
0
1544828616
False
0
ebt4rqo
t3_a65liu
null
null
t1_ebsjqim
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebt4rqo/
1547621105
1
t5_2fwo
r/programming
public
null
False
steveklabnik1
t2_d7udf
Yes that’s what the rust code does, render them to static files, and bust the cache.
null
0
1543713094
False
0
eaw3vr8
t3_a1we32
null
null
t1_eaw3g4x
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eaw3vr8/
1546300236
11
t5_2fwo
r/programming
public
null
False
the_gnarts
t2_9ya05
https://www.boost.org/doc/libs/1_62_0/libs/parameter/doc/html/index.html
null
0
1544828629
False
0
ebt4s97
t3_a65m21
null
null
t3_a65m21
/r/programming/comments/a65m21/named_arguments_in_c/ebt4s97/
1547621111
0
t5_2fwo
r/programming
public
null
False
beyphy
t2_4zpyk
Thanks! Yeah, I thought the article was interesting. Programmers have a bias against Excel. Even the author of the article admits as much. It's a great starting point. I know Excel fairly well, and I eventually started learning advanced Excel. Now, I know VBA in Excel very well. (I may not be an *expert*, but I'm probably one or two steps below that.) I'm now learning *real* object-oriented programming in C# and boy, is it quite a change. But VBA in Excel was my starting point. I'll always be grateful for learning programming with it. Even if, as I'm learning more advanced concepts now, I'm starting to see the warts in the language.
null
0
1543713162
False
0
eaw3yhv
t3_a1awzc
null
null
t1_eaw35k6
/r/programming/comments/a1awzc/excel_files_are_not_documents_they_are/eaw3yhv/
1546300270
2
t5_2fwo
r/programming
public
null
False
shevegen
t2_atqp
> Wouldn't people who program in language X make the same argument > for all other languages except language X? No, because: a) not every language is created equal. Some suck more than others do. b) but most importantly, JavaScript being the monopoly that it holds over the www is just terrible in the long run. It only got big because the www is so important. There is no way around the www.
null
0
1544828670
False
0
ebt4tx2
t3_a65liu
null
null
t1_ebsi3kv
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebt4tx2/
1547621131
1
t5_2fwo
r/programming
public
null