Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 7y ago · link · parent

Well, forget about "Polymer the library", it served us well but it's very legacy at this point. The successor is https://lit-element.polymer-project.org and it's awesome.

comment 7y ago · link · parent

Who's gonna sell them a POWER chip suitable for laptops?

IBM POWER9 is too power-hungry and huge. I'm pretty sure it only comes in a massive socketed form-factor.

NXP QorIQ is too weak.

comment 7y ago · link · parent

There is only one ARM ISA. Well, okay, multiple (32 vs 64 bit, microcontroller vs unix-capable) but vendors don't change the ISA. (Apple has been allowed to introduce some extension for using a coprocessor (?) recently but that's it.)

The different crap between vendors is just the various onboard devices on the SoC, nothing to do with the CPU cores that implement the ARM ISA.

The "consumer" space is indeed not good, but there's only so many SoC vendors (and most of them rely on Synopsys DesignWare blocks for all the things) and mainline Linux supports most of them really really well.

The real fun time is for us in the BSD world, we're too small for e.g. Rockchip to care about us and contribute like they do with Linux :(

comment 7y ago · link · parent

Which is great if you're going to design your own high-performance CPU core, which uhhhh very few organizations in the world are capable of.

If you're a downstream consumer, especially so far downstream that you're just buying a pre-made chip and putting it onto a board like System76 would, the ISA royalty means very little to you.

comment 7y ago · link · parent

> ARM on the other hand seems to thrive on the other end of the spectrum--low power consumption and inexpensive

Tell that to the Fujitsu people building the A64fx chip. (Which by the way turns out uses HBM for system memory. I was dreaming of AMD doing this!!) Or even just to Marvell/Cavium :)

I mean, it does thrive in low-power applications, but it's by no means tied to them. A lot of companies going for ARM in the datacenter now: Marvell, Ampere, Huawei, NXP, Mellanox… and Amazon!

> I don't know how well the POWER line has progressed since say 2004ish

Well, IBM has been building big, powerful and relatively expensive chips. NXP has been slowly sort of getting off the POWER ISA and embracing ARM more.

> Wouldn't most solutions require that you cram the IO subsystems into the silicon SoC package?

Huh? The whole point of "SoC" is cramming everything onto the one package. It's the most efficient way to do things, and everything from the Raspberry Pi's Broadcrap chip to the biggest AMD EPYC is a SoC. Most desktop systems aren't 100% True™ SoCs as they require a chipset/PCH, but that chipset is very minimal these days.

comment 7y ago · link · parent

Coreboot is laser focused on early initialization and leaves everything like option roms and disks and OS launching to the payload… which can be EDK2.

Coreboot is actually the easiest way to get pure EDK2 (without anything from vendor UEFI builds) running on any random Intel mainboard :)

comment 7y ago · link · parent

https://twitter.com/vertexclique/status/1194902103929569280

comment 7y ago · link · parent

Yeah, AMD went in the exact opposite direction of

> an “external ME” would be just fine running without a CPU socketed in at all

and made Ryzen a nearly-SoC, EPYC an actual SoC (no chipset at all required AFAIK). (To be fair Intel did integrate many things onto the die as well..)

https://fuse.wikichip.org/news/1177/amds-zen-cpu-complex-cac... seems to confirm that SMUs are on-die at least on EPYC.

> Interestingly the Chromebook EC firmware is open source

And even the Google Security Chip is included under that. You can't run a customized GSC firmware on a production device unless you have Google's keys, but you can look — and hopefully maybe reproduce the build?

comment 7y ago · link · parent

> Apple charger cables

Apple cables are generally really awful in terms of physically tearing apart, no matter the connector on the end.

comment 7y ago · link · parent

Well, if you look at the spreadsheet linked below https://docs.google.com/spreadsheets/d/1vnpEXfo2HCGADdd9G2x9... Anker did have one model of cable that was recalled because it was dangerous :)

comment 7y ago · link · parent

AMD does not support any similar features at all.

comment 7y ago · link · parent

https://github.com/timgit/pg-boss for node, https://github.com/mbuhot/ecto_job for elixir.

I wish all these libraries agreed on a common schema >_<

comment 7y ago · link · parent

You don't need await for data (CPU) parallelism. You'd typically use something like https://github.com/rayon-rs/rayon or OpenMP instead.

comment 7y ago · link · parent

There's no fundamental difference between inserting a yield before a tail call and inserting a yield before a continue statement or closing bracket of the for block, is there?

comment 7y ago · link · parent

Any Synaptics multi-touch trackpad feels as good as Apple. Apple hardware is nothing special.

It's all about the software. Scrolling in Firefox on Wayland with the upcoming vsync patch (https://bugzilla.mozilla.org/show_bug.cgi?id=1542808) and OpenGL layer compositing enabled feels perfect. (Fun fact, I actually contributed the inertial scrolling on GTK patch to Firefox :D)

If you run legacy software and your trackpad scrolling is delivered to the application as emulated scroll wheel events, don't be surprised that it doesn't feel right.

comment 7y ago · link · parent

POWER is basically only top of the line though, other than the relatively rare NXP QorIQ chips that were used in e.g. AmigaOne stuff.

Most of the hype for RISC-V seems to be in tiny embedded stuff (e.g. WD's disk controllers) and academia (naturally). SiFive has finally made an out-of-order core, but I don't really see the market for big unix-capable RISC-V. RISC-V is really a royalty-free "MIPS in a trenchcoat", so expect it to be used where MIPS is used now.

ARM is everywhere, from smartphones (unfortunately Qualcomm dominance, but Apple is kicking ass in performance) to AWS EC2 (in-house silicon!) to massive HPC clusters (Fujitsu A64FX is impressive, they use HBM2 RAM (!) to make a SIMD-capable CPU into something almost GPU-like in a way). AWS has basically ensured that ARM is the next ISA for servers :P

comment 7y ago · link · parent

> my smartphones pics are for instant consumption only

ehh, I have a photo from the iPhone 4 printed out and hanging on the wall, still very happy with some shots I took with it :)

> too much noise when it gets darker

To be fair, many older DSLRs (Canon 600D) have horrendous performance at high ISO too, while smartphones have Night Sight type stitching of multiple exposures, but these require steady hands and non-moving subjects of course.

comment 7y ago · link · parent

Photo management tools like digiKam can pick up locations from GPX tracks (e.g. recorded with OsmAnd on your phone) and sync with the photos by time.

comment 7y ago · link · parent

Pretty seamless on Sony. Just select "upload to smartphone", enter the password that's displayed on the camera into the Android app, done.

comment 7y ago · link · parent

Most of the services I use are not behind Buttflare. Various blogs linked from here often are, unfortunately (and people don't even change the default captcha settings when they have static blogs that don't ever need to prevent bots from visiting!) but privacy pass sometimes works.

comment 7y ago · link · parent

You can use Tor for all everyday browsing too, with all the personal accounts and a normal version of Firefox. Still prevents your ISP from learning which sites you visit, still prevents the sites you visit from knowing your IP address, still circumvents any local censorship (which btw is probably the biggest use of Tor, thanks to RuTracker :D). And unlike a VPN provider, you don't have to pay $$$ and don't have a central point of potential logging (don't have to rely on "i swear we don't log" policies).

comment 7y ago · link · parent

I would add

https://github.com/drbig/snb

https://github.com/dandavison/delta

https://github.com/MitMaro/git-interactive-rebase-tool

comment 7y ago · link · parent

There's a lot of these pickers and they are indeed similar. I've been using https://github.com/jhawthorn/fzy since it's not fullscreen and has a really good matching algorithm.

comment 7y ago · link · parent

False positives are more concerning here than false negatives. It should be obvious to everyone that way way more people are "not calm" for reasons other than lying!

comment 7y ago · link · parent

The simplest solution would be to group the Copy and Save buttons into the group thingy that's been common on iOS since forever. So that the Copy's bottom corners wouldn't be rounded.

comment 7y ago · link · parent

I have a Xiaomi that copied the camera bulge from the iPhone X/XS. Doesn't bother me in the slightest. I literally never ever tried to use a phone flat on the table. Why would I ever need to use it like that?! I always pick it up.

comment 7y ago · link · parent

Most Wayland compositors track damage obsessively. If you turn on the paint debug overlay in Weston or something wlroots-based and start typing in e.g. gnome-terminal (with blinking cursor turned off), you'll see that only a single character is painted at a time.

Here's a good post: https://emersion.fr/blog/2019/intro-to-damage-tracking/

To do this with EGL, you need to eglSwapBuffersWithDamage(KHR|EXT) instead of just eglSwapBuffers: https://gitlab.freedesktop.org/wayland/weston/blob/23d01c67a... (isn't it nice to have a GL API that's not terrible? :D)

I think I know how to do it, going to try soon. Bugzilled: https://bugzilla.mozilla.org/show_bug.cgi?id=1590586

comment 7y ago · link · parent

Not every service will be targeted by sophisticated bots. What kind of service are we talking about? Is it even social? Is it even a service or just a public website?

OP did not provide a threat model or any description of the service really.

Talking about this "in general" is awful and leads to stupid bullshit like endless CloudFlare captchas on literally STATIC blogs.

comment 7y ago · link · parent

> Clicking a link actually opens a new tab

I don't have that enabled, even ctrl-clicking something opens in the same container for me. Not perfect in terms of privacy paranoia (my HN container gets cookies from sites I go from HN to, unless I take the effort to explicitly open in a different container) but it has never annoyed me.

comment 7y ago · link · parent

> Isn't there a better way to fight bots?

Don't?

I mean, what are you trying to protect? If it's account registrations, shouldn't an email confirmation be enough?

1
353637
97