skysight-inc/HackerNews huggingface dataset:
This discussion about monitor-aware positioning of windows relative to another is a real treasure trove: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/m...

One post summarizes it pretty well. Jehan says:
> As GIMP maintainer, do you want me to open a separate report so that we explain our use case on multiple windows, as well as future planned use cases?

I find it fascinating. There is this supposed successor to X11, but it breaks a lot of existing applications, telling them that they are wrong. Because layout shall be done by the compositor, not by the application.
True, traditional desktop systems make a lot of invalid assumptions like Windows with a global physical pixel grid that makes it pretty tough to display windows which span multiple monitors with different DPIs correctly.
Yet still, they get one thing right: Positioning is a job shared between the application and window system. Because only the application knows the semantics in detail. Completely ignoring that and insisting on the application to only express these semantics via a previously-agreed upon protocol sounds pretty arrogant to me. This means that details will be lost. It's not up to the protocol designers to decide which semantic details are important. That's up to the application designer.
Steam Deck uses Wayland. It uses Xwayland to run X11 applications.
Releasing the trained model does not make it open source.

Open source means something else.

Calling released trained models open source is akin to releasing the binaries of a software for free, without releasing the source code, and calling it open source.
People have gotten completely lax about downvoting shit, 0 effort comments and childish humor.
You don't. You respect their mind. Simple. Make love not war of any kind.
Yeah, government's never get it wrong or anything...

There are some things, like families, that governments are simply not equipped or qualified to rule on. It doesn't concern them, they have no standing and no stake in the outcome. They are reticent to take real action and instead want people to bend to their will without having proven superiority of character, word, or deed.
After watching his speech, the first thing that came to my mind is one of the speeches that was given by James T. Kirk, which I had no idea which episode it was in, but I do remember the core meaning of that speech. So I use chatGPT to actually help me to find it by just single one question. And it works! And here's the thing I want to share with the the audiuence.

"They used to say if man could fly, he'd have wings, but he did fly. He discovered he had to. Do you wish that the first Apollo mission hadn't reached the moon, or that we hadn't gone on to Mars and then to the nearest star? That's like saying you wish that you still operated with scalpels and sewed your patients up with catgut like your great-great-great-great grandfather used to. I'm in command. I could order this, but I'm not because Doctor McCoy is right in pointing out the enormous danger potential in any contact with life and intelligence as fantastically advanced as this, but I must point out that the possibilities - the potential for knowledge and advancement - is equally great. Risk! Risk is our business. That's what this starship is all about. That's why we're aboard her. You may dissent without prejudice. Do I hear a negative vote?"

- James T. Kirk Return to Tomorrow (1968)
> Go learn vcpkg and come back to us when you learn why everyone does it this way.

What reason do you have in mind? Can you articulate it in a way that can be quantified/falsified?

The last time I pressed someone on HN about this[1], it quickly devolved into vague handwaving[2] of the same sort—that we all already know why so we don't have to talk about it.

(Asking because I thought I knew, and then one day I realized I couldn't actually explain it, at least not in a way that I could be confident that everyone else would actually agree with. It feels a lot like the hand of Ra[3] is at play.)

I'm curious to hear from anyone who thinks they know why or can perhaps point to where they've already explained it. I'm particularly interested in responses from people who deal with NPM. (What is the "NPM hypothesis", i.e. the value proposition for why having a skeleton source tree in Git that delegates the bulk of the work to `npm install` is objectively better—or subjectively better, even? Can you state it in the form of a falsifiable claim? If you're able to state a testable hypothesis and you have tested it, can you show your work?)

1. <https://news.ycombinator.com/item?id=37605966>

2. <https://news.ycombinator.com/item?id=37607202>

3. <https://srconstantin.wordpress.com/2016/10/20/ra/>
I wonder if they used ChatGPT for the translation.
I know them and am a founder of a vc funded ai startup. Nobody is deploying naive bayes algorithms
It's almost as if language and meaning evolve in the minds of people in strange ways.
Cool summary of FontForge. For creating fonts from handwriting there are, as implied in the article, easier and more automated options. After which you can still tweak the resulting font. https://www.calligraphr.com/en/ (previously called MyScriptFont)
I had a similar thought, but then it says "high intensity" stair climbing, which is not how I would describe my climbing.

Then there's also this:

> Researchers also found that those who stopped climbing stairs daily during the study showed a 32% higher risk of cardiovascular disease compared to those who never reported climbing stairs.

So I guess if we ever move we're actually worse off in the long run
This reminds me a lot of discussions I've had with people over the years about why I'm an atheist.

For many, it seems like religion fills an important void in their life. When they imagine me without a religion, they see me having that hole. But I never felt an absence in the first place. I didn't adopt a religion the same way most people don't, say, adopt a giraffe. I never woke up with "the pain of giraffe-less-ness", so never decided to get a giraffe.
> If you're a third party trying this on Amazon then it has downsides such as lack of reviews, poor ranking etc. on sku-0001b that most of the year nobody is buying

I doubt Amazon themselves would care. They permit a different scam in which you sell sku-0001a (say, a USB cable), garner lots of positive reviews, and then reassign the sku to a completely different device ($250 drone) and get lots of sales. FTC doesn’t appear to have paid any attention to Amazon’s scam enablement.

Going specifically to the topic of this post: I could imagine using this to reassign the sku from one laptop to another which would be much harder to enforce.
mmh, I was kind of hoping for something more finished ^^
I think it's more interesting how Wayland has worked fine for me on AMD, Intel, and Nvidia for the last 4 years on my personal machines and work machines, and yet here we are still talking about if it works or not.
It looks like an alien starfish diva posing dramatically as they deliver the final notes of an aria.
> Yeah maybe that’s why women live longer in order to help with the exhausting process of raising their grandchildren.

Except that men become more important, especially for boys, but also as exemplars for girls, the older children get. Nurturing is more important earlier on, which is also the specialty of women. Men are generally terrible at it and generally hate it, while women tend to have a much greater affinity.

> We love to take care of babies, regardless of (or maybe because of) how clingy and dependent they are.

We must be careful with words like "love", because in our day and age, we have assumed a very reductive and immature understanding of it (as that which gives us pleasure or sensuous delight and "good feelings"). Love toward children is dominated by the hard work of charity. The aim is to guide a human being into adulthood for that other person's sake, for the sake of their true end, not for ourselves (hence the self-centeredness of thinking one is entitled to having children, resorting to all sorts of immoral technologies to have them). Disinterested charity, of course, has the effect of actualizing us as people, and nothing is as actualizing as parenthood, as that is our essential identity (one that can be exercised in surrogate ways, of course).

> babies might have evolved to be more and more dependent, because having more and more invested caregivers produces fitter offspring.

The major reason human beings require more investment is intelligence. Many species are born or hatched ready to go, and perhaps never meet their parents. Some require only a relatively short period of parental support. But human beings must go through a long period of formation. Intelligence is also the reason why we lack all sorts of anatomical features that other animals have. Why? Because intelligence allows us to pursue all sorts of ends, while other animals are quite limited in this regard. Thus, we lose the baggage and instead make technology, like clothing, that allows us to adapt to any environment. Fur or scales or whatever are far more limited.

> Parenthood is a self-inflicted sabotage and I cannot understand how come there are so many parents bearing children worldwide.

What a freakish statement. Sabotage of what, and how? If anything is being sabotaged, is it our nature to be parents by the culture of mindless, emtpy distractions of hedonistic and superficial consumerism. This antinatalism is an attack on the human person. It destroys the common good. Attack parenthood and you attack the raison d'etre almost all of the activity of humankind.
It's more like releasing the code as open source (under whatever license is specified) but to make the code useful you need data and that data might be free but not open sourced under any license.

If it was trained on the entire internet for example - you can't just bundled up every piece of data on the internet into a zip file to include with the code to interpret it.
I don't find Cave's position convincing.

Leaving aside the bits based on "soul" and "god" which don't move me at all, the rest seems to boil down to something along the lines of: content produced with ChatGPT lacks effort and sense of accomplishment, and somehow threatens the existence of other "pure" content so we have to fight ChatGPT's existence itself.

This makes no sense to me. For example, wide spread and cheap book publishing, and later internet, means that the barrier to entry for writing has gone way down and probably 99% of stuff written is utter garbage: marketing copy, ghostwritten novellas following a cookie-cutter template, all sorts of crap.

Yet no sane person today would argue this was a bad development.

