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

> Childish phrasing like "that bird site" instead of just saying Twitter

heh, I saw (and used) "this awful bird website" when writing on Twitter itself :D

comment 9y ago · link · parent

Surely you've noticed this:

> don't have a static IP that's internet-accessible

I am one of those people :) I don't pay my ISP extra for a "real" IP address, so I have literally no way to receive incoming connections from the internet into my home network, it's all behind their NAT.

comment 9y ago · link · parent

go to definition is still an extra keystroke :P

I'm just excited about Freezer, and don't care much about Redux.

comment 9y ago · link · parent

Why do you need this separation to get these things?

In Freezer, you can do transactions directly in your view event handlers, and one transaction is one update, and .on('update', (currentState, prevState) => {…}) you can save the prevState into your undo log. And when you want to separate a data manipulation action, you can use custom events to do so — but you aren't forced to! It keeps simple operations simple.

comment 9y ago · link · parent

Sure you can split the file, but you still have to separate it from the actual UI event handler.

It might be well thought-out but it's more complicated than it needs to be.

comment 9y ago · link · parent

"Redux is a simple library" woah woah stop right there. How is this:

    const handlers = {
      [CREATE_NOTE]: (state, action) => { ... },
      // ... a thousand more of this
    }
simple? This looks horrible. Every time you want to work on code that modifies data, you have to switch to the one file where you keep all the data-modifying functions? Seriously?!

Freezer https://github.com/arqex/freezer is a much, much better experience. You just shove immutable objects down the component tree, and they just come with methods that modify "them" (by actually changing the data tree). It has an event system as well for when you actually want to centralize actions. Works great with Polymer, by the way!

comment 9y ago · link · parent

Yeah, pretty much all phones these days have relatively powerful GPUs. However the GPGPU situation is not awesome?? IIRC RenderScript is way more limited than OpenCL…

Though it seems that what they're doing is matching against the database on their GPUs, can't do that on the phone without downloading their huge proprietary dataset :D

comment 9y ago · link · parent

HardenedBSD wanted to do LibreSSL in base but /usr/bin/openssl version on my home server still returns "OpenSSL 1.0.2k-freebsd". I use LibreSSL from ports anyway :) but it'd be nice to have it in base, yeah.

By the way I actually do use client certificates on my home server. It's behind my ISP's NAT though, no incoming connections from outside are possible lol

comment 9y ago · link · parent

That's nice! However it'd be more awesome if there was a local version, not tied to GitHub but instead like. you run the node part of VSCode in a development VM and access the UI from a web browser on the host machine.

comment 9y ago · link · parent

It says "Compatible with Firefox 57+" so I assume it's based on the same code as the Chrome one… What APIs do you use that are not supported in Firefox? :)

(Also it says "Released under MIT/X11 License" already…)

comment 9y ago · link · parent

No, I mean, I'm not comfortable working over the network, I need everything to be local and offline.

comment 9y ago · link · parent

> Programmers don't necessarily have to know how to handle hardware physically

Sure, but they usually can learn it extremely quickly :)

> I used to build computers with up to 10 different fans in them, it sounded like an airplane when you turned it on

That's weird, because if you have more fans, each one can spin slower. Did you just leave them all at 100% without any software control?

My tower is extremely quiet at idle, slightly louder at 100% CPU, and only actually loud at 100% GPU. (The GPU is heavily overclocked which requires more cooling from the case fans. If I ever want it to be quiet while gaming I can just lower the GPU clock and voltage. But I prefer more frames per second, I use headphones anyway :D)

> You cannot bring your desktop computer to a coffee shop

That's why I also have a small Thinkpad. Compiling FreeBSD on it takes like a day, compared to less than 30 minutes on my desktop. Yeah sure the "cloud" is there but it's not for everyone. I like having actual powerful hardware.

comment 9y ago · link · parent

Yeah, everything pre OS X was cooperative, including the last one (9.2.2).

comment 9y ago · link · parent

IIRC (haven't used modern Macs in a while) Gatekeeper has three modes — allow App Store only, allow App Store + signed outside, allow all (unsigned) apps. Didn't they switch to the first one by default??

comment 9y ago · link · parent

The 1800X is bad value though. It's the "I'm rich and afraid of overclocking for some silly reason" option. It's only slightly better binned. Most 1700s will reach 3.9 GHz easily (77% of them, according to siliconlottery.com). The R7 1700 is the real deal.

comment 9y ago · link · parent

Having a fuckton of PCIe lanes only really matters for multi-GPU setups. You can run two GPUs completely fine on an X370 board though.

comment 9y ago · link · parent

> Haven't tried this on newer PSUs.

Yep, I haven't seen a PSU that's not universal (100-240 V) in ages.

> What if that store is an online store? what if you actually imported your parts from abroad? What if there is a no refund policy?

Don't import PSUs from abroad? If it's no refund you can sell it to someone or use to build a second, less powerful computer, etc.

> If someone is filtering using the wrong criteria, e.g: price, can end up selecting wrong parts.

PC Part Picker literally excludes incompatible components with each component selection! That's the whole point.

> Many people require help to install a printer, let alone assembling a machine.

This thread is called "Ryzen for Programmers"… key word "programmers" :)

comment 9y ago · link · parent

> You cannot crush a new intel or amd cpu, even with a hammer

All desktop/consumer AMD sockets are PGA (pins on CPU), so the application of the hammer would bend/break all the pins :( For LGA CPUs, sure :D

> Most stores have “configurators” (on their web sites) that show only compatible parts

You don't have to use a store-specific one, just use PC Part Picker. Heck, manually matching the basic parts is very easy.

comment 9y ago · link · parent

Yep I have the NZXT Kraken X61 and I can only hear the pump when I put my ear very very close to the tower.

comment 9y ago · link · parent

Of course RAM overclocking only really matters for overclockers' benchmarks ( e.g. Super Pi: 6m37s @ 2133 MHz, 6m6s @ 4000 MHz https://youtu.be/NiZXmijRRjw )

However on Ryzen, RAM frequency directly determines the frequency of the bridge between the two 4-core complexes the CPU is made of! This matters a lot.

comment 9y ago · link · parent

They use "Intel® Optane™" to refer to the whole "solution" including their awful Windows-specific hardware-supported caching hack (Rapid Storage Whatever), because that's how they're going to sell it to consumers. Of course the drives are normal NVMe and you can use them as L2ARC+ZIL in ZFS :D

comment 9y ago · link · parent

APNG was invented by Mozilla and not standardized with a "legit" organization (IETF/W3C). I guess Chrome/Safari/IE were reluctant to adopt a not-really-standard. Safari eventually did though, and now finally it's in Chrome beta.

Yeah "gifv" is what I mentioned, and it's the way forward. The bandwidth used by GIFs made from movie clips is ridiculous! APNG wouldn't be that much better since it's also lossless. But APNG will be nice for animations that have to be lossless.

comment 9y ago · link · parent

LOL, it was supported in the old Presto-based Operas as well :D One of the few "green to red" entries on caniuse

comment 9y ago · link · parent

Vast majority? Well, for the Hacker News audience, sure :) But the App Store is popular enough for Apple to require a checkbox in the settings for installing outside apps, like on Android.

comment 9y ago · link · parent

From what I understand, the local exploit needs a manageable (vPro) system as well. Not just ME, but AMT running in ME.

comment 9y ago · link · parent

You can start up the VM in 80ms for sure, you'll just need much more time after that to load all the damn classes from the bloated libraries you're gonna use. (Especially terrible with functional runtimes like Clojure's.)

> pre-allocation of the heap for the JVM

Pre-allocation doesn't matter, it's not allocating physical memory?? The GHC Haskell runtime literally mallocs one terabyte when the program starts :D

However OpenJDK/HotSpot's baseline memory usage is indeed higher than many other VMs'. Even if you compare with alternative JVMs: I tested a basic Jetty app — it used ~60 MB on JamVM, ~70 MB on OpenJDK.

comment 9y ago · link · parent

Sadly, AMD PSP is no better. In fact it's worse in some ways — it is actually responsible for initializing the CPU. At least on some Intels you could work for 30 minutes with completely erased ME firmware.

Though the PSP concerns were very highly upvoted in Lisa Su's Reddit AMA, and the technical marketing employees said that they'll look into it. Hopefully they'll make it optional in their next products…

comment 9y ago · link · parent

Sure, PNG instantly took over as the lossless non-animated format, but Animated PNG is still not widely supported (Firefox only IIRC?)

Mostly the "auto-playing animations without audio" stuff is moving to videos, e.g. https://developers.google.com/web/updates/2016/07/autoplay

comment 9y ago · link · parent

it's called ChromeDriver and I kinda mentioned it originally — "There's probably a proxy or something" — and said that I want native fully integrated support :)

comment 9y ago · link · parent

Screenshot functionality is, in fact, advertised in the linked article.
1
777879
97