skysight-inc/HackerNews huggingface dataset:
Show HN: Contentlab – Run a GraphQL Content Management API on Top of Git
Hi HN! After working on several larger Content Management System (CMS) integrations, I noticed that existing commercial CMSs suffer from workflow issues that are similar to developing software in a team without using a version control system. This is because today's CMSs typically rely on a shared folder-like approach, where editors work in a single shared space and then publish content to production “file by file”.

However, as software development and content management essentially share the same workflows (create -> iterate -> release/publish -> maintain), I started looking for ways to build the usual Create, Read, Update, Delete CMS APIs on top of Git. At the same time, there is a market trend in ecommerce away from using large systems that do many things to architectures consisting of smaller systems that are easier to maintain and integrate ("composable commerce").

I can address both of these aspects with Contentlab (https://github.com/contentlab-sh/contentlab):

It is an Open Source library I developed to generate and run a GraphQL content management API on the fly, exclusively from data in a Git repository. This enables content to be stored and managed with all Git features (branching, merging, immutability, etc.) and should allow for vastly improved editing workflows. By stripping out all non-essential features like user management and an editing UI, I think the library also fits really well into "composable" architectures.

Functionality and code quality is not yet where I want it to be but it is working well enough to power my own website.

A really simple example application using Contentlab is at https://github.com/contentlab-sh/example-code-serverless and an example content model for a multilanguage website is at https://github.com/contentlab-sh/example-content-multilangua...

I appreciate any feedback and absolutely encourage questions. Thanks!
Even if the response can be characterized as bullying - a view which, personally, I do not subscribe to - we still have the same asymmetry here where you are criticizing the person who responded to ridicule, but not those who instigated it.

I understand that sometimes people who are bullied become bullies themselves, but that often manifests itself in them bullying third parties who never caused any trouble in the first place. This is clearly not the case here.

Two of the more effective responses to bullying are to bring it out into the light and to encourage its victims to stand up for themselves (an act which is a great booster of self-confidence - more effective than becoming a bully oneself, as in that case, the original problem remains unresolved.)

Nothing in this position should be construed as dismissing kindness and encouragement as virtue signaling.
Yes it seems so, I'll refrain from posting the link again until I have a working product.
Isn't it telling that those organized crime interest pushed for the wide use of cryptocurrency?
this sounds almost too easy to understand, will have to check with the documentation. (thank you!)
did you try archive.org's wayback machine?
Within the fonts that aren't monospace, some fonts have less variation in glyph width than others. It's a spectrum. You can choose a font that is mostly monospace, but not completely, to confer benefits for readability.

If all you're saying is that you personally don't care to make a finer distinction than monospace/proportional, that's fine, but it's probably not worth commenting on either.
Like most engineering disciplines, there are two aspects to a successful career: theoretical knowledge, and practical knowledge. If you go the self-taught route you will have practical knowledge, but lack theoretical. If you go university it will be the inverse. The secret in both cases is that you _must fill in the gaps that you lack_. Too many "self-taught" dont actually hit the books and fill in the theory gap.

Also as another poster mentioned, starting off at a startup was basically steroids from a "practical knowledge" perspective. I got my first job as a self-taught rails dev with 1 personal site in my portfolio, and left 4 years later with experience in:

- native mobile dev (both ios and android)
- infrastructure management (chef, ansible, vagrant)
- server administration on both AWS and colo setups
- debugging + fixing performance/scaling issues in production apps
- Miscellaneous knowledge in PHP, React, sinatra, ruby in general

Most of those things I was introduced to in some capacity in the first 2 years honestly. Now that I've had the opportunity to go to several other companies, its clear that my willingness to get into unknown technology and figure things out the same way I was forced to at the startup is probably the biggest "super power" I have now. People in general really prefer to stay in their own lane tech wise I've found.
About $70/MWh and falling.

https://helioscsp.com/the-cost-of-concentrated-solar-power-f...
What do Coarrays do differently than a simple C(++) int/float array for atomicity?

Is there some extra magic, maybe for architectures that have "weak" memory?
In all fairness, if I was a hotel owner (or IKEA), I would not want my venues to be recognizable in a video game (or other media). Soon, I would no longer be "that luxury resort with the great customer service" but "that place which has blood flood out of elevators in The Shining". Not the best marketing.
I didn't even read the link, but it points to Adacore, which is a not-very-subtle hint what language it's going to be about.
This article has been copied a bit, my take here is:

1. Ikea sent a C&D to a small indie developer alleging trademark infringement or trademark dilution (NOT copyright). Seems like this has been lost a bit, and most articles are reporting on other articles.

2. If go to the Kickstarter page, the Ikea branding features prominently in the promotional materials for the game. It LOOKS like blatant trademark infringement or dilution to me. It’s not like you fire up the game and find out that it’s set in an Ikea. The game is marketed as a game set in Ikea, except for the term “Ikea” itself, which is scrubbed out.

3. I can’t see any parody angle here. It seems like it’s a horror game which is supposed to be set in an Ikea, but it’s not making any kind of commentary on Ikea. Like, how is this supposed to be some kind of protected speech? As far as I can tell, it’s “What if you were trapped inside an Ikea, and there were monsters?”

People seem to like it for the David vs. Goliath angle. However, nothing about this needs to be set in Ikea. Just like how SCP-173 didn’t need to use that particular artwork. If you think it was right for SCP-173 to change artwork, but it’s wrong for this SCP-derived game to change the branding for its setting… why?

Edit: For context:

https://scp-wiki.wikidot.com/forum/t-14469202/announcement-r...

> However, as authors (and staff) didn't know much about licensing originally (nor did SCP have the significance at the time for it to be as big of a deal), they would often grab images from the Internet at random, including images that their creators would not allow the use of.

> […]

> Izumi Kato has extremely graciously allowed us to use Untitled 2004 on our site, on the condition that Untitled 2004's itself or its likeness would not be used for commercial purposes. Nonetheless, we cannot indefinitely keep the image on SCP-173's page, especially since it has become increasingly difficult for us to prevent Untitled 2004's likeness from being used for commercial purposes by others as SCP grows.

> Licensing aside, Untitled 2004's usage on the Wiki is also an ethical issue. Izumi Kato did not intend nor ask for his art to be used as an SCP, and the meaning and purpose of Untitled 2004 has been, in some ways, permanently tainted by its use in the article. Kato kindly and retroactively allowed its use for SCP-173 in 2014 on condition, but it was clear he was not happy with the situation. Additionally, his art's been exploited by third parties trying to profit off of SCP, which has likely caused him much distress.

> As such, we believe the most correct course of action in this situation is to remove Untitled 2004 from SCP-173. Although this process has been delayed significantly, the longer we wait, the more harm is done to Izumi Kato's creative vision and the risk of legal issues becomes greater.
After a bit of searching, I think it was this:

https://www.hackster.io/mark-hank/sonos-spotify-vinyl-emulat...

and I think I found that via:

https://www.raspberrypi.com/news/who-needs-vinyl-records-whe...
Monopolies and collusion happen without government regulation, too. I find it best to think of markets as something which are free in the same sense that a helicopter is not currently crashing into the ground.
This article should be re-titled as: "Performance cars still come with a stick". Outside of the Ford Mustang, not one vehicle mentioned has any sort of sales volume (relative to other vehicles). The Civic Type R and GR Corolla are being produced in such hilariously small numbers it's basically become a meme.

There's no demand for a stick in any other segment (in the US). Otherwise, we'd see them! They cherry picked a couple examples from Porsche, because the rest of the lineup is overwhelmingly PDK sales.

Cars like the Civic Type R, GR Corolla, and Supra (w/ a manual) are a double edged sword. On one hand, I think they're awesome cars, and I love that they're being offered. On the other hand, the chance to buy them is reserved to very few people. Paying 50k-55k for a Civic sounds absolutely insane to me.
The Pareto Principle is just a kind of byproduct of variation in distributions, it may fall naturally out of a normal distribution and/or a Pareto distribution (https://en.wikipedia.org/wiki/Pareto_distribution) and/or Zipf’s law (https://en.wikipedia.org/wiki/Zipf%27s_law), which are all in fact very common in reality, and why the Pareto thing is frequently approximately correct has been observed by many.

Distributions of behavior that are perfectly flat like you suggest might exist, but are less common in large populations or samples. Do we have any names/principles/laws relating to flat distributions in nature or human behavior? I’m curious if you could give some examples of what you’re thinking of, the situations where there’s 0 payoff until all the work is done, and what basis there is for claiming this is equally true and common as varied distributions?
I still don't understand what the scam would be in this case.

IANAL, but I wouldn't think "this seems sus" to be a sufficient justification for a court to compel discovery without a clear relevance to the issues before it.
It kinda does actually, I'd say this gives you an experience close to having a Facebook with groups but each of these groups are self managed and self hosted in whatever way you want. You still end up having a single account at the end of the day and a single friend's list.

You don't really have to deal with multiple platforms if you don't want to, but if you have to, it'll be as seamless as something like a "login with Google".

It might also be good for content creators cause you'll be able to follow them across different platforms (e.g. instagram, tiktok, twitter, youtube) without actually having to sign up on every single one of them. And content creators won't have to lose their subscribers / followers on new platforms.
The exterior clearly does, but yeah, the interior doesn't seem particularly familiar.

Fortunately, the letter in question lists the element IKEA finds objectionable: "Your game uses a blue and yellow sign with a Scandinavian name on the store, a blue box-like building, yellow vertical striped shirts identical to those worn by IKEA personnel, a gray path on the floor, furniture that looks like IKEA furniture, and product signage that looks like IKEA signage."

No question that the building exterior and signage are based on IKEA. They might actually violate a trademark. The shirts, sure, not sure that's trademarked, though. Some of the furniture designs might be.
I read a lot of books (both technical and non tech books). I have a kindle Oasis 2017 and recently bought a Boox air note , to read tech doc on pdf format that may require paginating going back and forth and review a fair number of diagrams in previous pages or chapter the Boox is way better. The problem is that any 10 inch ereader will be way more weighty that a kindle oasis or paperwhite. So if you are sure that you will mainly read while walking I would go for a 7 inch paperwhite or oasis.
I'll tell you again that we should not get rid of fracking.
The case for mapping PCIe BARs as device memory on arm64
It is easy to understand because it is an oversimplification :)
> what is the next step?

I assume our elite education system is currently fostering the next generation of innovators to answer this question.
I admire people who can hold opposing opinions at the same time, but lets face it these both cant be true.
There have been some notable application-specific hacks applied, at least in previous generations of Windows. SimCity comes to mind: it used memory after free and Windows... 95(?) broke it, so a hack was put in place to explicitly allow processes named simcity.exe to use memory after free. Or something like that.
This article is too brief and answers the question in a less interesting way than it could have. I thought the article would be exploring the consequences of short-form viral vertical video becoming the dominant medium of our culture (evoking McLuhan, Neil Postman) but instead it's about data security and new AI training possibilities from every increasing volumes of training data.
>you want people to be predictable and to strictly follow all traffic laws

There's a pretty strong contradiction here. Nowhere on earth, except maybe North Korea does the traffic actually reflect the law.

And IMO predictability > letter of the law every time.
I have seen organization-level layoffs and more targeted layoffs.

In the (only) organization level layoff I saw, someone stuck a pin in an org chart at a pretty high level. Everybody (and I mean everybody) in the tree underneath that point lost their job. Longtime employees at that company were in total shock that day. This was a layoff of a couple thousand employees.

I also saw a salary-based layoff happen. In that one, a number of software engineers in a division making over $X were let go in a cost-saving maneuver. Macroeconomic conditions continued to decline and a few months later, most early tenure (say 3-4 years or less) were basically let go.

I was new hire at the org-level layoff place I mentioned. New hires were exempted from the "resource action." Over the next 6 years that I was there, there were periodic layoffs but these were mostly targeted at folks judged as not doing particularly well or in positions that simply weren't needed anymore.
The instance we're running came with six docker containers and apparently includes Redis and something called "sidekiq" and Elasticsearch.

Without Docker setting this thing up would be painful and would require the setup of multiple pieces of infrastructure. I am a bit concerned about how painful it will be to maintain, upgrade, or fix if it breaks.
Twitter Bullies
I would be very curious to see that math that you solved the problem with, given that all of the scientists in the world working on this missed your solution.
The success rate of startups is very low - 9 out of 10 startups fail. And that has been the case for years...
At a minimum they’re doing a form of “liability insurance” by foisting 100% of the liability for 5% of the profits on a food truck owner.

That changes things beyond just liability - it also makes it appear judgement proof. And the dollar amounts indicate that companies may just settle because there’s nothing to win by a counter suit.
If you like the visual aesthetics, sure. Otherwise absolutely not, it's one of the most poorly written shows I can think of.

Actually, season 2 Episode 8 is pretty damn excellent, maybe watch that one. It's mostly removed from the rest of the plot iirc and follows a 'native american' robot's story.
This is basically a two sentence restatement of David Hume's view on causality.
> last employer (~6 years ago

It does not sounds like ad, but like Fortran. Last Ada job I remember was mars rover in 90ties. Great but nothing for new hires!
> Qatar has also sponsored most of the US (Stimson and Brookings institute) think tanks and a lot of academia to gain these results, nobody dare mention them as the terrorist sponsoring nation that they are,

It has always struck me as insane that the US is obsessed with foreign disinformation on twitter, while all its think tanks are bought of by foreign countries.
The obligation to defend trademark and the fair use doctrine are, when combined, in the best case, nothing but busywork for the courts.
> Weird Al actually secures permission and never relies on parody protection

This is technically true, but according to an interview he said he doesn't actually have to do it by law, but rather by goodwill. That's because "parody" encompasses more than only direct commentary, and actually is just a detail under "fair use" which is a whole lot more general.
There will always be more things that someone will want to formally verify that don't exist in the type system. How do you decide what is and isn't worth putting into the type system?
"TBH a lot of hotels look similar, and they likely went out to take pictures; resemblances may be unintentional, but easy to do."

Not in that case.
The game takes place in a amsterdam and they intentionally tried to make it as realistic as possible(just changing names). And in that map, you play inside that particular hotel and then part of the hotel gets destroyed.

https://www.digitaltrends.com/gaming/amsterdam-hotel-call-of...

So it is not really coincidence.

But is it worth doing a legal battle over it? I don't think so, but the hotel owners surely got attention.
The Equity 2030 Plan
At this point in history, I think we really need to stop building in green-fields, farmland, etc. and only concentrate on redevelopment. We are past the point of ecological sustainability.
Text-to-Image and Image-to-Image Search
People want to endlessly scroll for content.

I don't think that's true. It's more that society makes it really hard to do anything else. Unless you're doing something to start a business, become an influencer, or because it's your life goal people look down on you for it. So people don't. They doomscroll instead, because you won't be challenged for that.
Completely incurious? NYC has a lot of subway miles. This particular subway was repeatedly proposed and rejected as being too costly. And when it was finally built it turned out to be hugely expensive just as predicted. And now this unusually expensive line is being used as an example of all subway construction. That is kind of like trying to explain the cost of food by reviewing the menu at a top rated restaurant or calculating the cost of driving by focusing on luxury sport vehicles. Anyone who actually cares about calculating and comprehending costs needs to be careful with outliers.

And what is with this "people like you" remark? If I had input into the NYC subway system then I would focus on deferred maintenance instead of building a fabulously expensive new line that will never produce a return on the money spent on it. The verifiable fact is that the Second Avenue subway line was known to be hugely expensive from the start. Cut and cover construction was not an option in this case. I make a point about there being a hundred years of detailed analysis describing why the Second Avenue subway could not be constructed for a reasonable cost and that makes me completely incurious? Have you ever bothered to investigate the previous proposals which were rejected? Not even realizing that you are committing to a "It's different this time" strategy creates problems.
Isn't there a simple way to pair a markdown file with an html/JS file so that the md file is rendered?

Myfile.html: <script>loadMarkDownFile()</script>

Myfile.md: ## Markdown in the browser!
Residential Radon Appears to Prevent Lung Cancer (2011)
I am 14 and haven't interacted with TikTok once. The whole thing disgusts me and I find it funny that a company that's all cozy with the CCP is controlling the algorithm feeding kids around the world shit entertainment and lies.
This may be true in the USA, but not in the rest of the world. I live in Europe and, even if I often drive by a Tesla dealer on my way to work, don't know that many people driving one. Basically all the discourse I hear about Tesla comes from the Internet (and most of it from Twitter, even if I don't actually use that site).

The next time I have to buy a car, my decision to buy or not a Tesla will be heavily influenced by the information I already have, which comes from there (obviously, I'll also take other things into account and even pay a visit to the dealer - but still, I wouldn't consider it if nobody told me anything about the brand).
Five years later...

"Welp, back to C because AMD's performance is overtaking ours."
> Look at GTA. They can pretend it's taking place in Los Santos, Las Venturas and San Fierro, but we know what real life locations they are meant to represent. We know what that VINEWOOD letters on the hills are meant to represent, we know what "Area 69" military base is meant to represent.

True, but none of those names are owned by a corporation as trademarks. If there was a store that with white/minimalist decor that sold similarly designed cell phones, laptops, and tablets and had a name and logo referencing a fruit, what you have to ask yourself is if Apple would care.

Honestly, I am not sure. If Fight Club can literally have an actual Starbucks cup in every scene and the production company not get sued, I don't even know what that's about. Everybody knows that movie isn't about Brad Pitt beating the crap out of a bunch of other guys for funsies, right? I don't know for sure, but if I had to guess, I'd bet they didn't license the cup or the logo from Starbucks, either.
Agreed. Same here. The post was about self-hosting though.
That's not a systemic issue. That's your personal stereotype.
While manual transmission is fun and has a different feel for driving. From my experience, once your car starts outputting anything above 400hp, having a manual takes away from that power because no matter how good of a driver you might be, you won't beat a dual-clutch automatic shift. It literally happens in milliseconds. By the time you reach for the shifter, you've already wasted power and torque.

I used to think manual was the "only" way for driving fast sport cars until I test drove a Nissan GTR Nismo producing 850hp. The speed between shifts is faster than your eyes can blink (even at low speeds). It's something you can't do justice by describing. The only way to believe it is to try it.

With all that said, I don't quiet see EV manufactures going manual anytime soon since we're still in a transitional period with many challenges and problems to solve before serving a niche market. Plus, most drivers nowadays that are looking to drive a manual car, probably aren't shopping for an EV.
Nobody said that. Please don’t do that.