Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
obpe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
31.
▲
by
obpe
3y ago
I have never heard this before. Can you elaborate on the differences? What do you validate on the client side that you don't on the server and vice versa?
32.
▲
by
obpe
3y ago
>Node does not absolve from this. Any important verification still needs to be done on the server side, since any JS on the client side cannot be trusted to not be manipulated. JS on the client side was of course possible before NodeJS.
33.
▲
by
obpe
3y ago
It's kinda funny to me that many of the "pros" of this approach are the exact reasons so many abandoned MPAs in the first place. For instance, a major selling point of Node was running JS on both the client and server so you
34.
▲
by
obpe
3y ago
If your security posture is mostly filled with current best practices then AI hacks aren't anymore scary than regular hacks. Phishing is by far the number one way we have been hacked in the past. Education, MFA and soon passwordless lo
35.
▲
by
obpe
3y ago
JS has improved a lot over the years but I am not sure I would want it as the default scripting language for applications. JS is really only useful because it's the language you access the browser's API with. If you are creating a
36.
▲
by
obpe
3y ago
I recently started working on a project that added TS after the project was very mature. The biggest problem is the project was never intended to have types so they feel very shoehorned in and, imo, cause far more problems than they are sol
37.
▲
by
obpe
3y ago
I think they are counting on the fact that any recourse you do have would be far more expensive to acquire than the amount owed. Economically, it's probably not in your interest to follow through. Basically, consult a lawyer if you act
38.
▲
by
obpe
4y ago
I haven't used GPT4 but my experience with Copilot is that it's just inconsistent. I think a big problem for me is I work in a legacy web environment with a lot of technologies that were never popular. So generating generic code t
39.
▲
by
obpe
4y ago
While I do see huge potential in AI, I personally do not see it as the existential threat you propose in this post. This is something I have thought a lot about. Do you have a CS degree? If so, then it shouldn't matter too much that yo
40.
▲
by
obpe
4y ago
I have used non-Euclidean geometry to implement an approximate distance calculation. I have used calculus to implement control logic. I have also worked with amazing developers that couldn't do simple addition in their heads. Math is a
41.
▲
by
obpe
4y ago
My go-to stack is Node and React. The fastest is the one you already know. The cheapest is the one you don't use. More scalable requires more complexity. More modern is probably completely useless until it's not modern anymore. Th
42.
▲
by
obpe
4y ago
I am very biased as I am Canadian and have lived in Canada my whole life. However, my wife is Australian and I have visited many times. We have looked into moving there and the only thing that really stops us is our pets due to the signific
43.
▲
by
obpe
4y ago
This kinda seems like a good idea for rich countries, like Switzerland and Iceland, that are carbon neutral; particularly in their energy generation but this may be actually terrible. The article mentions they have raised $780 million. If t
44.
▲
by
obpe
4y ago
Wouldn't HN also have to stop hosting comments?
45.
▲
by
obpe
4y ago
I think requiring proper ventilation would be enough to force most installations to choose electric because it will be the least costly option. The house I own came with a gas stove and a vent that vented inside (the previous owner said it
46.
▲
by
obpe
4y ago
It's funny to me how people compare how hot each type of stove gets. Even when I sear a steak, and I like my steaks blue, I barely go above medium on my gas range. Imo, the best thing about gas is the continuous nature of the output an
47.
▲
by
obpe
4y ago
I am an atheist and a Canadian so we definitely share divergent thinking. I agree the left is dominant in those areas of our culture. I think this is due to the highly concentrated populations of liberals versus the vastly spread out conser
48.
▲
by
obpe
4y ago
It took 5 seconds of googling to find a statement from Errol, Elon's father, that confirms he did own an emerald mine but also claims it collapsed in 1989.
49.
▲
by
obpe
4y ago
If you don't have a remote position already then I would suggest you make it clear to any potential employers this is your intention. I have been working a remote job for many years and I only recently found out I am required to be in
50.
▲
by
obpe
4y ago
I don't know anything about including OpenGL/ES but I have worked with react-native in the past and it worked well for a pretty simple CRUD app that was a 90/10 read/write ratio. It was built by a team with lots of react
51.
▲
by
obpe
4y ago
I would say the opposite is true. Brokenists see America as so broken it is not worth fixing and instead should be burned down and built anew. Status quoists see America as flawed but worthy of being fixed. On the other hand, liberals and c
52.
▲
by
obpe
4y ago
Just wait for renewal and snipe it before they renew. I have been able to get several squatted domains this way.
53.
▲
by
obpe
4y ago
I didn't make it clear but I think we should be building nuclear today. But that doesn't change the fact that there is little inertia on moving forward with nuclear. All these discussions centre around changing policy but I have h
54.
▲
by
obpe
4y ago
This has been studied and solar still comes out ahead. This article seems to not consider the literal thousands of tons of cement and steel required for a natural gas plant. Both of which carry the same mining and smelting baggage that the
55.
▲
by
obpe
4y ago
Sure, this is fine for a simple hobby or personal site. But businesses add a lot of extra junk to their sites for their own benefit not the users.
56.
▲
by
obpe
4y ago
Imo, part of the problem with these discussions is the terms, capitalism and socialism, have been stretched to mean much broader things than "private" vs "public" ownership. If you use the original definitions, than Denm
57.
▲
by
obpe
4y ago
Yeah, except there were only 22,000 cannabis users so it's actually 220 people, not 10,000.
58.
▲
by
obpe
5y ago
> no one has made highly comfortable yet very inexpensive N95 masks Because faces have a huge range of variance so the only solution is custom make masks. Technologies like additive manufacturing could solve this but like all new technol
59.
▲
by
obpe
5y ago
I have implemented many custom form controls. The reason is almost always because the design requires it. But other reasons can be to "improve" the control; for the select box to make the invisible edit buffer visible. I appreciat
60.
▲
by
obpe
5y ago
That's very interesting because with some more napkin math... If we assume 3500 additional calories is 1 lb of fat stored on your body, then 3500/300 = 11.6 days you gained 1lb Assuming 6 months is 180 days, then 180/11.6 = 1
More ›