Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
reipahb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
1.
▲
by
reipahb
9y ago
It has already been disabled by default for a while. From the article: > The query cache has been disabled-by-default since MySQL 5.6 (2013)
2.
▲
by
reipahb
10y ago
Isn't that what deploy keys are for? See: http://docs.gitlab.com/ce/ssh/README.html#deploy-keys Deploy keys give read-only access to clone a repository, and they are associated directly with the repository.
3.
▲
by
reipahb
11y ago
The difference is that the last one also matches requests to "/", while the regex ensures that there is at least a single character after the "/". That allows "/" to be used for other purposes, e
4.
▲
by
reipahb
11y ago
This being Amazon AWS gives me hope that this will be a CA with an API that allows automatic certificate issuance for domains you control. I find the process of issuing and reissuing certificates for all sorts of services to be an increasin
5.
▲
by
reipahb
11y ago
For people interested in redesigning how web site authentication is performed, I would encourage a look at the FIDO Alliance specifications for "Passwordless UX" and "Second Factor UX": https://fidoalliance.or
6.
▲
by
reipahb
11y ago
I don't think programming languages implement decorators in order to facilitate type checking. They implement decorators because they are a nice generic way to reuse code in many functions / classes. Now, once you have support for
7.
▲
by
reipahb
11y ago
For those looking for more details about what has changed, the changelog is here: https://hg.python.org/cpython/raw-file/v2.7.10/Misc/NEWS (Unfortunately, there doesn't appear to be a short summary
8.
▲
by
reipahb
11y ago
An alternative solution to a viewbox property would be to use CSS transforms. It is a bit harder to work with, since you have to specify translation and scale instead of simply specifying the bounding box, but I don't think it is unrea
9.
▲
by
reipahb
11y ago
However (almost?) all syscalls dealing with filesystem paths take null-terminated strings. See for example the implementation of the open() syscall: https://github.com/torvalds/linux/blob/fb65d872d7a8dc629837a
10.
▲
by
reipahb
11y ago
I agree that arbitrary limits can be a bit restrictive at times, but that is mostly an issue when dealing with automated code checking tools. However, in this case it is more about something to keep an eye for for the reviewer -- if the fun
11.
▲
by
reipahb
11y ago
Personally, I would really like to see more Python extensions written using the ctypes foreign function library. This has two advantages: * Supported on more than just CPython. I.e. you can use them on PyPy as well. * The extensions are far
12.
▲
by
reipahb
11y ago
Actually, deleted orders are not a problem with continuation tokens. The deleted order is only an issue if you use traditional paging requests, which was the point of the article. The only case I can currently think of that cannot be solved
13.
▲
by
reipahb
11y ago
I don't think this requires storing anything on the server. That was kind of the point of the whole "store the server state in the continuation token"-thing :) You want to store enough information in the token that you can ea
14.
▲
by
reipahb
11y ago
Actually, what you get when referencing x.test in Python is a bound method: >>> foo.test <unbound method foo.test> >>> x.test <bound method foo.test of <__main__.foo instance at 0xf74d68ac>> &
15.
▲
by
reipahb
11y ago
The only way I see to solve this without server side state is to replace the page-parameter with a list of items you have seen. The more button would then just find the top 30 items you haven't previously seen. Unfortunately, this woul
16.
▲
by
reipahb
11y ago
One thing to note is that while the continuation token is just a blob of data from the clients perspective, the server can actually use it to store the required state information. A simple method would be to take the state information the s