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

Hmm really? Even on the Wikipedia page for 7 (https://en.m.wikipedia.org/wiki/7), one of the first things it says is “7 is often considered lucky in Western culture and is often seen as highly symbolic.” And FWIW you can see the Wikipedia edit history, that isn’t a recent edit, nobody here is messing with it :)

“Lucky Number 7” is a common phrase, there was even a popular movie that played on this, “Lucky Number Slevin” (https://m.imdb.com/title/tt0425210/). It’s one of the first numbers I’d think of as a “lucky number.”


This is great :) Also if anyone else is hitting New Yorker paywalls and can't read this, just disable JavaScript and reload.


Huh really? Whenever I’ve taken the train in Germany it’s been pretty punctual, and looking at the board that’s been the case for most trains. But maybe I just got lucky and/or it’s changed over time.

Flakiest trains I’ve experienced anywhere in Europe were in Italy - rolling strikes among train workers are crazy frequent and cause so many delays and cancellations.


The map claims a journey from Berlin to Bremen takes 2h57m. My last one took 6h 33m. And it was only a single connection in Hamburg. The Berlin-Hamburg ICE got stuck for a few hours in the middle of nowhere, then a few trains from Hamburg to Bremen got cancelled... The usual stuff.


Ah brutal. Has it got worse recently? Been years since I’ve taken the train in Germany, but they used to be pretty good IMO.


I've heard so. I think my first DB train was around 2019, it was another ICE from Berlin to Munich. They've changed the train, cancelled all seat reservations as a consequence, delayed it for a few hours, I missed my connection in Munich... Maybe I'm unlucky :) E.g. I'm quite lucky with London trains (never had a cancellation/significant delay), but I've heard Cambridge residents would love to have a word with me.


I hope so, but for different reasons. Agreed they spit out plenty of gibberish at the moment, but they’ve also progressed so far so fast it’s pretty scary. If we get to a legitimate artificial general super intelligence, I’m about 95% sure that will be terrible for the vast, vast majority of humans, we'll be obsolete. Crossing my fingers that the current AI surge stops well short of that, and the push that eventually does get there is way, way off into the future.


It doesn't have to be super, it just has to inflect the long term trend of labor getting less relevant and capital getting more relevant.

We've made an ideology out of denying this and its consequences. The fallout will be ugly and the adjustment will be painful. At best.


I believe (most) people contribute their ambitions to nurture safe, peaceful, friend-filled communities. AGI won’t obsolete those human desires. Hopefully we weather the turbulence that comes with change and come out the other side with new tools that enable our pursuits. In the macro, that’s been the case. I am grateful to live in a time of literacy, antibiotics, sanitation, electricity… and am optimistic that if AGI emerges, it joins that list of human empowering creations.


Wise words, thank you.


Current AI degrades totally unlike human experts. It also, by design, must lag its data input.

Anything innovated must come from outside or have a very close permutation to be found.

Generative AI isn't scary at all now. It is merely rolling dice on a mix of other tech and rumors from the internet.

The data can be wrong or old...and people keep important secrets.


Gotta wonder if Google has used code from internal systems to train Gemini? Probably not, but at what point will companies start forking over source code for LLM training for money?


It seems much cheaper, safer legally and more easily scalable to simply synthesize programs. Most code out there is shit anyway, and the code you can get by the GB especially so.


How do they synthesize programs?

I would assume that internal code at Google is of higher quality than random code you find on Github. Commit messages, issue descriptions and code review is probably more useful too.


Or liberating... as Douglas Rushkoff puts it.

If and only if something like high-paying UBI comes along, and people are freed to pursue their passions and as a consequence, benefit the world much more intensely.


How can one not understand that UBI is captured by inflation.

Its just a modern religion really because anyone can understand this it is so basic and obvious.

You don't have to point out some bullshit captured study that says otherwise.


Inflation is a lack of goods for a given demand though. Ie if we can flood the world with cheap goods then inflation won't happen. That would make practical UBI possible. To some extent it has already happened.


My intuition, based on what I know of economics, is that a UBI policy would have results something like the following:

* Inflation, things get more expensive. People attempt to consume more, especially people with low income. * People can't consume more than is produced, so prices go up. * People who are above the break-even line (when you factor in the taxes) consume a bit less, or stay the same and just save less or reduce investments. * Producers, seeing higher prices, are incentivized to produce more. Increases in production tend to be concentrated toward the things that people who were previously very income-limited want to buy. I'd expect a good bit of that to be basic essentials, but of course it would include lots of different things. * The system reaches a new equilibrium, with the allocation of produced goods being a bit more aimed toward the things regular people want, and a bit less toward luxury goods for the wealthy. * Some people quit work to take care of their kids full-time. The change in wages of those who stay working depends heavily on how competitive their skills are -- some earn less, but with the UBI still win out. Some may actually get paid more even without counting the UBI, if a lot of workers in their industry have quit due to the UBI, and there's increased demand for the products. * Prices have risen, but not enough to cancel out one's additional UBI income entirely. It's very hard to say how much would be eaten up by inflation, but I'd expect it's not 10% or 90%, probably somewhere in between. Getting an accurate figure for that would take a lot of research and modeling.

Basically, I think it's complicated, with all the second and third-order effects, but I can't imagine a situation where so much of the UBI is captured by inflation that it makes it pointless. I do think that as a society, we should be morally responsible for people who can't earn a living for whatever reason, and I think UBI is a better system than a patchwork of various services with onerous requirements that people have to put a lot of effort into navigating, and where finding gainful employment will cause you to lose benefits.


I'm not sure passion exists in a world without struggle...


The idea that AI will ever remove all struggle, even if it reaches AGI, is absurd. AI by itself can't give you a hug, for example--and even if advances in robotics make it possible for an AI-controlled robot to do that, there are dozens of unsolved problems beyond that to make that something that most people would even want.

AI enthusiasm really is reaching a religious level of ridiculous beliefs and this point.


I doubt ai will remove all struggle. I suspect we wouldn't see great extents of human passion in a world where everyone is fed, clothed, housed, etc without needing to exert themselves at all.


And AI isn't going to feed, clothe, or house people either.

AGI, at best, would provide ideas for how to do those things. And the current AI, which is not AGI, can only remix ideas humans have already given it--ideas which haven't fed, clothed, or housed us all yet.


"I only make you struggle because I love you!"

(Mmmhmm, I'm sure the benefits received by the people on top have nothing to do with it.)


That requires achieving post-scarcity to work in practice and be fair, though. If achievable, it’s not clear how it relates to AGI. I mean, there’s plenty of intelligence on this planet already, and resources are still limited - and it’s not like AGI would somehow change that.


One thing I thought recently, is that a large amount of work is currently monitoring and correcting human activity. Corporate law, accounting, HR and services etc. If we have AGI that is forced to be compliant, then all these businesses disappear. Large companies are suddenly made redundant, regardless of whether they replace their staff with AI or not.


I agree that if true AGI happens (current systems still cannot reason at all, only pretend to do so) and if it comes out cheaper to deploy and maintain, that would mean a lot of professions could be automated away.

However, I believe this had already happened quite a few times in history - industries becoming obsolete with technological advances isn’t anything new. This creates some unrest as society needs to transition, but those people are always learning a different profession. Or retire if they can. Or try to survive some other way (which is bad, of course).

It would be nice, of course, if everyone won’t have to work unless they feel the need and desire to do so. But in our reality, where the resources are scarce and their distribution in a way that everyone will be happy is a super hard unsolved problem (and AGI won’t help here - it’s not some Deus ex Machina coming to solve world problems, it’s just a thinking computer), I don’t see a realistic and fair way to achieve this.

Put simply, all the reasons we cannot implement UBI now will still remain in place - AGI simply won’t help with this.


I guess the point I am trying to make, is that paradoxically the more an AI company's products are integrated into the economy, the less value they can extract from the economy. As a large amount of the world's economic output is just dealing with the human factor.


I'm not sure if that is something we actually would want.

Lots of people certainly think they want that.


Why wouldn't you want it, unless you are currently benefiting from employing people who would rather be doing literally anything else?


For the vast majority of people, getting rid of necessary work will usher in an unprecedented crisis of meaning. Most people aren't the type pursue creative ends if they didn't have to work. They would veg out or engage in degenerate activities. Many people have their identity wrapped up in the work they do, or being a provider. Take this away without having something to replace it with will be devastating.


Good. Finally they’ll realize the meaninglessness of their work and how they’ve been exploited in the most insidious way. To the point of forgetting to answer the question of what it is they most want to do in life.

The brain does saturate eventually and gets bored. Then the crisis of meaning. Then something meaningful emerges.

We’re all gonna die. Let’s just enjoy life to the fullest.


>They would veg out or engage in degenerate activities

"Oh no the sinners might play video games all day"

I do expect the next comment would be something like "work is a path to godliness"


>I do expect the next comment would be something like "work is a path to godliness"

And you think these kinds of maxims formed out of vacuums? They are the kinds of sayings that are formed through experience re-enforced over generations. We can't just completely reject all historical knowledge encoded in our cultural maxims and expect everything to work out just fine. Yes, it is true that most people not having productive work will fill the time with frivolous or destructive ends. Modernity does not mean we've somehow transcended our historical past.


> And you think these kinds of maxims formed out of vacuums?

Do you think they've always existed in all human cultures throughout time?

The pro-work ethic is fairly new in human civilization. Previous cultures considered it to be a burden or punishment, not the source of moral virtue.

> Yes, it is true that most people not having productive work will fill the time with frivolous or destructive ends.

And that's fine! A lot of people fill their time at work with frivolous or destructive ends, whether on their own or at the behest of their employer.

Not all work is productive. Not all work is good. It isn't inherently virtuous and its lack is not inherently vicious.


> They are the kinds of sayings that are formed through experience re-enforced over generations.

Sure, but the whole point is that the conditions that led to those sayings would no longer be there.

Put a different way: those sayings and attitudes were necessary in the first place because society needed people to work in order to sustain itself. In a system where individual human work is no longer necessary, of what use is that cultural attitude?


It wasn't just about getting people to work, but keeping people from degenerate and/or anti-social behavior. Probably the single biggest factor in the success of a society is channeling young adult male behavior towards productive ends. Getting them to work is part of it, but also keeping them from destructive behavior. In a world where basic needs are provided for automatically, status-seeking behavior doesn't evaporate, it just no longer has a productive direction that anyone can make use of. Now we have idle young men at the peak of their status-seeking behavior with little productive avenues available to them. It's not hard to predict this doesn't end well.

Beyond the issues of young males, there's many other ways for degenerate behavior to cause problems. Drinking, gambling, drugs, being a general nuisance, all these things will skyrocket if people have endless time to fill. Just during the pandemic, we saw the growth of roving gangs riding ATVs in some cities causing a serious disturbance. Some cities now have a culture of teenagers hijacking cars. What happens to these people who are on the brink when they no longer see the need to go to school because their basic needs are met? Nothing good, that's for sure.


What exactly do you think would happen? Usually wars are about resources. When resource distribution stops being a problem (i.e, anyone can live like a king just by existing), where exactly does a problem manifest?

All the "degenerate activities" you mentioned are a problem in the first place because in a scarcity-based society they slow down/prevent people from working, therefore society is worse off. That logic makes no sense in a world where people don't need to put a single drop of effort for society to function well.


>All the "degenerate activities" you mentioned are a problem in the first place because in a scarcity-based society they slow down/prevent people from working

This is a weird take. Families are worse off if a parent has an addiction because it potentially makes their lives a living hell. Everyone is worse off if people feel unsafe because of a degenerate sub-culture that glorifies things like hijacking cars. People who don't behave in predictable ways create low-trust environments which impacts everyone.


I would say that those attitudes are 99% caused by resource-related issues. There's a reason why drug abuse (and antisocial behavior generally) is mostly found among the lower classes.

If I could pick between the world we are in now and one where all the problems societies face that are related, directly or indirectly, to the distribution of resources are eliminated, I would pick the latter in a heartbeat. The "price to pay" in the form of a possible uptick in "degeneracy" during the first few months/years is worth it, not to mention that I doubt that problem would arise at all.


It's a dangerous fantasy to think that all societal problems are caused by uneven distribution of wealth and that they will be solved by redistribution. No, some people just aren't psychologically suited to the modern world, whether that involves delaying gratification or rejecting low effort, high dopamine stimulation. The structure involved in necessary work and the social structures that lead people down productive paths are one way we collectively cope with the incongruence between our society and our psychology. Take away these structures and the results have the potential to be massively destabilizing.


So... manufactured poverty?

You're just saying it's desirable that some people be at the bottom even in a scenario where the opposite could be feasibly achieved. All on some theory that the human mind (or at least some instances of it in the population) simply... won't be able to take it without going insane?

We should need a much, much higher standard of proof for what could result in unnecessary pain and suffering for years. Especially when this:

> some people just aren't psychologically suited to the modern world, whether that involves delaying gratification or rejecting low effort, high dopamine stimulation.

...is not a proven fact, and is, with respect to social media, highly contested and inconclusive.


>You're just saying it's desirable that some people be at the bottom even in a scenario where the opposite could be feasibly achieved.

What's wrong with having people at the relative bottom? Trying to force equality onto society does not have a good track record. We can raise the absolute bottom past the point of poverty while also not upending social structures that have served us well for centuries.

>All on some theory that the human mind... simply... won't be able to take it without going insane?

I'm saying transformative change across the whole of society shouldn't be undertaken lightly. I don't need to prove that a world where human labor is obsolete would be damaging to the human psyche. Those who want to rush ahead just assume things will be just fine. They have the burden of proof. We've seen how bad things can get when the social engineers get it wrong. We're at a local peak in human flourishing for a large part of humanity. Why should we pull the lever on the unknown in hopes that we will come out ahead?


> And you think these kinds of maxims formed out of vacuums?

No, they formed in societies where it WAS necessary for most people to work in order to support the community. We needed a lot of labor to survive, so it was important to incentivize people to work hard, so our cultures developed values around work ethics.

As we move more and more towards a world where we actually don’t need everyone to work, those moral values become more and more outdated.

This is just like old religious rules around eating certain foods; in the past, we were at risk from a lot of diseases and avoiding certain foods was important for our health. Now, we don’t face those same risks so many people have moved on from those rules.


>those moral values become more and more outdated.

Do you think there was ever a time in human societies where the vast majority of people didn't have to "work" in some capacity, at least since the rise of psychologically modern humans? If not, why think humanity as a whole can thrive in such an environment?


Our environment today is completely different that it was even 100 years ago. Yes, you have to ask this question for every part of modern society (fast travel, photographs, video, computers, antibiotics, vaccines, etc), so I am not sure why work is different.


Part of the problem is that we don't ask these questions when we should be. Social media, for example, represents a unique assault on our psychological makeup that we just uncritically unleashed on the world. We're about to do it again, likely with even worse consequences.


What would "asking these questions" entail? Would you have a committee that decides what new things we would allow? Popular vote? I get the idea, I just know see how you could ever actually do anything about this issue unless you completely outlawed anything new.


I don't think its plausible to have a committee to approve all new technology. But it is plausible to have a committee empowered to place limits on technology that we can predict will cause a social upheaval the likes of which we've never seen in modern times. It's not like we haven't done the equivalent of this before with e.g. nuclear and bioengineering technology. The difficulty is that the speed in which AI is being developed makes it so government bureaucracies are necessarily playing catchup. But it can be done. We just need to accept that we're not powerless to shape our collective futures. We are not at the mercy of technology and the few accelerationists who stand to be the new aristocracy in the new world.


I find this comment to be completely shortsighted.

We now have western societies with a growing population of homeless people, that despite having access to tons of resources at their disposal, still can't get their shit together. A great majority are doing drugs and smoking/abusing alcohol.

And it's enough to have 20 crackheads to destroy a neighborhood of 10000 hard-working, peaceful people.


The way most of the world is setup we will need to first address the unprecedented crisis of financing our day to day lives. We figure that out and I’m sure people will find other sources of meaning in their lives.

The people that truly enjoy their work and obtain meaning from it are vastly over represented here on HN.

Very few would be scared of AI if they had a financial stake in its implementation.


Even then he’ll probably like employing AI more.

Lots of new taxes and UBI!


“We should do away with the absolutely specious notion that everybody has to earn a living. It is a fact today that one in ten thousand of us can make a technological breakthrough capable of supporting all the rest. The youth of today are absolutely right in recognizing this nonsense of earning a living. We keep inventing jobs because of this false idea that everybody has to be employed at some kind of drudgery because, according to Malthusian Darwinian theory he must justify his right to exist. So we have inspectors of inspectors and people making instruments for inspectors to inspect inspectors. The true business of people should be to go back to school and think about whatever it was they were thinking about before somebody came along and told them they had to earn a living.” — Buckminster Fuller


everything points to the opposite


It may be impossible in this world to expect a form of donation, but it is certainly not impossible to expect forms of investment.

One idea I had is everyone is paid a thriving wage, and in exchange, if they in the future develop their passion into something that can make a profit, they pay back 20% of their profits they make up to some capped amount.

This allows for extreme generality. It truly frees people to pursue whatever they fancy every day until they catch lightning in a bottle.

There would be 0 obligation as to what to do, and when to pay back the money. But of course would have to be only open to honest people, so that neither side is exploiting the other.

Both sides need a sense of gratitude, and wanting to give back. A philanthropic 'flair' "If it doesn't work out, it's okay", and a gratitude and wanting to give back someday on the side of the receiver, as they continue working on probably the most resilient thing they could ever work on (the safest investment), their lifelong passion.


I think of ChatGPT as a faster Google or Stackoverflow and all of my colleagues are using it almost exclusively in this way. That is still quite impressive but it isn’t what Altman set out to achieve (and he admits this quite candidly).

What would make me change my mind? If ChatGPT could take the lead on designing a robot through all the steps: design, contract the parts and assembly, market it, and sell it that would really be something.

I assume for something like this to happen it would need all source code and design docs from Boston Dynamics in the training set. It seems unlikely it could independently make the same discoveries on its own.


> I assume for something like this to happen it would need all source code and design docs from Boston Dynamics in the training set. It seems unlikely it could independently make the same discoveries on its own.

No, to do this it would need to be able to independently reason, if it could do that, then the training data stops mattering. Training data is a crutch that makes these algos appear more intelligent than they are. If they were truly intelligent they would be able to learn independently and find information on their own.


> I’m about 95% sure that will be terrible for the vast, vast majority of humans, we'll be obsolete.

This isn't a criticism of you, but this is a very stupid idea that we have. The economy is mean to serve us. If it can't, we need to completely re-organize it because the old model has become invalid. We shouldn't exist to serve the economy. That's an absolutely absurd idea that needs to be killed in every single one of us.


> we need to completely re-organize it because the old model has become invalid

that's called social revolution, and those who benefit from the old model (currently that would be the holders of capital, and more so as AI grows in its capabilities and increasingly supplants human labor) will do everything in their power to prevent that re-organization


The economy isn't meant to serve us. It's an emergent system that evolves based on a complex incentive structure and its own contingent history.


Economic activity is meant to serve us. Don't be a pedant.


But surely you can see that the economy does not serve us. Who is "us", anyway?

The economy, and the worldwide technological system that it fuels, behaves like its own organism with its own ultimate goal unbeknownst to us.

By looking around you, is it not perfectly clear to you too that it does not have anything to do with the well-being of people?


People work to eat. You missed the point entirely. I refer you to my first post on this.


Nevertheless the modern economy has been deliberately designed. Emergent behaviors within it at the highest levels are actively monitored and culled when deemed not cost effective or straight out harmful.


The problem is no one is talking about this. We’re clearly headed towards such a world, and it’s irrelevant whether this incarnation will completely achieve that.

And anyone who poo poos ChatGPT needs to remember we went from “this isn’t going to happen in the next 20 years” to “this is happening tomorrow” overnight. It’s pretty obvious I’m going to be installing Microsoft Employee Service Pack 2 in my lifetime.


Very true but the question, as always, is by what means we can enact this change? The economy may well continue to serve the owner class even if all workers are replaced with robots.


Workers have been replaced with machines many times over the last 250 years, and these fears have always been widespread, but never materialized.

I concede that this time it could be different, but I'd be very surprised while I starved to death.


I think the options are pretty clear. A negotiation of gradual escalation: Democracy, protests, civil disobedience, strikes, sabotage and if all else fails then at some point, warfare.


The economy is meant to serve some people; some people take out of economy more than they give, some people give more than they take.


A position shared by both Lenin and Thatcher


Great theory. In reality the vast majority us serves only the economy without getting anything truly valuable in return. We serve it only, with noticing it, to grow into less human and more individual shells of less human. Machines of the Economy.


This doesn't engage with the problem of coordinating everyone around some proposed solution and so is useless. Yes, if we could all just magically decide on a better system of government, everything would be great!


Identifying the problem is never useless. We need the right understanding if we're going to move forward. Believing we serve the economy and not the other way around hinders any progress on that front and so inverting it is a solid first step.


It's not _that_ scary. I kind of like the idea of going out to the country and building a permiculture garden to feed myself and my family.


Until you try and you find that all the arable land is already occupied by industrial agriculture, the ADMs/Cargills of the world, using capital intensive brute force uniformity to extract more value from the land than you can compete with, while somehow simultaneously treating the earth destructively and inefficiently.

This is both a metaphor for AGI and not a metaphor at all.


Sure, if you can survive the period between the obsolescence of human labor and the achievement of post-scarcity. Do you really think that period of time is zero, or that the first version of a post-scarcity economy will be able to carry the current population? No, such a transition implies a brutish end for most.


Sorry, I was being too subtle. When nobody has a job anymore and the economy is crashing, I'm looking forward to moving into the country and becoming self sufficient.

We'll be very very poor, and it will be really hard work, but I'm looking forward to the challenge.

Human labour will never be obsolete because you can always work for yourself.

Post scarcity will never happen unless some benevolent AI god chooses to give it to us like in a Banks novel.


think more deeply . who benefits with super intelligence ? at the end it is game of what humans desire naturally. AI has no incentive and are not controlled by hormones.


It's already impacting some of us. I hope it never appears until the human civilization undergoes a profound change. But I'm afraid many rich people want that happen.

It's the real Great Filter in the universe IMO.


I’m a fan of JSON5. A common criticism is “we’ve already got YAML for human readable config with comments,” but IMO YAML’s readability sucks, it’s too hard to tell what’s an object and what’s an array at a glance (at least, with the way it’s often written).

When dealing with large YAML files, I find myself frequently popping them into online “YAML to JSON” tools to actually figure out WTF is going on. JSON5 is much easier to read, at least for me.


Those two criticisms of YAML are at bottom of my list. Space as delimiter and lack of strict typing is what screws me over on daily basis as SRE.


This. I hate how all these serialization/config formats come out of dynamically typed languages. Static typing is a must. Then so many classes of errors go away.


Just static type then. You can’t trust incoming data shapes anyway, e.g. if it specifies a schema and doesn’t even follow it. You always expect something in a typed language, not anything. So validate it and that’s it. Thinking that dynamic data can be typed is a mistake. It can only be structured ([], {}, "", …) into basic types and then matched to some template. Any above-data section about types is as good as none. It can help a human to make sense of its shape, but that’s it.


You might like Dhall


Fair, YAML has a lot of usability warts, and those suck too. Although personally I really do hate how tough it is to tell apart arrays and objects, at least with the most common YAML array/object style.


Just in case you didn't know: With https://github.com/mikefarah/yq you can just immediately translate YAMLs like

  yq some.yaml -o json


A reimplementation of jq in golang supports reading yaml and, of course, emits json: https://github.com/itchyny/gojq#:~:text=supports%20reading%2...

That one is likely more relevant than yq since folks in the json ecosystem are far more likely to be familiar with jq's syntax and thus using gojq is "one stop shopping," not to mention that its error handling is light-years beyond jqlang's copy


Yes, but I LOVE yq's ability to update YAML files without stripping existing comments. For example, I use it to programmatically update similar (but not identical) GitHub Actions files across projects.


> When dealing with large YAML files, I find myself frequently popping them into online “YAML to JSON” tools to actually figure out WTF is going on.

YAML is a strict superset of JSON, so defining the former in the syntax of the latter is fully supported by the spec. Perhaps not by every YAML library, to be sure, but those which do not are not conformant. From the YAML spec[0]:

  The YAML 1.23 specification was published in 2009. Its 
  primary focus was making YAML a strict superset of JSON.
0 - https://yaml.org/spec/1.2.2/


I'm confused about your point about YAML being "strict superset of JSON" leading to being able to convert YAML to JSON.

If YAML is a strict superset, wouldn't that mean that YAML must have at least one feature that is not part of JSON? Wouldn't that make it impossible to define all YAML files as valid JSON?


They all turn into the same data types in the end. You can import a YAML and output a JSON.

For a feature like references, you'd have to do the annoying thing and duplicate that section of the file.

For a feature like unquoted strings or extra commas, you just quote the strings or remove the commas.

The various YAML features are in between and mostly close to the latter.


> If YAML is a strict superset, wouldn't that mean that YAML must have at least one feature that is not part of JSON?

Yes. One of the features YAML supports is the widely documented format we are all familiar with.

However, being a "strict superset of JSON" also means a conformant YAML implementation can load a "pure" JSON resource without issue. The converse is not generally possible as JSON cannot express what YAML can, such as octothorpe ('#') comments.

HTH

EDIT: see also https://news.ycombinator.com/context?id=42361994


For sure, but most YAML you actually encounter does not use much in the way of JSON syntax, it looks a lot more like this: https://devblogs.microsoft.com/devops/wp-content/uploads/sit...

Where arrays and objects just look too similar (IMO), white space is significant, most strings are unquoted, etc. And personally I find it quite difficult to really understand what’s going on there, at a glance, compared to JSON (or JSON5).


> For sure, but most YAML you actually encounter does not use JSON syntax

So what? YAML can be trivially mechanically translated between flow and block syntax.


I want to be able to easily read and understand configuration without having to pop it into a converter. The YAML I encounter in the wild is ~80% pure block style, ~20% mixed (within a single file, mostly block style with some flow style). And I just find the block style hard to read, I have to either spend significant mental effort trying to understand where the objects vs. arrays are, or I have to pop it into a converter (to either JSON or flow style) to understand. Whereas JSON/JSON5, it’s immediately clear without any mental overhead.


What's your take on prototxt files? In my opinion it is the most readable format since you don't need square brackets for repeated fields/arrays.

Additionally plugins let you link your prototxt file with the corresponding proto so you can spot errors right away.


Don’t have any experience with them.


If you already have a bunch of JSON documents, you can keep using them with JSON5.

That's a big advantage compared to converting to YAML.


same is true of YAML as a JSON superset


They’re probably downloading from a server in the states, being much further away makes a big difference with a massive download.


This.


I think you’re reading way, way too much into this. Read the piece and it seems like just a goofy little oddball story, makes for a light and enjoyable read, I’m really not picking up any political angle in this piece.

The Guardian are certainly a left-leaning, frequently political paper, but that doesn’t mean every story is political, and IMO this one isn’t.


You can see why, though. Even in this case where they thoroughly won, and got damages, the damages were just $225K, and they probably spent millions on legal fees, employee/founder time, etc.

Ultimately, the American legal system is pretty broken. If someone brings a frivolous lawsuit against you, and you defend yourself in court, nearly 100% of the time you’ll be losing money, often a lot of money. This is the core reason why patent trolls exist, why companies normally settle out of court - it’s cheaper to do so.


At Google I did a piece of research, along with a statistician, of whether it's better to settle or fight.

"Better" would mean you don't get sued as much in the future, because you're a hard target and not easy money.

They haven't released this study, AFAIK.


your definition of "better" implies the results of the study, although you did not specifically say it.


That's because it's not published, plus a conclusion without any supporting data and methodology is pretty worthless.


A few states have passed laws to ban abusers from the legal system:

https://en.wikipedia.org/wiki/Vexatious_litigation#United_St...


Usually a "vexatious litigant" is not one of these patent trolls, but some nut job who spends his days at the courthouse.


If more companies let patent trolls go to court their repeated losses would fall under the first part of California's definition, but since they settle, trolls are technically not even litigants.


Most patent trolls file in the Western District of Texas; it's a troll friendly district with a troll friendly judge. They sometimes win with garbage patents.


How much does it cost to argue in court that a particular entity is an abuser though? Someone has to be willing to cover those costs up front, otherwise people will just keep settling if they don't want to go through that process.


It's not just cost, it's cost x uncertainty of outcome. A settlement is very tempting from cost x uncertainty alone. But it also has other merits: when the rich, powerful incumbent gives in and settles, the fragile thrifty upstart won't see the slightest chance of winning and either beg the troll for an affordable licence (but they won't get a good offer) or look for a completely different line of business. To the incumbent, the settlement is a fee paid for moat-as-a-service provided by the troll.


But if we'd given in to one of these trolls, others would have targetted us.


Agreed, it’s a lose-lose situation really. But the reason most companies just settle is that going to trial is so expensive, and the American legal system allows these frivolous lawsuits while generally awarding either no compensatory damages, or damages far below the cost of the defence.


I couldn't tell from the article but it seems the $225k was a settlement, and the release of all patents was additionally part of the settlement - I doubt the court could have awarded that directly. So they took $225k + the release of the patents, and I assume that the trolls would only have agreed to that if they felt the court awarded cash value would have been significantly higher.


I enjoyed the humour, and the content. Personally I wouldn’t change it - it’s kind of a click-bait title, but I never would have read the article if it had a boring title, and I am glad I read it.


Indeed, and it’s clearly stated in the article:

> Safemode is the satellite equivalent of a blue screen of death.

It’s about avoiding safemode, and more generally about the end-to-end QA/testing process for satellites before they’re sent up into orbit. It’s very clearly not about actual Windows BSODs, it’s just written in a tongue-in-cheek style. Those commenting about “wtf windows on a spacecraft” clearly didn’t read the article, just read the title.

FWIW I found the writing style engaging and the content interesting. I guess the title is a little click-bait-y, but not in a way that I minded much, and I probably wouldn’t have read an article titled “How to avoid safemode on a satellite.” It’s a fine line, but titles DO have to draw you in, otherwise you’ll never read the article.

Re: the article itself, I did think it was pretty wild that customers have to be informed of every incident where a satellite flips into safemode in TESTING! In real operations, sure, but in testing, that’s wild. Feels like having to report bugs caught in my local dev environment, that were never deployed to prod.


This would be during formal testing, which is similar to what you might know as “acceptance testing”. The spacecraft doesn’t “enter safe mode” during development.

If you’re paying two billion $ for something you become very very interested in test design and test results.

Also, safe mode isn’t really the same as a BSOD. It’s a mode where the spacecraft decides something is wrong and disables a lot of functionality and focuses on pointing the solar panels at the sun and the antennas at the ground. It does not cease functioning - if that happens, you’ve probably lost your spacecraft. It is therefore VITALLY IMPORTANT that safe mode works, and a smart program manager tests the hell out of it.


So it's a bsod that switches to safe mode instead of halting.

We already got that it's not actually Windows and so not literally identical to bsod in every detail.

It's not the same as a common os safe mode either because it happens by itself as the last resort response to a problem, like a bsod. Not just on command.


Ah fair, definitely a very different environment than what I’ve worked in! Have only worked on SaaS, where all forms of testing (automated and manual) are a thing we do internally, without customer involvement. We’ll do things like turn features on/off for customers, have them provide feedback, but that’s more product feedback than them being part of the testing/QA process.

I have worked on software where individual customers pay millions for it, but not billions, and it’s also not a physical thing that can literally crash into earth or fly off into space if something goes wrong!


>> customers have to be informed of every incident where a satellite flips into safemode in TESTING!

Because the customers are almost certainly running their own metrics, tracking failure rates over time. An increasing rate of failures across a program is probably a sign of something going wrong at a higher level. Remember too that there is "testing" and testing. One is you playing around with the software at your workstation, the other is the more formal testing as monitored by the acceptance and standards people.


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

Search: