skysight-inc/HackerNews huggingface dataset:
Show HN: Create your perfect profile picture with AI
Hey HN, I created this little tool over the weekend. So many possibilities!

The one that hit me the most was being able to created portraits of my recently passed away grandfather (https://twitter.com/dannypostmaa/status/1586954424064561153).

Hope this brings some joy to your day.
If I were a Tesla fan/investor/FSD customer, I’d be very concerned that the former (effective) tech lead of FSD doesn’t know about sensor fusion or that it’s a solved problem for majority of the companies in this space.
hmm, that's the example that made it click for me: my identity has little or nothing to do with my topic, in email, twitter, blogging - having an identity that's related to a themed server doesn't feel like the right layer at all.
Doesn't seem like a misconception. It seems like y'all have 110v power outlets. Having 220-240v somewhere else is kind of moot... The power socket IS the interface, so if the interface is 110v, then the switcher box, the power line, the high voltage power line, the power plants voltage aren't really relevant.
Is that the same VTech that makes kids toys these days ?
Like EVERYTHING, an unaccustomed mind will have trouble at first, and will manage to make sense of it later. Try reading something in Chinese, will you understand what you read? Now try to learn the language and try to read the same thing again a year later. Can you read it now? Probably not. It’ll require many years. Is it that you’re dumb? There’s billions of people who learned how to read that language.
In this case we're talking about within the Datacenter, and you could conceivably update every network device and system to talk the new thing if you wanted. This is more achievable at a hyperscalar, where there tends to be < 3 distinct protocols, proxies, etc.

TCP gives you three things:
1. Reasonable performance - This is hard but not impossible to replicate
2. Reliability - This is very hard to replicate because networking edge cases are very hard to isolate
3. Fairness - this one is roughly impossible, because the "fairness" is an artifact of the experimentation and tweaking of Congestion Control Algorithms.

To elaborate on fairness, dynamic traffic control of all flows within a DC while maintaining high utilization is roughly impossible. You can get really close to this by picking your battles wisely (i.e. solid demand control for data warehouse workloads), but you'll always end up counting on individual flows to react appropriately to loss. They need to back off enough to make room for others without tanking their own throughput.

The people who design and implement these algorithms are definitely geniuses, but even they rely on TONS of empirical evidence to narrow parameters to what's appropriate. Of the Kernel Networking people I've worked with, Lawrence Brakmo had the most sophisticated network testing harness I've seen. Even then, you don't really know if it works (and can't finish tuning it) until you run it in production.

Running novel congestion control algorithms in production at a sufficient scale to figure out whether or not they're working appropriately is a great way to kill your network, so we end up conducting the equivalent of CCA drug testing to roll it out slowly and safely.

The end result of all of this is that it's really hard to solve the "arbitrary connections sharing arbitrary network topologies with high utilization" problem quickly enough for it ever to look like a breakthrough rather than just steady progress.

It's also worth noting that it's usually easiest to prove performance, so you'll see a lot of excitement about performance benchmarks from people who don't yet know what they're about to learn about networking. We were very much in this camp at Facebook when we were all-in on memcache-over-udp, and we later abandoned it completely.
District heating here in The Netherlands is a great way to be screwed by a supplier. We have pretty good competition between suppliers for gas and electricity(). Households that get their heat from district heating can only say yes or no to one supplier. They will generally pay the maximum price regulation allows.

() This competition has led the way in greenifying electricity usage for Dutch households. Dutch electricity was mostly coal and gas generated, but there were energy suppliers that guaranteed green electricity. Green-minded people could use market mechanisms to increase carbon neutral electricity(*) usage. I've always liked that personal power in market mechanisms.

(*) Similar contracts exist for gas usage, but it's mostly based on "compensation", which at best isn't very good, and at worst completely useless.
If your chief risk officer is any good, they will start raising red flags all over if you suggest in-housing KYC fully.

You suddenly have to think about stuff like:

- where are you storing the passport data? Who has access to it? How is it processed?

- what’s the process in case of a data breach, what regulators must be notified

- what data sources are you querying? Sanctions lists, etc. how often are they updated?

- do you need to support one country only, or multiple? Each country will have their own quirks in the process

That’s just off the top of my head.
Right, but I don’t have one and don’t want yet another set of credentials to manage.
It is impressive, but it's also not something I would want to use for music listening. I guess the "10x" goal makes for an impressive chart, but I'd like to know what are the more realistic goals and gains.
> burner SIM for actual anonymity.

That or leaving your phone at home during protests. Of course, that won't help with automatic face recognition software that the Iranian authorities most certainly have set up in place already, but that's the rough deal of living in a tech-heavy society.
Japanese houses are more likely to be cooler but have local sources of heat, from what I understand. For example a kotatsu is a warm space.

Heating locally is such an interesting idea to me.
Like all good gaming industry stories I am both impressed and horrified. Thanks for sharing.
Audio hashing (acoustic fingerprinting) already exist for detection of copyrighted music and are more efficient. See Shazam
No. It's just purely a matter of practice. If you don't understand it now, you will with enough time and repetition. I had classes lectured by Maurer some time ago. At first it was all gibberish but with time and repetition and practice everything becomes clear. It's interesting because I would say Maurer really puts effort into being _extremely exact and precise_ and even reading this I can appreciate that now. There's an element of that which makes it much easier and clearer to grasp than a math paper which is skipping over some basics and definitions and is more inexact because it leaves you guessing at times.
my 2nd favorite color scheme after Archery https://github.com/Badacadabra/vim-archery/blob/master/image...
An Empirical Comparison Between a Text and a Video Tutorial
Unfortunately that does not work with Mastodon. When you view a user's profile instead of loading their current list of Activities Mastodon will only show you the ones which have already been propagated and cached on the current instance.

In the case of a static list of activities that won't work.

In my opinion it's a mistake to keep functionality like this, and there is a bug report on their tracker about it but I don't think it gathered enough interest from the devs to make it better.
This is all assuming that a coders job is to just code...and make code better, which IMO it rarely is.

Honestly, the most lucrative code bases I've worked on are generally considered terrible, annoying, incorrect, frustrating but they are functional.

The most recent example I can think of was a startup I worked which sold for billions of USD, it was considered by everyone as terrible.

A large part of our job was understanding complex requirements and integrating with other companies poorly implemented APIs, wrangling XML etc, so we didn't code a lot, we planned a lot.

Fundamentally I think we're just talking about different aspect of the job and we disagree that being a "coder" is about lines of code.

In my current job, I've been helping my team, especially new comers understand complex systems and business logic which we didn't have a lot of time to document because of the insane growth our company went through and the insane amount of stress we were under to deal with demand with only 2 engineers. I've not written more than 20 lines of code in 4 weeks, really just mentored and guided people, should I be fired?
How can that be true? I plug a kettle cable from my a/c socket to the GPU... is there a rectifier involved in a standard PC setup?
Skoda is part of the VW group, as are Audi and Seat. There are some common parts used across the group, from chassis and engines down to much smller elements. But the different marques have different feels and appeal to different markets. Skoda cars have a reputation for being cheap and very reliable, unlike Audi which is positioned as a luxury marque
It is nice to see another IPFS implementation coming up, especially in Rust - but will there be any good client libraries in Rust any time soon? Does your project involve implementing client libraries?
> I keep in touch with most people by texting. It does the job.

That requires giving your phone number to someone. I can imagine there's many situations where you'd be happy to have a casual social relationship with someone but not want them to have your phone number (and that's not even considering the potential for stalking, etc.)
Here's a one file disassembler for x86 and its successors:

https://github.com/dlang/dmd/blob/master/compiler/src/dmd/ba...

The fun thing to do with it is send it your name and have it disassemble it.

(I use it to check the object code generated by the compiler. Instead of pretty-printing the instruction stream, it disassembles the binary object code. This helps to find mistakes in either the code generation or the disassembler, as they must match.)

Anyhow, feel free to incorporate it into your obj file dumper, exe file dumper, debugger, or any tool that can benefit by examining code.
50mm f/1.4 is the first lens I buy with a new camera system.

To get good photos of human subjects you need to use a fast enough shutter speed 1/125 or 1/160. Here a fast lens comes handy in dim light. If you direct the subject and he is posing, then you can get away with 1/15 if you have steady hands, optical stabilization and you are willing to take more shots.

It's important to have a camera with a fast and accurate focusing system and a fast focusing lens.

If the light is scarce, you can use strobes and light modifiers such as soft boxes.

Image quality is a function of exposure which is a function of shutter speed, aperture and scene illumination. The more photons are hitting the sensor, the better.
AH=4C is new in MSDOS 2.0, AH=0 dates back to CP/M (the low DOS calls are compatible with CP/M, hence the use of FCBs for example) and always sets the exit status to 0.
I'm so glad I've never worked in these kind of companies... It sounds like an awful workplace.
Oh no, not the Internet Nazis!

They might say mean things and act racist!
Good old secret associations and secret meetings. The Italians did it quite well 200 years ago [1]:

> Cardinals Ercole Consalvi and Bartolomeo Pacca issued an edict forbidding all secret societies, to become members of these secret associations, to attend their meetings, or to furnish a meeting-place for such, under severe penalties

It also f.cks with the head with those in power, having secret associations and secret meetings, that is. Having it all out in the open gives them (the authorities) the illusion of control, and, I'd argue, actual control over any significant protest movement. Moving it in the "shadows" is a good tactic because it helps make things blurry and it starts "attaching" doubts to said authorities' monopoly of violence. The authorities will ask themselves: "whom should I punish? where are the revolutionaries? is everyone a revolutionary?", and, as such, that will decrease their legitimacy and their hold on actual power.

[1] https://en.wikipedia.org/wiki/Carbonari#Origins
Adaptive cruise control is solving a totally different problem. It is specifically looking for moving objects to match pace with. That's very different from autonomous driving systems.

Radar is quite good at finding stationary metal objects, particularly. Putting it in a car, if anything, helps, because the station objects are more likely to be moving relative to the car...
Ufff. I’m not doing that when it’s 4c outside and because I turned the heating off at 9pm my house is 14c. I need the shower to warm me up and stop me turning the heating on early in the morning
And you frequently do do assembly level coding, either because you're cheap and need to eliminate every byte, or because you're trying to slap an 'accidental backdoor' on there to steal all your users coins...
Yep. I tried for a while to use dark themes but eventually realised they were making it worse, not better. Even if Solarized isn't the best light theme in existence, it's also available either built in or an extension for practically every tool I use.
> To me, it feels like SAFe was specifically designed to insert some expensive consultants between the developers to profit off software development without doing much actual work.

That's exactly what it is. And that applies to many methodologies and management practices. In our company there are whole layers of management that are totally useless and unnecessary.
They should make some kind of drywall panels with easily-removed fasteners at the corners.
So now they have to adjudicate the technical opinions of their engineers. Engineer #1 says they should hire person X for various technical reasons. Engineer #2 says they should hire person Y for various other technical reasons. How does a non-technical manager decide which opinion is 'better'?
But all the social networks are owned by a few individuals. Even twitter before musk bought it was owned by a select few (with real control), and they already dictated the rules based on their own likes/dislikes... that's what started this whole thing in the first place.
Lidar would make it pretty obvious whether it's a sign or a car, even if the camera didn't tell you. The part where the lidar doesn't bounce back at vehicle level would be a dead give away.
Except that more often than not it's people who only have "people skills" and no coding skills under the hood.
You make a great point if I understand it correctly:

Problem is not that people have too much money.
Problem is that (some) people have more money than they need.
It is provably different for you, but where I am (Canada), you'll open the hood release at least a half dozen times a year, just for windshield wiper fluid.

That said, the hood release has been on the driver side somewhere, under the dash, in every car I own.

With a physical release, you can often hunt for a thing, much faster than a dozen submenus.
Yes, and a sufficiently smart compiler should make optimization unnecessary. ;-)
Exactly. This is why it's immoral to cook your own food for dinner, for instance, instead of going to a restaurant or hiring a personal chef.
In order to display the gravity-aligned acceleration, sensor fusion between gyro and accelerometer has to occur. This is typically done with a Kalman filter, and runs on 1960s levels of hardware. If you look at something like a drone autopilot, eg. Ardupilot, the sensor fusion is soo cheap that they even extended the Kalman filter to also estimate things like the sensor bias offsets and earth's magnetic field vectors.

Sensor fusion is computationally cheap. It's just a lot of R&D to do it in a way that leads to a net gain in precision and robustness.
Yes. Normal people prefer not to see and hear Nazis, so any platform infested by them would just be left by all normal people.
Mars lost all of its (surface) water presumably due to solar wind, and thus never had time to evolve complex life. Earth would have faced the same fate were it not for the fact that the Moon collided with us at some distant point in time, surrendering its iron core to ours. Now, our Rare Earth has an unnaturally large active iron core, resulting in an unnaturally efficient magnetic field which is able to protect our waters from being blown away by Sun.
Tesla’s vision approach doesn’t work. There is a reason it requires a driver to actively prevent crashes and has a disengagement rate in the single digit miles [1].

All over this thread you keep making grand statements that “it works”, which is just completely false. It’s simple — if it worked, there would be no driver.

[1] https://www.teslafsdtracker.com/
> I've never been somewhere that won't let you fall back to some kind of manual method if something is wrong with the internet.

So why go through all the extra steps with internet?

> This is especially the case if you have kids. You don't have total control over when a meltdown is going to happen

Ah yes. And having to deal with QR codes, the restaurant app etc. is helping how exactly?
Personal network: complaining to friends about problems I wanted to help solve has yielded my last 3 jobs
The political part is whether or not a teacher is allowed to teach it. That's how politicians get their hands into science.

Also, in a world where 5G causes cancer, the MMR vaccine causes autism, Lysenkoism exists, and where fossils were buried by the devil to trick the faithful, any scientific question that has any bearing at all on world is also a political question.
Yes and many PR's not addressed ... very interesting project but looks unmaintained.
One Process Architecture
> The only kinda-sorta exceptions I know about are HTTP/1.1 and telnet. But HTTP/1.1 is still a message oriented protocol; just with file-sized messages. (And even this stops being true with http2 anyway).

No, HTTP/2 and QUIC do not change the semantics of HTTP.

Also, you can have endless streams with HTTP/1.1: just use chunked encoding to POST/PUT and use Range: bytes=0- and chunked encoding for GET and chunked encoding for POST response bodies. In HTTP/2 there's only the equivalent of chunked encoding -- there's no definite content length in HTTP/2.
Not so -- there is a starter plan at significantly reduced cost that has deployment restrictions, but with the standard plan you build your own standalones and they work forever.
Interestingly I started using Twitter as a write only medium, which means I didn't have any interactions there with anyone. This led to the subscribers stagnating, everyone who already was subscribed stayed subscribed but no new people would subscribe for years.
This is true, and the congestion mentioned here was subtle and not called out - typically flows are handled in a stateless manner by load balancers that hash on some set of MAC/IP/PORT features of the packet. This is where congestion occurs and the paper mentions it here:

All that is needed for congestion is for two large flows
to hash to the same intermediate link; this hot spot will persist
for the life of the flows and cause delays for any other
messages that also pass over the affected link.

It makes logical sense, but I'd love to see the evidence for this.
Fixing our NextJS front-end to finally get to #1 on Google
So, if you implement a feature that involves multiple commits, when you push the branch up, will all the commits in the branch have the same changeset-id? If not, how is the relation between commits on a branch maintained during review and in the history after the branch is merged?
Your claim was that mentioning systemd at this point, was flamebait.

(Again, you were wrong, however...)

Therefore, if you engage in any discussion related to systemd, as a reply, you have waded into what you claim is flamebait!

There is no escaping this logc. Hand waving, misdirection won't help here. Your actions were wrong.
Could you point out specifically what aspects of CSS cause unnecessary pain?
Egregores, Swarms and Apocalyptic Predictions
Jobs look for me on LinkedIn.
> Yet somehow, humans can drive cars with just a pair of optical sensors (mounted on a swivelling gimbal, of sorts).

In fairness, humans have a lot more than just optical sensors at their disposal, and are pretty terrible drivers. We've added all kinds of safety features to cars and roads to try to compensate for their weaknesses, and it certainly helps, but they still make mistakes with alarming regularity, and they crash all the time.

When you have a human driver, conversations about safety and sensor information seem so straightforward. The idea of a car maker saving a buck by foregoing some tool or technology at the expense of safety is largely a non-starter.

What's weird is, with a computer driver, (which has unique advantages and disadvantages as compared to a human driver) the conversation is somehow entirely different.
It's funny how you pulled the conversation entirely away from discussing tech that often is strictly theoretical, and most of which hasn't been proven to work at scale on the level of even one nuclear plant to... «but what about nuclear».

> Your "at scale" is a tiny fraction of the scale that would be needed, and at that larger, true scale,

Which of the tech listed here has this "true scale": https://news.ycombinator.com/item?id=33387011 ?
Do you have a regular doctor?

I'm in a simmilar situation and need a dose of Lorazepam about once or twice a year. However, I've never had the problem you describe. The first time I spoke to my primary care physician about this, we had a discussion about my options and I left the consultation with a prescription for a rather large dose of Lorazepam [0].

Since then, I've just called her office whenever I needed another dose, and told the receptionist that I was previously prescribed Lorazepam for X, and I need another dose because I will be doing X again. A couple of times, I also asked the receptionist to ask the doctor to lower the dose. I've never had any problem with this. I don't think my doctor has even asked to talk to me at all before putting in the prescription. (Although we have spoken about unrelated medical issues).

I assume that she just looked at my file; confirmed that she previously prescribed it and that I wasn't asking for it too frequently, then rubber stamped a new prescription.

On one occasion, I was speaking to a specialist (again, for an unrelated medical concern), and asked her for a prescription, because I happened to know I would be needing one soon. She glanced through my file and wrote the prescription without complaint.

I don't know what is going on behind the scenes, but I think what is happening is that I have a regular doctors office through which I coordinate all of my care. This means that whenever I speak with a doctor, they have a file on me that says "patient prescribed Lorazepam for X", so doctors seem willing to repeated what they have documentation about having worked before.

[0] Enough that she suggested I use a wheel-chair after taking it.
It is easy to understand that way. If people lose their jobs that will reduce demand which will reduce inflation. The goal of Fed is to reduce inflation and one way of getting there is to slow down the economy which causes more unemployment.

But Fed has another goal too which is preventing unemployment. They are in a twist.
I ran fiber between the network core and my bedroom (which housed my home lab) at my parents old house circa 2004, because I got access to cheap fiber and a fusion splicer through school at the time. I’ve never run fiber since because the usefulness of POE outweighs any benefits fiber might bring and STP is good enough in home environments.
Up until I read your comment, I never really made any association between my astigmatism and my discomfort with dark themes. Now it all makes sense. Also, since too much white was never a problem for me, my theme of choice in Emacs is Nano Light¹ and Solarized anywhere else.

¹ https://github.com/rougier/nano-theme
It's unclear how this would work, given the thoughtful way the project has implemented it.