Better HN
topnewbestaskshowjobs
Log inSign up

phpnode

7,416 karma · joined Oct 23, 2009 (17y ago) · 1,582 submissions

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

Submissions

comment 9y ago · link · parent

Anything that does significant work that would otherwise result in an unresponsive UI. For example code on the following page is compiled as you type, without a webworker this would give a very horrible user experience because compilation can take a long time for very large input - https://codemix.github.io/flow-runtime/#/try

comment 9y ago · link · parent

"fuck you money" is something different - it's the amount of wealth you need (varying per individual) where you can comfortably say "fuck you" to a particular job or opportunity or proposal someone makes to you if you don't want to do it. I believe the term you're looking for is something like "chump change"

comment 9y ago · link · parent

Pardon?

comment 9y ago · link · parent

That is how twitter works - it doesn't show every tweet from everyone you follow in your timeline, it shows a subset based on what it considers most relevant.

comment 9y ago · link · parent

It is much more like JavaScript than ocaml and so you get a familiar language but one which benefits from all the cool things that ocaml can do.

comment 9y ago · link · parent

Yes exactly, although you can avoid the middle step and go straight from reason to js because of the way bucklescript plugs into the ocaml compiler

comment 9y ago · link · parent

Reason is a js like syntax for ocaml, semantically they're identical. Similar to coffeescript and JavaScript, except ocaml has really good support for this kind of stuff

comment 9y ago · link · parent

The flow parser is already available in js, it doesn't seem impossible to bring the rest of it to the browser but I'm not aware of anyone working on it

comment 9y ago · link · parent

Reason is a language, bucklescript is an alternative backend for ocaml which generates JavaScript. You write reason, you don't write bucklescript

comment 9y ago · link · parent

This is a chat application, the primary transport is WebSockets, not HTTP.

comment 9y ago · link · parent

They don't want to send down the entire message history every time you switch to a particular conversation window, they want to be able to store as much of that locally as is possible/sensible so that the user doesn't have to wait for a network round trip and it still mostly works offline. They would like to store these messages in IndexedDB but they would like to encrypt them first.

comment 9y ago · link · parent

Why is that particular use case solved better with blockchain than e.g. incrementing a counter in an actual database?

comment 9y ago · link · parent

> At most, the dream of ad-funded websites might be dead. (I wish!)

What you are wishing for is a world in which access to things like Google Search which we take utterly for granted now are forced to become paid services. What are the implications of that, particularly for the world's poorest?

comment 9y ago · link · parent

Using 8.8.8.8 gives google even more insight into your internet habits, even if you're using e.g. firefox on a webpage that includes no google assets at all (no web fonts, no google analytics etc), google will still know you've been there. Whether that matters to you or not depends on you.

675.

Show HN: Efficient pattern matching for JavaScript(codemix.github.io ↗)

5 points · by phpnode · 9y ago · discuss

comment 9y ago · link · parent

Why is it ok to scald patients in third world countries? What if the quirks lead to misdiagnosis etc? If there was a way to produce this technology safely and cheaply people would be doing so

comment 9y ago · link · parent

Some memory allocators use them for tracking free blocks because insertions/removals are cheap and they're good at best-fit style searches.

comment 9y ago · link · parent

This DPR is not the original DPR and as far as anyone knows never invoked hitmen, but he didn't last long.

comment 9y ago · link · parent

Presumably yes, and the datapoints being visualised would have presumably been transactions. The admin in question would have been Blake Benthall, not Ross Ulbricht who'd already been caught by then.

comment 9y ago · link · parent

He's talking about the Silk Road marketplace - https://en.wikipedia.org/wiki/Silk_Road_(marketplace)

comment 9y ago · link · parent

I'm from the UK and have never heard this word, and I can't think of any similar words with racist connotations.

It's also a very anglo-centric viewpoint, why shouldn't the inhabitants of Gogland[0] have some software named after their homeland?

[0] https://en.wikipedia.org/wiki/Gogland

comment 9y ago · link · parent

> Because they've written more applications in assembler than anyone else in the history of computing.

Absolute unbridled nonsense.

comment 9y ago · link · parent

Presumably in this model the dev wouldn't push their branch until the merge is actually complete, and there's presumably a convention like prepending `[CONFLICT]` to those commits to discourage people from checking them out directly.

comment 9y ago · link · parent

Why not both?

comment 9y ago · link · parent

TOGAF - The Open Group Architecture Framework [0] for anyone else wondering

[0] https://en.wikipedia.org/wiki/The_Open_Group_Architecture_Fr...

comment 9y ago · link · parent

I wonder if there's a name for this phenomenon, where a small group emerge from a userbase, gain control of the platform and start applying their preferences to the detriment of the average user. It strikes me as very similar to the problems stack overflow faces.

comment 9y ago · link · parent

> "we have enough cash to run this service until everyone currently alive is dead"

They might have the money but why should they give it away? They are not a charity.

> it would make room for better search engines to emerge

How would those search engines fund themselves? what would their business model be?

comment 9y ago · link · parent

Of course, hence the focus on server-side rendering. It is quite difficult to do properly though. Facebook itself is not a single page application.
1
222324
53