skysight-inc/HackerNews huggingface dataset:
Hey everyone, thanks so much for checking out FaceHarmony! I thought I’d share a bit about the tech behind it.

We’ve built FaceHarmony on Google Cloud Platform (GCP). We’re using SDXL to create those cinematic profile pictures, and managed instance groups with Google Batch to manage the heavy compute tasks for fine-tuning. It lets us scale easily based on demand, which is crucial for keeping everything running smoothly.

To make sure everything communicates well, we’ve set up Google Cloud Pub/Sub for messaging between our services. This setup helps us manage real-time interactions while the backend handles the AI processing.

For user authentication, we’re using Firebase Auth. We’ve also integrated Firebase Store Database to keep user preferences synced. On the backend, we’ve implemented FastAPI to build our APIs quickly and efficiently. We’re deploying these services on Google Cloud Run, which has been great for scaling our containers without worrying about server management. For the front-end, we’re using Vue 3 with TypeScript and Ionic to create a single codebase for both iOS and Android. This approach has helped us deliver a native-like experience on both platforms while keeping development time manageable. We’re using Google Cloud Storage to store user-generated content and model data.

I’m here if you have any questions or just want to chat about the tech!

Twitter: @OmidSakhiML
LinkedIn: https://www.linkedin.com/in/omidsakhi/
https://archive.ph/K9k5P
You’re just not really understanding what I’m saying.
As a second-career middle and high school math teacher, I have a working theory.

In previous eras in the US, we taught primarily procedure and facts, and assigned lots of practice work. The average kid did _all_ the practice work, for societal reasons that have eroded but are still present in other cultures.

In the course of grappling with all the practice work, the human brain couldn't help but recognize patterns and start to make broader conceptual connections, which led to deep understanding.

Today in the US, teaching facts and procedure first doesn't work, because very few kids get enough practice to start to draw deeper connections. So we are teaching conceptual understanding first, and then layering procedure on top.

But I don't think this is worse. There is some research showing that it works better than the alternatives, and in my experience the top 10% of students (the ones who would have learned well the old way) are still doing quite well and honestly just getting to the "math is fun and interesting" part of the journey a lot earlier in their school careers.
With gcc [1] and clang [2] you always had the option "-foptimize-sibling-calls", to get away with tail calls even for debug builds.
Of course having this standardized, guaranteed and at the function level is a huge improvement.

[1] https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
[2] https://clang.llvm.org/docs/ClangCommandLineReference.html#t...
My kids have recently become interested in Roblox. I installed it on the PS5 but honestly I don't get the appeal. The games we tried are of very low quality. It doesn't have the complexity or interest of Minecraft. It doesn't have the polish of Astro's Playroom (or Ratchet and Clank: Rift Apart, which they are too young to play). It reminds me a little of Fortnite's non-battle-royal games, but much worse. Can you give some advice on how to approach it as a parent? I suspect there are some good games in there that we missed.
> working for someone is voluntary

You missed the word "most" in there. If most employers mandate it, it's effectively mandatory. School is also effectively mandatory in this economy. Ergo, my point stands. Don't be intellectually dishonest.
My kids love Minecraft. They often run a curseforge mod (create?) and then open a port so they can play together inside the home LAN.

But, I don't really understand how this works, and I would love to host it in a way that their cousins in another state could join. Do you know how I research this?

I get a bit confused between the curseforge mods, the java edition. Should I start by downloading a JAR of the server and host it on a cloud server somewhere, and then firewall it off to only permit my NAT IP and the cousin's NAT IPs? At some point maybe I can run it all within a wireguard/tailscale network.

How do I get started in my reading? I'm worried I'll get overwhelmed by reading /r/MinecraftBuddies, but perhaps that is a better place to ask?
Its worth noting that NASA astronauts are gifted, but often more working class than equivalent organisations. I wonder if their humble social status (relatively speaking) makes it easier to coerce them into doing dangerous things?
This offers me a rare opportunity to turn the phrase "no, because I say so" into a valid point.
Yeah, but their GC are tuned for the specific task of being a game engine. (Idk the specifics, but I doubt they are stop-the-world GCs for example)
In this blog, we’ll see practically how we can build a simple sampling-based continuous profiler, leveraging frame pointers.
The fuel lines aren't plug-and-play rubber hoses—they're cleanroom-welded exotic metals that pipe toxic, explosive fuels that corrode (and can explode on contact with) most materials. Remember the SpaceX Dragon craft that blew up on a test stand? That was a failure of their analogous subsystem–hypergolic oxidizer ignited a valve, which was machined from solid titanium, and exploded.

https://www.teslarati.com/spacex-crew-dragon-explosion-titan... ("SpaceX says Crew Dragon capsule exploded due to exotic titanium fire")

https://news.ycombinator.com/item?id=20445725

I don't think it's practical to try to make this part user-serviceable.
That's a bad argument to give someone hot coffee in lap money for, though.

Google and Apple operate monopolistic app stores with predatory fees.

This lady did something foolish.

Redressing the former by removing responsibility for the latter doesn't make sense.

I'm all for fining Google over this, but the money shouldn't go to the victim.
Is there a legal mechanism which might prevent, or penalize the capture of boards of directors? It's an obvious conflcit of interest, but I'm not sure if it's illegal.
It doesn't sound human to me. Yet. See the other comments about portability in sibling threads.
You’re calling bullshit on the thing that the manufacturer told me verbatim? They literally said the factory was closed in August for holiday.

Here’s the direct link where Colossal Order (Finland) talks about going on a month-long break: https://store.steampowered.com/news/app/949230/view/42441613...

> The company I work in now, the managers check in on things even on vacations.

Bruh, my manager would never do that to me. It’s against our team norms. If your manager makes you do a significant amount of work when they “check in” or requires you to answer their messages, that policy is illegal and you’re owed your time off back. You need a new job or a new manager.

> Vacation approvals need to be requested in advance and staggered because of that to keep things going while people are on vacation.

You’re just saying what I said: that the companies in Europe make extended time off possible by staggering leaves. Some companies stagger leave, others decide to shut down or slow down operations. I never said that every company in Europe shuts down to make holidays work, but I can guarantee you that every company in countries like Denmark, Finland, and France are allowing their employees to take 25 days of leave (plus national holidays) because that’s the law.

The important part is that the individual gets to take time off. Whether the entire company shuts down or not is up to the specific business. The two companies I mentioned decided that it’s easier for them to shut down for a month because their work is essentially in a queue. For the factory making physical goods, they can receive orders while they are closed and catch up on them when they are opened again. For the software company, they can continue selling their software digitally while the company is on leave and their users just wait an extra month for software updates.

This never-ending work culture in the USA isn’t even helping overall production and productivity all that much.
Very cool! I can't imagine how this wouldn't be one of the best gifts ever received.

s/heartiness/hardiness/
Haven't read it but I remember reading about a study where they would watch some kids play with toys, record which were their favorite ones and then in another play session give them sweets for playing with their favorite toys after which those toys would no longer be their favorite.

However even though most people don't enjoy their work we must learn to get past that in order to achieve our goals, might as well learn this early imo.

Personally I hated most of school, pretty much every subject that wasn't math or programming. Rewards did motivate me to learn those things I didn't like.

So maybe only reward them for doing stuff they already don't like doing but would be good for them. If you see your kid doing well in math but poorly in history only reward them for history.
Ah true, yet another case that one tends to forget about.
In the case that one is using an airtag for ant-theft purposes and they do not want to alert the thief of the existence of the airtag while maintaining the intention of the alerts (anti-stalking).

ex. You notice your bike is stolen. immediately turn on law enforcement mode. The anti-stalking notifications are disabled but the owner can no longer track the airtag. However, after alerting the police, they could access the location of the device and investigate or recover the bike.
I meant actual case law examples. If it's a body in plain view during the other search, then that falls under the plain view exception. If it's somehow concealed in a way that they can't tell what it is, then they shouldn't be able to use it. Of course judges would use every avenue possible to side with the police on an issue of murder (assuming it was murder and not just a corpse from some other reason).
"Security by Design" in Practice: Assessing Concepts, Definitions, and Approach
It already predicts which events I might like. It just fails to get them to me in time for me to attend them.
https://archive.is/wh9Yq
It is true that most part of software development happens in the mind, but sometimes, the mind needs a support. Some use a pen and paper, some use specialized software, but for many, the text editor is that support. That's where they throw their ideas, sometimes in code, sometimes as a comment, or in a scrap file.

Seen as a support it is important for the text editor to be as unobtrusive and responsive as possible, to not break the thread of thoughts. And slowness, even micro-stutters do that. Mastering the keyboard, which include knowing shortcuts, touch typing and generally typing fast also helps, so you think more about the problem and less about the keyboard when writing down your ideas.

Now, if the way you code looks like you are meditating in front of the screen, not typing anything but the final solution, and I am sure some people do, then you probably don't need to work fast in the editor. To each his own, but personally, speed is an important factor in choosing a text editor. That's why I am currently on Sublime Text and not VS Code. Even though the latter is similar but free, more popular, and with interesting features, Sublime Text is faster, and I like speed. And may take a look at Zed, now that it is available on Linux.
> law enforcement mode

> provide legally recognized law enforcement the ability to request the tracking record

Where do you live where law enforcement cares about stolen property? 1985 America?
LocalCDN Extension – A Decentraleyes Alternative
More about Decentraleyes at https://decentraleyes.org
Roblox's salary ranges from $140861 in total compensation ... Levels.fyi collects anonymous and verified salaries from current and former employees of Roblox.

does not seem like fu to me
I just drop back to the terminal and use git itself (or install Fugitive). What I like about Vim/Emacs is how easy it is to tailor them to your usage patterns. Boilerplate generation, tools integration, and other programmable workflows can be quickly implemented.
They can also plant evidence, find something left behind by a passenger, or any myriad of things. You do not consent to the search because if you are arrested I guarantee that's the first thing the lawyer will ask. And will turn a $10k into a $20k if you allowed it. Because even 1 piece of illegally gathered evidence can wreck the whole case.

BTW, I've done jury duty and witnessed the DA's case fall apart as witnesses and evidence was excluded. It's hard to build a strong narrative when whole chapters have to be ripped out. Years of evidence went up in smoke because they weren't handled correctly.

Anyway, the point is you don't make the cops job easier because they certainly don't deserve it.
UK's Mike Lynch missing after yacht sinks off Sicily, source says
Register Window
And what happens to this paradigm if you don’t really love your job more than your family and friends and just work out of necessity to survive?

Only half of all Americans are “very satisfied” with their jobs.

Lower income people are less satisfied with their jobs than higher income people.

What about people who work jobs that are physically demanding where time off is literal physical rest?

This idea of work as fulfillment is highly classist IMO.

And anyway, you wouldn’t like to have a month every year to spend on your own personal coding projects that don’t become owned property of your employer? Nobody said you have to spend your time off sipping margaritas on the beach.

https://www.pewresearch.org/social-trends/2023/03/30/how-ame...
The budget for the legal team is probably larger than the gdp of most countries
That feels fairly obvious to me, but doesn't negate anything I said.
The tail call interpreter is also calling through a function pointer. The cost here is purely the call+ret overhead, which can be non-trivial when it is per opcode; on some micro-architectures there is also a limit on taken jumps per cycle (sometimes as low as one taken jump every other cycle).

edit: trampolining would also collapse all indirect jumps to a single source address which is not ideal for branch prediction.
Building High-Performance Filesystems
Okay, I got nerd sniped [0]. Here's the script I've made:

https://gist.github.com/paskozdilar/6095fe73c80ad21fda3f518177699149

