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

Can I consent to permanent storage somewhere? I love using the timeline in Google Maps!


Yes, in “my activity.”

https://myactivity.google.com/activitycontrols

The location history setting toggles whether data for My Timeline is kept.


Why bother with jQuery? I don't see the value add anymore.


Read this whole thread. People are rewriting it over and over again because it’s out of fashion.


Another thing I painfully realized: It that is not a good idea to document HTML in HTML.

<details> <summary> It's not a good idea </summary> really. &lt/details>


It's the snappiest browser at the moment and I love its render as text function and automatic ad blocking on mobile. I've made a permanent switch on mobile, but I tend to miss the Chrome dev tools whenever I use it on a computer.

It's also wonderful that the browser is truly privacy conscious.


I know productivity takes a hit when you switch tools but FF dev tools are great, it just takes some getting used to


There is a lot of land in the world. And definitely have the capacity to build the supply chains. It's just that it's slow and expensive while oil, gas and nuclear is fast and cheap.

We need policy changes. Or in a very ideal world, fusion.


New solar is much cheaper than new nuclear, per kWh.


I did not know that. That's great!


It's startling how quickly this happened. Even ten years ago it wasn't true. Many people have not updated their priors yet and still think nuclear is a realistic option. At this point, nuclear is a long shot, which is why I refer to SMRs as HMRs, "Hail Mary Reactors".


And to elaborate on the other side of the argument: JSX creates plain JavaScript objects instead of exposing an "almost-JS" templating language. Additionally you get an enormous amount of flexibility. For some types of apps that is very important.


>> exposing an "almost-JS" templating language

I'm not certain I would call Vue.js templates as an 'almost-JS' templating language. It is pure html. A browser could render it without any js backing it up.

I can't speak for many other template specs, but I believe Angular.js was just pure html, as well, using custom properties to perform the binding between the html and the backing js, which is very similar to what Vue.js does, in that aspect at least.


It's an unstable feature, but you can use import maps with Deno.


I agree. But I do like query builders (Knex for Node). I still write and think in SQL, but don't have to write queries as strings.


> I still write and think in SQL, but don't have to write queries as strings.

Why is that a benefit though? Why would I rather learn some custom query builder-specific DSL when SQL is at least mostly standardized pretty much everywhere. The use of template strings in JS can get rid of all the problems of just plain string concatenation for SQL (e.g. it can prevent SQL injection, enable safe dynamic queries, etc.)


For 7% a P/E of 14.285714285 or less would be good to be very precise.


There should be a Promise.isThenable or Promise.is. Strictly speaking this library checks if a value is a thenable.

With optional chaining I would however use this check:

    typeof x?.then === 'function'
Or if I was code golfin:

    x?.then?.call
The first case does not account for built in prototype extensions and the second has false positives with certain data structures.

So the function in is-promise should be available as Promise.isThenable or Promise.is.


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

Search: