HNHacker News
TopNewBestAskShowJobs

xani_

1,252 karma · joined January 28, 2020

submissionscomments
xani_··on Should we let cars use the road as a projection screen?
> Plot for a future novel: Project light onto surfaces from a moving vehicle to make another car behave in a way that kills the occupants. No evidence can be found at the scene as to why the car killed the occupants.

Aside, well, the video the car recorded...

xani_··on Serving a high-performance blog solely from memory, using Rust
And then all the gains were entirely eaten by first hop to a network device. Speaking from experience as I did similar thing, although speed was not a concern, just perpetual annoyance with available tools for blogging.
xani_··on Serving a high-performance blog solely from memory, using Rust
Sure but that's as useful as saying shit is social construct because we as humans decided to name it that. Technically true, practically it's vapid useless speech that doesn't bring anything useful to the discussion aside from person using the term feeling smart
xani_··on Serving a high-performance blog solely from memory, using Rust
Technically with go:embed you could trivially make a blog server that is just a 200MB binary with all of it embedded.

If you did it that way, now all your content is basically mmaped into the memory which means (probably) less syscalls.

Soo it might've shaved half a microsecond maybe ?

xani_··on Serving a high-performance blog solely from memory, using Rust
If swap is off there is nowhere to page it out
xani_··on Serving a high-performance blog solely from memory, using Rust
I did that in Go although it was "only" caching the markdown rendering - the page templates were written in Go (via some lib that gave tools to make that mangeable) and compiled with the app so the whole template building was blazingly fast.
xani_··on Intel says one of its 13th Gen CPUs will hit 6GHz out of the box
I see the same thing in Intel vs AMD servers, AMDs are like 3x the power on idle
xani_··on Intel says one of its 13th Gen CPUs will hit 6GHz out of the box
P4 was just plainly inferior architecture, this is not that. "Just" outdated one
xani_··on Intel says one of its 13th Gen CPUs will hit 6GHz out of the box
Where, in deep russia ?

3kW is typical kitchen power.

xani_··on Intel says one of its 13th Gen CPUs will hit 6GHz out of the box
If you have bathroom and kitchen on single circuit you have bigger fucking problems than powering gaming PC, whoever did that abomination needs to be fired.
xani_··on Intel says one of its 13th Gen CPUs will hit 6GHz out of the box
...no. Average EU circuit is 230V/16A, that's 3.6kW

Even if you ran 1kW (...somehow) you could still connect 3 of them and still have 600W left for audio/monitors.

xani_··on Intel says one of its 13th Gen CPUs will hit 6GHz out of the box
The fuck are those calculations ? Are you trying to mislead people on purpose?

Who is running their computer at 500W 24/7 ?

xani_··on Intel says one of its 13th Gen CPUs will hit 6GHz out of the box
They are in development for years, not last 6 months
xani_··on Companies are hacking their way around the chip shortage
Well the pretty vanilla chip I waited year for last year is now only on 48 weeks lead time...

The other a bit less common one is only few months tho, compared to year+ so I guess it slowly is. Inflation probably helped too

xani_··on Dump these small-biz routers, says Cisco, we won't patch their flawed VPN
scratches off Cisco from vendor list

"Oh, that's not what you meant ? Well, the others are cheaper so byebye anyway"

xani_··on Show HN: HiFiScan, a Python app to optimize your loudspeakers
And what would be the "80% of performance for 20% of the price" equivalent of it ?
xani_··on Show HN: HiFiScan, a Python app to optimize your loudspeakers
Counter-point: The use case is making relatively-shitty speakers in front of the computer better, and single point in space isn't really that much worse than trying to somehow put speaker in place your ears are and accomodate for all that.

> Ultimately, this is a bandaid for a poorly treated room. If you're serious about getting a flat response curve from your monitoring room, you're far better off learning how to treat the room properly and how to position your monitors within the room for the best results.

Well, doh, but it costs zero dollars and very little effort.

xani_··on Heavier cars are safer for their drivers, but far deadlier for everyone else
Sadly probably serious. Taxing bigger cars to the point it's noticeable to average driver is probably only realistic solution, even if that's unfair for people that just happen to have a bunch of kids
xani_··on Old school Linux administration – my next homelab generation
At that point I believe that if software wasn't written Docker-first it will just be plainly shit to manage as Docker container.

Docker containers more often than not are a crutch for app that have absolute shitshow install process to just bake that process in Dockerfile instead of making it more sensible in the first place.

xani_··on Old school Linux administration – my next homelab generation
Our biggest project (with a bunch of different infrastructure stuff) is also one with the least time spent per instance). We have months where no ops even logged on their VMs.

Our highest maintenance stuff is entirely "the dev fucked up"/"the dev is clueless". Stuff like server deciding to dump gigabytes of logs per minute or run out of disk space coz of some code error. Only difference compared to k8s is that the dead app would signal dev first, not actual monitoring we had.

And honorable mention for WordPress "developers" that make the first place in "most issues per server" every single year. And we have very few WP compared to everything else. Stuff like "dev uploaded some plugins, got instantly hacked (partially, we force using outgoing proxy and that stopped full compromise), we reverted it, he uploaded same stuff and got hacked again". So, nothing to do with actual servers.

Stuff like setting up automation to deploy ceph cluster took some time... once. Now it takes nothing. We even managed to plug it to k8s cluster.

> A server installed with half-decent care can run uninterrupted for a long long time, given minimal maintenance and usual care (update, and reboot if you change the kernel).

could even not be touched if you set up automated updates and reboots, the red tape is usually a problem, like dumbly written support deals needing notification for every restart even if service is in HA. Or some dumbo selling a service with SLA but only on single machine...

xani_··on Old school Linux administration – my next homelab generation
> HA is overrated, i'd much rather go for a low mean time to repair.

Those are almost entirely independent domains

the only point where they connect is that

> full down to back online if hardware is not damaged is less than 15 min.

automation makes both easier to deal with.

"Mean time to repair" is all fine if you don't have to drive 30 minutes to datacenter to swap out stuff.

Even if its cloudy cloud and you have backups, restores can take a lot of time.

Also you will want HA when it's your internet gateway to die

There are also levels of implementation. Making fully redundant set of loadbalancers is relatively easy. But any stateful app is much, much harder. In case of applications active-passive type of setups are also much easier than full on active active redundancy, especially if app wasn't written for it.

xani_··on Tell HN: Sudden Chile daylight savings time rules change causes chaos
> If a user wants a calendar event at 9am, they probably still mean 9am after accounting for time zone or DST changes.

...9am of their timezone or 9am of other participants time zone ?

Countries also share a timezone, what happens when they stop ?

what if you store time in CEST but the date CEST changes into CET is different in different countries ?

xani_··on Discussion: structured, leveled logging
...the helper like WithCancel/WithDeadline ?
xani_··on Discussion: structured, leveled logging
I guess simplest fix for that particular one would be accepting `map[string]string` but that won't exactly work for the any type, and you can't easily add more.

Maybe `...map[string]interface{}` but we're back to "the overhead is kinda shit"

xani_··on Discussion: structured, leveled logging
Seriously, Zap nails most of what I want from logger and the remaining few % isn't exactly hard to add on top.

Could maybe get a bit of ergonomics pass but that's it

xani_··on Discussion: structured, leveled logging
> Using something more like tracing, a log message gets attached to a context for the task, and it's not until the task is complete does anything get logged. This makes for a single log message that has a list of all the individual informational messages, as well as other metadata about the request. One mutex acquisition, one serialization, one file flush.

That's kinda terrible design. You don't see anything in progress, only if it finishes, and anything in progress just disappears, never to be seen again, if app crashes.

Splitting to event per action in a given context is a feature, not a bug

xani_··on The potential of mobile housing
Friction is the problem here. Even if it is 5 minute walk, well, it's PITA in winter, and the moment you have to move anything bigger than a backpack.

10 minute and 15 minute task turns into 10 + 15 + 10 minute task.

Any longer and you're pretty much talking "I either go there for half a day or it is not worth it".

Like, if there is no other option sure, but else it's major PITA for hobbies, something that's supposed to be fun.

It would be cool if it was for example a bunch of rooms to rent in basement of apartment complex, but even then I can't imagine them being big enough (or with door big enough) to say work on a car.

xani_··on The potential of mobile housing
Well, unless you're a sucker that saved whole life to buy that home and now half the value is worse and neighbourhood is shit...

But maybe we shouldn't let private companies decide on things like land usage in the first place...

xani_··on Brickit scans your pile of bricks and gives you ideas, with instructions
The thing with creativity is that it is not just "inventing things out of thin air". It's picking thru the vast archives of things we've seen and did our brain has and applying it in different way.

Guided building is basically filling that archive with ideas that can be used or changed

"Theme of the day" or just "pick a theme for me" might be interesting, but so is just getting some random schematic that might not even fit in what you'd search for in the first place

xani_··on Brickit scans your pile of bricks and gives you ideas, with instructions
I want that for my tools and parts

Snap picks of every shelf and drawer then just allow me to ask where is it and get a pic with circled in tool.

← PreviousPage 16 of 19Next →