Hacker Newsnew | past | comments | ask | show | jobs | submit | collinfunk's commentslogin

Likewise, a maintainer of a project that uses Coverity. It is very useful, and I am thankful to them for generously making it available to us for free. But I agree it is a bit noisy with results. E.g., many of the reports will mark code as "dead" when it is used on other platforms.

I'm not really involved in OpenSSL, aside from a few tiny changes and commenting on a few things that affected GNU coreutils. However, I have seen Bob, whom I assume you are referring to based on the profile picture, participate in many discussions. I wouldn't infer too much from it.

Bob is a member of the Engineering & Standards team at the OpenSSL Corporation.

https://openssl-corporation.org/leadership.html


Do the projects collaborate closely since the split? My history is admittedly fuzzy.

Sometimes the fix can be worse than the bug. Like patching a hole in the wall.


Yes, they collaborate. BoringSSL and libressl especially, which IIRC share some of the same developers. But OpenSSL has it's own priorities and vision, which sometimes (often?) clashes with the sensibilities of the BoringSSL and libressl developers. Because OpenSSL is still the de facto standard bearer and developer target, it can get frustrating for the libressl and BoringSSL developers, especially when they zig and OpenSSL decides to zag.

Software Developers in the US commonly work for hire, so the code they write, even outside of work, may be the property of their employers. This depends a bit on state law.

It is correct. But only 'date' and 'touch' use it, so I am not sure how much benefit there is in making it a shared library.

If size is really a concern, we have supported building a single 'coreutils' binary since 2014, which will be more effective in saving disk space. It can be done with './configure --enable-single-binary'.


> But only 'date' and 'touch' use it, so I am not sure how much benefit there is in making it a shared library.

There is also the rest of the whole "gnulib" folder inside the coreutils repo. Yes, I know that Gnulib explicitly states in the docs that it's a source code library but it doesn't bother to explain why exactly it chose to be that instead of being a .so à la glibc (beyond some rather unrelated "but supply chain attacks!" segment in the docs — if I cared about that, I'd statically link the relevant parts of glibc as well, in fact, that would be a much higher priority).


Read section 2.2 [1]. Each package that uses Gnulib maintains a list of modules that its program(s) requires. I.e., each package has a different library built as libgnu.a.

Gnulib also doesn't make API stability guarantees like shared libraries do. If a distribution installs Gnulib as a shared (or even static) library, and then links programs to that instead of the vendored sources, they will likely end up with broken programs.

[1] https://www.gnu.org/software/gnulib/manual/gnulib.html#Libra...


Yeah, I've read the section of 2.2 in its entirety — nothing you said in your comment is in it.

Also, "Gnulib doesn't make API stability guarantees like shared libraries do" — a) do you mean ABI? b) why not? The gnulib seems like something that's perfectly suited to be a shared library, even more so than the glibc, since it's not a language runtime.


For question A, both API and ABI. Question B is answered in the documentation.

If Russia stopped its "special military operation", then its oil refineries would still be intact.

Unfortunately Putin and his close advisors believe that they are essentially Lincoln fighting the Confederacy in an epic battle of good and evil for which no permanent peace can be accepted. Convincing them to see sense is the only non-military resolution to the war.

That's not it at all, Putin talks about eliminating Ukraine, all Ukrainian culture, the language, the people, their history...

If you look at what Putin actually writes and says there's no comparison at all to anything Lincoln-like.



What do you mean to communicate with this barely connected link?

WRONG.

Dictators have always been paranoid about everyone else, this is why they are always extremely careful about personal protection.

What you dont appreciate is that Russia is a multi tiered society. Im not denying a small number of thousand European Russians have died, but the only cities or peoples that Putin fears are Moscow and St P. So far only a few thousnad have died from there and basically everyone in those cities knows they are effectively spared from being forced into the army.

Most of the dead and fighting are from places you and me have never heard of, that is cities and towns and regions filled with the many other non European peoples that are under Russia. Russia is a land of over a 100 peoples, there are dozens if not more different cultures and languages. Those are the people being killed.

The European type Russians in Moscow and St P know this, and they wont dare protest because they are not the wons dying.


The only language fascists understand is an overwhelming display of force.

There will be no non-military resolution. Either Russia wins by subverting Western governments - which has been a partial success so far, but not the knock-out Putin was expecting - or Russia implodes.


[flagged]


No, The type of Nazi's which invade their neighbors. Like Russia did when it co-started the second world war by invading Poland and shortly there after Finland. And then occupying eastern Europe til about 1990. And then occupying the Crimea and invading Ukraine. And of course Moldavia, Georgia, etc. Basically Russia has always been occupying countries in Europe (or pieces thereof) in the last century.

[flagged]


Time for you to reread the site's Guidelines as you are in clear breach of them with this offensively abusive comment

https://news.ycombinator.com/newsguidelines.html


I find it quite telling you are more offended by my comment than the one I replied to.

They exist in France, I won't argue with that, just like everywhere else. But only in Ukraine are they part of the national armed forces...

PMC Wagner was literally absorbed into the Russian military and they run rightwing death squads in Africa.

There may or may it be extremely right wing soldiers in Ukraine’s military.

Does this make Ukraine any less invaded? Or make them defending themselves wrong?


How many Azov servicemembers have you met? Thought so. The US has lifted any sanctions on providing Azov weapons 2+ years ago after finding nothing.

> They exist in France

France, true to form, is popularly supporting their neo-Nazis, elevating their pro-Putin sell-outs to power. Like Israel, they seem to have missed the global wave of anti-corruption elections.


Nah, both sides have no choice but to fight because Ukraine can't make territorial concessions, and Russia can't leave a militarized Ukraine intact. If either government compromises the nationalist factions of their own countries will lynch them. The only resolution to this war is to fight it out until one or both sides collapse.

Why can't Russia leave a militarised Ukraine intact? What business is it of theirs?

Parent is right. It's for optics.

Neither side is willing to lose face, there's only three ways out:

1. One side achieves total military victory (unlikely and would drag on for years)

2. A new president takes office on either side and opens a fresh diplomatic path

3. Outside mediators broker a truce


There is a difference between "can't" and "won't".

For Ukraine, losing means the end of their existence as an independent state, so they truly have no choice but to fight. For Russia, losing means one dude being embarrassed. They can stop whenever they want.


Russia losing means Putin will lose power. If he loses power suddenly he will likely die. Putin doesn't want to die. He can't stop, so he will never let Russia stop without a justification that can appease the Russian people. The Russian people don't want to stop either, because of the sunk cost fallacy and the perception that Europe wants to attack them and break Russia into little pieces and the internal propaganda that the only way to prevent that is to win and destroy Ukraine's military power.

Sure, everybody could sit down and agree to stop, but both sides have already many times vehemently denied any possibility of a compromise on their core issues, so what do you expect to happen? Both Ukraine and Russia view this war as existential. Both have red lines they refuse to bend on and which they demand the other side to bend to. Where do you see a non-military path to peace?


This is all about what the Russian people want, or think they want, rather than what they can. If they must live in fear of the scary Europe, that's good with me, we've been living in fear of them so far.

I don't think what happens to Putin personally matters that much in the grand scheme of things. His country was a murderous regime before him, and will remain one once he's gone.

> Where do you see a non-military path to peace?

I never claimed there is one, just that Russia has no say over whether Ukraine stays militarised or not. We should not normalise the demands of mad men as if they are legitimate.


"They" stopping the war really means Putin and he can’t afford to walk away empty-handed without admitting the invasion was a blunder. It’s more than just him being embarrassed, that would be the end for him.

My point is that he has to go, or Zelenskyy, or some external diplomacy that makes everyone look good.

That said, even if replacing Zelenskyy gave Putin a face-saving excuse to negotiate, Russian ultra-nationalist pressure means Putin still won't settle without keeping the occupied regions of Donetsk, Luhansk, Zaporizhzhia, and Kherson.

With Zelenskyy refusing any land concessions, peace is virtually impossible while both remain in power.


I agree for the most part, but like I said in another comment, we should not sanewash the demands of a genocidal dictator. What Putin wants is of little relevance, we don't ask the victims of violence to make concessions towards their aggressors and promise they won't fight back next time.

The fact is Putin has more leverage.

We’re all sympathetic to the Ukrainian cause, but they won’t win this war.

It’s easy to say you don’t want to make any concessions when you’re not the one actually sent to the front by force (conscription).

Essentially the elites are arguing, people from abroad are watching (sometimes amused by it), and citizens who are not sent to the war on both sides say they don’t want to concede.


I think Ukraine can win. Of course, whether they want to concede is purely their choice, but I am yet to find a Ukrainian who thinks they should.

I am not Ukrainian, but I am from Moldova, another country that Russia is illegally occupying. So I am not watching this with amusement at all, and I would go to the front if my country calls me.


Wanting some assurance that your country won't be invaded again in a couple years like this time isn't "optics" or "saving face". Zelenskyy openly said Ukraine is open to freezing the frontline where it is as long as we have any sort of assurance Russia won't attack us shortly after.

Russia demanding to limit our army size is not assurance Russia demanding us not to join any defensive alliance is not assurance Putin demanding we give up well equipped defensive positions even before any real negotiations start is not assurance either.


Except Ukraine never threathened to invade Russia.

Why would they?

Russia literally invades Ukraine so any territorial concession is just giving up your position for nothing. They will just continue from their new position.

This is their house and they are attacked by robbers. Luckily they are armed.


You dont understand the mind of the dictator especially a Russian dictator. They have always been paranoid about their neighbours, this is a tradition that goes back hundreds of years because of geographic luck they have no defensive boundaries.

The UK famously has the sea, which has helped it for a thousand years. Its no conincidence that the boundary of Spain and France are the Pyrenees or France and Italy are the Alps or China and India have the Himalayas.

Powerful countries like natural boundaries like this because they are always worried about the other side. Russia for all its size has mountains or water stopping others. Putin wants Ukraine because he wants to push RUssia back to the USSR boundaries which were mountains in Europe. WHen Russia controlled and had roops in East Germany the open plains were narrow, today they are thousands of kms. Yes Im not defending Putin his violence and aggression and changes to Finland are all his fault, but thats not whwat im discussing.

He wants the boundary to the sea and mountains. Unfortunately he doesnt care how many millions die, all he cares about is his imperial amb itions.


Russia has more than 1000 nuclear warheads.

Do they even work ?

There have been many examples of their delivery vehicles blowing up most of the time in recent tests as confirmed by satellite photos.


> You dont understand the mind of the dictator especially a Russian dictator. They have always been paranoid about their neighbours, this is a tradition that goes back hundreds of years because of geographic luck they have no defensive boundaries.

So, so wrong. Putin himself made it clear it's about territories. His admiration of imperial Russia isn't a secret. He wants more territories. It's not that deep.


If you study past and current Russian territorial advances you will find they are precisely compatible with my observations.

I do understand this, Russia's soft underbelly and all that.

And Moscow being threathened or conquered by Swedes, Napoleon and Hitler

But since when did Ukraine, Poland, Finland get to choose their neighbors? I am sure they would also love to pick and choose.

Is the world going to just give up and lie down because Dictator is paranoid? I know who's got to go.


Of course they would, but we dont live in a fair or peaceful world.

Where does the paranoia end? Paris? Warsaw? Or maybe only Tallinn?

It never ends - thats the problem all of Eastern EU knows very well.

Kosovo?

PS (is Serbia)


Russia can absolutely leave a militarized Ukraine intact. Give back the pieces of the country they tried to steal, pay war reparations, send some people to The Hague to get fitted for new ties. Move on.

No one wants a war with Russia, even now. The whole "the West will invade" trope is just a way to keep Russians from focusing on their own situation. If the populace paid even knew a little of what Western media said about a potential conflict between the West and Russia, they'd realize this... "The Day After", etc.


> the West will invade

Year after year the west issue attacked. How many times has Russia attacked its neighbours?


Transnistria/Moldova 1992, Georgia 1992/1993, Georgia 2008, Ukraine 2014, Ukraine 2022.

Russia believes they have to attack their neighbours, because they believe they need to push all the way to geographic boundaries like the sea or mountains.

Unfortunately this is how dictators think. Nobodies die for their ambitions and tahts what we see.

Putin believes he needs the boundaries to be what Stalin took after WW2 from the old and sick Roosevelt who gave him too much of Eastern Europe.


Have you watched too much of Peter Zeihan? Dude is mostly talking nonsense confidently while hiking. As someone living in Ukraine I can tell you he understands literally nothing about our politics, defense capabilities etc but talks very confidently about it.

I am not a Putin supporter and i hope he rots in hell, the sooner the better, but that doesnt change the fact that he does wish to recreate the USSR and its satellite state system.

Im sorry your home country cant be left in peace but those are the facts.

Putin has said the dissolution of the USSR was the greatest political tragedy of the 21C.


USSR bit might be true, but the Russian invasion so far is the top contender for the greatest tragedy political or not of the first half of the XXI century.

You didnt read my response. I simply repeated what PUTIN said, im not talking about actual reality. The two are very different. In Russia only one persons opinion or will matters and thats PUTIN.

Not sure how what you said is related to what I said. You are saying "no, you are mistaken", but I didn't make any of the claims you attribute to me.

Sorry i thought you were saying my observation was mostly incorrect.

I don’t think Putin can. He certainly doesn’t believe that would be a better outcome than continuing to fight (although he’s definitely not being realistic about that). That would be complete defeat, and he can’t admit that.

Why would Putin care what ordinary Russians think ?

Every single Russian citizen is scared of Putin, because they know he owns everything including their lives.

They also know that most of the dead and fighting are not even European white Russian, most of the unfortunates are from the many other cultures and peoples that have been conquered.


I think russian government cares a lot about population support, and despite the efforts of the few Russian anti-war heroes, war still has broad support from a population, so it buys time for russian super rich to enjoy their position in society. Moreover, historically russian government used wars as a means to raise support, 1999 Ichkeriya war was used as a vehicle to prop up Putin popularity, 2008 Georgia invasion was able to gain widespread support for Medvedev, and of course 2014 invasion, and to lesser extent Syria invasion, repelled all the mass protests that were happening in early 2010s. Large chunk of population enjoys warmongering, hails strongmen and genocide. This does not extend to all Russians citizen, but likely majority of them.

I dont recall seeing protests from the Russian public demanding that the government perform the 1999 Ichkeriya war.

I recall second war very well, despite I was a child. Ukrainian TV was broadcasting Russian news at a time, so I saw resident buildings explosions and learned from the reports that evil Chechen terrorists were behind them. A humble but purposeful prime minister worked hard to stop these terrorists, and I was then fully on his side. This was years before I learned about sugar bag drills in Ryazan.

Putin was always going to invade Chechenya, the public support you mention was a lucky or manufactured coincidence. Empires such as Russia today and past cannot not by definition allow any small component to challenge the authority of the leadership.

The fact the media reported the story with those messages proves my point.


You already know they didn't blow up their own pipeline to the UK, right?

True. :)

I really should close some of them, e.g., 8559, since Gnulib, which we depend on, doesn't support IRIX anymore since it is EOL.


We still maintain GNU Coreutils upstream, FWIW. I had to beg Canonical to address bug reports on the version that they distribute, which was ignored after the switch to uutils.

For that reason I suggest switching to any other distribution. Of the ones I have interacted with, I have had good experiences with all of them.


Guix?


It has always seemed interesting to me, but I haven't gotten a chance to give it any substantial use, yet.


The rationale is explained in this 2015 commit: https://github.com/coreutils/coreutils/commit/35217221c211f3...

The current implementation is much faster than in that commit on GNU/Linux, as documented in this 2026 commit: https://github.com/coreutils/coreutils/commit/2b1c059e6a06ee...

The OpenBSD implementation is much slower than both the GNU versions from 2015 and 2026. However, their goals are different from ours, and that statement should not be interpreted as criticism of theirs.


The 99% use case is for just `yes` though. That is optimized for such a niche corner-case...


What downsides does it have for end users?


It makes the code way less auditable and more prone to bugs and errors. Or let the kernel change its paging mechanism and now your fucking “yes” tool needs an update to be “efficient”. The tool has one job…print yes or another word you give it. It by definition does not have to optimized to oblivion. Same goes for echo.

It’s arsinine to optimize it to that level instead of just keeping it readable and maintainable. And portable.

The gnu version is 100% not easily portable because it has assumptions about the underlying kernel.


> It by definition does not have to optimized to oblivion. Same goes for echo.

I don't know about oblivion, and non-portable optimizations are not good. But perhaps yes(1) and echo(1) are among the tightest inner loops of scripting. You would not want them to bottleneck the pipeline. You'd want them pumping output faster than it could be accepted or written out.

Perhaps there is an opportunity for a /dev/yes, which acts like /dev/zero, only it continually outputs whatever filename it was opened as (good luck!)


I think NetBSD and OpenBSD do just fine with the simple version. Or maybe they write better scripts :)


The current implementation works on any system with read and write system calls.

The Linux optimization just uses splice and vmsplice. If those APIs are changed to avoid zero-copy, as was considered for some time after the AF_ALG security issues, it is unlikely that another API would take their place. So, no, I do not think it needs any changes if Linux changes.


What can go wrong with allocating memory based on user input….I wonder….


> rewrites of coreutils to be faster and cleaner (e.g. Busybox or various Rust projects)

Note that busybox is under the GPL.

As someone involved with coreutils, I can’t say anything specific without examples, but speaking generally I would caution against putting too much weight into benchmarks.


> The GNU versions work fine in macOS. Apple doesn’t want to distribute them, but that’s mean you can’t use them.

We also test GNU coreutils on macOS. It is a bit tricky since the other maintainers and I don't own any macOS machines for testing. But we seem to do well enough with a shared system that Adélie Linux kindly allows the compile farm [1] to use, along with some additional CI machines.

[1] https://portal.cfarm.net/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: