skysight-inc/HackerNews huggingface dataset:
Namespaces in PHP are totally fake, they are not real as it is in C++, where you can actually store data within them.

In PHP the namespace is just a name added to every class construct and nothing else.

This is basically

class MyThing

the same as this

namespace My;

class Thing

However namespaces was a pragmatic design choice that solved the community's problem with code organization and ever increasing project sizes and for that it worked pretty well because introducing namespaces didn't break any existing workflow.

Today though I agree that proper module system would be nicer and now with PHP evolved even further it is perhaps time to introduce them.

Without having deep knowledge about PHP internals it feels like it would be possible to do because you can already today implement your own module system. Here is just something quick & dirty as a proof of concept.

module.php

<?php

return new class {
public const MY_CONST = 47;

private const MY_PRIVATE_CONST = 127;

// with PHP 8.1 you also have readonly properties
public string $myPublic = 'foo';

private int $myPrivate = 17;

public function helloWorld(string $name): void
{
echo "Hello, World {$name}!";
}
};

main.php

<?php

final class ModuleException extends Exception {
}

function module(string $name): object
{
static $modules = [];

if (isset($modules[$name])) {
return $modules[$name];
}

try {
$module = @require $name;
} catch (Error $error) {
throw new ModuleException("No such module {$name}", 0, $error);
}

if (!is_object($module)) {
throw new ModuleException("Module {$name} is not an object");
}

$modules[$name] = $module;
return $module;
}

$my = module('module.php');
$my->helloWorld('Module system');

$other = module('module.php');
assert($my === $other);

The building block in PHP internals is the class - interfaces, traits and enums are all classes in disguise. Could it be possible to use classes for modules as well? Perhaps just add some syntactic sugar on top.
I really liked Epictetus' Discourses. He has a very sort of no-nonsense Dr House vibe going with his bum leg and constant criticism of his pupils. A lot less full of shit than some other Roman Stoics. Maybe not everyone's jam, but I found the tools it provides for dealing with shitty situations highly useful.
Russell defines "intelligence" as "machines that achieve their objectives". My toaster certainly achieves its objective of making toast. It even uses feedback from a sensor to know when it has achieved the goal.

It is not the achieving of objectives that motivates me. It is the defining of objectives, otherwise known as choosing research goals. Usually I find that the original research goals change, grow more complex, and spawn yet more goals. It is the "side-effect" of learning that motivates my efforts, not the achievement of goals.

It is, of course, open to debate whether I'm a "general purpose intelligence". I would be the first to argue that I am not. There are areas, like writing good music, which despite my years-long best efforts are a complete failure. I can't understand why I fail.
>> 50%, which is totally doable

Don't misquote me, dude. Here's what I wrote:

> for 50% coverage charging speed falls to 1C, which is totally doable

I was saying that it's doable to charge batteries at a rate of 1C.
> but it uses your system's existing browser

According to (1) that is incorrect. It uses WebKitGTK+.

(1) https://github.com/Elanis/web-to-desktop-framework-compariso...
> PHP share-nothing architecture is awesome

There's nothing PHP specific about share-nothing architecture. It's often refereed to as stateless application layer in other camps.
> including GameStop themselves, would be committing a crime if they knowingly triggered a short squeeze

Issuers have precedent for issuing shares into shorts [1][2].

[1] https://www.nytimes.com/2008/10/30/business/worldbusiness/30...

[2] https://www.bloomberg.com/opinion/articles/2021-06-03/amc-ha...
they probably saw they don't need a slow and pricey blockchain for that.

They could just get flight data from API's which already exists. For example in the EU all flight and all flight passenger data are stored in a DB.

Just call that API check against it and pay out the cash.

No need for a smart contract

Cheaper, faster and as secure as any smart contract.
That's one of millions of applications.

But yes, a human or a group of humans still need to be in the loop somewhere along the automation line, but depending on the insurance type, this sort of activity can be partially automated by automatic data feeds from oracles, such as what Etherisc does with crop insurance and flight insurance: https://etherisc.com/#products

Etherisc's crop insurance product, in particular, is aimed at developing nations that do not have robust legal systems or mature, reliable, trustworthy insurance companies. They can, however, get some level of protection by blending weather disaster reports from oracles (drought, hurricane, flood, etc) along with geolocation data with automatic payouts.

So in that scenario it's actually a big improvement over the existing system, which is no crop insurance at all. And a smart contract that is provably solvent is far better than a fleeting promise from a local company that may steal your money with no legal recourse due to the jurisdiction.
Smart Surveillance – Surveillance and Society (2021)
Facebook appeal over Cambridge Analytica data rejected by Australian court
The credentials demo /demo are directly above the button that says "Demo-Site".
There are still some not too terrible alternatives in the Android world, but overall yes the iPad has won the tablet wars.

What is a bit scarier to me is the idea that the iPad might win the general computing wars. I don't mind secondary devices being somewhat locked down for the same reason that I don't care if I can't install Linux on my microwave, but the idea that many people's entire computing experience nowadays happens on a platform that is controlled in the way that iOS is feels like bad news to me.
and IMO that should be the default example not using escapes \
You can get cheaper tablets, but it's hard to beat the value: OS updates for longer periods, decent performance, and premium build.

My daughter has a cheap Lenovo tablet and the amount of crap apps she asks authorization to install is astonishing. If feels the Android store is full of grifters (the Amazon one is worse, which is really hard to conceive).
It's true though...
Digital Signal Processing in Modern Communication Systems
The "original" Scrum book
https://read.amazon.com/kp/card?asin=0130676349Q&preview=inl...

Stuff on lean manufacturing (yes. manufacturing!)
https://www.amazon.de/dp/B000SEGIVS?ref_=cm_sw_r_kb_dp_ocvTD...

https://www.amazon.de/dp/B002LHRM2O?ref_=cm_sw_r_kb_dp_I9SSD...
To be fair, the majority of bread-and-butter semiconductor manufacturing probably doesn't need EUV process nodes. You only really need that level of technology if you want to make cutting-edge (10nm or so) devices like microprocessors.

The majority of semiconductor manufacturing is still in the 200nm range -- better yields, cheaper processes, more resilient chips. Some of it is still in the 1um (1 micron) range.
> Strange, I've seen reports on the Lenovo support forums that Gen 2 laptops are also susceptible to the battery drain in S3. Was it always like this? Or was it fixed with some firmware update?

I am not sure. The first thing I did when I received my X13 AMD Gen 2 (20XH) was update the firmware to the latest available version at the time (1.14) and I haven't had any issues.
I can do the same by buying the art from his website transfering the funds to his bank account, using a fraction of the energy, requiring no additional software and no network of nodes to keep some blorkchain alive.
Have we ever learned who is behind Outline?
You are right KJV isn't easy understandable ... the NWT is easy to read
Croatian, but studying in Netherlands sooooo
That someone else can put a tablet in front of me and it will unlock. And it’s effectiveness with beard, masks etc.

I have found fingerprint sensors to be both reliable and not easy for others to bypass
While this is cool and handy, sadly not of any use to me.

According to Uk ICO (Information Commissioner Office) Fingerprinting has to have consent.

https://ico.org.uk/for-organisations/guide-to-pecr/what-are-...
"PECR also applies to ‘similar technologies’ like fingerprinting techniques. Therefore, unless an exemption applies, any use of device fingerprinting requires the provision of clear and comprehensive information as well as the consent of the user or subscriber."
Something you know, something you have, something you are.
This is a good old piece with a light-take on the pathology of our "organizationally" driven lives and the results of said processes. I think that Dr. Taleb writes in all-wheel-drive satire giving himself an opportunity for plausible deniability of sorts from a direct mounted attack by those whose egos are hit by such message. Nevertheless, those on the inside, who live this everyday, know that it is not a satire, but the very reality of things. Sure, there are islands of pure competency, those who carry the torch of light through the hallways of darkness in the machinery, but those are never (literally by natural law) at the levels of decision/policy/politics making (or very short lived if they do make it there). However, I would point out that observations of Mr. Taleb's are not very novel. In fact, it has been convincingly argued that this is a result of the way organization/society crystallizes into its functional form. The intellecutals serve a distinguished and known role in a society. They produce justifications/rationalisations for the decisions taken or to be take by the ruling elites. In turn they are given "prestige" for this role. Intelectualls (as is known from history) are the first to suffer obliteration when a revolution occurs in a given territory. The old have to be replaced by new ones -- and these then continue their role for the new government. Intelectualls, as a class or a layer in a society are (in potentiality) the most dangerous layer, and are distrusted (deservedly so by all the other layers of society with exception when overseeing rituals, be it secular or religious of a given society). A survey of historical records demonstrate that every time the intellectual class takes the role of ruling class, a murderous genocidal governments and ideologies are in order (think of religions which was intellectual class of the old, Eugenics, etc). Why this happens is also clear (but I would diverge too much).

If in the future (which I hope for), the world would become a global village, this problem is not going to disappear, but rather has to be resolved; put into a solid (natural) theory and taught at elementary schools (a naive view I admit). Bureaucracy, the distilled mediocrity, the 1/2 organized corruption of governments, and our impulse for scorn, are in fact the very cornerstone of modern civilization. Intelectual idiots (are not a new phenomena) and will remain and thrive in their role of supporting the elites (and by their nature, will bring havoc if they become the elite class for what ever short period of time).
Blackrock and Vanguard own GME because they operate the biggest S&P ETFs and mutual funds.

GME has increased its percentage of the S&P because retail investors have bought the position. Blackrock is not taking a position that a short squeeze is possible they are just reacting to the index.
Looks like that is a simplification, error, or outdated.

Neutralinojs says:
"Neutralinojs doesn't bundle Chromium and uses the existing web browser library in the operating system (Eg: gtk-webkit2 on Linux)"

Skimming through the source code, it appears to use WebView2 on Windows - which is Edge.
I think you have a good actionable advice. I would highlight that it's important to get your own life in order before you decide to get kids. It's a great responsibility after all and it should not be done only because "I'm trying to find my place in life".

Obviously, HN readers are well aware of it, but (mental) health is the best start.
> If you want to be not rate limited, you'll have to contact HN. They will fix it for you, but not if you continue past behavior.

Oh, I've talked with dang a few times. Are you actually able to point to any bad behavior of mine? As far as I can tell, I've been put in the doghouse for having wrong opinions. At the very same time, HN tries to maintain the mythology that it was necessary to suppress me because of my lack of curiosity, when in fact I seem to be suppressed due to the typical HN user's lack of curiosity. Isn't the practice of suppressing people for having wrong opinions exactly what we need to be talking about?
PPP calculations include tax and Labour cost. Not just raw materials.
Stale Green Light
dropping into the built product like that fundamentally misunderstands why we even want to be using a really language like python. CQ editor is really good. and using it for an hour just makes me want vscode back.
I'd assume minecraft would work in xwayland right? I've been playing a bunch of AAA games (Deus ex games, dying light ect) all on wayland, with sway aswell.

I do have an AMD gpu though.
I remember being taught (or reading somewhere) that using expressions like "I believe" or "I feel", rather than "I think", can be more persuasive, because they're more open-ended and less assertive (which can put people off). Whereas something dispassionate like "we conclude" or "the evidence shows" would be more appropriate for academic discourse.
Yes, putting thermal paper through a thermal laminator will turn it all black. Don't try it at home!
A difficulty with marxism is that it is thoroughly old fashioned about bucketing people into categories. In a feudal society you were born into a life where you were a serf, or a craftsman, or an aristocrat. Marxism massages the labels but essentially accepts this worldview. The primary handle on each person is a class label, assigned at birth. Talent is irrelevant.

One of the challenges of management after feudalism is making the best of the variety of individual contribution. When you are moving rocks around or ploughing, each individual is roughly equivalent. This was obsolete by the industrial era. A factor in Japan’s rise in auto was giving workers direct and individual (ie not union-filtered) feedback into the manufacturing process.

Now, the multipliers are higher still. There are regular situations where an aggressively small team has executed where several well funded teams of thousands failed.

My view is that capital is nearly irrelevant in mainstream technology now beyond achieving bootstrap and avoiding dumb renumeration errors that alienate talent. Rather, the key tensors are 1. how high you can get the ceiling on your core talent and 2. how small you can get that team, in order that this talent can be engaged with the big picture, in order that they can be identifying and focusing on the most important problems. They are related. The more capable your talent, the more it can participate in the big picture.

These dynamics do not resolve easily with the orgchart-centric, bigger-is-better assumptions of traditional worldviews.

Possible limit to the view - I have not had exposure to fields with vast ongoing capital cost, or complex cross-discipline stuff like silicon manufacture
I’m not disputing the historical significance of the Bible. I’m disputing the need to learn it to understand modern literature. And again I reference that generations of kids have managed just fine without reading the Bible.

It is entirely possible to explain as phrase without reading its original source material.

To give another example of this: Star Trek does exactly this with Picard and others referencing Moby Dick. I understand exactly what that dialogue is about and yet I’ve never read that specific book.
Fad? Is a want of a book-sized display/media consumption device somehow invalid?
Advice gathered from people smarter than me
The Nuclear Industry Argues Regulators Don’t Understand New Small Reactors
The fact you're talking about building a payment service provider in a CMS kind of tells me this isn't a conversation worth continuing.
Doesn't the graph show the opposite? According to the legend the green shows Wayland which is by far the biggest area?

Have I forgotten how to read graphs?

Edit: Graph starts at 90%, oh how I hate when they do that.
Similar themes are echoed in Steven Pinker's 'Rationality' or 'Enlightenment Now'.
err.. the main point of NeutralinoJS is that you don't ship a browser with your application.

Also, wxWidgets looks very strange on macOS right now. I just built some demos last week from the examples in the repo for wxLua and they looked awful. I have no idea what was going on because as far as I remember wxWidgets would just be calling the native stuff. Still, they looked unusable.
Sprout, create a virtual space to meet, chat, and play
The biggest build quality problem on it (and x230) is the top bar made of plastic, at the top of the back of the lid, for antennas.
It's held so weakly that even a 10-20cm drop will break the plastic clips.
No. In each and every of these cases the design of the language, the quality of community-code (libs) or the quality of the language was the cause.

I'll admit that in all cases, the humans involved where the actual root cause, but that is silly, because it always is. What PHP lacked in all these cases, was guidance, support or limitations to direct these humans to better architecture, or guide them away from bad decisions.

I'm not disliking PHP for silly designs inconsistencies, or hard-to-deprecate insecure functions. I'm disliking it for how it has taught generations of developers to not care about quality, to avoid software design and architecture, to work around hacks, to ignore failing tests, to "it's not a bug, its documented", etc.

To take a more famous, public example: MtGox, the primary Bitcoin Exchange, was hacked, BTC crashed, millions were stolen. Because adversaries breached a poorly written PHP backend service. Yes. MtGox was a bitcoin exchange moving millions a day, written in mostly PHP.
You propose certainty where there is none and I am not talking about preventing it outright. I also do believe that it a profitable endeavour with very little general advantages as it is right now. That is more parasitic than constructive, so in that regard it fails to justify itself and regulation is required. Little would stagnate if modern fintech would be scraped almost entirely. Human impact should be secondary here.

Additionally creative destruction can also mean that I destroy the wealth of those that currently do profit from canceling companies prematurely. It is applicable to economies rebuilding after a war, not applicable to Gamestop. That is an excuse for exploitation.
You might not actually hit the bug in the old function.

It may be that the function only has an error if the caller passes `argc = 0`, but there's no way your code will ever call that function that way.

Bug fixes tend to be for weird edge cases. If the normal functionality doesn't work, someone would probably have noticed for the 1.0.0 release, or at least before the 1.1.0 release. And most of the time callers not only don't hit, but will never hit, the weird edge cases - that's what make them weird edge cases.

That said, given enough users, Hyrum's Law comes into effect where not only do some small percentage of users hit your weird edge-case bugs, but a small percentage of those end up relying on them.
I followed WSB for a couple of years before the GME thing kicked off. When it did, it was great fun for about a week, then I unsubscribed. It got very repetitive and boring.
He’s not saying TED was a failure at all. He’s saying TED was and is a propaganda tool of a newly ascendant branch of the ruling class and its fans, at the time, were marks.
> "When the Nazis came to power in 1933, the German constitution guaranteed freedom of speech and freedom of the press."

Note that these rights were not at all guaranteed pre-1919. Censorship of speech and of the press was practically institutionalized in the German Empire. It makes no sense to argue that the rabid anti-Semitism of late-19th c. and early-20th c. Germany was a result of too much freedom; on the contrary, it was directly carried over from previous authoritarian government, The Weimar constitution ultimately came too late to really improve on that state of things.
I keep watching these with my kids (at their request), ready to pounce when something ridiculous is said. But they're so far nice and informative. And not wrong on stuff I know about. +1 recommendation.

The quality of TED talks is probably the most variable of anything I've seen, but TED Ed is consistent. It may just boil down to taking more preparation and conscious effort to make an animation.
Who are artists to dictate what we do with information that we posess. If someone wants to make additional copies which takes effectively zero effort, the artis cannot make the choice for us.

Often people incorporate art into their culture, and what the original artist intended with the artwork is only a small part of what it becomes. Society thrives by sharing art and has done so long before copyright existed, quite successfully to be honest.
PHP is a conceptually awful language. It is created by language amateurs and it shows in many early decisions such as the multiple thousands of built-in functions already mentioned.

It had its benefits since those amateurs understood their use case and their users' capacity very well. But now all of that is gone and they are still stuck with a subpar language at the core.
I understand your point, but parent did not say it was a deliberate conspiracy. It could also be a dynamic that just happens to push in a certain direction.

For example, the push for deregulation that befenits corporates does not require a conspiring sect of CEOs to secretly infect the law making process, but the general thought frame that is pervasive among the boards of those companies will affect their actions and what think tanks they affiliate with. All the separate lobbies, think tanks (which by the way might be just operating under such disguise, but are funded by external state actors), external corporate consultancy agencies on which governments rely on -- all those might create a current that brings down democratic institutions with no one deliberately doing that, except for a few fascistoid nuts perhaps.

What is no surprise is that all those corporates and those deep state instutions work to further their own interest. The issue is that democracy has lost control of it, and now they are running wild.

Add in corporate media (that are from the same school of thought like those boards of giant corporates) in this mix and you have got a really nasty dynamic, where democracy is just something you need to manage with Public Relations and marketing.
A poor developer can make any tool look bad.
I really hope wayland doesn't become to x11 what IPV6 is to ipv4.

Because after so many years, a lot of the ecosystem hasn't moved, or is even not compatible with it. Good multi display support is missing, and some games don't render well.

I want it to succeed, and the project has been progressing non-stop, but it does show how much time and energy such an endeavor takes. I was expecting to be able to use it for years and years.

See also: BTRFS
Also QtWebEngine is a trimmed version of Chromium. Not the most lightweight solution out there. It works very well though.
Sure, maybe. I'm just saying that it's extremely unlikely that Apple has not managed to successfully manufacture a circular hole. The issue is likely to be something else.

The first image looks like it has had much more aggressive noise reduction applied to it. Possibly, a 'face' was detected in one case but not the other, and this influenced the processing choices.