Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 8y ago · link · parent

You can use a third party (or self hosted, but still separate) server for that.

For Webmentions on static sites, people use https://webmention.io

You can actually probably combine that with https://fed.brid.gy to interact with ActivityPub sites as well!

comment 8y ago · link · parent

I thought Shadow DOM only provides encapsulation??

comment 8y ago · link · parent

> small implementation differences

Naaah it really doesn't seem small. Details are important.

NaCl comes from the plugin world (NPAPI → PPAPI), while wasm comes from the JS world ("removing the JS from asm.js"), and most existing JS engines have been able to just reuse their codegen/backend parts.

PNaCl was based on a bad idea: "let's make a stable subset of LLVM IR". LLVM moves quickly, if you have a stable subset you'll eventually have to translate it to actual updated LLVM IR anyway. And good luck to anyone who wants to implement a simple small interpreter for that!

wasm is really simple — just a close-to-metal abstract machine. No included libc, no bindings to any particular platform (there might be DOM/etc. bindings in the future, but on top of wasm, not right in the core spec).

comment 8y ago · link · parent

"might be what you're looking for", when that person was looking for a "basic poly fill for all the cross platform issues jQuery actually excels at"

comment 8y ago · link · parent

Sizzle is ancient history at this point. It's the selector engine jQuery used before querySelector became available everywhere.

comment 8y ago · link · parent

There's also the native Web Animations API!

comment 8y ago · link · parent

Well, they threw away the Sizzle selector engine once querySelector became available everywhere, but other than that… eh. I don't think they use fetch or Web Animations or anything like that.

comment 8y ago · link · parent

(d) the plugin system, which is replaced by Custom Elements (but unfortunately the React crowd is there with their own custom private component system)

comment 8y ago · link · parent

> I'm surprised YouTube is still using v0

They're still on Polymer 1.x. Upgrading takes time I guess.

comment 8y ago · link · parent

Would be incredibly awesome to see POWER9 options on Google's public cloud VMs…

Meanwhile, ARMv8 is already available to the public!

packet.net offers access to a full dedicated dual ThunderX box for $0.5/hr (or 0.1 with spot instances).

Scaleway offers KVM virtual machines (also on ThunderX) for as little as €2.99/month (€0.006/hr).

First gen ThunderX kinda sucks at single-thread performance, but you get many cores and… well, you get to start using non-x86 machines, on public cloud, right now.

If developers start actually using ARM boxes for their projects, the providers will be more likely to expand in this direction, and maybe in a year (or less?) we'll see the much more powerful ThunderX2 boxes available, and hopefully more providers will get into this…

comment 8y ago · link · parent

Eh… Not for the home enthusiast workstation market.

The CPUs are actually kinda reasonable (Raptor sells the 8-core for $595, which is only $95 more than the launch price of the Ryzen 1800X).

But the lite mainboard is $1,099.

That's 5-10 times more that a board for Ryzen. And a lot is missing on the "lite".

comment 8y ago · link · parent

Sure it's not good that we still have a coprocessor running a proprietary blob, but it's not known to have the ability to use your network card.

comment 8y ago · link · parent

It definitely prevents the OS from accessing it over PCI, but whether it prevents the PSP from accessing the OS is indeed unclear.

comment 8y ago · link · parent

nvidia makes official drivers for FreeBSD, but last time I checked they did not include CUDA.

comment 8y ago · link · parent

It's backwards compatible on the device side (you can plug a 3.0 device into a 2.0 port and work at lower speed). But I really doubt that you can use an xHCI controller through EHCI drivers.

comment 8y ago · link · parent

Thanks to Flattened Device Trees, you don't have to build special per device kernels, you can just have a generic kernel that includes drivers for all the SoCs.

But having individual drivers per SoC in the kernel for things like power management still sucks.

comment 8y ago · link · parent

> fully generic approaches for syscall filtering, such as BPF

How do you constrain filesystem access to be under a list of allowed directories using BPF?

I briefly looked at it, and there doesn't seem to be a good way to manipulate strings. Everyone seems to be using chroot / bind mounts for that on Linux, which adds crap lines to `mount` output.

comment 8y ago · link · parent

It is. You have to write the rules as a Lisp script, and there's a scary "this is sort of deprecated, use the new Mac App Store stuff" paragraph in the manpage, but yes, it does allow exactly that.

comment 8y ago · link · parent

> if the thermal sensors are covered and cannot detect this

Modern chips seem to have sensors specifically detecting hotspots. E.g. with an AMD Polaris GPU, you can see "Hotspot Temperature" in HWiNFO.

comment 8y ago · link · parent

Is it a mess? The UEFI spec is big, but most of it is not necessary to boot.

The UEFI implementation in U-Boot is tiny, and yet is enough to boot (both from local storage and network) and have a text console.

Most non-embedded board vendors do not reimplement UEFI. There's not much to get right or wrong. They just take AMI or whoever's private fork of TianoCore, tweak some settings and customize the GUI. (It is possible to screw up the GUI though: https://youtu.be/F-ndTMeRT3s)

As mentioned in other comments, it's ACPI that's really bad.

Though at least it's a standard! On ARM, you typically have to have a driver for every. damn. power. controller. Thankfully, ACPI is now appearing on higher end ARM stuff (servers like ThunderX, workstations like Overdrive, hopefully the new Microsoft always-connected laptops?)

comment 8y ago · link · parent

> tend to be on the noisy side of things due to excessively small fans and too much power I don't need

Huh. My X240 is so much quieter than my 2010 MacBook Air was.

The Air was... (I just realized this) very aptly named, as the volume of air its fans push is ridiculous.

comment 8y ago · link · parent

Has anyone tried that scene with Blender Cycles?

comment 8y ago · link · parent

Most projects that are typically cloned from github/npm/pypi/rubygems/cargo/whatever are libraries…

comment 8y ago · link · parent

"Security by punishment" is a terrible paradigm that's not Web Scale. The internet is not the physical world — the attackers are probably accessing your stuff via Tor from a public wifi in a country far away.

If someone couldn't do basic things to secure their account, they should take the blame.

comment 8y ago · link · parent

Because UNIX security model ¯\_(ツ)_/¯ Pretty much every modern programming environment involves running arbitrary third party code as "you", with access to all of ~/ and whatnot.

How would you solve that on a package manager level? Static analysis? It's really difficult to make an analyzer that wouldn't be trivially defeated by obfuscation, and wouldn't at the same time have false positives all the time.

Sandboxing at the language runtime (in this case node) level? Theoretically a nice idea, but difficult to implement securely. Java has been trying. Besides the fact that practically no one uses it to isolate third party libraries in server/desktop apps, there were some serious vulnerabilities: https://www.thezdi.com/blog/2018/4/25/when-java-throws-you-a...

An OS level capability-based security model like Capsicum/CloudABI is a better solution, but again — doesn't fit that well with libraries. In Capsicum, you need a process boundary to isolate code, and that implies IPC, which is a thing developers absolutely love to use all the time… (not).

Here's an awesome research idea that I sadly do not have the time to work on: make a programming environment where all shared libraries are actually servers built as CloudABI executables, library calls are actually some super-fast RPC (with e.g. Cap'n Proto to avoid spending time on serialization, and of course fd passing for capabilities), and everything is handled as transparently as possible.

As a bonus, CloudABI solves the OS portability problem. Extra research idea: merge CloudABI with WebAssembly to solve the CPU portability problem as well. End result: same application runs on Linux/amd64 and NetBSD/toaster128, with secure sandboxing for every third party left-pad module.

comment 8y ago · link · parent

Heh, so opportunistic IPsec is a thing. That reminds me of http://www.tcpcrypt.org

comment 8y ago · link · parent

"xform" would've been more obvious, but "xfrm" loses too much letters and indeed becomes something like "xf86 remove" :D

comment 8y ago · link · parent

When people talk about just "OpenID", they usually mean the original one, not Connect. The old OpenID did not have the ability to authenticate requests to the domain you signed in with.

OpenID Connect adds lots of bloat, it's very large and complicated. IndieAuth is actually easy to understand and implement.

comment 8y ago · link · parent

There is no company and product, there is a community and open specifications.

comment 8y ago · link · parent

Exactly, it doesn't. Instead, OpenID had tons of weird bloat no one ever needed. XRI, XRDS, Yadis, WTF
1
575859
97