HNHacker News
TopNewBestAskShowJobs

phpnode

7,416 karma · joined October 23, 2009

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

submissionscomments
phpnode··on C89 compiler produces printable executables from C code [pdf] (2017)
this is awesome!
phpnode··on Web Environment Integrity API Proposal
The underhanded way this is being proposed is really something else. It's hosted on a non-google github to provide distance, it's worded in a way that makes it seem like this is something that benefits users, when it's the absolute opposite of that. It subverts the whole concept of a user agent. This is a huge threat to our industry and we cannot allow this to happen.
phpnode··on Postman acquires Akita for automated API observability
It's an absolutely crazy valuation for the product / industry. Ultimately they're competing with free & good enough. What's their moat?
phpnode··on We spent $20k on Google Play pre-registration ads
Ads were of course common in 1995, but monetisation in general was rarer. A greater proportion of the web was hobbyists writing and collating information about subjects they were interested in, not because of financial incentives.
phpnode··on We spent $20k on Google Play pre-registration ads
The best way to learn is to become a PPC expert at some marketing company, you'll still burn through thousands learning all the tricks, but at least they won't be your thousands.
phpnode··on When did Alan Partridge first appear on television?
The key point that Four Lions makes is that the terrorists are not the highly devoted, strict followers of Islam that they claim to be. They are bored, directionless clowns and the devout want nothing to do with them. This is highlighted in the ringleader Omar's relationship with his brother - Omar and his wife tease and mock his brother for his strict adherence to Islamic customs. The devout brother tries to persuade Omar to abandon his terrorist plans, but is later targeted by the security services because they too assume that it's the strict, devout muslims that are behind it all.
phpnode··on When LIMIT 9 works but LIMIT 10 hangs
Even worse, I’m a typescript consultant
phpnode··on Show HN: Ki Programming Language
I've got no particular interest in V, but the hate it gets from a certain group of people here is really perplexing and I don't think it's at all warranted from what I've seen.
phpnode··on Update of the RDF and SPARQL (RDF star) families of specifications
I agree, it just has a bad reputation and there’s few obvious and well known success stories
phpnode··on Update of the RDF and SPARQL (RDF star) families of specifications
right, but they have a close association as OP says, and RDF is wrongly dismissed for similar reasons as XML (too complex, too much ceremony, too difficult, not enough value)
phpnode··on The .zip TLD sucks
That is definitely not the solely correct solution and I’m really curious to know what kind of punishment you think is appropriate here.
phpnode··on Why Object.keys doesn't return (keyof T)[]
Can you share a playground link? When I try I do get the suggestion, but that suggestion is coming from the list of words in the file, not from typescript's language service. In the playground you can see the difference because the the autocomplete entry for the suggestion has an abc icon rather than a cube icon.
phpnode··on TS to JSDoc Conversion
this is exactly what JSDoc is for, it's had these capabilities from the start.
phpnode··on Why Object.keys doesn't return (keyof T)[]
No, in this case the IDE won't help you. To make that happen you'd have to write this as:

    (keyof typeof someObject | (string & Record<never, never>))[]
which will give you autocomplete but still allow arbitrary strings. TS will still complain as soon as you use it as an object indexer though, defeating the point.
phpnode··on Why Object.keys doesn't return (keyof T)[]
This won't work - the code you've written here will forbid non string keys (i.e. symbols) but it won't allow arbitrary strings. If you changed it to a union rather than an intersection then that won't work either because the union of `"a" | "b" | string` is `string`. TS team made the correct call here, as annoying as it is.
phpnode··on Htmx Is the Future
No, it’s more like ES4 which was eventually abandoned and never became part of ecmascript
phpnode··on Htmx Is the Future
Title needs (2011). Not because that's when it was written but because that's when this technique was the future.
phpnode··on Why split lexing and parsing into two separate phases?
Lexing separately is cleaner in that the lexer's only job is to produce tokens and then the parser's only job is to consume tokens and produce e.g. an AST. It also means that you can use that token stream for other things that don't require a full parse (e.g. for syntax highlighting). The disadvantage is that you're often doubling the allocations and increasing the memory footprint. I alternate between separate lexer, combined recursive descent parser and generated PEG parsers depending on what is more important: speed + maintainability, speed of execution or speed of development
phpnode··on Tech jobs remain a good bet despite mass layoffs in Silicon Valley
That’s a level of confidence, preparation and forward thinking that would be uncharacteristic. The reality is that everyone else is cutting staff so it’s become expected. And because it’s expected and happening throughout the industry it’s a lot easier to do a layoff or two now than it was a year ago
phpnode··on Shell admits 1.5C climate goal means immediate end to fossil fuel growth
we did aim for an achievable goal, and steamed straight past it with our fingers in our ears.
phpnode··on Global rice shortage is set to be the biggest in 20 years
Your biggest adversary, one that's cast a dark shadow over your country and it's allies, one that's consumed trillions of dollars of defence spending over the last 75 years, is now being ground down and exhausted with approximately zero of your countrymen's lives at risk and all for a mere few billion dollars. You're getting a bargain.
phpnode··on Samsung considers moving to Bing as default search engine
Normal people just use the defaults, the idea of choosing a web browser or changing the default search engine is completely alien to most.
phpnode··on Bob Lee, former CTO of Square, has died after being stabbed in San Francisco
that's ridiculous, most humans are natural centrists with very few people making up the extremes.
phpnode··on Xstate: State machines and statecharts for the modern web
when you do get over the learning curve it's really excellent though.
phpnode··on Xstate: State machines and statecharts for the modern web
There's many benefits in having a state machine configuration that can be serialized, especially if you can store that config in a database and load it at runtime. And actually xstate does allow you to pass the functions directly if you want to
phpnode··on Binance Sued by US Watchdog for Alleged Derivatives Rule Lapses
The details of the lawsuit can be found here: https://www.docdroid.net/60YAbCz/cftc-binance-pdf
phpnode··on Thoughts on Svelte
it's like a much more structured, and observable version of redux. observable in the sense that not only can you tell what has happened, you can also tell (and visualise) what can happen next
phpnode··on Last night I read for the first time the company’s 8k announcing my resignation
that depends on how new the account is and how deeply downvoted the comment gets
phpnode··on Britain’s economic record since 2007 ranks near the bottom among peer countries
I'm not a natural Labour voter, but they have an approximately 25 point lead at the moment - they're very much getting their act together. I'm not sure where the "hating Israel" thing comes from, that talking point is several years out of date now.
phpnode··on Ask HN: How is the SVB situation affecting your startup?
it's a totally different situation to Terra/Luna
← PreviousPage 8 of 34Next →