skysight-inc/HackerNews huggingface dataset:
Show HN: LivePortrait App – Turn Static Portrait Image into Live Portrait
I built a LivePortrait webapp based on the latest open-sourced LivePortrait technology.

LivePortrait App is an AI-powered tool that converts static portrait images into vibrant, moving live portraits. This innovative technology accommodates various portrait types, including real photographs, animated styles, and artistic portraits.

Key Features:

- High-Quality Generation: Transform static portrait into lifelike live portrait.

- Precise Control: Adjust eye and lip movements for natural, realistic expressions in - live portraits.

- Diverse Style Support: Create live portraits from real photos, animated styles, and artistic portraits.

- Custom Animation: Utilize preset templates or custom videos to drive unique live portrait movements.

- Efficient Processing: Generate live portraits in seconds to minutes, depending on input and system load.

In addition, LivePortrait App offers a suite of complementary portrait and photo enhancement tools:

- Image Restoration: Revitalize aged or damaged photographs before live portrait creation.

- Image Colorization: Transform monochrome images into vibrant, colored photographs for live portraits.

- Image Upscaling: Improve resolution of low-quality images to enhance live portrait quality.

- Multiple Style Transfers: Create 3D renders, emojis, pixel art, and more for diverse live portraits.

- Specialized Filters: Apply clay or PS2-style effects for unique live portrait aesthetics.

I built this app to make cutting-edge portrait animation technology accessible to everyone and provide more combination tools to make live portraits even more fun and engaging. I'd love to hear your thoughts and feedback :)
> Those coal generators will end up as stranded assets (I believe the Chinese term is "tofu dreg"),

Tofu dreg buildings aren't stranded assets, they're (usually) buildings that have such low built quality that they're unusable. I.e having concrete walls you can rip parts out of with a single bare hand, skipping foundation entirely, making the whole thing topple over, creating drains that just end within a few cm etc

It's gonna be spicy if you've got a tofu dreg coal power plant
Here's a true story about one instantiation of "security is our top priority". You be the judge on whether this is an extreme outlier or pretty much the norm.

I was at one company where the PM blurted out (paraphrasing, but very close) "Enough of security talk. We will put out some nice wording on our website stating that security is our top priority and our product is perfectly secure. And that's that. We will not spend a single penny beyond that on making it so-called secure."

So, that's often what companies mean when they say "security is our top priority".

(The referred PM has since had a long career at a fruit-shaped FAANG, presumably making products secure. I hope they have grown up a bit.)
Amazon Q: Gen-AI powered assistant
Wholesaleinternet.net is just 1 of many places.
Lots of MUMPS use in financial system these days.
A lot of people suggests python, I'd argue that python is a bad fit for what many bash scripts does.

A bash script is basically scripting what you do on your terminal. I feel like scripting in the same language that is your terminal interface is underrated.

You can basically take a look at your command history and wrap it up as a script.

Yes, bash is clunky as hell. It has some really ugly warts. But learning the basics will make you more proficient in the terminal. The synergies are really nice.
Dude... every Italian kid read the divina commedia.

Dante wrote it in 1321. In poetry.

Oh, and he basically "invented" the Italian language.

that is difficult to read now.
Rather than sending an article that they'll ignore, I recommend helping them do it when you visit. Note: you're guarding against phishing and also locking themselves out of their accounts. Both are important.

I bought Mom a Yubikey and helped her set it up on her Google account. She has it on her keychain. She doesn't need to remember how to use it, though, since it's only needed when she buys a new computer.

For good measure, I also helped her print out backup codes (and I know where they are) and I registered my Yubikey, just in case.

Nowadays, an old backup phone might also work, but I think paper backups are better because an old, unused phone might not start.
Related:

China Building Twice as Much Wind and Solar as Rest of World Combined

https://news.ycombinator.com/item?id=40937714
Halving is a neat trick. In my experience you can usually safely halve the amount of sugar in most cake recipes and still get a great cake that is sweet enough.
Not pretending a GUID constitutes a security measure in the first place? It's just not the right tool for the job in any sense
You use Bash for that not because it is better, but because UNIX related binaries are configured in Bash.
Not just capturing, but training on captured inputs to replicate the fingerprint.
This one is cool, NSFNET traffic totals from just before commercial Internet took off. WWW usage is ranked #8, just barely above that of IRC: http://www.textfiles.com/internet/nfs494.hi
To add some context, it is perfectly acceptable in Swedish culture to have a friend of your child's over for a playdate, and NOT serve them dinner during dinner time.

Instead, the child is playing alone in the room while the family eats their dinner.
Or you can use PowerShell - Available on MacOS, Windows, Linux instead of suffering through incoherent syntax of Bash.
Additionally, we have just completed our US company registration. You can check the details here: https://wyobiz.wyo.gov/Business/FilingDetails.aspx?eFNum=198...
Consciousness as Recursive Reflections
There has always been a perfectly fine word for that which means exactly the same thing: man hours.

I remember learning in school (way before the hocus pocus fancy new words came out) that the development of an Intel CPU cost around 1000 man-years.

I don't understand how expressing this as "it took 1000 kilo-story points" or whatever would bring any advantage whatsoever.
> Unlike Transformer models, Mamba models offer the advantage of linear time inference and the theoretical ability to model sequences of infinite length

> We have tested Codestral Mamba on in-context retrieval capabilities up to 256k tokens

Why only 256k tokens? Gemini's context window is 1 million or more and it's (probably) not even using Mamba.
But that same benefit was always available with platform threads -- a simple API. What is the real gain by using virtual threads? It's either going to be performance or memory utilization.
Wot? Why? Isn't the kid hungry too? Isn't mealtime social time in Sweden?
The identity of story points depends on what information you have. If you don't know your team's velocity then story points are only relative complexity. Once you have your team's velocity you can use that information to convert to time.
I'm pretty sure most llms have very low eval scores on bash compared to other common languages.
A thread per request has a high risk of overcommitting on CPU use, leading to a different set of problems. Virtual threads are scheduled on a fixed-size (based on number of cores) underlying (non-virtual) thread pool to avoid this problem.
It’s funny. I am left handed but I have always worn a watch on my left arm. At some point, when I was told that was “wrong”, I tried putting it on my right wrist but I couldn’t deal with it.

I also mouse right handed because in the early days there was no such thing as an ergonomic mouse and it often wasn’t easy to change the settings to reverse the buttons. It does mean I can mouse and write at the same time.
Ok, so we agree that probability is not a part of physics. I also agree that the question of how to apply probability in physics is interesting.

I’m not sure about the “nobody knows” though. I would say that statistical mechanics has been quite successful in “knowing”: https://arxiv.org/pdf/cond-mat/0501322
> Used to be a viable strategy until they started to drop modules from the standard library at every single release.

That’s a bit of a ridiculous statement, there’s a small number of very-long deprecated modules removed in 3.12, and some more recently deprecated modules in 3.13. And these things are old, largely or completely unmaintained, and usually complete obsolete.

I’d be surprised if anyone has a script that’s been adversely effected by this, and if they did it’s because they stopped maintaining it years ago (and also chose to both silence warnings and upgrade interpreter versions without reading the release notes).
Apple added the same thing for iMessage/SMS. It worked as expected if the group message was all Apple users. But if you were the unfortunate person outside the ecosystem, you would get spammed with ‘{person} liked “{message}”’.

In some cases, people would react to the reaction leading to some ridiculous chains of text.
Now you are doing exactly the same mistake the article starts out with. Comparing story points outside your own team, of which you have zero context about how much 8 point represents.

How big your points are make no sense at all outside your own team. It is a relative measurement. 8 could mean 8 lines of code, 8 rest endpoints, 8 database columns or 8 interviews with customers. It certainly should not mean 8 days.
Because their parents have made food for their children.
I think you misunderstood the parent. If you speak of a number in the range 0-15 stored in 4 bits, we can all agree that "4 bit digit" is the appropriate term for it. But what about a number also stored in 4 bits but restricted to the range 0-13? It's a digit that fits in 4 bits, but calling it a "4 bit digit" without further qualification would omit relevant information.
That makes much more sense than my flash, which had been following a spark in the other direction:

