HNHacker News
TopNewBestAskShowJobs

xani_

1,252 karma · joined January 28, 2020

submissionscomments
xani_··on We're moving away from swap partitions on our Linux servers
> The problem with swap is memory seems to have gotten cheaper than storage and swap of any form takes storage space. Its not the capex that's the problem, its the opex of now you've got an extra 32GB that "has to" be backed up and "has to" be virus scanned or whatever security theatre, and that swap file "has to" be treated as the highest security PII HIPPA PCI category because who knows whats been swapped out of memory onto it,

Why on earth you'd backup swap?

Also encrypted swap is pretty easy to setup, then again most distros don't give that option on install.

We have tiny swap, like 1GB, working basically as "early warning" of "hey, this server probably could use few GBs more of RAM". There is very little use for any more swap than that

>I don't think non-cloudy admins realize there are cloudy admins out there with forests of little systems with like 8 GB of ram and 16 GB of storage, so the "old" rules from the 1980s about provision twice your ram as swap would increase the disk required from 16 GB to 32 GB doubling my costs for, essentially, nothing.

The "old rules" for swap were never relevant. But dumb myths die hard.

xani_··on We're moving away from swap partitions on our Linux servers
Eh, just use LVM. I have no idea why it isn't a standard on some distros. Then you can mix, match and resize at will, and as a bonus you can migrate system live from one device to another without rebooting.

