skysight-inc/HackerNews huggingface dataset:
I don’t know the actual reason. It may have been a desire to keep flexibility in the language design by not imposing TCE rules. I think one reason is that you can’t have a tail call if you need to free things afterwards, so changing the signature from taking an object to borrowing it could make calls to the function no-longer eliminatable. Rules for which calls are tail-calls can already be confusing to people in simpler languages.

I think they also make debugging harder, aren’t used much in higher-level code, and aren’t necessary if you have good looping constructs.
> Adam Savage

I misread this and had been googling to find the Adam Sandler episodes.
I hate this kind of clickbait marketing suggesting the project is delivering 1/100 of the size or 100x-35000x the speed of other solutions because it uses a different language for a wrapper around core library and completely neglecting tooling and community expertise built around other solutions.

First of all the project is based on llama.cpp[1], which does the heavy work of loading and running multi-GB model files on GPU/CPU and the inference speed is not limited by the wrapper choice (there are other wrappers in Go, Python, Node, Rust, etc. or one can use llama.cpp directly). The size of the binary is also not that important when common quantized model files are often in the range of 5GB-40GB and require a beefy GPU or a MB with 16-64GB of RAM.

[1] https://github.com/ggerganov/llama.cpp
I don't even run an actual ad blocker and this site is telling me I do. I just block some of the most egregious trackers...

Here's an archive for anyone in the same boat:
https://archive.li/tEhOp
The submitter can suggest a title, but hn will change the title on submission in many cases.
Are you completely sure?

https://caratsandcake.com/articles/wedding-fireworks-wedding...

“Wedding fireworks can cost anywhere between $3,000 and $25,000, according to Theiss—it all depends on timing and the size of the show you want. The more common range is $3,000 to $5,000 for weddings.”
> How would someone's friends figure out that it's not a natural diamond? I would think the only way the wife would know is if she asked about the diamond's papers, if she was going to get an insurance policy for it or something.

It actually doesn't matter how she finds out that you lied to her about the biggest life change she will ever experience for the rest of her life. What matters is that lying to a person you want to marry is a sure-fire way to end the marriage at some definite future point.

Arguing that it's okay because you will never be found out isn't relevant.
In case of HTMX I would need to?
Or, rather, he declined to steal his life away and imprison him
for what they obviously both agreed was a bullshit reason.

I don’t think declining to be a villain warrants the same response as choosing to be a hero.
You could, you know, just listen to it.
Not everything needs to be optimized for efficiency.
"H0w [...]" titles would be somewhat amusing and appropriate as a hacky way to bash those in, albeit inappropriate as being rather silly and circumventing this sort of policy.

The HN website editorializing titles automatically indeed seems wrong though: if those are bad or clickbaity titles, they probably could just not be upvoted much, maybe flagged, and otherwise dealt with using generic mechanisms, but attempting to automatically improve them does not seem to do much good. On a more optimistic note, at least those are predictable substitutions for now, and not any of the ML business.
If I understand correctly, what you are looking for are mesh shaders and shader work graphs, which allow one to basically do most of the compute stuff on the GPU without having the CPU steering anything, besides setting up the whole chain.

You will need DirectX 12 Ultimate or Vulkan for them.

https://developer.nvidia.com/blog/introduction-turing-mesh-s...

https://microsoft.github.io/DirectX-Specs/d3d/MeshShader.htm...

https://www.khronos.org/blog/mesh-shading-for-vulkan

https://devblogs.microsoft.com/directx/d3d12-work-graphs-pre...

https://gpuopen.com/learn/gpu-work-graphs/gpu-work-graphs-in...

https://gpuopen.com/gpu-work-graphs-in-vulkan/
Stop caring about that ignorant crowd.
> Not everyone wants to spend $20,000 on a rock so that their spouse isn’t “embarrassed in front of her friends.”

That's not the argument, AIUI. The argument is "Go ahead and spend $FOO on a rock, just be sure not to lie about how much you spent".
What makes you think so? Have you had or heard of someone having issues like that before?

FFIW, you could probably install Arch (from a TTY, like in the old days :p) with the an Ubuntu kernel and any firmware that was loaded-in at runtime from the stock installation-- I'm not convinced it would be neccessary, but Linux is Linux and (most) differences between (most) distributions are minor enough that someone who knows how to troubleshoot this sort of thing could factor them out.
https://github.com/ggerganov
Ask HN: "My GPT"s
Have you created "My GPT" instances (https://openai.com/blog/introducing-gpts)?

Please show them! And tell us how you customized them (for example showing the instructions under "Edit GPT").

I have just started to dabble in it, with mixed results.

But I find it really remarkable. First, the split screen with "talking to the GPT model and customizing it" on the left and "previewing how it would answer questions" on the right just feels like programming with words. Like the right side is a debugger with variable watch window.

Second, ChatGPT has started giving me two answers side by side and asking me which one I prefer.
You can buy a second-hand synthetic diamond for even less!
Is it just the eye? I was under the impression it was mostly tied to lack of skin exposure.
I see, thanks. Maybe I should not be so negative about it. :)
conversations over video game footage is the zoomer mode of communication, it is simply Superior
I thought to myself the same: surely, I paid for the thing, and I own it; can someone else tell me what I'm to do with it?

But then I realized that there are covenants that some home buyers have to agree to. In principle, it's similar--you agree to do, or not to do, some things with the very thing you own. But, aguably, covenants are for the benifit of the collective (say, a residential area), not for the seller or their reputation.
Do it! I feel empowered using as many cross platform services as possible so switching is relatively painless.
they didn't state that. more likely they watched part of it. how else would they get the impression that the presenter knows what she is talking about? i watched 10 minutes before giving up, but can make the same observation now.
If you think that just because a mine isn't in Africa that means it's a good place to work then I disagree
The first thought I had upon reading this is: How do we make sure we don't have another thalidomide diasaster?
Given that marriage is a business decision, it's absolutely important to be aware of the positions you could possibly end up in, and which situations each of you has society's favor in should a conflict arise. (hint: men are disfavored in family court by default) It's not always happier ever after.

We should not normalize people making rash decisions and chaining themselves to someone to fulfill cultural fantasies about romance. Don't marry someone you're not willing to walk to the grave with.
Aviation site avherald.com does the same with “Air” - for example “Iran Air” becomes “Iran” and “Air Lingus” just “Lingus”.

The site still refers to itself as “The Aviation Herald”, somewhat ironically.
It's much harder to make close friends once you're not in school anymore. It's one thing they don't tell graduates.
> If she wants a diamond despite knowing all the misery the diamond industry spreads, then you should probably just break up

Doesn't it matter what he thinks?

Does "If she wants to eat meat despite knowing all the misery the food industry spreads, then you should probably break up" sound like a good idea to a guy who isn't vegan/vegatarian/etc?
Why on earth would you use an ad ridden AI? Just use your own AI and have it filter out all the nonsense.

Smart ad blockers will soon be able to find and eliminate stuff like sponsored content automatically.

Glasses that automatically blank or replace billboards in real life might actually convince me AR is more than just a gimmick.
acknowledgement of irrationality, especially one that isn't accompanied with a wish to better themselves away from that irrationality, would be a major red flag for me personally entering into a long-term relationship.

there is also a great distinction between "Yeah I know another helping of chocolate syrup on my ice cream is a bad decision, but it'll make me feel good today.", and "You need to make a 10kUSD+ purchase on a totally arbitrary piece of jewelry that very well may have incited real human suffering and violence, even though I know that desire is irrational and poorly balanced."

I would assume -- maybe incorrectly, I admit -- that this form of irrationality would follow the individual and subsequently the entire relationship.

We all have different 'red flag dictionaries', so by all means people should live their lives; but I doubt I am alone in my assumptions.
> Find a professional front-end developer who is willing to use simple HTML, JS & CSS and I'd agree with you.

> It's almost impossible. The first reaction is always `npm init`

Consider a simple case — a static website containing several pages (it's simpler than anything requiring a dynamic server, right?). If you are a professional front-end developer, you are almost certain to prefer some kind of a static-site generator over copy-pasting the html template with repeated elements (header, footer, navigation) multiple times, because you know that copy-pasting will bite you when you need to change something. You could use a static-site generator written in Ruby (but then you would gem install), or in Python (but then you would pip install); or you could use a Hugo binary (I'd love to see anyone call its templating language simple); or, if you are a front-end developer, you might npm init && npm install eleventy. Is this too complex a step?
> Belief in astrology is seemingly harmless, but it’s a sign of underlying irrationality that I find unacceptable.

How about spirituality or religion?
...which would have the advantage that plugin authors could also use other languages that compile to WASM.
On mine (an aura 15 gen 2) the webcam and speakers are really not great. I don't mind as I knew that before buying it, so no disappointment.

On the plus side they really do support Linux, they provide a kernel module and control center app to control things like keyboard leds and power profiles, which does a good job. I find this quite good for a small company like Tuxedo.

I'm happy with my laptop and will consider Tuxedo again next time I need a computer, but I definitely advise to look at reviews beforehand.
Many people prefer the long conversational walks with detours and such, as opposed to efficient consumption.

You can run the YT subtitles an LLM to get a summary if you don't have the time.
HN's libertarian crowd real quiet right now.
My issue with ChatGPT is that it sounds like an expert consultant but I know it’s likely it’s just making up sentences some of the time. And I’d need a real expert consultant to know when.

So for an MBA major, 80% accuracy at 5% of the cost may be amazing but for me as an engineer and a person who cares, the inaccuracies are catastrophic.

