News for hackers. Stuff that matters.

aboutruby

Re:Announcing workers.dev on Tuesday February 19, 2019 @06:32PM (#19204085)
> Cloudflare provides DNS services to 12 million websites, adding approximately 20,000 new customers every day.

https://en.wikipedia.org/wiki/Cloudflare

> Roughly five percent to 10 percent of web traffic now goes through CloudFlare

https://www.wired.com/story/cloudflare-spectrum-iot-protecti... (April 2018)

> 10 trillion requests per month, which is nearly 10 percent of all Internet requests for more than 2.5 billion people worldwide

https://www.cloudflare.com/press-releases/2017/cloudflare-gr... (2017)

Re:Jeff Bezos at YC Startup School 2008 [video] on Tuesday February 19, 2019 @05:18PM (#19203435)
Seems to be on purpose to not share sensitive data.
Re:Google Teases a Big Gaming Announcement for March 19th on Tuesday February 19, 2019 @01:48PM (#19201603)
Project Stream will probably allow those on Linux, macOS, and especially ChromeOS to play most games, including recent ones. Which may let people switch platform more easily and/or avoid dual-booting.
Re:Shazam removed all 3rd party SDKs from its iPhone app on Tuesday February 19, 2019 @01:24PM (#19201381)
You can use a DNS like AdGuard to block most of the requests on iOS
Re:Shazam removed all 3rd party SDKs from its iPhone app on Tuesday February 19, 2019 @10:45AM (#19199700)
Good luck removing that Firebase integration on Android
So, only needs a 0.06% chance of a package having compromised code (e.g. bitcoin stealer, ssh/pgp keys stealer, keylogger, mitm, etc etc.)
Re:2.7M medical calls breached in Sweden on Monday February 18, 2019 @11:00AM (#19191588)
The government can't fine itself I guess, so it would have to be the EU that fines sweden? Or some kind of class action from swedes?
Pretty much every download link is down, but the torrent is working: magnet:?xt=urn:btih:j6ixrzpitvpmkx5tgroy6utcpqr5hhhj&dn=updated%20mosaic.png&xl=304863698&fc=1
Re:LD_PRELOAD: The Hero We Need and Deserve on Sunday February 17, 2019 @08:30PM (#19188052)
In Ruby world a lot of people use LD_PRELOAD to change the default malloc to jemalloc (or tcmalloc): https://github.com/jemalloc/jemalloc
Re:Microsoft’s New MT-DNN Outperforms Google BERT on Sunday February 17, 2019 @04:34AM (#19183581)
Re:Txti – Fast web pages for everybody on Sunday February 17, 2019 @03:33AM (#19183349)
I'm using a code block for the new lines (```)
Re:Txti – Fast web pages for everybody on Saturday February 16, 2019 @09:08PM (#19182209)
This is really, much faster than pastebin (no captcha) and doesn't require registration like gist.github.com.

I think it should say on the homepage that the content is parsed as markdown (it's in the howto but could be summarized as one word that is starting to be quite universal (even Reddit uses it)).

Very neat, I'm going to use it often, thanks.

edit: yes and HTTPS would be nice, Cloudflare does it for free and automatically for instance (Heroku too and I'm sure many others)

edit2: Also it's removing newlines: http://txti.es/yw35f (should be test and test2 on two lines).

Re:Finding Lena Forsen, the Patron Saint of JPEGs on Saturday February 16, 2019 @08:57PM (#19182170)
> Please note that we no longer distribute the following images that were previously available in our database: 4.2.04 (lena), 4.2.02 (tiffany), elaine.512, numbers.512 and testpat.1k. Although these images have played a significant role in the history of image processing, they no longer represent the best examples for future research.
Re:Cygwin 3.0.0-1 on Saturday February 16, 2019 @05:05PM (#19181226)
> - Support for case sensitive directories. mkdir(2) automatically creates directories within the Cygwin installation dir as case sensitive now.

> This feature requires Windows 10 1803 or later and WSL installed!

Interesting, so is cygwin going to be based on WSL?

Re:Google .dev domain early access on Saturday February 16, 2019 @10:08AM (#19178850)
Pretty sure the first domains acquired will be targeted at local development setups, like tmp.dev, staging.dev, production.dev, etc. etc.

edit: just a reminder that .local is the reserved one https://en.wikipedia.org/wiki/.local

Re:Intern at a YC Company on Friday February 15, 2019 @06:37PM (#19175821)
He could easily get an internship at Facebook (non-YC) or maybe Airbnb (YC). He definitely has enough skills to get a good internship.
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)
Re:Moving from Ruby to Rust on Thursday February 14, 2019 @10:47PM (#19168319)
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.
Re:Moving from Ruby to Rust on Thursday February 14, 2019 @10:38PM (#19168275)
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.

Re:Moving from Ruby to Rust on Thursday February 14, 2019 @05:23PM (#19166656)
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.
I was expecting some ncurses-based interface
Re:Reddit Transparency Report 2018 on Wednesday February 13, 2019 @07:02PM (#19158405)
> 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.
Re:Why can’t a bot tick the 'I'm not a robot' box? on Wednesday February 13, 2019 @05:24PM (#19157723)
My theory is that the challenges are actually just to slow down humans trying to do repetitive sensitive tasks (sign ups for instance).
I think only Reddit has mastered the large-scale discussion involving thousands or ten of thousands of people at the same time.
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.
Re:SQL: One of the most valuable skills on Tuesday February 12, 2019 @10:33PM (#19150137)
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.
Re:Apple makes billions from Google Search each year on Tuesday February 12, 2019 @03:50PM (#19147355)
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).
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
Re:Unity Technologies Targeting 2020 IPO on Monday February 11, 2019 @07:38PM (#19139960)
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...

Older »