HNHacker News
TopNewBestAskShowJobs

cabalamat

6,970 karma · joined March 29, 2008

You might want to check out my CatWiki personal wiki / notes app:

https://github.com/cabalamat/catwiki_p3

submissionscomments
cabalamat··on Sora: Creating video from text
I suspect what was meant is something like 500% VAT, where if a generative AI charges a customer $6, then $5 goes to the taxman and $1 to the AI company.
cabalamat··on Sora: Creating video from text
$100T in 2022 according to the World Bank.

https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nomi...

cabalamat··on Sora: Creating video from text
Or to put it another way, one month's worth of world GDP.
cabalamat··on Sora: Creating video from text
> 100% they would pay a lot of money to be able to hang out with Joe Rogan, or some only fans person, and those pornstars or podcasts hosts will never disagree with them, never get mad at them, never get bored of them, never thing they're a loser, etc.

I think immersive games will also be a big application. Games AI will also benefit from being more strategically intelligent and from being able to negotiate, in a human-like fashion, with human and other AI players. The latter will not only make games better, it will also improve the intelligence of AIs.

cabalamat··on YC: Requests for Startups
A pity the USA couldn't do the same to Elizabeth Holmes.
cabalamat··on Perun2 Programming Language
There's a bash example on the home page, so it wasn't obvious to me it's windows-only.
cabalamat··on Finding a new software developer job
> In the first one I failed, I had to write a limited chess program, that only supported two kinds of pieces. It needed a project structure, a data model, valid movements for the pieces, and tests. I started from nothing, and had to be send the solution in within two hours.

I've written programs to play chess and I doubt I could do this in 2 hours. If I did do it, it would be horrible buggy code.

cabalamat··on A search engine in 80 lines of Python
Short names are OK if they are explained somewhere. I often explain them in a comment at the start of a class or function.
cabalamat··on A search engine in 80 lines of Python
Fair enough
cabalamat··on A search engine in 80 lines of Python
Looking at the code (src/microsearch/engine.py), we have:

    class SearchEngine:
        def __init__(self, k1: float = 1.5, b: float = 0.75):
            self._index: dict[str, dict[str, int]] = defaultdict(lambda: defaultdict(int))
            self._documents: dict[str, str] = {}
            self.k1 = k1
            self.b = b
I've no idea what `k1` or `b` are. Nor is there a single comment in the entire file. Are comments considered unfashionable these days?

Looking at `_documents`, I'm guessing the keys are URLs and the values contents of those URLs, but i might be wrong.

The whole thing looks like it would've been a useful resource for people to learn how to build search engines with, that people could build on, had the writer been bothered to document it. But as it is I'm disappointed with the poor code.

cabalamat··on Prediction markets have an elections problem
Indeed. Couldn't the whole article just be replaced by the phrase "transaction costs"?
cabalamat··on Escaping surveillance capitalism, at scale
That works too.
cabalamat··on Escaping surveillance capitalism, at scale
> I think they really need to solve redundancy

They could offer a service that backs up your local Umbrel server to their central servers. This would provide reassurance that your data is backed up, and give them a revenue stream.

cabalamat··on Tell HN: How an elderly couple I know had their computer 'stop working'
I always use a wired keyboard/mouse. Less to go wrong.
cabalamat··on Tell HN: How an elderly couple I know had their computer 'stop working'
> The user is currently using an input device when they see this message.

Surely they are using an output device, the screen?

cabalamat··on ‘This Has Been Going on for Years’: Boeing’s Manufacturing Mess
More simply: don't outsource activities that have a complex interface to your organisation.

Having to write complex specs for an outside organisation to implement is an anti-pattern, because:

- the more complex a spec the harder it is to write and understand

- there's potential for endless disagreements / lawsuits on what was actually promised and delivered

- the overhead of having a complex spec that must be understood by people in both orgs.

