HNHacker News
TopNewBestAskShowJobs

istoica

550 karma · joined October 27, 2014

submissionscomments
istoica··on Show HN: Container Desktop – Podman Desktop Companion
unfortunately this is because I cant afford to digitally sing mac apps, there is a trick to make it work in the USAGE.md but it is up to you. 200 euros per year for a pro bono project is ridiculous, you can also easily build your own dmg file from the sources as it is an open source project in the end.
istoica··on Show HN: Container Desktop – Podman Desktop Companion
It was the same issue, solved for mac also.
istoica··on Show HN: Container Desktop – Podman Desktop Companion
Incus looks promising, see here https://linuxcontainers.org/incus

As for systemd, podman is amazing https://docs.redhat.com/en/documentation/red_hat_enterprise_...

istoica··on Show HN: Container Desktop – Podman Desktop Companion
Yes, get it from Microsoft Store, it is digitally signed, autoupdates and offers you the best windows experience.
istoica··on Show HN: Container Desktop – Podman Desktop Companion
Author: It isn’t, if you are a power user, the podman client should provide all you need. It also supports docker too. The difference is that this is a GUI, like Docker Desktop, but unlike it, batteries are not included. I dont dislike DD, but to each their own.
istoica··on Show HN: Container Desktop – Podman Desktop Companion
Author of the project here, yes! - electron done well is amazing, try to write a cross platform gui app in a RAD way these days with other tech. I am experienced in flutter too and would still stick to the curent stack. Maybe one day when text engine is better in flutter i would port it. You cant be that cross platform, cross os, cross arch with anything better than electron these days. Electron done well shouldn’t create any problems.
istoica··on Show HN: Container Desktop – Podman Desktop Companion
I like TUIs a lot too, they work great for remote connections and just feel good. I even mention one in the Readme of the repo, maybe some could create an awesome tui tools type of page for container management UIs
istoica··on Show HN: Container Desktop – Podman Desktop Companion
Creating some tickets would help improve what you find problematic. I understand your frustration, you would want it to just work , but life isn’t always how we want it to be either. It is a free and open source project, no hidden goals, driven only by passion and love for tech.
istoica··on Show HN: Container Desktop – Podman Desktop Companion
It is what I am using, so by default, yes!
istoica··on Show HN: Container Desktop – Podman Desktop Companion
Thanks, just released 5.2.4 to address the flatpak issue you mention above. I am sorry for that, it is extremely hard to support so many formats on linux.

I am documenting myself as much as I can to be able to publish to flatpak hub, but there is a lot to get to do it properly.

istoica··on Docker Desktop Alternative
Colima offers the best experience for docker alternative. LIMA offers the equivalent of WSL, where both docker and podman are supported. I like LIMA a lot as I deal with both, but COLIMA rocks for simplicity. I think COLIMA + Container Desktop are perfect replacement on mac for traditional Docker Desktop users.
istoica··on Show HN: Container Desktop – Podman Desktop Companion
Kubernetes is planned - my devops wants me to add it badly!

Author note - Most of you guys here are power users, for whom UI is a visual poem that you need or not. This is not a commercial project, it is not following any business goals. But this does not mean concessions to quality, it does try to offer minimal resource usage everywhere, easy experience, good UI/UX.

It explains all it does behind the scenes if you enable the developer console. It can help one learn so at a certain moment one understands and automates with scripts and specs.

But everyone these days is either seen as too smart or too dumb, I don't consider users like this. I know everyone started somewhere and a gradual learning experience is the best.

I broke so many radios and toys when I was a kid and I learned so much, by looking at what was is inside.

It is a project done by one dude, after work and when it rains outside (In Belgium it rains a lot).

istoica··on Podman Desktop Companion
See https://iongion.github.io/podman-desktop-companion and latest release https://github.com/iongion/podman-desktop-companion/releases...
istoica··on Lazarus – Professional Free Pascal Rad IDE
Highly invested in Electron, but I love Lazarus. I find it unmatched in what means developing cross-platform native apps, I only wish more people would know about it and use it, popularize, make noise, contribute.

The maintainers are absolutely awesome guys, the helpful and kind type.

istoica··on Podman Desktop Companion GUI – Parity on All Major Operating Systems
Solved in 4.0.3-rc.3
istoica··on Podman Desktop Companion GUI – Parity on All Major Operating Systems
This release features

- First binary for Windows, all due to amazing work of podman team

- https://github.com/containers/podman/releases/tag/v4.0.3

- First test flatpak image

- Binaries for ARM

- On Linux, easily switching between native podman and podman machine based setups

- Easily identify where settings are stored

- Debug panel and log level control to know everything that is happening

- Optimization of settings screen

- Toggle for automatically starting the podman service

istoica··on LXC vs. Docker
The perfect pair

Containerfile vs Dockerfile - Infra as code

podman vs docker - https://podman.io

podman desktop companion (author here) vs docker desktop ui - https://iongion.github.io/podman-desktop-companion

podman-compose vs docker-compose = there should be no vs here, docker-compose itself can use podman socket for connection OOB as APIs are compatible, but an alternative worth exploring nevertheless.

Things are improving at a very fast pace, the aim is to go way beyond parity, give it a chance, you might enjoy it. There is continuous active work that is enabling real choice and choice is always good, pushing everyone up.

istoica··on Podman Desktop Companion GUI
Cross-platform desktop application with familiar and consistent UI
istoica··on Thinking in React Hooks
Is there a way to trigger something after state changes ? In the class based components, setState has a second argument that gets triggered after state has updated.

This is nowhere to be found in the hooks approach, without using flags and other strange constructs.

Where is it gone ?

istoica··on Frustrations with React Hooks
How are your functions pure if inside them you call `useEffect`, `useState` ? Where is pureness when at first look they generate side effects, or am I missing something ?
istoica··on Ask HN: What are you learning in 2019?
Is there a gradual path on learning Unity ? I mean, what is it ? A visual editor of 3D worlds, but not Blender / 3D Max, together with code editor and C# ?

It looks more like Adobe/Macromedia Flash as IDE, used to like that very much back in the days, till flash died due to plugin need / proprietary / security.

Would still prefer to ship an app in a single file, that progressively streams, just as SWF used to do. Now, in the web area, all is utter crap, one billion files to download, CDNs, fallbacks, signatures.... argh!

Heck, would choose VB or Delphi as IDE for building apps in no time against all this React / Angular / WebComponents tech salad with no substance and ephemeral lifespan.

I am still able to compile pascal code from 1997 in Lazarus / FPC.

istoica··on Ask HN: What are you learning in 2019?
Using OSX on a laptop, Linux at work and Windows while playing. Tempted switching back to Windows now because of WSL.

Using gstreamer, creating gstreamer custom filters, performing graph changes on the fly. Awesome and a joy.

WebAssembly as target(compiling C stuff with emscripten and then enjoying it in the browser).

Playing Stracraft II, high impact of rapid decisions, dealing with complexity as some kind of reflex. Started one year ago, never waste more than 15-20 minutes. I am more focused at work, keeping myself in the zone for longer periods.

Not necessary tech, but being more tolerant towards people in industry not driven by passion, but by salary and day to day life chores.

istoica··on Ubuntu now available from the Windows store
This, this on so many levels! But this issue affects VMs too, the shared folders are always mounted with strange permissions, this is propagated to Docker too so Docker XP on Windows, in any configuration is seriously affected by the NTFS, put simply, awful. For developers this is critical. I don't know, maybe a software layer on top of NTFS permission might be able to emulate Posix style perms. The difference between Windows and Unix is too big compared to OSX, that is why OSX will always be more ergonomic.

