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
TheIncorrigible1
t2_14x3r4
.NET is ooollld.
null
0
1543697934
False
0
eavl4zg
t3_a23cci
null
null
t1_eavhj3q
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavl4zg/
1546291466
7
t5_2fwo
r/programming
public
null
False
Zarutian
t2_1wth
Australia is pretty big. Oh you mean diplomat-power size big.
null
0
1544821514
False
0
ebsw9bo
t3_a66102
null
null
t1_ebshokg
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsw9bo/
1547617118
2
t5_2fwo
r/programming
public
null
False
Freyr90
t2_qy7vh
You don't need a decidable type-inference, but your type should be total (i.e. terminating). Undecidability just require to you annotate types manually, nothing more.
null
0
1543697990
False
0
eavl7hu
t3_a1o5iz
null
null
t1_eavc0a9
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eavl7hu/
1546291498
2
t5_2fwo
r/programming
public
null
False
gnzoidberg
t2_lhyx434
> The Boeing 777 - with over 1,500 and growing planes world-wide, is fly-by-wire and highly automated. 99% of its software was all written in Ada. Is there a source for this? I have not found a reference that the critical path control software was written in Ada, but secondary, systems, like environment control. (Not disputing, just curious)
null
0
1544821547
False
0
ebswaqx
t3_a5ylm8
null
null
t1_ebs99jh
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebswaqx/
1547617136
2
t5_2fwo
r/programming
public
null
False
snowe2010
t2_53c7i
Let's start with your other post first... You said this: >Password rules force your password to be harder to brute force This is only true if you are the kind of person to use a simple to guess password. What you are talking about is password 'restrictions', not rules. Restrictions restrict the types of passwords you can use. So no birthdates, no top 10000 passwords, no emails, etc. Password rules require you to use certain character classes. Alright, now back to pins: >Let's pivot to 4 digit PINs for an example where that's not the case. OK. already off to a bad start here. Not only are there several rules in place here that make pins a bad example, you then go on to use password restrictions on top of it to make the rules palatable. --- Password rules for pins: 1\. Only numbers Right there you have suddenly taken a possibility of _at least_ `128^4` and reduced it to to `10^4`. 2\. Length 4 now that we're at `10^4` you could still recover this by _allowing_ for more characters. You get an order of magnitude (literally) more difficult to break for every character longer you allow. --- Alright, now that we've shown that PINs are by default _less secure_, let's look at your discussion of a **password restriction**. You state >So if I had a set of 100 accounts to break into, I could run through 1918-2018 on each one then move on. On average, I would now have access to 20% of those accounts using only 100 guesses for each one. Assuming no other known patterns, I'd have to brute force the rest. And this is _absolutely true_. In fact you're not just protecting the people that are being dumb and using a year as a PIN, but you're also protecting those that have no possibility to choose a longer PIN in case they accidentally choose a year like that as well. But, sadly, your entire premise is flawed. If you can brute force a PIN like this then it doesn't really matter. In fact, PINs are probably the worst possible example of password rules imaginable. The discussion that is taking place is how to make passwords more secure. You do that by: 1. No password rules. Password rules only serve to limit the valid passwords available and thus make the entire space more easily searchable. Especially since the attacker will have the list of rules. You can see that this **_only effects those that choose good passwords_**. 2. Use password restrictions. Don't allow top 10000 passwords, don't allow the user's email address, minimum length, not max length, etc. Notice that this _**only effects those that choose bad passwords**_
null
0
1543698024
1543698465
0
eavl911
t3_a1gbqw
null
null
t1_eauutgb
/r/programming/comments/a1gbqw/ebay_japan_source_leak_as_git_folder_deployed_to/eavl911/
1546291516
1
t5_2fwo
r/programming
public
null
False
Zarutian
t2_1wth
There is of course the ability of users just, you know, [download](https://signal.org/download/) the .apk and sideload it in.
null
0
1544821645
False
0
ebswf1m
t3_a66102
null
null
t1_ebsfiwd
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebswf1m/
1547617217
1
t5_2fwo
r/programming
public
null
False
dgryski
t2_3hcmx
Because processors are complicated: https://stackoverflow.com/a/43845229
null
0
1543698051
False
0
eavla8i
t3_a1roi0
null
null
t1_eauvser
/r/programming/comments/a1roi0/how_to_optimize_c_and_c_code_in_2018/eavla8i/
1546291531
1
t5_2fwo
r/programming
public
null
False
tom-010
t2_1ec0i7n4
Overflows if you younger than that
null
0
1544821701
False
0
ebswhio
t3_a67y0a
null
null
t1_ebsumdp
/r/programming/comments/a67y0a/imagine_you_are_programming_and_the_men_in_black/ebswhio/
1547617248
2
t5_2fwo
r/programming
public
null
False
AngularBeginner
t2_eky8x
> are internal aspects (tech debt, bugs,..) part of your POs backlog? Bugs are not internal aspects. They're placed in the backlog and will be prioritized by the PO. Not every bug needs to be fixed. It's up to the PO what is more important: implement new features or fix bugs (and in what order). If a bug prevents the implementation of a story, then the work is part of the story. Technical debt is not part of the backlog. It should be tracked somewhere, but that "where" is up to the team. It's none of the POs concern. The team is responsible for the quality of the product, the team is responsible to decide what work needs to be done to implement features **and** to keep the product maintainable. But this doesn't mean that work should be done behind the back of the PO. Communication and explanation is the important. But backlog stories for technical debts are pointless, because the PO won't understand them and won't be able to prioritize them meaningful. > Why are you treating both backlogs with different strategies? You don't. The PO prioritizes the stories in the backlog, he presents them in the sprint planning and the team decides what needs to be done to implement the story. If technical debt needs to be resolved first, then this is part of the story. > What if: resolving lower priority features from his backlog for 2 sprints would allow you to actually implement his higher priority feature? Maybe a different attempt: would'nt it make sense to pull his items in a way that allows you to work on a related topic within one sprint? It may make sense, but it's up to the PO what stories are important. But again: Communication is important. The PO is not your enemy, the PO is a partner. If you explain your PO your reasons for particular requests, then I'm sure the PO will listen. Or the PO might have important reasons for his decisions. If the PO and the team are fighting, then you have a dysfunctional team and Scrum is not working for you. **Communication is the key to Scrum.** Both PO and team want to create a great product.
null
0
1543698119
False
0
eavldba
t3_a24ahw
null
null
t1_eav5cdp
/r/programming/comments/a24ahw/scrum_push_or_pull/eavldba/
1546291569
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544821750
False
0
ebswjlv
t3_a66102
null
null
t3_a66102
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebswjlv/
1547617274
1
t5_2fwo
r/programming
public
null
False
snowe2010
t2_53c7i
Yeah I mentioned that two comments up: >>Google mainly handles the search engine >Google was restructured to focus on it's core mission. The internet. >From the founding letter: >>What is Alphabet? Alphabet is mostly a collection of companies. The largest of which, of course, is Google. This newer Google is a bit slimmed down, with the companies that **are pretty far afield of our main internet products contained in Alphabet instead. What do we mean by far afield? Good examples are our health efforts**: Life Sciences (that works on the glucose-sensing contact lens), and Calico (focused on longevity). Fundamentally, we believe this allows us more management scale, as we can run things independently that aren’t very related. >>> https://abc.xyz/
null
0
1543698138
False
0
eavle6d
t3_a1tazn
null
null
t1_eauvcvy
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eavle6d/
1546291579
1
t5_2fwo
r/programming
public
null
False
gnzoidberg
t2_lhyx434
These languages are not comparable with Ada and can't be used for hard real time systems, control software etc. The only current popular language that is really comparable is Rust (hence the frequent comparison).
null
0
1544821752
False
0
ebswjoz
t3_a5ylm8
null
null
t1_ebsm6ln
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebswjoz/
1547617275
2
t5_2fwo
r/programming
public
null
False
NeverCast
t2_7pnmd
Once I noticed that I was like "Well that seems like an interesting way to tackle 2D lighting". ​
null
0
1543698391
False
0
eavlpx9
t3_a230zo
null
null
t1_eaurah9
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavlpx9/
1546291725
9
t5_2fwo
r/programming
public
null
False
Legion725
t2_gk6vu
It seems the original definition of fascism had to do with collective strength, with "fascio" meaning a bundle of rods. What you are referring to is one of the ideas of fascism; it was posed as government taking control of business, but the modern version with business taking control of government could be argued to be similar. https://en.wikipedia.org/wiki/Corporatism#Fascist_corporatism
null
0
1544821938
False
0
ebswrzt
t3_a66102
null
null
t1_ebsgv0h
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebswrzt/
1547617376
5
t5_2fwo
r/programming
public
null
False
bobpaul
t2_1mlp1
I think you mean "a variant of unicode". Java definitely isn't using UTF-8 internally, though it can output UTF-8 serialized objects. Internally Java uses 16-bit chars unless you use `-XX:+UseCompressedStrings`. [If you use](https://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html) `-XX:+UseCompressedStrings` then Java will use 8-bit strings for US-ASCII chars and 16-bit strings otherwise. Java's 16bit strings were UCS-2 originally, but have [since switched to UTF-16 in more recent JVMs](https://stackoverflow.com/a/36236799/308709). /u/Nanobot gave a [good description of UCS-2 vs UTF-16](https://www.reddit.com/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavfzlc/)
null
0
1543698791
False
0
eavm8lw
t3_a23cci
null
null
t1_eavicp1
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavm8lw/
1546291986
11
t5_2fwo
r/programming
public
null
False
quicknir
t2_iczmz
Or, at the cost of an extra `{`, `}`, and `.` before each argument, you could avoid having globals (maybe the worst part of this solution), and most of this boilerplate, and just designated-initialize a struct?
null
0
1544822103
False
0
ebswzdx
t3_a65m21
null
null
t3_a65m21
/r/programming/comments/a65m21/named_arguments_in_c/ebswzdx/
1547617468
20
t5_2fwo
r/programming
public
null
False
irqlnotdispatchlevel
t2_13d5jb
I'm working on a Medium programming language so people can belive in their code. Please star the project on GitHub, because that's how we measure code quality.
null
0
1543698874
False
0
eavmciw
t3_a1we32
null
null
t1_eati8fe
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eavmciw/
1546292035
13
t5_2fwo
r/programming
public
null
False
mck1117
t2_ck43v
Or just write a compete recursive descent parser that can parse the whole file to an ast
null
0
1544822253
False
0
ebsx65l
t3_a61to1
null
null
t1_ebs9vau
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebsx65l/
1547617552
5
t5_2fwo
r/programming
public
null
False
thekab
t2_dh0l2
So your basic premise here is they were already in the patent process, but still months away from submitting it, and the very people listed on the patent who were already in the process didn't think the plethora of prior art they were seeing was at all relevant, and that when confronted they offered to include the one person confronting them, but not any of the others that they "forgot" about... and all of this for something that won't make money? What the fuck kind of logic is that? You're going through contortions in an effort to make the facts support this in any way.
null
0
1543699028
False
0
eavmjoj
t3_a1tazn
null
null
t1_eav2e9o
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eavmjoj/
1546292122
1
t5_2fwo
r/programming
public
null
False
sou-ght
t2_f1fu5
/r/thingsforants
null
0
1544822299
False
0
ebsx859
t3_a66102
null
null
t1_ebss5lb
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsx859/
1547617577
7
t5_2fwo
r/programming
public
null
False
GoogleBen
t2_gh571
I suppose I'm not a Java wizard, but my understand is that the general JVM spec uses a sort of [UTF-8, as of Java 8 at least](https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.4.7). I suppose the difference is in runtime.
null
0
1543699049
False
0
eavmkqr
t3_a23cci
null
null
t1_eavm8lw
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavmkqr/
1546292135
0
t5_2fwo
r/programming
public
null
False
TerrorBite
t2_4hbk9
I use Telegram a lot, and I'm fully aware that it is not secure by default, but I don't mind because that's not why I use it. I use it because it's a great messenger with open source components, it's got features that I love, there's a choice of clients/apps, and all of ~~the other furries~~ my friends are also using it. And holy fuck so many user created sticker packs. I generally use it to hang out in interest groups, and to send my friends shitposts.
null
0
1544822365
False
0
ebsxb8c
t3_a66102
null
null
t1_ebsjoqg
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsxb8c/
1547617615
14
t5_2fwo
r/programming
public
null
False
bobpaul
t2_1mlp1
Did you just copy/past the first paragraph from the link?
null
0
1543699151
False
0
eavmprk
t3_a23cci
null
null
t1_eavhs40
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavmprk/
1546292197
4
t5_2fwo
r/programming
public
null
False
zsaleeba
t2_31hdn
And employers in the US often require drug testing, which AFAIK is illegal in Australia. Edit - drug testing is not allowed: > Australian industrial courts and tribunals are now accept that random drug testing by employers is an intrusion of an employee's privacy and can only be legitimised on work, health and safety grounds. ... Beyond that, no employer has the right to dictate what drugs or alcohol its employees use in their own time. From [here](https://nuaa.org.au/looking-for-help/legal-issues/drug-testing/).
null
0
1544822372
1544839145
0
ebsxbkb
t3_a66102
null
null
t1_ebsseaf
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsxbkb/
1547617619
15
t5_2fwo
r/programming
public
null
False
jayroger
t2_157f0c
Don't post article indexes, post the articles themselves.
null
0
1543699553
False
0
eavn8il
t3_a1xr7m
null
null
t3_a1xr7m
/r/programming/comments/a1xr7m/code_review_do_you_speak_it/eavn8il/
1546292458
1
t5_2fwo
r/programming
public
null
False
derefr
t2_do6g
Yeah, but WhatsApp making that choice, combined with their lazy implementation, means that you can't have a WhatsApp account shared across multiple devices. (If you have the WhatsApp desktop client, it's just a viewport for the copy of WhatsApp running on your phone.) The only service that's doing E2EE *right* is iMessage. It's actually hard.
null
0
1544822494
False
0
ebsxh1b
t3_a66102
null
null
t1_ebsk7az
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsxh1b/
1547617686
10
t5_2fwo
r/programming
public
null
False
Macrobian
t2_603ac
lol no structural subtyping
null
0
1543699665
False
0
eavndbt
t3_a1o5iz
null
null
t1_eat95yq
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eavndbt/
1546292517
1
t5_2fwo
r/programming
public
null
False
nullproc
t2_g5vcb
> And something else nobody needs. etcd is widely used in kubernetes clusters EDIT: formatting
null
0
1544822531
False
0
ebsxipy
t3_a67pbp
null
null
t1_ebsopqt
/r/programming/comments/a67pbp/red_hat_contributes_etcd_the_cornerstone_of/ebsxipy/
1547617708
16
t5_2fwo
r/programming
public
null
False
alternateme
t2_5emoz
It may be a misnomer, but in this context, the A in the function name stands for ["ANSI"](https://docs.microsoft.com/en-us/windows/desktop/LearnWin32/working-with-strings#unicode-and-ansi-functions).
null
0
1543699848
False
0
eavnl57
t3_a23cci
null
null
t1_eavl0cs
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavnl57/
1546292613
5
t5_2fwo
r/programming
public
null
False
ryuzaki49
t2_4hqve
It's not like they will be "Oh, okay then, rollback the law" They will push it harder. Banning apps, services and everything that doesn't follo the law. And things will only get worst. Other goverments will follow, and some companies will comply to the law seeing an opportunity to make money.
null
0
1544822596
False
0
ebsxlpe
t3_a66102
null
null
t1_ebsb2z1
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsxlpe/
1547617744
15
t5_2fwo
r/programming
public
null
False
Beaverman
t2_52n9v
There's clearly a middle ground between jumping in heads first, and not bothering to try to be better. I think that's what your parent is advocating for here. Build something small to gain experience and find the obvious strengths and weaknesses, then commit.
null
0
1543699905
False
0
eavnnjk
t3_a1we32
null
null
t1_eauiihn
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eavnnjk/
1546292643
3
t5_2fwo
r/programming
public
null
False
installation_warlock
t2_pcpta
It's not even a tutorial, it's a collection of *links to tutorials*. ​ However, creating and curating lists of resources can be a crazy amount of work. That, and it still has all the aspects of an open source project - the "source code" is available, it's open to contributions, you have to deal with bug reports and pull requests, argue with users over should and shouldn't be in your project, etcetera. ​ It might not be a "software" project, but it's definitely an "open source" project.
null
0
1544822687
1544825466
0
ebsxpvc
t3_a661q3
null
null
t1_ebsogmy
/r/programming/comments/a661q3/my_project_was_considered_by_github_as_one_of_the/ebsxpvc/
1547617824
28
t5_2fwo
r/programming
public
null
False
tuxedo25
t2_hkjus
They fail stress tests as in they can’t perform under the same traffic load?
null
0
1543699954
False
0
eavnpps
t3_a23cci
null
null
t1_eauzidd
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavnpps/
1546292670
1
t5_2fwo
r/programming
public
null
False
ignisnex
t2_7oqp8
Every government wants a back door unless it's to something they use. Especially if that back door was tailored by another nationality, ally or not.
null
0
1544822804
False
0
ebsxv4z
t3_a66102
null
null
t1_ebsvfat
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsxv4z/
1547617889
77
t5_2fwo
r/programming
public
null
False
tuxedo25
t2_hkjus
utf-7 support: check json support: better find a third party library
null
0
1543700243
False
0
eavo2nk
t3_a23cci
null
null
t1_eavhj3q
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavo2nk/
1546292829
32
t5_2fwo
r/programming
public
null
False
LetsGoHawks
t2_32830
The only thing I don't like about this article is that it just scratches the surface of what SQL can do. To be fair, you could write a very thick book about that and how to do it.
null
1
1544822873
False
0
ebsxya6
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebsxya6/
1547617927
1
t5_2fwo
r/programming
public
null
False
Macrobian
t2_603ac
I personally love working on new projects where I don't understand any of the data flow, none of the previous programmers drew me a map, and I don't have an automated system to guide me.
null
0
1543700257
False
0
eavo394
t3_a1o5iz
null
null
t1_easztjk
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eavo394/
1546292837
2
t5_2fwo
r/programming
public
null
False
TerrorBite
t2_4hbk9
Regular conversations are encrypted between you and Telegram's servers, just like any webpage using HTTPS is encrypted between you and the web server. But regular conversations have their history stored on Telegram's servers, so that you can view it on any device you use Telegram with. It's just like any other messaging service in this regard. It's common for large groups to have previous history visible to new members, as well. Telegram's "secret chats" are truly end to end, Telegram just facilitates the key exchange between you and the other party, and possibly passes the encrypted messages between you both (I'm not sure if it's peer to peer), but it has no way of seeing the content of your conversation. Obviously there can be no cloud storage with this method, and any saved history is local to your device.
null
0
1544822886
False
0
ebsxyuu
t3_a66102
null
null
t1_ebsu5qr
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsxyuu/
1547617935
9
t5_2fwo
r/programming
public
null
False
primitive_screwhead
t2_6465r
>Neither, right? I now have better access to a search engine, and it appears to be 'ANSI', as Windows apparently has functions that allow 8-bit character strings that they call 'ANSI' (and which is probably Windows-1252, a modification of ISO-8859-1). I would have assumed 'ASCII', though, since it seems (perhaps naively) easier to extend an ASCII (ie. 7-bit) interface to accept UTF-8.
null
0
1543700336
False
0
eavo6o4
t3_a23cci
null
null
t1_eavl0cs
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavo6o4/
1546292879
3
t5_2fwo
r/programming
public
null
False
accountforshit
t2_4jmo6
If he does more shit like this, he's also going to be spending a lot of time waiting for his code to compile.
null
0
1544823039
False
0
ebsy5qn
t3_a65m21
null
null
t1_ebss579
/r/programming/comments/a65m21/named_arguments_in_c/ebsy5qn/
1547618019
6
t5_2fwo
r/programming
public
null
False
sammysounder
t2_8yuge
There's plenty of schools of thought, but Scrum doesn't perscribe this explicitly. It's more about creating a common understanding. Kanban is explicitly pulling work in progress
null
0
1543700339
False
0
eavo6rt
t3_a24ahw
null
null
t3_a24ahw
/r/programming/comments/a24ahw/scrum_push_or_pull/eavo6rt/
1546292880
1
t5_2fwo
r/programming
public
null
False
Gonzobot
t2_452dp
/r/mallninjashit was trending yesterday
null
0
1544823117
False
0
ebsy9ar
t3_a66102
null
null
t1_ebsma8a
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsy9ar/
1547618063
8
t5_2fwo
r/programming
public
null
False
asocial-workshy
t2_221psd1t
I'm confused about why classes and contravariance, covariance and the Liskov substitution principle aren't mentioned at all. if Just<T> and Unit<T> are both subtypes of Maybe<T> then in many languages it is possible to implement for: interface Fooer<T> { void fooer(Unit<T> x); } class FooImpl<T> { void fooer(Maybe<T> x) { // ... } } or interface Fooer<T> { Maybe<T> fooer(); } class FooImpl<T> { Unit<T> fooer() { // ... } } This doesn't cover the product/row polymorphism cases though of where interface Fooer<T> { void fooer(T t, Y y); } class FooImpl<T> { void fooer(T x) { // ... } } or interface Fooer<T> { T fooer(); } class FooImpl<T> { (T,Y) fooer() { // ... } } I suppose Typescript probably supports that with intersections. Something like: interface Fooer<T> { // &Y is a constraint restricting T. T&Y fooer(); } class FooImpl<T> { T fooer() { // ... } } But that isn't quite as extensible. It's kind of possible to hack this into Haskell using existentially quantified type class constraints but it's kind of awkward and hard to typecheck without lots of annotations which defeats the purpose (I haven't checked recent GHC for a long time though.)
null
0
1543700419
1543710769
0
eavoa9c
t3_a25r6x
null
null
t3_a25r6x
/r/programming/comments/a25r6x/ocaml_vs_maybe_not/eavoa9c/
1546292924
2
t5_2fwo
r/programming
public
null
False
squishles
t2_8t5uo
I can think of a handful of projects I know are on self hosted bitbuckets that the us gov definitely does not want Australia getting it's grubby venomous koala petting mits on. The people who decide what code repo to use are not politicians pushing this kind of bullshit.
null
0
1544823267
False
0
ebsyg09
t3_a66102
null
null
t1_ebsvfat
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsyg09/
1547618146
8
t5_2fwo
r/programming
public
null
False
chidoelrey
t2_l86xg
If they fail, that’s actually a good thing! Those character encodings are quite intentionally *never supposed to work* in a proper modern web browser. Why? Adding support for rarely-used encodings could open up potential security issues. It also leads to the sort of browser fragmentation the web is trying to move away from… if one browser suddenly starts supporting UTF-7, pretty soon UTF-7 encoded websites will start popping up. People using other browsers will start complaining, and before long, *every* browser feels the need to add UTF-7 support. Since everyone’s pretty much settled on UTF-8 as a decent universal standard, it makes sense to strongly discourage browser developers from supporting niche charsets. It just adds needless complexity for everyone. Quoting the [HTML5 spec](https://www.w3.org/TR/html5/syntax.html#character-encodings) (emphasis mine): > User agents must support the encodings defined in the WHATWG Encoding specification […] **User agents must not support other encodings.** > > NOTE: > The above prohibits supporting, for example, CESU-8, UTF-7, BOCU-1, SCSU, EBCDIC, and UTF-32. This specification does not make any attempt to support prohibited encodings in its algorithms; support and use of prohibited encodings would thus lead to unexpected behavior. Everyone’s favorite browser to hate, Internet Explorer, actually *did* support UTF-7 at least through IE9. And sure enough, this led to a [security vulnerability](http://michaelthelin.se/security/2014/06/08/web-security-cross-site-scripting-attacks-using-utf-7.html) and yet another reason to hate IE.
null
0
1543700466
False
0
eavoc7y
t3_a23cci
null
null
t1_eauzidd
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavoc7y/
1546292947
82
t5_2fwo
r/programming
public
null
False
splatterghost
t2_57pul
Thank you for the tip, I'll work on improving that / revise the article.
null
0
1544823375
False
0
ebsyl1b
t3_a66ldu
null
null
t1_ebsuncc
/r/programming/comments/a66ldu/symptoms_of_bad_code/ebsyl1b/
1547618208
3
t5_2fwo
r/programming
public
null
False
AngularBeginner
t2_eky8x
> I like minimalism You give minimalism as a reason to not provide any information at all, but have a bloated website. Using Angular for a static site, several animations and plenty of drop shadows.
null
0
1543700520
False
0
eavoeh0
t3_a23dwp
null
null
t1_eavg7uw
/r/programming/comments/a23dwp/wwwshareconfigcom_share_your_config_across_devices/eavoeh0/
1546293005
2
t5_2fwo
r/programming
public
null
False
HowDoIDoFinances
t2_14s0va9q
If it's not end to end encryption, what's the point? What you're describing is just standard HTTPS.
null
0
1544823551
False
0
ebsysxy
t3_a66102
null
null
t1_ebstpe0
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsysxy/
1547618306
12
t5_2fwo
r/programming
public
null
False
BeyondExistenz
t2_2bygrsht
I think it is a cool effect I’ve never seen before. Really makes me feel like I’m in a gigantic hall or castle. I think a fun and cool dungeon game could be made with this effect with a little more work.
null
0
1543700648
False
0
eavojzs
t3_a230zo
null
null
t1_eaurah9
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavojzs/
1546293073
5
t5_2fwo
r/programming
public
null
False
oridb
t2_90rkq
She was also a processor pioneer, designed the logic and ALUs for some early machines.
null
0
1544823565
False
0
ebsytjp
t3_a63q5y
null
null
t1_ebrrjul
/r/programming/comments/a63q5y/evelyn_berezin_word_processor_pioneer_dies_aged_93/ebsytjp/
1547618313
6
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543700652
False
0
eavok69
t3_a23cci
null
null
t1_eavmkqr
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavok69/
1546293075
9
t5_2fwo
r/programming
public
null
False
vinnl
t2_36ai2
> Regular conversations are encrypted between you and Telegram's servers Right, so _those_ keys are stored in different juridictions, I suppose. Somewhat clever, but still vastly inferior to Signal's end-to-end encryption everywhere, of course. (At least in term of secrecy.)
null
0
1544823566
False
0
ebsytlj
t3_a66102
null
null
t1_ebsxyuu
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsytlj/
1547618313
0
t5_2fwo
r/programming
public
null
False
__j_random_hacker
t2_4rnnt
On some popular x86 processors (at least around 2008 when I was actively looking into this kind of thing), the "string instructions" (MOVS, STOS, etc.) executed significantly slower than regular MOVs. I believe later processors have gone some way to addressing this. Maybe someone with more knowledge can add some more specifics.
null
0
1543700836
False
0
eavos46
t3_a1roi0
null
null
t1_eauvser
/r/programming/comments/a1roi0/how_to_optimize_c_and_c_code_in_2018/eavos46/
1546293175
1
t5_2fwo
r/programming
public
null
False
makotech222
t2_46rm5
I disagree on *some* of this. If you're optimizing only for performance, then yes, do as much as you can in sql. But for most businesses, maintainability is a valuable thing; Logic in SQL is not maintainable. Its very difficult to organize logical operations like these, making it hard to find for future developers. Having operations done in code gives a hard reference to how a value is generated, whereas searching through sql to find either a stored procedure or a view, with tons of aliased variables, is always tedious.
null
0
1544823573
False
0
ebsytwq
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebsytwq/
1547618317
87
t5_2fwo
r/programming
public
null
False
vytah
t2_52x2f
Java uses UTF-16. Not UTF-16BE or UTF-16LE, since the Java language specification doesn't enforce a specific endianness. It was created in the simpler times when people though 65536 characters will be enough for everybody. It also has certain APIs that make extracting correct Unicode codepoints easier, but from my experience, not many people actually use them. EDIT: by "using UTF-16" I mean using 16-bit code units and using only those unless really careful. `String#length` counts code units, for example.
null
0
1543700855
1543701074
0
eavosxf
t3_a23cci
null
null
t1_eava7g2
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavosxf/
1546293185
13
t5_2fwo
r/programming
public
null
False
aoeudhtns
t2_fiz4e
I watched this video not long after I saw Brian Will's video criticizing OOP. One of the funniest things is that Henney draws spaghetti between procedures to visualize an impetus for OOP, and Will drew spaghetti between objects to visualize an impetus to drop OOP. Let's just say, I think the issue all too often is the carpenter, not the saw.
null
0
1544823580
False
0
ebsyu62
t3_a61j0v
null
null
t3_a61j0v
/r/programming/comments/a61j0v/kevlin_henney_procedural_programming_its_back_it/ebsyu62/
1547618321
2
t5_2fwo
r/programming
public
null
False
davorzdralo
t2_62ihs
I can't see how we could confirm it either way without seeing the dump itself.
null
0
1543700932
False
0
eavow5v
t3_a1gbqw
null
null
t1_eaqdl5x
/r/programming/comments/a1gbqw/ebay_japan_source_leak_as_git_folder_deployed_to/eavow5v/
1546293225
1
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
Not sure about that but there is interop with JS. Even if there is no way to do that in pure Razor code I'd at least hook a JS error handler for communication errors.
null
0
1544823605
False
0
ebsyvbd
t3_a5ssxk
null
null
t1_ebs76e6
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebsyvbd/
1547618335
1
t5_2fwo
r/programming
public
null
False
Spudd86
t2_5r9c8
Nope, I've seen people talking about non 8bit clean email servers well into the 2000s. Just because the network is 8 bit clean doesn't mean the software is. Hell it's probably still possible to misconfigure sendmail to not be 8bit clean.
null
0
1543700945
False
0
eavowon
t3_a23cci
null
null
t1_eav1tdo
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavowon/
1546293231
7
t5_2fwo
r/programming
public
null
False
wanderingbilby
t2_c6du6
The main issue I have with this concept (maybe because I'm crap at SQL) is it adds yet another layer to a program stack. UI → ui controller → data logic → database logic → database storage You can't do all data logic in SQL so you're stuck doing *some* in SQL and *some* in another language. More places for a bug to creep in and cause difficult-to-troubleshoot errors. I think there are good times to do an operation in SQL, especially if performance is a requirement or the data is saying in the DB such as inserting a log entry. Maybe if I was better at SQL it would be easier to see the logical divide between data logic and DB logic... but it doesn't feel like it.
null
0
1544823634
False
0
ebsywnx
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebsywnx/
1547618352
7
t5_2fwo
r/programming
public
null
False
davorzdralo
t2_62ihs
No, they didn't have user passwords, they had passwords for connecting to database. You can't have that hashed, it has to be in a config that is accessible to application server side.
null
0
1543700971
False
0
eavoxrx
t3_a1gbqw
null
null
t1_eaqz6og
/r/programming/comments/a1gbqw/ebay_japan_source_leak_as_git_folder_deployed_to/eavoxrx/
1546293245
3
t5_2fwo
r/programming
public
null
False
saltybandana
t2_2hallns5
you're telling me... I get people arguing with me constantly about this on reddit, for example. And there are **absolutely** times when you want the extra complication built in early, but you better be damned sure it's a good idea to put it in. IMO, this is what it means to be experienced vs inexperienced, the experienced can make that determine correctly much more often. It's also why being self-reflective is so important. Even senior engineers need to be able to determine if they have a good grasp on what's going to be asked of the system in the next 3 months, 6 months, year, and so forth. And you don't always have to build in all of the complexity at the front even if you know a feature request is going to come down the pipe in the next 6 months. All you need to do is ensure the current design won't currently fight that feature request. In other words, it's not always strictly one or the other (absolute simplest or super flexible). but I get so much pushback on that.
null
0
1544823645
False
0
ebsyx5r
t3_a5y50c
null
null
t1_ebr0aw6
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebsyx5r/
1547618358
9
t5_2fwo
r/programming
public
null
False
davorzdralo
t2_62ihs
Jesus Christ, just use one of the million PHP dotenv libs. https://github.com/vlucas/phpdotenv or https://github.com/symfony/dotenv will do just fine.
null
0
1543701034
False
0
eavp0b6
t3_a1gbqw
null
null
t1_eas0o2v
/r/programming/comments/a1gbqw/ebay_japan_source_leak_as_git_folder_deployed_to/eavp0b6/
1546293276
1
t5_2fwo
r/programming
public
null
False
kotajacob
t2_in91o
Comparing sms to an internet messaging system is an apples and oranges comparison. Imagine if outlook email users could only email other outlook users. Signal currently allows you to host your own signal server, but they have purposely made it so that if you host your own signal server you can only message people on your own personal signal server rather than anyone on any signal server. If they were to approve patches to federate signal than even if the original signal company falls apart or starts doing things the users do not like they can simply host their own versions. Basically it would make signal not a walled garden. Signals server code is open source, but you have to trust them that they're actually running the server software that they publish and not a modified and backdoored version. If signal was federated there would be no need to trust them. Instead you could run your own instance if you were suspicious, or if even an onion routed server for individuals in countries where the use of signal will result in jail time. If you're interested in this idea. Good news people are currently making it. [It's called matrix.](https://matrix.org) You'll need a client like [riot](https://about.riot.im/) to use the matrix network. Matrix is far from perfect and is being developed in a careful and slow manner. The servers at signal are reasonably stable and the open whisper group seems to care about privacy, but that could change at any moment and all of their users would have no power to do anything about it other than completely restart with a new messaging service. That to me is not reliable.
null
0
1544823664
1544823900
0
ebsyxz5
t3_a66102
null
null
t1_ebsu67y
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsyxz5/
1547618369
16
t5_2fwo
r/programming
public
null
False
davorzdralo
t2_62ihs
It really isn't.
null
0
1543701081
False
0
eavp28g
t3_a1gbqw
null
null
t1_eaq8m2y
/r/programming/comments/a1gbqw/ebay_japan_source_leak_as_git_folder_deployed_to/eavp28g/
1546293300
1
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
Using less JS and therefore having less errors in the code makes sense for the project. If the downsides are not important this upside may be the tilting point. Also note that this tech has a good path forward 5 years from now when wasm is good enough to run C#, then you can tell your project to run on the client instead with minimal changes.
null
0
1544823691
False
0
ebsyz72
t3_a5ssxk
null
null
t1_ebs7h0o
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebsyz72/
1547618414
1
t5_2fwo
r/programming
public
null
False
penedeoro
t2_hlntn
I wouldn't know. Never got that far :(
null
0
1543701142
False
0
eavp4ts
t3_a230zo
null
null
t1_eavg2y1
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavp4ts/
1546293331
1
t5_2fwo
r/programming
public
null
False
DabOnTheSucc
t2_2nlqortf
People who complain about SJWs are a million times more prevelant and just as worse than SJWs.
null
1
1544823753
False
0
ebsz1xt
t3_a66f6u
null
null
t3_a66f6u
/r/programming/comments/a66f6u/uncle_bob_sjwjs/ebsz1xt/
1547618447
1
t5_2fwo
r/programming
public
null
False
vytah
t2_52x2f
That's used for loading constants from class files. After loading, they're stored as UTF-16.
null
0
1543701169
False
0
eavp5zd
t3_a23cci
null
null
t1_eavmkqr
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavp5zd/
1546293345
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544823823
False
0
ebsz52u
t3_a66102
null
null
t1_ebsxh1b
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsz52u/
1547618486
16
t5_2fwo
r/programming
public
null
False
theskyfire23
t2_7m0s8
Or, use gnu make's syntax, and use gmake anywhere.
null
0
1543701297
False
0
eavpbei
t3_a219ba
null
null
t1_eauz8zn
/r/programming/comments/a219ba/makefiles_best_practices/eavpbei/
1546293413
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544823922
False
0
ebsz9dv
t3_a66102
null
null
t1_ebsr4yr
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebsz9dv/
1547618539
1
t5_2fwo
r/programming
public
null
False
shadow2531
t2_217kh
Tested with Sylpheed and Opera Mail (M2) with: test.mbs: From From: from@example.com Subject: Test MIME Version: 1.0 Content-Type: text/plain; charset="UTF-7" Content-Transfer-Encoding: 7bit test +Iho- me and with Thunderbird with: test.eml From: from@example.com Subject: Test MIME Version: 1.0 Content-Type: text/plain; charset="UTF-7" Content-Transfer-Encoding: 7bit test +Iho- me Both Sylpheed and Thundbird support it. Opera Mail doesn't though as Opera dropped UTF-7 support in Presto-based Opera way back in the day. (The Iho is √. "\u221a" -> btoa("\x22\x1a") -> Iho= -> Iho)
null
0
1543701343
1543701659
0
eavpde8
t3_a23cci
null
null
t3_a23cci
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavpde8/
1546293437
9
t5_2fwo
r/programming
public
null
False
davidk01
t2_1c5pc
> Is a 15% reduction in bugs making it all the way through your development pipeline worth it to you? Found at https://blog.acolyer.org/2017/09/19/to-type-or-not-to-type-quantifying-detectable-bugs-in-javascript/.
null
0
1544823935
False
0
ebsz9yt
t3_a61eig
null
null
t1_ebsbg7c
/r/programming/comments/a61eig/types_and_why_you_should_care/ebsz9yt/
1547618547
1
t5_2fwo
r/programming
public
null
False
vytah
t2_52x2f
Yeah, supporting a non-ASCII-compatible encoding (be it UTF-7 or ShiftJIS) is asking for trouble. (Although I guess it makes sense to support ShiftJIS due to its popularity.) The good things about ISO 8859 encodings, UTF-8 and most Windows codepages is that you can use ASCII-focused filtering and escaping mechanisms and you should be safe. You can't say the same about UTF-7.
null
0
1543701487
False
0
eavpjmk
t3_a23cci
null
null
t1_eavoc7y
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eavpjmk/
1546293514
22
t5_2fwo
r/programming
public
null
False
Elronnd
t2_lezm3
This doesn't really address the main draw of named arguments, which is reordering. That is, displayCoolName(firstName = "James", lastName = "Bond"); Should do the same as displayCoolName(lastName = "Bond", firstName = "James");
null
0
1544823941
False
0
ebszaa1
t3_a65m21
null
null
t3_a65m21
/r/programming/comments/a65m21/named_arguments_in_c/ebszaa1/
1547618551
-5
t5_2fwo
r/programming
public
null
False
MiLeungSF
t2_16y12c
Nice work! What kind of maths are you using?
null
0
1543701705
False
0
eavptxo
t3_a230zo
null
null
t3_a230zo
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eavptxo/
1546293670
2
t5_2fwo
r/programming
public
null
False
zachary87921
t2_78kk3
Can't the law compel employees to retrieve information without disclosing their actions to the company or am I reading the articles wrong? It doesn't matter what he thinks, every employee in the company is a security risk.
null
0
1544824062
False
0
ebszfpq
t3_a66102
null
null
t1_ebsgpny
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebszfpq/
1547618617
1
t5_2fwo
r/programming
public
null
False
ArkyBeagle
t2_r4aik
Wow. Just wow. So somebody's gonna set up a project for them as *part of an interview*??? The word "schmuck" comes to mind....
null
0
1543701778
False
0
eavpxf5
t3_a1tazn
null
null
t1_eavisq1
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eavpxf5/
1546293713
1
t5_2fwo
r/programming
public
null
False
WAUZZZ8CB4
t2_2o6mhuj2
I understood some of those words..
null
0
1544824072
False
0
ebszg4j
t3_a66102
null
null
t1_ebsupqw
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebszg4j/
1547618622
15
t5_2fwo
r/programming
public
null
False
Cherlokoms
t2_egu9a
There are existing solutions for comments. You don't have to implement it yourself!
null
0
1543701886
False
0
eavq2mw
t3_a1we32
null
null
t1_eau8y5f
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eavq2mw/
1546293777
2
t5_2fwo
r/programming
public
null
False
saltybandana
t2_2hallns5
He explained what he meant, and it's the meaning I gleaned from it without his clarification, so I think you need to drop it. At some point we all need to grow up, put on our big boy pants, and realize that we should be taking someone for their intent. And yes, I'm sure that's also offensive in some way.
null
0
1544824094
False
0
ebszh5i
t3_a5y50c
null
null
t1_ebsewu7
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebszh5i/
1547618635
3
t5_2fwo
r/programming
public
null
False
shadowh511
t2_5virf
You really get into fun stuff when you embrace the fact that meaning is arbitrary.
null
0
1543701977
False
0
eavq6sp
t3_a1we32
null
null
t1_eauxy6w
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eavq6sp/
1546293829
3
t5_2fwo
r/programming
public
null
False
pron98
t2_f0thb
I was replying to a statement made (and sentiment expressed) by the speaker, not to the question of types in particular (I'm familiar with the [empirical findings](https://danluu.com/empirical-pl/)). That statement amounts to, "if there's no data we should rely on personal opinion, because we have no choice." First, we have a choice, and there are weaker, but still valid insights to be gained from evidence that isn't controlled experiments, and second, even when there is no choice, the situation lends *less*, not more, credence to personal opinions.
null
0
1544824115
1544914914
0
ebszi3c
t3_a61eig
null
null
t1_ebsz9yt
/r/programming/comments/a61eig/types_and_why_you_should_care/ebszi3c/
1547618647
2
t5_2fwo
r/programming
public
null
False
funkinaround
t2_5ngc9
[This article](http://articles.nhmtech.com/maybe-not-ocaml-hickey/index.html) was recently linked to on r/programming. It discusses an approach using row-polymorphism in Ocaml. Maybe this article helps explain the difference?
null
0
1543702032
False
0
eavq96p
t3_a1o5iz
null
null
t1_eaulgrl
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eavq96p/
1546293858
2
t5_2fwo
r/programming
public
null
False
plddr
t2_414ca
Is he a Tintin fan?
null
0
1544824161
False
0
ebszk4v
t3_a66102
null
null
t1_ebsihfa
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebszk4v/
1547618671
1
t5_2fwo
r/programming
public
null
False
shadowh511
t2_5virf
`ropjar` and `rilkef` were constructed according to the lojban `CVCCV` structure for root words, plus a consonant to turn them into a proper noun. `flopnax the ropjar` also has the same number syllables as [Rockin the Casbah](https://www.youtube.com/watch?v=WEWG6kSYqlY), which was in my head at the time.
null
0
1543702122
False
0
eavqd5s
t3_a1we32
null
null
t1_eaudmtl
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eavqd5s/
1546293906
2
t5_2fwo
r/programming
public
null
False
davidk01
t2_1c5pc
> Is a 15% reduction in bugs making it all the way through your development pipeline worth it to you?
null
0
1544824169
False
0
ebszki9
t3_a697bm
null
null
t3_a697bm
/r/programming/comments/a697bm/to_type_or_not_to_type_quantifying_detectable/ebszki9/
1547618676
-1
t5_2fwo
r/programming
public
null
False
yeahwhateveritis
t2_2czz1tfd
Iterations are good for the CPU. It guesses the answer of next instructions by making predictions.
null
0
1543702275
False
0
eavqjy9
t3_a1rp4s
null
null
t3_a1rp4s
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eavqjy9/
1546293990
1
t5_2fwo
r/programming
public
null
False
saltybandana
t2_2hallns5
I've found that approach gets painful to evolve, so I've started taking the approach of just asking each project to maintain their own list of data structures.
null
0
1544824179
False
0
ebszkxh
t3_a5y50c
null
null
t1_ebrcndj
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebszkxh/
1547618682
2
t5_2fwo
r/programming
public
null
False
shadowh511
t2_5virf
That's not the point of the code that powers my portfolio site though :P
null
0
1543702279
False
0
eavqk3u
t3_a1we32
null
null
t1_eavq2mw
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eavqk3u/
1546293992
3
t5_2fwo
r/programming
public
null
False
LetsGoHawks
t2_32830
We all like to talk about code reusability, doing the crunching and cleaning in the database can make it a lot easier. Either within the same program or especially across different programs. It also helps ensure that everybody is using the same logic to produce their data sets. If you have to deal with databases, SQL really can do an amazing amount of work for you. In a lot less lines of code.
null
1
1544824261
False
0
ebszojg
t3_a691r7
null
null
t1_ebsywnx
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebszojg/
1547618726
2
t5_2fwo
r/programming
public
null
False
OnlyForF1
t2_h33f9
For a lot of people it’s a fight against a corporate behemoth. David vs Goliath kinda thing.
null
0
1543702417
False
0
eavqqdv
t3_a1ysx2
null
null
t1_eaus244
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eavqqdv/
1546294070
7
t5_2fwo
r/programming
public
null
False
annexi-strayline
t2_opgl37x
https://citemaster.net/get/db3a81c6-548e-11e5-9d2e-00163e009cc7/R8.pdf This is a great article talking about the FBW and PFC (Primary Flight Computer) architecture of the 777 See page 6 specifically "Each PFC channel contains three dissimilar processor lanes, and software from Ada source code using three different Ada compilers to provide triple dissimilarity". It's interesting to note that they had more faith in the correctness of the Ada code than the compilers, or even the processor hardware, since they used the same code for all lanes!
null
0
1544824277
False
0
ebszp8b
t3_a5ylm8
null
null
t1_ebswaqx
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebszp8b/
1547618734
8
t5_2fwo
r/programming
public
null
False
OnlyForF1
t2_h33f9
The context behind it was trying to see how far he could go with Fiverr before they said no. Pewdiepie is not an anti-Semite, he was just as shocked as the media who decided to pin it all on him a few days later to fit their anti-YouTube agenda.
null
0
1543702549
False
0
eavqwr7
t3_a1ysx2
null
null
t1_eav5ep8
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eavqwr7/
1546294149
4
t5_2fwo
r/programming
public
null
False
deceased_parrot
t2_7q7zg
> Using less JS and therefore having less errors in the code makes sense for the project. Honestly, as a person who works with the web on a daily basis, I don't find JS to be all that bad. CSS, on the other hand...
null
0
1544824294
False
0
ebszpxz
t3_a5ssxk
null
null
t1_ebsyz72
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebszpxz/
1547618744
1
t5_2fwo
r/programming
public
null
False
anon_cowherd
t2_fr4xgn1
I don't think he was saying that the changes required would be difficult. It just makes no sense that a function could loosening the strictness of its arguments forces callers to change their code. The fact that you have to handle it in userspace by wrapping it in `Just` is an indication that the type system is lacking. Of course, that's not to say that dynamic typing is strictly better, since spec is essentially a whole type system in userspace (with tooling, because lisp). Only that Maybe and friends are perhaps suboptimal, especially if your language can support something like spec I do like where his head is at with where spec is going. I worry that it will add a little too much song and dance, but I certainly wouldn't argue that he missed the forest for the trees.
null
0
1543702650
False
0
eavr1bx
t3_a25r6x
null
null
t1_eavk17g
/r/programming/comments/a25r6x/ocaml_vs_maybe_not/eavr1bx/
1546294235
18
t5_2fwo
r/programming
public
null
False
TerrorBite
t2_4hbk9
Yeah. Telegram talks up their security, but they don't entirely seem to take it seriously. There's also the fact that they [rolled their own cryptography](https://core.telegram.org/mtproto/description), which they have received [academic criticism^[PDF]](https://eprint.iacr.org/2015/1177.pdf) for. > We described two simple attacks which show that MTProto, the symmetric encryption scheme used by Telegram, fails to achieve desirable notions of security such as indistinguishability under chosen-ciphertext attack or authenticated encryption.
null
0
1544824309
False
0
ebszqkn
t3_a66102
null
null
t1_ebsytlj
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebszqkn/
1547618751
3
t5_2fwo
r/programming
public
null
False
Stevemasta
t2_e7mulic
Smear campaign. A few years back there was a similar incident. A german comedian 'Jan Böhmermann' wrote, and told on TV, a poem only consisting of racist slurs against turks and insults against the turkish president Erdogan (example: 'goat fucker'). It was to show what you should not do and how far you can go. Back then the media was all about free speech and how we have to be able to do satire even if it **seems** offensive at first, **but with context** really isn't. [Wallstreet Journal](https://www.wsj.com/articles/germany-investigating-comic-suspected-of-offending-turkish-president-erdogan-1459965047), yes the same WSJ that attacks PDP now, has labeled it as 'freedom of press' before. This time the climate is different. WSJ knowingly doctored antisemitism into a Pewdiepie mashup to prove their point. Pewdiepie: >This originated from a video I made a couple of weeks ago. I was trying to show how crazy the modern world is, specifically some of the services available online. I picked something that seemed absurd to me-That people on Fiverr would say anything for 5 dollars. [Business Insider:](https://www.businessinsider.de/pewdiepie-anti-semitism-jokes-controversy-explained-2017-2?r=US&IR=T) >Using the website Fiverr, Kjellberg hired two men to make a sign that said "Death to All Jews." Fiverr enables users to hire freelancers to perform tasks for $5. Kjellberg says this was a joke meant to point out how you could use the internet to get people to do anything for a relatively low amount of money. Edit: He who downvoted, show me factual errors please or stop using reddit. It's not a feel button.
null
0
1543702812
1543704143
0
eavr915
t3_a1ysx2
null
null
t1_eav5qrc
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eavr915/
1546294331
2
t5_2fwo
r/programming
public
null
False
deceased_parrot
t2_7q7zg
> Your perception of "everywhere" is laughably myopic. Not mine. > Stop hanging with the wrong people. There is a huge world outside of that rotten web swamp. Which happens to pay the bills, thank you very much.
null
0
1544824389
False
0
ebszu7y
t3_a65liu
null
null
t1_ebsjmdg
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebszu7y/
1547618796
2
t5_2fwo
r/programming
public
null