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

Funny coming from a CMS that breaks every time you update it or update the underlying PHP version.


I’ve got a lot of clients with WordPress sites and this hasn’t been the case for a very long time - the only exception being poorly written 3rd party plugins.

Current generation WordPress regularly updates automatically with no issues, and I’ve seen no incidents with security updates for PHP either.


>the only exception being poorly written 3rd party plugins

Unfortunately you need several of these to make any web site plus a theme, so yes, it happens.

If you have so many clients you know it well that you can't upgrade from php 7 to 8 without the site crashing. Well, unless you are really lucky.


Did you just create this new account because your previous accounts were banned for posting racist, transphobic, and sexist shit, lies, and conspiracy theories, yet you're continuing to post racist, transphobic, and sexist shit, lies, and conspiracy theories from this new account? Didn't you learn anything?

https://news.ycombinator.com/user?id=veave

https://news.ycombinator.com/item?id=37245819


>you know it well that you can't upgrade from php 7 to 8 without the site crashing

This is not unique to WordPress, this is how most any software running on an interpreted language would behave if you updated the interpreter by a major version and did not update the software to a supported version.

Major version upgrades in PHP are the only time BC breaks are allowed, for example.


Wordpress does very well on motte and Bailey - the core is performant and secure, but if you try to do anything with just core, you’re told to install any number of (quite good mind you) plugins.


Most of the time you get a new client and they have a website with a theme and plugins that haven't seen updates in years because the authors abandoned them. You have to constantly fix them. Even if you create the website yourself you really have no way of knowing for how long it will be supported, and even then, you are not going to do a complete security audit of the codebase.

For example because of latest updates to PHP 8 they have deprecated the $var{key} syntax - who the fuck uses that?! I did not even know it existed until some of my clients' websites crashed after I updated PHP.

It's an absolute minefield since we moved on to the PHP 7 branch. I am glad for PHP because the language sucked before because of how lenient it was. But it creates a lot of work for me.


Oh, certainly. The number of client websites I’ve seen with strange custom themes is way too high (I’ve seen one, and we were the client apparently).


I only count 6. Switzerland and the UK are not part of the EU. (The article is about the EU, not Europe)


> The article is about the EU, not Europe

The thread you're commenting in is about whether workers can still do good things even if they get breaks, not whether they're currently a member state.

A cursory googling says that Swiss workers get 4 weeks and UK workers get 5.6.


>The European laws are not some random thing we made up because we are lazy. It is to ensure workers are well rested and ready for a new working year.

If that was true Europe would have the highest productivity of the world, but it doesn't.


> If that was true Europe would have the highest productivity of the world, but it doesn't.

Depends on how you measure productivity. Per hours worked, the top 10 most productive countries is almost only European. Per capita the results are different.


> If that was true Europe would have the highest productivity of the world, but it doesn't.

Maybe productivity should not be the metric we should strive for?

I lived/worked in the US and Europe and my quality of life and overall happiness was way higher in Europe even if my salary was higher in the US.


Productivity, the thing that is so reliably easy to measure.


>Nobody wins.

You just described regulations.


Without regulations I'd need to grow my own food, though.


That is so absolutely false. Any game you run if you don't cap fps it uses 100% of your gpu and potentially your cpu. As soon as you cap the framerate to 60 fps it starts behaving normally.


I said as much, though. Read again. I had a caveat about when you start limiting your frame rate.


"rendered" and "sent to the screen" are very different.

there are nuances about all of this which make both of you correct in different situations.


>photosynthetic machinery in tropical trees begins to fail averages approximately 46.7 °C

>have midday peak temperatures of approximately 34 °C during dry periods, with a long high-temperature tail that can exceed 40 °C

So basically they have found absolutely nothing of concern


Glass sucks. That's why we stopped using it.

It's expensive, it's brittle, it's heavy, it takes up a lot of space.


> That's why we stopped using it.

Except we didn't; wine and spirits come almost exclusively in glass bottles, beer is frequently in glass (although cans are also used), almost every store will have some sodas and bottled water in glass, most people at home and restaurants use glasses made from, well, glass, etc.


Glass is a little bit better at keeping oxygen out than plastic, dark glass keeps UV rays at bay, and thick glass bottles can better withstand the pressure of a second fermentation in the bottle, as with champagne and abbey beers. It also looks nice. These are advantages for beer and wine, but mostly irrelevant for soda, water and juices.


Maybe it's some mass illusion, but most people say that drinking from glass bottles tastes significantly better. Personally cans taste bad, plastic somewhat better.


Cans are lined with plastic on the inside, otherwise aluminium would react with acidic soda. There is no practical difference in that regard between a plastic bottle and an aluminium can lined with plastic


I like drinking from a can; your mouth still touches the metal while you drink, so while the flavour of the liquid as such is unaffected, it still changes the overall "flavour experience" (for either better or worse, depending on personal tastes).

If you pour it out in a glass it makes no difference.


When I'm drinking from the can, I'm "licking" the metal which changes the taste/experience.


It's easy to purchase Mexican sodas around here, and these are never in plastic. Also the more upscale or organic soda companies such as Jones or Reed's, always glass.


I don't use drugs. But my understanding is that plastic bottles aren't exactly uncommon even for spirits. And then with wines you get the boxed stuff. A carboard box, with plastic/foil bag inside.


I do use drugs. I have never seen spirits in a plastic bottle, even own brand super market vodka.

