Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
friedman23
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
friedman23
4y ago
I'm a current ORM user, specifically Prisma. And it's nice that it gives me type checking but the CRUD actions and the programmatic interface are not the real reason I use it. I use it as a tool for declarative schema management,
32.
▲
by
friedman23
4y ago
The problem is not fentanyl prescriptions, it's fentanyl being slipped into other drugs. I imagine for a drug user this could be a life saver.
33.
▲
by
friedman23
4y ago
> weren't contributing anything meaningfully positive to the city to begin with Only money
34.
▲
by
friedman23
4y ago
San Francisco is not the only major city that suffered a pandemic. Why did people decide to leave San Francisco at much higher rates than any other major city? The pandemic is what catalyzed the event by giving people the ability to move. B
35.
▲
by
friedman23
4y ago
> San Francisco empowered some of the most wealthy people not only in the US currently but in all human history Bullshit, they could've done it anywhere else, it just happened to be there. The idea that "San Francisco" emp
36.
▲
by
friedman23
4y ago
Threejs apparently
37.
▲
by
friedman23
4y ago
I'm doing this and am starting with Linear Algebra on MIT OCW (taught by Gilbert Strang). My current plan is to relearn Linear Algebra, Calculus, Probability, and Statistics and actually focus on retaining the knowledge in my memory us
38.
▲
by
friedman23
4y ago
The complexity exposed by Rust is overwhelming for people that haven't done any low level programming. It's not just lifetimes, a basic Rust function can expose the ideas of exclusive and non-exclusive ownership, traits, generics
39.
▲
by
friedman23
4y ago
I consider footguns to be things that cause me to waste a ton of effort and build architecturally unsound code. The things in the article are actually just basic language concepts you need to understand to be productive. So to use the foot
40.
▲
by
friedman23
4y ago
The book "Programming Rust" (very good book btw) only mentions iter() and iter_mut() briefly and focuses on into_iter because the IntoIterator trait only implements into_iter. You can replicate iter() with `(&x).into_iter()` a
41.
▲
by
friedman23
4y ago
I'll share an architectural pattern from Rust that is pretty ubiquitous but not really mentioned in the official books. Skip the whole weak rc nonsense and jump directly to using an allocator (like slotmap) when dealing with cyclic dat
42.
▲
by
friedman23
4y ago
Nothing's perfect and often when there are platform inconsistencies like that someone abstracts the functionality away in a package so the application developer doesn't need to worry about it. I'd rather have 80% code sharing
43.
▲
by
friedman23
4y ago
Ok, you decouple UI from business logic, have some state machine written in language X let's say that can compile ios, android, and wasm and allows for interop with the kotlin, swift, and js. Even then, the view code is often the most
44.
▲
by
friedman23
4y ago
The abstraction doesn't have to be perfect. Most apps don't even take advantage of native platform functionality.
45.
▲
by
friedman23
4y ago
I was just using the original poster's language when I was referring to "shitty inefficient software". I'll say it does bother me that we are standardizing on typescript with react being the default for cross platform de
46.
▲
by
friedman23
4y ago
Get ready for AR apps written in react native. The reason we have shitty inefficient software is because Apple, Google, and Microsoft haven't standardized on a performant cross platform framework other than the browser. Don't blam
47.
▲
by
friedman23
4y ago
The battery life is amazing. But just as amazing is that my hands don't sweat when using my laptop anymore because it doesn't get anywhere near as hot as other laptops when under load.
48.
▲
by
friedman23
4y ago
Other companies haven't even figured out how to get a trackpad as good as Apple's. If they can't even get the trackpad right there's no hope.
49.
▲
by
friedman23
4y ago
But this isn't marketing, it's a review with battery life benchmarks with a variety of scenarios...
50.
▲
by
friedman23
4y ago
I just pay apple for insurance and they replace my battery at no additional cost. And if I ever spill water on the laptop or damage it in any other way that's my fault they replace it for a fraction of the actual cost of the thing.
51.
▲
by
friedman23
4y ago
What about a dating site that only charges the user once they stop visiting the site? Put some ads on it too so that if people try to game the system by visiting it often they get money from ad impressions.
52.
▲
by
friedman23
4y ago
> Citations needed. What citations are needed? This is obviously materially different than you finding some vhs that you can only watch at specific times when your parents aren't home. Children have unlimited access to every single
53.
▲
by
friedman23
4y ago
Pornographic content is too accessible. It's impossible for the parents to police this, there will always be one kid with negligent parents that will expose other children to this crap. We are talking 10 year olds here, it's alrea
54.
▲
by
friedman23
4y ago
I agree with you. I think the response you are getting is from people that have not seen how kids are being exposed to porn at younger and younger ages. We are doing an insane social experiment on the next generation because this kind of ac
55.
▲
by
friedman23
4y ago
I don't know about the implementation here but it's too easy for young people to access pornography. I know teachers and I hear horror stories of 10 year old boys being caught in the bathroom watching elderly porn. It just seems i
56.
▲
by
friedman23
4y ago
It's only not as good because web is purposefully crippled.
57.
▲
by
friedman23
4y ago
I agree, one book I recommend that does this for computing is "Code: The Hidden Language of Computer Hardware and Software"
58.
▲
by
friedman23
4y ago
> If nobody is willing to pay for your product, maybe it shouldn't exist? Hm, so you think it's better for the world for poor people to not have access to information via tools like Google? I think the fact that you need to use
59.
▲
by
friedman23
4y ago
I never knew that, absolutely hilarious. I find that internet forums are just terrible all around. Moderating is an extremely important but thankless and unpaid job. So (with rare exception) the only people that do it are completely irratio
60.
▲
by
friedman23
4y ago
> Worker cooperatives exist and are perfectly functional and successful Ha sure. Ok, which brand of socialism do you support and why? Socialism is a sad joke, socialists group under a banner that does not even exist in reality. Socialism
More ›