This isn't an exact method, so it will only print bitrates and their respective "difference" parameter. In general, as the difference parameter rises, you're more likely to have reached the "true" mp3 quality, and a sudden jump in difference parameter is an almost certain indicator of true quality.

E.g. for a System Of A Down song "36", encoded at 320kbps, I get the following output:

user@hostname:~/temp$ ./main.sh 36.mp3
320: 0.075272
256: 0.121475
224: 0.160858
192: 0.193726
160: 0.237717
128: 0.308029
112: 0.363953
96: 0.409012
80: 0.454941
64: 0.578598
56: 1.105850
48: 1.081100
40: 0.629898
32: 1.223129

Here, we have a jump immediately after 320kbps, which shows that this file is true 320kbps.

When I compressed the song to 64kbps and then re-compressed it to 320kbps, I get this result:

user@hostname:~/temp$ ./main.sh 36-reencoded.mp3
320: 0.146484
256: 0.146484
224: 0.146484
192: 0.146484
160: 0.146484
128: 0.146957
112: 0.178665
96: 0.210373
80: 0.175171
64: 0.211609
56: 1.054886
48: 0.944687
40: 0.505280
32: 0.852020

As we can see, the most significant jump happens from 64kbps to 56kbps, which confirms that this file's true bitrate is indeed 64kbps.

Though, as sibling comment says, it's not confirmed that this kind of process works across encoders. I think that it should, because MP3 as a lossy codec mostly removes higher frequencies, and re-encoding compressed signal with same bitrate should remove less higher frequencies, because there are less to begin with. But I have no way to confirm - I'd need an array of encoders to actually verify this.

[0] https://xkcd.com/356/
> are you still astonished that they might give out the same IDs?

No I think two sequences is exactly what's asked for. What I'm wondering is whether this is a warning when cargo fails to restore the crates and must use incompatible versions. I'd only be surprised if the behavior was a clean compile + a runtime crash. Because that's usually not the design chosen in Rust.

> If the frog numbering code is using either counter, it gets unique IDs

I guess this is the issue: what I'm imagining is that the counter crate has a static mutable state. That's not a problem with atomics, but it's an antipattern (And especially so in Rust). The solution of course is to NOT use static mutable state at all. Whoever wants to create either a Frog or a Wizard must pass in a universe, from which it can grab the next ID, so it's a counter instance rather than get_next_static_id().

My question isn't "do we really get two memory locations" (of course we do) my question is: how afraid should one be about this, i.e. what is the behavior of the compiler/cargo or other linters when it comes to warnings etc? Are there any non-contrived scenarios where bumping a version of a dependency causes a problem at runtime (only)?
I think your premise that historically US presidential elections have been won on merit is…. Not without some perhaps very incorrect assumptions.
I think for part of your question (why do they specifically say a week), the length isn't all that meaningful. As in, if they want to more time to make a decision, they'll just announce another week's delay.

They have weekly status update conferences, and just cancelling those conferences might be more of a PR risk than just keeping the conference and announcing that they're delaying making a decision.
UK entrepreneur Mike Lynch reportedly missing after tornado sinks superyacht
British tech entrepreneur Mike Lynch is reportedly among the people missing after the luxury yacht sank off the coast of Sicily, sources have told Reuters and PA news agency.

The BBC has yet to independently confirm this.
The problem happens when the version that works with all the other libraries in the project does not exist.

And btw: you can force any transitive version in gradle/maven/npm/cargo as well, that’s not a feature unique to Go.
They pay very well for senior roles . Like $700k+ tc
Mark Simmons' ship joke named funniest of Edinburgh fringe
Maybe if you earn 10k+ monthly and play a free game you don't mind buying shiny things for 50-100$ monthly
For some definitions of 'stable'. As a user having to swap apps and lose functionality randomly makes it all feel very tenuous.
Bro, you have to use ChatGPT-4, or was it ChatGPT-4o, or was it ChatGPT-4p? Or was it Claude-3.5.1.2.3?

