skysight-inc/HackerNews huggingface dataset:
OP might be conflating OpenAPI [1] which specifies HTTP endpoints of APIs with JSON Schema [2] which specifies data schemas of JSON documents. OpenAPI specs often use the application/json media type with schemas specified using JSON Schema, but they can also use other media types including binary formats. What OP is really asking is: Why isn’t there {JSON Schema,XML Schema,.proto files} for arbitrary binary formats?

Kaitai [3] mentioned by OP and sibling comments looks interesting, don’t think I’ve seen something like it before.

[1]: https://swagger.io/specification/

[2]: https://json-schema.org/

[3]: https://kaitai.io/
The activity on Ethereum has the potential to be economically meaningful (there's a separate discussion on whether or not it's the best way to do it) but I don't think it currently is.

What is people extracting from the Ethereum ecosystem that isn't USD?
If I knew a way to make you 100% every year with no risk, I would try my hardest to convince you to let me do that for you for 1%. Because finding 1000 people who all agree to that makes me 10x as much money as just using my own cash. And that's assuming we're all equally rich to start. I could probably, if I prove it was true, have each of those 1000 people write me a check for a multiple of my net worth.
That's basically what I did with this project.

https://github.com/Mylab6/PiBluetoothMidSetup

Of course I could of done this in bash, but Python is just so much cleaner.
What are the benefits of the C implementation? I noticed the adherence to POSIX command-line conventions, but that doesn't sound like a good enough reason for a reimplementation in a different language.
I don't think there's anything grammatically wrong with "speak good English". The difference to me is language register.
Yep, you read this as being a correlation-causation fallacy. You are being nerd-sniped, and it worked. Don't let that put you off doing arm and hand exercises. I recommend kettlebells.
The biggest pro to Xbox game pass, that Sony has yet to match, is Microsoft's excellent backwards compatibility where you can play most Xbox 360 and OG Xbox titles on your brand new Xbox Series X.

Pretty sure a lot of PS5 owners would love to play some PS3 and PS2 games, either because of nostalgia or because they missed out, without having to scavenge old HW and discs on the second hand market.
This is a silly argument. Nobody is checking their bank account on their Xbox. We can acknowledge that iPhones are needlessly closed platforms while also acknowledging that there are legitimate purpose-built computers in various form factors (gaming consoles being a good example.)
Pyodide: A Port of CPython to WebAssembly
True, insider information is another big one
Exciting stuff!

I’ve been using duckdb instead of Pandas these days because it’s much faster on larger datasets plus I can write more compact and complex SQL than I can Pandas constructs. The fact that duckdb can query in memory Pandas dataframes faster than Pandas itself is a plus.

It’s like having a local performant database engine that can query and join across Parquet, CSV, Pandas and now SQLite.

Kinda like a quick efficient local Spark.
Show HN: Gzip-Server
Just whipped this up - simple static server with compression enabled. Useful for optimizing load time in development. (So you don't have to set up nginx etc just to see which assets compress well.)
Don't know about Avast, Norton, McAfee etc. but it's clear from Kaspersky's capabilities and the shear amount of research their developers publish that both the team and their products are among the best in the world.

What about the U.S. accusations? Well, as always they produce a lot of accusations but never provide any proof. Make of that what you will.

So what's left to use if corporate environments shouldn't use Kaspersky? And if corporations shouldn't use Kaspersky because of "security concerns", why should they use any of the other AV suites, or Windows, or macOS?
The paper talks about maximizing "welfare" what is that if not an objective measure of utility?
I hope some healthy competition will make app development on Apple easier. Submitting to the AppStore is often half of the development time for a simple app, the user experience is terrible. Xcode sucks and they force you to use it. Just let us use third party tools it's better for your own platform also. Just let us make iPhone apps in VIM, like civilized people. Maybe webapps will also now finally get proper support like Android, you just know the platform could be way better if they did not force you past their toll booth, even for free apps.
I'd say that's a feature not a bug. Let iMessage roll out exploding balloons and whatever else they want in every update. I want to use my own client which should just stay compatible with the core functionality – sending lines of text back and forth.

And if they are deliberately breaking existing third-party apps for no reason, well I'm sure EU courts would like to have a word.
Class in Marxist terminology is defined by the prevailing relations of production, either social or technical. So, saying that inequality is driven by "class" is but another way of saying that economic fundamentals (such as, according to Marxists, the ongoing concentration and centralisation of capital, or the tendency of the rate of profit to fall; non-Marxists may of course point to other dynamics as more relevant!) are driving inequality. It's not clear what would be inconsistent about this.
When I was growing up, my superheroes looked like chipmunks, ducks and turtles.
> Let's first clear up why this is: spam control.

I'm running my own mail server. The problem with regards to spam is not that it's hard for me not to be inundated by spam: I'm just running spamassassin and qpsmtpd with mostly standard configuration and my account on my own server is rather better at catching spam and not ham than my Gmail account. The problem I've always been fighting with (it's better lately) is that Google (and to a lesser degree Yahoo and Microsoft) tends to put my mails into the recipients' spam folders.

It's understandable that a minimal level of centralisation is necessary with email so as to build up server reputation. I think that level is already satisfied with just a few dozen or maybe hundreds of emails sent per day. If there are many installations of that size, companies like Google are forced to accept mails from them, and there's no need for further centralisation.

> Google along with the rest of the industry has essentially killed email spam through the many additions to classical email standards. From reputation based delivery, to spam databases, crypto signatures and more.

I don't see Google having had an exceptional role in "killing" email spam that way. Spam databases (both server reputation as well as content fingerprints) existed before Gmail started, DomainKeys was designed by Yahoo[1], the DKIM (the current way to add cryptographic signatures) RFC[2] does not list anyone from Google as its authors, bayesian learning was published by PG[3] in 2002. Gmail launched 2004[4]. Giving reputation much weight was something easy for them to do and it does tend to come at the cost of small legit servers.

They had a solid implementation early on (both the spam filter and, for the time, a top notch HTML UI), had of course a good name, and were free, so they were a default choice for anyone who was with an email provider that didn't do well (like many (most?) ISPs). There are reasons for people to flock to a strong, large company, that's not different here, but I contest that spam necessitated this.

That said, any new protocol would do well to take the problem of handling spam seriously and learn from and improve upon the past.

TL,DR: my argument is that spam is (somewhat) easier to handle in a centralised way, just like most problems are, but handling spam doesn't inherently require centralisation.

[1] https://en.wikipedia.org/wiki/DomainKeys
[2] https://www.rfc-editor.org/rfc/rfc6376.txt
[3] http://paulgraham.com/spam.html
[4] https://en.wikipedia.org/wiki/Gmail
It is very common for Miata owners to leave the doors unlocked if they need to put the roof up because the roof is more valuable than the interior. (Since it is a common track/race car, every interior piece has an aftermarket replacement.)
In an ideal world, devs would always have the time to test their own code. The unit and integration bits aren't the pain point, but once you reach the API or UI, people's knowledge varies widely. That's where a good QE org, either embedded or a mix of centralized and embedded, can be very helpful. In my past companies we've pushed to be champions or domain experts in test automation who's main purpose is to make testing for everyone else suck less. Sure, you will definitely take the brunt of test automation tasks, but some of those tasks should be targeted towards removing impediments for testing.

In one situation I ran into a team who was very frustrated with their automation because it was so slow. After a bit of investigation, I found out they were setting up all of their test data through database migrations, which were 10+ minutes slow. I asked why they weren't using the API to setup test data, to which they replied that none of them had experience with the API. After hacking away it in my spare time for a few weeks, I had a perfectly functional API client, and the tests were converted over time out of using the migrations.

I saw this the other day, and while it might sound cheesy, but someone said that QA to them was "quality acceleration", which actually fits fairly well. I have never worked at a company who had enough testers to go around. Keeping a smaller group of centralized testers to handle the really tough technical challenges, and a larger group of embedded testers who evangelize on testing practices was the most successful approach.

In this case, I wouldn't say you absolutely need a full quality team, but having some folks whose primary focus is testing and test automation to help skill up your dev teams sounds reasonable.
So they started to loose and now quickly claim a victory? Nice try.
Q: What happened to Pidgin?
A: Google & Facebook shut down their XMPP gateways to force you into their apps. All the sudden you can no longer use Pidgin to communicate with people on google & facebook. At least that was my experience.

I used to use Pidgin with OTR[0] for e2e encrypted chat over google & facebook. It was pretty fantastic, messages were inaccessible to facebook and google even with a court order so I didn't need to trust them.

Also used Finch for a bit[1]. For a time I had a pretty great setup on a local VM (running the PHP app I was working on): one tmux tab with work, another with a pane for finch (for chatting on FB & google), a pane for IRC, and a third pane for ttytter[2], the amazing twitter CLI. If someone nontechnical walked by they'd see a terminal and it looked exactly like I was working, not chatting on IRC & facebook, and looking at twitter :D

0: https://otr.cypherpunks.ca/
1: https://www.systutorials.com/docs/linux/man/1-finch/
2: https://www.floodgap.com/software/ttytter/
Waymo needed 2.8 million images to create that scene, I wonder how many Nvidia would need? Or was the focus only on speed? I skimmed the article and didn't really find info on that.
You are missing something.

You list several completely different types of databases and then mention you are looking for a "general purpose database".

This tells me you do not understand the problem you are trying to solve, therefore do not know how to define the requirements nor features you require to solve it.

It also tells me you do not understand the difference between different types of databases, nor the niche they fill, let alone why their HA functions very differently.
Of course utility is used as an objective measure. That's the basic foundation of utilitarianism, and utilitarianism is the ethical foundation of market economics.
React in Python with Pyodide
AMZN had $8B of shares traded today. Just under $2B of BTC traded hands across the major exchanges on Wednesday.

AMZN is a single ticker, there’s several orders of magnitude more liquidity in equities alone than all cryptocurrency combined. $34B of SPY shares traded today, and that’s a single ETF.

> That also assumes everyone could cash out at ~3275, but the reality is if selling pressure is higher than the buy side demand that selling shares will drive the price down as buyers would be able to continually bid lower. Eventually it would reach ~0 share price and effectively a 0 market cap.

This is wildly inaccurate.
So the part which makes this interesting to me is the speed. My new desire in our video conferencing world these days has been to have my camera on but running a corrected model of myself so I can sustain apparently eye-contact without needing to look directly at the camera.
hmmm I really find this to be different from chatbots, in fact it took me a lot of skepticism to overcome before using github copilot and I saw a new reality where it became part of the process, albeit, not as prolific but enough to make me ponder what the next evolution might be.

For 3D modelers, this is huge since it takes a lot of experience and grunt work to put the right touches to get an even a boilerplate 3D model. So much so that many game companies have outsourced non-human 3d modeling, this would certainly impact those markets.

1) It could further lower the cost and improve quality.

2) Studios could move back those time-consuming tasks on-shore and put an experienced in house artist/modeler to manage the production.

3) Hybrid of both

What I see here is that NeRF has a far more impact to the 3d modeling/animating industry than github copilot. Another certainty is that we are going to see faster rate innovation. We are at a point where a paper released merely months ago are being completely outpaced by another. The improvement in training time that NeRF offers is insane, especially given how quickly this new approach came out.

We could be at a future where the release of AI achievements will not be able to keep up with published works. It would be as fast as somebody tweeting a new technique, only to be outdone by somebody weeks or possibly days.

Truly exciting times.
Surely they swam recreationally. Maybe not laps or competitively, but like on the slides and lazy river and such.
Object-orientation has nothing to do with generics. Generics are static typing v2, object-orientation is an entire programming paradigm encompassing program design, idioms, the fundamental way you think about flow, etc., and doesn't require static typing v1 either. JS, the most object-oriented language under the sun, doesn't have generics; C, the least, does.
Interesting. I've been looking up at setting up Internet-in-a-box for a what-if scenario (ex. what if people can charge their phones but have no internet access), and am amazed that you can download wikipedia in well over a hundred languages.

I wondered, after getting the key languages spoken here (English being #1 by far) about Blackfoot, but see that there is no version of Wikipedia in that language. I wonder if they have any first nations languages (and yes, I understand that it depends on volunteers writing the articles in those languages, and that they almost certainly speak English better).
Wow that’s an amazing list of frameworks in many languages - thanks a lot!
When Fisher etc. say we must return a focus on class on the left, he means not the Marxist abstract idea of class as groups with aligned economic interests, but the specific classes Marx outlined as relevant under capitalist productive forces. Otherwise he owes us an argument as to why e.g. "black" is not a class despite its massive and identifiable role in America's economic and labor history!

Personally I am more agnostic about Marx's specific conclusions today; but if Fisher wants to call certain classes "class" but others "identitarian" I'll take his terms. But then I get to say "class is a driver of inequality" because it absolutely makes sense to say "Labor's subservience to capital is a driver of material inequality" even as it is also one type of material inequality. (Unless you think it stands so far apart from other kinds of inequality it cannot influence them at all - absolute bullshit.)

As I mentioned above, please also read Wark, where she covers in detail why she thinks Marx's analysis of extant classes is insufficient for today even as it purely pertains to labor relations.
Only one Higgs Boson is the simplest model, and we have not measured a second one yet.

There are a lot of alternatives that involve more Higgs Bosons https://en.wikipedia.org/wiki/Higgs_boson#Alternative_models and the models have some internal parameters to adjust, but it's very difficult to guess which one is the correct (or if the correct one is the simplest one) until more Higgs bosons are discovered (or someone has an extraordinary brilliant idea).
People embrace romantic notions about warfare and like to imagine a fanastical version of it. Call of Duty does very well! We tend to think of warfare as a game.

The reality is the polar opposite of a game: Games have rules and fairness; warfare has almost no rules (by definition - it exists where rules and laws fail), and nobody wants a fair fight - they want a massacre (or surrender). Games have no stakes - they are for entertainment, and no matter how many points you score, you drink a beer with your buddies that night; warfare is life and death - you literally might not sleep again, some of your friends in your unit will likely be killed in the next battle, your loved ones and society might be destroyed, and the brutality and pain is commoplace. And the responsibility, stress and pressure are enormous - if you mess up, you don't kick the ball out of bounds, your friends die.

In histories of some wars I've read about - and it's probably true for others others - describe that before the war people are very excited for it; I have felt that powerful urge myself. IIRC, people had picnics to watch early US Civil War battles, and soldiers can be very excited to. The reality then hits quickly, as people experience things too horrible to describe on HN, including the horror of killing other human beings, often in gruesome ways. Even in the relatively low-level wars the US recently was involved in, even the very well-trained, very safe (relative to other wars) soldiers who have a safe home to return to, have very high PTSD and suicide rates. As has been noted throughout history, warfare changes the survivors for the worse.

Maybe there are some things that could be gained from games, but I imagine training would be far better. Imagine someone who played software developer games (if only such fun toys existed!) as preparation for being an actual software developer. It might be a nice intro, but mostly irrelevant to actual training.

EDIT: To be clear, I think the article may be more descriptive - how certain games affect thinking - than prescriptive - 'we should learn through games'.
Apple ecosystem isn't the bastion of privacy and security you think it is.
Richard Stallman: The state of the free software movement
Methods exist to implement interfaces. Interfaces cannot have generic methods because those would need to be instantiated at runtime, which would require runtime codegen.
There's something very uncanny-valley about that video. I can't decide if it's the smoothness of the shading on the textures or if it's the way the parallax perspective on the buildings sometimes is just a tiny bit off. I don't generally get motion sickness from VR but I feel like this would cause it.
Fascinating read, especially https://arstechnica.com/information-technology/2019/09/for-t...
>These games have affected our military's organization structure at a fundamental level...despite having nothing to do with war.

If they really had nothing to do with war, why would they affect our thinking about it?

I'm not saying sports, games, etc. were instituted explicitly as wargames. Rather, I'm saying that while there are obviously differences between games and war, there are similarities---enough that there are lessons one can learn about war, from games. The parallels are many: adversarial conflict, mass coordinated action, risk..."some reason" seems a little too mock-mystified to me.
Everyone has strong opinions about language features. Personally, I'm happy that we had an imperative, statically typed mainstream language without generics for a long time. It really showed how much you can achieve without it in practical terms. Obviously, interfaces and built-in generic types like maps & slices, helped compensate a lot, but it's a quite simple feature set. I feel like I have a much clearer view today on when generics really shine compared to other alternatives. I hope, going forward, that responsible idioms around generics will be established in the Go community.
you are looking for katai struct: https://kaitai.io/

katai allows you to declaratively define a binary format bit for bit - they even have an IDE
Right. Movie actors are one of the lowest tiers of art with a few exceptions. The real force are the scenarists, then maybe directors.
Yeah. this is the elephant in the corner of the room. One solution could be to use logically centralised but physically decentralised identity mapping servers (a bit like DNS root servers, or X.509 root CAs) - like the ones Matrix already runs: https://matrix.org/legal/identity-server-privacy-notice-1#2-... - but these end up being a massive toxic stash of personal data. On the other hand, it's not much worse than the current identity databases that Facebook etc maintain.

Another bet could be to let the owner of the identifier (your phone provider, in the instance of a phone number) track what service that identifier points to - like ENUM DNS. But that falls foul of political problems (and risks becoming centralised too).

Federated/decentralised identity is a problem we're actively working on at Matrix, and the DMA will only act to speed up the process, as it's indeed an important piece for this to work well in practice.
I wasn't planning on posting, lots of great answers already in the thread, but has he considered learning Oracle DB administration, the various admin tools, and PL/SQL programming.

There is a lot of work out there managing Oracle installs, populating databases, and all the other duties associated with running Oracle instances.

There's plenty of scope for programming, and the work should be more regular hours and less stressful on the whole than an entry-level programming job.

Additionally, it should be reasonably easy to break into the field via the various certifications, and the tools and DB itself are accessible for self-directed learning.
You can stick to ASCII if you wish.
Wanted to do less coding that’s all.
Can please stop this cowardice for once? NATO has clearly stated that it will not stand by when nuclear weapons are used against Ukraine.

This makes using nuclear against Ukraine not possible in practice because Russia does not want to start WWIII. It just does not have any power to do it or any thinkable way to even consider winning it.
This article misses the mark in so so many ways.
Chandigarh is pretty much the only livable city in the country!

- "unnecessarily large scale" is the reason that it is the only city in India that doesn't suffocate it's own residents

- wide avenues, open spaces and numerous public parks encourage families to step out of their residential sectors often. Walk into any park after 4pm during the week, and you will see children and adults of all ages exercising/ playing sports

- It is also one of the few places where the bureaucracy has enforced strict building codes to prevent the kind of construction creep you see in large tier 1 metropolitan centers
Decided to take up golf. Now I can’t feel my leg.
> If you think you are in pain, no matter the source of the pain, then you are in pain

That sounds like a philosophy where thinking an experience is real is equivalent to it being real. Which sounds a lot like faith.