DCoder

Joined 17 years ago

Karma
1,260
Submissions
479
Member since
Nov 2
not here anymore
View on Hacker News

Recent submissions

Comment · 5 years ago
Comment · 5 years ago
You can also tell git that the .git dir is completely separated from the working dir:

    alias dogit='GIT_WORK_TREE=/path/to/src/dir GIT_DIR=/path/to/dotgit/dir git'
    dogit pull remote treeish
---

I set this up as a "poor man's version control" on a large client's server back in 2016-ish. I was lost for words when last year I saw my colleagues still using Ctrl-R to rerun that alias line.

Comment · 5 years ago
It's mildly amusing to see kudos for a solution that lacks any <noscript> support.
Comment · 5 years ago
> they make the 'http://' not visible in the bar. What confusing signaling!

In recent versions of Chrome, you can right-click the bar and choose "Always show full URLs" to fix that particular stupidity.

Comment · 5 years ago
Yeah, nowadays most of the sites are suffering from div-ititis that has no semantics, massive blackholes of JavaScript that have to be loaded and processed before you can even see plain text, and CSS class names that are randomly hashed with each deployment in the name of modularity.

General accessibility be damned.

<noscript> fallback messages be damned. (Except when snitching on your page views to Google Analytics, that's too important to be neglected! I wonder if GA has any default marker to let their customers distinguish these views from normal ones, or if that's still left to each customer to implement manually.)

UI customizations in the form of browser extensions and styles be damned.

Ad blocking be damned.

Comment · 5 years ago
> use either an <a> or a <button>

Generally, it should be noted that an <a> tag is only appropriate if it makes sense to right-click this element and get options to "open in new tab" or "add to bookmarks". All the stupid "buttons" implemented as <a href="#"> + e.preventDefault() need to die.

Comment · 5 years ago
Comment · 6 years ago
Comment · 6 years ago
Comment · 6 years ago
I'd say that Symfony reads like Java, whereas Laravel reads like a weird copy of Rails.
Comment · 6 years ago
Comment · 6 years ago
Comment · 6 years ago
Oh, that makes sense, thanks.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton