You mentioned running nodejs + typescript over extensive frameworks like django now. Curious if you chose to write your own framework or are you using something from nodejs space to do "batteries included" thing for you?
Asking because I've had some experience with nest.js and even though it's fun it often feels hackish and a bit messy even when solving standard issues like authorization that's not a simple app wide RBAC.
I can say that nodejs and TypeScript and pure SQL is so simple and straightforward that I seem to need almost nothing in terms of "framework". I just write endpoints with a query behind them.
On reflection I spent alot of development time hacking around in Django models/forms and the ORM and really almost none of that is needed if you just write straight SQL with Postgres. It's just unnecessary complexity - once you cut all that guff out then things start to become REALLY simple. Request/auth/query/response.
I put auth into a separate web application which gets called by Caddy (or you coudl use Nginx) as an auth subrequest. This makes auth extremely easy, and gives a very powerful decoupling and separation of concerns.
For many years I have thought, finally, that's the last time I need to write a user signup/forgot password/signin flow, but every project still seems to need it written, so I do that myself.
This approach of super simple, just talking to Postgres also would work well with Python but I have come to really like TypeScript more than Python. The latest Python projects I wrote were pretty much Starlette with asynpg talking to Postgres and no ORM or other fluff - that's a pretty nice combination, and asyncpg is the fastest Postgres driver for Python by a country mile which is also nice.
If I wanted RBAC then I would intercept all my SQL queries and wrap them in Postgres RBAC environment variables that implement the Postgres constraints. I've done this before with Django, it worked pretty well, but I think it would be nicer and cleaner in a system without ORM or database abstraction of any form.
I don't understand how what you're describing is batteries included where Django isn't?
It's typically not practical to solve "auth flows" in a centralized way -- needs are so different for different projects. There are tons of third party modules you can just plug in...
Personally, Next.js with NextAuth and Prisma for ORM is a much better full stack dev experience for me. Django templates are their own DSL, adding JS is more annoying and less powerful to do than React/JSX, Django Auth is cumbersome, Django Rest Framework will immediately feel like an old Java EE OOP way of doing REST or JSON API...
Agreed. This should probably be under ShowHN. I was expecting to see an semi-finished product here. And even the first sentence of the "About The Project" section states:
> Ox is a text editor with IDE-like features.
And then we had the actual feature list, current version seems to be 0.2.5.
> Auto indentation (0.3.0)
> Auto brackets (0.3.1)
> Auto complete (0.3.2)
Which are quite essential for calling something "IDE like".
Other than that. It looks nice. I've seen people calling it an Nano replacement in the comments here, which seems to be missing the big point of nano - it's easily available in a lot of *nix systems by default.
The editor feature list sound definitely promising and certainely has appeal.
I've tried micro, psi but they're not in a state I can use them daily.
What i'd love is basically sublime text in a terminal. I tried ox, but it's currently a bit buggy and non intuitive (no help that I could find, no backspace, cursor on the wrong line..)
Nothing wrong with this, it's a work in progress and early in its development. It shows great promise and I'll definitely check back in the future !
This is amazing. I've been thinking about doing something similar with one of the old Lubitel's I have laying around. Something simpler, twin lense of Lubitel allows me to bypass the whole screen thing which should make the entire build pretty straightforward due to having a lot of space just for a RPI, power and lense.
I probably won't get to building it, though, but this was a very interesting read nonetheless.
Hey, you got a bunch of great people giving you suggestions for what to do. Just wanted to add - hang in there. I'm sure you'll get to a place in your life where you'll feel more connected with someone/less lonely in general.
Yeah, from now until end of December there's just one listing for a metal festival in Europe.
I'm not really expecting to see all the small ones but would be nice to have the major ones at least.
Site looks nice and it's kind of comfortable to skim over the stuff and filter a bit. I'm not really a huge fan of the genre icons, some of them don't really make sense for me and look a bit like placeholders imho.
His ngraph has less features than cytoscape but if you need to plot large graphs it has a crazy good performance.
And his galaxies are amazing as well, https://anvaka.github.io/pm/#/?_k=9kvbgq . Precalculated positions for all NPM packages for example. Crazy stuff, really fun.
But yeah, cytoscape.js is nice and has great set of features.
Yes! I looked at a bunch graph visualization libraries in the past. Cytoscape did not impressed me. Anvaka's ngraph and VivaGraphJS seemed pretty closer to what I wanted.
Cryptoscape looks really awesome but i'm having trouble locating the source code of the demos like this one http://js.cytoscape.org/demos/images-breadthfirst-layout/ actually figured out how to open dev tools without a mouse and its simple too.
How hard is it to teach either of these libs about Clojure data structures? (Without copying them into plain js objects)
Cryptoscape - unclear how to use actual dom to style nodes, not just css classes (or if this is possible at all)
Don't really have any frustrations to be honest. All my personal projects and stuff I do for fun (both mostly in ruby) I do on ubuntu 14.04. Use VIM, a lot of plugins and some custom CLI tools. Have never tried developing on Mac, though so maybe I just don't know what am I missing (windows isn't even a thing for ruby devs. And for good reason).
Only thing I'm kind of missing/sad about is lack of games on Ubuntu. Upside, though, I won't get lost in a "quick 20 minute brawl to clear my brain" that never lasts 20 minutes....
For sake of honesty, I do my daily job on windows. Stuff I use there is awesome. VS is nice, Windows domain works well enough and lync, outlook, fiddler, slack etc. are all nice. If, for w/e weird reason, I had to do my daily job on linux, I would be sad.
But most likely, I'm not frustrated with linux because I chose to use it for fun etc. If, in any point in my life, I would have been forced to use linux, I'd probably find a lot of problems with it.
//EDIT
And uhm. I've never really had any problems with linux and hardware. For personal stuff I still run an old thinkpad t420s which hardware gets along with linux a lot nicer than it did with windows 8. Touchpad acts a bit better, touchpads 3rd button actually provides some nice functionality and most importantly, gsm card worked out of the box (something I never got up and running on windows 8). Once more, for sake of honesty, it shipped with windows 7 so maybe the drivers provided for the gsm card aren't compatible with win8. who knows.
Never had any problems with my desktops running Linux nor my previous thinkpad either.
I also use a lot of IRC. But it just seems that most of the networks are already rather quiet. Though Freenode, galaxynet and some others, I believe, are still growing?
Asking because I've had some experience with nest.js and even though it's fun it often feels hackish and a bit messy even when solving standard issues like authorization that's not a simple app wide RBAC.