Hacker Newsnew | past | comments | ask | show | jobs | submit | kissaprofeetta's commentslogin

Add things like - Shitty climate, darkness for almost half a year and lousy snowless winters as of late. - Dire economic situation, almost 1/5 of population facing the risk of poverty. - Ever increasing cutting of social services, education and everything culture.

Makes you wonder how Finland can be the most content country in the world


I didnt know about the 'dire economic situation' and the '1/5 risk of poverty' could you elaborate on that or have some sources?


r/finland, r/suomi for personal accounts/discussion and just official statistics that get published

This information can be found everywhere at this point


And mandatory conscription and the constant threat of Russian invasion.


Japan has had a ruling party in power almost continously for 70 years. If the ruling party was not friendly to the West, then I bet you it would be called something else than democracy.


    > Japan has had a ruling party in power almost continously for 70 years.
On the surface, this is true. When you look deeper, you will realise that LDP (Liberal Democratic Party) is so large, that it acts as a platform, instead of as a single, monolithic political party. Within the LDP are various factions that win or lose elections and premierships. It is also interesting to compare the Singaporean "democratic" system versus the Japanese one. Very quickly, you will realise that "single ruling party" looks different once you understand the details.


Read: they struck some kind of secret deal or get private data using other means.


Maybe yes? Maybe no? This has been an ongoing situation with the UK and demanding backdoors into US platforms - I’m not convinced them dropping it came down to “striking a secret deal”.


definitely - they already have what they need and this is just a distraction


This is not true. Even though drones are assembled domestically, both sides get components like chips, motors, batteries etc from China.


Most of the drones, sure, but they also have a low-level (a few thousands per month) production of those with almost no China-origin components - only Ukrainian or Western made. They are still pricier than all-China though, at almost $1000 per (night vision) FPV drone able to carry 2kg.

Only really hard-to-replace part is magnets for electric motors.


Thanks for the kinds words and your contributions. :)


Author here. Systray icon is not supported natively, but you can create one with a third party pystray package. Here is an example https://pywebview.flowrl.com/examples/pystray_icon.html


Author here. Yes you are correct with the exception that pywebview predates Tauri by five years.


Author here. I have maintained pywebview for almost ten years, so yeah I would say it is production ready at this point :) New major version brings its own share of bugs, but most of those should have been ironed since 5.0


Author here. Here are top advantages from the top of my head

* pywebview hides its browser nature. Right click, text select, shortcut keys, swipe gestures etc are disabled by default.

* window manipulation functionality. Move, resize, minimize, maximize etc

* native file dialog support. These are more capable than browser's own file dialogs.

* native application menu

* with the new version you can get a full file path on file drag and drop. This is not possible in browser.

* two way Javascript-Python bridge. You can invoke Javascript from Python and Python from Javascript

* If Javascript is not your cup of tea, you can do quite a bit in pure Python.


I really hate it when text select is disabled. Often very useful, e.g. for reporting.


Conversely, it can also be very annoying when you accidentally select some of the UI text and you have to manually deselect it (or maybe you can't deselect it).


Text select is user controlled option for the whole window or you can enable text select for individual elements with CSS.



pywebview (https://github.com/r0x0r/pywebview) is an excellent suggestion and is already being used in NiceGUI to create a native desktop window with "native=True" option (see http://127.0.0.1:8080/documentation#ui_run).


Awesome. Seems like a solid building block.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: