HN user

lowry

329 karma
Posts17
Comments175
View on HN
news.ycombinator.com 7y ago

Why don't job descriptions explain what the company does, and how?

lowry
31pts23
news.ycombinator.com 7y ago

Any new laptop with traditional docking station?

lowry
3pts1
news.ycombinator.com 7y ago

Anyone else having company intranet stuck using sha1 SSL certificates?

lowry
1pts0
news.ycombinator.com 7y ago

What are undercover coders you personally met?

lowry
4pts0
news.ycombinator.com 8y ago

Are there undercover software architects?

lowry
1pts1
news.ycombinator.com 8y ago

Any note taking application that can save over ssh or https?

lowry
1pts0
news.ycombinator.com 8y ago

Why do the websites bother to show cookie warnings if europa.eu does not?

lowry
7pts5
news.ycombinator.com 8y ago

Is It OK to Apply with a LinkedIn Profile PDF Instead of CV?

lowry
2pts5
news.ycombinator.com 8y ago

How to self-host photos and videos

lowry
1pts1
news.ycombinator.com 8y ago

Is it just me or FB is blocking accounts having Russian connection and FB ads?

lowry
2pts0
news.ycombinator.com 9y ago

What's the best book to read about JavaScript?

lowry
14pts7
news.ycombinator.com 9y ago

Why job descriptions are so bad and is there a business opportunity?

lowry
5pts3
medium.com 9y ago

My fight for the best title to your story

lowry
1pts0
medium.com 9y ago

My fight for the best title to your story

lowry
1pts0
news.ycombinator.com 11y ago

How to decorate a website for Christmas?

lowry
2pts0
www.linkedin.com 11y ago

Lawmakers should learn from software programmers to improve transparency

lowry
2pts0
mikhailian.mova.org 12y ago

Reducing the codebase by an order of magnitude is possible. I've done it twice.

lowry
4pts0

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} \\$ "

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).

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.

;-)

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.