HNHacker News
TopNewBestAskShowJobs

stonewareslord

256 karma · joined January 30, 2017

submissionscomments
stonewareslord··on Bash Error Handling
What is the gotcha here? You’re telling it to pipefail and exit on fail, so it exits.
stonewareslord··on Google TV
I don’t know if Google TV is just a launcher, but I can answer the question "what is a launcher?"

On Android systems, a launcher is the home screen plus a little more. iPhone doesn’t have this concept as there's only one "launcher": the home screen. On android, however, you can install apps to radically change your home screen layout. Some are terminals, some are just A-Z lists of your apps, etc. A launcher on Android TV would be more significant because it would probably include movies, shows, and music instead of just apps.

stonewareslord··on Show HN: Jazz up your Python scripts with sound effects
On Mac or Linux, I run "tput bel" to the end of expextedly long-running commands. On Mac, the icon bounces and system makes a beep sound. On linux (i3/urxvt), the window and workspace turns red until I focus it.

You can usually also type it after the command has started and it’ll still work

stonewareslord··on Docker to rate limit image pulls
There's a feature of linx-server that provides uploaded files with a torrent URL as well as a regular download URL. I believe the torrent client tries fetching data from peers as well as from linx (http).

https://github.com/andreimarcu/linx-server

stonewareslord··on Siggo: A terminal GUI for signal-CLI, written in Go
I am pertty sure signal backs up SMS messages and if you enable backups, it looks like you might be able to extract them with this: https://github.com/xeals/signal-back/blob/master/README.md

Not great for the non tech-savvy, but I don’t know of any SMS backup strategy that is

stonewareslord··on Termux and Android 10
Termux allows you to apt install thousands of packages. The options in that issue aren't nearly as good. Bundling every binary in the apk? That would be a breach of licenses, let alone the amount of storage that would take up to have gimp, libreoffice, Firefox, etc installed. As mentioned, proot is a temporary hack (why wouldn't any app just stick proot in their lib Dir?).

Even if the workaround works, this would break apt install from non-termux repos, compiling and running with gcc, maybe Python packages installed with pip.

Google's intent here is to block code execution in the app home Dir. Any workaround would be a security violation and eventually stopped. How is this not killing Termux?

stonewareslord··on Termux and Android 10
You can diff Unix configs with... diff

I don't think it's ever advisible to tar -xf- -C / to fix a minor config issue. Just extract in tmp and diff -aru etc /etc

stonewareslord··on Termux and Android 10
If I understand correctly, they are killing exec in app homedir. I assume they would block exec in the sdcard too then. If that's the case, what's the workaround for installing and running things through termux's apt get?
stonewareslord··on Mastering systemd: Securing and sandboxing applications and services
Did you read the source of sinit? It's an example of what init can look like. Check out the <90 source code here: https://git.suckless.org/sinit/file/sinit.c.html

I don’t think they’re trying to push sinit as a replacement, they’re showing just how bloated their init system has gotten.

stonewareslord··on My blog is a digital garden, not a blog
This is how my notes have been stored for years. I have:

- A single markdown (soon ASCIIdoc) converted to a single html page with pandoc and a little css markdown - Autogenerated TOC at the top if I want to link someone to a section, which is just an anchor. I use ctrl+f for myself - It is 188K and has no pictures so it works perfectly on slow connections. 50 pages if printed to PDF

stonewareslord··on The facts around Zoom and encryption for meetings/webinars
Does anyone know how this could technically be possible? For a meeting with all Zoom clients they say they use E2E. When a new participant joins, they are immediately added to the meeting.

Is a new pubkey key generated and passed to existing participants? Is there one shared symmetric key that is sent to the new participant? What stops zoom from "adding a participant" and allowing themselves to decrypt the meeting? Is there no server-side transcoding done at all?

It's obvious phone enabled calls can’t be E2E

stonewareslord··on Bokehlicious Selfies
The author also uses a neural network to automatically detect the foreground and apply the filter only to the background so this can be done automatically.
stonewareslord··on Is there any code in Firefox (as of 2020) that comes from Netscape Navigator?
They're working on porting it. See Oxidation Project: https://wiki.mozilla.org/Oxidation#Rust_Components

e: Edit url to point to rust status in Firefox

stonewareslord··on Stranded after driving out of cellphone range in app-powered smart car
DRM doesn't have to require ownership. See Amazon's ebooks or Netflix. Not owned, but still under DRM.
stonewareslord··on Show HN: I published my first website – ShellMagic.xyz
> . expands to the current directory. > .. expands to parent directory.

I don’t believe this is true. These aren’t expansions, but rather actual objects you can reference that point to cwd and cwd's parent.

You can tell because `echo .` doesn’t expand while `echo ~` does

stonewareslord··on Show HN: LastingPaper – A Desktop App for Your E-Ink Kindle
Calibre handles this very well. Plug in kindle > open calibre > go to device settings and uncheck pdf support > add books and calibre automatically converts to .mobi
stonewareslord··on A Phone Company Run by Drug Traffickers
Telegram is not encrypted for for group or direct chats unless the user creates a secret chat. So although telegram is probably above signal in usage, I would guess encrypted chats are not
stonewareslord··on PowerToys – Windows system utilities to maximize productivity
It's just a different way of thinking about windows. Why is a stacked layout better? Because users are more familiar with them. Why is tiling ‘better’? Because it gives more control to the user so they can work faster.

In my experience with tiling, almost everything is faster. It boils down to vim vs a mouse based editor. People prefer it because your hands already on the keyboard, why move them to do arbitrary things like window switching?

Example: your web browser is always accessible with Win+2, the window to the left is Win+h, your terminal is Win+Enter, etc. It's trivial to create a binding for something you do often, for example press Win+q to create a QR code from your clipboard. If you don’t like any of those, it's easy to change them to fit your style.

Also it seems like you aren't consnidering workspaces, which are key with tiling window managers. If you had only one workspace then yeah, just having 4 windows would already cut your window size. Workspaces allow you to have multiple desktops of tiling windows. So you could have just one window in workspace 2 and 4 windows in workspace 1, ...

stonewareslord··on Jupyter switches to C++ kernel and widgets
I think OP doesn’t realize Jupyter supports multiple kernels and already has a bunch, they’re just adding another.
stonewareslord··on The bleak picture of two-factor authentication adoption in the wild
Why not just use an open source app like FreeOTP (android only)? The TOTP/HTOP spec requires no network as well so you can firewall the apps and they’ll still work fine.
stonewareslord··on Why do all websites look the same?
I have to disagree with this. Websites loaded slower because our connection was much slower. You’re comparing network speeds to page load times, which are different.

With today's speeds, the older internet is so much faster than “modern” sites. Some sites even have a loading bar (ex: gmail). Compared to sites with minimal/no Javascript, they’re much slower. 5s is not a good load time for a webpage especially with today's internet speeds.

stonewareslord··on Facebook Container for Firefox
This can be done with Firefox Multi-Account Containers[1] and Temporary Containers[2].

[1]: https://addons.mozilla.org/en-US/firefox/addon/multi-account...

[2]: https://addons.mozilla.org/en-US/firefox/addon/temporary-con...

stonewareslord··on Why I left Mac for Windows: Apple has given up
It is possible and very easy. Just drag the photo from iPhoto to the upload dialog.
← PreviousPage 4 of 4