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

Native EventSource doesn’t let you set headers ([issue](https://github.com/whatwg/html/issues/2177)), so it’s harder to handle authentication.


Remember in that time, less web content meant major media outlets dominated news and entertainment on TV and newspapers.


Ideally, integration tests should not touch a real database. That would be more of an end-to-end test, that could be actually monitoring.

But mocking things are hard on Rust because of its strong type system, so this project can be useful.


Since iOS 11, turning Bluetooth off from the control center only puts Bluetooth on a timeout until the next morning instead of disabling it permanently, as one would expect. Even when it’s off, the antenna stays on, looking for new devices. You can turn it all the way off by digging into the settings menu, but as soon as you turn it on for any reason, the cycle starts again.


I personally really like this, because 95% of the time when I turn off my Bluetooth what I’m really wanting to do is put it on pause. The times when I want to turn it off completely, I also want to turn off everything else (Wi-Fi etc.) so airplane mode (which does not time out) works great.


JQuery would make sense when we didn’t have querySelector and fetch API. I can’t think of any reason to use it today on a new project, there are not advantages over vanilla.


The native API is much more verbose and less composable. It was a real lost opportunity.


  const $ = document.querySelector.bind(document)
  const $$ = document.querySelectorAll.bind(document)


Oh, I wish it was that simple.


jQuery's syntax is 10x better than vanilla javascript


Bullshit, the jQuery "Ajax" API is a hellish convoluted nightmare with zero consistency.

https://api.jquery.com/category/ajax/

Have you seriously looked at this and thought "yeah thats better than using a single native function (fetch)"?

As for the rest of the API - what would you even use besides the css and selector functions? Which again, the native `classList` and a simple bind to the selectors are simpler and less verbose.


Jquery does not solve everything, but it does have a nice api

    $(this).closest(".cont")
for example, is pretty nice in jquery.


To me it seems that parent comment is intentionally agreeing with the author, and just adding his own perception (which corroborates to the point).


> what do we know for sure Google know and track about us?

For start, your entire search history. After you search, Google tracks how much time you spend on those sites with AdSense. Google reads our emails to scan for flights and to add appointments to calendar. It knows the places we go because Google Maps and the videos we watch online.

Google has plenty data to make an accurate profile of you, and you can see it’s inferences on your relationship status, income, employer and so on in your Google account[1]. (IIRC it was more complete some years ago, now it’s showing less categories or there’s another link I can’t find.)

[1]: https://support.google.com/My-Ad-Center-Help/answer/12155964...


How does this language implementations in the language itself works? Isn’t it trivial to implement any feature, given it’s already implemented? They use lower level features to implement higher level ones?


Sure, you can implement the primitives by just passing through to the host runtime if you want, but you still have to parse the source and walk the AST first.


It doesn’t need to be switched, you can submit the project page anytime.


Bulma is smaller. But I feel CSS frameworks are not much flexible, which may explain their decay. Also, frontend modern tooling helps you build your own components with minimal CSS helpers, like Tailwind.


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

Search: