Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
john567
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
john567
4y ago
Very valuable lesson. Put some effort into defining scope and prevent yourself from improving your design as you go. (There may be time for that next time) Know your platform! If you know exactly how well the different things you need are g
32.
▲
by
john567
4y ago
I was about to say the same thing. These things are quite sturdy and if you loose your key (as people do) you retire the old one and make a new. These things are neither expensive nor irreplaceable. Of course if you loose your key it's
33.
▲
by
john567
4y ago
Just say no. I know this isn't easy. I'm the tech lead at my company and I've continuously steered us away from stuff because I couldn't understand why we needed to do things differently and no one else could come up wit
34.
▲
by
john567
4y ago
It can quickly spiral out of control. My best advice is to just hold back. My experience is that most people don't care about a fancy UI they just want something that works for them. If you can build this from common basic components i
35.
▲
by
john567
4y ago
Start simple. Educate co-workers on why a specific approach is good. Build culture. Slowly but surely you should all be working towards the same goal. It's a slow process but with many moving parts. Take on a single piece at a time. Th
36.
▲
by
john567
4y ago
"The EU" doesn't exist. It's a bunch of bureaucrats in Brussels that care surprisingly little about the people who happen to live in Europe. So how is it that this dysfunctional body is going to produce anything resembli
37.
▲
by
john567
4y ago
I hate that the reward here is candy because I absolutely detest sugar. And in this scenario I'm conditioning my kids to eat candy when they do good. I try to reward good behavior more so than I punish bad behavior. Things we're d
38.
▲
by
john567
4y ago
Completely agree. The littering is a no go for me. But the idea that the bag is some reward and that you can lose some of it if you miss-behave and then maybe earn it back. That's reasonable. I typically employ a progressive punishment
39.
▲
by
john567
4y ago
Right but it doesn't have to go down like that. It's certainly a risk but it can also serve as a reminder that there are costly consequences associated with bad behavior. Question is, how far will they go for a piece of candy... I
40.
▲
by
john567
4y ago
I don't know. Have you met my kids? Not all kids are the same. Assuming the candy bag is big enough tossing a few isn't the worst thing to happen. I do agree that, as I read this and thought that there's some really nice advi
41.
▲
by
john567
4y ago
https://news.ycombinator.com/item?id=31176453 > I've seen many devs work with broken environments and just ignore the problems because it doesn't actually stop them, or because they don't realise it's
42.
▲
by
john567
4y ago
https://news.ycombinator.com/item?id=31176453
43.
▲
by
john567
4y ago
I review code. If the code is improperly formatted I know the person isn't using the right formatting tools and I tell them to fix that. In general I trust my team to actually use our code formatting tools and follow guidance.
44.
▲
by
john567
4y ago
Why would you run code formatting tools in a CI pipeline? If the code had been committed in the wrong format the problem should be addressed before the code goes into version control. Stuff like this helps with maintaining a tidy history an
45.
▲
by
john567
4y ago
I don't think that's it. The article is speculating. I do believe, maybe a bit naively, that Elon is actually doing this because he believes in free speech to protect democracy. He has said, on numerous occasions, that he wants to
46.
▲
by
john567
4y ago
Depends on your use case but unless you really need JavaScript interop I think there are better alternatives. You are of course free to do whatever but neither JavaScript or Node is the answer to everything. I think the Go concurrency model
47.
▲
by
john567
4y ago
Did a lot of Flash back in the day myself. The workflow was nice. Simpler times but surely you could roll your own framework today that did all these things in a similar fashion? There's nothing about the web today preventing this...
48.
▲
by
john567
4y ago
Not at all. Rather you might want a tight coupling because it will allow you to integrate deeper. Having the same code running on client and server when your application is split between running both on client and server is very convenient.
49.
▲
by
john567
4y ago
Oh, yeah, think of event sourcing. You have a series of events leading up (aggregate) into some state. This can be done in different ways but with Datomic you can request a point in time database. This database doesn't exist so it need
50.
▲
by
john567
4y ago
This can be solved in different ways. First, everything is an entity, so you can enrich attributes with information about how they should manage PII/SPI data. There's nothing built-in but you can build meta models easily. Second,
51.
▲
by
john567
4y ago
And how they secured allocation and AMD didn't? Why would that be the case?
52.
▲
by
john567
4y ago
What I've find most useful is the immutable nature of the database. That within a reactive framework for UX is great combination. You get really cool things to happen with little effort. Also, because the database is a value. You can e
53.
▲
by
john567
4y ago
This is true but it's a false premise. You have history but it's clunky to work with. You won't be able to "source" and recreate the past without some work and unexpected things will happen when you "source&quo
54.
▲
by
john567
4y ago
You don't run JavaScript in the backend and even if you do, it's not a problem for a lot of common use cases. JavaScript is also not the language people write in, it's the target. People compile there code into JavaScript mor
55.
▲
by
john567
4y ago
At this point in time. In what way was Flash superior to JavaScript and canvas? There was even SWF player implementations in JavaScript at this point in time. Somehow, I don't think the death of Flash had much to do with it. Rather, th
56.
▲
by
john567
5y ago
Can we at least agree that programming and math are different things?
57.
▲
by
john567
5y ago
Well no. It doesn't say how to progress from one state to another. It just tells us how numbers relate to each other. This isn't perfect but something like, math express things while computation progresses things. You could argue
58.
▲
by
john567
5y ago
What he is trying to do is that he is trying to create a computational theory to explain the world. As opposed to pure mathematics which isn't computational. Not really that crazy. He may be off putting at times but when he gets in to
59.
▲
by
john567
5y ago
It's Branchial Graphs and Multiway Causal Graphs now. I find it interesting. He has a lot to prove but good on him for trying to make progress. Who knows what this could lead to.
60.
▲
by
john567
5y ago
V8 already does this. When you write your code in a way that is akin to what you would do in a static environment, V8 emits additional type checks, if these pass, then it will run your code through a optimized version of the code that makes
More ›