Delimited continuations are functions, and as such (in a world of algebraic types where we can take sums and products of types) exponentials of types, ran^dom.

[in particular, with the substitution of isomorphism for equality they follow the normal K-12 rules: C^(A+B) ~= C^A * C^B, etc.]

I'd just been glancing at https://en.wikipedia.org/wiki/Convex_conjugate#Examples and the pattern by which single-branched f(x) seems to often become a multibranch f(x) reminded me of how logic-reversing functions in general and logical implication in particular "adds branching": if we wish to establish x'<=5 then if x is already <= 5 we may `skip` but otherwise we must calculate x-5 (and then subtract it off); similarly an implication x->y may be satisfied on one branch by not x but on the other requires y.

[and on the general topic: I like to think of temperature as tying together energy and entropy, where positive temperatures yield the familiar relationships but negative temperatures "unintuitive" ones]
The same as “We care about your privacy”
The title scared me. I was ready for a TOTP RNG generator attack, still remembering Samy's PHP RNG talk from the 2000s
Oh dude this is so cool. I think you’re dead right.

If you’ll pardon some woo, another argument I see in favour of message passing/consensus, is that it “fits” the self similar nature of life patterns.

Valid behaviours that replicate and persist, for only the reason that they do.

Culture, religion, politics, pop songs, memes… “Egregore” comes to mind. In some ways “recombination” could be seen as “cooperation”, even at the level of minicolumns.

(Edit: what I mean to say is that it kinda makes sense that the group dynamics between constituent units of one brain would be similar in some way to the group dynamics you get from a bunch of brains)
Briefly: The cost of spawning schedulable entities, memory and the time to execution. Virtual threads, i.e., fibers, entertain lightweight stacks. You can spawn as many as you like immediately. Your runtime system won’t go out of memory as easily. In addition, the spawning happens much faster in user space. You’re not creating kernel threads, which is a limited and not cheap resource, whence the pooling you’re comparing it to. With virtual threads you can do thread per request explicitly. It makes most sense for IO-bound tasks.
https://archive.ph/x4Q2g
>Most obviously, because the data isn't valuable to you. Why wouldn't you want to gather high quality data about recent Little League games?

If I was a baseball team, national baseball organization, little league team or organization of some sort I would probably want high quality data about recent little league games, hard to say because I don't know anything about little league or baseball so I am just reaching.

If I have a website I want high quality data about visitors to my website, and realistically also high quality data about visitors to my competitors websites which I probably can't get but I don't want high quality data about visits to little league websites unless that is the subject my website serves.

So, I would say that you and I agree - one wants to to have high quality data about things that are relevant to your business because then the high quality data is valuable to you - by definition.

Given all that I repeat: why wouldn't you want to gather high quality data about patients using your drugs?
True, though there’s a whole world of people who will yell at you for using Bash-isms rather than pure posix precisely because Bash (at least up to date versions) isn’t everywhere either.
I am admittedly taking a bit of liberty with the term, in the sense that these plants were built fast and going to be thrown away just as fast. Appreciate the correction.
Wanted to say I appreciated the GK Chesterton quote, I think it set up the article well as a balancing act between all things.
As the saying goes, we could have perfect security if we lived in the Stone Age.
Please don’t bring up US politics all the time. Almost in any political thread it’s always “Elon musk said this”, or “Joe Biden did that”.

JD Vance and Elon Musk has absolutely zero to do with Swedish child care.
I distinctly remember HTTP 1.0 and 1.1 having a default character encoding of "Latin 1" (ISO-8859-1).

Did some browsers stop doing that?

