Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
heurisko
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
241.
▲
by
heurisko
5y ago
> Its concept of "one endpoint is one script" is one of its biggest killer features that no other language has been able to deploy in such an accessible manner. I don't see that as its biggest killer feature. In fact most
242.
▲
by
heurisko
5y ago
In the context of PHP, the package source is put under vendor/ and in my IDE is automatically indexed. It's very easy to view the source code. You can even experiment with the packages directly, by editing the files in vendor/
243.
▲
by
heurisko
5y ago
You have misunderstood, the latter refers to "download the .php files, 'require' them", which is the situation you say exists right now. I'm going to leave this by saying that I think the idea that you can make deve
244.
▲
by
heurisko
5y ago
> Packages are often seen as a one-step plug-and-play solution. I don't want people to see my code that way. They should dive in and inspect it before using it (it is always written with this in mind - with extensive commenting and
245.
▲
by
heurisko
5y ago
> it is recommended prominently in multiple places that they not blindly trust the code and actually inspect it before using it. The friction in this process is intended. There is nothing inherent in using packages that means you have t
246.
▲
by
heurisko
5y ago
Composer (PHP dependency manager) does not force you into doing automatic upgrades. You can keep a dependency fixed at a particular version indefinitely. You can also point composer at a private vendored repository of the dependency if you
247.
▲
by
heurisko
5y ago
> I have a mailing list for people who use my code, when an update is out they can download the .php files, 'require' them and test them before deployment, but never will I do packages. This offers no benefit in terms of securi
248.
▲
by
heurisko
5y ago
The thing I would like is a program that can browse journalctl files, but from other operating systems.
249.
▲
by
heurisko
5y ago
"naïve systems" doesn't make sense. Nobody is assuming simply adding a UUID transforms a system into a distributed one. The parent comment is about exposing UUIDs probably in order to not expose the sort order of the database
250.
▲
by
heurisko
5y ago
> Bad abstraction are worse that lack of abstractions, basically. I have found creating test seams in legacy OO code easier than starting from scratch with an untested 5000 line procedural file. In that case, having some abstractions was
251.
▲
by
heurisko
5y ago
It was a great move for PHP to take inspiration from Java. It gave people a recognisable syntax and structure, to run things on PHP's shared-nothing architecture, which is arguably its real strength. Similarly it was a great move for S
252.
▲
by
heurisko
5y ago
>That why tending to really old PHP code bases is the comfiest job ever. Everyone understands that the code is horrible and you are regarded as a hero for diving in but honestly most of it is just straightforward procedural code and you
253.
▲
by
heurisko
5y ago
I remember leaving the computer on to download 650MB overnight, which used to be an ISO for an operating system. It was usually finished sometime the next day. And 60MB would have been a couple of hours, not bad to wait for some software. I
254.
▲
by
heurisko
5y ago
I can remember using 56k dialup and downloading ISOs around 650MB. A 60MB download would have been fine. Indeed, with the annoying habit of proprietary software to install "Download managers" that download the actual software, I w
255.
▲
by
heurisko
5y ago
I err on the side of hyper safetyism when it comes to nuclear, as when it goes wrong, it can make areas permanently uninhabitable. Not to say that I advocate for a blanket ban. But I am concerned that a Chernobyl could happen in China, if t
256.
▲
by
heurisko
5y ago
Amazon tried to emulate Digital Ocean with Lightsail. It does feel a bit like a Cinderella service however. The versions of the managed databases you can connect are sometimes several years old.
257.
▲
by
heurisko
5y ago
I would clarify the sole rationale for the Covid situation. Covid is not particularly dangerous to the young and healthy. The danger is that the small percentage of people who become seriously ill is still enough to overwhelm a health syste
258.
▲
by
heurisko
5y ago
> Seconds wasted for TLS handshake The few hundred milliseconds is worth it to stop someone sniffing my browsing details on an open network. I can remember browsing the web using 56k. That was slow.
259.
▲
by
heurisko
5y ago
There are some parts of the book that are perennial, namely discussion of the UK's geography, which is relevant to energy storage.
260.
▲
by
heurisko
5y ago
Could you post references regarding the issues you have raised, as it contradicts other claims below that sees hydrogen storage as unavoidable.
261.
▲
by
heurisko
5y ago
This is great news. Wind turbines make a lot of sense for the windy UK. The problem of energy storage when the wind isn't blowing, remains. The energy storage section in "Sustainable Energy without the Hot Air" [1] gives a go
262.
▲
by
heurisko
5y ago
I'm not up-to-date with what OG means. Apparently OG "original gangster" usernames refer to common words such as "@Miracle", that were registered by early adopters. https://www.nytimes.com/2021/
263.
▲
by
heurisko
5y ago
I was reading this article recently about natural vs vaccine immunity (mostly in adults I think). Didn't seem to reach any strong conclusions either way. > “It appears from the literature that natural infection provides immunity, bu
264.
▲
by
heurisko
5y ago
I would like that argument put forwards to the fashion editor at Vogue. One could also make the argument that it is a patriarchal attitude to suggest women are so lacking in agency, that a popular interest amongst woman could be reducible s
265.
▲
by
heurisko
5y ago
> Men are taught to be aggressive or not show emotions ... > In fact many of our cultural cornerstones rest on this baked in assumption, like The Iliad. "So speaking glorious Hektor reached out to take his son. But the child shra
266.
▲
by
heurisko
5y ago
On the other hand, I worked for a company that seemed to follow Stack Overflow's article (sparse tests, unmockable static fields) that made everything a nightmare and slowed velocity almost to a halt, and provided a brittle customer ex
267.
▲
by
heurisko
5y ago
> If the doors of perception were cleansed every thing would appear to man as it is, Infinite. - William Blake I don't know of any evidence he experimented with drugs, however he was influenced by the Swedenborgian and Moravian sect
268.
▲
by
heurisko
5y ago
It's the 21st century version of lead in makeup. I'm certain in 100-150 years it will be viewed in the same way. https://en.m.wikipedia.org/wiki/Victorian-era_cosmetics
269.
▲
by
heurisko
5y ago
MVPs hurt when you cut corners (don't write tests) and mock functionality, then show the result to the business. Because often, they will like what they see and want to go full steam ahead, by which time it's too late to explain y
270.
▲
by
heurisko
5y ago
Other countries have violence too, but it's scaled down from military grade assault rifles, to fist-fights.
More ›