HNHacker News
TopNewBestAskShowJobs

gorkish

3,055 karma · joined September 21, 2017

submissionscomments
gorkish··on Building Ultra Long Range Toslink
It works but it's not going to be very robust without a carrier.
gorkish··on Show HN: Doom (1993) in a PDF
> My hatred of pdf has no end. It killed postscript for dynamic pages and djvu for static pages.

Interesting to see someone evoke DjVu.

With the exception of IW44 wavelet compression, basically everything the DjVu file format supports has a PDF equivalent. I built a tool to convert DjVu to PDF that preserves the image layers and file structure with nearly equivalent compression.

My tool did expose some edge cases in the PDF standard which was frustrating. For instance, PDF supports applying a bitonal mask to an image, but it does not specify how to apply it if the two images have different resolution (DPI). It took many years to get Apple to bring their implementation into consistency.

gorkish··on Gate-level simulation of ASIC in browser
Verilog describes the logic. This is extremely simplified, but you can imagine that verilog and other HDLs are "compiled" into a big schematic of logic gates and a big list of signal timing constraints between them. From that schematic and constraint list, a solver then works to do place and route.

Both of these intermediate stages between verilog and the final working hardware are where all of the secret sauce in semiconductor design actually lives. Both of these steps will be affected by the process target. Are you building for an FPGA or CPLD? Which one? If for an ASIC what is the process node? What logic elements are available in your node? Just like when you order a PCB, the process design rules generally come with prescribed information about the manufacturing constraints -- what works and what doesn't. And ultimately you cant rely on hand layout to throw down millions/billions of circuit elements anyway so you have to build solvers and all kinds of other mind bogglingly sophisticated automation to the party.

The diminishing returns of manual optimization here should be evident; if you want to do that work, become a process design engineer.

We do need more open information in this space! Tiny Tapeout is such a great project!

gorkish··on A Puzzle about a Calculator
For a 4 by 4 hexadecimal keypad with 0x0..0xF keys in any sequential row or column arrangement the same will be true that all possible numbers will be a multiple of 0x11.

This holds true for any size square keypad; the common multiple will be 1+x^2 and for square-number bases, the value of the common factor will always be “11” in conventional symbology. A 2x2 base 4 and even a 1x1 binary keypad respects the rule although it’s sort of meaningless in the latter context.

gorkish··on Building Ultra Long Range Toslink
The problem with DIY perks solution is that the manchester clock+data encoding is an amplitude modulated thing and isnt really very robust to using in free space. LED bulbs, sunlight, or all manner of other stuff can and will fuss with it. This is probably why he ended up having to go with lasers instead of just a big IR blaster against the ceiling. If he modulated the OOK signal onto some kind of carrier the entire thing would be a lot more reliable and as a bonus could probably ditch the lasers. This is more or less how the infrared wireless speakers and headphones of yore (80's and 90's) did the job.
gorkish··on Voxon: Real time interactive volumetric holograms
A hogel volume can be reduced into a 1bpp 2d plane representing the interference problem. Literally, a hologram. Probably the computational effort to do this in realtime is within reach of current GPUs.
gorkish··on Voxon: Real time interactive volumetric holograms
Sorry, but I will continue to disagree. For a $6500 device the quality, resolution, and spatial continuity is utterly unacceptable. As a DIY project or a product that is price aligned with other LED POV products with similar BoM costs I would be more willing to agree with you.
gorkish··on Voxon: Real time interactive volumetric holograms
If I implied this was a singular product, I apologize. There are quite literally hundreds. Searching for "Hologram Fan" will pull up the type I am specifically referring to as being a current fad, but the number of other LED POV display stuff available on aliexpress is immense.
gorkish··on Legal fights over kei trucks in the U.S.
CanAm's tadpole trikes have a tilt/camber mechanism on the front wheels and can lean; it's not at all the same thing as a 2 wheeler but it's a light year better than the delta configuration.
gorkish··on A new video captures a 1968 demo of IBM’s Executive Terminal
In the early days at my company, we had an arrangement where the CEO had 3 monitors on his desk. Two faced him, and one faced the other direction and mirrored one of his screens. There was a second keyboard and mouse attached so that someone could sit on the other side of the desk and collaborate. He could keep private data like email on one monitor and other applications on the shared screens. Somewhat comically these were enormous 21" CRT's so by "desk" I actually mean "dining table"

I really enjoyed working this way and kind of wish the same experience could be replicated between multiple machines and with more than 2 people. I would like it if anyone could drag an application onto a shared screen where multiple people could control/interact with it while still having the option to take a window from the shared display back to a private display, ie passsing an application from one system to another.

gorkish··on Legal fights over kei trucks in the U.S.
First, the delta configuration is inherently unstable. If the trike gets any kind of side force at speed it becomes very difficult and unnatural to control and recover. In almost all cases when a delta trike loses control at speed it will flip and roll. You may be aware that 3 wheel ATVs have been illegal to sell since the 80's for this same reason.

Also, delta trikes (at least the ones on the market currently) cant lean, so the rider has no control over center of gravity, which is generally pretty disastrous in any kind of emergency control scenario on a motorcycle.

What is particularly egregious is that they are specifically marketed and sold to older people who no longer have the strength or dexterity to control a regular motorcycle. They also usually have a lifetime of muscle memory from 2 wheel bikes that does not apply and often actively hurts their ability to control a trike.

The only way to buy insurance on them is through a specific carrier that is essentially underwritten by Harley Davidson. Death benefits are capped at like $30k.

Tadpole trikes like Can Am makes are fantastically safer, especially since the forward wheels camber and the trike can lean; however the comment about old people who have no business continuing to ride a motorcycle still stands as this is still the market segment they target.

gorkish··on Voxon: Real time interactive volumetric holograms
Yes I think I actually spotted this in their video demo where you will notice one of the displays looks way way way better than the rest of them. That would be a projector one.

It is considerably easier to achieve sync and high framerates with LED i would expect. There are also some dedicated chips coming to the market to drive stuff like those POV video signs that are now available on aliexpress for a song.

gorkish··on Legal fights over kei trucks in the U.S.
Anyone who thinks that kei trucks shouldn't be on roads and highways and motorcycles should ought to have their head examined.

For the record I support both, with the exception of 3 wheel delta configuration motorcycles such as Harley's 3 wheeler. Riding one is a death wish; selling one should be a crime.

gorkish··on Voxon: Real time interactive volumetric holograms
Hot take, but once the novelty wears off, POV LED displays like this just look like absolute garbage and are uselessly low resolution.

Before LEDs this type of volumetric display originally rotated a helical or tilted projection surface and used a projector which allowed the entire volume to be scanned once or twice during each rotation. This had the advantage of looking more continuous, being higher resolution, and being less expensive.

I personally thought laser based picoprojectors (of the "focus free" type) were going to explode the market for small and cheap volumetric displays, but for some reason the tech never made it out of a few weird niche products.

Ultimately I concluded that volumetric displays simply don't have a great practical application *except for* the novelty. Is anyone using such a display professionally for an actual practical purpose?

gorkish··on Show HN: AirPrint Bridge: Enable AirPrint for Non-AirPrint Printers on macOS
I mean they did… a number of times. Current CUPS and MacOS prefer to use IPP when supported.

However as a de facto standard you can dump postscript or pcl to port 9100 and most good printers will happily oblige you. The problem AirPrint endeavored to solve was already solved when it came along, IMO. Its current problems are solely related to it unnecessarily being a walled garden.

However in the endless quest to make consumer goods cheaper most inexpensive printers that people purchase now interpret everything on the host and the printer interface is low level machine control, as in “move motor” type commands.

Lantronix and others have produced small “print server” gateway devices in the past that run cups and support AirPrint and talk directly to a downstream “dumb” printer.

gorkish··on Beelink mini-PC docking station supports desktop GPU
It's a proprietary edge connector that connects the dock and the mini PC, but it carries standard PCIe, so it's at least twice as fast as Thunderbolt.

To me all of these Mini PCs are essentially uselessly uninteresting without fast network connectivity. When is an actual vendor that is not Quotom or whatever ship one with 10GBaseT or SFP+/SFP28 ports already?

gorkish··on Daisy, an AI granny wasting scammers' time
I always ask the robocalls to say something specific.

It finally worked the other day! A robot repeated "chrysanthemum" back to me when asked. Sadly it seemed to be limited to this one single trick; as I continued my attempts to exploit it, it abruptly apologized and ended the call.

Cute, but one day I am going to get lucky and a scammer is going to get absolutely wrecked.

gorkish··on Daisy, an AI granny wasting scammers' time
Boy howdy, wait until you hear how rural phone companies make money.

There is one simple and easy solution to this mess, but good luck getting traction on it.

gorkish··on Daisy, an AI granny wasting scammers' time
If every third call you make goes to Daisy you are using shit data and are likely part of the problem. Are you absolutely sure they are fucking up the spam detection, or are you just doing all of your cold calling with blinders on?
gorkish··on Sin taxes are suffering from a shortage of sinners
I have driven my vehicles 70,442 actual miles since Jan 1, 2018. (Thanks to TeslaFi I have actual data -- I didn't drive all of these miles in TX, and while I have that data, I'm not going to be pedantic about it.)

The revenue to the state is $0.15/gal towards the highway fund and $0.05/gal towards education. Since the EV surcharge does not fund education, I don't feel it is appropriate to include this portion in the comparison.

So with my actual driving data in mind, here's what I would have paid if my 3 vehicles were 30mpg ICE cars: 70,442 mi / 7 years / 30mpg = 335 gal * $0.15 = $50/year to the Texas highway fund.

Vs my actual paid: $200 (2023) * 3 cars + $200 (2024) * 3 cars = $1200

I therefore concede that my initial estimate was a bit high. I paid 24x more tax than I would have if I didn't own EV's, but this was only 20x more than the average driver due to my driving habits.

Had I not purchased and registered my vehicles before the surcharge took effect, I would have been worse off due to the $500 surcharge on initial registration:

$500 (first year registration) * 3 + $200 * 3 = $2100

gorkish··on Sin taxes are suffering from a shortage of sinners
Yeah sorry about that I was ballparking it pretty good; your numbers are truer.

But if we are going to take it into this territory, we do need to break down those taxes a little bit to make a proper comparison. On the state tax side, 75% of the fee goes to the highway fund, so @400gal the actual road tax portion is $60. The remainder goes to education per the Texas constitution, but the EV surcharge does not fund education, so I do not feel it is fair to include this portion in the comparison.

The federal fuel tax applies to fuel used for electricity generation as well, and is passed to the consumer as a surcharge. I'd argue that EVs are already paying the same federal fuel tax when they are getting their electricity from taxable fuel sources. Even so, it's not the state's job to collect it, and Texas also doesn't pay any of the EV surcharges to the federal government. Because of this, I'd argue that the federal fuel tax is completely out of scope. If the federal government decides this is unbalanced and needs to be corrected, they can change their own tax code.

Finally, don't forget that the first year surcharge is $500. I amortized the total registration fees over 5 years as 500+200x4 = $260/yr.

So at 16k miles @30mpg = 400gal * 0.15/gal = $60 in state road taxes for an ICE car vs $260 for an EV, or stated another way the EV pays the equivalent road tax of driving an ICE car 56,000 miles per year.

gorkish··on Sin taxes are suffering from a shortage of sinners
You are woefully incorrect. in most places EV's road taxes are massively disproportionate to the amount of road tax an ICE vehicle would pay.

Here in Texas, I would ordinarily pay about $30/year in road taxes on gasoline driving a 30mpg vehicle 12,000/mi anually.

But I have an EV instead so instead I pay:

$500 in surcharge for the first year of registration and $200 surcharge for every year thereafter.

Oh whoops I misspoke; I actually have 3 EVs so despite being one person, I pay approximately 25x more road tax than the average driver here.

I'm not necessarily complaining about the /amount/ of tax but the simple fact that it is both disproportionately applied and far too low overall. The state should charge based on actual mileage, but since they just eliminated state inspections, good luck with that. Second best alternative is to make it a flat surcharge for all.

gorkish··on The Circuit Graver, an interesting new way to fab PCBs at home
IMO fully mechanically milled PCBs are kind of stupid; you are never going to actually manufacture them at scale this way, so what is the point in jumping through the DFM effort to prototype with such a constrained process? There used to be a cost and speed advantage vs using a service provider, but pcbway and jlcpcb have absolutely changed the game on that front. There still are advantage for in-house manufacturing capability, but I don't think pure milling is a good approach - whatever small scale process you use for this needs to produce an end product that is highly similar to the mass manufactured process and as such will require mechanical (milling/drilling), optical (etch/ablate), and printing (mask/silkscreen) processes. I think there are some small machines getting quite close to automating the one-off production of 'real' pcbs, though.
gorkish··on How to configure an Ethernet connection between iPad and RaspberryPi with USB-C
This article doesn't really focus on the details of the power, but I'll mention that the power requirements of Raspberry Pi 5 are a bit weird and this can have some implications when powering one from a limited current source.

Ideally the Pi5 wants 5V@5A, which is out of the capabilities of almost every USB PD supply and certainly not something that any iPad or any other computer can supply directly.

By default the firmware is configured for a 15W power budget so normally will work fine with a 5V@3A.

Only Thunderbolt iPads can supply this 15W; older USB-C ipads are limited to 7.5W and should not be used in this application without a power splitter. Pi zero 2W or similar would be a better fit if anyone wants to do this on older iPads or any other tablet that has limites current source capability.

Also this entire process probably also applies on lightning iOS devices using the camera connection kit and a power splitter as lightning can only source a couple of watts.

gorkish··on Australia/Lord_Howe is the weirdest timezone
I see you too have wrestled with GreatData's time zone data being hot garbage. Been that way for decades.
gorkish··on High-resolution postmortem human brain MRI at 7 tesla
Every country is different but I'd be surprised if they don't still have it.

The irony is they will probably still have to burn it on a CD and mail it to you. Good old DICOM!

gorkish··on High-resolution postmortem human brain MRI at 7 tesla
> admit I don't fully understand what the advantage of this project is against other work

Replying to myself here; seems that the combination of being ex vivo and 7T means that the resolution increase over a typical in vivo patient scan is really really tremendous since your dead brain is happy to remain completely still through multi-hour sequences. The resolution you can get is primarily dependent on field strength but like many things in signal processing, you can trade integration time for higher resolution to a point. So this dataset is at about 100micron while 7T in vivo can only get down to maybe 300-1000micron (best case depending on patient movement)

gorkish··on High-resolution postmortem human brain MRI at 7 tesla
For anyone whose brain is still in their head and/or doesn't have 7T data, there is also FreeSurfer[1] to play with.

I only really know about the physics of MRI, so I admit I don't fully understand what the advantage of this project is against other work; I assume it would have a lot to do with the fact that the data is so much higher resolution and can identify finer structure within the brain.

[1] https://surfer.nmr.mgh.harvard.edu/

gorkish··on Gravity is not a force
If you are accelerating, the accelerometers will not "show 0". I have no idea where you are getting this notion from; it's completely wrong.
gorkish··on Gravity is not a force
> An accelerometer glued to the mountain will show a 0.

Incorrect. An accelerometer glued to the mountain will show -9.8m/s^2 because it's being accelerated by said mountain.

← PreviousPage 3 of 29Next →