as opposed to human-generated code
as opposed to human-generated code
tldr
Scientists using macs connecting to servers and other machines running Linux.
Unknown share is high too; Linux usage on desktop in Antarctica could be as high as 15%.
valid question, idk why would people downvote it
broken websites on desktop are rare and not nearly enough to drive a browser change, but they usually fall into two categories:
websites that “break” on purpose for no good reason when they detect it’s not chromium. Either avoid the site or change the user agent.
websites that degrade some functionalities because they rely on newer features or on how things appear on chromium. They’re usually CSS breakages and do not affect browsing that much.
Support for manifest v2 greatly outweighs these potential issues imo.
top 5 best things I’ve done in the last year
mah man
man man
oh man
bit of a useless twitter post
alphaxiv https://www.alphaxiv.org/
they have moved, but I wouldn’t call a 40" TV large for almost 10 years now.
so… people who take typing lessons and actively try to improve it have better typing skills than the ones who don’t. Shocking.
Because you’re assuming foo
won’t be renamed when it becomes a function. A function should start with a verb, say get_foo()
, because just foo()
tells me nothing about what the function does (or what to expect as output). If you make it a property, get_
is implicit.
So if the age is computed from the year of birth for example, it’s really e.g. thing.age
or thing.get_age()
- both of which are fine, but I’d pick the property version.
that we agree on: properties should be cheap to compute.
Making a simple ternary condition as a function instead of property is a wasted opportunity to make its usage cleaner.
Properties make semantic sense. Functions do something, while properties are something. IMO if you want to name something lazily evaluated using a noun, it should be a property.
The misleading behavior is about what you expect to execute in the source code you’re looking at vs what’s actually executed.
What you describe is a logic ambiguity that can happen in any program / language.
Totally agree. The hardcoded isAdult: true
repeated in all #2 examples seems like a bug waiting to happen; that should be a property dynamically computed from the age during access time, not a static thing.
deleted by creator
That’s part of the problem. Different number of whitespaces indicate different nesting levels and the YAML spec does not enforce them. These two horrible YAMLs are valid and are not equivalent:
a:
b:
- c
- d
- e
f:
"ghi"
a:
b:
- c
- d
- e
f:
"ghi"
You can’t say python’s whitespace usage is as bad as yaml’s. YAML mixes 2 and 4 spaces all the time. Python scripts don’t run if you write this kind of crap.
And whitespaces is really just the tip of the iceberg of YAML problems…
yes, from my other comment
the only mistake of Python when it comes to whitespaces was allowing hard tabs
but that’s easily fixed with an editor setting - on the other hand, unbalancing braces (and not realizing it) is too easy all the time.
“oh no, anyway…”
GTA online was fun from 2015 until a couple years later before flying bikes and sky races. R* kept pushing updates that appeal to teenagers and absolutely ruined it.