skysight-inc/HackerNews huggingface dataset:
What is your point? I've heard that fast food places had become way more expensive. So yes average Jane/Joe would have nothing left after covering basic expenses. Myself I do not go to places like this at all. We either cook at home or on very rare occasions go to some restaurants where I can get some really good food.
So happy that they added the ability to extend response deadlines with http.ResponseController.
Perhaps it's anxiety caused by people who want power. "Vote for us because things are getting worse"
My wife and I have entertained the idea of a bigger house for quite some time.

Well, that boat has sailed. Building has pretty much become unaffordable for us, unless we'd move way out to the country side. And I mean WAY out - we would spend a lot more time every day driving everywhere). We'd also have to build a rather modestly-sized home to fit it into our budget.

The thing is, the only reason we've started thinking about a new house in the first place is that - with a growing family - our current home is starting to feel a bit tight.

The only alternative would be to buy an older house and renovate it. That would possibly keep us in the general area, but financially it wouldn't be viable either. Houses here are usually priced so that if you were to get them to a modern standard, you would end up having spent the same amount of money as if you built a completely new home. Except that the old one will be, at its core, still an old house.
> Looks like the only affected apps were those which provided a different means to access Twitter without ads.

I'd be happy to pay some sort of subscription to the API in order to keep using the third party client. Not sure why this isn't a thing. I'd much rather pay a fe bucks per month for API access than "Twitter Blue" or whatever.

As for the apps: while it's an asshat move, I'd be really careful about building anything commercial on top of anyone else's project without any guarantees about the service even existing tomorrow.
Common in Pakistan, also - not sure about India.

It’s odd, because Islam preaches ‘bodily purity’ but repeated cousin marriage rapidly causes the accumulation of significant genetic defects - so you’d think religion would steer culture towards better beliefs and practices concerning that.
> On the other hand, if billionaire's stopped wanting to earn more and more money, the economy would likely crash...

No, this is incorrect. It doesn't matter who owns the stock as long as someone does. It's irrelevant if one person owns the stock or it's distributed equally among workers (or something in between.) The incentives are the same. In fact, distributing stock more widely could lead to better decision making by crowdsourcing wisdom.
Seems like this was hugged to death by HN.

Web Archive link: https://web.archive.org/web/20230107220815/http://www.rogueb...
I used it at work yesterday. I asked it to write a promise that returns true after 30 seconds. It did. Easy stuff I suppose...

I gave it some code which was an obscure looking Typescript type that was using several utility types. ChatGPT gave me a decent, if not wordy, explanation back in plain English.

Then I asked it which parameter to use in Google Mediapipe SDK to enable long range face detection. It didn't get the answer perfect, but it was still correct, and it sent me down the same path that a Google search would have.

I only played with it for 15 minutes after a meeting, but I can start using this tool at work today because that's how useful and easy it seems. We'll see if I actually reach for it today.
Kinda applies to anything (Ruby, Python, Rust, Java, Javascript, ...)
A 100x speedup makes sense because a cache miss costs around 100 nanoseconds, compared to arithmetic operations themselves costing under one nanosecond. If you traverse a data structure in which everything's a pointer, every access may well be a cache miss, especially if the rest of the code is also pointer-heavy and thrashes the cache.
there's nothing "implicit" about http headers. That's basic; just like get post.
Is there an alternative but that does it all locally? I'd love to avoid the cloud part. And I'd like it to be as easy as this, unlike OBS/Camtasia.
The flip side of this is sitting on a pretty good stable income, not playing high risk investment games, and needing to accept that your social class and wealth is more or less locked in for at least 20 years. Linear gains don’t move the needle. Savings do nothing once you have a house. It’s not a bad place to be, but it is a static one. If you have the ability to appreciate your circumstances it’s even a good one.

But amidst a world of games and progression systems it sure does feel like a failure in some regards.
https://news.ycombinator.com/item?id=34405846
>The bulk of the work is wrapping the building in 25cm of rigid foam exterior insulation, replacing windows and making sure that they are fairly air tight. They aren't adding mechanical ventilation, as installation would cause too much disruption to residents who are living there.

Hmmm, like the worst possible idea (air tight + not adequate ventilation), the early (10-15 years ago) "Class A" or "Class B" new buldings made here without appropriate ventilation have given lots of problems (humidity/mould).

The only possible remedy being daily manual ventilation, i.e. open windows for 10/15 minutes every single day (but many people won't or cannot do it).
because PHP kicks ass :)
Ch.2 (esp. "A Farewell to Indices") is interesting. Basically we rely on having an order on indices, but only so we can partition into blocks (usually visited and yet-to-be-visited).
> I've seen a lot of mechanically incorrect and unhelpful code generated

This has been my experience. I've attempted to use ChatGPC 4 times to generate a functions or classes with various levels of complexity and every time it has produced incorrect code. It often fabricates functions, classes, or entire libraries and the few times it produced regular expression the regexp didn't actually do what ChatGPT thinks it will do.
It'll be interesting to see some presedence for LAION's data laundering.

As some background, Getty Images have partnered with BRIA, a similar company (https://www.theregister.com/2022/10/26/shutterstock_getty_op...)
Basically putting a gradient field on a discretized map for rogue-like games and then doing motion planning accordingly. For example, having enemies gradient ascent/descent to attack players, gradient descent/ascent to flee from players.

Since many rogue-likes are played on ASCII grids, using an array to store the gradient field is not that memory intensive. I suspect one can do this in a "continuous" setting by overlaying a gradient field by consider each point of interest (enemies, players, gold) to deform the gradient in some way, say with a localized Gaussian falloff or something similar.

EDIT: Sorry, this specific algorithm is linear falloff in all directions. So it's more akin to calculating Voronoi regions and saving the distance to the point of interest.
Thank you for this!! I finally have one link to send to all those who asked me "why", instead of getting lost in incomprehensible [to them] explanations ...
I have the opposite issue - a LOT of spam makes it's way into my Inbox.
How would one know? By definition, an AI is supposed to be indistinguishable from a human, at least in short text interactions.

If it is easy to distinguish between them (with an app like that mentioned), then doesn't pass the Turing test.

I’d not waste my time being offended. Delete and move on. Don't invest more in them than they in you.
Sorry to be dismissive, but elegance, expressiveness or succinctness are not mandatory for "making things". Gatekeeping a programming language on esthetics is quite shallow in my opinion.

Ease of use and deployment, breadth, availability, low cost of maintaining, are sometimes more important, and PHP offers plenty of value in these respects.

I don't want to work with it, but I will never presume to look down on people that do. PHP has been a cornerstone for a whole generation of programmers and I think the current web-development ecosystem would not be where it is without it.
Cape Town. It matters a lot... actually, imagine 5C or even 10C outside and that cold just coming straight through the windows. That means you'll be freezing inside. In summer it also seems to help. Yesterday was 36C here and we had 25C indoors, which would had been much worse if we didn't have roof insulation and double glazed windows.
I think it's just a bad analogy. Blackholes lie in wait the same way quicksand does. There's no intent on the part of either, not gathering or hunting, they just do what they do.
"Meta and other tech companies have been criticized for relying very heavily on workers from overseas. One study from 2018 found that more than 70% of tech workers in Silicon Valley were born in another country."
Why? heated floor are a little more efficient in heating and for some are a little more comfortable, but from my experience they are also slow to react so it's harder to control the temperature when the weather changes daily for example in the spring or automn.
Reserve cache for performance sensitive programs? (OS support?)
If building science is fascinating to you, check out Matt Risinger and The Build Show.
I might be misinterpreting "taken seriously" with utility, but to me it is very valuable that a PHP script can just be dropped on almost any web server and it can start doing stuff, and that alone is reason enough not to not dismiss it.
I have a different take on why we want to see the world burn: we can see the world on fire, but seemingly lots of people don't (at least, not enough to do anything about it). We hope that if the burn increases a little bit now, people will notice before it starts burn uncontrollably in a few years, so start working to stop the fire.
Fascinating that they start talking about Hunter without explaining who he is for another several paragraphs. I had to search his name in the page just to be sure I wasn't missing something.
I’ve made a few “serious” projects with PHP and has been great, I never feel like I’m fighting against it to do what I need to do, the code can be very concise, its very fast and has a lot of batteries builtin.

Python is not beautifully well thought out, the syntax is awful and the version conflicts make it a mess.

You’re comparing to React which is not a language or in the same domain is confusing and makes me doubt your credibility.
> claim that it 'abstracts away the sql‘

I have never ever met anyone who genuinely used ORM claim that in any form of shape. The only ever place where I’ve seen it is threads about “how bad ORMs are”, so it is only a strawmen.

ORMs are first and foremost a tool for OLTP-based workflows, helping mapping between objects and db rows, especially for insertions. They are also very great for CRUD operations on tables. They were never meant to abstract away the SQL model, that is one necessarily has to know the underlying tables, and often write queries with manual joins, etc (many ORMs allow custom queries in a cross-DB way). But even in these cases mapping the result is very convenient with an ORM.
I disagree to some extent:

> Parser generator grammars are usually quite far from 'paper' versions

The more useful of parser input formats allow precedence and associativitiy annotations as well as optionals, quantifiers and quantifiers with separators.

This really only works great together with your third point,

> Parser files are usually fairly illegible because they mix host language code with parser syntax

You don't need host code if the parser just outputs an AST. Neither quantifiers with or without separators nor optionals make the parser spec more complex if no host code is needed -- the complexity is in the parser generator and AST generator.

> Error messages suck

I found error messages okay-ish when you view them in an IDE where it is more important where an error occurred than what exactly is wrong (only applies to syntax errors). I also found it helpful to show the allowed input at that place that would NOT have resulted in a syntax error -- and the parser generator can emit a list of both terminals and nonterminals automatically, because this information is used by it to detect a syntax error in the first place.

I also tripped over the often-said problem that LALR parsers produce less useful error messages than LR(1) parsers. In today's time, just using LR(1) is underrated IMHO. In my experiments, the table didn't get too large (400kB parse table for a simple hardware-description language) and I would have tried to apply compression algorithms on the table instead of resorting to LALR, but that size was small enough to be acceptable to me. Only the run time of the table generation process was a bit annoying (10-20 seconds).
You will save on heating, though. If it's 10C outside and that cold creeps in, it's going to be pretty cold inside unless you run lots of heaters or a fireplace all the time.

Not everyone is bothered by this though, but I think a house should have at least 21C in winter.
<? mysql_connect(...) ?> isn't doing too well
> Laravel alone has resuscitated PHP's reputation

I honestly don't know if this is supposed to be a good or bad thing.
Is the job remote? If so, then if you get paid as a mid-level dev, you should perform as a good mid-level dev. Nothing more than that. Do the absolute minimum required to remain on the standard promotion path (i.e. the 1.5-2 years you said).

Try to arrange your meetings to keep your Friday free. Use your new-found free time to search for new jobs, or even bootstrap your own project.
> Except that the old one will be, at its core, still an old house

Is this a good thing or a bad thing?

I like the idea of the core of my house being true 2x4s made of hardwood, instead of scam “2x4s” where they say it’s because of their sawblades but I’d say it’s because the mills squeeze too many “2x4s” out of a log.
For a lot of code generation I prefer Copilot to ChatGPT, but ChatGPT is better at giving a whole test suite for a file.

I would be just too lazy to write the lots of boring, but important test cases, and I'm finding real bugs in code with it.
> although I didn't really bother setting up a local environment so I just tested new stuff "in prod" by dropping the new files directly via FPT!

That was serverless before serverless was even a thing.

However it came with its fair share of problems. One being that to be usable on a wide range of hosting providers, applications had to be written for the least common denominator.
It’s funny because when I think of “fractal of bad design”, Javascript is the first thing that comes to mind. I love Javascript but it makes me ask “why?” a lot.
> and people who don't know any better keep championing it

Experienced developers understand that there are different tools for different jobs. They also understand that languages are not successful for 30 years without providing some legitimate value.
> It will be more difficult for China to sustain high growth with a shrinking population. Actually, scratch that. It will be impossible.

Many countries with shrinking populations have fast economic growth. Case in point: Eastern European countries have much faster GDP growth rates than Western Europe, even though populations have been declining across Eastern Europe (at a faster rate than in Western Europe).

> The cynic in me would say that the CCP would turn a blind eye to leting Covid rip through the country in order to purge the ranks of economically unproductive seniors.

The cynic in you would then have to explain why China went to such great effort to protect its population from CoVID for almost 3 years, while the West let it rip.

Many in the West love China catastrophism. It's comforting to think that the US' main rival will collapse, all on its own. That's why Peter Zeihan is so popular. However, China's population decline is going to be gradual: it's going to go from 1.4 billion people now to 1.3 billion people in 30 years. This is offset by the younger generation being much better educated and economically productive than the older generations. The number of highly skilled workers will actually continue to increase over time.

The main risk to China is not gradual demographic decline. It's the rivalry with the US, which threatens to wreck the globalized economic system that China (and most of the world) depends on, and which could turn hot in the near future.
Yeah I do agree it was a stepping-stone in many ways.
You should mention that Australian single glazed windows are also very easy going on all other aspects of the window and it's tightness to air/wind. At least the older ones.
Yeah, Matt is absolutely right. I'm working on PXP as a passion project, something that I've been trying to do over the last year or so and only started to invest serious time into the last couple of months.

The goal isn't to completely replace PHP but to complement it. You can think of it like a playground for future PHP syntax. Something could be added to PXP and released in a week, PHP on the other hand has 1 big release a year. If something is successful and widely used in PXP, then it could be a contender for PHP core.
Why would anyone in 2023 use Java or choose to be locked into Microsoft?
The author complains about buying products on Amazon, but then has an ad directing people to buy said products on Amazon. Pot, meet kettle.
Been using this tool for quite some time. Documentation in the IDE is super helpful.
Speaking of http tricks I'm more impressed about how you can clone github URLs (i.e. they serve git and regular http on the same port).
The only gripe I have with PHP is that the standard library while extensive is a total inconsistent mess. Would rather see that addressed first.
Cloudflare Access Availability Issues and Issues with ability to send emails
much appreciated! thanks
And also not having a billion episodes. The older UK standard was 6 episodes per series and so it felt like the script was also very tight, every line had to matter.
Lots of people our age feel like the world is bad and unjust and destroying current civilization through revolution will result in a just and good society.

These people are idiots who aren’t aware of the death and destruction this will cause and things will likely be much worse after.
Societies demand for software is basically infinite. Right now only people who can pay for developers get to have good custom software. As LLMs increase the output of a programmer more people will be able to comission custom software. More software will get made and programmer salaries will remain high.
How big should the tank be? Googling a little shows that it should usually be a small lake size or a big pond, not something you put in your yard.
From their status page:

> We are working to understand the full impact and mitigate this problem. More updates to follow shortly.
My impression is that many power users (not web developers) want to download datasets. Sometimes they’ll use a browser to grab a csv or json file, then stuff it into excel/R/python/… to do some sort of analysis work. This kind of knowledge is helpful for that crowd. They often don’t know about the non-url parts of a request.
Does Norway require insulation based on building profile or just walls must be X, windows must be Y?

By building profile I mean, higher requirements if you want massive windows; to account for their lower R rating than a wall.

Or higher requirements for a rectangular footprint vs a square footprint because the rectangle has a more surface area for the same volume.

(Does anywhere take this approach???)
Love this tool
I was referring to the way the business was developed and is practiced in America, which is unique to this country.

I can't speak to electrical prices in Europe, but it is definitely possible to make electricity to power your car cheaper than it is to buy gas.
Fortescue looks toward greener mining with 240-tonne electric truck
I use SimpleScreenRecorder. You can choose "Separate file per segment", and each time you pause you get a new file.

I then delete the mistaken takes, and concatenate everything with an FFMPEG script.
Kinda, you have to make sure all the extensions you need are installed, then fix php.ini so it's not doing anything wrong, and then it usually works if you haven't missed anything, until something becomes deprecated.
If you are thinking about building a web application, take a look at Laravel. I not a huge PHP user, but Laravel is always on the top of my list for building web applications. It's the greatest web framework to ever exists, even better than Rails IMHO.

The ecosystem around Laravel is really incredible and unlike any other framework. They have libraries for every stage of a web application from taking payments all the way down to server management and hosting.

They even have awesome libraries like Inertia which are built for Laravel but can be used with other frameworks.

It's the only reason I still stay fresh on my PHP.
The Mastodon account for Ivory, the Mastodon client from the developers of Tweetbot, has 32,000 followers already and it's still in closed alpha.
You probably can't. If such a thing existed, they wouldn't make up some artist-made illustration.

They probably detected the event by plugging in some mathematical equations based on general relativity.

I'd imagine it has something to do with pattern of how pulse changes over time.
> The issue is, that would require Amazon to withhold payment to sells for 30 - 60 days

Wait, that's not the case already? Isn't that how all marketplaces work? How else do you pay out refunds?
The article links to another one as well called "The Incredible Power of Dijkstra Maps": https://web.archive.org/web/20221116170436/http://www.rogueb...
Both of you are missing the point. Soviets didn't have one sort of butter in the way west had its 20. You couldn't go to the store and buy however much of that shitty butter you needed when you needed it. You had to catch it when it's there and get in line before it runs out, or know someone who'd tip you off, or know someone who'd sell you from the back door. And then somewhere else (not where it was produced) they'd be dumping excess butter into the ditch because it went bad.

It really isn't something you want to find middle ground with. That's like looking for middle ground between wearing nail polish and having a gangrene.
Programming a JavaScript Chess Engine
Because there was pushback against it. Originally with Windows 8 certification MS didn't care if OEMs had an option to disable Secure Boot or not. After the initial outcry an option was added. They then tried again with Windows 10. And this only applies to x86 based machines, ARM models have secure boot stuck on since RT launched.

https://arstechnica.com/information-technology/2015/03/windo...

Did secure boot stop those malware attacks? Somehow despite secure boot being enabled as default for like 10 years I still routinely hear about XYZ getting hit by ransomware so I'm guessing no. Software freedom can help IRL too.
I was never as cold indoors as in Australia. The houses have no insulation, it's almost as cold inside as it is outside. Even if it's above 10°C in Sydney in winter, it's about 15°C indoors unless you use AC for heating. Add to that just terrible craftsmanship of walls and windows.
Finally something that keeps your documentation up-to-date easily
Javascript already set the precedent. If you don't like the way a language works, it's preferable to have a proxy language that does work the way you want that compiles to it, rather than accept the language for what it is and learn to work with it.
> Your comparing to React which is not a language or in the same domain is confusing and makes me doubt your credibility.

They both render HTML and do it in a very different way.
Someone who worked with Python / Django and JAVA / Spring for years professionally, I see PHP / Laravel as absolute superior way to build web apps, especially if you are in a team and people might come and go.