Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
valand
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
241.
▲
by
valand
6y ago
Author here. Did this too. I found some quirks (rather irrelevant) while compiling using TypeScript 3.6-ish. ``` const { value, error } = result; if (error) return doSomething(); if (value) return doSomethingElse(); ``` ^ You can't do
242.
▲
by
valand
6y ago
Author here. I used io-ts when the documentation is still on its root README.md. Apparently it has been moved to https://github.com/gcanti/io-ts/blob/master/index.md
243.
▲
by
valand
6y ago
Author here. Thanks for the correction. You caught me red-handed for not testing these codes in playground.
244.
▲
From Rust to TypeScript
(valand.dev)
213 points
by
valand
6y ago
|
153 comments
245.
▲
by
valand
6y ago
Name is like a pointer to an information for people to access. I think when people name things, unless they are very narcistic, should be having that sole purpose in mind. This comment by xamuel relatably describes what people usually do wh
246.
▲
John Carmack mentioned Rust as modern PL choice
(twitter.com)
4 points
by
valand
6y ago
|
2 comments
247.
▲
Beyond Black Hole: A Shower Thought
(valand.dev)
1 points
by
valand
6y ago
|
0 comments
248.
▲
by
valand
6y ago
Attention is power, even in the context of software development. Social media is where attention is abundant if you know how to look for it. Devs should get better at communicating and self-marketing. It does not need to be an over the top
249.
▲
by
valand
6y ago
Simplified and abstracted, Great programmers think things through. They don't just figure out how to make things work. They think about the tools itself (in this case their tools are the programming language) and see whether certain pa
250.
▲
by
valand
6y ago
Awesome work! I love how it feels so easy to make a system (I'm actually digging your crates wondering how the hell did you achieve that Trait Extension). I just hope that the `Turtles All The Way Down` philosophy won't hinder gam
251.
▲
by
valand
6y ago
Commenters here gave great recommendations. I'll try mentioning the unmentioned. - Gifted (2017): Drama about a single man raising a genius girl. Some small bits of the film explore about the responsibility of extraordinary people vs t
252.
▲
by
valand
6y ago
Lenovo Legion 5 Great performance, sturdy, sleek design, great air circulation. 144hz refresh rate screen. I'm using its predecessor Y540, intel based, GTX 1660 Ti. Great for gaming and work. The only downside is the speaker's not
253.
▲
by
valand
6y ago
I understand the sentiment. Redux is quite misleading using the term events for command/action, which drives coder to use Redux's action as in-app events, tightly coupling Redux's synchronous store with asynchronous nature of
254.
▲
by
valand
6y ago
Unstated ( https://github.com/jamiebuilds/unstated )
255.
▲
by
valand
6y ago
We should remember that conflict does not equal chaos. A good leader should not be afraid of conflict and keep open to conflicting ideas to his/her own while still being assertive about his/her ideas. To introduce conflict, a lead
256.
▲
by
valand
6y ago
> OR what if there were downvotes as well as up? Downvotes can be abused for undermining people's thought you disagree on. Instead, provide a way to "counter-argument", which if upvoted, will count as downvote to the paren
257.
▲
by
valand
6y ago
HN needs to repair its flag mechanism
258.
▲
by
valand
6y ago
Up. Also, this kind of people tends to be loyal to your product success more than you. This will seem like they are fighting against you, but train your eyes to see the difference. Also pair this kind of people with similar one. The goal is
259.
▲
by
valand
6y ago
Your comment is not helpful and useful. There is no proof that you are doing someone's work by partaking in take-home coding assignment. These postings are targeted to the rest of HN community who think that hiring process must be fair
260.
▲
by
valand
6y ago
I found out about primitives/building blocks after 2 years of dealing with foreign discipline, but I have problem sharing it with people because I just don't the credential. Is there a well-known book/resource that I can shar
261.
▲
by
valand
6y ago
At first glance this looks like a joke However it holds certain degrees of reality behind the humors It is one good way to bring up an unquantifiable yet risky problem to people's awareness
262.
▲
by
valand
6y ago
I'm a NodeJS fanboy and I partially agree with this. Feel free to use NodeJS if it allows you iterate faster and your app doesn't need much load. If you're planning to serve a lot of ConcurrentUser with high RequestPerSecond
263.
▲
by
valand
6y ago
> A back-end API looks the same to its consumer regardless of whether it’s written in PHP or Node or Haskrustapl. It looks looks the same to its consumer, but it will feel different when under pressure. I've experienced React SSR se
264.
▲
by
valand
6y ago
^ I see that you're not joking with this comment :D. Jokes aside, I'm adding facts TypeScript is statically typed because of the type annotations and how the compiler checks the type compatibility between objects. You may can cons
265.
▲
by
valand
6y ago
> those who can write threadsafe code and those who can't This, abstracted, those who can write distributed software and those who can't yet. Dealing with shared resources is similar to dealing with shared memory if you zoom ou
266.
▲
by
valand
6y ago
Nah, this is just because tutorials for these new frameworks does not include network handling. It's far more easier to put todo list app or counter app to your blogs. Really, we need people to come together to build a proper knowledge
267.
▲
by
valand
6y ago
It's sad to hear this instead of people taking action against actual slavery. This is onomatophobia, fear of hearing names. Github is catering to people trying to ignore the problem (slavery) that still exists because of inaction inste
268.
▲
by
valand
6y ago
Previous discussion: https://news.ycombinator.com/item?id=23500093
269.
▲
by
valand
6y ago
Previous discussion: https://news.ycombinator.com/item?id=23500093
270.
▲
by
valand
6y ago
Dammit I got called to the head default room again...
More ›