> (If you're willing to use swap files anyway you can always add more swap space with a swap file even if you started with a swap partition. However, if your swap partition is too big, shrinking it or limiting how much of it gets used is more annoying.)

You can't shrink swap file without swapoff & swapon anyway so it's illusion of an improvement

xani_··on A thermal battery that uses superheated bricks [video]
And just using a heat pump will have vastly lower total energy usage.

It could be interesting in niches like say have some thermal storage (that say gets recharged at peak solar) for heating water on demand instead of draining battery for that, but that's a lot of extra complexity to save on some more batteries

xani_··on A thermal battery that uses superheated bricks [video]
It's just the resistive heating tho. Sure, it might allow you to buy the electricity to produce heat at lower rate but it fundamentally does not change the amount of energy you need to consume (well, increases it for losses).
xani_··on A thermal battery that uses superheated bricks [video]
...okay ? But how the bricks help ?

Like, there is some merit in say heating up the "heat battery" at peak solar power (or just when grid energy is cheapest) then using that to heat directly but... you're still doing it at 100% efficiency while heat pump does that at 200-300% using nothing but ambient temperature to get that efficiency.

I guess you could use it as a hybrid solution with heat pump for very cold climates that would normally disqualify heat pumps (heat the brick during the day, use heat pump to get the heat back) but even that is kinda meh.

xani_··on Let's order strange things from NIST
Now we need most expensive restaurant cooking only with NIST-rated ingredients
xani_··on Tumblr and why ‘the porn-friendly era of the internet is over’
I think more plausible explanation is just plainly not many companies wanting to put their ads on porn, so hosting porn is significantly less lucrative per viewer than SFW content
xani_··on Everyone going to World Cup must have this app, experts are sounding the alarm
We need better app sandboxing on phones yesterday, with system call filtering so it would be possible to just fake the data app requests
xani_··on Equifax used records it collects from companies to fire employees with 2nd jobs
Ok but you could've hired someone that was incompetent enough to do same shitty results while working full time in your company. In both cases they'd be fired for shit performance
xani_··on Equifax used records it collects from companies to fire employees with 2nd jobs
Thank fuck for GDPR lmao
xani_··on Equifax used records it collects from companies to fire employees with 2nd jobs
Nope, the people that were 2 levels under execs hired them

Execs hired incompetent (or maybe just "profit oriented") management and that incompetence trickled down to the bottom.

xani_··on Equifax used records it collects from companies to fire employees with 2nd jobs
"Equifax investigated and fired at least 24 remote workers for secretly holding second jobs."

"secretly" ? Why you'd need to tell your employer that in the first place ?

xani_··on Replace the “very” in your sentence
I thought it was video game tournament production company

https://esl.com/

first link I get

xani_··on 5G’s Rollout Rattled Hundreds of Pilots
The airplane pilots can't do shit about it, it's up to their parent company to pressure company (and pay $$$) that sold them planes to fix it.

From their perspective it worked for decades and now someone decide to jam it.

From engineering perspective, yes, they are defective and don't have enough filtering on the input to stay within its band

xani_··on If AI can read, then plain text can be weaponized (2019)
I dunno, I've seen some grown up people that couldn't google their way out of cooking a potato
xani_··on Some remotely exploitable Linux kernel WiFi vulnerabilities
Eh, it didn't get cutesy name like BadWiFi, won't be that bad /s
xani_··on What influences keyboard input speed (2018)
They can, and article is just bad, as it completely ignores that and the fact you can use diodes to remove ghosting.
xani_··on What influences keyboard input speed (2018)
> Depending on the quality of the switch, the bouncing time will vary. The most popular Cherry MX switches have a bouncing time of up to 5ms. This means the software delay should at least be 5ms or higher.

That is incorrect. You can register and send "key held" input on the first bounce, immediately, then just ignore the key for the debouncing interval. Probably still want some capacitance on the input to not get triggered by any EMI tho.

That moves the latency to key depress but as there is a very little chance someone presses key for less than 10ms it doesn't matter.

The "interrupt, wait, interrupt, send signal" method might be easier to code I guess, especially if you just have few buttons and use hardware interrupts for them.

xani_··on Observable transitions to paid plan for private notebooks
Or they do but they have so many people invested in not developing the core product but "growth" that it is unsustainable
xani_··on We are stuck with egrep and fgrep (unless you like beating people)

    grep -P is only true way
xani_··on Project Starline expands testing through an early access program
> Google being pretty bad at cracking the corporate communication space. Teams and Zoom ate it's lunch.

That really perplexes me. They had multiple both video and text chats. Their video chat was one of better ones even way before Zoom.

All they need to do is stop making tech demos and make one app doing it. But they just make one sorta kinda decent one, throw it away, and make another one to replace it.

xani_··on Project Starline expands testing through an early access program
> For every product Google kills, it's launched dozens of wildly successful products you've been taking for granted for over a decade in some cases: Gmail, search, Drive, Photos, Chromecast, Chrome, Books, Flights, Scholar, AdSense, Calendar, Docs, Sheets, Keep, Translate, Maps...

More like for every 10 products they kill they maybe let one live... Have you not seen killed by google ?

> Google can and does support dozens of good products, and pretending otherwise is getting tiresome. If your best criticism is, "I dunno if Google will support this long term" that, to me, means you couldn't come up with anything better to say, which means it's a pretty damn cool product.

It's pretty fucking important to know that if you're going to splurge a bunch of money to put it in your offices. You're just being ignorant at that point.

xani_··on “Women are wonderful” effect
Only if there are more than 2 groups.

If there are two groups (and in addition they are roughly equal size) those are entirely interchangeable as there is no logical "standard" to compare to except eachother

xani_··on Quiet Quitting
> Can someone please explain to me how you work 200%?

Just compare yourself to most useless coworker.

Same with the "10x programmer" myth, anyone can be 10x if they pick target to compare to that's low enough

xani_··on Quiet Quitting
> Accepting a job and then deciding the wage is not enough for the duties you have to perform after the fact just slows the process down for everyone and usually puts extra work load on your colleagues.

Uh,no. It's usually getting more and more work coz someone left/got fired and employer goes "well, productivity looks the same" (coz everyone is working that bit more) "why hire more?".

Or frankly you just learned more and are more productive than you were year ago... for same wage.

xani_··on Pentagon Puts DJI on Blacklist
We got some recent movements in trying to basically say "if it's US company it doesn't comply by GDPR", because US laws require companies to snitch on demand
xani_··on Pentagon Puts DJI on Blacklist
Yeah, makes sense from "not confusing users" perspective.

"This app only needs wifi network list, it isn't spying on me" would be easy mistake to make

xani_··on Pentagon Puts DJI on Blacklist
>This is an important detail. Your phone location might be helpful when using drones (though GPS should be on the drone, not your phone)

I'd imagine it would be important for "come back home" like functionality in case drone loses signal or whatever

> but there is absolutely no reason to use it for something like a phone stabilizer, which it absolutely requires and will not let you continue unless you turn it on

App making photos or movies using GPS to tag location of the photo is kinda common. Refusing to work without it would be sketchy tho, but "developer is kinda incompetent" is common enough...

Not saying it isn't malicious but those are easier explanations.

Hell, it could require permissions and not send the data now, just add that tracking in update...

xani_··on An ‘everything app’ would be bad for liberal democracies and free markets
It's also massively hard to get right. Preventing or punishing bad actors is way easier in centralized systems
xani_··on An ‘everything app’ would be bad for liberal democracies and free markets
> If there was a protocol for cab hailing, and anyone could roll it out for someone to connect to their network (like xmpp), and anyone could offer to become a driver or play another role like customer support, they earn their local currency and are a part of their local economy.

How do you prevent fraud? How you fight bad actors on both sides? How would you track reputation ? How would you prevent from someone botting their way to 5 stars while scamming customers on every step (our outright robbing) ?

Such wishy-washy "oh if it was DECENTRALIZED it would EMPOWER everyone to get into the business" falls apart pretty quickly when hitting reality.

← PreviousPage 2 of 19Next →