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
jephthai
t2_591d
I've introduced my kids to the kings quest, space quest, and quest for glory games. The campy humor works just fine, and they've enjoyed them immensely. It's an issue of taste, and I'd say the are many who like them for each who doesn't.
null
0
1543721169
False
0
eawcq1s
t3_a1y1rq
null
null
t1_eav37dg
/r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eawcq1s/
1546304342
1
t5_2fwo
r/programming
public
null
False
Pejo37
t2_f2gyn
But you're able to parameterize a query without a stored proc. Stored procs allow you to blackbox the logic underneath, so there are benefits there, but I'm still not seeing downsides to simple queries not using stored procs
null
0
1544832133
False
0
ebt8kc0
t3_a691r7
null
null
t1_ebt7wcw
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebt8kc0/
1547622878
34
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
Space quest was great. I still replay them sometimes.
null
0
1543721236
False
0
eawcsra
t3_a1y1rq
null
null
t1_eavbdda
/r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eawcsra/
1546304404
2
t5_2fwo
r/programming
public
null
False
jkbbwr
t2_53769
Did you not see the vendor bit of the statement. If I want it secure I will manually review and merge. If it looks even slightly odd I will just reject it
null
0
1544832409
False
0
ebt8uea
t3_a66102
null
null
t1_ebt259m
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt8uea/
1547623003
1
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
Coding as job vs coding as art. To each his own.
null
0
1543721300
False
0
eawcv9n
t3_a24c4e
null
null
t1_eavc7mh
/r/programming/comments/a24c4e/devember_is_now_2018_code_1hday_for_the_whole/eawcv9n/
1546304436
2
t5_2fwo
r/programming
public
null
False
pdp10
t2_znec3
C# is NIH Java from Microsoft, Swift is [second system syndrome](https://en.wikipedia.org/wiki/Second-system_effect) Objective C, and Kotlin is a quasiproprietary language in the Java sphere with functional influences.
null
0
1544832422
False
0
ebt8uw0
t3_a5ylm8
null
null
t1_ebskx9m
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebt8uw0/
1547623009
1
t5_2fwo
r/programming
public
null
False
grey_gander
t2_10s1ul
No interesting content, just an ad for a book folks... Edit: check out u/sai_ko 's comment for some really good stuff!
null
1
1543721314
1543875472
0
eawcvtf
t3_a29jmw
null
null
t3_a29jmw
/r/programming/comments/a29jmw/a_programmers_introduction_to_mathematics/eawcvtf/
1546304442
2
t5_2fwo
r/programming
public
null
False
pdp10
t2_znec3
> a huge amount of time is being wasted building tools for building things but not building things. But the things are CRUD apps and business logic, and who wants to write that?
null
0
1544832493
False
0
ebt8xni
t3_a5ylm8
null
null
t1_ebso28k
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebt8xni/
1547623043
3
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
Most hobbies and subcultures try to generate interest and attract people. If I had the cash, I'd sign up for a month-o-milling!
null
0
1543721379
False
0
eawcyag
t3_a24c4e
null
null
t1_eavknvr
/r/programming/comments/a24c4e/devember_is_now_2018_code_1hday_for_the_whole/eawcyag/
1546304473
2
t5_2fwo
r/programming
public
null
False
pdp10
t2_znec3
Should have used C with decent compiler switches and a static analyzer, then.
null
0
1544832582
False
0
ebt90ze
t3_a5ylm8
null
null
t1_ebrcnxb
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebt90ze/
1547623084
1
t5_2fwo
r/programming
public
null
False
StillNoNumb
t2_uxwc7
Not at all. In many or even most cases, average case is much more important. Most famous example is Quicksort, which has a worst-case behaviour of O(n\^2), but this is extremely rare and average complexity is O(n log n). And this is the same thing we're running into here; while there certainly are *some* Super Mario levels which are hard to solve, they are *extremely* rare in the set of all Super Mario levels generated by a level generator. *(We define extremely rare here as that if the size of the levels increases towards infinity, the percentage of hard levels goes towards 0.)* And of course, sometimes worst case behavior indeed is important, too. However, sometimes that's not the case. I've seen it many times that someone takes a problem, shows it's NP-hard and then stops thinking about solutions and starts approaching it with a solver. Which really does way too much for the job.
null
0
1543721672
False
0
eawd9id
t3_a281dl
null
null
t1_eavypwv
/r/programming/comments/a281dl/nphard_does_not_mean_hard/eawd9id/
1546304611
29
t5_2fwo
r/programming
public
null
False
s73v3r
t2_3c7qc
No, at some point we need to grow up, put on our big boy pants, and realize that how we communicate, and the words we choose are important.
null
0
1544832770
False
0
ebt97v6
t3_a5y50c
null
null
t1_ebszh5i
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebt97v6/
1547623168
3
t5_2fwo
r/programming
public
null
False
wengchunkn
t2_teo9t
Already doing it. Do you have similar projects that I can refer to?
null
0
1543721861
False
0
eawdgsq
t3_a29bzt
null
null
t1_eawcc0j
/r/programming/comments/a29bzt/missing_link_between_forth_and_c_ecosystems/eawdgsq/
1546304701
2
t5_2fwo
r/programming
public
null
False
Frizlab
t2_2mhsvzuk
This one. How to parse HTML using regexp: https://stackoverflow.com/a/1732454/1152894
null
0
1544832839
False
0
ebt9adq
t3_a6a6ls
null
null
t3_a6a6ls
/r/programming/comments/a6a6ls/this_is_my_favorite_so_answer_my_mind_was_blown/ebt9adq/
1547623229
5
t5_2fwo
r/programming
public
null
False
NoMoreNicksLeft
t2_7mcb
> It's possible he agreed that any "homework" he did was wholely their intellectual property. Absent signed legal documents to that effect, no one would believe any claims like these. > If they didn't, then OP would have grounds to sue, Yeh, if he was willing to spend tens of thousands of dollars only to have them fold if he won so they wouldn't have to pay anything. Shitty little companies like this don't tend to have big bank accounts.
null
0
1543722025
False
0
eawdndz
t3_a1tazn
null
null
t1_eat4vyn
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eawdndz/
1546304782
1
t5_2fwo
r/programming
public
null
False
annexi-strayline
t2_opgl37x
Ha indeed, I personally think it should be more obvious to people, but there is a lot of "well but I can't write that thing if I don't have garbage collection".
null
0
1544832896
False
0
ebt9cct
t3_a5ylm8
null
null
t1_ebt87ed
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebt9cct/
1547623254
2
t5_2fwo
r/programming
public
null
False
07734willy
t2_8sr4u
As everyone else has already mentioned- diffusing the light will help greatly in making it seem more realistic. There's several mentions of how to do this, and I'm sure you'll research it on your own as well, so I'm not going to talk about that. I'd like to talk about the floor lighting. Some else already mentioned so its constant, and then has a linear drop off. How you implemented it depends a lot of how your game engine (and game itself) works under the hood, but at a high level, I see it functioning like: if (point.distanceTo(player) < dropoffDistance) { point.brightness = 1.0; } else { point.brightness = some_constant / point.distanceTo(player); } By this I mean that a) there's two different lighting behaviors: constant and linear dropoff and b) they don't match up where they meet. Instead, you should use a continuous lighting equation that seems nearly constant for close ranges, and then approaches your old behavior as you go farther out. Something like point.brightness = new_constant / (point.distanceTo(player) + new_constant); both `new_constant` being the same variable / value, to clarify. To put things into perspective, `new_constant` is the distance at which light will be dimmed by 50%. With lighting now a bit more smooth, its time to talk about brightness. In real life, things are 3D. If you have a light source, its light rays span out in all 3 dimensions. When it strikes a surface, that surface can be seen as 2D- it has no depth as far as the light is concerned. The farther away this surface is, a smaller portion of these light rays will actually hit it. In physics, this is the inverse square law of brightness. [Here](http://www.astronomy.ohio-state.edu/~pogge/Ast162/Unit1/Images/brightness.gif) is a visual of what's going on. Notice that as the distance doubles, the brightness is cut to a quarter of what it was. What I'm getting at is that in real life, brightness isn't inversely proportional to distance, its inversely proportional to the square of the distance. Now video games aren't always realistic, but you may still want your lighting to behave similarly to real life. Tweaking our previous equation to incorporate this new information, we get: point.brightness = new_constant_sqr / (Math.power(point.distanceTo(player), 2) + new_constant_sqr); Now lighting will dim much faster- as it does in real life. You'll need to make your constant a lot larger now, likely the square of what it was before. The square root of `new_constant_sqr` is the distance at which light will be dimmed by 50%. This should be looking pretty nice now, but there's one more thing you may want to change. Dark areas are black. `#000000` black. While diffuse lighting will help smooth the transition into these areas, it still may be noticeable that some distant but "visible" areas are dark grey. Maybe you want to make them `#000000` as well. You could round the brightness down to 0 when its sufficiently close, but then you're going to have a slightly noticeable but sharp ring around the player farther out, where the visible rounds off to black, and you're back at the original problem. Instead, you may just want to "ramp up" the dimming, so that it reaches a sufficiently dark grey or almost black at the range you want. You have a few options- you can replace your quadratic relationship with distance with some floating point value `2.3154` or something point.brightness = new_constant_sqr / (Math.power(point.distanceTo(player), dimRate) + new_constant_sqr); or you can introduce a few new variables to tweak the dimming rate while keeping it quadratic point.brightness = new_constant_sqr / (dimFactorA * Math.power(point.distanceTo(player), 2) + dimFactorB * point.distanceTo(player) + new_constant_sqr); it's really your opinion. You want a balance between looking realistic and being functional inside your game. Just play around with it a bit, and see what you like. I'm not trying to say these are the optimal and that you have to use one of these, I'm just trying to give you a better understanding of why your floor lighting issue exists, and what mathematical manipulations will influence them.
null
0
1543722099
False
0
eawdq7c
t3_a230zo
null
null
t3_a230zo
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eawdq7c/
1546304817
1
t5_2fwo
r/programming
public
null
False
PendragonDaGreat
t2_7nqwk
"Good for me but not for Thee"
null
0
1544832917
False
0
ebt9d4s
t3_a66102
null
null
t1_ebt7fsa
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt9d4s/
1547623264
20
t5_2fwo
r/programming
public
null
False
sumitrajguru
t2_1y1tgw7a
oh yeah. Thanx!
null
0
1543722106
False
0
eawdqj1
t3_a236rm
null
null
t1_eaw9ds9
/r/programming/comments/a236rm/creating_vector_in_r/eawdqj1/
1546304821
1
t5_2fwo
r/programming
public
null
False
annexi-strayline
t2_opgl37x
This is probably the most stunning defeat I've had all day.
null
0
1544832950
False
0
ebt9eb7
t3_a5ylm8
null
null
t1_ebt8xni
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebt9eb7/
1547623278
3
t5_2fwo
r/programming
public
null
False
agent-plaid
t2_pd0rj
I wonder how much _type inference_ is in Rich Hickey’s background. I can agree that if you’ve explicitly said `int option` in the function and `int` in the caller, sure, maybe the compiler should be able to do an automatic conversion. But my (bit of) experience with Rust and F# has been that you let type inference do its thing. Providing automatic conversions _there_ seems like it would force the compiler to explore a combinatorial explosion of possibilities.
null
0
1543722185
1543722391
0
eawdtjn
t3_a25r6x
null
null
t1_eavk17g
/r/programming/comments/a25r6x/ocaml_vs_maybe_not/eawdtjn/
1546304858
9
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
If you have dedicated db developers/dbas stored procedures make sense. They can own the code and make sure the backend dev doesn't do anything stupid.
null
0
1544833070
False
0
ebt9iqs
t3_a691r7
null
null
t1_ebt1wy3
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebt9iqs/
1547623332
13
t5_2fwo
r/programming
public
null
False
reality_boy
t2_14xv7aap
I’m intrigued by this. In college I had the chance to study both statistics and linear algebra both from a mathematics perspective and an engineering perspective and found that they were very complimentary. I would imagine looking at math from a programmers perspective would be very informative.
null
0
1543722717
False
0
eawedyh
t3_a29jmw
null
null
t3_a29jmw
/r/programming/comments/a29jmw/a_programmers_introduction_to_mathematics/eawedyh/
1546305139
4
t5_2fwo
r/programming
public
null
False
gutigen
t2_9s3ua
https://drewdevault.com//2018/08/08/Signal.html
null
0
1544833176
False
0
ebt9mk4
t3_a66102
null
null
t1_ebsgpny
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt9mk4/
1547623381
2
t5_2fwo
r/programming
public
null
False
dicker009
t2_n1loq4k
Netnize : Please save pewdiepei! He is dying! If he lost his first rank, he will die. [Continue to click the button of best printer hacking toolkit] Those spams from printers always convicte people.
null
0
1543722844
1543723110
0
eaweiti
t3_a1ysx2
null
null
t3_a1ysx2
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaweiti/
1546305199
2
t5_2fwo
r/programming
public
null
False
devraj7
t2_yhtpo
Add a check phase in `build()`. Builder is a very standard pattern, you know.
null
0
1544833323
False
0
ebt9run
t3_a65m21
null
null
t1_ebt74gv
/r/programming/comments/a65m21/named_arguments_in_c/ebt9run/
1547623446
5
t5_2fwo
r/programming
public
null
False
aazav
t2_4rki0
UTF-1 is the real challenge. Along with UTF-0.
null
0
1543723024
False
0
eawepf7
t3_a23cci
null
null
t1_eauzidd
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eawepf7/
1546305280
2
t5_2fwo
r/programming
public
null
False
M3ME_FR0G
t2_1075ev
The way people construct skyscrapers today is literally completely unlike how they were constructed 50 years ago. The same forces are still in play, they still need to take into account wind and earthquakes and everything else, of course. The materials a lot of the time are fairly similar, although they have evolved a lot. So of course there will be similarities. But it's still way more different than software is. Software today is developed pretty much the same way it was developed 40-50 years ago. 40-50 years ago, remember, was the 1970s. Look at software from the 1970s. The differences from today are essentially nonexistent. The same kind of software, the same kind of structure to it, etc. It's procedural, it has control structures, it happens line by line, top to bottom, etc. >Honestly, Software has been a lot less discipline than other industries I've been around. In most engineering spaces, an attempt is made to not reinvent the wheel, and to make careful iteration. The software industry seems to have a lust for coming-up with the same ideas in a 10 year cycle, making little iterative progress in the long-term. I disagree. I think you notice the small differences because it's your area of expertise. But they're small, irrelevant differences in the grand scheme of things. Overall software is done in essentially the same way it was done 40-50 years ago.
null
0
1544833332
False
0
ebt9s70
t3_a5ylm8
null
null
t1_ebs7xwo
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebt9s70/
1547623450
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543723161
False
0
eaweukw
t3_a2a3xn
null
null
t3_a2a3xn
/r/programming/comments/a2a3xn/a_sassy_memeful_speech_recognition_software_named/eaweukw/
1546305347
1
t5_2fwo
r/programming
public
null
False
Matthicus
t2_6x0yf
https://xkcd.com/504/
null
0
1544833423
False
0
ebt9vl3
t3_a66102
null
null
t1_ebstf4y
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt9vl3/
1547623492
8
t5_2fwo
r/programming
public
null
False
ItzWarty
t2_56t41
You're likely computing a "visibility polygon" (computational geometry term)! If you have a polygonal world representation, I've implemented an O(NlogN) sweep-angle solution here: https://github.com/miyu/OpenMOBA/blob/master/engine/src/Dargon.PlayOn/Geometry/VisibilityPolygon.cs#L509 It has the strangest comparison function I've ever implemented: https://github.com/miyu/OpenMOBA/blob/c9af14669ef0daae072e8aa60d25ae6d70676fd0/engine/src/Dargon.PlayOn/Geometry/OverlappingIntSegmentOriginDistanceComparator.cs#L21 *Suri, Subhash; O'Rourke, Joseph (1986)* documented this solution before me. Here's a visualization of the algorithm: https://twitter.com/miyuCodes/status/971654224177070080
null
0
1543723224
False
0
eaweww1
t3_a230zo
null
null
t1_eaupbwf
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaweww1/
1546305376
2
t5_2fwo
r/programming
public
null
False
stevegossman83
t2_wifmj
I don't like it when my compiled languages are type-checked at runtime.
null
0
1544833450
False
0
ebt9wkx
t3_a65m21
null
null
t1_ebt9run
/r/programming/comments/a65m21/named_arguments_in_c/ebt9wkx/
1547623504
17
t5_2fwo
r/programming
public
null
False
MommySmellsYourCum
t2_2etq91wj
Are you referencing a board game?
null
0
1543723541
False
0
eawf8mw
t3_a23cci
null
null
t1_eavd22c
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eawf8mw/
1546305520
2
t5_2fwo
r/programming
public
null
False
krism142
t2_68zzk
Yeah comparing the Australian market to the Chinese market is like trying to compare the Pacific ocean to lake Erie
null
0
1544833471
False
0
ebt9xbd
t3_a66102
null
null
t1_ebt4lpv
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt9xbd/
1547623513
6
t5_2fwo
r/programming
public
null
False
gsg_
t2_3aevr
A restricted case of strengthening return values is possible with OCaml's structural types. A dumb polymorphic variant example: let f x = if x then `Foo else `Bar let caller b = match f b with | `Foo -> 1 | `Bar -> 2 Now change the definition of `f` such that the return value is a subset of what it was: let f _ = `Foo and `caller` still compiles with no change. Adding a method to an object would be a similarly 'non-breaking' change. This is kind of neat, but not particularly valuable for day-to-day programming (at least, in OCaml). Certainly not as valuable as updating a data type definition and being able to reliably find the places where that matters.
null
0
1543723710
1543723900
0
eawfevm
t3_a25r6x
null
null
t3_a25r6x
/r/programming/comments/a25r6x/ocaml_vs_maybe_not/eawfevm/
1546305624
3
t5_2fwo
r/programming
public
null
False
marijnfs
t2_4mf6t
That's literally a back door
null
0
1544833525
False
0
ebt9zbf
t3_a66102
null
null
t1_ebsbecu
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebt9zbf/
1547623538
1
t5_2fwo
r/programming
public
null
False
dicker009
t2_n1loq4k
poor man forgot to sign an agreement of all things created during this interview will belong to this company! right?
null
0
1543723865
False
0
eawfkpq
t3_a1tazn
null
null
t3_a1tazn
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eawfkpq/
1546305696
1
t5_2fwo
r/programming
public
null
False
pure_x01
t2_3h5id
That's the same reasoning as saying that everything is maintainable in Assembly. Its just a flaw in your CS education. Its about the limitations of the human mind and how we read program code. If you have queries longer than can fit over a screen with multiple different joins in different types its pretty hard for the brain to decompile that in to business logic. Its very easy to get really hard edge cases in SQL that will cause hard to find bugs. Edit: Im pro use of SQL where needed but i have seen many systems broken by extremely unmaintainable large sql queries.
null
0
1544833570
False
0
ebta0xq
t3_a691r7
null
null
t1_ebt7roa
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebta0xq/
1547623558
43
t5_2fwo
r/programming
public
null
False
goochadamg
t2_5klkf
What company is this? Everyone should know so they don't waste their time.
null
0
1543724221
False
0
eawfxvc
t3_a1tazn
null
null
t1_eaurthi
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eawfxvc/
1546305858
1
t5_2fwo
r/programming
public
null
False
AdequateSource
t2_lnryxsf
Yes, my examples are an oversimplification. My intention was not to blame the field of trying to obscure what we do, but I do understand how it can be interpreted that way. My point is media use words like cloud, algorithms, artificial intelligence and machine learning in often incorrect ways. I am not trying to argue we should avoid using our proper terminology. I am trying to argue that peoples expectations when they hear the (overly) simplified term 'applied statistics' or 'fancy applied statistics' is way more in line with reality than the terminator / HAL 9000 they think of when they hear Machine Learning. My points is not that we should stop using our terminology, but that we should help give people an idea of what the terminology actually covers - even if that might be simplified. All fields have specialized terminology, but ours is being actively misused by congressmen that do not know that Google is not the maker of IPhone...
null
0
1544833613
False
0
ebta2jj
t3_a63ff2
null
null
t1_ebs2au9
/r/programming/comments/a63ff2/we_as_an_industry_should_do_our_best_to_ensure/ebta2jj/
1547623578
0
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543724851
False
0
eawgl7j
t3_9o3hh2
null
null
t3_9o3hh2
/r/programming/comments/9o3hh2/i_built_a_trading_bot_which_exploits_pricespreads/eawgl7j/
1546306146
1
t5_2fwo
r/programming
public
null
False
devraj7
t2_yhtpo
Me neither, that's why I don't use C++. I was just offering a way to emulate the mechanism discussed in the article, since it never listed the builder approach. But it's an emulation. Which is reasonably statically typed, but not a full replacement for named parameters as you point out. By the way, the builder pattern is the exact reason that Stroustrup gave when he rejected named parameters about 20 years ago. I was on the C++ committee then.
null
0
1544833629
1544834007
0
ebta34s
t3_a65m21
null
null
t1_ebt9wkx
/r/programming/comments/a65m21/named_arguments_in_c/ebta34s/
1547623585
10
t5_2fwo
r/programming
public
null
False
drysart
t2_3kikg
I can't help but think this blog is written at a technical level above that of anyone who might actually think NP-hard means hard and needs the distinction clarified.
null
0
1543725094
False
0
eawgucf
t3_a281dl
null
null
t3_a281dl
/r/programming/comments/a281dl/nphard_does_not_mean_hard/eawgucf/
1546306288
51
t5_2fwo
r/programming
public
null
False
squigs
t2_14w6r
No it's not. A back door is a modification to allow government access. This is finding existing flaws.
null
0
1544833639
False
0
ebta3hv
t3_a66102
null
null
t1_ebt9zbf
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebta3hv/
1547623589
2
t5_2fwo
r/programming
public
null
False
simonschnell
t2_1fbnn1r9
Nice little project. Is this on GitHub?
null
0
1543725359
False
0
eawh4cz
t3_a28vrm
null
null
t3_a28vrm
/r/programming/comments/a28vrm/i_made_a_minimalist_webapp_for_publickey/eawh4cz/
1546306411
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544833678
1544834519
0
ebta4x9
t3_a66102
null
null
t1_ebt6j09
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebta4x9/
1547623607
4
t5_2fwo
r/programming
public
null
False
drysart
t2_3kikg
> they felt the need to go out of their way to mess with OS configuration From what I gather, the OS configuration changes were intended to only persist while the installation was taking place; and were intended to prevent Windows from automatically restarting if a Windows update landed in the middle of the Node install process that would force a Windows restart. Under a successful Node install, the OS configuration is set back to normal; but under a failed Node install, the OS configuration changes weren't getting reverted. It's an ugly solution, but given Boxstarter's whole purpose is to be able to do automated package installations on a fresh VM; which is exactly when a system is likely to be bombarded with Windows Updates and want to reboot a lot -- and given Windows doesn't provide any other way for userland code to reliably delay a reboot for more than a few seconds, I don't see that it's an unreasonable thing to do. But if you're going to do that, you need to be absolutely sure that your failure paths are rock solid and will set things back the way they're supposed to be in *all circumstances*.
null
0
1543725611
False
0
eawhdni
t3_a1u6ge
null
null
t1_eaufxlu
/r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eawhdni/
1546306526
3
t5_2fwo
r/programming
public
null
False
fullmetaljackass
t2_3j9rb
They can try, but, despite what some politicians would like to believe, the law has no effect on how math works. If the system is designed and implemented properly the only thing the employees would be able to hand over is completely useless without keys they don't have.
null
0
1544833740
False
0
ebta77k
t3_a66102
null
null
t1_ebszfpq
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebta77k/
1547623636
11
t5_2fwo
r/programming
public
null
False
ryankearney
t2_3gdil
You aren't even using SRI on the javascript you embed. EDIT: Or CSP Headers, or HTTP STS, or XSS Protection headers, or Frame option headers. Nothing about this is "secure"
null
1
1543726915
1543727411
0
eawiosf
t3_a28vrm
null
null
t1_eaw9dsl
/r/programming/comments/a28vrm/i_made_a_minimalist_webapp_for_publickey/eawiosf/
1546307137
0
t5_2fwo
r/programming
public
null
False
saltybandana
t2_2hallns5
eh, you want to die early from being offended at everything, I guess that's your prerogative. myself personally, I think life is much more enjoyable when you treat others' as creatures to understand rather than enemies. but you do you.
null
0
1544833811
False
0
ebta9uf
t3_a5y50c
null
null
t1_ebt97v6
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebta9uf/
1547623668
4
t5_2fwo
r/programming
public
null
False
saruque
t2_usgar
Try to understand why turns and i two variables are taken.
null
0
1543727168
False
0
eawixbc
t3_a2554t
null
null
t1_eav96to
/r/programming/comments/a2554t/guess_the_number_game/eawixbc/
1546307242
1
t5_2fwo
r/programming
public
null
False
LetsGoHawks
t2_32830
If you're saying "There's no need to write a stored proc for a simple query because you can just compose the SQL in your application and send that off to the DB to run" then I agree. I do that myself. For whatever reason I didn't consider that when I read srone's comment. If it's a query that's going to be called a lot from various places though, a stored proc might make more sense. Lots of judgement calls here.
null
1
1544833818
False
0
ebtaa2r
t3_a691r7
null
null
t1_ebt8kc0
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtaa2r/
1547623671
2
t5_2fwo
r/programming
public
null
False
jephthai
t2_591d
Not that I can link publicly -- and to be fair, I'm mostly going the other way. I've got a native Forth compiler that calls into the Win32 API all the time, but I haven't really tried the other direction. The last time I had trouble with functions not calling properly, I ended up just staring at disassemblies until I realized what was different from what I was trying to do :-). Good luck!
null
0
1543727215
False
0
eawiyw7
t3_a29bzt
null
null
t1_eawdgsq
/r/programming/comments/a29bzt/missing_link_between_forth_and_c_ecosystems/eawiyw7/
1546307262
3
t5_2fwo
r/programming
public
null
False
thirdegree
t2_63m0r
Sure, but it's also the same reasoning as saying that everything is maintainable in haskell. The fact that most devs don't have an adequate intuition for it doesn't mean that it's bad, it just means there's a problem in education. In the case of assembly, there's very few cases where even with a quite thorough education you can beat a compiler. In the case of SQL, that's less the case. Most ORMs are absolute shit, and the only way to approach the possible performance of raw SQL is to write raw SQL. And of course that's not to say all business logic should be done in SQL, that'd be insane. Just the bits that deal in data relations. It's not a limitation of the human mind, ask any DBA. It's simply a matter of exposure and experience.
null
0
1544833931
False
0
ebtae5z
t3_a691r7
null
null
t1_ebta0xq
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtae5z/
1547623722
6
t5_2fwo
r/programming
public
null
False
lanzaio
t2_zlgp0
I'd get fired if I were only coding 1h a day :(
null
0
1543727285
False
0
eawj176
t3_a24c4e
null
null
t3_a24c4e
/r/programming/comments/a24c4e/devember_is_now_2018_code_1hday_for_the_whole/eawj176/
1546307291
1
t5_2fwo
r/programming
public
null
False
mcafey
t2_2rc6m3kd
Using the new features just because they are new. Nothing like 2000 line default method parsing data written in Java that leverages Spring Framework....
null
0
1544833981
False
0
ebtafxq
t3_a66ldu
null
null
t3_a66ldu
/r/programming/comments/a66ldu/symptoms_of_bad_code/ebtafxq/
1547623744
3
t5_2fwo
r/programming
public
null
False
WonderfulNinja
t2_yeloc5f
Depends a lot on storage conditions and the materials quality of those disks.
null
0
1543727303
False
0
eawj1rz
t3_a1y1rq
null
null
t1_eautz6j
/r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eawj1rz/
1546307297
2
t5_2fwo
r/programming
public
null
False
ethnikthrowaway
t2_qd6m7
It is not
null
0
1544834318
False
0
ebtarzf
t3_a66102
null
null
t1_ebsxbkb
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebtarzf/
1547623921
-2
t5_2fwo
r/programming
public
null
False
wengchunkn
t2_teo9t
I supposed Forth to C is easier as there is more documentation available for C. I am surprised C to Forth has no publicly available answers, as this problem must have existed for a long time, and surely all Forth gurus know the solution. I will pm you on specific tips. Hope that would help. Thank you very much.
null
0
1543727469
False
0
eawj776
t3_a29bzt
null
null
t1_eawiyw7
/r/programming/comments/a29bzt/missing_link_between_forth_and_c_ecosystems/eawj776/
1546307365
1
t5_2fwo
r/programming
public
null
False
yammajr
t2_634i1
>48% in the USA did not take part in the presidential election so why should they be subject to someone who dictates the law onto them? Not voting is possibly the single worst excuse for not to want to abide by the laws of your government. You (the the non-voting citizens) were given the opportunity to voice your opinion and you said "I don't care". Well, that's fine, but that's a completely invalid reason to complain when you don't like the outcome of the decision making process. > Many voted for Macron only to avoid Le Pen but they don't like Macron, so there vote was not a real vote. That's a real vote, my friend. A choice between bad and worse, maybe (in your, the voter's opinion), but that was the choice that made. Or vote third party. Write somebody else in. Let it be known that you were unhappy with the choices given - not by skipping out, which screams apathy, but by actively saying no, no this is bad, let's try something else. There may be ways of doing it better, but none of them involve staying home on polling day, and none of them invalidate the governments that are in place today. e: also this law is terrible, but complaining about elections doesn't fix it.
null
0
1544834340
1544834549
0
ebtasrr
t3_a66102
null
null
t1_ebso97l
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebtasrr/
1547623930
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1543727875
False
0
eawjkkc
t3_a22fay
null
null
t3_a22fay
/r/programming/comments/a22fay/aws_infrastructure_as_code_using_aws_cdk/eawjkkc/
1546307559
1
t5_2fwo
r/programming
public
null
False
pdp10
t2_znec3
All those adapter layers were a lot more important before Agile, when it could take years to deploy updated code. And before most languages and many databases were open-source, when you sometimes had to build for one database while desperately hoping to be able to switch to a different database later in production. It seemed to make sense at the time. This is also the time period when OOP C++ was going to give us ubiquitous enterprise code re-use. Today we re-use code with libraries and Github, and object doesn't seem to enter the picture. And there were fewer teams building code for their own use then, or as their SaaS product. More than once I found myself pushing requirements that were intended to force a vendor/outside team to produce a quality product, but were really just proxies or antidotes to specific antipatterns I'd been burned by before.
null
0
1544834439
False
0
ebtawd7
t3_a5y50c
null
null
t1_ebr0aw6
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebtawd7/
1547623976
1
t5_2fwo
r/programming
public
null
False
606606606
t2_2mdjk4uq
Why are you being so critical over this? I think it's a nice project for people who's trying to learn programming. Just ignore it if it's not useful to you. Maybe someone could use it as a challenge to learn and practice even if it's just an hour everyday.
null
0
1543728298
False
0
eawjydk
t3_a24c4e
null
null
t3_a24c4e
/r/programming/comments/a24c4e/devember_is_now_2018_code_1hday_for_the_whole/eawjydk/
1546307731
2
t5_2fwo
r/programming
public
null
False
Vhin
t2_asoov
Those were basically the definitions I was taught at university, and in my opinion, they're the only definitions that make sense. The argument that emulators are not VMs is not only special pleading, but it puts them in the ridiculous position that they would be VMs in an alternate universe where the original hardware didn't exist (but the software was unchanged), which is simply nonsense.
null
0
1544834511
False
0
ebtayx0
t3_a61to1
null
null
t1_ebt6ugt
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebtayx0/
1547624007
3
t5_2fwo
r/programming
public
null
False
OneWingedShark
t2_bx7wh
In that case, I would recommend against "bridging the gap" with C -- there's going to be all sorts of tangled issues, like variable-arguments -- though I certainly do see the merit in bridging the gap between the compiler \[GCC, in this case\] and the notional VM \[of Forth\], which seems to be the real goal in this project. Or am I misunderstanding?
null
0
1543728556
False
0
eawk6pd
t3_a29bzt
null
null
t1_eaw8lmu
/r/programming/comments/a29bzt/missing_link_between_forth_and_c_ecosystems/eawk6pd/
1546307833
4
t5_2fwo
r/programming
public
null
False
dudeNumberFour
t2_rvssj
I agree. I advocate, for instance, for using CTE's to make the code much more readable (and won't decrease performance). Coworkers will tend to prefer bloated, gigantic queries instead. I also tend to create re-usable functions, just as I would with any code.
null
0
1544834676
False
0
ebtb4tg
t3_a691r7
null
null
t1_ebt7roa
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtb4tg/
1547624080
16
t5_2fwo
r/programming
public
null
False
Honkmueller
t2_b2lwn
So you are the author as well? I love this post. Send it to all my coworkers. Some of them are guilty of hopping on to everything new and shiny.
null
0
1543728721
False
0
eawkcbi
t3_a1we32
null
null
t1_eavqd5s
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eawkcbi/
1546307903
1
t5_2fwo
r/programming
public
null
False
dudeNumberFour
t2_rvssj
Unless you have a database project (I'm using visual studio). In that case you lots of safety, e.g., the project won't build if you remove a table column and a view references it. I also use the database project to generate databases for integration tests, it's a beautiful thing. Not that I'm advocating tons of stored procedures...
null
0
1544834683
False
0
ebtb52k
t3_a691r7
null
null
t1_ebsytwq
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtb52k/
1547624084
1
t5_2fwo
r/programming
public
null
False
XNormal
t2_439n7
The JVM is not BE. The JVM has no endianness. It does not even have 32/64 pointer-bitness. These properties cannot be observed by user code directly. The classfile structure and binary serialization APIs do have a big endian byte order for historical reasons.
null
0
1543728806
False
0
eawkf9z
t3_a23cci
null
null
t1_eaw2o5b
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eawkf9z/
1546307939
3
t5_2fwo
r/programming
public
null
False
daxbert
t2_4ml3a
My concern is that SQL tends to be used against a data layer. For many environments it is very easy to scale out the application layer and less so for the data layer. Given that fact, putting most of your logic in application code and not SQL enables far easier scaling. Now this is obviously not an absolute. There are times where you should obviously be doing the operation in SQL. Example: "select max(column\_name)" is way faster than "select column\_name", transferring potentially billions of rows and then finding the max on the app CPU. ​
null
0
1544834801
False
0
ebtb9hl
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtb9hl/
1547624139
6
t5_2fwo
r/programming
public
null
False
wengchunkn
t2_teo9t
You are quite right. Those would be the bigger goals. But still, we need to solve the fundamental problems first.
null
0
1543728887
False
0
eawki2c
t3_a29bzt
null
null
t1_eawk6pd
/r/programming/comments/a29bzt/missing_link_between_forth_and_c_ecosystems/eawki2c/
1546308002
3
t5_2fwo
r/programming
public
null
False
pdp10
t2_znec3
On the other hand, if you don't have time to do it right the first time, what makes you think you'll have time to do it a second? There's a real fear that we won't be allowed a second chance to get some of these things right.
null
0
1544834893
False
0
ebtbcrv
t3_a5y50c
null
null
t1_ebr87n7
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebtbcrv/
1547624178
1
t5_2fwo
r/programming
public
null
False
cloudadmin
t2_9fgbl
Take a look at almost any major go project and you’ll see that they pretty much all use make. Personally I use make with go project to provide a common interface to the code lifecycle. Most builds wind up needing fairly complicated build flags and targets, and make abstracts those away.
null
0
1543729202
False
0
eawksys
t3_a219ba
null
null
t1_eaw105y
/r/programming/comments/a219ba/makefiles_best_practices/eawksys/
1546308137
2
t5_2fwo
r/programming
public
null
False
thirdegree
t2_63m0r
Entirely agree. I think a large part of the problem is that most people's SQL knowledge extends to "SELECT", "INSERT", "UPDATE", and _maybe_ "ON CONFLICT". Which is like trying to write a program with no functions, for loops, if statements, or data structures more complicated than a list. Like sure, if you shoot yourself in the kneecaps then running is hard.
null
0
1544834943
False
0
ebtbek7
t3_a691r7
null
null
t1_ebtb4tg
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtbek7/
1547624201
13
t5_2fwo
r/programming
public
null
False
dicker009
t2_n1loq4k
file duplications detection failure bug!
null
0
1543729230
False
0
eawku24
t3_a23csk
null
null
t3_a23csk
/r/programming/comments/a23csk/why_is_2_i_i_faster_than_2_i_i_in_java/eawku24/
1546308150
1
t5_2fwo
r/programming
public
null
False
srone
t2_40nap
I'm fortunate in that I'm as comfortable writing in PL/SQL and TSQL as I am in my IDE. It's empowering to be able to develop what needs to be developed in the right place. All of the dba's I've worked with are just there to migrate database updates to QA and production.
null
0
1544835071
False
0
ebtbj9z
t3_a691r7
null
null
t1_ebt9iqs
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtbj9z/
1547624259
16
t5_2fwo
r/programming
public
null
False
MuonManLaserJab
t2_fs9b6
You could change the website to steal info whenever you want, though, right? Unless the user inspects the javascript...in which case they're probably not the sort of person who would use a "webapp" for encryption in the first place. I'm having a hard time imagining the kind of person who cares enough about privacy to use this tool, but not enough to download a similar tool from a more reputable source and run it locally.
null
0
1543729430
1543729610
0
eawl0va
t3_a28vrm
null
null
t1_eaw9dsl
/r/programming/comments/a28vrm/i_made_a_minimalist_webapp_for_publickey/eawl0va/
1546308234
9
t5_2fwo
r/programming
public
null
False
glamdivitionen
t2_9lejq
Nice history lesson - Thanks!
null
0
1544835185
False
0
ebtbnge
t3_a64y1a
null
null
t3_a64y1a
/r/programming/comments/a64y1a/retrospective_twenty_years_of_open_source_erlang/ebtbnge/
1547624311
1
t5_2fwo
r/programming
public
null
False
shadowh511
t2_5virf
I don't mean to be rude, but this is exactly what my blogpost is satirizing.
null
0
1543729802
False
0
eawle2d
t3_a1we32
null
null
t1_eavfin7
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eawle2d/
1546308396
9
t5_2fwo
r/programming
public
null
False
srone
t2_40nap
I meant to say there's no efficiency gain...it's just as easy to write a simple query as it is calling a stored procedure. You can paramaterize an embedded query faster than creating the SP on the server. Most people are using LINQ for simple queries anyways so parameterization is by default.
null
1
1544835313
False
0
ebtbs4r
t3_a691r7
null
null
t1_ebt7wcw
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtbs4r/
1547624368
-2
t5_2fwo
r/programming
public
null
False
didhe
t2_fhv1c
No, the point here is expressly to give them a radioactive blob that they _cannot practically use_ in their software unless they hire/pay you off to relicense it (which you can do as long as you're the sole copyright holder). Free reuse and modifiablility are anti-goals.
null
0
1543729982
False
0
eawljul
t3_a1tazn
null
null
t1_eauljtz
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eawljul/
1546308468
1
t5_2fwo
r/programming
public
null
False
DefiantNewt2
t2_29fnqixb
Everyone has a price. Curious what's Signal's .
null
0
1544835547
False
0
ebtc0lc
t3_a66102
null
null
t3_a66102
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebtc0lc/
1547624501
-2
t5_2fwo
r/programming
public
null
False
IMadeAPrototype
t2_2ovgp4l7
Had a set that was poorly stored, mold built up on the floppy reader head as the floppy spinned, and it got scratched to death.
null
0
1543729985
False
0
eawljyf
t3_a1y1rq
null
null
t1_eautz6j
/r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eawljyf/
1546308469
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1544835668
False
0
ebtc517
t3_a67pbp
null
null
t3_a67pbp
/r/programming/comments/a67pbp/red_hat_contributes_etcd_the_cornerstone_of/ebtc517/
1547624556
2
t5_2fwo
r/programming
public
null
False
didhe
t2_fhv1c
Commit times are falsifiable. Push times aren't, but also aren't what's prominently displayed. You *do not* want to make it a private repository, because then if they decide to claim you lied there's no solid evidence to the contrary. For a public repo, at least, there's the possibility of it getting indexed or archived somewhere, but if you're concerned you should still take those steps yourself. What you want is to take the full contents you're delivering and perhaps your last commit hash, and get that timestamped by a trusted source or notarized. This doesn't necessarily have to be bulletproof if it goes to court, the fact that you have a paper trail at all should Encourage them not to piss you off too hard. For this purpose, rfc3161 or even something like originstamp should be good enough.
null
0
1543730400
False
0
eawlxpr
t3_a1tazn
null
null
t1_eat88q1
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eawlxpr/
1546308668
2
t5_2fwo
r/programming
public
null
False
Eirenarch
t2_46hjd
I don't see it as much as an issue of skill but as an issue of taking responsibility for different parts of the codebase and having intimate knowledge with the (current) design of something as important as the database. It frees the backend devs from this responsibility.
null
0
1544835682
False
0
ebtc5ik
t3_a691r7
null
null
t1_ebtbj9z
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtc5ik/
1547624562
7
t5_2fwo
r/programming
public
null
False
Nobody_1707
t2_9nnrc
Nope, a tabletop RPG based on the works of H.P. Lovecraft. Behold, [Call of Cthulhu.](https://www.chaosium.com/call-of-cthulhu-rpg/)
null
0
1543730443
False
0
eawlz52
t3_a23cci
null
null
t1_eawf8mw
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eawlz52/
1546308686
4
t5_2fwo
r/programming
public
null
False
neilon96
t2_xacwy
Or easier with a higher chance of people having the api to share on their phone. One can hope
null
0
1544835773
False
0
ebtc8uh
t3_a66102
null
null
t1_ebsia8p
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebtc8uh/
1547624603
1
t5_2fwo
r/programming
public
null
False
steveklabnik1
t2_d7udf
What is? I don’t see the connection. I did love the post, by the way.
null
0
1543730546
False
0
eawm2jt
t3_a1we32
null
null
t1_eawle2d
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eawm2jt/
1546308728
5
t5_2fwo
r/programming
public
null
False
loosedata
t2_ct13a
What makes it a pain in the ass?
null
0
1544835776
False
0
ebtc8ya
t3_a66102
null
null
t1_ebshuv7
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebtc8ya/
1547624604
1
t5_2fwo
r/programming
public
null
False
wengchunkn
t2_teo9t
Perhaps you could help me by sharing some publicly available tutorial that you know? Then I might be able to figure out the relevant issues in calling Forth from C?
null
0
1543730878
False
0
eawmd0c
t3_a29bzt
null
null
t1_eawiyw7
/r/programming/comments/a29bzt/missing_link_between_forth_and_c_ecosystems/eawmd0c/
1546308857
1
t5_2fwo
r/programming
public
null
False
JoseJimeniz
t2_7bcl1
> (1) A technical assistance notice or technical capability notice must not have the effect of: > > (a) requiring a designated communications provider to implement or build a systemic weakness, or a systemic vulnerability, into a form of electronic protection; or > > (b) preventing a designated communications provider from rectifying a systemic weakness, or a systemic vulnerability, in a form of electronic protection. > > (2) The reference in paragraph (1)(a) to implement or build a systemic weakness, or a systemic vulnerability, into a form of electronic protection includes a reference to implement or build a new decryption capability in relation to a form of electronic protection. > > (3) The reference in paragraph (1)(a) to implement or build a systemic weakness, or a systemic vulnerability, into a form of electronic protection includes a reference to one or more actions that would render systemic methods of authentication or encryption less effective. > > (4) Subsections (2) and (3) are enacted for the avoidance of doubt. > > (5) A technical assistance notice or technical capability notice has no effect to the extent (if any) to which it would have an effect covered by paragraph (1)(a) or (b). Signal can provide *technical assistance*, which in this case would be: > Here's a program that will decrypt the communcations for you. > > It is guaranteed to succeed after trying all 2^256 keys, > but on average will only need half that much! > > Cheers mate!
null
0
1544835948
False
0
ebtcf4h
t3_a66102
null
null
t1_ebshsbo
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebtcf4h/
1547624680
5
t5_2fwo
r/programming
public
null
False
lelanthran
t2_pnmpo0f
> wchar_t is as far as I am aware not a thing that is ever explicitly used in the Windows API - they always use LP(C)WSTR, which is understood to be a pointer to a null-terminated UTF-16 string Search for _wfopen, _wfprintf, etc. They all take wchar_t pointers.
null
0
1543731068
False
0
eawmidr
t3_a23cci
null
null
t1_eawawt3
/r/programming/comments/a23cci/utf7_a_ghost_from_the_time_before_utf8/eawmidr/
1546308924
1
t5_2fwo
r/programming
public
null
False
Nadrin
t2_f53t0
Designated initializes are a C++20 feature (yes, I agree, it's utterly idiotic that C++ standard didn't adopt this feature back when C99 introduced it).
null
0
1544835996
False
0
ebtcguh
t3_a65m21
null
null
t1_ebswzdx
/r/programming/comments/a65m21/named_arguments_in_c/ebtcguh/
1547624702
10
t5_2fwo
r/programming
public
null
False
dopexile
t2_4ns9v
Nothing more frustrating than not winning and being told you loose with no chance to correct the grammar.
null
0
1543731299
False
0
eawmp0a
t3_a2554t
null
null
t3_a2554t
/r/programming/comments/a2554t/guess_the_number_game/eawmp0a/
1546309006
1
t5_2fwo
r/programming
public
null
False
mason240
t2_8wyg3
That's basically what the 5 Eyes intelligence gathering collective is about. It's illegal to spy on our own citizens? We will spy on eachother's and share the results!
null
0
1544836027
False
0
ebtchxx
t3_a66102
null
null
t1_ebsvfat
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebtchxx/
1547624715
32
t5_2fwo
r/programming
public
null
False
Nobody_1707
t2_9nnrc
Swift does lots of type inferencing and it handles this just fine. Let's say you have: // Takes an Int returns an Optional<Int> func foo(_ x: Int) -> Int? { return x == 42 ? nil : x; } And your code calls it like so: let x = 15 let y = foo(x) \\ prints "x: Int, foo(x) = Optional(15)" print("x: \(type(of: x)), foo(x) = \(y as Any)") Then even if you change `foo` to: func foo(_ x: Int?) -> Int { return x ?? 42 } Your code will compile and run, but print `x: Int, foo(x) = 15` instead. Mind you, Swift has a lot of special handling for Optional built in, but the Swift team does want to add this kind of variance as a general feature, they just have a lot of other features to add before they can get to it. Edit: Also, yeah, the presence of subtypes can greatly increase the worst case time of the type inferencer.
null
0
1543731988
1543735269
0
eawn99e
t3_a25r6x
null
null
t1_eawdtjn
/r/programming/comments/a25r6x/ocaml_vs_maybe_not/eawn99e/
1546309286
2
t5_2fwo
r/programming
public
null
False
JoseJimeniz
t2_7bcl1
> The way all encryption is designed makes this impossible. It's not *impossible.* Signal can provide *technical assistance* to break the encryption: > Here's a program that will decrypt the communications for you. > > It is guaranteed to succeed after trying all 2^256 keys, > but on average will only need half that much! > > Cheers mate! /r/MaliciousCompliance
null
0
1544836098
1547094398
0
ebtcke3
t3_a66102
null
null
t1_ebsm0me
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ebtcke3/
1547624746
32
t5_2fwo
r/programming
public
null
False
shadowh511
t2_5virf
I wrote this post yeah, it's fun to write meta-satire like this.
null
0
1543732621
False
0
eawnrd8
t3_a1we32
null
null
t1_eawkcbi
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eawnrd8/
1546309509
2
t5_2fwo
r/programming
public
null
False
WorldsBegin
t2_ijg9a
With version control, and databases generally not being under this version control - reason being they are too big to run locally - you really don't want to have Stored Procedures in your dev database. I had this problem where I would have to stay on the same version as master because otherwise I couldn't run tests. But I want the procedures under version control. Serious question: what to do?
null
1
1544836110
False
0
ebtcks3
t3_a691r7
null
null
t3_a691r7
/r/programming/comments/a691r7/you_can_do_it_in_sql_stop_writing_extra_code_for/ebtcks3/
1547624751
1
t5_2fwo
r/programming
public
null