HNHacker News
TopNewBestAskShowJobs

joveian

1,496 karma · joined August 21, 2013

submissionscomments
joveian··on Mozilla will be retiring the Mozilla Location Service
I can't remember the details but there was at least one larger HN thread on it so it should be easy to find. Enough people (including various police agencies) were confused that it caused major issues for the people who lived there.
joveian··on Mozilla will be retiring the Mozilla Location Service
Searching for the file name the default database seems to be MaxMind's free database:

https://dev.maxmind.com/geoip/geolite2-free-geolocation-data

They are the comany that infamously set the default US location to a farm in Kansas, causing all sorts of trouble for the people who live there. From the file name it sounds like classify-client is by default only trying to identify the country you are in.

I'm not seeing a browser.search.geoip.url setting, however I have geo.enabled set to false and various other setting that might cause that to not be present.

joveian··on Insult Passphrase Generator
Oh, I didn't know until now that Brussels griffon is a kind of dog. I got this one:

You ill-proportioned GI can of plagued Brussels griffon dribble

joveian··on Insult Passphrase Generator
It might make a slight difference or it might not, but you can't know that it will so best to assume that it doesn't. In practice the amount of computing power actually available is going to make much more difference than the method used.

IMO, pass phrases only seem useful if you have a quite insecure password. It is ideal to aim for 115-128 bits of entropy, which is not that bad with just random lower case letters and numbers (24 characters is good) but turns into a long and complex passphrase. To learn a random password write it down (split into groups of 6ish characters) and copy it from the paper for 2-4 weeks (do not try to guess until you are almost certain your guess is correct).

joveian··on Yuzu emulator developers settle Nintendo lawsuit, pay $2.4M in damages
Personally, I only get DRM-free games, which mostly means GOG at this point (they also have a better refund policy). They have some issues too but seem to be much better than any other game stores in terms of customer friendly policies (unless you really want Linux support). I definitely wouldn't switch to Sony or Microsoft from Nintendo, that would make no sense (surprisingly there are a few Sony published games on GOG, although the latest announced one was supposed to be released a few months ago now so I'm suspicious that Sony was trying to sneak some DRM in and got caught). Reguarding Steam some would argue the Linux support makes up for the DRM, although I can't agree with that. Most of the other small platforms I've seen have DRM but with little or no positive. Itch mostly has solo developer games, doesn't clearly indicate if a game has DRM or not but mostly has DRM-free games, and has no refund policy other than what individual developers decide to do. Humble used to have some DRM-free games but has moved away from that under current ownership.
joveian··on Weather.gov 2.0
Yes, I have a window manager hotkey to pop up the hourly weather image for my location in mpv, I recommend this as a good way to get a quick look at the weather today or tomorrow. I also have a shell alias to use kitten icat to display it in the terminal, although I use the mpv hotkey more. I also have a text weather alias in the terminal that just calls curl on the file that matches my location under:

https://tgftp.nws.noaa.gov/data/forecasts/zone/

I just looked through my state to find the right file but it looks like the "More Local Wx" link from the 7 day forcast page has the right name for the file (ORZ006 in my case).

I also have a few icat aliases to show radar; one for current, one for sequential, and one looping from this page (radar name same as on radar.weather.gov):

https://radar.weather.gov/ridge/standard/

However, I find the one hour accumulation view to be best and I couldn't find a way to get images for that view so I usually look at radar.weather.gov if it works (it has been working better lately but sometimes just doesn't work for me).

I haven't ended up looking at them often but I also made some icat aliases for 6-10 day and monthly temperature and precipitation outlook from:

https://www.cpc.ncep.noaa.gov/products/predictions/610day/

https://www.cpc.ncep.noaa.gov/products/predictions/30day/

joveian··on Dallol
I think the Christian idea of hell also come out of the Jewish Gehenna, which it sounds like was the name of an actual valley near Jerusalem which was associated with a (condemned in Judaism) practice of child sacrifice via fire.

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

Etheopia had one of the earliest Christian communities (that early on split from what became the larger group of Christians) so I could easily imagine Dallol being inspiration for the book of Revelation and/or otherwise influential in forming the Christian idea of hell.

