Better HN
topnewbestaskshowjobs
Log inSign up

jackhack

2,538 karma · joined Jun 24, 2008 (18y ago) · 662 submissions

Paper shuffler by day with a background in embedded development + robotics, realtime, oldschool Windows from v2.1, Apple from the ][+ days onward. Currently in the "indifferent" stage of my oscillating love/hate cycle with Apple.
Submissions

comment 9y ago · link · parent

Sure. It's an evolution of the idea I saw here: http://hackaday.com/2015/12/15/feeling-force-through-a-servo...

Using a flexible servo horn, this allows some degree of deformation when torque is applied. Embed a 1/32" neodymium magnet in the horn, and a magnetic rotary position sensor in the driven part. As resistance to movement ("torque") increases, the flexible servo horn twists/deflects, angle of difference between the two parts changes and this can be detected by the magnetic sensor.

Picture a torque strain gauge, the way the needle deflects from the centerline of the gauge. This is similar but we're doing so in an radial (edit:removed axial) and not linear sense.

I went on to 3d print a flexible servo horn somewhat similar to this: http://mechanismsrobotics.asmedigitalcollection.asme.org/dat... but with the magnet embedded in the outer rim of the wheel and the sensor in the inner section.

Different amounts of sensitivity are obtained by printing different spoke stiffness on the horn.

Result is a compact, modular torque sensor for about $2 in parts. Feed the results to a PID look and you have a nice controller that can tell me when a robot leg is bearing a load, or is jammed, etc. This is essential to proper gait. Otherwise your robot is simply an electronic marionette.

One of the big challenges was getting 16 additional 16bit voltage reads back to my Rpi over i2c bus. (one value for each servo) https://www.adafruit.com/product/1085

Soln: used one of these multiplexer boards: https://www.adafruit.com/product/2717

and I used AdaFruit's excellent servo controller board: https://www.adafruit.com/product/815

and some neopixel rings for eyes: https://www.adafruit.com/product/3047

(wonderful for expressing mood)

comment 9y ago · link · parent

No, this is the first I've spoken of it, really. I've a few notebooks filled with sketches, thoughts, designs, etc. and a pile of prototype joins and brackets littering my workbench. It's actually a very challenging project from an electrical engineering and mechanical engineering standpoint. The Sony team were superstars. I still like the "mutant" prototype the best as it had the most character: https://www.youtube.com/watch?v=gfHape9Y31Q

In the mid 2000s, I had written some code for the Aibo to let it read books aloud.

Flash forward toa couple years ago. My kids saw some video of me with the Aibo Reader project and wanted an Aibo of their own. Unfortunately, the Aibo as a product is dead. The batteries are now dying and irreplaceable (thanks to Sony and their idiotic insistence upon DRM - it's not enough to merely provide electrons, the battery must also know the secret handshake in order for the Aibo to accept it. Maddening!!!) And those few used Aibos that do have working batteries are dying from other issues related to mechanical failure (mostly clutches in the head/neck assy.) yet command a premium price.

So now, my kids still want an Aibo. I got to thinking about how far technology had come in the past 20 years, and started wondering to myself if I could build a facsimile with the RPi. Thus the birth of this little side-project.

comment 9y ago · link · parent

Recreating the Sony Aibo robot dog using a pile of cheap servos, 3 axis gyro, the camera, wireless, neopixel lights, LiIon power, etc. Shoulder joints, body shell and chassis 3d printed. Total cost is around $150.

Locomotion is largely based upon the designs documented by Cynthia Brezeal Ferrell (MIT mobile robots lab, under Prof. Rod Brooks) in her PhD thesis for the hexapod robot, Atilla/Hannibal.

The first attempt was using Python which presented two insurmountable problems : 1) raspian OS boot time of 1.5 minutes which is unacceptable for an embedded device and 2) python threading is not sufficient for realtime. I was attempting to make series elastic actuators but the imprecision of the threading (jitter) was leading to wild oscillations... I finally had to accept it was a dead end.

I have started over in Elixir + Nerves which is designed at its core for embedded work. I will admit it is very slow going. Not because of any deficiencies in the language or environment. Quite the contrary -- I get a 10-second cold boot time and superb stability! But rather my mind is the limiting factor here. After three decades of imperative programming, the shift to functional programming is a challenge!

comment 9y ago · link · parent

And thanks to demand from the yankee transplants, Spiedies is easily found on supermarket shelves as far south as North Carolina.

comment 9y ago · link · parent

The video game has a parallel.

Voice actors or visual actors in the ever-increasing hollywood-ized titles get a royalty paycheck every time a box of software is sold at retail or on Steam. They may be paid royalties for a decade or more, with a successful A title.

Meanwhile the artists who generate content are paid only while doing their work, and the programmers who bring that content to life are paid a salary only while doing their work. There is typically no lasting financial commitment after the weekly paycheck. The could be laid off the week after release, and when the $$$ rolls into the studio, the team is home sleeping, fixing bugs, or looking for a new job. Starting anew.

The difference? Unionization.

comment 9y ago · link · parent

>>People might be holding off on buying the S because they think that the 3 is better.

But model 3 is $35k vs Model S @ $80k-$120k. These feel like two very, very different markets.

comment 9y ago · link · parent

>>getting some tech (JS) to do something it was never ment to do

That's pretty much my reaction to the entire modern WWW. What started as a way to serve some simple static text has evolved into something that is truly amazing. Using a modern "webapp" like Fusion 360 (3D CAD) is a miracle of technology.

comment 9y ago · link · parent

No, that's not the point and now you're antagonizing the moderating team. You were asked, and warned, "Do not do that" so, don't do it under your usual name, or a throwaway. There is no shortage of places on the internet to cause trouble. This isn't one of them.

comment 9y ago · link · parent

It depends on the particular bird, but some species will sit on eggs, even to the point of their own starvation. "Broody" is the term -- referring to a general nature to sit on and nurture eggs, working themselves into an almost hypnotic state. Chinese Silkies are known for this. Buff Orpingtons are also good "hatchers."

I have to go in and collect eggs, and pet on my birds to rouse them from their broody state, then force them out of the henhouse to go eat & drink. Otherwise she'll literally sit there on those eggs all day & night.

After a while, the hen might break the eggs and eat them. A way to train against this is to 1) never let it happen (remove eggs promptly) so they don't develop a taste for eggs or 2) give them golf balls to sit on.

Birds go through phases. Very broody for a few months, then disinterested, then back to broody, eating eggs for a while, ignoring them, etc.

comment 9y ago · link · parent

