Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dajonker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
dajonker
2y ago
Gemini does not seem to do OCR with LLM. They seem to use their existing OCR technology of which they feed the output into the LLM. If you set the temperature to 0 and ask for the exact text as found in the document, you get really good res
62.
▲
by
dajonker
2y ago
I tried Vite with rails for development once, as you can set it up to automatically reload when any html/CSS/js changes, but in the end I didn't think it was worth the extra hassle of more configuration and dependencies on th
63.
▲
by
dajonker
2y ago
I might be wrong but most optimizing compilers will treat "if false" and the following code as dead and remove it.
64.
▲
by
dajonker
2y ago
This exactly, most leaks don't involve any physical access. Why bother with something hard when you can just get in through an unmaintained Wordpress/SharePoint/other legacy product that some department can't live withou
65.
▲
by
dajonker
2y ago
RAM and storage upgrades have always been absurdly expensive at Apple. It never stopped millions of people from buying them anyway.
66.
▲
by
dajonker
2y ago
Unfortunately, I did not! The reason for choosing Rust was mostly because of the lack of nulls and the way it handles errors. Basically the Option and Result types. And because you have so much low level control with a language that otherwi
67.
▲
by
dajonker
2y ago
Also try other languages for yourself and see if they are indeed as good as you think they might be. Or you might never realize that the grass isn't necessarily always greener on the other side. Unfortunately not everyone will have tim
68.
▲
by
dajonker
2y ago
These kinds of tests are useless (to me at least) for three reasons. First, these kinds of tests don't do anything useful and just show that some frameworks have more overhead than others. Once you have an app that was developed over y
69.
▲
by
dajonker
2y ago
There's lots of tricks you can do, such as preloading pages when the users hovers over the link. This makes even a "slow" page load of 400ms feel pretty much instant to a human.
70.
▲
by
dajonker
2y ago
The downside of using more than one programming language (not counting javascript) is that it makes everything more complex. Development, testing, deployment, issue tracking, etc. Plus it forces people to either specialize in one part of th
71.
▲
by
dajonker
2y ago
Yes this was indeed the most important thing for me to realize. I am now much happier, not constantly thinking "if only I had Rust enums!"
72.
▲
by
dajonker
2y ago
In another company I had to completely replace ActiveAdmin with "vanilla" Rails abstractions as it was quite buggy and caused Rails to hang indefinitely as soon as you edited any ruby file. The admin part also turned out to be the
73.
▲
by
dajonker
2y ago
Sure, I'll bite. Are you a Rails developer maintaining an app that actually has massive performance issues? Luckily, our Rails app is very snappy and runs on hardware equivalent to an average 4 year old laptop. No issues with performan
74.
▲
by
dajonker
2y ago
Yeah, it is maybe a bit of a clickbaity title, but I thought it was relevant enough. I tried Rewriting it in Rust and ended up not finding it worth the cost. There was some rewriting in Rails, but indeed, not very much. I did learn that thi
75.
▲
Rewrite it in Rails
(dirkjonker.bearblog.dev)
174 points
by
dajonker
2y ago
|
101 comments
76.
▲
by
dajonker
2y ago
Surely that's a good reason for Oracle to increase their prices even more, leading to a cat-and-mouse game between CPU makers and software license sellers.
77.
▲
by
dajonker
2y ago
You hit the nail on the head, it's about responsibility and trust, and this is often lacking in various ways when tech feels like they need permission from product to spend time on anything.
78.
▲
by
dajonker
2y ago
In my experience/opinion, if you are mature enough as an engineer(ing team), you should be able to make and implement most technical decisions on your own. Discussing technical changes with non-technical people is usually a giant waste
79.
▲
by
dajonker
2y ago
I think dhh said, great frameworks/libraries are extracted, not created from scratch. That would mean, someone building a (successful, money making) web application in Rust and building their own framework as they go, open sources that
80.
▲
by
dajonker
2y ago
For me, the type system and the performance without having to do any optimization. The complete lack of runtime errors when your code compiles (*if you choose to write code that way)
81.
▲
by
dajonker
2y ago
What makes Rails (and similar frameworks in other languages) great is the large number of companies using it in production and having many people contribute to it. It therefore is very feature complete and works for a lot of use cases and e
82.
▲
by
dajonker
2y ago
5-7 years should be a no-brainer, that's pretty good value since the panels and batteries easily last longer than that.
83.
▲
by
dajonker
2y ago
SQLite is a great database but it's not suited for applications with frequent writes or write-transactions that take longer than a couple of milliseconds. I tried basically everything in this blog post with our Rails business applicati
84.
▲
by
dajonker
2y ago
Have you tried "Mixed in Key" for detection of BPM and key? I used this a long time ago for EDM and for that it works great. I don't know if it works reasonably well for other genres.
85.
▲
by
dajonker
3y ago
We have been using this for a couple of months now and it works really well. It's so much better than writing OpenAPI by hand, and I never ever will do that again after working with TypeSpec. Thank you!
86.
▲
by
dajonker
3y ago
> There really are very few ruby/rails jobs going at the moment. What is your source for the number of ruby/rails jobs at the moment?
87.
▲
by
dajonker
3y ago
It's not just about the number of devices. Stateless Address Autoconfiguration for example basically needs a /64 subnet.
88.
▲
by
dajonker
3y ago
The YouTube identifiers are actually 64 bit integers encoded using url-safe base64 encoding. Hence the limited number of possible characters for the 11th position.
89.
▲
by
dajonker
3y ago
These kinds of projects are good for the ecosystem. Sometimes the underlying technology (such as using fibers here) could end up being used or merged into Rails itself, after successfully demonstrating the benefits.
90.
▲
by
dajonker
3y ago
The difference between ISO and ANSI is the physical layout, i.e. the shape of the Enter key and the left shift key.
More ›