joveian··on Bash Debugging
FreeBSD's /bin/sh is based on ash, like NetBSD's, although I'm not sure how much they have in common these days. dash was forked from NetBSD's version of ash and then simplified considerably and fixed up to be fully (? or at least mostly) POSIX compliant. A while after that NetBSD's shell also had a bunch of POSIX fixes. I'm not sure how FreeBSD's shell is in terms of strict POSIX compliance.

In my opinion, bash has two things (at least vs NetBSD's shell, possibly a few more vs POSIX) that make the average shell script (that I write) much easier. The first is &> which makes it easy to redirect both stdout and stderr to a file for logging. The standard 2>&1 can work but needs to be placed correctly or it doesn't work. That place isn't always the obvious place like it is with &> and running bash seems much preferrable to me than figuring that one out.

The second is ${var@Q} which prints var quoted for the shell, which is nice to use all over the place to make sure any printed file names can be copied and pasted.

My sense is that targeting POSIX is usually done for maximum portability or for use on systems that don't have bash installed by default. However, bash is quite widely available even if not by default and very widely used so I wouldn't say it is unreasonable to look at bash as the de facto standard and POSIX and other shells as being used in more limited circumstances.

joveian··on I turned my open-source project into a full-time business
There is a difference between a commercial effort and calling something commercial software, which often (usually?) refers to licensed per use (often per installed system) software. Open source must be freely redistributable, which means it can't have a per use license.

I think the main issue is the name. If a project is made more commercial or proprietary than it was before, please change the name (or additionally use a different name for the commercial/proprietary part, which seems to be common practice even when starting a project as partly open source). A clean break between different maintainers (particularly when a mostly single person effort) is a good reason to change the name too. Naming things is hard and it doesn't necessarily need to be all that different a name just something to reflect the change.

joveian··on Happy Birthday Lemmings
Not the pixel art style that you seem to mean but there is a recent lemmings 3D style game called Tin Harts. I haven't played it yet but it looks interesting.

https://www.gog.com/en/game/tin_hearts

Also, it is voxels rather than hand drawn pixel art but I thought Urbek did a great job at feeling like that era of game. It is as much a puzzle game as a builder (there are a number of levels of upgrade that require other buildings within a certain distance).

https://www.gog.com/en/game/urbek_city_builder

joveian··on Did the ancient Greeks and Romans experience Alzheimer's?
Sleep issues can be stress related but aren't always (and aren't in my case, at least at this point). Stress does seem to make everything worse though and I could see it playing a role in my family members developing dementia. I could potentially see sleep issues and stress triggering a process. I was thinking more along the lines of circadian issues since the immune system works differently at night so I could imagine that confusion over if it should be in night mode or day mode could potentially cause serious trouble.
joveian··on Did the ancient Greeks and Romans experience Alzheimer's?
How was their sleep? I have sleep difficulty (including a non-24 hour circadian rhythm) and significant early memory issues. I also have a family history of dementia (I only know anything about the sleep of one family member with dementia, who did have significant sleep issues). I did a quick search and found there are some signs of a potential connection and this seems to be under more intense research at this point.

Also, manual labor isn't the same as cardiovasular exercise and it is possible (and likely much easier these days with all of the powered machinery and transport) to not get much cardiovascular exercise despite a physically intensive job. Although I'm guessing even today a logger would.

joveian··on OpenTTD
It is also on GOG and other game stores so for anyone who also plays commercial games it is easy to track updates the same way you do with other games.

https://www.gog.com/en/game/openttd

joveian··on Oasis – a small, statically-linked Linux system
Functional differences described here:

https://wiki.musl-libc.org/functional-differences-from-glibc...

joveian··on Faircamp is a free Bandcamp alternative
GOG made a brief effort to expand into movies almost a decade ago but stopped because the industry revolved around regional restrictions (they asked customers if they should keep going with regional restrictions and customers said no). There are some reginal restrictions on GOG and Bandcamp but nothing like would be necessary for the movie industry it sounds like. I don't know if focusing entirely on indie films would avoid this issue or if even they end up agreeing to regional restrictions.
joveian··on Maestro: A Linux-compatible kernel in Rust
Or NetBSD drivers via rump:

https://github.com/rumpkernel/wiki

joveian··on SSH over HTTPS
There is often also option 3, put ssh on port 80 and/or 443 on a different host and ProxyJump to the intended destination (and/or use SOCKS to that host to generally get a less filtered internet connection). I use SOCKS and also forward DNS over TLS over the ssh connection via port forwarding.

At least several years ago when I first set up my SOCKS proxy and was using wifi quite a bit I never found one that did anything more than check the port, although I have heard they exist and could be more common now (and of course it doesn't matter how common they are if one is in your way).

joveian··on Make Apps for Linux
My extremely limited experience with Java is similar, it seems to do much worse than C at compatability over time. Of course you are right that it is a fair example of early Unix code, I just didn't read the comment you were actually replying to carefully enough :(. Pre-standard C has more issues, so I don't think that is fair vs Windows but that is not what you were replying to. Source availability gives some additional options that you don't have with only binaries but I think you are right that without it being open source the use is limited (and potentially negative, like how the BSDs were limited by the USL lawsuit in the early 90s). Useful open source software is likely to be maintained at least to the point of compiling, though it may take a while to break enough for someone to bother (sox is in this middle stage right now with package systems applying a few security patches but no central updated repository that I know of).
joveian··on Make Apps for Linux
Note that this is not a fair comparison since that code is almost 50 years old, predating ANSI C and before even the 8088 existed.

Still, there is only one actual error in gcc 13.2.1 which is the use of =| instead of the later standardized |=. I'm not sure if that was a common thing back then or if it was specific to their C compiler. Either way, I don't think gcc has a switch to make it work. Switching that around in the source gives linker errors since it seems back then the way to print to or flush a particular file descriptor was to set a libc variable and then call flush or printf. If you had the right libc to use with it that one tiny change might be all you need. But you would likely need to set up a cross compile to be able to use the right libc.

My understanding is that most of the compatability issues on Linux are due to not having the right libraries rather than the kernel not supporting older system calls. It is just a lot of not that fun work to keep things working and no one is that interested (instead, some people just use decade old versions of Linux :/ and the rest use package systems to recompile stuff). NetBSD had better practical binary compatability for a long time, although I think some of it was remove fairly recently since there isn't much commercial NetBSD software (there was one lisp binary from 1992ish IIRC that some people were still using and I think that compat was kept).

joveian··on Games Nintendo didn't want you to play: Tengen (2022)
The amount of money you can get if someone violates the copyright is much more limited if you don't register.

https://www.copyright.gov/help/faq/faq-general.html#register

joveian··on Paper vs. devices: Brain activation differences during memory retrieval (2021)
Personally, I'm not convinced it is a good idea to make any conclusions about reality from any fMRI study (I'm not convinced what is being measured is all that important plus even intrepreting what is being measured relies on complex statistics). Also, for this kind of thing the outliers are very important in tring to figure out what is going on. They show individual data points and eyeballing them I don't really see a lot of difference in the accuracy, with the tablet in particular being slightly worse than nearly identical phone or notes (but they had to pop out "easy questions" to make that difference look interesting). Saying there is a difference between device and paper just because the tablet condition did worse is misleading.

https://www.frontiersin.org/files/Articles/634158/fnbeh-15-6...

They mention the difference in terms of location cues in the conclusion section. I would guess UI choices affect the ability to use location sense to recall information and I could easily imagine the small menus of phones enhancing this effect (and/or larger screens in general reducing the physical location effect of the device itself). Taking a quick look on Google Scholar there is some research on this kind of thing but I'm not seeing any thing that pops out as a particularly interesting presentation. Any UI designers out there who intentionally try to trigger location sense in their design?

joveian··on You don't need JavaScript for that
Nice to see encouragement to avoid javascript :). Dropdowns that require javascript are particularly common (and unnecessary).

It seems on Firefox, focus-visible only appears when tabbing, not when using the space key to toggle. Not sure why that is.

joveian··on Bandcamp support is faltering – maybe you should download your music now
Lots of indie musicians are on small labels and often multiple small labels so looking at the other artists on the same labels is often a good method (link usually pops up in the upper left corner).
joveian··on Bandcamp support is faltering – maybe you should download your music now
Also they spam you (daily) even if you ask them not to. Might be the thing where you have to unsubscribe from the email even though your account settings told them not to send you email (I think it stopped after I did that, although who knows if it will start up again at some point).

7digital was the other one but of course they are also now owned by the same company that owns Bandcamp (and have the annoying regional restrictions, possibly Qobuz does as well). Hopefully they will get their act together. The lack of regional restrictions (at least in most cases) is one of the best parts of Bandcamp.

If you happen to be interested in classical music there are several that sell FLAC (not sure how good they are). I think there are some DJ focused stores that sell FLAC as well, although with limited selection I think.

joveian··on Berkeley Mono Typeface
Intel One Mono. Not extremely different from Berkeley Mono it looks like but lower x-height, higher line height, more space around letters, and a number of smallish differences (mostly in the lower case letters and numbers and round dots instead of square). Intel has the extra visible {} and non-continuous % while Berkeley Mono has the funky @.

https://github.com/intel/intel-one-mono

joveian··on Vehicles with higher, more vertical front ends pose greater risk to pedestrians
They are often called driver's licenses, though, because it is so common that the official state issued id is a driver's license. In less formal language (in my experience) "identification" usually means random student id or bus passes or any picture id would be ok while "driver's license" means official state id or military id.
joveian··on Horrible edge cases to consider when dealing with music (2022)
This got me to look up a UTF-8 to unicode code point command line tool, which it turns out is "uconv -x hex/unicode". The first one looks like mostly mathematical alphanumeric symbols:

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

I wonder if anyone has used characters in the unicode private use area. That could have interesting results.

joveian··on Texture Healing for Monospace Fonts
I've been really enjoying Intel One Mono which seems to solve this by adding more space around most characters (two extra pixels per side at the size I like, about 17px capital letter top to bottom if I counted right) except the m and w (I think, I didn't check everything; they still get one pixel on each side). It also has a low x-height and tall line height and doesn't even try to work at small font sizes but it looks really nice if you make it big enough. Comparing with my previous favorite DejaVu Sans Mono (aka Bitstream Vera Sans Mono) it seems like all the extra space visually evens out the letters and it works well without this kind of adjustment.
joveian··on Cosmopolitan Third Edition
I use a SOCKS5 proxy on ramnode.com (from when they had OpenVZ for $15/year, which I think hasn't been available as a new plan for a bit now and I think will be increased or removed as an option at the next biling period; it looks like the lowest cost option is now $42/year). I change SSH to only allow certificate login (and only the particular algorithms I want to use, and listen on ports 80 and 443 to work around some wifi limitations), enable auto OS updates, and stop everything else from listening on the network to keep the chance of something being exploitable to the minimum and it just works. I sparately pass local port 853 to Google's DNS over TLS via the SSH connection (I use ssh -o VisualHostKeys=yes -NMD localhost:2000 -L localhost:853:8.8.8.8:853 and set ALL_PROXY=socks5://127.0.0.1:2000; I've learned that the visual host keys do not help at all with the thing it is supposed to do but I find it an artistic way of saying the connection is up).

I'm not sure how common it is for hosting providers to allow that kind of traffic (I think many do not) and I'm not sure how their privacy policy for that kind of use compares to others but at least they don't try to MITM traffic. Occasionally I get sites that simply block the address range (like Wikipedia for editing last I checked, although viewing works fine) and limitations or oddities will likely be worse at first (Google really wanted to redirect me to their Hong Kong search page for a while when I first stared doing this) but it is rare that I have an issue now. I'm also on CenturyLink (which I chose as still better than Comcast since you can at least use your own device) and I recommend this method (also helpful when using wifi). Another potential downside is that you don't get the local CDN caches, which I'd guess most impacts the online movie services (I don't use them and only have a 12mbps download anyway so it would hardly be the bottleneck). I think routing DNS through SOCKS helps get the closest CDN locations to the proxy (at least using encrypted DNS is a must since CenturyLink messes with that too if you try to use another DNS provider unencrypted).

joveian··on Improving deep sleep may prevent dementia, study finds
Your link does not support your statement, which may not be the case. Even your quoted bit suggests that cannabis just caused less REM sleep that was replaced by taking longer to get to sleep. I couldn't find a particularly good citataion but some say that THC doesn't affect deep sleep (N3) while CBD actually reduces it. All say that the situation is unclear and needs more research.
← PreviousPage 4 of 33Next →