skysight-inc/HackerNews huggingface dataset:
2 things I'd love to see in a checker would be:

Warn me when I'm using -h instead of --help. When writing persisted scripts it's often more descriptive and self documenting to use long form flags[0] when a tool gives you both options.

Warn me when I mix using "-p 8000:8000" and "-p=8000:8000". I know it's technically not possible to give a definitive answer here because supporting spaces vs equals comes down to the CLI tool itself but you can pick up when you mix the 2 styles and leave it up to the script author to pick a style and stick with it when possible.

I do a lot of shell scripting in my day to day (ops, etc.) and it's always a manual process to give feedback on code reviews when others contribute patches or introduce new scripts.

[0]: https://nickjanetakis.com/blog/when-to-use-long-word-or-shor...
I tried Air Link but even with all-wifi-6 hardware and the router sitting 20ft away, the video quality was garbage. I didn’t try to tweak settings too much though, maybe there’s some magic trick.
> Even simpler: do not upload copyrighted materials to Dropbox, Google Drive, etc.

As the article illustrates, it’s not actually that simple. Cloud services that terminate accounts (and probably instantly delete everything, to comply with GDPR, CCPA, etc.) for perceived copyright infringements will always and necessarily suffer from a false positive rate.

We’ll likely never truly learn what this false positive rate is, but that it will always exist is reason enough to give pause to the thought that services should “just terminate their account” if they think it’s infringing on intellectual property laws.

The only good answer here is an unqualified “Use a local backup”. The terms of use for non-business cloud storage absolve the providers of all responsibility for data loss, even when they have incorrectly taken punitive action against you.
It's not a terrible workaround; it's a beautiful demonstration of how flexible the standard shell is.
Is there a good word for when a solution is bad (in a 'defective by design' sense) but offloads all the "badness" to the competitor, ironically making it look good to casual users?

Like mac introducing files that are hidden to a mac but littering the place in other systems.

Or like Google nor caring about false positives as long as its customers (i.e. record labels) are happy.

In any case, I don't lose much sleep when one bad design hits another. My advice is the same as in the general case: avoid such systems.
Same reason there is almost no phones with clean android - manufacturers focus on marketing and follow easiest path, instead of really caring about users needs.
>potential feedback
>gamified sessions

The Wii Fit Balance Board + Wii Fit games did this. I don’t think it saw wide stream appeal at the time, but I still use my Wii Fit occasionally to this day.

Ring Fit adventure also does this. Albeit it’s a lot less fun to use

Gamifying workouts is a huge market for folks. I guess the Apple Watch does this too? Without the feedback.

Curious to see how ML solutions improve on this
A few subjective observations that may be totally wrong when applied to others despite their normative tone:

* VR makes me sweaty… because it induces minor vertigo.

* Anything which requires intense, complete focus to do right is never boring. Exercise, both strength and cardio, requires this level of focus.

* Exercise is essential to physical and mental well-being, especially as you age. The difference between having plenty of energy throughout the day and fighting through deep fatigue is profound. With exercise you are sharpening the tool that is your body, for both physical and intellectual output, and time spent keeping your tools sharp is never wasted.

* Exercise is a skill that supports measurable progressive mastery. If gamification helps your motivation, then the advent of smart watches and fitness trackers makes it extremely easy to watch your “stats” go up.

* Exercise and sports provides a venue to meet new people, which as you get older only gets harder and harder. You may think you are an introvert and dislike being around others, but that likely points to unresolved social anxiety. You’re a human: you evolved to be a social animal. You may indeed need less socialization time and fewer friends than more gregarious humans, but you do need it. The extent to which you are introverted only emphasizes the importance of finding opportunities to make new acquaintances and friends because introversion has probably left you with fewer than you need. Exercise and sports is a great such opportunity.

* Exercise is fun. It taps into a very animal sense of conquest, and the joy of pure physical sensation. I’ve been doing a lot of road cycling lately following a running injury that I’m still recovering from, and the exhilaration of speed, of instinctively responding to possibly dangerous surprises, and of pushing your legs and your lungs to go ever faster is joyful. Even overcoming the misery of winter cycling weather becomes it’s own source of accomplishment: “I pushed through sub freezing temperatures and a brutal headwind today. I am strong and resilient.”
An option which seems to match most if not all of your requirements is borgbackup. As for the private key, borgbackup has several modes, the default being one where the private key is stored on the server but encrypted with a passphrase; if you don't like it, you could use the mode where the private key encrypted with the passphrase is kept locally and then backup that (very small) key file separately.
I'm having trouble understanding how your comment refutes mine; could you clarify?

> Not the only one, but the notion that the only way to build muscle is to 'tear up' your muscles with huge lifts is both outdated and wrong.

I think you're misunderstanding my point. The bodyweight squat is ineffective because you cannot change the stimulus; the only training variable you can adjust is the number of squats you do. Because it's a relatively easy exercise, this quickly means that you cannot subject yourself to sufficient stress with it, both for myofibrillar and sarcoplasmic hypertrophy purposes. Nobody in the history of the universe has ever gotten big and strong on bodyweight squats. It has never happened and it never will happen.
I think your answer just solidifies their point since your proposed solutions are to avoid parts of the language and bolt two pieces of tooling on top.
Good point. I should have been more precise.

The discussions around the hunt for value stocks can be a distraction. It's pretty easy to find a good fund to buy into and then forget about it.
Don't know why you're being downvoted here. Maybe Mark Zuckerberg is lurking around here. It's a valid point. Less screen real estate = less space for ads.
This works great just not for safari since for some reason the WebKit team felt in 2015 it made since to remove SharedWorkers

https://stackoverflow.com/questions/28310501/why-did-safari-...
Granted at the start, I'm in the US, so I'm not sure what it's like in the UK. Sure, there's plenty of Hershey/Cadbury type cheap (but often satisfying) stuff here, and plenty of expensive crap that's nothing but branding, and sounds like what you're describing.

But there's also a huge variety of high cocoa, low sugar bars available that are great tasting, not overly expensive, and not skimpy. Once you skip all the sugar and diary, the complexities of the cacao flavors come through so much stronger, and different chocolates can have very different flavor profiles. It's really a different product from the strongly sweetened chocolate bars. It's definitely true that chocolate snobbery is rampant, and its annoying (as you say, to each their own), but to dismiss the variety of dark, less sweet chocolates available as people having and axe to grind is a shame.
How cool! I always felt that for complicated workout routine it's much easier to have someone counting reps for you instead. Shameless plug - we've developed push-ups detector based on orientation&accelerometer from 9-axis motion sensor: https://www.aidlab.com/blog/workout-detector-in-python
I may put the apk on apkmirror, as for f-droid, I'm not yet ready to make it OSS. But possibly in the future as I clean the code a bit.

I hope you also give Trilby a try. I hope you like it. I'm always open to feedback and criticisms. :)
Is there any service that transcribes podcast to text? I hate listening to podcasts and prefer reading something.
The simplest way to create forms
> Even simpler: do not upload copyrighted materials to Dropbox, Google Drive, etc.

This is more difficult than you are making it sound. Considering the way most people use their computers, the only way to avoid copyright infringement entirely in your use of cloud storage is not to use cloud storage the way you use your local drive but instead to assess every last file that you upload as if you were publishing it on a public website.

Sure, you can avoid uploading pirated movies (perhaps by never downloading any of them in the first place). But in fact, original works are typically copyrighted by default as soon as they are created, even if the copyright is not formally registered — and we depend on a patchwork quilt of implicit and explicit licenses for viewing and use of files on the internet. Have you ever saved a quote from somewhere? That was probably copyrighted; your use is probably legitimate, but a naive algorithm might not think so.
There are many people who argue that the middle and working classes actually have less say in democracy (as opposed to say, monarchy) because the people at the top can easily afford to buy out all the media.
There's one beside my flat, even.

https://media.karousell.com/media/photos/products/2020/12/2/...
Withdrawals are easily dealt with by taking tapering doses of Excedrin (65mg caffeine) for a few days after you quit. It's too easy.
Ask HN: Custom router to detect compromoised device
Hi,

Could someone recommend me good router&fw setup which is used in infosec/pentesting situations to monitor network traffic?

I have a few dodgy Chinese IoT devices and would like to monitor their network activity.

I know DD-WRT was the custom router fw years ago, not sure if the situation has changed, but I am basically looking for a general-use high performance (low latency 5g for VR streaming) router which can also be used to monitor traffic accuratley, with a good front end and configuration properties, includong VPN etc
I come from JS world, so React Native was the first option that came to mind.

I forgot to wrap that screen in scroll view as I thought it wouldn't be too long. I will fix it in the next version, thanks :)
That won't stop the spam appearing, and the spam accounts to generate it, it'll just remove (most of) the benefit to the spammer.

It takes less faf for them to just post anyway than to check if you use nofollow/other, and they may still get a small side benefit if a blog-spam scraper or such takes your content and reposts it without the extra directives.
I'm 38. Never had a workout or fitness routine in my entire life except for a few brief and unsustained periods of working with a trainer, but quit.

Last May I bought a Quest 2 specifically to try Supernatural, a mix of Beatsabre with a Pelaton-style experience with pre-recorded song-driven sessions.

I did one 5 song session (20 mins or so) and for the first time in my life I was dripping with sweat and thought to myself "that was fun as hell, I want to do another one."

That want did not fade. I haven't missed a day since May 5th of 2021. I go harder some days than other. I take my Quest on vacation and do at least one session. I focus on closing rings on my Apple watch. I have become more mindful of my eating too.

I was also surprised that with Supernatural specifically, the inclusion of a game mechanic that translates to squats and lunges means has translated to pretty significant increase in strength as well, even though it's "just" body weight exercises.

I was skeptical about the additon of Boxing to Supernatural, but it's become my fav mode. I get to a target heart rate faster, and I've seen significant changes in my body since adding it.

Over the last 12 months I've lost almost 60lbs, feel better, am stronger, and enjoy the process. I'm headed towards a weight I haven't been since college, and it's clearly within reach.

This never happened before VR in spite of time and money spent on professional services, products, and trainers.

I'm adding a Tempo Move for some weight training, but I don't expect to give up Supernatural anytime soon, if ever!
It's so beautiful and sad to learn about "lost arts" like physical animation cel photography.

Or perhaps "dead arts" would be a better term, as in "dead languages" like Latin. It's not lost; it's just not a living, breathing thing any longer.
What do you mean by "system you've created"? I didn't create anything. I use third-party software (e.g. Firefox) on my third-party OS (e.g. Debian).

Qubes runs Debian in a VM and isolates it to defend the user from threats.
I find it amazing that it worked on first silicon as well. The ARM 1 was truely a marvel of engineering design by a tiny team.
Due to thermal constraints, a 64-core Threadripper 3990X has a lower peak load than 4 separate 16-core Ryzen 9 3950X units combined.
Thanks OP, I'm asking this myself for last 3 years.

I think I'm gonna stick with my Xperia XZ2 Compact until it literally breaks apart. It's been quite good last 3 years.

I couldn't find any Android phone under 140mm since then.
> there isn't a maintained p2p git implementation anymore.

What, it isn't actually a decentralised distributed system any more?!?

> I'd love to just dump a bare repo to a syncthing share and collaborate with a small group of people accessing it.

Are you saying one can't do that with the latest versions of git?

WTF, when did this happen and how can I have missed what must have been huge news when it happened?
How are you feeling? What are you thinking?

Do you feel this is overhyped or not hyped enough?

What are people in your circles saying?

Do you feel you can speak freely or is do you feel intimidation against that?

Do you feel the media is completely full of propaganda? Or telling it like it is?

Russians, are you concerned about potential sanctions on your jobs and income?
In the world we live, the only thing he did wrong was born mexican.

No one care when white american folks or selected non white / non american folks sell surveillance out there.
> And the smaller the screen, the less battery you need too.

Sure, but the larger the screen the larger the battery that can fit. Apple themselves report that the iPhone 13 pro max will last longer than the pro, and the regular 13 will last longer than the mini.

Third party testing confirms for Samsung as well, with the s21 ultra lasting much longer than its smaller brothers.
Art is subjective, so if that's what makes it magic for you... cool.

Not remotely what made it charming for me. Doesn't mean I'm right, though!
The vampire is adding 3D acceleration as well it seems at the voodoo level of quality and performance. Seems like a pretty cool platform to teach kids to code.
I late-rise with the best of them, but 5:30 still pales next to 'My 25-year direction is to "facilitate innovation."'

But, well, if it works for them - I suppose it correlates with likelihood of writing a blog?
"Consistency" in this instance probably means exercising more than once a month. I think you're comparing VR exercise with a hypothetical ideal based on your own exercise routine, when it should really be compared with what a given individual was doing beforehand, which is probably some kind of cardio with no upper-body impact, or absolutely nothing.
> Maybe I'm too brainwashed by git, but it seems to me one of its benefits is the way the index works.

And maybe I'm too brainwashed by Mercurial, but to me the index is nothing but a single weird commit with only downsides (why do we need a UI to work with the index that's different from the one to interact with commits, although the capabilities should be the same? Why being limited to a single index and not several? Why the different versioning/shareability characteristics, etc).

I largely prefer Mercurial's "public vs draft" strategy and the "commit what you have and we give you the tools to tidy up the series whenever you feel like it". In practice it means that you have as many "indexes" as your series is long, and with hg's mutable-history and amazing history-rewriting extensions like absorb, it's much more convenient, fast and safe to work with than the git inconsistent equivalents.
How do you explain the millions spent on in game purchases of digital goods then? Seems like you are projecting your own issues with NFT and the person asking is just imagining ownership paradigms.
At least until you need to restore, then I understand that you will pay much more.
I used to get back pain once or twice a year, but not since I started (very casually) doing pull-ups a few years ago.

You can jump/step up so your chin is at the bar, and then lower yourself down as slowly as possible. Watch out for the muscle pain the next day though… and definitely stop if you don’t have the strength to slow yourself down. Listen to your body, muscle pain is ok, joint pain means stop immediately.

Just ten minutes most weekdays was enough to make me noticeably less skinny and stop the back pain.
It's a shame it runs Android and not PalmOS.
Running a consumer site that has plenty of user generated outgoing links but doesn’t give any exposure to new accounts I’ve seen a lot of different spam tactics as well. The one thing that has worked reliably is building a repository of bad IPs or potentially domains that are doing the spamming and blocking those. I wonder if a central repository of bad actors with this type of activity can be made for multiple UGC platforms to share. Wouldn’t be surprised if Akismet and other spam blockers already surface those. Bonus points if each entry provides details on the kind of attack vector used by each spammer and the sites who add to the list are also vetted/penalized for bad entries. Plus entries have a way of appealing if needed. Multiple layers of accountability built in. Unique ids won work - too dangerous and likely to be abused by advertisers or centralized entities trying to track individuals.
The files don’t have to ‘litter the place’ on other systems. We have advanced technology that can hide such files from users.
>automation can free them to do more things.

This was my latter point. Automation is often augmented, to use your words. This is more true the higher you get in skills. A Da Vinci robot does not replace a surgeon. But lower level skills are where the difficulty is at. A fork-lift driver may be automated away completely by a parts-picking robot. This is where unions are beneficial in my view. They can ensure at least a relatively soft landing with retraining, replacement, etc.
Every web application I work with has this idea of a "run" script[0], basically a self isolated shell script to help automate running certain commands. Sort of like a Makefile except with the full power of your shell.

For example: https://github.com/nickjj/docker-flask-example/blob/main/run

In a bigger project this file tends to grow quite large, even when you have the power of a programming language available to you there's plenty of tasks where it makes sense to keep it as a shell script. Now imagine you work on a team where other folks want to contribute new functionality, it's important to have automated tools to help stick with a consistent style, just like you would want to use Black with Python.

The run script for my infrastructure repo at one place I work for is almost 1,500 lines of shell scripting that's broken up into many small functions. It's not a big jumbled mess either, it's very organized and optimized to make running long commands faster and less error prone (even if they happen to be called in CI). These functions are mostly calling out to Terraform and other tools too, it's not 1,500 lines because of long winded cloud CLI tool API calls or anything like that.

[0]: https://nickjanetakis.com/blog/replacing-make-with-a-shell-s...
There are two factors that I think make invasion most likely outcome:

1. Putin’s guiding principle is being remembered as Russia’s greatest leader and the one who restored Russia to greatness. All other considerations are second.

2. Putin does not believe the sanctions the world says they will impose are actually going to be that severe.
Banks literally do have to perform money laundering checks on deposit boxes.
it would be a large increase in money for the bottom, but at the same time you'll have more people living on minimum wage (say you raise the wage from 7 to 20, all that make 7-20 today will either be unemployed or living on minimum wage). But living on minimum wage sucks, no matter what the level is. Everything is instantly more expensive, especially the stuff that poor people spend most of their money on: groceries, fast food, gas
> Even simpler: do not upload copyrighted materials to Dropbox, Google Drive, etc.

Everything is copyrighted. The comment you just wrote is automatically copyrighted. "Do not upload copyrighted materials" means you can only upload things made over a century ago (which either were made before copyright existed, or were copyrighted but their copyright expired). Want to upload your vacation photos? Too bad, they were made this year, so they are copyrighted, and will be copyrighted for several decades after you're already dead.
Thank you and totally agree. I think of it every time I open Google.com, practically it just does one simple thing (search input box), but there is so much behind it.
All files are copyrighted. In fact, my .DS_Store files are generated by my computer against my content and belong to me.

Some 10x engineer at google write code that flags it, how is that my problem?
The Unreasonable Effectiveness of Napkin Math Estimation
Ansible has a linter. We do use it on our playbooks (locally and in CI). There's also a framework for testing and linting ansible plugins (ansible-test IIRC), though that's been a little painful for us to setup.

That said, we do have a lot of helper scripts that we use in our day-to-day (local development). They're not "large bash scripts", but they're small enough that we don't really need a proper programming language. Some degree of code quality with style guides and shellcheck does help.
I think Android version is very important, this is often the first filter that I use in order to filter out older devices. Yes, I know there are older devices e.g. 3 year old Smartphones that can be upgraded to the latest Android, but I'm not interested in such a device, because it's very likely that the support will end very soon and that the phone might lack some newer features of recent years, like Quick Charge 5.

If it's available I would use launch date to filter out older devices.
See for example the experiment conducted by Tom Van Baak about 15 years ago: http://leapsecond.com/great2005/.

He drove three Cesium clocks up Mount Rainier and returned after a week. He compared them to a clock he left at home for the journey. The graph that he shows on the page and his associated commentary is interesting.

Ultimately, a clock is simply an abstract device that goes tick-tick-tick at some regular rate. Once one starts measuring the phenomenon itself---mechanics of the human heart, tidal forces on the Earth, friction in a pendulum, or the uncertainty principle in atoms---it is no longer feasible to treat it as objective time.

International Atomic Time (TAI) itself consists of an ensemble of 400 atomic clocks, with the collective being more accurate (the proper word is "stable", I think?) than any of its constituents.
Yes this is true, but also we'll have trillionaires added to our spellchecker dictionaries in a couple years. We really do have a huge problem on our hands.
From latest phones of known brands I pretty much only get Google Pixel 4A (144 mm) and Asus Zenfone 8 (148 mm). I wouldn't consider these small phones.