i hate hn
Joined 16w ago. Seen 17h ago.
what are some options excluding TypeScript and Flow for type-checking a Node project?
I'm honestly not sure there are any except using a cross-compiled language. Almost everything is nowadays compiling to WASM. But there are other languages that compile directly to Javascript as well. For example dart.dev
the sun kil moon/jesu collab albums are seriously underrated
anyone running Nextcloud on a Raspberry Pi? what's the easiest way to get it up and running fast? I got me an 8GB model with an external SSD.
There should be ready made Debian compatible packages for nextcloud. **EDIT** There is actually this: ownyourbits.com/ne...
Yes ! with Archlinux ARM on PI 4, 2 GB model with 128 GB SD Card. Minimal config. With your device's configuration, it could be easy to setup Nextcloud. I don't see any package for installation (or a snap package maybe)
drupal is the worst thing in the world
installing WSL2 on my work PC. hopefully this goes well...
Docker with WSL2 backend was a huge upgrade for my workflow.
Learning SQL! Starting with a simple app. Posted a question on stackoverflow, but wondering if anyone here can help? The full question is over here: stackoverflow.com/...
best storage for a Raspberry Pi if I want to host web applications? wondering how viable an SD card/flash drive/2.5 SSD are. I'm thinking of getting an external enclosure for a 2.5 SSD i have lying around and using that, but not sure how each compares.
I host web applications (Nextcloud, Wordpress, ...) on my rasp with an SD card (128 Go) for the moment. It's not the best i know but working well. If i buy next year the 4 Go RAM version, i'll be interested in using a SSD.
I think the main issue with the SD card (even more than speed) is the usually shitty lifetimes.
What is your text editor of choice? I'm a Sublime Text kinda guy. :)
Kakoune. It's like Vim but the other way around.
My daily editor is Visual Studio Code. I use it for a variety of tasks involving text editing other than programming. If I lived on a terminal, though, I would use Vim every day.
vim. I installed a trial of pyCharm for my python projects. Jetbrains want 8 dlls a month for the right to use pyCharm. I have to admit, it's super complete (indexing, in-line debugging, the works).
Emacs. I do most things in emacs though. Sadly, it's missing a decent browser otherwise I could practically do everything in it.
What is your RSS Reader of choice? Currently using Inoreader, but wondering about alternatives.
I've never been a big RSS Reader user but Fraidycat looks just too good.
Big fan of Miniflux but I was using Inoreader before (:
I used Feedbro browser extension (add-on).
I tried many RSS Reader and now because my RSS feeds are managed by the News app from my nextcloud instance, currently using OCC Reader on my phone, downloaded from F-Droid
I use Feeder on Android. Basic, but it does the job. I have used Inoreader in the past and liked its UI however the free version has ads, right? Also used Feedly before which was okayish.
What's your go-to minimal CSS lib/framework? I'm talking TINY. I'm still rocking Basscss (2.13kb min+gzip), but looking for something that's maintained.
To buy new PC Parts, or to wait for prices to dip? I'm in need of a new SSD.
I was told it's the right moment but I don't really know how we could prove it /:
New Samsung 960 PROs just released. The are looking incredible.
Does anyone use Lua predominantly? I'm currently learning it (along with Love2D) and admit I actually really like the syntax and the everything-is-a-table design. Admittedly it has its quirks. I'm wondering why the Lua ecosystem and community is so small compared to other dynamically typed programming languages? I tried installing LuaRocks and installing packages via it on my Windows machine and surprised how it just does not work, and how little support their is.
I learned about it while having fun with PICO-8. It's a lovely language, good design and simple.
anyone use mastodon or pleroma or a fediverse equivalent? the more i use Subreply, the more I realize I like Subreply better. probably because the community is so tiny and the posts aren't as low effort as the ones twitter/mastodon seems to encourage.
I'm with you on the point of the small community, it's really pleasant, on the other hand on the fediverse I broke my bubble filter a little bit and I find a lot of talented people in their field or some nice persons (:
I'm more happy on subreply than on the fediverse side. I think people in here are more happy to engage and discuss with one another, but it feels like people on fediverse are more there to broadcast.
I use both. And both rather infrequent. I even use Twitter (even less frequent). I think it is alright as long as you don't let it become part of your habits. It is just a bit sad, that subreply is a silo so I cannot link everything.
This is why I've come to love Tildes as a reddit alternative. Everyone seems to self regulate post quality as a matter of respect. There's a distinct focus on making sure that when you post, it adds to the discussion or at least attempts to. They can be a bit intimidating to join in with at times, but also exceedingly casual due to the lack of vitriol. If someone questioned something I said on reddit/twitter, I'd get defensive and worry about responding in the first place.
what's your favorite tiny framework? i recently used polka (node.js) for a project and enjoyed it. also i gave bottle.py a whirl a couple weeks ago and found it pleasant. loved that it included its own templating engine.
Mine would be slimframework.com not a lot to learn to be able to develop some app/APIs !
I always loved flask but it's a long time ago that I used python. Sinatra, the ruby equivalent of flask is great as well. Today I want to give canteen a try. It's kinda like Flask as well but for Rust.
I remember shoesrb.com, a GUI framework in ruby that's very simple to use. Brings lots of nostalgia!
Anyone use Svelte after coming from another JS framework? What are your thoughts on it? It does seem to produce the tiniest bundles AND provide better performance than React & most other JS libraries. I guess if you can get over its initial weirdness and DSL, it seems like the obvious choice.
I've been playing around with svelte for my personal website. I think that it's great for small applications.
Is adblock stealing? Do you use adblock? Why? Sure, advertisers don't have the right to your attention, but don't the content creators have the right to your financial support?
They have the right to financial support but they don't have the right to rip me off my privacy.
For me it's not stealing if you support in an other way, also adtech is toxic for the web..
I not only use it, I find absolutely necessary for my overall well being. For me, treating this as an ethical dilemma is just another clever trick by advertisers to manipulate our emotions. So they want us to think we're doing wrong by not being exposed to not only unwanted but sometimes really unhealthy information? My mental health is of utmost importance. And if I truly need something, I'll go looking for it. Otherwise, no, they have no right to my attention.
The way I see it is that we don't have a say on what we want to share and what we want to keep to ourselves. Ad providers are invasive tracking machines. The only option we have is to block them, there is no middle ground. And looking at the content creator side, I bet most of them are also not happy to be dependent on ads to be financially sound. Unfortunately, they also have their hands tied and don't have many viable alternatives.
I never agreed to terms with random websites which stipulates that I must view their ads to view their content. So no, it's not stealing. Websites can detect ad block in most cases and will block content if they feel strongly about it. Ultimately, the widespread use of ad block should indicate that customers don't like it, and it would be in everyone's best interest to find another way.
Agree with you. I've stopped using an adblocker, I pay for the press I read (which is a large part of my web consumption) and watch YouTube ads (even though I complain about it). Living in Europe I can generally disable cookies so I'm not concerned about privacy. I don't understand people who want a free *and* ad free web. I'm glad you started this thread but we are a minority.
I actually stopped reading the news and watching TV because of ads (And because it is always biased), i don't want to be advertised some bullshit that i don't need. If i need something, i will look and search for it, i never bought something because i saw an ad about it. Ads are annoying and don't provide any value to my life, they just make my web browsing experience a nightmare. If the content is worth it, put a paywall or setup a Patreon account, nothing wrong with that.
Adblock is not stealing anything, it is just rehashing what's been sent to your computer for free. You're not implicitly signing any contract or accepting a terms of use when you access a web link. Adblock is not hacking into a company's servers to give you ad-free content. It may be harsh, but unless you've signed a contract or hold intellectual property you don't have the right to compensation for anything. So it may be immoral, but it should not be illegal to use adblock.
Pi-hole, Google search filter, uBlock, ... all of that let me free from ads (not at all). Ad is a problem because it make us like sheeps. Ethical ad is a non sense to me. In France, a lot of new internet newspapers works without advertising (subcriptions only). I think the problem is not ad but services without charge. I know a lot of people can't pay but it's part of the problem