Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bazoom42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
331.
▲
by
bazoom42
2y ago
How is async-await monads? Isn’t it just syntax sugar over callbacks?
332.
▲
by
bazoom42
2y ago
Sorry for being reductionist. I will try to do better. But you literaly say you are happy with the API changes from Vuex to Pinia, so it is unclear to me what you dislike apart from the name change? I don’t work on Vue itself and cant speak
333.
▲
by
bazoom42
2y ago
So you are just angry they changed the name?
334.
▲
by
bazoom42
2y ago
There is obviously some self-selection going on since people disagreeing with the DX direction will migrate away. But do you have any basis for beliving the majority disagree with the direction? I vastly prefer Vue 3 setup, but I have no id
335.
▲
by
bazoom42
2y ago
Pinia have a far better DX than Vuex though. Vuex had a lot of boilerplate and “stringly-typed” actions. Of course the migration in itself have a cost. Vite is so great it is getting adopted by other frameworks. (It is not tightly coupled t
336.
▲
by
bazoom42
2y ago
> I think you're assuming that the way people interact with something is independent of its context. I’m unable to comprehend how you got to that assumption. But to be clear, I undestand you shouldn’t bring art or musical instrument
337.
▲
by
bazoom42
2y ago
You are assuming the art-less workplace is the natural default. I’m from a culture where having art in the workplace and in public spaces is common and generally appreciated.
338.
▲
by
bazoom42
2y ago
Vue is all about developer experience. It is a framework! But you can’t make everyone happy which is why there are multiple frameworks. If React makes you happy, good for you. Vue made different trade-offs in order to achieve a different DX
339.
▲
by
bazoom42
2y ago
> the Vue team don’t really care about developer experience This is how you stir up drama instead of constructive discussions. Clearly the team do care quite a lot about developer experience, but they might have different ideals and goal
340.
▲
by
bazoom42
2y ago
The question is - is it you or Michelangelo who is the problem? Some people are offendend by women having uncovered hair. Being offended does not mean everyone else have to accomodate you.
341.
▲
by
bazoom42
2y ago
> you're supposing that a woman in swimwear at a beach is giving implied consent for her image to be used in a radically different context. Are you suggeting he used the image of his wife without her consent? That would indeed be in
342.
▲
by
bazoom42
2y ago
Probably your cultural background. The attitudes towards nakedness are very different across cultures. Your attitude seem to be that if you sexualize the back of a women it is the woman who is the problem and should be covered up.
343.
▲
by
bazoom42
2y ago
Lucretius wrote a natural history where the world and life is created through natural processes (like natural selection) rather than throug a deliberate act of design by gods. So the idea is older than Jesus and does not require dinosaur bo
344.
▲
by
bazoom42
2y ago
Greek thinkers had many different interpretations of the mythology. For example Euhemerus believed gods and myths originated from normal humans and historical events which through retellings and embellishments over time became more and more
345.
▲
by
bazoom42
2y ago
My point is just that “goth” is heavily inspired by horror movies. Saying the genre was “largely pushed aside” is absurd. Everyone knows how Frankensteins monster looks. How many cultural expression have this kind of impact? If you are rely
346.
▲
by
bazoom42
2y ago
> This is pretty standard history. Modernism dominated most art forms at the time. Not sure what “standard history” you are relying on, but gothic horror was a major influence on movies (and other popular media like comics). Modernism
347.
▲
by
bazoom42
2y ago
Doesn’t really connect the dots. For example suggest the Gothic disappers beween Victorianism and The Doors, completely missing the horror movies which was a major influence on the aesthetic.
348.
▲
by
bazoom42
2y ago
What is “substance”? Since Walpole built a fake gothic caste, it have always been about appearance.
349.
▲
by
bazoom42
2y ago
Regex is a high-level domain-specific language. So in this analogy, it is the tedious substring-comparisons in imperative code which is the equivalent to low-level assembler. Using the right level of abstraction for the problem at hand is k
350.
▲
by
bazoom42
2y ago
Yeah use regex for its purpose (matching character patterns) and don’t use it for things it can’t do. That is just common sense and applies to any tool. But the argument about the email address validation confuses the tool with the problem
351.
▲
by
bazoom42
2y ago
> I'm not intimidated by RegEx's but I'm general not a fan, preferring custom parsers for many things that are hard or impossible with a RegEx Good call not to use Regex for things that are impossible to do in Regex! But s
352.
▲
by
bazoom42
2y ago
You can add comments to regexes, explaining each part. I believe it is called verbose mode. > And as you mentioned (especially in the case of email validation), they're usually incorrect. My point was that the email address might st
353.
▲
by
bazoom42
2y ago
Now rewrite the same to a sequence of string checks and show me the code. For a fair comparison you should remove all comments and whitespace as you have done with the above regex. The problem with the above is not the regex per se, the pro
354.
▲
by
bazoom42
2y ago
How is a chain of string checks less brittle and easier to understand? If they are checking for the same pattern, the intrinsic complexity will be the same, the string checks will just add some additional complexity and risk of bugs.
355.
▲
by
bazoom42
2y ago
Like an enum, a union have a closed set of elements so it can be statically checked all cases are handled. With an interface, someone could add a new implementation, causing codee to fail at runtime.
356.
▲
by
bazoom42
2y ago
Probably bescuse OOP was a great fit for desktop GUI’s. This drove OOP into the mainstream. ML-style languages never had a similar killer application.
357.
▲
by
bazoom42
2y ago
JavaScript almost certainly got map, filter, reduce, some, every, etc from Lisp. Scheme is specifically mentioned as an inspiration in the spec.
358.
▲
by
bazoom42
2y ago
This could very well be the case. My observation is based on online writings. I apologize to all pragmatic Haskell fans for the unfair generalization!
359.
▲
by
bazoom42
2y ago
Much real-world software development is pretty complex, but experienced developers understands complexity is the beast to be tamed, not a goal to be achieved. Haskell fans seem to delight in making simple problems complex rather than comple
360.
▲
by
bazoom42
2y ago
Maybe because I’m used to it from C# and Typescript, but ? and ! seem a perfectly readable to me. Obviously ‘nullable’ is more understandble the very first time you encounter it in code, but this is not what you should optimize for in a p
More ›