Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
the_duke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
541.
▲
by
the_duke
4y ago
Yeah, for foreign types you will have to use the "newtype" pattern, aka: define your own wrapper struct.
542.
▲
by
the_duke
4y ago
The docs link [1] is 404. Seems like the /main is the culprit. [1] https://grafana.com/docs/oncall/main/ .
543.
▲
by
the_duke
4y ago
> Rust is guilty of this as well, mind you #[derive(Hash)] struct X{ ... } Seems easy enough to me? The only annoyance is if a third party type didn't implement Hash, but you can solve that with a manual implementation instead of a
544.
▲
by
the_duke
4y ago
> but the Jetbrains IDEs are simply better and more mature in every single way That's just not true. I have access to the full Jetbrains suite for free, yet I still opt to use Neovim or VS Code/Codium for most languages. Jetbra
545.
▲
by
the_duke
4y ago
Those are the countries that Stadia is available in. [1] You really need servers to be close by for game streaming to work. [1] https://support.google.com/stadia/answer/9566513?hl=en
546.
▲
Into the Future with IntoFuture – Improving Rust Async Ergonomics
(refaktory.net)
3 points
by
the_duke
4y ago
|
0 comments
547.
▲
by
the_duke
4y ago
Hey there. I've been thinking about implementing an editor agnostic WASM based plugin framework and started prototyping with some promising results, although there are also a lot of of WASM related constraints to consider. I think cros
548.
▲
by
the_duke
4y ago
Sure, I'm aware that there are lots of domain search sites. I edited my comment to clarify what I envisioned.
549.
▲
by
the_duke
4y ago
Under what license is that file? Could one make a webservice based on the data? Edit to clarify: I'm envisioning a open source service that uses an in-browser sqlite database [1] so you don't have to worry about a predatory middle
550.
▲
by
the_duke
4y ago
The new Kubernetes gateway specification also supports mirroring out of the box.
551.
▲
by
the_duke
4y ago
Typescript is great, but it is ultimately a gradually typed language that is built around compiling to Javascript, and that has extensive interaction with untyped Javascript code. You often end up with obscure issues that a good type system
552.
▲
by
the_duke
4y ago
Rust does not have to be this hard. Most of the pain here come from the unholy trifactor: combining async, lifetimes and dynamic dispatch with trait object closures; which is indeed very awkward in practice. Async support is incredibly half
553.
▲
by
the_duke
4y ago
https://dagger.io
554.
▲
by
the_duke
4y ago
Friendly reminder of the day: Always have an established and regularly tested workflow for manual deployments that doesn't rely on CI jobs. You'll need it sooner or later.
555.
▲
by
the_duke
4y ago
Gitlab, Redox and ARM all all on custom Gitlab deployments. They were probably intended as examples of self-hosting companies, just with confusing wording.
556.
▲
by
the_duke
4y ago
One under-appreciated aspect of async is that it gives you a nice API for composing operations. Yes, async can be harder to introspect, especially with a debugger, and it introduces function colouring. But in return it gives you a clear typ
557.
▲
by
the_duke
4y ago
There are various Haskell effect libraries though. The big difference between effects and monads is that effects compose, while monads always require cumbersome mapping between domains.
558.
▲
by
the_duke
4y ago
These systems usually spend a lot of time waiting for network/disk IO, which means there is plenty of CPU time available to do the computations or GC runs, and the added memory pressure isn't so significant. The Go runtime is also
559.
▲
by
the_duke
4y ago
A company might persue projects for all kinds of reasons. As a research project to inform design design, as a long term bet and sure, for staff retention. You have more insight, but it's sort of hard for me to see even Google put that
560.
▲
by
the_duke
4y ago
Github repos makes for a pretty good key-value store. It even has a full CRUD API, no need for using libgit.
561.
▲
by
the_duke
4y ago
Sadly the effects system seems to be just "pure vs impure" tracking per function. No arbitrary effects or custom handlers. Is that accurate?I was hoping for something more like Koka. Otherwise that is a very intriguing combination
562.
▲
by
the_duke
4y ago
Fair warning: trunk automatically downloads additional tools at runtime. It doesn't even prefer already installed local versions, and doesn't provide a way to disable downloading. It will even download older tool versions than th
563.
▲
by
the_duke
4y ago
Tesla is still a long way from covering demand, even with their current expensive models and with zero advertising on top. They have no real business justification to expand to cheaper models until they have enough spare capacity. Building
564.
▲
by
the_duke
4y ago
Not really, because UI components inherently need tight integration for event propagation, layouting, drawing... Sure, you could render individual components in their own processes and have one process accumulate a render tree , but I don&#
565.
▲
by
the_duke
4y ago
All the interesting and complicated functionality isn't in the core CPU but in the peripherals and specialized computation. USB, WiFi, Bluetooth, GPU, memory/gpu interface, hardware media decoders, .... Most of which is proprietar
566.
▲
by
the_duke
4y ago
I'm actually very curious: why is bandwidth so much cheaper on more traditional VPS or dedicated server hosts like Hetzner ? This extends to their somewhat new-ish cloud product, where you get 20TB traffic included - even on a tiny ins
567.
▲
by
the_duke
4y ago
Just a hint: if you work for Ionic it's customary on HN to disclose that fact. Also: what makes a framework "native" for me is that it has it's own rendering stack. With webview solutions you are still facing cross platf
568.
▲
by
the_duke
4y ago
Every experience I had with React Native was truly horrible. Gigantic, messy JS dependency tree. Constant build breakages after minor version updates. Random flakiness. Unmaintained or buggy native plugins. Questionable support for issues
569.
▲
by
the_duke
4y ago
To be fair: Dart is relatively straight forward and simple to learn. You should have decently qualified developers be productive within a week. But forcing a new language on people usually doesn't go well.
570.
▲
by
the_duke
4y ago
That's completely orthogonal to ADT vs enum.
More ›