HNHacker News
TopNewBestAskShowJobs

toupeira

328 karma · joined July 31, 2011

submissionscomments
toupeira··on Petition: Revoke Article 50 and remain in the EU
Relevant reading: https://johnhiggs.com/newsletter-10/
toupeira··on Vim Anti-Patterns (2012)
It really is an awesome plugin, very simple but such a timesaver :) Thanks for all your work!
toupeira··on Vim Anti-Patterns (2012)
Check out https://github.com/zef/vim-cycle to extend Ctrl-A/Ctrl-X to arbitrary groups of words, e.g. to cycle between true and false.
toupeira··on It’s Time to Ditch Google Analytics
I read somewhere that selecting a bit of text before clicking the "I'm not a robot" checkbox helps to avoid the Recaptcha popup. I've started doing this and think I've been seeing them far less often, but of course it's possible I'm fooling myself.

And I guess it will only be a matter of time before robots will start doing this too, so please don't tell anyone ;-)

toupeira··on Ask HN: Best things in your bash_profile/aliases?
Some Git aliases I use constantly, with a rebase-heavy workflow:

    di = diff
    dc = diff --cached

    ap = add -p
    unstage = reset HEAD -p
    discard = checkout -p

    ci = commit -v
    ca = commit -va
    amend = commit -v --amend
    reword = commit -v --amend --only
    extend = commit -v --amend --no-edit

    ri = rebase -i
    rem = rebase master
    rim = rebase -i master
    red = rebase development
    rid = rebase -i development
    continue = rebase --continue
    skip = rebase --skip

    pu   = push -v --progress
    poof = push -v --progress --force-with-lease
    pusu = -c push.default=current push -v --progress --set-upstream
toupeira··on Silicon Valley is evolving and focusing on employees
Here are some resources on the topic of self-management, in case you're not familiar with them yet:

- https://sociocracy30.org/

- http://www.reinventingorganizationswiki.com/

- https://wiki.p2pfoundation.net/

toupeira··on Language Server Protocol implementation for Swift and C-based languages
Which plugin are you using? Looking at https://langserver.org/#implementations-client there are at least four of them, and IIRC the neovim folks are also working on a native implementation.
toupeira··on Amazon Says It Has Over 10k Employees Working on Alexa, Echo
Secret Agent and Illinois Street Lounge for me.
toupeira··on A well-known URL for changing passwords
Yes, also OpenID Connect.
toupeira··on The State of JavaScript 2018
You should take a proper look once, you'll be amazed at all the different modules implementing the same functionality over and over again (e.g. globbing, promisifying, or the myriad of `is-*` single-function packages).

Why is that bad? It's a huge waste of effort, increases the burden on anyone who's maintaining a package using those micro-libraries, and will guarantee more unpatched security vulnerabilities and unmaintained packages in the long run.

toupeira··on “12 years ago today, I finished writing Hacker News”
And behold, it is :)
toupeira··on Google DeepMind Founder Demis Hassabis: Three Truths about AI
You forgot the part where we should be able to customize those solutions to our own unique needs and environments, otherwise we're sacrificing personal agency and responsibility to the whims of organizations who very clearly don't always have our best interests in mind.

Hoping technology will save us is as foolish as believing Jesus will, both extremes are bad and missing the larger point that humans are far more complicated than we like to admit.

toupeira··on (2016) Technology destroys people and places. I’m rejecting it
Hmm... isn't science itself a form of technology? :)
toupeira··on The science of Westworld
Read more closely, the hypothesis is that bicameralism was an evolutionary stage in human consciousness that broke down at some point in antiquity. So it would entirely be expected that you don't experience it anymore :)
toupeira··on Announcing new tools, forums, and features
They recently added a per-user pricing model, so maybe they would be open to suggestions.
toupeira··on “Node.js is one of the worst things to happen to the software industry” (2012)
That's because Erlang developers have good taste ;-)

But Elm is actually moving in that direction, the last release added a process abstraction inspired by Elixir, and I've read they're even considering BEAM as a compile target, in addition to the current JS target and plans for a WebAssembly target.

toupeira··on “Node.js is one of the worst things to happen to the software industry” (2012)
It's not really new though, see for example Omniauth for Ruby.
toupeira··on “Node.js is one of the worst things to happen to the software industry” (2012)
But UI's have to be async if they want to be responsive, while the HTTP request-response cycle (which is what Node is predominantly used for) is completely synchronous.

Sure, things like WebSockets are changing this, but you don't really need an event loop if you have proper threads or a multi-process server (you know, like Node clustering, which you tend to need anyway once you outgrow the limits and pains of a single event loop).

toupeira··on Fuchsia, a new operating system
The original title of the thread was indeed "Fuchsia. (a new operating system from Google?)"

I came here through the RSS feed, and likely would have ignored it without the "Google" mention.

toupeira··on Caddy 0.9 Released with All New Core
I use letsencrypt.sh which also works well.
toupeira··on Why do we keep building rotten foundations?
That's pretty much what they've been doing so far, except with minor versions (e.g. 3.19 was the development version of 3.20).
toupeira··on CSS is powerful, you can do a lot of things without JS
The bigger problem is things disappearing too quickly, e.g. as soon as your mouse moves one pixel away from a CSS hover menu it's gone.
toupeira··on ORM is an anti-pattern (2011)
Death to all fanatics!
toupeira··on Ask HN: What's the best tool you used to use that doesn't exist anymore?
Have you tried theoldreader.com? Not sure if search is free since I'm on their paid account, but the feeds definitely update more reliably than other readers I tried, especially with private one-subscriber feeds.
toupeira··on Electron 1.0 is here
Depends, it might prevent somebody from building a proper app because the slow one is "good enough".
toupeira··on Show HN: Jam API, turn any site into a JSON api using CSS selectors
Why not make a screencast?
toupeira··on When Does Dark Humor Stop Being Funny?
Also check out Stewart Lee.
toupeira··on When Does Dark Humor Stop Being Funny?
I absolutely agree, everyone who's only familiar with Louis CK's standup should watch his brilliant shows "Louie" and "Horace & Pete", especially the latter is totally ground-breaking in its approach to comedy, which no doubt was only possible because it was entirely self-financed and -distributed.
toupeira··on Pagination with rel=“next” and rel=“prev” (2011)
Which is why I love the Space Next addon for Firefox (https://addons.mozilla.org/en-US/firefox/addon/space-next/)
toupeira··on The Curious Case of JavaScript’s `sort`
Or simply strong typing.
← PreviousPage 3 of 6Next →