The arguement appears to be: use python because bash is different across Linux and Mac. Fair enough, but ignores windows where python is not already there.
Personally though at the point where you need a true cross platform scripting language in the shell I'd just install something like powershell or nushell.
>the point where you need a true cross platform scripting language in the shell
... When does this happen, anyway? When I am in a "scripting" mindset, it's because I want to enhance my machine, not publish software. If I am thinking about "cross platform" then I am also thinking in terms of "programming" and "development".
(And, you know, awareness of "the shell" is probably a lot lower among Windows users than Linux and Mac.)
Since we're going with anecdotes it has happened with me. An example is my cross platform backup script sitting on my external harddrive. Write once run everywhere. Also the reason I like dart/flutter.
I think you're correct about windows users in general but if a user is likely to script in python I'm fairly certain they'll be aware of the shell. And the shell in windows is massively powerful with powershell.
Either way both powershell and nushell are cross platform meaning their scripting are too, unless you're doing something OS specific.
Wondering if it would be a good idea to setup a VM with this. Setup remote connection, and intellij. Just have a script to clone it for a new project and connect from anywhere using a remote app.
It will increase the size of the VM but the template would be smaller than a full blown OS
Aside from dev containers, what are other options? I'm not able to run intellij on my laptop, is not an option
I use Nvim to ssh into my computer to work, which is fine. But really miss the full capacity of intellij
Ive experimented with several small distros for this when doing cross platform development.
In my experience, by the time you’re compiling and running code and installing dev dependencies on the remote machine, the size of the base OS isn’t a concern. I gained nothing from using smaller distros but lost a lot of time dealing with little issues and incompatibilities.
This won’t win me any hacker points, but now if I need a remote graphical Linux VM I go straight for the latest Ubuntu and call it day. Then I can get to work on my code and not chasing my tail with all of the little quirks that appear from using less popular distros.
The small distros have their place for specific use cases, especially automation, testing, or other things that need to scale. For one-offs where you’re already going to be installing a lot of other things and doing resource intensive work, it’s a safer bet to go with a popular full-size distro so you can focus on what matters.
To really hammer this home: Alpine uses musl instead of glibc for the C standard library. This has caused me all types of trouble in unexpected places.
I'm all for suggestions for a better base OS in small docker containers, mostly to run nginx, php, postgress, mysql, redis, and python.
Valid points, completely forgot about that part, and even with installation script, I manage to waste a good amount of time downloading and setting things up.
Question, I use VirtualBox, but I feel it's kind a laggy sometimes, What do you use? Any suggestion on performance improvements?
Docker to start IntelliJ and access remotely from my Laptop, will have to tunnel. Hm, I should give this a try. I was not sure if Docker+GUI goes well.
I like using old hardware, and Tiny Core was my daily driver for 5+ years on a Thinkpad T42 (died recently) and Dell Mini 9 (still working). I tried other distros on those machines, but eventually always came back to TC. RAM-booting makes the system fast and quiet on that 15+ years old iron, and I loved how easy it was to hand-tailor the OS - e.g. the packages loaded during boot are simply listed in a single flat file (onboot.lst).
I used both the FLTK desktop (including my all-time favorite web browser, Dillo, which was fine for most sites up to about 2018 or so) and the text-only mode. TC repos are not bad at all, but building your own TC/squashfs packages will probably become second nature over time.
I can also confirm that a handful of lenghty, long-form radio programs (a somewhat "landmark" show) for my Tiny Country's public broadcasting are produced -- and, in some cases, even recorded -- on either a Dell Mini 9 or a Thinkpad T42 and Tiny Core Linux, using the (now obsolete?) Non DAW or Reaper via Wine. It was always fun to think about this: here I am, producing/recording audio for Public Broadcasting on a 13+ year old T42 or a 10 year old Dell Mini netbook bought for 20€ and 5€ (!) respectively, whereas other folks accomplish the exact same thing with a 2000€ MacBook Pro.
It's a nice distro for weirdos and fringe "because I can" people, I guess. Well thought out. Not very far from "a Linux that fits inside a single person's head". Full respect to the devs for their quiet consistency - no "revolutionary" updates or paradigm shifts, just keeping the system working, year after year. (FLTK in 2025? Why not? It does have its charm!) This looks to be quite similar to the maintenance philosophy of the BSDs. And, next to TC, even NetBSD feels "bloated" :) -- even though it would obviously be nice to have BSD Handbook level documentation for TC; then again, the scope/goal of the two projects is maybe too different, so no big deal. The Corebook [1] is still a good overview of the system -- no idea how up-to-date it is, though.
All in all, an interesting distro that may "grow on you".
In college I used a Slax (version 6 IIRC) SD card for schoolwork. I did my work across various junk laptops, a gaming PC, and lab computers, so it gave me consistency across all of those.
Booting a dedicated, tiny OS with no distractions helped me focus. Plus since the home directory was a FAT32 partition, I could access all my files on any machine without having to boot. A feature I used a lot when printing assignments at the library.
All sorts. Having a full bootable OS on a CD or USB was always cool. When I left the military and was a security I used to use them to boot computers in the buildings I worked in so I could browse the internet.
Before encryption by default, get files from windows for family when they messed up their computers. Or change the passwords.
Before browser profiles and containers I used them in VMs for different things like banning, shopping, etc.
Down to your imagination really.
Not too mention just to play around with them too.
They can be nice for running low footprint VMs (e.g. in LXD / Incus) where you don't want to use a container. Alpine in particular is popular for this. The downside is there are sometimes compatibility issues where packages expect certain dependencies that Alpine doesn't provide.
I was just thinking today how I miss my DSL (Damn Small Linux) setup. A Pentium 2 Dell laptop, booted from mini-CD, usb drive for persistence. It ran a decent "dumb" terminal, X3270, and stripped down browser (dillo I believe). Was fine for a good chunk of my work day.
I ran it on a Via single board computer, a tiny board that sipped power and was still more than beefy enough to do real time control of 3 axis stepper motors and maintain a connection to the outside world. I cheated a bit by disabling interrupts during time critical sections and re-enabling the devices afterwards took some figuring out but overall the system was extremely reliable. I used it to cut up to 1/4" steel sheet for the windmill (it would cut up to 1" but then the kerf would be quite ugly), as well as much thinner sheet for the laminations. The latter was quite problematic because it tended to warp up towards the cutter nozzle while cutting and that would short out the arc. In the end we measured the voltage across the arc and then automatically had the nozzle back off in case of warping, which worked quite well, the resulting inaccuracies were very minor.
"Flock Safety" is a company that makes "ALPR" cameras (automated license plate recognition, in reality they go far beyond just reading license plates), they've been getting a lot of attention recently because people are worried about privacy and abuse.
That website is a bit misleading, their "worldwide" map includes ALL ALPR cameras, not just the ones operated by Flock or for-profit surveillance companies.
The ones on their map near my location are all for automatic license plate recognition to enter parking garages. Not exactly the dystopian nightmare their homepage warned me about.
Of course they are, that's how they track memberships, payment history, and that kind of stuff. Can't say I really care about a paid parking garage keeping a customer registry.
I trust the government a lot more than some random third party company ("flock"), though.
The point isn’t what is the company doing with the data but rather how secure are these IP cameras?
Some are for government spying while others are for government spying and other bad actors.
I’d love to gain access to said parking garage meter camera and scan plates too, only I’m looking for high value targets that just got to work and thus, left their home.
I’m looking at software used to capture, track, and pull data from all these sources in an attempt to build a dragnet like service where you can ask “where is license plate <bingo>”?
ANPR cameras which the rest of the world (and apparently America) have had for decades have recently become big news in America, I believe because they're now being used for immigration purposes?
I'm not sure why these are so bad but generally everyone loves things like Ring cameras which do the same thing but with people rather than vehicles. I suspect there's something in the American Psyche and how they treat cars, and the inherent trust of the billionaires and distrust of "The Feds"
I think it's mostly just a privacy issue. The idea that your every movement is being recorded by the government is Orwellian, especially when they try to hide its existence, lie about its capabilities, and you have no say in the matter (referencing NSA metadata monitoring). The average person thinks their ring camera is like their coffee maker, an individual piece of technology they own and control. If it were released that everyone's ring cameras were being fed into some NSA program running facial recognition to track citizens movement I'm sure they would be upset about that too.
But these cameras have been around for 30+ years, including in the US. Why is it suddenly in the news.
The cameras don't track me either. They track a car. They have no idea who is driving the car.
> If it were released that everyone's ring cameras were being fed into some NSA program running facial recognition to track citizens movement I'm sure they would be upset about that too
That's the interesting bit, how did ANPR get into the US public consciousness now, rather than over a decade ago when it started to be used on toll roads
It’s trivial for law enforcement to track your movement with ALPR cameras. Information feeds into a single database, paid for by law enforcement agencies, and they just connect the dots.
Ring camera footage requires law enforcement to get a warrant or for individuals to give consent to supply the footage.
Now tell me which system makes it easier for a cop to stalk their ex.
Not yet. Facical recognition in 2025 is where LPR was in 2010.
As the cost of compute and wireless communications continues to drop, facial recognition will be prolific. There are more limitations with cameras, but AI will make it easy to backtrack movement to a place where they get a clean shot that can identify you.
As an example, the transit authority in NYC Metro was able to plug existing security feeds from trains into Amazon Rekognition to count heads, which feeds their ticketing app — you can see which carriages are full. As time goes on, they’ll become able to track the breadcrumbs individuals from seat to platform. (If not already)
Detectives do this manually today. I was on a jury where the purse snatcher was followed by various cameras until he got on a bus. They pulled the bus passes and tracked his pass back to his girlfriend.
It does. But more like “the black male with the red hoodie is here”
They don’t say “hibf just walked into the 7-11” yet. The Feds probably have a system that can do that for car passengers traveling on “drug corridors” (ie. I95) today.
Less popular because it’s not feasible for many. I live in MN. Biking 20mi to work when it’s -10F and in 6” of fresh snow on top of the 12” received so far this season just isn’t something that’s safe to do.
Please don’t make it seem like it’s a “popularity” thing; it’s a necessity thing.
Finland is a cold country with similar population count and larger area. For national domestic trips, 55% of people there use cars[1]. For MN i only found stats for MN metro area, but I’d expect public transport to be more developed there. The car usage is still 83%[2].
I bet the local community plows the roads but not the bike infrastructure, though? I get why, people probably drive more than bike.
But, in Canada, there are local communities that plow bike infrastructure and locals bike in their deep winter.
It's a chicken or egg problem of building infrastructure for users and users demanding infrastructure. It's not some fact of nature that it's impossible. Different communities have different priorities. So, necessity is a bit strong of a word.
Hardly anyone lives in MN - half the poulation of New York City alone.
The vast majority of Americans live in cities. Half live in just 8 metro-areas, just as the vast majority of Europeans live in cities. Europe is far more dispersed though.
First paragraph: reasonable, if ignoring that access it not likely to be unrestricted willy-nilly.
Second paragraph: not as reasonable given that Amazon likely comply without issue with us intelligence, and sell the data to third parties, which the police could just buy (similar has been done) to avoid consent or legal obstacles.
Third paragraph: out of nowhere, focus on police. No mention of intelligence agency staff or say Amazon staff doing the same thing.
Out of nowhere? The entire comment is talking about law enforcement (police) and law enforcement agencies (police departments) purchasing access to commercially owned surveillance databases. No warrant is required to use them, and in some cases that access is indeed "unrestricted willy-nilly."
Ah, you mean like if we had some sort of knowledgeable, impartial third-party to grant the police permissions. They could, get this, "judge" whether the absolute bare minimum of evidence is likely to exist. So long as Flock didn't provide a way to circumvent an approval process like that, you could maybe reduce the instances of abusers stalking their victims to "acceptable" levels.
What do you think the chances are that we could invent a system like that? You don't think Flock and the police would find a way to circumvent it do you?
> have had for decades have recently become big news in America, I believe because they're now being used for immigration purposes?
That is one aspect.
But they are also now "using AI to analyze vehicle movements for suspicious patterns and proactively alerting police to investigate". What could possibly go wrong with that?
Or that there are microphones in certain Flock devices, and they've discussed their intent to activate those and do that with speech analysis.
Garrett Langley, the CEO, has a disturbingly Minority Report-esque vision for a world with, in his words, "no crime", "thanks to Flock".
And these are all steps towards it. Interesting you mention Ring, because Flock has partnered with Amazon and is opting all Ring footage into Flock's network and analyses.
They are being set up "for immigration purposes" but that's just a guise for a nation wide integrated system for cops and intel agencies to track every single American in every car down. They want keep an active, real time record of wherever we go and what patterns they exhibit for the algos to predict crime from anything they consider suspicious, possibly for future malicious purposes in a police state or just to see where their ex-wives are headed.
They’ve gotten cheaper and aggregated into nationwide networks. The older devices were expensive and in police car scenarios required pretty significant effort to install. The mobile flock just gets bolted to the dash.
In my city, most vehicular movement between neighborhoods and in/out of the city is logged. Your safety and civil liberties are dependent on agencies following and auditing their work rules, as the law didn’t anticipate this gives them a lot of discretion.
Unless I'm missing something, Ring cameras film people at my doorstep and are for my personal use, so dont know how they're similar at all even if you don't trust Amazon
Ring cameras at your doorstep film me walking past the street. Just like your dashcam on your car films me in my car, or a number plate reader on my car films your car
Americans (the general public) are a lot more weary of government surveillance than other developed nations. Its one thing that you can get a lot of liberals and conservative to agree on.
Unlike ring cameras which people voluntarily install and the government needs a warrant to access, flock cameras are pretty much exclusively for the government to actively monitor citizens without any court oversight.
People install ring cameras which record me walking past. Those cameras then push the data to private companies for processing, and are made available to police on a simple request.
ANPR has been a thing for 30 years. Is America just slow on the uptake? Even then it looks like they've been in use for a long time there.
>and are made available to police on a simple request.
That's a "santa claus for adults" rumor.
Ring only complies with requests that they are legally obligated to. Otherwise users need to voluntarily share the footage, which more often than not they do.
As an aside, having scroll that thread, Reddit is a shambles. There's more deleted comments and related justification comment than actual comments. Make for a jarring experience.
It's a legal advice subreddit; they tend to have stricter moderation because their primary goal is to get the OP an answer to their question or advice on how to consult a legal professional about their issue. Posts like the one linked here tend to be a magnet for people more interested in the drama than the actual legal principles, so they end up being a wasteland of removed comments.
Exactly. There are reasons for those many deleted comments. It's specific to this subreddit for very good reasons and not something you can use to disparage all of reddit. Many subreddits have their own rules and culture.
It's not disparaging to point out a fact. The whole delete comment content but keep the comment and then add a reply comment with wordy reason for deletion of comment content is a shambles. And irrespective of whether it's on every subreddit or not, doesn't make it less so. It's basically just spam at this point.
My solution would be to simply delete the comment and PM the OP. If another user had already replied, replace the original content with a *short* reason for deletion, and PM the OP, leaving the replies in place unless they needed deleting.
It's a recursive issue, and this is something that Reddit could potentially improve. Reddit preserves a deleted comment's space in the comments section as [deleted]. Users who see a graveyard of deleted comments will comment to wonder why, especially if they are unfamiliar with the subreddit rules. This may require the mods to delete more off-topic comments, which worsens the issue, etc. So the established "best practice" is to delete but leave a moderator comment with an explanation so there's a paper trail.
It's fairly representative of reddit as a whole. Sure not all subreddits are this bad all the time but as soon as something comes up where people might have thoughts that the mods don't approve of...
Another example: r/AskHistorians is so heavily moderated almost every comment gets deleted.
Their standards of quality are very high. It's not a sub to push your views or argue, it's a sub for historians or people who can back an answer with academic references. So most comments and answers will get modded.
It's oddly refreshing. No flamewars, no junk comments, no "everybody knows the reason X did Y is Z" because that won't be accepted by the mods.
AskHistorians is far and away the best moderated sub on the site, but it relies entirely on guidelines that you can understand and agree with. Moderation on other subs (no clue about this one) is so heinously biased it makes them unusable. Very common on political and news oriented subs....
Absolutely- I can't understand why it still has such a loyal base considering how low the quality is- I see more insightful discussion on facebook half the time
Because Reddit != Reddit and each subreddit has their own audience and moderation style. Most of Reddit might be a cesspit, but that doesn't mean all of it is.
I can't understand why cigarettes have such a loyal fanbase. They're smelly and expensive. Costing roughly 4k a year, I can't understand why someone wouldn't buy a nicer car or massive TV or something.
Whenever a platform is popular these days I just assume it is more addictive.
I think there's something to this except if you're using a language the llm doesn't know, like I am with nushell.
Day 2 for example I easily completed on my own with 2 very similar regex strings. However knowing regex to be slow I went looking for a more optimised solution. I found some python code that I mostly understood and attempted to rewrite the iterative solution into the functional nushell style and failed miserably. I turned to an llm for help only for it to waste my time with nonsense because nushell appears to be too new and changing too quickly for it.
My main browser is and likely will remain Firefox. Despite all the complaints it's the only open source alternative to a major corp controlled browser. It gives the most control.
I have Vivaldi as a second, and distant third Brave, though I avoid using it as much as possible.
Yeah, I definitely think there's benefit in seeing others solutions, and in this situation I want to learn from it, if I can ever reason out why it's working.
Certainly using nushell means anything beyond the true basics seems to be beyond most LLMs.
When I first started programming it used to get me down if I couldn't solve these things. But as I've got old and a little more experienced, I can now admit things like AoC are just not my thing. It's like crossword puzzles or low level algos. I find them extremely hard to reason about.
I actually came here thinking it was about Slackware Linux. I always forget, because I have never had to use it, that slack is an IM app.
reply