Skip Navigation
What are the best alternatives to Amazon for buying new (or used) books?
  • Maybe Thriftbooks? They do offer shipping to Canada but it's not always cheap.

  • Last major Arabic-style mosque in China loses its domes
    www.theguardian.com Last major Arabic-style mosque in China loses its domes

    Exclusive: Experts say changes to Grand Mosque of Shadian mark completion of five-year sinification campaign

    Last major Arabic-style mosque in China loses its domes
    66
    Routing USB signals on 2 layer flex PCBs
  • I can't change the thickness. I might try cross hatching the ground plane (suggested in the SE) and seeing how that affects the impedance as well.

  • Routing USB signals on 2 layer flex PCBs
  • It's a USB adapter for a dock. It has a nonstandard pinout, so I made an adapter for it.

  • Routing USB signals on 2 layer flex PCBs

    Does anyone have any advice on routing some high speed signals on flex PCBs? I'm looking at jlcpcb because of the low cost but I'm having difficulty getting impedances to be decent.

    My requirements are:

    • 45 ohm single ended impedance (maybe? Def doable)
    • 90 ohm differential impedance (usb spec)
    • 5A current on power pins

    But if we look at the capabilities: https://jlcpcb.com/capabilities/flex-pcb-capabilities

    • 2 layer
    • substrate thickness (PI) = 25 um
    • 1 oz pour thickness = 35 um
    • min trace width/spacing = 4/4 mil = 0.101/0.101 mm
    • ε = 3.3

    Is this feasible with this stackup? I'd like to do a 1 oz pour because of power traces, but there's also 0.5 oz (18um) and 0.33 oz (12um).

    For the differential signals, when I'm doing impedance calculations, I can get to roughly 70 ohms using W=100um, S=200um. I don't think this is good enough. I think I can get away using a 0.33 oz pour but then I'm worried about the power pins.

    And for the power traces, I'm needing 2.2mm, which is reasonable for the pins on a USB-C connector. But if I try using the 0.5 oz or 0.33 oz pour, it gets to be 4.2 mm and 6.3 mm, which seems impossible given the pins are tiny and very closely spaced together. Even with vias to the bottom layer, this seems problematic.

    Anyone have any advice here? This is just for a hobby project, so I'm really not looking to change fabs because of costs.

    4
    Dumb question: how do I know if an open source project is trustworthy?
  • I look at the contributors on Github and check them out. I'll check out what else they've worked on and maybe see if they have an account on mastodon or twitter. Maybe I'll ask some friends if they've used or heard of the product, or know of the devs.

    There is indeed malware disguised as OSS and you do sometimes have to vet them. I'll skim the codebase and see if there's anything that looks weird or funky, but that's not perfect (like in the case of the xz) and some stuff can slip by.

  • Wtf did I just read
  • What helped me understand QM was spending four years getting a degree in physics then never using it again.

  • Obscure screw added so appliance cannot be disassembled
  • If you have a Dremel, I bet you could take out the center bit and use a regular slotted screwdriver.

  • Stack of floppy disks: Am I a joke to you?
  • ⚠️ The link above might be offensive. I've deleted the post but the deletion is failing to sync across instances or something (I'm still receiving reports for it after it's been deleted)

  • Conifers 💚💚💚
  • Yeah in the fall, it's the only dying-looking tree in an evergreen forest

  • Conifers 💚💚💚
  • Tbh least favorite conifer. Not even evergreen

  • you don't need more 4GB of RAM
  • I was running out of RAM on my 16GB system for years (just doing normal work tasks), so I finally upgraded to a new laptop with 64GB of RAM. Now I never run out of memory.

  • [Resolved] After updating through both APT and the Software Store, I can't play mp4 videos with VLC anymore. The screen goes blank for a second or two then the audio starts playing without the video..
  • I'm not sure off-hand since I'm not too familiar with VLC.

    I would imagine it could be an issue in a graphics driver at the kernel (amdgpu?) or user level (mesa?). It could also be a problem in something higher up.

    I would recommend posting an issue in the VLC repo and see if you can get better support that way.

  • Need help setting up i2p in a Docker container

    I'm looking to try out i2p but I'm having trouble getting it going.

    I have a docker-compose container going with this docker-compose.yml:

    yaml version: "3.5" services: i2p: image: geti2p/i2p ports: - 4444:4444 - 127.0.0.1:6668:6668 - 7657:7657 - 54321:12345 - 54321:12345/udp volumes: - ./i2pconfig:/i2p/.i2p - ./i2ptorrents:/i2psnark restart: always environment: - IP_ADDR=0.0.0.0 - JVM_XMX=1024m

    The container starts up and the log outputs:

    $ docker logs i2p-i2p-1 Starting I2P [startapp] Running in container [startapp] setting reachable IP to container IP 0.0.0.0 Starting I2P 2.4.0-0

    But when I try to access the console, I'm seeing:

    $ curl localhost:7657 curl: (56) Recv failure: Connection reset by peer

    Is there anything else that I need to do here?

    1
    People who rarely get sick, what are your secrets?
  • Permanently Deleted

  • 1983: Meet the COMPUTER ADDICTS
    3
    What do you use AI/LLMs for in your personal life?
  • I use it all the time to help simplify long excerpts, giving me an introductory gist of what something says.

  • [META] What are your thoughts on this community's moderation?

    I'd like some feedback on this community's moderation. Do you feel it's too relaxed? Too strict? Feel free to voice your thoughts in a comment below!

    I've tried to be very "hands-off" and mostly let the community decide what's acceptable by voting. I don't usually remove content unless either I receive several reports or if it's a clear violation of the rules/code of conduct. I don't know if this is the best path to take though.

    13
    How did OS worked for early "Smart" devices
  • You could write C or assembly and it would be compiled to something that would run on an embedded chip. They may or may not be running an RTOS.

  • What is the most difficult problem that you have fixed in linux?
  • Learned how drivers worked and fixed a driver for an USB to I2C chip. It's still buggy but at least it sorta works now.

    Some more details: I was using a CH347 (USB to UART/SPI/I2C) and there was an open source driver that used a previous chip version. The original dev had hardcoded the bulk IO endpoints indices. The only change I had to do was just iterate over the endpoints and search for the correct ones. But at first, I didn't understand anything about how the USB subsystem worked and how drivers were loaded. All I could tell was the USB device was correctly detected but the I2C driver wasn't being loaded, despite proper udev rules, correct vendor/product IDs, etc.

  • You can certainly change it. But should you?
  • If you have a memory-mapped peripheral where there's a readonly register, I could see it being const volatile.

  • Is there much difference between Stellar and Star san? How's the StellarSan stuff so cheap?
  • How so? Just curious, how are you sanitizing your equipment? Every local homebrew supply where I live only carries starsan.

  • What is this SMT component with a little window, labeled A247L? (solved!)
  • This is being used in a LoRa module (it's a Reyax RYLR896 (which is not great for my purposes ngl)). The STM32 acts as an intermediary between its UART interface and the LoRa module's SPI interface, basically doing some rough translation and some encryption, nothing major. I believe the LoRa stuff has its own crystal, so I would imagine there is no need for an external source.

  • Boss moved resin printer into my office and it reeks (edit: resolved!)

    When I came into my office this morning, I found that my boss moved his resin printer into my office and the setup reeks of solvent (it smells like a hundred uncapped expos). Are these fumes fine? Or am I gonna end up with half a melted brain by the end of the week?

    28
    Mastodon user blog spamming

    This isn't our instance but I'm wondering if we can block the user (bot) spamming this community: https://lemmy.ml/c/clojure

    User: https://clj.social/users/planet/

    1
    Requesting items at a Costco?

    Has anyone had any luck requesting items?

    I normally shop at a Costco near my home but my family resides in another part of our state and they go to a different one. I've noticed that their Costco gets way cooler items (jagarico, black thunder candy, like air puffcorn, etc) and I'm tempted to try and request some of them. How do I get these at my store?

    5
    Flötenkreis
    1
    The picture isn't even of my yard

    The package wasn't at my entrance too, it was just on the sidewalk 😕

    Fwiw, this is the only time the UPS driver has left the package in that spot. Normally it's right next to the front door.

    58
    A Deep Dive into Internet Cats
    0
    Some programs do not enable my webcam indicator LED

    Since when is this a thing? I thought the indicator LED would be firmware controlled in the webcam (Logitech V-U0040)

    Running Cheese on Ubuntu:

    !

    While in a video call in my web browser:

    !

    6
    me_irl @lemmy.world Kevin @lemmy.world
    me♻️irl
    73
    me_irl @lemmy.world Kevin @lemmy.world
    me👵irl
    19
    me_irl @lemmy.world Kevin @lemmy.world
    me🏊‍♂️irl
    9
    me_irl @lemmy.world Kevin @lemmy.world
    me🥃irl
    18
    poopsmith Kevin @lemmy.world

    likes: food, programming, traveling, physics

    Posts 41
    Comments 165
    Moderates