Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brianhempel
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
brianhempel
9y ago
Correct: if adding a variable for a literal used as a parameter for a function call, the argument name in the function definition is used (provided we can figure out which function was called!). There are multiple name suggestions when: (1)
2.
▲
by
brianhempel
11y ago
Warner/Chappell has submitted a response arguing that it's not quite a smoking gun. Copyright divestment by failing to put a proper copyright notice must happen with the "consent of the copyright owner". The song in the
3.
▲
by
brianhempel
11y ago
I like the colors. Most browsers these days implement window.crypto.getRandomValues() so you could use that and do the generation client-side in Javascript. That way, I don't have to trust that you're not storing these passwords i
4.
▲
by
brianhempel
11y ago
Author here. There are other services that do this sort of thing, but none that accomplished all these goals: 1. Browser-encrypted so the server cannot decrypt it. The decryption key is stored in the URL fragment after the # so the server n
5.
▲
Show HN: Send browser-encrypted messages over self-destructing read-once URLs
(sneakynote.com)
9 points
by
brianhempel
11y ago
|
1 comments
6.
▲
Better Ruby Rounding
(collectiveidea.com)
3 points
by
brianhempel
11y ago
|
0 comments
7.
▲
Artificial Intelligence and Technological Unemployment (slides) [pdf]
(cs.rice.edu)
1 points
by
brianhempel
11y ago
|
0 comments
8.
▲
Optimizing Rails for Memory Usage Part 3: Pluck and Database Laziness
(collectiveidea.com)
9 points
by
brianhempel
12y ago
|
0 comments
9.
▲
Unspeakable Ethics, Unnatural Law (1979) [pdf]
(digitalcommons.law.yale.edu)
2 points
by
brianhempel
12y ago
|
1 comments
10.
▲
Optimizing Rails for Memory Usage Part 2: Tuning the GC
(collectiveidea.com)
5 points
by
brianhempel
12y ago
|
0 comments
11.
▲
Optimizing Rails for Memory Usage Part 1: Before You Optimize
(collectiveidea.com)
5 points
by
brianhempel
12y ago
|
0 comments
12.
▲
Fragmentation of memory (look closely: a very broken page)
(snipview.com)
2 points
by
brianhempel
12y ago
|
0 comments
13.
▲
by
brianhempel
12y ago
Police are trained only to shoot to kill because pulling the trigger needs to be a big event. If you think that "shoot to wound" is an option, then of course you're going to pull the trigger more often. You'll become mor
14.
▲
The Power of Interoperability: Why Objects Are Inevitable (2013) [pdf]
(cs.cmu.edu)
51 points
by
brianhempel
12y ago
|
43 comments
15.
▲
by
brianhempel
12y ago
For full text search, the only global frequency information Postgres uses is the stop-word list. It does not do TF-IDF ranking. [1] For example, if you search for "Bob Peterson", Postgres will rank these two documents the same: &q
16.
▲
by
brianhempel
12y ago
As the IRFY creator, I freely admit that site needs some love. Also, technically, it's a Ruby benchmark. The Rails version is going to be locked to 3.1.3 for as long as possible. The benchmark does not reflect speed improvements in the
17.
▲
by
brianhempel
13y ago
Website author here. On the contrary, you have nailed it. Noob-friendlyness is a valuable part of a language ecosystem.
18.
▲
by
brianhempel
13y ago
Comparing across languages was originally part of the long-term goal. However, I haven't yet come across any good, multi-language, real-world benchmark.
19.
▲
by
brianhempel
13y ago
The variance is sometimes due to RVM troubles. The benchmark is partly a test of the entire Ruby ecosystem. If RVM is bugging, then people are installing sub-optimal implementations. For example: https://github.com/wayneeseg
20.
▲
by
brianhempel
13y ago
I agree. However, when I sat down two years ago to make a benchmark, I couldn't think of anything better to benchmark than Rails. Micro-benchmarks don't predict large application performance very well. I don't like micro-benc
21.
▲
by
brianhempel
13y ago
Rails was only about 5-6% faster in the last few nights of development builds (based on what is installed with rvm reinstall ruby-head). I would be surprised if the released 2.1.0 is more than one percentage point different from that. Prett
22.
▲
by
brianhempel
14y ago
Indeed, the $25,000 PDF is also available as one of the free samples on IDC's website. "Download Samples Now" on this page: http://www.idc.com/MarketScape/index.jsp
23.
▲
Rails Startup Benchmarks: Retina MBP vs. Core 2 Duo MBP
(collectiveidea.com)
5 points
by
brianhempel
14y ago
|
0 comments
24.
▲
by
brianhempel
14y ago
The video is not demonstrating an in-place merge sort. Notice how the sorted pairs suddenly merge. There's another buffer (not included in the visualization) where each merged list is temporarily stored while it is being built up. The sudde
25.
▲
by
brianhempel
15y ago
Yah, I'm skeptical of any language whose job is simply to make writing another language prettier. If the problems of the lower language leak through, then you have to be fluent in two languages for a single problem. To all would-be languag