HNHacker News
TopNewBestAskShowJobs

gmcabrita

1,551 karma · joined October 23, 2011

submissionscomments
gmcabrita··on Unconventional PostgreSQL Optimizations
Your comment is 100% not true: https://dbfiddle.uk/Iu-u886S
gmcabrita··on Select FOR UPDATE considered harmful in PostgreSQL
> PostgreSQL takes FOR UPDATE on rows before a DELETE, or before an UPDATE that modifies a column that is part of a unique index that neither contains expressions nor is partial

This also happens when you UPDATE the same row twice within the same transaction.

https://goncalo.mendescabrita.com/blog/cross-table-lock/

gmcabrita··on PlanetScale performs layoff and prioritizes profitability
The people against this on X are probably not building a business. They wouldn't be giving PlanetScale money anytime soon.
gmcabrita··on Announcing The Zig Software Foundation
> The Zig language accepts hard tabs and carriage returns. The self-hosted compiler implements the Zig language correctly; accepting hard tabs and carriage returns. However, the self-hosted compiler is not yet complete, and what people are using in reality is the stage1 compiler, which does not accept hard tabs.

https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...

gmcabrita··on Revolut staff claim they’ve been told to quit their jobs or be fired
You are confusing a layoff and a furlough. It's not your fault though, the Portuguese government decided to call a furlough a layoff for who knows what reason.
gmcabrita··on Back of the envelope estimation hacks
Simon Eskildsen has a monthly newsletter called Napkin Math[0] entirely dedicated to practicing practical real-world Fermi problems like these.

[0] - https://sirupsen.com/napkin/

gmcabrita··on RailsConf 2020 Couch Edition
FYI, folks have forked fast_jsonapi to https://github.com/fast-jsonapi/fast_jsonapi as the Netflix repository has been mostly inactive recently.
gmcabrita··on Jack Dorsey says it’s time to rethink the fundamental dynamics of Twitter
The "sparkle setting" resets if you haven't been on Twitter Web for a while, even if you always keep up with Twitter on mobile.

I use Twitter Web so infrequently that whenever I open it, it has always changed back to the "Top Tweets" view.

gmcabrita··on Phoenix.LiveView is now public on GitHub
On GitHub: https://github.com/phoenixframework/phoenix_live_view

The previous HN discussion at the time it was initially announced: https://news.ycombinator.com/item?id=18662585

gmcabrita··on Program your next server in Go
If all you dislike is the syntax, you can use Elixir instead.
gmcabrita··on Benchmarking Phoenix vs. Rails vs. Sinatra vs. Express vs. Martini
Erlang and Elixir can call each other with no overhead.
gmcabrita··on Big things to expect from Emacs 25
I'm running 14.04 LTS.

The theme is a modified version of Zukiwi-mac that has the new Yosemite buttons [1].

[1] - https://github.com/gmcabrita/dotfiles/tree/master/.themes/Zu...

gmcabrita··on Big things to expect from Emacs 25
I don't notice any font rendering differences from ST3 to Emacs with my setups [1].

[1] - http://a.pomf.se/ytaujl.png

gmcabrita··on The First Browser Dedicated to Developers Is Coming
They seem to have made the bug report private overnight.
gmcabrita··on The First Browser Dedicated to Developers Is Coming
This appears to be a simple rebrand of Aurora with some extra features[1].

[1] - https://bugzilla.mozilla.org/show_bug.cgi?id=1076914

gmcabrita··on A new day for Google Calendar
>I have already been getting spam through invites (where they get auto-added to my calendar even before I have a chance to see what they are).

Fortunately you can turn this off in the Google Calendar settings. This way they only get added to your calendar if you accept.

gmcabrita··on Google Inbox
It's currently unavailable for Google Apps accounts. If his apps account has access to it then it's likely that he works for Google.
gmcabrita··on Google Inbox
I have the old Google Apps Free edition and I apparently can't use Inbox, so there you go.
gmcabrita··on Going back to Dropbox from Google Drive
Would you be willing to sling away an invite?
gmcabrita··on Ask HN: Learning to write good JavaScript
Keep an eye on the up and coming http://effectivejs.com/
gmcabrita··on [dead]
It's an upvote.
gmcabrita··on Lobsters
If you're willing to toss out another invite my e-mail is on my profile.
gmcabrita··on [dead]
https://jitsi.org/
gmcabrita··on Ask HN: Must read non-programming computer science books?
http://lesswrong.com/lw/3gu/the_best_textbooks_on_every_subj...
gmcabrita··on [dead]
I think you mean movie.io
gmcabrita··on Cheat Sheet for Startup Weekend and Hackathons
Something you might not be aware of: browsing https://www.tokbox.com/blog/ yields a 404 whilst using plain http works fine.
gmcabrita··on [dead]
Dupe https://news.ycombinator.com/item?id=4017843
gmcabrita··on Google Shares Experience of Using Ubuntu in their Offices
Possibly because all of their products also have to work on OS X. Giving every developer a MacBook makes testing those products easier.
gmcabrita··on Skype IP Lookup
Worked fine here.
gmcabrita··on [dead]
http://news.ycombinator.com/newpoll
Page 1 of 2Next →