Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lastofus
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
lastofus
2mo ago
Snarkiness aside, this is hardly a static type check. This appears to be a runtime argument check, somewhat akin to the following python: def foo(*, a, b): return a+b which errors out at runtime if `a` or `b` are omitted, despite bei
2.
▲
by
lastofus
6mo ago
As a long time Django user that wants to start using typing, can you elaborate on why mypy is still the way to go?
3.
▲
by
lastofus
2y ago
Decoupled Django usually means that you are providing a client SPA with a API, such as a DRF powered REST API. If you are using something like token auth (you mentioned JWT), then you are not using cookies, at which point CSRF is not needed
4.
▲
by
lastofus
2y ago
It's a bit apples to oranges to compare mean to median? Or at least Honeycrisp to Gala...
5.
▲
by
lastofus
2y ago
This is one of my favorite software development books of all time. It's the book that finally offered straight forward guidance and wisdom on how to properly utilize OOP language features. I'm very happy to see it out for Python!
6.
▲
by
lastofus
2y ago
Other languages do sometimes implement this at the library level. Clojure's core.async comes to mind (though there are subtle differences). There's downsides to this approach though. The data going into each "mailbox" ei
7.
▲
by
lastofus
2y ago
QQQ has done great the last decade, but that's no guarantee it will outperform the next decade. Make sure you understand what you are getting yourself into by overweighting in the tech sector, and that it's a plan you can stick wi
8.
▲
by
lastofus
2y ago
I don't quite see what the outbox pattern has to do with the two generals problem. The point of the outbox pattern is that a durable record of the need to send an event is stored in the DB as part of the DB txn, taking advantage of ACI
9.
▲
by
lastofus
3y ago
The killer feature for me that Slack has over Discord is the ability to hide images, so I'm not stuck being distracted by some random person's obnoxious animated meme.
10.
▲
by
lastofus
3y ago
Not judging here, but that’s some serious consequence tax fraud if caught.
11.
▲
by
lastofus
3y ago
There are extensions to hide the Shorts. I’ve been using one for a month now and it’s been great.
12.
▲
by
lastofus
3y ago
There's some arguments behind why you might want to not lay blame plainly (and especially publicly) on an individual, within a business team setting. - Laying direct blame on someone may lead them to trying to hide problems to avoid th
13.
▲
by
lastofus
3y ago
Wagtail first shipped 9 years ago in 2014. It's already old/boring, and great!
14.
▲
by
lastofus
3y ago
One of my favorite free online books is https://internetingishard.netlify.app/ It does a great job at explaining intermediate/advanced caveats and gotchas along the way.
15.
▲
by
lastofus
3y ago
Doesn't encrypting your data before insertion make your data unable to be indexed/searched easily?
16.
▲
by
lastofus
3y ago
2020 m1 Air w/ 16GB user here. For web development, it's more than powerful enough for anything I need (Python/Django/PostgreSQL work). I'd probably be annoyed if doing anything CPU intensive (e.g. compiling C++ all
17.
▲
by
lastofus
3y ago
Drug use was decriminalized in Portland OR by ballot measure, and it is not going well. Open air drug use, coupled with an increase in violence and crime have made being in large parts of downtown quite unbearable. Filling prisons with drug
18.
▲
by
lastofus
3y ago
Outside of my personal network and own business, LinkedIn + recruiters have found me all of the work I've done in the past decade.
19.
▲
by
lastofus
3y ago
>Also, what was the reason not to go with Gevent? The biggest downside of Gevent IMO is that it enables the magic of turning sync code into async code via monkey patching things like the socket lib. This lack of explicitness can make thi
20.
▲
by
lastofus
3y ago
I’m not sure if it is still an option today, but I have chosen paid SaaS Sentry over self hosted Sentry in the past.
21.
▲
by
lastofus
3y ago
> I've started in the last year or so to turn to the church (Roman Catholic) and theism, both to find answers to some of life's mysteries, such as the origin of the Universe... Accepting God created the universe just moves the
22.
▲
by
lastofus
3y ago
In my experience, Ansible is fantastic for provisioning a machine from bare Linux VM to running service. OTOH it's quite slow when used for deployments. There's no way you would be getting 5 second deployments with it. My favorite
23.
▲
by
lastofus
4y ago
I've been fully remote on and off since 2010. I've never been able to really connect with coworkers without in-person time spent, and usually lots of it. This has led me to taking in-office jobs on occasion just to fulfill that ne
24.
▲
by
lastofus
4y ago
Out of curiosity, which cultures have this strong sense of informal community? It sounds kind of great.
25.
▲
by
lastofus
4y ago
I don't think it was that long ago that communities of humans were quite small, and the number of peers your age around you would easily fall into the 20-750 range.
26.
▲
by
lastofus
4y ago
https://en.m.wikipedia.org/wiki/How_to_Solve_It
27.
▲
by
lastofus
4y ago
> ...a team of researchers has described the discovery of an obsidian handaxe workshop within a layer of sediment dated to 1.2 million years ago. What kind of radiometric dating is used for sediment? Is it not possible for older sediment
28.
▲
by
lastofus
4y ago
Life insurance is probably silly with no dependents like OP, but long term disability insurance not tied to your employer is a good idea for peace of mind. There's a lot of unpleasant states between healthy and deceased.
29.
▲
by
lastofus
4y ago
> The question is whether the power and influence of the U.S. will grow similarly over the next 150 years as it has over the last 150. > To invest mechanically without thinking about what’s actually happening in the world is cargo cul
30.
▲
by
lastofus
4y ago
I've recently started working with React Query (now Tanstack Query since is supports Vue and others) and I absolutely love it. Coupled with a sprinkling of `useState` and context, I'm all set. Of all of the SPAs I've worked o
More ›