Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bfrydl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
bfrydl
8y ago
No TypeScript? Anywhere there is JS there is also TS, since it compiles to JS.
62.
▲
by
bfrydl
8y ago
The author doesn't really suggest that Rust was chosen for any particular reason. A few benefits are mentioned but they aren't really specific to emulators.
63.
▲
by
bfrydl
8y ago
Most C# developers who followed this path probably worked on enterprise-level custom software which is now web-based or they worked on ASP.NET applications which have been replaced by TS/JS web applications.
64.
▲
by
bfrydl
8y ago
There's some stronger similarities between Ruby and Rust than some might expect. Ruby is obviously a lot less strict, but both seem obsessed with providing every method that could possibly save you time. Ruby's Enumerators and Rus
65.
▲
by
bfrydl
8y ago
HTML is declarative, but it's also a string. It is faster to manipulate the DOM to make the changes you want than to generate an HTML string and ask the browser to parse it. A virtual DOM allows you to use declarative _code_ instead of
66.
▲
by
bfrydl
8y ago
I believe this is also true for development tooling, not just actual code executing in the user's browser. There's no real reason why tools like webpack, eslint, and so on need to be written in JS for most use cases. Members of th
67.
▲
by
bfrydl
8y ago
> However, a major drawback of this method is the lack of descriptiveness. When you see the dispatch function in your props, you don’t know the actions that you can invoke and you need to make reverse engineering. It would be avoided if
68.
▲
by
bfrydl
8y ago
For what it's worth, while I don't really disagree, Erlang's pattern matching is very powerful and covers a lot of the same ground as static typing. Erlang is not in my opinion a “dynamic language gets us going fast” language
69.
▲
by
bfrydl
8y ago
That was a very defensive response. Look it's excellent for you that many people want to use your work and think it looks awesome. I am just not one of those people, for reasons developed over years of using Redux professionally. It se
70.
▲
by
bfrydl
8y ago
Sorry, I know you're heavily involved in this ecosystem, I just don't really see the need for any of this. create-react-app is mostly about webpack, isn't it? Redux works fine on its own.
71.
▲
by
bfrydl
8y ago
I do think we need to agree to disagree. That being said according to the README for the Redux Starter Kit these are listed as problems it wants to solve: • "Configuring a Redux store is too complicated" • "I have to add a lo
72.
▲
by
bfrydl
8y ago
Yes, I'm familiar with the arguments against it, but my experience using Redux has led me to strongly disagree with them. I don't think the proposed benefits have much value in actual practice, and limiting the use of dispatch to
73.
▲
by
bfrydl
8y ago
The new hooks are a great way to use redux, not a reason not to use it. A “useStore” hook is much easier to understand than react-redux's connect.
74.
▲
by
bfrydl
8y ago
I don't think redux-thunk is the simplest solution. There's really no need to add anything to redux to support asynchronous code. You can just pass the dispatch function around. For example: async function getArticle(id, dispa
75.
▲
by
bfrydl
8y ago
I used to feel exactly the same way about Ruby. Since then I have grown to value strict compile-time checks more so I don't really use it, but I still miss it. I wonder though if you have evaluated Crystal?
76.
▲
by
bfrydl
8y ago
In my experience as a long-term Firefox user, developers already don't care about Firefox. It's amazing how many websites I visit that break or look awful until I switch to Chromium.
77.
▲
by
bfrydl
8y ago
One thing to note about create-react-app is that nearly all, in fact almost literally all, of those dependencies are development tools. They are also a pretty “normal” configuration of tools, based on standards rather than some custom frame
78.
▲
by
bfrydl
8y ago
The only reason I know of to bother supporting NoScript users is so that when you announce your site on Hacker News you don't have to read that one angry privacy guy talking about how bloated your site is because it requires 200 KB of
79.
▲
by
bfrydl
8y ago
It's ten reads, but each of the ten reads is typically just an index into a big sequential array. Also, when you're reading components, you can run that system in parallel with any other systems that do not write to those componen
80.
▲
by
bfrydl
8y ago
They are, but if you start a new project and you want a permissive license you should probably choose Apache 2.0. It grants the same rights as an MIT or BSD license but also includes an explicit patent grant and a section that deals with th
81.
▲
by
bfrydl
8y ago
Forgive me if I'm missing something but this looks needlessly complex. Could you explain how this could be helpful, especially for developing React applications? The page doesn't really explain it besides insisting that this is cl
82.
▲
by
bfrydl
8y ago
The site is giving me a 429, but discussion Reddit seems to indicate this is misleading. DuckDuckGo has code that includes calls to `getBoundingClientRect()` which can be used, most likely with other metrics since it just tells you the size
83.
▲
by
bfrydl
8y ago
I think you should consider that some people need money more than a goofy clandestine comradery with other “information seekers” on the internet and also that bug bounties frequently exceed “paltry.”
84.
▲
by
bfrydl
8y ago
Your analogy has cause and effect reversed. The correct analogy is that if I know there is a reward for telling people their car doors are open, I will go around town specifically looking for open car doors. With no reward, I'm just go
85.
▲
by
bfrydl
8y ago
Is this not usually how it works? Other than Makefiles, every language with significant whitespace I can think of just treats “more than the previous line” as an indent.
86.
▲
by
bfrydl
8y ago
WASM always seems like the future until you find out how big the binary is relative to even a meaty JS app when it includes all the code needed to support things like GC or dynamic typing.
87.
▲
by
bfrydl
8y ago
> Be vocal! Use your influence! When I tell people to use Firefox they just laugh like it's a quirky personality trait that I use the underdog browser instead of the one everyone knows is best.
88.
▲
by
bfrydl
8y ago
It isn't about “memes” or “ignorant coders.” Please grow up. The way goroutines work isn't compatible with Rust's core language goal of zero-cost abstractions. In order for a goroutine to suspend and resume at arbitrary point
89.
▲
by
bfrydl
8y ago
Honestly man I don't need to play an anime visual novel to know I won't like it. I don't like visual novels and if it's anime it's probably about high schoolers.
90.
▲
by
bfrydl
8y ago
What? I've never been nagged for this. I forget the feature exists.
More ›