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

Using twitter, a proprietary, non e2e encrypted, for profit platform with an history of political meddling and censorship to organize social change seems a dangerous bet to me.

This is basically hoping that:

- they are willing to play nice with you

- they won't get pressured into not playing nice with you

- nobody will use technical means to extract things from them

Meanwhile, while taking this bet, those people are creating a gigantic data graph of persons, backed by detailed twitter tracking, all enriched by tons of evidences of their action, thinking and desired in the form of messages.

So if the big guys want to hit them after that, they can grab this juicy data set and have a blast.


These are everyday simple people, not HN people. They're not thinking about spinning up a matrix server with tailscale while a bulldozer is ploughing through their home.

If the people go to twitter then twitter needs to consider their circumstances and accommodate.


Twitter doesn't need to do anything.

It's a for profit private company, not an NGO.

It's not a water company, it doesn't have legally a duty to its clients.

It will do what is good for twitter.

I guess the lesson will be learned by paying a heavy price again and again until it sticks.


NGOs also don't need to do anything. Nobody has to do anything. You don't have to reply to my comments. I don't need to reply to yours. I don't need to explain simple corporate responsibility to not enable dictatorships to easily target people to you. I'm not an NGO.

I guess the lesson that I've learnt is that there's always a gormless oddball on HN that attempts to instigate an irrelevant argument. Unfortunately, it's a heavy price I continue to pay. Hasn't stuck yet :(


There is no need for insults.

The argument is only irrelevant if you consider the matter solved. But it's not.

You still think "Twitter should do something", like if 30 years of big IT corporation behavior history hasn't proven it's wishful thinking.

What we need is keeping educating people to not use those platforms for anything that requires privacy, to not give all their data to GAFAM and make safe systems more user friendly and ubiquitous. So that it doesn't stay in the HN bubble.

This is not wishful thinking, as people around me are asking me more and more about privacy. Last month, my little bro told me to switch to encrypted channels to talk to him, for something I though was overkill. He is not in IT. It's a slow process, but so is teaching everyone to read.

In that regards, having such argument is a good thing, since that, even in HN, it's a healthy way to discussing between people tech saavy what we could prioritize as a community.

I assume, that, since we are discussing it, some of us are interested in the problem and our role in it.


The logistics and practicality of teaching whole swathes of a population living under a US-backed dictatorship how to make sure they have secure means of communication arouses more suspicion than just using twitter, where everyone is already. Getting caught with technical and secure means of communication can be used as evidence in witch hunts. Having Twitter installed, on the other hand is not. Let the chickens hide in plain sight, just don't advertise their information to the wolves.

I don't work at Twitter which is why I'm doing what I can by bringing it up here so someone at Twitter can do something about it. One way to make sure this problem doesn't get solved is to say things like "Twitter is a private company they don't owe anyone anything". Maybe if we as a community stood together to demand these features of big companies then they would consider it a must-do. Cynicism, no matter how valid (very, extremely, enormously valid) is not a reason to let these big Co's relax for even one moment in the pursuit to protect its users.


You're right, of course.

But anyone worth their salt (imo) would consider these matters.


Sure, these people understandably turn to an easy and familiar tool in a time of crisis.

But the problem is that Twitter has no incentive to do anything at all other than optimize for ad revenue. Which is not a judgement -- it's just physics.

We cannot expect large, private, for-profit enterprises to act compassionately out of moral obligation. The answer is going to lie elsewhere.


Well ...

a) It's not just Physics as it's not Physics at all.

b) If society is simply behaving in a way that maximizes short-term profits, we're doomed (or doomeder?). The good news is that there is a ton of evidence that this behavior is tempered by at least a little bit of thought for the future.

c) Companies still recognize that "customer goodwill" is a valuable asset even though it's neither quantifiable or convertible.


Relying on a for-profit company for our communications with one another, a company to whom we pay nothing -- this is doomed to failure.

For thousands of years, we've relied on various forms of public and private postal service. The public ones were funded and run by whatever government, and the private ones provided a service for their customers in exchange for payment. Phone companies have mostly been technically private but heavily regulated, and funded directly by their customers.

That all worked well enough. In contrast, what we have here with Twitter is a system where the customers are the advertisers. The communications on the platform are a byproduct. In this scenario how could we expect Twitter to act any differently?

We need something way different and we tech folk can be part of the solution. Distributed open platforms with public funding and which welcome regulation -- this seems like a direction with some hope.

But I will not be betting on a few do-gooders at Twitter having a little bit of thought for the future acting as our savior.


> But I will not be betting on a few do-gooders at Twitter having a little bit of thought for the future acting as our savior

Agreed! And we desperately need a savior.

I just wanted to point out that it isn't as simple as assuming companies are simply aiming to algorithmically maximize profits.


There are a multitude of other options. Hell, WhatsApp with encryption turned on would be better option.


How do you deal with copy/pasting text from the terminal?

Last time I tried textual, my users couldn't put anything in the clipboard from their mouse selection.


If Textual is mouse aware (like Midnight Commander for example), you probably need to do it while the Shift key is pressed. If you prefer using the keyboard you can also use Shift+Control+C for copy and Shift+Control+V for paste.


Thank you for the tip.


Still, the way energy is circulating in the food chain, you need a lot more land and water for raising X calories of cattle than for the same calories of plants.

Not to mention transportation, anti-biotics, cold chain management, packaging, transmissible diseases, waste management, etc. are all a much higher concern for animal based food. In fact, even pesticides are worse on cattle, because any non food product tends to concentrate in the animal after a life of consuming it.

Meat is a luxury, like plane transportation.


I don't know why you base your statement on the assumption that the industrial highly concentrated and unhealthy (for the animals definitely) style is the basis such a discussion should be based on. You lower your bar for your side of arguments substantially by pretending the line is there.

You even do it without the shadow of a hint that the base you use is entirely artificial and unnatural. No, animals should indeed not be raised like that. But I find such arguments dishonest at best.

I have yet to find a discussion where any significant (or really any, but let's assume difficult people exist everywhere) number of meat eating people argue that the current state of how animals are raised in industrial-style facilities using what you mention is how it should be.

If they let cows roam free - like what indeed happens in plenty of places in the world - then they use free energy stored in grass. Which is the much better food for them anyway.

It's almost like a lot of people completely forgot that North America once had tens of millions of big grass feeding animals roam what now is the US (https://medium.com/@davbunnell/once-there-were-50-to-100-mil...). I'm not saying that could happen again at that scale, but it is always (and I'm not exaggerating by using that word) missing from the argument of the "anti meat" side, whose arguments read as if having a lot of grazing animals is something unnatural and can only occur because we raise them artificially and that getting rid of them is necessary to help the climate. If that simplistic argument were true Buffalo Bill did something for the environment by killing the huge herds - which I don't is not what people mean.


I agree, but you won't get 10% of our current meat production with free range meat.

In fact, we are cutting forest to meet demands for lands to grow cattle because it's still not enough.

If suddenly all meat would come from free range animal, the debate would be different, and I would use different arguments.

But I would actually be very pleased if we already just did that.

It's more realistic than expecting everyone to decide my diet is for them too, and it would already do a lot of good.


Less meat and/or more expensive meat is an entirely different argument than the one made. If the people posting against meat consumption, including the one I responded to, would raise that message I would have no reason to argue. But it is not the argument made. The one made pretty much always is an extremist one that just like this one above leaves out a lot and makes its argument based on extreme assumptions of a system nobody wants to defend (well, maybe those making money in it).

I myself could no longer eat even a modest size steak, even top quality. I eat mostly plants, and some meat. So cutting back on meat substantially is certainly something I can get behind. But the extreme messages I have to read make it hard.

> and it would already do a lot of good.

I think your kind of arguments don't do any good for anyone. It's just polarization but not based on any facts, but based on the tone. If you did base it on facts and reason it would be so much better. Maybe the 24/7 news sites prefer such texts, it sure creates a lot of "engagement" and clicks, but that hardly translates to the assumption that the outcome of such practices will be anything good.

Argue against the truly insane industrial "meat production" practices and we may actually get somewhere. Crates a lot less clicks and discussion because it's not nearly (or atz all) controversial though.


> In fact, we are cutting forest to meet demands for lands to grow cattle because it's still not enough.

That's not true. "We" are not cutting down forests. It's the Americans who do. It's Americans, both South and North Americans, who consume almost double the amount of beef as in any other place in the world:

https://ourworldindata.org/grapher/per-capita-meat-type?coun...

(Annual beef consumption per capita: Argentina - 42kg, US - 37kg, Brazil - 37kg. Next largest amount: Portugal - 18kg).

In truth, the most common meat produced and consumed the world over is chicken and pork:

https://ourworldindata.org/meat-production#meat-production-b...

(million tonnes of meat by livestock type, 2018: poultry - 127.31, pigmeat - 120.88, beef and buffalo - 71.61)

It's the Americans who cut down forest and rainforest to plant soy and corn to feed (or at least "finish") their cows. The rest of the world can do fine without the extravagant, inhumane and destructive factory farming of cows. We already do.


I think it's important to think of us as a specie. We share the responsibility of this, since we consume the meat that drives this, and maintain an economic system that gives the incentive such behavior.


> Still, the way energy is circulating in the food chain, you need a lot more land and water for raising X calories of cattle than for the same calories of plants.

We need more than calories from food. As is well known, some micronutrients that we need cannot be obtained from plants alone and so a plant-based diet must be supplemented either with fish, eggs, meat or dairy, or with artificial supplements.

Which means a) meat, or at least animal food products, is not a luxury, rather it's a necessity and b) for everyone on the entire Earth to go vegan we must make sure that everyone on Earth can take at the very least B12 supplements, and probably supplements for other nutrients also.

I have not seen any study of the costs of supplementing everyone at a planetary level with B12 and whatever other micronutrients are missing from a vegan diet.


I'm not vegan, so I never had a trouble with b12. As a vegetarian though, I do find that the omega 3/6 balance is harder to get right than when I ate meat.

On the other hand, most meat eaters I know have heavy deficient in many key nutrients because the average western diet is terrible, meat or not.

All in all, I think we have to put it in the context of trying to be vegetarian in a society that is optimized for meat eaters. It we go more plant base, I think there are plenty of solutions that will suddenly become more common, such as yeast, algae, etc.

Currently, it's logistically less convenient, and often way less tasty than just eat cheese or eggs for me. But that's because we made it that way:

- it's available everywhere

- the economy is based on it

- we are used to the taste, and our flora has adapted to it

It doesn't mean it can't go fine if we organize for it.


> On the other hand, most meat eaters I know have heavy deficient in many key nutrients because the average western diet is terrible, meat or not.

"Key nutrients"? And "heavy" deficiencies? Are you sure? This is the first time I hear this. Can you explain? Which key nutrients are those? What kind of diets "most meat eaters" you know have that causes deficiency in those key nutrients?

Thank you in advance for the reply and sorry for sounding incrdulous, but really that's the first time I hear that.


My doctor told me years ago magnesium is one of the most common deficiency, no matter the diet. The second would be d vitamin, but that's linked to sun exposure, not diet.


Right, so you say that deficiencies in magnesium and vitamin D can happen regardless of diet, if I understand correctly.

So which are the key nutrients that you say most meat eaters you know are heavily deficient in because of their diet?


I said the average western diet. Veggie or not. I did not imply causation between meet consumption and deficiencies, but rather pointed out than eating meat didn't save people from them.


So you're saying that eating meat doesn't stop people from being deficient in "key nutrients"? I understand that.

What I don't understand is that you said that "most meat eaters I know have heavy deficient in many key nutrients". If that's true then most of the meat eaters you know should be severely sick, disabled, in hospitals, etc. Is that the case, or were you maybe exaggerating? I'm trying to understand what you're trying to say.


Cattle mostly eat what humans can’t digest — grasses, not grains. That energy would go to “waste” otherwise. And the water consumption stats often include rain water (“green water”).


Cattle do eat grains as a supplement to grazing, a drought ration, or in lot feeding.

And since lands with grass is limited by space, and seasonality, we also do grow a lot of food for them.

E.G: UK stats for 2015/16 of soy imports (3.1 million tonnes) break down:

    - 1.1 million tonnes for livestock
    - 1.42 million tones for human food
    - 0.58 for non-foo products
That 35% of the imported soy, just for the livestock food.


It's fair play to act like any gov is doing this.

E.G: Microsoft being American (and them being part of PRISM), I just assume the OS has a backdoor for the US gov. Now with Windows 10 heavy telemetry, it's even easier.

I work for a client doing chips for credit cards. Did you know they are now full blown computers that can run a light version of Java (Java Card) ? The company is building their own hardware and software, and just to get to a conference room, you need biometric access + badge + pin code. Pretty sure they send data to my country agencies in some way despite having to trick the banking system to do so for them.

Same from any software, server/cloud hosting or hardware. If it comes from a specific country, this country is most probably using it for intelligence. It doesn't even need to be on a network now, because there is so much interactivity with all devices. And eventually, one will be.


It's pretty absurd to both sides something like this. Do you have evidence that the US government is doing this on computers it sells overseas, or is this just magical speculation?


Around the time of the snowden leaks we learned that the NSA was installing backdoors on Cisco firewalls bound for foreign countries.

https://en.wikipedia.org/wiki/Cisco_Systems#Firewall_backdoo...

"A document included in the trove of National Security Agency files released with Glenn Greenwald's book No Place to Hide details how the agency's Tailored Access Operations (TAO) unit and other NSA employees intercept servers, routers and other network gear being shipped to organizations targeted for surveillance and install covert firmware onto them before they are delivered. These Trojan horse systems were described by an NSA manager as being "some of the most productive operations in TAO because they pre-position access points into hard target networks around the world."


Where's the part where the US steals and then commercializes Chinese IP?


My original comment doesn't focus on the stealing IP part, only on the backdooring part.


I heard your type of argument about the US mass spying before Snowden, and surprise, we were not conspirationists after all.

So call that educated magical speculation.


Well, but correct me if I'm wrong, the Snowden leak included nothing like this. Instead it included a lot of things that would be a lot easier to do if Google/Microsoft ect just gave them access. The very fact they had to do everything else is at least evidence that don't have direct access


It's just different use cases. Backdoors are more useful for targetted operations or specific data exfiltration, while plugging yourself to back bones is more useful for mass surveillance.

I don't even see why it's controversial to hold this opinion. Reading some comments, people seems to feel offended we could think that from the USA.

If anything, the USA are, with Russia and China, among the countries anybody in Europe like me would suspect the most about pulling things like this. The CIA and NSA have a terrible reputation, and the track record to support it.

We are talking about a country that went to war while lying about WMD against the UN vote, made money with south american cocaine while organizing coup after coup, elected Bush and Trump yet punished Chelsea Manning. A country that is still under the temporary 9/11 Patriot act, it used to mass spy on its entire population.

Of course I'm assuming the worse from them.

And yes, it's fair.

Actually, even if I were proven to be completely wrong in 10 years, it still would have been fair.

But I'm not even assuming that only from the US, but basically from any gov, including mine. Because history taught us that's what power does.

It's sane to be suspicious of people in power. Necessary for democracy, even.


But, and this is where the equivalency annoys me. You could literally end up in jail for saying some of these things about China in China. You could just as well talked about abuses of women and the me to movement, but the reason that hasn't happened in China may well be not that there men are somehow better behaved, but that they appear to have put a women who did come out with an accusation under house arrest until she agreed to stop talking about it. Yes the US has done and doubtless continues to do bad things, part of that comes just from having power which the US has had for a long time, part of that comes from truly bad people ect. But the Snowden leak happened in the US. US newspapers reported on it. College professors talked to their class about it. You can talk about it on this US hosted and owned website. None of that is true in China, right? So yes I am more skeptical of the US doing shady business when a large percentage of US citizens object to shady business and can talk about it than I am of China doing shady stuff when they've built their internet to insulate their government from as much criticism as possible


Yes, cancer is worse than diabetes.

Not the point.

The point of my comment is: I assume any gov to have such backdoor if they can.


Well, but we can assume with different probabilities. For sure there are people in every government who would if they could, but the fact that the US has mechanisms to expose this sort of thing and lots of people in individual companies who feel like you and there are still no stories of this, that is evidence that it isn't happening at least not at any sort of scale


> It's just different use cases.

That's a hand-wavy redirection that isn't relevant to the issue at hand, which is that:

There is no evidence of the US (and, in fact, many other large countries, with exceptions for e.g. Israel) installing backdoors and breaking into computers in order to steal intellectual property.

There is ample evidence of China doing exactly that, against a variety of targets (not just the US - they've taken things from Japan and the EU, among many others).

I wouldn't be surprised if every nation with a functioning Internet connection tries to put the hac on whatever they can.

But that's not the topic under discussions - the topic is stealing and commercializing IP, for which there is tons of evidence for China doing, and accusations of e.g. the Five-Eyes doing it are rampant speculation with absolutely no evidence included.

Yes, that includes your comment.


I never said I had evidence, I said it was fair play to speculate all gov do the same, given they lack of morale and fire power.

Which it is.


I suppose it's true that you said "speculate", because one can speculate that the sky is green when you're not looking - speculation doesn't necessarily have anything to do with reality. Fair enough.


People have a hard time admitting that what Snowden/Assange revealed about the US is much more damning, from infected servers to keyloggers built into USB cables.

I find China is useful as a mirror to the US. If they are doing something problematic, it's highly likely the US gov is too but just hasn't disclosed it to the public.


> I find China is useful as a mirror to the US. If they are doing something problematic, it's highly likely the US gov is too but just hasn't disclosed it to the public.

You think the US is engaging in systematic genocide? I'm guessing not. If so, you should consider why you would say something so ridiculously out of step with reality.


Well, let's count how many people the USA killed with 2 wars in Irak, one in Afghanistan, one in Vietnam and countless operations in South America. Or how they mostly put non white people in a privatized prison system that then exploit them. Or how their police is so peaceful and close to the population the entire country had a debate about de-funding it.

Sure, China is worse, but it does make a useful mirror. Like Russia was a useful one during the cold war.


Seems my reply was possibly too on the nose of got flagged. Hopefully, you read it before it was removed.


*and


Not precisely the same thing, but even more insidious (or brilliant, depending on who you ask):

> Operation Rubicon (German: Operation Rubikon), until the late 1980s called Operation Thesaurus, was a secret operation by the West German Federal Intelligence Service (BND) and the U.S. Central Intelligence Agency (CIA), lasting from 1970 to 1993 and 2018, respectively, to gather communication intelligence of encrypted government communications of other countries.[1][2] This was accomplished through the sale of manipulated encryption technology (CX-52) from Swiss-based Crypto AG, which was secretly owned and influenced by the two services from 1970 onwards.[1] In a comprehensive CIA historical account of the operation leaked in early 2020, it was referred to as the "intelligence coup of the century" in a Washington Post article.

https://en.wikipedia.org/wiki/Operation_Rubicon_(Crypto_AG)


The first DDG result, there are many.

https://www.infoworld.com/article/2608141/snowden--the-nsa-p...

I'm a Brazilian, the NSA has been caught breaking Microsoft products on our largest companies for industrial spying too.


It’s not “fair play” to equate your assumptions and personal conspiracies to thousands of documented cases of state sponsored IP theft.


Yeah, I read those kind of comments before.

But then again, we got a PRISM, XKeyscore or NSO Pegasus coming out of the box every other year. So I stand by "fair play" to qualify my assumptions.


> Yeah, I read those kind of comments before.

Just pointing it out: this is a really sneaky way to avoid providing any sort of evidence for your claims whatsoever.

But to address your claim: security and cyber attack stuff are not remotely comparable to IP theft. You'll have to do better than literally pull claims out of thin air.

And, exactly none of those incidents you mentioned have anything to do with IP theft. Your own examples demonstrate a consistent pattern of no IP theft.


I don't need evidence since from the beginning I'm insisting that it's my own assumption.

That's how assumptions work.

And I'm not focused at all on the IP theft, only on the backdooring.

People just started to focus on IP and the USA after the fact, because americans think the USA and money are the center of the world and see it everywhere even when they are not the main point of the conversation, but just examples.


I kinda dig the new mapping syntax:

    { a:, b: } #=> { a: 1, b: 2 }
JS does it { a, b } and I find it very convenient, because if you code well, you usually have related things with the same name and repeating the name twice is just boilerplate.

Because of the set syntax in Python, the JS syntax can't work, but the ruby one would be nice.

Since Python keys can be anything, but usually are strings (and hence are quoted), I would probably invert the ":" though:

   { :a, :b }


I really like the ruby syntax. JavaScript now has the problem that it can't make code blocks expressions because it's ambiguous with object literal shorthand.


JavaScript has labels, so objects have always been ambiguous with blocks


Python will never have block expression, given how limited lambda is already, so that's not a concern.


It's not just because of the set syntax; it's also because Python dicts don't treat their keys as symbols, but rather evaluate them as expressions, whereas JS evaluates keys as symbols by default and requires `{[key]: val}` to evaluate them. So in Python you'd have to do something funky where `{a: a}` is `{value_of_a: value_of_a}`, but, say, `{a:}` is `{"a": value_of_a}`.


So its a shortcut that if you pass a variable as a key with no value it automatically creates a key with the same name as the variable and assigns the value?

That is kind of neat, but I tend to think of a bunch of {'a':a} as a bit of a code smell. Like maybe I should have used the hash/object/dict to begin with


It's mostly useful when a function generates values then return them as a dict or when things are parts in different chained calculations before being included in the dict to save lookups.


there is no way to achieve this in Python right? I miss this from js.


Nope.


It's actually fantastic to receive such email. You can answer:

"We are happy to provide you with support regarding this issue for $5000/day"

Then if they accept, proceed to do nothing for 10 days, then reply you find none of your code is impacted and they are safe then bill them $50k.


> proceed to do nothing for 10 days

That would be fraud. No, start grep on the source code and a few things like that, then provide the results: "a detailed audit found no reference to log4js, so another audit was started which found no reference to any java code in the C source; it was repeated 5 times to confirm these promising results. Another audit followed the Boltzman brain hypothesis to check if the affected log4js binary code could not be spontaneously generated during compilation, by following a Monte Carlo simulation to check for various length of binary data that would match the log4j binary code. (...)

Finally, to avoid this extremely remote risk, the code changed to switch to reproducible builts, which can guarantee this will not happen"


>"No, start grep on the source code"

Or print it out on hard copy, make interns read it line by line, then charge 400% of their labor as your management fee.

What's the purpose of using regexps here? You're optimizing away your own revenue!


There's no need to have actual interns read it, that would be unnecessarily cruel. Service fees don't need to be based on actual billable hours. You can charge 400% of the time it would take interns to read it without actually doing that, as long as your grep one-liner delivers the same value.


Also charge $1/page for the printing. Then ship it to them, in triplicate, and charge for the overnight shipping (it's an urgent bug after all).


Add a note that the lines at risk have been marked!


First you start with some project planning sprints. Later on you will begin the implementation of the command line module exercises.


Yes, but does the other company pay for the retrospective? Or is the retro when we start to spend all the money that was billed?


There was a HN post about selling to the Enterprise market. Doing it the way that was described there would be. Also, to not perform a scam as other posts here would be.

1. Insist that you need to talk to upper management until you get to the CEO.

2. Once there you need to sell them on a Fixed fee contract for five engineers so let’s say $1MM or more

3. Actually create a few scripts that run the log4j scanner from Google.

4. Have an extended support contract by doing this yearly at $1MM.


It's fraud to bill someone T&M for time that wasn't actually spent. You're better off quoting it fixed-fee. :)


Bill hourly with an 80 hour minimum. Then you can give them an invoice for 5 minutes to type the email and bill them for 80 hours.


“I had Martin explain to me three times what he got arrested for because it sounds an awful lot like what I do here every day.”


well said, and these companies have way too many lawyers with free time to keep suing you, even if you are right and the judge solves the case in your favour, not always it is required to cover legal expenses and the amount of legal fees burned on it won't worth.

Fixed fee or monthly "support contract", with minimum of 1year.


> Then if they accept, proceed to do nothing for 10 days, then reply you find none of your code is impacted and they are safe then bill them $50k.

Hopefully you don't do that or encourage others to. Just because F500 companies are big, stupid, slow and greedy, doesn't exactly make stealing right.


Yes it does.


>Just because F500 companies are big, stupid, slow and greedy, doesn't exactly make stealing right.

That is precisely why it's right. These capitalists have stolen our labour, and corrupted our politics for centuries. `Stealing` it BACK is the ONLY way history has shown us works.


So this contract is the starting point for the next great Marxist revolution ?


You'd probably need all of the 10 days to fight through all of their supplier management forms, answer pointless questions about security certifications, people involved and if you do business with iran.


Who cares about cigarettes being dangerous? People already smoking knows that.

What's the new risk?


Guess what was not removed?

    1 : 1,0
    2: 01
    3: 1.0
    4: 1O
    5: 0b1
    6: 0x1
    7: 0i1
    8: hey,
    8.0: oh,
    version: [3.1, "3.1", 3.10, "3.10"]

Gives you:

    {
    "1": "1,0", 
    "2": 1, 
    "3": 1.0, 
    "4": "1O", 
    "5": 1, 
    "6": 1, 
    "7": "0i1", 
    "8": "oh,", 
    "version": [
        3.1, 
        "3.1", 
        3.1, 
        "3.10"
    ]
    }
YAML turns raw literals into strings, except when the string matches a certain format. Then it may turn it into other things, like int or float, and you better know all the rules by heart and be attentive. And not introduce any typo, which of course no human ever does.


That's why yaml is a format for computer and json a format for humans


And that's also why everybody use JSON to configure CI, and use YAML for REST API.


This will destroy the trust people may have in any author's claim as well...


Depends on the how they respond and the audience.

Personally, if they respond with alacrity and transparency then I get to trust them more.

For the average consumer ...


This isn't an unheard-of practice in the software world. BSD has often touted itself as the most secure *NIX-like system on the market today. When someone files a CVE, the developers use it as an excuse to powwow, crush the bug or vuln, and then continue claiming to be best-in-breed.

And yes, that's not necessarily the de-facto behavior of a lot of developers, unfortunately. Projects like Flatpak have hundreds of open issues and vulns, with only a handful of developers actually dedicated to working on it. These people often prioritize features over fixes, and they reap what they sow for it.


This is a really bizarre comment to make, considering BSD has no equivalent to flatpak. Flatpak might only have a handful of developers, on BSD you get nobody trying to fix application-level sandboxing at all. Unless I missed something and there's a new BSD project being worked on here, but I haven't heard anything.


They're both security-oriented, open-source projects with limited numbers of contributors. I'm comparing the way they handle their priorities, and moreover just trying to tie it back to how claiming to be perfectly secure is a pretty regular occurrence. It's not an apples-to-apples comparison, but it doesn't have to be for the sake of this example.


Rich is the low level part, for list select or viewports, you need the high level lib from the same author: textual (https://github.com/willmcgugan/textual).


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

Search: