skysight-inc/HackerNews huggingface dataset:
Hire an architect. Find the directory of registered architects in your state or country, browse through the listings and chose a few that are within a hour or so of your location that do work that you like. For each architect, choose some houses on the architect’s website and ask if they will put you in touch with the owners and if they would be happy to show you around one of them. Ask the architect what went wrong and how they dealt with it. (Something goes wrong on every project). You should get a good feel for if the architect is someone you can work with from this process, you will be in a relationship with them for at least a year and a half and building is expensive and stressful. If you hire an architect for a full service they will also take care things like permits, sourcing some reliable contractors to choose from, quality control for the build process.

Ask your architect to show you visuals of what the house will be like, I guarantee you you can’t read plans like we can. They don’t need to be hyper expensive realtime ray traced renderings, if your architect works in 3D you can sit with them a look at the computer model we work with day to day, that’s enough to understand what it will be like.

Designing a house with an absolutely fixed budget is only possible if you are building a new build house on a flat serviced site and you give a minimal brief and don’t change it after the outline design and you allow a contingency. This practically never happens. After giving you a lowball hard limit on how much they have to spend I draw them a small house and pretty much all clients like to make their houses bigger as the project progresses. I always warn clients that they are going over budget because of extra floor area and I warn them not to get bamboozled into choosing insanely expensive kitchens and finishes by salespeople, but it still happens on most projects. Don’t make last minute design changes, someone will make a mistake and it will cause a cascade of changes that will cost you more or compromise the design. Don’t base your idea of what a decent budget in $/sqft is on what your neighbour self built 15 years ago, or what someone on a TV program about building houses said; the neighbour typically omits lots of costs when telling them how much their build cost e.g. groundworks, services connections, etc. Likewise the budgets people say on TV are usually absolute bullshit. Also remember that your architect doesn’t have total control over the price; what you get quoted by the contractor is what they think the market will bear and this can change considerably over the course of the 6-12 months it will take to get your permissions and finalise the detailed design.
System languages with GC like D (one example among many others) support RAII for resource management.
Apart from sci-fi futuristic of an "AI consciousness", i'd use the same arguments. Neural networks do not copy or use the original images in the inferences. They just vaguely remember, what was fed them during the training, mixed this with the noise to produce weights. Weights those are the same for a billions of images. The difference between human looking at an artwork and then reproducing something in the same style and Stable Diffusion doing the same, is that SD spend hours instead of decades to learn, and consume much less energy as well (an average human consumes about 58kWh per day https://home.uni-leipzig.de/energy/energy-fundamentals/04.ht...)
Politics and ego are found in the biases encoded in AI, ChatGPT included.
HTTP is great. Another common "How does it know" is resuming downloads: that's done by the Range header. Curl supports it by using `--continue-at- -` (the dash means "figure out where it stopped", you can also use a byte range).
> The sustainability of our living on Earth was not even a visible problem 300 years ago

It was not even a problem 100 years ago, and I would even say 50 years ago except for some people (some being crazy)
I think it's fair to say Git as an option for accessing GitHub is likely to stick around.
Mailbag: What should you do if you report to an underperforming executive?
Unique count approximation in Google Analytics
Sure it is possible, in theory, in practice it is not happening in Europe and seemingly it is not happening in the US as well, no idea if the cited US$ 600 savings per household is accurate or not, but if it is, it is a tiny amount, when compared to the initial cost increase of the EV.

Broadly speaking, the "economic" car price for an ICE car here (Italy, but prices are not so different in other EU countries) is roughly in the 17-25,000 Euro range while the "same" car in a full electric version is (still roughly) in the 28-35,000 Euro, or at least 10,000 Euro difference.

In ten years/200,000 km, the gasoline/petrol may be 20,000x6/100x1.8=2,160 Euro per year, let's make it 2,200.

