Better HN
topnewbestaskshowjobs
Log inSign up

TD-Linux

4,829 karma · joined Jan 31, 2014 (12y ago) · 1,177 submissions

Submissions

comment 9y ago · link · parent

LEDs don't produce polarized light. You might be seeing the matrix scanning.

comment 9y ago · link · parent

IIRC many of them use SPI flash or EEPROM, which you should just be able to pop off and replace with a similar part.

comment 9y ago · link · parent

You can actually evaluate work you've delivered, but only for a very small subset of "work" - basically, things that can be represented and evaluated entirely with software. Here's an example: https://bitcoincore.org/en/2016/02/26/zero-knowledge-conting...

Of course, this is entirely insufficient to do something like "put your corporation on the blockchain".

comment 9y ago · link · parent

Maybe someone can enlighten me, but it doesn't actually look any more low level. The only lower level thing I see is the texture attachment load/store ops. Can you commit a command buffer more than once?

(edit: I realized this API is mostly designed 1:1 with the Metal API, so the docs for that API have filled in most of the missing pieces)

comment 9y ago · link · parent

Well, sysadmins have a way simpler solution: just tell their users to use a different browser. This would have to be coordinated between browsers to have any effect at all.

comment 9y ago · link · parent

AMP pages are prioritized in search results.

comment 9y ago · link · parent

That's an awfully big generalization to post on an internet commenting system.

comment 9y ago · link · parent

Mining is not a race - in fact, the mining being progress-free is a really important part of PoW. If you have a low power setup, you have a very small chance of winning the reward, but it's proportional to your power over the total network power.

There's unfortunately some things that make it a bit of a race - network latency and block verification time. That's why there's so much work spent on shrinking these (the FIBRE network, libsecp256k1)

comment 9y ago · link · parent

Probably things like spectrograms, waveforms, etc. For a lot of effects it doesn't really pay to GPU accelerate their drawing - in this case looks like REAPER is using custom drawing code into an image, but the compositing these image widgets together with native Apple drawing functions onto the final window plane. Doing the final compositing step with the GPU and shader color conversion is one option. Two other options I'm surprised weren't mentioned were drawing the image widgets in the final colorspace to avoid the conversion step, and specifically requesting an 8-bit sRGB window for system compositor-side conversion (I'm not sure if OS X supports the latter).

comment 9y ago · link · parent

A lot of manufacturers have parts designed as drop in replacements for older parts, sometimes even with similar looking part numbers. Another thing that I often do is use Digikey's search and check their stock quantity to find out what's "popular". For example, if I want an op amp, I'll go to that category on Digikey and then first enter a quantity and sort by price. Then I'll start adding constraints - for example, for a 324 replacement, I might want it to be through hole (I nearly always do SMD designs though). From that, I unsurprisingly find the LM324 (it's still one of the cheapest!). But I also find the MCP6002, which is lower voltage but has rail to rail inputs and is designed for a capacitive load - perfect for driving a microcontroller ADC.

The truth though is that it's not like the old parts got any worse, and are still often the cheapest choice. You have to add additional constraints (I want lower loss, better performance etc) for something else to be "better".

comment 9y ago · link · parent

You might only need to spin the motor in one direction.

comment 9y ago · link · parent

No, in fact in that circuit the PN2222 is the only thing limiting current to your LED. If you switch that to a MOSFET you'll blow up your LED unless you add a series resistor. (are you sure you aren't already giving too much current to your LED?)

comment 9y ago · link · parent

Digikey does have the gate capacitance, just specified in a weird way - gate charge @ voltage. Most higher power FETs are always specified @ 10V gate, so it's directly equivalent.

comment 9y ago · link · parent

Nothing, but iPhones only load software signed by Apple (on the app store), so said alternative SDK would be useless as Apple won't sign software made with it (and regardless, they won't sign an alternative browser engine as a matter of policy regardless of which SDK with was made with).

comment 9y ago · link · parent

It's not a restriction on JITs that's the problem (though certainly it would be a limitation), it's this: “Apps that browse the web must use the iOS WebKit framework and WebKit Javascript.”

comment 9y ago · link · parent

>In some countries what you just did would be considered a crime.

I, for one, am happy that I live in a country where I don't have to worry about being prosecuted for making HN comments.

comment 9y ago · link · parent

I'm pretty sure that's not the expected behavior :) Do you have a test case?

comment 9y ago · link · parent

Blender has my favorite release notes: https://www.blender.org/features/2-78/

Though that's cheating a bit because it's easier to get pretty pictures of features in Blender.

comment 9y ago · link · parent

Another example is Mesa, where chips like the Raspberry Pi's VC4 and Adreno support desktop OpenGL because Mesa already has much of the plumbing in place, whereas the proprietary drivers only implement ES.

comment 9y ago · link · parent

I think the complaints about peripheral source are valid, but they have had it running on silicon for months, so the answer to "will it work" is pretty clear.

comment 9y ago · link · parent

Yes and no, there's a standard API called D-Bus. If you want to browse it you can run a program like D-Feet and choose "session bus". It's not tied to a particular language though, rather you need bindings to it. In addition, it's somewhat more complex than AppleScript, and the APIs that most apps provide are rarely documented. It does have the concept of standard interfaces, so many apps will often implement identical APIs.

comment 9y ago · link · parent

That doesn't work - that gets you Dropbox's resized and recompressed version, which breaks the effect (likely it strips the ICC profile)

comment 9y ago · link · parent

I have a 15" laptop with a 2880x1620 display, which I use at 2x but it is definitely in the awkward zone. I imagine 4K would be just about right.

comment 9y ago · link · parent

More like one week on the market. The first boards shipped the 23rd of December.

comment 9y ago · link · parent

Probably just the wifi TSF: https://en.wikipedia.org/wiki/Timing_Synchronization_Functio...

Notably used by the Wii U: https://patchwork.kernel.org/patch/5865651/

comment 9y ago · link · parent

You can only assume a MTU of about 1500 bytes, unfortunately. However, instead of sending each packet effectively twice as in the original article, you can use FEC to require only 2 of 3 packets to be received for example [1].

But yeah, WebRTC for example also effectively implements resending the whole state - if you get too far behind, the receiver can request a video keyframe from the sender.

[1] https://tools.ietf.org/html/rfc5109

comment 9y ago · link · parent

They only guarantee it until October 2016 according to this website: https://support.google.com/nexus/answer/4457705?hl=en

I guess they are extending support for it.

comment 9y ago · link · parent

Same thing on my Nexus 7, plus the orientation doesn't always work (these things broke in updates, I believe). Of course now the two years of updates are gone. I could have bought a Nexus 9 when these problems cropped up, but if I had I would have had four months of official updates (Nexus 9 discontinued in June, official updates ended in October)

comment 9y ago · link · parent

From Javascript, you can look at the available ICE candidates and discard the TCP ones (and if none are left, display an error message).

comment 9y ago · link · parent

You mean all the workarounds like ICE, STUN, TURN, UDP hole punching, etc that you would have to implement yourself if you didn't use WebRTC?
1
131415
40