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

Cocktails, on average, are like $15.

What did the industry expect?


Exactly. Add in tip + tax and you're not leaving without spending ~$40 for two cocktails and ~$60 for 3 cocktails. Many, if not most, people sit at bars doom-scrolling on their phone and generally are anti-social. It's just not a fun, enjoyable experience most of the time.

Cocktails are margin error on drinking stats

Totally not what the numbers say in TFA. Big shift from beer to liquor (which I presume to mean cocktails for a big share of that.)

Beer at bar $7. What did industry expect?

And, if you want to be overly precise, can you tell us the average prices and consumption for cocktails, shots, wine serving, and beer?


The rent is too damn high.

I haven't used PHP as a daily workhorse in a decade, so I guess I don't understand why I would want a web server in pure PHP? Nginx exists.

It's generally easier to have language self-host itself because at scale, you will be running multiple instances of the application so instead of Ingress Controller -> Go self-hosted/Python Uvicorn, it becomes Ingress COntroller -> Apache -> PHP and if developer modifies the Apache in ways you are not expecting, stuff can break.

I mean at scale you probably have TLS termination -> caching layer -> webserver -> fpm -> php. All probably written in different languages.

I find this argument kind of unconvincing. At scale you want your components to be rock solid. This project is an interesting experiment, but i would never use it at scale until it matures a lot more.


First off, alot of companies don't have caching layer. It's not different languages, it's the fact that you have really capable webserver underneath. It's HAProxy -> Apache -> PHP vs HAProxy -> Golang (Net/HTTP) or HAProxy -> Python (Uvicorn) with a lot less knobs to manipulate.

I'm Ops person who has supported larger PHP applications. I've had several outages because PHP developer dropped some Apache config to "fix" something that caused HAProxy to disconnect. I've almost never had this with Uvicorn or Net/HTTP.


Of course it depends on what type of application you are running whether a caching layer like varnish makes sense. I'm not saying its universal just really common if you are operating at scale.

I agree. Nginx, Caddy, Apache, etc have found and fixed a million edge cases you'd never think of just from reading and implementing the spec. I guarantee there's code in each of these along the lines of:

  # Send an extra 0x20 space character after this header's value, because
  # otherwise Chrome on Android 15 shifts into compatibility mode and
  # it takes 37x longer to render the page, which everyone will blame on
  # "the slow webserver". The spec doesn't say we *can't* add this, and
  # tells clients to ignore trailing space, and we've tested this with 483
  # other clients to demonstrate that it doesn't cause problems. ¯\_(ツ)_/¯ .
Now, as a very cool hack, or for easier local development with one less dependency, or just to scratch a personal itch and see if it can even be done, right on! That's clever and I'm glad they did it!

BTW, in your showdead (for wholly unclear reasons) comment about it using copy-on-write RAM semantics, that's just the Unix process model. The OS does all that courtesy of fork() and the server gets it for free.


[flagged]


What a tedious reply. They're genuinely asking what the technical reasons for wanting that would be. You're reading it in the silliest way possible.

PHP is stil the backbone of the internet and a great tool. I don't think that anybody has to explain why people would want to use it.

If somebody doesn't want anything to do with PHP that's their decision, but why clog up the threads? And every HN post has a similar dismissive comment. Why?

Unless you think HN is a personal inbox...


If you read the comment for more than half a second you'd see they're not questioning why someone would use PHP. They're asking why you would use this particular server over nginx/apache, given how robust their support is.

Signed, a PHP developer.


They are asking about why would you need an alternate system? What is the technical reason behind it? What’s the disadvantage in the current system? All while acknowledging that they used to work in PHP and haven’t recently so they understand a lot less.

There's zero evidence its less possible, including counter evidence it remains possible because we keep being told we have to attack Iran to prevent them from attaining a nuclear weapon.

So apparently, we've yet to do anything to prevent them from doing it.

We've just killed children.


> We've just killed children.

They killed more than 30,000 of their own people including children and support terrorist regimes in multiple countries that also kill children.

> There's zero evidence its less possible

On the other hand we bombed the nuclear facilities so what increase in nuclear weapons capability do they have that you are thinking about here? If there's something that has changed I'd be curious to read about it or your thoughts since that would change my opinion.


So your argument is its cool that we killed children because they've also killed children? Hell of a take.

The evidence we bombed their nuclear facilities is essentially this administration telling us we bombed their nuclear facilities.

This administration does not have a track record of providing the public with honest assessments of their success.

If we've successfully stopped them from developing a nuclear weapon, which was stated as the point of our preemptive aggression, I'd need a very good reason why we continue to spend billions attacking them.


> So your argument is its cool that we killed children because they've also killed children? Hell of a take.

No my take is we do it by accident and they do it on purpose and at a much larger scale and instead of pearl clutching about the US doing it on accident you should be pearl clutching about Iran doing it. I didn’t bring it up, but anytime someone brings up this whole “US killed kids” I’m happy to remind everyone that Iran is far worse.

> The evidence we bombed their nuclear facilities is essentially this administration telling us we bombed their nuclear facilities.

So? Do you not believe anything anyone says unless you see it for yourself?

> If we've successfully stopped them from developing a nuclear weapon, which was stated as the point of our preemptive aggression, I'd need a very good reason why we continue to spend billions attacking them.

Stopping the development of a nuclear weapon is an important goal but not the only one. We keep defending ourselves because they keep doing things like launching rockets at Kuwait, or shooting at American ships, or supporting those committing genocide or murder in Syria, Jordan, Iraq, Lebanon, Palestine, and Yemen.

There is a very simple solution. Iran stops funding these groups, stops murdering their own people, stop launching rockets, and stops trying to build nuclear weapons. Once they do that and behave responsibility like just about every other country on the planet there aren’t any problems.

Why is it that they can’t just stop doing these things?


We didn't just do it by "accident". We did it through incompetence. This wasn't the unfortunate result of a necessary attack on a valid target. This was the result of stupidity.

"Hey, we're not as bad a literal terrorist regime!" is not a metric by which I think we should measure our own country.

I'd believe we'd actually accomplished our goal of stopping their nuclear program if this specific administration hadn't told us, before this attack, we had successfully stopped their nuclear program with a previous attack. Once you've lied to me once, my standard of evidence is a great deal higher than "trust us, bro." and this administration has already shown incompetence at judging the effectiveness of their attacks (or shown a willingness to lie to us about it).

The entire problem with this strategy, from day one, was the completely ahistorical belief that we could punish a country into behaving exactly as we want, in a way that specifically aligns with our interests.

Bullying nations has a tendency to harden them against cooperation and negotiation, as we've seen with Iran.


> We didn't just do it by "accident". We did it through incompetence.

Ok and they did theirs with malicious and clear purpose. Yikes!

> This wasn't the unfortunate result of a necessary attack on a valid target. This was the result of stupidity.

No. Iran and their militant proxies know that we don't attack civilian targets on purpose. That's why they set up facilities, military equipment, or hide combatants behind children or in hospitals and such because they know we don't want to kill innocent people. Hamas or Iran will tell you this as part of their doctrine.

So think about it. You've got the US and allies, Hamas, Hezbollah or whatever, Iran, and they're all saying "The US and western allies don't intentionally kill innocent people" and then there's you who is like sitting here complaining about it and now it's just "incompetence". Give me a break.

> "Hey, we're not as bad a literal terrorist regime!" is not a metric by which I think we should measure our own country.

Nobody is using that metric except you. The US admitted the mistake and apologized at a minimum. I believe there was some talk of compensation though I'm not sure where that has landed. Probably tough to do because the Iranian regime would steal any money we gave to the families.

But hey I do agree with you, Iran's government is a terrorist regime.

> Bullying nations has a tendency to harden them against cooperation and negotiation, as we've seen with Iran.

Well sure but they were never cooperating anyway. If they were, they wouldn't have been taking the actions they've been taking. What does cooperation look like? It looks like not murdering tens of thousands of your own people, it looks like not pursuing nuclear weapons, it looks like not funding militant groups who murder innocent people throughout the region, and it looks like not building up gigantic stockpiles of missiles and drones and then launching them at every country around you.

Iran is the only country doing this stuff. Why aren't they cooperating with the rest of the world peacefully?


It was admitted incompetence in target selection, potentially due to misuse of AI, acting on out of date intelligence.

This has been heavily reported on and no counter-story has been proffered.

You introduced a whataboutalism. I pointed out whataboutalisms are ridiculous when it comes to dead children.

The frustrating part of all of this is we had a working agreement with Iran, with numerous mechanisms to ensure compliance, that was torn up because this administration, without any offered evidence, said Iran wasn't in compliance. And this was despite multiple international partners disagreeing and saying they were absolutely complying.


> You introduced a whataboutalism. I pointed out whataboutalisms are ridiculous when it comes to dead children.

Sure, but you should be talking Iran killing people since they killed many more and did so on purpose instead of on accident. You keep using the term incompetence because you have an axe to grind. Actions matter but intentions get a say too.

> You introduced a whataboutalism.

Well I'm certainly not going to, where I see it happen, let people just dance around talking about US "incompetence" and ignoring Iranian purposeful murder as they try to denigrate my country for their own political aims. These people shouldn't be your political football and you should be more focused on Iranian action.

> The frustrating part of all of this is we had a working agreement with Iran

Why do they need a special snowflake agreement else they build nuclear weapons? Weren't they signatories to the Nuclear Non-Proliferation treaty? Should other countries start building nuclear weapons so they can get some sort of concession from the United States? Why does the US have to give these concessions and not the entire world since it's in everyone's interest that we don't have every country on the planet building nuclear fucking bombs and maybe using them? Did we forget we don't want that or something?


At no point have I said Iran is a good country doing good things.

I have no control of, or say, in how Iran operates.

I am a US Citizen who votes in the US and who is concerned with the actions my government takes on my behalf.

If Iran shouldn't "need an agreement" not to build nuclear weapons, what exactly is our current aggression seeking to accomplish? How does it end? How do we know its over?

When there is no longer a single person in Iran?


> At no point have I said Iran is a good country doing good things.

I didn't say you did. I'm just focused on their wrongdoings and I'm not interested in some accident that the US was involved in. We accidentally blew something up? Dang that sucks. Let's talk about how awful Iran is instead and focus on that because that's what matters.

> I have no control of, or say, in how Iran operates.

What does that matter? You also have no control or say of how Israel operates. Therefore you can't criticize them or be concerned with their actions? You also have no say in Ukraine or Russia.

> If Iran shouldn't "need an agreement" not to build nuclear weapons, what exactly is our current aggression seeking to accomplish?

Sorry I'm not following. They shouldn't need an agreement to behave like the rest of the signatories to the Nuclear Non-Proliferation treaty, yet they want an agreement special treatment, and still develop nuclear weapons in secret. Partly what our defensive operations are seeking to accomplish is to stop them from building nuclear weapons because... they're trying to build them, aren't honoring the NNPT, are murdering their own people, and murdering other people throughout the Middle East. Like why are you so confused about this? Are you unaware of these activities or something?

How about this, can you walk me through what your understanding of Iranian funded militias in Iraq, Yemen, Syria, and Lebanon is? Just at a high level how do you understand those various situations?

> How does it end? How do we know it's over?

Who knows?

> When there is no longer a single person in Iran?

No that doesn't make any sense.


We didn't accidentally blow something up.

Our military murdered 170 children due to incompetence.

I am aware of Iran's activities. Everyone is. The regime is murderous, and hostile to our allies in the region.

And absolutely nothing we are doing, right now, has changed or will change that.


> We didn't accidentally blow something up. Our military murdered 170 children due to incompetence.

You’re calling it incompetence because you have an axe to grind. The US military simply does not intentionally murder children. Everybody knows that including Iran! That’s why these guys put their military equipment next to civilian infrastructure. Why is that I’m telling you this, the military tells you this, European militaries would tell you this, Iran tells you this, and yet you alone are insistent that it is incompetence and not an accident?

> I am aware of Iran's activities. Everyone is. The regime is murderous, and hostile to our allies in the region.

Good let’s focus the conversation there since that’s what is important.

> And absolutely nothing we are doing, right now, has changed or will change that.

False


Just the absolute worst company always doing the worst things.

The Surface Duo was a great idea with mediocre software and essentially no developer support.

The curse of doing anything interesting with Android.


It certainly feels like another 10% of the total effort expended would have made this product viable. And I keep saying that about Microsoft releases. It feel like an enormous effect to get to product release then complete abandonment - no communication, no improvements, no additions, no bugfixes.

Developers will design apps for Apple's foldables.

Cross-platform is a thing.

If anyting, Apple stands to gain from what was already developed for Android.

Like https://developer.android.com/phones-tablets-foldables

Which targets iOS also: https://kotlinlang.org/compose-multiplatform


React Native and Flutter are way more popular than KMM/CM, and yet both have struggled to support even small iOS visual changes in a timely fashion.

This is ignoring the fact that developers who choose these cross-platform frameworks don't seem to care much about quality and general polish.


Apple will gain more from their own existing ecosystems, all five of them most developers within the Apple ecosystems if they pretty much followed all the rules most of their software will work on day one with very minimum changes, in short, they will be 90% of the way there.

It is a thing to some extent, but there’s also a correlation of companies that do cross-platform for simple apps being cheap on development, and making it work very well on some specific platform isn’t their priority.

Thought it will bring "desiging for foldables" onto the table which would benefit Android foldables too.

What would be REALLY vaulable would be a 141% enlarge mode. Ie since the screens are the same ratio there is no reason that when open it could just display exactly the same except larger. This is a piece of piss to program if they haven’t already put it in accessibility settings. This feature alone would drive certain demographics to this device.

It's almost like, and hear me out, Tesla's internal diagnostics might have been manipulated.


Or, and hear me out, a crash has to occur before an event is logged as a crash. To be clear, I haven’t even read the article yet so I don’t know any of the details, but that’s not a conclusion we can draw without understanding how the data is logged.


No one outside Germany would ever do that ! /s


Scam or not, "Robot kills human" was always going to be news.


Turns out, if the government does it, no.


I mean, plenty of men have done the same thing. No imagination required.


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

Search: