539 karma · joined August 1, 2012
I'm currently living as a Software Engineer and amateur Norwegian in Oslo.
Words are hard (and currently under a lot of scrutiny). Has anyone tried turning the language off and on again?
As always, balance is key. Mediterranean diets aren't skimping on salt but the populations are (relatively) sweating often and taking hydration seriously due to the climate.
If you have an active lifestyle, it sounds reasonable that your salt tolerance could be higher (I'm not a medical professional).
The US is an extreme outlier in this regard.
FWIW I currently live in Norway which is ~100% renewable but that's mainly hydro and a very different situation with the amount of potential energy that hydro gives the 5M population.
Forall A:
add(A, 0) == A
Forall A B C:
add(add(A,B), C) == add(A, add(B, C))
I think that’s sufficient. Rule 101 of useful testing is understanding the actual constraints you rely on.Maybe throw in add(A, B) == add(B, A) if you’re angling for a promotion…
It's hard to argue against sunlight being the best disinfectant.
It could also be the fact that purchasing a house, large enough for raising kids, in a dense urban centre is unobtainable for the vast majority of people.
However, this won't work if the page is using virtualised scrolling (common with React et al. SPA for performance reasons, to avoid huge DOM trees as the page expands). The majority of content that is outside of the visible window will simply be unmounted from the DOM.
I'm not sure what the best-practice for a webapp designer is here? Perhaps intercepting Ctrl+F and displaying a custom search that will do the correct filtering on the back-end and update/retarget the view? Azure DevOps does this but it's still frustrating if your focused element is not within the capture point for the event.
I know it's in a way tangental to what your point was, but if you read this sentence again you'll realise that it is exactly what they have tried (rather successfully) to adopt.
Except heaps / priority queues, which always irked me because it's in the Java standard library :-(
However, like I said, there are superior solutions available for these content/media producers.
Am I supposed to feel bad for them not optimising a tool that is apparently critical for their throughput and suffering mediocrity as a result?
There's an information asymmetry here and if they don't put the effort in to squeeze extra performance out of their equipment then either:
A) Someone who is putting this minimal effort into actually choosing the best tool for their job will usurp them with greater productivity.
B) Render times really aren't a bottleneck compared to the struggle of coming up with content ideas/filming the actual content -- slightly longer running tasks while people slack off and drink coffee are just fine.
I suspect it's actually the latter hence this is really a non-issue.
I'm not using my MBP to render 4k video or maxing all cores of the CPU for sustained periods.
It seems clear to me that for the casual/developer segment, that has eaten up the entire marketshare, having short bursts of peak performance on six cores is perfectly fine for compiling/coding/browsing workloads.
You'll have a hard time convincing me that sustained 100% cpu tasks should be run on portable hardware. Use remote desktop/SSH and a VM/Mac Pro if you need to hit maximum TDP for long periods, RDP has great in-house latency and has the added benefit of your lap not becoming lava.
There's a much better pattern for these tasks, and it isn't using hardware designed to be portable. Just because you can doesn't mean you should.
[1,2,3].slice(1, 3)
> [2, 3].slice(1,3) will give you elements two and three. You're looking for .slice(0,3)
Money buys the ability to follow expensive hobbies. e.g. skiing, travel, anything that requires lessons to pick-up as a skill.
Money affords the ability to travel at convenient times instead of cheaper off-peak schedules, so that you ultimately spend more time with your family and friends.
Capital investment can help creative pursuits, such as a well-stocked kitchen greatly increasing the amount of joy you can have when cooking, or the benefits of being able to relax with a home cinema/gaming/sound system that you can be truly immersed in.
Most importantly, it brings peace of mind. In my opinion one of the greatest freedoms is not having to worry about the future. Something you don't appreciate until you gain it, and something you could never imagine giving up once you've experienced it.
Don't kid yourself that you can't buy happiness. It won't dig you out of a hole if you have deeper issues, but it's definitely a significant platform to stand upon.
Actually, from the screenshot it's clearly "two-click" and "one-click" provides a link without SRI. Obviously the vast majority of people in a rush are going to use the "one-click" option, secure or not.
There's no reason why the SRI option shouldn't be default on CDNJS when the URL is specifying a specific version. Don't trust consumers to be competent, help them out with good UI patterns. We should be advocating default = secure here.
I can't see the pragmatism in demanding equivalence of regulation.
IMHO this is justified since people often overlook how critical an attack vector this would be.
Imagine if a state-sponsored "hobbyist" posted a pet project like the OP to Reddit and started harvesting keys/password reset capabilities for huge amounts of users.
Hell, people flocked to use unroll.me and then it turned out they were (predictably) scraping your entire inbox and selling the data to advertisers.
I don't believe that worrying somebody's skepticism might hurt feelings is a legitimate reason to downvote (remember, downvotes aren't about whether you agree with somebody; it's about whether they add constructively to discussion).
Aside: Great work OP. Seems like an incredibly hard sector to make traction with though, so best of luck.
I really don't want the world to devolve into a future where armies of ignored pre-teens with ipads are rapidly accelerating global warming, just so that they can watch clickbait videos and share content in $social_network_vNext, on sites sponsored by "monitising PoW".