News for hackers. Stuff that matters.

ignitionmonkey

Re:Brave Search launches own image and video search on Monday August 07, 2023 @04:46PM (#37040719)
I'm referring to a default search engine. Something I can use by default everywhere and I can recommend to others. So it has to provide results based on typical use cases.

First I've heard of a "metasearch" engine. I just tried SearX and it gave me no results for my projects and only a couple for "Mastodon", but the animal not the software.

Re:Brave Search launches own image and video search on Thursday August 03, 2023 @02:59PM (#36990180)
>I wonder what's different about our searches and expectations.

The difference might be that they (including myself) don't ask search engines for facts like "doors of stone release date". They'll search for "doors of stone", find personally reliable sources like Wikipedia, Fandom, Goodreads, browse them and decide on an answer. When sources fail to appear, they'll either refine the search (like "doors of stone rothfuss") or call it a failure and maybe try a different search engine.

This is one the reasons why Brave has been good for me so far. When a relevant Wikipedia article exists, it shows it, even if the title doesn't match. Whereas lately DDG and others don't. In fact, you can see this with "doors of stone". Brave shows "The Kingkiller Chronicle", DDG doesn't at all, Google has it low down in the results.

It also shows Reddit discussions without needing to explicitly filter for it. And I use ad block to remove the AI summariser that takes up half the screen, it's not what I want from a search engine.

Re:Brave Search launches own image and video search on Thursday August 03, 2023 @02:07PM (#36989475)
Same here. Much like Firefox, I think it's important to use a search index that isn't tied to the larger players (Bing and Google in this case). I tried Brave a couple of months ago[1], I found the results better than Bing, but without image search it wasn't usable. Now I can give it another go.

[1]: https://jahed.dev/2023/07/01/trying-brave-search/

Re:Rethinking Window Management in Gnome on Wednesday July 26, 2023 @03:32PM (#36883574)
"Fits linux" is an odd statement. Most of the things you stated can be done by changing the theme of most desktop environments. For performance, I used LXQT recently to revive an old laptop, it's great. https://lubuntu.me/
If it helps solve your puzzle: not everyone shares the same ideas as you. We're not a hivemind. I'm sure if you shared your profession and recent activities, someone will disagree with it.

A lot of engineers have to work everyday on detecting bots. They'll work on this to "solve" the problem. They don't care much about the open web and so on, it's not their job. There's only so much a single human can care about, and we all need to balance it to make sure what we truly care about isn't affected. The open web to us may be of importance. To them, the open web is a bunch of bots. Ethics, morals, etc. rarely plays a role.

They don't require interaction. Think about billboards, TV/video ads, sponsorship ads, etc. It's enough for you to just see an ad, to not forget a brand or product exists.

At some point, you might think about a product subconsciously due to any reason, and since you saw the ads, you'll think of a specific company's product and likely rank them higher among "unknown" brands by default. That will bubble up at some point and you'll have a desire for it which you either accept or reject. Most will accept, causing more to accept to be in the group. It's human nature.

Any interaction is a bonus.

Re:CSS Only dark mode on Saturday June 24, 2023 @01:15PM (#36460639)
It sounds like we're in agreement, you're arguing about things I didn't even say.

I just had a look, and Firefox already has the toggle. The only thing left is for them to provide a per-site toggle and it's sorted.

There are extensions which provide it: https://addons.mozilla.org/en-GB/firefox/addon/dark-mode-web...

Might be a matter of time before it becomes the norm.

Re:CSS Only dark mode on Saturday June 24, 2023 @07:59AM (#36457932)
>You're asking for website owners not to include a toggle.

I'm not. I'm saying they don't have to include a toggle if they don't see the need to. The decision is on them. No different from their decision to use specific colours, typefaces, text sizes, etc.

If the user has a preference, that toggle should be provided by the browser (the user agent) and the user should seek to get the browser to implement it rather than expect every website owner which has light/dark modes to provide a toggle.

In the current state of things, the browser is telling websites the user prefers a certain colour scheme, which may not even be true. That is really the core issue here if we focus in on dark/light toggles rather than the broader area of alternative stylesheets and ideal UX.

It feels in general that we are in agreement and may be misunderstanding specifics due to a lack of each other's contexts.

Re:CSS Only dark mode on Saturday June 24, 2023 @06:39AM (#36457420)
> No. Let the website owners give their users options. It's not that hard.

If it's not hard, shouldn't that ideal not be towards the handful of browser vendors rather than the thousands/millions of website owners? I agree, if you're going out of your way to provide different stylesheets, provide a toggle, otherwise it's kind of a wasted effort anyway. However, my point of argument is the ideals. The idea someone MUST provide something. That MUST should be towards browser vendors, not website owners.

Re:CSS Only dark mode on Saturday June 24, 2023 @06:07AM (#36457271)
I think saying "everybody else" is an exaggeration. It's a minority (possibly a major on HN, including me) who tweak colour schemes. Just like how people rarely used alternate stylesheets. And why it took so long to even get "prefers-color-scheme".

Colour preferences are also not black and white, literally. There is a spectrum. Some websites' schemes are too dark or too bright. It's why sites like GitHub provide more than just two options. And why Dark Reader has sliders. In that sense, alternative stylesheets are a much better existing browser-level solution when user intervention is involved. After all, most applications provide a list of color schemes to choose from like in IDEs, terminals, word processors and so on.

The only reason I personally switch from dark to light mode on some websites is because their dark mode isn't what I want and I'd rather put up with the light mode. It's not a preference, just a compromise between two extremes.

Having an absolute stance on this is untenable since it's a complex situation depending on the site's audience, capacity, goal and so on. Let website owners decide, so they can focus on what's important to their audience.

For example, for my blog, I suggest people use the RSS feed or Reader Mode to adjust colours and font sizes to their liking. I'm not going to spend time tweaking two colour schemes for some unknown audience, which would just put me off writing and publishing.

Re:CSS Only dark mode on Saturday June 24, 2023 @05:42AM (#36457135)
It should not be the website's role to provide user controls over this. Having a website require JS to be acceptable is not acceptable. It's possible to use CSS only to check a input element's state, which feels like a workaround. But even then having each site provide its own way to toggle schemes in a pain. Searching for that toggle just adds to the list of settings we need to discover and configure for every notable website we visit. (Is it in the footer? Settings? User menu? Does it even exist or did I miss it?).

The browser should allow per-site toggles for prefers-color-scheme. Just like how (some?) browsers ship with page style selectors using CSS alternate tags. e.g. on Firefox Alt > View > Page Styles.

https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative...

Re:Why it is time to start thinking of games as databases on Wednesday June 07, 2023 @09:46AM (#36226727)
The title is misleading. Most large enough games do use databases in some form, just like a lot of software.

If the title was a bit more accurate to its content, it would avoid a lot of disagreements here.

"Building games with AI agents? Use a graph database." -- or something like that.

Are you referring to the GameCube USB adapter? That requires purchasing said adapter (which is out of production, and expensive) and is limited to wired GameCube controllers. The homebrew solution goes much broader than that without needing to purchase more stuff.
Re:Imagining CSS for URLs and HTTP Headers on Monday November 28, 2022 @12:43PM (#33776727)
The @document and other at-rules mentioned in the article are related to user styles. https://en.wikipedia.org/wiki/Stylish was popular back in the days. As more and more websites moved towards generated CSS classes, it's become more difficult to maintain custom styles.
Re:Creating a TP-Link Router Backup Editor for the Web on Friday April 15, 2022 @01:41AM (#31036912)
Thanks for the additional info.

Whether it's a single file or a single directory doesn't matter much. The git repo is essentially a folder you can download and start locally using the file: protocol. No need for a server or anything.

I could make it into a single file, but I prefer organising modules as separate files and I didn't want to add a build step, so I left it as-is.

Older »