HNHacker News
TopNewBestAskShowJobs

jftuga

426 karma · joined January 16, 2012

https://github.com/jftuga
submissionscomments
jftuga··on Command Line Tools I Like (2022)
I've recently made a new command line tool:

https://github.com/jftuga/DateTimeMate

Golang package and CLI to compute the difference between date, time or duration

Here is a more detailed announcement:

https://news.ycombinator.com/item?id=41058826

jftuga··on Rewrite cname uncloaking code to account for new ipaddress= option
Is there a public list of known legit, whitelisted scripts?
jftuga··on Nvidia releases NVLM 1.0 72B open weight model
How much GPU RAM would be needed to run this with just one GPU?
jftuga··on Why are my ZFS disks so noisy?
Is there an online calculator to help you find the optimal combination of # of drives, raid level, and block size?

For example, I'm interested in setting up a new RAID-Z2 pool of disks and would like to minimize noise and number of writes. Should I use 4 drives or 6? Also, what would be the optimal block size(es) in this scenario?

jftuga··on Cron Jobs on Linux – Comprehensive Guide with Examples
https://crontab.guru/ is a great web site to help you write schedules for your cron jobs.
jftuga··on SEC fines 6 major credit rating agencies over failure to keep electronic records
Here are the six. This is an article excerpt:

    Moody’s Investor Services and S&P Global Ratings agreed to pay the heftiest fines,
    a $20 million civil penalty each. Fitch Ratings agreed to pay $8 million, A.M. Best
    Rating Services agreed to pay $1 million, HR Ratings de México, S.A. de C.V. $250,000,
    and Demotech agreed to pay $100,000, respectively.
jftuga··on Zen5's AVX512 Teardown and More (Without Redacted Content)
This is a great, extremely detailed write up!
jftuga··on Google pulls the plug on uBlock Origin
nice reference.
jftuga··on GitHub was down
Down Detector link:

https://downdetector.com/status/github/

jftuga··on Windows TCP/IP Remote Code Execution Vulnerability
Here is the commentary / explanation from Ed, the Low Level Learning Youtube channel:

https://www.youtube.com/watch?v=t5cAT2l_G44

jftuga··on Apple open-sources its Homomorphic Encryption library
Link to announcement on swift.org:

https://www.swift.org/blog/announcing-swift-homomorphic-encr...

Intro:

    Homomorphic encryption (HE) is a cryptographic technique that enables computation on encrypted data without revealing the underlying unencrypted data to the operating process. It provides a means for clients to send encrypted data to a server, which operates on that encrypted data and returns a result that the client can decrypt. During the execution of the request, the server itself never decrypts the original data or even has access to the decryption key. Such an approach presents new opportunities for cloud services to operate while protecting the privacy and security of a user’s data, which is obviously highly attractive for many scenarios.
jftuga··on Robert Elder's Guide to GNU Coreutils
I like using paste to convert a list of lines into a single line, comma-delimited list...

Contrived example, for brevity:

    awk 'BEGIN { while (i < 10) print i++ }' | paste -sd, -
or maybe:

    ls *txt | paste -sd, -
jftuga··on I Quit Spotify
I also think Pandora has spot on music recommendations.
jftuga··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Thank you for including a relatively straightforward Privacy Policy:

https://www.budgetflow.cc/privacy_policy

and ToS:

https://www.budgetflow.cc/terms_of_service

jftuga··on Please do not attempt to simplify this code

        // ==================================================================
        // PLEASE DO NOT ATTEMPT TO SIMPLIFY THIS CODE.
        // KEEP THE SPACE SHUTTLE FLYING.
        // ==================================================================
        //
        // This controller is intentionally written in a very verbose style. You will
        // notice:
        //
        // 1. Every 'if' statement has a matching 'else' (exception: simple error
        //    checks for a client API call)
        // 2. Things that may seem obvious are commented explicitly
        //
        // We call this style 'space shuttle style'. Space shuttle style is meant to
        // ensure that every branch and condition is considered and accounted for -
        // the same way code is written at NASA for applications like the space
        // shuttle.
jftuga··on Show HN: Burrow is a globally distributed, serverless HTTP proxy
Cool idea. What was your initial use case for creating this?

Also, are the Function URLs publicly accessible? If so, what safe guards are there to prevent abuse?

jftuga··on PasteBar – Limitless, Free Clipboard Manager for Mac and Windows. Open Source
How much RAM does your program consume on each of the platforms?
jftuga··on Delta to Seek Damages from CrowdStrike
From the article:

    The outages cost Delta an estimated $350 million to $500 million.

    Delta is dealing with over 176,000 refund or reimbursement requests after almost 7,000 flights were canceled.
jftuga··on Lessons from Ancient File Systems
Conclusion: "So the big lesson here is to always plan for the future. Listen to the requirements for the current product, but then design with the assumption that you'll be asked to expand the requirements in the future. If you don't, users may be cursing you when the code is released. But who knows? If you do it right, people may still be using your code in 40 years."
jftuga··on Ask HN: What is the best way to author blogs in 2024?
How much are you getting charged each month for Amplify?
jftuga··on Major Microsoft 365 outage caused by Azure configuration change
Furthermore, the article states that it was "affecting customers across the Central US region". Doesn't it seem like they should have used "5:00 PM CDT" in the article?
jftuga··on Show HN: Dut – a fast Linux disk usage calculator
You should include the "How to build" instructions near the beginning of the main.c file.
jftuga··on Well, it's just an AWS Account ID
A "workaround" for this is to just try to create a new account, xyz@example.com.

This bypasses what you've mentioned.

jftuga··on Weekend projects: getting silly with C
Thanks for this suggestion - it works great.

    import sys # run: python3 countdown.py 10
    def main(n:int): print(n) or n-1 and main(n-1)
    main(int(sys.argv[1]))
This also works and is definitely more Pythonic:

    _ = [print(n) for n in range(10,0,-1)]
jftuga··on Weekend projects: getting silly with C
This reminds me of some silly C code I once wrote for fun, which counts down from 10 to 1:

    #include <stdio.h> // compile & run: gcc -Wall countdown.c -o countdown && ./countdown
    int n = 10; int main(int argc, char *argv[]) { printf("%d\n", n) && --n && main(n, NULL); }
Python version:

    import sys # run: python3 countdown.py 10
    def main(n:int): sys.stdout.write(f"{n}\n") and n-1 and main(n-1)
    main(int(sys.argv[1]))
Shell version:

    # run ./countdown.sh 10
    echo $1 && (($1-1)) && $0 $(($1-1))
jftuga··on Ask HN: What is the best code base you ever worked on?
I love this take. What language(s) do you typically use to write CLI programs? I'm also interested in learning about what types of internal TUI tools you have created.
jftuga··on #1 – Getting Started – No BS Intro to Developing with LLMs
This is a great article. I am learning a lot and it's filling in my knowledge gaps.
jftuga··on Apple unveils 'Passwords' manager app at WWDC 2024
I've been using KeePassXC on Mac and Windows and sync them between each other with Unison[1]. I'd be curious to learn how others who are using KeePassXC are syncing there databases with iPhone.

[1] https://gist.github.com/jftuga/0265e5403d56373662b9513d8816e...

jftuga··on How to Turn Off AI Overview in Google and Set "Web" as Default
How are you performing CLI searches? Which program do you use?
jftuga··on Working with Excel Files in Python
I've also used xlswriter and had the same experience - very happy with it. I used it to generate bar and pie charts on one of the sheets.
← PreviousPage 3 of 10Next →