Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
valand
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
Dark Soil by Pietro Ferrantelli
(pietro-ferrantelli.itch.io)
1 points
by
valand
7y ago
|
0 comments
302.
▲
Ask HN: How to Choose Problem?
4 points
by
valand
7y ago
|
5 comments
303.
▲
36 Days of Type
(36days.reflektor.digital)
55 points
by
valand
7y ago
|
10 comments
304.
▲
Speech Generation in a Procedurally Generated World – Mark R Johnson
(youtu.be)
1 points
by
valand
7y ago
|
0 comments
305.
▲
Show HN: Fork and lock TypeScript / JavaScript library
(github.com)
2 points
by
valand
7y ago
|
0 comments
306.
▲
by
valand
7y ago
If I were you I would work it from the inside You should first treat those bad UXs as childplays: - Some of them might be working back then - Some of them were patched so to accomplish other thing but accidentally render them unusable - Som
307.
▲
by
valand
7y ago
Outer space exploration
308.
▲
by
valand
7y ago
These guys might have wasm related work. https://www.linkedin.com/company/wasmerio
309.
▲
Mark R Johnson – Speech Generation in a Procedurally Generated World
(youtu.be)
2 points
by
valand
7y ago
|
0 comments
310.
▲
by
valand
7y ago
Once, I found myself coding in a chat application using mobile phone's onscreen keyboard while attending my mom's friend's daughter's wedding party because of some emergency. Brick + pencil is the perfect metaphor for an
311.
▲
by
valand
7y ago
Must be happening for a reason: - Type equivalence is an edge case not covered yet - Type equivalence calculation is too expensive so that compilation time is preferred than type equivalence completeness If you would, please post it in issu
312.
▲
by
valand
7y ago
Both in-process, inter-process, and inter-machine. The event sourcing technique really helps decouple components, reduce the need for higher order state. I work with TypeScript on daily basis and I'm in the middle of building this libr
313.
▲
by
valand
7y ago
Is C# nowadays friendly enough for type driven development? Using TypeScript daily, I have a great time with type driven development. (C# and TS was created by the same guy) I was never comfortable with Java community approach of automating
314.
▲
by
valand
7y ago
Event sourcing is already widely used as app to app communication. But few realize that it is plausible to take that paradigm and use it for module to module communication in-app. That line serves as reminder to utilize that, not to exclude
315.
▲
by
valand
7y ago
Static typings + type inference Parse, don't validate https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-va... All libs/products should be pure functions, with input output documented, m
316.
▲
by
valand
7y ago
Thanks for the article It sparked useful discussion around the world
317.
▲
by
valand
7y ago
Ah I misread the parent comment. I thought it was more like "I wish typescript has this anti-typo functionality" You're right that it's not independent from TS.
318.
▲
by
valand
7y ago
Decent editor does that now. I'm using atom on daily basis and it's helping me with that. VScode and intellij does the same
319.
▲
by
valand
7y ago
1st it's easier to identify which contract is inaccurate, or even whether the contract is inaccurate or not in the first place 2nd it's more convenient for both the end-user and the developers that errors are handled this way
320.
▲
by
valand
7y ago
Limitation in TypeScript. Even in TS 3.6.x you can't do ``` if (result.error) { ... } ``` on a variable that possibly returns { value: T } It'll complain that result may possibly have no attribute error
321.
▲
by
valand
7y ago
TS compiled can still be faulty if the app is injected with data of different type Runtime type checks is the lost link between static checks at compile time and arbitrary i/o data type in compiled js code. You define a type in a simil
322.
▲
by
valand
7y ago
friendly tips: runtime type checks are available https://github.com/gcanti/io-ts https://github.com/pelotom/runtypes
323.
▲
by
valand
7y ago
I would upvote you twice if I can for that compiler is a test thing
324.
▲
by
valand
7y ago
friendly tips: runtime type checks are available https://github.com/gcanti/io-ts https://github.com/pelotom/runtypes
325.
▲
by
valand
7y ago
Darn, sorry for the bad format. Typing this from phone. I guess you gotta copy that to your editor and apply some formatter.
326.
▲
by
valand
7y ago
I would have gladly shown it to you, but almost all my code is proprietary Here's a small example: ``` function fetchCurrentWeather(){ return fetch(...) .catch(() => ({ error: new NetworkError(), value: null}) .then(res =>
327.
▲
by
valand
7y ago
Friendly tips: you can replace any with unknown. Other friendly tips: runtime type checks are available https://github.com/gcanti/io-ts https://github.com/pelotom/runtypes
328.
▲
by
valand
7y ago
Guaranteed almost 100% type soundness!!! Non TypeScript user will hate this. Config it to maximum strictness! Add in runtime type checks Parse, don't validate https://lexi-lambda.github.io/blog/2019/11/05
329.
▲
by
valand
7y ago
Anyone who can pass an interview in any company requiring engineers really. One of the reason there is level.fyi. Certifications help up to a certain point. Word of mouth is still a thing for us. Linkedin recommendation, even though it'
330.
▲
by
valand
7y ago
Yes, but it's not only because of being more social and open-minded. Sometimes it's the ultra-introvert-ultimate-problem-solver, or someone who is involuntarily being depended on by everyone by being caring all the time. Ultimatel
More ›