Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jgraham
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
121.
▲
by
jgraham
10y ago
After being initially skeptical I was convinced by a colleague that this is a good model. The merge commit acts as a kind of "pushlog"; it tells you what actually landed together as a single unit. It probably also tells you what
122.
▲
by
jgraham
10y ago
Pedantry time: mach isn't a build tool, it's a command dispatch framework. So yes, |mach build| will build Firefox (or servo), but, for example, |mach try| will push code to the try server, and |mach mdn| will search MDN. However
123.
▲
by
jgraham
10y ago
This might be a naïve question, but does anyone know if this is suitable for online classification tasks? All the examples in the paper ([2] in the readme) seemed to be for offline classification. I'm not terribly well versed in this a
124.
▲
by
jgraham
10y ago
Yes, the borrow checker is undoubtedly one part of Rust that's unfamiliar, especially if your background is mostly in GCd langugaes where you can treat ownership and lifecycle concerns with impunity. So there is a learning curve which,
125.
▲
by
jgraham
10y ago
I don't think I have any specific resources to recommend, sorry. I wrote most of the initial implementation of geckodriver and mostly learnt Rust from reading the official book, writing some small patches for Servo, and working on this
126.
▲
by
jgraham
10y ago
Not in the same league as the mp4 parser shipping to all Firefox users, but GeckoDriver [1], a Mozilla-authored standalone binary for interacting with Firefox via the WebDriver protocol (e.g. using Selenium) is also written in Rust and ship
127.
▲
by
jgraham
10y ago
<vested interest hat on> For too long it was considered OK to have a spec with either no tests, or tests that focused on the wrong thing ("is it possible to implement this spec" vs "do implementations behave in compatib
128.
▲
by
jgraham
10y ago
It's not exactly the case that it's the superset of all variants currently implemented. In fact that doesn't really make sense; two implementations can just have contradictory behaviour so there is no superset (well, unless y
129.
▲
by
jgraham
10y ago
This seems to fall into the common trap of misunderstanding the causality in standardising legacy features of the web platform. The post says: > The [WHATWG] spec says so because browsers have implemented the spec. But that's exactl
130.
▲
by
jgraham
10y ago
These days you would probably want to write the parser part in Rust, with a small amount of unsafe code to implement a C-compatible API that could then be called from Python, or wherever. I did this for some regexp-based log parsing code wr
131.
▲
by
jgraham
11y ago
The BBC does have freedom from persecution or prosecution (assuming it doesn't publish things that are e.g libelous). But, due to the particular way it is funded, it doesn't have freedom from government intervention. In particular
132.
▲
by
jgraham
11y ago
So that's essentially what mercurial's evolve extension does. Which is pretty useful in some circumstances, e.g. if you have a review tool where you want to support rewriting history in a nice way (the typical approach to this in
133.
▲
by
jgraham
11y ago
It's a bad idea because it's a bad implementation. If it allowed you to select what to squash, defaulting to the behaviour of git rebase -i --autosquash master then it would be a clearly good feature.
134.
▲
by
jgraham
11y ago
Well arguably the long-term result for Mozilla is that we have ended up having to support two version control systems for everything because there has been less resistance to that than trying to force people to use mercurial for everything
135.
▲
by
jgraham
11y ago
> specs are not laws until they're candidate recommendations To be pedantic; web specs are (almost) never laws (occasionally some specs for e.g. a11y are incorporated by reference into other laws, but that typically doesn't aff
136.
▲
by
jgraham
11y ago
The point about GitHub today is that being "the best there is" is as irrelevant to its continued success as "being the best microblogging service there is" is to Twitter's. Open Source projects move to GitHub becaus
137.
▲
by
jgraham
11y ago
As a practical matter, my experience of using FirefoxOS everyday is that performance is not the main issue. Of course it could undoubtedly be improved, but it's acceptable, particularly once you put it onto reasonable hardware (i.e. no
138.
▲
by
jgraham
11y ago
You should ask your friends at Opera about code review systems ;)
139.
▲
by
jgraham
11y ago
Running a test N times will certainly detect some fraction of all the flaky tests. It's something we occasionally do manually to work out if e.g. a certain intermittent is (likely) fixed and it's something that we'd like to d
140.
▲
by
jgraham
11y ago
But we (Mozilla) are also doing many of the same things as the Chromium team here. In particular there is work in progress to automatically "ignore" the results of known-flaky tests until we detect that there has been a change in
141.
▲
by
jgraham
11y ago
No, they don't. At the end of the last contract with Google, Mozilla chose to change their default search provider to Yahoo in the US, and to various other providers in the rest of the world.
142.
▲
by
jgraham
11y ago
Terrifying because there are cases with poor interoperability, or terrifying because the metal model is non-trivial? If you mean the former, that's certainly a pain point on the web (although it's worth noting that some of the spe
143.
▲
by
jgraham
11y ago
The same tools, if they want. jsfunfuzz has been privately available to other browser vendors for some time (although possibly not the latest version?).
144.
▲
by
jgraham
11y ago
Related: http://research.microsoft.com/apps/pubs/default.aspx?id=1186... I don't know if it's a coincidence that around the time that paper was released Microsoft were considerably behind the curve in te
145.
▲
by
jgraham
11y ago
That is reasonable, depending on what you are trying to achieve,, but I think the explanation you gave is a bit misleading. Neither --hard nor --keep affect files that have never been comitted. The difference is that --keep aborts if it wou
146.
▲
by
jgraham
11y ago
That sounds very unusual . Have you got any add ons installed? I suggest trying a clean profile to see if that helps. Unless you have lots of content open that inherently uses a lot of memory, or something.
147.
▲
by
jgraham
11y ago
Servo currently has a (partial) implementation of the Firefox developer tools protocol. This means that you can use Firefox devtools to inspect a servo instance in the same way that you would a mobile device. In the long term if and when Se
148.
▲
by
jgraham
12y ago
You absolutely don't need C++ skills to contribute to Mozilla. They are of course required to contribute to gecko, but that's only one possible contribution option. Others are: * Firefox UI and devtools. Written in a combination o
149.
▲
Announcing the MDN Fellowship Program
(hacks.mozilla.org)
40 points
by
jgraham
12y ago
|
1 comments
150.
▲
by
jgraham
12y ago
> Browser vendors need to rethink the mostly blind eye they've been turning toward corporate DPI and silent MITM. It is unclear to me if browser vendors could actually do anything meaningful here. After all a sufficiently motivated
More ›