Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wruza
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
871.
▲
by
wruza
2y ago
Yes, that’s the point. The idea that you deal with errors locally doesn’t work. See also https://news.ycombinator.com/item?id=42038568
872.
▲
by
wruza
2y ago
This is actually more complex than you’d think. Just watch the playlist linked below and it will click eventually. https://youtube.com/playlist?list=PLFDE868BCF58A3950
873.
▲
by
wruza
2y ago
I see, sorry for the noise then. I’m programming since the '90s but still not sure what the correct term would be here, so, yeah. When we use exactly “pass[ing] [an argument] by reference” it usually means passing an argument by a refe
874.
▲
by
wruza
2y ago
He basically simulates jump to catch by hand. I understand the authority of Rob Pike, but don’t understand why this idea is great. Processes IRL don’t look like write() three times. They look foo(); bar(); baz(); quux();, which weren’t desi
875.
▲
by
wruza
2y ago
Isn’t the reason by chance how try-catch works lexically? I find that as another overlooked billion dollar mistake. It’s not that a happy path gets a crack in it, but the absolute monstrosity of a catch ceremony together with a scope torn b
876.
▲
by
wruza
2y ago
Go has a philosophy to be simple, and this is explicit error handling at its simplest. You deal with errors exactly where they occur. “if err != nil {return nil, err}” is the opposite of this philosophy. If you find yourself passing err u
877.
▲
by
wruza
2y ago
Lua is absolutely pass by value. You’re probably mixing container values with by-reference, that is a common mistake. Pass by reference means that an assignment to an argument updates the variable at the call site, e.g.: local x = 0 f
878.
▲
by
wruza
2y ago
The point of summarizing is to condense the substance for potentially hundreds of readers into a sensible set of ideas in a couple of paragraphs. Any wise listener will stay away from talks that need full half an hour to stay “persuasive”.
879.
▲
by
wruza
2y ago
Pretty obvious thoughts? Modern internet society tends to oversell everything of small interest tenfold. Idk why exactly he hates the hype cycle, but for me it is the complete unsearchability of the topic. You can’t find anything because ev
880.
▲
by
wruza
2y ago
There’s a whole “fingertip moistener [pad]” thingy if you need it often. Cashiers and secretaries often use them at work.
881.
▲
by
wruza
2y ago
I am not respectful of excel at all, true. I could see your perspective, if it wasn’t a client who comes by itself(!) begging to do something with their spreadsheets cause key roles spend all day maintaining these, blocking further growth o
882.
▲
by
wruza
2y ago
We have concluded that we likely live in a reality where simulations are impossible, yet our entire argument is predicated upon the assumption that simulations are possible. These kinds of contradictions deserve more attention and I see n
883.
▲
by
wruza
2y ago
import {glob} from 'glob' await glob('**/*.mdx')
884.
▲
by
wruza
2y ago
Therapists suggest writing whatever is on your mind, including thoughts about the process itself, unfiltered. E.g. basically start with an F and how you hate all this bs and everything. If journaling itself is an issue, address it first. It
885.
▲
by
wruza
2y ago
Not sure why you’re assuming the worst of me here.
886.
▲
by
wruza
2y ago
I don’t think it’s fixable. Excel enables chaotic “development” and it just happens. In the end we either left them with a system they ordered or bailed out cause it wasn’t worth it. Edit: to clear misunderstandings, I didn’t fix their spre
887.
▲
by
wruza
2y ago
And does this get accepted in any western state? What do you mean “accepted”? Is it illegal to learn in a country even if it’s a dictatorship? Last two Kims and The Sister got education in Europe, btw. New kids will do so too and then wil
888.
▲
by
wruza
2y ago
Excel is king of cancer that you’ll implore to cut out once you realize it slowly kills your business. A perfect trap for novice entrepreneurs. 30% of my jobs when I was in integration was unfucking folders of folders of irregular xls built
889.
▲
by
wruza
2y ago
Getting art is in a large part being overly impressible and seeing things. One guy may create a joke under some influence and thousands will interpret it through time as something daring mind-blowing meta-deepness. Humans just tend to do th
890.
▲
by
wruza
2y ago
Idk, personally I see no reason for it to top it. IMO, it's a tenacious stereotype complex enough to stay unquestioned by most. And propagated by the same principle. These exist and can live for decades if ok enough.
891.
▲
by
wruza
2y ago
Many people love React for its speed Compared to what? On which sites? Maybe it's me, but I don't find Instagram particularly speedy, especially on new tab loads. It's heavy af in fact and sometimes can not load at all. Als
892.
▲
by
wruza
2y ago
It works in the same sense that you try asking a stranger for directions and he wraps you into a fishing net and drags you to the nearest mall whose name resembles your question if shouted into a bucket.
893.
▲
by
wruza
2y ago
This simply equates OOP to all sorts of antipatterns, which can be done for any paradigm. “Look at all these functions and imports”, “look at all these types”, “this big switch is slow and error-prone”. Thing is, if you have polymorphism in
894.
▲
by
wruza
2y ago
So basically it’s a presentation problem. We want to control code at the call site, boilerplate helps with that by being locally modifiable. We also want to systematize chunks of code so that they don’t flicker around and mess with a reader
895.
▲
by
wruza
2y ago
At its scale google could just hire a big group of diverse internet-aware professionals (two of each kind) who would do random searches and simply manually ban sites that restyle or spam content. It’s absolutely easy for a searcher to tell
896.
▲
by
wruza
2y ago
Sometimes I lose track of a bookmark and google a phrase from it verbatim and in quotes. Guess what I get most of the times? Not even a verbatim search spam, just nonsense with almost no original words. It doesn’t even try and I doubt it ev
897.
▲
by
wruza
2y ago
Yes, all tools freeze for much longer when it comes to webp output.
898.
▲
by
wruza
2y ago
Not unique to AI, honestly. If I try to watch a technical review on a smartphone, they’ll still talk about camera megapixels, screen size/brightness, corners, etc. No one talks about scroll sensitivity and jankiness, [bad] position o
899.
▲
by
wruza
2y ago
I process large amounts of images for sd and also do simple graphics work sometimes. Webp saves some space but is slow af at saving, like 10-50x slow. So not even remotely a good tradeoff. Reading is fine, afaict.
900.
▲
by
wruza
2y ago
Also use a chair with at least “multi block” (changes seat/back angle when swaying).
More ›