Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
emptysea
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
emptysea
3y ago
Curious how you're using SQLite at Notion, do you have anything public?
32.
▲
by
emptysea
3y ago
Do you have a link to the DSL? Curious to learn more
33.
▲
by
emptysea
3y ago
To me it seems more like the typescript-ification of CSS which is a good thing if you’re into static types!
34.
▲
by
emptysea
3y ago
Called an efoil, they also have non electric versions that are much cheaper
35.
▲
by
emptysea
3y ago
I’m not really familiar with the trade offs of modes with Postgres but why isn’t Serializable necessary?
36.
▲
by
emptysea
3y ago
The passing stuff down when it isn't needed also comes up with JSX / React. The basic options for solving it are either: - pass it down manual - use Context, essentially thread local variables but React both have tradeoffs and it
37.
▲
by
emptysea
3y ago
Yeah I think having some a few more methods on some types would be nicer than having global functions like `map` for example, imagine if your example could be written as: range(10).map(lambda x: x*2).list() but as a list comprehension it&#x
38.
▲
Atlanta, Job Queues, Batch-Wise Operations
(brandur.org)
2 points
by
emptysea
3y ago
|
0 comments
39.
▲
by
emptysea
3y ago
The quote at the end of the article really sums up my feelings: > “I think the real answer, the real answer […] this is going to sound weird or bad – is to cajole or trick your employees into thinking that what they’re doing is important
40.
▲
by
emptysea
3y ago
Another option is tail based sampling which allows you to make the choice at the end of the request whether to keep the trace. With that you could configure the APM to keep the first $N traces for all endpoints and then start sampling after
41.
▲
by
emptysea
3y ago
I don't think podman systemd integration handles blue/green style handoff, but pod man's integration is pretty nice. Really painful to manually call a docker container from systemd normally, lots of edge cases to manage
42.
▲
by
emptysea
3y ago
aren't there some ambiguities that would require extra data to decipher? like if I have a message inside of a message vs just a bytes field that happens to have a valid protobuf?
43.
▲
by
emptysea
3y ago
Speed is a problem for linters. If I spend 200ms of CI time instead of say 5minutes that’s a real difference in toil and CI spend Ruff has an LSP too so it integrates well with editors unlike flake8 and similar which only work on save — and
44.
▲
by
emptysea
3y ago
Presumably you could alert on someone printing 300 secret documents Seems like even allowing for printing is a bad idea I wonder how big tech compare in their security posture for insider leaks Edit: the other thing is he took home the docs
45.
▲
by
emptysea
3y ago
GitHub's Pull Request status checks suffer from this Somewhat amusing, a little detail missing
46.
▲
by
emptysea
3y ago
We use feature flags for entitlements and experiments at $work, it's all accessed through a consistent `hasFlag` API. Granted, our use is pretty straightforward, you either have access to product $Foo or you don't. I think with us
47.
▲
by
emptysea
3y ago
Sounds similar to Meteor, works fine for a prototype but collapses under complexity and perf issues once you want more features Mongo has a lot of performance gotchas with things like pipelines / aggregations that don’t scale the same
48.
▲
by
emptysea
4y ago
Usually these billing systems are somewhat async so they’re would probably still be overages Better than nothing though
49.
▲
by
emptysea
4y ago
I wonder how they make transactional workloads 2x faster vs normal Postgres The analytics workloads improvements seem pretty straightforward (or at least there is prior art like timescale)
50.
▲
by
emptysea
4y ago
These are great! how tricky is it to add these effects? I’m mostly stuck in the html/css/js world and implementing anything like you have here would be a pain
51.
▲
by
emptysea
4y ago
just tested this and the jpeg ends up being 690 Bytes while the gif ends up being 2 KB
52.
▲
by
emptysea
4y ago
Probably because the algorithm is really slow and you’re already producing a really small image so scaling your original image down before isn’t too much work Blurhash is really slow on larger images but quick with small <500x500 images
53.
▲
by
emptysea
4y ago
What I’ve seen instagram and slack do is create a really small jpg and inline that in the API response. They then render it in the page and blur it while the full size image loads. Placeholder image ends up being about 1KB vs the handful of
54.
▲
by
emptysea
4y ago
Only catch really is you need to have a typescript backend I'm looking forward to more tRPC style things that can integrate across language boundaries. I'm okay with some simple codegen to support it
55.
▲
by
emptysea
4y ago
I’m a big fan of Tableplus but always interested in new developments in this space. Mongo Atlas has a really great database editor / UI built into their web UI but ofc it’s Mongo only. Curious if you have plans to support connecting to
56.
▲
The Dogma of Restful APIs
(erock.io)
1 points
by
emptysea
4y ago
|
1 comments
57.
▲
by
emptysea
4y ago
Yeah exactly what happened to us, it’s solvable but annoying Also we did have a mix of things like import _ from ‘lodash’ and import foo from ‘lodash/foo’, etc
58.
▲
by
emptysea
4y ago
Yeah I switched a project over to lodash-es which fixed the tree shaking problem but it was painful to migrate everything
59.
▲
by
emptysea
4y ago
yeah that pyproject.toml issue is really annoying with flake8, made me glad to switch to ruff even though it doesn't have all the same lints available
60.
▲
by
emptysea
4y ago
One of the things I like about Django is the builtin support for a console backend for emails In dev it means you can have sent emails get logged to the terminal which makes debugging easier. But it only really works well with text emails,
More ›