Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aidos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
751.
▲
by
aidos
6y ago
Sorry, but late back but I’ve just found the code. It’s a bit of a weird case where I needed to reverse arrays inside a big json blob (millions of big json blobs). Trying to explode the structures out and rebuild them was a bit of a no-go.
752.
▲
by
aidos
6y ago
Maybe this is the case in general, but a while back we did something that required flipping an array and when we did it with python inside Postgres it was several magnitudes faster.
753.
▲
by
aidos
6y ago
We’ve started using Typora at work and my big complaint is that I can’t pay them any money! I’ve sent them an email about it (months ago); so far, ignored. It’s a bit crazy to me. As a business I want to know that the tools I’m building on
754.
▲
by
aidos
6y ago
And what qualifies as a micro service in your environment? Can you give a few examples? How many people work on each micro service? Etc etc. Would love to hear more details so I can build a better mental picture.
755.
▲
by
aidos
6y ago
“A typical organization in the 2020s has: Hundreds of microservices” Can people with expertise in this situation speak about how typical it is? I guess if you have all those services then you need your IDE to help - but surely this isn’t su
756.
▲
by
aidos
6y ago
When you get someone who’s willing to offer up a lot of information, it’s great. And when you don’t, then really honestly try to understand them and their frustration. When you get to the bottom of it, you’ll come away with something useful
757.
▲
by
aidos
6y ago
It’s hard enough managing code complexity in software projects; introducing tooling into the stack that exacerbates the issues is definitely a large own goal.
758.
▲
by
aidos
6y ago
Happy to help with this. Will take a look tomorrow.
759.
▲
by
aidos
6y ago
OT: but I’m seeing a weird layout issue on the new docs on mobile (iOS) where the main content is dropping below the bottom of the sidebar position. https://imgur.com/a/U4AbEOZ
760.
▲
by
aidos
6y ago
It was really interesting. I saw the discussions about it where zzzeek was like, “oh, what, I could kinda just make this wrapper thing. Wait, what am I missing here? Nope, it works” It was a late entry into the transition rather than a plan
761.
▲
by
aidos
6y ago
Positive. This is in the UK. At that stage even younger less corporate developers couldn’t understand it at all.
762.
▲
by
aidos
6y ago
Cmd-enter is the standard way. Hitting enter edits the file name. It’s definitely a weird choice.
763.
▲
by
aidos
6y ago
15 years ago people could not believe I used Mac as a development machine. At work I wasn’t allowed to connect to the network and I was mocked endlessly by my colleagues. I used to tell them “one day, one day you’ll see!” We have well and
764.
▲
by
aidos
6y ago
You’ve braver than me, I had the same thoughts but didn’t dare post in here. Not entirely surprised by the negative responses and I can see there are gotchas here, which is always thorny. But everyone seems to be picking simple uninterestin
765.
▲
by
aidos
6y ago
You can do that with f-strings too... but you don't need to because they're generally already clearer.
766.
▲
by
aidos
6y ago
Can confirm. I replaced 1.5k instances in our code base in seconds using flynt and it knew the ones that couldn't be swapped out directly. Really great tool. You only ever need it once in your life, but that one time it's amazing.
767.
▲
by
aidos
6y ago
Both of the services you mentioned have had major outages in the past. Maybe it’ll never happen again, but your customers don’t want to hear about why they can’t currently do business because some service they don’t even know about, in whic
768.
▲
by
aidos
6y ago
Someone turns up at the website. Assume you’ve never seen them before. You need make up an id “acd” for them. You give them that Id by redirecting them from page to page - a -> c -> d. Now they have 3 icons in their cache. When they c
769.
▲
by
aidos
6y ago
If I understand this all correctly, that’s not how this attack works. You have no way of sending them a unique hash, because if you could, you would have identified them already. Instead, in this approach each request provides a single bit
770.
▲
by
aidos
6y ago
Countfire | Senior or Mid-level Frontend 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 eff
771.
▲
by
aidos
6y ago
Awesome. Something about this post really hits home about the amazing people working quietly behind the scenes chipping away to keep everything running. And then Tom Lane is the first person to weigh in to give thanks?! How do these people
772.
▲
by
aidos
6y ago
You’ll find it’s because until “recently” (depending on how long you’ve been in this game, cough some of us since before css was even a thing) buttons weren’t stylable like they are now. There’s no good reason to just not use buttons these
773.
▲
by
aidos
6y ago
I once had a bug that I traced back to a rule (can’t remember in which part of the stack - though I think it was client controlled IIS) that was striping the “select” from the word “selected” in query string params in an attempt to thwart
774.
▲
by
aidos
6y ago
Came here to say the same. If everybody included just a single high level picture like that, you’d give newcomers a real head start in understanding the code.
775.
▲
by
aidos
6y ago
We use it internally ourselves. It’s from That Mitchell and Webb Look.
776.
▲
by
aidos
6y ago
I use it, but MS have forked pyright with some features now locked just to vscode without support in the LSP. https://devblogs.microsoft.com/python/announcing-pylance-fas...
777.
▲
by
aidos
6y ago
That’s amazing news. Native LSP would be game changing. I use coc, but it takes a bit of messing about to get everything working smoothly. Also vscode has has a bunch of extra stuff beyond what’s available via LSP for python now, which is a
778.
▲
by
aidos
6y ago
The clients are all up to date on changes fairly much instantaneously. And then updates from a client are synchronous in terms of setting all data and having that bundled and sent as a single request which is executed as a single dB transac
779.
▲
by
aidos
6y ago
Your team sounds a little broken. If a new starter came in and did that for our project, I’d be really pleased. Once you have that stuff setup, and you’re doing “day to day” coding, it’s hard to find time to go back and sort that stuff out.
780.
▲
by
aidos
6y ago
Agreed. It becomes really messy moving all that state around. Still in its infancy but we’ve settled on a model where we use Hasura to sync the whole datastore to the frontend as a mobx graph. It’s relatively easy to then drive the frontend
More ›