The same thing that, at the turn of the century when one in ten people were employed in agriculture. (today it's closer to 1/100) they go find other work.

Same goes for a farrier or a blacksmith or milkman, or ice delivery, or newpaper boy shouting "extra, extra - read all about it" from the street corner. In some cases, the job is simply gone. In others, the work still exists, but is nowhere as common.

comment 9y ago · link · parent

Econ 101.

More income is chasing the scarce resource that is housing. Thus prices increase (supply/demand curve).

It is the same with the cost of education increasing horrifically due to the open firehose of student loans making price no-longer-an-object-of-consideration.

Both are enormously overinflated bubbles.

comment 9y ago · link · parent

It's refreshing to hear something like this, from a couple that is obviously so well grounded and living a balanced life.

comment 9y ago · link · parent

If it's any consolation, your doggie didn't mind. That's what makes them such great companions.

edit: r/care/mind

comment 9y ago · link · parent

same here. Switched to a modern reel mower* and my poor thin lawn has benefited. it cuts like scissors, not like an axe, and it's both small and nearly silent so mowing the lawn isn't as stressful as before, what with fumes and noise. Not saying I love mowing the lawn (it's still work, after all), but it's a very different more pleasant experience compared to a gas mower, and just as quick.

*http://www2.fiskars.com/Products/Gardening-and-Yard-Care/Ree...

comment 9y ago · link · parent

And if the bees continue their die-off, they'll take a majority of the mammals and insects with them, because as much as 80% of plants are pollinated by these creatures. Goodbye food chain. As if that's not enough, imagine global warming if even a 50% decline in CO2 converting plantlife were to happen.

comment 9y ago · link · parent

https://aws.amazon.com/blogs/aws/new-p2-instance-type-for-am...

comment 9y ago · link · parent

"supercomputers" are archaic in a day when one can rent a 40,000 core GPU system with 732GB of RAM for $14/hour, on demand, via Amazon Web Services. Available whether you need one or a hundred (4 million cores crunching on a problem with 20Gb/second throughput is still only $1400 per hour). edit: more thorough response.

comment 9y ago · link · parent

I hate to break this to you, but the feds are snooping on your company emails/texts/phone calls anyway and filing them away forever in a nice big data center in Utah.

And a passcode isn't much in the way of protection, except from the airport rent-a-cops and maybe the first tier of Homeland Security. Physical possession of a device guarantees access, if a three-letter-agency wants it. The security theatre of last year w/r/t the iPhone access was to lull us into believing the CIA/FBI/NSA could not access a 'locked' phone. Counterintelligence. It has been accessible all this time.

Finally, corporate espionage on behalf of governments is a thing we'll read about in a decade or so. The stories aren't ready to break just yet.

comment 9y ago · link · parent

>>generate gluten

Unless I misunderstand, gluten is a protein in the wheat. How is gluten generated? If anything the yeast will break down the carbs and fats in the flower into simple sugars and alcohols. Or was this a misnomer?

comment 9y ago · link · parent

I'd rather see the cable industry executives' proclivities broadcast than some random constituent.

comment 9y ago · link · parent

sadly, I think shock-value is becoming the new norm for much of our culture.

A goal of Hacker News is to avoid this though.

comment 9y ago · link · parent

Meetings are velocity roadblocks. They rob energy and momentum.

Stop the meeting and instead of asking what people are missing, watch velocity.

The test of a productive team is spontaneous meetings, whiteboard sessions, and conversations. If people on your team are not getting up and talking, you don't have a team, you have independent contractors.

comment 9y ago · link · parent

>>We do not hear anyone suggesting restricting civil liberties to reduce gang violence.

We hear about it all the time. It's just so pervasive we no longer see how extreme is the intrusion!

Civil asset forfeiture, stop & frisk, the near endless litany of TSA/Homeland Security abuses, "VIPER" teams hassling Greyhound bus riders, states such as Hawaii where the 2nd Amendment is ignored, the SWAT teams that have taken over every small-town police department, the banking secrecy acts that report you if you move more than $4000 at a time or in an undefined "suspicious" way (also see "structuring"), the aggressive+confrontational transformation of law enforcement into domestic military, the involvement of military at WACO... need I continue?

comment 9y ago · link · parent

>>every Intel platform with AMT, ISM, and SBT from Nehalem in 2008 to Kaby Lake in 2017 has a remotely exploitable security hole in the ME (Management Engine) not CPU firmware.

>>there is literally no Intel box made in the last 9+ years that isn’t at risk

>>SemiAccurate has been begging Intel to fix this issue for literally years

Am I the only one who is so cynical to think it must have been deliberate? Intel dragging their feet for YEARS -- what could justify such a delay? The paranoid side of me asks "Were they waiting to patch this hole, until they found a different one that could be utilized?" Which begs the next quesion: Where is the NSA in all of this? It's the sort of thing that would be mighty handy to a group wishing to snoop on everyone and everything?

Last question: Why would anyone trust the encrypted management engine after this? (Why would anyone trust it before?)

>> What about embedded devices that are increasingly PC based? Digital signage perhaps? Industrial controls. HVAC. Security systems. Flight controls. Air traffic controls. Medical devices.

What, indeed? Is this the method used to interfere with Iran's nuclear program centrifuges?

comment 9y ago · link · parent

I don't think it was that deep -- I think Jobs was simply being a self-absorbed asshole in this case.

I've not read of him routinely buying new cars - quite the contrary. In this case I believe it was a simple disregard for the laws that only applied to "little people." He couldn't be bothered and didn't care.

Related: He routinely parked his Mercedes (the one without a license plate) in a reserved Handicapped parking space.

source: Walter Isaacson's Jobs biography, Sculley's book, and Amelio's book on his time at Apple.

comment 9y ago · link · parent

I read a book by a French philosopher about this very subject. The main character remained optimistic even though he and his professor friend encountered a world of trouble. It described a brutal, yet somehow ideal world filled with endless horrors and tragedy. Can't recall the title, but the story itself was quite candid.

comment 9y ago · link · parent

For anyone who wants to understand the mindset underlying poverty (whether cause, or affect, or a mixture of both), I recommend "Life at the Bottom: The Worldview That Makes the Underclass" by Theodore Dalrymple. He's British psychologist who spent his life working with the poor, and came away with some insightful observations about the culture of this population.

https://www.amazon.com/Life-Bottom-Worldview-Makes-Underclas...

comment 9y ago · link · parent

It's not just the ticket. It's the whole legal machine spinning up and siphoning a pile of money off of you:court costs, lawyer/legal fees, auto insurance increases for the next x years. And as you've mentioned, time away from productive work.

The ticket is only a small part of the actual costs.

And even worse, while this combination-punch can be irritating to middle- and upper-class folks, it can be financially devastating to someone living on the edge of sustainability.

But then, somebody has to pay for all those shiny new Police Intercept cruisers, SUVs, tactical body armor, new weapons & training, drones, robots, etc. etc. etc.

comment 9y ago · link · parent

The real question is whether it is appropriate for a government to be using weapons of war against its own civilian populace, in direct violation of human rights and constitutional prohibitions.
1
171819
23