Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aidos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
361.
▲
by
aidos
3y ago
Oh Lord. You’ve just triggered a horrific memory of how in my first job we used XSLT to convert xml files of job applications into sql that was then executed to import them into the db. That truly was mind bending.
362.
▲
by
aidos
3y ago
Weeeeeeeell a div is 100% width by default. It will always fill the width of the parent container unless you explicitly change the width.
363.
▲
by
aidos
3y ago
Is that true? There’s a preflight request that checks with the server as to what’s allowed and then the browser issues the original request if it’s ok, right?
364.
▲
by
aidos
3y ago
My go to pointer for this is to read the Postgres docs (and / or source - which is also super readable). https://www.postgresql.org/docs/current/planner-optimizer.ht...
365.
▲
by
aidos
3y ago
They are, yeah. I didn’t realise to start with. I played a couple of older games and managed to get 0 miles on one too - though there was a hint in the second photo that got me within 12 miles and it was easier find it from there.
366.
▲
by
aidos
3y ago
Countfire | Senior or Mid-level Fullstack Developer | Remote (but must based in UK) | www.countfire.com Countfire makes software for the construction industry. Our software is well loved because we try to design solutions that are a magnitu
367.
▲
by
aidos
3y ago
Have just skimmed it and this is a great intro to the weird and wonderful world of rendering text. It gets even more wild as you descend down into the myriad ways this information is specified within fonts. For bonus points dig into how fon
368.
▲
by
aidos
3y ago
I still don't totally understand that first point. Are you talking about using enums for controlling the connection itself? Can you give an example? Just to clarify, sqlalchemy supports any arbitrary mapping you want — it's entire
369.
▲
by
aidos
3y ago
I would argue "certainly not", since it's had them for more than half its lifetime.
370.
▲
by
aidos
3y ago
By the time you've done a generated column you might as well go with the articles solution of using text with a check constraint since you're now using the space anyway.
371.
▲
by
aidos
3y ago
Oh nice. I didn’t know about that feature.
372.
▲
by
aidos
3y ago
I could definitely have done with that idea a couple of weeks back!
373.
▲
by
aidos
3y ago
Happy to ping you guys over the code if you want to look. It’s probably fairly tweak-able to handle your specific cases.
374.
▲
by
aidos
3y ago
Heyya! Close customer here. > When False, uses VARCHAR + check constraint for all backends Is this behaviour new? Or is it that alembic still doesn't pick up changes to the enum to recreate the constraint? We implemented our own ale
375.
▲
by
aidos
3y ago
For us it was driven in the other direction. With the introduction of the M1s we knew that we’d be on arm locally soon enough. There was a bit of work in the transition but things have improved since then. Definitely happy running on all ar
376.
▲
by
aidos
3y ago
Is this in the context of students learning to code, or something else where they need to use the notebooks to supplement their study?
377.
▲
by
aidos
3y ago
They definitely look very different. I understand how ESLs work, but I don’t quite get how these move. Can anyone explain?
378.
▲
by
aidos
3y ago
There are tough problems at every layer of the stack. Granted, the problems look very different, but they’re no less challenging. I think that is one of the great things about being a software developer - wherever you look, there are intere
379.
▲
by
aidos
3y ago
Unfortunately eventually everyone gives in to the marketing team installing plugins. And to be fair, they’re just trying to do their job and you get sick of saying no. We all know how it ends though…it’s a sea of issues waiting to happen.
380.
▲
by
aidos
3y ago
Countfire | Senior or Mid-level Fullstack Developer | Remote (London, UK) | www.countfire.com Countfire makes software for the construction industry. Our software is well loved because we try to design solutions that are a magnitude more ef
381.
▲
by
aidos
3y ago
Ah, I read through the stuff you guys were working on a while back. We use docker but haven’t made the leap to k8s and friends yet. One reason is that we too have dedicated backends per user and it doesn’t seem like an out of the box fit (n
382.
▲
by
aidos
3y ago
I haven’t tried but I believe you can do either. You can use their api and tooling and it will connect to agents in your infra.
383.
▲
by
aidos
3y ago
Just to echo the other comments- really impressed with both Depot and the team. I decided to kick the tyres on it last week and suddenly found myself replacing all our production docker builds with it by the end of the day. Felt like my Tai
384.
▲
by
aidos
3y ago
Nice work! I keep wondering, there a reason everything isn’t just based off treesitter these days? If I were tasked with writing tsserver, my instinct would be to layer it over treesitter. Does anyone know if there are practical reasons tha
385.
▲
by
aidos
3y ago
Yup exactly. I also keep an eye on the progress of incremental views because there are a lot of use cases. Where possible I avoid triggers, but I’ve also used that solution too. I’ve found that Postgres often gives the best results if you l
386.
▲
by
aidos
3y ago
I use multi-column indexes for things like, “find me the most recent version of this template for this customer”. I really wish pg had a way to do partial indexes with limits so I could create a partial index that stores, for example, only
387.
▲
by
aidos
3y ago
Which jobs are you thinking? Bus drivers? Taxis? Car production? Which loss of freedom are you referring to? I can’t help thinking that the potential upside will far out-way the cost. London streets are littered with dormant vehicles. Most
388.
▲
by
aidos
3y ago
Don’t despair, it doesn’t have to be like that. Plenty of us have been doing this for decades and are still excited for what we get to create every day. Sounds like you need to escape your current environment.
389.
▲
by
aidos
3y ago
An open source alternative to Notion is Outline. I’ve only looked at it, not used it in anger so I can’t offer much other guidance. https://www.getoutline.com/
390.
▲
by
aidos
3y ago
I guess one issue with that is that it’s not going to play nice with data migrations. Personally, I’m happy with declaring my tables in sqlalchemy and having alembic do the grunt work. Allows me to work in the declarative way you describe w
More ›