HNHacker News
TopNewBestAskShowJobs

stonesweep

382 karma · joined January 1, 2021

submissionscomments
stonesweep··on My NAS exposes itself over the internet without permission
Story time: It depends on the hardware at your disposal. I'm now on the new T-Mobile Home Internet service, the router+wifi device supplied (a Nokia 5G LTE based unit with a SIM on one side) firmware has basically no configuration - you cannot assign static DHCP, no bridge mode, no port forwarding - it has UPNP on or off, that's it. A truly sparse webUI, frustrating no-config device at 1.0 firmware level that doesn't even show you what the DHCP ranges in use are. My G-Shock watch has more configuration options than this thing does. :-/
stonesweep··on My NAS exposes itself over the internet without permission
"It depends" as not all the names you listed as examples use the same technology, but in general "UPNP is more useful for thins which need an incoming connection" (kinda sorta). This might be, say, a bittorrent client needing to allow other clients in on a port to share the file... sharing. To share. :) If you understand how Active vs Passive FTP works and how the incoming connections might need to be tracked (nf_conntrack for Linux folks), UPNP is more like that - apps which handle bi-directional conversations with the outside world beyond your router.

Airdrop uses an ad-hoc WiFi network (peer-to-peer) with TLS, as does I think (Android) Beam. If I'm not mistaken some other devices in this area (Chromecast, Roku, etc.) use similar techniques, and sometimes leverage bluetooth ad-hoc networks. Discovery services like printers and fileshares tend to use (I'm assuming you're macOS) Bonjour (Rendezvous, renamed awhile back), which is sort of like an ad-hoc multicast (mDNS) solution if I understand it. On Windows it would use something like Netbios - conceptually the same. I just set a static IP on my wifi printer and call it a day, it's trivial stuff being a printer.

stonesweep··on Musicolet – Offline Music Player for Android
The submission is not an article discussing it, nor a Changelog with a new feature, a commentary about the app or other HN worthy discussion launching content - it's simply a link to a random app website. HN has guidelines saying don't use the site for promotion (we have Show HN for that), and as a reader I consider it spam and am calling it out as such. Replace the link with something better about the app (blog review? news? IP lawsuit? whatever works) and we're back on track.
stonesweep··on Musicolet – Offline Music Player for Android
This looks like an advertising post to HN, here's a FOSS app instead which has been around for a long time:

https://vanilla-music.github.io/

stonesweep··on Gridcoin: a simple investment thesis
Previous thread about GRC from ~37 days ago, same conversations starting here already tackled there: https://news.ycombinator.com/item?id=26236325
stonesweep··on All my servers have an 8 GB empty file on disk
Most vendors (Debian/Ubuntu, RHEL/clones, etc.) add a hook into rsyslog to be a partner with the systemd logger and write out text files next to the journal - they realize that a lot of people dislike dealing with journalctl (I'm one of them) and provide an alternate hook already installed and working for you behind the scenes.

This is for daemons using syslog methodology, not direct writers like apache/nginx/mysql/etc; think more like cron, systemd, chrony, NetworkManager, and so forth. The vendors are not all aligned on what goes where (example: on RHEL, pacemaker/crm write to their own logs buy on openSUSE they're sent to syslog) - the actual results differ slightly from vendor to vendor.

DIY distros like Arch do not implement the rsyslog backend by default, you have to set it up yourself following the wiki - only journalctl is there by default.

stonesweep··on All my servers have an 8 GB empty file on disk
Fun trivia: you can actually set per-device settings in /etc/mke2fs.conf with all sorts of alternate defaults. https://man7.org/linux/man-pages/man5/mke2fs.conf.5.html
stonesweep··on All my servers have an 8 GB empty file on disk
I suspect the blog author did not understand this (based on the content) - as a Linode user myself, I just had a look at one of my VMs and they install with the regular 5% reserved space (ext4/Debian).
stonesweep··on Over twenty subreddits have gone private
Same thing happens when someone rants about the New reddit (redesign) or some other "I don't like this at all" post/comment about reddit itself - people start giving it awards if they agree. shakes head like Foghorn Leghorn
stonesweep··on Over twenty subreddits have gone private
My take is it applies to a certain personality type (not sure what kind, not my specialty - just see the patterns) - on last year's profile I got some sort of award for just joining a sub or making a comment or some other no-value low-effort action. shrug It maybe ties into whether giving away awards for any reason was part of your school/childhood? Wasn't part of mine so not embedded in my psyche? (just pondering)
stonesweep··on Over twenty subreddits have gone private
> But note that many of the posters edited their posts saying "don't give me awards". This shows a contradiction between trying to do the right thing while in public.

This is a phenomenon all over reddit and not unique to this situation in subreddit comments sections, it's been going on ever since reddit rolled out the paid gold concept. A non-zero number of people edit their comments (when they get popular) to the like of "stop giving me awards, go donate to this charity instead" to try and get readers to spend their money on a good cause related to the post subject matter. (I love animals subreddits, so see it a lot in the various places "go donate to this shelter / coservation" or similar attempt to redirect money)

stonesweep··on The S in IoT is for Security
The USA mints alone use roughly 4,400 tonnes of nickel to produce coins every year (one specific industry with one type of output in one country). Around 133 tonnes of platinum and 1,800 tonnes of gold are mined per year in total for all use globally.
stonesweep··on The S in IoT is for Security
Platinum is extracted as a by-product of nickel and copper mining (as are other elements) as it's primary source, unlike gold and copper which are mined for their element directly. Not arguing your point (45% of platinum is used in auto) only that how we get Pt and Pd is already in progress to get at the other elements like Cu, Au and Ag.
stonesweep··on The S in IoT is for Security
It requires tonnes of ore processed to produce ounces of gold (I read roughly 13 tonnes on average, but it's highly dependent on the quality of the deposit and refinement difficulty), there are metrics and studies: https://www.businessinsider.com/tons-of-rock-for-an-ounce-of...

Edit as I'm curious myself, this study shows it's about 150 tonnes of ore input for one ton of copper output (with other minerals reclaimed during the process): https://www.princeton.edu/~ota/disk2/1988/8808/880811.PDF

stonesweep··on The S in IoT is for Security
> You know what requires a lot more metals?

I believe the argument is about the refining process and the chemical waste it creates, which is substantially higher when trying to extract 99.99% pure copper, zinc, gold, silver and other industrial elements which are converted into electronics. I'm a hobbyist fan of silver and know just the basics - refining for 99.99% pure silver looks like making crack to my eyes. :) Breaking Bad level chemicals.

I'm to understand the act of creating and "washing" circuit boards also uses a large amount of caustic chemicals, as does the attempted recycling/recovery (to basically eat away the coatings to expose the reclaimable metals). Refining for purity has a high environmental cost to get it from ore -> 99.99% and to reuse/recycle it, I speculate much higher than iron ore (train tracks, etc.) require/use.

stonesweep··on My Dad Published Lolita
I just learned of this thanks to the other HN post yesterday(?) and turned it on, with it enabled and visiting the site in this post (multiple times just to be sure) I get no cookies at all saved from them, as well as no "accept our cookies" popups. I'm sold.
stonesweep··on What’s up with these new not-open source licenses?
We're both talking about the open source community, right? This was the Parent comment I replied to and directly quoted, and I'm not seeing why you're intent on focusing on something I'm not talking about. You seem to have an axe to grind here on this specific topic of piracy, not open source.
stonesweep··on What’s up with these new not-open source licenses?
I really don't think my comment said anything about people getting rich; I myself was involved in one report of GPL abuse to the EFF on behalf of Busybox, yet another early 2000s device created by 2 people in their bedroom who simply decided the license didn't apply and releasing the source code was not their responsibility - Busybox had a "Hall of Shame" web page up back then, you can still see it in the Internet Archive. It was pretty rampant, the sharks saw "free code" in the water and simply had the attitude "so, sue me and prove it in court" about early GPL. It took us collectively a decade or more to actual make things like the GPL enforced in courts of law, the dawn of our digital age started with bad guys trying to exploit the good guys who gave away code.

My thought is that you're focusing on the "gratis" part of FOSS, whereas I'm over here in the "libre" side of the house - as a (now) Linux systems guy, when (foo) doesn't work I reach and go down that rabbit hole of code until I figure out what's wrong and we fix things - that is what Open Source is about to me, it has no underpinnings of monetary compensation, it's all about two (sic) people who don't know each other being able to randomly see each other's code to solve the problem at hand (and then possibly submit fixes, bug reports, etc.). I've traced tons of open source software to solve problems both personally and professionally.

Getting paid for open source is a relatively new thing in my life timeline, I don't honestly subscribe to that idea but to each their own. I do, however, recognize the time effort and energy it takes to create said software, so I personally take these tech dollars I make at $job and donate to a lot of open source initiatives, coders and even public radio stations bringing me "free" music. There's no such thing as a free lunch as a wise sci-fi author once wrote.

stonesweep··on What’s up with these new not-open source licenses?
> Do you include piracy in this?

No I do not (I don't deny it was/is a thing), as I feel that was a different community (and it still exists today) - yes, the same technology was used but no, they were not/are not the same community. These are two distinct communities sharing common technology (just like Linux ISOs and pirated software are both distributed over BitTorrent today - the technology has changed but both groups still share it's use). I knew/know people from both communities, they're just two different groups of people who might happen to end up at a party together, that's about it really. I personally don't condone piracy, but then again I've been living inside Linux for 20 years so I don't really encounter it these days.

Me personally, I ran a BBS under OS/2 and was part of Fidonet (I actually roomed in college years with the local Fidonet hub guy), wrote my own widgets in TurboPascal and distributed the binaries and source without any licenses (if we even had any at the time), some of it can still be found in those old CD collections that folks used to sell. I lost my own source code over the years and was able to recover some of it out of those archives. :) (my career steered away from programming into systems engineering, not a coder by trade)

stonesweep··on What’s up with these new not-open source licenses?
>> the spirit of open source

> This is not a thing that exists. What we have are licenses, not ghosts.

Before we had open source, we released software as public domain. The spirit existed before the trademark phrase was even invented and long after people were already giving away their software for free because of the spirit of the community. We used to go to computer swap meets in fairgrounds buildings and buy boxes of floppy disks with random software on them just to see what was around, people uploaded it to BBSes and shared the work they did - we had Donationware, Shareware, Postcardware (a personal favorite), Beerware and everything in between which was 100% based on the spirit of the community. We just called most of it Freeware.

We have licenses because the spirit was abused.

stonesweep··on Interview with CEO of rsync.net: “no firewalls and no routers”
This aptly describes why I do not want a smart home even as a tech professional and why I drive a generic Toyota with easily replaceable parts.
stonesweep··on Do not use redirection characters in your shell prompt
It was defined by POSIX [1] - of course anyone can extend POSIX functionality (and does), however I'm personally unaware of a locale which would break this specific convention / definition as it would almost assuredly break a lot of scripts in the world.

[1] https://pubs.opengroup.org/onlinepubs/009604499/utilities/xc...

stonesweep··on Do not use redirection characters in your shell prompt
Subtle greybeard update: ` :>/some/file ` still evaluates in shell, it will zero out a file (truncate) quick and dirty - the emphasis in enriquto's comment is still very important, do not include redirection chars.
stonesweep··on Do not use redirection characters in your shell prompt
Fun trivia: this is the default character in the SUSE /etc/bash.bashrc prompt for the non-root user. There's a lot of code doing things, but it boils down to this one example of their prompt defaults:

    if test "$UID" = 0 ; then
        PS1="${HOST}:${PWD} # "
    else
        PS1="${USER}@${HOST}:${PWD}> "
    fi
A popular distro is shipping this out of the box.
stonesweep··on Google finally revealed how much personal data they collect in Chrome
Google Takeout is a good way to find out all the things you thought you deleted, but are still hanging around on their servers. Even stupid banner photos from PicasaWeb and G+ 8 years ago were buried in my Takeout that I had zero access to see or delete, but they were there (and probably still are).
stonesweep··on Is Being Salaried a Scam?
Interestingly, at my company it's based on skill level - everyone works the ~40hr work week, however skill tiers 1-2 are hourly employees and skill tiers 3+ are salaried. On average, the company encourages a healthy work/life balance and > 40 is not normal even for salaried, so it's really specific to how the company staffs their needs.
stonesweep··on Is Being Salaried a Scam?
It's based on number of hours worked, rather than hourly vs. salary. The Affordable Healthcare Act defines the number at 30 hours a week for more than 120 days a year where an employer must offer insurance.
stonesweep··on Vitalik escalates ETH 2.0 merge as miners plan a 51% attack
Much like Ethereum, gold has an actual use post discovery/creation but your origami crane does not (outside of artistic value and testing for replicants) - GP did not go into the details, but they chose an appropriate analogy - origami cranes, not so much. Fun trivia: NASA uses a bunch of gold https://spinoff.nasa.gov/spinoff1997/hm2.html
stonesweep··on Diode Drive – Privacy-focused distributed alternative to GoogleDrive and Dropbox
Go to the link in the title, scroll down the bottom of the page and the Privacy link is right there, like it is on most website footers. The client is Go open source on github, the security is discussed on the Smart Contracts/Ethereum page and all of that network stuff. That's 3 out of 4 questions, the last one is an opinion.
stonesweep··on Diode Drive – Privacy-focused distributed alternative to GoogleDrive and Dropbox
Respectfully, in 5 minutes of just being a human using a website your questions are generally answered. Being skeptical is fine, but at least be honest about giving something the time to read it's resources - they have even have a page of useful pages that I found within that first 5 minutes: https://support.diode.io/article/wu3yct3hbn-further-reading
← PreviousPage 2 of 5Next →