Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Zababa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
931.
▲
by
Zababa
5y ago
> Exiting a function immediately in case a function call fails sounds exactly like an exception. No, this would be an early return. The specificity of exceptions is that their default behavior is to bubble up through the entire stack. tr
932.
▲
by
Zababa
5y ago
Since type safety is entirely academic, you should take a look at void ( https://github.com/kyouko-taiga/void-lang ), it seems like the perfect programming language for you.
933.
▲
by
Zababa
5y ago
I'd say our conversation right here is a good example. Most people understand static typing, most people understand DI. Once you have those, the only part left to understand is the concept of capabilities. If you have all of those, you
934.
▲
by
Zababa
5y ago
> Unfortunately the more compatible you are with "V1" the more compromises you have to make. See: Kotlin, F#, TypeScript bending over backwards to maintain compatibility with the dominant language of their respective platforms.
935.
▲
by
Zababa
5y ago
Thank you for the example, that helps a lot. So for example, when you write a library that need capabilities, you would write it using dependency (capability?) injection, and then the main program would have to pass an object with that capa
936.
▲
by
Zababa
5y ago
> If you have to deselect 20 default filters and then read through the frameworks in the list to see which ones are fully featured web frameworks in order to evaluate whether a library is suitably fast for your next project it is mislead
937.
▲
by
Zababa
5y ago
This is not an anomaly. Workerman and Swoole are asynchronous PHP frameworks. Node is asynchronous by default, so Express/Koa/Fastify/NestJS are asynchronous. Starlette is an ASGI framework/toolkit, so it's asynchro
938.
▲
by
Zababa
5y ago
> That chart shows fastapi and nestjs are 2 of the fastest libraries among dynamic languages. With only JavaScript, Perl, Lua, PHP, Python and TypeScript enabled, fastapi is 64th and nestjs is 73rd, out of 136 libaries. They have a score
939.
▲
by
Zababa
5y ago
In the composite benchmark, fastapi is 75th, express (the most popular node framework) is 94th, Gin (a popular go framework) is 55th, NodeJS is 56th. In the continuous benchmarks, that you can see here [1], taking the last one that has fini
940.
▲
by
Zababa
5y ago
Do you have more to share, like resources about capability-safe languages, or your ongoing work? > This also means that object capabilities aren't "colored" like async/await, monads, or other effect systems. That'
941.
▲
by
Zababa
5y ago
We have checks in France too, they're just not very popular.
942.
▲
Generators, Iterators, Control and Continuations
(gallium.inria.fr)
1 points
by
Zababa
5y ago
|
0 comments
943.
▲
by
Zababa
5y ago
How is that an ugly hack? That looks like a reasonable solution to a reasonable problem. Counting millions of things with user-defined filters looks like a hard problem.
944.
▲
by
Zababa
5y ago
We're not losing anyone. We may not be getting them, but that's not the same thing.
945.
▲
by
Zababa
5y ago
> Did you go through all your education and training just to hit a certain number and call it quits? Yes, I don't see what's so surprising about that. Most people do the same but instead of being an amount of money, it's a
946.
▲
by
Zababa
5y ago
Not really. An appartment alone is $2000 a month according to the post. That's 24% of your income at $100k, and not even 4% at $620k. I don't know how much people in the US usually spend on rent/housing, but anything under 30
947.
▲
by
Zababa
5y ago
I don't know much about either the author or libertarian theory in general. The point in this article specifically seems sound. Is there something I missed?
948.
▲
by
Zababa
5y ago
Thanks, that's something I never heard about.
949.
▲
by
Zababa
5y ago
In France making 100k a year (pre taxes) put you in the top 3% of income. In the US it's around 10%. It's a smaller gap than I expected, but on the other hand I don't know anyone that makes 100k after college. It seems like t
950.
▲
by
Zababa
5y ago
From the article that he quotes at the start: > But it's not just team sports. Anywhere there's competition, there's practice. Musicians, golfers, skiiers, chess players, martial artists -- everyone who practices some diff
951.
▲
by
Zababa
5y ago
Thanks for the clarification. So according to their theory, I could train a model on any code, even private Microsoft code, and that would be okay? That sounds surprising to me.
952.
▲
by
Zababa
5y ago
There's a part that I don't understand. If some software is mirrored on github by someone that isn't the copyright owner, it seems like github shouldn't be able to use it. Yet they said nothing about that specifically. I
953.
▲
by
Zababa
5y ago
You're making a false equivalence between copilot and a human brain. Neural networks are programs, programs don't have the same rights as humans. Implying the opposite is even more controversial than saying that copilot should res
954.
▲
by
Zababa
5y ago
> Man differs from other animals in one very important respect, and that is that he has some desires which are, so to speak, infinite, which can never be fully gratified, and which would keep him restless even in Paradise. The boa constr
955.
▲
by
Zababa
5y ago
There's maybe some insight to be gained by analyzing the commits to see if the code seems to be made by different people. I remember that there was the same theory about a very prolific person on the npm/js ecosystem.
956.
▲
by
Zababa
5y ago
> From the point of view of language geek, I prefer Swift's approach, as it is closer to PL/I, ALGOL and Wirth's linage of languages. That's surprising, I remember that one of the specificities of Pascal and its desce
957.
▲
by
Zababa
5y ago
There was log4j the last few weeks, the malicious packages in PyPI and the ua-parser-js that was taken over. At least that's what I remember from this year.
958.
▲
by
Zababa
5y ago
1. Hosting costs are paid by Ycombinator, in exchange Ycombinator alumni can see each other(orange names I think), there are job ads for Ycombinator companies and launch threads for Ycombinator companies. dang talks about it often. 2. I thi
959.
▲
by
Zababa
5y ago
Neither of those, I'm serious. I think this approach has obvious flaws (see any discussion about what a "sane subset of C++" is), but complaining about it here while I don't even use the language would be a waste of ever
960.
▲
by
Zababa
5y ago
It's interesting how from one side Swift seems to be trying to be higher level (for example the actors) and from the other it seems to be trying to be lower level too. It's like it's developped in a world where other language
More ›