Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
opk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
opk
11y ago
What are "raptors"?
152.
▲
by
opk
11y ago
As the article states, this only supports lists of pointer types. The result would be the same bad performance that Bjarne Stroustrup warns of in the cited talk on linked lists. Each of these pointers will be random memory positions giving
153.
▲
by
opk
11y ago
Isn't it really rather pointless to show distro-specific installation instructions. Someone who can program in scheme or octave really doesn't need help on using apt-get. There's many options if you want to cover a good range
154.
▲
by
opk
11y ago
I'd recommend the newer tre agrep instead: https://github.com/laurikari/tre/ Wikipedia does a decent job of explaining the differences: https://en.wikipedia.org/wiki/Agrep
155.
▲
by
opk
11y ago
The pigz -11 option uses zopfli which is the algorithm referenced in the original article.
156.
▲
by
opk
11y ago
Though as that link mentions, using the terminal's bracketed-paste feature can avoid that. It talks about oh-my-zsh but support for that is built-in to zsh since 5.1. It still isn't perfect, as the pasted text might contain fake e
157.
▲
by
opk
11y ago
Judging from a quick test, No. There's better options if you want to make the sequences visible, for example: sed -n l
158.
▲
by
opk
11y ago
It just seems rather wasteful. I don't care if the guy has more money than me though I am stunned that someone who appears to be a programmer (like myself) would regard quite a few hundred dollars as a trivial matter. As someone else
159.
▲
by
opk
11y ago
He bought an iphone 6s as a testing device that would spend most of its life in a desk drawer! I hope this was a company expense or something? One of those would be like a weeks wages for me. I can't understand why people pay so much f
160.
▲
by
opk
11y ago
My first thought was, what about the "C" locale so good to see that question already answered. I really wish there was some sort of standard "U" locale that would be the same as "C" but UTF-8, and ISO rather th
161.
▲
by
opk
11y ago
Go to http://www.eumetsat.int/ and follow links on data delivery. The eumetcast system lets you pick up data using normal satellite TV hardware but you're not picking it up direct from, e.g. MSG-4. It is broadcast via
162.
▲
by
opk
11y ago
> 3. Capitalize the subject line, 4. Do not end the subject line with a period To me, it just seems wrong to capitalize but not use a period. It should be either both or neither.
163.
▲
by
opk
11y ago
If you like the text object support, make sure to check out the select-quoted and select-bracketed functions under Functions/Zle. They implement things like ci" and ci( but you have to manually enable them because they're she
164.
▲
by
opk
11y ago
Isn't this just doing the integer log to base 2 of x (or put another way, determining the highest set bit). Search for bit manipulation hacks and you'll find people have already thought about how to do that as efficiently as possi
165.
▲
by
opk
12y ago
You didn't get the system include files without having the compiler so, yes, gcc wasn't a full solution. Also missing without paying extra was troff so I had to use groff just to be able to format man pages (they mostly came prefo
166.
▲
by
opk
12y ago
Don't you mean to write "couldn't care less" in the first sentence.
167.
▲
by
opk
12y ago
Looks like gcc is also generating a dispatcher function. This should really be the runtime linker's job. Solaris has been able to do this for as long as I can remember.
168.
▲
by
opk
12y ago
Google code also makes it really hard to subscribe to projects mailing lists with a non-gmail e-mail. It is possible, you just have to know how to construct the subscribe message or get the maintainer to invite you.
169.
▲
by
opk
12y ago
There's a variety of different things you can bind up-cursor to. It sounds like you want. bindkey '\e[A' history-beginning-search-backward Even better is the function in Functions/Zle/up-line-or-beginning-search To
170.
▲
by
opk
12y ago
The problem is that all the names of parameters in every header file suddenly become enshrined as part of the API. You end up having to remove the names from all the system header files or first standardise their names. Otherwise, you'
171.
▲
by
opk
12y ago
All software with more than a few lines of code contains bugs. Zsh doesn't support the misfeature of exported functions so is not vulnerable to this issue.
172.
▲
by
opk
12y ago
I don't think you can conclude too much from it being a 9V battery. It depends how it is connected up. The shock from an implantable cardio defibrillator which comes from a small lithium battery hurts more than 240V through your finger
173.
▲
by
opk
13y ago
I get 1/4 as the optimal value for f. Given a 500/500 win lose, then final money = (1-f)^500*(1+2f)^500 = (-2f^2+f+1)^500. To find the maximum, the ^500 is irrelevant. Differentiating and finding a gradient of 0 gives: -4f+1=0 or
174.
▲
by
opk
13y ago
I rarely use join and it never occurred to me. For combining the one file that had records spanning several lines, I used awk instead of grep -A as the hints suggest. Where the hints suggest a head/tail combination, I used sed. I also
175.
▲
by
opk
13y ago
What does the number 101 refer to? It doesn't seem to be a version number. The diagram nicely expands ELF to Executable and Linkable Format but no explanation of the number.
176.
▲
by
opk
13y ago
You seem to be invoking the compiler separately for the sole purpose of building .d files (with a %.d: %.c rule). Don't do it that way. With the -MMD option, you create the .d file as a side-effect of the real compilation. Any change t
177.
▲
by
opk
13y ago
There are two separate stages with GNU make. The first is very lisp like with the functions like $(filter) and you use it to create all the rules for the second, more prolog like, stage. A simple Makefile would do nothing for the first stag
178.
▲
by
opk
13y ago
GNU make already has a number of functions for things like filtering a list for strings matching a pattern. There were many requests for additional functions. There's some sense to integrating guile rather than going further down the p
179.
▲
by
opk
14y ago
For well known flags like grep's -E, this makes it less obvious what the script is doing. Not everyone speaks English as their first language and most of the long options are GNU specific so won't be portable.
180.
▲
by
opk
14y ago
The thing I like a lot with DDG is that you can easily configure the region and language explicitly. Google keeps redirecting me depending on geolocation (that isn't always correct). When searching for shopping, I want things to be local. W
More ›