skysight-inc/HackerNews huggingface dataset:
MS are too busy "revitalizing their culture" throwing out their computers for linux/mac and hiring devs for minimum industry wage creating pseudo-electron apps that don't even work in other words sudo-apt-getting sh*t done they dont have time for that egghead stuff.
There's something I don't like when people talk about PHP, and that's putting Symfony/Laravel and XAMP/shared hosting PHP into the same bucket. I feel like it's a dishonest way to present PHP as something it's not.

Symfony/Laravel PHP is basically like any other language, you could use Ruby with Rails, Python with Django, Java with Spring, Elixir with Phoenix and it's basically the same ballpark. But you give up the simplicity of setup and deployment.

XAMP PHP, on the other hand, is probably one of the most accessible way to do web programming, but isn't the same at all as Django, Rails or even Symfony/Laravel.

You use the same language, sure, but the two are very different beasts. You could probably add a third with the world of PHP-based CMS, like wordpress or drupal.
I am very confident that HN posters are not "mostly scientists." This community is largely skeptical of even undergraduate degrees, let alone PhDs and academic publication. What percentage of posters do you think have published a scientific paper? 2% would strike me as high.
Stranded Ships, 10-Week Delays, 8M Unmade Cars: America’s Supply Chain
Safed Musli for Sexual Health and Vitality
A great supplement for men and women, Safed Musli capsules for sex will provide you with the nutrients needed to increase your libido and get the most out of your intimate moments. Safe and natural, these capsules will work to enhance your sexual performance and provide you with the energy you need to perform for hours. Nutriherbs Safed Musli is made with all-natural ingredients and is safe for all adults to use.
We should welcome this kind of research, because it dries out Chinese organ harvesting[1] and criminal organ markets:

[1] https://en.wikipedia.org/wiki/Organ_harvesting_from_Falun_Go...
I think so. IMHO the browser/html/JavaScript/frameworks ecosystem is the poster child of accidental complexity. That is just what tends to happen when systems evolve continuously from humble beginnings to eventually tackle huge problems. You usually can't avoid it. There is just so much to know.

Backend is pretty much just the complexity of distributed state management, plus whatever complexity you bring to it. If you don't need horizontal scaling at all, a ton of complexity just sloughs off.
PHP is one of the easiest language to install on Apache and later web servers. It is also a no brainer to install software written in PHP on those servers. It is a wonder why other language implementors haven't looked at doing the same thing.
"Ricky Jay and his 52 Assistants" is a classic performance:

https://youtu.be/FtgUSUHnzLI
https://code.visualstudio.com/blogs/2021/10/20/vscode-dev
Discussed here a few weeks ago: https://news.ycombinator.com/item?id=28648793
It's not arbitrary.

The goal is to improve quality by making the code better structured and easier to follow.

For instance, MISRA C rule 15.1 that states that goto should not be used explains: "Unconstrained use of goto can lead to programs that are unstructured and extremely difficult to understand". Indeed, in practice that's often the case.
> how is the deadlock typically broken

A war breaks out and human life becomes less important, or someone/some government does it in secret, or there is something potentially catastrophic that allows some rules to loosen up a bit (like a pandemic).
I don’t share your assumption that he purposefully made things more difficult.

My assumption is that he really didn’t know which computer came in the smaller box (since, computer size, which is the public info about the product, doesn’t exactly correlate with the box size).

My guess is that he wanted to know which, if any, impact a small box would potentially have on computer components (like different impact absorption on transportation) that would require some CPU design adaptation. Like (speculation here, as I am nowhere near a CPU specialist): is a second memory clip more susceptible to be affected by transportation impact? So the box size is correlated with cheaper computers. Which tend to be larger computers, but can come in a smaller box because they don’t have that second memory clip?

Idk, but I am assuming good intent and reasoning behind the anecdote.
Well analysts have estimated the cost of the M1 at $40 to $50 per chip, so even if they double the size of the chip which quadruples the cost, that would still be completely feasible for the Mac Pro which retails at c$5,000+

