HNHacker News
TopNewBestAskShowJobs

internet_points

2,303 karma · joined November 15, 2024

submissionscomments
internet_points··on Omnilingual ASR: Advancing automatic speech recognition for 1600 languages
what is the "Penguin" language?

Also, 1.6k < 6k, and I highly doubt this model is anywhere near as good as it is on EU languages for most of them.

internet_points··on Vibe Code Warning – A personal casestudy
Looking forward to when we have compiler code written by llms. How hard would it be for a rogue llm provider/employee to channel the spirit of ken and inject little trusting trust attacks, if no one is reading the code any longer? (How likely is it to go off on such a tangent its own, after writing thousands of mind-numbingly boring lines of assembly code, given the existence of many such proof-of-concepts in its training set and the copious examples of temporary llm insanity?)
internet_points··on We chose OCaml to write Stategraph
I should have specified. I wasn't asking about OCaml vs Haskell in general[0], but what advantage does OCaml have with respect to concurrency?

[0] I think most people just end up post-rationalizing whatever choice they have already invested in, I know I do :) With that in mind, maybe I as a mainly-Haskell dev should instead list some things I miss from OCaml: faster compile times, non-recursive `let` by default, polymorphic variants, labeled arguments

internet_points··on Lee Felsenstein
> Felsenstein was influenced in his philosophy by the works of Ivan Illich, particularly Tools for Conviviality (Harper and Row, 1973). This book advocated a "convivial" approach to design which allowed users of technologies to learn about the technology by encouraging exploration, tinkering, and modification. Felsenstein had learned about electronics in much the same fashion, and summarized his conclusions in several aphorisms, to wit – "In order to survive in a public-access environment, a computer must grow a computer club around itself." Others were – "To change the rules, change the tools," and "If work is to become play, then tools must become toys."
internet_points··on We chose OCaml to write Stategraph
Back in the day, before git, we had RCS. Developers would just lock files when they worked on them, and then unlock when they were done. Or you'd copy a folder manually ("branch") to work on things concurrently and then punch them in the shoulder when they forgot to unlock master so that you could lock it and check in. It worked absolutely fine, there were loads of workarounds!
internet_points··on We chose OCaml to write Stategraph
What advantage does OCaml have over Haskell here? I find software transactional memory in Haskell so simple to work with that I have lost all fear of concurrency, but what am I missing out on?
internet_points··on Lessons from Growing a Piracy Streaming Site
His https://prison.josh.mn/self page was remarkably interesting and insightful. Some nuggets:

> Contrast what society says rehabilitation is versus what it actually feels like. How much of it depends on luck, personality, or privilege?

> people want linear redemption stories, but real self-improvement is messy, nonlinear, and impossible to A/B test.

> There's a certain freedom in owning your story publicly. People can't weaponize what you've already made peace with.

internet_points··on How I am deeply integrating Emacs
they're nice and short, but note that the latest one is 8 years old ;-)

