Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 3y ago · link · parent

Why not create a new program with a different name instead of rewriting it? It's a new program at that point anyway.

Edit: seems the article confused me with the word rewriting when the source homepage and repository says reimplemention, which makes more sense.

comment 3y ago · link · parent

I'm not familiar with the entire ecosystem but at least egui offers accessibility via AccessKit

comment 3y ago · link · parent

Sure, but it's far away from "pulls in over a Megabyte of hundreds of programming language syntax definitions" as you said:

    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.

comment 3y ago · link · parent

Ah, good point, but of course the browser also ships with APIs for dealing with XML, not doing so would be weird as HTML and the XML structure a pretty fundamental part of the web. See XMLHttpRequest, XMLSerializer and DOMParser.

comment 3y ago · link · parent

Holy shit. I thought it was a joke at first but it's from their official YouTube channel. Now it's not long until we start reading about military engagements that were made in error and a LLM/ML model gets the blame for it, instead of actual individuals.

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

But also, if you're just making two API calls (the use case for Linen) which are using JSON, you can get both request making and json parsing pretty much out-of-the-box without doing anything, web browsers JS API ships with this by default, window.fetch and response.json(), no "building your own HTTP client" required :)

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

> Love HackerNews? HN+ includes everything you love about HN to start your own.

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

- No need to deal with Google or the Play Store and everything that comes with, having to do reviews and all that

- 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

Or you must be measuring something more than just the memory Linen uses, like measuring how much memory the tab itself takes, which is Firefox + the application.

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

Hightlight.js basically have two main modes of usage:

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

At https://www.linen.dev/s/linen

Page open:

Firefox: 18.5MB

Chrome: 12.1MB

After browsing:

Firefox: 27.14MB

Chrome: 11.7MB

comment 3y ago · link · parent

Yeah, but not in the US so obviously it doesn't count as true innovation.

comment 3y ago · link · parent

Well, depends on which internet you browse.

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

> As the sibling comments says, the USA has far more immigration than, well, anywhere in the world.

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

According to sources gathered by Statista, Asia Pacific is the largest market for gaming: https://www.statista.com/statistics/539572/games-market-reve...

(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

> They've initialized this crackdown in a few different waves. I can't imagine they would continue to do it if it were detrimental to their bottom line.

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

I felt the opposite, two first seasons were great, last one not so great. Still a good show though.

comment 3y ago · link · parent

Again, CMA is not investigating what matters for gamers or not, but investing what market hold the entity has, if they are likely to abuse it and if the acquisition would make the market hold stronger.

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

You can read the summary yourself if you want, but it's 400+ pages, so might take a while. It's here: https://assets.publishing.service.gov.uk/media/644939aa529ed...

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

I don't think the US has all of neither, but especially not revenue. Asia tends to be the biggest market, with the US being the second and EU third. Usually, US has maybe half of the profits as the Asia counterpart, while EU has half of that.

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

Yes, both companies have offices around the globe, with corporate entities all over the place. As those have to operate within the laws of the countries they're incorporated in, if they get blocked by some local watchdog, the acquisition wouldn't be able to be completed in that country.

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

If you wanna play devil's advocate, at least try to answer the concerns voiced by the watchdog.

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

Was this proven in one way or another? You speak of it as it's 100% sure it happened, but I haven't seen anything but rumors about this, you wouldn't spread hearsay on HN right?

comment 3y ago · link · parent

Countries (or their leadership) can be good and bad at the same time, for different reasons.

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

Probably React is easy for someone who already knows it. Is it "simple"? No, not by many measures. Just like game dev UI is easy for someone who is used to it. Is it "simple" though? Nope, also not simple.

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

> the number will drastically go up when Chrome 113 is out of beta

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

Yeah, I don't think it's super common to have that available, in most segments.

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.

comment 3y ago · link · parent

That would mean that Asia is the greatest innovators, by that metric. Do you agree with that?
1
495051
307