Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bertr4nd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
bertr4nd
10y ago
Perhaps I'm misunderstanding what you're suggesting, but IIRC installed Android apps are still compressed on disk, to save storage space, hence the recompression.
122.
▲
by
bertr4nd
10y ago
Honest question: does password strength actually matter that much in practice? Do people using "horse" get hacked more often than using "zjh5?&Dp"? Is there a point of diminishing returns where "horse23"
123.
▲
by
bertr4nd
10y ago
It's not compiled ahead of time any more, but yeah, that gives you an idea of just how darn big the server side code is.
124.
▲
by
bertr4nd
10y ago
HHVM's register allocator has a few tricks to minimize code size. Among other things it tends to prefer the old regs to the new x64 ones. As you might imagine code size is a significant challenge for Facebook so these kind of optimiza
125.
▲
by
bertr4nd
10y ago
I hope this is different from what this article is advocating, but I worked on a project that kept per-sub directory changelogs that were intended to track every commit to every file in a directory. Our tech lead basically had to nag everyo
126.
▲
by
bertr4nd
10y ago
I highly recommend Peter Norvig's example Lisp interpreters. He has Python and Java implementations and they are both very accessible, so you can digest them in a few hours' time. "Production" language interpreters tend
127.
▲
by
bertr4nd
10y ago
To me it seems actively good to include examples that use well-developed libraries, to show the types of tools and abstractions that one can build on. Restricting oneself to a language's standard library may give the false impression t
128.
▲
by
bertr4nd
11y ago
We should work fine with Jack & Jill since, as you said, we work at the dex level. That said, it'll be interesting to see how our optimizations interact.
129.
▲
by
bertr4nd
11y ago
My next invention will be a sarcasm detector.
130.
▲
by
bertr4nd
11y ago
You shouldn't need to change your proguard config to use redex. For mapping files, the one thing that can trip people up is that we strip out source file names. After you run redex there should be a /tmp/filename_mappings.t
131.
▲
by
bertr4nd
11y ago
Lol. Actually I'm pretty interested to see what we can do with jack, since it has an API to hook into various stages of the code generation pipeline. We haven't invested much time in it yet though, since it's still in a some
132.
▲
by
bertr4nd
11y ago
Yep, we actually see perf benefits overall with ART. Starting with redex-optimized bytecode actually helps dex2oat generate faster/smaller native code.
133.
▲
by
bertr4nd
11y ago
Yes, of course we do! It's the motivating example for ReDex :-)
134.
▲
by
bertr4nd
11y ago
It's conceptually similar, but we've focused on optimizations that add value on top of ProGuard - we do use ProGuard internally, so the improvements we're seeing from ReDex are on top of that. We get a lot of leverage out of
135.
▲
by
bertr4nd
11y ago
Hey all, ReDex developer here, happy to answer questions!
136.
▲
by
bertr4nd
11y ago
I doubt universities can come close to affording it. My CV wouldn't have gotten me a tenure-track position at a top school, but my income in industry is much higher than even the best paid professors at my alma mater (ignoring profs&#
137.
▲
by
bertr4nd
11y ago
I assume you mean this tongue-in-cheek, but someone yelling at me in an interview is probably not going to score well on the "Do I want to work with them?" X-factor. Of course, a well-informed discussion of hash table complexity w
138.
▲
by
bertr4nd
11y ago
Speaking only for myself here, but glibc is almost completely unintelligible. I'm not sure if the Linux kernel is as bad, but with glibc anytime I've gone looking for even a trivial function I've regretted it.
139.
▲
by
bertr4nd
11y ago
I think the other poster had it backwards. I'd expect CMOV to perform worse with high memory access latencies (which it does), because it stalls the pipeline. With low access latencies the pipe doesn't stall (for long) anyways,
140.
▲
by
bertr4nd
11y ago
This is just an educated guess, but the cmov is probably going to stall the execution stage of the pipeline, which could end up backing up the front-to-back-end queue, the reorder buffer, and perhaps even fetch itself. You're getting
141.
▲
by
bertr4nd
11y ago
Yeah, that's basically how I feel about it. I'm sure not everyone agrees, and I certainly don't mean to pass judgment. I'm just saying that I, personally, would feel weird about doing so.
142.
▲
by
bertr4nd
11y ago
I'm genuinely curious -- do many people with salaried jobs really have a "side hustle"? I'd feel a bit guilty working on a side project for money when I'm being paid as a fulltimer.
143.
▲
by
bertr4nd
11y ago
Out of curiosity - when you've done this type of proxy test, what do you do about write operations? Do you proxy to a test DB, or do you have your code neatly factored to avoid writing on the test path (I guess most code I've wor
144.
▲
by
bertr4nd
11y ago
"If asshole behaviour is a route to power, those who already have positions of power in the hierarchy and are widely acknowledged to be clever, have less reason to use it." I've noticed this a lot in my academic career. The
145.
▲
by
bertr4nd
11y ago
Sounds horrible. I came across the following quote earlier today that sums up my reaction pretty well: "Honesty without empathy is cruelty."
146.
▲
by
bertr4nd
11y ago
> The first person to create a tool that can pipe a table from a browser into a spreadsheet... Wait a minute. This is called the clipboard. Try it -- you can just copy and paste the table into a Google Doc and it Just Works. What'