HNHacker News
TopNewBestAskShowJobs

AnonHP

1,876 karma · joined July 15, 2020

submissionscomments
AnonHP··on Ask HN: What are your favorite one-liner shell commands you use?
Defined this in whatever init script the shell uses so that I get a long listing of files (first alias below) and long listing of files sorted from oldest to newest (second alias below):

alias ll=“ls -l”

alias lln=“ls -lrt”

Apart from this, I have a few aliases defined to get the size of specific folders and their subfolders (using ‘du -h’ for human readable sizes). The aliases are named like “duh”, “dut” and so on.

AnonHP··on Ask HN: What are your favorite one-liner shell commands you use?
This is an “I need a long coffee break” command, right?
AnonHP··on Apple vs the Law
> I recently got a Garmin Watch after years of using an Apple Watch. On Android you can enable/disable notifications per app. On iOS you are stuck with all or nothing

Are you referring to notifications on the Apple Watch? If yes, you can control them by app and decide which ones you want (or don’t want) on the watch. The default is to “Mirror my iPhone”.

You can change the notification settings for Apple Watch by app in the Watch App, opening the Notifications menu (the very first one below the watch faces) and then scrolling down to the apps.

AnonHP··on Apple Is on Defense at WWDC
> I suspect instead that Apple, knowing they fucked up w/ regard to devs, want to completely control their own mea culpa and not risk a slip-up/soundbite coming from a talk show.

I have watched many of “The Talk Show” post WWDC episodes, but I don’t think John Gruber actually asks (or has asked) tough questions at that event. This time though, it would’ve been extremely awkward not to ask any questions at all about the state of Apple Intelligence and where it’s heading. For Apple, it would be difficult to focus on other topics that it wants to advertise to the audience.

> I do expect an apology during the Keynote. How sincere an apology, well that's up to the developers to decide.

Apple never apologizes in public and doesn’t admits mistakes as mistakes in public (it may sometimes acknowledge certain things and word it very differently). At least not as a full fledged apology of any sort for various reasons. IIRC, there’s already a class action lawsuit filed against it for misleading and false promises about Apple Intelligence. The last thing Apple would do is provide more ammo for that suit to succeed and for more lawsuits to be filed for every misstep and egregious delivery in/from its announcements.

AnonHP··on Apple Is on Defense at WWDC
I don’t think Apple’s organization structure and its current leadership team are going to be able to handle a corporate market. It takes a different mindset, attitude and focus to work on that. But, never say never! I doubt this will happen anytime soon.
AnonHP··on The principles of database design, or, the Truth is out there
Seems like this article places too much emphasis on normalization, which is appropriate for many cases, but may be a huge cost and performance issue for requirements like reporting. You may probably need different kinds of schema and data storage structures for different requirements in the same application, which in turn may result in duplicated data, but results in acceptable trade offs.
AnonHP··on Critical Warning for External Purchases in Apple App Store
Thanks for the correction. I was wrong in saying that Eddy Cue was responsible for this. I was referring to the App Store and its issues in general (not just the recent ruling), and the one to blame in the past would’ve been Phil Schiller. Now it seems like Tim Cook is the one to be blamed for everything App Store. The entire App Store needs a rethink and a revamp without the bean counters running the show.
AnonHP··on Critical Warning for External Purchases in Apple App Store
Hopefully the EU shames Apple and threatens with more fines for this “malicious compliance”.

Warning: potentially inflammatory content ahead.

AFAIK, Eddy Cue is the one responsible for all this. He’s known to be a shrewd negotiator (with Hollywood studios and such), but the App Store has been a disaster for developers in many ways (as well as users, in some ways) for a very long time. Tim Cook has trusted lieutenants who shouldn’t be, and gotten rid of those who could’ve done a little better (Scott Forstall, I believe, was one of those).

AnonHP··on I failed a take-home assignment from Kagi Search
From this post, it seems like the hiring manager is either not the real hiring manager (maybe just an HR agent with this lofty title) or was himself hired without any screening or on the job evaluation for reading and responding to emails (which is a big part, IMO, of any manager) or has multiple roles to play and has no time to devote to hiring.

I feel sorry for the author to have spent more time on actually doing the assignment after that reply.

AnonHP··on Office is too slow, so Microsoft is making it load at Windows startup
I use LibreOffice for my personal needs, which is spreadsheets (I also donate to Document Foundation to support it). Sadly, even LibreOffice has suffered from being slow to start up, is bloated and sluggish (on Windows and macOS; I have tried it on Linux for a very long time).

It seems like all Office-like apps are cursed to be slow and bloated. It also seems like 32GB should be the bare minimum amount of RAM for a Windows machine today (even the “new Teams” app is sluggish nowadays and takes up quite a bit of memory or crashes often).

AnonHP··on Apple violated antitrust ruling, judge finds
But isn’t that orthogonal to this topic? Being strong on not allowing or losing to competition from a business standpoint vs. advocating that it’s a good idea to follow the judicial directives without playing around?
AnonHP··on My sourdough starter has twins
Thanks for the link. It has hundreds of videos though. Any specific videos you’d recommend to get started and to fine tune it?
AnonHP··on 101 BASIC Computer Games
I had fun changing the barrier wall sizes in nibbles to make some levels easier. Having the source accessible and easy to change was quite useful.
AnonHP··on [dead]
No context or links to understand any history or anything about the issue. I have no idea why this was shared here and what is expected in a discussion here.
AnonHP··on Multi-threading is always the wrong design (2023)
Since many comments here are critical of this article, are there any better sources on this topic? If yes, please share here. Thank you.
AnonHP··on It's the hottest car company. You can't buy one in America
> things like the car refusing to set the parking brake if you aren't wearing a seatbelt