Boxed wine exists, and is a bit under half the market (by volume). Wine in glasses is still the majority of sales. Beer/cider/larger is sold in cans or bottles, with cans being about 2/3rd by volume.


I do drugs as well, but I don't typically drink alcohol. Maybe I am not qualified to speak on this, but in the US most of the cheap vodkas have been coming in plastic bottles for around 15 years now at least.


Hm... I think in Europe most if not all of the alcohol comes in glass (or also still sometimes a tin can). Only some beer is in plastic bottles, but most would say that is a sin and a no go and never touch it.


I've only seen plastic bottles for very small bottles: the type you get in a mini-bar or airplane. If you go to a supermarket or off-license you typically won't find non-glass bottles for regular-sized wine or spirits.


Or strangely enough in the US cheap spirits often come in very large plastic bottles... think Costco brand tequila and vodka in 1.5l containers.


Glass is awesome. It's reusable many times over and recyclable after that. We used to have systems to allow that reuse (bottle return) before somehow we ended up throwing away a plastic bottle (recycled at best) every time we buy a pint of milk.

And contrary to sibling comment, glass containers don't leach heavy metals (or anything else) into food.


Plastic bottles are more environmentally friendly.

Glass requires massively more energy to manufacture, even using 100% recycled glass. Glass is heavy, so it's more expensive to transport. Collecting and washing bottles for re-use consumes a substantial amount of energy, which greatly increases the number of trips required to break even on the higher manufacturing impacts. The lifespan of a re-usable glass bottle is relatively very short, because glass is fragile. Glass compares poorly to HDPE when we factor in a realistic lifespan for glass and a realistic recycling rate for HDPE.


They are currently, but only because we're crap at reuse. Glass bottles are highly reusable - 15 times or more on average - before they need to be recycled (i.e. melted).

Minimising the transport costs is part of the design of the reuse process. Milk floats are a great example of this. Milk delivered to the door by an electrical vehicle daily and empties collected by the same vehicle, washed and refilled. This was the standard way to get milk (and often juice, eggs, etc) in my childhood but nowadays people throw a plastic bottle into a generic recycling stream every time and I highly doubt it's an improvement.

Online grocery shopping reduces fuel usage and pollution for getting goods to homes by consolidating many deliveries in one vehicle round. It would be great to see this being used (again) as a way of improving packaging efficiency too, one way or another.


I think microplastics are a much greater concern than the extra energy used to transport either of these materials.


It's much heavier to cart around, which must be factored in. There's absolutely nothing inherently harmful in single use plastics if they get properly disposed of in landfill.

Driving heavy glass back and forth from the bottling plant burns a lot of diesel unnecessarily.


In either case it's better not to transport bulk liquids more than necessary. Tap water, locally brewed beer.


To "recycle" glass, all you have to do is wash it.


That's what the grandparent sensibly referred to as reuse; you can do that, but you after you're done reusing it, you can also recycle it, that is, melt it down and make new glass from it.


Glass is amazing. You haven't tasted a beverage until you had it in a glass cup or bottle.


Different metals used for cutlery also affect flavours: https://scienceillustrated.com.au/blog/science/does-cutlery-...


Neither glass nor plastic add or detract from the flavour of a beverage.


There is absolutely a difference in perception, especially noticeable with metal/non-metal.

Drink a soda from a can and then the same kind from a glass? Night and day. Try experimenting with spoons to eat: wooden, plastic, different metals. You really notice that, or you should: the spoon goes right on your tongue to introduce the food.


What? Definitely happens, latest when one of the cheaper thinner bottle types have been sitting a bit too long in the hot the plastic taste becomes intense.

And even if below noticing levels I think plastic molecules have been detected in such beverages, but uncertain here.


Do I really need to specify "unless you have put the bottles in the sun, which the label tells you not to do"?


Which is sometimes unavoidable, but to be precise, the same even on hot days without direct sun exposure, lets stop pea counting. You will easily find studies that stuff from PET production like acetaldehyde goes into the beverage and impacts taste.

But certainly also kind of what you are used to, always surprising for some folks to learn that for others chlorine water is associated with freshness, while clean water is a bit foul.


They affect the mouthfeel and experience of the beverage and the brain conflates all those with flavor.


It does influence the flavour as coloured glass prevents the loss of flavour due to light radiation.


I find that carbonated beverages behave very differently in plastic cups.


Don't forget, often contains lead or other heavy metals.


This is true only for old or expensive crystal glasses.

Most common soda-lime glass has negligible amounts of undesirable impurities, while borosilicate glass, like I use for my food and drinks, is even more pure and it contains almost nothing besides oxides of silicon, boron, sodium and aluminum, and it is inert in contact with food.


The only thing I can find on this: https://www.plymouth.ac.uk/news/toxic-substances-found-in-th...

In short, only the enamelled decorations may contain heavy metals, which leech in the environment after use. This is a serious problem, but not with glass as such.


>Let's say use this place.

You think this isn't already happening?


I think it comes to nebulous concept of out of "free will". Just not have a "bot" running some loop. But have entirely self-acting AI. One that could for instead go and find Reddit or Lemmy or some other place.


This was 2005, there was no attention to sell and they would gain nothing from equipment damage since there was no in-game shop.


Wasn't it tremendously naive of Microsoft to trust that SSDs did encryption correctly? So naive that it borders incompetence and/or malice?


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

Search: