Better HN
topnewbestaskshowjobs
Log inSign up

kissaprofeetta

58 karma · joined Feb 20, 2020 (6y ago) · 14 submissions

Submissions

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

4.

Show HN: pywebview 6 is out(pywebview.flowrl.com ↗)

3 points · by kissaprofeetta · 1y ago · discuss

comment 1y ago · link · parent

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Thanks for the kinds words and your contributions. :)

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

12.

Show HN: Pywebview 5(pywebview.flowrl.com ↗)

126 points · by kissaprofeetta · 2y ago · 33 comments

comment 3y ago · link · parent

Check https://github.com/r0x0r/pywebview

14.

Build GUI applications with Python and React. A simple boilerplate(github.com ↗)

3 points · by kissaprofeetta · 6y ago · discuss