Once again this is the same story as with any technological progress. If we had a time machine and went back to the invention of the wheel I'm sure there would be a bunch of doomsayers trying to stop that too.
TBF Poettering was working for RedHat when doing pulseaudio and systemd. Without RedHat they probably wouldn't have been so widely adopted.

I didn't mind PulseAudio that much. Linux audio was a mess way before PA and PA at least works quite well for basic desktop sound. PipeWire works better and works also for DAW usage.

Systemd OTOH makes almost all possible sins against the unix philosophy and it being so fundamental piece, it leaks the anti-unix all over. RedHat pushed it so deeply e.g. in Gnome that everybody eventually had to adopt it.
It recommends RDNIS still. Last I heard that was being disabled on Linux soon.
At Thanksgiving this year my 8 year old nephew played music on my grandfather’s ~100 year old portable record player. My sister and I reflected that no music playing device (cd+tape) we owned as teenagers survived our 20s.
The advantages of Rust come when trying to do complex things with concurrency, and wanting to know that they're either going to be safe, or fail to compile.

Consider the now-classic "Fearless Concurrency" post about Stylo: https://blog.rust-lang.org/2017/11/14/Fearless-Concurrency-I...

Strictly, C++ pretty much has to be no slower than Rust. But it's certainly possible that a regular human might in practice write higher-performing parallel code when using Rust.
My advice to engineers starting out: Find an open source project and fix issues
I live in townhouse... I am golden...

But in more serious tone, I made a point long ago to run up the stairs whenever I can, I was in my 30s and 40s. There were younger people who couldn't get to 2nd or 3rd floor without getting seriously winded. So practice is all we need.
Ask HN: Have you made IRL friends from HN usage?
Hi all! Its me the resident weirdo...hardkorebob. Have any of you made a good pal, friend or bud on here this website we use everyday? If so, did you appreciate the odds of such luck? Thanks. Happy Sunday/Monday to all.
I mean, of course that's the case? xorg.conf* applies to X (the process) which isn't running any longer. Also, most people haven't need d a xorg config in a long while, except for unique cases.
>Someone once commented that men make extraordinary efforts to impress women

You are seriously suggesting that people go pro in X/Y/Z mostly because they want to impress girls? Oo
> Releasing the trained model does not make it open source.

This is a straw man argument as Meta has released the model weights and not just the trained model. When it comes to models the weights are the source.
The "world model" is basically the old school idea of AI, which has been mostly abandoned because you can get incredibly good results from just ingesting gobs of text. But I agree that it's a necessity for AGI; you need to be able to model concepts beyond just words or pixels.
make sure your knee are straight up and down, don't twist your knee
going down stairs incorrectly.. it'd wear your knee out fast and unnecessarily
In Ireland, I'm sure I've seen 325mg doses of aspirin and been puzzled by it. I assumed it was just a little bit stronger than paracetamol. While that's probably true, I can see now it's a bit arbitrary too.

Though maybe I'm misremembering or thinking of aspirin someone brought from the US. When I look up one of the most common asiprin brands here, it seems it is 300mg, not 325.

https://phelans.ie/products/dispirin-direct-tablets-24s
Author of Dyna53 here. Thanks for the mention!

Fun fact: Dyna53 was made public exactly on the same day, 1 year before (Sunday before re:Invent).
I can’t disagree with his point about song writing but I think ChatGPT is not going to alter the struggle that we face on a day to day basis. It is just going to amplify our accomplishments. The art that a single artist makes tomorrow might be the product of many lifetimes of human work yesterday.
NPR just had a series called Body Electric, the episode from Nov 17 explains sitting and how to counter. The takeaway is there is more benefit from small amounts of exercise, walking for 5 minutes every 30 minutes, so taking 16 breaks in an 8 hour day and breaking up sitting for long stretches.

https://www.npr.org/podcasts/510375/body-electric
> Nobody is deploying naive bayes algorithms

Exactly my point. You are so into user perspective that you think you are arguing against me.
Section 10.7 of "The Design and Evolution of C++" has some good ones from the early 90s:

"When (not if) garbage collection becomes available, we will have two ways of writing C++ programs."

"I suspect that a garbage collection scheme can be concocted that will work with (almost) every legal C++ program, but work even better when no unsafe operations are used."

"I am under no illusion that building an acceptable garbage collection mechanism for C++ will be easy - I just don't think it is impossible. Consequently, given the number of people looking at the problem several solutions will soon emerge."
token Idiocracy prediction: https://www.youtube.com/watch?v=446gNANQfeg
Not ever having to touch Xorg config files to get things working is pretty big advantage to me at least.
Maybe not usually, but here's an example when he was faster than stockfish [0]

[0] https://www.youtube.com/watch?v=vWghHUcjPZU
Probably $10bn now after I bought 1/10 billionth of the company for $1
Windows and macOS are both more popular and usable than desktop Linux so I think it turns out fine.
Short link without tracking (?si=...): https://youtu.be/T6JFTmQCFHg

Invidious link: https://invidious.askiiart.net/watch?v=T6JFTmQCFHg, https://yewtu.be/watch?v=T6JFTmQCFHg
Curious, what sort of hardware issues? I don't have experience with Nvidia, but on Intel, my experience is equal on gnome (in fact, quite improved for the last couple of years - more fluid animations, less lag, etc). I've had this experience on thinkpads and most recently a framework laptop (though, vendor hardly makes a difference in this case).
For English-language embeddings, the bge models from the Beijing Academy of Artificial intelligence outperform SBERT. There is a leaderboard somewhere on Hugging Face, but I can’t find it at the moment.
I'm still off Reddit and Twitter, and plan to keep it that way no matter what. Gotta be the change you want to see in the world.
I believe most compilers have switches to allow this. The real issue you might run into that can't be worked around easily is if the C source uses a C++ keyword as an identifier.
Highly recommend taking a look at 100r.co - Devine and Rekka run their studio from their sailboat, Pino and document their life, travels and projects.
Just move for 20 minutes. If rowing gets boring look for row bootcamps. Row for 7-10, lift light weights for 7-10, then row again for 7-10. The second row feels easy :)
> Ran into a few religious people who suggest the earth is a firmament

The firmament is the sky, not the ground.
> Forget walking 10,000 steps a day. Taking at least 50 steps up the stairs each day could significantly slash your risk of heart disease, according to a new study from Tulane University.

There’s no reason to be a couch potato and just get up to walk 50 steps a day. This is a terrible, terrible opening paragraph. We need to get over this “choose this, not that” meme when it comes to making healthy choices.
I don't disagree with you a bit! Science should be doubted in the correct ways, and for appropriate reasons, that's one of the main things I come to HN comments for. My issue with the OP was with his reasons - anecdotes about your children and personal opinions about the world might _trigger_ doubts, but they aren't good reasons to base those doubts on.
How do I use a fine-tuned model?
I trained a model using this on colab
import os
!pip install -U autotrain-advanced > install_logs.txt
!autotrain setup --colab > setup_logs.txt

project_name = 'my_autotrain_llm' # @param {type:"string"}
model_name = 'jphme/em_german_7b_v01' # @param {type:"string"}

learning_rate = 2e-4 # @param {type:"number"}
num_epochs = 1 #@param {type:"number"}
batch_size = 1 # @param {type:"slider", min:1, max:32, step:1}
block_size = 1024 # @param {type:"number"}
trainer = "sft" # @param ["default", "sft"] {type:"raw"}
warmup_ratio = 0.1 # @param {type:"number"}
weight_decay = 0.01 # @param {type:"number"}
gradient_accumulation = 4 # @param {type:"number"}
use_fp16 = True # @param ["False", "True"] {type:"raw"}
use_peft = True # @param ["False", "True"] {type:"raw"}
use_int4 = True # @param ["False", "True"] {type:"raw"}
lora_r = 16 #@param {type:"number"}
lora_alpha = 32 #@param {type:"number"}
lora_dropout = 0.05 #@param {type:"number"}

os.environ["PROJECT_NAME"] = project_name
os.environ["MODEL_NAME"] = model_name
os.environ["PUSH_TO_HUB"] = str(push_to_hub)
os.environ["HF_TOKEN"] = hf_token
os.environ["REPO_ID"] = repo_id
os.environ["LEARNING_RATE"] = str(learning_rate)
os.environ["NUM_EPOCHS"] = str(num_epochs)
os.environ["BATCH_SIZE"] = str(batch_size)
os.environ["BLOCK_SIZE"] = str(block_size)
os.environ["WARMUP_RATIO"] = str(warmup_ratio)
os.environ["WEIGHT_DECAY"] = str(weight_decay)
os.environ["GRADIENT_ACCUMULATION"] = str(gradient_accumulation)
os.environ["USE_FP16"] = str(use_fp16)
os.environ["USE_PEFT"] = str(use_peft)
os.environ["USE_INT4"] = str(use_int4)
os.environ["LORA_R"] = str(lora_r)
os.environ["LORA_ALPHA"] = str(lora_alpha)
os.environ["LORA_DROPOUT"] = str(lora_dropout)

!autotrain llm \
--train \
--model ${MODEL_NAME} \
--project-name ${PROJECT_NAME} \
--data-path data/ \
--text-column text \
--lr ${LEARNING_RATE} \
--batch-size ${BATCH_SIZE} \
--epochs ${NUM_EPOCHS} \
--block-size ${BLOCK_SIZE} \
--warmup-ratio ${WARMUP_RATIO} \
--lora-r ${LORA_R} \
--lora-alpha ${LORA_ALPHA} \
--lora-dropout ${LORA_DROPOUT} \
--weight-decay ${WEIGHT_DECAY} \
--gradient-accumulation ${GRADIENT_ACCUMULATION} \
$( [[ "$USE_FP16" == "True" ]] && echo "--fp16" ) \
$( [[ "$USE_PEFT" == "True" ]] && echo "--use-peft" ) \
$( [[ "$USE_INT4" == "True" ]] && echo "--use-int4" ) \
$( [[ "$PUSH_TO_HUB" == "True" ]] && echo "--push-to-hub --token ${HF_TOKEN} --repo-id ${REPO_ID}" )
How do I use this model on Windows 10?
I tried
from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = r"path/to/model"
tokenizer = AutoTokenizer.from_pretrained("jphme/em_german_7b_v01")
model = AutoModelForCausalLM.from_pretrained(model_path)

input_text = "some prompt"
input_ids = tokenizer.encode(input_text, return_tensors="pt")
output = model.generate(input_ids)
predicted_text = tokenizer.decode(output[0], skip_special_tokens=False)
print(predicted_text)
All I get is
s>ขय语선यせ易京개ulขय语선यせ易 Tŋ京藏ulขय语선यせ易 ŋ개京率개된 ขせ京개개된ขせ京造 변 语 待ў변개语待ξ변d语待ث변된

input_text is german. train.csv is a one column table called text with each sentence of a book each line.
Can tell from experience.
But you can turn off your computer and all the mess stays inside it.

Also, search.

Also, the fact that you can even use a browser to find information.

In the 80s you had to send a letter to ask for information and wait days/weeks/months before it was delivered.

If you were in a hurry you could use fax. Which might be same-day if you were lucky. And didn't need a lasting copy. Or a particularly readable one.
They are round units, in a dinosaur apothecary system.

325mg is 5 "grains".

"A grain is a unit of measurement of mass, and in the troy weight, avoirdupois, and apothecaries' systems, equal to exactly 64.79891 milligrams"

https://en.wikipedia.org/wiki/Grain_(unit)

81mg = 1.25 grains.

What ends up happening is a big study is done on an existing formulation of an old drug, results look good, and then you have to ask yourself: do you mess around with the dosing to get a round number, or go with what's been proven?
Funny, I've used a wlroots environment recently (hyprland), and noticed tearing in animations that I don't have in gnome. So, I guess I'll take "janky" :-)
He can't ignore NVIDIA, it's his job to make sure NVIDIA users can run his software by any means necessary.
There are good reasons to switch to Wayland. Features, security Standards and it being in active development are some of them.

Of course no one has to use / switch to anything, but reaching a critical mass of users would be helpful in the long term.
Of course not. Running is going to improve so many more things than a few flights of stairs. You're already running different distances so I expect different paces. Best thing is some sprints for vo2 max improvement and then longer runs too.

This article is really for people who can't do a harder form of exercise. It's showing climbing stairs as an easier thing to do than go for a run, if you can't go for a run

It is useful "especially among those unable to achieve the current physical activity recommendations"

If you can do proper exercise of course do that!
They were making massive jaw-dropping revenue years years before IPO. Secretly — the public or press were unaware.
It depends on the interest rate.
Well, we now have garbage collection. Just not tracing garbage collection.