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 long-lost Tarzan Atari game, preserved
Just in case you went down the rabbit hole and looked up the Atari Shock mentioned in this article...

https://en.wikipedia.org/wiki/Video_game_crash_of_1983

and just in case you looked up some of the bad video games...

and just in case you read more about "Lost Luggage":

https://en.wikipedia.org/wiki/Lost_Luggage_(video_game)

... and just in case you wanted to know if the --4 minute jingle-- mentioned was ever found. yes it has:

https://www.youtube.com/watch?v=kcC_am2I8W8

diydsp··on Wegovy and Ozempic (semaglutide) associated with reduction in alcohol addiction
IIUC, it depends how the patient would lose that weight. Afaict, these drugs work by lowering appetite overall and making people poop out lots of food before it's fully digested. If the patient macros are still bad, the same proportions as before the drug, they'll have deficiencies such as protein, fiber, electrolytes, vitamins (esp fat-soluble ones), etc. But hopefully it's just for short term. (star)

So to get back to your question, one could lose the weight in the best possible way by correcting their diet, eating less, doing HIIT, fasting, good supplements like creatine, stress reduction through breath work and meditation, and resistance training and end up in a very strong position.

Please anyone correct me on this.

(star) Anecdote about my friend: He went on Metformin for a few years, had lots of diarrhea, and lost about 30 pounds and is skinnier than me. At this point, he could really really get into a strong health position having had that shortcut. His eating habits even got a little better from wearing a glucose monitor. He's sick of the diarrhea which really keeps him from wanting to be out of the house for long, and is slowly looking for some intriguing physical activities. So I think these drugs can help people.

diydsp··on Controlling the Taylor Swift Eras Tour wristbands with Flipper Zero
I contracted for them a number of years ago... probably one of their biggest early shows for Arcade Fire... to address sustainability at the time, they had a microphone inside their devices. At the end of the show, they sent a special command that switched it over into "color organ" mode so you could hold it up to your stereo at home and see a trippy light show! (I wrote the audio-to-trippy rgb led code). It was cool, but even better they're re-using them now. It is a great little company in a huge old industrial factory in Montreal. Hi, Vincent!
diydsp··on Sundar Pichai Tells Employees They Don't Need Money to Have Fun Amid Cost Cuts
It's completely possible to pass the time in an enjoyable way without being paid as much as him.

Maybe he should just pass out copies of this: https://en.wikipedia.org/wiki/Slave_Songs_of_the_United_Stat...

diydsp··on An Ode to Deluxe Paint (2023)
Groovy, I love the zoom! any plans to implement color cycling with tab like in the good old days? I used to spend hours tripping out to cool color cycling... I'm a firmware programmer and don't know much about windows, but how easy/hard is it to build for windows? +1 for "Brian Credibility"
diydsp··on Eco-brutalism: when angular concrete meets the wonder of nature
It's probably a lost cause like a lost trademark like Kleenex, crazy glue, and band aid, but since this is an intellectually-curious crowd, you might like to know that brutalism is not a 1:1 replacement of "visible concrete." It is so much more.

