37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions
comment 3y ago · link · parent
76K node_modules/highlight.js/lib/core.js
20K node_modules/highlight.js/lib/languages/javascript.js
But I agree with you, that you probably want to only load it when really needed, especially if your total budget is 500kb which this would take a big part of it already.Edit: I see now their budget was actually more than 1MB actually, as they for some reason only "really care" about gzip'd sizes... Then I wouldn't say it's so bad to just say fuck it and do it the easy way. Saves any latency introduced by lazy-loading it too.
1476.
3,163 ingredients hide behind the item label “fragrance”(ewg.org ↗)
3 points · by capableweb · 3y ago · 4 comments
comment 3y ago · link · parent
You need to have two calls at least, generate a signed URL and then actually uploading it. How many lines on the client would you guess that requires? My guess is less than 30, and you cover 100% of your use case without putting in any 3rd party code what so ever. Sounds like a solid win with few drawbacks.
comment 3y ago · link · parent
Obviously HN+ is missing the single most important thing about HN, the users.
Also, did you really have to steal the name too? Would probably been better off if you called it something different.
By the way, you should read your own terms of service and maybe start following it yourself if you ask others to follow it too?
> Your site is not getting advertised via unwanted electronic messages such as spam links on newsgroups, email lists, other forums and web sites, and similar unsolicited promotional methods;
> Your site is not named in a manner that misleads your readers into thinking that you are another person or company. For example, your site’s URL or name is not the name of a person other than yourself or company other than your own; and
comment 3y ago · link · parent
- Faster deployments to actual devices. AFAIK, you could even implement self-updating if you're feeling brave
- No sharing of data to Google and/or Play Store.
- Basically everything that the Play Store is now allowed, as you set your own rules (besides local regulation).
Basically, lots of goodies for developers and companies who want to skirt whatever safety Google has setup, with minor benefit to the users themselves.
comment 3y ago · link · parent
Doing a heap snapshot will give you a better view of the page memory usage in isolation, without involving the browser itself.
comment 3y ago · link · parent
The one you complain about is specifically about importing everything, because that's what the user wants in that case, importing it like that signals that that's what the user wants.
Otherwise you can do the following:
import hljs from 'highlight.js/lib/core';
import javascript from 'highlight.js/lib/languages/javascript';
hljs.registerLanguage('javascript', javascript);
Maybe the defaults should be different, but a 30 second read of the most basic information available in the repository would reveal how you can use it the way you want too, without any complication that the rest of your comment seems to want to introduce.comment 3y ago · link · parent
Page open:
Firefox: 18.5MB
Chrome: 12.1MB
After browsing:
Firefox: 27.14MB
Chrome: 11.7MB
comment 3y ago · link · parent
On the English speaking internet, TikTok does indeed get a lot of flak.
But on the other internets, Microsoft gets lots of criticism for how the spy on users too, together with all the other big US-based companies.
It receives it on the English speaking internet as well, but nowhere near the level as what can be seen outside of that.
comment 3y ago · link · parent
By total numbers, probably. As a % of population, I don't think the US comes even close to the top. Probably even Canada and other North American countries have a even higher percentage, so it doesn't even have the most in North America.
comment 3y ago · link · parent
(in billion U.S. dollars)
- Asia Pacific - 87.9
- North America - 48.4
- Europe - 32.9
- Latin America - 8.4
- Middle East & Africa - 6.8
comment 3y ago · link · parent
Companies regularly do things that are detrimental to their bottom line because they either misunderstood how their customers use their product, or because they are trying to please shareholders, or a combination of both.
comment 3y ago · link · parent
In the case of consoles, their own argument is that no, the market hold would not grow stronger.
In the case of cloud gaming, their argument is that Microsoft already have a strong hold on the market (in the UK) and the acquisition would likely lead to a stronger hold.
Xbox as a console and Windows as a OS and nothing to do with the case they're making.
> This honestly reeks of an analysis done by outsiders that don't actually understand the industry. On the other hand, this consolidation also sucks to see.
Yes, because they are not experts in the gaming industry, they are experts in the industry of businesses in general, and monopolies.
Same could be said about your own argument, it reeks of an analysis done by someone who have no grasp on wider markets and monopolies, but happens to have knowledge about gaming to some degree.
comment 3y ago · link · parent
Key takeaways:
> In relation to console gaming services, we found that Xbox (Microsoft) and PlayStation (Sony) compete closely with each other, and that Activision’s Call of Duty (CoD) is important to the competitive offering of each. The evidence suggests, however, that Microsoft would not find it financially beneficial to make CoD exclusive to Xbox after the Merger. We also found that making CoD available on Xbox on better terms than on PlayStation would not materially harm PlayStation’s ability to compete. On this basis, we found that the Merger would not substantially reduce competition in console gaming services in the UK.
> In relation to cloud gaming services, we found that Microsoft already has a strong position. It owns a popular gaming platform (Xbox and a large portfolio of games), the leading PC operating system (Windows), and a global cloud computing infrastructure (Azure and Xbox Cloud Gaming), giving it important advantages in running a cloud gaming service. With an estimated 60-70% market share in global cloud gaming services, it is already much stronger than its rivals.
> We found that the Merger would make Microsoft even stronger and substantially reduce competition in this market.
According to the people who done this research (CMA), they seem to say MS already have a 60-70% marketshare, and making that higher via a acquisition, will make it harder for others to enter the market.
CMA of course cannot make competition to step up, but they can try to stop incumbents from becoming monopolies, which is what's happening here.
comment 3y ago · link · parent
So if the acquisition gets blocked in the EU, they'll miss out on a ton of revenue, for sure.
Not to mention the operational overhead of actually operating the machinery when the machinery is banned in the EU but not the US.
comment 3y ago · link · parent
More so, the merger is also discussed in the EU in general, which is a bigger market than just the UK alone, and if the acquisition gets blocked in the UK, EU watchdog will surely use that block as prior material for doing a EU-wide block.
Hence Microsoft is lobbying both the UK itself and Europe wide for making the acquisition go through.
Of course, even if the acquisition gets blocked everywhere but in the US, the US counter-part can still be acquired, but not sure how much sense that would make, they'll probably end up not going through with it at all in that case.
comment 3y ago · link · parent
The concern is not who can develop the existing IPs the best or if Activision/Blizzard will continue to exist. The concern is that Microsoft already has a strong position, and consolidating it further will make it even harder than it is for new entrants to have any chance.
> “Microsoft already enjoys a powerful position and head start over other competitors in cloud gaming and this deal would strengthen that advantage giving it the ability to undermine new and innovative competitors,” Martin Coleman, chair of the independent panel of experts conducting this investigation, said.
If you're still up for playing devil's advocate, come up with an argument against that this acquisition wouldn't consolidate anything in Microsoft's favor, and as a result lead to fewer consumer choices.
comment 3y ago · link · parent
China - Awful way of treating people, illusion of democracy, but at least they reign in huge companies.
US - Democracy but companies wield huge power. Doesn't seem to care about people's health much.
Many European countries - Huge focus on caring about public healthcare, companies under control but innovation stifled a lot of times
Same goes for basically every country, and it's important to be able to see the good and bad at the same time, to have a bit perspective. No country is 100% good, nor is any country 100% bad.
comment 3y ago · link · parent
UI, simple as it seems to some and complex to others, seems to still be a problem that there is no simple solutions to, they all carry a lot of accidental complexity, web UIs or not.
comment 3y ago · link · parent
Which coincidentally is happening in about 5 hours (but it'll take many days for the update to actually go everywhere) according to https://chromestatus.com/roadmap, exciting :)
comment 3y ago · link · parent
Although I think Apple doesn't sell computers with less than 8GB RAM, which is used by the GPU as well as the memory is unified.
And latest Valve survey says that at least ~54% of people using Steam who participate in the survey, has a GPU with 8GB or more.
According to https://web3dsurvey.com/webgpu WebGPU enjoys a whopping ~6% browser support.
But the previous two segments are very small ones, if you compare to everywhere computers are being used. Coupled together with that WebGPU is hardly enabled anywhere, I wouldn't be surprised if maybe only ~1% of everyone using their own computer have access to 8GB VRAM + can use WebGPU.
So yeah, bit weird to say everyone when looking at the requirements of 8GB VRAM + WebGPU enabled browser.