Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
jpk
12y ago
There's demuxing and there's decoding. Demuxing can easily be done in software where it can fail gracefully. Decoding is computationally expensive and can't be done in software. On many devices, software decoders are too slow
182.
▲
by
jpk
12y ago
When given the option to either abort the process or put hardware into an unrecoverable state and requiring a reboot, you leave the assert in for production.
183.
▲
by
jpk
12y ago
> On top of that, the hw decoders don't even give the profile and level they support, so you have to guess them. We actually put together a codec tester that runs right before the first time a user plays a video precisely because of
184.
▲
by
jpk
12y ago
"Since your average Android application does not have sufficient permission to access /dev/* entries on your system, you must use a proxy called the mediaserver in order to communicate with HW codecs." This is incorrect.
185.
▲
by
jpk
13y ago
Yep, see: http://en.wikipedia.org/wiki/Binary_prefix
186.
▲
by
jpk
13y ago
My favorite is "5KB". The prefix for kilo- is a lowercase 'k'. Uppercase 'K' is Kelvin. I don't even know how to conceptualize a Kelvin-Byte.
187.
▲
by
jpk
13y ago
Not that I agree or disagree, but as a counter-point: Riot has sunk many dollars into organizing leagues for LoL teams, and has put on numerous high-profile events in attempt to push professional gaming into the mainstream. With what do you
188.
▲
by
jpk
13y ago
This reminds me of Mike Monteiro's talk, "How Designers Destroyed the World". http://vimeo.com/68470326 He was talking about web/industrial/etc designers, and this is talking about engineers. It do
189.
▲
by
jpk
13y ago
They switched to the right tool for the job, with great success. They've contributed heaps of open source code to the community. ( https://github.com/twitter ) But they didn't magically make Rails fast, so screw th
190.
▲
by
jpk
13y ago
In the spirit of the OP, I did a similar thing, but using a tag to initiate writing the script file. https://github.com/thatjpk/bashtag-save So, tagging a command line with "#save:scriptname" will save the co
191.
▲
by
jpk
14y ago
> More so, the reason that gun rights are so fundamental in the US is that they are intended as a key tool to prevent the establishment of tyranny. It's unfortunate, but I find few people understand this and it warps the gun ownership/c
192.
▲
by
jpk
14y ago
Nifty. Note, however, that if you want to use it to share javascript demos or something, and you're on a google apps domain that forces https, you might hit something similar to "[blocked] The page at https://googledrive.com/whatever ra
193.
▲
Silent Chrome update breaks flash player for all Linux users
(code.google.com)
8 points
by
jpk
14y ago
|
0 comments
194.
▲
by
jpk
14y ago
If the parent is the only place where there's a reference to the child view, then yes. However like the article says, you often have things like event listeners that, if the child view doesn't clean up, will prevent the child view from get
195.
▲
by
jpk
14y ago
I think just like alecdibble, you're missing the point. sudonim isn't commenting on the ethics or legality of Uber's strategy, but putting him/herself in the Uber CEO's shoes and imagining the stress associated with executing on a strategy
196.
▲
by
jpk
14y ago
You're absolutely right. Like I said, it's a good exercise. A business plan that works on paper is, roughly speaking, a necessary but insufficient condition for success. So as such, you shouldn't bring it to a meeting with an investor or
197.
▲
by
jpk
14y ago
Color was pictures plus location, that's true. Instagram is also just pictures and filters, which is equally dumb but turned out pretty well from an investor's point of view. However, you make a good point. Neither Color nor Instagram wer
198.
▲
by
jpk
14y ago
I mean, I'm not defending Color. It was a terrible app and an even more terrible business. Sequoia invested in the team because they liked them. They gave a bag of money to people they thought could make good use of it, and it didn't pan
199.
▲
by
jpk
14y ago
SoundCloud also precompiles their Handlebars templates. In general, it seems like a good idea. http://backstage.soundcloud.com/2012/06/building-the-next-so...
200.
▲
by
jpk
14y ago
Every investor picks duds. What's your point?
201.
▲
by
jpk
14y ago
The left-hand side: Pretty good, and most would do well to follow this advice. Remember, however, this was written by a VC firm. This isn't a list of things good companies do, it's a list of things that Sequoia portfolio companies do when
202.
▲
by
jpk
14y ago
Backbone is one of those libraries/frameworks/whatever that avoids magic. It's just a pile of reusable parts that make building big javascript applications easier. One can't say the same about, say, Rails. There's a lot of magic in Rails
203.
▲
by
jpk
14y ago
Mildly OT, but... Agreed. Unfortunately, nearly every hardware review like this does that. I almost invariably skip to the last page to read the conclusion first, and only poke through the middle pages if I'm curious why the reviewer drew
204.
▲
HTTP: Using the COPY method where the Destination header isn't a URI
(stackoverflow.com)
1 points
by
jpk
14y ago
|
0 comments
205.
▲
by
jpk
14y ago
Do people really use the "11 days" thing in defense of javascript? I get that it was rushed into production, and all things considered, that was probably the appropriate thing to do given its intended use at the time. But it doesn't matte
206.
▲
by
jpk
14y ago
I second this. Javascript is a dumpster-fire of a language, as is PHP. If I could use anything other than javascript for scripting in the browser, I would, but I can't. So I use it. I can use things other than php on the server, so I do
207.
▲
by
jpk
14y ago
In fact, that's one of the advantages of thorium reactors and fuel cycles. http://en.wikipedia.org/wiki/Thorium_fuel_cycle#Advantages_a...
208.
▲
by
jpk
14y ago
Oh, true. Good call.
209.
▲
by
jpk
14y ago
It used to. It still does, but it used to, too.
210.
▲
by
jpk
14y ago
Looks like find is piped into head, though. So it would only index the first ten?
More ›