skysight-inc/HackerNews huggingface dataset:
We're using Webflow with one of the premium templates. I'm not sure whether it's Webflow that is slow or the template is making the site slow. We just started the website a month ago. I'll take a deep look at the performance and experience.

Thank you so much!
We'll follow the feedback.

Thank you so much!
Ask HN: Is Supabase RLS enough for my SaaS application?
Hey Hackers,

I'm building a SaaS http://cheatsheet.framer.ai/

Currently I'm using React - Supabase only.

The Supabase RLS code is getting pretty complicated.

To what extent should I use it? Moreover, should I use it along with NestJS or should I completely shift?
I think the "hammer" metaphor is insufficient to cover why one would get a degree or not. I learned a number of fascinating things about computers in University that I would have never gotten on the job.
That’s like saying a pencil weighs 1000kg because the machine that makes them does.
Easier said than done. Most elections for the past 20 years have revolves around the schools and they’ve only gotten worse. I honestly see no way to solve the public schools other than having all the students leave and forcing them to reconsider everything they do
The website is not ready for mobile. We're working on it.

Thank you so much for the feedback!
If we forget how war was a common "sport" and how much court decisions were done.
Competition works. Your examples are government granted monopolies which are obviously terrible
> No, they can not.

This is factually incorrect. At least read my comment properly before replying.
How is it not obvious that a legal transgressor would justify their transgression? The fact that bad people generally don't feel like bad people is a universal understanding of the human condition.

Not interested in making comparisons to someone that you can't separate from a type of neo-sainthood.

Anyhow, having an unpopular opinion isn't antisocial or illegal.

Buying heroin is.
> What has changed?

The ability to monetize the original voice (in the case of voice actors) now that AI can re-create it with convincing effect.
SpaceX Now Has a ‘De Facto’ Monopoly on Rocket Launches
The work is plagiarized? They already got paid and it isn’t even work for the actor because it’s a deepfake.

This is like hating libraries because they buy a book once and let everyone read it.
I've done both, degree first, then years later bootcamp, when I needed to update my skills. I liked both. IMO, people should choose what suits their needs best.
It was a pointless endeavor.

The practical outcome of all of this work is that Indiana Jones 5 is a commercial flop. Its production budget was $300 million (some estimates have it at $325 million), they may have spent another $100 million promoting it, and it is not on track to make that money back:

https://www.the-numbers.com/movie/Indiana-Jones-and-the-Dial...

For a movie to be commercially successful it needs to be budgeted responsibly. Wasting money on silly efforts like de-aging does not lead to financial success. You're much better off writing a story that doesn't require de-aging in the first place.
In SemVer, you can break compatibility with 0.x within 0.x. 1.x is the promise that there won't be any future compatibility breaks within the 1.x series.
> How and when are they going to see that ? In my country, there newspapers headlines about how supermarkets have egregious margins. Is this true ? I don't know, but they don't mention shoplifting in the articles.

Where I live, shoplifting is a "sensitive" political issue, so it's very unlikely companies will cite it as such. But in the US, people are seemingly more open about it:

https://www.cnbc.com/2022/12/06/walmart-ceo-says-shoplifting...

https://torontosun.com/news/world/walmart-closing-up-shop-co...

https://www.cbsnews.com/sanfrancisco/news/worker-closing-dow...

https://www.dailymail.co.uk/news/article-11965589/The-stores...

> The rich [...]

Sure, I agree with your points, but they don't matter that much for the present discussion about stores closing.
I would throw one more. Because:

20 years old is too late to start any personal development, try this approach with stones to 10 years old instead.

50 years old is a final point due to "A Mathematician's Apology" by Hardy.
It's not even anything about features or frameworks or dependencies.

It's literally just checkboxes inside App Store Connect when you submit the app.

Basically it's what Meta's lawyers think needs to be disclosed.

I'm sure they do sentiment analysis on your IG posts, put you in advertising targeting cohorts like "cancer survivor", and that's what they mean by "health data". Not that it's getting anything from the iOS Health app.

Apple guidelines, especially around user-submitted content, have some leeway in interpretation if they are "optional to disclose" or not. https://developer.apple.com/app-store/app-privacy-details/#o...

If I'm posting all day on Threads about my health, that doesn't sound like "Collection of the data occurs only in infrequent cases that are not part of your app’s primary functionality", and hence they need to declare literally anything a user might be posting about.
Proper form is very real. We all share the same anatomy and the levers that are your arms perform the same way. A weight lifter might not arch their back compared to a power lifter when doing a bench press, but each setup is fine. A sumo or conventional deadlift are both fine, but bending your back to lift weight weight vs using your legs is improper. They’re not arbitrary patterns either, they target specific muscles because of the human body’s anatomy. You also don’t just randomly pick a different amount of weight…
Technology is deepening civilian involvement in war
https://archive.ph/dGkSR
There's a parallel universe where someone wrote the k8s hello world story and made fun of people testing on the most obscure sorting algorithms within it instead of the opposite here, and the psychological profile painted of the interviewed person is mostly the same. Maybe not as punchy due to all the YAML ofc.
Ask HN: NestJs vs. NextJs?
I'm building my SaaS application, currently in react Supabase.

My target is to keep the codebase small yet error free.

I'm proficient with NestJs and find it safe, should I use it or shift to NextJs or something else which is new ?
Just learned about blender's initial proprietary beginnings. It's interesting that they found the most success with the open source model.
> It's very common to see/use F(F(F...))) paradigms in lambda calculus homework exercises and its more modern/useful derivatives (yes, like Scala) where the real "meat" of the logic is the center of this Tootsie Pop.

Agreed. That would be compose in Scala[0]. Or F |> F |> F if using the thrush combinator[1].

> Often times, the function expects a functional type, but we just have an object. Better Factory it up!

Why?

> So at some point down that rabbit hole, you're like "fine, what about a FactoryFactory?"

This is where you jumped the shark. Doing composition by encoding it as a one-off unique type ("<prefix>FactoryFactory") appears to be a "poor man's monad transformer."

Unless, of course, the intent is to just get the change req "down the road."

0 - https://www.scala-lang.org/api/2.13.11/scala/Function1.html#...

1 - https://cinish.medium.com/scala-thrush-combinator-77c8c9d9fc...
That might be reading into it too much. I'm pretty sure it's just a joke that capitalism is cancer. As in, "late-stage cancer".
GP wrote in a different comment that they worked with DARPA in the past, so I would assume that they know more about the processes than other people.

https://news.ycombinator.com/item?id=36637805
Nice to the the cycle is alive and well.

1. Start out loving frameworks for how easy it is

2. Convince yourself frameworks are the devil and you can do without, spend a lot of time rolling your own and learning a shit ton about the nitty gritty.

3. Eventually realize it's a fruitless waste and you'd rather spend your time working on more important things.

4. Either you go on to create the next big thing or you go back to using frameworks but smarter this time around (in my experience piecemeal or better able to extend).
Yes.

https://en.m.wikipedia.org/wiki/Unix_philosophy

https://en.m.wikipedia.org/wiki/The_UNIX_Programming_Environ...
> They slashed funding to successful parts of the strategy and now claim the strategy failed.

Neoliberalism in a nutshell.
lol yikes
Sure, but we've all heard of Cuckoo's Nest, very few have heard of the others.
I hate this. Instead of helping society advance, people want to spend their time messing up testing because it's funny and they hate large companies?
Stupid alloc – What if memory allocation was annoying
1-2. We're using Webflow and it seems these guys required jQuery and similar javascript libraries.
3. Pricing link is broken we didn't realize it.
4. Agree, we'll change FAQs to full view.
5. Yup, it only shows on hover. We can change it to click I think that's much better.
6. I thought having important links in the nav-bar makes it easier for the users. Anyways I'll take another look and fix it.
7. Lol!

Thank you so much for the feedback! It seems lot to improve!
The ethical difference is that none of your examples stem from an interference in public safety.

SDCs are rolling into active shooter zones, they're blocking police, fire, and hydrants, they're actively stalking pedestrians.

This is not some random prankery or vandalism, this coning is a non-violent statement in defense of human dignity and rule of law.
The problem is that bootcamps were incentivised to churn out graduates within 3 months to get ISAs.

This contributed to a junior coder market where people are not ready.

I only found a handful of resources out there which are really preparing everyone for a long journey.

Long gone are the promises of a $500k job after 3 months of studying...
Sure. I have Javascript blocked by default and all I see is a blank screen and the title in the browser bar "PerfAi".

So you are communicating exactly nothing to me about who you are and what you do.

You don't care enough to even throw an alt-text <noscript> there with some kind of "hey we're x, we do y, why don't you turn on the JS so we can show you, or alternatively, here's a link to a PDF brochure, or send us an email at example.com."

I've been known to unblock things I find interesting, but you're not even giving me a hint of motivation to do so.
It was rumoured a few weeks back that Apple TV+'s "Monarch: Legacy of Monsters" upcoming tv show has been filmed using this camera for Apple Vision Pro.

This is the series based upon the Godzilla / Monsterverse movies.

So, no-one should be saying that all Apple TV+ content has been filmed in this format. But, yes there will likely be at least one show that has been.
Weird. We have tourist spots in eastern europe and I've never once been offered drugs in my entire life.
> we should assume there is more out there, otherwise we happen to find ourselves exactly in the center of everything and can see exactly as far as light could have traveled in the known age of the universe.

Is there a real argument against this view that warrants the use of "should"? Over half the world (believers in Genesis) would seem to believe we very well could be the center (with equally absent real argument).
You're right and I was wrong.

The DKIM signer selects a list of headers (h=) to be signed, but the body is always implicitly included (and thus not listed). I was confused because I thought there needed to be a flag to include it, and had never seen such from Gmail or others.

For anyone else that's curious: https://rfc-editor.org/rfc/rfc6376#section-3.7
Who will pay for it. I've seen this line of reasoning since at least the mid 90s.

Everybody knows in the whispers of their soul that an empirically mapped out programming culture, is a dead one.

I can see how to tie together all the publicly available knowledge on programming into truthfully-easy to understand education material.

People like Casey Muratori are selling the game of programming out from the bottom up. (and good for him).

Why do it when we have to sell our skills today to put bread on the table?
A damning indictment of government driven rocket programs in the US and the EU.
Reminds me of early YouTube comments.
We'll do that. It's added to our task list.

Thank you so much!
Elon Musk is suing the law firm that helped force him to buy Twitter
Wasn't there also SuperRogue and UltraRogue or something?

I used to spend endless hours playing Rogue on a VAX/Unix computer. Then I'm sure I spent a lot playing NetHack. I totally didn't realize there's still new versions coming out, this was maybe 30+ years ago ;)

The leaderboard in Rogue was cool (I'm pretty sure there was one) and a bunch of us battled over it.
There were a number of scandals and exposes during that time including Geraldo Rivera making a name for himself with his investigations of the Willowbrook State School in NY. The closure of such institutions was very much a national movement.

https://en.m.wikipedia.org/wiki/Willowbrook_State_School
Quote from the article:

> A newly released national survey suggests the percent of adults who have used illicit drugs increased to 12.8 percent in 2022, up from 7.8 in 2001

So, No.
What i learned from this project is that it will be way brighter if you started it a few decades earlier. Also i have a little complain that i need to wait for too long before a baloon appears at any black square while having an impression that a baloon to a gray dot appears almost instantly. I know this is due to a weak laptop with 1-core CPU which i am using right now.
I like the animations but most folks here seems to hate it. Since we're using Webflow with a template it might not be that easy to remove animation.

We're going to improve the load time by half.

Thank you so much!
This is a great article, and I pretty much agree with everything in it.

However, I want to comment on a bit of the discussion about hammers and carpenters in the comments on HN.

Let me put this briefly - carpenters learn about wood way more than they learn about tools. Knowing how to cut wood, bend wood, fasten wood, use wood to hold things up, make wood look nice, etc. Those are things carpenters do and learn about. The tools are secondary.

Also, one final note - carpenters don’t really use ball peen hammers - those are for metalworking. Carpenters use claw hammers because the claw removes nails.
We need to fix the mobile compatibility issues.

Thank you!
Location: Geneva, Switzerland
Remote: Yes
Willing to relocate: Yes
Technologies: IAM (Keycloak), Puppet, Kubernetes, Grafana, Linux SysAdmin, Python, C/C++, C#, Go, Java
Résumé: https://adl1995.github.io/personal/resume.pdf
Email: adeel.ahmad.3a [AT] gmail.com

I'm a specialist in IAM, DevOps, and SRE with 4 years of background in designing and building large-scale systems. My interest lies in exploring new solutions to infrastructure reliability and scalability issues.
What makes you think these rhetorical sex workers have learned anything at all from this piece? A belief you know more than them about what's best for them?
> “There is a link between drug trafficking and organized retail crime,” Kobach told lawmakers in June. “Organized retail crime is a problem that is getting worse, not better. And it does not exist in a vacuum. These criminal enterprises often overlap with the trafficking of drugs.”

Is there any reason to believe claims like these? Do they ever come with actual evidence?
Rather than pen and paper I recommend using a computer if you have access to one.

(-⟜»∘⍷∧)⍟(1+↕3) 11‿39‿23‿28‿31‿19‿32‿5‿1‿9

⟨ ⟨ 1 4 4 2 8 4 5 3 1 7 ⟩ ⟨ 1 1 1 1 1 2 1 ⟩ ⟨ 1 1 ⟩ ⟩

-⟜»∘⍷∧ vec

⟨ 7 2 4 1 3 2 2 4 10 12 3 10 1 6 1 5 17 2 8 ⟩

+´-⟜»∘⍷∧ vec

100

⍷∧ vec

⟨ 7 9 13 14 17 19 21 25 35 47 50 60 61 67 68 73 90 92 100 ⟩

+`-⟜»∘⍷∧ vec

⟨ 7 9 13 14 17 19 21 25 35 47 50 60 61 67 68 73 90 92 100 ⟩
Sorry. Are you saying that you only go on hacker news and comment on articles that you haven’t read?
I'm still not really sure whether NZ is east or west of Australia. And I have very little idea of its true landmass, sitting next to a massive island like that.
I hope WebGPU is going to pull it off.
Kinda curious what you guys are excited about using something like this in? It seems like too much or too little computer for all my use cases.
There are two velocities of light, the phase velocity and the group velocity
It's interesting how similar it is to synthesizers. Choosing a frequency and then modulating it with an envelope...
Any non-toy web service development, I disagree. HTTP is great except for the fact that as a protocol it carries no built-in mechanism for introspection on the services/types offered by an API. Openapi addressed this. But building an openapi spec by hand is moronic. Frameworks like fastapi or nestjs (forgive me if im forgetting your favorite) will generate an openapi spec. That spec can be used to autogenerate type safe clients, which solve the problem of HTTP not having discoverability or type safety.
I notice they don't actually give a good reason that robots.txt isn't suitable.

Change for the sake of it?
Strong disagree here.

Regardless of whether is does well enough to cover costs, they’ve made a pretty decent breakthrough in de-aging an actor who is very well known both in old age and at his younger age.

That will help storytellers present their stories with more options and more engagement in the future.

The box office is important commercially, but not for technical aspects.
It's satire. If you're unsure, have a look at their about page [1]. They are criticising the idea of staying on a 0.x release for years even though your project is long used in production by now.

[1] https://0ver.org/about.html
What's hard to explain about “add this <script> tag to your HTML, open a new JavaScript file and start writing”?
What are the horrible things about SemVer? Can you give details?
I appreciate having a self contained header only library for this type of thing. It seems like a better fit for my needs than heavier alternatives like Boost Spirit.
It doesn't require signing up with Google.
AI is going to do things that otherwise an engineer had to do including:

1. Writing a custom Performance plan for the API
2. Learning how to invoke API endpoints
3. Applying Performance Top-10 coverage/categories, etc.

What I need to do is explain how AI is helpful.

But thank you for your feedback!
You joke but I wonder how big of an impact ray tracing in the browser would have, especially when the fidelity is increasing at such a massive rate. Some of the web demos I’ve seen, like the Unreal ones, are mindblowing.

(Also if that comment exposes any ignorance I have, please forgive me and point it out so I can learn something!)
It’s not a crime is it?
Works nice in Singapore.
> Regardless of whether is does well enough to cover costs

It's the movie business. They're not trying to just cover costs, they're trying to make money. They've failed with this one.

They completely misjudged the appetite for this movie.
Yes, you're correct. AI is going to do things that otherwise an engineer had to do including:

1. Writing a custom Performance plan for the API

2. Learning how to invoke API endpoints

3. Applying Performance Top-10 coverage/categories, etc.

Thank you for your feedback!
anybody else read it as "the status quoalition" then think "oh, that's clever" then read it again and feel much dissapointment?
Astonishingly low compared to what? And in what aspects?
(Asking unironically.)
First Dog on the Moon’s guide to the dystopian social network you should be on
Yeah, IMO Musk seriously overestimated the average person's tolerance for toxic and hateful political content.
When did Alan Partridge first appear on television?
We had a nasty review from one ex employee and in Germany it was easy to find a cheap lawyer/agency who wrote a letter to glassdoor demanding removal and a few days later the negative review was gone.
Semantic Versioning requires you to declare a public API, which is not even remotely possible for many projects. If the public API surface is clear semantic versioning does indeed work well, but otherwise it doesn't give much information as users have no idea what the public API would be. Calendar versioning [1] or even a single-number version is more preferred in such situations.

[1] https://calver.org/
Drawing the Aperiodic Hat Tiling with Python and Z3
Are those libraries actually not production ready as might be implied by the 0.x or are they just not willing to bump to 1.x for whatever reason? A lot of the projections mentioned in the submission seem to be production ready despite the version number.
Even if respondents were unbiased and truthful. That sounds like a useless metric to me. You need a metric of the harm to society. Drug motivated violent crime for example.
> the best route to nearly eliminating DUIs and pedestrian deaths is ultimately going to be driverless vehicles

Best route is actually getting rid of cars and having good and safe public transport
To steelman this maybe, I think they’re angling for something like a mechanism to indicate content is OK to index but not OK to use as AI training data. Maybe you could fudge it today with user agents in robots.txt but who knows what the concrete idea of this is.
> I wonder if there were any efforts in the 1990s or 2000s to create a FOSS clone of Genera in the vein of either the GNU project

Of course GNU project originally was heavily influenced by LISP machines, its only later that the lispy aspirations largely died off. Example from the original announcement:

> In particular, we plan to have [...] Lisp-based window system through which several Lisp programs and ordinary Unix programs can share a screen. Both C and Lisp will be available as system programming languages

As I understand the idea was to build free Lisp Machine clone which would have bits of unix in it.
The implication made here is that the interviewee is presumably running an OS such as Gentoo or similar which has the spirit of compiling everything from source. Or this person only compiles their browser from scratch which has some privacy benefits (removing unwanted telemetry, no hidden surprises in the binary, etc.) and can help performance. I have known some people who compiled their own Chromium.

While the person who wrote the article might seem odd and I would not have hired them, your condescending tone while nitpicking a perfectly valid technical statement strikes me as weird.
I use Rust professionally and even though it is a newer language with infinitely fewer developers and sponsoring organizations, the tooling and ecosystem is already superior. `cargo` is superior (in DX terms) to whatever nightmare is current in the Python world, `rust-analyzer` is better than to PyCharm, the ecosystem is smaller but more reliable.
> Grad school is laudable, but it's too damn expensive

And time consuming (with high opportunity cost.)

Fortunately you can find tons of great free course content online. And digital libraries, textbooks, papers...

And tons of open source software to examine/experiment with/build upon.

I have to give Google some credit though as I am partial to Youtube (lots of course and educational content) and Google Scholar.
I’d recommend Lecture 6 from ‘For and Against Method’ for anyone wondering about how early theoreticians treated experimental anomalies in early atomic theory.

Really goes to show how ad hoc the real scientific process is.
People just love LTS and backwards compatibility too much. I'm one of them. But it slows the industry, when you can't do API refactors and have to keep bad decisions forever.

I think library authors should be more relentless and break compatibility every few years. We just need some conventions to not do so very often. Like new major version every year, deprecate API on the next major version, remove deprecated API on the following major version. So you have 1 year to rewrite your app if necessary.

And supporting old versions for those enterprises who would rather pay than upgrade might be a good source of income.