• 0 Posts
  • 64 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle

  • Some feedback:

    • On white background the text next to the logo is not visible
    • Add screenshots in the README, it’s a GUI app
    • Requirements.txts for dependency management is the old way, read about pyproject.toml you can merge them a single easy to read and edit file
    • “Install the dependencies” means nothing to a non-python developer. Direct users to install your project via pipx, that’s modern and secure way of installing a python application with dependencies for non developers. Publish it to pypi for even easier installation.
    • Add a notice that currently it’s windows only os.path.join(os.environ["APPDATA"], "Tagify", "config.yaml") will fail on *nix systems. Use pathlib.Path instead of os.path. Use pathlib, I see on a lot more places it would make your life much easier.
    • I have a feeling that the file icons are not your work. If you copied them from somewhere make sure their license is compatible, and add an acknowledgement.

    Keep up the work, it seems like a nice project!







  • AUR packages ending with"-git" or “-svn” always pull the latest commit from source. The version number means that was the last time the packager had to change something on the PKGBUILD script, not the actual version which would be installed.

    Where should I look? Where were these talks? I’m interested.

    Edit: I found the whitepaper about hole punching: https://research.protocol.ai/publications/decentralized-hole-punching/

    It says it connects to a “Hole Punch Coordination (DCUtR - Direct Connection Upgrade through Relay)”. So for NAT traversal to work, you need a third party, this relay. As I expected. I guess you can self host this, but than you could just host a wireguard server. I guess if you are on a locked down network where you cannot connect to any relay (e.g. how the Chinese Great Firewall works technically they could block it) you can’t initiate a connection behind a NAT.

    Nonetheless it seems interesting, but no magic here. Maybe the big difference that the relay servers are distributed, so no central authority to block easily.







  • One of them is a laptop, why ssh to the server isn’t an option? Set up tmux on the server so it always connects to the same session, so you can just continue where you left last time. If you need desktop support, rdp in gnome works really well.

    E.g if you connect with this command, and tmux is installed on the server, it will start a new session named “main”. If a session with that name exists it will connect to that:

    ssh -t pi@192.168.1.2 tmux new-session -A -s main

    Add something to .bashrc on the server to always do the same if you work on that phisically:

    if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
    tmux new-session
    fi
    

  • The announcement comes after Twitter announced across-the-board job cuts earlier on Thursday, with plans to lay off 9 percent of its workforce, which equals about 350 people. The company also said in a letter to shareholders that it was going to prioritize some parts of its business, while deprioritizing others.

    Source

    Twitter was financially in a bad shape for a long time, the first year they generated some profit was 2018. Source Vine existed 2012-2017, I think they couldn’t figure out how to monetize it. Twitter was a text based platform, tiktok was designed for video from conception.

    But I still don’t know why they didn’t try to sell it instead of shutting it down.

    Coub was also nearly shut down in 2022, it seems like it’s hard to profitably maintain a short video service.

    One more thing could have an important impact was music rights. Tiktok has special deals with record labels for background music, Coub was Russian, so they could just pirate music. Streaming wasn’t big back than, only spotify existed, labels couldn’t figure yet out how to milk internet users, so I guess Vine couldn’t get as good deals as it would now. Too early, too legal.





  • It’s a Fujitsu W26361 There isn’t a lot of info about it on the net, all the links are rotten.

    You have a sata port. You have to use an external power supply for that. Or maybe one of the pins next to it can supply the required voltage, you can use a multimeter to figure it out if you are brave. I guess the white one labeled PWR should be supply some volts. To be safe you can split the power of the other sata ssd or buy something like this:

    https://ae01.alicdn.com/kf/HTB1ORhqIXXXXXXvXFXXq6xXFXXXL/Hard-Disk-External-Power-Supply-5V-12V-Dual-DC-4-Pin-Molex-Adapter-Cable-SATA-plus.jpg

    You also have 2 an mPCIe or mSATA port. It’s impossible to tell the difference from a photo, because they use the same connector.

    https://en.wikipedia.org/wiki/PCI_Express#Mini-SATA_(mSATA)_variant

    Without any more knowledge I would guess at least one of them is an mPCIe. Having 2 sata ports and an 2 mSATA next to it would be strange, they could use the mPCIe for a 3G modem or wifi, it would make more sense in a thin client like this.

    If it’s an mPCIe you can buy a sata expansion there and even connect up to 4 sata drives. Looks like something like this:

    https://i.pinimg.com/originals/2b/f9/d2/2bf9d2eb08223b7267876bbaf2d39a21.png

    You can convert it to normal PCIe or m.2, the possibilities are endless:

    https://www.adt.link/Uploads/image/R6/3D/R65SF.png

    
https://www.dhresource.com/0x0s/f2-albu-g13-M00-F1-E9-rBVak18zooKACiPnAAwNP8eIl9U647.jpg/mini-pcie-to-pcie-x8-built-in-adapter-mpcie.jpg

    If it’s not mPCIe but mSATA, you can buy mSATA SSD there, they are really rare nowadays. Or you can buy an mSATA to SATA adapter:

    https://alexnld.com/wp-content/uploads/2018/02/PC0181L_1.jpg