HNHacker News
TopNewBestAskShowJobs

hks0

187 karma · joined September 22, 2024

submissionscomments
hks0··on MarkItDown: Python tool for converting files and office documents to Markdown
It doesn't confuse anyone, quite the opposite. The irony for me was my own isolation with the non-tech folks.
hks0··on MarkItDown: Python tool for converting files and office documents to Markdown
Exactly! Hence the "please don't try product design role" advice for me. I seem to live in an all-engineers bubble.
hks0··on MarkItDown: Python tool for converting files and office documents to Markdown
This is amazing and really useful, love the idea; but let me tell you a story, it's a bit of a tangent but relevant enough:

In an online language class we were sending the assignments to our teacher via slack, the teacher would then mark our mistakes and send it back.

I, as a true hater of all the heavy weight text formats for everyday communications, autonomously fired up the terminal, wrote my assignment in my_name.md and happily sent it without giving it any thought. This is what I hear the next session:

"... and everybody did a great job! Although someone just sent me their assignment in a stupid format. I don't know what it was! I could neither highlight it or make the text bold or anything. Don't do that to me again please".

Before that I never dreamed of meeting someone who preferred a word document _after_ opening a .md file, and I also learned if I had chosen product design as a career, everyone would've suffered immensely (or maybe not, I would've just ended up jobless).

hks0··on Message order in Matrix: right now, we are deliberately inconsistent
Human communications are more naunced than DB transactions. If I forget to mention something important I send a new message rather than editing the already sent one, to make sure I catch their attention. Edits can go unnoticed. Imagine this scenario:

[12:00 / sent] Sell the house.

[12:05 / failed] Please feed the baby.

[12:06 / sent] Oh and the cat too.

Now the receiver's going to sell my cat [example inspired by The Art of Multiprocessor Programming].

hks0··on Rails is better low code than low code
Low code starts failing when one expects it to go turing complete. I also experienced the reverse (unfortunately) a couple of times until I gave up: Can we teach basic python to non-programmers in a 1-week workshop, so they can automate boring tasks without needing the developers? Answer: No.

And once I switched from trying to teach python, to just using click-clicky through Zapier or alike, people started to be way more productive without having to deal with us pesky programmers directly. Zapier does have big limitations, but people got creative on how to overcome them. Python would've consumed all their mental energy leaving no room for this. And they did create some hard to maintain horror in the UI, yet it had lower cost thanks to people's self sufficiency.

The article's conclusion says:

> Also, if you’re not a programmer, then absolutely, low code is great. But if you’re reading this article, you’re probably a programmer. So, why are you even thinking about it?

And I would like to add: If you _are_ a programmer, then absolutely, coding is great. But otherwise, why are you even thinking about it?

hks0··on Map UI – Ghost in the Shell
I don't think OP finds it not cool; otherwise he would had forgotten the scene long ago.
hks0··on PRoot: User-space implementation of chroot, mount –bind, and binfmt_misc
Ah no, sorry I was so lost in my thoughts and explained badly.

I was taking in the context of Termux app for Android, nothing to do with proot itself. Termux uses apt and deb repos, and provides a patched proot. I wanted to add a package similar to one I linked.

hks0··on PRoot: User-space implementation of chroot, mount –bind, and binfmt_misc
proot works by hijacking and altering syscalls. So maybe you could emulate the symlink yourself, by altering the file paths at ptrace level?

