Better HN
topnewbestaskshowjobs
Log inSign up

aboutruby

1,129 karma · joined Jan 9, 2019 (7y ago) · 472 submissions

Submissions

comment 7y ago · link · parent

Great feature and a pretty straightforward polyfill, could even be implemented before Chrome releases it (the context menu to get the link being the hard part, but a select text + tooltip with "Copy link to this text" would work, or I'm pretty sure good designers will find great UIs for it, might even normalizes as a new pattern)

comment 7y ago · link · parent

Even if the goal of getting Ruby 3 to be 3x faster than Ruby 2 on a typical Rails app is reached, it would be far from the 17x speedup they got by moving to Rust.

comment 7y ago · link · parent

Symbols in Ruby are basically concise strings, :id is a symbol, "id" a string. There are some differences of how they are allocated but it's mainly a style preference and a convention.

e.g. you would typically do { id: 1, name: "aboutruby" } where id and name are symbols, instead of { "id" => 1, "name" => "aboutruby" } with strings.

But really I don't see the point of removing the symbols.

comment 7y ago · link · parent

They just moved a computationally intensive task to a much faster language. Not as large scale as moving everything from Rails to Scala in the case of Twitter for instance, but pretty standard is any large Rails application to use faster languages for performance sensitive tasks.

comment 7y ago · link · parent

I was expecting some ncurses-based interface

comment 7y ago · link · parent

> In 2018, Reddit received 28 requests for the production of user account information from foreign governmental authorities (excluding emergency requests). Reddit did not comply with any of these requests.

comment 7y ago · link · parent

My theory is that the challenges are actually just to slow down humans trying to do repetitive sensitive tasks (sign ups for instance).

comment 7y ago · link · parent

I think only Reddit has mastered the large-scale discussion involving thousands or ten of thousands of people at the same time.

comment 7y ago · link · parent

From a user point of view I much prefer AWS than Google Cloud (and I got used to the AWS names). Also as AWS is what basically everyone used, all the tooling is built mainly around it and sometimes support Google Cloud but it's not very well tested / supported. All that steams basically from being the leader by a vast margin.

comment 7y ago · link · parent

I agree with the core idea. I've seen all kinds of people use SQL in their jobs even if it's not every day: marketing, finance, developers obviously, etc.

comment 7y ago · link · parent

They must negotiate very well because as an iOS user I would be disappointed to not have Google as default (like when Firefox switched to Bing).

comment 7y ago · link · parent

There has been remote control by viewing a web page (classic), a pdf, a word document, receiving a text message, just being connected to the internet, etc. And that's just the beginning, then comes all the indirect attacks like stealing your domain, phone number, identity for loans, etc etc

comment 7y ago · link · parent

Thanks, I didn't know anyone else made a WebGL/wasm export tool for games.

https://docs.godotengine.org/en/3.0/getting_started/workflow...

comment 7y ago · link · parent

Funded Nov 1, 2014: https://www.crunchbase.com/organization/metabase

comment 7y ago · link · parent

The idea is to have a vetted word of mouth so the legitimate way is to personally know someone who has been invited there.

comment 7y ago · link · parent

There is also https://ruby.github.io/TryRuby/ (inspired by the now defunct tryruby.org)

Also my favorite: https://learnxinyminutes.com/docs/ruby/

comment 7y ago · link · parent

And then why couldn't Twitter itself do it?

comment 7y ago · link · parent

I mean, the account stealers can do it, and not Twitter itself? Which one has the most ressources?

comment 7y ago · link · parent

Seems like most spammers / scammers are finding out passwords of old accounts instead of creating new ones (which are a pain to create due to the phone number verification and the disposable phone numbers ban).

Twitter should probably scan their user passwords for obvious / most-used ones and require their users to change their passwords.

comment 7y ago · link · parent

I only tried Symfony 1.4 and 2.0. And I'm doing Rails from 2.3 to 5.2.

I could go on a very long discussion about why I prefer Rails but at the end of day it's just up to you to compare.

When I started Rails I was building an app with Symfony, took me a week to get it to a good state and it was extra frustrating (I had been doing PHP for 5 years).

I started Rails, learned Ruby on Wikipedia and just general googling and got the same app in a few hours.

comment 7y ago · link · parent

Seems like he should try Rails (from which Symfony was inspired) and that is much better suited for building web apps that Go

comment 7y ago · link · parent

I think keeping some color coding for the lines that got added / removed (better for the characters added / removed) would be nice (e.g. just an almost transparent background color on the lines / characters like Github does).

Otherwise great idea and I really like the URL-based projects.

comment 7y ago · link · parent

Badly formatted paste of the content of the article: https://8cf91ddf-e6b2-465a-9f10-1f631650f4ed.htmlpasta.com

(Even if you can just put anything in the email form)

comment 7y ago · link · parent

That's one of the main languages at Google. And there are moving towards more Go since a few years.

comment 7y ago · link · parent

I'm pretty sure I saw that graph of the CEO not working much correlating with low growth like a year ago

comment 7y ago · link · parent

Seems like Elon Musk is a "good" billionaire for instance. The people who want to get rid of billionaires don't seem very well informed and use it as some kind of catch-all to explain where all their issues come from. It's very much disconnected from reality.

comment 7y ago · link · parent

Much better, nice!
1
101112
16