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
|
coderstephen
|
t2_l2t7a
|
I doubt Felix endorses behavior like this from his fans...
| null |
0
|
1543671415
|
False
|
0
|
eaupgb7
|
t3_a1ysx2
| null | null |
t1_eaul9et
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaupgb7/
|
1546276653
|
16
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bcgoss
|
t2_98cku
|
You're right that there are no silver bullets.
As to why objects modify state, it's usually useful to focus on message passing. If every object has a well defined interface, then other objects can pass messages that describe the goal without caring or knowing how to accomplish that goal. I've been working with billing recently so let's say I have subscription and single purchase charges to process. One approach is to build a function that knows about the different kinds of charges and modifies the data differently depending on what it's dealing with. This can lead to a system that must check everywhere is the charge for a subscription or not?
OOP works best when a program is a collection of objects passing messages to one another. One object runs the show and knows what messages to pass. The other objects know what to do when they get these messages. Sending prepare_for_billing works differently depending on the object handling the message, but I don't have to care about the details. I send the message and it works or raises an error. This let's me the programmer think abstractly about a series of general steps without worrying too much about the details. I start by writing "bill the customer" then I fill in some steps "prepare for billing" "apply tax" "send to payment processor" "record invoice". Finally I get to the details of exactly what happens to the data.
Full transparency, this is just a different kind of complexity. There is inherent complexity in building a system that can handle subscription and single charges. OOP has each object define the same method differently, which can be repetitive. Functional systems have to define different functions for each case, or have one function that branches.
The best results come from a balanced approach. Have a collection of objects send messages, and make sure the methods invoked by those messages avoid side effects outside of the object that handles it. It's good to try to make methods repeatable and idempotent. It's preferred if their output only depends on the input arguments. All of these are goals of functional programming and are desirable in object oriented programming too.
| null |
0
|
1544801245
|
False
|
0
|
ebs1a8g
|
t3_a61j0v
| null | null |
t1_ebrdl6m
|
/r/programming/comments/a61j0v/kevlin_henney_procedural_programming_its_back_it/ebs1a8g/
|
1547602638
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
notsoshallo
|
t2_dnfzsdn
|
Mr. Beast?
| null |
1
|
1543671518
|
False
|
0
|
eaupjr4
|
t3_a1ysx2
| null | null |
t3_a1ysx2
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaupjr4/
|
1546276696
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Fabien_C
|
t2_okzh1
|
You will have an "unreachable code" error after the second goto.
| null |
0
|
1544801247
|
False
|
0
|
ebs1acs
|
t3_a5ylm8
| null | null |
t1_ebrpyqz
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs1acs/
|
1547602639
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
AlvinGT3RS
|
t2_hj30u
|
Ugh why does everyone want people to subscribe to the guy
| null |
1
|
1543671726
|
False
|
0
|
eaupqf1
|
t3_a1ysx2
| null | null |
t3_a1ysx2
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaupqf1/
|
1546276808
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
frankreyes
|
t2_uiwro
|
>Then who watches the watchman? ;)
How do you validate the ADA compiler?
| null |
0
|
1544801252
|
False
|
0
|
ebs1aq7
|
t3_a5ylm8
| null | null |
t1_ebr2qlb
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs1aq7/
|
1547602643
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
PrimozDelux
|
t2_lost9eb
|
Blockshits plz go
| null |
0
|
1543671762
|
False
|
0
|
eauprl5
|
t3_a22mux
| null | null |
t3_a22mux
|
/r/programming/comments/a22mux/why_wouldnt_they_make_an_exchange_fully/eauprl5/
|
1546276822
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
fuckin_ziggurats
|
t2_cmam5
|
Yeah I was just poking at u/shevegen. I'm hoping that one day he'll discover his inbox and actually make a reply.
| null |
0
|
1544801272
|
False
|
0
|
ebs1cc2
|
t3_a60dlr
| null | null |
t1_ebs0i1q
|
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebs1cc2/
|
1547602663
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
didibus
|
t2_4xpocx2
|
I'm definitly not arguing against the complete use of static types.
I'm not sure why you're having such a hard time understanding my position, maybe because you are used to zealots, there are definitly some on all side of the debate.
I'm a very pragmatic person, and I also have strong ideological dreams.
So that materializes very simply. In practice, I can deliver all the value needed to satisfy my stakeholders and minimize the operational load on my team with a language I personally find the most fun to use, which is currently Clojure.
Why do I use Clojure? Because I have the most joy using it. Very selfish I know.
So what about types? Types are fun to me as well. Not as fun as the instant feedback of a REPL with minimal verbosity. And not as fun as the full power of Lisp macros. But my work comes first, and if I needed to deliver things for which Clojure isn't well suited, I'd use a different language. I don't know why that's so hard to understand. Maybe the hard part is that the typing discipline doesn't matter that much. I might use Rust for performance critical use cases. Unity with C# for an indie game. C++ for a AAA game engine. Python for ML and data science. Haskell when I'm just goofing around. Go for simple command line apps. Kotlin for android apps. Swift for iOS. In all cases, I'd most likely manage to deliver what my stakeholders are expecting in a reasonable timeframe.
So you seem to detest dynamic languages and love static types. You havn't said much about it though. What language do you use professionally? Are your stakeholders happy with your work? Can your team maintain your code base over time? Are you trusted by your peers, managers and users to take on harder and harder problems? Where is your data backing your opinions?
But mostly, why do you believe static types is the single greatest characteristic of a programming language, and what kind of static type systems do you believe is best?
Listening to you, it sounds like by choosing a static type system language, your programs suddenly become amazing, beating all competition, smashing all expectations, etc. I mean, Clojure is my only dynamic language experience professionally, so I find that claim a little exaggerated. I didn't really find Clojure changing much, appart for boosting my productivity and being more fun. So I wonder what are the startups that beat the competition due mostly to their choice of static type systems?
| null |
0
|
1543671771
|
False
|
0
|
eauprvw
|
t3_a1o5iz
| null | null |
t1_eauhxc7
|
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauprvw/
|
1546276826
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
andey
|
t2_3u2k9
|
I wish I had a choice to not use JS as a web dev.
| null |
0
|
1544801316
|
False
|
0
|
ebs1fts
|
t3_a65liu
| null | null |
t1_ebs11v7
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs1fts/
|
1547602708
|
19
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nnadeau
|
t2_4cg5w
|
Not entirely correct. CVE-2017-5638 impacted some popular printer makes with a web ui.
| null |
0
|
1543671823
|
False
|
0
|
eaupto2
|
t3_a1ysx2
| null | null |
t1_eaud49r
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaupto2/
|
1546276847
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sess573
|
t2_6et2d
|
you should think more before typing :D
More seriously though, I agree that if something is hard enough to code that you don't get it right from typing it, testing it manually once or twice and fixing the obvious errors you do get something early from having tests.
| null |
0
|
1544801438
|
False
|
0
|
ebs1p9d
|
t3_a5y50c
| null | null |
t1_ebrzbos
|
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebs1p9d/
|
1547602854
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sisyphus
|
t2_31lml
|
Right, which just illustrates his point.
| null |
0
|
1543671996
|
False
|
0
|
eaupzpd
|
t3_a1o5iz
| null | null |
t1_eaucehm
|
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eaupzpd/
|
1546276922
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
wellmeaningtroll
|
t2_9526cir
|
This programming language fetishism is so damaging. It was kinda funny when people measured their virtual dicks by comparing the "popularity" or "elegance" or compiling speed of the language they designed and implemented.
But now it has turned into "this is what you need to learn to get a job". The programming language is the last thing you should worry about if you are about to embark on a career in programming. There are other, more important things, that would carry you so much further if you only knew how important they are.
:-(
| null |
0
|
1544801463
|
False
|
0
|
ebs1r51
|
t3_a65liu
| null | null |
t3_a65liu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs1r51/
|
1547602878
|
21
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
coffeewithalex
|
t2_2ie1hb9f
|
That's weird. cstore_fdw from citus actually does perform somehow good. At least it's able to do fast data copying, and reads are faster than regular tables in many scenarios, which is why I use it, and regular Postgresql tables are much faster than I've ever squeezed MySQL for (which is pretty much the same as mariadb). When I copied the same data to MariaDB columnstore, it took so long that I just killed it, and it wouldn't even die properly.
| null |
0
|
1543672005
|
False
|
0
|
eauq009
|
t3_a1wwdh
| null | null |
t3_a1wwdh
|
/r/programming/comments/a1wwdh/why_the_rdbms_is_the_future_of_distributed/eauq009/
|
1546276925
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
It's in fact quite easy to write a *simple*, non-optimising LLVM backend. You can even skip the SelectionDAG-based infrastructure and just do an ad hoc thing instead.
If it's still too complicated, retarget `lcc` instead, it's dumb and simple.
Still too complicated? Write your own small compiler for a subset of C (or whatever else language you want).
| null |
0
|
1544801467
|
False
|
0
|
ebs1rhf
|
t3_a61to1
| null | null |
t1_ebrzkz1
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs1rhf/
|
1547602881
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rbobby
|
t2_2kj36
|
> I like to send my emails to my office printer before I come in to work, just in case I need read them later.
At least one person I'd bet.
| null |
0
|
1543672011
|
False
|
0
|
eauq07k
|
t3_a1ysx2
| null | null |
t1_eaukk65
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauq07k/
|
1546276928
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Mgladiethor
|
t2_8k82r
|
makes me sad, and my battery too
| null |
0
|
1544801481
|
False
|
0
|
ebs1si4
|
t3_a65liu
| null | null |
t3_a65liu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs1si4/
|
1547602896
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
adscott1982
|
t2_4br0c
|
You could print off some really nasty picture to about 800,000 by the sounds of things.
| null |
0
|
1543672131
|
False
|
0
|
eauq4m9
|
t3_a1ysx2
| null | null |
t1_eau5g8h
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauq4m9/
|
1546276982
|
21
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
inu-no-policemen
|
t2_yh2ls
|
This still isn't a property of the language. It's not something you'd find in a language's specification.
PyPy and LuaJIT are pretty popular.
Toyota makes red cars and BMW makes black ones. Even if most Toyotas are red and most BMWs are black, that statement is still nonsense.
Anyhow, feel free to elaborate on what kind of value those labels provide.
| null |
0
|
1544801545
|
False
|
0
|
ebs1xgl
|
t3_a60dlr
| null | null |
t1_ebrz1gh
|
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebs1xgl/
|
1547602956
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rbobby
|
t2_2kj36
|
> one **high-efficiency** bulk printer per floor
...
> There was often a huddle of people waiting
...
> watch the queue to time your walk over there for minimum waiting
Doesn't sound like an efficient use of people's time.
| null |
0
|
1543672161
|
False
|
0
|
eauq5mm
|
t3_a1ysx2
| null | null |
t1_eaujztf
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauq5mm/
|
1546276995
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
PM_ME_OS_DESIGN
|
t2_17cwrk
|
> I have to deal with an "architect" 9-to-5 programmer on my team who insists on having wrapper layers between every piece of the application (including duplicate data structure wrappers), who's now blaming me for delaying the project after pushing onto me the whole work of connecting the poorly matching wrappers with the actual working code. I'm just going to delete the whole pile of junk instead.
Hah, I just realised - it's like refactoring, except you're doing it in advance of any plan or code being written - it's *prefactoring!*
| null |
0
|
1544801549
|
False
|
0
|
ebs1xti
|
t3_a5y50c
| null | null |
t1_ebr3ukj
|
/r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebs1xti/
|
1547602961
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
> This optimization was disabled because it was found to be more harmful than useful overall
While for a typical standalone compiler it would have been an instcombine-style optimisation, which is really hard to screw up.
Simpler than what JVM is doing, but a tiny bit more expensive.
> They precisely enable those optimizations you mentioned in many more cases.
My point is, the way it's done in JVM is different from, say, LLVM.
> I don't know what to tell you other than learn how C2 and Graal work.
I know how Graal works (and I wrote a number of Turchin-style supercompilers over a decade before Graal appeared, none of the Graal ideas are new).
> Runtime data, however, can make solving the problem itself moot -- you no longer need to prove that the optimization is correct in all cases, just for the cases you've seen.
And it seems like you don't understand the difference yet. No runtime data can help here. It gives you a bit more constraints to consider, but does not help in discovering the globally beneficial reductions.
> C2 and Graal do them all the time.
And on a very local scale. Uninteresting. One thing is to know that a certain method argument was "1" ten times and "2" three times, you can do a couple of little optimisations with this knowledge. A totally different thing to know *statically* for sure that it can only ever be "1", "2" or "3", and that when you specialise for "2", you eliminate all of the virtual calls in the underlying call tree.
> E.g., here is an optimization Graal does for Ruby code.
What exactly in this example that cannot be done statically? Any Turchin-style supercompiler must fold it into a constant, and it's not even expensive, there is no space for speculative specialisation.
> That's an empirical hypothesis (like the generational hypothesis for GC),
No it is not. A static call is *always* cheaper than a virtual call, you do not need any fancy cost model to know it for sure. If a specialisation or a condition hoisting eliminates your virtual calls, it's a beneficial specialisation, period.
Consider this example:
You have a rectangular area, and a code processing it contains a condition detecting the edges (e.g., think of a typical convolution implementation).
With a static optimiser you can *prove* (wasting tons of time) that the order does not really matter, so you can split processing in two parts, one kernel only processing the edges, and you do not care much about its performance, and another kernel running on the inside of the area only, which you can trivially vectorise. Then you run both kernels in any order.
None of your fancy runtime-data-collecting JITs will ever be able to capture what's going on here and realise that you can do such a transform.
> Hard realtime is one of the cases where JITs are bad,
Bad for the soft realtime too (which is, for example, any GUI - humans have an aversion to visible hiccups). It's hard to find a load profile it's good for, actually.
> AOT are very limited in theory, and even more limited in practice.
Nope. As I said, the knowledge of runtime hot spots can give you a few percentage point optimisations - you'll hint your branch prediction accordingly, you'll slack on optimising less important things, and so on. While very expensive static optimisations can discover orders of magnitude worth transforms, such as one I described above.
| null |
0
|
1543672185
|
1543672804
|
0
|
eauq6g0
|
t3_a1rp4s
| null | null |
t1_easosm7
|
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eauq6g0/
|
1546277005
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Why is it complicated? It's a constant, you should remove the if altogether (if you do constant folding + ADCE, of course).
| null |
1
|
1544801555
|
1544807685
|
0
|
ebs1yai
|
t3_a61to1
| null | null |
t1_ebrqykt
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs1yai/
|
1547602967
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
the_evergrowing_fool
|
t2_tenb6
|
No. Pretty sad actually.
| null |
0
|
1543672209
|
False
|
0
|
eauq7br
|
t3_a1ysx2
| null | null |
t1_eau862q
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauq7br/
|
1546277016
|
-18
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
skeeterbug84
|
t2_368l5
|
According to Wikipedia it fell to 37 languages by 1996.
| null |
0
|
1544801629
|
False
|
0
|
ebs23x8
|
t3_a5ylm8
| null | null |
t1_ebr97eh
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs23x8/
|
1547603037
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
midairfistfight
|
t2_117ro2
|
Yes! I miss fun hacks. These days hackers are just annoyingly condescending about bad security and spend their days selling bugs or wrangling botnets.
| null |
0
|
1543672354
|
False
|
0
|
eauqcaq
|
t3_a1ysx2
| null | null |
t1_eau04si
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauqcaq/
|
1546277077
|
55
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Ah, I see, you're struggling with parsing. Don't try to do anything fancy, there is a *very* simple algorithm for parsing with precedence - https://en.wikipedia.org/wiki/Pratt_parser
| null |
0
|
1544801635
|
False
|
0
|
ebs24f4
|
t3_a61to1
| null | null |
t1_ebrwb8h
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs24f4/
|
1547603044
|
11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543672355
|
False
|
0
|
eauqcbj
|
t3_a1sbwp
| null | null |
t1_eatg6p7
|
/r/programming/comments/a1sbwp/not_all_cpu_operations_are_created_equal/eauqcbj/
|
1546277077
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Drisku11
|
t2_bg6v5
|
A cursory googling suggests Swift supports first class functions. The strategy pattern is therefore redundant. Just pass a function as an argument. Making a class to hold a function that you can pass is needless conceptual overhead.
| null |
0
|
1544801636
|
False
|
0
|
ebs24hi
|
t3_a64sao
| null | null |
t3_a64sao
|
/r/programming/comments/a64sao/why_you_should_use_strategy_pattern/ebs24hi/
|
1547603044
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
dwmfives
|
t2_6i0x0
|
> Printing from the web is fundamentally stupid.
What about vendors/partners coming into locations where you don't want them on your network, you don't need for them to access anything but print?
Or say, a project where you are scanning something in a remote area, wanting the data to print to some office?
I can't think of 1000 reasons, but I could think of more reasons.
| null |
1
|
1543672424
|
False
|
0
|
eauqeyd
|
t3_a1ysx2
| null | null |
t1_eaukk65
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauqeyd/
|
1546277110
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
duheee
|
t2_1315hz
|
> Every programmer should do it at least once.
Hell, most are happy if they get around to write an email client.
| null |
0
|
1544801708
|
False
|
0
|
ebs29xo
|
t3_a61to1
| null | null |
t1_ebreae9
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs29xo/
|
1547603111
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
brtt3000
|
t2_8796b
|
Well, it was a educational place so who cares about students or faculty. It was about money (maintenance, power, toner or whatever it uses). They were also pretty damn fast when they got going too but too many users per machine.
And of course you needed to scan your payment card before your job got to the active queue.
| null |
0
|
1543672527
|
False
|
0
|
eauqixw
|
t3_a1ysx2
| null | null |
t1_eauq5mm
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauqixw/
|
1546277159
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
NotWorthTheRead
|
t2_g4euq
|
Every field has jargon. Specialists specialize their language to facilitate communicating with each other rather than laypeople because they communicate with each other about the subject matter far more. It's optimization of the common case. There's nothing wrong with that.
Even lawyers do it. There are branches of law specifically dedicated to working with lawyer jargon because it's so impenetrable to laypeople. I'm not condoning this--I think 'legalese' is fine in-house but it should be the legal professionals' responsibility to translate at the border so that laypeople can understand for themselves. But that's getting off-track.
In any case, even the examples you chose aren't quite right. 'Applied statistics' is a superset if 'machine learning.' You can't substitute one for the other, they don't mean the same thing. I don't expect lawyers and politicians to be subject matter experts--there are a lot of problems with that--but it is not solely our responsibility to become legal experts either. And we would have to become such to translate appropriately. We need to work in concert with each other. Unfortunately, that turns into the system of lobbyists and 'paid experts' we use now, and I have no practical solution for that.
| null |
0
|
1544801720
|
False
|
0
|
ebs2au9
|
t3_a63ff2
| null | null |
t1_ebrha52
|
/r/programming/comments/a63ff2/we_as_an_industry_should_do_our_best_to_ensure/ebs2au9/
|
1547603122
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
> The only thing I'll say is I wish for me there was some thing in between, because honestly I like both very much.
The thing in between is to have an untyped (no need for the strong dynamic typing, it's too costly in runtime) underlying language, and construct your own statically typed eDSLs on top of it, with type systems as complex as you like, tuning them to your particular problem domain requirements.
Shen is quite a good example of how to do it.
| null |
0
|
1543672545
|
False
|
0
|
eauqjml
|
t3_a1o5iz
| null | null |
t1_eas0xjh
|
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eauqjml/
|
1546277168
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Quite a few of those abstract machines are deliberately too high level to allow a hardware implementation - it's common to have a very large number of registers, for example, of very complex semantics for instructions (like, UNIFY in WAM).
Some are not even representable as flat sequences of instructions - LLVM, for example.
| null |
0
|
1544801822
|
False
|
0
|
ebs2imt
|
t3_a61to1
| null | null |
t1_ebrxxvg
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs2imt/
|
1547603218
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sumitrajguru
|
t2_1y1tgw7a
|
Hey, You can check for the article on creating vector in R
| null |
0
|
1543672546
|
False
|
0
|
eauqjnv
|
t3_9ydo54
| null | null |
t1_ea0oxdq
|
/r/programming/comments/9ydo54/vector_in_r_explained_in_simple_words/eauqjnv/
|
1546277168
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
patrixxxx
|
t2_x9jjb8
|
> Have a collection of objects send messages, and make sure the methods invoked by those messages avoid side effects outside of the object that handles it.
This is a very good rule of thumb. Thank you.
| null |
0
|
1544801840
|
False
|
0
|
ebs2k1c
|
t3_a61j0v
| null | null |
t1_ebs1a8g
|
/r/programming/comments/a61j0v/kevlin_henney_procedural_programming_its_back_it/ebs2k1c/
|
1547603237
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
F-0X
|
t2_lk6ut
|
I mean, have you got any evidence of that claim?
I learnt category theory as part of my masters in mathematics. What category theory is useful for, by and large doesn't apply much to practical programming. Programmers being aware of "products" and "sums" in the categorical sense clearly doesnt do that much good since even C has structs and unions which reify those very concepts (albeit some extra code will be needed compared to modern functional languages purely for type safety) but the concept of unions is something almost no C descendent decided to copy.
Monads have become fashionable to basically sandbox propagating state down a pipeline of functions such that the overall function can be essentially pure - this is cool and all, but telling people that you need a bind and map function of certain signatures and how to use them is more practical than diving into natural transformations and making diagrams commute...
| null |
0
|
1543672691
|
False
|
0
|
eauqp16
|
t3_a1yh8f
| null | null |
t1_eauo2mn
|
/r/programming/comments/a1yh8f/categories_for_the_working_hacker_by_philip_wadler/eauqp16/
|
1546277234
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jtepe
|
t2_ml2ft
|
Care to give an example of what is more important for a programmer? I agree with your statement, but I’m curious as to what you deem more important.
| null |
0
|
1544801914
|
False
|
0
|
ebs2pqc
|
t3_a65liu
| null | null |
t1_ebs1r51
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs2pqc/
|
1547603307
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
carlosdavidepto
|
t2_ydv4l87
|
> This kind of stuff that we, normal developers, do with expert systems and constraint solvers in no time, you're sweating out manually.
You get to go home. The people who get paged when your l33t code fails don't, not in the "I'm not working" sense of the word. Maybe we shouldn't have 24/7 availability as a rule, or maybe we should require anyone who writes code for any particular code base to be available for the on-call rotation of it's deployment. Maybe. I don't know.
What I do know is that you lack empathy and willingness to understand other people's problems. You're not even making an effort. It's your call, but the discussion goes nowhere in this case.
DevOps exists because developers were being dicks to sysadmins.
> Yes, I was always laughing at you devops types for this.
> Leave the stinky web crap to the special school dropouts.
> Obviously. Say insane or ignorant things - be perceived as insane or ignorant. This is how it works. Your views are very high on the insanity scale.
And I'm out.
I'm not a "devops type". And I dropped out, yes, but of the tail end of a master's degree.
You can disagree with me, and you can have a fundamentally different view of the world because your world (at least in terms of development) is not my world. But just so you know, I came from your world. I did implement distributed systems, filesystems and that sort of stuff back in Uni.
When you finally have the solution to the problems we are facing in web development and are willing to share your vast and superior knowledge with the rest of us idiots (in a professional way or at least without being extremely unpleasant), let us know. We'd love to hear from you.
Until then, I'll pass.
| null |
0
|
1543672727
|
False
|
0
|
eauqqas
|
t3_a1calg
| null | null |
t1_eauo60a
|
/r/programming/comments/a1calg/defacto_closed_source_the_case_for_understandable/eauqqas/
|
1546277250
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lol-no-monads
|
t2_26w02w1g
|
The notes might just be some scribbles and he might not have the time to write a polished version and it may not make much sense to anyone else apart from him. Or maybe he doesn't want to put out unpolished stuff. Lots of plausible, reasonable explanations.
| null |
0
|
1544801941
|
False
|
0
|
ebs2roo
|
t3_a60dlr
| null | null |
t1_ebrluc8
|
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebs2roo/
|
1547603331
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rexbron
|
t2_4nflx
|
Is your uPnP properly configured by the manufacturer? Otherwise, knock knock, ports opened from the internet
| null |
0
|
1543672797
|
False
|
0
|
eauqshx
|
t3_a1ysx2
| null | null |
t1_eauodwl
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eauqshx/
|
1546277278
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
fuckin_ziggurats
|
t2_cmam5
|
They're very vague about it. In the GitHub thread the creator said:
>We stop supporting old versions as soon as the new one comes out honestly. So 3.3.5 is done because 3.3.7 is out.
I'm taking the word "support" as maintenance and bug-fixing. He didn't really specifically say that it's about patches and not minor releases. And this part:
>We're not actively developing v3.3.7 any further though because we're focused on v4.
Is even more confusing as it implies that once a major release is out all previous major versions are no longer developed. Personally, I don't think they have an official stance on any of these things. They're probably being pragmatic about it and change their policy based on user feedback.
| null |
0
|
1544801952
|
False
|
0
|
ebs2sjr
|
t3_a5zjwu
| null | null |
t1_ebs0xr9
|
/r/programming/comments/a5zjwu/bootstrap_340_released/ebs2sjr/
|
1547603341
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nutrecht
|
t2_dlu5l
|
> Dunno why you're getting downvoted
Because calling a bunch of games that were incredibly influential in their time 'shit' without any argument is overly negative and doesn't add anything to the conversation. So exactly what the downvote button is for; it's a useless comment.
| null |
0
|
1543672861
|
False
|
0
|
eauqum0
|
t3_a1y1rq
| null | null |
t1_eatt4w2
|
/r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eauqum0/
|
1546277304
|
13
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Drisku11
|
t2_bg6v5
|
> 10 ms pause
> low latency
lol
| null |
0
|
1544801968
|
False
|
0
|
ebs2tsb
|
t3_a5umpk
| null | null |
t1_ebpqaj4
|
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebs2tsb/
|
1547603357
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
bjzaba
|
t2_6967a
|
> Also, creating a new dummy language just for this sort of exercise ("Pie") seemed kind of forced - as if the presenter wanted to inject a bit of his Lisp-love into the whole matter. Haskell or Idris would have more than sufficed instead of a pseudo-Scheme.
In the book it works, because Pie gets rid of a lot of the complexities of Idris allowing you to learn the simple core the lies at the heart of all dependently typed languages. The important thing is learning how the dance between evaluation and type checking works, and Pie combined with the book does a good job at that. You can then open up the implementation to see how it works, and David Christiansen has [a nice implementation tutorial](http://davidchristiansen.dk/tutorials/nbe/) on his website.
That said, the book probably takes longer than many people would have patience for to get up to steam - but it's worth it if you want to know how these kinds of type systems work but are having difficulty diving straight into the papers.
| null |
0
|
1543673028
|
False
|
0
|
eaur0aj
|
t3_a205ai
| null | null |
t1_eaun6vz
|
/r/programming/comments/a205ai/a_little_taste_of_dependent_types_by_david/eaur0aj/
|
1546277403
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chugga_fan
|
t2_raasi
|
Because web development has no other choice.
| null |
0
|
1544801990
|
False
|
0
|
ebs2vho
|
t3_a65liu
| null | null |
t3_a65liu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs2vho/
|
1547603407
|
25
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Aaeder
|
t2_ygu74
|
At best it raises awareness before it is exploited for something actually bad
| null |
0
|
1543673034
|
False
|
0
|
eaur0h8
|
t3_a1ysx2
| null | null |
t1_eauq7br
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaur0h8/
|
1546277406
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
vintermann
|
t2_9rry
|
Spoiler: article doesn't answer why.
| null |
0
|
1544802004
|
False
|
0
|
ebs2wkg
|
t3_a65liu
| null | null |
t3_a65liu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs2wkg/
|
1547603420
|
56
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
> The people who get paged when your l33t code fails don't, not in the "I'm not working" sense of the word.
Maybe they cannot go home, but they still must want to do the troubleshooting as fast as possible. And only a pervasive use of DSLs can help with it. Your assumption that only the original developers would be able to understand such a code is plain ignorant - the main reason to do so is to make code readable for *everyone*.
> What I do know is that you lack empathy and willingness to understand other people's problems.
I perfectly understand your problem - it's *ignorance*.
> You can disagree with me, and you can have a fundamentally different view of the world because your world (at least in terms of development) is not my world.
Look, I'am too in a busyness where I can get a call any moment to go and fix some shit quickly, as any minute of downtime or an incorrect behaviour can cost literally millions. You cannot accuse me of not understanding your concerns. I perfectly understand them, and dismiss them as they're based on your ignorance, not on your experience.
> When you finally have the solution to the problems we are facing in web development
Your stupid web development is just full of self-inflicted problems. There is not that much *natural* complexity in it, you created all of it on your own, and you deserve to suffer for what you've done.
Docker, for fucks sake - who could have even invented such a crappy way of doing things?!? While a plain old chroot + debootstrap + layered FS do it all much better and in a much more controlled and *secure* way. Every single thing you mentioned is just a hipstor crap that should have never existed in the first place.
| null |
0
|
1543673160
|
1543674175
|
0
|
eaur4vo
|
t3_a1calg
| null | null |
t1_eauqqas
|
/r/programming/comments/a1calg/defacto_closed_source_the_case_for_understandable/eaur4vo/
|
1546277460
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Andrew_Sunshine
|
t2_1rizd7k5
|
Not just regular expressions, but also some other useful features in daily text editing. The arrays are stored in the local database, you can reuse them many times.
| null |
0
|
1544802235
|
False
|
0
|
ebs3ep3
|
t3_a5izk6
| null | null |
t1_ebr9oyc
|
/r/programming/comments/a5izk6/a_crosseditor_plugin_to_improve_any_text_editor/ebs3ep3/
|
1547603644
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
policjant
|
t2_1424qkjz
|
It looks like it's a 3d scene with infinitely tall walls
| null |
0
|
1543673321
|
False
|
0
|
eaurah9
|
t3_a230zo
| null | null |
t3_a230zo
|
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaurah9/
|
1546277528
|
182
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Dgc2002
|
t2_52v7g
|
This reminded me of [this old comment of mine about a really awesome presentation player I found](https://www.reddit.com/r/programming/comments/91heln/resurrecting_a_dead_library_resuscitation/e2ymei6/). I REALLY wish this was the standard for presentations:
> Off topic: The article referenced [Extracting Structured Data From Recipes Using Conditional Random Fields](https://open.blogs.nytimes.com/2015/04/09/extracting-structured-data-from-recipes-using-conditional-random-fields/), which linked to [This lecture about structured prediction for natural language processing](http://videolectures.net/icml09_smith_spn/). That site is awesome. When I saw the URL I figured it would be a generic slide share type of site, but no.
>
> It's the best execution of displaying a slide based lecture on a web page that I've seen.
>
> * For the love of god I can change the size ratio between the video of the lecture and the current slides on screen.
> * There's a list of slide titles with the video timestamp that they are switched to, clicking on the slide title jumps to that point.
> * Using the left and right arrow keys jumps to the previous or next slide timestamp respectively.
> * Hovering over the timeline at the bottom of the player updates the slide display to whatever slide is shown at that part of the timeline while leaving the video at the current frame.
>
> It's almost enough for me to ignore the fact that it requires flash!
| null |
0
|
1544802322
|
False
|
0
|
ebs3lh9
|
t3_a60dlr
| null | null |
t1_ebrelcm
|
/r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebs3lh9/
|
1547603728
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
knackname
|
t2_18l3cn98
|
I understand that this is supposed to be a kind of flat top down view of a flat 2d dungeon, but the way you have the shadows render actually mimics a kind of isometric rendering of the walls. Looking at it another way you could see it as 3d rendered walls streching upwards as your character walks around and between them. It's a really cool effect either way, but if you want it to read more as shadow it might be helpful to further distinguish it from the walls.
| null |
0
|
1543673383
|
False
|
0
|
eaurclm
|
t3_a230zo
| null | null |
t3_a230zo
|
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaurclm/
|
1546277555
|
39
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DivisionSol
|
t2_6094q
|
I’m glad the only choice we have is JS.
| null |
1
|
1544802350
|
False
|
0
|
ebs3npq
|
t3_a65liu
| null | null |
t1_ebs1fts
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs3npq/
|
1547603756
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
> you need to spark interest before they grow into women.
Nope. This has been tried for decades. I grew up with no fewer than 4 women who joined a special program and went to a summer program specifically designed to get women ages 6-12 interested in STEM. Guess how many of them went into STEM fields? 0.
Women aren't interested in science and tech because they're low status fields with unattractive men. There's a reason women are more interested in Law, Business and Medicine.
| null |
1
|
1543673419
|
False
|
0
|
eaurds3
|
t3_a22biq
| null | null |
t1_eauo0l2
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaurds3/
|
1546277569
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
driusan
|
t2_bvkul
|
Hopefully the query finishes running before he starves to death.
| null |
0
|
1544802388
|
False
|
0
|
ebs3qo6
|
t3_a5sg9k
| null | null |
t1_ebpkbfi
|
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebs3qo6/
|
1547603793
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sbh01
|
t2_13xi83
|
if they do subscribe it'll be 50,000 more subscriber to his channel
| null |
0
|
1543673435
|
False
|
0
|
eaurecq
|
t3_a1ysx2
| null | null |
t3_a1ysx2
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaurecq/
|
1546277577
|
-6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
chillidoor
|
t2_159qjs
|
Damn straight #VimMasterRace
| null |
0
|
1544802416
|
False
|
0
|
ebs3stp
|
t3_a61to1
| null | null |
t1_ebrvuuj
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs3stp/
|
1547603820
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
the_evergrowing_fool
|
t2_tenb6
|
His followers like /u/yogthos are equally toxic.
| null |
1
|
1543673538
|
False
|
0
|
eaurhp2
|
t3_a1o5iz
| null | null |
t1_earst7k
|
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eaurhp2/
|
1546277617
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
narwi
|
t2_7s32m
|
Which you can get in C too. But its a compiler technology thing, not an implicit language thing as far as I can tell.
| null |
0
|
1544802452
|
False
|
0
|
ebs3voi
|
t3_a5ylm8
| null | null |
t1_ebs1acs
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs3voi/
|
1547603855
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
theoldboy
|
t2_5n3yf
|
I have absolutely nothing to do with this ecosystem (thank god), I was just interested to find out how they'd actually managed to do this.
- [Chocolately](https://chocolatey.org/) is a package manager for Windows.
- [BoxStarter](https://boxstarter.org/) is a tool which uses Chocolately to (supposedly) provide "repeatable, reboot resilient windows environment installations". It does this by disabling anything that might interfere with the install process, such as UAC and updates.
- Node.js was (optionally) installing both of those tools and then using them to install Node.js native modules for Windows. Why anyone thought that was a good idea is beyond me, but hey, in that ecosystem the more dependencies the merrier right?!?
- From what I could work out, in some cases (if the install failed?), BoxStarter did not revert the system changes afterwards as it is supposed to. I don't know whether that is the fault of BoxStarter or the way it was used by the Node.js installer.
- Don't know the answer to your last question, looking at the BoxStarter code on Github would probably be the best way to find out.
| null |
0
|
1543673566
|
1543673827
|
0
|
eaurilk
|
t3_a1u6ge
| null | null |
t1_eau1tii
|
/r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eaurilk/
|
1546277630
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Waldiboy
|
t2_15hl1k
|
I honestly thought they named the program Word after her for a second... I am not a smart man.
| null |
0
|
1544802546
|
1544807503
|
0
|
ebs42ve
|
t3_a63q5y
| null | null |
t1_ebrrjul
|
/r/programming/comments/a63q5y/evelyn_berezin_word_processor_pioneer_dies_aged_93/ebs42ve/
|
1547603943
|
29
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
call_me_arosa
|
t2_kpvjo
|
Just like Protobuf?
I see...
| null |
0
|
1543673575
|
False
|
0
|
eauriw8
|
t3_a1tazn
| null | null |
t1_eauhih2
|
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eauriw8/
|
1546277633
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
deceased_parrot
|
t2_7q7zg
|
I wish that CSS wasn't the clusterfuck it is.
Oh, and a pony while you're at it, Santa.
| null |
0
|
1544802588
|
False
|
0
|
ebs461g
|
t3_a65liu
| null | null |
t1_ebs1fts
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs461g/
|
1547604012
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
1
|
1543673614
|
1543677228
|
0
|
eaurk55
|
t3_a1ysx2
| null | null |
t1_eaupqf1
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaurk55/
|
1546277650
|
-14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ikbeneenheld
|
t2_7zqiv
|
I mean there are options but those are not really ready for production(wasm).
| null |
0
|
1544802639
|
False
|
0
|
ebs49wh
|
t3_a65liu
| null | null |
t1_ebs1fts
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs49wh/
|
1547604060
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
> plenty of sexist stuff inside
Women have a huge interest in Business, Law and Medicine. The "sexist stuff" in those industries pales in comparison to gaming.
> My daughter seems pretty interested in robots
If you loved your daughter at all, you would discourage her from pursuing something that would make her miserable down the road. Encourage her to marry well, have a family when she's young and pursue a career later. She can go to college anytime. She can only have kids for a few decades and the older she gets, the harder it becomes, both to give birth and to marry a sufficiently attractive man.
| null |
1
|
1543673653
|
1543674234
|
0
|
eaurlgk
|
t3_a22biq
| null | null |
t1_eauo8w8
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaurlgk/
|
1546277666
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
causa-sui
|
t2_69b2i
|
> The use of `foo && bar || baz` instead of a proper `if` / `else` is... broken in the general case
Maybe I misunderstood you but it's not broken. It just doesn't actually do what a lot of people assume it does.
Everything on that page is absolutely correct of course. More programmers should read Greg's wiki and the GNU bash manual.
| null |
0
|
1544802693
|
False
|
0
|
ebs4dzn
|
t3_a5sg9k
| null | null |
t1_eboxlib
|
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebs4dzn/
|
1547604110
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
s0lly
|
t2_j2bhc
|
I know, it's an odd effect, something I'm still debating what to do about!
Agreed, one of my next tasks is to allow you to "see" the first portion of a wall. I have no idea how I'll implement that just yet...
| null |
0
|
1543673754
|
False
|
0
|
eauroz2
|
t3_a230zo
| null | null |
t1_eaurclm
|
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eauroz2/
|
1546277709
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
novacoder
|
t2_53kg0
|
The code snippets in item 6 are not Java. Is that Kotlin or Scala?
| null |
0
|
1544802701
|
False
|
0
|
ebs4ek0
|
t3_a5umpk
| null | null |
t3_a5umpk
|
/r/programming/comments/a5umpk/10_new_features_in_java_11/ebs4ek0/
|
1547604117
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HalibetLector
|
t2_17d4bn
|
> is it natural or manufactured?
Natural. I'll see if I can find the link, but there was a Reddit AMA about a female to male transgender and what affect her testosterone replacement therapy had on her interests. She didn't care about Math and Science before at all, but after taking testosterone those subjects all of a sudden became intensely interesting.
| null |
1
|
1543673759
|
False
|
0
|
eaurp5z
|
t3_a22biq
| null | null |
t1_eaumpn8
|
/r/programming/comments/a22biq/becoming_a_better_supporter_of_women_in_tech/eaurp5z/
|
1546277712
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
so_lost_im_faded
|
t2_ie90unc
|
That sounds like crying because I want a front-end dev job and the companies demand that I know HTML, CSS and JS but I'm a special snowflake and I don't like/know those. But hey, give me a FE dev job and don't tell me that I need to learn JS! I make great web apps with Assembly!
| null |
1
|
1544802722
|
False
|
0
|
ebs4g6y
|
t3_a65liu
| null | null |
t1_ebs1r51
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs4g6y/
|
1547604138
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
s0lly
|
t2_j2bhc
|
Heh, true. If I mapped a texture / colour to those portions, it might look like actual walls too... ideas abound.
| null |
0
|
1543673816
|
False
|
0
|
eaurr60
|
t3_a230zo
| null | null |
t1_eaurah9
|
/r/programming/comments/a230zo/my_attempt_at_a_shadow_casting_algorithm/eaurr60/
|
1546277737
|
42
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Andrew_Sunshine
|
t2_1rizd7k5
|
for example, replace specified strings/column/lines with different contents from arrays, append before lines/column with different contents from arrays etc.
| null |
0
|
1544802736
|
False
|
0
|
ebs4h9e
|
t3_a5izk6
| null | null |
t1_ebr9oyc
|
/r/programming/comments/a5izk6/a_crosseditor_plugin_to_improve_any_text_editor/ebs4h9e/
|
1547604150
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
MartiONE
|
t2_cxhxp
|
Not really, we do small projects as a code interview than can take up to 20 hours. That code is never used and it is really useful to see how a person behaves.
| null |
0
|
1543673883
|
False
|
0
|
eaurthi
|
t3_a1tazn
| null | null |
t1_eatiogl
|
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eaurthi/
|
1546277765
|
-11
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Zakman--
|
t2_is8um
|
>Seriously? I would expect at least .NET, the poster child of enterprise intranet applications would have solved that problem already multiple times over.
Web Forms would be the closest model but Razor Components is far superior due to Razor syntax, the component model, no ViewState and how only the DOM diffs are sent back and forth. There's no support for Web Forms on .NET Core as well so this would be a superior replacement.
>Yes, but that's my whole point - it's solving a problem it created! This is not a problem the user has, this is not even a problem other software has, this "problem" is specific to Razor/Blazor.
Read this entire comment tree from start to finish.
| null |
0
|
1544802749
|
False
|
0
|
ebs4i6k
|
t3_a5ssxk
| null | null |
t1_ebrwfzc
|
/r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebs4i6k/
|
1547604162
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
9034725985
|
t2_5gb2d
|
Yup. I've heard good things about Affero GPL and might be a good idea here.
| null |
0
|
1543673907
|
False
|
0
|
eaurudo
|
t3_a1tazn
| null | null |
t1_eauljtz
|
/r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eaurudo/
|
1546277776
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sekhat
|
t2_4ivsc
|
Not OP. But surely data structures, algorithms, general architectural principals, how different paradigms make you approach problems, writing clear and concise code.
The stuff that is actually way more important in getting the computer to do stuff, and allowing other developers to work with your code that transcends any specifics of a singular language.
| null |
0
|
1544802817
|
False
|
0
|
ebs4nii
|
t3_a65liu
| null | null |
t1_ebs2pqc
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs4nii/
|
1547604228
|
19
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lechatsportif
|
t2_aqsat
|
So viral bro
| null |
0
|
1543674005
|
False
|
0
|
eaurxxc
|
t3_a1ysx2
| null | null |
t3_a1ysx2
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaurxxc/
|
1546277820
|
-4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
SeakSomething
|
t2_2p6n9bej
|
Thanks for saving me a click! :P
| null |
0
|
1544802854
|
False
|
0
|
ebs4qbw
|
t3_a65liu
| null | null |
t1_ebs2wkg
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs4qbw/
|
1547604262
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
RogerLeigh
|
t2_nx5p5
|
I switched to GitLab CI. More limited in many aspects, but vastly less trouble to administer, and makes some things vastly easier to accomplish. [This pipeline](https://gitlab.com/codelibre/ome-model/pipelines/37267293) for example, replaced over six Jenkins matrix jobs. And it's part of a series of jobs which fetch artifacts from each other, which works much more simply and robustly that what Jenkins offered.
This is not to say that it's a universal solution, but at least for my needs, it's a vast improvement. If you need all sorts of esoteric Jenkins plugins, it might not be!
| null |
0
|
1543674022
|
False
|
0
|
eauryj5
|
t3_a2144y
| null | null |
t1_eauejbq
|
/r/programming/comments/a2144y/5_initiatives_to_modernize_jenkins_and_kill_the/eauryj5/
|
1546277827
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
stupodwebsote
|
t2_16iquzue
|
I used to agree wholeheartedly but nowadays typescript and vscode are too compelling, and chakracore scales down pretty well, it was designed for embeddability and constrained devices, hence node-chakracore (eg, Time-Travel Debugging with Reverse Continue).
Maybe Microsoft should buy npm and clean up that mess.
| null |
0
|
1544803004
|
False
|
0
|
ebs51k6
|
t3_a61to1
| null | null |
t1_ebrqlfp
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs51k6/
|
1547604401
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
the_evergrowing_fool
|
t2_tenb6
|
Is not the job of the type system to tell you what the code does, but yours with comments more useful than your post history in your code.
| null |
0
|
1543674071
|
False
|
0
|
eaus0bz
|
t3_a1o5iz
| null | null |
t1_eas0o1v
|
/r/programming/comments/a1o5iz/maybe_not_rich_hickey/eaus0bz/
|
1546277850
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
causa-sui
|
t2_69b2i
|
Why should that be easier? I don't get that at all.
| null |
0
|
1544803005
|
False
|
0
|
ebs51ls
|
t3_a5sg9k
| null | null |
t1_ebpdv84
|
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebs51ls/
|
1547604402
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
AyrA_ch
|
t2_8mz48
|
I'm unaware of a single router uPnP implementation that opens ports due to connection attempts from the internet. How would it, NAT prevents it from figuring out to what IP it has to route packets
| null |
0
|
1543674112
|
False
|
0
|
eaus1qs
|
t3_a1ysx2
| null | null |
t1_eauqshx
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaus1qs/
|
1546277867
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
vim_all_day
|
t2_dhd3o
|
I like you, you seem smart.
| null |
0
|
1544803050
|
False
|
0
|
ebs54zz
|
t3_a61to1
| null | null |
t1_ebrvuuj
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs54zz/
|
1547604444
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
I_will_draw_boobs
|
t2_kby8z
|
Can someone fill me in. What’s the deal with pewdiepie and t-series? Dudes a millionaire and people are acting like his lively hood is at stake if we don’t subscribe. Is it just a competition or is there more going on
| null |
0
|
1543674123
|
False
|
0
|
eaus244
|
t3_a1ysx2
| null | null |
t3_a1ysx2
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaus244/
|
1546277872
|
19
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
ACATS tests, as well as formal legality rules. The compiler implementer has to follow the legality rules (and all other rules for that matter), and the separately obtainable ACATS test suite (http://www.ada-auth.org/acats.html) contains tests for each rule. If the compiler passes the ACATS, you can be sure it is conforment (validated)
| null |
0
|
1544803116
|
False
|
0
|
ebs59rn
|
t3_a5ylm8
| null | null |
t1_ebs1aq7
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs59rn/
|
1547604503
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ethan418
|
t2_ngwddk6
|
You couldn’t be more wrong, he doesn’t get money for the amount of subscribers he has so things like this don’t effect his income. Predispose is the most subscribed to YouTuber and it has been like that for a half a decade. Recently a Indian channel called T Series has been catching up to him and people don’t like that. That’s why you’ve seen these “subscribe to pewdiepie” posts as of late because people don’t want him to lose his crown of most subscribed to.
| null |
0
|
1543674146
|
False
|
0
|
eaus2x5
|
t3_a1ysx2
| null | null |
t1_eaulatb
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaus2x5/
|
1546277881
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
Still, a language choice can be a difference in orders of magnitude in productivity.
| null |
0
|
1544803174
|
False
|
0
|
ebs5e1z
|
t3_a65liu
| null | null |
t1_ebs1r51
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs5e1z/
|
1547604555
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hch12907
|
t2_gn6uz
|
My bad. I was thinking of bypassing, but after putting some thoughts into it I realised that the IPC is still ~1 with bypassing.
| null |
0
|
1543674165
|
False
|
0
|
eaus3kj
|
t3_a1sbwp
| null | null |
t1_eauepyk
|
/r/programming/comments/a1sbwp/not_all_cpu_operations_are_created_equal/eaus3kj/
|
1546277890
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HomeBrewingCoder
|
t2_149sqrr2
|
JavaScript is so popular because it is goddamn decent at everything, while being far and beyond the best scripting language around.
I use node primarily for scripting these days and I get approximately three to four times the performance of python with approximately the same code, which is syntactically similar to Java / c#
| null |
1
|
1544803185
|
False
|
0
|
ebs5evu
|
t3_a65liu
| null | null |
t3_a65liu
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs5evu/
|
1547604566
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Wicked_Switch
|
t2_lsgky
|
>> Printing from the web is fundamentally stupid.
>
>What about vendors/partners coming into locations where you don't want them on your network, you don't need for them to access anything but print?
VPN into the firewalled network the printer sits on.
>Or say, a project where you are scanning something in a remote area, wanting the data to print to some office?
Email? FTP? Fuckin SneakerNet? If you cant physically see the printer, how will you deal with replacing paper, queuing jobs behind someone IN the office, etc.
>I can't think of 1000 reasons, but I could think of more reasons.
Firewall+VPN and done. Printers are too dumb and too ubiquitous to get a real IP.
| null |
0
|
1543674210
|
False
|
0
|
eaus51v
|
t3_a1ysx2
| null | null |
t1_eauqeyd
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaus51v/
|
1546277908
|
14
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
annexi-strayline
|
t2_opgl37x
|
That's a totally different class of error. I was talking about this particular context, that kind of error is very unlikely to result in the same vulnerability.
| null |
0
|
1544803233
|
False
|
0
|
ebs5idb
|
t3_a5ylm8
| null | null |
t1_ebrsl55
|
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebs5idb/
|
1547604639
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Repo_Games
|
t2_561fzi
|
I'm a single dev who created this web app for my personal developer purposes. If you also struggle with copying/mantaining your configs feel free to use it.
| null |
0
|
1543674234
|
False
|
0
|
eaus5ur
|
t3_a23dwp
| null | null |
t3_a23dwp
|
/r/programming/comments/a23dwp/wwwshareconfigcom_share_your_config_across_devices/eaus5ur/
|
1546277918
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
G_Morgan
|
t2_30zrq
|
Until it is done in the original redstone it isn't interesting.
| null |
0
|
1544803252
|
False
|
0
|
ebs5jqr
|
t3_a61to1
| null | null |
t1_ebrcsn9
|
/r/programming/comments/a61to1/write_your_own_virtual_machine/ebs5jqr/
|
1547604655
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
GameFreak4321
|
t2_3vnb9
|
Starting a large job ahead of time so it will be done when you get there.
| null |
0
|
1543674256
|
False
|
0
|
eaus6ln
|
t3_a1ysx2
| null | null |
t1_eauqeyd
|
/r/programming/comments/a1ysx2/hacker_hijacks_50000_printers_with_pret_to_tell/eaus6ln/
|
1546277927
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rasjani
|
t2_7vz5a
|
100% this + ability to pick up “dialect” and its paradigms of the language itself and one is future proof.
| null |
0
|
1544803292
|
False
|
0
|
ebs5mo6
|
t3_a65liu
| null | null |
t1_ebs4nii
|
/r/programming/comments/a65liu/the_worlds_most_popular_programming_language_is/ebs5mo6/
|
1547604691
|
4
|
t5_2fwo
|
r/programming
|
public
| null |