skysight-inc/HackerNews huggingface dataset:
Show HN: Pixpy – "Oldschool" Python graphics library
Pixpy is a graphics library for python that makes it really easy to create small graphical applications or games. Some highlights:

- A "Console" for both text input/output and tile graphics
- Composable, lightweight image handling using only GL textures
- Float2/Int2 types for 2D math

Its inspired by projects like AMOS/STOS and other 2D/Game oriented Basic programming environments of old and runs on Windows, Mac & Linux. It is hopefully a good environment to learn programming.

I have a lot of examples at https://github.com/sasq64/pixpy-examples and I made a short video at https://youtu.be/MKxGrsfhYsQ
so basically if an app can be ported as a web app, safari in ios won't support it? seems.....convenient
They are losing the Gaza justification. Obviously they have obliterated Gaza and Gaza had no way to defend itself.
Why does it seem like investors are so quick to buy into hype crypto or AI?
Yep, the brake pedal will cut the throttle, but the throttle will fully re-engage when you lift the brake pedal again, so controlled manoeuvring of the car becomes extremely difficult.
My bet is that they are older than 14 bln years.
That's not a fix if you still want to be notified when files change under you but without a modal that prevents you from doing anything else (including closing the file it's nagging you about). Kate (or any other application using Kate's editor component) does this much better by displaying a non-modal notification bar at the top of the editor similar to how browsers have implemented non-modal notifications.
People always forget that a mostly nuclear grid also require a some kind of storage or demand scalability.
Even something as simple as auto-focus on a form field on page load... imagine that your keyboard jumps up and takes up half of your screen space, just because a web-dev wanted you to be able to "immediately input your name". I'm actually quite happy that my iPhone doesn't shove a keyboard in my face "for my convenience of being able to input text immediately".
Immense disappointment that I opened up the site on my iPhone's Safari and it renders perfectly fine.
It does seem largely related to that, and it is both frustrating and confusing as to why Google and Microsoft have not developed features and plans that consider these problems, despite so heavily pushing their services to universities.

Just yesterday I had several emails back and forth with a student at another university who needed my help with some research software of mine where she eventually realized that, as a student, she simply wasn't allowed to share Google Docs outside her university at all; she had to switch to her personal account. This is on a project her university is funding. And yes, their IT could configure it differently, but so often, the defaults don't fit academia.
Including the ones that did it for self expression for free instead of an inaccurate visualization at the top of every space related article

Just like they can do after that niche job goes poof
Hypertext
I'd love a more knowledgeable answer as well!

We'll probably never get it, though? Seems like one of those algorithmic things Google holds close to its chest.

I would think, though, that if it's going to be meaningful whatsoever for a delivery business... it couldn't rely solely on "phones in this area per hour." But I'm just a random yahoo speculating.
Yeah and Boeing also has FSD that's been there for decades.
I agree with you. Notifications is another “feature” I just want to stay out of my browser. To that extent, I actually don’t mind Safari on iOS being deliberately slow to adopt some of the more intrusive standards.
And the Cybertruck weighs well over 3 tons
What innovations are you interested in?
I'm not sure I can support throwing out review boards because they look improprietous by conducting reviews. Seems a little backwards.
Unfortunately, most countries don't have, or don't enforce, penalties for companies claiming rights they don't have. So that's the first part: Companies claim, often using vague or misleading wording, to have more rights than they can legally claim.

And what they can claim varies but can go quite far. For example, even employee-friendly California with a law specifically to limit far reaching clauses (https://law.justia.com/codes/california/2011/lab/division-3/...) allows terms in employment agreement that assign to the employer the ownership of "invention[s] that the employee developed entirely on his or her own time without using the employers equipment, supplies, facilities, or trade secret information" as long as they "Relate ... to the employers business, or actual or demonstrably anticipated research or development of the employer". For a megacorp, that can be basically everything.

The second part is that in some countries you can be fired for any reason, or no reason, except for specific protected reasons. "We didn't like your blog post and are worried that you might accidentally reveal company secrets in one of them in the future, so we're letting you go" would be legal in many places. "All social media or personal web site content has to be reviewed to make sure you're not leaking company secrets" is also a demand some companies make.

Likewise "we want you to give 100% at work and your side project clearly shows you're spending too much time elsewhere so we don't believe you're working to your full potential", even though stupid, would be a perfectly legal justification to fire someone in many countries. Or just the manager silently thinking that and silently retaliating through e.g. denying promotions.
because of the image’s inaccuracy, masqueraded as something one of our telescopes could visualize, but instead is a contrived make-work programme
I read somewhere that the correct proportion is around 1.7 of water for 1 glass of rice. The rice is rinsed at least 5 times, to remove the starch.
In the original video the guy said he pressed the brake pedal and it overrode whatever the gas pedal was doing.
True, but getting hit by missiles is an even worse way to find out about pizza delivery issues in your area.
Broadcom questioned by EU over VMware licensing changes
And what about you metadat ?
I don't understand how it's a 'very weird take' on its meaning. Is it any weirder than people finding comfort in it?

It's just hilarious (and confusing) to me that it's just as easily a condemnation rather than praise; no leaps of logic required. At all. Other such slogans are usually a bit more obtuse and harder to challenge than 'yeah, that is exactly correct, and it horrifies me', hence the confusion. I suppose it is a very effective thought terminating cliche.
Also clipboard reading and volume change, no thanks.
The article has a good writeup. Clear, actionable, concise.

If you have a bit of instinct for this, it feels obvious that 'reducing' a smaller number by a larger one is not going to obscure the smaller 1 in any meaningful way, and instead it will leave it completely unchanged.

I don't think this is so much what you make it out to be, but a poor understanding of basic discrete maths (also I think you mean the 521 bit modulus leaves 9 zero bits, the modulus normally refers to the divisor not the remainder)

https://mathworld.wolfram.com/Modulus.html
somebody check the test functions...
Why would they belong in a platform-specific app but not in a standard-based web app? Because Apple can't get 30% out of it?
I mean specifically the ability to run Lisp code server side on HN
Not necessarily. Imagine the following: my company doesn't record calls, but we say that we "may" record calls because we think it will convince callers to behave. My employees know that their call is not being recorded, and getting one party to consent to something we don't actually want to do is business as usual.

If this took place in a two-party consent state then your consent alone is not enough, you'd also need the caller's consent which my company doesn't have. If you were to record the call without letting the employee know beforehand, that recording would be illegal.
I was not looking for a response from your account, thanks.

(context: neonsunset professional life is highly dependent on where .NET goes, biased by involvement on .NET team's work, and how .NET is perceived by the world outside Redmond).
> I do not blame anyone but myself for this. This is not something the corporations did to me. This is something I did to myself.

I agree with most of the article, but not with these statements. The corporations are certainly to be blamed for all the problems stated in this article.

While the author may have the luxury to pay for email at $99 a year (even more expensive than Fastmail, which is an expensive service for more than one person), billions of people can’t afford (or don’t want) to pay so much for email. I don’t think we should blame all those people for choosing Gmail (or Yahoo or Outlook or some other “free” service).
I'm confused why anyone would want anything to do with MacOS, but to each her own
German here. It's actually true that you see a lot of "public intellectuals" that publicly tell how bad they were at math.

I only realized that when Merkel as chancellor back in Covid times, after numerous meetings with other politicians and non-scientists, found herself explaining exponential growth on a press conference with her fingers.

Not sure about the 1970s hypothesis, though.
I don’t know the internal workings of IA and the bittorent architecture but if an archive has too many items the torrent file won’t have them all. I see this all the time with ROM packs and magazine archives for example. +1000 items, the torrent will only have the first ~200 or so available
All the dangerous ones come with comprehensive permissions prompts, and browsers can offer options for don't ask again/never ask etc, so if you're not interested there's still little downside to those being available for those who are.

Personally, I've found a bunch of these super useful, as user and a developer. Being able to use tools like https://www.espruino.com/ide/ to play with hardware straight from the web is amazing.
You might enjoy my app (iOS only) to load and save the video and show you the transcript so you can only focus on that video https://www.appblit.com/scribe
It depends on the rice. 2 cups of water is good for 1 cup of rice for 1 or 2 cups of rice. If you use 4 or more cups, you'll get something soggy.
Probably the correct ratio is 1.5 when using 4 cups.
Because there's typically at least a minimum of safety checks before an app can go into the app store, whereas a website can do whatever it wants (and can).
Wayland might have some developer consensus for the base protocol. Not so much for extensions to make it actually usable on a desktop. By the time it does it will be a patchwork as complex as X11 - it's already getting there with things like requiring PipeWire for simple things like capturing the screen.
Batteries included really means large sections of the factory included!
Many of these belong into a web app, the problem is that browsers can't distinguish between a web app and a web site.
The TESCREAL bundle: Eugenics and the promise of utopia through AGI
I understand this comment is tongue in cheek, but of course the answer could only be yes if somehow the UAE had some sort of stranglehold on the product that couldn't be replicated by other players, like uniquely talented engineers, prestigious universities doing fundamental research, etc. I don't think the UAE, or any of the middle eastern countries, is going to be the principal player in AI development.
>> Here’s a very basic example of where an LLM is clearly more capable than a human: language translation. I would bet $10k at 10:1 that there are no humans who can reliably translate to and from as many languages as an LLM can.

See, translation is exactly the kind of domain where there are no good measures of performance and where performance is open to subjective interpretation, and a lot of it. That's because we don't know what is a "good translation" and, crucially, machine translation systems and language models have not helped us find out.

The way machine translation systems are evaluated is generally by a metric based on the similarity to an arbitrarily chosen "gold standard" translation. What that means in practice is that we have some corpus of parallel texts, we train a machine translation system on a part of the corpus and then test it on the held-out test set. The way we test is that we take each e.g. sentence in a text translated by the system and we compare it, as a bag-of-words or a set of n-grams, to the text in the original translation. If there is a high amount of overlap, the system scores highly. That's the way BLEU scores work and similar metrics like ROUGE.

It is important to note how arbitrary is this metric: out of all possible translations we choose one to be the "reference" translation and compare machine translations to it. The only accepted alternative is eyballing, where we give the machine translation to a bunch of humans and ask them how they feel about it.

My point is that we don't know how to measure knowledge, and language models are trained to maximise similarity, not knowledge. So there's no way to go from observations of their behaviour to a measure of their knowledge. All you can say about a language model is that it is good, or bad, at generating text that's similar to its training corpus. Everything else is an assumption.
[dupe]

Some more discussion:

https://news.ycombinator.com/item?id=40045252
Weren't some of these like WebUSB and WebBluetooth unilaterally pushed by Chrome without going through the usual spec processes? Firefox doesn't have them either.
> 1. Germany is an energy exporter 3/4th of the year.

Do you have a source for this?

The sources I seem to find contradict this assertion:

- https://www.iea.org/countries/germany/energy-mix#:~:text=Ene...

- https://www.cleanenergywire.org/factsheets/germanys-dependen...

> 2. This is a 18th century view. Modern states since the 19th century operate on the comparative advantage idea. e.G. Germany imports nearly 100% of electronics (toys, tools) it is using. Countries do not need to produce everything they need, they can import from other countries.

This is not how energy works, especially not renewable energy.

When it's sunny in Germany, neighbouring countries will also be producing and trying to export solar energy at the same time.
yup. there are two differences - we model prompts AND chains (the looping logic) as a config management problem. So we model it in jsonnet and then compile it to wasm as a deployment step.
The rest of everything we do is javascript and api-centric. In that way, we are solving a DX (or a developer UX problem) if you will.

AICI takes a more abstract approach here - first everything not related to prompt or token compilation is out of scope. So your api is not wasm-ed.
Second, the job of creating the wasm prompts is your responsibility - use what you will. While we fundamentally try to answer the question "how can prompts and chains be expressed in a WASM friendly way without locking urself to the language and having it as a config"
And some things aren't great on mobile but make more sense on desktop. Autofocus doesn't cover half my screen with a keyboard when I'm on my laptop...
Does it only support the US-made GPS (NAVSTAR GPS) or other GNSS systems like Galileo as well?
Why should an electric car owner lend their very expensive car's batteries for public use?
You really can't think of any example of anti-OSS behaviours from that list of companies, in spite of them sponsoring key FOSS projects?!?
LCD displays still don't match the responsiveness of clunky CRT screens (2019)
Note that YouTube Shorts are just normal YouTube videos on a different URL. This means you can take a link to a Shorts like https://www.youtube.com/shorts/<id> and change it to https://www.youtube.com/watch?v=<id>.

This way, you won't get the dreaded doomscroll interface, and you can also scrub through the video!
I generally prefer the discworld books that are more firmly part of an overall storyline, like The Watch, since they have such great long character arcs. But Going Postal is a masterpiece in itself imho.

Terry Pratchett was always great at making you empathise with flawed characters. Also, he was exceptional at creating "bad" or "evil" characters with believable and complex motivations, which never excused their actions.
They lawyer has not even agreed to fix their error.

This is another reason society is better off without the people who become lawyers.
>Which is a reputational hit on departments against their will.

It really is. I have a recent Nature paper where, as the result of the email problem, a reader could easily think I'm actually more connected to a different university. I expect the administration, and publicity people, are not happy about it. But IT won't change their policies, and I'm not going to put an ephemeral email address on a permanent publication.
IIRC Torque3D is based on Tribes 2 but a lot has been replaced over the years.
No, it’s actually far worse than that. This is like if you bought prestressed concrete rated for 100kg and you loaded it with 50kg. This is less than the limit, so it’s good right? Nope, the way it works is that you have to give it exactly 100kg of load or else it’s weak to tension and your building falls over in the wind. The problem here is that not that they needed 521 bits of entropy and 512 was too little but that 521 bits of entropy of which 512 are legit and the top 9 bits are all zeroes breaks the algorithm completely and makes it not secure at all. In fact I think copying 9 bits from the other 512, while not great, would have probably made this basically not a problem. I am not a cryptographer though, so don’t quote me on that ;)
Show HN: Interactive Tailwind:Learn to Use Tailwind with Interactive Exercises
Hey HN, I'm Téva from Interactive Tailwind (https://interactive-tailwind.com/). Our platform helps you master Tailwind CSS through a series of interactive exercises, each focusing on different aspects of the framework. We believe that the best way to learn is by doing, which is why we've integrated a live code editor with real-time rendering to see your progress as you complete each exercise.

Unlike traditional tutorials, our exercises are designed to enhance muscle memory and understanding by actively engaging you in coding challenges that cover main concepts needed for you to start building with Tailwind. Each chapter includes links to official Tailwind documentation, allowing you to deepen your understanding of each concept before applying it.

Our editor setup and exercise flow are tailor-made for those who want to get up to speed quickly with Tailwind CSS, whether you're a beginner looking to start or an experienced developer aiming to switch from other CSS frameworks.

To get started, simply visit our site and jump into the exercises. We’ve designed our platform to be as intuitive as possible, with the option to view solutions to compare different approaches to the same problem.

We’d love to get your feedback and hear about your experience using our platform. You can start learning today by visiting [https://interactive-tailwind.com/].

We're also considering adding more advanced topics based on user feedback. Let us know what features or content you would find most helpful!
Even the first sentence hints in that direction. "A timeline of your country’s whole history stretching back to its inception" would be fairly short for almost all countries unless the label is applied retroactively to multiple coexisting more-and-less intertwined local centres of influence.

The nation-state is a very recent idea.
For most of them it’s good that they are missing.
> And they provide excellent credentials which you failed to check...

that's logical fallacy, you can work in any place on earth and still be wrong in the subject.

> You can't just weasel out of it by pretending like you didn't start the interaction by calling someone's expertise into question.

why? if his take is bad, then his job or experience doesn't change the outcome. i'm not an expert by any means, but things that hes saying just contradict everything that is standard practice and my own experience. based on that i'm able to say that he doesn't know what he's saying/proposing, and using his "excellent credentials" just make things worse, as it shows that he doesn't have an argument, just wishful thinking
They belong in the browser engine so that they could be used by a web-app that is presented and served as a standalone app. They do not belong in the scope of just any website out there.
I've owned multiple VR headsets and have many, many hours of VR experience. With seated experiences (vehicles/aircrafts/rollercoasters) I never got nausea, not even initially.

The only experiences that made me nauseas were the ones that simulated movement of characters, where pressing a button would move the character and camera forwards. That was just too much of a disconnect. Movement by teleporting was not a problem.

It was worst the first few times, and I did not last long before I had to take a break, powering through was not possible. With experience it got better, the nausea/dizzyness was less intense and I could play longer sessions, but it never went away completely.
Hearing this just makes me sick.

Like how fake you wanted to be.

Also
> Devin does nonsensical shell commands like `head -n 5 foo | tail -n 5`

Why is Devin executing this code, like why?
You're vastly more likely to be killed by a plane crashing into your house, and even that is very unlikely. Get over it.
While true, Germany's absurd electricity-to-gas price ratio makes electrification an uphill battle:

https://www.ehpa.org/wp-content/uploads/2024/02/Additional-s...
Almost all of these APIs still require a user to approve their use in the browser for a given origin.
Loved Descent, it was very enjoyable multiplayer.
Tesla is still ahead of it competitors in safety [1][2].

Can you elaborate on what you mean by privacy?

[1] https://en.wikipedia.org/wiki/Renault_Zoe#Safety

[2] https://en.wikipedia.org/wiki/Tesla_Model_3#Safety
Probably!

-- The any function determines if some element of the input list satisfies the given predicate:
any f [] = False
any f (x:xt) = f x || any f xt

In the meantime here's a more palatable version of 'any' for the 99% of programmers who are put off by the confusing Haskell:

// Returns whether any elements of this stream match the provided predicate. May not evaluate the predicate on all elements if not necessary for determining the result. If the stream is empty then false is returned and the predicate is not evaluated.

public final boolean anyMatch(Predicate<? super P_OUT> predicate) {
return evaluate(MatchOps.makeRef(predicate, MatchOps.MatchKind.ANY));
}

final <R> R evaluate(TerminalOp<E_OUT, R> terminalOp) {
assert getOutputShape() == terminalOp.inputShape();
if (linkedOrConsumed)
throw new IllegalStateException(MSG_STREAM_LINKED);
linkedOrConsumed = true;

return isParallel()
? terminalOp.evaluateParallel(this, sourceSpliterator(terminalOp.getOpFlags()))
: terminalOp.evaluateSequential(this, sourceSpliterator(terminalOp.getOpFlags()));
}

public static <T> TerminalOp<T, Boolean> makeRef(Predicate<? super T> predicate,
MatchKind matchKind) {
Objects.requireNonNull(predicate);
Objects.requireNonNull(matchKind);
class MatchSink extends BooleanTerminalSink<T> {
MatchSink() {
super(matchKind);
}

@Override
public void accept(T t) {
if (!stop && predicate.test(t) == matchKind.stopOnPredicateMatches) {
stop = true;
value = matchKind.shortCircuitResult;
}
}
}

return new MatchOp<>(StreamShape.REFERENCE, matchKind, MatchSink::new);
}
>No shifter stalk anymore, car guesses direction you want to go, no turn signal stalk, no headlight/wiper stalk, etc

Sounds like they talked to the designers at Apple.
23 model y owner.
Quite happy after 1 year. 0 issues
Extremely happy