Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
murkt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
murkt
2y ago
In 15+ years I’ve only used two orms: Django ORM and SQLAlchemy. I’ve also skimmed docs for many others (some JS orms, etc), and those often look completely unusable. SQLAlchemy is leagues above and beyond Django ORM. I can’t say I have nig
92.
▲
by
murkt
2y ago
> LEO agency I know you didn’t mean Low Earth Orbit agency, but the thought is funny. If you’re not more than 1000+ km from the nearest satellite, you’re not in a remote area!
93.
▲
by
murkt
2y ago
Not sharing the same namespace is a benefit, I agree. Not a huge one, as I don’t name my variables “map”, “string” and similar anyway. And would not look favorably if any of my employees did that.
94.
▲
by
murkt
2y ago
I got used to React components, and after that templates feel a bit cumbersome and un-ergonomic in places. I’ve been using Django templates since 2006. Jinja was designed after Django templates of that era, fixing their most glaring problem
95.
▲
by
murkt
2y ago
> JinjaX components are simple Jinja templates. You use them as if they were HTML tags without having to import them: easy to use and easy to read. …and impossible to understand and keep track of what goes where. No, thanks. Components a
96.
▲
by
murkt
2y ago
I’ve been using Jinja2 for years and years, probably around a decade now. I don’t remember any other docs?
97.
▲
by
murkt
2y ago
This is fantastic and exactly what I wanted! A very neat idea about how you separate attributes and children. How does the performance side of this thing look like?
98.
▲
by
murkt
2y ago
I’ve switched back to writing server-based code from writing React SPA. Text-based templates (I use jinja2) is my least favorite part of that. It’s modeled after Django templates circa 2005, and that was designed with an idea that designers
99.
▲
by
murkt
2y ago
yes you can
100.
▲
by
murkt
2y ago
What would you say are the better models nowadays that are practical?
101.
▲
by
murkt
2y ago
I have a 3.5 kWh battery backup in my apartment, since December 2022. Which is proving to be immensely helpful right now. I’m living in Kyiv, Ukraine and we have <10 hours of electricity daily these weeks, because lots of power stations
102.
▲
by
murkt
2y ago
What’s an electronic wavelength in this context? What’s its size? Photonic ones I assume are in near-IR, on the order of a micrometer.
103.
▲
by
murkt
2y ago
Dupe of https://news.ycombinator.com/item?id=40682000
104.
▲
by
murkt
3y ago
> Partitioned tables works pretty well for this. Pretty interesting idea. Do you have any stories or experience to share when going with this approach?
105.
▲
by
murkt
3y ago
Have you passed a string into Postgres and then hashed it into bigint with another function? If yes, what function did you use? I assume that if you do it this way, then you see a string key in logs, views of current/locked queries, et
106.
▲
by
murkt
3y ago
It's not exactly string-based as it accepts bigint key, but I guess it's possible to hash a string when you pass it to the function.
107.
▲
by
murkt
3y ago
You’re definitely not the only one. I expected a rambling about how some not very sane person spends half of their working hours on LinkedIn, constantly updating their profile and whatnot.
108.
▲
by
murkt
3y ago
For more confusion, let’s call some star “Vegetary”.
109.
▲
by
murkt
3y ago
Ohh, thank you very much. I was avoiding sticky headers exactly because of this problem
110.
▲
by
murkt
3y ago
PRQL is not an ORM in any kind of way, it’s the less quirky SQL, basically.
111.
▲
by
murkt
3y ago
Hooray, no more confusion with LoRa the radio!
112.
▲
by
murkt
3y ago
An ability to override dependencies, finally!
113.
▲
by
murkt
3y ago
It’s not like you can hear a drone approaching, while driving APC/BMP, though. For bomber-type quads, sure, it probably can make a difference.
114.
▲
by
murkt
3y ago
I’ve used it many times with great success. Not in a dogmatic way — I don’t usually delete my “code in progress”. I would rather cherry-pick standalone changes to new PRs, and then rebase. Or keep unsuccessful code in a branch that I can lo
115.
▲
by
murkt
3y ago
There sure is a way to use the method to go from 4 all the way to 7. Just some of the fixes would be to change Rails version to 5 and 6. Author even said that it’s not a dogmatic thing, there is no point in interpreting it that way, just be
116.
▲
by
murkt
3y ago
As explained in the nearby comments in more details, it needs more time to heat up a spot on the disk, than to see a reflection from said spot.
117.
▲
by
murkt
3y ago
CD drive speeds were written like 48/8/8, which stands for 48x for reading, 8x for writing CD-Rs, and 8x for re-writing CD-RWs.
118.
▲
by
murkt
3y ago
You haven’t read the article past the headline, have you? It’s not about computers running code, it’s all about humans.
119.
▲
by
murkt
3y ago
Gepard is a specialized anti-air vehicle with a radar and pretty expensive shells. Very effective and cheaper than Patriot/NASAMS/IRIS-T missiles, but not really cheap. It’s mainly used on the outskirts of big cities, AFAIK. When
120.
▲
by
murkt
3y ago
Just ask it!
More ›