skysight-inc/HackerNews huggingface dataset:
It’s correct practice, but bad luck for anyone who ends up depending on the buggy behavior in 2.0.3. Their code will break when they upgrade to (say) 2.0.7.
Isn‘t vercel v0 doing this?
Britain's bright and ambitious are running out of reasons to stay
Article: https://archive.is/8iqmN
> I also, despite being American, find the convention used in many countries of numbering building floors starting with zero to be more logical. I’m on the third floor, how many stories up did I travel to get here? Three.

Alternatively the ground floor is the first floor because it’s the first floor you arrived at when you entered the building.

The same point of view applies to 1-based indexing.

That said I prefer 0-based in programming and 1-based in buildings.
You mentioned readium in one of your comments. I’m curious why you didn’t use the readium spec and corresponding ecosystem. Coming in cold and just glanced at your blog post, and I see you’re using RN. There is a RN package that leverages readium under the hood for ebook reading (I know because I’m the author), don’t know if it’s a weird actually has the api you need.

EDIT: storyteller is super interesting. Dug around a bit in the code and see that you do seem to be using readium for some things, so I must just be missing some nuance.
My experience is that intellectual humility is a variable, not a universal.

Seen some students very willing to recognise their weaknesses, others who are hamstrung by their hubris. (And not just students, the worst code I've seen in my career generally came from those most certain they're right).

https://phys.org/news/2023-12-teens-dont-acknowledge-fact-ea...

And yes, this is a problem with some LLMs that are trained to always have an answer rather than to acknowledge their uncertainty.
Tried a fairphone with graphene?
EU's GPSR: Global Crisis for Small Businesses
> If Python is too slow or otherwise not good enough to write a good Python package manager in, why use Python altogether?

To write things that are not package managers? Are you suggesting not being the right tool for this job implies not being the right tool for any job?
My perspective:

1) entropy is a mathematical concept. Physics apply it, like any other mathematical one

2) math entropy does not change, everything is reversible, as it is based on known quantities

3) entropy measures how far we are from perfectly knowing a system

4) logarithm is chosen to measure entropy because of its convenient properties, not because of any deeper law. It could be a sum, a product etc

5) the Second thermodynamic law is a tautology: "every system tends to higher entropy state because it is more common" becomes "the more common is the more common"
Sell vertical.

Sell aphrodisiacs, contraceptives, toys and real-dolls. Weddings. Honeymoons. Get a finger in finance with mortgage and insurance commissions, kids' savings funds, retirement planning.

Because you met each other on Tinder. So it's the root shared experience of the relationship that all these 'value adds' stem from. An alumni network of coupling.
Show HN: A simple web game to help learn chords and basic progressions
Hi Hacker News,

I've created Chord Nebula, a simple web-based game designed to help users learn and practice piano chords, basic progressions, and harmony fundamentals. The game integrates with MIDI keyboards, allowing you to play chords in real-time and receive immediate feedback based on the key you choose.

GitHub Repository:
https://github.com/yottanami/chord_nebula
Live Demo: https://chords.yottanami.com

Requirements:
To use Chord Nebula, you'll need a MIDI keyboard connected to your computer.

Current Status:
Chord Nebula is still a simple project. I'm committed to improving it based on user feedback and would greatly appreciate any support or contributions from the community.

Looking for Feedback and Collaborators:
I'm eager to hear your thoughts on Chord Nebula! Whether it's suggestions for new features, improvements, or bug reports, your feedback is invaluable. Additionally, if you're interested in collaborating to enhance the game, feel free to reach out or contribute directly via GitHub.

Thanks for taking the time to check out Chord Nebula!
Dynebolic is the 100% free GNU+Linux distribution by the Dyne.org foundation
Lol Apollo took a few percent of America's entire GDP.

Also astronauts were willing to risk their life putting the stars and stripes on the moon I doubt that Musk can inspire the same zeal...
DocSpy: AI Document Checker
DocSpy is an AI-powered app that simplifies document analysis. Instantly highlight key details in contracts, reports, and agreements, saving you time and effort. Perfect for entrepreneurs, lawyers, and professionals. Fast, secure, and easy to use—unlock insights in seconds!
Will I get an answer back anytime soon? On a MBP pro it's conversational speed.
Show HN: My-GitHub-2024 – Generate your annual GitHub statistics chart
Annual GitHub statistics chart with rich data and beautiful typography.
Visit the GitHub repository to see the demo.
Yes they are releasing AI features: https://www.figma.com/ai/
The kids these days are so spoiled. Silicon doping was discovered like when? And how long did it take to make a practical transistor?
Seriously through, it's not every new discovered phenomena owes you something.
Does Java have these problems? https://isdotnetopen.com/

Encountered that website while seriously considering F# (now more interested in Idris 2 amongst ML offshoots).
Start prototyping the user journey in Figma to map out the flow. For frontend, use Next.js or Vite/Vike, which we use at Veryfront for its lightweight and performance. Simple API calls (e.g., OpenAI) can use a server function, but for RAG, I’d recommend a Python backend service.
Get rich (done), play with the latest new toys (currently doing), have people remember him like George Westinghouse (will do).
> For several reasons, we have settled on money as the preferred form unless the responsible party has a good chance of harming others in future.

Sorry, but in which universe? The people who're responsible for harming millions almost always get away with a fine that can be brushed away as the cost of doing business, and they almost always reoffend precisely because they never have to face justice.

Meanwhile the working class people who haven't harmed anyone regularly get arrested and go to jail for nonviolent offences. If I made $50k a year and killed 1,000 people by poisoning their water supply, do you think I could escape arrest by paying a $1000 fine? Would you feel like that's an appropriate level of accountability if I knew that my actions were killing those people?
McKinsey is sweatshop but with good pay. The work conditions are atrocious and they grind through naive young people like Verdun.

Some people have argued on HN that the consultants are cya and political support for things the management class allready know they want. That seem about right.
For additional context, the dialog reads:

> "App" Not Opened <br> Apple could not verify "App" is free of malware that may harm your Mac or compromise your privacy. [ Done ]

The upper right of the dialog has a ( ? ) button that opens https://support.apple.com/guide/mac-help/apple-cant-check-ap... which says:

> However, if you choose, you can still open an app that isn’t allowed to open by manually overriding Privacy & Security settings.

There's a link to the settings, under which you have to scroll down and find a second copy of the above message and then click "Open Anyway", with then gives you a third warning:

> Open "App"? <br> Apple is not able to verify that it is free from malware that could harm your Mac or compromise your privacy. Don’t open this unless you are certain it is from a trustworthy source. [ Done ] [ Open Anyway ]

Continuing on requires authentication, and the prompt offers a fourth warning: "You are attempting to open an app that may harm your Mac or compromise your privacy."

According to https://developer.apple.com/support/compare-memberships/ you do need a full $99 Apple Developer Program membership to have apps notarized.
My opinion is that Go has the same problems as UNIX:

- Reactionary in the face of Multics' (resp. Java/C#) complexity, but overshooting to the point of "worse is better".

- Basically confusing "no complexity" with punting of said complexity to users who will solve it in multiple horrible and/or incompatible ways; like a badly designed R5RS Scheme.

- Some decent ideas but poorly and non-uniformly implemented compared to Plan 9 (whatever will fix Go).

Which is quite logical, knowing who made both of these...

I don't know enough about Java to comment on that switch (as modern Java seems to have gotten a lot of cool stuff like pattern matching and https://openjdk.org/jeps/485) BUT Java's runtime (which also powers Clojure and Scala) is evolving at an impressive rate compared to Go's: especially GraalVM and generational ZGC.
I found this an interesting read: https://www.cambridge.org/us/universitypress/readers-brain

It gives a neuroscience perspective on what makes certain writing styles clearer.
It seems to be a hosting company, that offers goddies
different level of goodies based on the price of the
subsciption?
By and large, I kind of echo what OP says here.

Go is at a weird place where the standard library is big that third party libraries aren't really required but not that big that it can do everything. So like OP says there is a huge thing with Go projects (and devs) about reinventing the wheel for each project. While sometimes this is fine (and even welcome because it offers you flexibility and customization), it is mostly really slowing down someone who wants to write a full-featured application with auth/ORM/web security etc.

You either have to write your own or try to use something that is actually really behind from what you're used to. And coming from a Python, all batteries-included ecosystem it's actually nuts. Our small team would have to dedicate a huge chunk of dev cycles to write our own plumbing. Dev cycles that we could have used writing business logic that actually made us money instead of writing yet another auth.

But having said that, I don't think Go is the language to write these kinds of apps in. So if you're trying to use Go to do that, you're obviously going to run into roadblocks. It's like trying to cut through metal with a pair of gardening shears. Can it be done? Yes. Can I choose the size and design of the shears? Yes. Can I modify or create my own shears? Yes. But is it the most efficient or appropriate tool for the job? Probably not.

IMO Go is ideal for server/CLI applications or even for web apps that interact with other services completely behind your network. But for most other things you're better using something else. Or you use it if your customer really wants to use Go and wants to pay you.

Go is like a tool used to build the plumbing and internal systems of your house, but not the house itself. Using Go is similar to casting and forging your own water pipes. Some people enjoy getting into the details of crafting those pipes, but most of us just want to install them and focus on the rest of the construction.
Hyperbola GNU/Linux-libre operating system
It depends much more on the quality of the code and how it’s structured. I feel pretty confident that you would find uv easier to maintain than either pip or poetry despite the first two being Python code.
EPA will grant California the right to ban sales of new gas cars by 2035
The answer is to pay for content you enjoy.

The Verge is a great site, it was an easy decision to pay to be a member.
HyperbolaBSD Roadmap
This is the same principle as those mobile phone led flashing stickers from the 90’s/00’s.

Clever idea.
There is no killer app (yet). Chat is nice and there's various tools that are useful to devs. But broadly, there is no killer app that makes _everyone_ adopt it and gladly pay for it.

https://en.m.wikipedia.org/wiki/Killer_application
I still like Go, but I never cared much about the language itself. If you do things the way they want you to do them, it works fine.

I learned go on release for the full featured devtool in the `go` executable, the ease of building and deploying a single executable, and the relatively good speed.

Many more languages have good toolchain and deployment stories now, so I reach for go much less often as a result.
Go is not cool, it's boring and readable. I don't need a diagram to understand what the code is doing compared to Java. I say that with deep respect for the JVM and all the problems that are solved with it. It's an incredible ecosystem.

I'm productive in Go because I realise most of my time isn't spent typing, it's thinking. I shy away from over abstraction and lean heavily towards composition.

If you're solving a problem that requires complicated type system - don't use Go. If you're writing a UI - don't use Go. If you like 20 layers of abstraction - don't use Go.

If you're writing a product like I am, with similar constraints, then Go is an excellent fit.

People for some reason like to pretend everyone is working on the same problem that they are, and have the same requirements they do.

This person doesn't like Go, and that's fine. I have no doubt I'd be able to solve their problem in Go, and I have no doubt they'd be able to solve my problem in Java.
Nice idea, im always looking to meet others, around philly. It'd be helpful to have a daily email of users in my specific area, or maybe a monthly one for people in close by cities e.g. nyc for me.

I see its value, thanks for posting
Just subscribed to support the initiative.

Not really sure if I would like in person meetings, but a more relaxed (than HN) communication channel with alikes would be nice. Perhaps Telegram channels might be a good idea. Would be also nice to have a global (or less local) channel as well.

Also I wonder what the official local channels language would be? As a non native I'd probably still like for everything to be in English, which might sound weird to many.
> The people selling food are making and selling what is in demand.

The problem is that in highly touristic areas a big chunk of the demand comes from tourists, most of which are happy to pay for crap food as long as it's marketed to them in a way that fits their expectations about the country. The crap-selling businesses have higher margins (through cheap ingredients and unskilled labor) so it's difficult for quality local cuisine restaurants to compete with them. So even if a tourist-driven market is asking for crap, I'd argue the impoverishment of local culture is an unacceptable externality.
Claude is great, I think Claude 3.5 Sonnet is way better than OpenAI's GPT-4. It understands and follows instructions better, and the context length is larger too. Despite GPT-4 having some context length, too (duh), it often acts as if I started over. It fails at programming for me, and for basic stuff, like "giving movie recommendations without duplicates". If I send it twice or thrice, there will be duplicates despite having it instructed to omit them.

As long as Anthropic does not dumb their own models, they are going to be better than OpenAI, at least for what I use them.

So, in the present, Claude is way more useful to me and I am subscribed. Right now, they do not support text-to-speech and imagine generation, but once they do, I would just completely abandon OpenAI.

> The board of OpenAI is supposedly going to "determine the fate of the world", robotics to be "completely solved" by 2020, the goal of OpenAI is to "avoid an AGI dictatorship".

Given the above, I doubt it is going to be OpenAI at this rate.

It seems better for educational purposes given that it shows you the code with modifications in real-time and you can run Python scripts for example, but that said, I have not tried the "Educational" style for Claude.
> that we are not guaranteed to be able to replicate all traits of human intelligence by brute forcing.

We know from complexity theory that transformers with chain of thought are guaranteed to be able to reproduce a significant fraction of human reasoning, anything in the complexity class PTIME: https://arxiv.org/abs/2310.07923
So you can have comments
I doubt x is more recognizable than twitter.
I'll let someone else go down this rabbit hole with you. You've responded quite a bit to this thread which is curious.

HTMX is not generally used standalone and I'll leave this question at that :)
of all the comments on the page, THIS is the one that gets downvoted!?
And if you extend it even further back in time, you'd have https://en.wikipedia.org/wiki/Doggerland there in the middle.

Which means that - Congratulations! This is only the beginning! There is so much to add, both in granularity, a year is not enough during some events. But also when it comes to geography. Or why not integrate it with google maps, to get an even more precise granularity in the 2000s when all of this accelerates.

But it is very impressive and a huge time sink to be mesmerized by!
Its simple, the male tiger bent 2 out of 3 dimensions of space around his need to find his mate, and therin is a truth about much of what is eroniously called "reality"
> For me, they've mostly replaced Google.

That probably says more about you than about the tech.
And what if some people don't want to use AI? How is that maximizing freedom when people begin to be forced to use it in their jobs? Doesn't sound like freedom to me. What if people do not want to be exposed to the creations of AI? I really don't think there is any freedom in a world saturated by AI.
Hi HN, I’m Koji, software engineer and co-founder of Veryfront, where we offer tools to streamline web app development. Happy to share insights or answer questions about design, development, or anything related to building apps. AMA!
Less techy, but how about personal relationships you can trust?
Totally agree, there's just not enough money going around in the valley to make it worthwhile discontinuing a person's life. Glad we're on the same page.
The invention that accidentally made McMansions
"That's not how it's described" - Thanks for the correction!
Thanks so much Jilles. I really appreciate it!
Indeed, public speculation is what keeps these cases from getting swept under the rug.
Strong disagree. If you want to make a point about using different methods, say what you did.

“We isolated four samples using the following methods…”
> Go is boring and that's not good.

Wow, I couldn't disagree more.

This is a good quality because it means that the language is very conservative in features. The authors quite deliberately chose to keep a minimal featureset, which is shockingly difficult to do in practice. Languages that cram every feature under the sun are behemoths that are difficult to develop and, more importantly, use. Any experienced programmer can read the Go language spec in an afternoon, and be proficient with it in a week. You can't say the same about most other languages.

Those missing "bare essentials" like maps, filters and contains are just syntactic sugar, and hardly essential. I've worked with Go for nearly a decade now, and have never heard of samber/lo, nor needed it. This mentality that developers need helper functions for every task is what leads to ridiculous ecosystems of micro-libraries that are popular in the JS world, which is a huge supply chain security risk.

I mean, take a look at this example from samber/lo:

lo.Times(3, func(i int) string {
return strconv.FormatInt(int64(i), 10)
})

How is this better than a standard for loop with `append`? One uses standard language features and is obvious to anyone reading it, and the other depends on an external library and everyone being familiar with it to understand. If I saw this code in the real world I would strongly vouch for removing it.

To be honest, I'm _not_ a fan of such helper functionality creeping into the language. I'm not a fan of generics either, and I'm not sure they're a net benefit to the language.

> In Go, there's only one way to do things. [...] this part of Go’s boringness is just untrue.

This is untrue is most other languages as well, but at least Go authors strive to stick to this as much as possible. Whereas this is not even a core principle of other languages, or they even encourage the opposite. If we agree that TIMTOWTDI is a mistake, then the best we can do is to consciously reject it. How well this succeeds in practice is debatable because it is a very hard design problem.

I have many more fundamental disagreements with the author, but can't be bothered to address each one. To me Go is a breath of fresh air in a sea of broken languages and ecosystems. It's far from perfect, of course, but it's many times more enjoyable to use than anything else I've come across in the last ~20 years, most notably Python, JavaScript and Java.
Is there any world crisis where McKinsey wasn’t involved/profited?

Most immoral company on the planet smh
Might be worth investing some energy leveling up skills of not lettting random internet jerks have that much power over thy emotions
A road can be used for abductions, acts of violence, and other harmful activities.

What human in the world could be trusted with it [roads]?
- regarding the bulk of these patterns, which are all just different encodings of error values:

- the primary value prop of error values is they are concurrent, i.e. you can map over a collection with an effectful fn and end up with a collection of maybe errors (where error is encoded as nil, map, Either, whatever)

- exceptions cannot do this

- furthermore, clojure’s default collection operators (mapcat etc) are lazy, which means exceptions can teleport out of their natural call stack, which can be very confusing

- error values defend this

- the problem is that now you have a function coloring problem: most functions throw, but some functions return some error encoding

- this additional structure is difficult to balance, you’re now playing type tetris without a type system. Clojure works best when you can write short, simple code and fall into the pit of success. Type tetris is pretty much not allowed, it doesn’t scale, you’ll regret it

- you’ll also find yourself with a red function deep in your logic that is called by a blue function, at which point you’ll find your self doing the log-and-discard anti pattern

- therefore, i agree with the first bullet: it’s a hosted language, host exceptions are idiomatic, don’t over complicate it

- i do think error values can work great locally, for example (group-by (comp some ex-message) (map #(try-ok (f! %))), here i am using ex-message as a predicate. the point is you need to gather and rethrow asap to rejoin the language-native error semantics so your functions are no longer colored

- i am not an authority on this, just my experience having explored this a bit, wrote a big system once using a monadic error value encoding in clojure (using the funcool either type) and was very unhappy. The minute you see >>= in a clojure codebase, it’s over. (mlet is ok locally)

- one thing building Electric Clojure taught me, is that the language/runtime can encode exception semantics “however” and still expose them to the user as try/catch. Which means we can deliver the value prop of error values under the syntax of try/catch.

- That means, interestingly, Electric v2’s exceptions are concurrent - which means an electric for loop can throw many exceptions at the same time, and if some of them resolve those branches can resume while the others stay parked.

- For Electric v3 we have not decided if we will implement try/catch yet, because Electric userland code is essentially “pure” (given that IO is managed by the runtime and resource effects are managed by an effect system). Userland doesn’t throw, platform interop (database txns) is what throws, and we’ve found only very minor use cases for needing to catch that from Electric programs, again due to their purity. Having network failure not be your problem is really great for code complexity and abstraction!
> to simple things like real estate (or to foreign investments)

Are you saying that is not happening now?