skysight-inc/HackerNews huggingface dataset:
Ask HN: Non-Breaking API deprecation in OpenAPI spec – what do you think?
Sometimes APIs need to be retired, for example when they are superseded by a new version.
OpenAPI specification supports a "deprecated" flag which can be used to mark operations and other object types as deprecated, but it lacks the ability to manage a 2-phased API retirement process:
1. Deprecate an API and, optionally, announce a "sunset" date
2. Delete the API at the sunset date or later

People seem to want such a process in order to prevent breaking-changes.

I wrote a diff tool for OpenAPI spec which supports detection of breaking-changes and I recently extended it to support this process and a bit more.

Now I'm looking for feedback.

Proposed Solution (currently in Beta): https://github.com/Tufin/oasdiff#non-breaking-removal-of-deprecated-resources

Related requests:
1. https://github.com/Tufin/oasdiff/issues/116
2. https://github.com/OAI/OpenAPI-Specification/discussions/2770

Your feedback is much appreciated!
I noticed this, too. The summary bullets at the end of the post also oppose the diagram. Probably a simple mixup of credit/debit in the left column. The rest of the article usually lists do it first.
Show HN: GraphJSON – Easily log and analyze events using ClickHouse
Hi HN,

My name is JR and I had a need for a simple analytics solution that allowed me to store (timestamp, json) logs and run SQL over them.

It was hard to find the right solution. Solutions like Mixpanel and Amplitude optimized for particular report types. Whereas solutions like Snowflake, BigQuery, etc. required a lot of setup.

I built GraphJSON to fit in the middle. I strived for the ease of use of tools like Mixpanel and Amplitude, but wanted to ensure affordances were built to support use cases that big data warehouses enable.

Under the hood, GraphJSON is powered by ClickHouse. This enables really efficient disk compression and fast queries. In many ways, you can think of GraphJSON as an easy way to explore ClickHouse without having to run and maintain your own clusters.

I'd love for you to give it a try. You can generally start logging your data in under a minute. From there, you can either use the UI tooling to create graphs in a no-code way. Or if you're more advanced, you can use the SQL editor to do any query you can think of!
so what you are saying, is that rust solves the issue of finding competent engineers. you can use a language like rust such that engineers don’t need to be any good. it reminds me of microsoft frontpage and all the other scripting languages and tools that have been created to solve this issue. but here we are in 2022 and nothing has changed. people still hand code css and html to get what they want.

embedded software engineering is about understanding the hardware and leveraging its power through good architecture and smart thinking and understanding what the code you write will do. you can’t shortcut this by using a new programming language that does the work for you. you will still need to understand the low level details. so, learn C++ and familiarize yourself with the related embedded standards for reliability and safety.

adding rust into the mix will now require you to maintain code in not one but multiple languages as you cannot get around C or C++ and possibly assembly. it’s already complicated enough as it is, and you should focus on understanding the principles instead of learning another set of syntax and implicit logic.
The hubris is astounding.

You know how we got into this problem? Decades ago we used taxation and law to try and incentivize the development we wanted and disincentivize or prohibit what we didn't. And today the efficacy of that endeavor is obvious to even the most casual observer.

There is no compelling reason doing the exact same thing will work better for different values of "development we want" and "development we don't". Have you seen what gets developed when you incentivize mixed development? It's lifeless crap compared to the places that were built up prior to the advent of widespread usage restrictions on land where development happened organically without the input or prior approval of local government (i.e. people were basically free to do whatever within the permissive limits of the time).

How about we just get the government out of the business of telling people what and where they can and can't build. Let people develop what they think there is demand for. A few inappropriate industrial sites is a small price to pay for allowing pent up demand for residential and commercial construction to be satiated.
Cities are where good spots were x years ago, where x is somewhere between 300 and 100. The world is different with transportation/etc and the good spots don't look the same. See the flood of people to small mountain towns during covid. They weren't the best places before because they were hard to get to and from, but with highways, small airports, fiber internet, etc they are in many ways better than cities.

With enough investment in new roads and infrastructure we could easily build a huge city in Summit County, Colorado.
Everything on the landing page talks about jank's goals and aspirations. 100% Clojure compatibility is a big one. The progress page starts with this disclaimer:

> jank is under heavy development. It's safest to assume that any feature advertised is partially developed or in the planning stages. There is no sales pitch here; just a lot of work and some big plans. All development happens on Github, so watch the repo there!
I just place people being able to have a roof over their heads over the needs of the rent seekers that are even in a position to squeeze the lower class by having essentially superfluous property.
Hey how can I contact you to talk about Matrix integration in our project?
Zapier has been around for a decade at this point and has shown continuous, revenue-driven growth
All i can hear is "housing prices fall for 11 straight month" . That's like music for westerners.
Short range EVs are great as commuter/secondary vehicles. They just need to be substantially cheaper. I still can't find anything cheaper than my 2018 Bolt, which was under 25k after tax credits. (and still cheaper than the Mazda EV before credits)
Also 7-12 storey building isn't really that high. Even if I see building denser it seems still to be very low for what should be pretty dense area.
> Now everyone who owns a home is incentivized to ensure their investment is maximized and that results in a lot of NIMBYism.

This motivation is backwards. Getting zoning restrictions around your house removed multiplies the value of that house. NIMBYism comes from places where people live. YIMBYism maximizes property values, although there's an element of blockbusting because overbuilding and a change in neighborhood character can make a neighborhood so unpleasant to live in that holdouts will end up selling cheap.
Yeah, and there's no shame in that. Better copy something good than create something terrible. However, if you can only copy, you're limited to creating copycats of commercial software. In many cases, FOSS has strengths that others lack, where design and UX can be the difference between success and failure.
There have been interesting progress in this space from a different angle of attack. o11y (Akita, honeycomb, ebpf, prodfiler, ...) and "Learning from incidents" are two of these angle that have really built on this idea that "understanding what the system does in prod" matters far more than "writing it right the first time".

It is also the thinking we can see supporting a lot of the early devops movement.
MAUI is Microsoft's attempt to fix the mess that is Xamarin Forms. The "evolution of Xamarin Forms" means it was rebranded to disassociate itself with the historical baggage. However, it is bug driven development at its worst. Use Flutter if you want something cross-platform that actually works.
Julia v1.8 Release Notes
And even then… there were people that still preferred the physical keyboards on smartphones even as they fell out of fashion because everyone was chasing apple.

Swipe keyboards are good enough and physical keyboards are out of fashion long enough that it’s been a while since I’ve seen an bluetooth keyboard build into a phone case. But I haven’t actually tested my preference in years.
the intelligent ones use law enforcement to weed out their profession
"Suburb" is usually the bit of America where every house is made from the same McMansion catalog, all roads are paved and there's not a shop, store or office in sight.

Everyone leaves at the same time like clockwork to go to work with their immense SUV, alone of course, driving through a congested interstate to the nearest city to their office. Then the spouse leaves on their SUV to take the kids to school, queueing to drop them off.

If someone sees anyone walking in the evening or at night, they call the cops and the walker is arrested first, then investigated later. The unlucky ones get shot.
Shots fired! Didn't know Rob Pike can't even pass up as a junior - the man doesn't even use syntax highlight.
Chongqing orders factories to shut to save power during heat wave
2+2*2-3 calculated as 0. WAT?
There has been a proposal to add pattern matching to C++ for nearly a decade now https://www.stroustrup.com/OpenPatternMatching.pdf Shame it never got in. With language support for matching, sum types and product types it would be a completely different language.
I think a lot of automakers have landed on pretty good ux. Some physical buttons / knobs for commonly used features and a touch screen for less commonly used things.
I think a lot of these types of boards are built with the business case of either "edge/IoT" (which still for some reason causes people to toss money at them since they're hot buzzwords... just need 5G too for the trifecta), or for deploying many ARM cores/discrete ARM64 computers in a space/energy-efficient manner. Some places need little ARM build farms, and that's where I've seen the most non-hobbyist interest in the CM4 blade, Turing Pi 2, and this board.
> Creating competition and innovation in consumer goods is one area it's obviously very good at.

Not really.
Interested to hear what bugs you found....

I have a pretty non trivial commercial app in Xamarin Forms (currently just Android) and we really never found any showstoppers. (Talks to other devices via usb/ble, talks to the cloud and does realtime display state and live mapping etc.)
Why not go one step further and add a "Save" button which creates (& downloads) a PDF in the browser?
But how do we know which part of our preference for the querty keyboard is it's efficiency and which part is not wanting to learn?

If I think of non textual rep I'm getting a picture of someone trying to strike a pinata with a blind fold on where the someone is me.
> Larry McInerny[2].

*Larry McEnerney

(I, too, recommend his talk.)
Ha, yes, I was being nosy. It was quite easy to spot as it's the only XHR/Fetch request.

I was intrigued what you had used to build it, and if you had built your own solver (which you have), and what editor you used (Code Mirror) so went looking at the code. Interesting to see you left the source maps for production, made it easy for my sleuthing...

I experimented with a similar idea last year, but used ProseMirror/TipTap as the editor to enable rich text editing, and the MathJS (https://mathjs.org) solver. I also combined it with PouchDB and Yjs for offline editing and syncing between devices. Never finished it though, you have kept your nice and simple!
> Cruncher can also automatically plot changes as you adjust a variable

Well that's pretty neat. I've seen it in fancier setups, but not something Soulver-like. It seems a lot more usable here, since practically any equation can show it.
Crime isn’t caused by the lack of social services. Villages in Bangladesh have less crime than many parts of America. Indeed, America itself has higher crime than it did in the 1950s, even though most modern social programs didn’t exist back then.
>I wonder how a complete industry just assumed that touchscreens are somewhat better

We as people have learned to trust technology... I miss the times when we were more skeptical about it.
NameCheap doesn't "steal" domain names, they're just a domain name registrar. They may locked your account, but they can't (and won't) steal domain names.

It sounds like someone may have gained access to your account or there may have been some other issue. It's usual for them to have ask for video proof that you're the domain owner.
>Their main dev center used to be Sankt Petersburg

Is it still true? There were news of them selling their properties in St.Petersburg.
> "debit" and "credit" and
> think they have to do with
> "owing" or "being owed" money.

I think of it as 'owing' (liability) or 'owning' (asset).

When you credit an account, you either increase what you 'owe' on that account OR decrease what you 'own' on that account.

Examples:

- bank credits a customer account => bank owes more to its customers

- company credits income account => company owes more to its shareholders

- company credits accounts receivable => company owns less in unpaid invoices

> Without the context of the
> specific accounts being debited
> or credited the terms
> themselves mean nothing.

This seems incorrect to me.

> A debit is the entry in the left
> column, and a credit is an
> entry in the right column.

Debits/credits concepts can exist (and we can operate on them) without the existence of left/right columns.
2+2 -> 4 ok
2+22 -> 6 ok
2+22-3 -> 0 What?
http://archive.today/2022.08.17-160540/https://asia.nikkei.c...
Incredible resource, thanks! I’m currently using an older MegaRAID card, but could upgrade if I can find a reasonable configuration to migrate.
jank is currently using immer for persistent data structures: https://github.com/arximboldi/immer

Very much inspired by Clojure, with a lot of time put into benchmarking and profiling.

It's too early for me to share numbers on jank vs Clojure itself, especially due to the rewrite, but my earlier jank versions were definitely competitive with AOT compiled Clojure jars.
I say that because I would hate to be the person that has to ramp up a junior engineer on a project that uses a library like this.

I've written my fair share of code like this, and while you and I might grok it (and probably have a fun time figuring out how it works in the process), most people will hit a brick wall the moment they have to debug the 1000 line error that Clang or GCC will give you when there's a type error.

This is the kind of thing that belongs in language-feature land (so you get tooling support, reasonable compiler errors, etc), not library-land.
Is no code a marketing term for code? Looks like code to me.
Antidepressants strongly associated with lower serotonin levels
As I wrote, it's doubtless harder for some than others. But, yes, I do think in general most people who don't get registered would probably (for perhaps understandable reasons) decide that it's too much of a burden to vote as well. If it's literally impossible for someone to get registered, it's probably equally impossible to vote anyway.
A ford factory worker stamps the same part for 60 years. Running ML is not the same as making a cog of a priori known quality over and over again, but lets let the MBAs run their little experiment and watch the whole thing explode so no one seriously wastes more effort on this. You cant no code your way around generating testable hypotheses which is why data scientists get paid the big bucks. Anyone can write up a model in python following some 30 minute tutorial. That was never the hard part.
This is just based on pure nutritional content of underlying ingredients. For example, a fruit and vegetable smoothie scored 98 out of 100, with 100 being the healthiest. But I don’t see that they accounted for how your body interprets a beverage vs a food. Your body understands what to do if you eat an orange. But if you drink a glass of orange juice, which contains the juice of multiple oranges, does your body really understand that context without the fiber and need for a different digestive process? And wouldn’t drinking multiple oranges spike your insulin since it will all hit your system at once due to lack of need for solids digestion compared to eating 5 oranges? Wouldn’t this be just like taking meds and supplements with food is more efficient as it provides context for your body as to what to do with the incoming molecules?
> That's a bit of a straw man.

It's not a straw man; it's nuanced agreement. It's a shame that people expect argument so much that they can't see where the edges of one opinion are being offered.

> However, there's no reason those menus need to be touchscreen menus.

Might as well be touchscreen menus. Using up and down buttons to pick things in a modal interface isn't clearly superior to a touchscreen for experienced users and worse for new people.

A good button menu system is better than a bad touchscreen, especially with experience. But in a rental car, I appreciate the touchscreens to pair my phone, etc.
How high would that tax bill be? 50-60%? Still would be lot under fair value of property and thus should be able to get loan against that tax amount. So I really see no reason not to have it taxed.
Imagine if they did manage to train a good discriminator!

That would lead to even higher quality images.

I support this effort.
OpenGEM: Non-multitasking 16-bit graphical user interface (GUI) for DOS
Author here. This is helpful feedback, we could have perhaps taken more time before jumping in on the Modern Bagelry example. A common misconception is that one account needs to increase while the other needs to decrease. But what we are actually showing that they can both increase or decrease in tandem, depending on the debit and credit entries in the transaction and the direction of the accounts. In the first transaction cash increases because it's a debit entry in a debit normal account (cash); and equity also increases because it's a credit entry in a credit normal account (equity).
I work on a golang team and we're all VSCode. But most of us started in another language that is more typically VSCode-friendly, so maybe that's it?
The story seems unsure about whether this happened, and whether the policy that he hypothetically have resigned over even exists.
Why would anyone pay money to be in nature and put a fake optimized/idealized version on top of it?

I just can't understand this need to remove reality from reality. But this may be due to the fact that I seem to become a grumpy old cynical white man.
>The facility evaporates water from the treated sewage of several nearby municipalities to meet its cooling needs. Up to 26 billion US gallons (~100,000,000 m³) of treated water are evaporated each year.

I have no idea how that stacks up to other nuclear plants, but 100,000,000 m³/y sure sounds like it needs a lot of water.
Sooner or later, those settings will not be tied to (or saved on) the fob, but your smart phone. Everyone has one of those in their pocket.

I found the car related announcements in Apple's most recent WWDC key note monumental in their reach. Many manufacturers signed on (notably except Tesla, Mazda, BMW) to support the next version of Car Play, which in a sense might reflect a surrender of the UX ownership:

> Ford, Lincoln, Mercedes-Benz, Infiniti, Honda, Acura, Jaguar, Land Rover, Audi, Nissan, Volvo, Porsche, and more

https://www.macrumors.com/2022/06/06/apple-announces-multi-d...
Can someone help with a few ideas on this topic? I've been volunteered to be the treasurer at my building home owner's association, and trying to keep accounts for the whole building on a single excel sheet is a shitshow.

So obviously I'm building a SaaS that will handle all the accounts for every HOA in the whole world and become a trillion dollar product. But I need to figure out which accounts are debit normal and credit normal and how transactions should flow first.

So far I have the following accounts:

* Per-apartment accounts, like the account for Apt#A1, Apt#A2, Apt#B1 etc.

* A Maintenance Receivable account - the account for maintenance payments that should have come in.

* A actual current operating account - account that reflects the building's bank account, showing money that came in from apartments for maintenance payments and also expenses.

* An Expenses account. For expenses.

So far the typical transactions I can think of are:

* Beginning of every month the maintenance is due (say 100), so each apartment gets a -100 with a corresponding +100 on Maintenance Receivable.

* When an apartment pays, they get a +100, but this is money that actually lands in the current operating bank account, so that's a +100 too? I'm guessing this is where the genius of not using plus or minus but using debit and credit comes in. That avoids the confusion, one is a debit and one is a credit, but which is which and which is a debit normal and credit normal account?

* When there's an expense, I remove money from the bank account account and put it in the expenses account.

Seems sort of ok, but the Maintenance receivable account is always increasing. How do I set this up so I can correctly represent what an apartment owes while also capturing what it paid as inputs to the buildin's bank account?
Or even just a button that brings up the Print window so that the browser can save as PDF
> and they've managed to keep prices down.

Perhaps it would be more accurate to say that they managed to crumble their economy which brought the value of housing down with it? They had a massive housing boom before the "Lost Decades". Japan is no stranger to asset prices rising out of control.

That said, when I have looked at Tokyo pricing it has always been in line with high priced North American cities, only configured differently. The difference in configuration means that the sticker price is often lower, but you are getting less for that lower price. Apples to apples the prices have always shown to be in the same ballpark.
For me it is the separation of business logic and data from the programming implementation.

Often the workflow in automating a work process is:
- Worker has intuition on how things work
- Specialist starts automating and running into exceptions, walls
- Worker explains exceptions as they're discovered
- Specialist adds spaghetti to the 'clean' business logic model they started with
- This keeps going until the end result looks like what the worker expects
- The worker then sees a datapoint they think is incorrect, but they can't check it because the business logic is embedded in software, code, database stored procedures, etc.
- The specialist is then called back into debug and resolve the issue.

At my workplace we run into this issue constantly, where the ability to modify/adapt the business logic is lost through automation, and it becomes obscured to the point that the intuitive workers can't trust that the logical model is right.

There needs to be better separation of business logic from models so that programmers don't need to 'dig' into business processes and exceptions, and workers don't need to deal with part of their responsibility being shoved into a black box that they're not sure they totally trust or can adapt easily should a need arise.
> Garuda, which aims to have a Manjaro-like experience without holding back packages and the problems Manjaro has.

The rest of the point aside, is the author is this harsh on Manjaro I must assume they actually aren't that familiar with Garuda. They're a jolly bunch and it looks great but the quality is severely lacking. It can be fun to play around with in a VM for inspiration and snag some snippets to your dotfiles but I wouldn't recommend it for anything mission-critical.

It's a cool experiment to push btrfs as the only root filesystem option but that's also something that's not for everyone.