HackerTrans
TopNewTrendsCommentsPastAskShowJobs

brokegrammer

no profile record

comments

brokegrammer
·2개월 전·discuss
The Stranger is good, but I have trouble stick with his other works past the first few chapters because of the tedious and boring aspects you mentioned.

I was never a fan of French literature to begin with, so that might have something to do with it.
brokegrammer
·2개월 전·discuss
Two great things about Tailwind:

- AI already have data about its classes in their training data - No conflicting styles

This means that AI doesn't need to reference any existing stylesheets when generating new styles, which is great for context management.

With custom CSS, you'll have AI read existing stylesheets because otherwise its going to write conflicting styles or rewrite stuff you already have. This can be a problem if you have large stylesheets that take too much space in AI memory.
brokegrammer
·2개월 전·discuss
I've been using the GLM coding plan. During off-peak hours, usage for GLM-5.1 uses only 1x of your quota, which means you get Sonnet-like quality for a fraction of the cost.
brokegrammer
·2개월 전·discuss
[dead]
brokegrammer
·3개월 전·discuss
I've been working on version 2 of ClaroHQ (https://clarohq.com), which is a time blocking app for freelancers. Instead of playing with Start/Stop timers, you log your work with 1-click time chips, generate a perfect PDF, and draft an email in 30 seconds.

I built it because I was sick of paying for complex invoicing tools that charged monthly fees for features I never used.

Let me know if you want to try it out. I'll be happy to set you up with an account.
brokegrammer
·3개월 전·discuss
You don't need to manage spam if you're willing to moderate comments yourself. But a plugin to integrate with Akismet can be installed in a single click. To get the same thing with an SSG, you'll have to either build your own comment system and integrate with an API, or use a third party commenting service.

Social accounts aren't necessary either. Users can simply not login, or use their email address. If you still want social accounts, it's a one click plugin install. With SSGs, you have to bake it yourself or buy a comment system that includes social auth.

SEO is a big deal, and Wordpress doesn't allow it by default. However, you can install a minimalistic SEO plugin like "The SEO Framework". If you want more advanced SEO, you can install a plugin like Yoast. With an SSG, you have to build your own theme that will allow SEO using frontmatter from your HTML pages, or use an existing theme that has that functionality.

Adding plugins introduce additional attack surfaces, but if you're building a full-fledged SSG to rival wordpress, you're connecting to various APIs, and writing your own code that could easily introduce security bugs. Wordpress plugins can auto update, but SSGs require you to fix bugs on your own time.

Wordpress version changes can break your site, but you can easily backup and restore your content for easier migrations these days. SSGs can also break your site if you want to keep the generator up to date. For example, if you use Jekyll 2, you'll have to spend some time refactoring your project when upgrading to version 4. Now, if you have integrations that you built yourself, this could take considerable effort.

I don't personally see how an SSG can compare to Wordpress. Sure, if you enjoy writing Markdown files in Vim then go ahead, but for people who mainly want to write content and provide a service that visitors can interact with, Wordpress wins all the time.
brokegrammer
·3개월 전·discuss
Wordpress is better because it's easy to setup these days, can be fast if you enable caching, and has a comment system, which is a big deal if you want people to interact with your content. Other things like contact forms can easily be added. The CMS is also amazing.

With SSGs, you have a few options for comments, like Disqus, but the ad-free version costs money, it's slower because it needs to load JS, and your comments are owned by a third party company. Contacts forms can be built by integrating an external API. And anything else that requires storing data will require an integration with a third party service of some sort.

SSGs are a great concept but they're mostly for nerds who get boners by seeing over-engineered systems. They're also great for companies like Cloudflare because they can sell you services that come for free with Wordpress (CMS, image uploads, databases, workers, etc). For serious blogging, I'd opt for Wordpress.
brokegrammer
·3개월 전·discuss
Because human singers will usually sing about what they like. They will use their own life experience and imagination to write and sing songs. Other people may or may not like them.

AI will only sing songs that other people like, so AI singers will naturally attract more listeners.
brokegrammer
·3개월 전·discuss
I moved to GLM-5.1 with their coding plan. It's better than both Opus and Sonnet, while costing a ton less. But it does slow down sometimes during peak hour, but I'm a patient man.
brokegrammer
·3개월 전·discuss
Reddit is doomed anyway. People are using AI to start threads, and other people are using AI to comment on these threads. You can never know what you're interacting with.
brokegrammer
·4개월 전·discuss
Another great resource is this video: https://www.youtube.com/watch?v=jIS2eB-rGv0

It talks about how:

- It's much more expensive to shoot down a Shahed drone than to build one. - Iran could decide to attack water filtration plants in the Gulf countries. - It's almost impossible to win a ground invasion without spending a ton of money because of the mountains.

Basically, even if the US wins this war, the entire world economy will suffer tremendously.
brokegrammer
·6개월 전·discuss
Cool. I'm also interested in moving to BKK soon and was seeing a lot about the pollution there. I guess I'll see for myself when I get there.
brokegrammer
·6개월 전·discuss
How long have you lived in BKK for, and has your health deteriorated because of the pollution?
brokegrammer
·7개월 전·discuss
Demian by Hermann Hesse. I wanted to scream "Stop overthinking!" to the protagonist. Something I can relate to.

Siddharta by Hermann Hesse. Helped me understand that a perfect life is a collection of ups and downs and that one must accept it all.

Amerika by Franz Kafka. Could relate to the protagonist because people take advantage of his naivety.

Factfulness by Hans Rosling. Made me see the world in a less pessimistic way.
brokegrammer
·8개월 전·discuss
The role of CEOs is to receive praise for every achievement, but also blame when things go wrong. It's a high risk, high reward position that most people can't handle.

Since it's not possible to blame AI, no ChatGPT can't be used to replace the CEO of Microsoft.
brokegrammer
·9개월 전·discuss
Confused about this decision. Why not take the money and then do only DEI activities that don't break the law?
brokegrammer
·9개월 전·discuss
> TO be fair there are lots of other things that require a response from an API before responding to the request and therefore async reduces resource usage over threads or multi-process.

Agreed. However, these are rare and many people have been abusing asynchronous views instead of delegating the task to a background worker when multiple external requests are required. Showing a spinner while polling a synchronous view is dead simple to implement and more resilient against unexpected outages.
brokegrammer
·9개월 전·discuss
A lot of people moved from Flask to FastAPI because the latter is built for async workloads by default. So, people expected massive performance improvements because the word async was associated with performance.

In reality, people ended up having to deal with weird bugs because asynchronous Python isn't the most ergonomic, while having negligible to zero performance improvements. Proof that most people are terrible at choosing tech stacks.

Then, AI came into the scene and people were building APIs that were essentilly front-ends to third party LLM APIs. For example, people could build an API that will contact OpenAI before returning a response. That's where FastAPI truly shined because of native asynchronous views which provides better performance over Flask's async implementation. Then people realized that can can simply access OpenAI's API instead of calling another front-end API first. But now they're already invested in FastAPI, so changing to another framework isn't going to happen.

Either way, I like FastAPI and I think Sebatian Ramirez is a great dude who knows what he wants. I have respect for a person who know how to say no. But it's unfortunate that people believe that Flask is irrelevant just because FastAPI exists.
brokegrammer
·9개월 전·discuss
I didn't get anything apart from a bunch of spam emails. I stopped putting my email address in the post, now I don't get any emails.

Could also mean that I don't have the right skills though.
brokegrammer
·9개월 전·discuss
True, it does seem like Rails introduced configuration-free token based CSRF protection, which "solved" CSRF for traditional server rendered apps.

I believe the new technique is easier to use for SPA architectures because you no longer need to extract the token from a cookie before adding it to request headers.