Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Shish2k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
Shish2k
3y ago
My interested-lay-person understanding: Previously it would read a chunk of file, then decode it, then apply filters, then run multi-threaded encoding, then write a chunk of file. Now it can read the next chunk of file while decoding a ch
92.
▲
by
Shish2k
3y ago
Javascript was designed to be secure-by-default, and it takes a vast amount of effort to keep it that way Native apps were designed to be powerful-by-default, and the amount of effort to bolt security on after the fact is orders of magnitud
93.
▲
by
Shish2k
3y ago
The Raphael boss fight music is quite possibly my favourite audio moment in 30 years of gaming ;) (Alas I’m not sure how to describe it without spoiling the surprise, since it is quite different to the rest of the soundtrack)
94.
▲
by
Shish2k
3y ago
I’m curious if anybody else sees tailscale / headscale in the same way that I do — I was avoiding signing up to tailscale because I didn’t want to be locked into a proprietary platform, but since learning that headscale exists and is “
95.
▲
by
Shish2k
3y ago
If E2EE is “the bare minimum”, how are there so many successful and thriving companies who don’t do it? And why are you even on HN, which doesn’t do it?
96.
▲
by
Shish2k
3y ago
> Why would you want to restart a service frequently? As mentioned in the original comment - I haven’t found a web framework which supports timeouts for idle TCP connections (they all seem to be built on top of Hyper, which doesn’t suppo
97.
▲
by
Shish2k
3y ago
I have tried (specifically nginx, haproxy, varnish, squid, traefik, and a few others) - alas every setup had problems, but “expose my app to the internet, and have a cronjob to kill and restart it every 3 hours” has had the fewest problems
98.
▲
by
Shish2k
3y ago
Looking at stats on crates.io for a few frameworks - axum: 100k installs/day - warp: 25k installs/day - actix: 15k installs/day - rocket: 7k installs/day - tide: 1k installs/day (For comparison, hyper - the HTTP lib
99.
▲
by
Shish2k
3y ago
Is it safe to expose to the internet[0]? I’m still looking for a Rust web framework that supports eg timeouts for idle connections so that it doesn’t crash and burn when it runs out of sockets after a few hours of serving production traffic
100.
▲
by
Shish2k
3y ago
> It wasn't a "sinking-ship podcast platform” I think you may have missed the context for this thread :) You’re talking about reality - I’m talking about the hypothesis that Spotify chained Joe Rogan to their platform because t
101.
▲
by
Shish2k
3y ago
And when they paid an additional several hundred million buying up tens of random science and tech news and D&D podcasts - was that to intentionally kill those podcasts too? Or were they just a necessary sacrifice in order to create a m
102.
▲
by
Shish2k
3y ago
Spotify paid $200 million… to tie a podcaster to their sinking-ship podcast platform (and this plan only works if they know and intend for their platform to sink)… just to get him from a big spotlight to a small spotlight?
103.
▲
by
Shish2k
3y ago
Are “it was a stupid decision to buy him” and “I don't get why people listen to him” supposed to be related statements? The business decision isn’t about your personal feelings, it’s about his objectively measurably enormous audience
104.
▲
by
Shish2k
3y ago
Corporate developers are typically paid to solve corporate problems. Sometimes a company will hire a big-name OSS developer and tell them “continue maintaining your project in whatever way you think best”, but that’s by far the exception
105.
▲
by
Shish2k
3y ago
I wonder which will happen first - AI evolves to work well at the high-end, or high-end humans retire and there’s nobody left in the low-to-mid end to fill their shoes…
106.
▲
by
Shish2k
3y ago
I am curious why vouch for provenance rather than vouching for quality. In “mass-produced AI garbage” is the “AI” part a bigger problem than the “garbage” part?
107.
▲
by
Shish2k
3y ago
> We’ve never had a period in time where massive corporations owned basically every part of everything We have had royal families who owned basically every part of everything though, which isn’t the same but seems to have quite a lot i
108.
▲
by
Shish2k
3y ago
If you have a sufficiently large amount of hype, day 1 sales can give you enough runway for a redemption arc. NMS and CP2077 were two of the most hyped games in history and they barely managed it though, so I’m not sure it applies to the ge
109.
▲
by
Shish2k
3y ago
> the tech industry refuses to build anything decent that "just works” locally If a significant number of users were willing to pay for this, I’d gladly build it… evidence would suggest that very few people actually care strongly en
110.
▲
by
Shish2k
3y ago
On the one hand, yes, there should be tests. On the other, `goto fail;` :P Also, adding braces from the start means that adding one new line of code is a one-line patch, instead of a four-line one - I do that for the same reason that I al
111.
▲
by
Shish2k
3y ago
Am I reading correctly that non-destructive editing, advanced colourspace support, and reliable hidpi display support are all unlikey to make it into 3.0…? Does anybody know what is expected to make it into 3.0? (IIRC the switch to gtk3 i
112.
▲
by
Shish2k
3y ago
Remove HTML/CSS rendering and the other 10% of the challenges go away too. Skip the whole “browser" thing and just use `curl`. Zero harmful technologies, maximum user control - I’m sure all of the users will be flocking to this ne
113.
▲
by
Shish2k
3y ago
> Haskell, Scala, F#, OCaml, etc. Rust is the first not-weirdass-academic-wtf language to have these features ;) (I love functional programming and apply the functional approach no matter what language I’m using - but why is it that
114.
▲
by
Shish2k
3y ago
Interesting~ Last time I spoke to somebody from CF we were too big for the regular plans and too small for the “call us on the phone and we’ll discuss a custom contract” plan, but it has been a couple of years so maybe worth looking at the
115.
▲
by
Shish2k
3y ago
As a point of reference, Go was considered “safe to expose to the internet” in 2016, and I’d really like Rust to be in the same position: https://blog.cloudflare.com/exposing-go-on-the-internet/
116.
▲
by
Shish2k
3y ago
> How do you handle https if you don't? All of the code is here: https://github.com/shish/shm-cached/blob/main/src/tcp.rs Two async functions - one listens on port 80, and forwards requests
117.
▲
by
Shish2k
3y ago
From a quick glance it seems still vulnerable to trivial slowloris’ing D: Is anybody actually exposing their rust-based websites to the internet? I want to, but it seems that for some reason every rust web framework keeps TCP connections op
118.
▲
by
Shish2k
3y ago
I’ve been using the sapling CLI as my frontend with github as my backend and finding it quite delightful - all the UX niceness from mercurial (and then some), while still being totally compatible with the rest of my team :)
119.
▲
by
Shish2k
3y ago
> this the price was $680 per person What in tarnation is up with American rail?? Picking random routes spanning the EU, I’m seeing things like a 15 hour sleeper journey costing €100 for a private sleeper cabin (or €16 for one bed in a s
120.
▲
by
Shish2k
3y ago
Not just “it has an API”, but it has the most discoverable API I’ve ever seen - if you go into the settings menu and enable “python tooltips”, then hovering over any button or input widget will give you instructions for how to activate or m
More ›