HNHacker News
TopNewBestAskShowJobs

jhallenworld

4,964 karma · joined October 31, 2013

submissionscomments
jhallenworld··on FPGA Interchange format to enable interoperable FPGA tooling
What's funny about this is that it exists, but owned by Xilinx... In the early 90's NeoCAD created multi-vendor P&R tools. Xilinx bought them, their software became basis for Foundation and then ISE.

Lattice also uses the NeoCAD tools for their FPGAs (at the time, they were AT&T's ORCA FPGAs). Basically Lattice Diamond and ISE are almost the same tool..

jhallenworld··on U.S. Inflation Accelerates to 40-Year High
Yeah, it crashes up. Argentina is a good example of this for the their market in 1989-1990.

https://www.ceicdata.com/en/indicator/argentina/equity-marke...

(click max)

jhallenworld··on Writing a printer driver in JavaScript
It's amazing how old ZPL is. I wrote a Zebra-140 driver (in C..) in something like 1993.

https://github.com/jhallen/joes-sandbox/tree/master/doc/zebr...

It's a simple macro-based typesetting language that can be used to quickly make many different label images from a database. You uploaded the compiled labels into a handheld computer so that labels could be printed on a production line. One option for the computer was the Psion Organizer II.

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

jhallenworld··on BASIC-DOS: PC DOS Reimagined
Yeah, they should have done it this way. Even today a combined BASIC / OS shell would be useful. BASIC would be the shell language.

But how do pass arguments to commands that are in BASIC variables? Like:

    A$="MYFILE"

    TYPE A$

    DEL A$
Needs quoting work..
jhallenworld··on A home made PCB stepper motor
More pedantry: it's a PM (permanent magnet) stepper motor, whereas I think most common stepper motors are hybrid VR (variable reluctance) / PM type..
jhallenworld··on Royal Society cautions against censorship of scientific misinformation online
EPA famously did the same during 9/11. It would have been better if they instead trusted us and said something along the lines of "the dust is full of dangerous asbestos, but we need heroes this day".

https://www.theguardian.com/us-news/2016/sep/10/epa-head-wro...

Instead they prefer messaging to achieve an outcome instead of direct truth.

jhallenworld··on Royal Society cautions against censorship of scientific misinformation online
Yeah, it's not nice but what should be done after the "natural" vaccination rate had been reached by rational argument alone?
jhallenworld··on Royal Society cautions against censorship of scientific misinformation online
Well I agree that there are actual valid arguments about priority, by which I mean the math works out- the costs are significant either way. Excess deaths vs. broader economic impact or even questioning how much economic benefit from allaying fear by an otherwise dubious activity (cloth masks..).

But in the US, we have this extreme irrational vaccine skepticism where the math just does not work out. People believe the vaccine is much worse than its benefit. It's hard to argue with since prominent people are supporting this idea.

jhallenworld··on Royal Society cautions against censorship of scientific misinformation online
>Most research is flawed or useless,

Also the research could be downright fraudulent. A very interesting case is the Schön scandal, involving organic semiconductors.

https://en.wikipedia.org/wiki/Sch%C3%B6n_scandal

There is an engrossing set of videos about it:

https://www.youtube.com/watch?v=nfDoml-Db64

jhallenworld··on Royal Society cautions against censorship of scientific misinformation online
Well the trust has to be earned by a history of proven visibly good outcomes. Never forget that there is a long history of cases where the established scientifically accepted ideas were actually harmfully wrong, particularly in the medical arena. In the USA in particular, medical practice is far from a benign charity, so people are right to question. One example: I had a tonsillectomy when I was a kid. No actual evidence that this is good medicine..

On the other hand, I don't disagree that the level of misinformation is ridiculous. It's difficult to understand why someone would trust someone with a popular podcast so much more than licensed professionals. Maybe there shouldn't be censorship, but where are the medical malpractice claims against these people? I think it's all tied in with the general acceptance of the "these statements have not been evaluated by the FDA" supplement industry. As long as your supplement does not do too much direct harm, we allow it.

jhallenworld··on Myopia treatment 'smart glasses' from Japan to be sold in Asia
Just wait until you're older.. my dream is for presbyopia to be fixed. Presbyopia is essentially when your eyes can no longer auto-focus, it's incredibly annoying. I think some Israeli company was supposedly working on auto-focus glasses for this... good idea, since the market is basically everyone. But it looks like they stopped.

https://eye-see-mag.com/en/high-tech/autofocus-lenses-for-pr...

jhallenworld··on Myopia treatment 'smart glasses' from Japan to be sold in Asia
"Kubota Glass technology works to reduce the increase in axial length associated with myopia by projecting myopically-defocused virtual images generated using micro-LEDS on the peripheral visual field to actively stimulate the retina."

I don't understand why would this work. It implies that stimulating the retina affects the shape of the eye somehow..

jhallenworld··on Around one-in-three children globally suffer from lead poisoning
"The image of the lead-poisoned child as abnormal or neglected is not only wrong, but it was intentionally placed in the American psyche by the lead industry itself, which had a vested interest in shifting the blame from their products, said Rosner, co-author of the book "Lead Wars: The Politics of Science and the Fate of America's Children."

. . .

In some of the more odious of their internal communications on the topic, a top official at the trade group representing lead paint manufacturers in the 1950s described lead poisoning as a problem "of the slums" confined to "Negro and Puerto Rican" children with "relatively ineducable" parents who could not be trusted to protect them, Rosner's research revealed."

https://www.cleveland.com/healthfit/2015/10/5_common_lead_po...

jhallenworld··on Around one-in-three children globally suffer from lead poisoning
It's not so much from walls, but dust from joints around windows and doors.

But seriously: we vaporized 200,000 tons a year in gasoline. Where do you think it all went? Places with lots of cars: cities. Definitely do not eat food grown in a city garden- always use raised planters filled with country dirt.

https://archive.epa.gov/epa/aboutepa/epa-requires-phase-out-...

See figure 2 here:

https://www.edf.org/sites/default/files/the-hour-of-lead.pdf

jhallenworld··on Simulating the IBM 360/50 mainframe from its microcode
How did IBM convince Motorola to modify the 68000 and Intel to modify the 8087? Did IBMers do this work, or Intel and Motorola?

When I was at IBM, we were making x86-based appliances for business software. I thought it would be cool if they used a mainframe CPU instead of x86 for them. It would have been slower, but possibly more reliable. Definitely it could have had some marketing cachet.. On the other hand, we otherwise did not want to eat our own dog-food.

jhallenworld··on Open-Sourcing our Firmware
I've extracted the Chromium-EC encryption functions, they are convenient for signing / verifying firmware on other platforms. Chromium-ec is nice for example code like this:

https://github.com/jhallen/rsa-verify

On the other hand, if you are looking for some generic embedded system code all in C, here is our library (it's been cleaned up for ATSAM and STM32 targets, but we've used in on many other platforms):

https://github.com/nklabs/libnklabs

I think it's most unique feature is the embedded schema-based database- so you can save things like calibration and configuration information in local flash memory (think protocol buffers, but for tiny systems). Recently I've been adding device drivers for all common devices I can find on break-out boards from the Arduino and Raspberry-PI communities.

jhallenworld··on RTM-Z80: Retro Tiny Multitasking System for Z80 Based Computers
So this was Apollo 1 at 3.3v: I think it was less than 3 milliwatts at full power, but easily below 1 microwatt when sleeping. For our design, I kept it mostly asleep. I also used Apollo 2, not quite as low power, but faster, better UART and it had more RAM and flash. For the UART: they added a timer to give you an interrupt when no more bytes were received (otherwise there was no interrupt because the Rx FIFO was not full).

What I liked is that all peripherals were "low power"- all of them could work when the CPU was off and all could wake the CPU (well it woke on any pending interrupt). So it means it's more likely that the CPU is asleep. With STM32L, only peripherals designated low power would work while the CPU was off.

jhallenworld··on RTM-Z80: Retro Tiny Multitasking System for Z80 Based Computers
How much: it was really low, and easier to get it in practice compared with ST's STM32L chips. I wonder if ST's new U series is using some kind of sub-threshold logic, but I assume Ambiq has the patents..
jhallenworld··on RTM-Z80: Retro Tiny Multitasking System for Z80 Based Computers
Ambiq Apollo: There is a benchmark for these low power chips:

https://www.eembc.org/ulpmark/ulp-cp/scores.php

(click on the headers to sort..)

I think Apollo is the most general purpose of these chips, even though it no longer gets the top score. I assume the RSL10 is using its DSP, and the R7F0E01182CFP is Cortex-M0+ (no floating).

I used it for a project: the peripherals are really nice. For example, the I2C slave uses a shared memory design instead of waking up the CPU to receive anything.

jhallenworld··on RTM-Z80: Retro Tiny Multitasking System for Z80 Based Computers
It sounds like the same situation as large model on 8088. I'm wondering if any 8-bit systems did anything like this, but I don't think so.
jhallenworld··on RTM-Z80: Retro Tiny Multitasking System for Z80 Based Computers
Another disadvantage is lack of any king of relocation hardware. If you don't have it, it means you are tied to a particular memory layout without run-time re-linking. 6809 has it through position independence. 8088 has it with segment registers (at least for .COM files and small memory model .EXE files. Large model files are re-linked during loading).

CP/M's solution to this is to start the code at near-zero (0x100). This way forces the OS, drivers and hardware out of the way and permits binaries from one system to at least possibly run on another.

jhallenworld··on BCHS: OpenBSD, C, httpd and SQLite web stack
Try cscope.
jhallenworld··on Spinthariscopes
Image intensifier is better for real time video, but is noisy compared with still images taken with long exposure cooled CMOS sensors.

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

https://www.youtube.com/watch?v=Di-rjUrWvnk

jhallenworld··on Spinthariscopes
Image intensifiers are really awesome. Microchannel plate CRTs use the same technology and allowed capturing single high speed events on film before digital oscilloscopes.

They are difficult to beat with modern technology (CMOS sensor) because they are much lower power than equivalent digital system, and have no latency. Think night vision goggles using 9V alkaline battery..

jhallenworld··on How bad is my gas stove?
>The electrical work cost $1800

For less than 8 hours of work I'm sure.. I'm in the wrong profession.

It could be worse, try doing this in an old building in NYC.

jhallenworld··on Nuclear startup Oklo gets thumbs-down from regulators
I went looking for operating closed cycle gas turbine power plants- this seems like a research topic all on its own, no matter the heat source.

It's definitely true that simple cycle gas turbine plants are much cheaper than equivalent size steam plants. This right here sets the bar for any kind of thermal power plant.

See table ES3 for cost comparisons..

https://esmap.org/sites/default/files/esmap-files/TR122-09_G...

jhallenworld··on Russia says Ukraine talks hit 'dead end', Poland warns of risk of war
I'm wondering if this all about the NordStream 2 pipeline, though I'm not sure how threatening Ukraine helps Russia's case... maybe just to show that you don't want pipelines through an unstable region.

Also, who benefits when natural gas prices go higher?

jhallenworld··on Great AA Alkaline Battery Test (2016)
But I think their NIMH batteries are good. Project Farm reviewed them, they were near the top. Of course I'm looking for good ones that are cheaper..
jhallenworld··on Inflation rises to 7% in December (led by energy)
Newer vehicles have more DRM and more integrated systems, so they cost more to service and are therefore worth less than older vehicles. So these numbers make sense..
jhallenworld··on Goldman Sachs invests $250M in compressed air energy storage
Also you could do it underwater if you live near a coast. Basically an upside down cup with a pipe in it, sunk as deep as possible.
← PreviousPage 20 of 34Next →