skysight-inc/HackerNews huggingface dataset:
The biggest annoyance for me on MacOS is that apps that I need to leave open but don't have windows open still show up in the switcher. When I'm on my work laptop, I still have to tab through Finder, the VPN app, etc. he rare times I need to work on the Java part of our codebase, I use the ssh remote beta for Intellij, which seems to open something called "Gateway", which is totally reasonable except that it adds yet _another_ entry to the cmd-tab menu. At this point, almost half of my cmd-tab menu is stuff that doesn't even have windows open. Back when I used MacOS more I had used something that I had gotten from the App Store way back (I think it was called "Witcher" or something), but with all the management software that the company has running in the background, the system already lags a decent amount every now and then, so I don't really want to add any more stuff for the management softwware to take up CPU time scanning. (I recognize that last part isn't specific to MacOS, but I can't help but feel like a user friendly OS would have better options built in specifically for cases where customization might not otherwise be desirable).
Right, there's definitely a connection in the algorithms. They're all derivatives of the same family of stuff.

I could've been clearer, but when I said the only connection I saw between them was the Z, I meant the only connection between their names. In other words, while zstd surely has zip among its main influences, I'm not sure that the Z in "zstd" is there to convey "zip-like". It could be, or maybe it's just there because Z is generally associated with data compression.
How to really multiply Roman numerals: convert them to Arabic numeral notation, multiply them (use a calculator or your favorite algorithm), and convert them back to Roman numerals.

It's very interesting to discuss this from a cultural or anthropological point of view. It doesn't seem very interesting from a mathematical POV. I'm disappointed that there's no mention of the history of Roman arithmetic or content related to actual Romans doing math.

I feel like anyone who is even asking the question "how can I do arithmetic with Roman numerals?" knows enough math to make this a trivial observation.
I have a little website that I maintain personally and it consists of distinct services for auth, analytics, comments, and a fileserver for static HTML (also a bunch of cronjobs for backing up databases and so on). It runs on Kubernetes on a couple of Raspberry Pis in my office. These services are sort of distinct, but several collaborate with the auth service.

Some would say this is overkill and they're probably right (although I would argue that it's not overkill to the degree that most on this forum would initially believe), but I haven't had any real issues with the microservice architecture; however, I do like that each service has its own secrets--the comments service doesn't have access to the auth service's private key or database credentials so if it gets pwned the blast radius is more limited. Similarly, I will be able to create network policies to lock these services down so they can only talk to their collaborators (defense in depth). Maybe there are some analogues in the Java or .Net VMs for these isolation techniques, but I don't think there's any general analog.

That said, there is some amount of infrastructure overhead for each service (each service likely needs its own CD pipeline, DNS, letsencrypt certs, database, etc) but these are all managed via infrastructure as code so I can basically just stamp out these services with little effort.

I have plans for NFS, mastodon, and media services all of which are third party and thus it wouldn't be desirable to integrate them into a monolith, but I'll be able to take advantage of my infrastructure as code automation to stamp out these services (which is mostly to say that "monolith" doesn't really absolve you from needing to manage many services anyway).

In general, I've not had the sorts of problems that people complain about with respect to microservices with my personal project, nor with my work projects at various prior employers. I'm not sure what the difference is--maybe I've been graced with good architecture? That said, I have worked on monoliths that were pretty bad experiences, and I think a big part of this was that it was too easy for teams to thoughtlessly extend the interfaces between components which degrades the architecture over time (conversely, I posit that microservices make it more difficult to change interfaces and thus there needs to be a more compelling reason). This is just speculation based on my experiences; I don't intend for it to seem authoritative.
don't like it? don't use it
More flexible would be a double-quote-region widget which can be applied arbitrarily to any region of a command line:

emulate -L zsh

if [[ "$REGION_ACTIVE" -eq 0 ]]; then
return
fi

if [[ "$MARK" -le "$CURSOR" ]]; then
left_region_bound="$MARK"
right_region_bound="$CURSOR"
else
left_region_bound="$CURSOR"
right_region_bound="$MARK"
fi
length_region="$((right_region_bound - left_region_bound))"

before_region="${BUFFER:0:$left_region_bound}"
region="${BUFFER:$left_region_bound:$length_region}"
after_region="${BUFFER:$right_region_bound}"

quoted_region="${(qqq)region}"
cursor_offset="$(($#quoted_region - $#region))"

BUFFER="$before_region$quoted_region$after_region"
CURSOR="$((CURSOR + cursor_offset))"
REGION_ACTIVE=0

bind with eg

zle -N double-quote-region
bindkey '\e"' double-quote-region
> Regardless of how you personally feel about the COVID vaccines they were and are based on experimental new medical technology

This is not technically true. They were based on research from 1984, which started development in 2005 and was more or less ready and waiting for an application by 2010. They were much less experimental than the Polio or Smallpox vaccines were when they were introduced.
No way their audience ever gets wind of this
/second that book, one of the best on advanced aviation and aerospace engineering.
seems like a not useful definition. If we go with this what is not from luck? Someone works hard? That's because they got lucky with the right genes and upbringing. They're smart, born to the right parents. If we go with this then everything in life is a matter of luck.
Congratulations, it is well deserved! I have been using SB for the past couple months and its great!
In my experience what they excel at is picking really good components (Postgres, PostgREST, Elixir, Kong, Gotrue, Logflare etc) and packaging them with little overhead into something that is much greater than the sum of its parts.

There are issues of course (slow dashboard, some inconsistencies in auth, shaky self-hosting story, a little bloated JS client libs) but in general they have a solid offering that is only getting better.

I can't stress enough how there is really nothing quite like it out there at the moment. I get that HN crowd is always very skeptical esp with the somewhat airy opensource/self-hosting story that seems a little deprioritized to handle the (probably insane) growth. The escape hatches might be a bit rusty a bit at the moment but compare that with Firebase and its a little inconvenient in SB vs a prison in FB.

I am quite optimistic about Supabase and I wish the team the best of success.
You need to prune your suggestions by clicking the three-dot menu on the suggested item and "Don't recommend video". I started this last year and after a week my suggestions cleaned up and are absolutely relevant and high quality to my interests.
The farmed salmon?

Farmed fish have, historically at least, contained high levels of PCBs and other long-term chemicals: https://www.mayoclinic.org/healthy-lifestyle/nutrition-and-h...

I would think there's some way to farm fish properly to avoid this, but ¯\_(ツ)_/¯.
It also describes software ecosystems like the apache software foundation, dotnet foundation or even just community vetting like PHP has with Tidelift (which is a pretty clever idea on its own) etc...
> You've obviously never driven with someone from an older generation.

Lol dude, your dad is not representative of an entire generation.
I switched to the Mac about 10 years ago. The biggest pain point I haven't really been able to solve (before this app) is switching between 2 specific windows in 2 different applications. On Windows this was as easy as ALT+tab

Perfect example, I'm looking in Safari, and entering some numbers in Excel. I have multiple windows open for each app. I'm in Excel, and CMD+tab to switch to Safari, and all the Safari windows come forward, coving up my Excel window. CMD +` only cycles the windows of the current app. There is no easy way to bounce back and forth between a specific Excel window and a specific Safari window. Instead I have to Hide or rearrange my windows so that switch apps doesn't complete cover the windows I want to see
> You don't get brownie points for how steadfastly you stick to your Overton window. You get brownie points for saving lives.

...by distributing copies of rationalist Harry Potter fan fiction?

I agree that charities that save lives are doing good things. That's why I brought up the fact that some of their spending has historically been kind of ludicrously off base.
I wasn’t the one making the original claim bc sorkin didn’t include 10 mins of exposition explaining the ceo’s logic there which btw is completely irrelevant to the theme of this movie.

Edit: actually wasn’t Sorkin but whatever
I work at Supabase on database security so I can speak to some of these.

> - As others have said, default security is way too permissive. They should lock everything down by default. At some point, this is going to cause major problems for some company that decides to build off Supabase.

We agree and are internally actively discussing this very subject.

> - Although they have row-level security, RBAC is completely missing. It's not hard to implement yourself through stored procedures and triggers (they have an example repo to copy from), but I don't see a lot of junior devs doing this.

We don't "have" row level security per se, that is a native feature of Postgres we expose, and the customer is free to use or not. RBAC is a very broad term, and broadly speaking Postgres has roles and privileges that do access control. Did you have something more specific in mind?

> - Stored procedures are more likely to be utilized in the Supabase paradigm, but I haven't felt like they have done much to address the inherent weakness and common critiques of using sprocs instead of application level functions.

Weaknesses, critiques and strengths. There are tradeoffs and some of this gets down to a matter of opinion. Mine is admittedly radical in this case. We recently released Edge functions which are great, more tools in the toolbox, including stored procedures.

Did you used to work on Zope? You have a familiar handle...
This entire argument is a bit of a honey-pot on my part, because the real answer is "Neither is ideal; the tooling around the language should allow the developer to switch back-and-forth arbitrarily, as needed. It should also allow sorting of named arguments."

Since I don't get that tooling for wire-protocol content(1), I prefer named properties there because the alternative is usually some nasty flavor of binary alignment or picking semantics out of a densely-packed forest of newline-stripped character streams. But the correct answer in an actual programming language is "Both. Your IDE should make it easy to toggle the names on and off for positional arguments."

If a dev house is already using JSON for all the reasons one might do so, the flat presentation given by the RFC is the right presentation. But the real correct answer is "match your tools to the problem and you don't have to trade off between brevity and clarity."

(1) unless I do. gRPC is a treat to work with because it's thin on-the-wire but the Chrome devtool extensions give you the context. It's not the right solution for the JSON patch protocol because, well, right there in the name... It's JSON. But it's the solution I'd actually recommend to a team putting something new together if they don't need to interface to the outside world / aren't concerned the outside world will balk at a basically binary-on-the-wire data format.
>If you offer more to depositors than you charge borrowers, it's never sustainable you're making a loss.

Only if the amounts being borrowed and loaned are exactly the same.

I.e 20% on $100 is less than 10% on $1000
Last time I tried doing that, it didn't even keep windows in the same place, breaking spatial memory. Is that still the case?
Apple Maps desperately needs an offline mode, but for me, it's better in LA on the freeways because they at least make an attempt to show you what lane to be in. Lane guidance usually works on surface streets, too, which is nice but not as important, except when it's vital. I seem to remember Google Maps having this at one point but they certainly don't care enough to lately, as far as I can tell.
This. This is something that has been interesting to see sort of get mixed up in memory.

The struggling computer company first got into people's pockets with a device that played music (a key insight - people make emotional contact with media). That position then bought them the time to finance development of know-how around pocket computers in plain sight. And then finally when the timing was just right and nobody expected it, they basically leveraged that position to deliver that pocket computer to the masses.
Ask HN: What's Your Opinion of Hireart.com?
> Go on twitter, go on facebook, go on snapchat - name a platform, and that platform will promote ideas against a republican significantly more than stories against a democrat.

I had always rationalized this with the thought that these platforms had larger Democrat populations than Republican, which explains the broadcast bias. Maybe that is an incorrect assumption.
The 'Mix' feature makes no sense to me. It's all videos I've seen before. It should be called 'Rerun'.
>Take the recent case where they deemed it illegal to do a low-pass over a private airstrip to assess safety prior to landing.

I am a big fan of Trent Palmer as well, so I tend to take his side of the story as more likely. However I believe the FAA is arguing that he never intended to land and was just planning to buzz his friend's house. I wasn't there so I don't know what really happened. However I agree, claiming that his landing was "not necessary" so the pre-landing pass was not protected seems very short-sighted.

Here's Trent's video on this if you want to hear his side for yourself:

https://www.youtube.com/watch?v=RpFDRoStcd4
Russia orders 174,000 diplomatic passports
Not exactly a critique of capitalism, but of private land ownership. The Landlord Game was created by a Georgist, and Georgists consider land and capital to be entirely different economic factors with entirely different behaviors. Marxists often consider Georgism to be capitalism's last gasp.
Fair point. I feel like adequately funding free software development is a larger unsolved problem, that's a bit beyond the scope of a forum thread.

Anecdotally, I like what the developer of Blink Shell[0] has done. The app is 100% free software[1] under GPL3, so you can easily build it yourself with XCode, upload to your phone, and use as usual from there, which isn't a big hurdle for the target audience. But I bought it. At the time IIRC it costed 20 bucks on the App Store. I bought it because it was incredibly frictionless to pay the money (Apple is good at that), and it felt good to support the developer of a tool I liked and used.

So it leaves me wondering, where are the big obstacles. All other things being equal, I will choose a free/libre solution, but we know things are far from equal.

[0]: https://blink.sh
[1]: https://github.com/blinksh/blink
Switching FIDO devices will seem to be a problem down the road like account recovery and a potential attack vector. Kicking the can down the road in a sense if mitigation measures are not taken from now.
I have the ipod nano 7th gen with a radio tuner! I also have the 1st gen apple shuffle, that one that looks like a usb stick. I hate all things apple (The Disney of Story Telling) but those 2 gadgets I keep in the kitchen crap drawer.
Norway oil [with a visionary who helped guide its investment] is more relevant..
https://news.ycombinator.com/item?id=19594153
Split household.
Apple Maps in Carplay is garbage in the default layout, zoom level, and way it organizes the screen while driving compared to AndroidAuto + Maps.

When searching for information about when something is open, etc, Maps is leagues better.

Like others have mentioned, I like the lighter 'tone' of Apple Maps directions compared to google.

1) Google maps, 2) Waze, 3) Apple Maps.
You have a really negative view on the EU. No you can leave the EU, like England did. We did not sanctioned them. It's not a smart move but it's what they wanted. Going forward we should join hands more not less. What is happening now with the war against Ukraine you really see the power of working together. Something we should do more .
It's still possible to do so. Just get an EE degree, you will understand hardware down to the gate level. Take a solid CS course and you will understand software down the basic levels. Understanding hardware to OS is something that a lot of people still know, what is difficult to know these days is the layers of software by 3rd parties running on the OS.
Well, that's reason enough for me to prefer Google Maps.
Ah yes, I should've considered selling my house for BU, thanks for the advice...
Apple Maps is an openstreetmap client. They use and contribute lots of data too. They use other data also. and it's hard to know exactly what you are seeing comes from what source.

Apple being so secret means they dont really do open data that well.
We only have mobile apps, so I can’t speak for web apps, but for us Realm (https://realm.io/) has been amazing.

The Local API’s are a joy to work with. The capabilities of the local database makes Firebase look like a toy, and the sync service does solid two-way replication between devices.

Definitely one of the best backend-as-a-service we have tried (but our experience is mobile only, so yemv).
I think a big part of this is just the fact that desktop is overall not a priority these days for anyone. The app developers could easily enough prevent their app from showing up in the switcher, and there are apps that do that—like Quicksilver, Display Menu, etc.
Sometimes they do, but they come back the next day or the next day.

Greed and addiction are very powerful forces, and even people who recognize the faults in their actions or identify the time where enough is enough have a hard time leaving the game for good.
This is nice. However, once Alt-Tab is activated, it would be nice to be able to hold Alt and use the ` key to cycle through windows from right to left, instead of left to right (same behavior as Command-Tab on MacOS).
BasicMed came from Congress, not the FAA. And true to congressional style, it disproportionately benefits the elderly - it requires you had a valid medical within the past 10 years, which helps if age related health issues stop you from renewing, but not if you were never eligible for one in the first place.
Those AWS headlines are perfect! I try to aim for the same in my e-mail subjects:

<this happened>: <this is what it means> - <this is what you need to do>

Example: “Database X ran out of space: all orders since 20-04 14:30 are stuck - request to increase space”
Blosxom: The Zen of Blogging
yes, on either MacOS or Windows, if you click on an area in a window that doesn't have focus that triggers some action, that action will be triggered.

There are exceptions on both platforms, games being common because of how they grab input.

I've long since gotten in the habit of using the title bar or window-resizing area to safely activate a window .. when I'm using the mouse to change focus.
"After the war it was sold to Universal Airlines but was damaged in a storm and ultimately salvaged for parts."

- "December 7, 1941 and the First Around-the-World Commercial Flight". Smithsonian National Air and Space Museum. December 8, 2011.
As opposed to designing software that is already implemented?
Is yelp still a thing in those areas anymore? It's mobile website is nonexistent and I can't be the only one that never cared to download the app.
Some supplements (I was told) do perform treatments to eliminate mercury etc.
The 'Dislike' still exists; people complain that the dislike count was removed. Presumably Youtube still uses dislikes to tune suggestions, but who can be sure? Personally I found the dislike count quite useful.
> Why is shell quoting still so hard?

The problem with the awk example here specifically is that you're mixing two different languages (shell and awk), and that's always going to be painful to a degree. Doing something like running Python code directly from a Ruby script also isn't fun, especially not if you want Python variables in that Ruby script.

And to make it extra fun in the ssh you're also adding a second shell (on the system you're sshing to), so you have to think about 1) your machine's shell, 2) the host's shell, and 3) awk.

So yeah ... that's going to be tricky, but in this case it's not really a shell problem as such.
I must implement a members-only feature now in a website, where member access should be very infrequent.

I'm considering implementing e-mail login (email OTP), but I have only seen it in Klarna. Therefore, I'm a bit worried of users not being familiar with the fact that they even if they didn't choose a password, they still have an account and/or profile.

Any thoughts?
> Okay, the legislation being suggested to monitor communications isn't totalitarian?

Problematic, Misguided, and can be abused by totalitarian regimes. Oh and also likely in conflict with EU law, Human Rights and some member constitution.

Which are very good reasons to prevent it.

But it's not necessary totalitarian by itself.
There isn't a relation.
Eh, but you remember the first one that around when AIM was around, and pretty much nothing used today performs as good as it or AIM did on the average computer 20 years ago.
The history of the US is not even 300 years at this point.

Humans have been creating societies and forms of governance for at least 10,000 years. Get some perspective.
Related - one past thread with one comment:

No Damned Computer Is Going to Tell Me What to Do - https://news.ycombinator.com/item?id=23580701 - June 2020 (1 comment)
I don't accept your presumption that having a penis makes someone inherently more dangerous

The data really really doesn't support your view. Men are objectively more dangerous.

https://www.statista.com/statistics/251886/murder-offenders-...

https://stoprape.humboldt.edu/statistics

An estimated 91% of victims of rape & sexual assault are female and 9% male. Nearly 99% of perpetrators are male
Using a couple of virtual desktops and "show all windows" is more efficient for switching between windows than alt-tabbing through a linear list. I can't speak for mouse people, but the trackpad gestures are very good for getting around quickly.