skysight-inc/HackerNews huggingface dataset:
Even though SymPy is written in Python, there are several options to go much faster. The simplest is when actually using the symbolic expression to do some calculation. For that SymPy has a `lambdify`, which can make a callable using NumPy as the backend. They also have a variety of code printers to write your expression in C/Fortran/Julia/<many others> that you can compile to be very fast.

There’s also the SymEngine project, which is a rewrite of SymPy in C++ with bindings to other languages (like Python where it is a drop-in API replacement for SymPy). It’s not finished yet, but the CAS is a lot faster and it’s lambdify can give you an internal representation or an LLVM-compiled version, both of which are much faster than SymPy in compile-time and run-time for our expressions (which are often quite large, but simple in terms of the mathematical functions used).
> Trump puts his own interests first. He doesn't give a damn about America as such as long as it serves his interest.

It would be in Trump's interest to not be controversial, as that would make it easier to be re-elected. Since Trump is rich, it would also be his (but not America's) interest to have a growing pool of cheap labor. A large part of his political platform is purposefully built to restrict the available labor pool (H1B limits, border wall).
> I'm a software engineer, and I've been keeping a "lab journal" on and off for the past decade or so.

I studied (a mix of EE/CS) in the EE dept., and we were actually taught to do keep such notebooks/journals, as in electronics labs were assessed on what the contents of your lab book, not on what you'd produced or measured (or at least not 'hey lab assistant look at my 'scope, see, done it' - obviously measurements would be recorded, but then the assessment's more 'why' and 'was that expected' than just a copied value from a neighbour).

I hated it at the time and wasn't particularly good at it ('writing what I'm doing just slows me down and distracts me from doing') but I've worked in software engineering since and wished I'd stuck at it. I've briefly tried in fits and bursts but never maintained it as 'this is how I work', despite having a former colleague who did.

Probably time I tried again, I agree it's worth it.
It’s added complexity, it means changing the foreign data’s shape could break the wrapper, performance won’t be as good. There is probably more, but those come to mind.

For a lot of people that’s probably not a net negative.
Presumably you could set things up through lawyers, trusts, and so forth. But that's obviously not a casual (or cheap) undertaking.
I would offer custom endpoint.

I would have a free tier with registration.

basically it maps matches X to Y.

if I post/get etc. X you return Y.

They can add 10 examples for free with registration.

with XYZ request per month

Then add a paid tier which offer more and then an enterpise tier.

Maybe also add a feature request button
For anyone who wants to dig a bit deeper: PRML by Bishop [0].
An amazing work as a general introduction to machine learning and Bayesian in general.
MacKay's book [1] is a bit more opinionated regarding Bayesian methods.
Even if you do not become purely Bayesian, it advances your understanding of to approach data quiet a bit compared to the generic "oh data, lets throw a NN at it".

[0] https://www.microsoft.com/en-us/research/people/cmbishop/prm...
[1] http://www.inference.org.uk/mackay/itila/book.html
you mean lego brick worker?
For me its also the quality of the ads which is a problem. Over and over I get Grammerly adverts even though I always flag them as repetitive, inappropriate or irrelevant (always signed in). They have nothing to do with my interests or viewing habits.

Twitch does an outstanding job by comparison.
From what I can tell (without having read the research papers) it looks like this is just an easy to use package for sparse scene text extraction. It seems to do okay if the scene has sparse text but it
falls down for dense text detection. The results are going to be pretty bad if you try and do a task like "extract transactions from a picture of a receipt." Here's an example of input you might get for a production app: https://www.clusin.com/walmart-receipt.jpg

Notice the faded text from the printer running out of ink and the slanted text. From limited experience each of these are thorny problems and the state of the art CV algorithms won't help you escape from having to learn how to algorithmicly pre-process images and clean them up prior to feeding them into a CV algorithm. You might be able to use Google's Cloud OCR but that charges per image, although it is pretty good. Even if you use that you've graduated to the next super difficult problem which is Natural Language Processing.

Once you have the text you need to determine if it has meaning to your application. That's basically what NLP is about. For the receipts example, how do you know you're looking at a receipt? What if its a receipt on top of a pile of other receipts? How do you extract transactions from the receipt? Does a transaction span multiple lines? How can you tell? etc etc etc.
I exploit the same trick to have a script automatically set what it thinks a commit message should be, but still pass it for human review/edit before actually committing and pushing. Come to think of it, you could easily use this to set a default message base and do things like always prefix the directory; I like my commits to be something like "modules/foo: added bar", so I could just alias gc='git commit -m "${PWD##*/}" -e' (well, something like that, but more sophisticated).
Works great on Desktop, but more complicated on iOS without a piHole.
> Are you suggesting there's an anti-EU/anti-GDPR/anti-whatever campaign of sorts going on that makes people biased, or, more realistically, an intent to discredit GDPR by US advertisers who fight against similar legislation in the US?

I mean, in one sense, _obviously_. Most of the fearmongering around the GDPR comes from the ad industry (and to some extent from other impacted industries like the shadier parts of the debt collection industry, but they're much smaller and less noisy). I doubt there's an origanised conspiracy to discredit it as such, but most of the anti-GDPR talking points do ultimately come from the ad industry.

And this isn't that surprising, arguably. For most companies, the GDPR essentially means, at most, "your business model is fine, but your process is flawed; fix it". For large parts of the ad industry, it means "your business model is flawed; change it". Note that a lot of the ad industry complaints are around consent; either that it has to be asked for in the first place or that it's too hard to give accidentally. Well, yes, that's the point.
What exactly makes a GUI "native", in your view? WebKit and MSHTML/Edge, they all render to the screen with native APIs. They're part of the operating system. Lots of native applications have used these for decades.
Hello self_awareness, I have a different perspective on this.
An erotic novel is written intentionally to arouse, but arousal isn't the only reason to include depictions of sex, sex is a powerful part of human experience, a part of our lives in which we can reveal extremes of our personality - where we can be vulnerable and also callous. To pick another Hugo winner, the sex scenes in le guin's 'the left hand of darkness' are so memorable not because they are sexually arousing but because of they explore the irresolvable unfairness of an existence in which we are subject to powerful desires for others that we long to have reciprocated, and the impatience, disgust and fear with which we respond to the desire of others towards us that we do not reciprocate - and importantly, the role power plays in how this is negotiated.
I don't think there is anything cheap about that at all.
So remember to add what Spotify failed miserably

- Mark an entire Podcast as heard/listened

- Disable recommendations needs to be an option

- Start screen needs to be whatever the user want, so make it adjustable in settings

- Auto download and auto erase of played episodes
YT has a lot less censorship than most cable TV packages, all things considered. And "I never watch video category X, so I'd rather not pay for it" is neither here nor there, unless you'd rather have to pay a la carte for every single YT category you may want to watch in the future. Having a single payment for the service as a whole is just better.
> summary of changes when you're writing the message

-v makes this so much better - forget seeing the list of files in the commit; you can see the whole diff! :)
JAMstack Crash Course
Learn about the JAMstack, the new hotness in Web Development!! In this JAMstack crash course, you'll learn how to build a Full Stack application using some amazing technologies like FaunaDB, Netlify, and React. We'll use Netlify Serverless Functions for the backend and FaunaDB for the database.
It’s not really free though is it? It just doesn’t cost money.
When somebody uses words like "habitually" or "generally" I expect either some statistics or any other proof that is a bit stronger than a friend of a friend told me...
I haven't yet seen a proof that a majority of police officers are habitual racist harassers.
Developer here - I created PrestoText after finding no suitable solutions during my previous startup. We needed an easy way to send SMS messages to a low number of people. All the other solutions we found were designed (and priced) for sending a larger amount of SMS messages (or text messages).

Other Google Sheet add-ons exist, but they mostly use someone elses phone number to send the messages, so you can't rely on them 1. not reading your messages and 2. someone else using that service getting the number blacklisted. PrestoText allows you to purchase your own Twilio phone number (~$1 month) and send messages from your own Google Sheet. We never see the message content or how many messages you are sending. PrestoText is simply the tool that links Google Sheets and Twilio together.
I encourage everyone to develop at least a basic familiarity with the skills required to maintain the things that keep our modern lifestyle humming along but I was talking about making it to a substantially greater skill level than that.

You can change a water heater with two shark-bite fittings, an adjustable wrench (and a screwdriver if it's electric instead of gas) and maybe a little help from YouTube and there's a ton of bang for your buck in that. There's very little automotive maintenance you can't do with a basic socket set and some screwdrivers and pliers and there's a ton of bang for your buck in that as well. But those kinds of basic tasks can be gateway drugs into developing more and more skills and as you develop more skills you wind up wanting the tools that make application of those skills more efficient.

Eventually you wind up at a level of available skills and tools where your only sources of expensive problems are people and not things, you are more limited by time than money, you've considered registering an LLC so you don't have to do as much lying when purchasing from companies that usually only sell B2B and you've unsubscribed from the advice subreddits in several fields because you realize that they're just full of idiots who can regurgitate textbook advice but don't have sufficient understanding of the constraints the people asking the questions are likely working under.
YouTube recently made changes to how they display their ads that affected a fair amount of filter lists.

https://github.com/uBlockOrigin/uAssets/issues/7519
I'm okay with this. They've deplatformed or suppressed most of my favorite YouTubers anyway, and they are trying to push a culture that I don't agree with.
I'm getting ads to porn (non-video, I have that blocked). I don't have an account and frequently flush cookies. I just didn't think I'd see the day, especially because they have no way of knowing if I'm older than 18.
Yes, I meant free as in free beer of course. I thought that was fairly obvious.

(If you care about genuinely Free alternatives, they're out there but most people would have to self-host them.)
A Quick Guide on Personalized Marketing Campaigns Powered by Klaviyo
Your argument would be more pervasive if it had any examples.

> You can't legislate every harm out of existence

Says country with highest murder rate among developed nations. (Ok, so not a fair comparison but the political argument is the same).

If there is anything US tech companies have shown us it is that the industry or consumers cannot handle data protection and privacy by themselves. There needs to be a good set of legislation to ensure it. Sure GDPR is a bit invasive and detailed in some areas - but the general idea and the way it works is good. To limit data collection, sharing and processing with rules is good. Unfortunately there are a few shortcomings to the law such as requirement to be explicit and notify about suppliers for data processors, documentation and deletion policies.

> Rather, more measured approaches like education, consumer awareness, encouragement of alternatives, transparency requirements, and enforcement of existing statutes (fraud, personal info, etc) are leaped over.

I can assure you that nothing has done more to educate consumers about data privacy than GDPR. Partly by media focus, but mainly by showing consumers what data they give away to companies by making this explicit. Regarding fraud it also has a positive impact as GDPR specifically requires encryption and other security measures. Companies might have not bothered to fix this before, but with GDPR fines of up to 4% of revenue they surely have.
I do not think it is understood literally by scholars today.

Even with all the knowledge individuals ability has not changed much. We depend on infrastructure, cooperation and specialization. Take them away and life is miserable. Some may replicate fire, shelter, spear, pottery, basket, rope.

This also means people 50000 years ago had same ingenuity. As I understand our difference from chimps is ability to learn in adulthood (eternal childhood) and living in bigger groups. Domesticated version [1], just without floppy ears.

[1] https://journals.plos.org/plosone/article?id=10.1371/journal...
Re using Pyodide outside the Jupyter stack, the documentation has some things about that: https://pyodide.readthedocs.io/en/latest/using_pyodide_from_...

It seems easy to consume from the JS app POV, if you are using the builds from upstream.
I've only used them once, to be able to query some of pgbouncer's "tables" from postgresql. It works like a charm, but I'm not concerned at all with performance with queries such as these.
I've used the original KeePass for a long while but find KeePassXC just more likable. And in general, even the OTP support is brillant.
Why would an infected person ever praise a virus?
We're moving in the direction of apps being a bit like games: a fast native core that's relatively generic and platform specific but available on major platforms, and "scripting" that's cross-platform and specific to the application and use-cases being solved.

If we agree that this is a useful approach to take for developing cross-platform applications, and I think it is for most, are web technologies the best way to achieve this or is there a better alternative?

Web tech has the advantage that when you don't have that "game engine" you can still run in a browser, but with these engines getting better, more storage, more use of app stores, and the fact that these apps are very much that, apps, and not publicly indexable web content, maybe this isn't a useful advantage anymore? Web tech also brings a number of disadvantages, such as a different security model and unnecessary legacy compatibility that holds back modernisation.
Towards an Unhackable Quantum Internet
I like they you have a section about data quality, but because this is only of things listed on their website there's going to be a lot of underlying bias of what was chosen to be listed on the website. There might be some kind of company policy that is driving the big shifts in # listings, brands that are considered good enough to put online, and price.
Excel 4.0 Trojan downloader malware analysis
- the size difference is because KeePass offloads a lot of work to the .Net framework, and in contrast KeePassXC does that same work itself.

- I'm not positive I'm understanding your question, but KeePassXC takes security just as seriously as the original KeePass does

- Yes, you can use KeePass2Android, or any other KeePass compatible software. KeePass and KeePassXC use exactly the same database format
> If it has a task number like "fixes #1402" and you still have access to the issues, that's great.

If. The flip side is that when you don't have the issue tracker (I'm unclear as to whether they deleted it, or it just didn't come along when the product was acquired), it's maddening. "This [massive, opaque] change fixes #123" "...gee, thanks; that tells me loads."

Ask me how I know.
It might be the smoke and not the nicotine.

Lots of non-smoking methods of getting nicotine that may not help.

And lots of ways of breathing in smoke that don’t involve nicotine.
What is "the" native widget toolkit supposed to be?

As far as I see it, it doesn't exist, on any platform. Every operating system has multiple drawing APIs and multiple frameworks that build on them. The HTML engines are just another framework.
Yes, and I blame bureaucracy for making it hard to say no to ineffective ideas. "You mean you want it to be easy for people to steal our content‽" I think the world has a hard problem saying no to ideas because they cost too much. Even if it has a minor effect it must be done!

But there is one real benefit of DRM, cracking it is illegal. Of course my understanding is that they would get the exact same legal protections here if they just XORed every byte with 0x42 so it doesn't justify the spend, user inconvenience and complexity of current DRM systems.
Protestant translations tend to be held by publishers, I believe, with Zondervan being the biggest player, I think. I can't speak too much about how all of that works.

For Catholic translations there's a requirement that a Bishop sign off on the accuracy/suitability of the translation and its accompanying commentary (at the minimum, a Catholic Bible will include references to parallel/related passages in the other parts of the Bible and usually also includes significant additional commentary). The most commonly used Catholic Bible in the US has its copyright held by the US Conference of Catholic Bishops who have published the full text on their website as well as have authorized multiple (20, according to Wikipedia) publishers to produce print editions.
Fact About Your 401k Investing
> Rather, more measured approaches like education, consumer awareness, encouragement of alternatives, transparency requirements, and enforcement of existing statutes (fraud, personal info, etc) are leaped over.

The GDPR didn't come out of nowhere. There is a whole slew of prior legislation, of course (the Data Protection Directive is from the 90s, for instance), which was generally ignored by big players because it was fairly toothless (fines typically at most in the hundreds of thousands, etc). The industry had a _lot_ of warning, over three decades, that it would be regulated if it didn't improve things. It really has only itself to blame.
> My take from your post is that you now see yourself as better than the Hong Kongers you once admired when you were younger. You were never really sympathetic, you just respected HK's wealth, and the power that came with it, until you realized that they no longer have that power. Now that it's been superseded by the mainland, your respect has been replaced with disdain.

This is false. I do not understand why you got this from my post.

Before the 2019 protests happened, I thought highly of Hong Kongers. When the protests started, I still thought highly of Hong Kongers. Only after I've seen evidence of irrationality, of moves that make no sense, of violence against innocent people, did I start to have a bad opinion of those who support secessionism and xenophobia.

> This isn't racism [...] I don't know what the correct word is.

Agreed with this point. Let's call it xenophobia.

> You are ignoring the primary reason HKers are rioting. Upward mobility in HK is hampered despite it being a world-class city with a highly educated populace.

I am not ignoring it, but I will admit that my essay did not make that point clear.

You are completely correct in saying that upward mobility is a big factor. See also this reply in which I explicitly pointed that out: https://news.ycombinator.com/item?id=23769808

The problem with the upward mobility issue is: why do the protesters not talk about this? The upward mobility problem was not caused by Beijing, it's caused by Hong Kong's own elites, whose power was derived from the British system which Beijing did not change. So why protest against Beijing?

Do they think Beijing is the source of all their suffering? Do they think democracy and freedom is a magic pill for all those problems? Why not talk about the actual problems? Why have there been no attempts to address those actual problems together with Beijing?
I went an embarrassingly long time without knowing you could use a second -m flag. I tend to do all my git stuff on the command line. Since I learned this, I have made it a regular habit to add more detailed messages to my commits when necessary. Very helpful when looking back at old history, to remember details or problems I encountered while working on that commit.

I see a lot of people say they always use vim to edit commits, I think I will have to try this out. The -m flags in the terminal have always worked fine for my workflow, so I guess I never really thought about using vim.
paid tier could have multiple projects/more request.

And the ability to add wild cards.

{
"name": *,
"job": "leader"
}
Ask HN: What would you do if you will lose your fingers
So I have been thinking about this for quite a while now. What would you do if you'd lose your fingers (one or more)?

Provided that most of you use their hand to write in front of a computer, that would be a very interesting problem in case somebody for any reason lose the ability to use some fingers.

Not to mention that it would be a problem regardless, but especially for those who are paid for typing in a keyboard
It has been a long time, but I think we struggled most with:

- What is the best architecture to enable this? I think we struggled a lot with wanting to hook on the shell level where the commands are managed, the UI client where the user interface would have to be shown and terminal emulation where it is all key strokes and cursors.

Today I believe that this would really need something like the Language Server Protocol being implemented in bash itself. Today we have bash completion scripts, but still not something as comprehensive as needed.

- How to separate everything into reusable blocks? For instance extracting parameters from man pages, storing as generic config files, whether to offer a DSL for designing the UIs, etc. We did not want to be stuck with one particular terminal, such as KDE's Konsole (for which a student did another prototype [1] in German).

[1] https://www.inf.fu-berlin.de/inst/ag-se/theses/QuintelaGarci...
Not every body who wants to have their own ownership of certain items wants to get into the full scale IT business of maintaining a server.
Does this require a Nvidia GPU? Some modules seem to import PyTorch and Cuda libs: https://github.com/JaidedAI/EasyOCR/blob/master/easyocr/dete...
With no disrespect to SUSE, it's great to see them doing something to stay relevant. Subjectively, it feels like majority of their strategy was to stay somewhat compatible with Red Hat and benefit from a lot of their work.

That's perfectly fine, but doesn't win you a lot of customers. I really want to see SUSE thrive, and this seems like a great move.
Better Meetings with Remote Attendees