Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mambodog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
mambodog
8y ago
This appears to be using my port of the PCE emulator[1]. It's also used on the Internet Archive, which has a collection of HyperCard stacks which you can run in the browser[2]. I have a short tutorial[3] for running HyperCard stacks lo
32.
▲
by
mambodog
8y ago
How did you extract concerns from class components and reuse them previously? Easy and hygienic extraction and composability of concerns literally is something new enabled by Hooks that was not offered by class components. You're also
33.
▲
by
mambodog
8y ago
How is this different to using a React component installed from npm? You can look inside them if you want to, but don't have to. That is the goal of abstraction. If you want to have no abstraction and show all state in your component,
34.
▲
by
mambodog
8y ago
Here is a visual example of how hooks move all the parts of a single concern into a single block of code which, in a class component, would be littered across lifecycle methods: https://twitter.com/threepointone/status
35.
▲
by
mambodog
8y ago
If you're interested in playing with an Atari ST but don't want to install anything, there's an in-browser emulator on my website here: https://jamesfriend.com.au/pce-js/atari-st/
36.
▲
by
mambodog
8y ago
Traits are okay: React 'Mixins' which I mentioned in my parent post are basically traits but at the framework level, which allows them to be smart about composing/merging the use of framework functionality normally accessed b
37.
▲
by
mambodog
8y ago
How do you compose two base classes into a subclass? That's basically what hooks allows. You can use two different, unrelated custom hooks in one component, and a different combination in another component, without having to bundle the
38.
▲
by
mambodog
8y ago
Hooks address a very specific problem with classes: composability. You can use the various builtin hooks to do stuff that (in class-based React) previously required implementing methods (eg. componentDidUpdate). Using those methods works fi
39.
▲
Inclusive ML guide – AutoML
(cloud.google.com)
2 points
by
mambodog
8y ago
|
0 comments
40.
▲
by
mambodog
8y ago
I would recommend just following the official React tutorial: https://reactjs.org/tutorial/tutorial.html There are many other tutorials on the web but the official one has had a lot of work put in to making it seamless
41.
▲
by
mambodog
8y ago
For anyone who is interested in some technical background, I wrote about porting this emulator to browser a little while ago: https://jamesfriend.com.au/porting-pce-emulator-browser
42.
▲
You Can Now Play the First LGBTQ Computer Game, for the First Time
(motherboard.vice.com)
2 points
by
mambodog
9y ago
|
0 comments
43.
▲
by
mambodog
9y ago
The Yarn autoclean command also does something like this: https://yarnpkg.com/lang/en/docs/cli/autoclean/
44.
▲
by
mambodog
9y ago
Hold on. I'm not a fan of Communism, but there's a pretty clear difference. The Soviet Union was a particular implementation of Communism which chose killing. Killing is not an inherent requirement to the ideology. Contemporar
45.
▲
by
mambodog
9y ago
when you haphazardly cut out chunks of an application it doesn't work correctly? colour me surprised
46.
▲
Searching for the Holy Grail
(wincent.com)
1 points
by
mambodog
9y ago
|
0 comments
47.
▲
by
mambodog
9y ago
Actually if you still really want JSX in CoffeeScript, it's now built in: https://github.com/jashkenas/coffeescript/pull/4551
48.
▲
by
mambodog
9y ago
There's a whole bunch of products in the 'farm management system' category. YC's entry is called Farmlogs. I previously worked for another such company called Agworld. https://www.google.com/search?q=farm
49.
▲
by
mambodog
9y ago
For people who want to look at some Reason code, here are some more projects: https://github.com/jsdf/reason-react-hacker-news (rather unimaginatively, a hacker news app) https://github.com/jsdf/li
50.
▲
by
mambodog
9y ago
Fair enough. What I'm trying to get at is that you need to pay attention to the cost of the real world queries which are actually being executed against your API, and then optimize. I'm not sure that SQL is a magic bullet there ei
51.
▲
by
mambodog
9y ago
If you have low latency queries (eg. because most things hit cache rather than db) sequential queries aren't as much of a problem. Being able to join everything into one query, on the other hand, is a luxury which can be hard to mainta
52.
▲
by
mambodog
9y ago
I don't think Reason is like Elm in this way. Whereas Elm requires you to wholly buy in to the Elm world, Reason can easily be brought into a large existing codebase. Large chunks of messenger.com are written in Reason. I'm pretty
53.
▲
by
mambodog
9y ago
At this stage, the only thing you need to do to get Reason to 'work' is to use Create Reason React App (when targeting the browser). The language/compiler itself is installed as an npm package(!). The only other things to ins
54.
▲
by
mambodog
9y ago
If your question is about why one would use Reason, Reason is an interesting alternative to Javascript for building web front ends (though it also can compile to very fast native code for backend/systems use too). Some things I feel ar
55.
▲
by
mambodog
9y ago
Are you talking about async DOM APIs? Because I'm pretty sure framework authors have been explicitly asking for that.
56.
▲
A First Reason React App for JavaScript Developers
(jamesfriend.com.au)
85 points
by
mambodog
9y ago
|
42 comments
57.
▲
by
mambodog
9y ago
The use of vector graphics instead of 3d rendering or bitmap video seems reminiscent of the techniques which allowed Another World to achieve the fidelity it did on the consoles of that era: https://www.youtube.com/watch?v=X
58.
▲
by
mambodog
9y ago
I highly recommend ShellCheck[0] if you're writing any bash. With the warnings and stylistic advice it provides, I feel like I can actually be confident that my scripts are doing what I think they're doing. [0]: https://
59.
▲
What research papers should a digital product designer consider reading?
(quora.com)
3 points
by
mambodog
9y ago
|
0 comments
60.
▲
by
mambodog
9y ago
Sounds like you're confusing 'simple' with 'easy'. Rich Hickey does a good job of contrasting the two in Simple Made Easy[0]. The essential part of Redux is only 44 lines of simple code [1]. You can understand every
More ›