A place for everything about web development

746 readers
1 users here now

founded 5 years ago
MODERATORS
51
52
53
54
 
 

Hnews has already gotten into how this isn't really a jamstack issue, just an issue with a 100% static site.

While the piece is kind of flawed, it made me realize that the people arguing "well at that point why not just use a CMS" miss what I like about my site. I use Horst Gutmann's webmentiond, which I run myself. It's webmentions so not exactly comments, but everything about comments applies. I could have all the static content in an S3 bucket; I don't, because for right now it's just as easy to serve out myself. However, the static site with a comment system tacked on is nice because there is perfect separation of concerns: webmentiond manages and stores the data for those comments, and on my site I only have to futz around with the display of that data. This is something that for everything I hated about disqus comments, they got right: you just plugged them in.

I wonder what else that comes packaged Out Of The Box with Wordpress could be nice as its own little module for a static site.

55
 
 

I used this to tape together a printURL command so I could pass in a filename and get its URL to pass to a command line executable that sends Webmentions. It surprised me that that wasn't somehow possible in the basic Jekyll install and that I couldn't find something that already did it--but it was much easier to write myself than I expected.

Though in the process, I discovered that Ruby library documentation sites error out a ton...

56
 
 

Noob question but here it goes. The place I work at has a website written in CodeIgniter, a PHP framework. The creator of the codebase was contracted and when he gave me a demo, the code was just sitting in /home/www-user/public_html of the VPS and to show the code and make changes to it, he used FileZilla's "View/Edit" option.

I am not good at web dev but this seems like terrible practice. I have made a git repository out of the code but I am not sure how to proceed with deploying the changes I make in the repo to the production.

This is super noob so I am embarrassed to ask this but what software, resources, etc. can I look into to learn how to deploy? I have never done this shit so I am stumbling in the dark here.

57
 
 

You can use Kontrast to choose background and text color combinations for your website or app that your users will find easy to read. Kontrast can help you improve the accessibility for your site or app for people with vision problems.

58
 
 

This isn't my work, I found it on /r/opensource and found it interesting enough to post on here.

59
 
 

Hi, since I'm currently looking for a CSS library to use on one of my projects and eventually a blog as well, I thought I'd ask you guys and gals for your favourite minimal CSS libraries.

What do you like most about that library? In your eyes, what are attributes a good CSS library should have?

60
 
 

JavaScript is a bad programming language, but one of the benefits of it is that at least it's high-level and interpreted, so we get at least some idea of what the website is doing, which privacy oriented browser extensions can take advantage of to block code and try and prevent the website from doing something the user doesn't want it to do. Even things like specific event handlers and APIs can be blocked by extensions. With WebAssembly being a lower level language, could browsers and extensions end up with reduced ability to monitor and block website behavior? Especially if actions that normally require a call to the browser's API can be compiled into standalone WebAssembly code, potentially making it impossible to completely block. There's also the question of whether extensions will even be able to affect the WebAssembly code on websites.

Another concern I have is that WebAssembly is relatively new and there doesn't seem to be any privacy software designed to keep WebAssembly sites in check, compared to the many browser extensions designed for JavaScript sites. This will probably get better with time, but it's still an issue as of right now.

Should we be worried about any of this?

61
 
 

I haven't touched generative art since the boring things they make you do in programming 101 courses, but this is truly cool--all the more so when you realize what the animations must look like. Not your father's CSS! I wonder what might be satisfying to do as an intro level experiment in this sort of thing, just as a toy to host on my website.

Can you imagine what hamster dance ought to look like with a modern stack?

62
 
 

Bonus points for not being owned by privacy abusing tech giants like Google (Angular) or Facebook (React).