Even if the SOC was $500 cost price they would still have plenty of room to pay for everything else and hit the $5k price point.

I mean, they could even use separate highly integrated chips to get that number of cores too, although I suspect they will want to do it on a single chip assuming cooling is OK.
OTOH, the raise of ajax-based calls IMO become the main culprit for broken access or unsafe information leak.

With SSR, we only need to limit rendered information and we're fine. Now we need to limit the json (or xml if soap) response. If we need a condition based on protected data, we need to have additional, derived (computed) property for it and there isn't a standard way to do it, then make the view to condition based on that derived value.

That process is too alluring to be skipped and many choose to just breach the security and deal with them later, unless you have different team managing front and back.
My partner and I were recently in Amazonian Colombia. One of the routes to a small indigenous community was serviced by a DC3. If you're not familiar with Amazonia, indigenous communities are poor communities of people usually growing a small area of traditional crops, keeping chickens, etc, and lead a life somewhere in between their traditional culture and modern western rural poor -- campesinos. Anyway, it was well known that one of the DC3s had crashed and killed everybody a few years ago on the same route, and even when we were there one had a landing mishap where it started to land on the earth strip but then aborted the landing and took off again. It was hard not to see it as a very poor community with no agency or financial influence, but who nevertheless depended on the flight, being forced to accept a terrifying old plane when they'd much rather have one of the modern models that service the same routes.
> That is like saying a Honda Civic is the same as an Ferrari F1 car.

In that nobody uses a Ferrari F1 car to do anything practical?
You can also take out all the awkwardness with a disclaimer: "This may sound stupid, but I really care just about the packaging here: Would it be possible to show me... "
You literally made a personal home page with PHP, disproving your own point that it belongs in the industry.
If someone asks and is generally interested, I tell them. I thought about this a lot and concluded that I should not ashamed of my salary and the work I have put in to reach it.
i wish they do to public transportion what t-mobile did to cell carriers in the US!!
They might be great for employees, but have a terrible reputation among customers atleast in Europe.

Most common issues seems to be staff often not enforcing/honouring seat reservations, the company refusing to implement a tag/validation system for hold luggage (allowing rampant theft) as well as bad on time performance + frequent last minute cancellations
Not sure if this is anyone's else's experience, but I relate this closely to First Principle's thinking.

1. You start by asking the "obvious" questions, the things everyone is supposed to already know. Question every assumption, every bit of "common sense".

2. Along the way, you discover that most people don't truly know what they claim to know. Instead, it's just years of built-up bias.

3. Soon you're asking questions no one thought of asking in the first place.

4. Finally, you understand the subject better than anyone, because you started by questions the foundational assumptions and built up from there. You see how all the pieces connect. (To my fellow programmers: This is, I think, why many of us dislike frameworks... too many levels of abstraction from the real thing.)

Related concepts:

- Always be willing to be the dumbest person in the room. It means you've surrounded yourself with people smarter than you, so you can learn from them. It also means they'll help you be far more successful than you could on your own.

- Don't try to outsmart everyone. Just try to avoid dumb mistakes. While everyone else is trying to impress each other with their brilliance, you can calmly do the next right thing, and avoid the next dumb thing. Charlie Munger credits the success of Berkshire Hathaway to this principle more than any other. It means being willing to LOOK stupid in order to avoid actually BEING stupid.
> it will need to live on Apple and Google's walled gardens

When I used to use Twitter, I only ever used the mobile website (I never installed the apps). It wasn't perfect, but meant I could use Twitter and not leak all of my personal information (contacts, etc).

If Truth had any sense, they would put a lot of energy into making sure the mobile web version worked as well as can be.
The Sons of Lee Marvin
Tongue-in-cheek secret society devoted to iconic American actor Lee Marvin.
What makes you think they eat pigs?

I feel uneasy about bringing a life into this world solely to harvest it - whether that's for food, organs, or anything else.
You realize that "no vaccine" is 99.8% effective in the US at preventing death, right?
Welcome to the boomerverse
My aunt needed a new liver. Her liver failed, so she died.

Had a liver-transplant been available (she was on the list), she might still be alive.

There is a very good chance that the surgeon who would have performed the transplant is still a surgeon, despite the fact that said transplant never happened. My aunt, on the other hand, needed that liver.
PHP is widely used because it is easy to use. In contrast with other programming languages that are complex, PHP is simple, fluent, clean and organized, hence it is a boon for the new users. PHP has a well-organized syntax which is logical at the same time
The way that you do physics in simple platform games is with an Euler integration. I don’t really know what to tell you.

Velocity = Velocity + changes in velocity

Position = Position + Velocity

Do this on an infinite loop and That’s a numeric Euler integration of velocity to get position.

It’s not gatekeeping, I’m not saying you shouldn’t be allowed to make a game without credentials. I was a college dropout for almost a decade until three months ago. I was just saying that that is more advanced math than what a fifth grader does.

I am sorry that you think that it is absurd.
ive been using brave search since release. i switched from DDG which was working for me. brave works for most of my purposes but when it doesn't the option to "anonymously gather google results" makes me feel like I'm never missing out
If anyone thinks local dev with Java/Kotlin is hard they haven't tried it in the last decade. The years of WARs and application servers are long since gone, every framework you would interact with (Spring etc) are self-hosting, i.e even easier than PHP because you don't need a web server, you don't need to know what FastCGI is, etc.

If you pay for a host that has all this setup and SCP/FTP your files to it sure, but is that -really- easier than the local dev experience vs the Sprint Boot starter pack? I don't think so.
It depends on what you mean by "access RAM directly", both SPUs and GPUs (at least on PS4) can read/write system memory. Both do this asynchronously. If you want random access to system memory you will die on a GPU even sooner than on an SPU since latencies are much bigger.

So there is not much difference imho and the GP is correct.
>when a man ends up with that same gene, it makes him follow people with authority and be super submissive

Do you mean Williams syndrome? If so then that is a disgusting characterisation.
I find it baffling how the "bayesian reasoning is best reasoning" style of thinking promoted by lesswrong and others has fully spread into online tech communities for every topic except science. As soon as you say "it is thoroughly reasonable to go with the conclusions of the bulk of professionals who competitively analyze a particular field" then people leap out of the woodwork with maximally rigid views of the function of science and largely argue that we cannot hold any view with sufficient confidence to ever act.
Yes, but you very soon reach the point of diminishing returns when you try to research any purchase. After a maximum a few hours it is hard to find any more useful information about most consumer goods. You have read all the specifications, and the tests and the reviews and went to the stores to look at the products in person. So even if you might spend half a day researching an expensive TV, you won't make a better buy of a car even if you spend more than a day or two researching. And if you spend ten full days to buy a car, you are most certainly wasting your time (and will lose more income than you can optimise your car purchase).
When I recognize fear of looking stupid prevents me from doing something I see it as a challenge to do it. This makes it easier to push through. Most of the time it was the right decision, but not always.

When picking up my kid at kindergarten once, I got an urge to jump over the fence into the yard, rather than using the gate. Of course, a 49-year old doing that might look stupid to all the kids and staff present (lots), so I did it. Then a 20-year old staff member comes up to me and says “Yeah…so we try to teach the kids here not to climb the fence. It’d be great if you didn’t do what you just did..”

Sometimes looking stupid means being stupid too. But that’s ok.
Apple product design has improved since Jony Ive left
Yet people overwhelmingly choose Honda Civic over a Ferrari.

If Ferrari is so superior, why is that the case?

Hell why not buy a rocket ship. Its the most superior!

Oh yeah, not practical for most use cases.
Mihaly Csikszentmihalyi (author or Flow) has died
Ok, if we want to have a meta discussion, let me ask two stupid questions:

Why did OP not tell the store clerk why a small box mattered?

Why did OP not tell the reader why he didn't tell the clerk?
"People think I'm stupid but it is actually they who are stupid and unable to comprehend my genius intellect"
It’s supported pretty well. I’m running a Kubernetes cluster on Raspberry Pis and these days most popular images have ARM64 support.
Well, in C you very rarely need it, but in assembler (particularly the 8-bit Z80 and 6502 that I've written raft-loads of code for) you definitely do. Of course, something like a CALL is better, if you can manage it.
If we could do that we absolutely would, and people are working on it, but we're not there yet.
Would this be halal or kosher?

The organ has been genetically modified from what
a natural pig organ would be like.

If not, would it be difficult to grow organs
in some other animal?

Further why not use gorillas or another animal
that to me would seem closet to human?
You don't even need to explain why. Just say "I need the computer that comes in the smallest box. I know this is weird, right? I need it for reasons that would take a long time to explain, but I promise they make sense." A bit of empathy for the baffled Apple store employee on the other side of the conversation and nobody has to waste time or feel stupid.

Maybe there's additional context we're missing.
People get hung up on the terminology, but I’ve found if you don’t use the words functor and monad and just focus on the actual use case, second year college students learning functional programming for the first time can grok this concept.

The way I have found success is to have them write a program first where a monad would be useful, and then ask them to implement it without monads. They will identify the need for a monad themselves, and then you can show them the tool they want. Then they use it to solve the problem, and at that point you start giving them a more rigorous theory.
You’re not understanding my point, VMs will never have native performance as long as there is a a pass through layer.Running a apt-update on wsl2 is much much slower than running apt-update on my ubuntu laptop.
I kind-of agree with parent, but I would define it "subjective" instead of "arbitrary".
What does it say about things when about an hour after the article is posted we have two thread discussing the upgrade question that is central to the article, one drawing attention to the limitations of the methodology, and like five evangelizing with words like “I don’t care what the haters think, I love PHP?”

As of writing, at least, no one here is attacking your language.
lol 78% of total URLs, including parked domains on camper sites. So you have to count a parked domain page the same weight as youtube.com to get to 78%
Now that I know all of those facts, I can finally burn out and turn to painting!

Yay!
social reflexes and egos are immense streams of hurdles in the way of knowing

i like the term abandonment these days, drop your assumptions, drop your habits and try to see things as they are
https://archive.md/49OLq
I’ve never heard of that one, what does it look like?
Among a dozen other stories.

You're peculiarly obsessed with what I post and whether I "deserve" upvotes: https://news.ycombinator.com/item?id=27081341

Your harassment definitely makes HN a worse place.
> How would those look in Python or Ruby?

class Something:

@cached_property
def hostname(self):
return socket.gethostname()

I guess, kind of hard to tell what your code does because it is honestly indirect nonsense where you need to know details about some specific library that implements some specific form of objects written in a language that is not exactly well regarded for it's legibility. Meanwhile the code above is clearly readable by anyone with even a modicum of programming experience.

There's also nothing on that page that I can see which Ruby and Python couldn't do. Both are exceptionally good at taboo runtime changes of global state.
> It is astonishing how closely intertwined philosophy and psychology turn out to be.

It’d be surprising if they weren’t, if you think about it. :)
>The clock doesn't remove the local times and replace them with UTC

You're right, this clock doesn't remove the local times and replace them with UTC; instead this clock overlays the local times with a replacement "A-X time", which is a single timezone applied to everywhere. Not UTC, but a new, non-standardized "DIY" UTC. That's the whole thing it does: throw away the location-specific "daylight-hours" quantifier (the "hour" part of the time) and replace it with a "single timezone" version (where it's "F:30" everywhere on earth at the same time), but instead of the globally-recognized standard of UTC, it's a brand-new standard that arbitrarily uses letters rather than numbers (with an "origin point" that's unclear -- where in the world is A:00 equal to 00:00? I couldn't find it, so I couldn't easily figure out my timezone's offset so that I could reason about daylight hours).

I've seen clocks that do this already, but with UTC instead of "A-X time": they have two "dials", one for local time and one for UTC. That's all this is, just with letters instead of numeric hours (an arbitrary substitution) and a newly-made-up "base" timezone instead of UTC.

There's no functional difference between consulting a clock like this so that you can say "F:30" to all of your teammates and it'll be the same time everywhere, and consulting a UTC clock so that you can say "10:30 UTC" to all of your teammates and it'll be the same time everywhere, except that most people have memorized their local UTC offset and can go "oh, okay, 10:30 - 5 hours = 5:30", where with F:30 they have to go consult your website instead.

Having a configurable "meeting time" feature is neat, but like...that's an extra tool you had to build on top of your clock system, not an intrinsic feature of your clock system itself. I need a complex translator tool to tell me what A-X hours are reasonable for meeting with people because I can't just simply apply offsets in my head and get intuitive results (especially because the "base" offsets are unclear).

I think a lot of folks overestimate how painful it is to do modulo addition/subtraction, compared to how painful it is to learn an entirely new system of timekeeping-and-translation.
PS3 6 SPUs(1 is system reserved) 4-way SIMD

PS4 - 18 GCN CUs, each has four 16-ways SIMDs for 72 SIMDs but each is 4 times wider so PS4 has the same number of ways as in 288 4-ways SPUs.
> No question that most of us needs to have the ego take a backseat more often.

Nothing says ego in the backseat like an iamsosmart blog post. Bonus points if the website looks like it's from 2005 and if you write it in a tone as if you just invented penicillin.
>But I think the "no" is because of the uniqueness of ML

In a thread where people are parsing the meaning of consensus with respect to climate change, citing the atypical example of the state of consensus in a unique field is going to contribute to the loss of context that makes people confused about the original subject at issue in this thread.

It's great to know about BigGAN vs StyleGAN, but I'm almost positive people will skim this detour into increasingly detailed elaboration on machine learning and think the upshot is supposed to be "and therefore we shouldn't put stock in climate science consensus."
It's not even NP-Hard, it's PSPACE-hard.

Try finding the shortest path to a network where you only discover the edges once you reach a node. You only get hilariously suboptimal solutions

Which is why in practice such a system has to be centralized (eg. El Salvador) or it's effectively useless (you resort to opening a new channel rather than passing the money along an unknowable list of channels)
The first half of my career was heavy PHP and it helped make me into who I am today. I’ve barely touched it in the last 10 years, but the people who give PHP a hard time are largely misguided.

Last time I wrote about this it got some circulation so I’ll repost here.

https://www.brightball.com/articles/no-such-thing-as-real-pr...
The researchers in the article just modified the pig's DNA so it doesn't express a particular sugar that the human immune system doesn't like. No human DNA goes in the pig.
> I was under the impression that, despite the name, the Yamaha FM synths didn't actually use frequency Modulation but rather phase modulation. With Frequency modulation you can't have an operator feed back on its self.

It’s true that it’s phase modulation, but phase is just the derivative of frequency, and the derivative is a linear operator (essentially a 6dB/oct EQ). So I don’t think it’s an especially important piece of terminology to get correct.

The statement about feedback is actually backwards. You cannot directly incorporate feedback into a phase modulation system. In the Yamaha system, the feedback is delayed by a sample to make it work. In an FM synth, this would not be necessary, and you could just directly feed the output back into the input.
I want to hear the niece's side of the story.
Language, having evolved over tens of thousands of years of the human practical use, is often smarter than us, and where we are forced to say that something exists, it usually does. It means that more often than not something that we describe in words is not merely an idea but has an objective meaning, i.e. has to do with reality and therefore exists, independently from from our minds. Thus not only “objects” exist, but also their properties as well as relations between them. A tip of the needle enjoys the same objective existence as does the needle itself, and this fact is easy to verify by sticking it in you finger. What other existence do you want?