HN user

olifante

355 karma

Lisbon-based full-stack developer and DevOps guy. Current stack: Postgres, Django, Wagtail, DRF, React, next.js

Posts14
Comments158
View on HN

This constant vilification of one of the great figures of tech history is tiresome. Yeah, maybe Steve Jobs was not a great person, but why should constantly overshadow his tremendous successes?

Steve Jobs was a forceful and perhaps disagreeable character, but he is one of the clearest examples of how having relentless drive and taste can change the world. Focus less on the feet of clay and more on the giant.

And not to diminish Wozniak’s tremendous achievements, but Steve Jobs continuously innovated over the course of decades and had a much greater impact on the world.

Putting the burden on invididuals for averting the climate crisis is a form victim-blaming. It’s long been clear that only concerted collective action will be effective in producing real change.

This is why so many free-market, minimal-state absolutists are so prone to putting their fingers in their ears and pretending climate change is not a problem, or if it is, that individuals as free agents are responsible for creating it and therefore fixing it. They cannot accept the logical conclusion of the necessity of state action, as it contradicts their core beliefs.

The day they killed Google Reader was the day they publicly renounced their “Don’t Be Evil” motto.

From TFA:

the turning point was the assassination of Google Reader — for which I will never forgive them, and try to regularly exert a small vengeance by mentioning it

How about SSH straight into screen?

Here's how to define a shell function for quickly attaching to an existing screen session after connecting via ssh (or creating a new one if none exists):

  sshcreen () {
      ssh -t "$@" screen -xRR
  }
Works with bash and zsh. Usage is pretty simple:
  $ sshcreen user@example.com
You can use normal ssh arguments, such as the port:
  $ sshcreen root@localhost -p 2222
Detach the session with CTRL-A + D, reattach by re-running the sshcreen command you previously used.

PS: repurposed my comment from a recent discussion: https://news.ycombinator.com/item?id=32486892

My favorite utility is a shell function for quickly attaching to an existing screen session after connecting via ssh (or creating a new one if none exists). It's pretty handy for treating a single ssh connection to a server as if it was a long-lived multi-tab terminal:

  sshcreen () {
      ssh -t "$@" screen -xRR
  }
Works with bash and zsh. Usage is pretty simple:
  $ sshcreen user@example.com
Or for local Docker instances mapped to port 2222:
  $ sshcreen root@localhost -p 2222
Detach the session with CTRL-A + D, reattach by rerunning the sshcreen command you previously used.

This is not a helpful comment. The Trumpian Republican party is here to stay, and it's very easy to imagine it being quite damaging to European interests and security once it's back in power. If there's one thing that the Trumpian right has shown is an appetite for the exercise of naked power, without any mask of moral pretences.

I just tried Nix yesterday for the first time in order to play with reactivated. Was surprised by how simple it was to get it running. Made me think that perhaps containers are not as indispensable as I thought.

And reactivated is awesome, by the way. I just worry about how brittle it will be as both Django and React evolve.

Templates are the ugliest part of Django. They are completely unaware of the target syntax, so very often the template itself cannot be validated as HTML, which makes it difficult to lint or reformat.

The only tool I'm aware of that can (mostly) correctly reformat Django templates is the PyCharm/IntelliJ family of IDEs, but their reformatting often introduces subtle breakage (such as adding new lines inside tag attributes) and requires careful review.

TL;DR:

“we found highly consistent evidence that longer educational duration is associated with increased intelligence test scores. […] the results support the hypothesis that education has a causal effect on intelligence test scores. The effect of 1 additional year of education […] was estimated at approximately 1 to 5 standardized IQ points.”

It doesn't matter whether it's open source or closed source, non-profit or for-profit. If it's made by a company headquartered in the US, there's no escaping a national security letter with a gag order. Anything within Five Eyes (AUS/CAN/NZ/UK/US) jurisdiction (such as Ubuntu) is probably not much safer. We really need a new Linux distribution headquartered in a safe jurisdiction.

Yeah, it's really strange. All other medium to large German cities have sizeable commercial pedestrian zones, but Berlin has very few. The only ones I know inside Berlin are the shopping street Wilmersdorferstraße in Charlottenburg and the area from Alexanderplatz to Rathausstraße. There's also the Alt Spandau pedestrian zone as well as parts of Alt Tegel, but I don't think those belong to Berlin proper.

I'm Portuguese and I completely disapprove this message. We are deluding ourselves if we think that our situation is qualitatively much different from the Greek one. Were it not for Greece, Portugal would be the scapegoat for the Euro crisis.

I feel like I'm taking crazy pills when I see that no one from the financial sector went to jail for recklessly causing the biggest worldwide financial crisis since 1929, yet everybody is happily demonizing the Greeks, who in spite of having a made several errors were in no way responsible for the global crisis.

This shows how much journalism has been captured by financial interests, working hard to deflect attention from the true perpetrators.