Hacker Newsnew | past | comments | ask | show | jobs | submit | tokenizerrr's commentslogin

I really don't get why I would want to run an operating system where the vendor refuses to support my hardware.

Also, the font color on this blog is absolutely horrible.


> the font color on this blog is absolutely horrible.

Yeah, I've noticed more sites do this. Super annoying. I made this bookmark for those cases:

    javascript:(()=>{document.querySelectorAll("p,div,article,section,ul,ol,li").forEach(x=>{x.style["color"]="black";});})();


Thank you for that. Nothing worse than shitty web design.


I think this is the real reason not to build a hackintosh.

I don’t find the “theft” argument compelling, because Apple doesn’t even sell OSX anymore. They’re a hardware company.


There’s not really a vendor here since macOS is free. Linux isn’t exactly free from the need to choose well-supported hardware either, particularly of you need to run a more stable distro


macOS isn’t really free. It just “comes with” the hardware you just bought. You’re not supposed to download the OS unless you have qualifying hardware. A hackintosh rig does not qualify.


This page is hosted by the verge themselves so has absolutely nothing to do with Google trying to control the web. It also does not load slower.


The concept of amp is google trying to control the web.

Also, my understanding is that all amp pages have to load the required js from an amp project cdn, which is ultimately a google cdn.

And yes, it most definitely does load slower for me - I have nothing but a blank white page for several seconds.


>And yes, it most definitely does load slower for me - I have nothing but a blank white page for several seconds.

This is quite obviously an error state, likely caused by an extension of yours. Have you tried using Amp in a fresh install of a different browser? Using different network settings?

It seems very likely that you are the reason amp doesn't work for you.

And this is coming from an amp hater.


The issue is that for some reason amp usually seems to block the content from being displayed until the javascript loads, which strikes me as the exact opposite of what an "accelerated mobile page" should do (almost like it was designed by an advertising company wanting to discourage ad blockers...). You can bypass it by activating reader mode in your browser.


Not only that, but AMP pages are only potentially perceived as 'fast' when you access them through google's search. When you do that all the AMP links' assets are pre-loaded in the background so it seems fast when you click through. But AMP pages themselves are just the same speed as anything else or slower when access without google's monopoly position pre-load.


All of these packages are created by Jon Schlinkert (https://github.com/jonschlinkert). So if you want someone to blame...


https://github.com/jonschlinkert/is-odd/blob/master/index.js

Edit:

the original code, even before the float handling, was was a perf optimisation:

    !!(~~i & 1);
Nobody wants to see that in code unless it has a name. Maybe isOdd(). Maybe we should put it on GitHub to save others time. Sure beats copy-pasting from StackOverflow.

Original:

Did you think of handling floats in your home built isOdd implementation? Thankfully Jon (EDIT: or one of his contributors - doesn't change the point) did. And they added tests.

The (flagged) article makes the staggering assumption that "we can't code" because we're not constantly reinventing the wheel. It talks about DRY being taken too far and talks about the functions being replaced as "one liners", when following a couple of links would show they're not. We can code, we're just coding on actual features, not rewriting the same poop.



Isn't this evidence that the system is working?

Because it's a package, a bug/oversight was found, and it was made more robust.

I still wouldn't personally use `is-odd`, but isn't this proof that having something even this trivial as a package can have benefits?


I find it interesting that the author added an `isInteger` dependency then went on to not use it.


I'd say there are very few circumstances where you want to know if a number is odd but could plausibly have floats as an input.


Anyone know when the Google websites will start using this? Would love to finally be able to use my Yubikey with Firefox and Google.


you can partialy (password + second factor authentication) use this when using 2FA with your Google account, https://support.yubico.com/support/solutions/articles/150000...


Doesn't work with Firefox yet AFAIK. That page mentions requiring Google Chrome.


It works with Firefox 60, Google however sometimes relies on Chrome quirks not specified in the standard which may not make it usable in Firefox. (Last I checked)


It does not, and Google does not yet even attempt to use WebAuthn. They're still using the (now legacy) U2F authentication mechanism, which firefox does not fully support. It works in some sites if you enable it in about:config, but not all. Like google.com.


Hmm, yeah, I was more aiming at "Firefox has working WebAuthn in the newest Version, Google just doesn't use it properly or at all", I should have expressed that better.


Would love to be able to self host this though and access it through the browser... That'd be awesome.


Why is that preferred for you, may I ask, over running it as a local desktop software?


Running it locally is fine, but a hassle if I need to access my mail on someone else's hardware (or my phone). I think this is one of the main reasons Gmail is so popular.


It seems bundling mails together isn't in Gmail yet? Too bad, it's the only reason I use Inbox.


> automated build process

> Mac

Why would anyone run a CI server on a Mac?


Perhaps it's just their preferred platform. If it weren't for the expense I'd probably prefer it over Windows at least. At any rate, the readme does link to this article[1] if macOS isn't your thang.

[1] https://addyosmani.com/blog/image-optimization-tools/


You need to if your product is a macOS or iOS/watchOS/tvOS app.


Putting a phone in a faraday cage kind of blocks the purpose of having a phone with you.


Daemon by Daniel Suarez is kind of like that, except it turns out the AI is arguably good and not exactly an AI. It's an excellent book, with an excellent sequel.


Federation is a completely different story from a third-party client.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: