HN user

tupolef

114 karma
Posts2
Comments63
View on HN

I forgot the name but 10 years ago there was a popular free vpn extension for browsers that let each user exit by the other users ip and you could choose the location with a click.

But behind that free service, the model was to provide an expensive service to companies needing high frequency testing or scraping (sometime illegal) with multiple ips and locations. I got a trial for 1 week after a visio with them, it was complicated to setup, but it felt like exploiting unknowing free users.

RIP botsin.space 2 years ago

I share your feelings. I had switched to Dendrite 1 year ago and its flaws made me open my eyes to the major problems I had with the design of the protocol.

I started to worry that it would not improve and I reexamined XMPP.

Finally I switched to XMPP that I had abandoned more than 5 years ago because I think there is a better chance that the community will finally offer clients with the important features, on all platforms, in the coming year and that it will last over time.

If there is a risk that a husband would beat his wife in this case and that she could not leave him, there is no way that any form of electronic vote would change her life, or even her childrens. People who protect this system will probably rig the votes to keep it or a similar one.

I don't know any big change in the past, anywhere, like a big social progress, a regime change, a revolution or a coup that was enabled by a mass or anonymous voters. I think that if you look into it, you will find that it's always with a large consent or when a group of people takes action openly to push for it.

But, should we deceive people like the tech companies are doing right now with privacy?

If someone is scared that his position will be known and still do it only because there is some fakely advertised security in place, you may ruin that person's life againt their will.

I prefer a system where people know how things work, take risks and are responsible. For what do we need a democracy if people are so scared of their family, neighbours and coworkers political views. The way we do democracy should me more mature after all this time. Probably the only place in the world trying to do it right is Switzerland, per example they have frequent local votations accomplished by raising one's hand.

The only way to get an honest electronic vote is by giving realtime visibility on who voted what and where publicly.

Everything else is a scam.

It would mean no secrecy of vote, but I think that secrecy of vote is for places that are new to democracy.

It could be anonymised to a point a clever system of personal certificats, but the idea is that in a 100 people district, the citizens should be able to count themselves and check if their real votes are correctly registred.

If the list is public, everyone got a proof of vote and can confirm that the global list is correct localy, then there is no way to hide cheating.

It depends where, in France we had only one state controled company that gave use the lowest prices in Europe and became an international leader in the domain, until under pressure from activists and Germany we introduced competition and cut EDF in small pieces. I would say that competition is good for energy only if you depend on importation.

It may seem proselite and overly highlighted, but personally I find it very practical.

Whenever I review a tool, or look for an alternative, I always look at the state of the maintenance and the choice of programming language, mainly to eliminate, as much as possible, the many tools written in Javascript and Python when it is not suitable.

I will not necessarily prefer a tool written in Rust, but at least it is rarely a flaw.

For those using Windows games from GOG or other none-steam supports, I recommend Lutris, it requires a little more setup, but after the initial groking you can have a library as nice as Steam and with a lot more manual settings and support for other platforms or emulators.

A nice trick with Lutris is to create 2 initial prefixes for wine 32 and 64 bits and then to duplicate them in the library for each game. Only the lauch settings will be different but you get all games installed in 2 wine instances.

XMPP vs. Matrix 2 years ago

I went from hosting XMPP to Matrix and then XMPP again in the last 10 years.

- I'm now sure that I will never convert anyone to Matrix or host a Matrix server again.

- Matrix big issues for me are that it's not really decentralized and this design impacts the server admin, the performances and the user's privacy.

- I'm still not happy with XMPP clients for Linux, most are missing Omemo or automatic turn/stun discovery and Dino is in in alpha and bugged.

- I'm sur that XMPP will have a community in 20 years, not sure about Matrix.

Sorry but, your list of examples feels like a list produced by an AI from a set of articles about aphantasia, or it's like you're too influenced by these articles. Rotating 3d objects, doing multiple visual operations on a rubik's cube or mental abacus are not operations that even people with hyperphantasia will be able to do naturaly. If you gave more examples of every day situations, or if you told us that you tried to train for thoses operations for 3 months and failed, we could conclude something else.

I was thinking the same thing 2 months ago, I used tmux locally and remotely for 5 years with advanced features in bashrc using systemd-run to start sessions and keep them open.

But there were always some problems with copying, terminfo features, truecolors, composed unicode...

And recently I changed my mind about the usefulness of a multiplexer, after all only some remote machines were adapted to my workflow, most of the time I just used it locally and had to deal with multiplexer and terminal issues at the same time.

So I tried Kitty again, Kitty claims that multiplexers are a bad idea and that the terminal can do more and better, and it's right about that. Multiplexers should be replaced by advanced terminals.

Since I was a teenager, a mild but persistent acne has plagued my daily life. Up until the age of 30, I always believed that only medications, impeccable hygiene and weekly physical activity could help reduce the effects. Then, after a complete change of diet due to my move to Asia, I realized that the main factor was sugar. By going completely sugar-free in my diet, I no longer have acne at all as long as I keep away from it. It really got me thinking that most people should explore how their bodies work, without necessarily relying on what works for others or what modern medicine advises, and also that severe fasting is a good way to start the comparison.

I don't want to switch to Wayland for now, but I will check foot when I do.

I do the same thing with URxvt as a systemd daemon, Tmux as a transient service with systemd-run from .bashrc, and a script in i3wm to run URxvtd client or hide/get the window.

The way I use to run Tmux from a transient service locally and in ssh with the same .bashrc is nice I think. Tmux will survive the terminal and even if I close my session and come back to it:

  #!/usr/bin/env bash
  # ~/.bashrc: sourced by bash(1) for non-login shells.
  
  # If not running interactively, don't do anything
  case $- in
    *i*) ;;
    *) return ;;
  esac
  
  chmod 700 ~/.bashrc.d
  chmod 600 ~/.bashrc ~/.bashrc.d/*
  
  # check if we are already in a Tmux session and not in ssh then open/attach the default one
  if [[ ! "${TERM}" == "tmux"* ]] && [[ -z "${TMUX}" ]] && [[ -z "${SSH_CONNECTION}" ]] && command -v tmux 1> /dev/null; then
    # attach or start the local default Tmux session
    if systemctl --quiet $([[ $(id -u) != 0 ]]; echo "--user") is-active tmux-local-$(id -un).scope; then
      tmux -L local-$(id -un) attach-session -t local-$(id -un) ; exit
    fi
    systemd-run -q --unit tmux-local-$(id -un) --scope $([[ $(id -u) != 0 ]] && echo "--user") tmux -L local-$(id -un) new-session -s local-$(id -un) ; exit
  elif [[ -z "${TMUX}" ]] && [[ -n "${SSH_CONNECTION}" ]] && command -v tmux 1> /dev/null; then
    # attach or start the ssh default Tmux session
    if systemctl --quiet $([[ $(id -u) != 0 ]]; echo "--user") is-active tmux-ssh-$(id -un).scope; then
      tmux -L ssh-$(id -un) attach-session -t ssh-$(id -un) ; exit
    fi
    systemd-run -q --unit tmux-ssh-$(id -un) --scope $([[ $(id -u) != 0 ]] && echo "--user") tmux -L ssh-$(id -un) new-session -s ssh-$(id -un) && exit || echo 'Tmux Systemd unit failed/exited'
  
  fi
  
  # if Tmux is not installed or if we are inside a Tmux session continue the sourcing
  for file in ~/.bashrc.d/*.bashrc;
  do
    source "${file}"
  done

I have no issue with the maintainer's decision to default to a safe set of features but it could have been handled better.

I saw the notification when I upgraded the package so I removed it after and installed the full version. But, a few days later a coworker complained about some script using KeePassXC from the cli, because he did not see the notification and was missing the secret agent.

I think that they should gone for upgrading keepassxc packages to the new keepassxc-full and deprecating the old keepassxc package in favor of a new keepassxc-lite for new installs.

And for the lazy ones, pipx uses Virtual Envs and can install most things from a path, an archive or a package name. Install pipx and check pipx install --help.

For me, it was quite the opposite.

I started with Windows, in 94, because in France it was the reference system for work, then I stayed on it for a long time because of games and Office, although I used Linux for servers. In the end I'm glad I avoided Macs altogether, I probably would have spent more money, learned less and done less computing.

Then around 2016 I tried Linux on desktop and it gradually became the only system I use, for development, games and work. For 2 years now, I haven't had any issue with games, the performance is even better than on Windows.

You should try again.

Plain Text Email 2 years ago

I'm using Neomutt and I had the same issue with incomplete messages. I tried many ways to convert HTML emails to text for the internal pager, currently I use rust-html2text [1] with some tricks and it's the best result so far.

There is still some issues with Links references and not displaying preview elements so it's a little experimental, I created a Gist with my config and notes [2].

[1] https://github.com/jugglerchris/rust-html2text

[2] https://gist.github.com/tkapias/b0df814c40daf642209b8023f80f...

[dead] 2 years ago

The post is from 2022, posted as a joke or a troll, I'll flag

France tried to stay independent after the war. Hence the refusal to join NATO, the powerful cultural industry of the 60s, the nuclear industry after the 70s oil crisis, the attempts at a third way with the now BRICS countries.

Since the 80s, it's over, France has been led financially by Germany, culturally by the USA, and its politicians are trained abroad or work abroad after having done their worst inside.

Nuclear power is really the best example, France was the world leader, then the Germans pushed it to abandon everything including its future Phoenix program. France sold everything to the USA, and now the USA is launching a nuclear program in Eastern Europe, and they call it Phoenix...

It may be a little more conservative than Kansas, but we came close to being much, much more liberal.

In 2020, our parliament voted for abortion up to 9 months for mother's psychological motivations. So a murder during childbirth...

Fortunately some people noticed (not the journalists) that it may be harsh for the doctor doing the act. It didn't pass the Senate.

https://www.lefigaro.fr/actualite-france/loi-bioethique-ces-...

Without giving a position on the legitimacy of this question, I nevertheless point out to foreign observers that this, above all, shows to what extent France now assumes its colony status.

We are in the greatest demographic, energy and financial crisis since the Second World War and on the verge of armed conflict with Russia. Our legislators have repeatedly refused to have a say on these issues in recent months, but while we had no problem with the status of abortion in France, they took up the issue as soon as there was a problem about it in the USA.

As they say at the UN and the European Commission: "always put a Frenchman at the head of all international institutions, they are the only ones who will never defend the interests of their country".

- For your 1st issue, you can setup bash to append commands rather than overwrite them. Here the part of my .bashrc about history:

  # append rather than overwrite
  shopt -s histappend
  # attempts to save all lines of a multiple-line command in the same history entry
  shopt -s cmdhist
  # with cmdhist, saved with embedded newlines rather than semicolon separators 
  shopt -s lithist
  
  HISTCONTROL=ignoreboth
  HISTSIZE=10000
  HISTFILESIZE=20000
  HISTTIMEFORMAT="%y/%m/%d %T "
  HISTIGNORE="history:ls:l:pwd:exit:"
  if [[ ${BASH_VERSION:0:1} -gt 5 || ${BASH_VERSION:0:1} -ge 5 && ${BASH_VERSION:2:1} -ge 1 ]]; then
    PROMPT_COMMAND=("history -a" "history -c" "history -r")
  else
    PROMPT_COMMAND="history -a; history -c; history -r"
  fi

- And about the 2nd issue, you should use fzf or skim (probably faster) to replace the ctrl-r binding. fzf includes such a script that you just need to call from .bashrc.
  # Enable key bindings for fzf
  if command -v fzf 1> /dev/null && [[ -f "/usr/share/doc/fzf/examples/key-bindings.bash" ]]; then
    source /usr/share/doc/fzf/examples/key-bindings.bash
  fi
Math as a habit 2 years ago

Too much of anything is poison, and a harsh upbringing is certainly counterproductive, but so is the opposite. Limiting yourself to doing only what you love goes against yours and you children self-realization and leaves the door open to marketing and fads.

I find that people who do this to their children regret it later, life is short and the time we have to help our children forge a good foundation is even shorter.

You can very well give them a balance between a carefree, happy childhood full of love, while at the same time forcing them to discover lots of things they don't like at first sight.

It's better to fail at raising children by trying to pass something on to them than to let others do it all for you.