Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aobdev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
aobdev
3y ago
Just pointing out that Pylance is a VSCode wrapper around Pyright, which is a static type checker with no primary linting features. The separate VSCode Python plugin however integrates with pylint, flake8, pylama, bandit, etc. and I agree t
62.
▲
by
aobdev
3y ago
I'm sorry to point out that the first 5.0 alpha came out in 2014 and still hasn't been released. When people talk about the ecosystem/battle-tested-ness/quality of express I think that unfortunately doesn't extend t
63.
▲
by
aobdev
3y ago
I'm guessing the renders are not representative of what it will actually look like as the article states that "their initial filing does not provide us with much detail about exterior design". It also seems unlikely that this
64.
▲
by
aobdev
4y ago
Frequent backups that include node_modules.
65.
▲
by
aobdev
4y ago
I don’t agree with the above sentiment, but Vue 3 is quite good. It feels more “complete” to me than react in the sense that I don’t need to keep up with what’s going on with redux vs. alternatives, or what changes are in the latest version
66.
▲
by
aobdev
4y ago
It seems crazy, but it’s true. Also consider that Vite is a wrapper around 2 tools that are impressive in their own right: esbuild and rollup (and the latter was created by the guy who made svelte!)
67.
▲
by
aobdev
4y ago
I’m sure this is true and can be attributed to DST, but do we know if this would be worse than traffic fatalities caused by commuting in the dark during winter months without DST?
68.
▲
by
aobdev
4y ago
Can you elaborate? I’m assuming things go wrong when people don’t get enough sleep but I’m otherwise unaware of the dangers of changing the clocks.
69.
▲
by
aobdev
4y ago
Mortgages are typically issued as non-recourse loans. This may not be true for HELOCs or other risky equity loans, but usually your lender can’t seize your home unless you haven’t been paying monthly.
70.
▲
by
aobdev
4y ago
USB-C?
71.
▲
by
aobdev
4y ago
They serve different purposes. Prisma provides type safety between server and database, tRPC provides type safety between client and server. You’re most likely going to have some logic between those two channels that manipulates and makes t
72.
▲
by
aobdev
4y ago
Management at the now FDIC-controlled bank will estimate the value of SVB’s assets, such as loans and bonds, and give depositors a fraction of that value to be paid in advance of the sale of those assets. They do this to prevent the collaps
73.
▲
by
aobdev
4y ago
Just to be clear, are you talking about a file where each line is its own json object rather than the entire file being one large array? If so, it’s easy in Python to do the following: with open(“file.json”) as src: for line in sr
74.
▲
by
aobdev
4y ago
Heads up to the author in case you’re here, you reference a tweet about Next.js but subsequently refer to it as “Nest”.
75.
▲
by
aobdev
4y ago
Unfortunately the given examples (Next and Nuxt) are much slower than traditional template engines, even in "slow" languages like Python + Jinja2. This may not translate into financial cost at the scale of your average startup but
76.
▲
by
aobdev
4y ago
If I understand correctly, it seems to be a cornerstone of Supabase’s Authorization features. https://supabase.com/docs/guides/auth/row-level-security
77.
▲
by
aobdev
4y ago
Honestly that sounds like fear-mongering, Reddit wants to protect its interests by turning the public against section 230 reform.
78.
▲
by
aobdev
4y ago
What makes this a bad argument against JWTs rather than a good argument in favor of using built-in features of the platform? I agree that any purported issues with JWTs are solvable, but if you don't need the benefits they bring over s
79.
▲
by
aobdev
4y ago
I think the most secure approach is to store a random id in the database and to also sign it any time it’s exposed to the user (as a cookie or url sent via email). The first benefit is that you won’t be exposed to DoS attacks whereby you’re
80.
▲
by
aobdev
4y ago
I was about to say “but this one is!” and realized I had confused PostgREST with PostGraphile. If you’re interested in GraphQL, you can check out PostGraphile here: https://github.com/graphile/postgraphile It’s interes
81.
▲
by
aobdev
4y ago
These passwords have to be encrypted so they can be retrieved later, right? I don’t think Argon2 works for that purpose.
82.
▲
by
aobdev
4y ago
I hate that these are called models (probably because they extend pydantic’s BaseModel), but if they were called Schema or Serializers would this still be true? Typically what you see in a FastAPI project is a class that parsers the request
83.
▲
by
aobdev
4y ago
Slightly off topic, but you can chain your language selectors in VS Code settings so that: "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[typescript]"
84.
▲
by
aobdev
4y ago
There's always such a mixed response when new web tooling gets posted here that I really can't tell if this is sarcastic or not. Regardless, I like that this is fast and it is probably going to get a lot of adoption since it will
85.
▲
by
aobdev
4y ago
Receipts for the personal items that the airline lost, not for the airfare. You need to prove how much your damages are in order to make a claim.
86.
▲
by
aobdev
4y ago
They’re talking specifically about client-side hashing. You’re right that the system will hash the stolen hash, but only in cases where the system can’t be bypassed (which client side code always can be).
87.
▲
by
aobdev
4y ago
Hey, I wanted to chime in and say that I too am underwhelmed with the support for async in Python libs. Coming from a node.js background, it falls short because you constantly have to think about whether async code is calling sync code, or
88.
▲
by
aobdev
4y ago
The dual power adapter is in addition to, rather than instead of, MagSafe. The cable has the magnetic connector on one end and usb-c on the other. Dual ports just lets you charge your iPhone/iPad etc. at the same time.
89.
▲
by
aobdev
5y ago
Can you elaborate on how CORS provides an alternative? Responding with a CORS policy to your own client’s preflight requests is not going to do anything for a malicious client’s form POST.
90.
▲
by
aobdev
5y ago
I don’t think anyone here is giving remix enough credit for what they’re trying to do. In fact I’ve been a long time lurker and finally made an account today to share this opinion. My company is building a B2B ordering system. We take reser
More ›