HNHacker News
TopNewBestAskShowJobs

jftuga

426 karma · joined January 16, 2012

https://github.com/jftuga
submissionscomments
jftuga··on Ask HN: Most successful example using LLMs in daily work/life?
I'm trying it out to give me the correct artist name and song name for any given YouTube title. The titles of the music that I happen to like do not seem to usually be in a nicely, regular format. Llama3 does an admirable job. My plan is to pair this with yt-dlp and a mp3 tagger.
jftuga··on OpenAI and Reddit Partnership
Reddit stock is up almost 10% in after hours trading.
jftuga··on How to escape Honda's privacy hell
I guess I'm safe from this invasion of privacy in my pre-2015 vehicle. The eff article[1] mentions that 18 car manufactures have a way to opt-out. Which auto makers are not on this list?

[1] https://www.eff.org/deeplinks/2024/03/how-figure-out-what-yo...

jftuga··on Ask HN: How to handle user file uploads?
Slight OT...

I created a program for profile pictures. It uses face recognition technology as to not deform faces when resizing photos. This may be useful to you.

https://github.com/jftuga/photo_id_resizer

jftuga··on How an empty S3 bucket can make your AWS bill explode
Since you need to create a unique bucket name any way, I like to include my AWS Account ID in my bucket names. Be advised that bucket names need to be 63 characters or less. Another reason I do this is that CloudFormation supports the use of:

${AWS::AccountId}

jftuga··on S3 is files, but not a filesystem
If I were to upload a 50kb object to S3 (standard tier), about how many unique physical copies would exist?
jftuga··on WWII: Failed novelist becomes a spy for Germany, makes up a fake spy network
I found this fascinating:

Excerpt 1: "Pujol had the distinction of receiving military decorations from both sides of the war – being awarded the Iron Cross and becoming a Member of the Order of the British Empire."

Excerpt 2: "His fictitious spy network was so efficient and verbose that his German handlers were overwhelmed and made no further attempts to recruit any additional spies in the UK, according to the Official History of British Intelligence in World War II."

Excerpt 3: "On occasion, he had to invent reasons why his agents had failed to report easily available information that the Germans would eventually know about. For example, he reported that his (fabricated) Liverpool agent had fallen ill just before a major fleet movement from that port, and so was unable to report the event. To support this story, the agent eventually "died" and an obituary was placed in the local newspaper as further evidence to convince the Germans. The Germans were also persuaded to pay a pension to the agent's widow."

Excerpt 4: "For radio communication, "Alaric" needed the strongest hand encryption the Germans had. The Germans provided Garbo with this system, which was in turn supplied to the codebreakers at Bletchley Park. Garbo's encrypted messages were to be received in Madrid, manually decrypted, and re-encrypted with an Enigma machine for retransmission to Berlin. Having both the original text and the Enigma-encoded intercept of it, the codebreakers had the best possible source material for a chosen-plaintext attack on the Germans' Enigma key."

jftuga··on Calls grow for Sundar Pichai to step down from Google CEO position
It's not just a advertising company. I happily pay them for YT premium, YT TV, and Google Drive.
jftuga··on Python: Statsmodels
Python also has some a built-in statistics module:

https://docs.python.org/3/library/statistics.html

I'm sure statsmodel has many more features, but just wanted to call this out in case all you need are the basics.

jftuga··on The Bun Shell
Their info about "rm -rf" not working in Windows is slightly misleading. In PowerShell, you can accomplish this by running:

rm -r -fo my-folder-name

jftuga··on Google search is losing the fight with SEO spam, study says
Kagi may interest you then:

https://help.kagi.com/kagi/features/website-info-personalize...

For a given domain, you can select: block, lower, normal, higher, and pin to help you rank results on your personal preferences.

jftuga··on Ugrep – a more powerful, fast, user-friendly, compatible grep
I really like the fuzzy match feature. Useful for typos or off by 1-2 characters.

https://github.com/Genivia/ugrep#fuzzy

jftuga··on In 2024, please switch to Firefox
I recently switched and then made an extension called FoxColorBox which allows you to change and customize browser Window colors. When you open a new window, it will have a distinct color.

This can help you differentiate between home, work, and school. It can also be useful when working in development, staging and production environments.

* https://addons.mozilla.org/en-US/firefox/addon/foxcolorbox/

* https://github.com/jftuga/foxcolorbox

jftuga··on Stirling-PDF: local web application to perform various operations on PDFs
Have you tried this (for at least solving part of the problem)?

https://github.com/pdfcpu/pdfcpu

jftuga··on Stirling-PDF: local web application to perform various operations on PDFs
A really nice, stand-alone command line tool is pdfcpu.

https://github.com/pdfcpu/pdfcpu

jftuga··on Ask HN: Best modern file transfer/synchronization protocol?
Respectfully disagree. You get charged 9 cents per GB after the first 100 GB xfer each month. This doesn't fit in well with the OP's environment, which is a LAN.
jftuga··on Ask HN: Best modern file transfer/synchronization protocol?
Yes. It has many options - one of them being the capability of copying multiple files concurrently with the /MT switch.
jftuga··on Ask HN: What apps have you created for your own use?
These are all CLI...

https://github.com/jftuga/less-Windows - [not really mine, but I just help maintain the port] - GNU less compiled for Windows 10 & 11. Stand-alone version with no dependencies.

https://github.com/jftuga/gofwd - A cross-platform TCP port forwarder with Duo 2FA and Geo-IP integration

https://github.com/jftuga/spotprice - Quickly get AWS spot instance pricing - a bit easier to use than the aws cli; is also faster and has more features

https://github.com/jftuga/tcpscan - A standalone, fast, simple, multi-threaded cross-platform IPv4 TCP port scanner

https://github.com/jftuga/ipinfo - Return IP address info including geographic location and distance when given IP address, email address, host name or URL

https://github.com/jftuga/photo_id_resizer - Resize photo ID images using face recognition technology

https://github.com/jftuga/chars - Determine the end-of-line format, tabs, bom, and nul characters

Here is a fairly new Firefox extension that I created...

https://addons.mozilla.org/en-US/firefox/addon/foxcolorbox/ - allows you to change and customize browser Window colors. When you open a new window, it will have a distinct color. You can also change colors by clicking on the extension icon.

jftuga··on Show HN: IP Guide – Info on IP addresses, Networks, and ASNs
Yes. I would accept a PR for this.
jftuga··on Show HN: IP Guide – Info on IP addresses, Networks, and ASNs
> Our API allows for tokenless API access for up to 1,000 request/day.

Thank you for this! Much appreciated!

I am sure there are tons of similar programs, but here is one I wrote:

https://github.com/jftuga/ipinfo

I added on a distance column.

Just yesterday, I added this: brew install jftuga/tap/ipinfo

jftuga··on Show HN: TtlMap: A Golang map in which entries expire after given a time period
It can be used to keep the size of your map small by removing items that may no longer be needed because they have not been accessed. Ideally, if a key value is not in the map (but needs to be), it can be computed again and then placed back into the map with possibly an updated value for the given key.
jftuga··on Sonoma's log gets briefer and more secretive
What laptops do they issue out to engineers? What issues do you run across?
jftuga··on Maybe Google Is Popular Because It's Good?
I've been experimenting with kagi.com search, which is a paid service. So far I am very happy with the search results. They also have responsive support on their discord.

Is anyone else using this?

jftuga··on Hutter Prize for compressing human knowledge
From this article:

More empirically, Shannon's lower estimate suggests that humans might be able to compress enwik9 down to 75MB, and computers some day may do better.

jftuga··on This code smells of desperation
A friend and I each bought 387's (which was physically, a separate chip) for our 386's circa 1992. IIRC, I had a 80386/25 MHz with 4 MB of ram.

I remember a tank game called Scorched Earth where you would have to set angle & power to try to hit the other person's tank. Some ordinances took a 10-15 seconds to fire & complete because it was running FP ops on the CPU. Once the 387 was installed, this calculation was done almost instantly. That's about all I remember my FPU being good for. LOL good times!

jftuga··on “1.1.1.1 is now handling more than 1.3T requests per day”
Here is a ping short cut. It probably the fastest way to check for Internet access. This is also a CloudFlare DNS resolver.

$ ping 1.1

Pinging 1.0.0.1 with 32 bytes of data:

Reply from 1.0.0.1: bytes=32 time=17ms TTL=55

For IPv6, you can use:

$ ping6 2600::

Interestingly enough, these are also pingable:

$ ping 1234567890

Pinging 73.150.2.210 with 32 bytes of data:

$ ping 987654321

Pinging 58.222.104.177 with 32 bytes of data:

jftuga··on US smartphone shipments fall sharply, but Android more than iPhone
Getting Slack messages on my Apple Watch is nice when I am away from my phone but still in BT (wifi?) range. I know this not specific to iPhone, but the integration is nice.
jftuga··on AMD Ryzen 7 7840U Performance Benchmarks on Linux
PassMark - AMD Ryzen 7 7840HS

https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+7+7840HS&...

* multithread: 31124

* single thread: 3945

* number of samples: 15

* margin for error: medium

jftuga··on Finish your projects
I feel like I finish most of my projects. Granted, most of them are small, command-line tools. When they're done they're done.

What are your thoughts I projects that haven't had any updates in a few years?

https://github.com/jftuga?tab=repositories&q=&type=source&la...

jftuga··on Removing support for forwarded ports
I wrote something tangentially related, but for single user.

"gofwd" is a cross-platform TCP port forwarder with Duo 2FA and Geographic IP integration. Its use case is to help protect services when using a VPN is not possible. Before a connection is forwarded, the remote IP address is geographically checked against city, region (state), and/or country. Distance (in miles) can also be used. If this condition is satisfied, a Duo 2FA request can then be sent to a mobile device. The connection is only forwarded after Duo has verified the user.

https://github.com/jftuga/gofwd

← PreviousPage 4 of 10Next →