Pablo Soto
331 posts


@tsoding Hold up! Are you an academic nepobaby? I had a feeling about you. What fields are your parents in? Do you have a PhD too? Don't be shy, it's no big deal
English

@AOC you are right, trump woke up this morning and was like “i want to drink some oil and people are mad about health care, time to attack a country”
that makes sense you make sense this narrative makes sense and is well thought out and not just convincing to dumb people
English

So... after posting yesterday about raylib being trending on GitHub, today #raylib is the #1 most popular C project of the week on GitHub!!! 😄
I'm sure there is some lesson to get from this... 😉
Source: github.com/trending/c?sin…

Ray@raysan5
Today #raylib is the #2 world trending C project of the week on GitHub! 🤯🚀 Source: github.com/trending/c?sin…
English

@IgnatLoskutov @raysan5 @danielcdev 🤷♂️ it’s just the way it works, the compiler is triggering an error because there is one. Otherwise the function might add a pointer to a literal to the array (correctly) and the caller try to modify that (supposedly not const) item’s memory (correctly) invoking critical UB.
English

@pabloMP2P @raysan5 @danielcdev Let's not imagine it writes over a pointer-to-const, which requires another cast
English

@IgnatLoskutov @raysan5 @danielcdev Yeah, then -imagine- it puts a const char * at some position of the array and the caller modifies it later. The const char ** is pointer to pointer to char const, the callee modifies pointers without constraints other than final memory being const char. Then the caller uses char.
English

@pabloMP2P @raysan5 @danielcdev But it's the other way around, the callee treats them as const char*...
English

@IgnatLoskutov @raysan5 @danielcdev It's just as dangerous in C++ as it is in C. If the caller ends up treating elements of the array as char* when they are actually const char* you get in big big trouble.
English

@pabloMP2P @raysan5 @danielcdev On the other hand, coercing char ** to const char *const * is safe and allowed in C++ but not C
English

@raysan5 @danielcdev Casting char * to const char * is allowed (and done implicitly) because you're just promising not to modify the data. But going from char ** to const char ** can let a function store const char * in your array while the caller still thinks it’s modifiable: root for UB later.
English

@danielcdev Yeap, it used to work without problems before gcc 14+, it still works with msvc... You can try raylib_project_creator project on GitHub, it's FOSS. I'm getting this issue with multiple projects...
I don't know, maybe it's a problem with the compiler?

English
Pablo Soto retweetledi

Vosotros no os acordaréis porque sois muy jóvenes. Pero una de las historias fundacionales de la web 2.0 en España fue la lucha de la industria discográfica contra @pabloMP2P, nuestro caso Napster. Hoy he tenido la suerte de conocer a Pablo en persona. ¡Qué tiempos!

Español
Pablo Soto retweetledi
Pablo Soto retweetledi

Imagine "untraining" a Large Language Model on specific content.
The New York Times doesn't want its content in ChatGPT. OpenAI would have to retrain its models from scratch. Removing any content from their models would cost them millions of dollars.
I just read a new paper from Microsoft Research that tries to fix this. This is the only study I've found so far that's looking into making models forget.
The paper proposes a process that makes a model forget about Harry Potter without retraining it from scratch.
It's a proof of concept. The researchers aren't sure whether their solution generalizes to other topics. It's a first step, but it's cool nonetheless.
What they did is kind of a hack, but I like it:
They fine-tuned the model using a dataset containing the original Harry Potter text as the input tokens and some generic labels as targets. They pre-generate these generic labels. For example, instead of using "Harry," they use "Jack," and instead of using "Hermione," they use "her."
In other words, they don't actually delete knowledge from the model. They overwrite it.
As we start using these models everywhere, the ability to forget information will become critical.
Let's see how much progress we make this year on this.
You'll find a link to the paper in the image ALT.

English
Pablo Soto retweetledi

La OMS pide la entrada inmediata e ininterrumpida a Gaza: “Los hospitales están al borde de una catástrofe humanitaria inimaginable” eldiario.es/internacional/… 👇
Español
Pablo Soto retweetledi

Patients in Gaza are being operated on without anaesthesia as supplies running out, @WHO & medics told me. WHO's warehouse in Gaza is now empty. Blood banks have 2 weeks left. “Critical shortages” in morphine, surgical supplies. Generator fuel almost out independent.co.uk/news/world/mid…
English
Pablo Soto retweetledi

#GAZA URGENTE
Impera el acceso inmediato de combustible porque debemos poder hacer funcionar nuestra planta desalinizadora, de lo contrario nos quedaremos sin agua potable en Gaza. Es cuestión de días que las personas, especialmente los niños, empiecen a deshidratarse.
Español
Pablo Soto retweetledi
Pablo Soto retweetledi

The International Court of Justice has clarified that “a State’s obligation to prevent, and the corresponding duty to act, arise at the instant that the State learns of, or should normally have learned of, the existence of a serious risk that genocide will be committed.”
Daniel Machover@d_machover
Urgent Action: Palestinian Human Rights Organisations Call on Third States to Urgently Intervene to #Protect the Palestinian People Against #Genocide - ‘It is now incumbent on the international community to intervene to prevent an impending genocide.’ alhaq.org/advocacy/21898…
English
Pablo Soto retweetledi

What's in northern Gaza, which Israel has ordered evacuated by tomorrow? Gaza's main hospital, dealing with 6000+ injured. A million people, including elderly and with disabilities. Food supplies.
Warnings are not effective if impossible to implement. #Six" target="_blank" rel="nofollow noopener">hrw.org/news/2023/10/0…
English
Pablo Soto retweetledi






