MHN

phpnode

karma 7,418·joined October 23, 2009·profile on HN

Founder of https://codemix.com/ - authoritative product context which makes sure coding agents build the right thing and humans stay in control.

Email: charles@codemix.com

Recent activity

  1. My very first interaction with a computer was with the BBC Basic command prompt, 30...
  2. Just the media
  3. in addition to counting dependents you can also run the graph through pagerank to find...
  4. I'm saying that's a different argument, and not one I raised. You incorrectly inferred...
  5. I'm talking about the process of turning sunlight into food. If you want to make that...
  6. No, I mean it's less efficient. A large field can be farmed with larger machinery...
  7. It's not just that, certain pieces of equipment (combines in particular) are needed at...
  8. Definitely, but smaller fields are a lot less efficient unfortunately.
  9. Why did you feel the need to edit your post to include those examples?
  10. > There is no way the first group to land there will be able to establish dominance...
  11. Wind turbines can be incredibly dangerous, I'd be worried if this was anywhere near my...
  12. > I'd say there should be an exception for ransomeware cases where physical safety is...
  13. They set up the incentive structure, they're responsible for the effects
  14. If everything is political then nothing is political and the term loses all meaning
  15. all of the functionality happens at compile time
  16. A while ago I built this exact mechanism for Flow, it could be done in TypeScript if...
  17. there's the reflect-metadata package but the type information it exposes is very...
  18. I wrote an article about this a while ago: https://codemix.com/opaque-types-in-javascript
  19. I don't think even ReScript can do this (yet?)
  20. yep!
  21. same mechanism, just deal with more edge cases. e.g. whitespace isn't really trimmed...
  22. oh let's be clear there's no sensible real world use cases of this thing. it's a...
  23. it's a bit fragile only due to my laziness, it could be done properly if this were a...
  24. > The implementation isn't even that horrible You're making me blush! The list of...
  25. hover over the type annotations to see results in the playground, that's the output :)...
  26. Show HN: A SQL database implemented purely in TypeScript type annotations (github.com)
    426 points by phpnode·2254 days ago·191 comments
  27. I used to be a big fan of the idea of schema.org, but it seems to be used by Google to...
  28. Writing an alternative babel plugin to do the transform this way would be pretty...
    phpnode·2259 days ago·on New JSX Transform
  29. It can be done if you write your code like this: function MyThing() { return ( el(A,...
    phpnode·2259 days ago·on New JSX Transform
  30. JSX is a tree of deferred function calls. It's nothing to do with HTML, despite them...
    phpnode·2259 days ago·on New JSX Transform