Better HN
topnewbestaskshowjobs
Log inSign up

codegeek

15,869 karma · joined Jul 23, 2012 (14y ago) · 5,252 submissions

SAAS founder. I love to teach what I know even if I am no expert. It is simple. Teaching makes you better. I love to ask the "why" and not just the "what" or "how". I also am a geek and builder by nature.
Submissions

comment 1y ago · link · parent

But imagine right now vs you only being down. It sucks right now but most customers are aware of why and we can just say "hey its everyone, just not us". If you had a DDOS attack only on you, imagine dealing with customers then. It is a double edged sword.

comment 1y ago · link · parent

Cloudflare is still down and now its been 5+ hours. Having said that, the thing about "if you don't need to" is not that simple. FOr personal sites/blogs, I can agree but then it really doesnt matter for those. For a real business, the value of cloudflare (As centralized as it gets) is the proxy especially against attacks. The other stuff like CDN/Caching etc are bonus on top.

Unless there is a better option, just asking real businesses (no matter how small) to not use cloudflare is not an option.

comment 1y ago · link · parent

As much as this situation sucks, how do you plan to "mitigate a DDoS attack on my own servers". The reason I use Cloudflare is to use it as a proxy especially for DDOS attacks if they do occur. Right now, our services are down and we are getting tons of customer support tickets (like everyone else) but it is a lot easier to explain the the whole world is down vs its just us.

comment 1y ago · link · parent

I miss my blackberry when it comes to typing.

comment 1y ago · link · parent

"Unfortunately for me, not all collaboration can be rooted out, and even I will admit that some collaboration is useful. Ian and Andy edited this newsletter after all."

So "good" collaboration does work. It is just that the post is talking about things that are not really true collaboration and those should be avoided. Title is click bait but posthog is famous for these.

comment 1y ago · link · parent

For specific dates, I prefer 3 dropdowns with explicit strings for months. So the dropdowns would be "7", "January","2026" etc instead of 01/07/2026 or 07/01/2026 ensuring there is no confusion.

157.

.NET 10 Released(dotnet.microsoft.com ↗)

12 points · by codegeek · 1y ago · 2 comments

comment 1y ago · link · parent

    (minutes == 1) ? "minute" : "minutes"
I really care about this one. One option I suggest is to use minute(s) etc that can take care of both 1 and higher numbers.

    1 minute(s) works

comment 1y ago · link · parent

I think requiring app is an overreach. I hate installing apps. If you want to save money and not do paper, I would just do this:

- Provide a discount/credit for using electronic digital boarding pass (PDF file, no apps). If someone is not able to use the PDF etc (either their own printout or on their phone) and require a paper pass at the airport for any reason, their discount/credit goes away. Simple.

comment 1y ago · link · parent

You could say the same thing about Computers when they were mostly mainframe. I am sure someone will figure out how to make it commoditized just like personal computers and internet.

comment 1y ago · link · parent

'moved over to a newly-registered domain"

Was this new domain in use before ? If yes, check if the domain itself was blacklisted earlier. Sometimes, domains are used for scam/spams and then someone else registers it only to find out that google is blacklisting it.

comment 1y ago · link · parent

Sorry I should have been more clear. I meant that I cannot do anything else other than being a founder and run my own thing. With that, comes the burnout that cannot be solved by taking time off because you cannot just switch off like a regular employee can. So you have to solve the burnout differently.

comment 1y ago · link · parent

"I've come to realize burnout is a function of expectation mismatch"

This. No amount of break will solve the issue until you adjust your expectations, especially from yourself. I have been burnt out as a founder and taking time off made it worse because I still have a business to run and you cant just switch off as a founder. Can work for employees but not for founders. Only way is to stop expecting too much from you but still jeep the balance of keep moving forward.

Really hard to do. I struggle every day but I cannot quit doing it because i cannot do anything else (EDIT: I mean other than being a founder).

comment 1y ago · link · parent

I hear you that you didn't have to pay something crazy but the fact that you ultimately paid $500 for a short ride and you think it was "successful experience" is how they fool us. You think you got a deal when they are still laughing all the way to the bank for charging you $500 for a short ride.

comment 1y ago · link · parent

Yes and it still sucks because I hate wasting my hard earned money because of a random number thrown at me for the so called "Claim". Fk the entire insurance industry especially health insurance mafia.

And don't get me started on the inefficiencies and waste of time that you have to go through to fight a "claim" that is incorrect.

comment 1y ago · link · parent

Great question. No one "wants" insurance. Everyone wants to be able to get covered for care. The problem is that Govt decided decades ago that Health Insurance is the only way to get care even for mundane things like a regular doctor visit. To make it worse, they tied it to Employers needing to provide insurance. Insurance companies love this bureaucracy and became too powerful over the last few decades.

