Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekidd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
631.
▲
by
ekidd
8y ago
Over the years, I've deployed applications using various combinations of custom RPMs, Chef, Heroku, Docker, ECS and Kubernetes. If you can, you should probably deploy to Heroku. (Or a similar service.) It's far cheaper than spendi
632.
▲
by
ekidd
8y ago
> I wonder how many of the Rust defenders in this article actually know C++ and have written a production used Rust system, instead of a side-project on github, so that they can compare in an informed way? The author certainly has, but
633.
▲
by
ekidd
8y ago
> Fear, and respect, the absurdly difficult challenge that is writing correct concurrent code, even when your compiler is helping you out. There are plenty of safe and easy models for writing concurrent code. Here's a famous one t
634.
▲
by
ekidd
8y ago
> The build quality is such rubbish, and you begin to feel it almost immediately. I would really like to buy another System76 laptop, except for the build quality. PRO: Linux worked out of the box, the price/performance was much b
635.
▲
by
ekidd
8y ago
Author here. It's fun to see this post 14 years later! If you like this, you might also enjoy: - Prolog: This is an entire language built around choice and backtracking. https://en.wikipedia.org/wiki/Prolog - The
636.
▲
by
ekidd
8y ago
Yup. Universities, government agencies and giant multinationals will all pay according to their standard vendor policies. This may be 3+ months after you submit the invoice in some cases. But most of these institutions will pay, so you ju
637.
▲
by
ekidd
8y ago
I've worked as a consultant several times in my career, focusing on helping startups build an MVP and find their market. I've also done one-off projects for larger businesses, mostly trying to fix a long-standing internal technica
638.
▲
by
ekidd
8y ago
Here are the major categories of stuff we've built in Rust at work: 1. Lots of little CLI tools, statically linked using https://github.com/emk/rust-musl-builder . These are fast, portable, easy to share, and easy
639.
▲
by
ekidd
8y ago
I've been programming in C and C++ since sometime around 1992 (and Pascal before that). For the last 3 years, I've been writing Rust professionally. Here's my Rust advice for C and C++ programmers: - Rust is a higher-level la
640.
▲
by
ekidd
8y ago
Yeah, Rust's musl support is great. We use it heavily at work for all sorts of CLI tools. Many thanks to everybody who worked on this. (And if you need to link against common C libraries like OpenSSL or PostgreSQL, I maintain a Docker
641.
▲
by
ekidd
8y ago
Thank you for checking this, and determining it didn't actually apply in this case. We do a lot of I/O intensive Rust at work, and I have a list of things to double-check when benchmarking. The most common slowdowns: debug builds,
642.
▲
by
ekidd
8y ago
I think you've seen this comment about integer overflow optimizations? https://www.reddit.com/r/rust/comments/ab7hsi/comparing_pyth... But I also note that the original version of your benchmark was
643.
▲
by
ekidd
8y ago
The Rust "edition" flag is set on a per-library ("crate") basis, not per source file. It basically just controls a few small differences at the parser level. I'm really happy about the ability to mix older Rust 2015
644.
▲
by
ekidd
8y ago
As other posters have noted, one of the biggest sources of lead is window trim. Replacing windows in old buildings is also a serious renovation—for example, I know a landlord who paid about $15,000 to replace the windows in a 3000-sq. ft. d
645.
▲
by
ekidd
8y ago
> I would expect tenants to be proactive and organize to have lead removed in time, by their own means if necessary, Lead removal and/remediation is hard to do safely. We looked into this when deciding whether to buy an older hous
646.
▲
by
ekidd
8y ago
> for my own code I think the biggest improvement to correctness would come from fat pointers with array size information, enabling bounds checking. Yes. In fact, I suspect that's the single biggest thing most C programmers could
647.
▲
by
ekidd
8y ago
> "Nobody" will "ever" misuse, and misuse will be easy to detect... And lastly, of course, abstraction has nothing to do with "security systems". I've spent a lot of time digging around in other peopl
648.
▲
by
ekidd
8y ago
> the final version of this exact proof is not human readable any more: In general, Coq proofs are meant to be read using tools, not as plain text. You start out with the theorem you want to prove, and you apply a rule to it. Then Coq
649.
▲
by
ekidd
8y ago
Yes. For a while, you've been able to embed JavaScript wrappers using stdweb ( https://github.com/koute/stdweb ). There are pre-built libraries covering much of the DOM. But you may need to submit PRs if you get hea
650.
▲
by
ekidd
8y ago
XML namespaces do offer some nice possibilities. But the lack of official JSON namespaces doesn't prevent you from doing something like: { "built_in": "value", "org.example.my_extension&qu
651.
▲
by
ekidd
8y ago
> A number of people on emacs-devel, and IIRC, RMS too, suggests that we should not be over-protective parents of Emacs users, and on most levels, I agree. While this might seem like a strange philosophical position to take when it come
652.
▲
by
ekidd
8y ago
> I'd like to hear something like "This is how our team used Rust to do (really hard thing involving heavy concurrency and lots of state)". Our team uses Rust for moderately complex concurrency. TL;dr: There are tradeoff
653.
▲
by
ekidd
9y ago
I've written a couple of RSS aggregators. The main problem with RSS is that everybody thinks it's too complex, so they create a new syndication format, thus adding to the complexity. RSS 0.9x was really simple, just XML and a ha
654.
▲
by
ekidd
9y ago
> The thing is, this is the sort of thing people _actually say_ about p/m fit. E.g. Marc Andreessen: "you can always feel product/market fit when it’s happening"[0]. I've consulted for quite a few startups, and
655.
▲
by
ekidd
9y ago
We're hoping to open source our streaming S3 uploader. Behind the scenes, it uses the `crossbeam` crate (for scoped threads) and BurntSushi's `chan` crate (for bounded, blocking mpmc queues, which is how we get backpressure from a
656.
▲
by
ekidd
9y ago
> Why would you create a special data type to represent a string split by Whitespace? Big chunks of Rust are build around iterators, and `split_whitespace` returns an iterator of type `SplitWhitespace`. Because this is a concrete type,
657.
▲
by
ekidd
9y ago
> And the hip hinging is sprinkled throughout sports. Weightlifters use it when they do what's called a deadlift. Now, I'm by no means an expert, but I can confirm this. Powerlifters generally try to perform deadlifts with a
658.
▲
by
ekidd
9y ago
OK, I might have a couple more languages than the average mid-career developer, but I don't think I'm that much of an outlier. So here goes. I have, in the past 10 years, professionally and successfully worked with C++, Scheme, Ru
659.
▲
by
ekidd
9y ago
I'm deeply skeptical of any explanation that claims that we have both a "shortage of labor" and "downward pressure on wages": > If men and women from the ages 25 to 54 took part in the labor market... [t]hat w
660.
▲
by
ekidd
9y ago
So the first question: Why are you using a doubly-linked list? :-) Due to the way modern processors work, following long chains of pointers is massively expensive (unless can you carefully control where all of the memory was allocated). The
More ›