I’m open to suggestions on how to work with this.
Well, maybe she should try communicating science while NOT playing a video game. That may be the issue making it hard?
Libraries like Vue allow you to easily add some interactivity to a site without converting it entirely. Why not do that?
> Not necessarily bad without knowing more about the parties involved. Some families are toxic and awful and should be cut off.

Maybe, but even in that case, you can't trust a spouse to do the cutting off because they are most definitely not unbiased.

If the cousin in question would have cut off ties without his wife telling him to, you might have a point, but the way the OP phrased it makes it seem, to me, that it was done due to instructions from the wife.
I am not trying to troll. I genuinely don’t see why a few MB on some binary matter when the models are multiple GB large. This is why I fundamentally misunderstood the article, my brain was looking for the other number going down as that’s genuinely a barrier for edge devices.
Quoted from the post:

> It was _immediately_ clear that Hammad was going to beg for a bounty, but it was a quiet Saturday night here and I thought it would be entertaining to see just how far down the rabbit hole he wanted to go. So, I responded, positively:

I suppose most of these useless bounty reports are quite easy to tell.

From the comment above:

> 20 mails each day

If you receive 20 mails a day to your security email address, then, perhaps it's time to setup a proper bug bounty program? They will weed out low impact vulnerabilities and only elevate the reports above a certain threshold. Isn't this a solved problem already?
> In that model and imbalance
> of resources, having statue
> of limitations[...]

Would a statue of limitations be symbolic like the statue of liberty, or an autonomous mecha or golem serving as an independent check on state power, whose slumber you'd disturb at your peril?
he still has the 2, so.. the price/perf delta was not good.
"Standard English" uses capital letters for proper nouns.
You can get a big speedbump with go without introducing the overhead of object lifecycle management.
> And parsing and ast building and the like are actually things that rust is quite good for.

Having built a compiler and typechecker in Rust, I don't know if I'd say that it was "quite good" for it. Going back, I'd still do it again, but it wasn't exactly a cakewalk. Rust's lifetime rules and visceral hatred of referential structs did not make my life easy at all. I definitely took the easy way out with a lot of string copies too.
I don’t really get the video game thing either. I’ve seen it from other people also though. I suspect it may be easier to talk about something while slightly focusing on another task, if you are a person whose self critic is tuned high, since you are less likely to over analyze what you are saying as you are saying it.

Recommend listening to the video instead, I did awhile ago and I thought it was interesting and well done.
It’s quite a common pattern in modern frontend frameworks. Each component includes just the CSS required for that component (plus any global styles). At built time, the bundler will generate unique class names for each of the HTML elements in the component and output an optimized CSS bundle matching those unique class names.

It definitely adds extra complexity in the build step, and the resultant randomly generated class names aren’t very nice aesthetically.

However, this approach allows you to read and modify the CSS, HTML and JS that affect a component all in the same place, instead bouncing around between different files. It also avoids the problem of naming (and remembering) globally scoped CSS selectors, and generally results in less CSS over the wire.
Oops, that's not correct, since 1 has no prime factor.

We should instead look at the odd-sized range 2..2N, in which N elements have smallest prime factor 2, making 2 the unique median.

Only in even sized ranges 2..2N+1 is the median shared between 2 and 3.
A look under the hood – What goes into training LLMs
The link to Atlantic article seems broken. But I found this: https://www.theatlantic.com/magazine/archive/1982/02/have-yo....
I don’t really get it. Prettier isn’t something that you need to run that often on the entire repo; you’re probably just running it on save in a handful of milliseconds or on a pre-commit on hopefully less than 10 files.

There are plenty other tools that often run on the entire repo, like tests, lint, build, type-checking, etc. focus on those. Bun showed that there’s a lot of space for improvement.
This is offline.
Got a Mac for work. I’m sure I’m holding it wrong, but to me it just doesn’t measure up to Linux/Gnome. Of particular annoyance is that Mac will just ignore my scroll wheel input sometimes. I suspect it’s a heuristics thing aimed at trackpads. Lots of other small things where Mac doesn’t measure up. And Homebrew is inferior to most Linux package managers. Mac is very focused on the use-case of GUI-only, trackpad-only, no external monitor, unplugged usage. That’s fine, but it’s really not how I use computers.
This is helpful, but I guess it's hard to determine without trying both platforms for specific use-cases
there is a difference between people who see in themselves that irrationality and express a desire to change or improve, and those that decide that the world needs to bend towards the irrationality, regardless of how uncomfortable that makes others.

A line should be drawn when the irrationality of one causes inarguable and debilitating friction in the relationships of that person.

In other words : It's okay to be the person who loves pink, dresses in pink, bathes in pink -- until it disallows that person to find meaningful work/friends/mates/whatever; then it's more than just human irrationality, it's the inability to cope with others and the world at large.
They've confirmed it: https://www.abc.net.au/news/2023-11-13/optus-identifies-caus...
This.

Big companies are in the minority and what they do would not classify as "normal" or "standard practice".

It really bugs when people say "it's standard industry practice" when actually what they mean is "thats how the big businesses do it".
> I've seen preprocessors and stuff like tailwind being rewritten in Rust aswell. Why though

a) speed.
On large codebases each preprocessor (and there may be many) can take a long time

b) Rust has several features which make it quite suitable for writing pasrers and suchlike
This config is GPU-less so it has the thermal / power budget to handle it.
It's kind of meant as developer machine.

As far as I can tell the trend was first started by the Mechrevo code 01.
https://www.tomshardware.com/news/amd-ryzen-4000-mechrevo-la...
Which actually got a decent amount of press have some initial Twitter hype. Several other Clevo based brands followed like Tuxedo and XMG. Not sure that Clevo actually intended it as a dev focused config originally, but they definitely leaned into it with later revisions after they saw the enthusiasm.

Not for everyone, personally the Framework 16 appeals a lot more to me (I've preorded), but when I was in college the pure CPU maximization probably would have won me over.
> If you’re thinking about marriage in terms of leverage you’ve guaranteed you’re going to find out about those courts.

The reality is that in every relationship (whether marriage, business, friend, sibling, whatever) one person will have more leverage than the other.

That's not the problem. The problem is when the party with the leverage uses it! The phrase "happy wife, happy life" is problematic because it normalises the usage of this leverage.

(And if you think women have all the leverage in the average relationship, just wait till you get to over 45 and the kids are all old enough).
Why do you think this is the case?
And as an added bonus, copper jewelry turns your skin green!

/s
Basically, WASM is now what the JVM was in 2000. It's portable because it is.
I didn't know string theory was dead. I'd read Smolin's critique, "The Trouble with Physics" (2006) when it came out. He wrote as if he's out of the mainstream back then. Apparently his is now the mainstream opinion.

Collier is hard-line Karl Popper - theories must make testable predictions which are later confirmed by experiment. It's good to hear that.

Around minute 34, she's covered the background and gets to the political point. "String theorists are liars". This has caused public hostility to physics. Which translates to funding cuts for particle physics.
It'll get there
I've received those mails a few times and while I agree with you to some extent, the way they are often formulated feels closer to "nice store you have here, shame if something were to happen to it!" -- as in, what is this person going to do if I don't pay up? That does not seem ethical to me.
"Wasn't supposed to be used" is all fine and good until your GitHub rep uses its existence to sell you on actions...
> How are you going to do the updates without FE logic? Refresh the page constantly? The client being able to fetch just updates is a lot more efficient. If you open a web socket the server can even push.

That's exactly why HTMX has gained immediate traction so quickly, it solves many of these exact problems elegantly and easily, much of the time without a single line of JS.
just use fluent reader dude open source and coolest looking one even than all paid ones combined.
It might come down to availability, although in general I prefer the higher wattage chips since they will usually have higher specced cooling and if you want to lower power consumption, you can use a tool like ryzenadj to lower power limits (but usually not increase power, which is usually hardware locked).
If it's a political problem, the problem is with our democracy. If its an economic problem, the problem is with capitalism. They can be considered independently if we choose to.

I don't know much about the crisis the OP is talking about, but I do know a bit about how our Australian Government gutted environment sciences because it was telling them things it didn't want to hear.

I wonder if the CSIRO needs to be an independent body like the ABC. (Not that the ABC is immune to pressure. )
> Metric hacking doesn't really exist in alternative systems of doing science. For example, it didn't exist in the Eastern Europe during communism.

I'd like to make you aware of this little known thing called The 5 Year Plans.
You’re free to modify the title again to combat HN’s title filter within a certain time limit from submission.
No? If this is irony ank mocking GP's point (which admittedly had nothing to do with the claim, I agree), it's a little bit too subtle.
Focus on the compile error story. In particular, the design should avoid anything that leads to post-monomorphization errors.

This is the single biggest mistake of Rust imho. I don't care in which compiler pass an error occurs as long as it happens at compile time.
Rust has this anyways, you can already create types that fail after monomorphization, so you don't get any of the touted advantages anyways. You might as well bite the bullet accept that the people who say “You guys are dumb, just copy Zig’s type system” have a point, and shed some of the ivory tower dogma in exchange for a better language. It's completely fine for monomorphization to fail, and it allows you to create much more powerfull types.

Rust is already incredibly complex, and most of that complexity comes from dozens of different systems that share few concepts all with their own syntax (modules, macros, traits, e.t.c.), so adding yet another syntax for static loops begs the question if some of this can't be unified.

Zig is a seriously flawed language, but comptime is the right abstraction for metaprogramming in an imperative language.