Better HN
topnewbestaskshowjobs
Log inSign up

jorge-fundido

64 karma · joined Oct 25, 2015 (11y ago) · 43 submissions

Submissions

comment 3w ago · link · parent

I've been running stalw.art in a Docker container for past couple of years and it has been a low-fuss affair, but I'm the only account.

comment 4mo ago · link · parent

It's not a sampling problem, but more a gambling problem, as in the gambler's fallacy?

comment 4y ago · link · parent

Tend to your personal relationships like a garden, especially when you're younger since it becomes much more difficult to establish meaningful relationships the older you get. It's only my experience, but that is my greatest regret. I think the less important things like career are more easily tackled with a solid foundation of personal relationships.

Also, I've found striving for perfection is fool's gold. Yeah, you may be "that person" that friends/family/colleagues will love name-dropping you every chance they get. The others will probably care little that you're an expert and may even resent you for it.

comment 5y ago · link · parent

Middleware comes to mind (eg caches, proxies, api gateways).

comment 5y ago · link · parent

Throwing this out there for criticism... I use `python3 -m pip install -t .pip -r requirements.txt` and add .pip to my PYTHONPATH. That works for me without having to use any of the python virtual env tooling, basically trying to get something more npm like.

I don't work on any significant python code bases, so I expect it has limitations when compared to the virtual env options like developing with specific (or multiple) python versions.

comment 6y ago · link · parent

Why are cases important? Assuming PCR, can get whatever result you want with the cycle threshold (discussion begins around minute 3:50):

https://www.youtube.com/watch?v=a_Vy6fgaBPE

Want more positive cases? Use a higher threshold. Want to scare the population into compliance? Use a higher threshold. Want to demonstrate that person X or policy Y was effective against stopping spread? Use a lower threshold.

comment 6y ago · link · parent

Killer keyboard feature for me is ~/Library/KeyBindinds/DefaultKeyBinding.dict - all text controls honor that. Very nice way to get basic emacs shortcuts defined. I've yet to find something half as simple & effective as that in linux desktop land, probably because of the variety of gui toolkits that isn't present in osx.

comment 6y ago · link · parent

> If you're going to rely on a fancy shell anyway, why not just throw make out of the loop altogether?

I think can still add value in that scenario as the standard project entrypoint. Someone completely new to the project should be able to `make help`, `make install`, etc. Even if the make targets are simple wrappers to project specific tooling (npm, pip, sbt, etc). If the Makefile is kept simple, then users can treat it as a form of README and should be able to cherry-pick from it as they see fit.

But yeah, I share your sentiment about quirky, non-portable Makefiles potentially being anti-value.

comment 7y ago · link · parent

Perhaps it's just a factual element. Or perhaps the intention is `s/python/pragmatic/`. Yeah, python sucks in many ways but is it really so horrible? I know! Let's ask the reader to get intimate with a static compiler. If they're "smart" enough to satisfy (or trick) the compiler, then they've earned the "reward" of being able to execute their program.

There is value is static typing, but there are many instances where that cost is not worth the reward.

10.

Pragmatic Debian Packaging (2019 Edition)(vincent.bernat.ch ↗)

8 points · by jorge-fundido · 7y ago · 1 comment

comment 8y ago · link · parent

My approach is to copy, paste, & tailor the programmable completion for a command that has similar interface to my mine. Can try browsing /usr/local/share/bash-completions/completions or `set` & search for _FOO. Hopefully the special variables like COMPREPLY will be self-explanatory. Also `help compgen`. I'm assuming bash, by the way.

comment 8y ago · link · parent

Try `PYTHON -m MODULE` as in `python3 -m pip` if you want to make sure to use python3's pip, `python2 -m pip` for python2, `~/bin/python -m pip` for a personal python install, etc.

comment 8y ago · link · parent

I interpreted that as not making his "intro to ocaml" REPL-centric, so that things like the build tooling gets covered.

comment 8y ago · link · parent

For those interested in a lua example, from this article [1], I found & cherry-picked bits from here [2]. The key ingredients (to aid searching) are init_worker_by_lua_block & balancer_by_lua_block.

[1] https://medium.com/@sigil66/dynamic-nginx-upstreams-from-con...

[2] https://github.com/sigil66/nginx-consul-cookbook

comment 8y ago · link · parent

VPN companies don't care too much about customers that are concerned about privacy - too small a percentage of their customer base. Catering to those trying access geo-blocked content is where the money's at.

comment 8y ago · link · parent

Yes? I think we get more done in the short-to-mid-term but the fruits of our labor are less likely to survive long-term. There's no value judgement there - there are pro's & con's. At 40 years around the sun, I've got one leg in the "Get off my lawn!" and the other leg in the "Damn, these kids are wicked smart!" camp. I find that people over-focus on the seemingly "attention deficit" critiques of modern day, but even if that is the case, I think it's a small price to pay for having orders of magnitude more people in the space - there will be a lot of failures but there will be more successes relative to prior generations.

If we want to blame younger generations for not "thinking deeper" or "solving the hard problems", then we should shift our focus towards the economic drivers that are favoring quick/quantity over quality. I know how to develop software but if an employer is given the choice of fixing a buggy tool at the cost of maintaining a fork (GASP!) vs spending unbounded man-hours working around said buggy tool, my money's on that they will choose the latter since maintaining tool X is not a core competency. Meanwhile, tool X is hemoraging production data or producing buggy results and nobody flinches.

comment 8y ago · link · parent

For that flavor, maybe try:

    python3 -m pip install -t .pip ...
    export PYTHONPATH=".pip:$PYTHONPATH"
Use whatever directory name you prefer instead of .pip. Mucking with PYTHONPATH is a bit dirty.

comment 9y ago · link · parent

Lack of gossip in zookeeper makes changes in cluster topology much more painful.

comment 9y ago · link · parent

I tell people to `ipython; %magic`. For all of python's faults, that REPL is the gold standard and makes for a nice way to learn the language.

comment 9y ago · link · parent

All the yak shaving around: room history, notifications, security.

comment 9y ago · link · parent

Also, doesn't the +/- sigma rule only apply to a normal (gaussian) distributions?

comment 9y ago · link · parent

Are there any tools or sites where crowd-sourced dictionaries is a key feature? As a developer of an app, I would like to have basic actions (eg open, save, login, cancel, ok) translated to all the locales.

comment 10y ago · link · parent

I think context/scale/application is important. Classical Newtonian physics takes us pretty far pretty accurately until we get to more micro or macro scales. For example, if wanting to model a physics engine in software and the Newtonian models are considerably more performant, then could make sense to sacrifice the accuracy.

comment 10y ago · link · parent

While I view python metaclasses (metaprogramming in general) as a tool of last resort, I have to agree with you. I applaud the attempt - I think it fills an important gap between lists/dicts, namedtuples, and classes. Implemented as a metaclass, I think would be much simpler to get it accepted into core python with fewer backward compatibility issues.

comment 10y ago · link · parent

Although after looking at it some more, it bears little semblance to bash - kills my "common denominator" argument. I prefer a more bash-booster approach: bash plus common functions to standardize on.

comment 10y ago · link · parent

I see bash as a lowest common denominator for ops & sys admins. There would be too much friction getting the pack to agree on python, perl, ruby, etc., especially since most of the code would be shell'ing out commands to /bin/sh or /bin/bash anyway.

Bash does leave a lot to be desired when it comes to data structures and error handling, but in some cases it makes the most sense. In those cases, better to have some semblance of sanity via a common lib like bash-infinity or bash-booster.

comment 10y ago · link · parent

The more popular your preferred tooling, the more opportunities in the job market.

comment 10y ago · link · parent

"Blame Canada". PM: "We can't blame Canada for missing our targets 4 sprints in a row."

comment 10y ago · link · parent

S3 differs considerably from most SaaS offerings in terms of:

  - data access / control
  - availability & stability
  - performance
  - cost
12