skysight-inc/HackerNews huggingface dataset:
Yeah, in the Kubernetes world, the official interface is the YAML/assembler and different people have come up with different approaches for generating that. Helm for a long time (and even currently) uses text templates (e.g., jinja, mustache, etc) to render that YAML which is predictably abysmal.

CloudFormation used JSON (and eventually YAML) but built on top of it language-like facilities (the ability to reference resources, call pseudo-functions, etc) all very poorly. So you get an impoverished language built on top of YAML.

Terraform decided they would do approximately the same thing, except they reinvented their own JSON/YAML alternative (HCL) and built a crappy programming language atop it (instead of atop JSON/YAML).

These all give you pretty crumby means of abstraction. CloudFormation you get nested stacks instead of functions and you can only pass scalars around (no objects or lists--except comma-delineated strings which can be parsed into a list of strings). You're also limited in how many nested stacks you can create and how many total parameters can be passed into any given top-level stack.

Terraform seems strictly better. You can pass objects and lists and I've never approached any parameter limits, but still, you have to create a whole directory just to define a function and refactoring existing code into a module is painful because it means renaming resources (putting them under the module) which Terraform interprets as intent to destroy and recreate the resource.

Helm is using text templates so you can even generate syntactically invalid YAML! I think they might be supporting Lua these days, but I haven't looked into it.

I think the idea was that the whole marketing push behind infra as code was "it's just YAML! Such declarative! Wow!" as though yaml magically simplifies the inherently complex task of infrastructure, so everyone started with something YAML-like--even though we absolutely should have known that we would need to abstract--and gradually built our own half-baked languages on top of them. Of course, infra as code is absolutely worthwhile, but it's the ability to define what you want and have a tool reconcile it with some current state--it's not some magical property of YAML/JSON/HCL/etc.

fin.
there's a session tomorrow on TextKit2 - maybe that has what you need?

https://developer.apple.com/videos/play/wwdc2021/10061/
>For such an project to be successful you need to have some serious funding. Why should anyone fund this?

<del>Not to support it, but Peter Thiel is a founder of the Seasteading institute[0], so funding shouldn't be a concern.</del>

>The Seasteading Institute is a nonprofit organization, based in California. It was founded in 2008 by activist, software engineer and political economic theorist Patri Friedman, grandson of Nobel Prize winning economist Milton Friedman, and technology entrepreneur, investor and philanthropist Peter Thiel.

Looks like he gave up on it though[1]:

>In a 2017 interview with The New York Times, Thiel said seasteads are "not quite feasible from an engineering perspective" and "still very far in the future"

[0]:https://www.seasteading.org/about/

[1]: https://www.businessinsider.in/facebooks-mysterious-hardware...
> HF, which you very definitely don't want to breathe. It doesn't hurt a bit while it's killing you, because it destroys the nerves first.

Sobering information.
Interesting. Mileage may vary by company / area of work. I didn't go to Uni and went straight to work. Got a few A-levels but nothing special.

Wasn't even asked about them for my first job.
Every state that is not deep blue is not Alaska levels of red.

Ohio and much of the mid west is moderately red or moderately blue depending on the policies in question so you get middle of the road policy like this that isn't hard-line one way or the other but appeals to the tons of people on both sides of the isle who think big tech is f-ed up right now.

While this move might alienate people on the far right for being a violation of a business's right to freely associate and far left for failing to go far enough, it's kind of a no brainier if you want to appeal to people who want something done and don't care which side of the isle that something is from is as long as it's not too extreme. Big tech is getting out of control according to many on both sides and utilities are an existing legal framework for regulating big but essential consumer facing business.

I don't know exactly how the Ohio state government is formed but it's also highly likely that this is political maneuvering by the AG or the executive branch and they expect it go nowhere.
Look again. The entire Althttpd website is 100% dynamic. Notice that the hyperlink at the very top of this HN article is to a Markdown file (althttpd.md). A CGI runs to convert this into HTML for your web-browser.

The core SQLite website has a lot of static content, but there are dynamic elements, such as Search (https://www.sqlite.org/search?s=d&q=sqlite) and the source code repository (https://www.sqlite.org/src/timeline?n=100&y=ci).

So far today, 23.48% of HTTP requests to the sqlite.org domain are for dynamic content, according to server logs.
like you say, the benefit is to easily attach styles to components (in the same programming language, compared to scss/css modules)

note: @emotion/styled is equivalent to styled-components, lighter and easier to set up for SSR (it works out of the box https://emotion.sh/docs/ssr#default-approach)

When using server-side rendered pages, there's no performance loss on the client-side, maybe a little more processing server-side, not sure if significant
It's like asking if the US would give up Havana. Russia once owned the Crimea, but it wasn't theirs to give up when they invaded. That's why it's an invasion instead of territorial defense.
Reddit's "open in app" textbook dark pattern is infuriating, specially given the fact that switching user agent allows users to access content on mobile that otherwise would force them to install the mobile app.

And given the ton of dark patterns that Reddit shoves down their user's throats... You just know that the app is up to no good and cannot be trusted at all.
Are you referring to this?

> The act permanently exempted from taxation the capital gains on the sale of a personal residence of up to $500,000 for married couples filing jointly and $250,000 for singles. This exemption applies to residences the taxpayer(s) lived in for at least two years over the last five. Taxpayers can only claim the exemption once every two years.

As I interpret the text, the middle-class homeowner will have to live in a home for two out of five years before they can claim an exemption. This matches the experience of my father, who sold his home after about four years and had to pay federal tax on the profit.

Is there something I'm missing or interpreting incorrectly?
Most of the world uses WhatsApp though, so there's no fallback necessary if most people in the world never even open up iMessage.
I would say in general that you want to motivate money to move as much as possible - and the problem with excessive wealth is that the money is not moving.

In an ideal world, I would tax money only when it is static.
You're expecting Republicans to be consistent libertarians? It seems to me that as practiced, the intersections between the two philosophies are rare and ephemeral and much more common in word than deed.
I'm confused how this comment relates in any way to the question of whether my existing on Hacker News is the "same thing" as participating in an online mob against a person.
Absolutely, you can think of a complex weather system or history as computationally irreducible - Wolfram is afterall just reconceptualising complexity with it. You have to walk through all the steps as they happened to be able to find out the outcome.

And the big models are really just trying to find pockets of computational reducibility. But the pockets really only stay at a certain level of magnification. If you zoom in or out too far computational irreducibility swoops in with a vengeance.
What better way to silence criticism than to welcome it inside the walls, give it fancy titles and high salaries and absolutely no power.

I disagree that AI Ethics is a bullshit field-- but its one that belongs, has to belong, on the outside looking in. Its an academic field and a watchdog field. Its a subset of Ethics, not of AI. If Google were really concerned about AI ethics they would have set up an external entity with a consortium of other industry partners, seeded them with an endowment large enough to have some measure of intellectual freedom, put them under the auspices of an external parent organization with a long and positive reputation and severed all ties with them. They wanted the optics of ethics, the new car smell-- but they didnt wan't to breech the membrane of plausible deniability when someone internal pointed out that their golden geese were causing some problems.
Hey, as a fellow Lone Star drinker, I really don't think it's possible to separate the noose from its history, particularly in our great state.

Sure, it's just a pun, but for many people it conjures a very particular image. They don't want to open their beer to an image of a noose, regardless its context. And really, the lone star is the emblem of the Republic of Texas which was founded in large part due to Mexico's outlawing of slavery.

The noose on a Lone Star bottle cap has this particular context. I think it's pretty gross and I'm glad they chose to remove it rather than defending it has "history" or something.

Really, though, I always buy the cans.
> Collectivism is overrated and unnecessary.

This is a pretty hilarious take IMO. Cooperation is literally the only reason humans are the dominant species on the planet. But sure, "overrated and unnecessary".
If your metric for success is simply how much money is being pumped through it, then in a sense NFTs are successful (although NFT prices and volume have been plummeting recently [0]).

However, I believe that the majority of people driving the popularity of NFTs fall into two overlapping camps: people who are simply trying to make money, and people who misunderstand or are otherwise oblivious to how the technology works and its limitations. To me it just seems more like a gold rush situation and does nothing to inspire confidence in the underlying technology.

Certainly there are people out there trying to leverage NFTs for more legitimate purposes - such as digital rights management and virtual items for video games - and those applications may be dubious enough by themselves. In the way they are generally being used, though, I wouldn't call NFTs a "success" any more than the South Sea Bubble was.

[0] https://en.cryptonomist.ch/2021/04/30/prices-nfts-dropping/
Sure, I can - but should I? That's the fundamental difference in opinion (which I don't think can be reconciled). I don't need to know what the developer was thinking or follow the individual steps when they developing a feature or fixing a bug, for me, the merge is the fundamental unit of work, and not individual commits. Caveat: I'm the commit-as-you-go type of developer, as most developers are (branching really is cheap in Git). If everyone was disciplined enough not to make commits out of WIP code, and every commit was self-contained and complete, I'd be all for taking commits as the fundamental unit of code change

If the author did something edgy or hard-to-understand with the change-set, I expect to see an explanation why it was done that way as a comment near the code in question, rather than as a sequence of commit-messages, that is the last place I will look - but that's just me
Consider Tinder profiles saying they'll only date someone over 6'. Sexual selection is one of the most powerful selective pressures.
Some of the React libraries do support CSS extraction to plain CSS files.

styled-components does not, and I'm not sure exactly why. It may be related to that they support runtime variables inline as React props and/or that they didn't want to complicate the build pipeline more than they already complicate it. (Many of the libraries like Vue's have necessarily tighter coupling with webpack or whatever other packer they use to get the extraction automated.)
(not OP)

There is good evidence that when wages are public knowledge minorities and women get paid more too...

https://time.com/5353848/salary-pay-transparency-work/
Is there a way to play at 2x speed?

Edit: Oh they're on the overcast app, which allows playing faster.
To be clear, in Warren's wealth tax proposal, it doesn't matter where the wealth is located. If you're an American citizen, you would be required to pay the tax on all of your wealth above $50 million, no matter where it is.

The alternative is to move your money overseas and renounce your American citizenship, at which point you would owe a 40% exit tax.

One could certainly hide their assets overseas, but that would be tax fraud, and if discovered would result in prison time for both accountant and wealthy individual.
It's an attempt to paint an image of himself as the victim that you should feel sorry for. I feel manipulated when reading it.
The inability of seasteaders to see how storms and corrosion are going to get in the way of this little fantasy is breathtaking. I doubt any of them have ever personally sailed a boat through bad weather. The moment conditions get a little rough they'll be begging the Coast Guard for rescue.
Just search it on Youtube. I normally hate comments like this but I have reasonable reluctance to explicitly detail the workaround on a site where FAANG employees (and employers) frequent.
Doesn't SCSS support CSS modules to prevent trampling on each others styles?
A 4 year experienced react dev here. I have had decent time working with different styling

I'll try to answer few common things for everyone's context

Why even use CSS in JS?

- SPA bundling usually loads all CSS at once and all styles collide. You need to be super good at naming stuff/or load CSS based on module. So your CSS will be conflicting, so scoping is helpful here.

- Not having to jump from your component file to CSS file. Save some context switching or few strokes.

- Dynamic control over style. Basically your stylesheet is JS function returning style. You can do anything here. See this https://github.com/styled-components/styled-components/issue...

- Support for JS reference in color, font sizes, etc with editor support. It'll lead to more consistent design system.

- More cleaner API when using media queries, pseudo states. eg-https://emotion.sh/docs/media-queries

Another alternative is Emotion, also I find it to be much more cleaner in code perspective. (Good performant library in terms of layout and painting).

Why is export option not available for most CSS in JS (some suggested this as solution)?

Read this https://github.com/emotion-js/emotion/blob/bcf40cf2c20153481...

Is it worth it?

- Depends a lot on context and your perfonal objective. Generally I personally feel it's worth it as it's good tooling.

- CSS in JS is lot better than what it used to be. Styled component had good perf bump in last few years.
The New Vector Database [audio]
Ohio GOP have really ramped up their rhetoric in the last year or so, including their attacks on their own like the infighting with Dewine over how he handled the states response to covid.
None that stand out to me, including what you posted. Do you have a real example?
Text Classification by Data Compression
You can charge someone for gpl code but you can't expect to get paided if others give away that code.
CSS and Javascript aren't concerns, they're technologies, and separation of technologies isn't a software engineering principle. "Concern" is pretty undefined in general. If anything, they're all part of the "view" concern. It's the same reason why JSX doesn't violate separation of "concerns."
I don't know enough to dispute that, but I am fairly skeptical that's true.
Are there any new development for replacing our Cacti weathermap? Would love to bury it forever.
Does this thing have long-term legs or will it wind up sitting on shelves in six months? And what about developers - if the current plan is to give away the games, what financial incentive is there to develop for it, except as a resume piece?
I feel like this is becoming a thing with banks now, too.
This story spent the entire day yesterday at #1 on HN. It got 4000 upvotes and 1300+ comments and was by far the most prominent thread of the day: https://news.ycombinator.com/front?day=2021-06-07. That's the opposite of "banishing".

We bent the rules considerably to allow this, for reasons I've explained at length here:

https://news.ycombinator.com/item?id=27439301

https://news.ycombinator.com/item?id=27439412

https://news.ycombinator.com/item?id=27427198

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

Not having the same story repeat itself two days in a row is standard HN moderation.

p.s. Please see https://news.ycombinator.com/item?id=27433981. If you could please stop creating accounts to break HN's rules with, we'd really appreciate it.
When it was reasonable for Apple to do so, Apple distributed Safari for Windows. I don't remember now anymore exactly, it could have been even before Chrome on Windows existed? "Apple's Steve Jobs first announced Windows PC support in Safari 3.0 at Macworld Expo in 2007."

"Google Chrome first release: 2008-09-02." "We've used components from Apple's WebKit and Mozilla's Firefox, among others" (1)

If there's ever a reason for Apple to be more involved in a Windows browser, that's still an option.

But implementing some functionality in a third browser on Windows... why should they? The two which already have the feature are already by the competing companies.

1) https://googleblog.blogspot.com/2008/09/fresh-take-on-browse...
Ditto. You older than 33 or younger? I ask because mine was more vivid in my early 20’s. Was the same way as you.

One Twitter thread in particular messed with me: visualize a bright red star. Do you actually see the color?

Are you sure?

For me, it felt (and feels) like I can’t actually picture a red star. This is highly disconcerting because I used to be able to, I think. However, if I picture a red star next to a blue star, it’s clearly distinguishable in my mind.

Maybe the mind’s eye operates in YCrCb, and the CrCb can get kinda crappy. :)
Jobless Rate for Teens Now Lower Than Workers Aged 20-24, a Historic First
Show HN: Is This a Matrix?
I hope Norway doesn't have cyclones like the US does. See: https://en.wikipedia.org/wiki/The_Three_Little_Pigs
Although I understand what you're saying, email and YouTube access is not the same as water. Depriving someone of water would be the same as depriving them of life, which is not true of email, YouTube, and whatever g-services.
The article is such click bait and so disingenuous...disgusting how they infer something is amiss, and that we should be alarmed. The info could easily have been presented in a much more authentic and positive light. The author is obviously an ahole.
I looked at Cue and I don't understand what problem it solves. It certainly doesn't (seem) to solve the problem of DRYing up verbose YAML, or at least it's missing any notion of a function.

"hey, these YAML blobs are all mostly the same, but they vary based on a couple of parameters--I should write a function that takes those parameters and outputs the right YAML object"

^ This is the #1 thing that the high-level language should concern itself with. Static typing is really nice to have and it's cool that Cue has a pretty interesting type system, but (as far as I can tell) it doesn't have functions. It almost has functions, but I don't want to have to resort to a hack for the #1 thing that I care about (functions).

Considering I prefer functions over sane syntax (although sane syntax is roughly tied with static typing), I'm inclined to prefer Dhall over Cue, but I'm still optimistic that something better will emerge. Also while we're on syntaxes that are deliberately obtuse, I'm pretty sure the Nix community has a Nickel language which is basically a statically typed version of the Nix language.

Maybe Cue has a more enlightened way of thinking about the infra-as-code problem and I'm just not getting it.
Lacking? The incentives are in geared towards a high rate with lots of deductions, certainly on the business side. If I'm running a business I don't want a low rate or low regulation - I want a high rate with loopholes narrowly tailored to whatever I'm doing and a high regulatory burden.
Politicians want exactly the same thing.

It's not exactly the same with non-business tax rates but it's not that far off either - see the deduction for SALT.
So why aren’t we doing the same thing to Comcast again?
Linode doesn't follow the cafeteria pricing style. You buy a package. $40/month is the minimum for us to get the disk space and I/O bandwidth we need. We could get by with less CPU, perhaps, but the extra memory and extra cores do reduce latency and they are nice to have on days when SQLite is a top story at HN. (Load avg has been running at about 0.95% all day today.)
Show HN: Record your screen and share the video as a link
I honestly thought Reddit would die when they introduced Reddit awards, it seemed like such an obvious cash grab. You can't underestimate the amount of community momentum that the site has though.
> Both parties must know this, so the sanctions will have to stay until something changes. Or made harsh enough to force Russias hand.

That's what it seems like. I think the West saw an opportunity to punish Russia fully understanding there is 0 chance of Russians giving up Crimea. They may decide to lift sanctions in response to some other concessions in the future.
They are apparently this panacea of elegant stateless code, but the developer is expected to know that multiple calls to useState must be made in the same order every time. Typically we associate APIs that are fragile to out-of-order calls with tightly coupled stateful systems.

Not to mention the hideous use APIs. Thanks you, React, for this array which apparently contains a state and a setter?
Republicans are a coalition party, just like the democrats are. It's really important to remember just how broad of a group those 2 parties cover. AOC said it correctly in Jan 2020[0]: "In any other country, Joe Biden and I would not be in the same party, but in America, we are."

So while there are free-enterprise republicans, there are also those that worry about how companies behave. At this point, there are D's and R's in Washington that agree on how big-tech should be treated (Josh Hawley and Elizabeth Warren for example[1]).

[0] https://www.politico.com/news/2020/01/06/alexandria-ocasio-c...

[1] https://www.vox.com/recode/2019/10/29/20932064/senator-josh-...
It’s pretty much impossible to function in modern society without an email address that you can rely on.
It's not the same at all.

Insurance protects people financially from unlikely and *undesirable* events they don't want to happen. Nobody in good faith wants to get in a car accident or have a medical emergency. Insurance "works" by assuming most people won't have to or want to use it.

MoviePass is doing exactly the opposite, though. They're selling a desirable product for much cheaper than normal while paying full price themselves and hoping people won't actually take advantage.
In one of my other comments I noted that disabling emissions controls would probably be top priority for most of the farmers complaining about not being able to modify how their tractors work.
Obviously you can't do this here, and I've banned the account.

Could you please stop creating accounts to break HN's guidelines with?

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