Even in wikipedia, the general definition is there but obscured. Despite nearly every pictorial example in wikipedia featuring exposed concrete (as well as reddit's r/brutalist), any material can be found in a brutalist design. It must merely be exposed and accepted for what it is. e.g. wood shown to be wood and allowed to warp, decay, or even grow, as opposed to being overlaid with drywall. Stones not just in a foundation or a garden, but in a living room. This honesty and connection to materials is in contrast to the "dominating" sense of "brutalism," of which cheap government buildings are often twisted up in.

Though the pictures on wikipedia are misleading, certain quotes from the page are worth reading. Specifically when brutalism is described as "an ethic, not an aesthetic".

And also: "Peter Smithson believed that the core of brutalism was a reverence for materials, expressed honestly, stating "Brutalism is not concerned with the material as such but rather the quality of material",[33] and "the seeing of materials for what they were: the woodness of the wood; the sandiness of sand."

Source: wikipedia and have lots of architect friends.

diydsp··on 'Underwater bicycle' propels swimmers forward at superhuman speed
There are some clues in their body language. they appear to be straining. And the pedal movement looks a little jerky, as if the load is changing dynamically in relation to the effective flywheel/inertia of the system. Spinning a higher speeds with less torque is supposedly less tiring. So they might want to gear this down a bit and include a larger flywheel/inertia. Very impressive device tho. Maybe a hybrid approach with a solar panel for charging on the beach...
diydsp··on YouTube Transcriptions with AI-Generated Summaries
sure, just brainstorming, but a good use case is xferring into google docs or other online collabs like google slides, confluence, etc.

I just did a cut and paste into google docs so I could split it apart and reference sections and my simple copy and paste including the headers "Transcription" every page, so if you could put those in a separate body/section of the doc that might help.

also, pdf is the king format, but perhaps otuputing to other doc formats would help people

one other thing I used to like in a transcription service from audio files I use is timestamps. there are many ways to do them and they could get cluttered. i usually turn them off for that other project, but since I'm doing this to critique a yt video, it would be handy to know at what times various things were said so I can go back and listen and also tell people "check out what he says at 1:35"

again, great job! i was surprised how fast and so far so accurate it is. I have not scrutinized it hard yet, but there are no obvious homophones (which plagues e.g. Zoom's AI summary/transcription).

diydsp··on YouTube Transcriptions with AI-Generated Summaries
cool, I just a did test of a 30 minute video and it was blindlingly fast!

If you're looking for feedback, it's all one mega paragraph, so if you can find a heuristic to split paras that might be nice.

I did this bc a conservative friend sent me a crazy video and I wanted to critique it, but wanted a transcription, so this was useful.

diydsp··on Watch cars evolve using genetic algorithm
If you like things like this, join us at https://old.reddit.com/r/WatchMachinesLearn/
diydsp··on H5N1 prevalence in milk suggest US bird flu outbreak in cows is widespread
Too bad animal protein increases calcium (and other mineral) excretion so your body can't use all that calcium [1].

That's also 1/3 of your saturated fat in a single glass.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6566930/

diydsp··on Length and thickness of bamboo internodes: a beautiful curve
yes definitely transitions from

y(t) = V * [ 1 - e^(-R * C * t) ]

to

y(t) = V * e^[-R * C * (t-T) ]

since the weight of the plant is cumulative, it's interesting to think about the integral of these functions as they hold up the plant.

diydsp··on Tesla recalls all cybertrucks for faulty accelerator pedals
wrt to the code: Although NASA found many aesthetic issues with the Toyota code, it did not find a smoking gun. [1] Presumably many other of their other products are running successfully with similar code. To put the comparison bt Toyota and Tesla in perspective: Toyota is an 85 year old company which ships about 10 million vehicles per year. Tesla has shipped almost 5 million vehicles total as of July 2023.[2]

[1] "In conducting their report, NASA engineers evaluated the electronic circuitry in Toyota vehicles and analyzed more than 280,000 lines of software code for any potential flaws that could initiate an unintended acceleration incident. "

"NASA engineers found no electronic flaws in Toyota vehicles capable of producing the large throttle openings required to create dangerous high-speed unintended acceleration incidents."

"The two mechanical safety defects identified by NHTSA more than a year ago – “sticking” accelerator pedals and a design flaw that enabled accelerator pedals to become trapped by floor mats – remain the only known causes for these kinds of unsafe unintended acceleration incidents."

https://www.transportation.gov/briefing-room/us-department-t...

[2] https://www.licarco.com/news/how-many-tesla-cars-have-been-s...

diydsp··on Tesla Cybertruck deliveries halted for 7 days
Personally I think it should be, according to traditional (pre-y2k) values.

But in a society of the spectacle, people find their meaning in relation to the larger show. Just listen to the satisfaction in the voice of the video above: He feels good because he was able to rectify the situation. He was also able to relate to a larger audience because of it. The Tesla's failure gave him meaning.

Now other people will want to be like him and buy a cybertruck and find and fix issues and demonstrate them to a global audience...

diydsp··on Silver coin boom in medieval England due to melted down Byzantine treasures
Try searching for the word "gold" in this document...

https://amauta.info/files/columbus%20journal2.pdf

diydsp··on Udio: Generate music in your favorite styles with a text prompt
No option to create an account w email(!)
diydsp··on Google Books Is Indexing AI-Generated Garbage
it's not technically wrong. it's just not commonly used, nor well-used by ChatGpt. Good times to use the phrase are when you are teaching someone... and when it's well, important, to note a detail or fine point. It's not something you'd say at the end of practically every communication...because there aren't always fine points or exceptions worth noting.

Also chatgpt has a habit of weakly editorializating almost anything as a way of covering its a*. For example, I asked it how much Jira costs, and after it told me it added:

"It's important to note that pricing and plans may change over time, so I reco.."

ok, sure pricing and plans may change. we kind of already guessed that. and it's not important to note it.

I asked how much Flat costs and it added: "It's important to note that Flat may offer discounts or promotions from time to time, "

Again, not important. And if it was important, I would just note it. I would actively utilize that in my decision-making process.

"However, it's important to note that the endianess is dependent on the system architecture"

Again, completely unnecessary. just say, "Endianess is dependent on system architecture."

"It's important to note that the value returned by time() is in UTC." ok, yeah that's kind of important. but just say, "the value is in UTC."

Like if I said to you, "It's important to note that you must press submit on a web page to return data to the server," you'd say something like, "yeah is that important though? that's just how it works?!"

Like I don't need to say, "It's important to turn the key in a car." It is "important" in the sense that it's also vital or CRITICAL, or utterly essential. It's just how it's done. How it works. It's not particularly important.

"Overall, the ovipositor is an important reproductive structure that enables female insects to lay their eggs "

is it important? is it more important than other reproductive structures? how much more? why? aren't they all important??!?

Generally, "it is important" is a convenient phrase for abdicating responsibility. It removes people or entities from the picture as well as objections. It conjures a world where question-asking isn't present, without exceptions, or context. It also hides that invisible authoritative relationship between two people. So if you want to be vaguely manipulative to people who don't think critically, you can obtain some basic compliance without overtly threatening them this way. The fact that it won't work on most people, but chatgpt batters us with it is just tiring.

Furthermore, as my friend pointed out, ChatGPT works by stroking your ego and fanning its own flames. It tries to make you feel clever for using it. Telling you that what it is telling you is important is a low-grade sleazy way of inflating itself in your eyes, and also hinting to you that this information is worthy of your attention; that perhaps you can pat yourself on the back for choosing chatgpt... because it's not just random information from a google search... ChatGpt is giving you important information. don't you know.

diydsp··on Washington's Lottery forced to pull site after creating AI porn of lotto user
> immoral that states can advertise their lotteries full-stop.

State lotteries are a compromise: They inhibit underground lotteries. The goal of the state lotteries is to divert people away from the danger of the underground while keeping itself from being overly attractive.

diydsp··on Google suspends romance author's account for writing sexually explicit content
Notion is okay. a bit heavy mem-wise(). i don't know how much it costs.

() Recently I had a tab taking 644MB in Chromium (with no pix). After a ctrl-A, ctrl-C, and ctrl-V into notepad++, it was 52kB. That's about 10,000x...

diydsp··on Instinctive Sleeping and Resting Postures (2000)
First, you might want to refresh your understanding of the scientific process. Its first step is "Observation/question." https://en.wikipedia.org/wiki/Scientific_method

Next, the acceptability of journal papers without conclusive experiments varies across fields. In some fields, such as observational sciences (e.g., astronomy, ecology, sociology), observational studies are common and valuable contributions to the literature. These studies often involve collecting and analyzing data from real-world observations, surveys, or existing datasets without the need for controlled experiments. In such cases, it is perfectly acceptable to publish papers based solely on observational data.

When you say, "is not enough," the question I respond with is "enough for what?" It's fully acceptable to publish a paper with observations in order to stimulate interest and encourage further research in the area. It's not necessary for a journal to require final results.

Finally, consider some of these famous and important papers which were published as observations without conclusive results. Should they have held back and waited until conclusive results were available?

1. Edwin Hubble's "A Relation between Distance and Radial Velocity among Extra-Galactic Nebulae"

2. Albert Einstein's "The Foundation of the General Theory of Relativity"

3. Charles Darwin's "On the Origin of Species"

diydsp··on Sampling: What Nyquist didn't say, and what to do about it (2018) [pdf]
That's a good way of looking at it. The "unnoticeable" part is where more can be teased out:

That is, to expect a specification for the desired S/N (signal-to-noise) ratio and bandwidth, and/or bit rate at which the downstream algorithm is expected to work. This doesn't have to be a perfect estimate/evaluation/measurement, but it helps to get the ballpark amount of computation power, delay, etc. needed to actually make the system work. All too often I see people react to a noisy signal, by "putting a filter on it," without knowing how much attenuation/gain/phase shift, etc. are actually needed to make the system work acceptably.

E.g. You don't want to spend too long designing the perfect filter... And you want to know if there's any hope at all cleaning up the signal to make use of it!

Good luck with your filtering projects!

diydsp··on Sampling: What Nyquist didn't say, and what to do about it (2018) [pdf]
Many brilliant points. Particularly about Bessel filters instead of Butterworth. And also about lowering Fc and increasing Fs, rather than increasing order. And also about considering time domain as well as frequency domain.

The dense interview question I use to assess this area of knowledge: "How do you choose the stopband attenuation of a filter?" You can assess a lot from the interviewee's response. Stopband attenuation, with respective to the input signal magnitude at the stopband frequency, or start of the stopband, is the most relevant term for determining the magnitude of noise in the sampled signal. And that is the upper bound on the performance of the downstream algorithm.

diydsp··on Buying a Home Near Nvidia's Headquarters Is Nearly Impossible Right Now
That reminds me, I once heard a talk by journalist at a hacker conference... I think it was HOPE a long time ago. He said that journalism is a good profession for people with a disposition for hacking. I wonder if that same trickiness hackers use to make/break great software is at play in headline-making...
diydsp··on What's something difficult programmers make look easy?
Constrained geometry for CAD tools like Fusion360
diydsp··on What's something difficult programmers make look easy?
Parsing
diydsp··on Ask HN: Should I try to manufacture toasters?
Absolutely do not use your own capital for this. Make a compelling presentation and shop it out to investors. Use a mixture of logic, financial figures, and storytelling. Do not start from scratch, but get the most experienced people for your team. Remember: manufacturing is the lowest part of the SMILE curve. That's why things are not made in the USA.
diydsp··on Ask HN: Should I try to manufacture toasters?
That is a sign of a well-capitalized, but not diverse milieu.
diydsp··on Why Would I Buy This Useless, Evil Thing?
It's another "asshole in the middle" device, trying to get in the middle/on-top-layer of all the other things people have put between people and their lives...
diydsp··on Use WAGO terminal blocks (2020) [video]
I'm trying to find some robust connectors for portable electronics and ran across this. it's a low-key sales pitch, but these do have many professional features beyond classic screw terminals. I'd be curious what people would recommend for a portable music instrument I'm building like a boom box. I'm considering classic locking Molex, but am I missing something else elegant and effective?
diydsp··on Apple II Christmas Demo (deater78, 2023) [video]
It's got some smooth and color graphics and while we don't get to hear the delightful 1-bit speaker of the Apple IIe, the Mockingboard is much gentler on the ears in this nicely synthesized multi-part song which appears to be custom-composed by mA2E just for this demo.

From the description:

2023 edition of my annual Christmas Demo tradition. Recorded on real Apple IIe with Mockingboard card.

by Desire, code by Deater, Music by mA2E

There's some vapor-lock / vblank detection/ non-typical mid-screen mode switches happening here.

for more info/disk image see: http://deater.net/weave/vmwprod/xmas23/

← PreviousPage 5 of 34Next →