Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dkersten
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
691.
▲
by
dkersten
5y ago
I don't know what time of day it was filmed. Maybe most people were working? There definitely were people around, at various points in the video. If I look outside my home at any random time of the day, you typically don't see man
692.
▲
by
dkersten
5y ago
> to just kick people out Neither does this place. It can only happen by consensus: that is, if everyone agrees. Not some majority, but everyone. Obviously the question of what were to happen to your shares if you did get kicked out is
693.
▲
by
dkersten
5y ago
Ah right, fair enough! They are, indeed, good examples of the usefulness.
694.
▲
by
dkersten
5y ago
Sure, of course they have uses otherwise why would they exist. But I would argue that the examples you have aren’t the common case — most people’s floating point calculations do not rely on these special values and seeing them denotes somet
695.
▲
by
dkersten
5y ago
> Unfortunately the site is using a dot for a dot despite being European and the M1 is being offered on rent. You're on the international version of the site. If you go to the German version, they quote the price as 58,31 €: https:
696.
▲
by
dkersten
5y ago
When did they require this? I haven't used Hetzner in about 8 years, but back then, I did not need to do this, I just signed up online with a credit card.
697.
▲
by
dkersten
5y ago
Not everyone can use datomic though, for many reasons (including cost). I'd love to use datomic, but its just not an option for me, while postgres is (and the DigitalOcean hosted postgres is quite affordable too and supports TimescaleD
698.
▲
by
dkersten
5y ago
True. A lot of people will argue that its not worth optimising for, that programmer time is more important and expensive. This may be true at the start, and is probably even worthwhile when you need to get a product out fast to test the wat
699.
▲
by
dkersten
5y ago
Yeah, my issue was something similar. When I moved it to DigitalOcean, I was getting logs consistently (from my application) and I traced it to something that was misconfigured on my end, which was causing health checks to fail. It took a t
700.
▲
by
dkersten
5y ago
Sure, but you really need to understand the internals to be able to make these assumptions. For instance, in your example, I know that the call to the C code to do the list operations is atomic (a single bytecode instruction), but I can
701.
▲
by
dkersten
5y ago
I wanted to use ECS/Fargate earlier this year and the deploy kept failing. It was an issue on my end, but the infuriating thing was that Cloudwatch didn't have any logs 80% of the time. Like, at random: I could click the redeploy
702.
▲
by
dkersten
5y ago
Too late to edit correction: between LOAD_FAST (not LOAD_CONST) and STORE_FAST
703.
▲
by
dkersten
5y ago
Doesn't require, sure. Nothing "requires" multithreading. It may benefit from it, though, since threads are lower overhead (context switching and memory) than processes. If you have any shared data, then that too may be a ben
704.
▲
by
dkersten
5y ago
> If the counter is atomic if I know you came to the same conclusion in another comments, but here's a look at it using the `dis` module: a += 1 turns into LOAD_FAST 1 (loads b) LOAD_CONST 1 (loads the consta
705.
▲
by
dkersten
5y ago
That's not useful. If you have a race condition, you will eventually hit it and when you do, you may get incorrect results or corrupt data. Thread unsafe is thread unsafe, regardless how rare it appears to be. Also, rare on one compute
706.
▲
by
dkersten
5y ago
But when each thread reads the variable, you have no control over which value you see, since you don't control when each thread gets to run. So its undefined in the sense that you don't know which values you will get: a thread mig
707.
▲
by
dkersten
5y ago
Their (stated) minimum requirements are what stopped me from using it for projects too. My projects were pretty simple, so it was total overkill, but for any bigger projects, it was too risky to try something new. So I ended up never trying
708.
▲
by
dkersten
5y ago
So after watching Bob Nystrom's talk: I have actually seen it before, its a very good talk and I definitely agree with him and with his solutions. But, as he even says himself, its not a replacement for ECS if you need that kind of com
709.
▲
by
dkersten
5y ago
Thanks for elaborating! I've actually tinkered with MUD development in the past and that actually does make a lot of sense.
710.
▲
by
dkersten
5y ago
Do you know of any articles or resource that go into your style a bit deeper? I'd love to hear more on how your effects system works and how that compares to a component-based or ECS architecture.
711.
▲
by
dkersten
5y ago
ECS is entrenched in rogue development in general, at least going by r/roguelikedev. It (or at least a component architecture, if not fully blown ECS) seems to be a good fit since these style of games tend to have a lot of composition
712.
▲
by
dkersten
5y ago
I agree, I've commented this exact things on the Copilot discussions: that the actual programming isn't the hard part. Regardless, pairing helped us keep the code quality up and defects low, as well as making sure everything was p
713.
▲
by
dkersten
5y ago
I had a very positive experience with pair programming on a project for about ten months. We (myself and one other guy) definitely did serious work. We built and delivered a complex piece of well tested software that is now running on aerop
714.
▲
by
dkersten
5y ago
> RAII handles are nice. If that's all you want, its not hard to write your own RAII wrapper for things anyway.
715.
▲
by
dkersten
5y ago
Of last year
716.
▲
by
dkersten
5y ago
Maybe a stupid question, but where do I find the base64 encoded image in your linked token? The only thing I can see is a transaction moving it from one address to another, the contract bytecode (which I guess might encode an image but its
717.
▲
by
dkersten
5y ago
The clients also usually don't want to pay for a stable safe bridge because the collapsing one is good enough.
718.
▲
by
dkersten
5y ago
Most people who work for eg google s engineers have plenty of other decent paying options, especially right now. Sure, not everyone diodes, but most do.
719.
▲
by
dkersten
5y ago
> With a (public) blockchain, this becomes a heck of a lot easier and more accessible Only if you assume that every country will actually collaborate and use the same blockchain. Much more likely, in my opinion, is that each country will
720.
▲
by
dkersten
5y ago
> some out-of-band method > some external certification process Or just skip the extra complexity and have it all handled by a central authority? Yes, you can use a blockchain to implement it how you describe, but I still don't
More ›