Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nijave
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
841.
▲
by
nijave
2y ago
If you're using IDEA with plugins for each technology you should be able to add submodules which get their own interpreter. You may need to add interpreters first then there's a modules page in project settings you can select path
842.
▲
by
nijave
2y ago
Have you looked at versions in the last couple years to see if they've made progress?
843.
▲
by
nijave
2y ago
I like to think of scrum as more a "build up to" than a start at type process. Start with kanban and add as you have time and see fit. Need to forecast when something will be done? Do sprint planning and assign some story points W
844.
▲
by
nijave
2y ago
Lower power if you have idle stuff running in the cluster but need RAM to run it. Mini PCs also work. These are also portable and quiet so you can stick it in your bedroom and leave it running 24/7 without feeling like you're in a
845.
▲
by
nijave
2y ago
I think bare metal makes more sense in big setups then you don't have the overhead of a hypervisor. For home setups, I think it's easier to get going with VMs since the acquisition cost and setup time is lower once you have 1 sing
846.
▲
by
nijave
2y ago
I was debugging some issues with Thanos and had pretty good success tweaking the codebase to add additional telemetry. The code was fairly well organized and more importantly worked out of the box with a Makefile and IDE integration (GoLand
847.
▲
by
nijave
2y ago
Besides just KISS, a lot of messes I've seen have been implementing patterns outside the framework or implementing complex patterns that didn't add value. Besides KISS (or maybe as an extensive), try to keep framework-based codeba
848.
▲
by
nijave
2y ago
You need to multiple that out by request servicing time. Say your application uses 25ms real CPU time per request. That's 40 reqs/sec/cpu core. On a 4 core server, that's 160reqs/sec. That's 625 seconds to clea
849.
▲
by
nijave
2y ago
Lambda can scale to 10k in 1 minute https://aws.amazon.com/blogs/aws/aws-lambda-functions-now-sc... If your response time is 100ms, that's 100k requests in 1 minute. Lambda runs your code in a VM that's
850.
▲
by
nijave
2y ago
You'd obviously need to make sure the persistence pieces and downstream components can also handle this. You could dump items onto a queue or utilize key value like Dynamo A 1 CPU container isn't going to handle that many "ap
851.
▲
by
nijave
2y ago
I think codegen/compilation is a middle ground here. A higher level language like starlark can be compiled down to a set of instructions that provide the described guarantees. This is how Pants (build system) works. You have declarativ
852.
▲
by
nijave
2y ago
This pattern is powerful since you can pick arbitrary tooling and easily make modifications with your own tooling. For instance substituting variables/placeholders or applying static analysis.
853.
▲
by
nijave
2y ago
I used ELevate for a few VMs at home and it worked pretty well. I upgraded from Centos 7 to Alma 9 one release at a time https://almalinux.org/elevate/
854.
▲
by
nijave
2y ago
Lambda scales faster if you really do need that. For instance, imagine bursts of 100k requests. Cold start on Lambda is going to be lower than you can autoscale something else.
855.
▲
by
nijave
2y ago
Abstracting the runtime environment is nice for mixed environments and supporting local development. Maybe some deployments have really low load and Lambda is dirt cheap whereas other instances have sustained load and it's cheaper to b
856.
▲
by
nijave
2y ago
Infinite growth!
857.
▲
by
nijave
2y ago
No
858.
▲
by
nijave
2y ago
In the U.S. you can usually file a complaint with the state's Attorney General's office. Sometimes there is a regulatory authority like for utilities or the Consumer Protection Bureau. Usually a complaint gets forwarded to the com
859.
▲
by
nijave
2y ago
They did at Kitchen Aid (American company) but only for higher prices goods. They'd refurbish stand mixers but not <$100 USD stuff like stick blenders or hand mixers. Stand mixers were solid metal so I'm guessing a decent porti
860.
▲
by
nijave
2y ago
I wonder if this takes into account all the cheap crap installed in apartments/for-rent units. Those seem to last closer to 10 years depending on abuse and quality (usually just getting scraped up, cosmetically damaged). It seems like
861.
▲
by
nijave
2y ago
I didn't think the replication slot "stored" changes. I thought it just had a WAL position to hold on to and filtering was done by WAL sender (so it helps reduce outgoing traffic but not retained WAL) But maybe I'm wrong
862.
▲
by
nijave
2y ago
>DDL changes are also tricky You can use triggers to write DDL to a table which is then replicated (and optionally use triggers or app logic on the consumer side to process them) >Snapshots I feel like these are way under documented.
863.
▲
by
nijave
2y ago
Iirc housing is pretty inelastic
864.
▲
by
nijave
2y ago
>I'm shocked DOJ has not gone after cloud providers Well, I think so far only Europe has forced free data export if you're changing providers. We'll see if they continue. I won't hold my breath over DOJ...
865.
▲
by
nijave
2y ago
Yup, that's the one
866.
▲
by
nijave
2y ago
You can manually check an "is timed out" object and ensure that you're configuring timeouts that are smaller on any blocking code (basically I/O) Say you're looping over 1m items, maybe every 1k you check to see if
867.
▲
by
nijave
2y ago
I like Python but it's definitely a pain when it comes to request cancellation I saw a StackOverflow post about some code that only worked on Linux and not Windows and it turns out sleeps on Windows are implemented using an uninterrupt
868.
▲
by
nijave
2y ago
>general way to externally terminate a thread of execution There's really no safe way to cover all cases unless you create a really scoped down interface that are explicit in what they do. One use case might allow abrupt interruptio
869.
▲
by
nijave
2y ago
In such a system each component still needs to be interruptible. If you're waiting on a blocking operation like disk or network I/O, the caller might give up but the request will still hang around until completion at which point i
870.
▲
by
nijave
2y ago
In go there's contexts that do something similar .NET and go seem to fairly good around request cancellation facilities
More ›