HackerTrans
TopNewTrendsCommentsPastAskShowJobs

properdine

no profile record

comments

properdine
·4 năm trước·discuss
Could the interpreter have a "restricted" mode and a "dynamic" mode, where restricted mode can be faster because it skips certain lookups? And then if your code _engages_ in a "dynamic" behavior, it then drops out of "restricted" mode? (this could also be in a class by class basis too).

Django and friends might always have to be in "dynamic" mode, but possibly you could allow for some complex logic to run quickly if you use subset of the language. (e.g., like RPython but with less overhead to set up)
properdine
·4 năm trước·discuss
if you do a `git clean -f`, untracked files get deleted. Ignoring files that should stick around helps ensure that command can be used nicely. I've never used `git clean -fdx`, not sure why you would use the `-x` flag at all.

(but agreed if you use `-fdx` that doesn't work)
properdine
·4 năm trước·discuss
You might want to use a different elephant logo... the branding implies that it is an official part of the project.

E.g. Postico uses an elephant but not the _same_ elephant - https://eggerapps.at/postico/
properdine
·4 năm trước·discuss
Doing an S3 object inventory can be a lifesaver here!
properdine
·4 năm trước·discuss
I agree with you that the second is less readable and less pythonic (feels more JS/Node-ish).
properdine
·5 năm trước·discuss
I conceptually like the idea of dropping coding screens, etc - but how do you objectively identify what you're looking for in a candidate without adding bias to the process?

I.e., at least with a coding question, you can set up objective criteria. If you ask someone about their work, it might be a good experience but you're also setting yourself up to bias towards people who talk/think like you.
properdine
·5 năm trước·discuss
> On the other hand x86 has a lot of old "stuff" still needing support and use cases are much less clear cut (wrt. thinks like how many PCI lanes need to be supported, how much RAM, etc.).

Good point overall - the performance of Rosetta 2 helped facilitate much of this and - at least from what I've read - does seem to be surprising to folks in the space. So that also helped them out.
properdine
·5 năm trước·discuss
Totally get what you mean. I'll pitch for either terraform or AWS CDK as good ways to make some of this plumbing less painful (they both have you describe the end state you want and then generate resources to get there).
properdine
·5 năm trước·discuss
I live in SF, it's normal to see someone run out of a Walgreens while an employee tells another employee not to chase the person down (because they don't want to get injured). There's no accountability for theft.

Don't need to send someone to jail, but there's gotta be something better than shrugging shoulders.
properdine
·5 năm trước·discuss
a year from now, are you actually going to want to test each individual change in a pull request, or are you going to want to test it as an entire unit?

I agree that code review you want smaller units but my experience has been that 1-2 years later, you no longer care about the individual units and instead you want the entire patch/PR all together.
properdine
·5 năm trước·discuss
Understand where author is coming from - but doesn't squash-n-merge (newish github feature) solve the issue of needing to rebase and the issue of having too many merge commits?

Squash-n-merge has nice property of removing unnecessary local information that probably doesn't matter at a meta level (commits are nice when reviewing PR, doesn't matter much later)
properdine
·5 năm trước·discuss
I would say this is a pretty good run-down - https://selamjie.medium.com/remove-richard-stallman-appendix... .
properdine
·5 năm trước·discuss
Have you taken a look at [PEP 517](https://www.python.org/dev/peps/pep-0517/) ? It enables other tools to replace setup.py (e.g., poetry is pretty nice for making easy-to-package-and-publish pure python libraries).
properdine
·5 năm trước·discuss
lib2to3 exists and is used by tools to do this kind of automatic refactoring for python. The idea of having a migration path to the "blessed" way to do things is pretty neat!
properdine
·5 năm trước·discuss
at least on Github, if your branch only has one commit, it will use the commit to automatically populate title and summary. And recently pushed commits show up on top of the repo page with a one-click button to open a PR :) (or you can go to the "branches" page to do this as well)
properdine
·5 năm trước·discuss
I am so excited for this.

I love Python, but as of 2016, I was missing:

0. Pattern matching 1. Easy support for types & type-checking (thanks mypy + annotations) 2. Better string formatting (yay f-strings)

And the nice part is that these are all relatively opt-in features. So excited to be able to using pattern matching as part of the language!
properdine
·5 năm trước·discuss
My impression is that backend changes more slowly (and is easier to control) than frontend. At least when you're doing backend you can choose your whole stack (vs. frontend where you have to deal with a huge array of different types of computers and such).

Plus IMO you set up your framework for building once or twice and just reuse it everywhere, so doesn't end up as difficult as the faster changing front end work.
properdine
·5 năm trước·discuss
pretty sure "pay-equity cash reserve" means "setting aside money to increase pay of people who were underpaid relative to coworkers"
properdine
·5 năm trước·discuss
Do you manage S3 replication as well? What about lambda deployments?
properdine
·5 năm trước·discuss
What's the story on data retention and privacy? Are there servers you store data on and it downloads from? Do you back up messages?

Perhaps this is implicit from Matrix protocol but I didn't see a clear call out on the site.