So what does the non-simulated "real" or "outer-world" look like in this view?
HN user
gunn
https://github.com/gunn
React itself is quite small but react-dom is much bigger: 121KB minified, 40KB gzipped - https://bundlephobia.com/result?p=react-dom@17.0.1
I also just found https://hatchinvest.nz/ - has US market access, I don't know about an API
There's https://hellostake.com/ for NZ and AU. They don't have an API yet but would like to in the future - see comment here: https://old.reddit.com/r/PersonalFinanceNZ/comments/fnbmlx/x...
As mentioned, Sharesies plan to allow US market access: https://app.sharesies.nz/us-equities-register They do seem to have a private API at least: https://app.sharesies.nz/api/fund/list
https://www.revolut.com/en-NZ have plans to expand to NZ, I don't know much about their services though.
As in .mjs files? Personally, I just want to import my own .js / .ts files and external npm packages which works well - https://github.com/gunn/covid-19-scripts/blob/023579e1cf/get...
The catch for me is that it's probably not suitable for a sever in production as mentioned elsewhere in this thread.
You'll like https://www.npmjs.com/package/ts-node - it allows zero processing use of typescript
React native doesn't really use css - there are no .css files, no cascading either. It's more like a style engine that uses a subset of css ideas as a starting point.
It uses flex-box (and only flex-box) for layout, adds some convenient shorthands - marginVertical, marginHorizontal, and does some surprising (but useful) things like has transform take a JS array of key value pairs - https://reactnative.dev/docs/transforms#transform
It buys time to prepare, and for vaccines and other treatments.
This looks useful, but also quite big - larger than react-dom: https://bundlephobia.com/result?p=react-flow-renderer@1.1.0
Hey, since you know about this space, could I contact you to to learn some more about it? I'm developing a product that can act as a CMS but is more general and I think more powerful. If you can email me, I'm arthur@everdb.net
It seems to be based on a site by cloudflare: https://isbgpsafeyet.com/
Like it says, <1kB minified and gzipped. But 9.5kB only minified, i.e. The css is highly repetitive so gzip is able to do a lot.
I know it's still small, but I'd be tempted to extract just the rules I wanted. Very nice regardless.
Why are schemas strings?
It would seem much more natural to make them JSON structures since they're almost that anyway.
I use and can recommend the chrome extension from https://sessionbuddy.com/
Even if you don't use it actively, it periodically saves the state of your windows and tabs (all locally), so you can restore sessions from months and years ago.
Try mine! https://github.com/gunn/pure-store
Super simple, 100% test coverage, 100% typesafe if using typescript, absolutely no boilerplate.
Thanks for the reply. It looks well organized now. I'll be keeping my eye on it.
There's quite a lot of code in the packages dir - 76,000 lines of typescript.
It was all added in the first commit 45 mins ago. Why would they hide their commit history?
Also I found this funny - comments in package.json:
"//": "Look! No deps!",
"dependencies": {},
"///": "Only used for static type checking",
"devDependencies": {Looks excellent. One thing I'd question is why it should deviate from html / css like it does - why choose corners: 4px over border-radius: 4px?
I'd definitely hope browsers could encode them for example to allow canvas.toDataURL("image/flif")
To give them some credit: it's not sent when in incognito mode.
In ruby you are always calling a method, you can't access a property from outside a class with normal syntax.
Excellent clip thank you.
Here's the library I wrote to replace redux for myself: https://github.com/gunn/pure-store
It's the simplest API I could think of, has excellent type support, and handles immutability for you.
This is very cool. Especially the animate into compact code view when holding down the alt key. Is there an extension with similar functionality in any other editor?
The released mac didn't work for me, but the webassembly webGL version is excellent - https://michelemorrone.eu/glchaosp/webGL.html
For anyone who doesn't know it, the name Pala is a reference to the setting of a novel by Aldous Huxley - https://en.wikipedia.org/wiki/Island_(Huxley_novel)
It also has the advantage over code that it can be modified with a visual interface designer.
It is ugly:
["div", 0, "The ", ["a", {"href": "https://www.json.org/"}, "JSON format"], " was invented by ", ["em", 0, "Douglas Crockford"], "."]
Here you go: https://github.com/tonsky/FiraCode