Better HN
topnewbestaskshowjobs
Log inSign up

clnhlzmn

152 karma · joined Feb 18, 2018 (8y ago) · 53 submissions

Submissions

comment 3mo ago · link · parent

fwiw I just received the adept trackball and I too was worried about the quality of the enclosure but upon seeing it in person I'm fine with it. As far as fdm prints go it's really well done.

comment 5mo ago · link · parent

The way we do it in modern languages with things like std::optional and even that is not the best example.

comment 5mo ago · link · parent

Because to control the autofocus motor and other features it makes sense to have a microcontroller in the lens. If you have a microcontroller in the lens you have software in the lens and if you have software in the lens you're going to need to update it.

You could argue that the camera should do firmware updates but the manufacturers for (semi) open mounts like the ones Tamron is making lenses for don't want to have to design a protocol to do updates for third party lenses through the body when the lens manufacturer can just slap a USB port on the lens and call it a day.

The port is also useful for customizing the lens functions. For third party lenses the camera can't be expected to manage those functions.

comment 5mo ago · link · parent

I use this knot usually but it doesn't work for my pisgah range laces. They have their own recommended knot, which does work, but it's annoying to tie and asymmetric. I'll be trying this "secure" knot now.

comment 6mo ago · link · parent

The really crazy thing is they returned to the origin instead of the nearest airport. If it was really an emergency they would have got out of the air at the nearest runway of suitable length instead of flying all the way back. Just theater.

comment 6mo ago · link · parent

You learned something different then because this finding is that some kinds of additional roughness delay the transition to turbulent flow which is pretty clear in the article.

comment 7mo ago · link · parent

doesn't ieee754 define a decimal format? Specifically "decimal64"

comment 8mo ago · link · parent

It's probably a faux pas to be left handed

comment 9mo ago · link · parent

I think you're mistaken on that. Maybe me and the engineers I know are below average on this but even our combined knowledge of the kinds of things _real_ compilers get up to probably only scratches the surface. Don't get me wrong, I know what compilers do _in principle_. Hell I've even built a toy compiler or two. But the compilers I use for work? I just trust that the know what they're doing.

comment 10mo ago · link · parent

I need that "RUB OUT" key on my keyboard

comment 10mo ago · link · parent

Seems similar to remoteStorage [0]. What happened to that anyway?

[0]: https://remotestorage.io/

comment 10mo ago · link · parent

So instead of carrying a slightly larger but perfectly useful computer (a laptop) I have to carry a smaller but useless keyboard and mouse for the benefit of not having a keyboard and mouse sitting on a desk when the desk isn't being used? I still don't get it.

I could see the benefit if this thing dropped the keyboard entirely to make it as small as possible but still I'd rather just carry a small laptop.

comment 10mo ago · link · parent

If this is better than a laptop for mobile work why include the keyboard? Why not just make it a tiny box with a single USB C connector to plug into the dock on your home and work desks? Since you already must have monitors and mice at those locations (or bring them with you) I'm failing to see the point of including the keyboard in this package (except of course to be able to advertise the "copilot key")

comment 10mo ago · link · parent

Seems like you could make the corners round (not making a judgement on that in any way) and still give the resize handle a more sensible size/shape/location right? As in this isn't a visual design problem.

comment 11mo ago · link · parent

This makes me wonder about things like air pods. Do they replaceable batteries? Does Apple plan to make them so?

comment 1y ago · link · parent

> I've come to see this ubiquitous string of symbols, ?? "", as the JS equivalent to .unwrap() in Rust

Isn't this more like `unwrap_or`?

comment 1y ago · link · parent

I think the person you replied to probably just has a different definition of "completely ruined" than you or I.

comment 1y ago · link · parent

I see

> Each electrode channel is tied to a finger pad

but the layout shows the finger pads are all tied together. What am I missing?

comment 1y ago · link · parent

I haven't seen this option yet: archive things you think are important, delete things you think are not important, but don't permanently delete anything. Just use archive and trash as folders of differing degrees of importance. If you run out of storage you can manually delete some of the oldest items in the trash and be pretty sure you didn't need those things (but this will never be necessary because who runs out of email storage).

comment 1y ago · link · parent

I recently used a bloom filter to achieve a log message anti-spam feature. In the logger I hashed the messages and inserted into the filter. If the entry was present I didn’t output the messages. Then every few seconds I would iterate over the filter and clear all the bits. It worked out nicely that I didn’t have to worry about atomically clearing all the bits in the filter, if messages were coming in and any of their bits had been cleared that was sufficient to cause them to be logged again. This was much more efficient than the previous implementation which kept a count of messages seen and would saturate at N and had the effect that if a particular message was being repeatedly logged it would be seen, just at most at the rate at which the filter was being cleared.

After being aware of bloom filters for a while it was quite satisfying to organically find a real use for one that was such an improvement.

comment 2y ago · link · parent

You might also be interested in metalang99 by the same author.

comment 2y ago · link · parent

Oh I get it. Sometimes bash is the right tool for the job. I think that’s just mostly an unfortunate historical artifact though. It’s hard to argue it’s intuitive or “clean” or ${POSITIVE_ADJECTIVE} in the average case.

comment 2y ago · link · parent

This is totally true and the bash apologists are delusional.

comment 2y ago · link · parent

This is not Lasse Collin’s responsibility. What is a burnt out committer supposed to do? Absolutely nothing would be fine. Doing exactly what Lasse Collin did and turn over partial control of the project to an apparently helpful contributor with apparent community support is also perfectly reasonable.

comment 2y ago · link · parent

This is really not the responsibility of unpaid developers.

comment 2y ago · link · parent

I think the c++ version could be more understandable but it’s as if the authors intentionally made it as obtuse as possible.

comment 2y ago · link · parent

Would it be reasonable to expect that this MR comes along with a test that shows that it does the thing it’s claiming to do? I’m not sure how that would work in this case.. have a test that is run on a system that is known to have landlock that does something to ensure that it’s enabled? Even that could be subverted, but it seems like demanding that kind of thing before merging “features” is a good step.

comment 2y ago · link · parent

Yeah I find the rolling method is more work than it’s worth when the “grab the corners and shake vigorously” method works just fine.

comment 2y ago · link · parent

TextAdept is a cross platform, minimal, fast, and extensible text editor that might be a good candidate.
12