Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eyegor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
151.
▲
by
eyegor
3y ago
Depending on how far in you are, starlite/litestar has good documentation and offers another "batteries included" framework. Performance wise it's about the same and the stack is about the same. Fastapi suffers from the
152.
▲
by
eyegor
3y ago
Does the zig compiler have many fancy bits? I was under the impression the c support was a "nothing special" compiler that punted to llvm for optimizations.
153.
▲
by
eyegor
3y ago
Hmm I don't remember if we did dom manipulation in there. It was definitely used for video streaming though. There's a good chance we only used it for mjpeg and canvas shenanigans.
154.
▲
by
eyegor
3y ago
I can tell you that it still works in chrome, this method was used by one of my coworkers as a quick and dirty hack until we had time to implement a real solution for data streaming. It worked fine in all major browsers ~2 weeks ago.
155.
▲
by
eyegor
3y ago
I wish sqlite was performance focused. Perf is pretty much always worse than a db server, even after tuning the pragmas (the way it locks tends to limit single threaded perf and concurrency). Main benefit of sqlite is just its portability s
156.
▲
by
eyegor
3y ago
Sorting is pretty common in the numerics world because a lot of algorithms or techniques can be optimized heavily with sorted inputs. You either get to skip steps or bisect the dataset. Sort of like how most fast fft implementations will ru
157.
▲
by
eyegor
3y ago
Unfortunately this is not true in numerics. Lots of stupid heavy cfd/fea type workloads parellize well but aren't gpu accelerated. The reasons aren't clear to me, but a lot of the popular solvers are cpu only and involve most
158.
▲
by
eyegor
3y ago
Just self host the community edition of gitlab. It's miles better than gitea. It's got ci pipelines, it's got a pretty robust issue tracker, it's got wiki pages, it'll integrate with ldap/ad for authentication,
159.
▲
by
eyegor
3y ago
You might be surprised to learn that dell "hpc engineers" (or maybe HPE?) have attempted to sell me hardware using that exact logic to compare servers.
160.
▲
by
eyegor
3y ago
People should really avoid the hype in most cases, mojo is basically its own language right now despite its "python superset" marketing bs. It's vaguely like python except for: no classes, no list/dict comprehensions, no
161.
▲
by
eyegor
3y ago
Although that's garbage for factual tasks, the creative writing behavior is a perfect fit for fleshing out dnd characters for example. On the other hand, Google is a search/ad company... I'd think they'd be the most inte
162.
▲
by
eyegor
3y ago
Requirements feels like a dirty hack but it does work fine. It has ==, ~=, and >= for version numbers, as well as allowing you to flag dependencies for different target os, etc. And then you can add setup.py if you need custom steps. But
163.
▲
by
eyegor
3y ago
How are the spice integrations for kicad now? I haven't used it in probably 10 years so I'm not sure where it's at anymore. I also had trouble using it for laying out traces where length/resistance was critical (high fre
164.
▲
by
eyegor
3y ago
CUDA had a lot of inertia and opencl brought half baked docs and half baked support out of the gate. If they had focused on simplifying their api to be more user friendly for the 80% use case it could've been a success. Opencl always l
165.
▲
by
eyegor
3y ago
Yes, the sqlite defaults are quite terrible out of the box. I'm not sure why they never changed them, it will start choking at 5k inserts where other dbs can do 100x that (and so will sqlite in wal and a few other settings). Getting it
166.
▲
by
eyegor
3y ago
Unfortunately I don't control all of the clients and I'm using self signed certs now. It's just a hassle having to explain to non cs folks how to click past the unsafe prompt which looks to them like an error. Meanwhile I can
167.
▲
by
eyegor
3y ago
The service/webserver is running on the device, and clients connect via let's say a cell phone to the devices wifi network. The client talks to the webserver via a wifi network from the device. I don't think there's any
168.
▲
by
eyegor
3y ago
Since you seem familiar with it, do you think it's possible to run a webrtc connection over http in a modern browser? I tried for a while to make this work but I gave up because it seemed like in js land it tries to use the getUserMedi
169.
▲
by
eyegor
3y ago
Yeah but google also became wildly successful to the point that they blow money on ventures with no real businesses plan and give up two years later when they can't turn a profit. They effectively have a blank check at all times. They&
170.
▲
by
eyegor
3y ago
$10k is kind of a crime for individuals. For businesses, absolutely, high prices for critical tools with support contracts is a no brainer. I just about coughed up a lung when I heard how much my company pays for 2 floating licenses of spec
171.
▲
by
eyegor
3y ago
Depending on your needs, there are a lot of alternatives now. Orange pi or rock boards are fairly similar but much more powerful than the rpi. However they don't compete in the pi zero class, they compete with the higher spec pi boards
172.
▲
by
eyegor
3y ago
So why would someone choose observable plot over other libraries, for example chartjs? I don't see any comparisons or arguments in the docs [0] that acknowledge the other big js charting libraries. If you want specifics, I tend to use
173.
▲
by
eyegor
3y ago
Not sure, I think I've only used the version they distribute on pip. Which can be a bit obnoxious if you have to build the python cryptography package for your target os/platform but if you don't it's a fairly minor inst
174.
▲
by
eyegor
3y ago
Certbot is practically a one liner in a cron job once you fill out the config.
175.
▲
by
eyegor
3y ago
Ruff [0] is the best linter around for performance but I'm not sure how well it fills the static analysis role. It has a vscode extension which updates the linting with no noticeable lag but it isn't a full fledged type checker. T
176.
▲
by
eyegor
3y ago
Deluge still works the best in my opinion, and it's open source. Not super popular though, most people use the *torrent named clients.
177.
▲
by
eyegor
3y ago
You're protecting your inputs and outputs. If you have a model that's designed to run with sensitive data but you want to don't have the compute power to run it locally, what do you do? Putting the model on a cloud provider m
178.
▲
by
eyegor
3y ago
Despite ~60 years of updates, the fortran language still isn't case sensitive.
179.
▲
by
eyegor
4y ago
340c would be a pretty high setting for most casual use... Good chance you'll ruin a board like that. Modern solder is pretty easy to work with around 250c and the risk of overheating the board is a lot lower. Unless you're solder
180.
▲
by
eyegor
4y ago
I don't see why you wouldn't just bundle them all into a transaction at that point. The idea of 1 insert at a time is to roughly estimate the overhead/perf in a real environment, where you're only adding 1 entry at a tim
More ›