Hacker News new | past | comments | ask | show | jobs | submit | hschne's comments login

> It also doesn’t understand how to get packages from a git source.

Not sure what you mean.

https://bundler.io/guides/git.html


He's talking about npm


You have been able to do that for a few years now, e.g.: `npm i https://github.com/user_name/node_project_name`

...or with `npm i git+ssh:...`, and npm will git clone it locally, as long as it has a `package.json`

You can install a certain commit, or even from a Gist!


Have been using asdf (with Ruby and JS) for years, haven't had a reason to look for something else yet.


I stopped using asdf as it's a huge security nightmare. Literally, you're running third-party Bash scripts, which have no checksums and absolute no security considerations! Even WordPress is better as it controls the source code of the standard plugins unlike asdf! Also, I often face an issue with GitHub IP quotas as each formula is on its own, often doesn't follow any basic security best practices or conventions, and does not use GITHUB_TOKEN to authenticate against the GitHub API. 90% of the plugin code for asdf is the same. I'm not sure why there's no basic framework that uses eget or other now-popular tools to fetch binaries for the proper arch from GitHub releases! That's why I use aqua [1], which just does this, and unlike asdf, is extremely fast as it has caching and downloads binaries in parallel.

[1]: https://aquaproj.github.io/


Asdf is great - I'm not knocking it at all and have built several scripts for it over the years - but I think mise might be a better tool for someone starting out from scratch: https://github.com/jdx/mise. These days I'm using nix, but it's not for everyone.


Yes, asdf just works for me. I can't recall a single issue in like 8 years of using it


See edge guides (https://edgeguides.rubyonrails.org/7_2_release_notes.html) for some highlights.

I'm looking forward to using some of the developer experience stuff, such as default RuboCop or default GH actions for new apps. Not sure if it's everyone's cup of tea though.


I think there has to be some investments into the DX, I mean look at Ruby, it's lacking so much compared to other languages. Basic autocomplete is barely working, it's probably because the nature of Ruby but it still adds friction to the workspace.


> I didn’t want to deal with databases.

So instead I used a third party authentication service, store some data in JSON files, and also threw up a lamda gateway to store some more data in Google Sheets?

It's not relevant to the bug hunt, but I'm genuinely intrigued. Is this approach considered easier to work with than using a regular ol' DB?


My first thought as well. This is the most complicated stack I’ve seen for something so simple. Just convinced me more to avoid using JavaScript as a backend


Honest question: how is that JS's fault?


I think the evolution of this person's personal server as outlined in the readme is very insightful.

Goes from literally no configuration management (just SSH into the box to install your stuff) to Ansible and then to Docker and k8s. Quite the Journey.

I think a lot of people here can relate, I certainly can.


Looks nice!

I'm on an older phone though and your landing Page murders it. Animations stutter and scrolling is pretty janky. Not sure I'd that's an issue with the components or something else?


Whenever this comes up I'm glad having read "The Age of Surveillance Capitalism".

Not an easy read by any means, but it's core hypothesis is spot on IMO: Google (and others) core business is aggregating and processing as much user data as possible. Every product they create and every decision they make aims to increase or protect their access to data.


after hearing about this book, I understood why every shop nowadays is pushing their clients to relinquish as much personal data as possible.

It seems like their real business model is to gather customer data in order to sell it to brokers, and the shops are the bait


While "The Age of Surveillance Capitalism" is great, I don't understand why everyone assumes that Google uses the user data it gathers _only_ to enhance search and for selling advertising. Look at all the things people are using chatbots for today and then ask yourself what could you use a chatbot trained on user behavior for? This is like having a window into the psyche of the world, an oracle of global scope. Maybe they use it to evaluate which companies to buy? For doing market research and product evaluation? For analyzing corruption in government? Seems like there would be a million uses of it, all of them exclusive to Google because they have the most comprehensive data. Remember that they collect location data also. Imagine what China and Russia would do with that data if they had it (and look at what they are already doing with the data they have).


Guess what. Based on the success of your blog, not only are you a leader - you're a _thought_ leader now!

Good luck.


The original draft of this post ended with:

"If I ever become a thought leader, someone has to assassinate me."


Neat idea. Since everything is public, the next step obviously is to add a wall of fame/shame, right?



8,000 ms to return a "Hey, you aren't authenticated, go home" ?


I'll take "It's Caching On" for $200, Alex


I'm currently facing the same problem - adding a blog to a Rails app.

I thought Sitepress looks interesting, as its supposed to integrate with Rails. Have you given that one a try?

https://sitepress.cc/


I haven't seen that one yet but it looks good and kinda what I was looking for. Thanks for sharing!

I expected there to be many solutions for this problem but wasn't able to find a simple one.

In the end I just generated a simple "post" model and have some ugly admin interface that allows me to paste some markdown into a small box and publish it. Then I'm just using some gems for RSS feed / sitemap handling.


If you natively work with Markdown, consider the static site generation approach. It also means that your content is also source-controlled.

Basically, just convert your markdown to HTML, and dump that into your existing templates.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: