Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tasn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
211.
▲
by
tasn
3y ago
Apologies, I missed the "in", but my comment still applies to the sentence right after and the overall sentiment. The protests were against the government as a whole and many of their actions including their messianic ambitions wh
212.
▲
by
tasn
3y ago
They are not literally the government, they are a small part of the government (still troubling!). This was mainly because Ben Gvir promised security and being "tough on terror" and people bought into his propaganda and voted for
213.
▲
by
tasn
3y ago
I'm an Israeli. These people are not the mainstream, they are extreme religious fundamentalists. They are similar to the terrorist movements on Palestinian side and their actions are often referred to in the Israeli news as "Jewis
214.
▲
Using the Type System Effectively
(svix.com)
1 points
by
tasn
3y ago
|
0 comments
215.
▲
The State of Webhooks 2023 [pdf]
(svix.com)
3 points
by
tasn
3y ago
|
0 comments
216.
▲
Svix (YC W21) Is Hiring a Tech Lead (US Remote)
(svix.com)
1 points
by
tasn
3y ago
217.
▲
by
tasn
3y ago
I think most people would agree that types prevent a lot of bugs (and others posted research to support it in the thread), so the question is less about that and more about the subjective reasoning people have to decide the investment is no
218.
▲
by
tasn
3y ago
> Consider the article's birthdayGreeting example. Author is happy that static typing catcges the birthdayGreeting("John", "20") bug because "20" is not a number. But birthdayGreeting(" ", 123
219.
▲
by
tasn
3y ago
I think you make a good point about the ivory towers and the social pressure being a turnoff for adopting certain technologies. Though I also think this doesn't detract from their potential technical merits. As in, a technology can be
220.
▲
by
tasn
3y ago
Oh yeah, I agree, and I learned it the hard way. In many cases you want to keep the customer format rather than the canonical format. This is why I stopped using Postgres's JSONB for customer data, and exclusively use String/JSON
221.
▲
by
tasn
3y ago
Author here. One thing that we do at Svix that I alluded to in one paragraph but I should probably have elaborated on further: thanks to libraries like Serde and Pydantic, we actually follow deserialization is validation (is that a term?),
222.
▲
by
tasn
3y ago
I had no idea, thanks for letting me know. I'll update the post now. Java, I'm sorry for swearing at you all these years. :P
223.
▲
by
tasn
3y ago
Yeah, I just did, thanks!
224.
▲
by
tasn
3y ago
There's a section about catching everything at compile time rather than runtime which is very much about. I think there's a lot of value at knowing when things go bad at compile time, rather than runtime.
225.
▲
by
tasn
3y ago
Oh, apologies, I misread your comment. I thought you were saying that you won't engage in this discussion because of my strong stance on the topic. I'm a big fan of "Strong beliefs, weakly held".
226.
▲
by
tasn
3y ago
Author here. Please read the post, I actually said "Strong static typing" in the post itself (starting from the first paragraph), it just didn't look good in the title. :)
227.
▲
by
tasn
3y ago
Author here. I ended the post with: > I can see both side of the arguments on many topics, such as vim vs. emacs, tabs vs. spaces, and even much more controversial ones. Though in this case, the costs are so low compared to the benefits
228.
▲
Strong static typing, a hill I'm willing to die on
(svix.com)
394 points
by
tasn
3y ago
|
852 comments
229.
▲
Svix (YC W21) Is Hiring a Technical Lead (US Remote)
(svix.com)
1 points
by
tasn
3y ago
230.
▲
by
tasn
3y ago
Ordering is even more compelx than that! I previously wrote a post about it as it comes up a lot with Svix. https://www.svix.com/blog/guaranteeing-webhook-ordering/
231.
▲
by
tasn
3y ago
There are so many more failure scenarios! I wrote a post about common TLS errors recently: https://www.svix.com/blog/ssl-tls-incomplete-certificate-cha...
232.
▲
by
tasn
3y ago
I use Firefox on both Android and desktop. It's much better in many ways, and I love it. I do get compatibility issues sometimes, but I'm unsure whether it's because of all of the add-ons I use, or websites being buggy with F
233.
▲
by
tasn
3y ago
> Fully recognize that TypeScript offers some people some advantages, but to my eyes, the benefits are evident in this PR. The code not only reads much better, it's also freed of the type wrangling and gymnastics needed to please th
234.
▲
Common HTTP Implementations Quirks
(svix.com)
1 points
by
tasn
3y ago
|
0 comments
235.
▲
by
tasn
3y ago
It just started working for me again too, though it was definitely down, all the calls were timing out.
236.
▲
Tell HN: X (Twitter) Is Down
3 points
by
tasn
3y ago
|
2 comments
237.
▲
Incomplete TLS Certificate Chains and How to Fix Them
(svix.com)
4 points
by
tasn
3y ago
|
0 comments
238.
▲
by
tasn
3y ago
Ah, gotcha! We are actually going to try what the sibling comment recommended. https://news.ycombinator.com/item?id=37235165
239.
▲
by
tasn
3y ago
We have a similar structure in our code. How does snafu get filename and line number when adding context? Context usually added like this: `some_error.context("bloop")`, no? Which can't get the line info, that's why we u
240.
▲
by
tasn
3y ago
We opted for a more manual approach, we have a ctx!() macro[1] we use for wrapping errors we want to enrich that we then use like this[2]: ctx!(some_fallible_fund(foo))? I wodner if anyone is doing anything better? The nice thing about our
More ›