skysight-inc/HackerNews huggingface dataset:
I have done it several time professionally (Motif, Qt3, GTK, etc, but not wx) to QtWidgets or QtQuick. It's been a while and I pivoted to other industries.

It's a potential project killer, but it can be done. The trick is to wrap all your objects in QObject classes. You keep the old UI code as-is as long as possible.

The first Jedi mind trick is to reverse the event loop. Qt supports GLib2 loops, but only as long as they are created by Qt. So you create a dummy QCoreApplication, start the event loop. Then you coerce GTK into using the glib event loop Qt created.

After that, you populate your QObjects I mentionned above. The `Q_PROPERTY` stuff is the important part. It *has* to be fully implemented for QML to ever work. For Qt5, you need to use Qt containers. This means porting your lists and other C++ types (or glib types) to Qt. For Qt6, I think you can get away with some of that, but not Qt5.

Then, make all the signals work. It is important that all properties have signals. The signals must be reliable. QML heavily relies on events for literally everything. Without events, your UX gets out of sync and crash.

The next part is models. Turn all list with selections to models. Don't try to render stuff using for-loops in QML, this is a terrible idea and will explode in your face. Qt Models are annoying to write (and get repetitive very fast), but reliable list models really greatly simplify the QML code.

When you have all those QObject to reflect your current codebase, you make a companion app. This is a small window (or LAN/Network smartphone UI using QtRemoteObjects).

Now you are ready for the UI. Add little features, one by one. Don't try to do everything at once. Again, as long as you can, keep the wx/GTK window alive and fully functional. Your app will look wierd with 1 wx window and 1 QtQuick window. However, having the fully functional old UI let you press buttons there and see the results being updated in QML. That let you polish/debug your signal/q_property code step by step.

Once you are "done" with your port, strip the UI code from the old codebase. Then refactor/clean the logic and turn it into a library. Then start merging your QObject shims and logic classes into a single class.

If you get there, congradulation, your port is complete. Time to annoy your users with a bunch of changes.
Have you tried Joplin? I switched to it and have been loving it. Planning on launching a backup service for it this week actually (Backups +/- encryption to OneDrive, Dropbox, AWS S3 and WebDAV support are all built in):

https://joplinapp.org/
Your school experience mostly depends on who your peers are, not on the official policies of the school. The adults control only superficial 10 % of the situation, the rest is upon the kids, with a possible punishment afterwards, if some boundaries are visibly and publicly crossed.

People describing their school lives in modern Western countries will tell you completely different stories. From almost idyllic to hells of abuse (even sexual) and bullying that made them consider suicide before the age of twelve.

If we judge schools by the average, they are much better than the Spartan agoge, but if we judge them by the worst ones, I am not sure if it is still the case.
I think this is right. I remember in various art history courses certain pieces were described as causing a huge uproar not only in the art world but within the general public of its era. I’d sit there wondering just how or why, not fully appreciating the context of the time it was made.

I think this “piece” if you will follows that. It’s super controversial because of what it claims as fine art - an NFT of crude imagery in meme form valued at ungodly sums of crypto currency during these days when a large part of the population is desperate for stimulus checks. (Talk about the current human condition in the era of hypermodernity!)

It’s genius. I could also be blowing smoke up my own ass.

I don’t “get it” like I think people 50 years from now will (when the conventional wisdom is it was a radical departure that opened new ground in the stagnant art world
- the first hypermodern masterpiece, or whatever the tastemakers of the time decree) but that gives me the advantage, living through it, of seeing this as something completely preposterous, absurd, and “not art!”.

The NFT art movement in general makes you think about what art means and as much as other art movements from worlds ago did to the people of that time.

The content quality of the imagery hardly matters. Sort of. It’s crude, political, cheap, unaffordable, and outrageously offensive to some.

It is us in this time and we hate to see it.
Finding a way to budget during university
I often found during university it was difficult to maintain a predictable budget, considering working summer breaks and being cash strapped during semester.I thought i'd map out a flow to allow students like myself the method to do budgeting for future purchases. Would be happy to hear some feedback.
Agathos reminds me, nimrod in English used to mean a mighty hunter and after Looney Toons used it sarcastically to make fun of Elmer Fudd now means dimwit.
Try moo.do
At least for Bitcoin, don't miners effectively control consensus? And they're less concerned with you using Bitcoin to store wealth and more concerned with recovering the cost of their single-purpose hardware. Your interests are actually less aligned with the people running than Bitcoin show than with central banks.
Thanks, I read up on the democracy claim, and I was very surprised. Today I learnt something new.
>the content of the art isn't important

But art critics have started to analyze it, so who knows.
A curated list of .NET performance resources
Noam Chomsky has a good quote about this.

"Now that … workers are superfluous, what do you do with them? First of all, you have to make sure they don’t notice that society is unfair and try to change that, and the best way to distract them is to get them to hate and fear one another."

The "us vs them"ing that's been happening here for the past several decades is more than concerning, it's shocking. The number of times per year that a Congressperson will side with the opposite party during a vote has been shrinking like a cannonball for decades, and it's so limited now it almost doesn't exist. In the 60s, this wasn't the case; voting with the opposite side on certain things was fairly common. There is no way that is not directed and intentional.

And the issues we are getting wrapped up in emotionally are either 1) focused on fear or 2) 'religious' issues for which we will almost never have common agreement, but which are not of actual vital importance at a national level.
I wish Java had something similar to Properties in Delphi.

http://docwiki.embarcadero.com/RADStudio/Sydney/en/Propertie...

You can have Get and Set methods for properties or even allow direct access to the variable itself.

type
TCompass = class(TControl)
private
FHeading: THeading;
procedure SetHeading(Value: THeading);
published
property Heading: THeading read FHeading write SetHeading;
...
end;

Also, properties can be indexed.

type
TRectangle = class
private
FCoordinates: array[0..3] of Longint;
function GetCoordinate(Index: Integer): Longint;
procedure SetCoordinate(Index: Integer; Value: Longint);
public
property Left: Longint index 0 read GetCoordinate
write SetCoordinate;
property Top: Longint index 1 read GetCoordinate
write SetCoordinate;
property Right: Longint index 2 read GetCoordinate
write SetCoordinate;
property Bottom: Longint index 3 read GetCoordinate
write SetCoordinate;
property Coordinates[Index: Integer]: Longint
read GetCoordinate
write SetCoordinate;
...
end;

Properties can also have "property pages" which can show specific user interfaces for viewing/setting these properties.

https://www.delphipower.xyz/guide_8/adding_a_property_page.h...

I have yet to see anything of this sophistication in Java or for that matter in any other component framework.
OVH Restoration Update
Hey, curious. What exactly do you use from Open Project?

Would love to hear a better definition of "heavy". :)
In Australia, public schools consistently outperform private schools, despite having less money.

If you want to spend thousands to send your child to a private school, so that they get a mediocre, spoon fed education, with superfluous 'perks' that don't help their development, and surrounded by rich kids who's privilege will rub off on them, that's fine by me. But the only goof justification is if you don't have a good public school as an alternative. Otherwise you're wasting your money.
An editor which is able to do meaningful semantic analysis of code which contains errors.
This might be a scheme to increase taxation on bitcoin revenue.

Besides being a revenue source based on volatility and scarcity, bitcoin's real value is being a tax free wealth exchange between people and generations.

Bitcoin has been following internet's, especially start-up scene's trajectory. Like internet, Bitcoin started as a technological adventure and garnered the attention of first movers. Those first movers gained a lot of wealth through bitcoin and general population got interested. The surge in interest created a bubble. We are riding that bubble.

Bank of America's research shows that we passed the monopolization stage. Report mentions "About 95% of Bitcoin is controlled by just 2.4% of the accounts, and distribution is heavily skewed towards the largest accounts." There might be a burst, and bitcoin might not survive that.

I believe, the NFT and DeFi are projects to keep the bubble going, or create some value after the burst so like internet companies, the bitcoin sector can recover.

In its current situation, I don't believe the bitcoin can recover from a burst, but I would love to hear differing opinions especially from people who understand finance.
The critique is calling the art bad and sometimes mysoginistic. It is not, in any way, calling for the artist to be canceled.

And yes, art can be racist or misogynistic or problematic in other ways. There's nothing wrong with calling it that. Or do you think it's cancel culture to call "Birth of a Nation" racist?
I tried it as a self hosted alternative to Trello for Kanban. It’s got a ton of features compared to Trello and updating things and moving cards is quite slow.
I still have one of these someplace in a drawer. Maemo was pretty nice, but the UX was all over the place sometimes and it became tedious to click through some menus with the stylus.

Running a browser on it was doable, but the bit that really became a blocker for me was the lack of a fast, simple e-mail client (even non-touch screen Blackberries were better, and had slightly better keyboards).
That's great if you App is compute bound. "May all your Processes be compute bound." Back in the real world most of the time your Process will be io bound. I think that's the real innovation of the M1 chip.
Yes that's common knowledge. So what?
So you don't need to put your trust into all the people that have or could gain write access to their databases?
> Why are so many commenters just making false knee-jerk claims without paying attention to well established science?

I can't find any of this "well established science". Kindly link a primary source.
>It’s become the preferred platform for men who can’t work in diverse environments without getting calls from HR.

Nice subtle slander. I think it's not so much about "diverse environments" than about the forced politicization and thought-policing of the work-environment and higher valuation of some "correct" skin-tone and gender over merits.
A small tangent, I don't get NFTs, what's stopping me from creating a new NFT with beeples image, or if there is hashing involved with beeples image and a couple of pixels changed?
People tend to worship warriors when they themselves feel powerless or threatened by an outside enemy.

Contemporary Europe has a lot of unrest in close proximity (Niger, Syria, Nagorno-Karabakh, Ukraine) and mass movements of people. Mr. Erdogan ruling the same Asia Minor where Persian armies once came from* is very clearly not our friend nor good neighbour. At the same time, most European militaries are chronically underinvested.

That will lead some to escapism and search for possible heroes, which isn't really history, but mythology.

* I know that the bulk of Persian empire was further east, but Asia Minor was still the staging region for invasions into Europe. Logically so, the geography is clear.
It means it in pretty much all of the world including, say, Australia.

Frankness be, it makes one wonder how one country can so often develop different political terminology from the standard in about the entire world. A similar situation is that in the U.S.A., blue has become the color of left wing politics, and red for right wing politics, a fairly recent symbolism dating back less than two decades, whereas for centuries in the entire world it has been opposite.

How could U.S.A. news stations possibly have decided upon this? it seems to me that the news editors that approved this must have been largely ignorant of this symbolism when they decided to go against the rest of the world here, and so was the population, which must mean that they weren't aware that dating to the French revolution, the left has flown red, and the right has flown blue.

The cold war is a fairly recent event; surely they noticed that the communists took red as their color of choice?
What the Shipping Container Shortage Reveals About US-China Trade
I tried a bunch of selfhosted alternatives to Trello a few months back and never registered OpenProject as an option.

I mainly used this list https://github.com/awesome-selfhosted/awesome-selfhosted#tas...

I did focus on "Task management/To-do lists", while OpenProject is listed under the "Project Management" section. This is likely why I missed it as I've been looking for something clean and simple (not JIRA) that is more akin to the earlier versions of Trello (rather than the feature bloated whale it has now become).

Looking at it now and to be honest it doesn't quite look like what I'm looking for when looking for a Trello alternative, I just want cards on a board I can move around (with a bit of metadata)
Might be worth noting that Amy Castor seems to have a pretty strong anti-crypto bias in general, though that of course doesn't necessarily mean what she has written here is counter-factual, but she does seem to have an agenda.
Explain please. What does the M1 do to IO loads?
> Nevertheless, this was a huge change, and we decided it was too risky to include many other changes we wanted to make at the same time – so 3.0.0 is almost entirely about this big format change.

I just absolutely love this sentiment! It gives me so much faith in their organisation.
I've been reading your comment for a while now and I honestly can't think of a reason progressives would be against single parent fathers.

Is it because he needs a egg from a woman?

I must be missing something.
Big fan of Vega as well. I whipped up this graph[1] in about two weeks without knowing any Vega beforehand.

[1] https://cryptomarketdepth.com/#graph

> Being in JSON is also a restrictive though, because it is less interpretable by unstructured bots, where charts.css probably excels by design.

What do you mean by this?
Yes, that was where I'd got that from, thank you for the correction.
"The warming" we're currently experiencing is not natural. That we're coming out of an ice age doesn't matter for the warming we've been experiencing in the last hundred years.
Okonjo-Iweala Seeks Revamp of Safe Schools Initiative
Maybe the time is hashing your password. This is designed to take as long as it can while still being reasonable. 1 second on a fast machine isn't unheard of.
Lifestyle businesses are something demonic in the valley
And why should the home I paid for be auctioned by the government? How is that fair for anyone but the wealthy? You're saying that only the rich can stay in one place, everyone else has to move to the middle of no where or risk losing it all to said rich folk who will buy my property at auction by the government.

Seems silly to me.
"You are what you eat"
comes to mind
Thanks! I guess an example would be really cool, give the amount of FE devs who already use React.
Why assume it is harmful to their digestion? If I can eat beans without getting the discomfort of gas, I probably eat more beans. Article indicates they grow to healthy weight, the beef/dairy doesn't taste different. Sounds like they designed the bovine version of GasX.

That's science. Sounds like good work. Hopefully they can overcome the seaweed cultivation obstacle mentioned.
I would be wary of using gettimeofday to measure such short periods. As https://pubs.opengroup.org/onlinepubs/009604599/functions/ge... says, the resolution of the system clock is unspecified, and 20,000 × ≈10 ≈ 200k instructions easily run in under a millisecond on modern hardware.

The benchmark probably get rids of that by doing it 40,000 times in quick succession, but why not measure the time of all 40,000 iterations in one go, and decrease the risk (and the overhead of calling gettimeofday 39,999 times)?
there are ton of successful business outside of silicon valley but Wonder kids like Mark Zuckerberg (Facebook) make better headline to sell news.
I would be surprised if it doesn't integrate natively with Mattermost, given that it's made by the same company.
Big +1 to this. I was a big n900 fan who ended up getting a job a Nokia through some of the OSS stuff I made for it and your diagnosis of the “Qt for Symbian” problem is 100% spot on. The amount of time/effort that they put on Symbian past 2009 is ridiculous... classic case of the fallacy of sunken cost.
> SIAM (applied math) does not for instance.

What? I have papers there and they insisted on latex.

https://www.siam.org/publications/journals/siam-journal-on-m...

> Authors of accepted papers must submit TeX files to SIAM for typesetting. Authors are highly encouraged to prepare their papers using SIAM's standard LaTeX 2e macros. Note that the SIAM office will format Plain TeX and AMSTeX files to LaTeX 2e. The LaTeX 2e macro package and documentation are available here or by email request.
Thank you for sharing. Just because the authorization was not taken, insurance denies the claim for all 147 days!! Just too painful to navigate these processes.
All bitcoins are publicly held.
I understand that you are correcting some assertions, but the way you did questioned the scientific competence of other contributors is reducing the value of the entire sentence you were replying to. You are throwing out the baby with the bath water. The key message I wanted to stress, with additional contributions to the discussion, is that we have to be concerned. If you agree with me on this I'm fine. Unfortunately however your corrections suffered the same problem of the ones you were correcting. In particular I do not agree with you on these two sentences: "Climate change is not predicted to exterminate humans." It is. It's not predicted to make Homo sapiens sapiens extinct, like you probably meant, but many humans can be exterminated by repentine climate changes (think to famine, wars, drought). "This melting cycle was happening before the industrial revolution and was not created by humans." Human-made contributions are perturbing the cyclicity, to an extent that can lead to a non-cyclical patterns.
> It is not, in any way, calling for the artist to be canceled.

Please. "I'm not saying we should do something about it, but oh my gosh, look how offensive it is".
Which makes rendering text extremely simple.

It's a fun meme to blame Electron for everything but the problems with Notion are obviously with its state and data management. Booting/rendering performance is not the bottleneck here, and having used lightning fast Electron apps, I'm sure it never will be.

Put differently: what measurements do you have of the performance issues of Notion and is Electron performance the root problem of them?
+ Read something unrelated to your usual work.
Dell's new 24“ monitor has the USB-C hub in the screen. Clever
I fondly remember accidentally deleting around half of a warehouse's bulk inventory once during a previous job; I was trying to wipe out test data from a test database, and stupid Azure Data Studio was showing the IP address of the test DB server in the status bar even though the active tab was using a prod connection.

Luckily we were pulling full snapshots of the relevant tables into CSV exports (for ingestion into Redshift for reporting), so it was just a matter of grabbing the most recent of those, reinserting the data, and having some of the warehouse workers do some cycle counts to spot check. Still was a nerve-wracking and awkward conversation with my boss, though, lol
Fair point. And there is a difference also between one bat and a thousand bats clicking at the same time in a colony and overlapping the calls. Either the singing is perfectly synchronised or those 0,2MHz would be higher. If the claimed effect is real then, hypothetically, the bigger the colony the less virus that we should find on it.

This may happen or not. I don't have this data. Nobody studied it still from this point of view (If I'm not wrong).
Ask HN: Best Documentation for APIs, Products and Standards?
What do you consider to be some of the best examples of technical/product documentation on the Internet, and why?

It could be for an API, a standard, a spec, a licence, a product, release notes for a new version, changelog, whatever :)
Those are exchange accounts that hold BTC for many people
Africans Mourn Death of Tanzania’s President John Magufuli
Avoiding USDT won’t help you. A tremendous piece of the current BTC price is fueled by USDT because its currently trades at 1:1 with the USD. This then provides the leg to every other stablecoin and fiat currency.

But if you take that away, the whole party stops. Exchanges can’t afford BTC sub $10k anymore. There is no hiding from Tether. They have co-opted the system.
I wonder what is the proper way to view an ancient civilization in our modern perspective, because directly comparing ancient societies with even the worst modern society may actually, on net, favor the bad modern society.

Humanity seems to have progressively improved in the treatment of the underclass (e.g., slavery, poverty) such that direct comparison of any ancient society using our modern standards will conclude that ancient societies have nothing from which we can apply to our culture.

I feel there is some wisdom to be gleaned from ancient societies, but at the same time these societies practiced customs that would be abhorrent to most societies today.
As a musician one has to reconcile with the difference between the magic of emotional response and the utility of that.
The bigger that utility the more the people who make money from it will pay you.
In this day and age it’s the streaming and the Crowd.

It has always been like this but I think the gap is bigger now.
I can’t be the only one who knew about beeple before this. And I enjoy his art.
No, you nailed it, 0 or more transactions. Power is not directly tied to transactions as a result.

Edit: in case you’re still struggling: mining yields the block subsidy reward. That is its primary function.
Chromecast still requires another device to send the video to it. Using a media serving device like a pi can mean you avoid tying up another device and the whole solution winds up being just like any other media system attached to your TV. Remote control, and interface.
> It is not, in any way, calling for the artist to be canceled.

Not explicitly, no. But it seems to me to follow the well known pattern of "hey, look, I've found something damning buried among X's old stuff".

Yes, art can be racist, it's just not the metre you use to judge it.
Great list thanks.