13,342 karma · joined Aug 8, 2008 (18y ago) · 3,882 submissions
comment 3y ago · link · parent
Consequently, just like Go-lang, it beats Ruby by an order of magnitude on pretty much any benchmark.
Newcomers often assume Crystal must be sluggish like Ruby because "how could a language with such a convenient syntax be so fast", but it really is not.
comment 3y ago · link · parent
It retains most of the flexibility and DSL capabilities, but the type- and nil-safety allow you to leverage them without nasty surprises at runtime.
Not having to guess what a method or block returns and instead having the compiler tell you when you get it wrong makes an enormous difference.
comment 4y ago · link · parent
And to add insult to injury, your listening audio quality also gets degraded whenever it's on... So it's a lose-lose for both sides every time you use it.
My main complaint is that OSX has no setting to completely disable it. I have to manually switch to the Macbook internal mic basically before every call.
I wish they would just sell a model without the crappy mic. I would even happily pay less for it.
comment 4y ago · link · parent
It seems founders should adopt a similar stance: Friends don't let friends get bought by Salesforce.
I wonder if James et al regret having fed their baby to the devil. Surely a better buyer could have been found, one that doesn't destroy everything they touch. But no blame here. They had their well-deserved payday and we shall remain grateful for all the good patterns, ideas and years of solid service they contributed to our craft.
R.I.P. Heroku!
comment 5y ago · link · parent
This is not about child porn nor about what AV software can or cannot do.
It's about normalising mass surveillance and implementing populace control. They don't want another Snowden to scare the public with reports about "backdoors" and mass privacy violations.
They want the coming generation to perceive it as normal. Because all phones do it, hasn't it always been this way, and think of the children.
Oh, these dissidents in $distant_country that will be muted and killed using Apple's shiny surveillance tech? Well, evil governments do what they do. But we are not like that. Over here it is only about the child predators. Trust us.
Apple has been an opponent of these developments for decades. Now they are spearheading it.
comment 6y ago · link · parent
A door without a latch does not prevent an unauthorized person from trespassing. A camera without a cover does not prevent an unauthorized person from trespassing.
Apples webcams are broken by design.
Other companies fixed theirs years ago: https://www.youtube.com/watch?v=37NFVGLX3vw
comment 6y ago · link · parent
Activate the complex modification called "Change caps_lock to control if pressed with other keys, to escape if pressed alone".
Now you have a capslock key that doubles as control and escape and your pinky can begin recovering from the decades of abuse.
comment 6y ago · link · parent
Crystal is a fantastic language for server-side programming where it pairs the performance of Golang with the expressiveness of Ruby.
I imagine most Crystal users love it for exactly that reason and have little interest in development resources being diverted to a platform that they have no use for.
comment 8y ago · link · parent
No OS or Firmware update will fully fix Spectre.
All applications that interpret untrusted code (such as Web browsers) also have to be patched.
https://gist.github.com/woachk/2f86755260f2fee1baf71c90cd653...
comment 9y ago · link · parent
They create a map of your place and then clean it systematically instead of randomly like the cheaper Roombas.
This is obviously much faster, but also less thorough (lower number of passes over any given spot) and less robust (navigation easily gets confused by sunlight, dirty sensors, room changes, etc.).
comment 9y ago · link · parent
systemd has a horrible security track record and should not be allowed on any server that is connected to the internet.
The last remote-root exploit from 2 months ago: https://www.theregister.co.uk/2017/06/29/systemd_pwned_by_dn...
The major distros urgently need to get rid of systemd and return to proven, modular init systems.
systemd was the biggest single mistake in UNIX history.
comment 9y ago · link · parent
Your lifetime value for Google multiplies when they can track your location. They learn where you live/work, how you commute, who you hang out with, whether and where you travel, when you get sick, etc.
Much of it can be approximated by looking at your searches alone, but the correlation with your location record yields much higher accuracy.
comment 9y ago · link · parent
There's dozens of CDNs to choose from (https://www.cdnplanet.com/), with the best one obviously being https://fastly.com
However, for most companies it's a wash which CDN to pick.
Unless you're serving media to a large audience the cost is usually in the low triple digits. And unless you need to serve problematic regions (parts of Asia, Africa), there is barely a difference in performance between most of the contenders.
So what tips the scale for any one of the CDNs?
Well, after this move me and certainly others will definitely consider Cloudflare more often than previously - out of sheer sympathy.