Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 6y ago · link · parent

Canadians are nicer?

comment 6y ago · link · parent

That’s a camera trained on a 3D printer, not from a factory. Quite popular with hobbyists to monitor the progress of prints.

comment 6y ago · link · parent

Thanks for providing the links on the benefits of sleep linked to magnesium, but can you provide a link for this:

> Stress depletes magnesium.

comment 6y ago · link · parent

Right, and it would be "weird" if I were using one of those, too. You don't run across drivers written in any of those languages on a daily basis.

I didn't mean it with any negative connotation, btw.

comment 6y ago · link · parent

Not an expert in this domain but I'm not sure this can be done (well) without a physical component.

Recent studies have shown that we can consciously and subconsciously physically manipulate the position and directionality of our outer ear and some of the mechanics in the inner ear to "zero in" on noises and affect the frequency response of the ear. Our ears move imperceptibly when we look from side to side to synchronize what we hear with what we see. Try listening to one person in a busy room is saying then try doing the same while looking somewhere else.

There is hardware actively filtering out interfering sounds based on location and frequency, then there's the wetware that further processes the incoming signals and attempts to strip unwanted noise. I don't believe the second can be effectively done without a feedback loop to the first.

comment 6y ago · link · parent

Given that rMBPs from 2012 and 2013 command a huge premium right now...

You'd basically have to believe that Apple is actually serious about it's non-iOS offerings and is actually committing to perftecting the hardware and software to a degree that we haven't seen in a decade.

Remember when Apple "invented" the trashcan workstation that was going to revolutionize the world of desktop computers? People might prefer to have trusty tech that supports all the software written today and more or less just works instead of incredibly ambitious but half-baked and de facto abandoned tech from tomorrow.

If you take into account that a lot of the impetus behind this transition is so they can reuse their hardware/software stack from the iOS world, you'll see that it is quite a leap of faith to take.

comment 6y ago · link · parent

Shame I hadn't seen that thread. He's right that most of the rust projects "replacing" standard Unix utils are not feature equivalent and differ in intent, but that doesn't mean there aren't other efforts to do exactly what he is asking.

Eg here's tac (admittedly not cat, but hey, ./goo | tac | tac) published a few months before his email: https://github.com/neosmart/tac

comment 6y ago · link · parent

These threads always devolve into "rust is too slow" written by developers (or enthusiasts) that have never written no_std code in production. I've written and shipped firmware for embedded devices written in rust, yes, still using cargo and external crates, and had zero issues with compile time because the nature of the dependencies in the deps tree is different and very carefully curated.

Anyway, I really just wanted to point out that from the mailing list we have Linus and Greg endorsing this experiment/effort from the Linux side and a commitment from Josh on behalf of the rust team to grow the language itself with the needs of the kernel in mind. That's quite impressive and more than I could have hoped for.

I've actually played with writing kernel code in rust - for Windows/NT, however - and it's quite weird to be able to use such high-level type constructs in code where you typically manually chases pointers and wouldn't be surprised to see statically allocated global variables used to monitor reference counts.

comment 6y ago · link · parent

Javascript being interpreted is not a big deal for most UI (it's not like your code has to be in JS, it just needs to interop with it for the UI) and JS has been optimized more than most languages (eg it'll run circles around "desktop" languages like Python that don't ffi to C libraries).

The problem is the non-nativeness of it more than anything else. It's also what brings the bloat and the slowdowns because everything is reimplemented from scratch.

comment 6y ago · link · parent

It's not gnome's own engine at all, it's the forked-a-long-time-ago from KDE's KHTML, adopted by Apple and significantly improved internally under the WebCore project/framework with changes shared from time to time with KDE devs before it was hard-forked as webkit and developed more in the open, then adopted by Chrome/Chromium (before Google hard-forked and renamed it to blink), with gnomifications for integrations and wrappers for the GTK userland.

comment 6y ago · link · parent

I don’t see how anyone can both solve and explain their solutions in such record time. I can’t imagine there is much explaining happening.

comment 6y ago · link · parent

They should collect stats on how many clicked the previous slide link immediately after the slide changed (slide changes too fast).

comment 6y ago · link · parent

If we ever figure out fusion, would this become a moot point or even more important than ever?

comment 6y ago · link · parent

I’ve been tackling my own issues with ideas that are sound on paper for physically small products where I run into mechanical or industrial limitations/difficulties which I’m not (or at least certainly didn’t start out) well-versed in rather than any electronics or programming issues. I hit a brick wall years ago (asked here on HN in the distant past but didn’t get anywhere) and actually never progressed past that.

I’m not sure what issues you ran into with the MEMS but my instinct (if I were forced to use them, as they are still rather nascent tech) would be to use multiple physically spread out on a plane and then clean up the signal in software. I’m not sure what price point or “genericness” you’re looking for, my assumption is that you need something that a customer can install or have installed on any bike and you don’t have the luxury of making your own bike parts because otherwise you could basically make it a stepper motor in reverse if you have access to the very axis rather than your device being off-center.

If you can mount something on the shaft itself (externally coupled at the end or by replacing it or other parts) your options become a lot more reliable as you’re in “tried and tested” territory.

Other options (warning: brain dump not thought through) would be an LVDT (see earlier piston suggestion) as they’re basically infinite life, contactless, and can give you micrometer accuracy; if you can somehow determine the distance between two points and have a sensor at a fixed position on each pedal so you can get the distance between them; coating the crank with a reflective substance and using IR sensors to get the distance at arbitrary angles (I’m pretty sure IR raw output can give you the accuracy you seek, though PIR definitely won’t); and a crazy idea based off a tilt switch of using a conductive liquid in a sealed non-conductive cylinder with two strips of differing conductivity on either (long) side, calculating the resistance with a high precision ADC could easily give you what you are looking for but I can’t find any off the shelf parts that do this (which is weird since it seems to be very obvious and is free of moving parts).

Edit: I found a similar thing, but measuring capacitance with a dielectric liquid rather than measuring resistance with a conductive liquid: https://en.m.wikipedia.org/wiki/Liquid_capacitive_inclinomet...

comment 6y ago · link · parent

Gyroscope or mems accelerometer. Otherwise convert rotational crank movement to push-pull linear slider (see piston, flywheel, linear actuator, etc) and measure linear change in resistance between contact points (like a cheap caliper does, you can even use a chinesium one off eBay as they have a pin out under the battery tab, if your resulting linear motion is within that scale). You don’t need to drive anything besides the read head, so it should have extremely low losses.

comment 6y ago · link · parent

No worries, thanks for taking the time to explain! I find commit messages help “future me” more than anyone else, I never regret the time it takes to flesh them out (and tend to regret when I don’t).

comment 6y ago · link · parent

And breaks scrolling because it overlays on top of the text.

comment 6y ago · link · parent

Seems interesting. I was curious about how mouse support was retrofitted into the app but discovered that the commit messages are unfortunately absolutely useless for seeing recent changes. They’re all “update xxx.cpp” or just “bug” [sic].

comment 6y ago · link · parent

The Orb rust GUI library developed for RedoxOS is based on ECS.

comment 6y ago · link · parent

Even storage of helium has largely been solved, and that is far more tricky than hydrogen. It’s just expensive.

comment 6y ago · link · parent

You missed the required part.

comment 6y ago · link · parent

> Our children may be sincere about dealing with climate change.

Indeed they may. And we can either teach them to encourage it or ignore them and not even do that small part.

comment 6y ago · link · parent

What was the suggested alternative to grasses?

Guns, Germs, and Steel goes into this a great deal and the conclusion there is that in many ways precursors to today’s wheat is the miracle that gave birth to modern civilization.

Potential alternatives would need to provide similar nutrition (esp protein), be easily amenable to “naturally” providing selective breeding for choice traits, be easy to sow and harvest for hunter gatherers to become farmers, and be resilient enough to provide a model for civilizations around the globe.

comment 6y ago · link · parent

Here, have a read. Warning: if you haven’t done low-level development, you might walk away wondering if your entire life has been a lie.

https://danluu.com/file-consistency/

comment 6y ago · link · parent

Funny. My line of thought was “it’s probably still not fixed, but those old cpus won’t be running new code anytime soon.”

comment 6y ago · link · parent

Nice site! Just from a UX perspective, I’d advise against a modal dialog within a second of landing on the page. Consider a dismissible header for the introduction instead.

comment 6y ago · link · parent

Why is it heartbreaking? Think positive. Probably just a domain used for a wedding registry and RSVPs leading up to the event and then no longer needed after the big day.

comment 6y ago · link · parent

You can’t use it for anything and the only value is in hoping they randomly decide to contact you and ask to buy it (you can’t approach them because that is extortion of trademarked property) rather than going through the courts.

comment 6y ago · link · parent

Just type “make <tab>” in fish, because it does it out of the box :)

Here are the full completions: https://github.com/fish-shell/fish-shell/blob/master/share/c...

comment 6y ago · link · parent

No, it’s just electron. I don’t see the benefit over making it a PWA or even just a regular self-hosted web app.
1
119120121
277