To make even the electricity for 20,000 km should cost 1,000 Euro per year or less, i.e. less than half, it being "cheaper" (which currently does not happen as due to a number of reasons electricity is currently very expensive) is not enough.

In the US you have much cheaper electricity (but also much cheaper gas/petrol) while I believe the difference in buying an ICE car vs. a comparable EV is the same or more, the projected 600 US$ will need what 20 years to compensate the initial excess spending?

BTW there are the "moral" implications of driving a "zero emissions" vehicle and thus being good for the environment, but financially it isn't seemingly not standing even in the US.
... You can still hacky script in it, my dude. I have to do that several times a year for stuff like one-off ETL's for customer data, or to verify an idea before rewriting it properly..

Absolutely nothing about modern PHP stops you from writing like the crayon-muncher you were back in the early 2000's...

You just also have the option, to, you know, use battle tested libraries and work with cohesive community driven standards now as well.
What office? Haven’t they stopped paying rent on the lot?
Thanks. I haven’t used PHP since 2011 or so.
The account I use for my @dcskycam Twitter bot has been locked a few times for posting sunset videos flagged as inappropriate and the account itself was “permanently suspended for repeated violations” only to be un-suspended almost immediately.

This is just a hobby project for me but if it was revenue generating I’d be looking for other platforms rather than starting new projects on such an unstable platform!
C++ vs. Rust: which is faster?
> How does that work exactly? Here's how I understand it: I would have to cover an entire building with some sort of a skeleton (layer) of wood, with an air gap in between. And it will cause the rain drops to slide down to the ground instead of the wall absorbing it.

You have external cladding to protect against bulk water, UV; it is generally metal siding, brick, stucco. You then have a >5mm air gap between that cladding and the next layer of your building:

* https://www.buildingscience.com/documents/insights/bsi-001-t...

This is because moisture will either get through the cladding, or the cladding itself will absorb water (brick, stucco), and needs a way to dry.

You don't need a lot of space behind the clapping, but you need something:

* https://en.wikipedia.org/wiki/Rainscreen

* https://www.dupont.com/products/tyvek-drainvent-rainscreen.h...
In a cluster of any size worth discussing, this is hundreds if not thousands of pulls over public infrastructure vs private, which is a bad trade off in the vast majority of cases.
It is tailored for the same purpose as Go's one, hello world.
That’s completely backwards. Content negotiation was part of HTTP early on (check RFC 1945, HTTP/1.0). Fielding’s REST thesis came after HTTP 1.1, and used HTTP as an example of REST’s concept of representations.
Megawatt Charging System:

https://www.charin.global/technology/mcs/

https://en.wikipedia.org/wiki/Megawatt_Charging_System
What is, in your opinion, the benefit of that over the "traditional" model of having a web server in front for static assets and fCGI/fpm as the link?
It's a race together with increasingly complex pathogens. First "pathogen" probably was just a complex molecule that accidentally used another molecule's energy store instead of it's own, neither of them having any sort of immune system (cellular membrane at all being a form of immune system).
I can’t imagine that. It would require tremendous amounts of global voluntart coordination and discipline, all happening in a bottom-up fashion. Humanity is hopelessly bad at this, that’s why all significant revolutions were imposed via force and not peacefully.
They just mean a marketing campaign aimed at developers. It looks like the person who made the Mastodon post had a Twitter developer account, and Twitter sent them an email saying, "Hey, developer! Now seems like a great time to build some stuff with the Twitter API!"

I'm assuming this was something designed ages ago and someone forgot to turn it off, but the hashtag they chose for the background of the email-marketing image – #whatshappening – is on point, as I'm sure that's what every developer who uses the Twitter API has been saying.

On the other hand, I see the developer site is back up. If this is indeed a new marketing campaign, it's a brash move.
PHP is a whole server system. The other things you mentioned are just languages.
The significant fruits being ?
The Scapegoat Mechanism in Human Evolution
The Corecursive podcast has also done an episode on the history of Eliza[1]