(though https://www.youtube.com/@emacsrocks has newer stuff by the same person, seems like game dev in clojure and emacs)

internet_points··on How I am deeply integrating Emacs
My "main" org file is 21k lines, it's no problem at all. My laptop is from 2017 or something.

I do sometimes work on files that are 300k lines (don't ask), and while it's mostly fine, once in a while I'll try to use some less common operation that's not very optimized and have to abort it (e.g. don't try to magit-blame that file). But stuff like searching, scrolling, editing, syntax highlighting are all fast.

If I have to open files >100M I sometimes open them in `fundamental-mode`, which turns off syntax highlighting.

For truly large files (gigabytes), there is the `vlf` (Very Large File) package, which doesn't load it all into memory at once, but still lets you search, scroll and even M-x occur (sort of like grep, but more integrated and editable).

Note that this is on Emacs 31 (there have been some major perf improvements in the last three or so releases, and more is coming with the new garbage collector)

In earlier days there were issues with very long lines; these have partly been mitigated in later releases; on the one hand by faster internals, but also a new builtin package `so-long` that can notice very long lines, default 10k bytes, where Emacs probably should give up syntax highlighting etc. to remain snappy.

internet_points··on Developers are choosing older AI models
Interesting. https://www.robert-glaser.de/prompts-as-programs-in-gpt-5/ claims GPT-5 has amazing!1!! instruction following. Is your use-case very different, or is this yet another case of "developer A got lucky, developer B tested more things"?
internet_points··on The Hacker’s Manifesto (1986)
and then 4chan happened, and "hackers" started looking like https://krebsonsecurity.com/wp-content/uploads/2019/12/bogac... and running underpaid botfarms in Cambodia and this just feels hopelessly romantic and naive. What do kids like this do today, with constant internet access and no phone lines to tie up?
internet_points··on Learning to read Arthur Whitney's C to become smart (2024)
https://en.wikipedia.org/wiki/APL_(programming_language)#Har...

you would add a special "typeball" into your IBM Selectric Typewriter. Some pics:

https://www.duxburysystems.org/downloads/library/texas/apple...

https://pierce.smugmug.com/Misc/APL-Typeball/i-pjq6hWC

internet_points··on Learning to read Arthur Whitney's C to become smart (2024)
TIL `a ?: b`, that's actually pretty nice, a bit like Haskell's `fromMaybe b a` (or `a <|> b` if b can also b "empty")

and I do like `#define _(e...) ({e;})` – that's one where I feel the short macro name is OK. But I'd like it better if that were just how C worked from the get-go.

Very nice discussion at the end of the article. There are good things to be learnt from this code and its discussions even if you disagree with some or even most of the style.

internet_points··on Why Nextcloud feels slow to use
syncthing otoh barely even has a web ui, so it's really fast :-P
internet_points··on The problem with farmed seafood
? soy is a major ingredient in farm-fish food
internet_points··on GHC now runs in the browser
Hm, works fine here (Firefox on Ubuntu).

But getLine doesn't seem to be implemented, so there is output but not yet input :)

internet_points··on Photographing the rare brown hyena stalking a diamond mining ghost town
https://ichef.bbci.co.uk/images/ic/1024xn/p0m8k93b.jpg.webp like something out of Piranesi or Lovecraft
internet_points··on John Carmack on mutable variables
> you need the escape hatches

Isn't this a strawman? Even Haskell has unsafePerformIO and Debug.Trace etc. It just also provides enough ergonomics that you don't need them so often, and they "light up" when you see them, which is what we want: to know when we're mutating.

internet_points··on Text-Mode Games as First Haskell Projects
(2022)
internet_points··on Show HN: In a single HTML file, an app to encourage my children to invest
you should know haha :)
internet_points··on Show HN: In a single HTML file, an app to encourage my children to invest
is 15% realistic?
internet_points··on Board: New game console recognizes physical pieces, with an open SDK
I was about to say "this could make Ticket to Ride scoring so much easier" but then I see someone has actually made an app for that already https://www.reddit.com/r/boardgames/comments/q4vwdl/ticket_t... :)

Anyone tried just taking a picture of a messy Ticket to Ride-board with ChatGPT?

internet_points··on Tell HN: Azure outage
> What went wrong and why?

> An inadvertent tenant configuration change within Azure Front Door (AFD) triggered a widespread service disruption affecting both Microsoft services and customer applications dependent on AFD for global content delivery. The change introduced an invalid or inconsistent configuration state that caused a significant number of AFD nodes to fail to load properly, leading to increased latencies, timeouts, and connection errors for downstream services.

> As unhealthy nodes dropped out of the global pool, traffic distribution across healthy nodes became imbalanced, amplifying the impact and causing intermittent availability even for regions that were partially healthy. We immediately blocked all further configuration changes to prevent additional propagation of the faulty state and began deploying a ‘last known good’ configuration across the global fleet. Recovery required reloading configurations across a large number of nodes and rebalancing traffic gradually to avoid overload conditions as nodes returned to service. This deliberate, phased recovery was necessary to stabilize the system while restoring scale and ensuring no recurrence of the issue.

> The trigger was traced to a faulty tenant configuration deployment process. Our protection mechanisms, to validate and block any erroneous deployments, failed due to a software defect which allowed the deployment to bypass safety validations. Safeguards have since been reviewed and additional validation and rollback controls have been immediately implemented to prevent similar issues in the future.

So, so far they're saying it's a combination of bad config + their config-validator had a bug. Would love more details.

internet_points··on AI, Wikipedia, and uncorrected machine translations of vulnerable languages
The AI slopwave is about as close to natural linguistic evolution as world war 2 was to natural selection (..aaand there we hit godwin's law, I'll see myself out)
internet_points··on Passwords and Power Drills
Wonderful. Anyone read the full book? Is it all this good? :-)
internet_points··on Scripts I wrote that I use all the time
on my ubuntu, `date -I` does iso dates

Also re: alphabet

    $ echo {a..z}
    a b c d e f g h i j k l m n o p q r s t u v w x y z
internet_points··on Scripts I wrote that I use all the time
`line 10` can be written as `sed -n 10p` (instead of head+tail)
internet_points··on Scripts I wrote that I use all the time
With `xsel --clipboard` (put that in an alias like `clip`), you can use the same thing to replace both `copy` and `pasta`:

    # High level examples
    run_some_command | clip
    clip > file_from_my_clipboard.txt
    
    # Copy a file's contents
    clip < file.txt

    # indent for markdown:
    $ clip|sed 's/^/    /'|clip
internet_points··on If you'd built a "tool" that stupid, why would you advertise the fact?
they scrape, wheedle, pilfer and mooch off other people's good work
internet_points··on Just Use Curl
TIL about jo, why did I not know about that ten years ago

    $ jo details[author]=Dickens details[age]=dead books="$(jo -a 'Oliver Twist' 'Great Expectations')"
    {"details":{"author":"Dickens","age":"dead"},"books":["Oliver Twist","Great Expectations"]}
← PreviousPage 13 of 25Next →