But this does not mean that it is not to be appreciated, they did an awesome job. Maybe one day things will be solved, maybe you will be able to start native windows apps from UOW, maybe even Docker will be supported, maybe permissions will be cleverly emulated ... the work they did so far clearly focuses on getting things running, the QA period will be there soon too.

istoica··on AMD Prepares 32-Core Naples CPUs for 1P and 2P Servers: Coming in Q2
Why should it be dropped ? Isn't it just a hash function ?
istoica··on Announcing Pipenv
As you pasted-it, it does not accomplish venv:

  - you still need to change PYTHON_PATH to recognize libs from `libs`
  - packages have bin scripts sometimes that most likely, will be needed by the project
A more proper command: - pip install -t ./libs --install-option="--install-scripts=./bin"

But still, does not solve the PYTHON PATH issue, it won't be solvable because all python cli tools and all scripts in ./bin must be aware of PYTHON_PATH including ./libs

This is what venv does and pip alone cannot easily solve, replicating an entire python environment that is aware of project local pip packages

istoica··on Announcing Pipenv
Finally someones does it! I was using: pip -t .pip in my code, avoiding virtual-env completely, but that was not enough and incomplete.

As this is not cross platform and it would be nice to switch between Linux/Windows while coding to maintain platform compatibility, can the virtualenv envs be created with a os platform & subsystem prefix ? for example, having multiple envs at once:

  - env/posix/bin/activate
  - env/nt/Scripts/activate.bat
istoica··on Nootropics
This is really interesting, I have hard time dealing with sleep since moving abroad, break-up, far from family, isolated small city. Before I could bet with someone that I can fall asleep in less that 5 minutes.

Now, I've done it all and nothing seem to help:

  - tried medicine(benzodiazepam family, ugly stuff, addictive, stopped after just 1 week, fuck the doctor that prescribed this)
  - tried removing everything with a lot of caffeine, everything in the vegetable world has it, impossible to eliminate, but no more: coffee, tea, sugary drinks
  - adapter water drinking to maximum needed
  - running 15 minutes HIIT style(4 minutes at 12.5 km/h, 1 minute 16 km/h, repeat)
  - weightlifting for the rest 45 minutes - every day session
  - meditation (stoping the mind, have a single thought, mandalas, matras, yantras ...)
  - no lcd, led light before 23:00, no more tv before bed
  - went back to the doctor, best clinic for this in Europe... got prescribed mirtazapine, anti-depresant, helps but the side effects are weired and dehumanizing(taking 1/4 of 30 mg pill, far below the reference amount that they say it has any effect)
  - sleep settled to 5 h / d, not bad, but not perfect
  - mirtazapine gave me a very long face in the morning, looking destroyed, feeling rested and calm, but face dropped, looking like droopy dog
  - went back to doctor, started CBT, bought books on CBT, personal opinion: pile of crap(and I was very opened to them)                    
  - f**k the doctor again(I trust doctors, not this one), he asked me money and go to have treatment at home, told me I am normal, not like the people in the waiting room
  - tried melantonin, calming teas, etc etc, bullshit, money wates
  - made a girlfriend, sex helps, but when you have it until 03:00 AM due to "crazy" girlfriend, prefer the pills
  - broke up, back to 5 h sleep
  - back to doctor
  - recommended me THC, a liquid version, helped a bit but too expensive
  - started smoking weed, cheaper, fuck lungs, need to sleep
  - helped a lot for the first months until I became addicted without noticing(addiction is not easy to describe, that is why everybody seems to share a different opinion, bullshit, you become addicted of smoking to be normal, not for the high)
  - had to unlearn the weed, waves of heat and cold and sleepless nights followed, catastrophic, need my freedom back, even with 4-5 h of sleep, don't want to depend on anything foreign of my body
  - went back home, slept like a rock for the first days, next days awful, unstoppable mind
  - back to computer programming until I get tired
  - back to reading books until I collapse into sleep
  - I collapse but then I wake up at 03:00 am if I start sleeping at 01:00
  - change bed place/orientation(mythology of European people), helped a bit, but don't know if it is real or wishful thinking
Effects(personal) of lack of sleep over cognition:

  - my mind still solves complex problems(I am a programmer), but the speed lacks to be desired
  - entering the zone is almost impossible
  - my hands feel like they have 3 tons when I lift them from desk
  - I still love what I am doing
  - If I find a challenge that is impossible to solve in one day work I get a bad mood
  - bad mood gets solved upon second day
Even with all these, I still love life at maximum, would want to achieve and do more, but not whatever the costs, not becoming addicted of foreign stuff!

Guys, be grateful for your lives and go out and speak with people, one day this magic substance might be found, but I am more convinced that it will come from machine/human merger that from substances. Good or bad, that is the most likely future.

istoica··on Turkish Citizenship Database Leaked
Not only there, in other countries in Europe too, in Romania they are prosecuting the boss of the biggest software company we have, he has to sell his paintings and artwork for not being arrested(bail).

The usual opinion is that they all got rich with state contracts building stupid and expensive things that young kids would do in no time for nothing.

As a government agency, of course one would not prefer to hire kids, but these countries, they have good IT persons, they have universities that are struggling with funds and finance(as education is for free there and state universities are way beyond the private factories of diplomas that are known as private universities).

Instead of throwing that money, they could have helped education and develop infrastructure in the same time. Nobody has bloody consciousness any more!

istoica··on NPM Package Hijacking From the Hijacker's Perspective
yes, it basically means this and it is not about npm in itself, it can also be gem, a pod, a jar ... basically what he highlights is that there is a lot of trust in these days in the open source repositories towards non-certified/verified contributors. There are others that already found the secure ways, such as the Linux kernel developers. I as a non developer, compared to them, in the web world, I put a lot of trust in the other, with almost no idea what/who he is, mostly a basic read of his username/github profile. And npm architecture, the "ultimate" code reuse repository, due to "there's an npm for sum(a,b)" that they so madly promote, it is extremely sensitive to exactly these types of maliciousness. Maybe npm will start to introduce policies, boards, advisers, commissions, really start to act professionally as it should, maybe this will work, but up to a point, in the end, it is the dev's problem to use the proper shit, and have some basic "wash your hands before you eat" type of rules: - use as little dependencies as possible, it will byte you later, it has been proven, don't head this road, fuck it! - ensure a back-up for that stuff, use a FTP account if you still are in that era, put them on S3 or even Dropbox, it is modern times, you have the means. - when you finally decide on one, check a little bit its usage rate, its latest commit date, its main, contributors, its image, yes, be shallow, look at the clothes, it must look good to the eye too. Ensure at least the dev tried its best in his available time there, get involved, read the number of users, the magic stars, the votes, the ratings, the songs, the novels, the books. Have a problem, not in the github issues, a functionality change, well, don't just beg for it opening a new bloody issue, fork the stuff, fork it hard and add your new magic trick and then create PR for yourself to shin and let others handle it from where you left. Be wise, improve yourself, be polite, be nice, look at the dependency's dependencies too, if they are shady, fuck it! roll your own! - most of the programmers these days, especially web ones, tend to rush to solution with their new agile/kanban/shalmban methodologies, their golden paths to success and ideologies, without taking time to do some housekeeping, I also do not blame, sometimes it really is without actually HAVING any time at all because the Scrum Master 5000 expect deliveries, solutions, not problems - I am a human, I live, I eat, I sleep - I do not have time for your shit, if you want it fast like that and don't accept my own timeline after presenting it to you 100 times in every daily stand-up shit, then fuck-it - no housekeeping, I go shady I start a dance with the wolves! - there is something rotten in Denmark with this "there's a start-up for every shit" mentality from which everything flows

Enjoy life!

istoica··on Riot – A React-like, 2.5K user interface library
yes man, this abstraction is horror, I hope mithril adheres to something else for declarative tasks a the one above
Page 1 of 2Next →