HNHacker News
TopNewBestAskShowJobs

AdrienLemaire

186 karma · joined October 18, 2019

CTO at Miraidenshi; Full-stack software engineer; Triathlete long distances; Trifather.
submissionscomments
AdrienLemaire··on Tired of Stack Overflow
> There are no “quick fixes” here. But on the other hand, it seems that things are kind of in a stalemate, where everyone accepts that the status quo sucks but no one dares to take the (drastic) action that’s needed.

> And the drastic actions that do get taken are meaningless and insignificant

It makes me think of the bike-shedding mental model, also called Parkinson's Law of triviality: People are reluctant to deeply discuss complicated matters.

Isn't Hackernews' code of conduct a successful example of a community relying on civility? Maybe Stack Overflow could launch a civility campaign and update its reputation system to punish trolls.

AdrienLemaire··on My Python Development Environment, 2020 Edition
I haven't used pipx, but as far as I understand, pipx = pip + venv. If your pip executable is in a virtualenv, the "globally installed" is locally installed.

pipx, poetry, pipenv and co are still nice wrappers to have, I suppose. It just feel less useful now that most of my projects are dockerized.

AdrienLemaire··on The Next 50 Years of Databases (2015)
Exactly my thoughts. I haven't got a chance to dive into Neo4J yet, but this looks like a very exciting field that'll really improve visualization and data analysis.

I also believe this is the first kind of ACID NoSql database, which goes along Andy Pavlo's "All programs will execute using strongly consistent ACID transactions".

Definitely going to switch over from PostGreSQL at some point.

AdrienLemaire··on YouTube might terminate your access if not profitable for Google
These are the new ToS that will take effect on December 10th.

I cannot find any related clause in the current ToS https://www.youtube.com/static?template=terms

AdrienLemaire··on Ants trapped for years in an old bunker
Yes, I'm a fan of Kurzgesagt and watching all their videos :)
AdrienLemaire··on Ableton Connection Kit (2016)
Sorry about that, and thanks for the correction.
AdrienLemaire··on Any amount of running linked to significantly lower risk of early death
I was skeptic, so I looked at the related paper: https://bjsm.bmj.com/content/early/2019/09/25/bjsports-2018-...

It looks like a fairly good systematic review and meta-analysis. Their "Assessment of study and evidence quality" seems quite comprehensive, and they filtered out several studies affected by selection bias.

They mention the causation possibility:

> the association between running and mortality may partially be explained by assuming that sick participants (who are more likely to die) were less likely to participate in running.

Still, even if "running" isn't a direct cause for increase longevity, we can't rule out that more promotion of running would have positive effects (placebo effect, have unhealthy people use running as a keystone habit to build other healthy habits, etc).

What I'd love to see is more meta-analysis like this one for other sports. I believe that running is known for its orthopedic stress risks, and other sports like swimming might be seen to deliver the same positive effects as running, without the negative impacts.

AdrienLemaire··on Ants trapped for years in an old bunker
While searching for another source to verify this fact, I learnt from wikipedia that Formica polyctena ants are near threatened: https://en.wikipedia.org/wiki/Formica_polyctena Good that they got out of the bunker.

Given that ants make 20% of the entire animal biomass on land (https://www.youtube.com/watch?v=7_e0CA_nhaE), it didn't cross my mind that subspecies could go to extinction ^^

AdrienLemaire··on Ableton Connection Kit (2016)
Ok, I can read it normally with llpp after downloading it.

Edit: This document is a great resource to keep by for when the time is needed :)

AdrienLemaire··on Ableton Connection Kit (2016)
Edit: Sorry I accidentally posted on the wrong thread
AdrienLemaire··on Htop Explained
I tried both, but the `-e open` option doesn't return anything

  $ strace uptime 2>&1 | grep open
  openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  openat(AT_FDCWD, "/proc/uptime", O_RDONLY) = 3
  ...

  $ strace -e open uptime         
  10:12:14 up 2 days, 18:52,  1 user,  load average: 1.22, 1.30, 1.71
  +++ exited with 0 +++
  $

strace -- version 5.3 Optional features enabled: stack-trace=libunwind stack-demangle m32-mpers mx32-mpers

After digging in the documentation, I finally found something working:

  $ strace -e trace=openat uptime
EDIT: got it. my system calls are openat, not open. Hence the following works

  $ strace -e openat uptime
AdrienLemaire··on Twitter to ban political advertising
Great move. This will push some communities to move away from Facebook and use Twitter as the main political discussion medium.

I'm wondering how that'll affect Twitter's business model though. Assuming political ads counted for a fair percentage of their revenue stream.

AdrienLemaire··on Google Announces .new Domain Availability
I'm a bit confused. Are these domains only usable as web redirects? Or is it just that the examples shown are used as such, but we can use the domain as any other one? I wonder how having multiple entries to the same page will affect page ranking.

Looking up gist.new, I wonder why there are 2 requests done:

307 Internal Redirect

301 Moved Permanently

Before getting the 200 request to https://gist.github.com/.

AdrienLemaire··on Gitlab cancels plan on tracking user behavior on GitLab.com
Great attitude. Interesting correlation with the episode S06E01 of Silicon Valley released this week, on the same topic :)
AdrienLemaire··on A Quick and Easy Guide to Tmux (2015)
I've been a long-time user of both i3wm and tmux. If I had to mention a single reason for using tmux, it would be sessions (ie restarting X11 would keep the session alive). There are also some features like searching for text in open windows, that aren't available to a tiling window manager. It's not only about tiling. I also found that restoring tmux sessions (tmux-resurrect+tmux-continuum) was faster than restoring i3 workspaces.
AdrienLemaire··on A Quick and Easy Guide to Tmux (2015)
byobu certainly looks good, and I'd recommend it to any new user. Having spent a while to learn all the shortcuts of tmux and customizing my env with tpm plugins, there's low value in me re-learning a new set of shortcuts.

I also wonder how byobu users can use their system-defined Function keys while using byobu, since it seems to have set shortcuts on all these keys.

AdrienLemaire··on DuckDuckGo Terminal Interface
You just made my day, this is awesome! Thanks
AdrienLemaire··on The Little Handbook of Statistical Practice (2012)
This was an informal comment without judgment. On the contrary, it's great to see the Lindy effect in action.
AdrienLemaire··on The Little Handbook of Statistical Practice (2012)
Just sharing for information: written in 2001 and last modified in 2012. It's great that some resources are not aging.
AdrienLemaire··on Three reasons you have neck pain – 'bad posture' probably isn't one of them
What about sleeping posture?

I had a neck hernia last year following a long triathlon (high stress), while sleeping on the belly. Took 6 months to heal. Now, I only sleep on the back.

I also hypothesize that eating habits matters in reducing any health issue, including neck pains. Neck pains often being inflammations between cervicals, eating anti-inflammatory food might help prevent it?

AdrienLemaire··on On “Quantum Supremacy”
Here's a Seeker video regarding Google's leaked paper, that makes it easier to understand IBM's blog post: https://www.youtube.com/watch?v=kyuf1zt-TpU
AdrienLemaire··on Ask HN: What's a promising area to work on?
Any "problem" area is promising since you can help to find a solution to it. If you're flexible and problem-solving oriented, you'll always find yourself involved in interesting projects.

One example: before we had a lack of access to information, now we have too much information to deal with and have a lack of tools to sort out unbiased objective information from the rest.

Finding new tools of thought to help society raising its average IQ and EQ might be the highest-leverage activity I can think of.

AdrienLemaire··on My Favourite Git Commit
This is a lovely commit, thanks for sharing it.

Over the years, I took the habit to request from my coworkers to write semantic commit messages, like https://www.conventionalcommits.org/

You can use git hook libraries like the python pre-commit or javascript husky to check your git commit messages format.

← PreviousPage 2 of 2