Edit: see https://datatracker.ietf.org/doc/html/rfc2616#section-3.4.1 and https://datatracker.ietf.org/doc/html/rfc2616#section-3.7.1
Haven't you heard of quantum mechanics. The probability wave makes it a foundational part and not just a macro phenomena.

Statistical mechanics is just a study of the application of probability to that macro phenomena. We still don't know why all of it works.
ah, we are not using it as a measure of teams performance, like throughput though. Its just used to predict what the team can deliver in a sprint or a quarter etc and make business decisions based on that.
imo the biggest difference between "virtual" threads in a managed runtime and "os" threads is that the latter uses a fixed size stack whereas the former is allowed to resize, it can grow on demand and shrink under pressure.

When you spawn an OS thread you are paying at worst the full cost of it, and at best the max depth seen so far in the program, and stack overflows can happen even if the program is written correctly. Whereas a virtual thread can grow the stack to be exactly the size it needs at any point, and when GC runs it can rewrite pointers to any data on the stack safely.

Virtual/green/user space threads aka stackful coroutines have proven to be an excellent tool for scaling concurrency in real programs, while threads and processes have always played catchup.

> “something” will block eventually no matter what…

The point is to allow everything else to make progress while that resource is busy.

---

At a broader scale, as a programming model it lets you architect programs that are designed to scale horizontally. With the commodization of compute in the cloud that means it's very easy to write a program that can be distributed as i/o demand increases. In principle, a "virtual" thread could be spawned on a different machine entirely.
> Bandwidth is not as expensive as people think

Now we only need to explain that to AWS folks
In had exactly the same experience when emailing my father.
What an evolution for the tech industry. From being the underdogs trying to change the world for the better, to becoming top dogs with all the same egoism and "money and power above all" that Big Oil and similar industries have been known for for decades.

From that perspective, Trump loves money, loves deregulation, and will open the door for whatever dystopian play if it provides enough benefits to him, so it only makes sense for him to be more favoured.

All that will come from this will be more evidence to how power corrupts everyone, and a lot of money made.
Yjs is used for synchronization of distributed editing, not just for Monaco but for VS Code and Theia, too. The Monaco integration is currently in the making. Once it's ready, there will be an example page on the open-collab.tools website where you can connect with others and work with a single editor.
That's cool. I didn't realize that those languages used arbitrary-precision integers by default. I know that many language offer a bigint but to me the difference between having bigints and them being the default seems significant. For instance, in JavaScript the `n` notation and them being called `bigint` (and not just `int`) is going to mean that they will get used very rarely.
I don't think anyone is really saying that story points aren't time. It's just that you don't know what the story point <-> time conversion factor is until your team is calibrated.
My guess is that this is strongly motivated by the success of LLMs.

The lack of MD support makes manual IO from Docs to your favorite LLM lossy (or very annoying). Cool that it's fixed.
Maybe you've been using the GD2md-html plugin. I've certainly found it useful over the years, and will likely still use it for some of my workflows.
https://workspace.google.com/marketplace/app/docs_to_markdow...
I'll note here that as with much of Shakespeare, there are really more edges connecting to the node civil here than the two ones I point out, which I guess is part of the enjoyment of the reading for me.
Not sure why my post was flagged here.. .but
My counter answer to yours is:

--
I suspect that many of the people in some public / high-net-worth / high-visibility positions that support Trump, actually share most of his views (on social issues, on governance, on foreign policy).

However, those folks will pick up 'least divisive' differentiating issue they can find, and will say that 'that's why the support Trump (e.g. low taxes, or whatever).

But I think they support him for being a modern day hero, basically -- withstanding the assault on his person, assault on his close allies, on the US Constitution, withstanding the pain, the threats, for years -- and not giving up.

And, yes, they support whatever he stands for as well. So they support the person, and support his policies not just 'a particular issue.
How to undo a zfs destroy?
MFA doesn't stop this kind of phishing. If you're tricked to put in your password, you'll likely put in your 2FA code right after. A yubi key or device passkey that uses webauthn can stop these methods, since the domain seeking authentication is checked and won't authenticate unless it's the original domain.

