Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jreese
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
jreese
5y ago
Getting an H1B worker visa requires the hiring company to advertise the open position and assert that no other candidate met the required qualifications.
32.
▲
by
jreese
5y ago
The amount of ephemeral content (stories, expiring content) being created/shared has a larger impact on capacity and provisioning than you might expect.
33.
▲
by
jreese
5y ago
There's no meaningful benefit to dedicating any amount of DC equipment just to stale content. Those are spindles (and networks) that could be taking meaningful hot reads and writes, and colocating stale and hot data is generally a bett
34.
▲
by
jreese
5y ago
Basically boiled down to: 1) build a plan and make meaningful progress on a high impact, but stalled, project 2) communicate about progress and/or roadblocks to the team, and ask for help where needed to get past said roadblocks 3) be
35.
▲
by
jreese
5y ago
The cover sheet has the words "Performance Improvement Plan", with key goals to achieve in a 30 day period, with the final page to be signed by me and my manager. https://cdn.n7.gg/pip/pip-1.png https:/
36.
▲
by
jreese
5y ago
PIPs are not exclusively foregone conclusion/CYA before firing. I've personally been on a PIP while in the "red zone" before an expected promotion, and came out the other side with an "exceeds" rating and said
37.
▲
by
jreese
5y ago
Many FB datacenters use evaporative cooling systems rather than traditional A/C, basically spraying water into the incoming air supply to cool it below outdoor ambient temperatures. The hotter it is outside, the more water is needed to
38.
▲
by
jreese
5y ago
- limited visibility due to haze or precipitation - everything is some shade of white/grey/brown - snow is incredibly reflective - winter is cold; sensors are almost certainly affected, dirty, or covered - pedestrians are bundled
39.
▲
by
jreese
5y ago
Car sales 101: don't talk price until after you show them why they want it.
40.
▲
by
jreese
5y ago
Yes, and there are a number of past stunts that include forking the Linux repo, pushing fake/misleading commits, and then showing how Github lets you see those commits in a context that implies they are part of the upstream Linux repo.
41.
▲
by
jreese
5y ago
This post already got marked as flagged/dead ten minutes ago. I'm glad HN has the option to "vouch" for posts.
42.
▲
by
jreese
5y ago
Not that I'm aware of (I work at FB, but not related to accounts).
43.
▲
by
jreese
5y ago
> a mobile app that sends you loud ads at 3AM. Oh, I hope there's a good story for this
44.
▲
by
jreese
5y ago
A 20 mile radius of any airport likely covers a significant portion (60-70%) of all urban/suburban population. They might as well just give up on that spectrum at that point.
45.
▲
by
jreese
5y ago
But now your password manager (notebook) is vulnerable to fire and water damage, with no backup or recovery options.
46.
▲
by
jreese
5y ago
I suspect you are fighting the tide of common practice in the Python community. In your example, switching from `import foo` to `from foo import bar` is changing the entire nature of the import. Sorting module- and from-imports separately a
47.
▲
by
jreese
5y ago
Actually, modern versions of black will retain the fluent style you prefer, though it will collapse up to the first method call on the first line within the parens, so you end up with something like: foo = ( spark.read.parquet
48.
▲
by
jreese
5y ago
This is something µsort actually gets right: $ usort diff foo.py --- a/foo.py +++ b/foo.py @@ -1,2 +1 @@ -from x import a, b, d, e -from x import c as C +from x import a, b, c as C, d, e https:&#x
49.
▲
by
jreese
5y ago
Give µsort a try instead; it's focused on providing more safety when applying sorting to large codebases, and is designed to pair well with black out of the box: https://usort.readthedocs.io https://ufmt.omnilib.
50.
▲
by
jreese
5y ago
> if they keep their promise of keeping it free and open There is no "promise" other than "initially free", which almost certainly guarantees it will soon be hosted on NYT and require their subscription to play.
51.
▲
by
jreese
5y ago
That's something we're aware of, and something we've considered, but also potentially dangerous from a safety standpoint, due to Python's dynamic nature, and how much moving imports can affect runtime semantics. Any impl
52.
▲
by
jreese
5y ago
We've written a number of words on "Why µsort", including a comparison to isort: https://usort.readthedocs.io/en/stable/why.html The biggest reason is µsort's detection of sortable "blocks
53.
▲
by
jreese
5y ago
Absolutely! We're hoping that the vast majority of modules are good citizens, but we also know that the reality not perfect. That's why µsort allows you to configure a list of modules with known import-time side effects, and µsort
54.
▲
by
jreese
5y ago
Shameless self-promotion, as a former coworker of Łukasz, Black's creator: Another coworker and I have created an import sorter that fits well alongside Black, called µsort. It is designed from the ground up to be a safe, stable import
55.
▲
by
jreese
5y ago
Meta has a number of publicly-announced datacenter locations that were built and operated specifically by/for Meta. It's probably safe to assume it's located in one or more of those datacenters.
56.
▲
by
jreese
5y ago
I'm not fond of the example given in the post, but I've very happily used __init_subclass__ in a few places where I previously would have needed a decorator. Eg, for "plugin-like" things where I would have otherwise need
57.
▲
by
jreese
5y ago
This was a no-brainer purchase, if only for the low battery notifications alone! I can't tell you how many times I've gone to pick up my iPad or work phone, only to find the battery at <10%, or completely drained. I very much l
58.
▲
by
jreese
5y ago
Do you expect other people to add your project as a dependency of their projects, and call into your API? Then it's a library. If the only expected users of your API is your own project, it's an application. And yes, if you need t
59.
▲
by
jreese
5y ago
Ah, you're right. I thought Poetry had adopted PEP 621 already, but it looks like there's still a debate about if/how they want to do that. A bit ironic considering the author of Poetry was listed as an author on PEP 621, and
60.
▲
by
jreese
5y ago
As a Python infra person, I would refine that to: If you're building an application, use Poetry. If you're building a library, use Flit. Use PEP621 metadata in pyproject.toml regardless. Poetry is much more focused on managing dep
More ›