Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jgraham
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
61.
▲
by
jgraham
6y ago
I've shipped relatively lots of code in Python and a little bit in Rust. For any project where performance or correctness are significant concerns I'd much rather use Rust than Python. It provides a lot more tools to help you writ
62.
▲
by
jgraham
6y ago
Good catch, thanks! Should be fixed now.
63.
▲
by
jgraham
6y ago
I recently converted a medium size project from Python 2 to 3 by first adding type annotations to everything, then getting mypy to pass with both versions of Python and then fixing up the remaining issues on the unittests. The functionality
64.
▲
by
jgraham
6y ago
If you have tooling to support it, rebase-and-ff-merge is perhaps an even better workflow. In this model every commit on the main branch has a first parent that's the previous merge, and a second parent that's a linear set of the
65.
▲
by
jgraham
6y ago
The problem with XHTML is that the "abort on parse failure" behaviour simplifies a computer science problem at the expense of creating a business problem; now if you have an error somewhere in your content generation pipeline it m
66.
▲
by
jgraham
6y ago
> The fathers are looked at negatively if the don’t take some of this time. This isn't just an apriori fact of the culture, but an intentional result of the structure of the leave. 90 days are reserved for each parent (there's
67.
▲
by
jgraham
6y ago
I'm not/wasn't a member of the Servo team, but have collaborated with them, and if you get the opportunity to work with them I cannot recommend it highly enough. They have the kind of deep technical knowledge and ability to s
68.
▲
by
jgraham
6y ago
What I personally want from namespaces on crates.io is basically the same as I want from org names on GitHub; the ability to manage permissions at the level of a organistation rather than each package requiring a unique setup, making it har
69.
▲
by
jgraham
6y ago
If you can observe GC from content then site behaviour will start to depend on the specifics of one GC implementation. Not only will this be a disaster for cross-browser interop, it will prevent that single engine improving its GC design go
70.
▲
by
jgraham
6y ago
It's not hard to find an actual butcher in London, but that may just be a metropolitan liberal elite bubble :p Agreed that the butchers in supermarkets, and even in many "butcher shops" are basically just cosplaying at butche
71.
▲
by
jgraham
6y ago
> Sorry but I don't understand how keeping contact information private or public has any effect on the compliance of people to stay in quarantine? Because if you know who's supposed to be in quarantine you can take steps to ver
72.
▲
by
jgraham
6y ago
> I really don't understand all these discussions about something that might save lives. IMO the real discussion should be whether these app are privacy preserving enough. Are there (realistic) attacks on these apps? How can we miti
73.
▲
by
jgraham
6y ago
efficacy. Can't spell it and made a typo :)
74.
▲
by
jgraham
6y ago
https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_t... On March 16th there was a request to avoid "non-essential travel and contact with others", on March 20th pubs and resturants were forcibly close
75.
▲
by
jgraham
6y ago
> https://045.medsci.ox.ac.uk/files/files/report-effective-app... This is pretty much what I was looking for, thanks. So in their model you need 80% of smartphone users (56% of the population) to opt in to the
76.
▲
by
jgraham
6y ago
> "50% of people follow up correctly" for example seems unrealistic due to a few factors My assumption was that if the R0 is 3-5, that's small compared to the total number of contacts over the infectious period. That means
77.
▲
by
jgraham
6y ago
Is there a good discussion anywhere of the anticipated impact in effacity on various choices around privacy here? A simple toy model for the fraction of infection chains stopped might be something like fraction stoppped = (usage fraction in
78.
▲
by
jgraham
7y ago
http://web.archive.org/web/20051016203842/http://diveintomar...
79.
▲
by
jgraham
7y ago
You also don't need to stretch and fold, you can just knead (or not even do that if you have enough gluten development from the autolyse). I point this out because I'm pretty sure that different techniques will suit some people be
80.
▲
by
jgraham
7y ago
As well as the advice elsewhere in the thread about reducing soil fertility to prevent grasses outcompeting wildflowers, it's worth noting that many species may take more than one year to establish. Annuals like — in the UK — poppies a
81.
▲
by
jgraham
7y ago
I fully agree that a garden overtaken by brambles isn't a nice thing. But it's also not true that scrubland in general is some kind of death to nature. Plants like blackberries provide protection from predation and browsing heribo
82.
▲
by
jgraham
7y ago
This just isn't true. In Windows paths are UCS2 i.e. arbitary sequences of unicode code units, inclusing unpaired surrogates. This means that there are paths that will work on Windows but cannot be encoded as e.g. valid UTF-8. As a res
83.
▲
by
jgraham
7y ago
Pigeons have been trained to discriminate between different styles of art [1], which suggests complex, adaptable, visual processing and skill retention. So they may not be a great example of a bird that can only exhibit simple behaviours. [
84.
▲
by
jgraham
7y ago
(WebDriver standard contributor and member of the team working on this in Gecko) There is a plan to update the WebDriver standard to encompass the automation features that are currently only available via devtools protocols. There's ag
85.
▲
by
jgraham
7y ago
The idea that HTML is hard to parse isn't exactly controversial; the HTML spec has a long description of the exact rules you're required to implement to parse HTML and it's a bunch of special cases and error handling. Certain
86.
▲
by
jgraham
7y ago
The web has so many vectors for exfiltrating data that it seems hard to come up with a js sandbox that is both useful and cannot leak data. Any DOM write access whatsoever allows you to do things like update link targets to include the priv
87.
▲
by
jgraham
7y ago
People always claim this in mercurial posts, but it's really hard to tell to what extent this is just that people who are using hg all the time are familiar with the hg commands and so don't notice the problems any more. As a irre
88.
▲
Git-Revise
(mystor.github.io)
52 points
by
jgraham
7y ago
|
8 comments
89.
▲
EdgeHTML: a bad demise nobody much noticed
(thereshouldbenored.com)
3 points
by
jgraham
8y ago
|
0 comments
90.
▲
by
jgraham
8y ago
> Mercurial has the same "DAG of revisions" model as git, and works just fine, because it has a good UI. People keep saying this, and this keeps not matching my experience of helping people with VCS issues at Mozilla. Mercurial
More ›