cabalamat··on Irish State announce plan to build a porn preference register for most of the EU
> This is the national internet regulator proposing that it would require that everyone, adult and children alike, would upload their state ID and live selfies, to porn sites to have biometric processing of their facial images performed. Resulting, amongst other things, in an effective register of porn preferences for adults and a collection of selfies of children kept by the porn sites for six years (required to prove they have complied with the regulation, you see).

I'm sure this data would never fall into the wrong hands or be misused :-)

cabalamat··on Irish State announce plan to build a porn preference register for most of the EU
No porn for you then.
cabalamat··on Things engineers believe about Web development
> Many didn’t know about new CSS features that had shipped 10 years ago. What’s more, even when we told them about them, they didn’t seem too excited. They were doing just fine with jQuery and WordPress, thank you.

...and if jQuery and WordPress do the job, they are sound technical decisions.

What is not a sound technical decision is forever chasing the latest fashion in technology. Also known as the "oh look a shiny thing development paradigm".

cabalamat··on Things engineers believe about Web development
> beneficial for those enthusiastic about SPAs

It's almost as if some developers choose technologies based on "what'll look good on my CV"

cabalamat··on Court decision barring Chinese student sends message about espionage risk
If any of the above have relatives in the PRC that could be used as levers to coerce the student into spying for China, then that's reason to be wary.
cabalamat··on Show HN: I made an app that consolidated 18 apps (doc, sheet, form, site, chat…)
> In Nino, pages and blocks are interoperable with each other

what does a "block" mean in this context?

cabalamat··on Buzz: A lightweight statically typed scripting language
> There are some syntactic quirks that don't convey any obvious benefit, like the use of '>' to indicate a return type. [...] why not use the much more common ':' or even '->'?

Agreed. New languages should use similar conventions to popular existing languages, for the sake of familiarity, unless there are obvious benefits to doing something else.

> Similarly, I understand the mimetic quality of '[str]' for 'array of str'

It's quite Haskell-like.

> but '{str, int}' doesn't have the same ring since key/value pairs are separated by ':'.

Indeed. `{str:int}` would be better.

cabalamat··on Tesla shares 48V architecture with other automakers
> as soon as you have electronics and bus systems DIY basically requires deep car electronics knowledge and skills.

So how is this done on cars? Dores each manufacturer have their own proprietary bus system (what i imagine), or is there a standard that everyone can use?

cabalamat··on The 8-bit era: Eight processor designs
> Don't they get feedback from users that we hate these annoying things?

I suspect they don't care.

cabalamat··on The feds' vehicle 'kill switch' mandate is a gross violation of privacy
> The system could be abused or hacked

E.g. by a hostile foreign power.

cabalamat··on The Small Website Discoverability Crisis (2021)
Is it possible to upload pages to neocities programmatically? I know you have a Ruby-based program to do so, but can i do it by ftp, http, or something similar?

The reason i ask is I've written (in Python) wiki software catwiki[1] that allows you to write wiki pages in Markdown. At some point I'd like to extend the program to generate a static site based on the contents of the wiki, and it would be nice to be able to automatically upload it to neocities.

[1]: https://github.com/cabalamat/catwiki_p3

cabalamat··on How Wikipedia became the last good place on the internet
> Someone who is judicious about their upvotes is going to have a much smaller impact than some who just reflexively upvotes or downvotes everything based on kneejerk reactions.

It would be very easy for websites to weight upvotes so that one from someone who seldom uses them weighs more.

cabalamat··on Use YouTube to improve your English pronunciation
> "YouTube voice," the narration style(s) that so many creators have picked up

I can't say I've ever noticed that -- do you have particular creators/videos in mind?

cabalamat··on Use YouTube to improve your English pronunciation
> There is a sizable contingent of English speakers out there that continue to insist that it’s incorrect to end a sentence in a preposition

That is the sort of nonsense up with which one should not put.

← PreviousPage 2 of 34Next →