Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adamscybot
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
adamscybot
9mo ago
The point about CMSs having value in possibly being a more real-time collaborative UI layer to interact with that's less-scary for the average Joe is a valid driver; and is a critical factor for many use cases. But the the other stuff
2.
▲
by
adamscybot
2y ago
One language that comes to mind is ReasonML. It doesn't have runtime checking. It's structural and compile time, but the guarantees are supposedly cast iron. https://reasonml-old.github.io/guide/language/
3.
▲
by
adamscybot
2y ago
The "should we use node for the core business logic for my use case" thing is absolutely valid and depends. But you'd be surprised about the "react for the front end of the CLI" part. I used this thing a whole six y
4.
▲
by
adamscybot
2y ago
Odd to see this come up. I used it about 6 years ago to produce a CLI for devs. It worked very well and React concepts map cleanly to pretty much any "UI" target as said targets can also be well represented by declarative & co
5.
▲
by
adamscybot
2y ago
If you are used to structural typed systems though this actually "feels" expected. Don't get me wrong, I know where you are coming from. But the realisation comes from nominal systems, which are different beasts. As long as i
6.
▲
by
adamscybot
3y ago
Interesting internal comms along these lines from 2013: https://www.techemails.com/p/imessage-for-android
7.
▲
by
adamscybot
4y ago
Right, huge +1 for Chakra. Chakra is basically tailwind but built on react primitives. It feels lot cleaner, and solves most of the issues mentioned.
8.
▲
by
adamscybot
4y ago
Its back
9.
▲
by
adamscybot
4y ago
In my experience its often the case the status site does not reflect reality -- until someone intervenes.
10.
▲
by
adamscybot
4y ago
I know about CSP and iFrames, but I think they aren't ergonomic enough to be used as mechanisms to restrict deps right? Iframes need a full web context whilst CSP cant target individual code blocks. For example, I might want my code to
11.
▲
by
adamscybot
4y ago
TBH I think its not because JS somehow fundamentally attracts a different group of people, its probably more like: - It being web based means you can target this kind of software for maximum "impact" - NPM dep trees are massive an
12.
▲
by
adamscybot
4y ago
The web needs APIs that enables certain blocks of codes to run under specific permission constraints. Such constraints might include ability to read/write to DOM; window.alert; redirecting (well I guess CSP covers that one) etc. At lea
13.
▲
by
adamscybot
4y ago
"Depends". The benefits of leaning on open source pays off the majority of the time. Are you exposed to more risk? Yes. Does that mean you shouldnt take that risk? Not really. Otherwise you'd struggle to move quickly and be
14.
▲
by
adamscybot
5y ago
Amazing! I always wanted Everything + deeper OS integration and this fits the bill.
15.
▲
by
adamscybot
5y ago
Perhaps give it another try, but with TypeScript. Im a front end dev and yes, I feel the JS pain. I look back at how I used to do things and think "wtf". TS completely changed this and brought it back to sanity.
16.
▲
by
adamscybot
5y ago
I think esbuild is basically already doing most of what Rome promises
17.
▲
by
adamscybot
5y ago
People are talking the other points to death but on the toolchain front, you might enjoy https://github.com/evanw/esbuild , which is rapidly gaining in popularity. Just 1 thing for bundling, transpilation etc. And its t
18.
▲
by
adamscybot
6y ago
What if you need that set of read/write operations to happen in one database transaction?
19.
▲
by
adamscybot
6y ago
One thing people havent mentioned as well is the importance of mutations. Querying is only one side of the story. Your API should match semantic actions on your client like the UI and it needs to do this in such a way that it happens in one
20.
▲
by
adamscybot
6y ago
Yep. OpenAPI spec is not rich enough to represent relations like this so its rubbish for FE dev to use to generate models/api client. In general, the tooling/spec has thousands of open bugs, isnt going anywhere, moves very slowly
21.
▲
by
adamscybot
6y ago
Yes and by doing so you lost the advantages of a predictable and well organised API. GraphQL has first class support for this scenario.
22.
▲
by
adamscybot
6y ago
If you're a front end developer the advantages a clear because of much superior tooling. The reason for this the agreed SDL spec format which is part and parcel of GQL. REST is just a loose collection of ideas and OpenAPI is not integr
23.
▲
by
adamscybot
6y ago
Yeh, those are good. Though they seem to have appeared shortly after the Dyson blade dryers. Dyson seem to have shaken the market a bit into realising you actually need power in these things for them to be useful.
24.
▲
by
adamscybot
6y ago
> How would they make any money off the App Store in a future where all apps are streamed bypassing their system all together? Yes I agree, I think this is the answer. Video streaming is allowed since they already lost -- no one wants to
25.
▲
by
adamscybot
6y ago
That's not the case. It literally is sending user input to the server, where the game is running, and then you watch a video back. That's the base technology that underlies every single gaming streaming service (to date, at least)
26.
▲
by
adamscybot
6y ago
By this logic, why are any video streaming services like Netflix, YouTube and Amazon Prime allowed on the service given they cant audit every video? It's exactly the same logic.
27.
▲
by
adamscybot
7y ago
To be fair to VSCode it's the most slick and speedy electron app I've seen by miles. I forget often that its backed by it.
28.
▲
by
adamscybot
7y ago
That essentially means you are still overfetching underneath the hood but yeh -- for me the benefits are in its ergonomics anyway. The whole under/overfetch thing is overstated.
29.
▲
by
adamscybot
7y ago
I've found it reduces complexity in your app code (at least on the front end). You basically have no or extremely minimal data fetching logic where as with REST you often find yourself making more requests in response to other requests
30.
▲
by
adamscybot
7y ago
You configure the NPM client on what your primary registry is. I think this github repo will mirror everything on NPM (?).
More ›