Better HN
topnewbestaskshowjobs
Log inSign up

devxpy

515 karma · joined Dec 27, 2017 (8y ago) · 421 submissions

https://github.com/devxpy
Submissions

comment 8y ago · link · parent

I created a library for multiprocessing, which is loosely based on actor model.

The interesting bit is that you'll never have to do the wiring yourself, zproc does it all in the background.

https://github.com/pycampers/zproc

comment 8y ago · link · parent

I wished I could install unity on my daily driver; solus.

Budige is great, but it's not as mature as untiy 7.

comment 8y ago · link · parent

Matter of fact, I was using linux when I was 12! Actually installed ubuntu myself.

However, I wasn't into it to the extent that I could follow the linux distro culture. Don't even remember the version now; must have been 10 or 11.

There was also the fact that I had limited access to the internet in the early days (that's just how it was in India).

I was just sick of trying to make pirated software work (including windows), so was looking for something I can just download and run.

I do remember that I liked how easy it was to install games, compared to my windows desktop.

Only now, that I am familiar with software development cycles do I understand how stupid it is of Ubuntu to discontinue fully featured, polished software.

For example, Mac has changed so little over the years (haven't personally used it much), which probably is the reason why it's so much more mature as compared to linux DEs...

P.S. I am 19

comment 8y ago · link · parent

Ubuntu 10.10, huh.

I'm not old enough to have experienced that, but I can say that we have the same thing happening with 16.04

They had it almost perfect and decided to throw it all out.

History does repeat itself...

comment 8y ago · link · parent

Check out my library for using react in Django easily.

https://github.com/pycampers/react-pages

comment 8y ago · link · parent

I can back this up. Flutter is really good stuff. Much better than react native.

comment 8y ago · link · parent

So it's more like elm then?

comment 8y ago · link · parent

> If you want to make really interesting exciting things that have never existed before, if you want to make a tiny little difference in the industry and change the world just a little bit, then you do need that degree. If you want to make the tools and libraries that the lower-level people use, you do need that degree

I don't know about you, but I need some solid evidence that you did anything close to that so I can consider you seriously.

comment 8y ago · link · parent

Dart anybody?

comment 8y ago · link · parent

David probably isnt the best guy for that.

But here's one of the famous ones on GIL. https://youtu.be/Obt-vMVdM8s

Beware though, his talks are known to be devastating to the programmer, resulting in serious head injuries, trauma, headaches and other fun stuff.

comment 8y ago · link · parent

> bulk of important code (Gtk, Mutter, etc.) is written in C.

Exactly why budgie desktop is fast. Uses Mutter as WM, and the gnome applications (like Nautilus, control centre).

For instance, gnome-shell starts up at around 150MB of memory usage, climbs upto around 1GB, eventually halting.

OTOH, budgie-wm stays at a cool 25-30 MB usage.

More on how the budgie thing works : https://budgie-desktop.org/2017/01/25/kicking-off-budgie-11/

comment 8y ago · link · parent

Oh, and Gnome3 is absolutely "written with JS"

https://gitlab.gnome.org/GNOME/gnome-shell/graphs/master/cha...

comment 8y ago · link · parent

I was not necessarily talking about performance when mentioning JS. It was the memory leak. Gnome performs "fine?" at bootup, but starts becoming sluggish as you use it because their JS interpreter doesn't automatically have GC. This kind of behaviour is fine for websites since nobody really uses it for an extended period. But for a desktop (which I for once, use for quite long stretches) is unacceptable. I've had cases where I had to forcefully reboot the machine because gnome froze.

Even if you ignore the memory leak (and say that it's being fixed) I would argue that the overall latency of the desktop is just not there. I have used xfce, gnome3, unity7, kde, mate and budgie (daily driver) on the same machine, with the same Intel iGPU Mesa driver; gnome3 is the most sluggish. The time it takes for stuff to happen on the screen from when I press a button is quite high for my taste.

P.S. I usually disable animations.

The design of the desktop is definitely unique and admittedly refreshing to see (except the hamburger menus). However, the sluggishness just makes it impossible for me to use.

comment 8y ago · link · parent

I was wondering what editor that was and just saw this post xD.

David's talks always have these funky looking editors.

comment 8y ago · link · parent

unity was almost perfect. And then ... :(

comment 8y ago · link · parent

Gnome IS slow. Have you used unity 7? It has more animations and effects but still performs way better than gnome3. Gnome3 isn't bloated, it's just written with js. Plain and simple.

It's known that driver support is bad. But I think the main problem with gnome is that it uses js. Its runs a whole damn browser (firefox). It's js that owes to the numerous memory leaks that end up hogging extreme amounts of memory.

comment 8y ago · link · parent

You can blame js for that. It's known as the famous gnome memory leak.

comment 8y ago · link · parent

Gnome is slow because it uses js. I don't understand how anyone would agree that using js on a desktop is a good idea. Goddamn, designers...

comment 8y ago · link · parent

That's great, but we really need something like this that can allow us to simulate microcontrollers / raspberry pi. Development would become really simple for us software guys then !

comment 8y ago · link · parent

Pipenv is certainly better than npm. Although, that may be a result of the js ecosystem but still...

comment 8y ago · link · parent

Just a matter of freedom vs security I guess?

comment 8y ago · link · parent

I believe this is what you're looking for?

https://developer.android.com/training/secure-file-sharing/r...

comment 8y ago · link · parent

https://developer.android.com/training/secure-file-sharing/r...

read up!

comment 8y ago · link · parent

exactly.

comment 8y ago · link · parent

We really need something like flutter for the web now.

I'm sick of writing markup and stylesheets (react jsx is basically html with a little sparkle).

Flutter integrates styling markup and business logic in such a wonderful way, I've never witnessed. It results in an extremely productive development cycle.

And then there's the intellij integration which is just crazy good.

Bottom line I never have to think about styling and logic differently. Almost no context switches. With stuff like react, there's at least 3, maybe 4 context switches.

comment 8y ago · link · parent

Which Ubuntu Linux? The gnome one or unity one? I liked untiy too, it was almost perfect. But gnome3 messed it up for everyone.

Even though the unity desktop elements remain the same, unity still relies on gnome apps, like nautilus. I don't think I need to state the problems with gnome apps, you can read more about that here:

https://medium.com/@probonopd/make-it-simple-linux-desktop-u...

comment 8y ago · link · parent

I agree, but the old DEs feel old to use, because well, they're old. Mac still feels modern.

comment 8y ago · link · parent

This really needs to be a thing with OS ui.

Changing UI in gnome world, and linux world in general is a real problem. Why can't stuff just stay where I rememeber it is!

Mac OS does quite well in this area, at least compared to windows and linux. It still maintains familiar menus, while the look and feel still looks modern.

1
1112131415