skysight-inc/HackerNews huggingface dataset:
>It doesn't really matter, these are just ways to draw into a native window and not the backend that owns that window.

I know. I mentioned them because I wanted to give a bit of context.

>Without interaction they aren't UI widgets, but merely organized graphics. You are only considering the easy, portable part of a GUI.

Again, I know.

>Consider the Windows API functions that deal with the GUI: they are comprehensive (particularly with respect to handling input and events),
>reasonably low level and more mature than anything you can design.

For sure they have been maintained for a long time but if you have followed the development of the basic ones (edit, checkboxes, combos etc)
and the common control ones (listview, treeeview) etc, you should have known how much they are a pin in the ass when it comes to customize
them (owner drawn and custom drawn). They were never updated by Microsoft but only extended. QT, for example, took the opposite side as an approach.
Everything is stretchable by default.

The trend nowadays is to use some sort of chromium embedded engine and building upon that your programs or web apps with CSS&HTML&JS.
Now, the fact that we have tons of RAMS, TBs of hard disks, and missiles as CPUs doesn't justify to have a more than 100GB of desktop
program just to say "Hello World!"

>I suggest Dear IMGUI and Qt...

Dear ImGUI is more appropriate for games logic than for desktop programs. QT has GBs of DLL you have to bring with you just to say, again, Hello World.
Additionally, you have to follow a university course to understand their policy regarding licences.
For desktop programs there is no need for a retained mode approach. I would consider both: a GUI you can build from an xml-alike file and
by interacting with objects.

>what do you want to do for assistive technology?

I didn't get it. What do you mean exactly?

A similar question like mine:

https://www.reddit.com/r/cpp/comments/1eek3a5/what_would_you...
That's a fair point. I chose more so to document the experience and how I felt.... I can update the article if that helps.
Save time testing HTML and CSS on the fly using only CSS
Recently, I made public a CSS framework I developed for creating radial designs.

During development, I faced several challenges, including testing different features. I noticed that CSS linters and other tools didn't allow me to see why something wasn't working, even if there were no basic errors. Another typical CSS problem was seeing how it was shared across different browsers. Fortunately, I discovered that certain new CSS features can be used to create a series of real-time tests. These features are @support, @container, and :has().

By combining these features, I developed a testing system not only to check if the framework works in the browser but also, and most importantly, to see if we are applying HTML correctly according to the browser's requirements and avoiding involuntary errors when developing an application.

Since my CSS framework necessarily uses features that only the newest browsers have, such as trigonometric functions like cos() and sin(), I created a series of rules to test if they are supported by the browser. If they're not, a message appears asking to update the browser. Similarly, if the browser doesn't support :has(), which is used throughout the framework.

There are also typical cases of browser incompatibility, so in some non-critical cases, I use @support or @container to hide certain Orbit features that don't affect its use. For example, Safari doesn't accept SVG context-stroke, so I hide them.

However, beyond those critical checks and compatibility, the most common issue when using a CSS framework is not knowing how to use it properly. That's why I created other CSS rules that allow analyzing if a parent element has the required child elements and not others. Here, visual alerts also appear while developing to give a hint about where the error is in the code.

I'll leave some links in the comments below for further reading.
Python in data is similar to C in systems: it's not the best language for the job, but it was good enough at a critical point in history that it became the standard by happenstance—there weren't enough things wrong with it to repel the Brownian motion of developers from seeding the ecosystem—and now it's the best language for the job because it's the standard.

> These are rather disingenuous criticisms of python. The utility of any language is measured by its use as a means to some end. It's clear that Python's ecosystem has prospered not just because it's a fad, but because it's actually useful. Not perfect, but useful.

Your criticisms of OP's argument are more disingenuous than OP: no one said Python was a fad or that the ecosystem wasn't useful. See here:

> Python is where all the action is when it comes to data science, llms, and all the rest. So it's the path of the least resistance. And there's a great argument to not challenge that and just do what everybody else does and put your head down and not criticize any of that. Which is why I use it on a few projects. The library ecosystem is great.

They're just saying that Python-the-language isn't their favorite (largely subjective but with a lot of agreement from much of the community) and they mention offhand that Python's package management is a disaster (which is 100% accurate).
You are incorrect. Everyone is subject to the same rules.

See FAA Rule 450 Final: https://www.faa.gov/sites/faa.gov/files/space/additional_inf...

See 14 CFR Chapter III Subchapter C Part 417: https://www.ecfr.gov/current/title-14/chapter-III/subchapter...
Not everything needs to reduce down to all blame assigned to a single party.
Repo: https://github.com/zumerlab/orbit

Source file: https://github.com/zumerlab/orbit/blob/main/src/scss/_suppor...

Orbit related documentation: https://zumerlab.github.io/orbit-docs/tools/support/

Good to read: https://heydonworks.com/article/testing-html-with-modern-css
I use node.js, but I think it will work for anything. I recommend trying small chunks first vs dumping your whole file.
If it's worth doing it's already done
I'm rn =P
But the purpose is the Why; forced comments tend to tell you What the code does, which is better explained by the code itself.

A comment that is incorrect can do a lot of damage, and they tend to get confused about implementation details over time.
Maybe not fitting to mention that here, but Typora still doesn't support .mdx files out of the box. This makes maintaining docusaurus sites a hassle.
It wasn't easy, and I was quite toxic towards Rust posts before that - simply because everything at the time was saturated with Rust news, and a lot of very silly "rewrite it in Rust" posts. There are only three things that annoyed me this much in the last 10 years: Crypto (which was largely a hype-bubble), Rust (which turned out to be very cool), and AI (we'll see where that goes).

> You did the right thing, you ignored the emotional responses and went to check for yourself, factually and objectively.

I'm currently talking to lots of other C and C++ developers I know, and trying to convince them to give it an honest shot. The first thing I say is pretty much "Hey, I know this thing is overhyped and you're probably fed up, I thought so, too, but ...", and then follow that up with tagged unions, pattern matching and showing the toolchain. That sells most of them on it. Error handling also is a huge plus if they're also big error-handling nerds.

Also note how I never mention memory safety -- the reality is barely anyone gets really excited about that. We'd all use @safe Dlang[0] if it was that exciting to us all.

[0]: https://dlang.org/spec/memory-safe-d.html
> Both your causes seem trivially fixable here []

You'd be amazed about the amount of indeterminsim lurking in the guts of depencies all the way into libc and os ... Like locale, fs
IANAL but if your only source for your LLM is that code, I would assume the code it produces would be at high risk of being counterfeit.

I would guess clean room would still require having someone reading the LLM-decompiled code, write a spec, and have someone else write the code.

But this is definitely a good question, especially given the recent court verdicts. If you can launder open source licensed code, why not proprietary binaries? Although I don't think the situation is the same. I wouldn't expect how you decompile a code matters.
> He talks of a new memory safe kernel disrupting Linux the way Linux disrupted others.

So the next paragraph means:

> Maybe rust should have never been allowed in the [Linux] kernel in the first place.
I'd love to see the research that would substantiate that, from anecdotal evidence, stumbling drunks don't read or listen to anyone.
Not exactly, because you still have to pay any distinct identifier present in your code. Also many minifiers do constant folding and inlining and remove comments, any of which almost surely remove redundant or unused information to compress.
those are just to limit their liability: we told them not to so it's not our fault. The real safety, the one that they should provide is somewhere else.
Yes, I guess it would be an idea. We could also participate to Season of Docs.
This only really applies to some animals which developed in moderate climate.

Most primates including us humans are tropical and subtropical creatures, which didn't face classical winters until relatively recently. The Neanderthals did, for a considerable amount of time, and their physiology might have been different, but the Neanderthals were also developed enough to protect themselves using clothing and shelters, and possibly store food, so physiological adjustments might not have been necessary.

Modern humans are basically Africans adapted to ~ Kenyan climate, though. (Yeah I know about the Neanderthal and Denisovan admixture.)
perf or Intel VTune are the two standard choices AFAIK. Both have a certain learning curve, both are extremely capable in the right hands. (Well, on macOS you're pretty much locked to using Instruments; I don't know if Callgrind works there but would suspect it's an uphill battle.)

Callgrind is a CPU simulator that can output a profile of that simulation. I guess it's semantics whether you want to call that a profiler or not, but my point is that you don't need a simulator+profiler combo when you can just use a profiler on its own.

(There are exceptions where the determinism of Callgrind can be useful, like if you're trying to benchmark a really tiny change and are fine with the bias from the simulation diverging from reality, or if you explicitly care about call count instead of time spent.)
A CPU arch filter would be useful (I've been on the lookout for an ARM based one), as would the ability to choose a different eBay region (I'm in the UK). Nice work though!
Why must monospace give up color?
Same thing with a TRS-80 Model 1. You could make the monitor go crazy by poking to 16407. (It would recover with a power cycle, but I don't know if any of the values would damage the monitor over time.)
Agents like Aider or Plandex wrap that up nicely. They do the automatic review and have a very verbose description of the edit format. If you do that often manually, it may be worth testing their prepackaged approach.
Could you be more specific? Because as a launch rocket, it's so absurdly expensive that it will never be useful other than for low-volume national vanity projects. What technologies has it developed that might be usable on other platforms?
Vkerberos: A partial Kerberos implementation in vlang
This is fantastic. Can you add a filter for location US/Europe/Asia?
This post in particular helped me fix seo as well for https://appraisalinbox.com (the design still needs a lot of love).

These days I'd probably start off using astro for a static site. They've got a docs starter, too.
I use KDE a lot, and have for almost 20 years. I far prefer it to all other desktop environments I've tried. I've never donated though, as I don't remember ever seeing anything asking me to, so I consider this change to be a good thing - very discreet and once-a-year is very different to most such things. I guess I'm not "plugged into these communications channels".

There are more official break-downs of what donations are used for in the reports on the donations page: https://kde.org/donate/.

As for Nate's suggestions...

> extend an offer of full-time employment to our current people, and hire even more!

Great!

> I want us to end up with paid QA people and distro developers, and even more software engineers.

Great!

> I want us to fund the creation of a next-generation KDE OS

Um. No thanks? I use KDE because I like it a lot. It's great the way it is! Continuous incremental improvements are much better than a next-generation leap.
I Shut Down My LinkedIn Newsletter to Focus on Email
Same opinion here, have all this giant proRust energy and put it behind a few Rust kernels, combining the Rust super powers with latest kernels architectures and have at least one Rust kernel that is not UNIX but something super modern.
Office 2024 just went RTM?
Author of HumanifyJS here! I've created specifically a LLM based tool for this, which uses LLMs on AST level to guarantee that the code keeps working after the unminification step:

https://github.com/jehna/humanify
We've Been Lied to About Work
Isn’t this just ontological then. It doesn’t seem like a novel observation that “measurement devices” collapse a wave function (Schrödinger) if you’ve defined a measurement device as such.
Ask HN: How to tap the demand for indie developers？
As an indie developer, what channels do you have to find your needs? As a new person, I am still confused, and I am also an unemployed person with ample time. My technical ability is still OK, but I do not know what to do. How to get started?
The idea of anything with permanence involving Bluetooth gives me a brain cramp.
> There is also an exercise in writing JNI bindings. Or maybe using Java FFM now which still requires you to go through separate tooling, build stage, deal with off-heap memory management API and still does not change the performance profile significantly. There's a reason it is recommended to avoid native dependencies in Java and port them instead (even with performance sacrifices).* Green Threads will only exacerbate this problem.

I'm not sure if you've used JNA before? That's been the state of the art for many years: https://github.com/java-native-access/jna

public interface MSVCRT extends Library {
public static MSVCRT Instance = (MSVCRT) Native.load("msvcrt", MSVCRT.class);

void printf(String format, Object... args);
}

public class HelloWorld {
public static void main(String[] args) {
MSVCRT.Instance.printf("Hello, World\n");
for (int i=0;i < args.length;i++) {
MSVCRT.Instance.printf("Argument %d: %s\n", i, args[i]);
}
}
}

> "C++ is more popular for systems programming"

Sure, and it's got many great libraries – but actually using those is horrible.

You're absolutely right about Rust though. crates.io and cargo are amazing tools with a great ecosystem.

The primary issue I've got with the .NET ecosystem is actually closely related to that. Because it's so easy to import native libraries, often there's no .NET version of a library and everyone uses the native one instead. But if I actually want to build the native one I've got to work with ancient C++ build systems and all the arcane trouble they bring with them.

> Same applies to "packages that bundle native libraries".

You seem to have misunderstood. The fun part of the maven ecosystem is that a dependency doesn't have to be a jar, it can also be an XML that resolves to one or multiple dependencies depending on the environment.
Had tweeted about this sometime back. Found a component which was open source earlier and then removed and only minfied JS was provided. Give the JS to Claude and get the original component back. It even gave good class names to the component and function names.

Actually this opens up a bigger question. What if I like an open source project but don't like its license. I can just prompt AI by giving it the open source code and ask it to rewrite it or write in some other language. Have to look up the rules if this is allowed or will be considered copying and how will a judge prove?
Its not that simple.

There is a body of constitutional law. There is extensive law governing what powers ministers have - powers are granted to them by legislation.

There are human rights granted by law and treaty. Everything from some clauses of the Magna Carta that are still in force https://www.parliament.uk/about/living-heritage/evolutionofp... to the European Convention on Human Rights.
You need to use another tool to do the actual renames, like HumanifyJS does:

https://github.com/jehna/humanify
Useful index!

Suggestions:

1. encode search filters in URL, for sharing/bookmark
2. Add "Intel vPro" as a filter.
Guardian are reporting on it now, so it's slowly trickling out.
I overlooked the part about 'a next generation KDE OS'... what do they really think they'll achieve here they haven't with Neon? Wrong direction in this regard, IMO.

Better off focusing on the DE/applications. Their skill-set isn't distribution work, tangential only to their software. That's why I feel Neon based on Ubuntu made some sense. This makes less!

More fragmentation, advertising, and competition for limited resources in the space? Joy.

Can't wait until this, the downstream distribution packaging KDE, and N other applications are competing with Microsoft for worst user experience. Oh, wait.
> what actually saves or kills Schrödinger's cat

If the cat is not definitely dead (or alive) until you look at it, I think the mainstream consensus is that curiosity killed the cat.
corrected URL: https://www.spoon-tamago.com/edward-luper-36-views-bt-tower/
This doesn't answer the question. We know how classical physics emerges from a large number of quantum events through statistics. That was not the point of Schrödinger's cat though experiment! The idea is to link a macroscopic event to a random subatomic event that is in a superposition. When or how does the wave function collapse, does it even collapse?
the code I got is pretty maintainable and it’s all standard kotlin & jetpack compose. Even the ui tests converted nicely. The big effort was the initial conversion of the app to Android, for maintenance I won’t necessarily use LLMs
Looks useful! I will update the article to link to this tool. Thanks for sharing!
Converting a picture from color to black and white is a fairly simple task. Getting back the original in color is not easy. This is if course due to data lost in the process.

Minification works in the same way. A lot of information needed for understanding the code is lost. Getting back that information can be a very demanding task.
Just imagine Picard looking down on us through a force field porthole of the Enterprise, slowly shaking his head in disappointment, whispering to himself: "Savages."
Sure it will always be a boat anchor compared to a macbook air or a small chromebook but given his daughter laptop had a handle weight is less a factor if it removes the point of a protective sleeve + a backpack and you compare it with an entry level 15.6" laptop.
A friend of mine has a few Dell Kace M300's which they run Linux on. Would that kind of thing be what you're looking for? It was originally an asset management appliance for businesses.

https://sudos.wordpress.com/2022/05/27/dell-kace-m300-or-fan...
Well, when I was in Euston rail station a few weeks ago, it was very overcrowded. It seemed worse in the day than the night.
Seems like the minister is missing the necessity of acting with integrity and transparency, a lesson they frequently need reminding of. Surely there must be better person the PM could find for the job, that don't feel a need write harassing letters, bullying train companies into firing staff?
Snowden case: France apologises in Bolivia plane row (2013)
I guess I am reading HN too much :shrugs:
So true, I picked up the Samsung G80SD "Smart Monitor" and the deciding factor was literally just that it supports eARC, allowing me to use my Sonos Beam soundbar with my computer and supporting compressed audio formats like Dolby Atmos.

To make things even worse, this monitor supports sending back the ARC audio over DisplayPort, but only in stereo. If I use HDMI between the monitor and the computer, I get all of audio channels.
I want to shine more light on the nonsense.
Changing Our License: One Year Later
Tool for unminifying JavaScript with LLMs without breaking the code
The UK is full of stuff, built by Victorian engineers. Quite a lot of it is still working. Some of it is quite beautiful. I doubt anything built by private equity backed companies will still be working in 100 years.
Anxiously awaiting.
Add a location filter otherwise it's completely useless from outside USA.
I clicked on a $30 Ebay link and the shipping price is US $542.06 UPS Worldwide Saver
Huh! I wonder how that works if the deletion isn't synced with other clients yet.
seconded, i've been looking for exactly this kind of machine in EU and this would be ideal.
Yes, should be easy. Would it work if it used the region's ebay marketplace to get results? The following could be added:

EBAY_AT - Austria (ebay.at)
EBAY_AU - Australia (ebay.com.au)
EBAY_BE - Belgium (ebay.com.be)
EBAY_CA - Canada (ebay.ca)
EBAY_CH - Switzerland (ebay.ch)
EBAY_DE - Germany (ebay.de)
EBAY_ES - Spain (ebay.es)
EBAY_FR - France (ebay.fr)
EBAY_GB - Great Britain (ebay.co.uk)
EBAY_HK - Hong Kong (ebay.com.hk)
EBAY_IE - Ireland (ebay.ie)
EBAY_IT - Italy (ebay.it)
EBAY_NL - Netherlands (ebay.nl)
EBAY_PL - Poland (ebay.pl)
EBAY_SG - Singapore (ebay.sg)
...or visually impaired and thus use those announcements to understand what state the lift is in.
I had the opposite vibe. Had the same process went through the call and they asked what I needed and wanted from an email client and after telling them they said that it probably wasn’t for me yet. And I didn’t sign up.

They emailed me when features I mentioned were added and then a couple of years ago tried again. Been using it everyday since then as my primary email driver at work.

They know they have a niche product - a paid email client; an expensive one at that! So they filter so word of mouth and reviews and all match expectations and make sure their product is a good fit. It has been the opposite of scammy.
I'm not a mechanical engineer, so I base my "overly engineer-driven" impression of the company almost solely on this video: https://www.youtube.com/watch?v=_Cp-BGQfpHQ
Only if you use the decompiled code. But if one team uses decompiled code to write up a spec, then another team writes an implementation based on that spec, then that could be considered clean room design. In this case, the decompiler would merely be a tool for reverse engineering.
Edit: In my pre-coffee rush this morning I completely missed the grouping by role (which is not that much harder FWIW). This unfortunately invalidates my entire post as it was posted and I don't want to spread misinfo.
I mean to be fair your wording didn’t help. You started saying you can’t even buy chocolate here.

Bud and Miller own about 2/3 of the beer market but I can find 100 craft beers within a block of me. Same with chocolates. If I said that all the beer suddenly started tasting bad it would be basically the same statement you made and a reasonable person would think the problem was something to do with me. People of course skim comments so when you lead with that, it’s natural.

There was not a point in living memory where you couldn’t buy much better chocolate than Hersheys in any grocery store. So your statement doesn’t make much sense.
Let's talk about free speech after Pavel Durov's indictment
Intel's Masked Software Occlusion Culling Added to Doom 3 BFG
If I learned anything from expo -- get signed up so you can get grandfathered in to future plans. They're almost gonna certainly increase prices.
which eBay marketplace do you use?
Can you provide more details? I'm curious about the performance and limitations of these models.