Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shawn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
121.
▲
by
shawn
8y ago
Also, I don't really care about a claim that says you could write it faster. That's borderline meaningless in my work unless you're talking about an order of magnitude difference, and I sincerely doubt that. Ah, fair point.
122.
▲
by
shawn
8y ago
It wasn't dismissive, it was foolish. The CSV parser is actually a separate project, and is around 15k lines of code. That certainly won't be done in a weekend. Look, it's stellar, A+ software. All I was saying is that you ca
123.
▲
by
shawn
8y ago
If it sounded like I was dismissing someone else's work, you're reading too far into it. Who would be silly enough to dismiss a tool from the author of ripgrep?
124.
▲
by
shawn
8y ago
Mm, using someone else's parser would defeat the spirit of the challenge. I think xsv is worthwhile for being a robust parser, not necessarily for its performance. And my claim is that you'd be able to write it faster, without tra
125.
▲
by
shawn
8y ago
$ files | narrow \.rs$ | narrow '!tests' | xargs cat | nlines 4251 It's 4k lines of Rust. Shedding the static typing nonsense will get rid of at least 25% of that. Writing it in Lumen will buy an extra 2x in product
126.
▲
by
shawn
8y ago
They do, but is it searchable? The best solution I've found till now is to just create a text file with the same name as the pdf.
127.
▲
by
shawn
8y ago
Oh! I didn't realize I needed to specify anything before clicking "Generate". That could have been why.
128.
▲
by
shawn
8y ago
This question reduces to "Why trust Tarsnap?" Colin is a renowned security expert and it's known how he handles vulnerabilities: http://www.daemonology.net/blog/2011-01-18-tarsnap-critical-... After that
129.
▲
by
shawn
8y ago
Terrible idea. If you try to force users to do key management, you've lost. Keybase is the only one getting this right, and people are now claiming they're ignoring security in order to do it. It would be a dumpster fire to trust
130.
▲
by
shawn
8y ago
Thanks!
131.
▲
by
shawn
8y ago
Why load dependencies when the task is text transformation? It’s not artificial. Importing the regex libs won’t affect the results by more than a rounding error.
132.
▲
by
shawn
8y ago
Ohhh, you wanna throw down eh? Hmmm. This would be a fun weekend project to reimplement XSV in Python and prove this wrong. :) Now, to make this a fair comparison, are you excluding pypy? Or is that allowed for our game? How about LuaJIT or
133.
▲
by
shawn
8y ago
If a tool is written in an interpreted language or has to load a large VM on each invocation than a large percentage of the total runtime of the CLI tool will be spent on language-specific tasks. This is a myth, FWIW. LuaJIT, python, and
134.
▲
by
shawn
8y ago
There is no such binary for the raspberry pi. If it was written in python, it would have worked. It likely would have turned out smaller, too.
135.
▲
by
shawn
8y ago
I’d trust Tarsnap with my life, and it’s written in C. You have to evaluate the merits of an individual project, not blindly put your faith in their security claims. I say this as a former pentester.
136.
▲
by
shawn
8y ago
Python is installed literally everywhere. If it’s a CLI tool, and it’s written in python, the chance that it won’t work is slim. Go has a massive number of problems. For example, I tried to run Keybase’s standard “go get” build instructions
137.
▲
by
shawn
8y ago
It doesn’t. It’s one of the most annoying aspects of Rust that “Written in Rust” is considered an attractive quality. But, whatever. There’s no reason to be gratuitously negative. I’m just a bit salty that lesser known languages are often e
138.
▲
by
shawn
8y ago
The mood detection may as well be RNG. I have an even better way to identify who is an expert on HN. Say "It's silly that X still isn't a thing." If X is a thing, you'll get ten people telling you why you're wr
139.
▲
by
shawn
8y ago
Quick question: Why can't I write, with a pen, in the margins of PDFs I read? At first glance it sounds like a dopey question. But think about it. Writing in margins has been one of the most useful tools in human history, and for some
140.
▲
by
shawn
8y ago
I've only read one business book, and that was it. Kidding aside, I think it's a good one because it's a mix of analysis and history. Thiel had a unique vantage point, and he shares it well. It also challenges you to be ambit
141.
▲
by
shawn
8y ago
Zero to One http://gsl.mit.edu/media/programs/south-africa-summer-2015/m... (Caution: It was written by gasp Peter Thiel.)
142.
▲
by
shawn
8y ago
Sure, everything is an opportunity. Make it happen! On the other hand, the traditional wisdom is that a lack of competition isn't a good sign.
143.
▲
by
shawn
8y ago
Aaand it's dead. Drat. (500 internal server error when clicking on Generate Pop Music.)
144.
▲
by
shawn
8y ago
Not without being fake. People can change over time, but the core "being" of a person – what they're really like – tends to stay static. Here's a specific example. You can be taught to overcome a fear of getting up onsta
145.
▲
by
shawn
8y ago
The daily art streak was an awesome suggestion, thank you. I have one specific question. When you write in your diagrams, what brush settings do you use? Are you using calligraphy mode? The handwriting in your diagrams has a unique look and
146.
▲
by
shawn
8y ago
Do you have any recommendations for learning the app to make what you’ve made? I don’t suppose I could bribe you into recording a video of yourself making some diagrams... Your algorithms book is excellent and fun!
147.
▲
by
shawn
8y ago
I don’t understand this argument. Murderers will find ways to murder people. If that’s their goal, then that’s their goal. So why is Didi related at all to the bad behavior of a few outliers? You’re far more likely to die on the highway or
148.
▲
by
shawn
8y ago
My mistake. Thanks!
149.
▲
by
shawn
8y ago
Echoing the sibling comment: How'd you make the diagrams? They're quite lovely and I'd like to follow your process.
150.
▲
by
shawn
8y ago
I did this today with neural nets and training classifiers. Looking forward to reading your notes!
More ›