HN user

hugocbp

370 karma
Posts0
Comments92
View on HN
No posts found.

I agree. Steam's prices on sales are still mostly unmatched by consoles.

Even if it is a "pricier" PS5-like machine, I'd still buy it and I bet I'd make up the difference in less than a year with just the sales games (including older games I can't play on either console).

I think most of the critiques for this are from people expecting this to be aimed at PC gamers.

I don't think it is. I think it's aimed at people that actually DON'T want to bother with building, buying, upgrading PCs, but still want to play cheap games, older games.

To this day, I can't make my PC turn on with a controller (and I've tried). Making a PC wake up as fast as a Steam Deck from sleep? Impossible.

Those little things will all add up to make this a very nice option for the non-hardcode PC game crowd.

Valve is going to steal a lot of users from console, mostly Xbox. Not PC Gaming enthusiast.

So disappointed. I had such high hopes when Mozilla acquired them, specifically for the integration with Firefox.

However, for years the design has been going the completely opposite direction of what I expected. The focus on more random content instead of my own articles is not what I wanted to see.

Pocket is probably one of my oldest online accounts. I'll be sad to see it go but I guess it was already kind of dead for a few years now.

Amazing opportunity here for a really simple and focused read later app to take the reigns.

I went from Law to Software Development after 30. I was a lawyer for roughly 10 years before the change and even was a partner in a small law firm.

For me the key was just to see this huge change as a series of small steps instead of a big "flip the switch and change" move.

Before I changed, I took courses in programming to see if I'd like it, I build projects in my own time to see if I would actually pursue it.

Even once I decided to change careers, I still kept my old things ready in case I needed a fallback plan (this happened over 10 years ago but I still pay my Bar fees every year).

For me, doing it slowly, with a plan, and a backup, removed a lot of the pressure and risk of the change and it worked fine.

I haven't done anything in Law in over 10 years now and am fully "converted" to development.

My advice for you: buy some Cybersecurity courses on Udemy. They might not be perfect, but they are usually cheap (always wait for sales) and see if you will like it. You can take dozens of courses for 9-12 USD there to see if that is the path before committing to something more serious and expensive.

This is just to see if this is really the area you want. The day to day of most careers tend to be heavily romanticized from the outside.

Once you've done that, try to see if you can find some education with a Co-Op component. I found it is much easier to get your foot on the door of a new career as a Co-Op in a course, though that is not required.

Not really saying it is intentional by Google, but I'm a Firefox user and noticed this started happening again recently. YouTube for me is super slow, buggy, not registering clicks, locking the UI.

It did happen in the past and was fixed after around 1 month (which was good because it decreased my time spent on YouTube).

Right now YouTube is almost unusable for me on Firefox with uBlock Origin on M1 Max and has been for the last couple of days for whatever reason. Even disabling uBlock Origin doesn't help.

Something is definitely going on between the two.

Exactly. The part where I used Excel was because Word didn't really scale for more than 2-3 sets of changes like that.

So my "copying current version changes" to Excel was kind of like git merging to the main branch.

People from outside the craft usually get super confused and frustrated by how many hours those contracts could take ("it is just a Word document!"), but that used to be a huge reason why.

As an ex-lawyer for over 10 years, this was a huge issue for me, specially when the other party is adversarial (e.g. another lawyer for the other part that is not exactly forthcoming with the changes).

Back in the day, to solve that (before I became a software developer and knew about git), I basically re-implemented "git in Microsoft Word version control".

On bigger contracts with dozens and even hundreds of pages, with more than 2 parties involved, we could have 3-4 parallel changes to the same documents at once. And a lot of times some of the parties didn't want to advertise their changes.

What I did was construct a table in Excel with each "version" of each clause, and where they were present omitted. It was a lot of work to maintain, but back then I didn't know any better, but worked.

By saving the versions of the files we sent for revision (think of the main branch), I could receive the version from other parties (kind of like feature branches), turn on Word changes, paste the complete content of the original, and we could visualize the difference.

It's been more than 10 years since I stopped dealing with contracts, but I imagine a lot of lawyers, specially older folks, are still either doing very convoluted processes to track changes like me or not even bothering most of the times.

