HNHacker News
TopNewBestAskShowJobs

shpx

2,621 karma · joined December 15, 2013

submissionscomments
shpx··on Divers recover Phoenician shipwreck that sank 2.6k years ago off coast of Spain
Preserved ancient shipwrecks are why I don't believe when people say some material "degrades in X years".
shpx··on GitHub introduces sub-issues, issue types and advanced search
Instead of these features I want them to stop spam issues on my repos. All the issues I've gotten in the last year on my project are completely nonsensical. It's not even spam it's just like random URLs or complete nonsense from freshly created accounts that aren't trying to sell anything or just the issue template. And every time it costs me 2 clicks to click on "report" then I have to type "spam", click the spam category, then I have to type "it's spammmmmmmmmmmmmmmmmmmmmm" to hit the 15 character report description requirement, then I have to solve a captcha. All this despite the fact that I've had a GitHub account for like a decade and I've filed like 30+ spam reports, none of which were frivolous.

I opened GitHub after typing this comment and there it was, a notification from an obvious bot account opening an issues that's just 5 meaningless Korean letters with no description.

shpx··on Ask HN: What do you look for in a work monitor?
I just buy whatever Apple sells. I would get the Pro Display XDR but it's too expensive and the Studio one is still great. It has good DPI and colors, good size, power over USB-C (so I just have one wire on my desk) and most importantly when you rotate the display it switches between portrait/landscape automatically with an accelerometer. And I like not having to research dozens of different models.
shpx··on Ghostty 1.0
I uninstalled the app when I saw that Cmd+, opens an empty text file called config.

I'm not going to learn more configuration languages or type 30 characters (or paste them from the browser) to toggle a binary setting.

shpx··on Ask HN: What were the best books you read this year?
The Machinery of Life by David S. Goodsell - it's a short microbiology book with paintings and renders of molecules and molecular processes. It's easy to read and imagining biology is straightforward when you can just see the molecules. I heard about it from https://news.ycombinator.com/item?id=40103590
shpx··on Don’t look down on print debugging
If anything the effectiveness/necessity of manually adding print statements to get any feedback about what the program you're working on is doing makes me look down on software development in general.

We are working on a system that could have nearly total visibility, down to showing us a simulation of individual electrons moving through wires, yet we're programming basically blind. The default is I write code and run it, without any visual/intuitive feedback about what its doing besides the result. So much of my visual system goes completely unused. Also debuggers can be a pain to set up, way more reading and typing than "print()"

shpx··on OpenStreetMap's New Vector Tiles
I can't believe they still haven't added a 2x pixel density version of the default map style. It's $CURRENTYEAR and we all have high pixel density phones. No one uses 1080p displays anymore. The default blurry version makes any page using OSM feel amateur.
shpx··on My Time Working at Stripe
It means whatever you feel like it means given how you feel in the moment/situation. It's not a task you can fail.
shpx··on Please Don't Make Me Download Another App
> If you need an app for something brief but specific, delete it after you’re done

Amusingly, you've just described a web browser.

shpx··on Bop Spotter
Setting up a hidden microphone that is constantly streaming to a server that is recording it forever should be illegal, if it isn't already.
shpx··on Ask HN: What have you built with LLMs?
I've been coding more in C because ChatGPT makes it less tedious. Any simple command line tool I will usually write in C now instead of Python because the end result is way faster.
shpx··on Mpv – A free, open-source, and cross-platform media player
On my Macbook Air, mpv adds an orange tint to videos so I hate when I have to use it because it's the only player that can play a file I downloaded.
shpx··on Leaked payroll data show how much Valve pays staff and how few people it employs
I've been joking that Steam on macOS is so bad that there must be no one at Valve who has used it because there's no way you ship such brazenly slow software knowingly, but with 79 people this is actually probably true.
shpx··on Why we no longer use LangChain for building our AI agents
People call the first actually useful thing the first thing, that's not surprising or wrong.
shpx··on Can Apple Rescue the Vision Pro?
You can't write apps for the Vision Pro on the Vision Pro. As a computer it is less powerful than the Apple II
shpx··on Ask HN: If you are starting in 2024, what is the most productive solo dev stack?
When I clicked that link I saw a flash of unstyled content, so that's immediately worse than HTML.

My point was that if you count the time spent looking for the perfect renderer, HTML is faster and easier to write than Markdown unless you're writing a book. You just added another option someone has to spend time evaluating to the pile.

shpx··on Ask HN: If you are starting in 2024, what is the most productive solo dev stack?
I spent hours researching the right Markdown to HTML renderer. Writing HTML by hand would've been faster. There's dozens of these frameworks and none are perfect.
shpx··on Arm64 on GitHub Actions
It's not free.

> Larger runners are only available for organizations and enterprises using the GitHub Team [$4 per user/month] or GitHub Enterprise Cloud [$21 per user/month] plans.

shpx··on This Message Does Not Exist
Pending and rolled back are different transaction states. The former uses resources and locks and can prevent other transactions from happening.

Rolling back a transaction twice probably indicates an error in your program, which Go's API is giving you a chance to report to yourself.

Ultimately every network request can fail because of the Two Generals' Problem. Actually, every single operation on a computer can fail (as in, do something other than what you were promised or promised yourself it would do). Nothing in life is guaranteed, the environment is adversarial. The fact that we create machines that can be predicted with 0.00000000001% certainty and carve out a safe environment for them and feed them energy is not common and unnatural and all computers will also eventually succumb to entropy. The network is just where that is common enough that considering that another computer can die in our programs can be more useful than completely ignoring the possibility. This possibility is represented as a non-zero number called "error" in the Go API you've posted, so that you have the option of branching your program to a different execution path if the database you're communicating with stops existing or at least stops being reachable.

shpx··on AdFlush
The first thing you see when you open Firefox is an ad for Amazon and Expedia.
shpx··on The Route of a Text Message (2019)
Should also mention that it's almost certainly recorded for all time for the government.
shpx··on Ask HN: What's an interesting, esoteric programming field?
Reversible computing. The laws of physics are time reversible but our computers aren't. Quantum computers need to be reversible. Debugging might be easier if we could rewind programs. There are reversible programming languages.

https://en.wikipedia.org/wiki/Reversible_computing

shpx··on Cubic millimetre of brain mapped at nanoscale resolution
If you can preserve and scan the tissue in a way that lets you scan the same area multiple times you wouldn't need to digitize the whole thing. Put the slices on rotating platters with a microscope for each platter and read parts of the brain on demand. It's a hard drive but instead of magnets storing the bits of an image of the sample, it's the actual physical sample.
shpx··on Did we lose our way in making efficient software?
Web apps are much faster to install and update.

1) Your browser is always open, whereas you need to close your current app and open the app store app

2) Google Search is better at giving you what you want in the fewest number of keystrokes than any search from any other company including app store search boxes

3) installing a "web app" is one click after the google search results or if someone posts a link. As you might know from social media, even one click is a lot and most people won't click links in a comment. In the apple app store i have to tap on the app in the search result, tap install, double click the lock button, scan my face then wait many seconds. Some websites load in many seconds but that's not that common and it's considered a bad website

4) software is reinstalled on each use, meaning it's always updated. Native apps update randomly with a big delay and I have to check if there's an update manually sometimes

5) with native software there's a risk it will not support your device. Risk is commonly expressed as a cost, so the fact that in my life I've searched for an app and found out that it's not supported on iPad or not supported in my country can be counted as every single app store download since then took me .1 seconds longer because I now know there's a risk I will waste my time looking for the app. Web apps also don't work sometimes but it's more predictable since it's usually tied to real limitations like the screen size of your device. Another risk is malware, I feel nervous and powerless when installing native software because I don't know who I'm giving access and to and to what, whereas I understand what web apps can track. and also the fact that it's HTML and JavaScript instead of opaque assembly instructions makes ad blockers possible and cheap

Installation is an integral part of using software, and a big the reason the web won and continues to win.

shpx··on PEP 686 – Make UTF-8 mode default
> On encoding the utf-8-sig codec will write 0xef, 0xbb, 0xbf as the first three bytes to the file

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

The codec you're imagining would also make reading a file and writing it back change the file if it contains a BOM.

shpx··on PEP 686 – Make UTF-8 mode default
This is about when you ask Python to open a file "as text", what encoding it will use by default. The internal representation of strings is a different matter and, like JavaScript, Python doesn't "just use UTF-8" for that.
shpx··on Ask HN: What are your favorite tiny, single purpose tools?
You can't make a single typo in Bash and also the browser makes aliases for you automatically based on usage, whereas Bash aliases require thought and maintenance.

So it's Bash that is slower ("heavyweight") if you count how many neuron firings it takes and how much these gigantic, slow write heads (fingers on a keyboard) have to move through space as part of the system. Computer scientists haven't been able to make a language with any sort of error recovery because "it would be non-deterministic" but Google (guided by capitalism) was able to see that's what people need. Google search is a programming language/shell.

shpx··on Creating sexually explicit deepfake images to be made offence in UK
> Who's the judge of similarity?

The judge.

https://en.wikipedia.org/wiki/I_know_it_when_I_see_it

The justice system is a computer made out of humans executing written programs called laws. As we've seen from decades of computer vision research, writing out an image classifier in a finite set of symbols is intractable. So instead the justice system queries an oracle (a human) to do the image classification.

Maybe in the future there will be a way to compile a learned image classifier into a set of directions in English and we will have laws that are followed by pages of what is essentially a small artificial neural network represented as an English flowchart, but I doubt it, that sounds dumber than asking a person to do it. You just have to make sure you're picking the right person to do the deciding.

shpx··on Home insurers are dropping customers based on aerial images
If insurance was just about pooling risk, an insurer that had perfect information about the future would pool everyone into a one-man pool and charge everyone the price of their damage for the year +1 cent for itself.

But that's not what would happen. You would still have insurance because what we really have is 8 billion people in the world (or 300 million in America or 10 million in your state or 1 million in your city or 500 in your neighborhood/village) and each person in that group of people derives some utility from other people in that group not having to pay full price for their broken roof, whether that's because when you go talk to your neighbor he's not complaining about his roof all day or because your neighbor is your doctor and you want him in the hospital instead of running around trying to fix his roof all day or sitting at home wet because he can't afford it. The total amount of that utility multiplied by how much money the entire group makes might be less or more than the price of roofs for everyone in that group.

So it's both. You're trying to discover the network of people (or create/convince that network, sometimes by threat of violence in the case of government-mandated insurance) in whose interest it is to redistribute their wealth to a given person.

shpx··on The Mongolian Meta
The Mongolian photos are from 2015/2016, so not too quickly.
← PreviousPage 3 of 25Next →