Better HN
topnewbestaskshowjobs
Log inSign up

Timmmmbob

239 karma · joined Jan 16, 2013 (13y ago) · 71 submissions

Submissions

comment 12y ago · link · parent

You can get a vinyl cutter for a couple of hundred quid.

comment 12y ago · link · parent

But how is iBeacon proprietary anyway? It's just a static BLE advertisment of a UUID. Anyone can do that.

comment 12y ago · link · parent

Looks kind of blurry.

comment 12y ago · link · parent

Yes I have one that "works" in Linux, but it only ever connects at a glacial speed. In Windows it works at full speed as expected.

("Submit a bug", "Have you tried...", "What does [some command] say?", "It's the fault of the manufacturers" etc.)

comment 12y ago · link · parent

Yeah I recently discovered enet through Emscripten (which emulates UDP on top of SCTP. SCTP is the protocol used by WebRTC and supports reliable and unreliable packets like enet and RakNet, though I believe Emscripten's UDP emulation only uses it in unreliable mode (since UDP is unreliable).

Apparently SCTP can be tunnelled over UDP if native support is unavailable (which seems very likely), which means I've ended up with the crazy stack of:

enet, which uses UDP which is emulated using SCTP which is tunnelled through UDP.

Crazy but it works. Bring on the real time web games!

comment 12y ago · link · parent

I lived in London for 4 years and that is bullshit.

comment 12y ago · link · parent

So, word wrap? This is the same stupid argument that pro-spaces people make in the tabs-vs-spaces argument - that you have to use spaces (or hard line breaks) so that you can force your ideal indent size (or line length) on other people.

Just accept the other people have different preferences, and tabs and soft word-wrapping enables them to use their preference. If you don't then you're being selfish really.

comment 12y ago · link · parent

According to the comments it returned a modified immutable date. The original date is not modified.

Poor function naming perhaps, (should be `modified()`), but it's not really one of the things that makes PHP infamous.

comment 12y ago · link · parent

Not really, unless your early 90s PC was really shit.

comment 12y ago · link · parent

Presumably you have to use a smart phone to connect to each bulb when you install it and send it a non-fixed key.

comment 12y ago · link · parent

It actually works quite well if you pick the right font. Stroustrup uses it in The C++ Programming Language and it is easier to read.

You're just much more used to monospace.

comment 12y ago · link · parent

I hope they reported that to the police!

comment 12y ago · link · parent

Yeah BLE uses about 12 mA while transmitting or receiving. But it does not do that continuously. Its average power consumption can be under 100 uA very easily.

However, there's no way you'd get even 100 uA by harvesting RF energy in a package that small.

comment 12y ago · link · parent

Also worth considering: https://code.google.com/p/mapsforge/

comment 12y ago · link · parent

Yeah it actually makes sense from a physics point of view. All the fancy reflective angles on the stealth plane won't do anything if the wave is longer than they are. "Small" things all look the same in terms of wave reflections.

The radar-absorbing paint may do something (or at least it could in theory). And long-wave radars are naturally going to bigger and more inconvenient than short-wave.

I've never really thought about it, but I think he might be right!

comment 12y ago · link · parent

I think this must be a standard ARM thing. The nRF51822 Cortex M0 (with BLE) from Nordic can do something very similar.

They call it PPI (Programmable Peripheral Interface). All the peripherals (timers, ports, low power comparator, even a quadrature decoder) have "events" and "tasks" and you can wire them up as you please. It's pretty neat. Doesn't have any op-amps or capacitative sensing circuits though.

comment 12y ago · link · parent

You don't have to write in low-level C. You can write in high level C++, which is vastly preferable to javascript! Or hell, why not write in Lua! It's what this apparently transpiles to, and is much nicer.

The only reason javascript became popular is because it was the only option on the web. Why does that mean we would want to use it when we have better options?

comment 12y ago · link · parent

Yeah the Onion article writes itself:

"Turing test proves that 30% of judges are actually computers."

A recent Turing test at Reading University backfired after it was discovered that nearly a third of the apparently human judges were discovered to be less intelligent than a ZX Spectrum. Suspicions were raised when they were unable to carry on sophisticated conversations with the programs being tested and instead nattered on about banal topics such as their job, popular music, and another thing.

Ok I'm done. I don't write for free!

Anyway, Onion writers, make it happen.

comment 12y ago · link · parent

This seems like a good place to ask: Does anyone know of a library (preferably C++/Emscripten) that simplifies using WebRTC to create real time network games?

comment 12y ago · link · parent

Yeah I saw a card with a screen demoed ages ago which generated one-time-use credit card numbers (or something like that), which is surely the way it should be done. It's so crazy that once I've given someone some numbers they can just take money from me.

comment 12y ago · link · parent

To be fair that was for technical reasons, and I think it will change soon with fibre. They tend to have sane upload speeds, e.g. 10 Mb/s.

comment 12y ago · link · parent

Not really surprising - the whole idea of web desktop apps is kind of crazy, especially for something that you want to have good performance like a text editor.

comment 12y ago · link · parent

This is quite badly named and isn't intended for number-crunching. It's for when you want to use a RPi in a project, but want it smaller or better integrated into your other electronics. Think about a kiosk, or digital signage.

comment 12y ago · link · parent

Do you remember how stagnant GCC was before Clang came along?

comment 12y ago · link · parent

Looks like the lock was still your problem even if it wasn't picked.

comment 12y ago · link · parent

Nothing, because I didn't check it and see an explanation (you need a little "?" icon, or at the very least an instant-tooltip).

comment 12y ago · link · parent

This is better IMO:

http://www.rfduino.com/

Despite their claims it is not really open source, but you can buy the official dev kit for $100 and it gives you access to the SDK, Soft devices and an SWD programmer (SWD is like JTAG but for ARM).

Great hardware though. The only alternative I've seen is the TI chips and they require the purchase of a $3k compiler!

comment 12y ago · link · parent

Yeah but "information" generally requires software to view it. The only reason that web page still works in modern browsers is because they've gone to all the effort to account for quirks in ancient HTML. Apple clearly didn't think it was worth the effort in this case.

Also worth pointing out it's much easier to display old formats than it is to make them editable.

comment 12y ago · link · parent

Saying Microsoft isn't perfect at backwards compatibility is nit picking to say the least! They are far far ahead of any competition in terms of backwards compatibility. It's practically measured in decades whereas Apple can't manage 5 years.

comment 12y ago · link · parent

> no Google staff would be able to access the data

Well that's obviously bullshit... But aside from that, if it's commercially available and pseudonymised, I can't see much wrong with it.

123