Thinking more, maybe it works out of the box? Just mount the overlays (there's a cli flag IIRC) and proot takes care of syscalls by definition.

hks0··on PRoot: User-space implementation of chroot, mount –bind, and binfmt_misc
Termux has now a nice wrapper (manager?) for proot [1]. I once wanted to submit a wrapper but got an angry response as the first comment to my PR and it was closed. Guess enough people did that until they decided maybe it's not a bad idea after all.

[1]: https://github.com/termux/proot-distro

hks0··on 'The Best of All Possible Worlds' Review: Leibniz Lives Again
Very interesting read, Thanks!

If I'm reading that article correctly, the criticism to Gödel is the same criticism I had for Leibniz:

> A proof does not necessitate that the conclusion be correct, but rather that by accepting the axioms, the conclusion follows logically.

> Many philosophers have called the axioms into question.

hks0··on 'The Best of All Possible Worlds' Review: Leibniz Lives Again
> Leibniz challenged “humanity to participate in the work of striving toward perfection,”

> Because the world is the creation of a perfect being, it can achieve only the “best possible” state short of divine perfection.

That's a lot of presumptions: That the creator is perfect, there is even a perfect, what I (Leibniz) call perfect is the god's/gods' perfect, ... while not giving a frame of reference.

I find this a common theme for those who are struggling to marry religious beliefs with logic.

hks0··on Bocker: Docker implemented in around 100 lines of Bash (2015)
True! A tablet and an ext-keyboard do a much better job (Although I wrote bag.sh out of boredom while stuck in a beer-less airport waiting for a delayed flight; I hope I won't have to actively plan for this setup again)
hks0··on Bocker: Docker implemented in around 100 lines of Bash (2015)
I did something (slightly) similar via proot, called Bag [1], which I must have not described as a docker alternative: It has nothing to do with cgroups, and the cli deviates from that of docker's.

The backstory: To bypass internet censorship and deep packet inspection, I had written a proxy chain solution masquerading itself as plain html traffic. I needed it constantly running everywhere I went, but I didn't want to port it to a native android app. I wanted to run it through termux and at the time termux had no jdk/jre. Proot could spawn a archlinux env and there indeed was a jdk available.

The arch env within termux turned out to be generally more suitable for all tasks. Creating and destroying ephemeral envs with different setups and prooting into them to just run a single command is easily automated with a script; I named it bag.sh, a drastically smaller form of a shipping container.

Funny bag.sh also has a roadmap/todo in there untouched for 5 years! It's written on mobile screen hence mostly formatted to 40 columns lines to fit on the display without scrolling.

[1]: https://github.com/hkoosha/bag

hks0··on PHP 8.4
That advice doesn't always work in real life; otherwise for every compiler or linter check in any language, we could drop all those checks and tell the programmers not to do that.

E.g. if a base class declares a variable it can potentially break its children. Whose at fault here?

I agree with your original comment though. And if the bypass of exisitng fields is badly wanted, somehow marking __get to disregard them makes more sense to me.

hks0··on 20 years of Google Scholar
Not everyone's cup of tea, but quite nice if one can afford it: I have my personal domain and a catch-all inbox. So if I want to register at acme-co.xyz I will just use acmecoxyz@my-domain.tld

Maybe I should start using random words though? Wonder if someone will go bananas seeing their brand's name on my domain.

hks0··on Huawei developing SSD-tape hybrid amid US tech restrictions
I think makes perfect sense for archiving. I keep hearing tapes last 30 years, while in the same room temperature SSDs last a few years. Just wish I could find a solid source for it!
hks0··on Manjaro is experimenting with **opt-out telemetry
My impression comes from the switch-to-systemd era too, but systemd was never my problem. It was that my desktop never ran as smoothly as my colleagues' Manjaro and I finally gave up.

But you make me think... I should give Arch one more try before giving up!

hks0··on Manjaro is experimenting with **opt-out telemetry
Because I wasn't aware of such decisions being made (my fault, of course).
hks0··on Manjaro is experimenting with **opt-out telemetry
Maybe, but it's a slipery slope. They could make it worse in a month, and worse the next month and so on.
hks0··on Manjaro is experimenting with **opt-out telemetry
Quite sad news. As a long time contributor, I was going to bump my monthly donations to 50€ per week, and gradually increase up to 100€ later, as a small help for the community I heavily rely on but can't contribute in other ways.

But now the subscription is canceled, and I have to look for migration options (there will be pain). Maybe Debian is the safest? I don't have much time these days to maintain or install Arch, or even have time to keep an eye on telemetry gathering practices of my OS.

hks0··on One Plus One Equals Two (2006)
> It's a simple way to highlight how different perspectives can lead to vastly different conclusions.

But 1+1=10 and 1+1=2 are not different conclusions, they are precisely the same conclusions but with different representations.

A better example might be 9 vs 6 written on the parking floor: depending on where you're standing, you'll read the number differently (and yet one of the readings is wrong).

hks0··on Cold war spy satellites and AI detect ancient underground aqueducts
I lived in the city where it had the largest number of Qanats. Amazingly, they could still be used today as an efficient means of water transport, but the government has ruined them already, with sewage water, lack of maintenance, etc (what hasn't they ruined...)
hks0··on Is this the civilization we want? (2017)
That's a lot of assumption about how one uses the end result, and doesn't say anything about the creation itself.

What if I guide the machine to create something new that I personally could never have on my own, yet never share it with anyone?

It's a prosthetic leg for my brain, whose expected function is both ego and creativity.

hks0··on Is this the civilization we want? (2017)
Quite the opposite: if the caveman hadn't drew some engravings on the wall, then Picasso had to do it, without ever getting to the cubism. He got to start the movement because he had thousands of years of previous work to get inspiration and learn from.

That the machines can create or not, is a different question.

hks0··on Is this the civilization we want? (2017)
> Are you saying that we all have the innate ability to create art, and that anyone who creates art has a "handicap"?

I meant that (specifically) I, don't seem to have that innate ability everyone else seem to have, but I still feel the urge to express myself through art. Feels like wanting to shout, when you have no voice.

I make the AI write stories for my own amusement, by describing each scene that AI turns into a paragraph of the final story. I always failed at writing before, and no amount of practice helped, but now I have a prosthetic leg that I can walk with.

> If you let AI make the art they people will never learn how to make art.

I don't agree. We have cars, but people still cycle, or join a marathon. And it makes their activities even more meaningful, they do it for the sake of itself.

Or maybe they won't learn. But why should we force them? They can choose.

> To be able to be whatever you want while you are alive is going to make every human useless

This one I agree! I compare it to the industrial revolution, it made human workers irreverent. Would've made sense to stop the progress because of that?

The AI is much worse though, it seems to make everyone and everything meaningless. But stopping AI to keep ourselves relevant, is very fake.

I think it's a though question, and though I don't have the answer, I dont think the answer is stopping the AI either.

hks0··on Is this the civilization we want? (2017)
> Do generative interfaces -- replacing creating with searching -- bring a person closer or further from feeling like they have touched the limits of their creative potential and created something truly from their heart? ...

> Why is a machine "discovering" cubism a good thing?

Maybe because creativity in this space was exclusive to a few, but now I get to at least imitate it. A machine doing the creativity part could act like a prosthetic leg for my brain, who was missing it altogether.

Sure, I'll never be Picasso myself, but I don't have to wait for one to be born either. The tool can find new ways for me to express myself.

← PreviousPage 2 of 2