It is a sad state and I have almost given up on the hope that someday it will change. I m lucky enough to afford healthcare and feel for those who can't.

comment 1y ago · link · parent

"he doesn’t seem to care, he’s paid well."

There is your answer. Most people want to have a job where if they are paid well and are reasonably safe, they don't care. I am not saying its a good or bad thing. It's just the way it is.

You cannot convince someone to pick up new things because YOU think thats what they should do. I personally think people should always be learning new things but I cannot expect my friend to do it if thats not what they think.

comment 1y ago · link · parent

"The alternative is that we move to a 4 (or 3?) day work week, or UBI,"

Those things are not practical. Human beings are designed to work. Before the Industrial Era, it was all hard labor. Then came the machines and it became "hard labor with machines". Then came the Internet era and it become "work with computers". Now with AI, it will just be "Work with AI". The number of hours/days will remain the same. Employers will still expect you to work 5 days a week if you have a job. It is just that they will expect your output to be 50-100x higher using AI.

comment 1y ago · link · parent

We did a COBOL project in our CS program way back in college (circa 2002). I remember liking it a lot considering it was "mostly write code in Plain English". AI Prompts have nothing on COBOL :). They were doing it way before it was cooler.

Regardless of what we think of it, we must appreciate its longevity and reliability. Sure, it is hard to change and all that but can we really imagine today's modern tooling surviving 50 years and counting ? I don't know.

comment 1y ago · link · parent

THink of this way. AI shouldn't detect WHAT/WHY to do, you should. AI should just do the HOW.

One example. Lets say you want to add caching to your application. You shouldn't let AI decide everything on the architecture. Instead, you should dictate to the AI what it should look like. Then lets AI just write the equivalent code.

An example prompt that I would do "Let's add caching functionality. Use Redis as a caching store and lets start with storing these 3 API results in cache".

This ensures that AI only does what you need it to do and not making too many decision on its own. If you let it be too loose, you are giving too much control to AI and will then slowly lose what you are building.

comment 1y ago · link · parent

Exactly. It's sad that we have been brain washed by the cloud propaganda long enough now. Everyone and their mother thinks that to setup anything in production, you need cloud otherwise it is amaeteurish. Sad.

comment 1y ago · link · parent

This is how the cloud companies keep you hooked on. I am not against them of course but the notion that no one can self host in production because "it is too complex" is something that we have been fed over the last 10-15 years. Deploying a production db on a dedicated server is not that hard. It is about the fact that people now think that unless they do cloud, they are amateurs. It is sad.

comment 1y ago · link · parent

How long is a piece of string ?

"Cheap" is relevant if you are talking about work load that is one off and doesn't run continuously. A lot of people use serverless to run a 24-7 service which sort of defeats the purpose. It doesn't get that cheap anymore.

Serverless is good if you have one off tasks that are used intermittently and are not consistent.

comment 1y ago · link · parent

"Self-Hosting : Being tied to Cloudflare's runtime meant our customers couldn't self-host Unkey. While the Workers runtime is technically open source, getting it running locally (even in dev mode) is incredibly difficult.

With standard Go servers, self-hosting becomes trivial:"

A key point that I always make. Serverless is good if you want a simple periodic task to run intermittently without worrying about a full time server. The moment things get more complex than that (which in real world it almost always is), you need a proper server.

175.

Ask HN: Is GraphQL Worth It?

3 points · by codegeek · 1y ago · 1 comment

comment 1y ago · link · parent

"Are pointers really that hard for so many people to understand?"

The * vs & always gets me and not to mention if I ever have to deal with Pointer Math.

comment 1y ago · link · parent

The thing with WordPress is that it increases the attack area using shitty plugins. If I have a WP site, I change wp-config.php with this line:

    define( 'DISALLOW_FILE_EDIT', true );
This one config will save you lot of headaches. It will disable any theme/plugin changes from the admin dashboard and ensures that no one can write to the codebase directly unless you have access to the actual server.

comment 1y ago · link · parent

"The root account credentials, essentially the highest level of administrative control, are stored in a shared enterprise password manager in a shared vault to which only three individuals had access: two current Ruby Central staff members and one former maintainer, André Arko"

I am wondering. Did they at least have MFA enabled on the root login or not ?

comment 1y ago · link · parent

Agreed. I was being generous to the CDN lovers :). Peope don't know how powerful static file servers like Nginx and Caddy are. You don't need no CDN.

comment 1y ago · link · parent

I meant a small software/SAAS business. I would agree with you about a non software business. Edited my comment.
1
567
176