Hacker Newsnew | past | comments | ask | show | jobs | submit | James_K's commentslogin

  import Mathlib
  def Goldbach := ∀ x : ℕ, Even x → x > 2 → ∃ (y z: ℕ), Nat.Prime y ∧ Nat.Prime z ∧ x = y + z
A short specification for the proof of the Goldbach conjecture in Lean. Much harder to implement though. Implementation details are always hidden by the interface, which makes it easier to specify than produce. The Curry-Howard correspondence means that Joel's position here is that any question is as hard to ask as answer, and any statement as hard to formulate as it is to prove, which is really just saying that all describable statements are true.

This argument is based on the notion of proof irrelevance – if a theorem is true, any proof is as good as any other. This is not the case for computer programs – two programs that implement the same specification may be very different in terms of performance, size, UI/UX, code maintainability, etc.

Performance and size can easily be added to any specification, maintainability is not a problem if you never have to maintain it, UI/UX are design issues not code issues. If you specify a UI, it will have the UX you want. We can already do UI creation with visual editors.

    theorem goldbach : Goldbach := *message truncated*

Just use RSS at that point. I don't see the value of encrypting everything, like people are gonna be spying on your random static blog entries.

These days people are fearful of their work ending up in LLM training datasets. A private, but static hosted website is on a lot of people's minds. Most social networks have privacy setting these days, which feels like a missing feature of standard, static blogs.

If you are interested in multi-byte access to GCed arrays, something similar can already be accomplished. You can hold the array data in Wasm linear memory, then have an object that wraps a pointer to it, and using JS code, associate a finalizer with that object that frees the related section of linear memory. It's essentially how FFI memory is handled in most native GCed languages.

I considered that, but it requires more pointer indirection and I'm supporting WASI as a first class target, so won't always have access to JS finalizers. I'm going with copying as simpler for now, praying that multi-byte access lands by the time my language is viable.

> This perception, for what it’s worth, runs counter to statistics: Between 2000 and 2022, the years for which data is available, only 0.5 percent of startup venture funding went to LGBTQ+ founders.

The article seems to admit that its central premise is entirely made up. If a conservative 3% of people are some flavour of gay, then they are 6-fold underrepresented, at least in this area.


Skill is your ability to achieve your objectives, taste is the ability to differentiate good from bad objectives.


Okay but how does taste let you do that? I get what skill means but what is it that lets you differentiate between good and bad objectively? Is it experience? exposure? or just having good design skills? The article would be better if it went into the crux of this issue instead of hand waving it over.


Taste is about understanding what people want, and what they don't even know that they want.


That was because you could make money by turning old things into new things. Not so with garbage disposal, a service for which you almost always have to pay.


> Not so with garbage disposal

There is already a healthy trade for second-hand clothing to 3rd world countries (see pics of kids with "<Final's losing team> World Champions 2022"). The prices will be better for brand new clothes. The gray distribution channels already exist and will readily pay for new clothes - at steep discounts, but pay for them nonetheless.


Describing it as a market is not entirely correct. The clothes these people wear are garbage. As a species, we produce more clothes than we could ever wear. I am reminded of a story of a charity that accepted clothing donations for the victims of an American hurricane, and immediately had to stop because their warehouse filled up. Many clothes are not even worn once before they're thrown away, and one of the cheaper ways to dispose of them is dumping them on 3rd worlders. It's quite dystopic really the underclasses who dig through our trash.


… and put local African cloth producers out of business. The same happened with shoes sent to African countries by NGOs. Well intentioned, but local shoe manufacturers went out of business. The local population did not really benefit, because traders would get a hold of the free shoes and sell them on for just a bit less than locally produced shoes.


The sky is blue because air is blue.


The renaming of “my computer” to “this PC” was quite telling.


British filter.


So if a suicide bomber can drink explosives, they will be fine. As long as it's not poisonous within a few hours, should be no issue.


As long as they can drink it without making a face.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: