Hacker Newsnew | past | comments | ask | show | jobs | submit | Cube189's commentslogin

Why is a broken PHP page with no additional context here?


Thanks for reminding me to fix it! It should be working now.

Turns out in a system upgrade the version of php was updated and I hadn't gone through and updated the web server config links to the new one.


A deliberate appeal to the tastes of hackers?


I like the idea but if you check archive.org it used to render normally :)

https://web.archive.org/web/20130218230607/http://newos.org/


The problem with doing it intentionally is that everyone (including myself) is just going to assume the webserver is configured not just incorrectly, but incompetently: this would expose connection-strings, passwords, etc - and makes me less likely to want to get behind a project.

Now if the page were resembling a C program instead (e.g. using a `switch` and `case` labels as a nagiation menu) that'd be cool, but make things difficult for your readers who don't know C well-enough, and outright alienate people who are allergic to code but still work in this industry.


It's an old project. Probably just don't worry about it. :)


There was definitely a time when this kind of tongue in cheek joke was common, but even then things like hrefs would still work, this site used to render and PHP is definitely broken :)


Sounds exactly like a project I am in. Not to mention that we have like three "microservices" that access the exact same database. Oh, and a single Git repo.

Yeah...


Google technically has one big repo. It just depends on how you do it.


Looks really good. Thanks for the recommendation. Will definitely check it out later.


Never been in a project that took all those rules into consideration. Usually, when pointing out the issue, it was me who was supposed to defend my point as opposed to the person who wrote the code (or my comments got ignored altogether).


Oh wow, I find this extremely relatable, I was starting to think I was the only one. I have the exact same experience, in fact, it's basically the only thing I've experienced so far in my career. I remember so few times (while at any job) where my opinion/experience/knowledge/ideas/code review/etc was ever given any weight. On the other hand, helping people out online or wherever, has always been a pretty positive experience for both of us and I've enjoyed it.

> it was me who was supposed to defend my point

Professionally, on the other hand, it feels like I'm screaming into the void, or sometimes at a brick wall. It's deeply frustrating, it's basically got to the point where I just stop trying to change anything for the better, agreeing to whatever inane changes they want to the code (even when I can see the clear disadvantages that will hurt them more than me but they want it anyway), never bothering to disagree with anyone more senior, basically being a yes man for code. I've occasionally been able to work on something brand new, where I have a little more control over the quality.

> opposed to the person who wrote the code

Getting someone to change code they "own" always seems to be impossible too, no matter how tactfully you approach it, no matter how much evidence you present that indicates a design flaw, no matter how well you explain why an alternative is better, it's just so pointless.

The stuff I work on outside of work is usually where I get to write clean code.

> (or my comments got ignored altogether)

Basically, it boils down to this. I don't know how people cope with it, at times I feel totally hopeless about it. I see people sprinting towards the cliff edge and no matter how much I try stop them, they are determined to keep going. Sometimes it feels like they double down or deliberately do the opposite of what I'm suggesting.

  Me: Hey, stop hitting yourself, that's bad.
  Them: Oh, you want me to stop hitting myself? I'm going to do it harder.
It's a totally uphill battle, some people just don't want to listen. I'm all out of answers.


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

Search: