Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sb8244
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
181.
▲
by
sb8244
5y ago
The argument here is that the system can get itself into a state that is irreparable (and perhaps very difficult to track / debug). By crashing and having it start into a good state, the system will at least be operational again.
182.
▲
by
sb8244
5y ago
Yes, that's a fair point. I should have written BEAM/OTP because they're separate things. BEAM enables the process model, but the implementation of things like networking is in OTP. I'm not sure how far deep the actual p
183.
▲
by
sb8244
5y ago
For those coming into this that aren't of an Elixir background, here's some of the things that make BEAM (Erlang VM that Elixir is built on) interesting for soft real-time features: * BEAM provides out-of-the-box capability to
184.
▲
by
sb8244
5y ago
It's not explicitly labeled as CC on the license page, but maybe it's still considered CC due to the wording: https://openby.design/license.html An asset is typically the final rendering of something, not the sour
185.
▲
by
sb8244
5y ago
For sure, I get that. It seems like that implementation (HTML/CSS) is separate from the design here, which is totally cool. The designs are open-source and openly licensed, but the implementation is not. That seems fair given their bus
186.
▲
by
sb8244
5y ago
I'm a little confused by this comment. The assets are downloadable, open source in that you have access to the raw design asset, and are usable without attribution or payment. What about this is not open?
187.
▲
by
sb8244
5y ago
I'm just about to watch this, very excited to see it play out. I'm listening to the very start of the race right now and it's very funny how things work out: "[The smartest racer will win, not just the strongest. Well wh
188.
▲
by
sb8244
5y ago
IMO, the operators of the AI are part of the production execution of that AI. There were not proper constraints in place to prevent this from happening, and it wasn't fixed after the first time(s) that it occurred. Sure you can argue t
189.
▲
by
sb8244
5y ago
Yea, you're right. I am reading the advocacy as "if you need real-time, then support long-polling." I see the value in this, but I actually disagree with the article in terms of that being the best solution. Long-polling is s
190.
▲
by
sb8244
5y ago
What about supporting fast lookup of the event endpoint, so it can be queried more frequently? I think that a combo of webhooks / events is nice, but "what scope do we cut?" is an important question. Unfortunately, it feels l
191.
▲
by
sb8244
5y ago
oof, I remember trying some runs in the sand before and had to stop much sooner than I would've liked. It really worked my calves in a way that I was not used to.
192.
▲
by
sb8244
5y ago
I suspect you're exactly right. I actually wish he would've said why the sandals specifically helped him because my immediate reaction was also, "what?" Here's the article about it that has a picture of his sandal s
193.
▲
by
sb8244
5y ago
It's certainly easier on the joints, although you're right about injuries. Knee pain regularly takes out professionals. Really important to know when to stop pushing. Lachlan did a full 10-12 hour day in sandals because he was hav
194.
▲
by
sb8244
5y ago
I'm the author of Real-Time Phoenix. I appreciate the commenter's kind words. If you ever need any help with content in the book, or a sounding board for Phoenix questions, feel free to DM me on the forums. I appreciate your point
195.
▲
by
sb8244
5y ago
I resigned from my company of 7 years back in April. I gave up life-changing amounts of money in order to leave. I got super burnt out over the last year and there was not really another option imo. I had been working on my own company on t
196.
▲
by
sb8244
5y ago
> That said, I think this advice is particularly useful for people building libraries more so then people working on applications This is a good point that I hadn't really thought about previously. I agree with your thoughts much mo
197.
▲
by
sb8244
5y ago
The thread is literally "Are you satisfied with Elixir?" A big piece of that is me having brought it to a SaaS company and from 0 usage to 50% service coverage. So yea, I am curious what they'll do in 2 years—that was my poin
198.
▲
by
sb8244
5y ago
Sorry, have you worked with the former employer I'm mentioning? I'm talking about a specific use case that has specific needs and challenges. Blanket comments like yours aren't really helpful or necessary.
199.
▲
by
sb8244
5y ago
I'm very bullish on Elixir as a language, but I temper that with the reality that I don't think it will become a mainstream language (in the next few years, at least). I picked up Elixir probably 4-5 years ago when a co-worker kep
200.
▲
by
sb8244
6y ago
Ya I don't know how that will work out exactly. Changes so far haven't been bad for me but no experience with maintenance over time. I will say that maintenance of hand rolled Sass has not been great overtime. It's really har
201.
▲
by
sb8244
6y ago
Not really any advice here. I am using it for my product and it has been basically changing up the design as needed. It's pretty common for me to make use of grid-cols-1 and then something like md:grid-cols-2 or 3 to keep it single col
202.
▲
by
sb8244
6y ago
Bootstrap 3, Sass, styled-components. I am sure there's more but that's the last few years of stuff Before Tailwind with PostCSS, I'd probably hand roll some Sass-powered UI, or find a template to base it off of.
203.
▲
by
sb8244
6y ago
The big advantage of tailwind for me is that it solves responsive design better than any system I've used before. I'm not amazing at frontend styling (I get by), but I feel like a superhero with tailwind css and UI (worth the mone
204.
▲
by
sb8244
6y ago
I don't want to read their content, but why should I (or someone else) get to make the decision of what others choose to read? I see lots of stuff shared on Facebook that I just can't believe people are into, but they are really i
205.
▲
by
sb8244
6y ago
Thanks for this. It seems obvious reading it but I haven't thought about it this way before. I'm definitely going to explore these concepts!
206.
▲
by
sb8244
6y ago
I agree. I am going to reflect on this and see if there's a way to support dump files long term in our app. We sorta support it today but it's ad hoc implementation since an export can range from a few hundred of a thing to tens o
207.
▲
by
sb8244
6y ago
> If they wanted to make it easy to get all the results Speaking from experience...we want to make it easy but also want to keep it performant. Getting the data all in one go is generally not performant and is easy to abuse as an API con
208.
▲
by
sb8244
6y ago
We have explicit cursors and classic pagination in our public facing API. Classic paging is such a thorn in our side, but almost everyone uses it for their v1 unless they ask us for guidance first. We have guides about why pagination is bad
209.
▲
by
sb8244
6y ago
Yes there is a lot of stuff different here. I don't want to take that away. Just pointing out that websocket only is not accurate.
210.
▲
by
sb8244
6y ago
It uses long polling over http. To be clear it's not restful http, but it's not websockets. I believe that Chris doesn't believe it's important for most people so there are no directions right now. Could be wrong there,
More ›