Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bern4444
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
301.
▲
by
bern4444
5y ago
While it's not a single HTML file, the framework Remix has been wonderful to work with and makes building complex websites and web apps without any client side JS exceptionally easy.
302.
▲
by
bern4444
5y ago
yes, and I think NFTs and copyright are very similar but anyone can buy an NFT very easily - you just pay for it. To get copyright protection on something you may need to hire a lawyer, file some papers etc. Maybe NFTs are more similar to a
303.
▲
by
bern4444
5y ago
Any retail trader can buy a few puts on SPY for however far out they think a crash is coming
304.
▲
by
bern4444
5y ago
Yes, I agree. It's slightly more indirect than digital art but the consequence is the same. It's equivalent to copyright. I own this thing. Here is the proof - the NFT. If you - a tv show, movie, etc - want to use it you can licen
305.
▲
by
bern4444
5y ago
> If you count crypto in general as web 3, check out Monero. Genuine question, is crypto sometimes not counted as part of web3 by people in the space? I understand blockchain technology is distinct from crypto currency, but crypto always
306.
▲
by
bern4444
5y ago
There's so much talk about web3 - it's a bit overwhelming - and almost feels a bit toxic by all the people shilling it without any actual proof (in the form of new products or services). I have yet to see any product or service th
307.
▲
by
bern4444
5y ago
Twitter has recently opened up their APIs quite a bit[0]. I'm wondering if it's too late for the developer community now to embrace these APIs now that Twitter is "built up" and no longer a smaller company. [0] https:&#x
308.
▲
by
bern4444
5y ago
Either the author really believes this, and so should load up on puts and shorts, or they are just blowing smoke. I doubt they're willing to bet the money.
309.
▲
by
bern4444
5y ago
> Hooks as more like a DSL for declaring externalities, That's exactly right in my opinion. Hooks are the place to declare stateful and effectful (aka impure) logic. Using a hook is an equivalent signal to using a Future, or an IO i
310.
▲
by
bern4444
5y ago
Any of them will allow you to build a complex system - vue, svelte, react and others. It's more important to pick one and just get started with it. You can do some reading about how they're different or their different philosophie
311.
▲
by
bern4444
5y ago
I don't think I work more than 2 or 3 hours a day if that at a large - but not evil - social media company. I've been amazed. My previous job was much more involved - easy to hit 6-9 hours of work every day. It depends a lot on th
312.
▲
by
bern4444
5y ago
There's a lot here that feels like you're purposefully conflating to make it seem more confusing than it is and a lot of what you mention is also an issue in Ruby on Rails. It's also a false comparison to begin with. Ruby on
313.
▲
by
bern4444
5y ago
React feels pretty settled now, it's been out for 10+ years, hooks and functional components have become the standard. If you want to learn it I think it's at a mature enough place. Popular libraries like redux have been rebuilt t
314.
▲
by
bern4444
5y ago
I've been using Remix a bit and absolutely love it as a framework. It has a great mechanism of separating server and client side code where you can colocate server side code that only applies to a given route on your page. This makes i
315.
▲
by
bern4444
5y ago
It seems to me that execution is the multiplier. If an idea is worth $20, the execution is what multiples that idea to a far greater value.
316.
▲
by
bern4444
5y ago
You're not. The FED injects money into the banking system to prop up financial markets and lending activity (but mostly to other institutions - banks, business, wealthy clients - not people). Very little of that ends up in the average
317.
▲
by
bern4444
5y ago
My favorite CS book is structure and interpretation of computer programs. I used it for one of my college CS classes. The book was written to be a semester class and MIT even has various offerings of their version of the course recorded and
318.
▲
by
bern4444
5y ago
I'll do it for 20k.
319.
▲
by
bern4444
5y ago
It would be a lot easier if websites and advertisers actually worked to naturally integrate ads in a way that wasn't obtrusive. Massive banners at the top, auto playing videos, throwing off the page layout etc are all terrible ad exper
320.
▲
by
bern4444
5y ago
I seriously doubt Tel Aviv is more expensive than NYC on housing/rent costs alone.
321.
▲
by
bern4444
5y ago
Writing often improves memory and retention. I understand the sentiment but I believe writing something down (even in a digital way) improves recollection because of the physical movement involved which is (distinct from each written item).
322.
▲
by
bern4444
5y ago
Some common and widely used electron applications are VSCode, Spotify, and Slack. I think Microsoft teams might also be electron based but I'm not sure. There are many more as well.
323.
▲
by
bern4444
5y ago
Remix [1] solves this problem very well. Data that is needed by a React component is declared in the same file as the component as a loader function which the server then invokes and renders into the component on the server so the client re
324.
▲
by
bern4444
5y ago
> Their API stewardship is a mess What issues have you had with Twitter's v2 apis[0]. [0] https://developer.twitter.com/en/docs/twitter-api/getting-st...
325.
▲
by
bern4444
5y ago
Twitter recently rolled out full support for their v2 API along with improvements to the usage policy, and the ability to get started quickly with essential access. What issues do you have with the API?
326.
▲
The Party Math Trick
(sambernheim.com)
53 points
by
bern4444
5y ago
|
38 comments
327.
▲
by
bern4444
5y ago
I remember in 2nd or 3rd grade sitting with my classmates on the floor and the teacher wrote something like 4 + ? = 7 on the board. Without even mentioning the word variable, algebra, or any other terms, they began teaching us about these c
328.
▲
by
bern4444
5y ago
Ah i missed those cause this is different from the demo they showed. But the point still stands. There’s not a useDtate per form field which is how react normally handles forms
329.
▲
by
bern4444
5y ago
I think the goal here is to avoid needing something like react query. The loader functions you write execute on the server and pull data that is needed by the component. You can of course still use react query/swr/redux tool kit e
330.
▲
by
bern4444
5y ago
Here it is! https://youtu.be/wsJaUjd1rUo?t=299
More ›