Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
the_duke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
721.
▲
by
the_duke
5y ago
There is exactly zero chance of maintaining an up to date, reasonably fast and secure browser without a large, dedicated team of highly qualified developers. Good luck with forking... Mozilla has definitely failed with most of their side pr
722.
▲
by
the_duke
5y ago
Nix allows each package to use a specific version of a library and let's them co-exist via unique paths. In NixOS the whole system works this way, so there aren't really any global system libraries, except for the graphics system.
723.
▲
by
the_duke
5y ago
It loads fine for me, but has severe rendering issues. There is no text, just weird, colored diagonal lines.
724.
▲
by
the_duke
5y ago
On top of that there are many new small to medium launch vehicles in the pipeline. Astra just made it to orbit a few days ago. Firefly almost did, and might very well do so on the next attempt. Relativity is supposed to launch next year. An
725.
▲
by
the_duke
5y ago
I have used Rust for years, but I never bothered with looking into the governance structure. How are team members selected? Who has authority to kick someone off a team? How are team leads selected? Who can remove team leads? Is it the core
726.
▲
by
the_duke
5y ago
This was a great learning resource for macros in the early days of Rust when there was almost no official documentation. Nowadays anything that's a bit more complex should almost certainly use proc macros instead, which allow much sane
727.
▲
by
the_duke
5y ago
The Techempower entries are heavily gaming the system. They often strip out framework functionality and hyper-optimise for the specific benchmark, including things like pre-allocating the exact amount of memory needed to serve the request,
728.
▲
by
the_duke
5y ago
Python annotations actually provide a very decent typing layer. You have to use an additional tool to do the checks, there are much fewer third party typings, and the type system is definitely not as sophisticated as TS. But Python code is
729.
▲
by
the_duke
5y ago
Borg, bup or restic are relatively popular incremental backup tools that reduplicate with chunking.
730.
▲
by
the_duke
5y ago
Deno is sandboxed by default and doesn't allow disk or network access, which is ideal for configuration. It also runs Typescript directly.
731.
▲
by
the_duke
5y ago
In theory time should be split into 30% research and planning, 30% code reviews and 30% writing code. In practice most devs spend 90% coding and 10% hastily rushing through reviews.
732.
▲
by
the_duke
5y ago
Well, sure. But my registrar requires 2FA and has good support. The domain also has a hard lock for transfers, which would require a signature and id. A targeted hack that could get 2FA tokens or a social engineering attack on the registar
733.
▲
by
the_duke
5y ago
I've been using this pattern for years. I have a custom domain just for signups, and I sign up with [service].[username]@customdomain. The domain simply has a catchall email "accounts@customdomain" Combined with a password ma
734.
▲
by
the_duke
5y ago
Does the branching system have an anonymization layer? At pretty much every company that is beyond "tiny startup with < 10 employees" you really don't want to give every developer read access to all customer data.
735.
▲
Highlights from Git 2.25
(github.blog)
3 points
by
the_duke
5y ago
|
0 comments
736.
▲
by
the_duke
5y ago
The linked page seems to be empty.
737.
▲
by
the_duke
5y ago
Two interesting configuration language alternatives: https://dhall-lang.org/ https://cuelang.org/
738.
▲
by
the_duke
5y ago
Note that this already worked fine by just operating on the field. Like `if (action.kind === 'x')` / `switch (action.kind)`. This "only" extends support to destructured discriminators. Definitely nice to have, but o
739.
▲
by
the_duke
5y ago
Microsoft and Brave both run ad networks. They are trapped in the same perverted incentives. Same thing for Apple. Firefox is the only one that doesn't. Then again, Mozilla only survives thanks to Google for sending search traffic thei
740.
▲
by
the_duke
5y ago
This is not directly related, but I think Microsoft regrets the commoditization of language editing features via LSP. In hindsight, editor independent language IDE features driven via a client-server model are such an obvious idea - to the
741.
▲
by
the_duke
5y ago
> it's taken over the system programming space for a reason I'm curious what you define as systems programming, because Go certainly isn't a systems programming language by the classic definition. Go has a complicated runt
742.
▲
by
the_duke
5y ago
Writing `dyn` in front of types doesn't really make a difference, it's only a little bit of added verbosity. The main problem is that trait objects are very limited. There is no downcasting or upcasting (eg C++ dynamic_cast) and t
743.
▲
by
the_duke
5y ago
Emulating ADTs without language support/pattern matching is quite awkward. A prime example is std::optional in C++. .map() et al only get you so far. When extracting the value in Go you either have to return a pointer / error pair
744.
▲
by
the_duke
5y ago
None of the current Rust async frameworks will prevent your synchronous code from going haywire. Tokio or async-std timeouts only cancel futures. The dedicated spawn_blocking threadpools also do not support cancellation. To prevent such cas
745.
▲
by
the_duke
5y ago
You misunderstood, parent is complaining about Go, not about Rust. In Go you would have to use a pointer to represent Option<T>, which makes code really awkward. Go serialization really has quite a few issues apart from default initia
746.
▲
by
the_duke
5y ago
The only downside is compile time bloat. Serde generates heaps and heaps of generic code. This all gets optimized away to be very efficient, but only once it reaches LLVM. Ever tried working on a crate with hundreds or thousands of de/
747.
▲
by
the_duke
5y ago
> the PostgreSQL interface implements a core subset of PostgreSQL data types and DDL syntax. > Familiarity and portability are the goals, not 100% compatibility So, is there a compatibility matrix? In general I see this as a good thin
748.
▲
by
the_duke
5y ago
No, most cloud providers do not charge for ingress, but charge heavily for egress.
749.
▲
by
the_duke
5y ago
> Rigetti expects to scale its quantum computers from 80 qubits in 2021, to 1,000 qubits in 2024, and to 4,000 qubits in 2026. Is that realistic at all? From what I've read on the subject, everyone seems to have trouble scaling up.
750.
▲
by
the_duke
5y ago
The difference is that Twitch viewers are already consuming the content for free. Subscribing or donations are completely optional. ( subscriptions get rid of the adds, but I doubt that's a main driver)
More ›