Hacker News new | past | comments | ask | show | jobs | submit | kijin's comments login

You can use the same strategy with PHP. Preload all your scripts in opcache. Once you're done making changes, reset your opcache.

In practice, any serious project is likely to be version-controlled. Git pull is generally fast enough that it behaves like an atomic change. (By default, opcache will not reload a file that's less than 2 seconds old.)


I'm pretty sure many PHP dev don't know about OPCache. Many of my colleagues don't know for sure. My point is "be aware of the state of your app code and what you execute", and so be aware of the shortcomings of this deployment "strategy". It's sure perfectly fine and easy for small apps / low traffic / not critical apps. I just want to point that it's not inherently good enough and definitely not the universal way to deploy a PHP app.

Git pull to deploy is something I avoid.


File Browser / Finder maybe, but the text inside the boxes are too small for IDE file trees.

VS Code shows "JS" in yellow text without the box, against a dark background. CSS is just a blue hash symbol. Maybe they'll change the color to rebeccapurple, but I don't think there's room for a box around the symbol.


If it's such a simple combination, I wonder why it wasn't officially named until 2014. CSS has had names for all sorts of weird colors since forever.

Most CSS color names were inherited from the X11 color list [1], which, in turn, sourced its colors from a weird mixture of Crayola crayons, paint samples, and idiosyncratic personal choices [2]. It's a mess.

[1]: https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/di...

[2]: https://lists.w3.org/Archives/Public/www-style/2014Mar/0272....


Maybe it wasn’t named so that long after people like me pass from memory for good, people will still speak of Rebecca and of the love we showed her.

I think Adobe started this trend. A box with "Ps" inside for Photoshop, "Lr" for Lightroom, etc. for all their products.

An entire generation of web designers grew up with their heads stuck in the Adobe ecosystem, so this must look like the gold standard to them.

At least Adobe made an effort to make their logos look like symbols on the periodic table.


To me these made sense, as I was able to quickly, visually distinguish PhotoShop by the “PS” letters instead of trying to decipher a 32x32 logo.

A vibration motor would have been even better, but I suppose there wasn't enough space inside for that. Nor for a speaker.

This is Casio, though. If they really want to, the next version could very well contain all of that and a solar battery.


> A vibration motor would have been even better,

The best alarm clock I've ever had is a smartwatch that does this vibrating. No more stupid digital screaming. Just a nice gentle tapping pattern on my wrist, and then a fading bit of music. I'm usually awake and hitting stop before the music really starts.


Same, except I wear this: https://www.amazon.com/Timex-T49950-Expedition-Shock-Vibrati...

It's a "dumb" Timex watch, but also vibrates. So you get that same nice gentle vibrating without any "smart" alerts.


I have the smaller older variant of the Timex Explorer and is still my most worn out of my whole collection despite its ugliness since it's by far the most useful due to the vibration alarms, great UX and features. Shame they don't make it anymore and has only been replaces with this gigantor edition.

A vibration motor on the index finger could make it... multifunctional.

Trust me, if there were another civilization anywhere near us, we'd be at war with it.

No matter what the other civilization looks like, that's how we've always reacted. It's almost a defining characteristic of our civilization.


I suppose the internet hasn't been very fast down there, and nobody has time to load dozens of scripts and tracking beacons when their science lab is on fire.

They should sell their database of correct answers to one of the AI companies. They have college-level, human-verified authoritative answers to common questions. I'm sure somebody is willing to pay for that kind of training data.

Maybe it's worthless because it's all already been scraped?

It's probably paywalled like every time I google one of my kid's homework questions. ChatGPT would be trained to say "please login to see the answer" to all these questions.

That would be a net win for society!

I can't image it is worth much for training. A lot of student submissions are going to be incorrect bull or only worth partial credit at best.

They paid for Reddit content...

Yes, but the questions are the private IP of colleges.

the LLM will be as useful as a college graduate then

They just as well might be, if they are treated as Alexander Reincarnate by everyone around them from a very young age.

Not all clones will survive the pressure of all the expectations upon them, but we only need one of them to accept his destiny as Kwisatz Haderach.


What now does this all have to do with shortening the distance? Or do you mean something else than https://en.wikipedia.org/wiki/Kefitzat_haderech ?



It has everything to do with shortening the distance!

You see there was a prophecy among the Bene Gesserit that a careful human breeding program could produce a genetically perfect man who could survive taking the water of life. This would enable in him an ability similar to that the Guild Navigators employ to guide their ships, but for the course of all humanity rather than the course of a single heighliner.


This gave me a good head scratcher. Taking the terms to be religious, I started to unravel it.

Bene Gesserit sounds like it would be Hebrew or Yiddish ("sons of decree" or something like that) although Google Translate does not hesitate to call it Latin. Water of life sounds like too common concept to trace it back to any specific religion, but Guild Navigators? Now that sounds like a more modern concept, and I would not be surprised if that was present in Mormon teachings or within the church of Scientology. Finally, heighliner, that's not a type of ship that either me or wiktionary is familiar with, so what are we even talking about?

I would be so lost without the sibling comment hinting towards the fictional world of Dune.


Huh... all these hebrew/yiddish linguistic ties are fascinating. There are other things that hint at Judaism or some evolution of it with the Bene Gesserit:

* They are a deeply matriarchal group tracing lineages more by motherhood than fatherhood. (Although with a more over feminist slant too - in that they are all women)

* They are referred to by some in ways that are similar to antisemitic stuff - schemers, conspirators, shadowy powerbrokers, etc. (although in that universe they actually do that stuff too)

* the mesiah prophecy referred to above

* their beleif system and source holy book are a basis for many religions

* a bunch of random little references throughout the books suggest that their ancestors may have been jewish (10k years ago, back on tera)

Dune is a really really good example of world building - at least the ones written by Frank Herbert. Lots of subtlety, the societies and groups in it evolved from ones on earth, and he pulls from a variety of cultures and religions to create the fictional ones. All of it is presented in a way that isn't super expository, but rather you just have to figure it out as you go in a fairly well written way. I recommend reading them - I think you'd see a lot of interesting stuff in there that I've missed.


It also depends on the density and mobility of your host population.

Ebola kills too quickly for hosts to move around and spread it, but that's in small villages in the jungle. What if there's just enough time for the host to take a crowded train and attend a Presidential campaign rally with tens of thousands of other people before feeling too sick? This might be a better strategy for an ambitious virus in the post-Covid world than a slowly escalating illness that just makes people call in sick and stay home.


> Ebola kills too quickly for hosts to move around and spread it

too quickly for _human_ hosts to spread it, but maybe that's where multi-species hosts comes into play.

perhaps it lingers nonlethal in some related species?

(like rabies in bats, for example)


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

Search: