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

https://microg.org is a clone of Play Services and it works very well. Of course it's not 100% full but it works as a client for notifications and location (and some other things), and I don't need all of the other Google garbage.

comment 9y ago · link · parent

Check about:support. Are Multiprocess Windows and Asynchronous Pan/Zoom enabled?

comment 9y ago · link · parent

Uh, Firefox has an iOS version. Of course it's webkit, but it has Sync :)

comment 9y ago · link · parent

Yeah QML has one big problem — it only supports integer scaling for HiDPI. Have these people ever seen a fucking 28 inch 4K display?!?! I NEED 1.5x SCALE. 1x looks extremely tiny, 2x looks comically huge.

comment 9y ago · link · parent

Yeah it's literally a relaunch of Google Goggles which worked on like… Android 1.x?

comment 9y ago · link · parent

Polymer.

Check out https://github.com/arqex/freezer if you like immutable data, it works very well with Polymer. All you need to do to integrate them is something like this: https://github.com/myfreeweb/micro-panel/blob/34aeb46600fab5... (the itemModified stuff is extra, specific to my app) Then just pass the freezer object or its children down the component tree with one-way bindings.

comment 9y ago · link · parent

React doesn't only provide a way to sync DOM and data, it also provides its own component system that everyone uses, so in its current state React is kinda competing with Custom Elements.

comment 9y ago · link · parent

And custom elements provide a way to actually create, well, your own DOM elements. Libraries like React provide their own "fake" components that are only usable from within the libraries. With Custom Elements you can actually provide a DOM API for your element, that can be used from plain JS.

And HTML Imports provide deduplication. They're a solution to the "I have four copies of jQuery on my page" problem.

comment 9y ago · link · parent

> ignore the error and install anyway

I don't remember how Arch does it, but in FreeBSD Ports you need to actively replace the hash in the text file, there's no easy ignore option. (FreeBSD also mirrors the files on the project's servers, which is pretty cool)

comment 9y ago · link · parent

None of these issues are as bad as the XML ones. You generally don't need "defusedjson" like you need https://pypi.python.org/pypi/defusedxml

<!DOCTYPE external [ <!ENTITY ee SYSTEM "file:///etc/ssh/ssh_host_ed25519_key"> ]> <root>&ee;</root>

comment 9y ago · link · parent

heh, new idea: GitHub Monkey — randomly makes your private repos public

comment 9y ago · link · parent

That's how pretty much all packages in any distribution are built.

Note the included hashes — if the file on the server gets replaced, the building process will complain. (Sure the package maintainer will probably just replace the hash :D But if the file changed but the version number didn't change, or there was no release announcement, that's suspicious…)

comment 9y ago · link · parent

> Within 24 hours of the hack, we were on the phone with two important teams: Apple and the FBI.

FBI, seriously? Calling the cops, over malware, as a cool independent software company?! I mean, sure, fuck malware, but what happened to "fuck the police"? :D

comment 9y ago · link · parent

Annotation processing has been improving a lot https://medium.com/@workingkills/pushing-the-limits-of-kotli...

comment 9y ago · link · parent

It even works on FreeBSD https://www.freshports.org/java/openjfx8-devel/ so yeah, truly cross-platform open source GUI :)

comment 9y ago · link · parent

Yeah I don't know how to check that on ZFS. That result was from NTFS on Windows, I thought the phrase "Size on disk" was enough for everyone to tell it's Windows :D

comment 9y ago · link · parent

You could then switch to regular servers running an open source Lambda reimplementation e.g. https://github.com/siscia/effe https://github.com/atlassian/localstack etc. Just make sure you can change the URLs everywhere.

comment 9y ago · link · parent

Nexus 5, sadly not 5X

comment 9y ago · link · parent

Compression also means less disk I/O, not just space.

I use ZFS and NTFS compression on all the things. For example, ~/.android on my desktop: "Size 1.49 GB, Size on disk 293 MB". Not everything compresses as nicely but in general you can save a lot of space on a desktop.

comment 9y ago · link · parent

"Storage prices" are abstract; my phone's non-extendable 32 GB of storage are real. Compressing my library from iTunes AAC to lower-bitrate Opus made it more than two times smaller — down to 5 GB from 11.

comment 9y ago · link · parent

After getting tired of RPis corrupting SD cards I just took my old Mac mini 2006, swapped the CPU for a Core 2 Duo (was Core Duo), flashed firmware from the 2007 model, installed an SSD (yea sure SATA 1 limits bandwidth but latency is sooo much better) and installed HardenedBSD. (For which I had to compile GRUB 2 for 32-bit EFI, because well the machine has a 32-bit EFI, and fuck no I'm not using CSM. GRUB 2 worked very well.)

Unfortunately there is an issue with the Ethernet: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206567 so right now my home server is on Wi-Fi :D Which has been perfectly reliable so far, thanks to the good old Atheros card.

comment 9y ago · link · parent

Or Athlon Kabini if you don't need a GPU

comment 9y ago · link · parent

So much for "write once, run everywhere". "Write once, run on Linux" doesn't sound as good :(

comment 9y ago · link · parent

Microcode can't know anything if all power management is completely disabled :P You need a special firmware build for that: http://overclocking.guide/intel-skylake-non-k-overclocking-b...

comment 9y ago · link · parent

> extreme CPUs can't be overclocked

You mean non-extreme?

> unlocking BCLK, but the overclock is small and unstable that way

On desktop Skylake, BCLK can get you to anywhere you want (I run an i5-6400 at 4.5GHz daily, over 4.7 for benchmarks). You're talking about laptops, right?

comment 9y ago · link · parent

They probably aren't gonna buy Ryzens.

IIRC Ryzen and Kaby Lake were both announced with "only Windows 10 is going to be officially supported"…

comment 9y ago · link · parent

Windows Forms is implemented in Mono. It's… buggy, but it works.

comment 9y ago · link · parent

There's also a new project called Helio Workstation https://github.com/peterrudenko/helio-workstation it doesn't have much built-in instruments so you need plugins for everything, but the UI looks awesome

comment 9y ago · link · parent

I am in the Tinder generation and I use VLC on the desktop to play music (Media Library, Detailed List mode) :D And Apollo (LineageOS "Music" app) on mobile.

comment 9y ago · link · parent

> If I chose, say, the Intel 11ac parts then I'd have to implement a lot more of the fiddly stuff to get good behaviour

Okay, I'll have to wait another year to get 11ac on my laptop :) It's not, like, super critical to me, 11a is enough for most daily tasks and for e.g. system upgrades I just connect to Ethernet (BTW it's super easy to set up seamless handover between Wi-Fi and Ethernet on FreeBSD, using link aggregation)

Nice work, Adrian!

1
767778
97