256 karma · joined January 30, 2017
I think both should be considered hacks, but zero click is much scarier, so it makes sense to distinguish them
I completely disagree, except for high end picture or video production. I have used way too many websites that clearly only work well on large, nice displays. Most end users of anything will not have the same high quality expensive monitor/computer that's being suggested.
I remember reading some article about someone who used an old i3 processor on a 4:3 laptop screen or something, knowing that if his code is slow for him, it's slow for his users. I think this mindset is genius and should be more common. Take MS Teams for example. It's like their devs have only ever tested on a gigabit link M1 and it's painful for the other 99.9% of people who use it.
So if you want to get a nice setup for yourself, then you should. But you should not do it for your clients, and if you do, you should understand your users will not have machines like yours.
Of course, it's much easier to find one with Bluetooth; there are tons of other ones with "smart" features that are the same price.
The reality is, you change the way you think about editing. It took about a week away from vim but eventually I could see the selections in realtime. Not as a gimmick like with multicursor vim, but as the basis of everything. I have been using it exclusively for 2 years and haven't looked back once. Single-cursor editing is about the same speed, but selection oriented editing blows vim out of the water with anything with 2 or more edits.
It's like if a notepad user said "what's the point of vim? I can just use a mouse and arrow keys??" Vim changes the way you see things - you see a space separated word so you use W or a line with whitespace at the beginning so you use I. It's hard to explain other than you change your understanding of editing.
Edit: that gimmick comment might annoy some people. I used to use it and love it. But the reality is, it was just an add-on to an already-grest editor. After my plugin phase of vim, I realised it didn't really add much at all. So 'gimmick' is probably too harsh
If you have ever set one of these up with a QR code, that QR scans to something like: otpauth://totp/ACME%20Co:john.doe@email.com?secret=HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ&issuer=ACME%20Co&algorithm=SHA1&digits=6&period=30 (From: https://github.com/google/google-authenticator/wiki/Key-Uri-...). Notice all parameters I mentioned above are present, as well as a user friendly account name.
So to directly answer your question: a backup would in some way contain all the parameters above, possibly in that otpauth:// format, but could be json or something else.
I would not consider Authy to be a trustworthy backup. I assume they are storing these secrets for you and transferring them to other computers at your request. If you can't see the secret, you can't switch to a different app. (Take this last paragraph with a grain of salt, I don't know much about authy but it sounds like trouble. I use FreeOTP and other open source OTP apps).
* I'm not sure what you mean by four PATHs, but if you really mean to be using unset variables for them, you should be using " ${V-}" or "${V:-}" syntax which does not fail. But again I don't know why you would do this other than maybe [[ "${1-}" ]]
* Variable arguments are still trivial with $#. Check (($#>3)), use while (($#>0)), etc
I also disagree that this is unproductive. With minor modifications/(adding :- or -), you can prevent a whole class of bugs (undefined variables). This woukd have prevent real-world issues such as in the post here as well as Steam when it wiped home directories since it ran (not sure the exact syntax) rm -rf $STEAMROOT/* with an unset variable
Haven't done it in a while, but looks like this should work: https://askubuntu.com/a/845119
Obviously replace convert with mogrify ./* after backing them up
If Android really cared about its users, all it would have to do is permit user-prompted screenshots and screen recordings but still block other app access. I can't think of a time where I'd want my own phone preventing me from screenshotting, but I can see the use case for general screen access prevention.
I don't personally know a root-obly way to disable this, but xposed has the disable_flag_secure module that I'm weary of using because it removes the flag everywhere.
I really dislike this framing and I could not disagree more. Android is open source does that mean it is also zero percent privacy? What about the Anom phone in recent news? If all three are zero percent privacy then would they not be equally private? iPhone is more private than Android as there's much less data exfiltration and the Anom phone is clearly less private than both. I love open source, but saying any closed source system is zero percent private is not helpful.
#!/usr/bin/env bash
{
find . -name "*.go" -print
echo package.json
} | entr bash -c '
set -euxo pipefail
clear
go fmt
clear
go build
:
'
You can make it fancier like adding cd into "${BASH_SOURCE[0]%/*}", etcWhat is your source on this? Every recognizable song is surely not stored on-device so something must be uploaded.
I really wish people would disclose when they're profiting from a link click. Am I misunderstanding something or is this website profiting in some way here? There's no referral code but it has a utm source/campaign
This sounds terrible for a lot of other reasons, but anyway. It sounds like they want to rely on collected data about roads which is great, but cars still have to have safety measures for pedestrians/unexpected obstacles like trucks or new road issues.
5G would improve this but I still don't see how it's necessary. Even now it sounds like it's collecting data and uploading it on WiFi or something later. I'd be surprised if it was too much data for 4G.
For example, he could install moeeutils and then just:
alias pre-commit='chronic cargo test& exa -l; wait'
If you really want splits, just spawn tmux with two panes using Tmuxinator, or: pre-commit() {
tmux new-session \; \
send-keys 'cargo test || read' C-m \; \
split-window -v \; \
send-keys 'exa -l' C-m
}
Shell is powerful because of its compossibility, but if you don't choose to learn it then of course it feels clunkyWhat do you mean? We basically have the first prototype of self driving cars already and what city infrastructure works on 5G but not 4G?
read_flags="-t 0.05" read "$read_flags" -srn 1
Won't work. This sets read's environment variable read_flags and expands the current shell's value of $read flags, which generally won't be set. For example: a=1 echo $a
Prints nothing because a is not defined in the current shell. To fix, make read a separate statement1) Install ClearURLs. This addon strips tracking identifiers from URLs. If you hover a google search link you'll see it doesn't direct to you to website.com it directs you to google.com which then forwards you to the site you clicked without this addon
2) Configure Temporary Containers to make a new container for every different subdomain or domain. This way, if you click a link from google search, regardless of using ClearURLs, a new container spawns for any domain/subdomain that does not match (ex: click netflix.com from google and TemporaryContainers identifies this and spawns a second tab for netflix). This makes some things impossible, like SSO, so configuring it properly can be tricky. You might be able to configure it such that only links clicked from google.com spawn a new container and those that redirect to sso sites don't, but I haven't done this. You can always open a private window where the context is shared (temporary containers don't work in private) if you need SSO.
Obviously there's more you have to do to be even safer because with pings on by default and js enabled on google, they can still see you clicked a link. Also, with Google Analytics (GA), they can infer someone searching "x" and then "another user" from the same IP fetches "x" GA tracking scripts a second later is the same person. The list goes on and Google really likes tracking people, so it's very difficult to mitigate. The first and most important thing you can do is GET OFF CHROME/EDGE!
What I don't understand is why discourse can't serve up content that isn't interactive. I get lazy loading if there are >1000 comments on a post, but for anything else, static content should be perfectly fine. Even when you have js on, ctrlf doesn't work because of dynamic loading so the site has to hijack the shortcut with different interaction patterns (pressing enter doesn't go to next result, it loads a separate page).
I just tested with the 999 comment post on that site. First page load with no cache is 5.98MB (1.25MB) and took 5.76s load time. Holding the end key to get to the bottom until I hit the last post downloads a total of 1.91MB (718KB transfer) and takes 70s! That's including all the pictures. That cannot be better than than loading all text and optionally deferring all img loads, right?
> If I can...
You can! Install Firefox, Multi account containers (add-on by Mozilla), and Temporary Containers (third party addon). You can configure Temporary Containers to spawn a new container for every tab, or every google tab, etc. Each container is like a new browser session. It can clear the data of a closed container after 15 minutes.
What do you mean by this? You can write safe shell scripts; it just takes discipline and learning how to correctly write them.
There are a lot of pitfalls but it isn't that hard if people actually learned the language.
Edit: to clarify discipline meaning always doing things correctly and never taking shortcuts. For example, you must use:
while IFS= read -r || [[ "${REPLY}" ]]; do ((X++)); done < <(command)
If you want to loop over lines in a file. Don't use for loops, don't pipe to while, etc. It may be verbose but it won't be buggyI suspect Microsoft isn't indexing prices of smaller retailers as well, so that would also drive more business to Walmart.