Skip Navigation
Artifactview - preview GitHub/Forgejo CI artifacts
  • It does (they of course use their Azure Blob storage under the hood). Forgejo however does not (even though it supports it for releases and packages and Golang has this in their standard library).

    I'll keep the idea in mind.

  • Artifactview - preview GitHub/Forgejo CI artifacts
    codeberg.org artifactview

    Browse GitHub/Gitea/Forgejo Actions artifacts

    artifactview

    I want to showcase the project I have been working on for the last weeks. GitHub and Gitea/Forgejo allow you to upload files and directories created during a continuous integration run (Artifacts). These can be downloaded as zip files. However there is no simple way to view individual files of an artifact.

    That's why I developed a small web application that allows you to view the artifacts of any CI run in your web browser. This allows you to quickly look at test reports or preview your web projects.

    I am hosting a public instance with support for GitHub and Codeberg under https://av.thetadev.de/.

    Features

    • 📦 Quickly view CI artifacts in your browser without messing with zip files
    • 📂 File listing for directories without index page
    • 🏠 Every artifact has a unique subdomain to support pages with absolute paths
    • 🌎 Full SPA support with 200.html and 404.html fallback pages
    • 👁️ Viewer for Markdown, syntax-highlighted code and JUnit test reports
    • 🐵 Greasemonkey userscript to automatically add a "View artifact" button to GitHub/Gitea/Forgejo
    • 🦀 Fast and efficient, only extracts files from zip archive if the client does not support gzip
    • 🔗 Automatically creates pull request comments with links to all build artifacts

    Examples

    Here are some artifacts to try:

    SveltePress documentation site: https://cb--thetadev--artifactview--28-2.av.thetadev.de/

    A bunch of test files: https://cb--thetadev--artifactview--28-1.av.thetadev.de/

    Artifactview's own test report: https://cb--thetadev--artifactview--65-1.av.thetadev.de/junit.xml?viewer=1

    Automatically created pull request comment: https://codeberg.org/ThetaDev/artifactview/pulls/2

    5
    Alternative Printer Uses
  • No, that temperature would damage your screen. The professional hot plates for phone repair are typically set to 85-90°C. With a heat gun you may need to set a higher temperature since you are only heating up part of the phone and it cools down again during the process. My printer (Prusa MK3) with PCB heater can go up to 120°C, so it looks perfect for the job.

  • Most to least common 4-digit PINs
  • Pin codes are great for quick access if you have a lockout mechanism after 3 failed attempts and it is impossible for an attacker to get the hashed code. It is only secure if you pick a pin that cannot be guessed in 3 attempts like your birthdate but that applies to any password.

    Thats why they are used for credit cards, SIM cards or Bitlocker drive encryption. The hashed code never leaves the secure hardware so you cannot circumvent the lockout.

    Even a 16digit numeric code, which I guess is the upper limit of what you can remember and quickly input, would take just a couple of days to brute force if the attacker does get hold of the hash.

  • Most to least common 4-digit PINs

    or why it is not a good idea to use your birthday as your pin

    40
    Test @lemm.ee ThetaDev @lemm.ee
    Test2Image

    Test post with image

    0
    Test @lemm.ee ThetaDev @lemm.ee
    Test1

    Hello World

    0
    What happens after a Spotify account ban?
  • Spotify does not have the power to lock your credit card or paypal account. Account bans might happen and I have seen E-Mail screenshots of people who got banned. I am not sure if they would take down an entire set of family accounts.

    If you care about the content of your Spotify account (playlists, listening history) you should not use it for piracy. Just create a new one. If you are fine with 160kbps OGG files, you dont even need a paid account.

    Do not create Spotify accounts with trash mail addresses, they may work at first and get banned the next day (happened to me after I created some accounts for scraping their API).

    You can also export all your Spotify data as a precaution (GDPR export from the account page, they send you an email with a link to a zip file after a couple of days).

  • Unpowered cargo gliders on tow ropes promise 65% cheaper air freight
  • And the weight. A recreational glider weighs about 600kg. They want to build one that carries 3 and later 10 tons.

    If a recreational glider crashes into a house, it usually does not cause a lot of damage except to the pilot, see here:

    https://www.tz.de/welt/niedersachsen-segelflugzeug-stuerzt-wohnhaus-zr-2446316.html

    Now make that thing 20times heavier. There is a reason drones are regulated by weight class.

  • The three million toothbrush botnet story isn’t true.
  • First thing I was asking is the model of toothbrush that supposedly got hacked. AFAIK there are no mainstream electric toothbrushes with onboard WiFi. Both OralB and Philips use Bluetooth for their smart functionalities.

    If the story was about smart ovens or washing machines I would have believed it.

  • How does RSS work under the hood?
  • RSS feeds are XML files which contain a list of documents hosted on the internet (articles, audio/video). The feed entries contain basic metadata (title, date, author, summary) and a link to the original website (or audio/video file in the case of a podcast).

    Feed readers send a simple web request to the website hosting the feed, downloading it if it has changed since the last update. The content is then combined with other feeds and displayed. This way you can have a personalized news reading experience without needing to create an account at a a central provider or open every individual site.

    Alternative YouTube clients use RSS feeds provided by YouTube (example: https://www.youtube.com/feeds/videos.xml?channel_id=UC2DjFE7Xf11URZqWBigcVOQ), but they are only used to update subscriptions. All other requests (search, watching videos) are handled by the same web interface as the YouTube desktop application. Fetching the RSS feeds is a lot faster than opening the channel page, so the RSS featuee allows you update 100 or more channels in a few seconds.

    The way podcast ads work is either just like YouTube sponsorships (the podcaster gets paid by a company to speak an advertisement themselves) or they are dynamically inserted by the podcast provider (these are the interrupting ads). Since most podcast apps dont store cookies, there is no way to track users and personalization is done only via the IP-based location and topic of the podcast. RSS-based podcast players have no way of directly reporting back playback telemetry. The server hosting the podcasts can only count the number of downloads/playbacks. So there is no way to count the amount of watched ads when using a RSS-based podcast player like AntennaPod or Kasts. Note: this does not apply to podcasts on Spotify, Apple Music or similar platforms. These platforms absolutely track your listening activity. I have no idea whether this affects ad/sponsorship earnings.

  • How does RSS work under the hood?
  • One important thing if you are building a RSS application is that the server should support conditional requests (the If-Modified-Since header). This way, a client does not have to download the entire feed on every update. It simply sends the last update date with its request and the server returns an empty response if the feed is up to date.

    There are some applications (for example YouTube) which dont support this, resulting in higher-than-necessery data usage, especially on mobile.

  • Monaspace - Microsoft presents a new font family for code
  • Will they replace Consolas in Windows with this one or is it a GitHub-only-thing? In Consolas the characters 1 and l look very similar, making the font unsuitable for coding and terminal use, so it would be good if they replaced it with something else.

  • Potential pitfalls in exposing Jellyfin server to the internet through reverse proxy?
  • Web applications may have vulnerabilities that allow an attacker to run code on the host system (Remote Code Execution). Famous example would be the log4shell vulnerability.

    If you want to expose your server to the internet, you have to make sure you are not suffering damage if an attack like this occurs.

    1. Give the server application minimum privileges on your system. Use either containerization, sandboxing or systemd hardening to prevent the app from running commands on your system or access important data. Jellyfin for example only needs to read your media library, so if you are using docker, mount it read-only.
    2. Keep both the reverse proxy and the application up-to-date. For a docker setup you can use watchtower.
    3. Make backups of both your media collection and the Jellyfin database in case you need to restore your system. You should also have a script or at least some written notes on how you set up everything.
    4. Ideally isolate the media server from the rest of your network. If someone manages to put malware on your server, they should not be able to access the rest of your network (PCs, smart home devices, cameras, etc). This requires a more advanced firewall than most consumer routers have, so I currently do not do it on my home setup.
  • datahoarder @lemmy.ml ThetaDev @lemm.ee
    Backblaze increases storage costs to 0.6ct/GB or 6$/TB, but offers free downloads

    I've just received this E-Mail from Backblaze, announcing a slight increase in storage cost.

    In exchange, they offer a free download budget of three times the stored capacity.

    ---

    Storage Price Increase: Effective October 3, 2023, we are increasing the monthly pay-as-you-go storage rate from $5/TB to $6/TB. The price of B2 Reserve will not change.

    Free Egress: Also effective October 3, we’re making egress free (i.e. free download of data) for all B2 Cloud Storage customers—both pay-as-you-go and B2 Reserve—up to three times the amount of data you store with us, with any additional egress priced at just $0.01/GB. Because supporting an open cloud environment is central to our mission, expanding free egress to all customers so they can move data when and where they prefer is a key next

    Product Upgrades: From Object Lock for ransomware protection, to Cloud Replication for redundancy, to more data centers to support data location needs, Backblaze has consistently improved B2 Cloud Storage. Stay tuned for more this fall, when we’ll announce upload performance upgrades, expanded integrations, and more partnerships.

    22
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TH
    ThetaDev @lemm.ee

    Keyoxide proof: $argon2id$v=19$m=64,t=512,p=2$GqANIZlip4069AD6refZlQ$ih86piuoJJDrbRmKV9dhzA

    Posts 6
    Comments 28