Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbbarth
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Simplifying Python Workflows with Sitecustomize.py
(medium.com)
1 points
by
jbbarth
3y ago
|
0 comments
2.
▲
Making Alembic migrations more team-friendly
(medium.com)
3 points
by
jbbarth
3y ago
|
0 comments
3.
▲
by
jbbarth
5y ago
How is the POSIX non compliance a major problem? Does it have practical impacts when writing scripts that are not meant to be portable to other systems/shells?
4.
▲
by
jbbarth
7y ago
Wow thanks for the completeness of the answer. I found myself nodding on all the conceptual limits and features you added, I'm sold, gonna try Cadence asap :) The tooling around SWF (web console and ability to get insights about tasks,
5.
▲
by
jbbarth
7y ago
Cadence looks like an OSS version of Amazon Simple Workflow (SWF) service. The author used to work on SWF at AWS afaik. I'm a heavy SWF user at work for managing complex data pipelines. SWF requires an important conceptual and tooling
6.
▲
Linting 400kLOC of Python Code with Black
(medium.com)
2 points
by
jbbarth
8y ago
|
1 comments
7.
▲
by
jbbarth
8y ago
Maybe take a look at https://github.com/jordansissel/pleaserun
8.
▲
by
jbbarth
9y ago
Don't throw the baby out with the bathwater maybe? Here's a fixed version of your statement: "The default Turbolinks progress bar that can be removed with one line of CSS gives the impression that things are slow on slow conn
9.
▲
by
jbbarth
9y ago
Unfortunately this workflow is pretty fragile and it will not protect you from any of pip locking shortcomings. It will basically work only in favorable cases where you have no ambiguous choice, no conflict (A depends on B==1.2.3, C depen
10.
▲
by
jbbarth
9y ago
It seems there's an assumption in the article and in the comments here that "more EVs == net positive impact on pollution / greenhouse gases". This is not obvious at all. It depends on the way you produce electricity, an
11.
▲
by
jbbarth
9y ago
Patches from upstream are regularly backported by distribution vendors, including Redhat, Debian, Ubuntu (though I don't know if Ubuntu do this themselves or base on Debian). Anyway, looking at the version number is not enough, you sho
12.
▲
by
jbbarth
10y ago
Context: working at a company heavily relying on AWS. Made a request for such credits yesterday. It reflects their SLA policies and docs, no surprise here. My AWS sales contact confirmed there's no problem with such demands (and basica
13.
▲
by
jbbarth
10y ago
It's likely that with the feature set growing, a version that uses a slightly more advanced language would be easier to maintain and have less "traps" than the bash version...
14.
▲
by
jbbarth
10y ago
I'd be happy to see your 10 lines bash version of this ruby tool, with the same options/properties (debug messages, customizable prompt, history logging, same safeguards, rlwrap support, man page).
15.
▲
by
jbbarth
10y ago
Not the answer you would expect but still: it can also happen on large projects where the refactoring or the paradigm change is just too costly in C. The pure, raw ability to make C faster is nice, but if it takes you months of development
16.
▲
by
jbbarth
10y ago
Didn't know that option thanks. Better than nothing, but unfortunately your environment is still subject to the remarks in my second paragraph. So pip-tools is still required if you want more guarantees.
17.
▲
by
jbbarth
10y ago
I don't get why "pip" is checked in "Has separate manifest and lock files". Actually it doesn't have that feature (which Bundler for Ruby has, for instance). This very feature comes with a third-party package c
18.
▲
by
jbbarth
10y ago
The article doesn't mention "45 sales people" for Dishero, but for the previous company of their "VP of sales". Curious about the number for Dishero tho.
19.
▲
by
jbbarth
10y ago
This argument often comes up and I'm genuinely curious why people think Django is less "magic" than Rails, in my experience it has been the opposite. My experience with Django (for instance: class-based views and admin parts)
20.
▲
by
jbbarth
11y ago
bundler has many more features, for instance it provides a sandboxing mechanism and it allows for breaking the app boot if a dependency is not correct (which is a super good thing, I can't count the number of times I had a different eg
21.
▲
by
jbbarth
11y ago
Have a look at pip-tools https://github.com/nvie/pip-tools which does basically that and a bit more.
22.
▲
by
jbbarth
11y ago
The point is that everything at scale as an impact that looks big when aggregated... if you don't actually look at the scale. 135 out of 1B isn't big at all, it just looks big because of the biases we have when interpreting big nu
23.
▲
by
jbbarth
11y ago
This calculus doesn't make much sense. Multiply any enormous number of people by a few minutes and you'll get hundreds of lives equivalent time. That's pretty much the kind of fallacy behind "if all people on Earth give
24.
▲
by
jbbarth
11y ago
Actually on some parts of the world it's not 12:00AM you know, and there are sysadmins/devops there too :-)
25.
▲
by
jbbarth
11y ago
I'd say Python tooling may be OK at language level, even slightly better (code introspection abilities are more recent in ruby I think, the fact you could get method docs, method def, etc.). The equivalent for IPython (shell version, n
26.
▲
by
jbbarth
11y ago
The article makes some very good points, and I'm surprised you don't talk more about the deploy advantages for instance. But I was a bit annoyed by little things that I think are inexact: - the "one-process-per-request"
27.
▲
by
jbbarth
11y ago
In Ruby some people achieve this by wrapping actions in their own class, which does the trick if the classes are kept independent from each other (no shared state, except global vars, which nobody uses in the ruby world).
28.
▲
by
jbbarth
11y ago
Is it? Having it hosted on my servers doesn't make it decentralized: it's just centralized in a place I own. If the server(s) go down, same problem as Github (except I may be able to take action). Right?
29.
▲
by
jbbarth
11y ago
Would you share how you did that technically in Python? Maybe some code example or a lib to recommend? decorators? assertions?