Better HN
topnewbestaskshowjobs
Log inSign up

SquareWheel

5,684 karma · joined Nov 8, 2011 (15y ago) · 2,036 submissions

Submissions

comment 2y ago · link · parent

Did you click through to the video? Because the acceptance speech seemed to show the opposite of hubris to me. Specifically in owning up to the mistake, and using the award as a reminder to do better in the future.

comment 2y ago · link · parent

> If they make money by identifying allergies and then treating those people for those allergies, as opposed to parents giving their children 2 peanuts a week, then their livelihood is under threat.

I find that view to be overly pessimistic, and not reflective of what health care providers actually do. Practitioners of all sorts work hard to cure and prevent diseases every day. Every time a cancerous tumour is removed, it significantly reduces the chances of that person needing follow-up care. Every vaccine that is given reduces future hospital visits. Every piece of good advice to exercise and eat right keeps somebody away from the doctor, rather than turning them into a repeat customer.

Doctors aren't evil. They aren't scheming to lock patients in by offering suboptimal treatments. They provide the best care that they're able, within the limits of the knowledge and resources available to them.

comment 2y ago · link · parent

> who says open source colloquially?

There is a large span of people between gray beard programmer and lay person, and many in that span have some concept of open-source. It's often used synonymously with visible source, free software, or in this case, open weights.

It seems unfortunate - though expected - that over half of the comments in this thread are debating the OSD for the umpeenth time instead of discussing the actual model release or accompanying news posts. Meanwhile communities like /r/LocalLlama are going hog wild with this release and already seeing what it can do.

> any software developer should have a firm grip on the terminology and details for legal reasons

They'd simply need to review the terms of the license to see if it fits their usage. It doesn't really matter if the license satisfies the OSD or not.

comment 2y ago · link · parent

> specific, widely accepted definitions

Realistically, nobody outside of Hacker News commenters have ever cared about the OSD. It's just not how the term is used colloquially.

comment 2y ago · link · parent

I'm surprised that a browser extension is able to change your saved preferences at all.

comment 2y ago · link · parent

I'd image it's pretty typical analytics stuff.

• Logging events for errors.

• Seeing device statistics to know which browsers/devices to support/optimize for.

• Reviewing page flows to understand how users navigate/understand the site. Is the navigation easy to understand? Are the right pages highly-visible?

• Seeing which pages have high drop off rates, indicating either a resolution or lost hope.

• Analyzing trends over time to better understand users and the topics they're focused on. Is there high traffic to covid-19 symptom pages? Or maybe student loan forgiveness resources?

I can see a lot of meaningful and actionable data being gleaned from such systems. It's much more difficult to make improvements without supporting data.

comment 2y ago · link · parent

Seems a bit simpler than setting up a Server Container. Am I correct in understanding that this is meant to run on a CDN or load balancer? I'm curious what kind of effect is has on performance vs making direct requests to endpoints.

comment 2y ago · link · parent

Lines of code are essentially doing the same thing as boxes and arrows. It's just a different representation of the same idea. You can see pretty direct translations in programming languages like Scratch, Unreal Blueprints, and Godot 3's visual scripting. As well as logical implementations in tools like Davinci Resolve Fusion.

I think most programmers find this logic easier to type out than to "draw" in a graph, but it's conceptually the same thing.

comment 2y ago · link · parent

Appreciate the info and links.

comment 2y ago · link · parent

So it's loading an instruct model for inference? That seems a fair bit less useful than a base model, at least for more advanced use cases.

What about running LoRAs, adjusting temperature, configuring prompt templates, etc? It seems pretty early to build something like this into the browser. The technology is still changing so rapidly, it might look completely different in 5 years.

I'm a huge fan of local AI, and of empowering web browsers as a platform, but I'm feeling pretty stumped by this one. Is this a good inclusion at this time? Or is the Chrome team following the Google-wide directive to integrate AI _everywhere_, and we're getting a weird JS API as a result?

At the very least, I hope to see the model decoupled from the interface. In the same way that font-family loads locally installed fonts, it should be pluggable for other local models.

comment 2y ago · link · parent

If you put quotes around the string (the "exact match" operator), the only results are this very thread. So it seems to be working as intended.

Basically, you did a fuzzy search and got a fuzzy result. Usually that's what people want. Quotes will let you fine-tune results. Or if you want all results to be strict by default, use verbatim mode. I tested that with the above string and again, only this thread showed up.

comment 2y ago · link · parent

Well, maybe. It's a factor that a twiddler can influence, but we don't know if that's done positively or negatively. It might also be more conditional, like for specific types of queries.

For example, a small, personal blog might be great for solving a specific technical problem ("my dishwasher of model XXX has YYY problem"), but might be terrible for something like giving public health advice.

comment 2y ago · link · parent

In many ways, on release is even worse for shaky hands. Imagine trying to use the vote icon next to this comment with your hand shaking. You need to both click and release without leaving the icon, which is extremely small.

With on click, it only requires lining it up once before executing. There's less follow-through required. And as a best practice, there is an undo button.

comment 2y ago · link · parent

Discord search is one of the worst I've ever used. They remap words like "localization" to "local", which makes it impossible to search for more specific terms.

comment 2y ago · link · parent

Sorry, I'm not a WSJ subscriber. It wouldn't surprise me if Google are being squeezed between two organizations with different goals though.

Ultimately the Privacy Sandbox has dozens of different proposals, and each is on a separate standards track. It's not a singular technology.

I will say that many of the proposals do directly improve user privacy, or offer more-private alternatives to existing APIs. But I'd also be surprised if there weren't objections as well. It's the web, and scrutiny is important.

comment 2y ago · link · parent

>If they just wanted to drop 3p cookies without a replacement, they could.

That's debatable, but I doubt that's the case. The CMA isn't a privacy organization; they deal with monopolies. They're intervening at the behest of other advertisers who are concerned that they'll lose the ability to adequately track users under the Privacy Sandbox proposal. The CMA's chief concern is that everybody is on equal footing.

The alternatives proposed for more private ad targeting have gone through multiple evolutions, including FLoC and Topics, but these were created largely in response to the CMA's objections.

comment 2y ago · link · parent

>Why don't they just unilaterally disable third-party cookies by default without providing any replacement?

It's explained in the article, and below in this thread. They legally cannot due to intervention from the CMA.

comment 2y ago · link · parent

That doesn't reflect the reality of the situation. Google has been trying to make this transition happen for years. The CMA is the one strong-arming them into maintaining the status quo. The article even mentions 39 new concerns raised which has resulted in yet another extension.

Without this interference, third-party party cookies would have been dead years ago.

comment 2y ago · link · parent

As I understand it, silicon cells have largely been optimized to near their peak potential. There's not much room left for improvements at this point.

Organic and perovskite cells have a higher potential efficiency. Just like was the case with silicon, it will take years of development and incremental improvements to see higher efficiencies in these technologies. Silicon cells were also not very good at the start of their development.

In that sense perovskite has the potential to be the next generation of solar cell. New developments, such as the one demonstrated in the linked paper, are just a step towards that ultimate goal of more efficient solar.

I'm not an expert in this field, so please feel free to correct any mistakes I've made.

comment 2y ago · link · parent

That's really not an example of appeal to authority. It's a simple statement of facts. This has passed reviews by Google, Facebook, Apple, Mozilla, and the W3C's security and privacy teams. Make of that what you will.

comment 2y ago · link · parent

Perhaps, but at the very least it's gone through multiple rounds of security and privacy review from different groups.

comment 2y ago · link · parent

Have you seen this proposal yet? It allows domains to define their own dictionaries for future compressions, with delta updates for changes.

Still seems a bit complicated to me, but could be meaningful for web apps that are required to be large.

https://github.com/WICG/compression-dictionary-transport

comment 2y ago · link · parent

How many FOSS projects are live streaming video games in the first place? I don't enjoy communities moving to Discord either, but this seems unlikely to affect any software group.

comment 2y ago · link · parent

Inlining critical CSS seems to work best in SPA models that provide hydration, since they can choose to not request inline CSS on subsequent loads. But there can definitely be advantages to MPAs as well. Honestly I just find CSS a pain to untangle into the critical parts, so I don't usually bother.

Looking at your network graph real quick, you might be able to get away with simplifying GTM. I'm only seeing it load analytics, at least on the client side.

Normally this page is 824KB/15 requests. With an adblocker preventing GTM though, it's 655KB/8 requests. A pretty big reduction.

Also, I see it bootstrapping google-analytics.com/analytics.js, which if I'm not mistaken is the now-defunct GA3's analytics. Could that be nixed?

If you're using GA4, there might be lighter alternatives as well. Though it sucks to lose data continuity, most of their competitor are a _lot_ smaller in JS payload (Matomo, Plausible, umami).

Previously you could also just send the signals directly to GA using the Measurement Protocol, but it seems like they've made that a lot more difficult in GA4. Searching online, it looks like maybe GA4MP can do it, but I've not tested that tool.

You could also just load gtag.js rather than all of GTM if you're not using other tags, but that's still pretty heavy.

Outside of analytics, you might want to look at thumbnail generation. To take the worst offender, speed3.png is being rendered at 512px, but it's actually 2430px wide. Now sure this image is mostly white so it compresses well, but on most images that would make a big difference.

Lossy compression (via TinyPng.com) also brings this image down from 167KB to just 46KB. And if we first shrink it to the displayed resolution of 512px, then it shrinks to just 8KB. That's a 95% reduction from the original!

Image weight is less offensive than JS because it doesn't need to be processed. And if you're using size attributes (you're not), it also avoids CLS problems. But it's still often an easy win when it comes to reducing total page size.

If you wanted to be really fancy, you could generate multiple resolutions (for mobile, etc) and provide all of them in the <picture> tag. Or generate some more optimized format alternatives (webp, avif).

Realistically you probably have some limits due to using GitHub Pages. I do too, so integrating build steps to perform these kinds of optimizations is difficult. Maybe it's possible using GitHub Actions - that's something I'd like to look into for my own site.

Anyway, hope some of this information is helpful to you.

comment 2y ago · link · parent

A fresh computer won't matter. You still have the license on Steam. It would only be a problem if trying to play on an unsupported platform, as is the case with Linux.

comment 2y ago · link · parent

I appreciate the professional exchange between contributor and maintainer. It was contributed with the expectation not that it would be merged, but that it could be adapted into a useful PR if the maintainers were interested. They weren't, so they respectfully parted ways.

Skimming through some of the code comments, this tool actually does a pretty good (though not perfect) job of interpreting each function. It would likely need to be limited to only larger functions though, since many of the smaller or boilerplate functions are self-explanatory. And seeing as this is Java, there are a lot of those!

12345
68