HNHacker News
TopNewBestAskShowJobs

diydsp

2,950 karma · joined May 15, 2013

http://youtube.com/diydsp has hacks I come up with. Especially interested in DIY electronic music instruments.

My subreddits are: http://old.reddit.com/user/diydsp/m/digi_instruments http://old.reddit.com/r/diydsp http://old.reddit.com/r/diyinstruments http://old.reddit.com/r/stm32f4

http://diydsp.blogspot.com is my blog on digital instrument design.

http://exertion.pbworks.com has info on building hybrid generator instruments.

The last really good archive of my main website: https://web.archive.org/web/20190406043521/http://diydsp.com/livesite

submissionscomments
diydsp··on The 8-bit era: Eight processor designs
it would be reductive to chalk up the sound of the 80s to any one synth. Especially when the Fairlight was responsible for a number of iconic songs: http://ghservices.com/gregh/fairligh/topsong/

This is a good overview of key 80s gear, including the E-Mu, Linn Drum, DX7, Fairlight, Mirage, etc. https://www.musicradar.com/news/10-synths-that-defined-the-8...

diydsp··on We Automated Bullshit
I was curious, too. Looked it up. Still don't understand tho.

>The sizeof in C is an operator, and all operators have been implemented at compiler level; therefore, you cannot implement sizeof operator in standard C as a macro or function. You can do a trick to get the size of a variable by pointer arithmetic.

diydsp··on Google's advanced music generation model and two new AI experiments
That would be the equivalent of automating out the middle class. Surely the prodigies will survive, but everyone else's dollars will only result in autotuned musical frozen dinners.
diydsp··on Porting Stunt Car Racer to the Apple II
Kudos for explaining the colors in that hires mode! Peak idiosyncrasy :) apple ii is a c64 minus all custom asics.
diydsp··on Olive oil soars, and thieves go after century-old trees in the Mediterranean
I like avocado oil for its high temp, light flavor. It's pricey, but generally it's good to minimize oil consumption for caloric purposes anyway.
diydsp··on Now you're thinking with relays
My friend Joe Allen made a rather sizeable relay computer which features a pot you can turn to change the speed in real time:

https://hackaday.com/2017/09/18/single-board-relay-computer/

I especially like that it has some relay outputs so you can short basically any electrical item, possibly even an AC mains cable :) and it has numerous inputs and LED display of the internal program counter. I even spent a few hours making a simple drum machine in it once!

diydsp··on Sam Bankman-Fried Convicted
That is an invite to an interesting conversation about fame, media, publication, status, hierachy, "alpha"-ness, reproduction, entitlement, culture, etc!
diydsp··on Nobody Understands C++: Intro (2007)
>Bullsh*t.

Please keep the quality of conversation high here. Thank you.

diydsp··on Life After “Calvin and Hobbes”
It's not only about the sanctity of the work, but the opportunity for other artists to earn a living and for the audience to avoid monoculture. Consumerism facilitates a winner-take-all system where one creator's voice overrides all others. It's better for all when a number of moderately successful artists can have artistic dialogue with a larger number of audience segments, even when moderated by commerce.
diydsp··on There's a new way to flip bits in DRAM, and it works against the latest defenses
the CPU has microcode... I wonder if that includes its DRAM controller.
diydsp··on AI Graphics at JetBrains
My embedded team is falling one by one to vscode. Main problem is education/documentation. None of us know what or how to do all the great things or even the simple things in CLion. It also guzzles memory. Also name recog: everyone wants vscode on their resume. 3rd, setting up embedded targets is not clear. :(
diydsp··on ChatGPT’s system prompts
Under corporate control safety spirals down to increase profit. See: opiods, climate change, pesticides, antibiotic resistance, deforestation, and privacy. 50 years from now self-driving cars will be cheaper and more dangerous. Human driving misbehavior will still be disincentivized through the justice system, but corporations will avoid individual responsibility for dangerous programming.
diydsp··on ChatGPT’s system prompts
I used to get mini jailbreaks saying i needed to know bc i was a doctor or cop but they fixed that.
diydsp··on ChatGPT’s system prompts
Great point. Btw: The problem is corporate irresponsibility:

When self-driving cars were first coming out a professor of mine said "They only have to be as a good as humans." It took a while but now i can say why that's insufficient: human errors are corrected by discipline and justice. Corporations dissipate responsibility by design. When self-driving cars kill, no one goes to jail. Corporate fines are notoriously ineffective, just a cost of doing business.

And even without the legal power, most people do try to drive well enough to bit injure each other which is a different calculus from prematurely taking products to market for financial gain.

diydsp··on Vine Robots: Learn to Make Your Own
This version isn't steerable is it? I can't tell from the video(1), but it seems you build it for a specific path, and then inflate it to get there?

Seems like a cool start.. but I don't understand why they advertise it as "It can have a power supply that doesn't need to move. It can stay stationary." Is that feature? headscratch.jpg

(1) https://www.youtube.com/watch?v=oRjFFgAZQnk

diydsp··on “Real Water” that poisoned dozens contained chemical from rocket fuel
China.
diydsp··on MyPowerbank hacks Santander bikes so London's homeless can charge their phones
Your comments about the gear size, etc. are interesting, but I don't see how they're strictly necessary. Can you explain? For example, can't an arbitrarily small gear work as long as the force contributing to the torque is sufficient? And isn't the force a product of the driving force (human leg/crank) and the load on the generator? And we can't see the load on the generator, so there may well be step-up gearing and high-flux motor inside the housing?

BTW, I respect your project at https://omattos.com/2022/06/19/gym-power.html

I have also worked with human-powered generators (https://www.youtube.com/watch?v=huYJa2Du57g) and made a quick feasibility spreadsheet on the MyPowerbank at: https://docs.google.com/spreadsheets/d/1X39ZgL86tmemdYv0r1Jg...

From my spreadsheet, this project looks plausible, but please feel free to add comments to it as you see fit.

My spreadsheet's calcs indicate an average power of about 25 Watts to reach the 25 minute charging time claim. Note that average humans can easily sustain 100 Watts. I have assumed an iPhone 12 battery as that's the first that came up when I searched: https://www.google.com/search?client=firefox-b-1-d&q=ihpone+...

As far as the shaking chain, note also that the device base is shaking so we can not directly infer the cog idler pulley-cum-prime-mover is not also moving.

In my experience with human-powered generators, the real obstacle was getting people to relax and focus and do nothing for longer than 2 minutes.

diydsp··on Plimpton 322 is Babylonian exact sexagesimal trigonometry
"the 1's were originally there and likely contributed to the break" (cuneiform)
diydsp··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
Avoid meat. It will protect against many other bad things, too(1). You can also delve into the world of longevity...

(1) https://veganhealth.org/chronic-disease-and-vegetarian-diets...

diydsp··on USPS In-Person Identity Proofing
Now im really curious what parts of this people disagree with?
diydsp··on USPS In-Person Identity Proofing
The U.S. is rooted in freedom from overreaching governments. (Slavery, equality is a separate dimension). That's how we were formed. For a while we were nearly tribal and free. We got screwed over when we allowed a federal governemnt to "protect" us. The Bill of Rights was supposed to ensure we didn't lose our freedom. It should have kept us free but instead allowed key points of control like real estate tax incentives to enrich an oligarch class and now we have "corporotacracy." The recent/present leaders can not protect us without violating our rights to privacy... ...or won't.

Electric fences and RF food collars feel icky to cows in pastures that don't have them. Cows who already have them don't seem to notice.

diydsp··on FAA authorizes Zipline to deliver commercial packages using drones
I see a dichotomy... many colleagues bring lunches to work in e.g. glass microwaveable containers, but many have an "ick" abt prepping their own food. A huge "tax" on the lazy.
diydsp··on Breakfast cereal is in long-term decline
I see it at stop and shop... but i think your recipe looks great!

https://stopandshop.com/product-search/granola%20&%20muesli?...

diydsp··on Tails is a portable OS that protects against surveillance and censorship
Legit question. IIUC: On the publishing side, it allows people to say things with less fear of bad guys knowing who said them. On the audience side, it allows people to consume media with less fear of bad guys knowing they read it. Unfortunately, I don't believe it can ameliorate what most people think of as the censorship part, which is a guy with a black magic marker crossing out parts of things.
diydsp··on Jimmy Buffett has died
Nothing like exercise, good sleep, and a good diet for healthspan and longevity. Those are a state of mind and mostly available to anyone. Money could buy a good personal trainer, chef and a quiet, dark sleeping room, but you still have to want it and do it. No purchaseable intervention can build muscle and stability. Some pills can help with memory though at least. And money can buy a decent doctor. Vampiring blood from the young is a possible financial advantage.
diydsp··on A DIY ‘bionic pancreas’ is changing diabetes care
Neat, but GPS is harder to spoof.
diydsp··on The ocean has a fever
Slow production and make longer-lasting goods.

Become more self-sufficient with more spread out plots of land to reduce shipping.

Explore and expand reusable containers.

Meatless Monday.

Design more efficient water-based appliances like sinks and showers.

Keep moving fwd w EVs.

diydsp··on Linux on a Commodore 64
I found it interesting it didnt utilize the X reg. Maybe instead of updating Y, X could have been used. Then I scrutinized the Y reg use:

On line 14, it uses Y, then decrements it to 0, uses it, increments it, uses decrements, uses it, then increment again.. why not perform the indirect load on lines 18 and 26 without the Y index and eliminate lines 16, 21, and 25?

here's my pseudocode:

rc2 <= base of struct

rc4 = rc2 + 4 // addr of dx

rc5 = rc5 + 0 // addr of x

rc6 = *(&rc2+4)

rc4 = *(&rc4+1) // get low byte

rc5 = rc6 + *(&rc2) // add high byte

rc4 = rc4 + *(&rc2+1) // add low byte

rc2 = rc5 // store high result

*(&rc2+1) = rc4 // store low result

I believe it could have done more to do the work in place, but my batt is about to die :(

diydsp··on Ask HN: Undiscovered electronics/maker YouTube channels
https://youtube.com/diydsp

~1k subs. Mostly electronic audio and instrument design and construction. Almost all recorded between 11pm and 1am.

diydsp··on SeaGlass: City-Wide IMSI-Catcher Detection (2017)
Would anyone who downvoted this please explain why they think this system needs any special permission from the FCC? Afaict, it's simply monitoring the interactions of its bait phone with towers.
← PreviousPage 6 of 34Next →