Skip Navigation
Jump
Uh-oh.
  • Ok but something that's really bothered me about A Quiet Place (besides the writing being god awful).

    When she's giving birth in the bathtub, the lights start flickering. They provide no explanation for why the lights are flickering. It's legit just a scary movie trope in-action.

    7
  • Jump
    Has "Self-Driving" devolved?
  • Heh, I guess I should have phrased that differently.

    But yeah, it's actually really courteous. Sometimes a little too much. It'll move over to the left side of the lane if it sees a cyclist or pedestrian on the shoulder to the right. Unfortunately, it doesn't understand when there's a 3 ft concrete barrier between me and the pedestrian and will do it anyway. Makes some narrow bridge crossings a little scarier than necessary.

    4
  • Jump
    Has "Self-Driving" devolved?
  • The first Model X has Autopilot 1 which was a system designed by Mobileye. Tesla's relationship with Mobileye fell apart and they replaced it with an Nvidia based system in 2017(?). It was really really bad at the start as they were essentially starting from scratch. This system also used 8 cameras instead of the original 1.

    Then Tesla released AP hardware 3 which was a custom-built silicon chip designed specifically for self-driving which also enabled proper navigation of surface streets in addition to the just highway lanekeeping offered in AP1. This broadened scope of actually dealing with turns and traffic from multiple angles is probably where the reputation of it being dangerous has come from.

    My HW3 enabled Model 3 does make mistakes, though it's rarely anything like hitting a pedestrian or running off the road. Most of my issues are with navigational errors. If the GPS gets messed up in the tunnel, it'll suddenly decide to take an exit that it isn't supposed to, or it'll get in the left lane to pass someone 1/4 mile from a right-exit.

    7
  • Jump
    $250 Analogue 3D will play all your N64 cartridges in 4K early next year
  • Yes, but you still need to install the cores developed by the community in order to play ROMs.

    The necessary core for ROMs was released barely a day after OpenFPGA support was, but it wasn’t released by Analogue.

    1
  • Jump
    $250 Analogue 3D will play all your N64 cartridges in 4K early next year
  • The console doesn't officially support ROMs. It must run games off the original hardware carts.

    However, there's a fairly simple hack to get ROMs to play on the SD card slot of the Analogue Pocket that many suspect was unofficially developed by Analogue themselves.

    1
  • Jump
    Analogue 3D: FPGA-Based N64 Available For Pre-Order On October 21
  • Emulators can’t always play every game. I know Pokémon Snap has always struggled to run.

    This is identical to real hardware and upscales everything to 4K. Not to mention native support for Bluetooth controllers and other creature comforts.

    10
  • Jump
    Why are people impressed with SpaceX?
  • There was an extensive amount of refurbishment required to re-use the SRBs. Not to mention they had to be physically recovered, and salt water certainly made the process more complicated.

    The shuttle itself needed each of its heat shield tiles replaced, which due to the shape of the shuttle were all unique.

    The fuel tank was not reused.

    The shuttle was meant to be a leap forward in rocket reusability, but it didn’t really pan out that way. There’s good reason the program was scrapped and not replaced with another space plane.

    The Starship booster has the potential to launch multiple times per day. The only refurbishment period is how long it takes to refuel it.

    15
  • Back in my day, you could usually sip a few mA from a USB2 port without any trouble.

    When I try that now, Windows pops up with a “device not recognized” error. I know you can draw up to 150mA before enumeration, but it looks like after some time, Windows will complain that you haven’t enumerated yet.

    Is there an easy way to keep from getting this error without having to actually make the device smart?

    I’m hoping for something dumb along the lines of USB-PD but facing the other direction. For the record, it has to work on a USB-A port, so USB-C hacks won’t work.

    11
    Jump
    Is it fairly cheap to host your own personal, single-user Lemmy instance?
  • http://www.wolframalpha.com/input/?i=200w*1 year *%240.14%2FkWh

    $245/year assuming constant 200W load which is pretty reasonable for a small web server.

    The trick is to have the server do other things like print, Plex, Piwigo, Samba, Shinobi, Frigate, Matrix, etc

    16
  • Jump
    Super hero movies should have more scenes of them accidentally maiming people just because of the sheer amount of power they weild.
  • It always bugged me how in Man of Steel, Superman has to deal with the moral quandary of breaking the bad guy’s neck at the cost of vaporizing a family.

    Like they spent the previous 20 minutes punching each other through buildings. No way that was the first family they killed.

    45
  • Jump
    When can we expect 500TB drives to be available?
  • Moore’s law factored in cost, not just what was physically possible.

    The complexity for minimum component costs has increased at a rate of roughly a factor of two per year. Certainly over the short term this rate can be expected to continue, if not to increase. Over the longer term, the rate of increase is a bit more uncertain, although there is no reason to believe it will not remain nearly constant for at least 10 years.

    6
  • Like why do I feel like I’m supposed to be able to name the seven boroughs? I can’t tell you anything about L.A., Chicago, Boston, etc.

    Edit: to clarify: I mean that everyone in America are expected to know NYC. Not just New Yorkers. Obviously everyone should know the layout of where they live.

    35

    I'm working on a mod kit for a popular item, but my target audience isn't likely to have a soldering iron. The majority of the project connects to an exposed ribbon connector, but I need to short two terminals to force a power supply on.

    Any ideas on a method I could provide for people who can't solder? Maybe a strip of copper tape?

    27

    I dumped the ROM out of a piece of retro-tech and have been working through the code in Ghidra. Unfortunately, I can’t exactly decompile it because I don’t think it was originally written in a higher level language.

    For example, the stack is rarely used and most functions either deal entirely in global variables, or binary values are passed back using the carry or other low-level bits. Trying to turn it into C would just make spaghetti code with a different sauce.

    So my current plan is to just comment every subroutine as best I can, but that still leaves a few massive lookup tables that should be dropped into a spreadsheet of some sort to add context. Not to mention schematics.

    My question is what’s the best way to present all of this? I’d like to open-source the result, so a simple PDF is not ideal. I guess I should make a GitHub project? Are there any good examples or templates I can draw on?

    8

    Looking to ROM dump just a handful of games, so I’m trying not to spend hundreds on a Sanni or Retrode. I saw this on AliExpress for $15.

    I’ve personally had good luck with Alibaba and Aliexpress, but I recognize that this could just straight not work. There’s no documentation, but it claims the game data will show up like files on a USB flash drive.

    Anybody know where this design came from?

    44

    Edit: turns out these are all bootleg and I’m a moron. Only two Zelda games were officially released for GBA.

    Just kicked off a return.

    39
    www.theatlantic.com What Adults Lost When Kids Stopped Playing in the Street

    In many ways, a world built for cars has made life so much harder for grown-ups.

    29

    I’m now at a point where I can detect 152 nodes in my city. 25 are listed as “online.”

    Yet the only contact I’ve gotten is the occasional “hello world” and once or twice a response to my own “hello world.”

    It’s possible that nobody has anything to say, but I also suspect the network isn’t robust enough to maintain contact and facilitate a real conversation between random strangers.

    Has anybody else here managed to actual chat with someone they don’t know?

    4

    Rak wireless module with battery/solar.

    My question is…now what? I’m in Seattle, I can pick up 121 nodes, but there no traffic.

    Is everybody using private channels? Or is nobody talking? I don’t see many messages and got one reply to a general CQ I sent out, but no response to the follow up.

    I guess I was kind of hoping for what I get over ham radio, occasional chats, evening nets, etc.

    Am I running into a technical limitation? Or is that the gist of Meshtastic?

    As a follow-up, can I easily see if my router is handling other people’s traffic? I’d like to know if I’m helping.

    5

    …the correct answer on the crossword is wrong. “Earthrise” is not a natural phenomenon. The Earth doesn’t rise in the sky of the Moon. The Moon is tidally locked. It only appears to rise from orbit where it was observed by Apollo 8 in 1968.

    And pulsars were first discovered in 1968 (or at least that’s when they were named).

    So, it recognized that it was a crossword question, but it didn’t give the crossword answer. The answer it did give us technically more correct.

    0
    1

    I originally told the story over on the other site, but I thought I’d share it here. With a bonus!

    I was working on a hardware accessory for the OG iPad. The accessory connected to the iPad over USB and provided MIDI in/out and audio in/out appropriate for a musician trying to lay down some tracks in Garage Band.

    It was a winner of a product because at its core, it was based on a USB product we had already been making for PCs for almost a decade. All we needed was a little microcontroller to put the iPad into USB host mode (this was in the 30-pin connector days), and then allow it to connect to what was basically a finished product.

    This product was so old in fact that nobody knew how to compile the source code. When it came time to get it working, someone had to edit the binaries to change the USB descriptors to reflect the new product name and that it drew <10mA from the iPad's USB port (the original device was port-powered, but the iPad would get angry if you requested more than 10mA even if you were self-powered). This was especially silly because the original product had a 4-character name, but the new product had a 7-character name. We couldn't make room for the extra bytes, so we had to truncate the name to fit it into the binary without breaking anything.

    Anyway, product ships and we notice a problem. Every once in a while, a MIDI message is missed. For those of you not familiar, MIDI is used to transmit musical notes that can be later turned into audio by whatever processor/voice you want. A typical message contains the note (A, B, F-sharp, etc), a velocity (how hard you hit the key), and whether it's a key on or key off. So pressing and releasing a piano key generate two separate messages.

    Missing the occasional note message wouldn't typically be a big deal except for instrument voices with infinite sustain like a pipe organ. If you had the pipe organ voice selected when using our device, it's possible that it would receive a key on, but not a key off. This would result in the iPad assuming that you were holding the key down indefinitely.

    There isn't an official spec for what to do if you receive another key-on of the same note without a key-off in between, but Apple handled this in the worst way possible. The iPad would only consider the key released if the number of key-ons and key-offs matched. So the only way to release this pipe organ key was to hope for it to skip a subsequent key-on message for the same key and then finally receive the key-off. The odds of this happening are approximately 0%, so most users had to resort to force quitting the app.

    Rumors flooded the customer message boards about what could cause this behavior, maybe it was the new iOS update? Maybe you had to close all your other apps? There was a ton of hairbrained theories floating around, but nobody had any definitive explanation.

    Well I was new to the company and fresh out of college, so I was tasked with figuring this one out.

    First step was finding a way to generate the bug. I wrote a python script that would hammer scales into our product and just listened for a key to get stuck. I can still recall the cacophony of what amounted to an elephant on cocaine slamming on a keyboard for hours on end.

    Eventually, I could reproduce the bug about every 10 minutes. One thing I noticed is that it only happened if multiple keys were pressed simultaneously. Pressing one key at a time would never produce the issue.

    Using a fancy cable that is only available to Apple hardware developers, I was able to interrogate the USB traffic going between our product and the iPad. After a loooot of hunting (the USB debugger could only sample a small portion, so I had to hit the trigger right when I heard the stuck note), I was able to show that the offending note-off event was never making it to the iPad. So Apple was not to blame; our firmware was randomly not passing MIDI messages along.

    Next step was getting the source to compile. I don't remember a lot of the details, but it depended on "hex3bin" which I assume was some neckbeard's version of hex2bin that was "better" for some reasons. I also ended up needing to find a Perl script that was buried deep in some university website. I assume that these tools were widely available when the firmware was written 7 years prior, but they took some digging. I still don't know anything about Perl, but I got it to run.

    With firmware compiling, I was able to insert instructions to blink certain LEDs (the device had a few debug LEDs inside that weren't visible to the user) at certain points in the firmware. There was no live debugger available for the simple 8-bit processor on this thing, so that's all I had.

    What it came down to was a timing issue. The processor needed to handle audio traffic as well as MIDI traffic. It would pause whatever it was doing while handling the audio packets. The MIDI traffic was buffered, so if a key-on or key-off came in while the audio was being handled, it would be addressed immediately after the audio was done.

    But it was only single buffered. So if a second MIDI message came in while audio was being handled, the second note would overwrite the first, and that first note would be forever lost. There is a limit to how fast MIDI notes can come in over USB, and it was just barely faster than it took to process the audio. So if the first note came in just after the processor cut to handling audio, the next note could potentially come in just before the processor cut back.

    Now for the solution. Knowing very little about USB audio processing, but having cut my teeth in college on 8-bit 8051 processors, I knew what kind of functions tended to be slow. I did a Ctrl+F for "%" and found a 16-bit modulo right in the audio processing code.

    This 16-bit modulo was just a final check that the correct number of bytes or bits were being sent (expecting remainder zero), so the denominator was going to be the same every time. The way it was written, the compiler assumed that the denominator could be different every time, so in the background it included an entire function for handling 16-bit modulos on an 8-bit processor.

    I googled "optimize modulo," and quickly learned that given a fixed denominator, any 16-bit modulo can be rewritten as three 8-bit modulos.

    I tried implementing this single-line change, and the audio processor quickly dropped from 90us per packet to like 20us per packet. This 100% fixed the bug.

    Unfortunately, there was no way to field-upgrade the firmware, so that was still a headache for customer service.

    As to why this bug never showed up in the preceding 7 years that the USB version of the product was being sold, it was likely because most users only used the device as an audio recorder or MIDI recorder. With only MIDI enabled, no audio is processed, and the bug wouldn't happen. The iPad however enabled every feature all the time. So the bug was always there. It's just that nobody noticed it. Edit: also, many MIDI apps don't do what Apple does and require matching key on/key off events. So if a key gets stuck, pressing it again will unstick it.

    So three months of listening to Satan banging his fists on a pipe organ lead to a single line change to fix a seven year old bug.

    TL;DR: 16-bit modulo on an 8-bit processor is slow and caused packets to get dropped.

    The bonus is at 4:40 in this video https://youtu.be/DBfojDxpZLY?si=oCUlFY0YrruiUeQq

    27

    So my wife cracked the screen of her Playdate console. I got a replacement memory LCD (Sharp LS027B7DH01A), but the LCD is mounted with optically clear adhesive directly to a piece of glass which is adhered around the edges to the console’s faceplate.

    The glass measures 65.15x41.64mm by 0.65mm thick. Definitely not a standard size. I can’t find anywhere to buy glass so thin and so large.

    My first thought was to cut a phone screen protector down to size with a glass cutter. My first attempt failed because the screen protector I bought was actually coated in plastic on both sides. Even if I got a straight cut, I couldn’t find a way to slice through the plastic layers cleanly.

    Any ideas on where to find cuttable glass sheets this thin? I could try more screen protectors, but there’s no way to know if they’ll work before buying them.

    6

    Let’s call it hybrid soldered memory

    9

    I’d like to build a ducting system to actively push air from one room to another. Is that a thing?

    So my home office is in our basement while my wife’s is in a finished attic space. We have a mini split system, but it has to be all heat or all cooling, and many days it’s cold in my office, but hot in my wife’s office.

    Thanks to a defunct chimney, I have a pretty decent path from the attic to the basement that could easily accommodate some kind of ducting.

    I’d like to make a system that can push air from my office to hers or vice versa as needed. I think this would really help the house in general as cold air tends to pool in the basement.

    I’ve seen plenty of ducting booster fans, but I’d like something with a speed (or at least direction) control accessible from the outside.

    Does something like this exist? It would need to force air through maybe 30-40’ of ducting.

    20

    Per my previous post, I’m working on updating my server that’s running a J3455 Celeron with 16gigs of ram.

    Goals:

    • Support at least six hard drives (currently have six drives in software RAID 6). Can move 7th main drive to nvme.
    • Be faster at transcoding video. This is primarily so I can use PhotoPrism for video clips. Real-time transcoding 4K 80mbps video down to something streamabke would be nice. Despite getting QuickSync to work on the Celeron, I can’t pull more than 20fps unless I drop the output to like 640x480. Current build has no PCIe x16 slot.
    • Energy efficiency. Trying to avoid a dedicated video card.
    • Support more RAM. Currently maxed at 16gb.
    • Price: around $500
    • Server-grade hardware would be nice, but I want newer versions of quicksync and can’t afford newer server hardware. Motherboard choice is selected primarily because of chipset, number of SATA ports, and I found one open box.

    https://pcpartpicker.com/list/JX2gHG

    Hoping to move my main drive to the NVME and keep the other six drives as-is without needing a reinstall.

    Thoughts?

    7