Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions

mqudsi on most sites.
Submissions

comment 4y ago · link · parent

It manages the services itself. Your app is one level down the totem pole. The http bit is just another service managed by your app.

comment 4y ago · link · parent

Hindsight is 20/20. There’s a reason why insurance policies exist. You can (and should) save money skipping comprehensive insurance on a beater. Unless you are going to get into a car accident found to be your fault in the first year of the policy, in which case it would have made more financial sense to get that comprehensive coverage. But that logic doesn’t hold.

comment 4y ago · link · parent

It should be. The PSU is fanless, and that’s typically the only forced air ingress/egress.

comment 4y ago · link · parent

Meh. It’s (supposedly) a transient situation that’ll resolve in due time.

More importantly, I and many geeks I know but/bought several when a new model first comes out because they are (were) cheap but electronics wholesalers don’t offer free shipping so it makes sense to buy as many as you think you’ll use (until the next one comes out) in one go to minimize the amortized cost.

I miscalculated and ended up using all of mine, but I have friends that still have some of their stock.

comment 4y ago · link · parent

That’s some very hypothetical talk. The master bedroom in a typical home is likely and forever going to remain a bedroom, at least if there is sufficient other space available in the home. If you buy a couple of iPads (you and your spouse or kids or whatever) and upgrade them every x years, springing for an extra $100 on each one every time adds up. You never need the cellular module, though it might be nice to have since there are always other, less convenient options (hotspot on phone, standalone hotspot, public Wi-Fi, etc).

You cannot take your mantra to its logical conclusion and apply it to everything, everywhere, at least not unless cost is absolutely a non-issue for you.

comment 4y ago · link · parent

I have never seen coax running in a conduit in a residential setting in the USA.

comment 4y ago · link · parent

TIL! Thanks for sharing!

Edit: X11 as a source, not xterm. At least from what I can see.

comment 4y ago · link · parent

Where/how does ffmpeg come in? How are you connecting screen output to ffmpeg input?

comment 4y ago · link · parent

I agree with your assessment. The reference to “box” makes me think it was definitely the container. I also don’t see the codec called MP4, it’s usually spelled out MPEG-4.

comment 4y ago · link · parent

You haven’t mentioned at what fps you can encode.

comment 4y ago · link · parent

I’m so annoyed that this has come so late to the picture. HEVC was a worthy AVC replacement years ago and they constantly closed as wontfix or just let languish any requests to support it.

comment 4y ago · link · parent

I’ve written a (partial) zero-alloc MP4 decoder and it was definitely not as easy as the other poster makes it sound.

comment 4y ago · link · parent

> True, HEVC doesn't support Box level encryption like MP4 does

I’m not sure why you’re comparing a codec to a container format?

comment 4y ago · link · parent

Java has long been crippled beyond the regular GC limitations by lack of value types, but that’s finally, finally going away.

comment 4y ago · link · parent

I’m surprised neither of the links have transcripts. PBS usually does.

comment 4y ago · link · parent

How does this work in a primary school setting? Do students respond with aizuchi as teachers explain? Are they expected to (as in the teacher will call out students not engaging in it)?

comment 4y ago · link · parent

As resolution goes up, frame rate goes down. Most IP cams let you choose where on the resolution vs fps divide you want to be.

comment 4y ago · link · parent

We do that with CloudFront. Default is no cache, but some API responses specifically enable caching in the response headers (mainly the version check API).

2119.

Intermediate floating-point precision (2012)(randomascii.wordpress.com ↗)

2 points · by ComputerGuru · 4y ago · discuss

comment 4y ago · link · parent

> We end up with device=xxx and device_1=yyy but if you mean ...

No, I meant the first example. I'm trying to think of realistic non-obtuse cases like an entirely different spec calls for name_1, name_2, etc. but for some reason a numbered key is repeated. It's mostly an academic concern though, no worries!

Thanks for the awesome work you do for the FreeBSD community, as always.

comment 4y ago · link · parent

> I’d say Netflix is many years ahead of its competitors in terms of technology.

They absolutely are, hands down, no question about it.

There’s just the pesky problem of diminishing returns.

comment 4y ago · link · parent

That ship sailed a long time ago, friend.

comment 4y ago · link · parent

I understand, that's why I was asking about an additional api (get_xx_multi, etc) that would return an array or composite string or whatever, while get_xx would continue to return just the single/latest value.

Not being able to tell whether or not foo was specified twice or foo and foo_1 were specified separately just gives me flashbacks to a bygone era of osdev and gives me security creepy-crawlies.

(also how do you handle `device=xxx device=yyy device_1=zzz`?)

comment 4y ago · link · parent

@cperciva

> The FreeBSD kernel now handles such duplicate environment variables by appending suffixes, so that we end up with virtio_mmio.device, virtio_mmio.device_1, virtio_mmio.device_2, et cetera,

Was there any discussion of a cleaner alternative to this, perhaps extending the existing APIs with the ability to retrieve multiple values for one key (without breaking backwards compatibility, obviously) or concatenating the values with some sort of delimiter (colon, literal new line, ascii RS, or even null)?

comment 4y ago · link · parent

I think it is intentional and I think the reason isn't very hard to figure out. Handicapped has been associated with "incapable" for a long time, and this is intentionally turning that on its head to force people to (maybe!) subconsciously reconsider when they start seeing this symbol spray painted in parking lots, plastered on walls, and otherwise surrounding them in the spaces they regularly visit.

This wasn't meant to be a neutral change, or even a change to bring it from negative connotations to neutral - it's the equivalent of affirmative action for symbols.

comment 4y ago · link · parent

> anyway my favorite feature is that the disability guy is in a rush

That’s actually a thing now: https://blog.logomyway.com/new-handicapped-logo-and-the-hist...

comment 4y ago · link · parent

They've either been compromised or severely borked in an attempt to fight abuse. The entire? image is now read-only, or at least /tmp and the home directory both are. Their login script fails and errors out about read-only filesystems and you can't do anything useful with the machine without some extra hacking.

comment 4y ago · link · parent

The post demonstrates the temperature sensor as being one (of many?) modular components that can be plugged in, actually.

Though I still agree that does not make a motherboard!

1
707172
277