Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekidd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
82 ms
·
751.
▲
by
ekidd
10y ago
I don't think we have a single line of 'unsafe' code in any of our 6 Rust projects at work. If you're using Rust for business apps, you'll basically never touch 'unsafe'. For an extreme example from a week
752.
▲
by
ekidd
10y ago
> For line of business apps, it is inaccessible and the safety dial is turned up too far. My employer has a "line of business app" written in Rust. Here's what we're learned: 1. Rust does have a learning curve. It
753.
▲
by
ekidd
10y ago
This like this are extremely common in performance-critical code. In this case, you want to: 1. Allocate both X and Y in the same block of memory, maybe on the stack, perhaps in a heap. In inner loops, making calls to malloc is pure perform
754.
▲
by
ekidd
10y ago
I've used RR to debug some tricky crashes, and it's an absolute joy to use. Being able to work backwards from a crash to the underlying problem can vastly reduce debugging time for some of the trickiest bugs.
755.
▲
by
ekidd
10y ago
Interesting! How does this compare to an existing secure Linux distro with Tor support like Tails ( https://tails.boum.org/ )?
756.
▲
by
ekidd
10y ago
Sorry! My browser is set to French, so I pasted the wrong URL. Fixed. There's actually a surprisingly large French-speaking Rust community, which you can find on Mozilla IRC at #rust-fr. I work for Faraday in Vermont ( http://
757.
▲
by
ekidd
10y ago
I work for one of the one of the companies that uses Rust in production (see https://www.rust-lang.org/friends.html for a partial list). We're pretty happy with it. I like Rust because it offers in an interesting combi
758.
▲
by
ekidd
10y ago
Yes! We have a bunch of Rust apps at work, and just one of them was still on nightly, and now we can move that to stable, too. And we can get rid of a bunch of build.rs scripts elsewhere, which is always nice.
759.
▲
by
ekidd
10y ago
> real 0m0.248s A quarter of a second to start up the VM, run some code, and exit again is actually pretty steep compared to typical interpreted and compiled languages. Among other things, this means that you can't really call Java
760.
▲
by
ekidd
10y ago
> Contracts that totally indemnify a company in a situation like this shouldn't be enforceable. I definitely agree that as more people find themselves freelancing, we need to establish better legal protections for freelancers. Lots
761.
▲
by
ekidd
10y ago
I've worked as a consultant for years. I occasionally employ a lawyer to review contracts with my clients. As a general rule of thumb, I'll only work for a client under one of three circumstances: 1. The client's standard con
762.
▲
by
ekidd
10y ago
Since you asked... If you can model your data flow as pipelines that run when their inputs update, you might interested in Pachyderm ( https://www.pachyderm.io/ ). This uses Kubernetes and Docker images to run multi-stage com
763.
▲
by
ekidd
10y ago
From the article: > To optimize cold start overheads, Fission keeps a running pool of containers for each environment. When a request for a function comes in, Fission doesn't have to deploy a new container -- it just chooses one tha
764.
▲
by
ekidd
10y ago
> I can just imagine waking up, looking at my phone which has been working perfectly well up until that point, and being told it now has been bricked for some licensing issue. If I were to buy a Blackphone, I would do it because I wanted
765.
▲
by
ekidd
10y ago
> Any realistic alternative to C must understand interrupts, memory mapped registers etc.. Forth is the only one in which this is possible. Every other example I've seen always uses C for "low-level" access or a libraries.
766.
▲
by
ekidd
10y ago
> Edit: that said, if there are - in fact - simple ways of achieving this goal I'd like to hear so I can share them. Here are some things which aren't too hard, but which provide a reasonable improvement in security: 1. The eas
767.
▲
by
ekidd
10y ago
Define "subversive." Does politically organizing against Putin count as "subversive"? Does not wanting everything you read online to be tracked and recorded by the NSA/Obama/Trump count as "subversive"
768.
▲
by
ekidd
10y ago
> Having kids with two full-time working parents totally changes you. So much that it took 3 job changes to finally find the right balance - no more interesting startups, it's relatively boring web stuff as freelancer for me. You ca
769.
▲
by
ekidd
10y ago
> Windows is most backward compatible software in existence. You were downvoted for saying this, but anybody who has read the Old New Thing blog ( https://blogs.msdn.microsoft.com/oldnewthing/ ) or Raymond Chen's
770.
▲
by
ekidd
10y ago
> It's pretty dead simple to get a cluster up these days The standard Kubernetes setup instructions are horrible. You need to run a bunch of shell scripts including cluster/kube-up.sh, which are documented to work on AWS, but w
771.
▲
by
ekidd
10y ago
> a simplicity that led to writing working code on the first run ...whereas Rust optimizes for the property "Once it compiles, it's probably going to work flawlessly on the first try." You do spend a lot of time having a c
772.
▲
by
ekidd
10y ago
> Vault's documentation clearly states to not use ETCD as the HA backend. Yes, when I reported bugs against the etcd HA backend they said they were going to add more prominent warnings to the docs, if I remember correctly. :-) I thi
773.
▲
by
ekidd
10y ago
> Perhaps the pool of people with 15-20 years that are still doing programming is very small I'm at 20 years of paid, professional coding, and 30+ if you count my Apple IIe/gs days and fooling around with C++ as an undergrad. I
774.
▲
by
ekidd
10y ago
I use a lot of this distributed systems tooling on a day-to-day basis: Docker, Kubernetes, Vault, Pachyderm, etc., etc. It's all brilliant and innovative software and I'm glad to have it. But every time I need to dig down into the
775.
▲
by
ekidd
10y ago
I've always wanted to like Go, but every time I get ~1,500 lines in a project, I remember my pain points. I totally see why other people like the current version of Go, but as it stands, it's not an ideal match for my brain. Depen
776.
▲
by
ekidd
10y ago
One big question in the minds of many customers might be political stability. Tunisia had a revolution in 2011, correct? Switzerland, in contrast, hasn't been invaded for 500 years IIRC, despite being literally in the middle of two wor
777.
▲
by
ekidd
10y ago
The largest preservation effort along these lines—though not using ceramics—is probably the Internet Archive, which seals physcial materials into shipping containers. Some examples: https://www.theguardian.com/books/201
778.
▲
by
ekidd
10y ago
> Would have been much better if you could tell it the dependencies instead of having to use yet another make clone (and a bad one at that) though. It's not intended to be used like make, with lots of shell scripts in a Makefile. In
779.
▲
by
ekidd
10y ago
Yes. Cargo supports build.rs scripts that build code into a special directory reserved for code generation, IIRC. The cargo people generally think this sort of thing through.
780.
▲
by
ekidd
10y ago
Projects rarely die because of technical debt. Instead, it becomes ridiculously expensive and difficult to add new features. But the software itself can remain in use for decades, gradually decaying and rarely adapting to changes in the bus
More ›