skysight-inc/HackerNews huggingface dataset:
> Have you ever stopped using an app because a button or icon was slightly misaligned?

Maybe, maybe not, maybe it made me not use the app in the first place.

It is one of these little things that make the app look unprofessional. I have been a bit uncomfortable using banking apps with misaligned icons. It the designers can get away with misaligned icons, what can the core developers get away with? If a company is sloppy with their design, maybe they are sloppy with their security too.

People can easily see these visual details, they can't see the back-end but for the lack of information, they will assume it is made with the same care, that is, not much. And maybe they are right.
The moral issue comes because these jobs are tied to people's livelihoods and ability to provide essentials like food, housing, healthcare, etc for themselves and their families.
Well, it is "a baker's dozen", right? Not "all the bakers' dozens". Since the phrase incorporates a reference to a single individual, as a representative concept for all bakers.

So "the grocer's apostrophe" makes sense as a phrase referring to a typical individual grocer with a typical atypical apostrophe, standing in as a representative for all grocers and all their darned grocers' apostrophes.
Be careful, Katherine Maher (NPR CEO) was CCO/CEO of Wikimedia Foundation 2014-2021.

She then gave a TED Talk that contains some slippery equivocations about truth, includes the inevitable climate-change jibe, and states the contradiction: "we all have different truths" (she uses the phrase 'personal truth' instead of 'subjective opinion' )...

https://singjupost.com/what-wikipedia-teaches-us-about-balan...
Interesting, but that sounds like it's in the realm of tools, not direct handling. Either a normal sized pencil that contains that thickness of material, or a microscopic pencil that itself needs tools to be manipulated.
I mostly agree, but not entirely. The problem is that things that are lined up look nice from far away, and very close up, but not always when reading text.

The Apple "Manage" button is the simplest to illustrate. You might think that just having equal vertical space above the M and below the g is the best, but when you read text you're also used to seeing letters stick out of the bottom of the line. So having the g not protrude might look odd.

Or if you have two buttons next to each other, one "Manage" and one "Add" - what should you do? Should you centre Manage, and put the text for both on the same imaginary horizontal line? That will make "Add" look odd when viewed in isolation.

Or should you centre Add? Then Manage will look odd when screenshotted by itself.

Or should you let each have their own vertical centre? Then they will be mismatched.

What to do?
> Should you use icon fonts for icons in 2024?

> Are you limited by 1970-s tech e.g. terminal?

This accidentally highlights yet another problem with icon fonts.

Terminal-based browsers with image capabilities, e.g. w3m, can display image-based icons. Fonts on the other hand are (usually) unchangeable on terminal emulators. So if you use icon fonts, it will look like garbage on terminal browsers, but with images there is a chance that it will work.

Sure, who cares, nobody targets w3m in 2024. But the problem can surface for people using modern browsers too, if they explicitly override your font for accessibility reasons. (For example, there exist fonts designed to aid dyslexic readers.)

Then on (relatively) well-behaved sites they will see only a text description; on others they will just see some empty squares.
I'd say your math is wrong. Only a small % of the 11,000 people are going to agree they were scammed.
I've been working on a CP/M emulator for the past few weeks, and it reached a point where I can play ZORK 1, 2 & 3, along with the Hitchhiker's Guide to the Galaxy - so I've spent a good few hours recently doing just that.

CP/M, and early games, has been a recurring interest for a few years. I've also promised my son that if/when we complete Super Mario Bros, on the original NES, we'll buy a Switch so we can "upgrade" to Mario Kart. So it's not just text-based games I enjoy.

(We can consistently get to 8-2, but neither of us has finished the game yet. I'm resisting the temptation to play outwith his observations and practice, would feel unfair!)
> OLED has near instant pixel response times.

Pixel response times are one small part of the equation. The vast majority of modern display blur comes from sample and hold motion blur, not pixel transition times.

https://blurbusters.com/faq/oled-motion-blur/

> No idea what display you are looking at, but if you're getting smearing of any kind it wasn't an OLED

I am looking at a 27" LG27GR95QE. A 240hz WOLED panel produced by LG. Just one of multiple OLED panels I currently own. This is just in addition to a few high end LCD FALD panels, a couple of 21" Trinitrons and a handful of JVC broadcast CRT's.
This was followed by a layoff in January:

> Wayfair lays off 13% of its workforce weeks after telling employees to work harder

https://www.cnn.com/2024/01/19/investing/wayfair-layoffs/ind...
What's the non-grid energy use?
So is the company doing a morally good thing when it provides the ability for someone to have food, housing, healthcare, etc? If not, it doesn't make sense to blame the company for eliminating jobs if they also don't get credit for employing people for however many years.
> They ARE made for accessibility and accessibility only

Sure, but have you ever used a screen reader? Support for aira markup is often limited and if you confuse things with semantically muddled HTML you're almost guaranteed to degrade accessibility.

The more basic and "standard" you can keep your HTML the less likely users using assistive technology will run into problems.

Aria is great, especially the basic stuff like aria-label, but where you can avoid using it you should.

I've worked on accessibility projects for years, treating aria as a source of truth or something that can be relied on isn't a good idea. We might get there eventually, but we're not there today.
That bonus bug could be read as the perfect case to argue against using an ORM

> .left_join(schema::alert::table.on(view::metric_boundary::boundary_id.eq(schema::alert::boundary_id.nullable())))

instead of

> LEFT OUTER JOIN alert ON (alert.boundary_id = metric_boundary.boundary_id)
It has role and aria attributes, so I think it actually isn't that bad. It's just `<span role="heading" aria-level="3">` is an awfully long way to spell out `<h3>`.
Well, a functioning police force wouldn't mind if you reach to online communities and paleontologists to verify that those remains are human before reaching to police to file a report, I'd assume.

And so, if the law force action could have serious consequences, then the tiles would be better left untouched, no paperwork needed. And if it couldn't, then it's okay not to file paperwork first.
I’m personally impressed by how you navigate the radial menu by tilting your hand as if you were balancing a marble. With some improvement, this would feel very intuitive!
The motherboard "trim" is crazy cool.
Every time. I haven't tried GPT 4 though, I'm not paying for this nonsense.
> What crappy panels are you buying?

Exactly zero. I own the highest end panels you can buy, regardless of whether it's OLED or LCD. I have a variety of CRT displays, desktop and broadcast on top of this.

> I know 10 years ago, IPS panels were known for having terrible response times, but there are other types of LCD that have pixel response times in the 1 ms range.

The vast majority of motion blur on todays displays is due to sample and hold, not pixel response times.

https://blurbusters.com/faq/oled-motion-blur/
Portland Pattern Repository?

<https://c2.com/ppr/>

<https://en.wikipedia.org/wiki/Portland_Pattern_Repository>
Yes, that would be a fairer way to determine a tax, if the idea of taxation is really justified.

Or you could consider a canteen an improvement of the working conditions for the employees, which will help boosting productivity, and therefore revenue, and, consequently, tax incomes. After all, are we taxing companies with air conditioning, good office lighting, or private office space? Because they are having a competitive advantage when compared to companies without..
Note though that there is a world of difference between a room temperature pressurized water system (which won't BLEVE if it ruptures) and propane (which will).
One thing I also seem to remember from the very old days, was that browsers wouldn't render the table until it was completely downloaded. So if your whole content was in a table, there would be nothing to see until the whole page was loaded and it could do the layout. But without tables you would see parts pop in as it was loaded.
> Isn't it funny that people interested in the Black IQ question just consider that the only physical appearance worth studying is the color of the skin?

"Black" isn't a proper descent group, it is a term applied to everyone from American Descendants of Slavery to Indigenous Australians to Melanesians to umpteen different distantly related groups in Africa (a continent with massive internal genetic diversity). There is no meaningful question to ask about "Black IQ"

> In reality, the reason is simpler: color-of-skin is a clear and popular ingroup / outgroup separator. Some people see black skin people, and they say "they are not like us", and it is a catalyser for the idea that color-of-skin is a good proxy: they like to think that they are different from them, especially if this difference rationalizes their opinions of them or justifies some of their biased conclusions (such as ultimate attribution error between ingroup and outgroup).

Is that actually what happened though? Imagine a parallel universe which is uncannily like this one, except for the fact that Europeans and Africans happened to have largely similar skin colours (it doesn't matter whether we suppose they be equally dark or equally pale or equally blue-green). Would that have resulted in European-Americans treating African-American descendants of slaves equally? Or would they have still been oppressed about as much, and if some other physically visible marker could have been found to distinguish them, discrimination would have been based on that instead?

> But again, strangely, people interested in the Black IQ question are not really interested in the Askhenazi IQ question

I think human genetic diversity and the heritability of intelligence is an interesting topic–albeit one about which our knowledge is (at least at present) greatly outweighed by our ignorance. But my impression is a lot of people want to approach that topic primarily through the lens of contemporary and historical inter-group dynamics within one specific country: a lens which adds more heat than light, and as someone who has lived their whole life on the other side of the planet, looks like just excessively focusing on just one question and ignoring a hundred others like it
Screen readers know how to deal with common page elements. So they know how to announce and interact with page breaks, headers, lists, buttons, links etc.

If everything is a span, everything becomes just text.

It doesn't only apply to screen readers. Regular actions like keyboard navigation becomes broken. For example, on the page, you cannot tab between "click to expand" "buttons".

And so on and so on :)
JEP 473: Stream Gatherers (Second Preview)
<https://yewtu.be/watch?v=ipRvjS7q1DI&t=675>
you don't need to simulate everything in a big monolith and with all the complexity of everybody in it, that does not scale well.

You only need to simulate the perspective of you and what you can see, observe and the interactions you make right now.

Same as video games just render in a certain radius around you.

That scales well per human.
Heck everybody around you might be an NPC and you will never know
TBH if eating junk food harms a rat, that can live off literal trash, imagine what it does to a human whose dietary requirements are more refined.

Makes sense empirically, malnutrition is known to have a large impact on later life, I can imagine the same is true for bad nutrition as well.
People have separate rights even if they are employees, and wiretapping laws apply to recording people - like, the company recording their own calls can easily be a violation of wiretapping laws if they don't properly inform their employees.
Show HN: Managed GitHub Action Providers Benchmark
It's a typewriter thing and meant for writing tables, so tab has always advanced the cursor to the next "tabular" stop. What would be the use case of having them fixed width?
Ask HN: Tips and Are there any job prospects in malware reverse engineering?
Hello HN,

I'm a dev studying in my free-time security and malware reverse engineering mainly because I think it's an interesting subject, and so I was wondering,

if I wanted to make it my main job, do you have tips to go about it and is there demand for it ?

Would you recommend some kind of RE certification, or maybe I should start writing a blog about it and try to use that as leverage for interviews ?
Browsers have always been lenient towards errors in markup. Unknown elements would just be rendered as <p> or <span> (can't remember which).

Much later this was codified in HTML 5: if a browser doesn't know an element, it will render it as basically a span (that is, inline element with default styling IIRC).
The interface looks like verto is linux first design, like git. But what's the point? Just implement epoll like Illumos did. Also allocation heavy and apparently can't use deno-style loop.
Yup, until just a few years ago I gamed almost exclusively on a DLP projector on a 120" projection screen when using displays outside of my CRT's. I miss it and have considered going that route again, that or picking up a nice late generation 1080P plasma.
I don't know exactly where to begin here... Well, no. American companies are not required to allow social activism - fortunately. Not even in California!

In fact, there are no freedom of expression protections within private businesses outside a few protected categories such as work safety.
My OCD self: "At last, I found you, wabi-sabi, my archnemesis".
Former Nouveau Lead Developer Joins Nvidia, Continues Work on Open-Source Driver
Generate Data for HTTP API from Swagger/OpenAPI Spec
It's similar to how people buy meat all nicely wrapped in plastic from the supermarket and pretend the slaughter and cruelty doesn't happen. Many of them claim to be "animal lovers" too. Self-delusion is a powerful thing. It lets people do things they wouldn't otherwise feel comfortable with. Treating people like humans, getting to know them, making friends etc. means you inevitably start thinking of them like equals. That's no way to get on top.
> 2D and 3D tools get this right

Except for (vector) graphics design, desktop publishing, page layout designing and reporting software...
The reason is of course that most printed items are unica and non-variable, but
proper parametric and constraint-based would definitely be useful in report generation and signage where print formats vary or where designs need to be automatically adjusted based on texts and other content varying in size/length.
> the single sign-on integration

Maybe just don't overcomplicate things and you won't need to hire a gardener. A static website is not that hard and you can minimize how much infrastructure you need to maintain yourself to pretty much zero.
Show HN: AI Powered Meal Planning App
Hi HN!

I've been teaching myself to code for the last year or so and am pleased to launch my first (small) product into the world.

Mealll uses the Anthropic API to generate meal plans for users. It allows them to select their required nutrient requirements, dietary requirements and food preferences. It then creates a customised weekly meal plan and shopping list for them.

I've included a simple nutritional requirements calculator for users who might be unsure of their nutritional needs.

Once users have created a meal plan, they can generate recipes for any of the meals that they're unsure how to cook.

It's been a lot of fun learning to work with the different models available from Anthropic. I've found sonnet to be a great middle ground for the creation of the meal plan outline and ingredients. I'm currently using the haiku model for the generation of recipes.

The big dream for this product is to help everyday people who lack the skills and knowledge to eat healthily eat more nutritious home cooked meals. For now just a couple of users would be great!

I've got lots of ideas of how to improve the app but wanted to get it in the hands of users and see if this is something that can help them.
Are there materialized views in sqlite?
i might be one of a dozen reading this when i say that i am actually using less of reddit nowadays.

i more or less stopped actively using the site directly after their third-party app crackdown.

you may see reddit as an alternative to the ai-written or paid-for opinion on the internet, but the opinion itself has not been very balanced in most subreddits i've seen for many years now. the quality of discourse there for polarizing topics is what i fear the most for this site.

although with discord servers now you got an even worse environment because of its more exclusive nature and the relative power the moderators/admins yield. so i can see why it might be the happy medium until reddit entirely switches to the twitter/quora model.
metric_boundary.as("m").join(alert.as("a"), $"a.boundary_id" === $"m.boundary_id")

Scala is sometimes dangerously syntax-sweet, but Spark does some things right.
Did you mean Datalog here?
DeSantis for all his warts and crooked nose is actually pro-environment. He’s done some good for the Everglades and Florida ecosystems.

The mentally ill of other states -who are no fun, don’t do meth, and frankly have zero personality- like to make everything black and white.

There’s a boogyman! Oh no.

We are the boogyman. We have fun
It's probably close to the best thing that can be done with the available data, even if the available data is bad - the main flaw of such a metric is that while you could argue that the total impact is proportional to the number of machines affected, you can't reasonably argue that the impact is proportional to the CVSS score, the relationship is very non-linear.

A vulnerability with CVSS 2.5 wouldn't have a quarter of impact of a CVSS 10 vulnerability, its impact would be insignificant.
Loop Earplugs Quiet 2
Same. Also I get annoyed when pointing out (in good manner) misspellings, bad grammar, or technical inaccuracies gets called out as pedantry or policing, especially here on HN. Sure, it's not the end of the world - but the reason we have a nice place here is, in big part, because enough people care to set certain quality expectations. When that erodes, so do nice things.
Google fires 28 workers in indiscriminate act of mass retaliation
If you want to have it more often, it's sold at supermarkets year-round (usually in the ethnic/foreign food area)
Yeah, if you guys could stop posting paywalled/account-walled articles, that'd be great.
I got that, but the question wasn't "where are the mind-blowing stuff we should have had by now", but rather - what are the most significant uses we've found? In my mind also implying that we might have long ways to go for the full potential.

Perfectly reasonable question, especially considering past projections.
TLDR; understanding the math of centering stuff doesn't mean you know how to center stuff in design.

The visual/optical center is not the geometric center. It is slightly above.

Graphic design basics.

The author mentions the word 'optical' once and 'visual' twice. Never in the above context.

I.e. they never explain this, so we must assume they don't know about it.

And we actually have evidence they don't.

The image below the sentence "Apple can't do it" is an example of visually/optically correctly centered text on the vertical axis.
Slightly above geometric and giving the lowercase letters more weight in the decision. Some designers would argue the text should be moved down one pixel in the example at hand but I'd disagree.

The problem here is a different one. The ellipsis (...) is very light, optically, so the horizontal center should account for that and the text moved slightly right.

That is not shown or talked about at all. Go figure ...

Yes, there is a problem, it's the enshittification of design everywhere.
Centering not existing is part of it.

As are people like the author who understand the problem but lack knowledge (sea above) to detail a correct solution.

They say "we developers" in one sentence. Graphic design was something you studied at uni when I was young. Just as CS. Maybe I'm just old but you don't know shit about centering stuff in design if you know how to center stuff mathematically.

And yeah, since I'm ranting:

Don't get me started on Material design. Where to start?

Tiny text only buttons that don't even have an outline and whose size depends solely on the length of the text inside. Etc.
The limit was mainly due to lack of hdmi support. There are obviously some crts with hdmi but they’re fairly uncommon as display manufacturers basically abandoned crts quickly in favor of significantly lighter yet larger display tech that was much more popular with average consumers. Obviously crts can do much higher resolution over dvi or even vga. with home av stuff they abandoned those connectors as well as component early on in favor of hdmi.

One of the other niceties associated with crts as a result. A monitor that you could just plug in to a source and it would work, from a time when manufacturers didn’t have the ability to kneecap your setup with handshake bullshit. Now hooking up stuff is just a bit more likely to be frustrating and nonstandard setups are much more likely to simply not work without pricey extra hardware. Want to split your bluray player or playstation 5 between a an oled television and a projector? It may just work with a basic hdmi splitter, or it may not. It may only work with certain hdmi splitters. It may only work if one display is on at a time. With dvi you could’ve gotten a basic splitter and it would’ve worked guaranteed regardless, but hdcp means that hdmi splitting will give you headaches because god forbid you hook up a secondary source to record a copy of content you purchased. Despite that, it’s still easily defeated with relatively cheap hardware, making it completely and utterly pointless as well
If it’s hot, go under some shade. Why should there be a law.

Should we mandate showers for government employees next?
> Before JavaScript it was impossible to make this mistake

Before JavaScript it was impossible to even implement such functionality on the client side...

There was no "number" input before HTML5 spec which came out in 2008, and was adopting for 6 years before finally becoming a recommendation in 2014. You had to let user put any text in the input and do the validation on the backend, which had the same Turing complete language running letting you make any mistakes you want.

Rule of least power is just a design principle, and it could not hold as an axiom of good design for the web, because when the least power becomes not enough power, it takes years for the adoption of new powers needed – that's why JavaScript exists in the first place.
Show HN: I made app for travelers with audio guides
App Store: https://apps.apple.com/app/quideapp-travel-guide/id644678861...

Play Market: https://play.google.com/store/apps/details?id=app.quide.quid...

QuideApp is your essential travel companion, offering detailed audio guides that bring to life global landmarks and cultural sites. This app enhances your travel experience by providing rich information and captivating stories, deepening your understanding of each destination's culture, traditions, and history. Ideal for both seasoned travelers and first-time explorers, QuideApp makes every journey more informative and engaging, allowing you to uncover unique stories and make every trip unforgettable.