Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 9y ago · link · parent

WebDriver is a protocol: https://www.w3.org/TR/webdriver/

comment 9y ago · link · parent

No mention of WebDriver, only Chrome's devtools protocol :( There's probably a proxy or something, but would be nice to see completely integrated native support.

comment 9y ago · link · parent

Yeah, sure, big companies pay for support/consulting! But Cassandra and Mongo are FOSS, you don't have to pay for the right to use them.

comment 9y ago · link · parent

Companies don't contribute code to FOSS projects because a copyleft license forced them to. (If all they need is to comply with the GPL, they just throw an undocumented unsupported code dump onto their website!!!)

Companies contribute code because the upstream project will maintain the code for them!

Sony PS4 is a horrible example to cherry-pick. They probably didn't do any serious modifications to anything, they mostly built their stuff on top. A much better example: Netflix upstreaming their reimplementation of sendfile() to FreeBSD. Because it's been upstreamed, they don't have to maintain it for compatibility with other upstream changes anymore, people who make those changes will fix the sendfile() code.

comment 9y ago · link · parent

How are you even supposed to pronounce "libre"? :D

I think the "big companies who don't care about it" thing is exaggerated. Who cares about what terms they use?

comment 9y ago · link · parent

That's finance and trading. In web services, "Oracle" is a bad word. Like. Paying money? For a database system?! That sounds extremely alien to me

comment 9y ago · link · parent

IIRC Armory provides a user interface for doing this. Still, that's probably too paranoid for most typical transactions.

comment 9y ago · link · parent

FreeBSD already comes with cpuctl.ko which is used by Intel's pcm.x tools. No way Linux doesn't have something similar…

comment 9y ago · link · parent

Yeah, old devices with 32-bit EFI…

I have a Mac mini 2006 (upgraded to 2007). I compiled GRUB 2 for 32-bit EFI and it boots 64-bit FreeBSD from ZFS just fine :)

comment 9y ago · link · parent

Because it's old. Because it's painfully slow. Because messing with a FAT partition feels much better than messing with MBR or whatever weird "boot partition" thing that happens in a "legacy-BIOS-plus-GPT" situation.

comment 9y ago · link · parent

That's why EFI variables should never be used. Just put whatever you want to boot into BOOTX64.EFI!

comment 9y ago · link · parent

> …I don’t believe that advances in so called “safe languages” or anti-exploitation technology could significantly change this landscape. These approaches, while admittedly effective in many situations, especially against memory-corruption-based vulnerabilities, cannot address other broad categories of software vulnerabilities, such as security bugs in application logic, nor stop malicious (or compromised) vendors from building backdoors intentionally into their software.

True. But never underestimate how common memory corruption bugs are. It's fucking embarrassing just how common they are. Look at the Project Zero tracker. Just the first page of the newest issues: "double-free", "out-of-bounds write", "use-after-poison", "use-after-free", "kernel double free", "kernel memory corruption due to off-by-one", "kernel heap overflow", "kernel uaf due to double-release", "heap-buffer-overflow"… And it's these bugs that often lead to the scariest situation for regular users, "I just visited a web page and my browser got pwned".

comment 9y ago · link · parent

Oh, so it's kinda like what .NET is doing? https://www.nuget.org/profiles/dotnetframework

comment 9y ago · link · parent

Why not both?

comment 9y ago · link · parent

I always thought "emoticon" is the most generic word that includes everything from ":)" to the shrug to unicode emoji.

comment 9y ago · link · parent

Hahaha the best thing is how, because the admin panel is not HTTPS, the researcher's browser literally says "Not secure" :D

comment 9y ago · link · parent

"High performance Python" is usually done by "offloading literally everything to native extensions" :D

comment 9y ago · link · parent

RPi 3 with an overclock isn't as weak as the previous ones… and you can boot it over network or USB. Still, the lack of SATA and Gigabit Ethernet is disappointing.

So I currently use a Mac mini '06 as my home server. Used to be my main desktop back in the day… I upgraded the CPU (Core Duo → Core 2 Duo), flashed the firmware from the '07 model (allows running OS X Lion, but idk if that did anything else), installed an SSD (yeah, SATA 1 limits the bandwidth, but latency is sooo much better & I was slightly concerned about the old drive failing) and installed HardenedBSD (because this machine has 32-bit firmware, that was more complicated than usual — I compiled GRUB 2 for 32-bit EFI! And that happily boots the 64-bit FreeBSD kernel. From ZFS, even.)

One downside of that machine is called "Marvell Yukon 88E8053 Gigabit Ethernet". It just… stops working after a while: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206567 So my home server is currently on Wi-Fi :D

Another thing is that you have to shove a resistor into the DVI connector to let the machine boot w/o a display https://soledadpenades.com/2009/02/10/mac-mini-as-a-headless...

comment 9y ago · link · parent

Not much to see? If you like ARM, AArch64 VPSes are very exciting!

comment 9y ago · link · parent

GHC Haskell lets you implement that as a normal library: https://nikita-volkov.github.io/refined/

Hopefully Rust will get type-level numbers and stuff someday :)

comment 9y ago · link · parent

gopher://gopher.metafilter.com :)

comment 9y ago · link · parent

Heh, my WebGL renderer "ANGLE (AMD Radeon (TM) RX 480 Direct3D11 vs_5_0 ps_5_0)" is unique. And character sizes o_0

comment 9y ago · link · parent

Still no server push though? :(

comment 9y ago · link · parent

You can do that with the Lua plugin: https://github.com/GUI/lua-resty-auto-ssl

comment 9y ago · link · parent

OMG. How would escaping be faster than prepared statements if prepared statements are literally cached in the database server instead of re-parsing and re-planning every time?! o_0

comment 9y ago · link · parent

Wow, the demo is just published with a level from the original game with the original assets… If OpenMW did a directly playable web version with the original world, Bethesda would not like that :D

comment 9y ago · link · parent

Yeah, in Haskell it's allowed but outputs a warning. So a lot of my modules use -fno-warn-orphans :D

comment 9y ago · link · parent

> their AF systems are not as fast as the type used in DSLRs

Heh, my Canon 600D's autofocus is EXTREMELY slow D:

comment 9y ago · link · parent

ReShade https://reshade.me is an open source DX9/DX11/OGL hook that adds shader effects… but also includes screenshot functionality! Should be possible to change that to streaming frames to your app…

(Just in general, doing this shouldn't depend on a particular game, it's a graphics API level thing)

comment 9y ago · link · parent

It's realistic but it's so annoying to play, you have to slow down A LOT to make a turn, compared to III/VC/SA where driving was actually fun.
1
787980
97