[1] https://corecursive.com/eliza-with-jeff-shrager/
Really cool, reminds me of this article I once read: Collaborative Diffusion: Programming Antiobjects https://home.cs.colorado.edu/~ralex/papers/PDF/OOPSLA06antio...
Russian hackers are trying to get the worst out of ChatGPT
Which CSV though? The format isn't well-defined in practice: https://donatstudios.com/Falsehoods-Programmers-Believe-Abou...
We have a brand new Daikin VRV system in new york and are currently working on retrofitting a nat gas heating solution - heat pumps aren't a good fit for anywhere north of Atlanta:

When it's really cold out (say 25F or below), the heat pump stops for around 10mins to defrost the exterior coils, which means no heat running at all in that period, and this pause happens more frequently the colder it's outside. The end result, our ~1400 sq place took more than 24hrs to heat up from 55F to 72F when we got back after christmas.

Also you don't save any money on operating it, even with the efficiency yade yada the cost of electricity will run you more than the equivalent in nat gas. So nothing but downside.
> At the most living on Mars could be seen like a bomb-shelter for the privileged few

Not even. Having underground or underwater shelters would be much more feasible and useful for them
Uhhh....
> The issue has been identified and a fix is being implemented.
As a billionaire, you could inject billions into research on your specific condition and have reasonable expectation that something will come out of it within your lifetime.
I’ve noticed gmail getting worse lately too. Hotmail as well, and I think even much more.

I’m not sure what’s happening and wonder if it’s just spammers being smarter.

I’ve had gmail since a few months after launch and spam seems worst this last year. Today I got two spam messages in my inbox offering to eliminate my energy bill.

And I’ve had OTP codes sent to spam.

This is particularly risky as my banks and pretty much everything are pushing paperless. And I had a mortgage company that wouldn’t ever send paper and was completely digital.
AI Query – Generate SQL Queries with AI in Seconds
Whenever I encounter someone attempting to be condescending while talking about “HTTP Verbs” I pull open the RFC for HTTP and demonstrate that the word “verb” literally does not appear in the document.
I agree strongly with the point about how making parsing a major component of teaching compilers being misguided (as anyone who read my compiler series would know), not because learning parsing is unnecessary but because going more in depth about the rest is sacrificed in favour of what is one of the least interesting parts of the challenge of writing a new language.

There's more to do in improving parsing, but it's still one of the best understood aspects of parsing.

That said, I do agree with the article that it's a problem that many syntaxes have complex parser requirements. No grammar I know of requires recursive descent, but many requires violations of layering etc. not catered for by tooling that strongly favours manual parsers.

Now, I prefer manually written parsers because I think (having tried and failed to write better options many times) that current parser generation tools are rarely suitable for writing production parsers.

That said, I wish people wrote their grammars for a tool as a validation exercise, to give an incentive to design grammars that are more regular and easier to parse and simpler.

As an example, I love Ruby. Having worked on my Ruby compiler project (though it's been in hibernation for a few years), I utterly hate Ruby's grammar. I don't hate the result, for the most part, but mostly because most of us avoid the more insane things Ruby allows [1]

And while some of the complexity are part creating what I love about Ruby, the grammar is full of horrible quirks (again [1]) at least some of which might have been reduced if one of the "test cases" of the design process for Ruby was to maintain and update a compact language description for a parser generator tool. Even if that'd not be the production grammar for MRI, using it both to maintain a sane compact grammar description and to validate other parsers against would be great.

I pick on Ruby because I love it and wish it was cleaner and it's a particularly bad offender in this respect, but so many languages have occasional warts that they likely wouldn't have if a formal specification of the grammar made them more obvious.

[1] E.g. 'p(% % )' is valid (it prints "%", because % without a left hand operand reads the following character as the start of a quoted string ending with the same character. 'p % % ' is not, because the "p" can be parsed as an operand, and so the first '%' is interpreted as an infix operator, while the second '%' is interpreted as the start of a quoted character. Fun times. Thankfully I've never seen anyone abuse this in real code.
Commenters on HN like to push their own agendas.
My take is that it was always about expanding the pool of people capable of writing safe code, thus making it cheaper.

I spent most of my career in front-end, where such considerations are way down the priority list, but even I was able to produce something in Rust that compiles.

That being said I never understood why would anyone want to use this language for web development - most problems are solved in that space, so if you're not out to tackle tje unsolved ones, it might not be worth it.
I'm on PHP 8 and I feel the same as parent.

Sure, there's been a lot of progress since the PHP 5 days, but the core of the language has been left mostly untouched by design, and we haven't seen the kind of drastic moves like JS moving to ES6 syntax.

It's a matter of taste, so there's no absolutr truth. I hate PHP's function and property access syntax differenciation and wildly prefer ruby's approach or instance. And there's so much more nice things coming in languages that have been designed from the ground up to be nice to use.

I understand PHP's pragmatism, but can't find it pleasant to use TBH.

PS: we got arrow functions, but they stay limited to anonymous functions for instance...
If it is of any interest: In 2022, an announcement was posted to the GCC mailing list introducing a prototype implementation of a COBOL frontend to GCC, which would in theory compile COBOL directly to a target machine of choice.

Mind you, I haven't actually tested it myself.

Link: https://gcc.gnu.org/pipermail/gcc/2022-March/238408.html
It is not depending on settings of clients nor is it magic. The HTTP headers are as much part of the input of a request as the url itself. The only difference is that most people aren't aware of the http headers and they aren't shown by default in the browser. But not displaying information that isn't relevant to this context is not the same as magic.

This isn't a problem either - if you are a regular internet user, then stuff just works and you don't need to know about http headers at all. If you are a (web) developer, you really should have a general idea about http headers and what kinds of things they are useful for - and then its not magic anymore.
My nasty brain immediately wondered if this could be used to weaponize lightning, by guiding massive bolts of electricity against an enemy. However, t woukd be of limited use, only relevant n a very narrow set of circustances.
If you wanna hang your hat on that, go for it. The hacky approach the parent poster yearns for is still entirely possible, even if you have to update a half-dozen lines of mysql_connect to mysqli_connect.
Oh, but the "organic" solutions do highly deterministic, extremely programmable computational work: 99.99999+% of newborns have 2 hands, 2 legs, and 1 head, and they all started development from a single cell [1]. It's just that the "organic" solutions are written in a 4+ billion year-old highly redundant, distributed, resilient, evolved language whereas our CPUs are not on the same phylogenetic tree.

The quotation marks around organic are just there to point out that there is something wrong with the dichotomy organic (various pro/eu-karyotes from bacteria to humans)/inorganic (from thermostats to CPUs).

[1] Michael Levin: Anatomical decision-making by cellular collectives https://www.youtube.com/watch?v=Z-9rLlFgcm0
It's a pretty dumb argument to make on the basis that no functionality was lost (There is both the MySQLi extension, and the more general PDO one), and if you really, really can't get the budget to refactor it, you can drop a single shim file in to "get those functions back" while using either of the mentioned extensions to do the actual work.
From the Wikipedia page:
"The storm was not an unprecedented occurrence. Geologic evidence has been found that massive floods, of equal or greater magnitude to the 1861–1862 event, have occurred in California roughly every 100 to 200 years."
So you've decided to unschool your child. Congratulations! It's a big decision requiring a lot of thought, planning, and effort. But it's also one of the most humbling and rewarding journeys you'll ever embark on—for you and your child.

Below are some tips to help you unschool effectively and provide a rich environment for learning. But remember, the most important thing is to trust, relax and have fun!
In the front end you have no choice but in the backend you have all the choice into the world. No you’re not always locked in the backend if you have a decentralized system where each service can be based on a different language but yea, I don’t like Java or Java like languages so I will never use especially one maintained by microsoft.
Are there any available practical examples of what this actually means, how to do it, and what the limits of this technique might be with programs that your average programmer may encounter/write?
Had a very similar experience to you and have often dreamt about building my own company that would work the way I want it to.

But how do you get started? I have tried a few times and every time I got discouraged and it didn’t pan out. It’s just overwhelming, and I don’t know where to start. Then I’m doubting my abilities and thinking whether I really want to work like a dog for very little pay for months/years to start the business? Or maybe I’m just better off doing another 18 months stint followed by 6 months off to recover.

I know I’m not alone in this, but haven’t figured out how to get out of it.

Any insights on the above, or a blog if you’ve written about it already?
If there was no "love" monogamy would just be seen as as socialism for the sexual market.

If you put 100 guys and 100 girls on an island, for the first few weeks most girls fuck the same 10/20 men. Then the other revolt, either by violence, or creating a bullshit religion where god told the to marry 1 one 1 so that all men have sex. Magic !

Theres also the issue or raising children when everyone was poor... better be a team

In real society most top guys (in any field) went through a phase where they had 2 to 5 concurrent gf
I see Getty's point of view considering if images were used for training towards a commercial end then there could be a case. But it really is an interesting question about if the training model is "legally" considered inspiration.

Still a strange question for me but will be very interesting to see the results of this. It was always going to happen eventually.
Intentional poor decisions can be embarrassing.
Go's net/http is essentially the only used Go HTTP(S) server. It is often wrapped with other libs to add things like request routing, but it is always used as the actual HTTP implementation. Not sure why you're saying its purpose is "hello world".

The Java one is not usable in anything beyond hello world, and is explicitly not intended to be.
Listen, there's lots of us not-so-remarkable painters. The correlation with genocide is prretty low.
I would think the other way around - moving to Mastodon and still being able to keep up with a select few from Twitter would be excellent. Could even allow replying to tweets and stuff if a browser extension.

I wonder if there could be a way to handle messages from other systems as a first class message in mastodon while saying on twitter "a discussion about this tweet is happening on Mastodon: _link_".
.NET is a strong contender, I would say. The standard library is immensely useful, and many things you may wonder if you need are available as Nuget packages, coming from the same devs who build the std lib.
You switched from "what consumers want" to "get away with" in the last paragraph. But those two phrases are not synonymous.

Consumers "getting what they want" implies their actual preferences are being fulfilled. But they're not. Instead of getting what they want, the consumers get worst possible things the sellers can get away with ("what the market can bear", I guess) - and they can get away with quite a lot, thanks to deception you mention.

My objection is with saying consumers "get what they want", because it has opposite connotations to what really happens.
This is why I stopped posting on the internet people will twist and turn stuff for reasons beyond me. It’s like pulling teeth.
> I must have missed the evidence. Exactly what were they?

Several centuries of astronomy and biology
You’d think an explicit “hey” was needed, but my daily experience makes clear that any sequence of sound even vaguely approximating something remotely sounding like “hey siri” will trigger Siri.
We use server side spam filtering at c1 (see: https://c1.fi/about/). So far things are working pretty well but certainly false positives may occur. On the positive side client can contact yours truly and we can usually do something to sort these out.
> but rather about "backing up" our species and civilisation in additional places

If that's the goal, we should find a safe place to store the backup, or it's just hoping for the best in the worst situation possible.
I do know about it, I was trying to find out what difference do the parent mean between Go’s byte arrays and Java’s solution(s).

Also, I fail to get your conclusion — direct buffers only have a higher cost for initialization/dealloc otherwise reading/writing should be as cheap as it gets. Byte buffers on the other hand do get write barriers but that is also unlikely to be hit that often (and I believe larger byte arrays get allocated in a separate region that doesn’t get moved).