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
|
semimono
|
t2_2jo41t16
|
A number of good points about how they're wrong from a programming language-theory perspective. The article should have taken a moment to step back and see how protobuf fits into the practical world. So they're wrong, does that mean they should never be used? Is there something that accomplishes the same with a better programmer interface? Is there anything that protobuf does RIGHT that ought to be carried forward to future solutions, or is every last detail bad?
Also, did you ever stop to think that, while some of the limitations are messy design, the limitations they impose are not unreasonable? Such as how often should you really use a map as the key of a map? I'd guess usually only in a place where high coupling is acceptable, the opposite of what protobuf is intended for.
Also calling the creators amateurs betrays how emotionally compromised the author is in this rant (yeah, it makes it a rant too). Remember that protobuf 2 and 3 were created to be a relatively easy migration for users of protobuf 1, which is one of the oldest frameworks of its kind. When they first did it they were solving that problem in a way that had hardly (never?) been solved that way before. Back when protobuf 1 was made, it was revolutionary, and I'm convinced that protobufs and Google strong adherence to them is the largest reason for the engineering success. Yes, they are definitely clunky at times, but the level of reliability that can be achieved in their ludicrously complex code base is second to none, using protobufs as the glue for the entire thing. Realize that the author of protobuf 2 also built cap'n proto, which seems to address/sidestep a lot of the issues that are raised. He learned from the mistakes, and not only that he actually created a next version (Without the limitation of needing to be an easy migration from protobuf). They were building protobuf 2 before the author of this article even had a github acount. Calling them amateurs says something pretty unpleasant about the author.
| null |
0
|
1543877504
|
False
|
0
|
eb162jz
|
t3_9na66l
| null | null |
t3_9na66l
|
/r/programming/comments/9na66l/protobuffers_are_wrong/eb162jz/
|
1546385423
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
myringotomy
|
t2_9f1cg
|
too bad they don't support gitlab
| null |
0
|
1545044021
|
False
|
0
|
ebyyytc
|
t3_a6u89w
| null | null |
t3_a6u89w
|
/r/programming/comments/a6u89w/how_to_set_up_github_integration_and_automated/ebyyytc/
|
1547719360
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
cephalopodAscendant
|
t2_f8hs0
|
The sad thing is, that array description is accurate and communicating a relatively simple idea, but it's dressed up in so much dense mathematical jargon that your average person would just be scared away.
Most of it is just spelling out assumptions about array indices that we normally take for granted. They should be integers, rather than any kind of floating-point number, because they ultimately represent discrete spaces. You also don't want any "gaps" of invalid indices between valid ones; if 3 and 5 are both valid, then 4 should be as well.
The rest is just pointing out that instead of thinking about array accesses as using an index to locate and retrieve a value from memory, you can view it as a black box that magically transforms an index into its corresponding value. I assume that this perspective let Haskell's creators come up with array syntax that plays nicely with the rest of the language.
Really, with documentation like this and the infamous monad copypasta, it's no wonder Haskell has a reputation for being obtuse.
| null |
0
|
1543877508
|
False
|
0
|
eb162q0
|
t3_a1we32
| null | null |
t1_eaupg4z
|
/r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eb162q0/
|
1546385425
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CanIComeToYourParty
|
t2_12v6mu
|
Every web designer I know IRL know less about CSS than I was able to learn in a week by reading the standard and playing around with it. Whenever they encounter a problem, they just throw more CSS declarations at it until it kinda looks OK. They have 15+ years of using CSS, and almost zero time spent actually learning.
When someone says CSS is hard, I picture someone who never even tried learning it.
| null |
0
|
1545044115
|
False
|
0
|
ebyz0lk
|
t3_a6nfgh
| null | null |
t1_ebwpe28
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebyz0lk/
|
1547719381
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hexaga
|
t2_22wzbwyk
|
no u
| null |
0
|
1543877623
|
False
|
0
|
eb167t3
|
t3_a2ou38
| null | null |
t1_eb0rl77
|
/r/programming/comments/a2ou38/i_edited_yahoos_nsfw_image_recognizer_script/eb167t3/
|
1546385487
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
WolfThawra
|
t2_f63no
|
> For a subreddit about atheism, religion sure is discussed a lot
youdontsay.jpeg
What kind of a stupid commentary is this??
| null |
1
|
1545044192
|
False
|
0
|
ebyz219
|
t3_a6ufoy
| null | null |
t3_a6ufoy
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebyz219/
|
1547719399
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
omniuni
|
t2_4k53v
|
AMD... does already.
They're even working on getting rid of the proprietary graphics driver on Linux.
| null |
0
|
1543877700
|
False
|
0
|
eb16b3z
|
t3_a2oxxm
| null | null |
t1_eb0a2os
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb16b3z/
|
1546385528
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pm_me_any_dragon
|
t2_xtyfl
|
I am by no means a good, or even decent programmer.
But still, I find some beauty in code that is a bit overcomplicated. Like spaghetti factories in factorio.
| null |
0
|
1545044666
|
False
|
0
|
ebyzaq3
|
t3_a6ufoy
| null | null |
t1_ebyonhj
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebyzaq3/
|
1547719506
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rarelongsun
|
t2_jn8an
|
Another warning sign that I was not aware of until very recently:
If they ask you to sign a "letter of committment" it means there is a turnover problem. They know about it and don't care. The letter is for the benefit of the contracting government agency. When the government project fails, the appropriate asses will be covered by your letter.
​
| null |
0
|
1543877731
|
False
|
0
|
eb16chn
|
t3_a2p0j9
| null | null |
t3_a2p0j9
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb16chn/
|
1546385545
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ipv6-dns
|
t2_1t534du4
|
\> Also, many universities are obscenely expensive
Some countries have free University education, this is the reason why in UK people with University education looks like alien and command respect, and most people lead a primitive and often immoral way of life, whereas almost all top managers and middle managers, plus almost all IT staff (in USA, UK), are from China, India, Eastern Europe, Greece, the ex-USSR. So, you understand that it costs money, but people in Germany or China don't understand and you can see cost of such "understanding" :)
| null |
0
|
1545044707
|
False
|
0
|
ebyzbj6
|
t3_a6fjqb
| null | null |
t1_ebutk6f
|
/r/programming/comments/a6fjqb/replacing_universities/ebyzbj6/
|
1547719516
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
aseigo
|
t2_m8ral
|
That is not a well-qettled question. The Oracle v Google case being a good example where the judgment was met with broad surprise as implementing compatible API's from copyrighted software has a long tradition. It is still unclear what can be protected to what extent for which uses ...
| null |
0
|
1543877780
|
False
|
0
|
eb16ehi
|
t3_a2oxxm
| null | null |
t1_eb0yejb
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb16ehi/
|
1546385570
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
nacholicious
|
t2_k7ymt
|
programmers rise up
| null |
0
|
1545044733
|
False
|
0
|
ebyzc0u
|
t3_a6xy9s
| null | null |
t3_a6xy9s
|
/r/programming/comments/a6xy9s/sjwjs/ebyzc0u/
|
1547719522
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
sisyphus
|
t2_31lml
|
Yes I guess so. I have no problem paying for software but I understand a lot of people can’t or won’t.
| null |
0
|
1543877921
|
False
|
0
|
eb16kmd
|
t3_a2b8u4
| null | null |
t1_eb11cjc
|
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb16kmd/
|
1546385646
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pm_me_any_dragon
|
t2_xtyfl
|
Not really IMO.
As long as the author takes it as a learning oppurtunity instead of as an insult.
| null |
0
|
1545044736
|
False
|
0
|
ebyzc2s
|
t3_a6ufoy
| null | null |
t1_ebynvu8
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebyzc2s/
|
1547719523
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
GhostBond
|
t2_v4lid
|
If I were you, I would assume the reason is your green skin and tendency to live under bridges.
| null |
0
|
1543878168
|
False
|
0
|
eb16vqx
|
t3_a2p0j9
| null | null |
t1_eb0zdap
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb16vqx/
|
1546385783
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shevegen
|
t2_atqp
|
> My colleague Brent is writing a library to deal with date &
> time periods in PHP.
Poor man.
> In math, intervals use parentheses and square brackets
> to denote the difference between included and excluded.
Math notation is not the one used for programming though,
so the comparison isn't a good one.
Period::make('2018-12-25', '2018-12-27', '[)');
> If you're in to mathematics, this makes perfect sense.
Nope, sorry - PHP code does not make any sense
to me at all whatsoever.
Ranges in ruby are simpler; .. versus ... depending on
whether you wish to exclude the right boundary or not.
An alternative, would be to expose a more verbose API:
Period::make(
'2018-12-25',
'2018-12-27',
Period::LEFT_OPEN_RIGHT_CLOSED
);
Still makes no sense.
> What's the better API? The more succinct mathematical
> notation, or the verbose constants? I don't know.
I think all the examples shown there are awful, but that
is not a surprise considering that it is PHP. There is a
reason why spaghetti programming was invented by
PHP.
> The problem is, readability of code isn't something we
> can measure objectively, it depends on the reader.
That is BLATANTLY false.
Yes, readability DOES depend on personal preferences
as well, but you can have objective critera JUST AS
WELL.
Java versus Kotlin - which one tends to be more readable?
Kotlin, hands down.
It is not just the needless verbosity in Java but more importantly
a clarity of intent when you don't have to use more characters
to convey a meaning. Another good example are the type
systems. In literally EVERY language, type declarations add
to the burden of the syntax (and thus readability). Some say
that this additional verbosity helps in readability - this is the
subjective part. The objective part is that there is more syntax
to wade through. And more syntax does not make things
more readable really. It's an illusion.
> The mathematical notation has a steeper learning curve.
It is bad to compare non-programming syntax such as math
to programming syntax. = versus == is an excellent example.
> I'd argue it's more readable than the overly explicit API,
> especially if you're spending all day staring at period
> definitions.
If your standard is PHP then you already start from a
very low point. I find mathematical notation to be a LOT
more complex than syntax used in programming.
There are just so many rules and formula to have to
know in maths. Maths is not easy for a reason.
> Explicit API's also leave more room for interpretation.
> Are LEFT_OPEN_RIGHT_OPEN and LEFT_CLOSED_RIGHT_CLOSED
> good names? Should we name them OPEN and CLOSED instead?
I think all these choices are terrible.
> Elon Musk hates acronyms too.
And this dude is important in programming? Can he even program?
> There is a creeping tendency to use made up acronyms at SpaceX.
What's the "X" stand for by the way? It's not an abbreviation I hope.
> Unless an acronym is approved by me, it should not
> enter the SpaceX glossary.
SpaxeC sounds like a terrible place. I don't want to ask Musk
to approve how I think and speak.
> That rant deserves a round of applause
I don't see why.
> An acronym that most engineers outside of SpaceX
> already know, such as GUI, is fine to use.
First he explains how acronyms kill kittens - then he
says they are fine. Am I glad to not have to work
with Musk.
> When writing software, ask yourself what you can afford
> with respect to your readers.
Why should I design for readers?
I design/write software in a way that makes sense to write
things in the way they are written. Readability matters a
lot too (a good reason why I can not use the clown language
PHP) but clarity of intent is even slightly more important.
> How much domain knowledge do you expect of your
> API consumers?
See - it depends on the domain.
Take bioinformatics. Do I start to count nucleotide
polymers at 0 or 1? 0 makes no sense since that
does not include any nucleotide (other than to
point towards a start position for when you count).
> Are you designing an API for power users?
> Laymen? Maybe both?
Why should that matter? I design an API that is
usable and useful. I don't care WHO uses it and
neither HOW. APIs fulfil more than one need at
the same time, so all those "or" questions to exclude
one or the other are entirely irrelevant.
PHP developers make me very sad.
| null |
0
|
1545044774
|
False
|
0
|
ebyzcsn
|
t3_a6yfv9
| null | null |
t3_a6yfv9
|
/r/programming/comments/a6yfv9/readability_is_relative/ebyzcsn/
|
1547719532
|
-15
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
IceSentry
|
t2_cqjq2
|
All of those are essentiallly callbacks, are you arguing that anything that uses callbacks is a framework?
Using the literal definition of the word, a framework should be some kind of structural frame. This structural frame tends to be in terms of the entire app when talking about software. React doesn't ask for any structure from your app only for single components.
So, yes react is a framework for a component but it isn't a framework for your app, which I think is the actual issue here.
| null |
0
|
1543878353
|
False
|
0
|
eb173pi
|
t3_a2ml49
| null | null |
t1_eb02mqe
|
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb173pi/
|
1546385881
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
buoyantbird
|
t2_qm0vl
|
Eh there's a shit ton of crappy Medium articles, and after reading few good ones Medium links appear way more than I like on my Google search results... and those are so poor and shoddily written. Usually the author has poor knowledge of what he's talking about or the title's a click bait. Personalized blogs tend to be better than that.
Basically the publishing standard on Medium isn't great
| null |
0
|
1545044842
|
False
|
0
|
ebyze15
|
t3_a6ufoy
| null | null |
t1_ebyqdci
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebyze15/
|
1547719547
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pron98
|
t2_f0thb
|
> That's your conjecture, not backed by evidence or a theory.
Well, that compilers can only optimize based on what they can prove, and that many proofs are intractable is pretty much basic theory, but yes, my general statement on who "wins" in a completely hypothetical fight was a satire of yours.
> Or, compare the performance of the existing AOT compilers (say, for C++) vs. your imaginary omnipotent JITs.
I'm not talking about imaginary JITs but about C2 (or Graal), and I linked to a talk that makes the comparisons.
> The fact that nobody cared enough to build a good AOT for Java only means that for most of the use cases the current performance is sufficient.
There are good AOTs for Java. They're just not as good as your imaginary one, that no one has bothered to build such a compiler (e.g. that can inline virtual calls as well as C2/Graal) for any language.
> All the evidence I cared to look at suggests that there is little chance a hypothetical C++ JIT will outperform even the not so smart existing stock C++ compilers, outside of some very carefully constructed microbenchmarks. No such thing was ever demonstrated.
I don't think a JIT for C++ is worth it, either. But the reason is that the language, like Rust, is built around explicit control. The programmer has to tell the compiler whether she wants a virtual method or not. JITs are good for languages that don't give you this level of control.
> You can afford it in an AOT.
No, you really, really can't. The reason is that the number of paths you'll need to consider would result in generated code that cannot fit in the entire universe. JITs don't even specialize for all the paths *they actually encounter in a particular execution* because of code size considerations (although they may throw out some old compilations to make room for new ones), let alone specializing for all possible paths.
> there is a very limited number of them in any typical code base.
This is an interesting conjecture, but until you show me an AOT compiler that can correctly guess the common types encountered at a virtual callsite, whether or not it is possible to build such an AOT that generally beats a JIT remains unknown.
> You don't need to, you have tons of time to try many different paths, as long as you know there is a potential for a beneficial specialisation.
You don't have the time to try 2^10000 paths. When someone manages to find heuristics that are good enough, you'll see efficient AOT compilers for JS.
> Which, from the user perspective, is not much different from the usual DLLs.
Ah, but Java calls are *much* faster than DLL calls. They are inlined and optimized together with application code. In fact, when you run TruffleRuby with C extensions on the JVM, they optimize and inline Ruby and C code.
> Dynamic code generation is rarely used
I wonder where you're getting this data. First, Java reflection heavily uses code generation, as do lambdas (although they can do without it, at the cost of performance). Second, many popular frameworks rely on dynamic code generation. In fact, only recently a [new framework/spec](https://microprofile.io/) was introduced which tries to *not* rely on dynamic code generation.
| null |
0
|
1543878357
|
1544034185
|
0
|
eb173vp
|
t3_a1rp4s
| null | null |
t1_eb0r0iy
|
/r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eb173vp/
|
1546385884
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shevegen
|
t2_atqp
|
This is actually quite interesting.
For example, Trump dominates politics, which means that there must
be lots of US users. Trump isn't really important outside of the USA
to be worth mentioned (you can also see it with e. g. Mueller mentioned
which isn't relevant outside of the US either; or how the word Russia
is mentioned).
> Our dear President is a hot topic over at the politics subreddit
Poor souls. But it shows that the subreddit is completely US-dominated.
Which is unfortunate.
Reddit really shouldn't be so massively US centric. It makes the platform
as a whole less relevant, since it excludes so many other people. Exclusion is perhaps a bit too strong a word but you get the point.
He forgot to add r/programming ... :(
| null |
0
|
1545045014
|
False
|
0
|
ebyzh5n
|
t3_a6ufoy
| null | null |
t3_a6ufoy
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebyzh5n/
|
1547719585
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
yogthos
|
t2_73rg
|
I'm not seeing the difference here. Functional style still has exact same conditional logic you have in imperative code. If anything Lisps make it even easier to see that because your code is a literal diagram of the branching logic. I really don't understand the point you're trying to make here.
Meanwhile, my team used to be a regular Java shop about a decade ago. None of us had any prior experience with FP, and we decided to try using Clojure for some internal tools to see how it compared to what we were doing. Pretty much everybody agreed that it was a big improvement. We've hired many people over the years coming from all kinds of backgrounds, and nobody finds Clojure alien or hard to work with compared to imperative style. However, we consistently see that the more imperative experience people have a harder it is for them to get ramped up.
| null |
0
|
1543878485
|
False
|
0
|
eb179fm
|
t3_a2hpd8
| null | null |
t1_eb125om
|
/r/programming/comments/a2hpd8/is_lisp_a_good_language_to_start_learning_as_a/eb179fm/
|
1546385952
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shevegen
|
t2_atqp
|
List comprehensions are pretty ugly.
Python is acceptable though.
| null |
0
|
1545045066
|
False
|
0
|
ebyzi2v
|
t3_a6ufoy
| null | null |
t1_ebyi7ej
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebyzi2v/
|
1547719596
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
beefsack
|
t2_49j3b
|
The one I'd absolutely love opened up is G-Sync. The fragmentation in the monitor market now is completely artificial and ridiculous.
| null |
0
|
1543878567
|
False
|
0
|
eb17cv7
|
t3_a2oxxm
| null | null |
t1_eb04t9r
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb17cv7/
|
1546386024
|
44
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shevegen
|
t2_atqp
|
That is simple - the clarity of intent is larger in this case, if you can achieve about the same length of characters.
| null |
0
|
1545045127
|
False
|
0
|
ebyzj8y
|
t3_a6ufoy
| null | null |
t1_ebywtyy
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebyzj8y/
|
1547719611
|
-7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
thecosmicmuffet
|
t2_1e1k9nws
|
In other words--it's fine to relax. The code is fine. The ship is on the right track.
Sobriety: UNNECESSARY
| null |
0
|
1543878632
|
False
|
0
|
eb17fkj
|
t3_a2p0j9
| null | null |
t1_eb0vz4o
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb17fkj/
|
1546386057
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
wojcech
|
t2_yv28p
|
Yes,but one bad thing is that AFAIK filter returns a generator, meaning that if you want to use the return value more than once you'll have to wrap it in a list call... although this pain could be alleviated with a pipe operator
| null |
0
|
1545045143
|
False
|
0
|
ebyzjkc
|
t3_a6ufoy
| null | null |
t1_ebyorko
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebyzjkc/
|
1547719615
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
InternetProp
|
t2_y15ap
|
Unless you are a diver....
| null |
0
|
1543878734
|
False
|
0
|
eb17juj
|
t3_a2p0j9
| null | null |
t3_a2p0j9
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb17juj/
|
1546386110
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
LordoftheSynth
|
t2_4clv4
|
Literally, trying to be an SDET in games convinced me I hate being an SDET.
| null |
0
|
1545045167
|
False
|
0
|
ebyzk0n
|
t3_a6nfgh
| null | null |
t1_ebx6tst
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebyzk0n/
|
1547719620
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
silentrambo
|
t2_56uy8
|
In other news: water has been found to be, in fact, wet.
| null |
0
|
1543878777
|
False
|
0
|
eb17lo2
|
t3_a2p0j9
| null | null |
t3_a2p0j9
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb17lo2/
|
1546386132
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
rcoacci
|
t2_4sz2d
|
Eric Raymond have been warning about software SJWs for some time now. Good to see another voice realize that SJWs are just outrage for the sake of outrage.
| null |
1
|
1545045746
|
False
|
0
|
ebyzvf4
|
t3_a6xy9s
| null | null |
t3_a6xy9s
|
/r/programming/comments/a6xy9s/sjwjs/ebyzvf4/
|
1547719762
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
HurfMcDerp
|
t2_97562
|
You're missing the point, I think.
`curl --referer http://example.com/bot.html https://24ways.org/`
Setting the referrer is trivial for somebody that knows what they are doing.
| null |
1
|
1543878821
|
False
|
0
|
eb17nl7
|
t3_a2p24m
| null | null |
t1_eb14vlp
|
/r/programming/comments/a2p24m/securing_your_site_like_its_1999/eb17nl7/
|
1546386156
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Glinkis2
|
t2_32qwfs
|
You're doing good work there!
| null |
0
|
1545046102
|
False
|
0
|
ebz02s6
|
t3_a6nfgh
| null | null |
t1_ebypmyc
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz02s6/
|
1547719883
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
moreON
|
t2_5j4fw
|
Different variables. The matrix multiplication depends on the size of the matrix. This problem has a fixed telephone keypad (resulting in a constant graph, and constant matrix derived from that). The variable is the length of the phone numbers.
| null |
0
|
1543878836
|
False
|
0
|
eb17o8f
|
t3_a2qt95
| null | null |
t1_eb1252y
|
/r/programming/comments/a2qt95/google_interview_questions_deconstructed_solving/eb17o8f/
|
1546386164
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
philh
|
t2_2zl2
|
That doesn't do the same thing as `[re.sub("[\W]", "", word) for word in words]`.
You've replaced a map "drop these characters from every word" with a filter "drop all words containing any of these characters".
You've also replaced "non-word-characters" with "non-alphabetic characters".
| null |
0
|
1545046358
|
False
|
0
|
ebz07xe
|
t3_a6ufoy
| null | null |
t1_ebyp69a
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz07xe/
|
1547719945
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
FOSSilized_Daemon
|
t2_1s6hh8y7
|
I know, I mean I want to see every thing from them be open source.
| null |
0
|
1543878842
|
False
|
0
|
eb17oh9
|
t3_a2oxxm
| null | null |
t1_eb16b3z
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb17oh9/
|
1546386167
|
-2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
takanuva
|
t2_82xqp
|
That's why I follow this sub.
| null |
0
|
1545046432
|
False
|
0
|
ebz09f4
|
t3_a6xtz5
| null | null |
t3_a6xtz5
|
/r/programming/comments/a6xtz5/on_the_architecture_of_a_verifying_compiler/ebz09f4/
|
1547719964
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543878854
|
False
|
0
|
eb17oyf
|
t3_a2p24m
| null | null |
t1_eb14vlp
|
/r/programming/comments/a2p24m/securing_your_site_like_its_1999/eb17oyf/
|
1546386173
|
-4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
the_gnarts
|
t2_9ya05
|
> I also fail to see how copying dependencies to the executable's directory is such a big deal. You'll want all the binaries together when bundling for shipping anyway.
If you’re bundling those deps anyways, then you’d be better off with linking them in statically.
| null |
0
|
1545046459
|
False
|
0
|
ebz09yp
|
t3_a6qqod
| null | null |
t1_ebyletb
|
/r/programming/comments/a6qqod/the_search_for_autoloaded_dlls_and_windows_rpath/ebz09yp/
|
1547719971
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
IceSentry
|
t2_cqjq2
|
I think you are both somewhat right, react is not an application framework, but it is a component framework. As in, react asks of you to structure your components a certain way, but it won't make any assumptions of how to structure the app itself.
Angular is an application framework, but react isn't.
Also I'm not sure I agree that anything that uses callbacks suddenly becomes a framework. For me a framework is more than calling your code, it's also about the fundamental structure of your app.
| null |
0
|
1543878905
|
False
|
0
|
eb17r9i
|
t3_a2ml49
| null | null |
t1_eb0dafp
|
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb17r9i/
|
1546386202
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
askvictor
|
t2_3ssl1
|
Doesn't that run the risk of excluding common but interesting words (Trump might be one that pops up in a lot of subs). Wouldn't it be better to compare to some other corpus?
| null |
0
|
1545046545
|
False
|
0
|
ebz0bql
|
t3_a6ufoy
| null | null |
t1_ebykpuy
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz0bql/
|
1547719993
|
8
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
AyrA_ch
|
t2_8mz48
|
Yes, but you want to set the referer on a request a user makes because you want something to happen in his session. If you make the request yourself you no longer have access to the user session.
| null |
0
|
1543878929
|
False
|
0
|
eb17s9b
|
t3_a2p24m
| null | null |
t1_eb17nl7
|
/r/programming/comments/a2p24m/securing_your_site_like_its_1999/eb17s9b/
|
1546386214
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pyridae
|
t2_1ahh6o6w
|
Wasn't necessarily a response to your software in particular. I'm sure it's a good implementation of an age old process. I'm just saying it off the cuff, I have lots of suppressed hate for these god forsaken things. Don't let it keep you awake at night.
| null |
0
|
1545046662
|
False
|
0
|
ebz0e2t
|
t3_a6rl3k
| null | null |
t1_ebyyjys
|
/r/programming/comments/a6rl3k/be_more_creative_on_writing_by_using_a_mind_map/ebz0e2t/
|
1547720021
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
AyrA_ch
|
t2_8mz48
|
You want something to happen in the user session. if you send a logout request to a site with curl it's not magically going to show a interface asking for the user Id you wish to hijack, presenting you with all available sessions.
You need both, the header and the session. The browser of the user is not willing to set the header and it's not going to tell you the session of a 3rd party site either.
| null |
0
|
1543879082
|
False
|
0
|
eb17yud
|
t3_a2p24m
| null | null |
t1_eb17oyf
|
/r/programming/comments/a2p24m/securing_your_site_like_its_1999/eb17yud/
|
1546386295
|
9
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
crabbone
|
t2_e3qdk15
|
The truth is that:
1. There is no consensus on terminology. People who work with types use several different definitions of their terminology, neither compatible with mostly marketing-inspired terminology used in everyday life of most programmers.
2. Python has at least three different systems you can think of as type systems. Their behavior is completely different and collectively doesn't match any single concept from theoretical CS.
In the light of the above, making categorical statements about Python's type system is borderline useless: neither will you be able to be right, nor anyone will be able to understand in what way are you wrong...
| null |
0
|
1545046671
|
False
|
0
|
ebz0e87
|
t3_a6fopy
| null | null |
t1_ebuioyt
|
/r/programming/comments/a6fopy/python_vs_java_performance_what_is_python_used_for/ebz0e87/
|
1547720023
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hauntedbotanist
|
t2_2fr4i30t
|
2 0 0 7
| null |
0
|
1543879314
|
False
|
0
|
eb188u7
|
t3_a2ml49
| null | null |
t1_eb05loe
|
/r/programming/comments/a2ml49/going_frameworkless_why_you_should_try_web_dev/eb188u7/
|
1546386419
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Zuslash
|
t2_62rd7
|
This looks exactly like modern day JavaScript... in fact, this is perfectly valid in ES2015 lol.
| null |
0
|
1545046815
|
False
|
0
|
ebz0h90
|
t3_a6ufoy
| null | null |
t1_ebyorko
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz0h90/
|
1547720060
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jeanlaf
|
t2_11542k
|
Really appreciated this article! Some really good insights there. Had to share :).
| null |
0
|
1543879433
|
False
|
0
|
eb18dz2
|
t3_a2uhhk
| null | null |
t3_a2uhhk
|
/r/programming/comments/a2uhhk/how_to_grow_as_an_engineer_working_remotely_times/eb18dz2/
|
1546386481
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
m50d
|
t2_6q02y
|
http://www.lihaoyi.com/post/StrategicScalaStyleConcisenessNames.html goes into more detail about when to use a short name versus a long one, in a way that I found very helpful.
| null |
0
|
1545046943
|
False
|
0
|
ebz0jxc
|
t3_a6yfv9
| null | null |
t3_a6yfv9
|
/r/programming/comments/a6yfv9/readability_is_relative/ebz0jxc/
|
1547720094
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
ResponsibleReturn
|
t2_1fqapmrr
|
Yup, ```SHOULD NOT``` instead of ```MUST NOT```. Agreed that it was still an inappropriate usage of GET requests, and even just using POST + relying on the body for actual data would have prevented that particular attack (although there's still more concerning with it)
| null |
0
|
1543879439
|
1543879785
|
0
|
eb18e7c
|
t3_a2p24m
| null | null |
t1_eb0gx23
|
/r/programming/comments/a2p24m/securing_your_site_like_its_1999/eb18e7c/
|
1546386484
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
captain_threadpool
|
t2_xz31f
|
_business logic_ is a generic term to describe any domain specific logic in your application. People use _your_ software because it fulfills some role in their day to day life. The code that makes your application fill that niche is, _business logic_.
| null |
0
|
1545047069
|
False
|
0
|
ebz0mi5
|
t3_a6nfgh
| null | null |
t1_ebxrv3n
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz0mi5/
|
1547720125
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
the2baddavid
|
t2_hu8g6
|
I'd ask to talk to developers after the interview without their manager as they're often more candid that way. You get real answers to your questions that way.
| null |
0
|
1543879466
|
False
|
0
|
eb18fcd
|
t3_a2p0j9
| null | null |
t1_eb15292
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb18fcd/
|
1546386498
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Glinkis2
|
t2_32qwfs
|
Using closures (like the revealing module pattern) does use more memory, since they don't utilize the prototype. While it's usually not a problem unless you have a lot of instances, it's good to keep in mind.
| null |
0
|
1545047237
|
False
|
0
|
ebz0pyh
|
t3_a6k333
| null | null |
t1_ebvpgmt
|
/r/programming/comments/a6k333/public_and_private_class_fields_in_javascript_in/ebz0pyh/
|
1547720168
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543879621
|
False
|
0
|
eb18lxj
|
t3_a2oxxm
| null | null |
t1_eb0f522
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb18lxj/
|
1546386609
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
fuckingoverit
|
t2_c5wof
|
Ignore the haters in here man. Everyone commenting acts like they were born knowing everything, but the reality is, projects like what you’ve done here really help to learn and improve. In software there’s a lot of unknown unknowns and techniques that build on each other and it takes serious time to encounter them.
I spent the first two months of software development in college not realizing I could use semantic variable names until I asked my buddy “once you’ve gone through the lowercase alphabet, is it better to use double letters or capitals for variable names”
Definitely read through the comments here, take the suggestions, and learn new techniques. But don’t get discouraged. I think it’s cool that you took the time to explore this area
| null |
0
|
1545047490
|
False
|
0
|
ebz0v97
|
t3_a6ufoy
| null | null |
t3_a6ufoy
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz0v97/
|
1547720233
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
dandv-google
|
t2_1rp46lrh
|
Well, the [Hacker New thread](https://news.ycombinator.com/item?id=18451319) for this presentation did get to #1 the morning after the talk, so apparently people do really want to use Chrome OS for web application development.
| null |
0
|
1543879821
|
False
|
0
|
eb18ugt
|
t3_9x7d6p
| null | null |
t1_e9qb22o
|
/r/programming/comments/9x7d6p/chrome_os_ready_for_web_development_chrome_dev/eb18ugt/
|
1546386715
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Huliek
|
t2_g5vwi
|
Isn't it usually called an Event Store?
| null |
0
|
1545047572
|
False
|
0
|
ebz0x1v
|
t3_a6ywny
| null | null |
t3_a6ywny
|
/r/programming/comments/a6ywny/hey_reddit_what_do_you_think_of_my_log_database/ebz0x1v/
|
1547720255
|
6
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
didhe
|
t2_fhv1c
|
Interesting question.
If i is some sort of big integer, of course, it'll take a while.
If i is a floating-point number with fewer than 386 or so bits in the mantissa, this will not halt, since you'll find eventually that i+1 == i and incrementing i won't make it bigger.
Now, if i is a fixed-width integer, that's where it gets interesting. See, this 9...9 with 168 digits is equal to 10^168-1=2^168*5^168-1=2^k-1 (mod 2^k) for k<=168.
If that's unsigned, it'll probably take a while depending on how wide an integer you chose.
If it's signed, well, `for (i=0; i<-1; i++)` doesn't take long at all...
| null |
0
|
1543880045
|
False
|
0
|
eb193sl
|
t3_a281dl
| null | null |
t1_eaxr299
|
/r/programming/comments/a281dl/nphard_does_not_mean_hard/eb193sl/
|
1546386830
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
captain_threadpool
|
t2_xz31f
|
I too enjoyed Clean Code (even though i think Uncle Bob is a pompus ass most of the time). Writing properly functions is a must and it describes _what_ they do, but it doesn't always tell me _why_ they are doing it. Also, I doubt your functions are named```getTheCoolStuffButMightThrowSqlExceptionIfYouDontPassInArgumentA```. That's what documentation is for.
I definitely don't think function level documentation massive. It should be no more than 2 or 3 lines about why this thing is here and possible cases.
After saying all that, I guess _API documentation_ would be a more descriptive name. It's not always necessary to full document internals (unless there's some kind of weirdness happening), but the consumers of your API shouldn't need to know "how it works" to use it.
But alas, there are only 2 hard problems in computer science: 0) cache invalidation, 1) naming things, 7) asynchronous call-backs, and 2) off-by-one errors...
| null |
0
|
1545047776
|
False
|
0
|
ebz11fc
|
t3_a6nfgh
| null | null |
t1_ebykw6d
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz11fc/
|
1547720310
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
semimono
|
t2_2jo41t16
|
Maps were "tacked" onto protobuf. For many years the entirety of Google managed to get by with no maps in their protos, because maps in protos are a nicety, not a core component of wire protocols. In my experience with protobuf I never once used map (and never once missed it) because for many (most?) scenarios where protobufs are appropriate maps are not. Make a list of messages and organize the messages into a hash by whatever key is appropriate within your program. Needing to send it across the wire like that is usually a sign of bad coupling. I question whether maps improved protobuf or made it worse.
| null |
0
|
1543880134
|
False
|
0
|
eb197ec
|
t3_9na66l
| null | null |
t1_e7kxh32
|
/r/programming/comments/9na66l/protobuffers_are_wrong/eb197ec/
|
1546386875
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
mongopeter
|
t2_59mwa
|
> function countWordsLongerThan(array $words, int $minimumLength)
Sigh... this is a really bad function name:
> echo countWordsLongerThan(['a', 'to', 'the', 'card'], 3);
... produces "2" even though there is only 1 word longer than 3. Either get rid of the "LongerThan" part and let the parameters do the talking or make it clear that the counted words are longer **or equal** in length.
| null |
0
|
1545047783
|
False
|
0
|
ebz11l1
|
t3_a6sude
| null | null |
t3_a6sude
|
/r/programming/comments/a6sude/naming_things/ebz11l1/
|
1547720312
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543880374
|
False
|
0
|
eb19h7i
|
t3_a2s9t2
| null | null |
t3_a2s9t2
|
/r/programming/comments/a2s9t2/you_cant_impress_developers_so_dont_try/eb19h7i/
|
1546386996
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
10xjerker
|
t2_4ta3g1j
|
> There is quite a bit of demand for what I do
What's that?
| null |
0
|
1545048148
|
False
|
0
|
ebz19n5
|
t3_a6nfgh
| null | null |
t1_ebx4fmc
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz19n5/
|
1547720441
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Oikeus_niilo
|
t2_rq7qp
|
Yeah, a great example of how a good idea is really the biggest part of a game, and if you have fun making it it shows through. I remember this game vividly, it was really fun to play.
| null |
0
|
1543880749
|
False
|
0
|
eb19wfx
|
t3_a2m3hj
| null | null |
t1_eazsiik
|
/r/programming/comments/a2m3hj/original_sources_of_ultimate_tapan_kaikki_90s/eb19wfx/
|
1546387212
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
meltingdiamond
|
t2_9ae9f
|
But remember "I have a problem. I will use regular expressions. I now have two problems."
When I first started playing with Java, in the 2.0 days I think, I discovered the socket and re bits and tried to make a basic web browser. I tried to parse html with REs and never made it work because finite state machines don't work that way.
Like giving a baby a gun, telling people about stuff like REs too early is a bad idea
| null |
0
|
1545048189
|
False
|
0
|
ebz1ajv
|
t3_a6ufoy
| null | null |
t1_ebywgg3
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz1ajv/
|
1547720452
|
25
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543880982
|
False
|
0
|
eb1a5sr
|
t3_a2s08c
| null | null |
t1_eb0q2au
|
/r/programming/comments/a2s08c/the_little_typer_lets_learn_about_dependent_types/eb1a5sr/
|
1546387327
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
pastenpasten
|
t2_18l50d7e
|
+1000
"I didn't know that how I look affects what people think of me."
| null |
0
|
1545048216
|
False
|
0
|
ebz1b4y
|
t3_a6nfgh
| null | null |
t1_ebxy609
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz1b4y/
|
1547720460
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
alexfransis
|
t2_l01ox
|
Nice job
| null |
0
|
1543881130
|
False
|
0
|
eb1abl1
|
t3_a2lrrh
| null | null |
t1_eb0io2s
|
/r/programming/comments/a2lrrh/developer_on_call/eb1abl1/
|
1546387399
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
combinatorylogic
|
t2_iab4d
|
You don't know much about the real world, do you?
| null |
1
|
1545048250
|
False
|
0
|
ebz1bww
|
t3_a6nfgh
| null | null |
t1_ebxnhjx
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz1bww/
|
1547720469
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
fp_weenie
|
t2_2e56j0fa
|
> A lag free electron app takes the same care and design work as a native one with similar levels of responsiveness.
I don't think that's true.
| null |
0
|
1543881171
|
False
|
0
|
eb1ad81
|
t3_a2b8u4
| null | null |
t1_eb11qa2
|
/r/programming/comments/a2b8u4/flutter_on_desktop_a_real_competitor_to_electron/eb1ad81/
|
1546387420
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
venuswasaflytrap
|
t2_3g78x
|
Probably, what you want to find is *disproportionately* used words by subreddit, rather than commonly used word.
| null |
0
|
1545048350
|
False
|
0
|
ebz1e62
|
t3_a6ufoy
| null | null |
t3_a6ufoy
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz1e62/
|
1547720497
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
flukus
|
t2_3855p
|
> It depends on where the problem is in the system. Programmers are great at finding the root cause when it is code related;
Great at finding the root cause when they can test things in isolation and a stress free environment with a coffee and a debugger at my side. Not with 8 managers asking for status updates while you try to patch directly in production.
Having developers on call is an organisational failure.
| null |
0
|
1543881224
|
False
|
0
|
eb1afcd
|
t3_a2lrrh
| null | null |
t1_eazljmu
|
/r/programming/comments/a2lrrh/developer_on_call/eb1afcd/
|
1546387446
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
10xjerker
|
t2_4ta3g1j
|
> There is a reason why I do not have any CoC in any of my projects or comply to any CoC.
>
No, the real reason is: your projects are not popular and there's nobody to push you into having a CoC.
| null |
0
|
1545048468
|
1545155850
|
0
|
ebz1gs7
|
t3_a6i85m
| null | null |
t1_ebwpia7
|
/r/programming/comments/a6i85m/openjdk_bug_report_complains_source_code_has_too/ebz1gs7/
|
1547720529
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
daidoji70
|
t2_4k68g
|
That sucks. On call rotations need to include everyone (that's kinda the point) imo and if people can't hack it they shouldn't be there. Obviously these two classes (data scientists and frontend) engineers are gonna be a little worse at it, but if you're having an issue the on-call person needs to take care of more than every quarter, then something is probably wrong anyways. One of my personal pet peeves is "data scientists" who can't program and don't understand the stack. They're borderline useless in every experience I've ever had to work with them and they typically don't make up for it with understanding of their area of expertise.
&#x200B;
Source: am a data scientist who constantly has to do programming work because other data scientists aren't good at their jobs.
| null |
0
|
1543881539
|
False
|
0
|
eb1as03
|
t3_a2lrrh
| null | null |
t1_eaznyoa
|
/r/programming/comments/a2lrrh/developer_on_call/eb1as03/
|
1546387601
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
BobDogGo
|
t2_iuvjr
|
After being in the business for 20+ years, I've really taken documentation to heart. It came from me having to maintain my own systems which In my current job can be 5+ years old. I think of it as letters to my future self.
| null |
0
|
1545048496
|
False
|
0
|
ebz1hf9
|
t3_a6nfgh
| null | null |
t1_ebwwb7q
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz1hf9/
|
1547720537
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
lelanthran
|
t2_pnmpo0f
|
I've got my original Watcom C/C++ compiler CD. It also installs a wasm.exe compiler.
| null |
0
|
1543881947
|
False
|
0
|
eb1b8sv
|
t3_a2m3hj
| null | null |
t1_eb02u03
|
/r/programming/comments/a2m3hj/original_sources_of_ultimate_tapan_kaikki_90s/eb1b8sv/
|
1546387839
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
hennell
|
t2_2h8d6
|
You are aware the use of PHP here has little to no significance on the questions posed right?
>`Period::make('2018-12-25', '2018-12-27', '[)');`
>
>`If you're in to mathematics, this makes perfect sense.`
>
>Nope, sorry - PHP code does not make any sense to me at all whatsoever.
If you really struggled comprehending that at an abstracted level you've got more problems then PHP. It's essentially **make**ing a **Period** with two dates as arguments then some brackets in a string. The discussion is about the usability of those final brackets, how the object and instancing works is irrelevant.
If it helps the java version could be:
`new Period('2018-12-25', '2018-12-27', '[)');`
Which could have the exact same argument and thus a decision on if it should be '\[)' or Period.LEFT\_OPEN\_RIGHT\_CLOSED; etc.
| null |
0
|
1545048632
|
False
|
0
|
ebz1ki7
|
t3_a6yfv9
| null | null |
t1_ebyzcsn
|
/r/programming/comments/a6yfv9/readability_is_relative/ebz1ki7/
|
1547720575
|
10
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
merkle-root
|
t2_2h2d98lo
|
The deleted comment I replied to claimed that O(1) can't possibly refer to an algorithm that takes a long time. So I gave an example of an O(1) algorithm that does. For a modern CPU, the time would be something like 10^150 years.
| null |
0
|
1543882105
|
False
|
0
|
eb1bf6q
|
t3_a281dl
| null | null |
t1_eb193sl
|
/r/programming/comments/a281dl/nphard_does_not_mean_hard/eb1bf6q/
|
1546387918
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
CyberConCoder
|
t2_16ylmw
|
The whole point is that he made this predominantly on a cheap Chromebook and actually created something pretty polished. ChromeOS has come very far over the past few years and can actually work for developers very well now, and this is a testament to that point.
| null |
0
|
1545048724
|
False
|
0
|
ebz1mls
|
t3_a6v4yh
| null | null |
t1_ebyow4n
|
/r/programming/comments/a6v4yh/one_of_my_friends_created_this_super_cool_and_fun/ebz1mls/
|
1547720601
|
-1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
psychicsword
|
t2_3fsk5
|
Then there are tons of both where the salary is just ok. Not good and not bad.
| null |
0
|
1543882220
|
False
|
0
|
eb1bju4
|
t3_a2p0j9
| null | null |
t1_eb05kpu
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb1bju4/
|
1546387976
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
kukiric
|
t2_8y4hu
|
"xs" always confused me when I started reading stuff like quicksort pseudocode. It took me a while until I figured out it just means "x" in plural, as in, a list of unnamed things. And this is why proper variable naming is important.
| null |
0
|
1545048737
|
False
|
0
|
ebz1mxy
|
t3_a6ufoy
| null | null |
t1_ebyywqq
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz1mxy/
|
1547720605
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1543882599
|
False
|
0
|
eb1bzb5
|
t3_a2p0j9
| null | null |
t1_eb0803b
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb1bzb5/
|
1546388167
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
meltingdiamond
|
t2_9ae9f
|
Is this so where ever this person is and Baltimore both have the average IQ go up or something?
| null |
0
|
1545048778
|
False
|
0
|
ebz1nw0
|
t3_a6ufoy
| null | null |
t1_ebytf24
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz1nw0/
|
1547720617
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
warchestorc
|
t2_aitruty
|
Why is it so expensive?
| null |
0
|
1543882724
|
False
|
0
|
eb1c4dl
|
t3_a2lrrh
| null | null |
t1_eb10kqf
|
/r/programming/comments/a2lrrh/developer_on_call/eb1c4dl/
|
1546388229
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Pvt_Haggard_610
|
t2_azq5w
|
You didn't post [This question](https://www.reddit.com/r/learnpython/comments/9u9qbk/praw_removing_carriage_return_paragraph_break/) on /r/learnpython did you?
| null |
0
|
1545048862
|
False
|
0
|
ebz1pr5
|
t3_a6ufoy
| null | null |
t3_a6ufoy
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz1pr5/
|
1547720640
|
0
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
imhotap
|
t2_13wrff
|
Well, technically, the use of the XML-style `<img />` empty tag wasn't possible until XHTML became available in 2000, and SGML-style `<img>` without the bogus `/` is still the canonical form today. Speaking of which, SGML has HTML-aware, injection-free text escaping since 1986.
| null |
0
|
1543882734
|
False
|
0
|
eb1c4rr
|
t3_a2p24m
| null | null |
t3_a2p24m
|
/r/programming/comments/a2p24m/securing_your_site_like_its_1999/eb1c4rr/
|
1546388234
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
OCedHrt
|
t2_257a4
|
A generator could actually be preferred instead of copying the data three times.
| null |
0
|
1545048927
|
False
|
0
|
ebz1ra2
|
t3_a6ufoy
| null | null |
t1_ebyzjkc
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz1ra2/
|
1547720659
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
tso
|
t2_37rbd
|
Reminds me that someone i visited had hung up a printout of Snoopy on the toilet, in ascii form, on the inside of their bathroom door.
| null |
0
|
1543882936
|
False
|
0
|
eb1cczc
|
t3_a2pser
| null | null |
t3_a2pser
|
/r/programming/comments/a2pser/the_ibm_1401_mainframe_runs_edith/eb1cczc/
|
1546388335
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Sarcastinator
|
t2_6hs1t
|
Bring back self-modifying code!
| null |
0
|
1545048927
|
False
|
0
|
ebz1raj
|
t3_a6nfgh
| null | null |
t1_ebx67f9
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz1raj/
|
1547720659
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
0polymer0
|
t2_7h5ni
|
Why do you think Lisp encourages this sort of thinking over c?
| null |
0
|
1543883409
|
False
|
0
|
eb1cwbi
|
t3_a2hpd8
| null | null |
t1_eayjfmd
|
/r/programming/comments/a2hpd8/is_lisp_a_good_language_to_start_learning_as_a/eb1cwbi/
|
1546388603
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
Paul_Dirac_
|
t2_9d9dd
|
NO!
I am currently working on a Fortran project where we basically have to use this pattern.
It is ridiculous. We have basically given up on writing declarations for functions (Fortran doesn't require this). And introducing a new type is gruesome. You don't have to only determine which files to include for your structure, but also the includes for those files. And don't get me started on diamond dependencies.
Plus his concerns are not really relevant today. A) I am not so sure that parsing is the most time consuming step anymore. B) If parsing time is a problem, use #pragma once.
| null |
0
|
1545048960
|
False
|
0
|
ebz1s2g
|
t3_a6ybiq
| null | null |
t1_ebyyfhz
|
/r/programming/comments/a6ybiq/rob_pike_notes_on_programming_in_c/ebz1s2g/
|
1547720669
|
2
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
shizzy0
|
t2_1ijce
|
The Rosetta Stone of our time.
| null |
0
|
1543883466
|
False
|
0
|
eb1cykr
|
t3_a2jrs4
| null | null |
t1_eazk2yy
|
/r/programming/comments/a2jrs4/every_clojure_talk_ever/eb1cykr/
|
1546388630
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
DoublePlusGood23
|
t2_cux81
|
all of the mean comments are rightfully down-voted and the top comment is correcting him with examples. I think this is a good example of [Cunningham's Law](https://meta.wikimedia.org/wiki/Cunningham%27s_Law).
| null |
0
|
1545048968
|
False
|
0
|
ebz1s7y
|
t3_a6ufoy
| null | null |
t1_ebyonhj
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz1s7y/
|
1547720671
|
5
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
jhol3r
|
t2_yc4so
|
Does such a place exists where estimates are not questioned by people not understanding level of work involved or lack enough software development experience to understand estimates for each task involved ??
It’s either lack of understanding of tasks involved or bullying into getting work done without paying enough.
| null |
0
|
1543883587
|
False
|
0
|
eb1d3ca
|
t3_a2p0j9
| null | null |
t3_a2p0j9
|
/r/programming/comments/a2p0j9/must_be_willing_to_work_under_pressure_is_a/eb1d3ca/
|
1546388689
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
meltingdiamond
|
t2_9ae9f
|
Medium has a publishing standard? I thought it was where crazy people yell at the sky and uses this subreddit as a seo thing.
| null |
0
|
1545049001
|
False
|
0
|
ebz1szc
|
t3_a6ufoy
| null | null |
t1_ebyze15
|
/r/programming/comments/a6ufoy/i_wrote_a_python_program_to_calculate_the_most/ebz1szc/
|
1547720681
|
3
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
wrosecrans
|
t2_a99kk
|
The last 7 years have certainly been quiet compared to the glory days in the 1980/90's when the existing CPU's were so simple that everybody making chips in a shed could wildly surpass the state of the art every year. But it's unfair to say that there hasn't been enough small improvements every year to add up to something significant.
Clock speed isn't that much higher, but it's a bit faster. (You might buy a 20 MHz CPU in 1992, but you could buy a 1 GHz CPU in 1999. About 5x, seven years later.)
IPC isn't that much higher, but it's a bit higher. (A 386 could do a 32 bit IMUL in 38 cycles. A Pentium could to it in 10. Almost a 4x improvement at same clock!)
New instructions don't add that much benefit, but there is some. (The jump from doing 8 bit operations to work on 32 bit values to having native 32 bit instructions going from 6502 to ARM-1 was huge. The latest vector instructions are impressive, but relatively few programs actually have use for them.)
But even though the gains are smaller now year by year, the compound interest adds up over the course of seven years. Like a bank account you leave alone for many years. I still use a Sandy Bridge desktop, but I could actually see a boost in performance in some things finally if I upgraded to the latest greatest system. Moore's law is taking a nap, but it's not dead. It's just like the real performance benefit we got from Moore's law in the last 7 years has just finally added up to the performance benefit we used to expect from just a year or two.
| null |
0
|
1543883692
|
False
|
0
|
eb1d7l8
|
t3_a2oxxm
| null | null |
t1_eb10nry
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb1d7l8/
|
1546388741
|
4
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
[deleted]
|
None
|
[deleted]
| null |
0
|
1545049051
|
False
|
0
|
ebz1u6n
|
t3_a6nfgh
| null | null |
t1_ebyboa0
|
/r/programming/comments/a6nfgh/things_nobody_told_me_about_being_a_software/ebz1u6n/
|
1547720695
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
geeky_username
|
t2_48dak
|
Can that be opened up? Isn't it a physical chip in the monitor?
| null |
0
|
1543884332
|
False
|
0
|
eb1dxkq
|
t3_a2oxxm
| null | null |
t1_eb17cv7
|
/r/programming/comments/a2oxxm/nvidia_physx_sdk_has_gone_open_source_3clause_bsd/eb1dxkq/
|
1546389092
|
7
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
itsuart2
|
t2_otdri
|
Why I did. My mind somehow jumped right to a hypothetical MAGIC_SYSTEM_DIRECTORY_TAG\kernel32.dll. But without it is pointless indeed.
| null |
0
|
1545049080
|
False
|
0
|
ebz1uw4
|
t3_a6qqod
| null | null |
t1_ebyln6s
|
/r/programming/comments/a6qqod/the_search_for_autoloaded_dlls_and_windows_rpath/ebz1uw4/
|
1547720704
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
progfu
|
t2_4llk6
|
Wasn't the same thing posted here last week?
| null |
0
|
1543884369
|
False
|
0
|
eb1dz2w
|
t3_a2smnh
| null | null |
t3_a2smnh
|
/r/programming/comments/a2smnh/how_to_deal_with_difficult_people_on_software/eb1dz2w/
|
1546389111
|
12
|
t5_2fwo
|
r/programming
|
public
| null |
False
|
itsuart2
|
t2_otdri
|
If it is desirable, possible and legally OK - static linking is better, indeed.
| null |
0
|
1545049226
|
False
|
0
|
ebz1ya4
|
t3_a6qqod
| null | null |
t1_ebz09yp
|
/r/programming/comments/a6qqod/the_search_for_autoloaded_dlls_and_windows_rpath/ebz1ya4/
|
1547720745
|
1
|
t5_2fwo
|
r/programming
|
public
| null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.