Readit News logoReadit News
Tehdasi commented on Building a highly-available web service without a database   blog.screenshotbot.io/202... · Posted by u/tdrhq
Tehdasi · 2 years ago
Hmm, but the problem with having in-memory objects rather than a db is you end up having to replicate alot of the features of a relational database to get a usable system. And adding all these extra features you want from those dbs end up making a simple solution not very simple at all.
Tehdasi commented on Scrum is a cancer   twitter.com/svpino/status... · Posted by u/curiousgeek
alphazard · 3 years ago
Typical Scrum apologist who describes how someone else must have screwed up Scrum or Agile. They then claim that pure "Scrum" or "Agile" has never been implemented anywhere.

If only people weren't so ignorant, we could give pure Scrum a try and solve all the world's problems.

Tehdasi · 3 years ago
> They then claim that pure "Scrum" or "Agile" has never been implemented anywhere.

They are right, however the conclusion that should be drawn from this is that the most likely outcome of your organisations implementation of agile will be equally as poor, and that it should prolly be skipped.

Tehdasi commented on Human Shader   humanshader.com... · Posted by u/bpierre
justusthane · 3 years ago
I don’t know anything about shaders, so forgive the question.

My understanding from looking at the worksheet is the person who created the target image has created three separate formulas (depending on the area of the image), that when you feed in the X and the Y coordinates, it spits out the correct RGB value for that pixel. Is that correct? That’s wild.

Tehdasi · 3 years ago
Basically, yes. A shader is basically a function which passes in the x,y coords and spits out a color, and this is done for every pixel on the screen.

So a simple shader would be something like (in pseudo code):

function shader( x, y ) { if( x > 0.5 ) return white; else return black; }

would color one half of the screen black, and the other white.

Tehdasi commented on Vale's first prototype for immutable region borrowing   verdagon.dev/blog/first-r... · Posted by u/modernerd
dataflow · 3 years ago
You never use the heap?
Tehdasi · 3 years ago
I dunno about the GP, but it's a JPL guideline to never use dynamic allocation after initialization. So it's not unthinkable. I'd suspect that many microcontroller programs might have to be really careful about using the heap just because they just don't have the memory to allocate that much. https://www.perforce.com/blog/kw/NASA-rules-for-developing-s...
Tehdasi commented on A FactoryFactoryFactory in Production (2017)   stevenheidel.medium.com/a... · Posted by u/fragmede
personjerry · 3 years ago
The story kinda ends at its climax, and abruptly ends upon reaching the `class EventFactoryFactoryFactory` and fails to explain why it was needed or what it did, concretely
Tehdasi · 3 years ago
That's the punchline, nobody knows what it does or why it was needed.
Tehdasi commented on Most tech content is bullshit (2020)   aleksandra.codes/tech-con... · Posted by u/udev4096
jackfoxy · 3 years ago
> Tutorials show harmful patterns.

Try to find a sample SQL database, for any vendor, that does not employ artificial table primary keys. This was a requirement in the 1980s so that your queries would execute before the heat death of the universe, but that has not been the case for decades. Microsoft is particularly guilty of this. Artificial keys are an anti-pattern. (And, btw, there's a dearth of literature on why artificial keys are an anti-pattern.)

Here's the only sample database I know of that consistently uses natural keys across all tables, created by a SQL educator who knows his stuff.

https://github.com/ami-levin/Animal_Shelter

Tehdasi · 3 years ago
Never specifically heard about this terminology until now, but after looking, yeah, I can see why ppl prefer 'artificial' keys to natural ones. From the animal shelter example, for people it uses email as the 'natural' key, which immediately runs up against 1,2,3 and 7 in https://beesbuzz.biz/code/439-Falsehoods-programmers-believe...
Tehdasi commented on I hate almost all software (2011)   tinyclouds.org/rant... · Posted by u/Decabytes
BobbyJo · 3 years ago
The software serves the business' bottom line period.

The user only matters in so far as the keep coming back and paying money (or attention, which is also money).

Developer experience only matters in so far as it keeps costs low, creating better margins.

If that sounds kind of gross to hear, it's because it is. Businesses are made up of people. Customers are people. Every interaction on both sides of the equation should take that into account. If you ruthlessly maximize like the human part doesn't exist, your optimization strategy will fail.

Tehdasi · 3 years ago
"The software serves the business' bottom line period."

Making big assumptions about what the software project here. Given the article was mostly complaining about software developed for developers by developers, I don't think we can blame the suits for this one.

Tehdasi commented on Why F# evangelism isn't working (2015)   ericsink.com/entries/fsha... · Posted by u/luu
local_crmdgeon · 3 years ago
Agreed. Tweaks: I don't think C++ is going to be relevant for much longer, Rust solves the problem space better.

Python ... maybe? It's so different than the rest, I can see it going the way of Ruby once AI bindings improve in other languages. I can also see Julia dominating the AI space.

The "better than X" languages though? C#, F#, Scala? Done. I don't even hear about Kotlin that much anymore, Java is starting to adopt the good stuff from them.

Tehdasi · 3 years ago
> Agreed. Tweaks: I don't think C++ is going to be relevant for much longer, Rust solves the problem space better.

I would say that in the domain of game development C++ (which is where I'm guessing that most new C++ development is done) has such a moat that Rust in it's current form will not be able to displace it.

Tehdasi commented on SFUSD's delay of algebra 1 has created a nightmare of workarounds   sfexaminer.com/forum/put-... · Posted by u/hnburnsy
slackerchews · 3 years ago
**DISCLAIMER: The numbers don't add up, someone's numbers are wrong see Jesson's child comment

>US is below the mean for average mathematical performance and this isn't helping.

This depends on whether or not you control for race [0]:

- Asian (556)

- White (531)

- Hispanic (481)

- Black (448)

- Mixed Race (501)

Despite the euroworship in this thread, White-American and Asian-American students outperform Europeans and Asians, respectively (although I don't have data that breaks down those countries' scores by race, so take this with a grain of salt). Quite interesting how people in this thread (whom I suspect are mostly white- and Asian- American males given the hours/site) are talking about how bad the US education system is and how their European friends were all learning Riemann sums in kindergarten.

The system is only failing black and hispanic students. Really tough problem to solve, but the data does not support the conclusion that the American maths education system is "behind" or "failing" as a whole. I would also like to see the scores stratified by income, which my linked paper did not provide.

[0]: https://nces.ed.gov/surveys/pisa/pisa2018/pdf/PISA2018_compi...

Tehdasi · 3 years ago
I'm sure in every educational system you can use some form of metric to exclude low SES students and conclude that the system isn't behind or failing.
Tehdasi commented on Disqualified from a National Web Design Competition for Using GitHub   medium.com/@shiloholotu/d... · Posted by u/101008
Tehdasi · 3 years ago
> Rules are rules are rules, and they must be followed,

Contra, "rules" are only effective when they are enforced, and when push comes to shove, most of the keepers of the rules will just discard them when it gets in the way of things they really care about.

Getting the enforcers of stupid rules to waive away rules so things can get done is a valuable skill in anyone's tool chest.

In the article's case, the teacher was being a pain. He didn't consult the team when the disqualifying issue was found, nor did he consult with the TSA to clarify or get an exemption from the rule. The real lesson is to avoid or work around these types of people in any endeavor, they don't want to work with ppl to advance the cause of their organisation, they just love their rules.

u/Tehdasi

KarmaCake day230December 28, 2017View Original