skysight-inc/HackerNews huggingface dataset:
The latest Kotlin can target WasmGC. WasmGC became enabled by default, quite recently, in both Chrome and Firefox:

https://developer.chrome.com/blog/wasmgc/

Kotlin's support is in Alpha right now, but works well, and it's one of the first language implementations that can target WasmGC:

https://blog.jetbrains.com/kotlin/2023/12/kotlin-for-webasse...

By comparison, .NET's Blazor targets LLVM, and they either AOT or JIT, however the client has to download a heavier runtime that has at least a garbage collector (nevermind the JIT), and is less than ideal. Basically, the original Wasm was designed for languages with linear memory and still makes a great target for C++ or Rust, but not for managed languages like Kotlin/Java. dotNET's WASM is there only to support Blazor, which is a web framework, a sort of successor to Web Forms and whose future is uncertain. Speaking of which, you're better off with MVC + HTMX, but I digress. So for more interesting use cases, Kotlin is actually ahead in their Wasm support.

For multi-platform support, the company behind it has a vested interest in targeting multiple platforms, and Kotlin Multi-platform support also has Google backing. So, for one, you can share business logic on iOS, as you can integrate Kotlin libraries into Swift applications:

https://kotlinlang.org/docs/multiplatform.html

And they have been porting Jetpack Compose to the desktop and to iOS (and can be used with Wasm in the browser, too):

https://github.com/JetBrains/compose-multiplatform

Also, see this year's keynote at KotlinConf:

https://www.youtube.com/watch?v=c4f4SCEYA5Q&t=2903s

Over on dotNET side, the blessed solution by Microsoft, for targeting iOS, Android, or the desktop, is right now .NET MAUI. So, where's Xamarin? Where's Silverlight for that matter? That's right, Microsoft changes multi-platform solutions like they change socks, and I don't understand how anyone could trust them for a multi-platform solution.
> any designer who attempts to help and improve things finds themselves ignored, with no means to actually carry out any decision, and walk away soon after.

Ah yes, remember how long it took before image thumbnails appeared in the GTK file picker? Finally in 2022, but that was after countless forks and patches submitted that implemented them.

https://jayfax.neocities.org/mediocrity/gnome-has-no-thumbna...
digital grey goo.

this is far worse than dirty metal, not that that’s minor. (it is a fantastic analogy.)
Sorry, how about: 'Needed this to be done for my year end review' instead?
> They speculate that part of this may be due to almost all cars in the US having automatic transmissions, compared to only 25% in Europe, making it more of a hassle to fiddle with your phone while driving in Europe.

I can't speak for Europe but in Australia there are quite strict laws about how a phone can be used while you're driving.
The derive macro is also key here. Have you ever looked at the machinery needed for Java's URI type to have a halfway useful hashCode implementation? It's pretty elaborate, there's just no way the average programmer will do that work correctly for their own types even ignoring the desire to allow different hash functions. Rust programmers are almost always able to just write #[derive(Hash)] and not worry about it.
What's more, you can get a significant speedup from your Python scripts by replacing the inbuilt cpython malloc calls with a static "allocate big chunk of stack at the beginning and I'll manage it myself" implementation, falling back to malloc as needed if it grows beyond that. A college class in perf engineering I TA'd did this, the results even a beginner could achieve were compelling, the top of the class produced results quite remarkable indeed..

This is most effective for reducing startup time of short lived scripts, where the runtime is dominated by many thousands of trivial mallocs right at startup. But in general if you can establish a bound on memory, it will be faster to allocate it in one shot.
> And they're also lazy so go for people who have already done the legwork (journos).

I don't think they should be able to strip-mine journalists for information, but "laziness" that makes things get done faster is usually called "efficiency". You could also say they're being lazy by taking cars/busses/trains instead of walking everywhere, or searching criminal databases instead of manually leafing through mountains of criminal dossiers.

We shouldn't fault police officers for attempting to do their jobs as efficiently as possible. However, there's an unavoidable conflict of interest in asking those officers to also support the weaknesses we've intentionally built into the system. We need a separate group of people within the government constantly putting them in check, but that doesn't make the police officers bad people, even those who are pushing the boundaries we've established.

History has shown that healthy democracy is a fragile metastable state, prone to devolving into autocracy and/or oligarchy. Also, historically, certain weaknesses in the state security apparatus are the only way we know of to create a healthy democracy from an autocracy/oligarchy. As an insurance mechanism against this once-every-few-hundred-years-millenium tail risk, we build these weaknesses into our state security apparatuses in the hopes that the autocracy/oligarchy that captures the state security apparatus won't be able to fix the weaknesses fast enough to prevent a democratic revolution.

I know many people know this, but I wish we were more explicit in explaining that we're sowing the seeds of the democratic revolution that will bring down the government that topples/captures our current democracy. Yes, that does increase the crime rate and we need to be careful about that, but it seems some crime is the unavoidable cost of that long-tail insurance.

It's good that some police officers are pushing to bring down the cost of that insurance, we just need to make sure there are powerful people ensuring the officers don't go too far.
Q.1 Tony Blair has announced a series of anti-terrorism measures following last month's London bombings, which some people say might mean the loss of some civil liberties. Do you think it is right or wrong to lose some civil liberties to improve our security against terrorist attacks?

I dont think you really need further specifics - years later without bombs going off I expect, with no further explanation to those polled needed, that the 70/30 split would probably be the opposite direction.
I used to hitch-hike quite a bit, and a few times I got picked up by a journalist just back from covering some God-awful war, I guess they just wanted to talk to someone who didn't want to kill people, just to get it out of their head. I'd get out of their car feeling like a low-rent psychiatrist, thanking my lucky stars that I didn't have their job. Journalists have my deepest respect.
W4 Games announces pricing model for console ports
The first two words on the page are "Hyper Performant". Pointing that out as baseless hype seems fine.
>also Gemini Pro (Google's best available model)

Pretty sad for Google if their next big AI thing is already being beaten by a small company with a tiny fraction of their resources.
Ask HN: How do you stop ChatGPT from being lazy?
I've noticed over time that ChatGPT 3.5 and 4 is now very likely to refuse to finish tasks if they're too long.

for example it will output things like:

User input example:Give me an object with 50 keys corresponding to X

GPT output:

{

output1: "example 1",

output2: "example 2",

output3: "example 3",

//etc....do the same as I did above for the 47 others keys you asked for

}

I've tried a lot of different prompts/custom instructions to try to force him to finish long tasks, but it will either do the same BS after a while, or crash.

I think OpenAI is pushing hard to make the ChatGPT outputs as small and cheap as possible(either by finetuning or prompting), that would be acceptable if it was still a free product, but I'm paying for Plus, so this is infuriating.

Do you have any methods to force him to complete tasks without skipping anything?

Thanks
Ultrasonic Transformers: Towards a Noetic Frontier
Show HN: ZestUI – UI Kit for Ruby on Rails Styled with Tailwind
Hello!

I'm excited to share something I've been working on: ZestUI, a UI kit crafted for Ruby on Rails.

As a long time Rails dev, I've increasingly felt that, this is one area other ecosystems have leapfrogged Rails. You had to bring together disparate elements - UI libraries, Stimulus Controllers, Icon Libraries and none integrated deeply with Rails.

Working on Rails models or controllers are a joy compared to working on views. "It shouldn't be this difficult" was the voice in my head and that is what led to ZestUI.

Built with Phlex, styled with Tailwind with custom built Stimulus controllers.

It's got

- 25 themes

- Dark Mode

- Form Builder

- Icons

- Built in Flash Toast

- The components are responsive or have specific mobile views

- All the JS needed (Stimulus controllers) is wired up automatically

Phlex is a game changer. It is simple, powerful, intuitive and performant. I will never ever write a component as a partial/ViewComponent again.

Site: https://zestui.com/

A short video (50 seconds) showing it off: https://youtu.be/OQmDZddLtR8

I'd love to hear what you think
> The EUR is below parity with the Dollar. Heaps worse.

Apparently it was, but not anymore. It's $1.07 now: https://www.bloomberg.com/quote/EURUSD:CUR
number one does not apply to me because I'm in the USA/CA, but included just incase someone from Inda views: 1) Emphasize completing courses/books before 11th grade.
This is RC1 so I wonder if Shopify, Discourse, GitHub or 37signals has any preliminary figures how much this speeds up their Rails application.
> It's been sitting for eight months at room temperature in a plastic bag, I think we can pretty safely assume it was in bad shape.

At some point there were no bacteria which could decompose big fallen trees. More and more fallen trees increased pressure on the ones beneath and some time later we've got coal and diamonds.

Tomato in a clean-ish room in a space lab may have deteriorated the same way that McDonald's burgers do in a kitchen environment full of nasty bacteria and mold spores - not much.
I can totally see some junior dev who doesn't fully grok transactions (and not reading/understanding the "What happens when there is a race condition?" section), trying to deploy something like this and scratching their head why it falls over completely in production. The site worked fine when it was just me testing it!

This is a neat proof of concept and I encourage experimentation. But, if you're developing something, please just use postgres, and don't try to cobble things together with something like this.

Edit: already seeing the downvotes. Yes... classic HN... anything that goes against plain old sanity is punished.
Meta/Facebook instilled such hatred and distrust against themselves by their behavior, which continues to this day and will continue in the future, that people are happier to seek out feasible alternatives to anything they produce.
It’s good to have options for hosting. There are thousands of Wordpress hosts.

There’s one wix host. You’re never getting your data out of them.

Also that means Wordpress is or can be near free. I’ve paid $30/year for a random cpanel host for decades (same price, woot!). I think I host multiple Wordpress sites for friends or old corworkers. I don’t charge them anything. I don’t even know how many I host. I don’t care. So it’s free to them.

Or if I wanted to host a standalone site, $3/month is cheap. And I can port to anywhere.

Also, Wordpress hosts for $10/month too.
I never liked this special rules for reporters concept. Why should anyone have more rights than another? Rather than your suggestion of assigning blame to the employers, my proposal also makes it obvious that the government should have to prove some level of likelehood before searching anyone. Reporter or not.
There was a GitHub org of “maintainers who want to maintain deaf projects” and had a formal adoption/governance process as well. I don’t remember if it catered to JS, but I can’t find it right now.
You're right. But this only means that it won't be possible that you use the same template for different slots. Personally, I don't remember I ever needed that. Actually, most template engines I know work this way (https://twig.symfony.com/doc/2.x/templates.html#template-inh..., "{% block content %}").
But still, it's easy to archieve that by just creating another sub template.
So your first template file is the layout, the second one contains the main block definition, and that definition you just include another sub template which can be reused elsewhere.
Several years ago I switched to decaf to help with my anxiety. It did help but I also crashed almost every afternoon so I went back. Unfortunately, the coffee started giving me nasty acid reflux so I switched to drinking Earl Grey tea every morning.

About six years ago I changed my diet and started Keto. Now that I'm keto-adapted I drink a cup of green tea each morning more out of habit than necessity. Sometimes I need a little 15-minute nap in the afternoon but otherwise I'm good. On a recent 5-day trip I had no caffeine at all and didn't miss a beat.

So, for people who say they need caffeine to get through their day I say, take a look at what you're eating. You might be surprised at how it's slowing you down.

n.b., I'm not saying everyone must do keto. That's just what worked for me. I'm convinced after six years of researching nutrition that eating real[1], idealy organic food and moving their body on a regular basis is all anyone needs to generally stay healthy and have energy.

1: If you look at the ingredients of the food you're about to eat and you can't find them in your kitchen, then it's not real food.
Everything from "..continue to be oppressed" until the end.
But again, the main point is how does your example have anything to do with the framing of the current conflict in Palestine and what the Palestinian people are undergoing?
It would be determined mostly by the dimensional stability of the polymer they're injecting.
There's something built in somewhere. I accidentally press the wrong keys sometimes and a yellow box pops up where I can take a note. But then I close it and don't know what keys I pressed. I should write it down in my paper notes somewhere.
I asked ChatGPT 4 for an explanation and came up with this analogy,

Imagine all in-game characters have their data in a database. The database might have one or more tables representing an objects ID or another reference, its position, its health points, and image data representing how to draw the object. These three things are "components" and the IDs and references are "entities."

A system is anything that manipulates one of these components. Thus, a function that manipulates a component is a system.
This is very similar in concept to https://bearblog.dev
That sounds like a personal problem.

It’s not the sexiest, but it gets the job done. I’m chalking this kind of sentiment up to people who think PHP isn’t good enough. 1 million times to one, PHP is good enough and my imagined unique snowflake idea doesn’t really need anything special.
Ask HN: Enhancing Developer Productivity with Tailored ChatGPT Response Prompts
I recently saw an article about some developer using ChatGPT with custom response prompts.

I thought it would be fun to have a thread about custom response prompts for developers.

Here’s my custom response prompt for ChatGPT.

————

- I prefer bullet points. If I ask a question, Always give the answer first, then explain in detail.

- I want to be addressed formally as ByteMe128 in every response.

- When I ask a question about styling for a react project

- When I talk about javascript react projects, I want you to assume that I am using Next.JS. I use tailwind for my styling unless otherwise specified. I always use typescript with React. So when I ask for something in javascript, please just convert it to typescript unless I specify.

- When I ask something specific to tensorflow, assume it is python with pandas dataframes and numpy. When I talk about tensorflow or pandas, i always want the replies in python.
Bitcoin Security Advisory
I know what the WW2 axis powers were, of course. But we're not in WW2 anymore, hence my question.
Short version:

You trade off increased VRAM usage for better training/runtime speed and better splittability.

The balance of this tradeoff is an open question.
Seiko fan here. Seconded.
Shelters will just not label the dog as a pitbull mix. I got a "border collie mix" that is indeed border collie but a DNA test shows it is part pitbull. Also part rhodesian ridgeback, part a bunch of other things.
For a long time, the only reason I ever needed to open VS was for WinForms and WPF visual editing. Earlier this year, Rider implemented a WYSIWYG editor for those frameworks. I think based on Avalonia.

Now I have no reason to use VS at all, and my life is better for it
> The material having more flex than glass or plexiglas gives it more impact resistance, so maybe there the phone screen use-case is plausible

I'm not sure I buy that, there's lots of materials that are more transparent than this "transparent" wood that can flex. Polycarbonate is a great example of this. So transparent we make most of our eye glasses out of it, durable and impact resistant we call water bottles made out of it "unbreakable" but we don't use it in phones.
37signals is running 3.3 and they posted some info on it...

https://dev.37signals.com/yjit-is-fast/
Yeah, I came here to comment that this sounded very similar to the belt. The comment numbered 3929 on the link you provided is useful as it succinctly explains the difference:

The addressing (STRAIGHT vs Mill) is different: STRAIGHT refers to the generating instruction in time order, whereas Mill refers to the dropped result. In the hardware STRAIGHT uses a scoreboard approach to block for uncompleted instructions, while Mill uses full static scheduling. Some benefits are shared: no renaming, no encoded result registers. Some are peculiar to one or the other: Mill needs no reorder buffer, while straight need not track instruction retire time in the compiler.
> Why would any creature have hormones to accelerate aging

Octopuses trigger rapid aging after
giving birth from their “optic gland,” which “undergoes dramatic changes to produce more pregnenolone and progesterone, maternal cholestanoids, and 7-DHC during the stages of decline” [1]. (”Some females in captivity even seem to intentionally speed along the death spiral, banging into the sides of the tank, tearing off pieces of skin or eating the tips of their own tentacles” [2].) When the optic gland was removed, the affected females “abandoned their eggs, resumed feeding, and some even mated again.”

Leading theories include octopuses being “cannibals” having evolved “a biologically programmed death spiral may be a way to keep mothers from eating their young.” Alternatively, octopuses are close to biologically immortal, “so eliminating hungry adults keeps the octopus ecosystem from being dominated by a few massive” members.

TL; DR Programmed death is biologically precedents. There is evidence it is at work in most animals, including humans.

[1] https://news.uchicago.edu/story/what-causes-octopus-death-sp...

[2] https://www.sciencedaily.com/releases/2018/09/180925140402.h...
I guess one thing people have learned is that these small differences whatever benchmark turn out to be huge differences qualitatively.
Half of the time it's magnetized and running a few minutes fast per day, and the other half (shortly after de-magnetizing it)

Wow, that's bad. Do you know what is magnetizing it? A cheap Seiko 5 should be able to keep time within a few seconds a day. Minutes a day means it is broken. It isn't a just tuning issue, there is something else going on.
>one could easily claim that it is the most harsh regulator on the planet.

The argument that the EU is a more harsh regulator than Iran, Russia, China, North Korea, (or even on par with those regulatory regimes) entirely undermines the rest of your comment.

There's pretty well tested and highly respected indexes which fundamentally disagree. Of the 7 most economically free nations, three are in the EU, and a fourth is automatically party to the majority of the EU's economic regulations.

https://en.wikipedia.org/wiki/List_of_sovereign_states_by_ec...

In the Index of Economic Freedom, more than a dozen EU member nations outperform the United States with regards to Economic Freedoms.
3D printers have very little mechanical complexity. It's all in the software.

If it wasn't for the computing power/software complexity required, hobbyist 3D printers could probably have been a thing in the 70s or 80s
I'll second Rider. Well worth the money, in my experience. I use Rider products exclusively on Linux, and they tend to work well.
It's addressed in the article. It could work as windows, but they'd be 'frosted'.
> Maybe in half a million years they will still bang planks together?

But maybe they'll be doing so... in outer space
The timing seems right. A year after that, Google reestructured as Alphabet; three more years and it abandoned the "Don't be evil" motto.
Yep, get the fastest memory you can.

I wish there were affordable platforms with quad DDR5.
It makes sense. After killing Google Reader making RSS less relevant helps to justify that as the right decision :)
You can register domains yourself and set them up, under "Switchboard" --> "External Domain Routes"
What If We Pretended That a Rust Task Is a Thread?
if we always demand to be told how to behave, no one will actually understand how to behave in isolation.

you wouldn’t download a car.
Vercel Functions now scale 12x faster for high-volume requests
Show HN: Holiday Jam
Hey HN - Looking for something fun to do with your remote team before winter break? My team of 4 just shipped the Holiday Jam, a free, out of the box holiday party template that works like Jackbox meets Slido. Fun for groups of any size, works with host screen sharing and viewers scanning QR codes. Thanks for taking a look!
Some quick numbers from a recent study:

Transparent wood tensile strength - 171 MPa

Basswood tensile strength - 2.4 MPa

PMMA plastic - 75 MPa

*Edit - Non-transparent densified wood - 398 MPa

https://www.sciencedirect.com/science/article/abs/pii/S13598...
https://designerdata.nl/materials/plastics/thermo-plastics/p...
https://www.matweb.com/search/datasheet.aspx?matguid=1775e21...
https://pubmed.ncbi.nlm.nih.gov/35807412/
Interesting article but in my company the shifting priorities aren't ego driven, it's driven by the rapidly changing technical requirements of the company. Maybe at Google it was ego but at the startup I work at it's just pivoting to capture market share.

A lot of my peers have trouble with this constant shift and I think that's ego. They are wrapped up in their own work and are ignorant of the company's priorities.
if you liked that, here's a good delivery of a variant of that joke by Harrison Ford: https://youtu.be/TRHWvVBxWCw?t=47
Azure AI Speech announces public preview of text to speech avatar