Better HN
topnewbestaskshowjobs
Log inSign up

moses-palmer

73 karma · joined Nov 7, 2016 (10y ago) · 22 submissions

Submissions

comment 1mo ago · link · parent

I have been using Linux / GNOME as my primary environment for the last 20 years, but at my current job, that was not an option, so I'm on macOS.

I tried for a week to get used to the unfamiliar key bindings for text input, but then I gave up—I'm a vim user after all!—and found a system setting to use the bindings I am more familiar with. This was picked up by many applications, but notably _not_ by the Microsoft suite, which appears to have the default macOS bindings hard coded...

comment 6mo ago · link · parent

Well, to be fair, then it's precisely a theoretical concern about hardware sovereignty.

comment 1y ago · link · parent

How curious! So am I, and that is the project that I am the closest to regretting open sourcing.

I made the mistake of also implementing keyboard and mouse monitoring---you know, so I could write automated tests for the input parts!---and over the years it has turned into an endless source of feature requests, bug reports and also general questions about the Python programming language and its ecosystem.

Input events truly are horrible to provide a platform independent abstraction over, but in the end seeing people use it, make YouTube tutorials and discuss it on Stack Overflow make it worth the time spent.

comment 1y ago · link · parent

I don't speak Farsi, but some Arabic, and the Farsi alphabet is related.

The letters are completely different in pronunciation: with one dot, it's like the English letter B, and with two it's either like Y or the pronunciation of double E.

comment 2y ago · link · parent

I, personally, think you can have nice things like this and they will not get abused. If the right to forage mushrooms on a non-industrial scale, or to walk along the shore next to a house without disturbing the inhabitants is given, in my experience people will respect the limitations.

It appears that the laws where I live are quite similar to those in Estonia in this aspect, and I have never heard of any real abuse.

comment 2y ago · link · parent

I read the article twice, because the link title made me think that I as an open source contributor and publisher liable for complaints.

My reading of the text is that the one actually selling the software product is the one having to abide by this law. Am I incorrect?

How could this be negative? I presume that most publishers of open source software would prefer that some Silicon Valley Unicorn did _not_ half-heartedly integrate their library, causing security issues and tainting their library name?

comment 2y ago · link · parent

Yeah, I was hoping the `clap` macros would perform some unthinkable magic there... I will have to update the help with a listing.

In the mean time, have a look here[1] for the possible values.

[1]: https://github.com/moses-palmer/labyru/blob/7b92be3ae279a9ff...

comment 2y ago · link · parent

The main application is actually a thin wrapper around a library that does exactly that, so the best way would be to not perform the final step of turning the data structure into an image.

comment 2y ago · link · parent

A kind soul contributed an update to the README---basically the output of `cargo run --bin maze-maker -- --help.

I guess today's lesson is: do promote your personal project even when it's semi-arsed, because people on the Internet are mostly kind and will help you improve your documentation!

comment 2y ago · link · parent

No, you'll have to exercise your own CPU I'm afraid!

comment 2y ago · link · parent

This, I presume, it's the perfect opportunity to promote my own maze generator[1], which incidentally is a Real Application that you can run on your own computer, and the output of which you own!

Like the linked application, it supports triangular, rectangular and hexagonal grids, and different generation algorithms, which can be combined for various areas of the final maze. It also supports background and mask images to colourise rooms and provide a shape for the maze, as well as a small selection of effects to apply. The output format is either SVG or PNG.

And for that extra HN cred, it's written in Rust (which you are free to ignore if you're not into RIIR, but this is in fact a rewrite of an earlier Python project of mine)!

[1]: https://github.com/moses-palmer/labyru

comment 3y ago · link · parent

Ah, this brings back memories!

A long time ago I maintained a fascination with this, during which I made an application to interactively explore a labyrinth using animated auto-stereograms.

If this tickles your fancies, you can find the code here: https://github.com/moses-palmer/InAmazing3D. Please keep in mind that it apparently hasn't been touched in ten years, and the project used Code::Blocks, so if you want to try it, you will probably have to create Makefiles. If you enjoy this kind of thing, it's worth it though, as you get to control a ball moving through a labyrinth!

comment 4y ago · link · parent

My favourite part of the article, hailing from a part of the world _sans raton laveur_, was the explanation of "Raccoon trouble" for purchasing a lot of potatoes. What's with raccoons and potatoes?

comment 4y ago · link · parent

it is not missing: https://extensions.gnome.org/extension/3210/compiz-windows-e.... My eldest son has it running on his account, and I predict that later today those wobbly windows will also burn... EDIT: correct extension

comment 5y ago · link · parent

And of you would consider it taboo, would you still if the same generic sequence were found in another species?

comment 5y ago · link · parent

I find it curious that somebody so invested in recreating a medieval mead does not put in the extra effort of procuring long pepper and grains of paradise---those are certainly spices always present in my spice box.

I have never made mead myself however. Are the spices of so little consequence to the final flavour?

comment 5y ago · link · parent

I think supply is not the only thing to consider. I suffered a SARS-CoV-2 infection around Easter, and received my first vaccine dose a week ago.

The days after that I felt much worse that when I had the actual infection, albeit for a shorter time, so I personally would appreciate an official recommendation to not have to take the second dose.

comment 9y ago · link · parent

A friend of mine aliased `git status` `git statsu`; I, being lazier, chose `git st`. Any time saved I lost by not copying his other alias, `c = commit -amSTUFF`...

comment 9y ago · link · parent

What about gettext _N? I have used a library with a similar interface, and we didn't even get complaints for Slavic languages with very complex pluralisation rules.

comment 9y ago · link · parent

I think that the reasoning against shipping apples across the globe is that consumers do not pay the full price; one might argue that the transportation is subsidised by our extraction and burning of oil at a rate much quicker than it is formed

comment 10y ago · link · parent

Thank you :-) I have been silently reading linked articles and comments here for a couple of years; apparently I needed a reason to push my own semi dormant project as well as an actual computer to finally register.

comment 10y ago · link · parent

I have had that as a low-intensive side project for the last three years. It's amazing how responsive a virtual touchpad you can create using touch events + HTML 5 + websockets!