HNHacker News
TopNewBestAskShowJobs

reayn

314 karma · joined June 16, 2021

UTD '24 [ECS]

occasionally delusional

home: https://reyan.co

mail: mail@reyan.co

submissionscomments
reayn··on Shell [Scripting] Style Guide
This pairs extremely well with dylan's Pure Bash/sh Bible [1], both, combined with admittedly way too many hours browsing random people's dotfiles can exponentially increase your skills with shells scripting.

Some tips of my own:

Adding `2>/dev/null` or `>/dev/null 2>&1`after most commands with expected or just plain useless output can make writing headless scripts very easy, it also comes in very handy when trying to shut up some basic utilities.

A handy function:

  execute() {
 pkill -x "$1"
 {
  sleep 0.1
  "$@" &
 }
  } >/dev/null 2>&1
`set --` before running a command can be used to remove all excess whitespace (making parsing dead easy).

And last but not least always using printf instead of echo makes your scripts 1000x cooler :)

0. https://github.com/dylanaraps/pure-sh-bible 1. https://github.com/dylanaraps/pure-bash-bible

reayn··on Ask HN: What are the best-designed things you've ever used?
Is this made by the same people who made https://www.raycast.com/?

The website design seems uncannily similar.

reayn··on Ask HN: What mental models do you use everyday?
20% of the work can lead to 80% of results

law of diminishing returns (the logarithmic curve)

you don't know as much as you think (dunning-kruger effect)

reayn··on Ask HN: How do you back up your Android phone?
I understand that value, but such statements usually tend to completely disregard what could be immense amounts of context.

Not everyone is the same, IMO specificity always helps when it comes to giving advice such as this.

reayn··on Apple announces Self Service Repair
Where i come from it's referred to as the "Globohomo" art style and god do I hate it with a passion.

I will admit the iteration in this specific article isn't too bad but the style overall just seems tasteless and attempts to be so unoffensive that it ends up being offensive in a different way.

I'll stop ranting about it now.

reayn··on Ask HN: How do you back up your Android phone?
Although I respect your determination, is there any actual reason to comment this on an Ask HN?

OP is looking for answers after all, not complete dismissals

reayn··on Searx – Privacy-respecting metasearch engine
You are supposed to type something into the search field then click the engine you want to use, it will pass on whatever you entered.

I agree that the creator could make that a little more clear somewhere on the page.

reayn··on I'm “still afraid to use spaces in file names” years old
Most shells will behave just fine if you put a quote (single or double) before anything that has a space.

A small extra step but something you get used to if you spend a lot of time in the cli.

reayn··on Hypnogram: Create an image from text
Pleasantly surprised with what I got for "misty mountain":

https://i.postimg.cc/ryDWKPXT/image.png

I wonder, what stops someone just using one of the images generated here as their own "art"?

reayn··on Apple’s New Screen Repair Trap
Absolutely seconded. While I understand the reaction that many people here have to these sorts of things, in the end it is Apple's product and nothing forces you to buy it.

People shill alternatives all the time here, why not do it in these sorts of discussions too.

>The problem is no other mainstream manufacturers can be trusted to provide a device as secure and private as Apple’s.

As much as I hate to admit it this is pretty much true, and extends beyond just security and privacy for me, having an actually reliable (and power user friendly) ecosystem to dump my tech needs into has been a godsend.

reayn··on As teens left Facebook, it planned to target 6-year-olds, documents show
Oops, the reference flew right above my head, nothing personal lol.

>I do think I see more people appearing to make substantial comments that are based on misunderstandings from the title alone, and that’s more worrisome to me.

Exactly.

reayn··on As teens left Facebook, it planned to target 6-year-olds, documents show
> I got the full brunt of the internet at 8 and that's 1000x worse than anything on FB.

This is like saying you got your ass beat by the big kids at school after messing with them and now every other kid should go through that experience as well.

> I still don't think there's anything wrong with FB

Check out some submissions [0] and see if you hold the same POV afterwards.

0. https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

reayn··on As teens left Facebook, it planned to target 6-year-olds, documents show
I haven't been on HN for a long time (maybe a year counting my pre-account lurking stage) but I've noticed that quite a lot of comments here seem to just be knee-jerk reactions to what the submissions' title is.

Not saying that's a bad thing in its entirety (the titles here are usually great and can easily spark discussion on their own) but just something I hope I'm not alone in having noticed.

reayn··on As teens left Facebook, it planned to target 6-year-olds, documents show
Most kids avoid facebook because it's not nearly as friendly UI-wise as tiktok/instagram or snapchat and lacks a lot of "shiny features" that those apps have. The word "facebook" also comes with a pretty boomer connotation when heard by anyone under the age of 20 nowadays and most kids genuinely think that only grandparents use it.

Also the quality and types of content you frequently find on facebook simply just don't attract people our age anymore.

>nd the company don't seem to care at all what kids post online, who views the content, or whether kids are being harmed.

They have no reason to, all of the names you mentioned make all of their decisions and changes based off of what will increase engagement, not the greater good.

Pretty sure everyone on HN already knows that though.

reayn··on Facebook Renames to Meta
At least the acronym that includes microsoft isn't offensive anymore, just a nice MAGMAN.
reayn··on Lua backed completion engine for Neovim
Been using this for quite a while as well, the authors commitment to optimization is genuinely inspiring lol.
reayn··on Scientists have found a way to harden wood to make a knife that rivals steel
A scissor can't really compare to a proper forged and heat treated knife, and for the purpose of using a seemingly everyday object for a more malicious purpose there are better things imo.
reayn··on Android 12
Whitespace is among the least of new reddit's problems lol.
reayn··on Google takes two-to-four times as much as the fees charged by rival ad networks
Just curious, what constitutes the "quality" of an ad for you? I've never really thought about ads that way; for me it was just whichever service can stuff their name down your throat the most often was the most successful.
reayn··on Android 12
I like the idea of having iOS as just a portal to a bunch of your apps, but I think saying something like this would've made much more sense 5+ years ago. Nowadays, 99% of people see their phones are far, far more. Whether that is a good or bad thing depends on the person i guess.

> 7: "swipe to unlock" in thin text on... the background? So what do I swipe? Oh, the screen itself...

I can already detect what is probably a massive difference in technical literacy and age between us but I'll humor myself anyways. I still have an iPhone 3g lying around with the old physical looking slider and while i do agree it made more sense than just swiping up from the background, our great UX overloads at basically every phone company around the release of iOS 7 probably decided that just swiping on the background was more aesthetic and "modern".

Now that I think about it, the same could probably be said for just about any major mobile UI change over the past few years.

Also regarding what you said about the move from a physical home button, I am torn here, I like both approaches very much (as someone who has an iPhone SE and a 13 mini on hand) and can't really decide which is better. Though I will admit that once you really master the fully gesture based UX of newer iOS releases, it is just a tad but more efficient, if less "sensible" overall.

I still do wish Apple made a flagship alternative iphone which was just an 8 plus but with the latest and greatest chip and screen and battery and whatnot but with classic old look and feel, I have no doubt it would sell pretty well too.

> Overall it's just far less relaxing and straightforward than it used to be.

I genuinely believe this is by design, these products (both software and hardware) are being sold to people who already know what's been going on for the most part (and in the case of newbies, this is what they are first introduced to so they never even knew there was another reality) and can easily adapt to the new interface changes. In practice, I remember people being frustrated about the iPhone X's gesture based interface but Apple has improved it to the point where no one really mentions it anymore, it's just a part of the refined iOS experience now i guess.

> Swiping the screen up from the bottom is not a complete replacement for that.

Last note, you have to at least acknowledge that it's mad satisfying to do so, if a little unnatural at first.

reayn··on Android 12
Really? I've found Apple's slow and steady approach to additions in the iOS UI to be more pleasant than not. I will admit I've only been using iPhones since iOS 10 but have mostly only noticed improvements since then (e.g. the new control panel, amazing animations, app library).

Widgets, as well, have been a deal breaker for me, what makes you dislike them?

The only real problem I have with iOS as a whole right now is how buried some actions can be, especially in apps like Safari and Music, some things which should be a press away can take 3-4 taps to complete, which while not really annoying does make me feel like a grandpa just tapping away at his phone to share an image or add a song to my queue.

reayn··on Android 12
I doubt anyone here wants more tweets. I personally wish the twitter UI would just be entirely whitespace (or a fine chirping blue if they're feeling adventerous) for their audience to sit and enjoy; I can genuinely find no drawbacks to such a UI rework.
reayn··on Android 12
I've never eaten it before only ever heard of it, though after some "research" there does seem to be dessert variants of it.
reayn··on Android 12
Quiche could've worked
reayn··on MacBook Pro 14-inch and MacBook Pro 16-inch
The M1 cameras are not a huge upgrade, they are the same as the ones macbooks have had for years now; they just now make use of the M1's image processing hardware, and even then the improvement is nothing to write home about.

I love my M1 Air but this is one area where it doesn't really shine.

If the 1080p camera is anywhere near the one in the new iMac, it should be better than anything you need.

reayn··on Canon sued for disabling scanner when printers run out of ink
For the iPhone itself you don't really get good competition aside from what Samsum and Xiamo offer for that price range. Though I've heard great things about the Asus Zenfone 8 as an all rounded and OnePlus as more of a "budget flagship"

iMessage: lol good luck if you can get people to switch to signal or something that would be ideal but most people just don't care in my opinion. Discord, telegram (depending on how much privacy means to you) can also be suitable alternatives. Though nothing really replaces iMessage's "sms if ded" functionality afaik.

Apple Wallet: Oof you've got me there, nothing really competes with it and yeah, a couple of my friends have complained about no passes on GPay as well, sucks.

AirPlay/Airdrop: Surprising this concept has only really been actualized in the apple ecosystem. There are 3rd party alternatives like netcat clients and qrcp and whatnot but nothing as noob friendly that I can think of unfortunately. I've literally never seen any other company implement something like AirPlay so I'll have to leave you hanging there. But a search for "airplay" on github does show some interesting projects if that rings your bell.

AirPods: UGH, you hit all the hard spots. God I love the way they connect without having to worry about going to bluetooth settings though I'm pretty sure that samsung implements something similar with their buds and phones. I guess this one's just which companys' implementation do you want. In terms of how good the headphones actually are, litearlly any $20 chi-fi IEM will objectively outperform the AirPods lol they aren't known for good sound (airprods pro rock though).

HomePod: Never used this but Home Assistant[1] setups are trending right now, give them a look.

1. https://www.home-assistant.io/

reayn··on Canon sued for disabling scanner when printers run out of ink
It's not that I failed to answer, I simply asked the parent to be more specific.

Unless you wanted me to write an exhaustive list of alternatives for everything Apple makes.

reayn··on Canon sued for disabling scanner when printers run out of ink
Would help if you could be more specific here but aside from hardware (macbook/iPhone) there's alternatives (not just competitive but also plain better ones) to just about every service Apple provides.
reayn··on Show HN: Stormah, cloud notes stored in your own Git repo
I've been using Working Copy [0] for quite some time and have yet to meet any limitations. It's a freemium business model (though the free version did have more than enough functionality for me until I wanted to push from my mobile device as well) but the one time $5 payment is well worth it in my opinion for how high quality of an app it is. It has some crazy features and crisp integration with the iOS workflow, I'd highly recommend it.

0. https://workingcopy.app/

reayn··on Apple Captures 75% of Global Handset Market Operating Profit in Q2 2021
Once again I don't really understand the comparison between a PHONE and a gucci bag/expensive watch.

Unlike the iPhone, the products you mention cost orders of magnitude more than their competition, I can buy a $30 bag from Ross and a $2000 bag from Gucci and get basically no extra functionality, they are both bags. Despite what people say, iPhones are priced relatively competitively with their competition and don't really have the same "Luxury Appeal" that a Rolex watch may have in comparison to a Casio one.

> You to an unhealthy degree, apparently.

?

← PreviousPage 2 of 3Next →