skysight-inc/HackerNews huggingface dataset:
Use the right tool for the right job. I always use plain PHP for all those things I want to keep running forever without having to spend time and brain space to maintain. You can't beat putting a file on a LAMP server and forget it's running. I have tons of public endpoint that do all sort of stuff , aren't core to my business and don't want to deal with the operation hassle that would come to keep such framework working and running in the long run.

Just a few examples of such PHP script:

1. an endpoint that is being called by my CI to send messages on IRC and telegram when a new build is ready

2. the analytics bit of my project so I know who does what without relying on google analytics but by storing all that stuff in a mysql db. It's under 25 lines of PHP code and has worked a lot better for me than any analytics tools I've tried: https://gist.githubusercontent.com/mickael-kerjean/289d3d0be...

3. the target of the contact me form of my project

4. all the webhooks and other simple marketing automation stuff I need to process one way or another

5. all sort of online tools relevant to my niche to boost the SEO side of my OSS project

6. my status page which is an array of url I look after that is being curl around

7. crud cloud instance of my OSS project

and many many more examples, got about a hundred random stuff running from a single cheapo VPS I don't have to maintain.
>.. identify at least 2 people in less than 5 minutes?

How did you identify two people from that data? have I missed something, I only see the following:

HOMEINSTITUTION;COUNTRYCODEOFHOMEINSTITUTION;AGE;GENDER;NATIONALITY;SUBJECTAREA;LEVELSTUDY;YEARSPRIOR;MOBILITYTYPE;HOSTINSTITUTION;COUNTRYCODEOFHOSTINSTITUTION;PLACEMENTENTERPRISE;COUNTRYOFPLACEMENT;ENTERPRISESIZE;TYPEPLACEMENTSECTOR;LENGTHSTUDYPERIOD;LENGTHPLACEMENT;SHORTDURATION;STUDYSTARTDATE;PLACEMENTSTARTDATE;CONSORTIUMAGREEMENTNUMBER;ECTSCREDITSSTUDY;ECTSCREDITSPLACEMENT;TOTALECTSCREDITS;SNSUPPLEMENT;TAUGHTHOSTLANG;LANGUAGETAUGHT;LINGPREPARATION;STUDYGRANT;PLACEMENTGRANT;PREVIOUSPARTICIPATION;QUALIFICATIONATHOST
It seems like you are pretty invested in Stack Overflow. At best I got marginal use out of it so I don’t care for the site one way or another. For most questions where I’d use Stack Overflow (dev stuff) for I simply get a just as good of an answer or hint much faster using Chat-GPT so much so that I just use that to start with, or if it’s a unique problem to an organization I work for I can’t use Stack Overflow really anyway because the question is too specific.

A flow in the past might have been Google “question content or error message or something” -> Stack Overflow links to browse through until something plausible shines through -> problem solved

Now it’s more like Chat-GPT (problem probably solved, or additional details to Chat-GPT) -> Google -> Stack Overflow

Even if tools like Chat-GPT were half as good as Stack Overflow they are vastly more efficient and since I know what I’m doing or looking for I can sniff out how plausible something is (no difference with Stack Overflow today).

I get that you have had a great experience on the site and truly it delivers value for a lot of people!

But I don’t see how such things keep the lights on at Stack Overflow.

The reason the OP is relevant is because even if you think you can identify the answers today it won’t be long before you can’t. It follows the principal that it’s easier to destroy stuff than build it.

If Stack Overflow wants to survive in any form it probably needs to Verify Human and eliminate any method in which someone can interact with the site (content-wise) except hands on keyboard.

Personally I’ve found the so-called human responses to be +- useful compared to Chat-GPT on any given topic I use it for and the only way I come to believe they’re human responses is because of the time stamp.

For example you say:

> …LLMs will pretend like they know what they're talking about and give you the run-around endlessly, providing random, plausible-looking nonsense for as long as you have patience to put up with it

I honestly think you can just plug in “contributors to most Stack Overflow questions” in to this sentence and it’s equally true.

You are focusing on the 1% of cases like in your example. I’m looking at most cases.
> I'm curious if there are any practical reasons we don't see them implemented in more languages.

I believe it's because they're not exactly easy to implement and the resulting extensive type checking might also affect compiler performance.

By the way, another great example of refinement types (in JavaScript) is this one: https://kaleidawave.github.io/posts/introducing-ezno/
If we can regenerate hair cells, could we generate even more hair cells to enable some kind of super hearing?
I would suppose it would take years of effort? and a lot of testing in search of performance enhancements and elimination of corner cases. Even if the code of the FS itself is created in a provably correct manner (a very tall order even with Rust), real hardware has a lot of quirks which need to be addressed.
Laravel calls them "Facades". And no, they're not considered good practice outside the Laravel community.
Cool. I wasn't running macOS though.
I don’t think what is stopping someone from marketing is the lack of tools or templates or guides to follow.

Unless the root cause is addressed - which is my case was that there seemed to be no direct connection between marketing effort and outcomes - every such tool will find a handful of converts and that’ll be that.

The inability to market is a mindset problem, not a tools problem.
LTV only makes sense if every data type you represent requires a length field, and that's usually not the case.

T(V/LV) allows you to represent types with implied lengths (and thus save space).
I actually used a product that built on top of it, so my experience is probably worse than yours!
She used to write a lot about leaving Mormonism and was very critical of it. I believe she deleted critical writing of the church to reconcile with her family.
Dasung has an A4-sized e-reader. I haven't tried any of their tablets, but I
use one of their monitors.

https://shop.dasung.com/
> people delivering services

This is a misunderstanding. These people are not "delivering service". They are doing "governance and administration". And administration size on Germany is acting like a ratchet: growing sometimes, but never shrinking.
(Louis CK | about airplane Wi Fi)

https://www.youtube.com/watch?v=me4BZBsHwZs

could HN crowd just give it a second? :)
I am not saying that’s a metric of the language’s quality, nor am i saying that python is worse than php.

What i am saying is that the offering of tools has matured in php - instead of a basic template engine like smarty you now have “advanced” templating engines, packages and so on. Python has less packages but that can also he because python packages work better and there is no need for an overwhelming number of packages.

Regarding error handling that’s precisely one of the many issues with php. There are so many ways of doing the same thing that it becomes exhausting. And what many php devs do is they work around these issues either by endless hair splitting debates or a dubious amount of made up design patterns.

You shouldn't use php, i am totally against it. I think it’s as bad as it can affect your mental health. Just saying that by comparison to it’s previous versions it has come a long way.

However it does handle character encoding quite well and you can scale as much as you want to literally. Probably because thats too complex for the average php developer and it was left to core language developers which are pretty competent and experienced.
A macro lens is defined as one having 1x magnification, meaning 1cm in real life at the focus plane is mapped to 1cm on the image sensor. A full frame sensor is 3.6cm across horizontally, so a 3.6cm object fills a photo. These things are smaller, so they need a super macro lens with 2x or even 5x magnification. You can get that by buying such a lens, using macro bellows, clipping a separate magnifying lens in front of your normal macro lens, etc.

In any case, with such a high magnification, the plane of focus becomes very narrow, so they're very likely also doing focus stacking.

And you need a lot of light, so they're probably also using a flash.
Jeez, all those tourists I'm seeing are just remote working?
In our Chart of the Week series, we feature a range of charting solutions and techniques to create eye-catching visualizations, and we extend a warm welcome to you. This series will explore charting libraries, frameworks, and best practices for designing effective charts and graphs.

In this blog, we’ll use the Syncfusion .NET MAUI column chart to create a graph displaying yearly U.S. box office revenue data. This control is supported on both desktop (Windows and MacCatalyst) and mobile platforms (Android and iOS).

Due to the 2020 pandemic, box office revenue dropped to nearly $0 in March 2020, and the revenue generated during the entire year of 2020 was 82% lower than 2019.

Let’s see the steps to visualize yearly box office data using the Syncfusion .NET MAUI column chart.
May be better to exchange students between city and rural schools.
Folks sometimes start as consumers of ddos services and at some point realize they can run their own service and make money, buy API access into other booters to begin (reselling but the customer doesn't know) and then they figure out how to build their own infra (dedicated servers, front end, payments etc.).
It might help someone: nixos can be configured to always use the latest kernel version that is compatible with zfs, I believe its config.boot.zfs.package.latestCompatibleLinuxPackages .
I don’t think this is unique to programmers and is a “secret” to successful professionals for as long as drugs have been around.

I was really surprised in business school how many students, guest lecturers, and pretty much everyone was on adderral, beta blockers (without medical necessity), or even cocaine and illegal stimulants. And part of many peoples “stacks” involved visits to specific doctors who would write scripts with combinations that let them focus and work very long hours.

I agree with you on taking care of yourself but it was really illuminating the habits that people sustained for 30-50 years without any spectacular blowouts. Of course not everyone is so lucky, but I never imagined that people would sustain pharmaceutical benefits for so many decades as just part of their routine.

Makes me wonder how many people maintaining 4am daily workouts are doing so without chemical assistance. Although I’ve known many people with really rigorous daily routines (running 8-12 miles) that claimed to abstain from everything, even caffeine and headphones.
The other day I finished a side gig I was doing - a Wordpress site recreated using the Wayback Machine - the site went down a while ago and the admin stopped answering phone calls, not to mention emails.

It was a largely pleasant experience, taking me back to my early years as a "web developer". I had to modify some PHP files because the theme used didn't offer slots for widgets in places I wanted it to.

That being said uncached the site takes over 20 seconds to render. CPU load wasn't high so I can't help but wonder what was it doing all this time.
Show HN: Meander – The mentorship platform for non-linear careers
Hey everybody,

I'm proud to share with you the platform that my team and I have been working on for the past year.

Meander helps tech professionals to change or advance their careers through mentorship. In the last ten years I’ve switched careers from journalism to product management to entrepreneurship. Each time my first thought was: oh God, I do not feel prepared for this monumental shift in my life.

Each time, I was fortunate to have a mentor to help me manage the career shift.

At Meander, we believe careers aren’t linear anymore. We work, we learn, we discover a new interest, and we change direction.
Our solution aims to build a bridge between where you are and where you want to go in your work life.

I would appreciate your feedback on the product and am happy to answer any questions!
Linear growth seems like a strange phenomenon. Is there a constant sized new pool of programmers discovering it each month?
> Many of the core features are open source.

Out of the 15 features I see in https://supertokens.com/pricing, 7 are only proprietary. That's roughly half of them. Without qualifying the weight of every feature, it numerically raises a significant challenge to your statement.

SAML, OAuth and 2FA strike me as key components for me that are not open source.

---

So I stand by my words. I feel put off by a wording that makes me believe a project is open source, when it is open core. Even if you don't like open core or argue the definition is not clear (which I'd disagree), at least marketing it as open source so prominently is IMO misleading, and puts me off (and apparently I'm not alone here).

It's fair to have a business model on open source (obviously!) and I wish you all the luck. But being honest about your business model choices should be the #1 tenet.
> that you still don't have chrome 113.

Nope. I watched the builds for my platform like a hawk until 113 was available.

I don't have auto-updates.
Great. Now fix the light gray on white
Dasung make an A4-sized e-reader. They also make e-ink monitors, 25.3 and 13.3 inches in size.

https://shop.dasung.com/
A 1% error rates for corrupting other blocks is prohibitively. A file system would have do extensive forward error correction in addition to checksumming to have a chance to work with this. It would also have to perform a lot of background scrubbing to stay ahead of the rot. While interesting to model and maybe even relevant as a research problem given the steadily worsening bandwidth to capacity ratio of affordable bulk storage I don't expect there are many users willing to accept the overhead required to come even close to a usable file system an a device as bad as the one you described.
Why is it only a problem when one party is in charge and ignored when the other party is in power?

I agree that it’s a problem. I’m just pointing out why nothing is being done. What you see here is 100% political theater and wheeling and dealing. Meanwhile the debt goes up continuously under both Democrats and Republicans.

Few members of either party are actually serious about cutting spending, especially when they get into power and cuts might be to their pet projects. There’s also a culture of using pork spending to almost literally buy votes. It’s been entrenched in the US systems for generations.
> Oh and it's free. All of it. PHP, Laravel. And its hosting has always been the cheapest. You don't need a particular OS or certain cloud providers.

Unless you’re getting shared hosting, then it’s true for most things now. You don’t need a specific OS or cloud provider for .NET, Java, Go, Rust… etc

> When I consider the solutions of flask and microservices I've left behind, the many node processes running with pm2, the complexity of .NET solutions... PHP just works, and it's easy to make reliable... And if it's slow, it's because I'm doing dumb stuff, not because of dark corner edge case I happened to be tripping into.

.NET isn’t anymore complex than a PHP app. Unless you write many layers of abstractions. And nothing stops you from doing the same thing in PHP.
Modal's usability is amazing, I'm just a bit wary because they use AWS but somehow their prices are lower than that of AWS's GPU machines.
The issue isn't the exact syntax that's used to access the service object. It's the fact that any random chunk of code anywhere in the codebase can reach out to any other random piece of code. Syntactic sugar or not, that's considered to be an antipattern in pretty much any community outside of Laravel's.
Leaking the security certificates and administrative credentials to an external party. Using the earlier customer payments to pay future customers.
After testing it a bit, why the f** is this so wasteful? Just starting the base helloworld-project is already wasting 30% CPU on idle. And apparently is running multiple servers, so I'm not even sure whether this is the whole story. How do they except anyone do use this for real?
> wonder how hard it would be to write a compatible clean room reimplementation of zfs in rust or something, from the spec

As for every non-trivial application - almost impossible.
Dangerous phishing attack targeting Microsoft users, so be on your guard
Thanks. It looks like most are used for transcription regulation and other internal stuff, not "structural" support. (Is there any RNA (still) used for ""structural" support? My guess is that it's more expensive than proteins, but living thing are weird.)
I enjoy writing. I hate writing business tone jargon. I use ChatGPT for that.
I agree with you. But, and this is a big but, it's a tradeoff. You also get benefits.

This is why I said "buy-in". If you are comfortable with doing things in their way, you get a ton of leverage: easily consistent code, a fast and productive "get off the ground" experience. The downside is what you described.

Personally I'm just not a fan anymore of these things. You quickly produce code that _looks_ clean and consistent. But it's also bloated and brittle, especially if you need to break out of the happy path. A framework like that is great if you don't do software design, but more of a hindrance if you do. There's no framework that can help you do a holistic solution. For that you need good tooling, a robust foundation (AKA not PHP and probably not JS) and a simple design.

Again: Trade off.

That's why many here in these discussions will tell you that X or Y is the best thing since sliced bread - because it fits their needs almost perfectly. But you also get many (like us) who have at least some reservations, because had to bend over backwards to fit a square peg into a round hole and ultimately wasted so much time that using X or Y wasn't worth it at all.
You can still sell those users' more valuable usage data and they've even coughed up a bunch of personal information to setup payment and have signaled that they have money and are willing to pay for things. So in return for paying they get no ads on this particular platform while getting a target painted on their back.

And if you need more money later you can just convert youtube premium from a no ads platform to a less ads platform. You just have to do it slowly so not to many people bail at once because the pot got to hot to fast
3D animation of University of Cambridge internal coauthor collaboration 2015-20
With this level of adversarial problems, you'd better formulate your whole IO stack as a two-player minimax game.
That PHP code right there at the very top of the page that is supposed to be representative of how great it is has multiple TOCTOU authorization and validation bugs. In fact, nearly every piece of code on that entire page is riddled with transactional bugs
The big technical question here is why are we not moving to a decentralize messaging system that can't be controlled by government.
Donald Davies
PaLM 2 is just an intermediate step. Their next big model is called "Gemini". Pichai mentioned it.
You offered nothing besides FUD. I regularly read the forums and I don't know what you're referring to.
There is no iphone for 100$ and 1 month of service where I live
There's 2 things to separate here:

1. PHP the language and developer experience (frameworks, tools, community, docs, etc)

2. PHP performance at scale

In my experience, PHP is much improved for 1. and fine to work with. Laravel and composer are great.

For 2. I would never use PHP on anything above a few hundred requests a second. It's slow on its own, but more importantly it's blocking IO model will grind things to a halt at any level of concurrency when talking out to database, caches, or other services. You are also vulnerable to issues like saturating your database with connections due the programming model in php-fpm. I know async php exists but my impression is the mainstream frameworks dont support it (I could be wrong?) so why not just switch language at that point. I speak from experience of scaling a Laravel php app up 5k RPS+ and needing a LOT of EC2 instances to do it. Using Go was a revelation and delivered a 10x improvement in terms of resources required to serve the same number of requests.

So yes, if your rps < 500, why not, PHP is fine. For anything above that, it's a not a great choice.

(And defining your scale in terms of orders per month is a bit silly)
OK,I think I need to go through primary school human anatomy lessons again :( I completely forgot about those.
> It's fast, it's typed (now), it's reliable.

Fast, the most overrated feature that we developers endlessly look for. How fast?
How much are you winning, milliseconds, nanoseconds, picoseconds? It's extremely likely that if something
is slow is because you're doing something wrong regardless the language and/or framework.

It's reliable PHP? Well, so are Python, Ruby, Go and other friends, right?

> Laravel is pretty darn rock solid.

Again, so are: Rails, Flask, Django and many other matured frameworks out there that have been baked
for years now. Unless you pick some toy framework project written in a weekend I'd say there
are plenty of rock solid options out there.

> Just ignore the fugly standard library inconsistencies of (old) PHP...

I'll just prefer to pick a language that narrows/discards that dark side as much as possible.
Very long time ago I couldn't finish reading a page whose author painstakingly
detailed every single inconsistent feature of PHP (literally it could have taken a whole
day to read). After that horrifying testament I said myself to ever get my feet wet with PHP.
Now in a team with PHP you will need to agree which "inconsistencies" should be left out either
by adding some tool to automatically watch for that or educating onboarding members of your team.

> Oh and it's free. All of it. PHP, Laravel.

Aren't the other friends out there also free? All of them?

> When I consider the solutions of flask and microservices...

Flask AND microservices are two completely different things. You can have a full fledged
monolithic Flask application or go with the microservices rabbit hole with ANY technology
and/or programming language that you want.

So PHP, well... Nah. At least not for me. There are plenty of interesting languages and technologies
out there to be learnt and PHP for me is definitely not one of them.

One question aside out of ignorance. How do people debug in PHP? Many many many years ago I worked for an extremely short time
for a company that were heavily using Laravel. I didn't know how to debug a PHP program at a time. People told me to simply do "prints" to the rendered template. If I remember correctly I also tried to find some tutorial or howto on debugging with PHP only to be unsuccessful. I'd be interested to know because with Python is just a joke to do that. Install ipython and ipdb. Then set `import ipdb;ipdb.set_trace()` and you are done, you get the full fledged mighty console where you can see everything you need to track down an issue. Up today I haven't got the opportunity to testify someone using a similar capability with PHP but hey I might be wrong and something of the like is out there.
Usually 'this sort of thing' would go to the extremes: colours that are already prevalent have a bigger chance of getting more added to them.

It's interesting that they don't.

Normal distribution would be extremely weird and unexpected (and not even really possible): we know for sure that the proportion in the end has to be between 0% to 100%. Normal distributions don't have such cutoffs.
"500,000 orders per month"

That's like, what, 12 orders per minute? Is this meant to be impressive or something? I bet any language run on a modern laptop can handle that.