skysight-inc/HackerNews huggingface dataset:
This seems like a really cool idea that would help with a scenario I encounter a lot with conflicts related to auto-formatting. Sometimes a small change can lead to a lot of whitespace changes below (in functional chains in js, for example).

Can this also detect some scenarios where semantic conflicts (but not line conflicts) arise, usually due to moved code?

I don't know the exact circumstances when this happens, but occasionally you can have e.g a function defined twice after two branches both move the same function elsewhere.
A rare gem in our profit-driven world. Reminded me of https://sive.rs/ayw4
We can't see neutrons either, but we have built various models of them based on indirect observations.
Bosch FGS4000 3D Demo (1984)
Nice UX, fairly intuitive. Good work!
An Efficient and Effective Approach for Repairing Programming Assignments
In Germany, "means of deception" are listed in section 136a of the Code of Criminal Procedure [1] as one of "prohibited examination methods" among things like induced fatigue, hypnosis, medications or torture. I think that does count as "not allowed".

[1]: https://www.gesetze-im-internet.de/englisch_stpo/englisch_st...
Elon Musk would. It's like his whole deal.
Why would anyone want to go to Mars? Are people now so hysterical that they honestly believe Earth after climate change would be less habitable than Mars, a desert planet with no air?
Simple Metaphors Shape Complex Scientific Ideas
Um, the moon also has no atmosphere. We were able to land on that in the 60's.

https://en.wikipedia.org/wiki/VTVL.

Lots of things to be worried about for a Mars trip, landing probably isn't really one of them.
> The biggest problem with Rails is that people get so glued to the conventions that everything gets shoehorned into a model or controller instead of using a better abstraction.

As a Rails fanboy, I couldn't agree more.

Rails' semi-insistence on doing everything convention based and rewarding you for it can be a double edged sword in that way. The idea of doing anything outside the bounds of a controller/model/job sounds scary, especially when you consider how flexible Ruby itself is and how off the rails (heh) you can go pretty quickly. But at the end of the day, we should not be afraid of creating new conventions - which is a demonstrably different idea than just devolving into a raw Ruby scripting bonanza.
Error diffusion probably breaks the design requirement for "stability" frame-by-frame.
Show HN: I made a "Menu Link in Bio" for online food seller
Unfortunately since it's not visible, a unscrupulous motivated candidate will just give an LVM an image of the prompt,
let it OCR it, and then pass on its answer. OCRing it also defends against prompt injection with white text on a white background.
Yes, see this example: https://mergiraf.org/conflicts.html#line-based-merges
The article was from September, before the election.

That's not a defense, just a clarification.
Discussed recently:

Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk (01.11.2024)

https://news.ycombinator.com/item?id=42013379
Thanks A Lot!
It sounds absurd, but people have been arrested or even killed for less cooperation than this. Blame the system, not the people who are trying to avoid being destroyed by the system.

Law enforcement has become more and more hostile towards citizens with time, not less. Wariness is the only way to navigate it, unfortunately.
Why do you trust it to run code and to install updates from their website but not to execute that update? What’s the threat model there?
This is the point of trial by jury. I've served on juries, though never been tried in front of one.

If we were talking about something where I had actually broken a law, I'd expect to lose. But if it were truly a case of mistaken identity? I'd almost certainly defend myself and be confident no jury would convict me.

It's possible that a lot of people don't have sufficient skills to pore through legal books and case histories the way we pore through examples of massive SQL queries, but I'm sure I'd be up to it. And thus I would never concede to a plea bargain for something I hadn't done. Moreover, the whole concept of doing so is so anathema that I wouldn't care if it was a choice between admitting false guilt or execution (as it was in the show trials of the Soviet Union)... I would tell em to execute me. There are things I'm not willing to live with, like making a false confession, so you had better fuckin kill me.
Core Contributors Voice Concerns over "Culture of Fear" in WordPress Community
Show HN: I built an AI-powered platform to match startups with ideal investors
Hey HN,

I’ve noticed how challenging it can be for early-stage founders and people with big ideas to find the right investors. Traditional funding routes can often fall short, and cold outreach is hit-or-miss. I wanted to change that.

So, I created AloAngels, an AI-powered platform that matches startups and ideas with investors based on personalized metrics.

Data-driven matching – Leverages 15+ metrics like focus areas, investment history, and stage preferences to align with the right investors.
Inclusive for all stages – Designed for founders with established startups and those with just an idea.

Increases funding potential – Connects founders and investors for higher success rates with tailored recommendations.

It’s a straightforward setup and includes an Investment Likelihood Score to help you gauge your chances.

Gaurang
I don't wish to interact with such people.

You might be on the wrong website, global internetwork or species-of-autonomous-sentient-social-beings-highly-adapted-to-operate-with-incomplete-information for that.
If you're encountering these problems at scale where scale is up to the reader, I can promise you that you're already writing SQL. You might have already started from the beginning by writing direct SQL, because that's something that rails also allows you to do against a model. Apart from juniors, I don't think I've ever met anyone who actually said that they wanted to avoid writing SQL in all cases. The reality is that it's far more useful and efficient to burn cpu time than dev time, and ORMs general tend towards the latter than the former in the favor of generally being a fair bit more legible (depending on the writer).
It’s really handy to have a composable API for building SQL queries where different elements are contributed by different parts of the code. From example, having your authorisation code apply restrictions to queries through where clauses, joins, etc. to ensure a user only sees the records they are allowed to see.

I currently spend a large proportion of my time working in a Java code base that uses JDBC directly. There are many places where the complexity of the work to be done means code is being used to assemble the final SQL query based on conditionals and then the same conditional structure must be used to bind parameter values. Yes, in some places there are entire SQL statements as String literals, but that only really works for simple scenarios. There are also many bits of code that wrap up common query patterns, reimplementing some of what an ORM might bring.

I recently implemented soft deletion for one of the main entities in the system, and having to review every query for the table involved to see whether it needed the deleted_at field adding to the where clause took a significant amount of time. I think better architecture supported by a more structured query builder would have made this much easier. For me that’s the main benefit of an ORM.
That's wrong. I don't know where you got that information from, because it is literally the opposite of what is shown in the Microsoft paper mentioned above. They explicitly introduced this extreme quantization during training from scratch and show how it can be made stable.
I don't know. Certain people have this idea that we have mars as a "back-up planet" if things get too bad on earth. Musk has been saying that for example. I think Musk says it to generate hype for his ventures, but I think others believe it because it's comforting to believe that no matter how bad things get here, we have an alternative.

The reality is of course that, at least for the foreseeable future, certainly for the duration of the lives of everyone alive today, there is no back-up planet. And honestly, given how climate change is progressing, that's scary.
Even better, GPLv1+TiVO clause AND commercial (i.e. you don't choose, but both terms simultaneously apply).
The only real Aladdin flying carpet fly [video]
> Could they have remained as independent organisms and use their massive energy budget to evolve independently?

There are independent mitochondrial relative. They are mostly parasites that live inside cells.

From https://en.wikipedia.org/wiki/Mitochondrion

> The proto-mitochondrion was probably closely related to Rickettsia.

From https://en.wikipedia.org/wiki/Rickettsia

> Being obligate intracellular bacteria, rickettsias depend on entry, growth, and replication within the cytoplasm of living eukaryotic host cells (typically endothelial cells).

> Most notably, Rickettsia species are the pathogens responsible for typhus, rickettsialpox, boutonneuse fever, African tick-bite fever, Rocky Mountain spotted fever, Flinders Island spotted fever, and Queensland tick typhus (Australian tick typhus).
Any chance it's a defection?
Not only veins, inhalable insulin like Afreeza is also really quick. Unfortunately it only appears to be available in the US (and maybe Canada?), not Europe/Asia from what I last remember.
There used to be a better one, I believe called rutor many years ago. Disappeared last time I checked.
Russian security doctrine is based on surrounding themselves with buffer states. Those buffer states cannot be fully sovereign, because a fully sovereign state could choose an alliance with another major power. Ideally they should be vassals, but neutral countries can also be tolerated.

This is not an issue if you are far away from Russia, like Germany is. But if you happen to be a country Russia considers to be in their sphere of influence, you may value your sovereignty. Just like Russia has historical reasons to be afraid of an invasion from Europe, countries bordering Russia have historical (and recent) reasons to be afraid of an invasion from Russia.

There were some reasons to believe that Russia would change for the better in the 90s and early 2000s. But then Putin took the wrong lessons from what the US and NATO did in Iraq and Kosovo. He learned that if you consider yourself a major power, you are allowed to invade lesser countries as long as you think you have good reasons for it. Then the situation escalated, and now many Russia's neighbors are fundamentally incapable of trusting Russia until there is a regime change or another equally significant change.

Germany basically has to make a choice. It can have good relations with Russia or with the countries between them and Russia, but not both. Not until something changes.
<sigh/> ...now I'm wishing that someone would downvote you. You are attributing to me simplistic straw-man beliefs which I do not have, and demanding that I defend counterfactuals. In a rather unpleasant tone. While kinda presenting your own assertions as axioms.
Real-Life 'Aladdin' Jumps from Mountain Peak on a Flying Carpet
Thanks for that context, I just assumed he was another "ChrisArchitect" like commenter who want to equate "there is still more work to do" with "the problem hasn't been mitigated and the solution is stuck in development hell".
Exactly. One describes a type, the other a numberer. Very different concepts, even if the latter is often used in the implementation of the former (e.g. in Pascal and Rust). Glad to see you are past your earlier confusion.
> It may be (or it may not be, I don't know) that transitioning at 6 is always a bad idea

The answer is yes, it is always a bad idea. Your fake nuance is just a veil for complete lack of respect for children. There is absolutely no reason you should transition a 6 year old kid. There is no context that exists for that kind of irreversible damage at such a young age.

They can't even consent to it, just like they can't consent to a whole host of other things.
Inhalable insulin (which is also very fast acting) iirc only allows a dose of 2 units. If your sugars are 400mg/dl (22ish mmol/l) one or two doses wouldn't put you into a coma if you knew your sensitivity. I'm pretty sure I've read up T1s talking about using it as such.
The minimum required is actually only two spaces.
> My heart can exist independently of me, and be transplanted into other people, but does it mean that it is alive?

Your heart cannot exist independently of you as a heart. It is only a heart in name, as it does not function as a heart. Its identity as a heart depends on its ability to function as a heart within some organism. The same can be said for any part or organ. A severed hand is a hand in name only. A corpse is not a body, as it no longer functions as one.

A transplanted heart becomes a heart once more. A reattached hand becomes a hand once more. If you think this is weird, then you haven't done your metaphysical homework. Why should it be weird? It could only be weird if you have made certain (unexamined) metaphysical presuppositions. The structure of a heart removed from an organism persists long enough that it can become reintegrated into an organism such that it functions once again as a heart.

But also note that the matter composing a heart itself isn't fixed. About 1% of heart cells are replaced per year in the young. So if function and structure can survive transient material change, and the matter that makes up a heart can assume and lose and reassume its identity as part of a heart, then why can't a heart lose its identity as a heart when removed, and regain its after it is implanted back in?
Maritime Signal Flags in HTML/CSS
An HTML/CSS implementation of the International Code of Signal Flags + React plugin to add flags to your site.

Inspired by https://news.ycombinator.com/item?id=41880709
Memories are not only in the brain, human cell study finds
Not sure what you see, but besides the BLUE and bright grey text, nothing else is readable for me. The darkgray on black I have to highlight to read.
There's already software that can definitely mitigate these problems you've outlined. I've been using AndroidAPS together with Lyumjev insulin, an insulin pump and a Dexcom system for several years now. Yes, I can go running with an empty stomach and yes, I can have a nice dinner without being in the high 400's... My glucose hasn't really been above 200 for months, and the last time was a leaking tube in the pump. My A1c has been between 5.5 and 5.9% for many years now. There's no need for ambulance to come and rescue me due to hypoglycemia.

If you're in any way technical, you should take a look into the solutions for artificial pancreas.
Neat idea for sure. Language support is pretty limited right now, hopefully there's support for more in the works.
The way you phrase mistakes is interesting, it’s been abundantly clear that’s not allowed for a long time. It’s not a “mistake” if you link to an external payment method .

I’m an iOS user but one of the reasons I like iOS is because I know that I’ll be able to Sign in with Apple, and pay via the App Store. I recently signed up to a service which charged me for a free trial and I opened a support ticket. They refunded me, and charged me again immediately.

I trust apple and google (rightly or wrongly) to have my back in that situation, but this dev clearly didn’t.

It resolved itself fairly quickly when I got my bank involved, but it took a month from start to finish. I have never, not once, had that issue with App Store managed purchases.
Because my dinosaur company doesn't allow "AI tools" and I felt the need to see what all the hype was about I challenged myself to build a quick Chrome Extension in a weekend using Cursor (and avante.nvim). I also wanted an excuse to deploy Tailscale Funnel in production, which I used for the backend.

This is the result. This Chrome Extension embeds the probability of delay right there into Google Flights so that you KNOW what you're buying.

It uses a very simple model based on (in descending importance) departure hour, day of week, airline, airport and seasonality.

Methodology: https://flyontime.substack.com/p/flyontimes-methodology

It is 100% free. I have zero intention to monetize this...only to help my fellow travelers avoid misery!
The ones who think of themselves as "not evil" of course.
That was a fun read. I think I let myself get a little too excited for an ending that couldn’t possibly satisfy, but it was still satisfying innit its own way
This has nothing to do with safety or helping their community, but all to do with gaining market share. This is literally an inexpensive investment in his investment made through legal loopholes.

15% of people in Vegas live in poverty while this person sits on billions of dollars. It looks like the entire city of Las Vegas only had $12m in 2024 to go to homelessness and food, but this guy is using $7.8m for surveillance "making things safer".
Numerous languages already got rid of C++ compile times. That didn't necessitate another one. Certainly Go wouldn't want C++ compile times any more than any other language, but as far as justifying its creation that would not be sufficient justification alone.

Legend has it that Go was conceived while waiting for a C++ program to compile, if that's what you are thinking of?
> The rival would very likely proceed to "next steps" which would be considerably worse for Germany than the status quo.

You presented this assumption almost as a fact, I simply asked you to elaborate.

> Maybe read a bit about European's history over the past fourish centuries?

Wasn't this unpleasant tone and a personal attack from your side, assuming GP doesn't know history?
Show HN: I built an app to simplify meal prep with automatic macro calculations
I'm just a normal functioning member of human race, and there's no way anyone can prove otherwise.
Brain Workshop – Open-Source Dual N-Back Training App
I created an app called Flavora to help people make meal prepping easier, especially for those with specific nutritional goals. With Flavora, you can generate meal plans based on the ingredients you have and your dietary preferences, and it automatically calculates macros for each meal.

I built this because I wanted a streamlined way to meal prep without using spreadsheets. It’s saved me time, reduced my grocery budget, and taken the guesswork out of my daily meals. No subscriptions or account needed—Flavora works with a point system where each recipe generated uses one point, keeping it affordable for everyone.

I’d love your feedback and suggestions!
Intel Spots a 3888% Performance Improvement in the Linux Kernel
My dad was a machinist so he always had calipers. I never thought I needed a set until I bought a cheap pair for under $10. I use it all the time.

The only problem? I'm left handed so I either end up using it upside down or trying it with my left hand and then switching to my right. They make left handed calipers but the cheapest I've found are over $40.

I think I'll keep fumbling with the cheap ones.
Fyi, giraffes are wild animals, and can be very violent and territorial.
in related news: https://lite.cnn.com/2024/11/08/politics/pentagon-officials-...

> There is not much the Pentagon can do to pre-emptively shield the force from a potential abuse of power by a commander in chief.
Unfortunately, there is no "right" website for that.
I’m not an expert, but demographic trends are bleak for Russia, not particularly good for China, and only a bit better for the US. Only time will tell what it all means. The world has never seen demographic collapse on the scale we’re witnessing, so people who confidently predict the consequences are speculating. That said, losing super power status seems like a reasonable bit of speculation. I don’t see a path to maintaining it while in demographic collapse.
Perhaps try making whatever point it is you’re trying to make directly instead of falsely claiming the platform is growing and that people who feel the opposite are out of touch.
Coding Video: A Practical Guide to HEVC and Beyond
Generally speaking, wars tend to end.
Boa constrictor could be a less friendly mascot.
i've been using this app and i honestly prefer it this way.

Lets not forget that certificates are created and checked for github.com, so unlikely for a middleman to get in.

I trust github much more than google right now. Especially since the object being fetched is generic as opposed to a appstore. Google's app store has only shown to hinder publishing. Take syncthing for instance.

The only thing I wish was better was the .apk selection process. It would be nice if a database existed with filename formats or a little extra metadata to match the correct asset.
This sounds like what jujutsu's workflow is like by default
Thank you. I try. It certainly doesn't feel like I'm sane, especially this week.

I had a realization yesterday. This is just like someone close to you dying. The sudden unassailable loss. Walking around in a dazed brain fog going through the motions and not even knowing why. Things are now just different, and will never go back to how they were. But it made me realize that I myself will recover in spite of that, and this put me more at peace.
> I honestly do not understand ActiveRecord

What's not to understand? ActiveRecord exists to make queries easier to write and more readable - the same reason any library or tool is created.

Why don't we skip using tools like Ruby or Rails and just write everything in machine code instead? /s
Made an app to re-encode my iCloud videos
My iCloud library was growing a lot with videos so I created my first iOS app using Cursor+Claude.

It finds the biggest videos in your library, downloads them and re-encodes them on HEVC which saves a lot of space, it also brings them from 4k down to FullHD (optional)
Hello!

I shared almost 3 years ago this website made by the father of a friend that uses free satellite data to showcase the earth near realtime, using algorithms he crafted to assemble and color correct everything together (see original post https://news.ycombinator.com/item?id=29851399)

Since then he improved a lot his software, taking advantage of new satellites, new color wave length, and taking the challenge to map it all on a 3D earth globe (compared to flat earth surfaces previously), see https://earth2day.com/TheWall/Movies/The5/THELIVINGPLANET.ht...

Sometimes you can (unfortunately) see there the planet scale events that faces us, like huricanes that come onto the shore or wildfires so huge the smoke plumes goes over entire continents ... see the gallery of events here https://earth2day.com/TheWall/Gallery/gallery.html

So here I share it back, do not hesitate to provide him feedback here.
Ya but a tons of people are killed by humans every day so it's fine.
If I gave the impression that I thought we could go to Mars, I’m sorry, because I don’t think that realistic at all.
There don't really seem to be any entirely unbiased reporting sources available anymore, so best bet is a mix of different countries and blocs.

e.g. I read SCMP not because I think it's unbiased but because its the other bias

>(social media)

Is a write-off and imo not worth even consider on this topic.

Instead I'd look at the wikipedia current events page - benefits from crowdsourcing without the negatives of social media

https://en.wikipedia.org/wiki/Portal:Current_events
Usually brands make the conscious effort to avoid that, because they might lose their trademark.
Do you just not install other apps? Or do you have some kind of preference for unpatched, insecure old software?