834 karma · joined June 26, 2013
With React, "plain JS" works just like I expect it to. If I have an event handler that does `x = foo` then I don't expect my component to re-render. Why should it? I'm just changing the value of a local variable. If I want to re-render, there's no way to express that in plain JS, so I'll use React's API and write `setX(foo)` instead. Now it's clear that it's not just changing the value of a local variable, but using React's API to do something else.
With Svelte, writing `x = foo` doesn't just change the value of a local variable. Maybe it's going to run a bunch of magic to update a piece of the DOM instead. Or maybe I need to prefix it with `$: ` which in plain JS is a label for a continue or break statement, but here doesn't mean that at all and means reactivity instead.
Oh, and to conditionally render an element, instead of writing idiomatic JS like `condition && <Element />`, I now have to write `{#if condition} <Element /> {/if}`.
WTF. What looks like plain JS is now magic, and what should look like plain JS such as conditional rendering and lists are now some contrived templating constructs.
And almost everyone here is telling me that I should find that simpler somehow.
It makes zero sense.
> monopoly
You lost me there. Are you using a different definition of monopoly than the usual one?
If you're building on top of GCP services, there are official JS/TS libs but no official Rust libs.
If you're doing data science then the ecosystem of Python libraries (another interpreted language) will get you up and running much faster than Rust.
So yes, there are plenty of cases where using an interpreted language will be much more productive than limiting yourself to Rust.
According to the definition, if 1/(randFloat()) = O(1) then there must be a constant M that satisfies 1/(randFloat()) <= M * 1. But according to your own words there's no upper limit to 1/(randFloat()), therefore there's no such constant M, therefore it's not O(1).
(In practice on most systems there would be an upper limit since a float can't be infinitely close to zero, but let's act as if that wasn't the case.)
- PostgreSQL
- PostGraphile
- Restrict prod to only allow persisted queries
- Generate TS types using apollo-cli or graphql-code-generator4 months a year above 90F, 7 months above 80F. I'm glad it works for you, but that's some adjusting indeed; people don't set their thermostats to 80F or 90F for a reason, and it's not just cost.
Regarding Bay Area fogginess, did you mean SF / Pacific coast fogginess? Most of the Bay Area seems to be fog-free. I don't remember the last time I saw fog in San Mateo.
Then work for a company with fixed PTO. There are plenty of these; the vast majority, actually. Why are you so hell-bent on denying that choice to people who wish otherwise? Even worse, you're telling these people that they are wrong and that unlimited PTO cannot possibly be a good fit for them. How can you expect people not to disagree when they have first-hand experience of the contrary?
You can also take the fixed PTO allocated by the company, and then elect to not do any useful work the rest of the time either. What's your solution to that? And why can't this solution work in an unlimited PTO environment?
Note: I don't think that unlimited PTO is a good fit for all industries (it certainly isn't), but your position seems to be that unlimited PTO is never a good fit, which I disagree with.
I'd pick CLJS over JS but not over TS.
On the backend, I'd pick Clojure over both JS and TS in a heartbeat, though.
For example, maybe I want to keep an eye on several terminal commands at the same time. With i3 I just press the terminal shortcut n times and I have n new terminal windows sharing the space. If one of the commands fails with a long error message I press another shortcut and the terminal windows are now tabbed and full height, with the IDE still visible on the side.
Or maybe I want a small browser window or Slack window in a corner to keep an eye on a meeting or discussion while I work.
Whatever uncommon layout best serves my needs right now, i3 can get it done in seconds.
You never really need a tiling WM, though. i3 just solves my problems really well, so well in fact that I actively enjoy using it. Some people feel the same way about vim, and you never really need vim either.
If you only use the terminal, you don't need a tiling WM because tmux and others offer similar functionality out of the box.
Tiling WMs are useful in the opposite scenario, when you use many different apps and need a unified way to manage them all.
People who say that morality can't exist without religion are scary. If they suddenly lose their faith, are they going to start hurting others? What if their religion has blind spots that doesn't tell them how to behave in a specific situation, or tells them that groups like gays and non-believers are fair game?
Last time we went back to France, we took the kid to the playground and adults were smoking a few meters away from the slides. After double-checking that there was indeed a sign indicating that smoking was forbidden, I told them to step and they did, but apparently nobody else cared.
I haven't see that happen yet in the SF Bay. Obviously though, we get wildfire smoke for several months, and right after that people start burning wood in their open fireplaces for winter, so it's not all rosy either.
I don't get this knee-jerk reaction where, if you discuss money, then it immediately must be the only thing you care about. Why can't it just be one element of the equation, along with other usual stuff like weather, food, etc?
It's much quieter under load as well.
There are many more people of Greek descent than of Turkish descent in the USA. It's very possible that the person you replied to is simply not familiar enough with people of Turkish descent to express surprise at your claim.
Take what you read with a grain of salt. I'm certainly very skeptical of the implied claim that Germans wouldn't consider Greeks as white.
Note that being considered white doesn't preclude Greeks from being discriminated against, just like some people discriminate against e.g. white Poles.