HNHacker News
TopNewBestAskShowJobs

okso

421 karma · joined May 17, 2013

submissionscomments
okso··on .NET 6 is now in Ubuntu 22.04
5) Trust Python because it's driven by a community, not a corporation ?

Same goes for trusting Vue.js instead of React (Meta) and Angular (Google).

okso··on Ask HN: How to make a native GUI with a modern language?
Qt for Python may be an option: https://doc.qt.io/qtforpython/

While the Qt API is imperative (`self.layout.addWidget(self.text)`, ...), focusing on declative Qml whenever possible helps with a more declarative approach.

okso··on Booting Linux in five seconds (2008)
The four steps that take time when booting a Linux system are:

* bios/UEFI

* bootloader (GRUB/...)

* Linux kernel

* service management

bios/UEFI often have settings to reduce the time waiting for user input. Same goes for the bootloader.

You can use `dmesg --boot` to analyze the boot of the Linux kernel.

You can use `systemd-analyze critical-chain` to find out about what slows down the start of the services.

okso··on Ask HN: How do you back up your Android phone?
Nextcloud can watch directories and automatically upload new files created in these.

I use this to sync every photo and video I take immediately, as well as to back up the backups generated daily by Signal.

okso··on It’s hard work to make ordering groceries online so easy
Exactly. The model of delivery would only start to really make sense with A being an autonomous robot. Or if inequalities keep increasing between the rich B and the poor A.
okso··on Take a look at Nomad before jumping on Kubernetes
HCL is JSON compatible, and Nomad can load JSON natively.
okso··on Reloadr – Hot code reloading tool for Python
albertzeyer's example with Notch explains the issue pretty well:

When working on a video game, restarting the game every time you are tweaking the behaviour of an entity takes a lot of time. Hot code reloading while keeping the state of the game makes development much easier.

On the other hand, when the entire state is stored outside of the Python app (eg: a web app using a database), restarting the entire process and reloading the page is fast enough and more reliable.

okso··on Reloadr – Hot code reloading tool for Python
Author here, thank you for all this feedback .

It's great to see I am not the only one interested in this way of coding. I will have a look at all the alternatives your posted about, let's get hot code reloading in Python awesome!

Join the conversation on FOSDEM's Matrix channel tomorrow to discuss the subject further: #python-python_reloading:fosdem.org

okso··on FOSDEM 2021
Most of the discussions will take place using Matrix. This blog article explains more on the topic:

https://matrix.org/blog/2021/01/04/taking-fosdem-online-via-...

okso··on Element (Matrix chat app) suspended from the Google Play Store
Doing this just a week before FOSDEM [1], a very large conference that will run online using Matrix, is scandalous.

https://fosdem.org/2021/

okso··on Threema – Secure and Private Messenger
> I've struggled to get well paid professionals to cough up the €4. There is some mental block beyond 'free', yet these same people decry WA's privacy changes.

For some people the issue is not about the money but about giving it to a vendor-locked platform and have access to the app depend on it. I happily did donations to open-source projects such as MyExpenses [1] and Netguard [2] to support the projects and unlock features. And can still use these now that I went for a mobile with Android but without Google Services/GCM.

[1] https://www.myexpenses.mobi/ [2] https://netguard.me/

okso··on Signal is having technical difficulties
As far as I know, Google and Apple are only used to send Push notifications to users. These are optional, and Signal on Android can be used without Google.

AWS S3 is/was used to share files with other users. It became a standardized API, with many alternatives supporting the protocol, so switching to a different provider or on-premises should not be difficult.

Signal intends to remove the dependency on phone numbers, and therefore Twilio, but this has not be done yet.

okso··on Signal is having technical difficulties
This article from 2018 illustrates the architecture of Signal: https://sorincocorada.ro/signal-messanger-architecture/
okso··on The futuristic cargo ship made of wood
Wood is an interesting material: It is biodegradable and it's production is cheap and captures CO2.
okso··on Firefox 81.0
Suspending tabs would be very useful. I used to suspend tabs in Chrome by freezing the process of the tab (kill -STOP | kill -CONT), but Firefox shares the same process for multiple tabs.

Has anyone tried to implement a "suspend tabs" extension that would pause the debugger ?

okso··on Ask HN: How does your company manage its encryption keys?
We store all keys that do not required automated access on Yubikey with the option that requires a physical touch per use.

Usage includes SSH authentication, file encryption (backups and exchanges), git commit signatures and password/secret storage using `pass`.

Copies of the offline master keys keys are stored on flash in safes onsite and offsite in bank vaults, and sub-keys are valid for one year.

We use Hashicorp's Vault for secrets that require automated access.

okso··on Vue RFC: Expose logic-related component options via function-based APIs instead
One of the best features of Vue 2 is how declarative components are.

The syntax proposed here is much more imperative, making it more difficult to read and understand components.

okso··on I made a smart watch from scratch
Awesome, thanks for the info !
okso··on Do not donate to me (2013)
At the highest level of taxes (>38 080€), in Belgium 100€ would result in a net of:

- ~37€ if the self-employment is not subject to VAT (less than 25.000€ per year as self-employed)

- ~30.7€ if subject to VAT

(100€ / 1.21) [VAT] * (1 - 0.21) [Social contributions] * (1 - 0.53) [Federal tax 50% + local tax 50% * 6%]

okso··on Ask HN: Is there a decentralised alternative to Slack?
Running your own Synapse (backend) and Riot web (frontend) within Docker containers is pretty easy and reliable.
okso··on Ask HN: Is there a decentralised alternative to Slack?
The IRC bridge of Matrix works pretty well.

Weechat is another popular choice, also offers access on mobile via Glowing Bear https://www.glowing-bear.org/

okso··on Ask HN: Is there a decentralised alternative to Slack?
IRC is by designed centralized: A chat room is hosted by exactly one service provider, and that service provider also manages identities and authentication.

The fact that most IRC clients integrate the connection to different servers in the interface does not really make it decentralized.

okso··on Sanic – Python 3.5+ web server that's written to go fast
No support for websockets ?
okso··on UnGoogled Chromium: Chromium with enhanced privacy, control and transparency
Looks interesting but I wouldn't trust a closed source browser.
okso··on Run instant authentication checks on any government issued ID
An Electronic Identification or "eID" is an ID card with a chip on it, that allows operations such as authentication and signing electronic documents.

See Wikipedia for more info: https://en.wikipedia.org/wiki/Electronic_identification

okso··on Run instant authentication checks on any government issued ID
Sending photos of government issued IDs to third parties looks like a very dangerous approach to the problem.

These photos could be stolen and reused for fraud and identity theft.

Electronic IDs provide a much safer and more reliable way to check the identity of a user. Eg: every citizen in Belgium can authenticate HTTPS connections with his ID card.

okso··on Containers vs. Config Management
I understand the point about Ansible being hard to read, I find SaltStack much more decent regarding syntax, or PyInfra regarding new kids in the game.

Regarding building Dockerfiles using bash scripts or Ruby, I find the concept interesting but using 'scripts' feels wrong. Building a 'standard' library to generate Dockerfiles on the other hand might be an interesting project that would allow collaboration.

okso··on Containers vs. Config Management
When facing this duality a few years ago, I had to look at the facts that encourage Config Management in favour of a Dockerfile approach:

* Dockerfiles do not work for configuring host systems, only Cfg Management is applicable

* Configuration management systems usually have a very declarative approach, easier to extend and maintain that Dockerfiles and bash scripts

* Dockerfiles contain too many arbitrary choices that do not work for everyone, starting with the choice of the distribution and OS version: companies like standardizing around one distribution and would have to fork Dockerfiles based on other systems, every single time.

The best solution I see at the moment is to use setup containers using configuration management.

okso··on Ubuntu 16.04's new Snap format is a security risk
The title of the article is completely misleading. Snaps are described as more secure than apt in that article.
okso··on MAPS.ME users now can edit OpenStreetMap by themselves
OsmAnd is a great project, but the rendering performances are awful, even on high-end devices.
← PreviousPage 2 of 4Next →