Better HN
topnewbestaskshowjobs
Log inSign up

TD-Linux

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

Submissions

comment 12y ago · link · parent

Almost all third-party browsers on the Play Store wrap the Android WebView, which is vulnerable. You'll need to use a browser that includes its own rendering engine, such as Firefox, to remain secure.

comment 12y ago · link · parent

audit2allow and friends have really come a long way since SELinux's introduction. I have a RHEL7 virtual machine running a node app and it works really well. If permission is denied for something, I just look at the audit log to see if it was selinux's fault, then audit2allow will either tell me what permission I need to turn on, or give me a custom rule to allow that behavior.

comment 12y ago · link · parent

What could possibly go wrong?

comment 12y ago · link · parent

I'm not sure if switching to Safari is a huge jump ahead, because both are closed source software. You could switch to Chromium and get Chrome without the tracking, or use Firefox instead.

comment 12y ago · link · parent

RFID chips are almost at the point where they would be cost effective for a K-cup. Then the private key could be stored on silicon, where it's much harder to get out. I worked on a medical product with this system.

I feel so bad suggesting this.

comment 12y ago · link · parent

In a sense with its list of default search engines, it has always been adware.

comment 12y ago · link · parent

Google tried to make a platform-independent LLVM IR [1], but the ended up needing to specify a bunch of additional things, like a virtual 32-bit processor target, their own ABI, their own API (Pepper), and prevent things like assembly language instructions and intrinsics (like SIMD) from passing into the bitstream. It also got locked at one particular LLVM version. This basically ends up bringing it to the level of asm.js, except with less Javascript API interoperability.

[1] https://developer.chrome.com/native-client/reference/pnacl-b...

comment 12y ago · link · parent

OpenStreetMaps has begun to add routing information, and it's becoming very good lately. It would be nice to see Citymapper work with them, as both sides could benefit - OpenStreetMap quality in citymapper's supported cities would improve (though OSM is already quite good in those cities), and citymapper could gain support for more cities. This is the route MapQuest has gone with MapQuest Open.

Still, I'm glad to see Google Maps competitors alive and kicking. Google Maps is one of the main lock-in apps that keeps people inside the closed Google Play Services ecosystem.

comment 12y ago · link · parent

Works fine in Firefox Nightly on Linux with Intel drivers.

comment 12y ago · link · parent

>scrapped their closed garden ecosystem and gone for a more stock Android experience.

So throw away a closed ecosystem for another closed ecosystem? That doesn't seem like much of an upgrade. Also, Amazon is currently banned from OHA. I can't see them dropping all of their Kindle devices at once to join.

comment 12y ago · link · parent

So, this is a VPN client? I find it odd that it only supports Linux and Android, considering that these two platforms already have built in and fully functional VPN clients.

comment 12y ago · link · parent

I think Python had one chance to do what you suggest - remove bizarre behaviors. This chance was Python 3.

This is also one of the things that bothers me a bit about Rust. The complexity of the compiler means that writing an actual language spec is hard, and the spec is very much tied to "what rustc's borrow checker is capable of".

comment 12y ago · link · parent

So, this is a replacement for PNG. I assume it's intended to be lossless. The additional features seem to be:

1. Embedded image maps. Presumably functionally equivalent to HTML image maps? There don't seem to be accessibility features.

2. Multiple images which are overlaid on each other to produce the final image. These overlays can be true color, bitmapped, or palette based, kind of like DjVu.

The image layers kind of remind me of MPEG-4's Video Object Planes. That's a bad thing. No one ever figured out a reasonably fast method to segment video into overlaid objects without manual intervention. It's cool that your image format has this feature, but if the encoder can't make use of it, what's the point?

3. Multi-resolution encoding PNG and JPEG already have interlaced encoding. I can't tell how yours is different, aside from being less efficient.

4. Images with holes .... how is this an improvement over alpha layers?

5. Manual compression with a C# gui If you're going to do this, why not redraw your image as SVG instead?

In summary, it's an interesting set of features, but I really can't tell the use case you are targeting. In addition, it seems that many of your features already exist in other formats. Maybe you should retarget this as being a simple scene graph builder for Javascript instead of an image format?

comment 12y ago · link · parent

I don't think there were ever any "slow updates" to Javascript, except maybe in the period of IE5/6 dominance to Firefox 1.0. In the Browser Wars, Microsoft and Netscape competed to add features as fast as possible. Firefox still has many additional features in its JS engine that aren't in ECMAScript (for each, coroutines).

I'm more concerned about adding features without fully considering the consequences. When you add a feature to Javascript, it's there forever. Rushed feature dumps are how we end up with things like the Web Audio API.

comment 12y ago · link · parent

As long as you use the open source drivers, you'll be fine. And lucky for you, the cheapest graphics cards (Intel integrated and AMD) have the best open source support.

comment 12y ago · link · parent

I can't seem to comment on that blog, so I'll write my comment here.

I think this is absolutely a wonderful idea in general and needs to happen soon. Once any program a Linux user is running is compromised, essentially the whole machine is compromised. This is quite unfortunate.

My main complaint is the file chooser dialog. I would much rather see a traditional file chooser - the arguments given for reinventing it don't hold up. You can pass file descriptors between processes. If you want to select a "cloud file", use fuse with some pretty integration, which is just how GNOME 3 does it right now.

comment 12y ago · link · parent

Google wanted an Airplay competitor, and for whatever reason wanted to hobble it with the same restrictions as Airplay - a proprietary protocol to only let certain (closed source) programs stream to it, and prevent those programs from streaming to non-Google targets.

comment 12y ago · link · parent

I'd hoped it was a custom firmware replacement for the Chromecast, rather than an ugly hack on top of Google APIs.

I'd rather stick to the much more open solutions, like the Raspberry Pi, or for more computationally intensive signage, a small Intel NUC or Shuttle PC designed for signage.

comment 12y ago · link · parent

Giving that you're running a closed source OS, you are pretty much out of luck anyway.

comment 12y ago · link · parent

Load it with normal http, not https.

comment 12y ago · link · parent

The pinball game, by the way, is a stripped version of Maxis Full Tilt! Pinball. I had a copy of the game bundled with some other Maxis game.

That said, I had several other pinball games at the time and I thought that Full Tilt! was one of the worst ones, so I don't understand the love that surrounds it.

comment 12y ago · link · parent

Yes. Only chrome includes the Widevine binary blob and supporting source code in the browser.

comment 12y ago · link · parent

Actually, it's 1 DRM _plugin_ standard. There are still 50 DRM standards. Safari ships with Apple's DRM, Chrome ships with Google's DRM (Widevine), IE ships with Microsoft's DRM, Firefox doesn't ship with any DRM (but its EME plugin is only compatible with Adobe DRM).

comment 12y ago · link · parent

I don't know of any video player outside of XBMC that is capable of (1). And it involves a nasty OS call to make a mode switch, which causes flickering on most machines. Variable sync rate, such as that on eDP, has yet to see a viable userspace API when not fullscreen.

I think presentation timestamps in the compositor will help a lot, at least to achieve perfect 3:2 pulldown for 24 fps content, and will help avoid jitter. I'm quite sensitive to the effect myself and run my "TV" monitor at 72Hz, and still have problems relating to timing jitter.

comment 12y ago · link · parent

Sadly, the license of the library used to talk to the Oculus Rift (libOVR) is also under very restrictive terms - you can't use it with competing systems, can't distribute it in part, and lose the license if your users have health or safety issues with your product.

With the source code available, it's hard to make a clean-room reverse engineered version of the hardware communication layer and shaders.

I haven't actually seen the source code, so maybe me and someone with a DK2 could do it by sniffing USB packets.

comment 12y ago · link · parent

Right, they switched over to Persona, which is far better. Unfortunately the old hashes were still left in the DB.

comment 12y ago · link · parent

The Panasonic 18650B cell has the highest energy to weight ratio of any commercially available lithium-ion cell. This is by far the biggest factor. It's also the cell used by many solar car teams for the same reason.

comment 12y ago · link · parent

Lithium iron phosphate has much lower energy density (energy per weight). This is the most important factor in the choice of battery, along with the cost per energy.

LFP's advantage is in power density, which is not an issue with the size of pack that Tesla is using.

comment 12y ago · link · parent

This is exactly backwards. Traditional Li-Ion batteries have a liquid electrolyte, and Li-Poly have a solid polymer electrolyte. Both batteries consist of anode/electrolyte/cathode rolled up. In the case of a "pouch" cell, they are rolled up flat, and a cylinderical cell has them rolled up in a cylinder. There is actually no limitation for the shape - you can totally make a Li-ion battery with liquid electrolyte in a prism - many cell phone batteries do this.

Li-ion, due to the liquid, needs a hard metal case, whereas li-poly can often get away with a foil pouch. The surface area per volume of a cylinder is less, as well as easier to make structurally sturdy, which means less weight is spent in the casing. Tesla cares more about weight than volume, so this is an acceptable tradeoff.

comment 12y ago · link · parent

No source code? How are we supposed to make any use of this? What is the point of an email signup?
1
3637383940