Even then, that won't help scams and fraud that just trick you into sending money, or direct you to install malware.
I feel skeptical; except abuse of worst nature; and do not care enough to comment coherently. A future lives around me. Yet what to Dan means a better model, distantly brings to mind the four conveyor belts from:

https://archive.org/details/the-age-of-surveillance-capitali...
I am new to bash and always struck at using the tools like `awk` and `sed.` You need to be good at regular expressions to write a good script using these tools.
Use RADIUS then. If you told someone the password, they can share it
> Creators want to get paid in local currency

> Consumers also want to pay in local currency

... which are often times different, so there has to be some kind of conversion step (not saying that it should be bitcoin).
Overall a good write up, but I have a few quips:

> Awhile later Meta released LLaMA[1],

I think Stable Diffusion was first to release a SOTA model (August 2022) that worked locally, not in language but image generation, but it set the tone for Meta. LLaMA only came in February 2023.

> The company Mistral had proven itself in the past with very impressive LLaMA finetunes

Mistal is not a finetune of LLaMA, it is a model trained from scratch. Also, Mistral was most of the time better than LLaMA during this period.

> Quantization techniques improved which meant LLaMA was able to run with less and less RAM with greater and greater accuracy

Quantization does not improve accuracy, except if you trade off precision for longer context maybe, but not on similar prompts. It is like JPEG compression, the original is always better for a specific image, but for the same byte size you get more resolution from JPEG than say... a PNG.
Knuth has a "hugenum" scheme, TCALC, which is based on trees rather than byte arrays. There are many ways to do it, depending on which type of numbers you need most - for TCALC, it's numbers close to towers of exponents.

Of course for every big number encoding that can beat an array of bytes for some numbers, it also has to lose to byte arrays for some numbers... But it's possible to bound this inefficiency, so that it's never more than twice as bad as byte arrays, but potentially exponentially more efficient for the favoured numbers.
Yes, the talk is called "What We Got Right, What We Got Wrong" from GopherConAU 2023. It's available on YouTube: https://www.youtube.com/watch?v=yE5Tpp2BSGw
This article nicely describes the differences between threads and virtual threads: https://www.infoq.com/articles/java-virtual-threads/

I think it’s definitely worth a read.
That's pretty close to what the article is describing, if I understand it right. They functionally define "tasks", the ones put in the queues they suggest measuring, as bits of work small enough that most of the uncertainty is gone. So until that's proven wrong (when reality smashes a task into a bunch more tasks), it's more-or-less equivalent to all your stories having the same number of story points.
My Home Surveillance System on FOSS
I’d like to add that there’s a negative externality with nuclear power that’s rarely talked about: they’re thermal power plants. They heat up the local environment which can sometimes be a problem depending on the setting. But more importantly: they contribute to global warming.

All existing thermal power plants is only a few percent of the effect of green house gases. Nothing to worry about right now. But it means we can’t really replace all thermal power plants, and scale up energy production massively beyond that with nuclear, without creating a global warming effect that we simply can’t afford in a future when the world is already on the bring of collapse.

Renewables - if we do a balanced mix, perhaps with more geothermal, wave and tidal in the future - could potentially scale the world’s energy production by 10x. Perhaps even 100x. You can’t really say that about nuclear thermal power (Helions power plant may be an exception).

I will say that there’s one possible way out: radiate the heat directly to space with radiative panels. But that would essentially be reverse solar power plants and the area advantage would disappear.

I also feel like advanced geothermal is threatening to eliminate nuclear power completely if the maser/plasma drilling techniques being researched works out. It’s a bit out there, but not much more than the molten salt and thorium solutions that nuclear proponents say will solve some of the critical issues around uranium fuels.

I like nuclear technology though. I still support R&D there. Should hedge our bets.
"Safety Third" by Mike Rowe:

https://www.youtube.com/watch?v=Km8XxRCuCho

(I don't fully agree with the message though. It's not just the user of the process that is responsible for their safety. It's mostly the designers of the process.)