Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekidd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
100 ms
·
901.
▲
by
ekidd
12y ago
These biased bashes against C++ that advertise rust get somewhere between boring and annoying recently. The main Rust community tries to discourage Rust "zealotry." For example, on /r/rust, the rules include: 4. When
902.
▲
by
ekidd
12y ago
General question about rust: Is there any way to reliably write constant time code in it? Or are you always at the mercy of the compiler undermining you? Rust generates LLVM code, which means that the optimizer is going to do pretty much
903.
▲
by
ekidd
12y ago
This sounds like it might relate to the "hedonic treadmill": http://en.wikipedia.org/wiki/Hedonic_treadmill Brickman, Coates, and Janoff-Bulman were among the first to investigate the hedonic treadmill in th
904.
▲
by
ekidd
12y ago
I've been using Rust to process a large text corpus, and as Armin suggests, it's a really interesting experience. Here are a few things I've noticed so far: 1. Writing Rust code definitely takes more time than Python or Ruby,
905.
▲
by
ekidd
12y ago
Docker is great, and I love Docker. I have a couple of specialized non-HTTP apps I'd love to deploy to a Docker cloud, and I'm waiting for a convincing Docker PaaS vendor to come along. But: 1. A single, full-time sysadmin has a t
906.
▲
by
ekidd
12y ago
Am I wrong to bet on docker? Should I return back to the the poisoned fruits of Heroku walled garden or venture forth in the great ocean with Docker? I'm a huge Docker fan, and I think Docker is probably a decent medium-term bet at t
907.
▲
by
ekidd
12y ago
(Original poster here.) Yes, returning indexes is also an excellent solution in this particular case, because it forces the programmer to keep the underlying string around. And you probably can save memory by using a pair<uint32,uint32&g
908.
▲
by
ekidd
12y ago
I agree strongly with patio11. I have a simple rule: 1. Programmers are the final authority on how long a specific piece of functionality will take. 2. Clients are the final authority on what to build, in what order, and how much money it&#
909.
▲
by
ekidd
12y ago
I've previous written about techniques for implementing fast multiple dispatch using Dylan's type system: http://www.cs.dartmouth.edu/reports/abstracts/TR2001-404/ In my personal experience as a Dyl
910.
▲
by
ekidd
12y ago
This part seems really difficult to do well: We should work for end-users disenfranchised by lack of programming expertise. We should concentrate on their modest but ubiquitous needs rather than the high-end specialized problems addressed
911.
▲
by
ekidd
12y ago
One of my favorite SF stories flips this premise: What if human beings were the wise, moral, responsible galactic elders? And we discovered low-tech aliens who observed: - "Humans have such good self-control! They can resist cannibalis
912.
▲
by
ekidd
12y ago
Overall, this looks pretty interesting, assuming your goal is to communicate physical locations with an accuracy of a couple of meters using a format that fits on a business card. It can also be used without country names, if you prefer it
913.
▲
by
ekidd
12y ago
Seems like the protection laws were enacted with the goal of ensuring access to books in small towns. I've lived much of my life in small towns in the US, and honestly, the single best thing about Amazon is that it massively increase
914.
▲
by
ekidd
12y ago
I'm going to try to provide an alternative perspective, one which is more optimistic. This is love letter to programming, written in my late 30s. I've been programming since my parents brought home an Apple II. Even though I somet
915.
▲
by
ekidd
12y ago
OK, that makes sense. Since you asked, the drawback of just logging into an image, editing files, and installing software is that you can only reproduce that image by grabbing an entire file system. When I use Docker, I create a git reposit
916.
▲
by
ekidd
12y ago
Why moconnor's observation matters, based on my personal experience learning French: - It's relatively easy to learn enough French to carry on a slow, clearly-enunciated conversation with a highly-cooperative speaker in a quiet ro
917.
▲
by
ekidd
12y ago
> Do Americans really have no vegetables in winter? You're not going to find many local vegetables in Vermont in the winter. True, we're south of Paris, but the ground is frequently under 50 centimeters of snow and ice, with
918.
▲
by
ekidd
12y ago
In my experience, if I've eliminated every other possibility, it's worth actually reading the assembly generated by the compiler. Most compilers are pretty good, but they do contain bugs, and if I completely rule out the possibili
919.
▲
by
ekidd
13y ago
May I publish an other one without annoying people that are following me for something else ? It's especially a problem with my french articles, since most of people following me won't understand french. Yup, that's a kille
920.
▲
by
ekidd
13y ago
I learned French in my 30s, through a mix of immersion and an overly large Amazon.fr bill, and I speak it a bit below a "professional" level. I agree that if you "burn your ships", language learning can be surprisingly e
921.
▲
by
ekidd
13y ago
I write Ember applications using CoffeeScript plus ES6 module extensions, and everything gets transpiled down to JavaScript. And yet, I find it pretty easy to debug the generated code: It looks more-or-less like what I wrote, it's nice
922.
▲
by
ekidd
13y ago
Just to give you an idea of how underserved the French market is, here's the closest French equivalent I've found to Hacker News: http://news.humancoders.com/ On a busy day, front-page stories get maybe 2 or 4 upv
923.
▲
by
ekidd
13y ago
In my case, I read the mother's article first, and then Tim Armstrong's original remarks and followup statements. This substantially colored my reading, and not for the better. If I brought political biases to my reading, they had
924.
▲
by
ekidd
13y ago
I wrote in haste while the mother's article was fresh in my mind and I was still assimilating Armstrong's latter statements, and it colored my reaction. I went back to rewrite exactly that part 10 minutes later and I was locked ou
925.
▲
by
ekidd
13y ago
I'm delighted to hear that this child is doing well, and I'm utterly appalled at Tim Armstrong's attitudes towards the lives of his employee's children. Apparently it's possible to pay a programmer $100K/year,
926.
▲
by
ekidd
13y ago
Well, that involves running a weird nested stack: The CoreOS systemd, wrapped around a bunch of docker instances, one of which is trying to run the arch Linux systemd inside the container as well. For what it's worth, Docker containe
927.
▲
by
ekidd
13y ago
I've written several non-trivial Go programs, the most recent of which was a server that solved substitution ciphers (for use in subtitle OCR). I tried to write nice idiomatic Go code. And I'm usually pretty good at adapting my br
928.
▲
by
ekidd
13y ago
For Monad, try "Flattenable". A monad is any type which: 1. Supports map. 2. Can be instantiated given a single value. 3. Can be "flattened" when nested two layers deep. For example, an ordered list is a monad, because:
929.
▲
by
ekidd
13y ago
This is a nice, short article which basically says, "You don't actually need to go learn a bunch of category theory if you want to learn Haskell, so please don't stress about it." Despite the title, it's not any kin
930.
▲
by
ekidd
13y ago
From the article: This is like finding a new alloy of steel and then building a bridge out of it to see if its any good. If Go doesn’t have generics, and you know you need generics, why the fuck did you bother with Go? These details are wi
More ›