skysight-inc/HackerNews huggingface dataset:
Hi everyone!

We're Andrea and Aníbal from PHP-Prefixer (https://php-prefixer.com). Our company is building a prefixing service to help PHP developers overcome the conflicts between installed libraries.

You might have heard about Composer challenges faced by large software packages, particularly those distributing products on WordPress, Symfony, Laravel, Drupal, Joomla, or any other multi-developer system. We have been using Composer in these contexts for almost ten years and personally worked on solving Composer dependencies conflicts.

Composer conflicts are tricky to solve. In a perfect scenario, project organization is defined at the beginning. As time passes, the installed libraries evolve at different speeds either because specifications of the environment changes or new system requirements are added to the original expectations. There are various ways to solve these issues, and prefixing PHP namespaces is a featured technique that can be applied (read more about this in our presentation [1]).

Our service eases the process of prefixing PHP code - it’s an automated service. By defining what prefixes you need to use in the Composer schema, the tool parses and lexically analyzes the project's files to compile the new prefixed package. After the processing, the automated tests run in the same way as before. We recommend following the quality assurance practices on the final prefixed deliverable (read more about this in our docs [2]).

While testing our tool, we prefixed and learned from over 100 popular libraries and found automation is a computationally intensive task. PHP-Prefixer is an automated online service powered by a complex rule-based system to apply prefixes to all Composer dependencies of a project. Thus, each file is processed iteratively in several phases to take into account all cases.

Thanks to the current availability of unbounded parallel processing resources, the packages can be processed in a few minutes. PHP-Prefixer works with on-demand resources without local installation and as a cloud service without requiring complex software or hardware configurations.

If PHP prefixing has come up in your development process, we'd love to hear about how you handled it. We're always looking to improve and grow our product, and we're incredibly excited to hear feedback from the HN community!

Thanks, Andrea & Anibal

[1] https://blog.php-prefixer.com/2020/12/10/using-composer-in-a...
[2] https://php-prefixer.com/docs
But you can't base the decision that should lead to the desired situation on any present knowledge, and it's in practice impossible to research. You can't know the desired outcome, let alone the path towards it.
Yeah, that's where I'm trying to go with this argument.

Them: You just need to believe that genetics matters!

Me: Okay, fine I do.

Them: Well, then you must agree with <probably something about meritocracy and billionaires and awarding wealth to the top 1%>

Me: Nope, I still want to tax billionaires out of existence and use that to support your "stupid poors" and your ideal of a ruling class and an underclass with unlimited market exploitation created by birthright of genetics is wrong (again, for the sake of argument, it still doesn't really work this way). "From each according to his means, to each according to his needs" and they need more. Economically, Elon Musk should be playing with nightmare-mode level taxation levels, all the "stupid poors" need the difficulty slider backed off for them -- instead we have that nearly reversed.

Whatever you call it (leftist/progressive/socialist) isn't founded at all on a rejection of genetics, attacking that gets you nowhere.
The sweeping generalization I was referring to is "the substances are only a crutch". Your comment also suggests that you assume the author of the comment you replied to isn't pursuing therapy. People can do both at the same time.

A lot of things can be a crutch, but cannabis provides meaningful relief for many.
Maybe the assassination will be recorded on dashcam? (/s, hopefully)
Actually, my reply was to Folcon. HN simply doesn't allow you to reply to comments beyond a certain depth sometimes.

Perhaps mods have the ability to extend this for active discussions and that's why I can reply now?
Things learned from jumping from FTE to self employment
Didn’t the grandparent comment explain that in such a case, legal tender doesn’t apply? There’s no debt in a normal shopping transaction, the shopkeeper is free to accept whatever they wish or reject the transaction entirely.
Bin Laden's Bookshelf
What if only one truth is allowed, and it is wrong or a lie? You are putting all your eggs in one basket.
And yet, no such democratic socialist government ever materializes. Because all nations must allocate capital efficiently to function and resist outside hostile forces. The capitalist option is to allow people to own private property, and trust that the supply and demand of a marketplace and individuals looking out for their personal best interest will align to allocate that capital efficiently. The tradeoff is that some individuals will be more successful than others, leading to greater accumulation of capital, and inequality between individuals.

The socialist option is to deny individuals the right to own personal capital at all to prevent said inequality, and instead to create a system to allocate capital in a way that is best for society, i.e. through the government. But it turns out that all the ways that society requires capital are practically beyond counting, and the system is so complex, that any government looking to even be minimally successful in overseeing that allocation process requires large amounts of power over virtually every aspect of society. Guess what? That's authoritarianism.

Take this thought experiment. Say we decide we want to make a new entertainment service to compete with Netflix. But creating it requires capital: money to pay programmers, money to pay for servers, money to pay for content production, etc. In a capitalist society, we just have to convince enough people that there is enough return on investment to give us their money. They don't even have to like watching TV, they just have to be convinced its a good use of their excess money. And they could be millions of people, or it could be a single individual. On the other hand, in a socialist society, we have to convince the proxy for society in charge of doling out society's collective capital (i.e. the government) to give us their money. So now the decision on what content to produce is directly influenced by the government. Even if these people are democratically elected, they will cater exclusively to the majority opinion, and in the more likely case, they will cater to whatever consolidates their power. Oops! Now you have state-controlled media. Seems unlikely the people controlling said media will devote much air-time to opposition parties or ideas, or that your functioning democracy will last very long in that scenario.

The point is that socialism without authoritarianism is a paradox. Socialism cannot function without authoritarianism, because the process of allocating capital in society is far too complex for a reasonably constrained governmental body to undertake. It needs an authoritarian level of power to effectively manage society's capital (and as history shows us, even then it rarely is actually effective). Insisting on non-authoritarian socialism is like insisting on a diet consisting exclusively of ice cream and cake while also living a long, healthy life. Perhaps it sounds nice, but it is fundamentally impossible.
awk is great for data analysis - usually, I start with cut, then move to awk as complexity increases and finally to python.
Mill wasn’t talking about rights; he was talking about the propensity to suppress unpopular speech, why that’s dangerous, and accordingly, and the moral necessity (and implications) of open discourse.
I'm quite sure that most HN posters are aware that mental health services are available. Did you provide any helpful tips for making use of such services, or just make low IQ lazy generalizations about substance users?
it's timing based. you can always reply by going to the permalink of the comment you want to reply to.
Everybody I know considers a car company a tech company. I think there exists a strange Silicon Valley definition of tech out there. But maybe my German bias shows. I mean, most of the stuff in SV barely qualifies as tech.
for azure you have azcli, arm templates (their cloud formation), and terraform. They also have started? work on bicep which is a DSL to create arm templates. As for what they recommend i think that changes depending on the service/team you speak too.
And raydium which is the 4th biggest DEX in crypto[0].

Yes, from those I follow Solana would also be my choice if I had to bet because they are already at/close to the point where they can have high tps, low fees, POS, and still be decentralized (more work on that end is needed but now they are nearing 1k validators). They also have built their chain in 2 years which is barely enough time to implement minor changes for competitors. Additionally, they just got the hype/huge investments so they have the users and attention, too.

0. https://www.coingecko.com/en/dex
The salaries for engineers says otherwise. Honestly that's a better metric than anything else as it directly correlates with how valuable they see engineering talent.
I think he wrote that entirely in jest. His larger point is about the folly of mankind's idea about progress. Technology, however invigorating and useful, can easily become another false idol.
Did not disappoint; as usual.
> Social Security is not funded by the government, it's funded by payroll taxes.

If it is funded by taxes, it is funded by government.

You could argue that the social security trust funds are loaning money to the general fund, but that’s like saying your savings account and money market account are loaning money to your checking account.
Exploring the CSS Paint API: Blob Animation
How is it similar? Perot was clearly a separate candidate, and people who voted for him all knew that.
More than 1% are fat slobs. So is it really surprising?

The obesity prevalence was 40.0% among adults aged 20 to 39 years, 44.8% among adults aged 40 to 59 years, and 42.8% among adults aged 60 and older. (2021)

https://www.cdc.gov/obesity/data/adult.html
yep, That's why protests are taking place in El Salvador.
We have also uncovered some security holes.

https://twitter.com/Rchr2M/status/1435236141112905732
https://twitter.com/david_a_garcia/status/143525911196544614...

Protests:

https://twitter.com/OscarMachon/status/1435272669189087236
This probably eliminates this whole "bitcoin is privacy and independence from government" thing but I think for majority of bitcoin buyers it was not more than just a nice talking point anyway.
I've been watching this situation from 50K feet and I think the reason they built their own wallet is for the ability, for merchants, to cash out any bitcoin payment in USD instead of BTC using the government swap system
A 'tech company' is that is internally built of software, so it is (theoretically) as easy to evolve as software - which is not that easy, except compared with anything else. So, amazon, stripe, airbnb, uber, reddit, github etc.
Perhaps a bit like when companies started to be built around the new-fangled telephone instead of telegrams and dictated letters. More responsive and free-form.

This does not guarantee a strong competitive opportunity, nor strong execution - but it makes it possible for the benefits of IT to be realized.

Actually, there are several legitimate definitions of 'tech company', this is just a relevant one today that is significant long-term.
Chivo wallet, the official standard and the new national wallet of El Salvador, evidently has an interface with Lightning and the Bitcoin network, and it is an optional way for merchants and consumers in El Salvador to begin accepting payments denominated in Bitcoin or USD.

Nobody is required to use Chivo, but people are required to accept legal tender. There's no reason to expect that Chivo-Chivo transfers will go to the trouble of opening individual lightning channels for each user, which costs non trivial amounts of money for each opened and closed channel.

It would make sense that users of the app can settle with each other and it doesn't so much as escape the four walls of a database at Chivo-HQ. But McDonalds is a multi-national enterprise and won't be trusting Chivo (or any El-Salvador official banking infra, I'd assume) to manage their wallets.

It is really cool to see a (hopefully) successful application of Lightning on Bitcoin in the wild, from a person who has been nay-saying about Lightning. I will be really glad to see it succeed. But I'm dubious about the success of this app.

One should hope the two successes are not tied to each other – it's encouraging that there are other companies. I have no way to judge Chivo and I've never used their software, but I have little trust of governments to implement complex systems well, and if there ever was a case study of a burgeoningly complex system, I think Lightning and Bitcoin is the big one.
My two heaviest marijuana smoker friends are 100% sure that any study that mentions some detrimental effect from marijuana is part of a big-pharma conspiracy. Their argument is that "it's a natural herb, it's impossible for it to do harm".
It does sound like you want to cut funding for genetics research that could tie genes to intelligence, performance, and stuff like that. Is that not the case? Because picking which science should be funded based on your preferred social order is not science, it's politics. It's the same as conservatives cancelling weather satellites so that they don't have to see the climate data being produced so that they have an easier time continuing to deny climate change.

Science is about learning things. How or whether those learnings should be applied is a question of politics. Blanket-censoring entire fields of research for political reasons is not the answer to anything.

You talk about how you don't want extreme race-based policy, but at the same time the only injustice you're contemplating on correcting is based on race. I don't hear any calls to pay reparations for any past injustices that were based on non-racial issues, not from you, not from "the left" in general.
The government is going to have to make an official recommendation for which wallet to use, and from their perspective the risk of promoting an existing wallet whose provenance they don't know is pretty high.
Celo is a proof-of-stake blockchain.
Some highlights from the article:

According to an estimate, tea is Sri Lanka’s single biggest export, bringing in over $1.25 billion/year, which is nearly 10 per cent of the country’s export income.

…

An island-wide survey of farmers found out that 90 per cent use chemicals for farming and 85 per cent expected sizable reductions in their harvest if disallowed to use fertilisers. Moreover, the survey said that only 20 per cent farmers had the knowledge to transition to completely organic production.

…

The survey also revealed that many key crops in Sri Lanka depend on heavy use of chemical input for cultivation, with the highest dependency in paddy at 94 per cent, followed by tea and rubber at 89 per cent each.

…

According to experts, three scientifically rigorous meta-analyses of organic-conventional crop yield comparisons indicate that across all crops, the mean yield reduction in organic agriculture in Sri Lanka is around 19-25 per cent.

…

The article also states 2-3 million tons is estimated to be produced locally per year, and paddy cultivation requires 4 million tons per year and tea cultivation requires 3 million tons per year. So they are short there.
This seems like wise priorization as WebAssembly uptake is going quite leisurely and improvements in FF isn't really low hanging fruit in improving user experince.
I just sauntered over to Apple App store to take a look-see at Odysee app and its privacy “level”.

No thanks.
Then all companies are tech companies. They all aim to come up with a product that's better than the last, and they almost never use old tech to do it.
In my opinion Netflix is tech company, but is not part of FAAMG.

The reasoning is that the rest of FAAMG does shitton of "other" kind of CS oriented tech (OSes, Databases, Compilers, Heavy ML research) and stuff

They're way too big
Yes, management whim is not what I should used maybe "algorithmic optimization" which to those on the other side experiencing it, feels like whim?

The problem with this model is that few of these companies give people more than 20-30 hour schedules.. therefore people usually need to take on 2 jobs, however each of these jobs has a non-fixed schedule, updating weekly..

So some of what may appear us unreliability and flakiness is people needing to call out to go to their other job which is programmatically booked as well.

Add to this any further complexity like childcare or attempt to up skill with education and good luck.
I believe the first (incomplete implementation). There's definitely plenty that tried (with money behind them). I hear that with some changes to the chain it might be feasible soon (there are some demos on their testnet, none on mainnet) but I've stopped following them much.
The python numba people learnt this lesson also: forget about the C++ api, just emit the (text) IR directly and feed that into LLVM.
This looks great.

I was sceptical from the article title, but was immediately sold on the idea when I saw it in action.

A good sign to me is that you have solved problems I didn’t realise I had. I like the floating window concept - can definitely see how that would be useful for having documentation front and centre while working on something. The spatial organisation thing is very nice too.

Looks like it’s early days still for the project but I think you’re onto something. Good luck with it!
> A 'tech company' is that is internally built of software,

Aside from weird blockchain entities, this doesn't exist. Companies may use software, but they are made of people.
Crypto is far too broad a term to use and say it's the same as Gold.

In many ways it worse (PoW for Bitcoin), in some its better (banking for the bankless). However you can have Crypto that has an inflationary mechanism that's codified (can still be gamed), none the less it can be inline with modern monetary schemes.
Monetary Policy.

Can someone explain how a country plans to implement a monetary policy (e.g. inject new currency during a recession to fund expansion) when they don’t control their national currency (Bitcoin).
Weird this needs to be reiterated in Covid 2021....What do you think "media" should be doing? Remember, media =/= op-ed journalists that you want to have the same opinion as you.

"media" should not have to do anything by anyone's standards. it is a omnipresent, global, ever changing opinion glued transparently to percieved values and morays of the time.

If you click on a link/article that says "X will not work and we do not like it", then that media outfit is doing exactly what it needs to do as a media outfit.
In what sense do you mean that the dollar is cheaper than bitcoin? Surely it doesn't mean anything to say that one currency is cheaper than another, since the exchange rate is what it is.

I would predict that people prefer dollars to bitcoins, since they are less volatile.
> I have never heard “Cordyceps” pronounced with a hard C in the second position, nor any hard Cs pronounced in “Cetacea

You just need to travel more then. Millions of people pronounce it exactly like that, including me. Cetacea, Cordiceps; one character, one sound. The easy, old and reliable way to do it that worked really, really well for 200 years.

Scientific language uses basically Greek and Latin, but also other languages and names of famous people. There are specific exceptions for this cases.

Believe it or not, Squarepantsii is a latin name.

Is a collage of english names of course, BUT the final ii is not english; It cames directly from latin, so is a "neolatinism". A new name latinised (Built using latin grammar rules). Therefore should be pronounced as any other latin word. It has 13 sounds.

If we think about it, Latin is a dead language that is "so dead" that is still growing and including new words. And of course there is still people alive that speak it routinely (In the Vatican, for example).

I'm aware that this is not a popular opinion, but the anglosphere is just doing simple things much more difficult for everybody (including them), and shooting themselves in the foot. To remember the scientific names [1] is much more difficult for them than for us.

[1] (i.e Metasequoia glyptostroboides, yep, easy. Just a couple of traps here. Everything else is clear and obvious)
What you’re really asking is “What happens if people do not do what we tell them to do? What happens if they disagree with us?”

Is it appropriate to force people to adhere to your strictures if they won’t do so voluntarily?
I'm very interested in exactly who would live here.

Chicago ( aside from the crime which is almost absent from Lakeview/Wigglyvile) is pretty much the perfect city. Cheapish housing + affordable high quality public transit.

Rather than move to your magic theme park, I can go to Chicago. Apart from tech bros and their families I can't imagine anyone liking this.

We already have a ton of rusted out near ghost towns. Why not invest money in one of those ?
It's still present in CoC

>https://abc.xyz/investor/other/google-code-of-conduct/

>And remember… don’t be evil, and if you see something that you think isn’t right – speak up!
How we added support for Rust to our schema language
> streaming, collaborative filtering recommendations, and a massive CDN

Did they develop any of these technologies?
When did Jordan Peterson ever discuss race?
Couldn't reply to this comment - but sure enough, the permalink gives me the option. Thank you for the info!
It’s certainly not all good but I’d put it in a different league from alcohol, for example. Cannabis might cause elevated heart risk over a period of years. Alcohol can stop the heart of a healthy person in a single night of binge drinking.
This study is really just "smoking linked to higher risk".
> The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

https://en.bitcoin.it/wiki/Genesis_block
Conversely, what if your assumed truth is false and you successfully censor any attempt to disprove it?
Yeah, but that's not written in Emacs Lisp, or sed, or Rexx...
Maybe bowsersghost isn't even a heavy user, and alternates between cannabis and other substances, like caffeine and capsaicin, which are two of my favorites.