skysight-inc/HackerNews huggingface dataset:
I've worked contracts in UK banks for a number of years now. Nothing on the mainframes but I know some of the guys that do work on those and, despite the constant stream of flavour-of-the-month tech that we talk about constantly in places like HN, the mainframes work well and will not be replaced any time soon.

The dev cycle for releases and whatnot is incredibly long due to testing and, lets be honest, fear, in case something breaks but when it comes to battle-tested technology, mainframes and DB2 are right up there.

I do know of some code that's over 40 years old and still runs at the core of one of the big banks...

MongoDB, despite its capabilities, is... an odd choice imo! Not trying to second-guess but if I was in that meeting I would have certainly raised an eyebrow.

Good luck to them.
Building in plausible deniability so they can resume their HSBC money laundering services with impunity?

Geniuses!

Edit:
In case you missed the story https://www.bbc.co.uk/news/business-18880269
My argument wasn’t for ruining the web. It was saying, look, there are a ton of apps out there that are written (usually using emulation layers) for basically all platforms, and if Apple kills off all its native, independent developers, those are the ONLY apps that will exist.

At that point, there won’t be much reason to buy Apple products. Of course, Apple says they have the best products and ecosystem, blah blah blah. (And it’s an ecosystem I largely like, to be fair.) But Apple should not become so arrogant that they think customers will flock to buy their products based only on the Apple’s own software.

Innovation comes from the small, independent developers. The first web browser for Mac OS X, the first PDF viewer for Mac OS X, the first image viewer for Mac OS X, and the first video barcode scanner on ANY platform were all created outside Apple.

Also, Pages and Keynote are rewrites of Pages and Concurrence (apps created by Lighthouse Design for NeXTstep) done _by the some of the same people who did the originals_.

It’s easy once you the hit mega-billion-dollar success level to forget how many of your products and ideas didn’t come from inside your company. But also fatal.

-Wil
"is looking to" makes this sound aspirational.
The absence of operational lessons learned that would come out of a deployment make me wonder if this actually happened.
> And whats your best tip for life in general?

This will sound snarky given the context, but my best tip is to stop looking for personalized advice for common problems.

You haven’t given enough details to for anyone to seriously tailor their advice to you. So it’s just going to be generic. And if you’re willing to go with generic, you can do better than what fits into a comment on HN.

You could get the same advice much faster by googling the same question and looking at threads. You could find authors that seem respected and find out what they say about the matter.

If you’re going to go for personalized, share as much as you can. Fit as many details as you can while still keeping it organized. If your question is worth asking, ask it all the way.

And, this applies a ton in programming. You’ll be much faster if you learn to do as much as you can pulling from resources, and then pushing a great question when you need to.
Thank you very much for your kind reply. So does that mean the algorithm, which is in the hot path will just broadcast via a messaging system like ZeroMQ or Kafka to another subscriber that’ll just save the order and position data to the database right? Plus the messaging system will be nonblocking and just do a fire and forget style.
Discussed here: https://news.ycombinator.com/item?id=23504445
So who is to say that generics won't suffer the same fate?
Thanks!

-Wil
I only have anecdotes but most of my older relatives have reached 90+ years old and none lost their cognition. They all stayed pretty active (Ukrainian farmers and housewives) and independent. All were also quite social, inquisitive despite not being educated, ate pretty traditional diets, etc... There's definite links between cognition and physical exercise so I'm thinking that probably plays a pretty big role.
Someone could manually set some keywords too.

But if there's too much uncertainty then just don't do ads at all. The fallback shouldn't be ads for all search terms.

Your post seems like a rebuttal to the idea of "just show the app they wanted", but that wasn't the request. The request was just to leave the search alone.
So we killed America's Skype & got China's variant.
You've see seen openai's new english -> bash demo right?

That said, Silvius is more of demo than a product, the IMO best voice programming options right now are (in alphabetical order):

- Caster/dragonfly (fully open-source if you use daanzu's Kaldi engine, which is way better than Silvius afaik, I think even the creator of silvius uses dragonfly with dragon instead of using silvius)

- Serenade (fully commercial, I haven't looked at it much recently but biggest caveats afaik are accuracy, the fact speech recognition is web based, and it's restricted to specific languages and IDEs while caster/talon are for full system control and not just programming)

- Talon (my project, semi-commercial as I work on it full time and draw income from it but aim to give all necessary features away for free, some benefits include a fully offline and open-source speech recognition engine, and I have other bonuses like eye tracking and noise recognition)
Nice to meet you.

-W
The whole premise of this seems wrong. I've worked on large financial systems that have happily supported different rules for different countries using a relational database. The database was never the issue, it was how to handle testing and feature enablement. This seems like the wrong cure to the problem, and a cure that will end up causing more problems than it solves. i.e. a hack. I'd love to hear more about the rational. I just don't understand it.
Germany mandates by law that social networks like Facebook or Twitter censor people on government request. I have yet to see the global outrage over it.
If you're not an expert in the field and manage to find a more or less obvious mistake in the research of the article, how many more subtle errors an expert would find?
Beta 7.1 was where it where I got hooked. The Steyr Scout was a 1 shot kill with the same move speed and cs_mansion was the epitome of map balance. At least at the 12-PC internet cafe I could play at.
They don’t know that, actually, because I haven’t decided I’ll stay in the App Store.

-Wil
My prediction is something will go horribly wrong, then they will go "see, we tried modern tech and it fucked us over", and they will commit to seeing their code and tech stack turn a century old before considering any updates.
The term anti-racism is kind of strange to me but yes racism against white people do exist (there are plenty of racist black people, for example).
As long as the Americans can publicly point out that their leader is a bit fat without expecting to be punished they can point out the suppressing free speech is wrong.

To be a moral beacon here America doesn’t have to be perfect.

They just have to be able to say that their hypothetical leader is doing a bad job and that he should be replaced ...or not of they want to.

From that all else follows.
A fortune 100 financial institution I once worked for had an initiative to migrate their extremely large, fairly well normalized DB2 database to schema-less dynamoDB.

All new tables had to go into dynamo, and if your service begins consuming an old DB2 table, it had the job of migrating that data to dynamo.

The end result of this was applications that half pointed to DB2, half dynamo, confusing new data with old, and tons of bugs relating to losing entries into dynamo tables under outdated keys, not being able to clearly match up customer data, and myriad problems that were never a consideration using a relational database. Needless to say, I pulled all of my assets out of this institution as soon as I had the chance.
Sounds good so far. Look into making personas, a sort of summary abstraction of types of users and their context.

Ask good questions. Read The Mom Test. Here's a summary: https://www.slideshare.net/xamde/summary-of-the-mom-test
Actually GraalVM isn't that recent, its history goes back to MaximeVM, initially released in 2005, so GraalVM has 15 years of research work put into it.

https://en.wikipedia.org/wiki/Maxine_Virtual_Machine
All the solutions and hacks I’ve seen from other companies to simulate discounted upgrades have been a mess — that’s not my verdict, it’s the verdict of the developers who have tried it and found themselves stymied by Apple’s byzantine rules and limited App Store.

-W
Have an open mind to do work that's not your job by definition.

Those are the kind of people who become indispensable for a company and it'll help you when you become an entrepreneur.
My pro-tip for when you land your first job:

You'll be tempted your first week to "clean up" the code you find there. Don't.
thank you this is worth looking into.
It was referenced back up at the top. And 1984 has been part of my mental landscape for maybe a quarter century, so my opinion that reality is different has been calcified gradually over time.
I need some polls about the relationship between 'hunger' and boredom. I felt skipping meals was difficult for a few minutes but then I turned the eating-stress into action and it made me slightly manically motivated into doing some task (electronics, cleaning, jogging) and few minutes later the hunger disappeared.
If someone can be legally fired for any reason, that is the problem. Deserving or not is entirely subjective, and opinions will always differ. Making them consequential, like EOs are part of the problem. It's just about abuse of power because they can spite you. There's a disturbing faith in authority presently.

That media reports on these events or provide opinion pieces is not core to the accountability issues.
You want to talk copyright and IP violations with the context putting China as the victim? That’s... actually laughable.
psilocybin mushrooms, for one, help hone mind-body coordination.
I argue it’s in Apple’s interest to support native developers or there will soon not be any third-party software that’s exclusive to Apple, which is NOT in their interest.

I’m appealing to their pocketbook.

-W
I have no actual information about this migration but I wouldn’t be surprised to learn that the databases that are being consolidated are for some minor role or are separate instances with duplicate data for analytics or whatever. It sounds wildly unlikely that they are going to smush together all their customer accounts in one MongoDB instance. As well as being a huge technic challenge I’m sure regulators would have something to say about this.
The way ZFC navigates around Russel's paradox is by adopting the axiom of restricted comprehension [1].

Here's a thought experiment: What happens if we allow for unrestricted comprehension [2] ? What happens if we say 'Contradictions exist and they are empirical. What do they mean?'

The upside is that you attain "unrestricted comprehension" (In the English, not Mathematical sense) with the miniscule downside of having to navigate around contradictions from time to time.

Contradictions exist - if they didn't I wouldn't be able to contradict myself when I want to. I wouldn't be able to trigger exception-handlers in your brain when I want to.

How you handle that exception is a matter of choice.

I like the Dialetheist solution [3]. Basically the Axiom of Unrestricted comprehension is akin to practicing the Principle of Charity.

[1] https://en.wikipedia.org/wiki/Axiom_schema_of_specification

[2] https://en.wikipedia.org/wiki/Axiom_schema_of_specification#...

[3] https://en.wikipedia.org/wiki/Dialetheism
Coding with Onyx Boox
That seems perfectly reasonable by analogy, yet completely unfortunate. Personally speaking, would you prefer a network barrier that actually limits international communication to a toothless enforcement of something like GDPR?

In practice, I think I would prefer the latter, even if it is less clear and purely logical. I mean, the US is railing against inquiries over war crimes this week. Though that particular action is entirely irrational, it seems unlikely that the USA would enforce GDPR on the behalf of the EU short of a very large company violating it flagrantly. If I run a local nonprofit in the US that serves the elderly of my community, and the EU-resident child of one of my clients donates to my organization, by which I wind up collecting their information--repercussions seem frankly very unlikely. Firstly, I doubt my non-profit would be pursued for such a violation by the offended nation, as they do have optics to maintain. Secondly, I have no physical presence in their jurisdiction against which to enforce the regulation, so my own government would have to enforce it on their behalf, which currently seems unlikely to me (though I'm not an expert on such things by any means).

Depending on their specific activities (information collection, in the case of GDPR); whether or not they are physically present in the jurisdiction of whatever regulation; and their home country's foreign relations with the foreign government who originated the internet law, a company can choose to comply with foreign internet law--or not--at varying degrees of risk. As messy as it is, this seems better than firewalls to me.

Perhaps explicit agreements with foreign governments are needed in this area. That seems preferable to firewalls, arbitrary risk-taking, or mindless compliance with a foreign law.
I think the single data model in this case is probably something like requiring a couple of fields and everything else is whatever you need. Heh.
Sounds like a win-win for them. They get to market themselves as staying up to date with tech (although the HSBC personal banking app I use indicates otherwise). And when they "lose track of" the money they move for the cartel and terrorists, they can blame MongoDB and spare some execs the jail time.
I’m in the UK and glad I don’t bank with HSBC
The article explains quite in depth the rationale behind this. Basically, they think it's too difficult to manage their current relational databases differently in each country, but they need that due to the different regulations and particulars on each country.
With one global DB, they hope they can have one single application for all countries, with country-specific things hidden in only a few sub-documents.

_ It's now a one service environment, one database and one execution path for all the countries. This is made possible because of MongoDB's document model and the ability to map all the different table requirements for each country into a single collection, using sub-documents. Everything is simplified into one collection using country specific identifiers._

How they will address race conditions, eventual consistency and so on is not addressed at all though. I guess they trust Mongo's new transactions will take care of that (at which point, it would be nice to know whether that actually worked and what the performance will be when compared to the old relational system).
Is it common that a sufficiently large doc db is just an un-normalized rdb? I've seen swagger uis of doc dbs that make me wonder wtf/why.
Agreed. Before that, you had to choose between exceptional graphics and short loading times.

Now they can do both.

I mean, it's nice, but it's not really revolutionary.

It's a welcome incremental improvement, at best.

But the PR machine worked really well.
Oh my god I can only imagine how they provisioned their DynamoDB throughput. Setting a dumpster full of cash on fire would have been more expedient.
If thats the case, then they really should have pointed that out
There are a couple of concepts in F# that I really like:

* actor-based approach to concurrency[1]. Very useful when you want to design your code lock-free. Treating instances as agents that read messages from a mailbox, frees the developer from using low-level threading primitives. First time I've used this approach in production with AKKA and Scala. In F# it is much cleaner because the language itself is built on a better platform.

* exhaustive pattern matching[2]. Writing in F# means using pattern matching a lot. Exhaustive matching gives you the confidence to refactor and maintain your code. The compiler will warn you when adding a new value in your type and not covering the execution path that uses it. It catches a lot of errors before you even push the changes to CI.

* obviously immutability, conciseness, currying, these have been mentioned so far by others.

One nitpick in F# are Exceptions [3]. They approached it similarly to how it is done in C#. You are allowed to define and throw an exception that will "jump" somewhere in the execution path.
I prefer when a method returns Option-style types. This way, you know what to expect from a call, and pattern matches on the result without adding one more execution path in your code, which covers exceptions separately. It was added to support C# style error handling, though I very much prefer an error-code-based approach.

[1] https://fsharpforfunandprofit.com/posts/concurrency-actor-mo...

[2] https://fsharpforfunandprofit.com/posts/correctness-exhausti...

[3] https://fsharpforfunandprofit.com/posts/exceptions/
The Arecibo Message
But the database doesn't need to be the component enforcing those schemas, right? They could validate the schema of a document on storage and retrieval. And keeping the schema version within a document would allow for multiple schema versions to exist within a single collection, which then would allow lazy migrations.

I'm not saying I'd choose Mongo specifically for this job (if for anything), but the lack of DB enforced schema might not be the biggest problem here.
As you hint, raw composition isn't even half the story. You can put your microscopic samples in the mass spec and then melt the same elements together and not end up with the same stuff.

Treatment, how it's worked, how it's coated are just as important.

Not to mention how contaminated filings usually are.
This already opened jar of gherkins became impossible to open. My daughter came up with the idea of putting boiling water on the lid and then it was easy to open. I was very impressed.
I'm very suspicious of this article. I've watched a decent bit of the interview, and I'm concerned about the lack of verification that she is in fact a UN employee as she claims, and the absence of any incriminating emails she mentions in the interview.

Quick edit: It just occurred to me to search for other articles by the whistleblower's name. I still don't see any evidence so I am skeptical, but anyone else reading should have the chance to judge for themselves. https://www.express.co.uk/news/world/1292510/un-human-rights... https://www.foxnews.com/world/un-human-rights-office-china-d...
Redis creator on replacing the words master and slave
I enjoy reading thoughtful posts that canvas all the possibilities, rather than pressing another singular opinion.

This was intriguing, thank you.
The real price of software includes the price of delivery.

Users would rather not pay that, so we are stuck with craptastic spyware that is selling their data to google, facebook, the NSA, the Chinese communist party and that organ harvester from Moldova.
Find different ways to collaborate with others on software. Learn how to review code and how to respond when your code is critiqued. Contribute to medium-sized open source projects that are still maintained and have a fair number of users.

As for life in general: learn about personal finance. Once you’ve got a decent salary, you’ll need to know how to invest for retirement, save up for a house, pay down debt, etc.
I know things about the banking industry and let me tell you, just downgrade your expectations coming from the tech industry. Then downgrade them again, just to be sure.
Mueller pod coffee maker $40

https://amzn.com/B07PYPX7M9 (that is not a tracking link)

Thought it might suck compared to a regular drip coffee maker, but I found with the low effort I actually drink coffee every morning. Costco has lots o pods to choose from.

I've been good all lockdown.
What kind of logic is that? Lots of things use yaml they usually have some sort of templating engine on top, so whether the tool is friendly/adequate is depending on the templating capacity not the fact that it uses yaml, or any markup language for that matter.

Also people are mostly arguing for code vs markup. yml, json, xml etc are all the same. Yml just happens to be more compact which helps with visibility in a big file.
Pure Immunity Blend Get Pure Health with the #1 Immunity Booster|99% Work
Step by step instructions to Use Pure Immunity Blend Oil

This incredible Pure Immunity Blend Essential Oil is actually what you have to improve your resistant framework so you can keep solid and recoup quicker! However, there are still a few things you have to do to help your insusceptible framework. Here are a couple of tips to support you:

What Are The Pure Immunity Blend Ingredients?

The Pure Immunity Blend Ingredients contain a ground-breaking blend of the best basic oils to enable you to recuperate! These unfathomable oils contain common fixings like:

http://djsupplement.com/pure-immunity-blend/

https://specialoffer4health.wordpress.com/2020/06/13/pure-immunity-blend/

https://www.completefoods.co/diy/recipes/pure-immunity-blend-update-2020-99-result-does-it-really-work-where-to-buy

https://www.facebook.com/Pure-Immunity-Blend-111977320552443/

https://twitter.com/BlendImmunity/status/1271671400386854912

https://youtu.be/AHHaEldxH-w
I’ve been using NeXTstep since 1988 and have influenced the course of its history quite a bit over the last 32 years, as it found its way into Macs and then iPhones.

I don’t think it’s undignified to tell Apple they are going down a road that’ll hurt everyone.

You assume nobody at Apple will listen to me. I don’t.

-Wil
There’s been a lot of talk about the Jepsen-Mongo affair on HN lately, but the problem I have with Mongo and NoSQL in general is much more basic - it’s modeling relationships, which always end up appearing in every data model I’ve ever designed.

I’m aware you can keep references from one doc to another but it always ends up being a messy affair even at smallish scales, and it feels as if the cognitive burden of managing these relationships ends up falling on the dev, instead of being managed by the DB.

For those of you using MongoDB in large scale large production apps, is this not a problem? Is your underlying business domain really non-relational, or do you manage to comfortably run highly relational models on a doc-based DB? How?
He’s uniquely qualified to run the company:

1) he founded it;

2) he doesn’t depend on it for his own livelihood;

3) he has enough time and space; physically, mentally, financially, and computationally to have proper distance from the company; and

4) Twitter is essentially feature-complete.
The whole thing sounds like a terrible idea. Why would you want to put all the data from at least 65 different applications in the same table? In MongoDB? To save cost?

I simply don't get it. It doesn't make sense to me, but perhaps they know something we don't.
Virtual memory is not memory. You're effectively just bumping an offset, there's no actual allocations involved.

> ...it would take possibly 8 gigs of memory.

No. Nothing is 'taken' when virtual memory is requested.
probably safer to buy put options than short the stock (shorting it exposes you to unbounded losses if the stock price rises), but as you say, you'd need to get the timing right. https://finance.yahoo.com/quote/HSBC/options/

if they've got a decent QA process and they can't get the new system to actually work reliably there's a fair chance this project would get stuck in QA for a year or two, blocked from going live and cancelled, so it wouldn't cause catastrophic data loss, just reallocate a bunch of money from shareholders to contractors / employees / vendors.

> microservice graph

banks have graphs of macroservices.