I see a new phenomenon of AI "power users" emerging.
Show HN: 200h of Krastorio 2 and Space Exploration progress
I have been having a lot of fun.
totally agree (make that N=2). Almost nothing can be trusted anymore to an engineering team that will not result in it being implemented AWS/Azure/etc. More than ever we have incredible processors, loads of memory and storage and bandwidth, that allow us to do insane stuff within the confines of a single machine, but no! we want to go serverless everthing.

For many, many applications than can be deployed on a single server, AWS introduces the potential of uncontrollable lifetime costs, more threat vectors, vastly increased vendor lockin, lower performance....

AWS and their ilk are like cults now. Okay! need to stop
>It's like rewriting the same program in another programming language with different variables.

Since when has that not required reasoning ? It's really funny seeing people bend over backwards to exclude LLMs from some imaginary "real reasoning" they imagine they are solely privy to.
It's really obvious this is happening when they leave well defined criteria and branch into vague, ill-defined statements. What exactly do you mean by concepts ? Can you engineer some test to demonstrate what you're talking about ?

Also, none of those papers show LLMs can't reason.
Apparently the ChatGPT output is ripped off of a 20-year old emacs joke.

> In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the lambda.

> – OliverScholz on news:alt.religion.emacs, 2003-03-28

https://www.emacswiki.org/emacs/TheBeginning (edited for brevity)
In my experience, agile methodologies do not have a a strong correlation to agility.
This is why I don't stress too much about validating game state in server scripts. It lets the kids cheat clientside if they can figure out how to rewrite and load the Lua scripts.
Product guys becoming CEOs is like someone focused on the technicals is pushed to marketing. I bet he is good at both.
Brain's Free Energy Principle
SMM Lock Bypass
All the truly objective metrics will require a reference file to compare against. If you manage to find such a reference file, you've kinda solved your initial problem (which, presumably, was wanting to find the best quality file to listen to).
Meteorites give the Moon its thin atmosphere
Could you elaborate on how that might be?
Have you looked at DataSpell? I haven't used it myself but it looks like it fits at least some of what you need.

https://www.jetbrains.com/dataspell/
A Personal, Portable Laugh Track
LittleJS is a fast HTML5 game engine with many features and no dependencies
Sometimes. A recent example of this is Elon's giant pay package from Telsa. A shareholder sued saying it was unjust enrichment and the board was full of cronies. The shareholder won, initially. But then Musk moved the incorporation of Tesla from Delaware to Texas where he knew he'd get less resistance from the law. So he got what he wanted eventually.

https://www.cbsnews.com/news/elon-musk-pay-package-vote-cbs-....

edit: Looks like I was incorrect about some of the details on Elon's pay suit as commenters have identified below. However the gist is that there exist legal avenues to reign in CEOs, but I can't think of any example where they have been ultimately successful.
TiddlyWiki5 – A self-contained JavaScript wiki for the browser
Visibility is bad in the Baltic Sea. At 80m depth there's not much ambient light so little difference between day and night.

Once the pipeline has been located, the divers can just go straight down and up the anchor line. There's no need for them to navigate, or follow a guideline like in cave diving.
AI can reveal what's on your screen via signals leaking from cables
My use case is my dad (or anyone's dad) backing up family photos. It's reasonable to teach my dad to write a few CDs, but it's not reasonable to teach him how to administrate his own NAS, set up RAIDZ, figure out a way to store an ECC file, etc.

For my dad, and anyone just tech-savvy enough to select a bunch of files, put a disk in the drive and click "burn", the choices are either DVD (which deteriorates) or a cloud solution. Anything else is too much, including "here's a NAS, it'll last you forever as long as you keep it plugged in".
They can take control over the spacecraft, the issue seems to be that the software is configured to expect crew control to be available. So, say Starliner detects an anomaly at some point, it will disable automatic control and expect crew to take over manual controls. This might cause a problem when returning without crew, even if they might be able to override that remotely.
Presumably part of the nuclear doctrine is to take out your enemies nuclear launch sites before they launch

Also, even large cities have places which are better to target