This is confusing to me. Does the car prevent a safety feature (setting the parking brake) from working when one doesn’t wear the seatbelt? Or was that a typo intended to mean that it prevents releasing the parking brake (and allowing the car to move) when one doesn’t wear the seatbelt?

AnonHP··on Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf (2022)
> but almost all apps nowadays use certificate pinning which means the system certificate store is ignored

Certificate pinning (or rather, public key pinning) is technically obsolete and browsers themselves removed support for it in 2018. [1] Are there many apps still really using this?

[1]: https://en.m.wikipedia.org/wiki/HTTP_Public_Key_Pinning

AnonHP··on A succinct email in just a subject line
Sorry, being pedantic about spelling here: it’s “would’ve”, not “would of”.
AnonHP··on Static Site Generator for Emacs Lisp Programmers
That would have to make it to the timestamp on the file system. And whenever a post is modified, that would also have to make it to the file system. Currently this doesn’t seem to be there.
AnonHP··on The DOJ still wants Google to sell off Chrome
> The problem isn't within Google. They aren't doing anything substantial to lock users into Chrome.

I feel this is meant to trigger people into reacting and causing a flame war.

Google has been making its own web properties work well on Google Chrome while making them perform poorer or make them break on other browsers. Google Chrome optimizes for Google, not the web, and certainly not “the open web”.

AnonHP··on Static Site Generator for Emacs Lisp Programmers
In “Why one.el”, one of the points listed is this:

> I want websites to be written to a single org file,

Since the entire site’s source is in one file, this means individual blog entries (the index.html files) do not by default have their original date after the build and publish, right? For example, if the blog was built and published with one post yesterday and I add one more post today, build and publish, does it mean that both the blog posts on the web server would show up with today’s date/time as when they were modified/updated? If yes, wouldn’t this affect things like browser caching, search engine crawlers, etc.?

AnonHP··on NASA Successfully Acquires GPS Signals on Moon
It is not clear from the article, and these are noob questions: does it mean there were no other time dilation effects to take into account? In other words, is the adjustment done within the satellite clocks enough for the signal processing near or on the moon to get the position since the moon is so far off)?
AnonHP··on Tmux – The Essentials (2019)
I’ve heard of Zellij before but never got a chance to try it. My main use of tmux is with a Synology NAS to run some long running commands where I don’t have to retain the ssh session until completion. Unfortunately, Zellij doesn’t seem to be available as part of the community packages. [1]

[1]: https://synocommunity.com/packages

AnonHP··on Mox – modern, secure, all-in-one email server
I’m curious to know how you could know if any emails you send are getting silently dropped. Do you check with the recipient again and/or through other modes of communication?
AnonHP··on Made a scroll bar buddy that walks down the page when you scroll
Please change the direction of walking when scrolling up. Right now the stick figure is walking backwards. It could be reversed or perhaps made to seem like backtracking (add a little more “caution”, “fear”, etc.).
AnonHP··on The full force of this administration's destruction is about to hit
> The short version is that for HN moderation there is a dispassionate algorithm that punishes "fights" and sometimes dang actively performs an action that lets the fight happen, but he doesn't actively stop fight provoking content.

I don’t think the last part is true. As moderator, dang does have the ability to manually down rank posts based on the HN guidelines as well as what he views is good enough for HN.

AnonHP··on GulfOfMexico: Perfect Programming Language
I very much enjoyed reading this! This is built on revolutionary changes in how CPUs, operating systems, compilers, languages and programmers work.

> You can now use floats for indexes too!

> By default, a variable will last until the end of the program. But you can make it last in between program-runs by specifying a longer lifetime.

    const const name<Infinity> = "Luke"! //lasts forever

> You can make classes, but you can only ever make one instance of them. This shouldn't affect how most object-oriented programmers work.

> Similarly..... Gulf of Mexico also features AI, which stands for Automatic-Insertion. If you forget to finish your code, Gulf of Mexico will auto-complete the whole thing!

> It's worth noting that GitHub CoPilot doesn't understand GulfOfMexico, which means that MicroSoft won't be able to steal your code.

> This is great for when you want to keep your open-sourced project closed-source.

AnonHP··on Beej's Guide to Git
> I regularly conduct 2 hr long "Intro to the Git Data Model" courses at my workplace (1-2 times a year)

Does the course material (and perhaps any recordings) have any proprietary information or constraints to prevent you from sharing it publicly? Is this based on something that’s publicly available yet concise enough to fit within two hours? If yes, please share (perhaps in this thread and as a post submission on HN).

I’m asking because I believe that there can never be enough variety of training materials that handle a topic with different assumptions, analogies, focus, etc.

AnonHP··on Ratzilla
I’m totally ignorant on this and don’t understand. How is WebAssembly helpful for terminal UI apps and why has it been chosen here? Is it mainly for easier cross platform support (with the UI being HTML and then translated for the terminal)? How does it compare on ease of development, testing, maintenance effort, etc., to other terminal UI libraries?
AnonHP··on Meta Censoring '#Democrat' on Instagram
I understand that this post is flagged because it can start flame wars and “not curious conversations”, but I’m curious about what people here from different parts of the world are seeing for these search terms. If censorship is indeed happening either due to manual flags or “AI” algorithms, people need to know what’s happening and if this is just anecdotal or geography specific or could be spreading to other countries in other forms for other search words and terms.

I don’t have an Instagram account to verify this myself.

← PreviousPage 3 of 18Next →