News for hackers. Stuff that matters.

lowry

Re:Ask HN: Best things in your bash_profile/aliases? on Sunday January 13, 2019 @04:54PM (#18898962)
Truncate the $PWD to ¼ of the terminal width and put the result into the command prompt:

    # truncate the $PWD
    function cut_pwd
    {
      newPWD="${PWD/#$HOME/\~}"
      local pwdmaxlen=$((${COLUMNS:-80}/4))
      if [ ${#newPWD} -gt $pwdmaxlen ]
      then
         newPWD=".+${newPWD: -$pwdmaxlen}"
      fi
    }

    PROMPT_COMMAND=cut_pwd
    PS1="\h:\${newPWD} \\$ "
So why not punish Israel as well?
Re:Is PG’s Tweet on Darwin or Marc Lamont Hill? on Friday November 30, 2018 @12:35PM (#18570725)
Says the username judah :-)
Re:Is PG’s Tweet on Darwin or Marc Lamont Hill? on Friday November 30, 2018 @11:53AM (#18570403)
Still free speech, though.
Aha! This is the Spotify model!
Drupal 6 was actually a pretty consistent hooks-based system that exploited the fact that PHP has a fast and feature-rich implementation of the function lookup table.

Drupal 7 started the migration to object-oriented code and was halfway through the messy rewrite when it was released. Drupal 8 finished where Drupal 7 left. That's where the majority of the developers left as well (pun intended).

Re:Agile won the war but lost the peace on Sunday November 11, 2018 @09:29AM (#18426491)
«Хотели как лучше, а получилось как всегда» is better translated as "We tried our best — you know the rest".
Re:Why We Need Innovative Nuclear Power on Friday November 09, 2018 @08:46AM (#18414256)
Are you hinting at Kursk? It did not even leak for the year it was laying on seabed.
Re:Why I use a 20-year-old IBM Model M keyboard on Thursday November 08, 2018 @12:08PM (#18407791)
As you grow older, you'd better switch to Matias Alps Quiet Click and Cherry MX Red or even Cherry MX Speed Silver.
Are developers really allowed to to think about business?
Re:Sqlite: Code Of Conduct on Monday October 22, 2018 @07:36AM (#18273793)
Just to call the police.
There's no cloud. Just someone else's computer.
Re:Helm: Personal Email Server on Wednesday October 17, 2018 @04:03PM (#18243191)
I would first try using port 587 and only afterwards route through Amazon or something.
Thinkpad T60 series. 4:3 screen, great keyboard, thinklight and trackpoint.
Most of the changes are removals of architectures other than x86_64. What a joke.
Re:What you can't say (2004) on Monday October 15, 2018 @01:47PM (#18221868)
He should have said, criticise publicly.
Re:Java Is Still Free on Monday October 15, 2018 @05:53AM (#18218517)
Signatories and backers, not authors.
Re:Java Is Still Free on Monday October 15, 2018 @04:50AM (#18218296)
Who is the author?
Sherlock Holmes famously refused to learn things that would be useless for his job, to keep his mind tidily organized. He is a fictional character, but the idea that learning facts can be detrimental to someone's ability is interesting.

Look at yourself: browsing Hacker News and Twitter in the morning to achieve little by the end of the day.

;-)

AFAIK, most Mikrotik employees speak native Russian and only passable Latvian. "Remotely controlled by Russians living in Latvia".
Try doing it through the web interface, you'll be unpleasantly surprised.

I just upgraded my last hAP ac from 6.39.2 to 6.42.9 through the web interface, entered the bootloop, then did the Netinstall of the system package only, then manually restored the configuration.

This is about 5 times the price of hAP ac from Mikrotik, and hAP ac can do some things much faster due to hardware acceleration of some of its capabilities in Qualcomm QCA8337 switch chip.
I have several hAP ac Mikrotik routers and upgrading them is a pain. You can not just download an image from their website, flash and reboot. If you do so, your router will likely be locked in a bootloop.

I managed to have consistent upgrades by using only the main package and Netinstall, but it is still a huge pain in the ass.

Mikrotik makes stable routers, but they messed up the upgrade process completely.

Re:Real Differences Between OT and CRDT for Co-Editors on Thursday October 11, 2018 @03:22PM (#18196289)
Thanks a lot for the background on sharedb! Great work, indeed.
Re:Real Differences Between OT and CRDT for Co-Editors on Thursday October 11, 2018 @08:03AM (#18192760)
The article above says sharedb is originally written by a Google Wave developer.
Neither of you explained in layman terms what they actually do.
In the current legislature, there is one former software programmer MEP and a Linus's uncle, who is not a programmer but knows a bit about software.

There's also Julia Reda, but she is really just a filesharer and a politician.

Languages. English to start with. French, because of quality of life. Dutch for business and education for kids.
Re:Unintended Consequences: How the GDPR Can Undermine Privacy on Wednesday September 26, 2018 @12:31PM (#18077639)
It's ironical that websites implement GDPR compliance using cookies.
Re:Oracle’s Java 11 trap on Wednesday September 26, 2018 @08:30AM (#18075211)
They have quite a few developers working on OpenJDK

Older »