The article is spot on on the issues (even brought back some memories). This is something I'd use for sure in my previous life.

Usually I create a Project in the UI, upload some files I think might be relevant, and just start asking things like refactoring, how can it improve the code, how to test (or which edge cases might be missing in the test files).

Once we get going, I start asking how can we change the code to do what I need to do, etc.

After the history gets too long and Claude starts bugging me about limits, I ask it to summarize the context of the whole conversation, and add that to the Project and start a new chat.

Great work by Anthropic!

After paying for ChatGPT and OpenAI API credits for a year, I switched to Claude when they launched Artifacts and never looked back.

Claude Sonnet 3.5 is already so good, specially at coding. I'm looking forward to testing the new version if it is, indeed, even better.

Sonnet 3.5 was a major leap forward for me personally, similar to the GPT-3.5 to GPT-4 bump back in the day.

I test a lot of them, online and with Ollama, and Sonnet 3.5 is in a league of its own for practical coding purposes.

Still makes a lot of mistakes, but it gets things "more right" than any of the others in a much more consistent basis.

I've now cancelled my ChatGPT subscription to Claude and also mostly stopped using the APIs (I use Msty to compare most models, you can give the same prompt to multiple models at once and compare the results).

Sonnet 3.5 is amazing.

I created a personalized finance app based on a Google Sheet that I used to track my registered account contributions and performance.

Basically I enter the transactions and it shows a dashboard of my contribution rooms, how much is left, how much I have already contributed, etc.

Nothing fancy, but it just just a Remix frontend with MantineUI backed by an SQLite db inside Dropbox. Took me about 6 hours, and I only made it after I botched some changes I made into the Google Sheet that broke a bunch of formulas.

I thought about making it into a public app, but it is so tuned to what I want that it is probably not really that valuable to others.

I use it every time I save. Used to be weekly but lately monthly.

Amazing article!

It is actually amazing how fast and thorough the connection attempts happen as soon as you put anything online.

I've been playing around Hetzner and Coolify recently, and notice that, as soon as port 22 is opened, it is bombarded by those attempts. Several per second. It might be due to Hetzner IPs being reused, but happened to me every single time. Same with Postgres default port (those were the ones I've seen).

I have defaulted to use Terraform and bash to only open those ports in the Hetzner firewall (and more common ones like 3000 or 8000) to my own current ip. It does mean I'll get drift and need to reapply the Terraform code if I change ips, but seems to be at least one way to defend.

I fear that a lot of devs jumping into the "you only need a VPS" crowd on Twitter will end up with a huge attack surface on their apps and machines and most won't even know they are being targeted like that most of the time.

To this day I still find it hard to find a comprehensive security guide for those newer Linux fresh boxes (and the ones you find are all so very different with different suggestions). If anyone knows of a good one, please share with me!

This looks like more of an "ad" (or a very directed study by a competing methodology), but excess pragmatism can ruin even the most sensible ideas.

Agile, testing, design patterns, best practices can all tank and bury a project if applied excessively "by the books" without consideration of the actual problem to solve.

I've worked in teams that had about 10 people actual doing dev work that implemented the full suite of Agile "principles" as rules. Daily standups, grooming, retros, pointing as "poker", 1:1s every week. The result was that we had barely time to actual work since the week had 10-20 hours of meetings. Most retros and standups were literally just us saying "same as yesterday, only had a few minutes to work on this" the whole week.

Testing is the same. If applied without consideration for the actual problems, reaching that 90%+ code coverage is easy if nobody cares about how hard and time consuming it will be to change code later. Specially when a feature is in very early development.

I think all those things are good, but what I see sometimes is that they are applied as absolute rules that cannot be deviated from, which inevitably leads to poor results.

I'm now working in a "light Agile" environment with just 2-3 meetings a week, barely 1 hour total, and much less strict PR/testing requirements (we focus on testing the important functionality, not line coverage count) and it is so much better. Some of the same co-workers that were under the more strict rules are now twice or more more productive then before.

For me, a very simple "breakdown tasks into a queue and store in a DB" solution has help tremendously with most requests.

Instead of trying to do everything into a single chat or chain, add steps to ask the LLM to break down the next tasks, with context, and store that into SQLite or something. Then start new chats/chains on each of those tasks.

Then just loop them back into LLM.

I find that long chats or chains just confuse most models and we start seeing gibberish.

Right now I'm favoring something like:

"We're going to do task {task}. The current situation and context is {context}.

Break down what individual steps we need to perform to achieve {goal} and output these steps with their necessary context as {standard_task_json}. If the output is already enough to satisfy {goal}, just output the result as text."

I find that leaving everything to LLM in a sequence is not as effective as using LLM to break things down and having a DB and code logic to support the development of more complex outcomes.

Sad to see. When I started my journey into programming, PluralSight was one of the main resources I used, together with Lynda.com and Team Treehouse.

All 3, sadly, have seen the quality nosedive in recent years.

Today I mostly rely on Udemy. I know it has a bad rep and tons of garbage, but there are a handful of instructor that deliver really high quality content there. For example, see Fred Baptiste Python courses.

Even with AI taking charge, I still believe there is a place for a high quality, guided course like PluralSight used to offer back in the day.

Amazing!

I don't trust Google with barely anything these days anymore (except Gmail just because it has been so long, and Maps), but Google Meet is the one thing that I prefer Google's solution over anyone else's.

Meet is just so much better than Zoom, Teams, FaceTime, WhatsApp Video, etc.

I'm so glad they are tackling this specific issue. Pretty amazing feat if it works well.

As others have said, I find it very useful for smaller and simpler cases. Focused, small functions. A lot of times both Copilot and ChatGPT (and also Llama 3 via Ollama) are great at sometimes writing tests for edge cases that I might have forgotten.

But anything more complex and it is very hit or miss. I'm trying now to use GPT-4 Turbo to write some integration tests for some Go code that talks to the database and it is mostly a disaster.

It will constantly mock things that I want tested, and write useless tests that do basically nothing because either everything is mocked or the setup is not complete.

I'm settling in using it for tests for those small, pure functions, and more using it as a guide to find possible bugs / edge cases in more complex cases, then writing the tests myself and asking it in another prompt if they would cover those cases.

As most people that actually use AI heavily these days, I think the usefulness of AI for coding increases a lot if you already have a pretty good grasp of the subject and the problem space you are working on. If you already know roughly what you want and how to ask, they can be a huge time saver on the smaller and simpler things.

In Brazil this is likely the most common scam nowadays. Almost every month one of the 4 members of my family gets a message in WhatsApp, usually from a cloned profiled, with the same script:

"Hi <brother|sister|dad>! I'm trying to buy something in store X but my card is getting declined, can you make a PIX (Brazil's real time rail payment) for <random person> for YYYYY (4, 5 digits amount) reais for me? I'll pay you tomorrow"

Or the out of fashion "This is X and I have your daughter, pay X so we can release her".

I have never understood how those people can do this for that long with the amount of tracing and spying the government has. Specially using payments from the Real Time Reail (PIX) that is tied to a CPF (equivalent to SIN/SSN).

Even in the current state of streaming, with sports spread between several providers, you can get, in good faith, in YouTube watching a pirated live stream of a major competition where the broadcaster fakes a famous bank or financial institution pretending to make lottery and faking draws on screen. It is so rudimentary you can see the person literally typing random names.

This is probably one of the easiest crimes to automate enforcement against in the age of AI, and yet, it happens for months, every day.

Good for Spain for actually doing something about it. I wish Brazil would start doing the same.

And yet, my level of danger to society is also close to zero.

This happened with me right after they reverted the pandemic decision to allow alcohol there and I didn't know. I was drinking in good faith like I did for several months when they allowed it during lockdown.

Still, it is very frustrating that the beer would warrant a couple of park rangers to approach and enforce, while just a few meters away someone was doing hard drugs visibly completely out of their minds and screaming at passer byes.

I honestly never understood why, if I opened a beer in English Bay in Vancouver, I'd get approached in a matter of minutes to stop/throw away the beer and yet, sometimes a few meters from me, we could see people openly using drugs and doing all the things you can imagine in open air without any repercussions. People completely out of their minds, screaming, walking in the middle of traffic...

I've come to Canada from Brazil, so I know a thing or two about violence, so it saddens me to no end that here I have to tell my wife not to go on certain streets in the middle of downtown due to rampage drug usage by users. And not even bad downtown, fancy Vancouver downtown close to Yaletown and West End.

It is about time that this is addressed. These people need help but the way to way to help them is not to just let them use drugs and stay on the streets every single day.

There are some establishments in downtown Vancouver that I don't even go to anymore simply because of the normalization of open drug usage in Vancouver.

Something needs to change and I thing this is a good start, at least to get this people somewhere where we can then start working on getting them treated or properly helped.

I'm probably in the minority here, but personally I'd much rather review a 300 line PR instead of 6 50-line ones if the change is a single context.

I briefly worked with a hard line-count-limit for PRs and I thought it made everything much worse. It is fine for changes that are actually small, but when you need to go back and re-open 4, 5 merged PRs in different tabs to get the full context again, the time to review increases tenfold with tiny PRs that don't really make complete sense by themselves.

I have worked with co-workers that have the complete opposite preference, though, and anything over a set amount of lines wouldn't even be reviewed.

Interesting to see the numbers on the article, however. My anecdotal experience would make me guess the opposite. I feel like work slows to a crawl once the PRs are artificially limited and broekn up like that, specially in fast moving companies and startups.

Same. I personally end up enjoying those user-hostile changes when they happen because they almost always result in my own time spent on those platforms decreasing.

I've basically left Twitter after recent changes. Reddit is down to a fraction of what used to be a couple years ago (too aggressive on mobile, I just give up reading it).

YouTube was one thing that I used a lot, not always for productive or educational videos. I'll probably just watch a YouTube video from now on when it is really something interesting. Which is good.

I read the whole article, and I think there are good points and things I disagree with.

The biggest counter point I have with those articles criticizing Rails for being "too magical" is to ask: what is the alternative?

And I don't mean alternative in a sense that one developer will do something by hand. More like: what would you suggest a "medium-xxl" app company (author's words) do?

Use another framework? Fair.

But, as others have said, it is 2023 and even still most other frameworks still won't come close to Rails. Laravel is pretty close, Django as well. Next? I still miss Rails from 2009 (when I started learning it) when dealing with Next every day.

Build some custom solution? Fair as well.

But, how do you enforce standards over a big team? I used to work with Rails, then I went to work in a Flask app with multiple teams working on it...

What happens in practice is, without a strong framework like Rails, each developer/team ends up creating its own little framework, with its own little quirks and ways to do thingz. And then when you need to maintain it, you need to learn a whole "new" ad-hoc framework, most of the times with no documentation and without the original developer to explain it to you. And the differences between what different teams/developers come up with can be drastic, completely different ways to do things.

Rails is not perfect, but having worked with the alternatives for years now, I still think Rails got way, way more things right then wrong. I'm starting a side project now with Remix, Prisma and almost every day I still fondly remember how Rails had all of this setup figured out way back in 2009 when I started working with it.

Almost any other framework/solution suggested, as the author said, for "medium-xxl" projects will have the same issues or even worse.

To this day, almost every week I get myself thinking that I still wish there was a "Rails for JavaScript" (since I need to work with JavaScript).

You just go into the app and click "Create card". Within seconds it will show you the number, expiration date and security code. And you can name it.

Then you use it like a normal card, so on the retailers it will be just like you use a physical card.

For example, I wouldn't have one card per purchase for Amazon, but one virtual card for Amazon that I would switch every few purchaces or something like that.

I haven't had any issues with this and have been doing it for a few years now.

This can already be done with credit cards in Brazil.

Nubank [https://nubank.com.br/en/] lets you create as many virtual credit cards as you want, and you can delete them right away after using them. I now create one for each online transaction.

I imagine phone numbers will eventually be treated the same, specially once eSIM gets more and more common and the number is not tied to a piece of plastic anymore.

In Canada, as I assume is the same as US, even a new phone number will get bombarded with spam calls as soon as you turn it on.

I really like the idea of the post and would love to have phone numbers work like Nubank's credit card, and I would be able to create a new number (already tied to my information), use it on less reliable things, then delete it once it was over.