Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ptrwis
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ptrwis
2mo ago
Not the OP, but yes - just imagine a web server talking to DB over one connection without any connection pooler
2.
▲
by
ptrwis
5mo ago
When you pair-programming with AI, even Haiku is very good. Just treat is as you assistant.
3.
▲
by
ptrwis
6mo ago
I'm currently writing simulations of trading algorithms for my own use. I'm using worker_threads + SharedArrayBuffer and running them in Bun. I also tried porting the code to C# and Go, but the execution time ended up being very s
4.
▲
by
ptrwis
6mo ago
You can fix you code 10 times you will fix it.
5.
▲
by
ptrwis
7mo ago
I'm saying Haiku isn't that bad, it's good enough for my needs, and it's the cheapest one. Maybe it's because I'm giving it small, well defined tasks.
6.
▲
by
ptrwis
7mo ago
I also use Haiku daily and it's OK. One app is trading simulation algorithm in TypeScript (it implemented bayesian optimisation for me, optimised algorithm to use worker threads). Another one is CRUD app (NextJS, now switched to Vue).
7.
▲
by
ptrwis
8mo ago
I mean, aren't system calls thread-safe?
8.
▲
by
ptrwis
8mo ago
Doesn't (honest question) the operating system kernel prevent data races in memory accesses at the level of system calls like brk? I wonder at what level the operating system handles such things?
9.
▲
by
ptrwis
11mo ago
What do you think, there are milions of people or companies running NetBSD on 486 to protect the planet from e-waste? How many times have you replaced your phone with a newer model in the last 10 years?
10.
▲
by
ptrwis
1y ago
Maybe in the future, if the language has very good AI support, security guarantees of the language won't be as important, as it (ai) will find potential bugs well enough. This may be the case with Zig, as the language is simple and con
11.
▲
by
ptrwis
1y ago
For me it is natural that since the desktop environment is the most important part of the desktop operating system, it should have its own distribution.
12.
▲
by
ptrwis
1y ago
For some background, it is now a single guy paid by Microsoft to work on implementing async direct I/O for PostgreSQL (github.com/anarazel)
13.
▲
by
ptrwis
2y ago
Maybe such operators for basic linear algebra (for arrays of numbers) should be just built into the language instead of overloading operations. I'm not sure if such a proposal doesn't already exists.
14.
▲
by
ptrwis
2y ago
With comp-time reflection you can build frameworks like ORMs or web frameworks. The only trade-off is that you have to include such a library in the form of source code.
15.
▲
by
ptrwis
2y ago
let name = $state('blastonico')
16.
▲
by
ptrwis
2y ago
SQLite for embedded or desktop apps.
17.
▲
by
ptrwis
2y ago
Durable Objects have a bit weird programming model for me, I hope this one will be easier.
18.
▲
by
ptrwis
3y ago
In my experience, long polling is more stable and you can enable transfer compression. Maybe it would be good in Blazor to disable the persistent connection completely, having only requests and responses. Often we just want to call a backen
19.
▲
by
ptrwis
3y ago
In DDR5 you have two memory channels per module.
20.
▲
by
ptrwis
3y ago
If you care more about development experience than users, that's fine, but in the case of SPA, JS frameworks will be faster and lighter. For me the problem with TypeScript is not the language, JS/TS are fine for me, the problem is
21.
▲
by
ptrwis
3y ago
My applications run on intranet/VPN behind IIS with Windows Authentication. If not WA, I would always choose Blazor Wasm, it gives you more control over what you do. When building internal applications, you can make many assumptions -
22.
▲
by
ptrwis
3y ago
You can, but then JavaScript frameworks or "old" SSR/MVC are just better.
23.
▲
by
ptrwis
3y ago
On the other hand, remote work is very popular today, but if employees want to work remotely, it's their problem to have a good internet. I tested the Blazor server on a poor cellular network where packets could be lost or there were r
24.
▲
by
ptrwis
3y ago
In Blazor Server, for things like drag and drop or any mouse movement events, you should avoid tying them to server-side handlers, but you can also just write JavaScript code. The backend needs to know what to render, not necessarily where,
25.
▲
by
ptrwis
3y ago
Blazor is not intended for websites, it is intended for enterprise, intranet CRUD applications with interactive forms, tables, etc. Especially if you already have .Net on the backend. I just finished one such application on Blazor Server an
26.
▲
by
ptrwis
3y ago
This is cool, Svelte5 may be the lightest signal-based library. I hope that the old, outdated things mentioned at the end of the article will be finally removed in the future. I like it's API for signals more than in SolidJS returning
27.
▲
by
ptrwis
3y ago
> Except Spring also has its own way of doing beans, people keep forgeting about it. “Bean” is a broad term. It certainly didn't have a container to run standalone modules as ejb-jars. Spring is just a framework, not an application
28.
▲
by
ptrwis
3y ago
By my earlier statement I meant that the old JavaEE application servers with standalone EJBs deployed as ejb-jars and JMS were good infrastructure while now JavaEE tries to become the next SpringBoot. In .Net I would prefer to have applicat
29.
▲
by
ptrwis
3y ago
Because it's tries to follow trends. The tech is not driving sales guys, they are driving the tech.
30.
▲
by
ptrwis
3y ago
I don't know, but maybe these application servers are certified in some way so that they can be used in the right places that require certification (I'm guessing, not sarcastic)? Which would make sense, but some people host applic
More ›