skysight-inc/HackerNews huggingface dataset:
(IMO enterprise grade C code should not have types other than int, use numbers larger than 2^15-1, or constants with more than one digit/character. This is, I'm sure, the best way to avoid undefined behavior and concomitant nasal demons)
It's been 15 years since I lived in Japan, but IIRC it was on average among the cheapest foods there (as it is pretty much everywhere in Asia).

Low cost ingredients, easy/fast to make, possible to cook bulk "batch" in large pot etc.
I’m reluctant to draw conclusions around nutrition based on this correlation, because ramen is so regional. (When I’m in the Japanese mountains, there’s no ramen - just udon and soba.)

I understand a huge portion of Japan’s ramen is in Tokyo. There are many human health factors with an outsize presence/lack-of-presence in Tokyo - like alcohol consumption, noise, overwork...
I agree. When I first started programming I put a program close to hello world on Github. I suppose that's counted as abandoned?

Also, I'm sure everyone's seen a closed source project that went nowhere?
The problem is that not all combinations of those traits are equally valid, and the optimal distributions of those traits are ill defined. If warmongering is some number 0 to 1, with 0 being Gandhi and 1 being Genghis Khan, that's all fine and good. But what does the distribution curve of a randomly generated nation leader look like and how well does that curve conform to the expectations and perceptions of the player? You can't assume independence; players likely expect a high-warmonger/low-forgiveness leader to be more common than a high-warmonger/high-forgiveness leader, but the later combination shouldn't be strictly forbidden. Rather than pinning down all these curves, the Civilization series leans on a finite number of hand-crafted AI players, created by humans exercising intuition and instinct.

As for tactical AI (which is only one component of Civilization), an optimal play from the AI probably isn't what most players desire, nor is optimal play with randomly imposed inefficiencies. Real humans don't run countries optimally, so an AI that runs a Civilization nation optimally won't ring true. You want an AI that rarely makes mistakes that a human wouldn't make, but frequently makes mistakes that a human would make.

Making a good AI for a game like Civ is not nearly as straight forward as creating an AI for a game like Chess or Go because players have different expectations from the games.
Psychology makes remarkably weak predictions as far as “science” goes. So if you’re going to dismiss it when it’s politically inconvenient, you should probably dismiss the entire field all together.
The money going into SF is big enough these days(just look at the city budget, it's a multiple of similarly large cities elsewhere in the US) that the government has fallen into a default of over-regulating everything and then carving out shortcuts and excemptions, and this isn't a new trend, even - SF has always been expensive but the pay-to-play system really started picking up steam with Willie Brown's mayorship back in the 90's, amid the original dot-com boom.

When a city is "hot" and the working population is very transient, which is the case with SF's new tech workforce, nobody is really being a watchdog. The existing property owners will drift along, yelling about anything that might concievably affect their property values, and they get thrown bones to stay complacent since they're the most consistent voters. But they don't pay rent, and the majority of the workers still expect to be here as a career stepping stone and then move on to somewhere that doesn't suck, and so they put up with the rent and don't put down roots. People staying long-term under rent control hang onto their position for as long as they can. There's a lot of kicking cans down roads going on, hence the system trundles on.
If google uses this behavior to for example make everyone use and support only chrome and tie their ad-targeting of the chrome user (google account) and dissuade using other search engines, would that not make it hard for other search platforms to compete by offering lower prices to consumers? I also worry how everyone these days has vendor locking on Chrome, if I use firefox I get lower quality content and Google has made it hard for devs to support non-chrome browsers, this hurts me as a consumer, although I find it hard to come up with a cash amount in damages.
It might be a similar feeling to getting a burst of energy late at night, right before bed time. Feeling like you're now ready to work on that project, but alas, you need to get up in the morning, so it will have to wait until another day.

The truth is, you weren't going to do that thing anyway. That burst of energy is an illusion. It's a defence mechanism to make you feel like you would be an extremely productive person if it weren't for your obligations. In my experience, if you take away the obligations from that scenario, the burst of energy disappears.
For backups, ease of access, and so potential clients and employers can see. Although most of my newer work resides on my privately hosted gitea.
Perhaps, but the refining companies would much rather lobby the US Senate to ignore Global Warming treaties, it's their modus operandi.

If you want to get off of carbon, you have to get away from the people making trillions off of carbon.
So something like $10-$15/hr in current currency.

And, yeah, depending on if it were a local call, phone charges could add to that considerably.

You tended to use scripts and programs to download, work offline, and then upload.
Patience and empathy are practices, and raising kids provides a whole lot of opportunity for exercising them. As a result of becoming better at these practices (or at least more mindful about them), people around me have benefited.
There have been a series of studies demonstrating that happiness of parents with l children at home is lower than non-parents.

However, if I remember correctly, parents with children at home also tend to have higher degrees of life satisfaction or meaningfulness, even with lower happiness.
Just started a blog, any feedback?
I'm sure I do act a little differently, but I try very hard not to.

Especially if I work with them or have some influence over their future.
Lots of models, but where will the batteries come from? Only Tesla seems to have the proper vertical integration although I've heard VW group is investing in battery factories.
The bjp government along with police is trying to use Satellite surveillance to stop sand mining. But it's only partially working...
It's pretty clear that you're in read-only mode. You think you know the only answer so what can I tell you.
> fake it til you make it

I had a conversation with a friend recently about a mutual acquaintance. She surprised me by calling him a con man. In all the years I knew this man, I’d never thought of him as a con man, but the title could fit based on the people who he’d ultimately screwed over. I pushed back with my friend’s characterization slightly because con man seemed a bit more malicious than what I percieved as his intent. Mostly I wasn’t sure if he’d crossed a similar line as ‘fake it til you make it’ in that in business, you often have to convince enough people that something will happen otherwise it won’t and at some point you may he overcommitted and have no choice but to embellish the truth and hope that some major piece doesn’t pull out and ruin the entire chain of dependencies. A prime example is missing payrole. It is basically death for a company, but saying you might miss payroll could guarantee you’ll miss payroll... so lie and hope for the best... Maybe not a great example, and he might be a conman for similar types of lies told to vendors. I do think it’s interesting that much of business relies on convincing people you can do what you say though...
And the consumption required to sustain families itself is a huge part of the consumption aspect. I feel like my carbon footprint is literally 30x what it was before kids, and that's not even including the kids' carbon footprints.
At least in London and other UK cities, the bigger “con” is the pickpockets that are ready to take the valuables of people standing still with their attention on the game.
Our son has a severe intellectual disability, non-verbal, and depends on us for all his daily needs, no matter how small they are. He's 8 now, and it took us a while to come to terms with his condition as well.

It's getting a little better as he gets support from his school for developing basic skills. And he's such a joy and a charming little fella. I'm grateful for having him, as he taught me to see matters in their right perspective, and he taught me what unconditional love looks like.

I still get some time after he (and his normal 13 year old sister) goes to sleep to code on some hobby projects (right now I'm trying to write an OS from scratch and read half-way through the Intel manuals). It's not consistent, and life can be interrupted by trips to the ER every few months (he's asthmatic too). But we still accept it and make the best out of it.

Hang in there, and know that you're not alone.
Tech population is mixed of US citizens and immigrant workers. But yeah, I would say that even American tech workers do not reliably vote.

You just accept the situation and pay since you make good salary. If you can't afford it, move somewhere else.
Japanese manga about a Uighur woman’s persecution in China becomes viral hit
... don't all fuel cells currently known become unusable after 100k miles or less?
Reading your comment gave me the mnemonic “a line goes perpendicular to it” which I think will come in handy (for me at least).
My suggestion: build a basic calculator then extend it... Add scientific and fixed formats. Add functions like log, sine, exp - especially if you create the math ops from scratch. Detect roundoff error and suppress it gracefully. Add binary, octal, and hex base numbers and binary, shift, rotate and bitwise operations. Add 2D graphs and 3D surfaces. Add control of illumination and stacking order for multiple plots. Add animation. Evaluate expressions. Add programmability.

Or just invent your own private Emacs.
There's a crock of crap from the cowards at the World Bank. Before the PRC is gone, its citizens will sell their kidneys for ROC passports.

There, one comment. The first comment here on HN where no one wants to hurt the feelings of the PRC. Two countries of ethnic Chinese. One country free.
I keep coming back to parts of San Francisco are already over 60,000 people per square mile. People talk about more housing and talk zero about infrastructure. Want to pack more people in? Where the fuck are the subways?
At one point, the editor-in-chief of PC Mag coined something that came to be called "Machrone's Law" that the computer you wanted always cost $5,000 dollars (in then current dollars). This is clearly still possible and more--vis-a-vis the latest Mac Pro. But it used to be very possible to spend something like $10K in today's money to but a pretty basic PC.
If you have good sleep habits you don't need to read the book. If you think of sleep as an annoyance or not worthwhile then I highly recommend it
German quotation marks, so not really correct for English. And the backwards apostrophes I don’t think would even be correct in German?
Show HN: Clayoven – a minimalist website generator for math, code, and articles
Still - that's an excellent example of something that's broken by default and outright dangerous for production use and at the same time very convenient when using interactively. There are probably half a dozen similar other features.

The vast majority of packages are written by somebody taking their interactive session and tidying it up with some functions and tests and then publishing it. But going through and weeding out all these "broken by default for edge case" aspects is a nightmare.
Anything that includes put patch delete is not pragmatic. Changes have side effects in any nontrivial system, making the semantic goal little more than wishful thinking. As others (even within the first few comments) figure out, being able to specify every mutable element from a GET is the most pragmatic quality of a modern web api.
Not all open source software is produced by a "herd"; many are written by one person.

My own projects I write by myself; often there are no other contributors at all (although I do accept bug reports and sometimes accept contributed code too, I am the only maintainer).

SQLite is a good open source software project (there are some proprietary extensions, but the core system is open source, and there are also open source extensions which are as good as the proprietary ones if you do not need the warranties and professional support they provide), and is written by only three people. Still, the commit history is public and I often look to see what changes they will have in the next version (and in one case, even found a bug and reported it, and they quickly corrected it).

I have heard Bourbaki before but didn't know much about that, but now I look it up and I can see what it is. I did not know that Bourbaki is actually a group of mathematicians, but I looked and now I know. I also did not know that the "dangerous bend" sign used by Knuth was invented by Bourbaki.
What fiction does is sneak up on the truth (1979)
As a practical matter, would the items stolen by the original police then need to be taken into evidence by the second set of police, to support the charge of theft against the first set of police?
I hate to be That Guy but how on earth is this not discovered during due diligence before “insane asylum” Company was acquired?
My .ml domain also fails randomly, and .ga site obtained from freenom does not have this dns resolving problem.
The Bible is a collection of many different texts; that is why it has many authors. While it can be evaluated as the whole collection, I think that each book of the Bible can be evaluated by its own, too. Actually, the book of Genesis does seem to come from multiple sources; also, it is believed that parts of the Gospels come from the Q Gospel, so even then there are different authors adding stuff within a single book.
"100 companies are responsible for 71% of emissions" is referring to the fossil fuel energy companies. They're responsible for it in the sense that they pulled the carbon out of the ground.

That doesn't mean that if you buy an electric car or replace your oil furnace with electric heat pumps there is no difference being made. They sold it but somebody bought it.
How certain are we of what neurons and other building blocks of the brain actually do?
I recommend https://webrecorder.io/ to reliably capture websites.
Speeding tickets do not cost $500. Most are <$100.
It was interesting that WebScript never really got developed beyond the initial version. I really wish the whole experimentation with Java had never occurred at Apple. Some of the things from WebObjects might have survived.
I have two very young kids (19 and 7 months) and my experience is somewhere between OP and PG. Most of the time, kids feel to me like an endless, grinding to do list. The sleeplessness, sickness, and endless chores/cleaning are hard to power through. My career has definitely slowed down and I find that I already struggle with lower levels of professional ambition. That's not the worst part though: the worst part is the loss of control. Kids make life far less deterministic and most surprises suck. They wake up sick and can't go to daycare and so you don't go to work, you wake up sick and feel like death, they puke in their bed, they poop out of their diaper, they accidentally injure you, etc, etc.

The big redemption in my experience has been that I didn't really expect kids generally and this part of childrearing specifically, to be enjoyable or particularly meaningful. My wife and I agreed before having kids that at least the first 5 years were just gonna suck and we were just going to have to power through. I have still been impressed by how challenging it is, even coming in with that expectation.

On the plus side, I've always viewed having children as unrelated to happiness. If you care primarily about being happy, accomplishing great things professionally, or living an alternative lifestyle (and there's nothing wrong with any of these things) it seems pretty clear that having kids is not a good choice.

For me, I view the experience as a way to grow as a person and connect with something bigger than me. It's a way to become more human, and I'm getting what I came for.
I’m going to play devil’s advocate and suggest this essay is worth an open-minded read to anyone working in the software industry. The vast majority of comments that take issue with it in this thread thus far are nitpicks about minor points, and almost none address the essential thrusts of Tarver’s argument, all of which are actually quite cogent.

As he notes, it’s still the case today that the vast majority of successful open source projects are only those coming out of mega corporations that actually pay tons of smart engineers to spend time on them (fb, google, uber, et al). It happens every now and then, but it’s quite rare that some solitary programmer or duo whip up an os library or product that snags as much of the market as an os project managed by one of the big dogs.

Burnout on the part of solitary maintainers of non-corporate backed os projects is also quite a real and problematic issue.

The adoption of the MIT license, I’d wager, borders on a cultic practice these days and is rarely the outcome of long deliberation on the appropriate license selection on the part of a project maintainer (excluding of course the big companies, whom are incredibly savy and smart about this because they have lawyers).

Os projects also have, generally speaking, horrible support. If an os library isn’t small enough or written in such a way that I can read the source and understand it in about a day and a half, maximum, I won’t use it. The adoption of certain libraries also trends toward tribal practice and ritualistic behavior. People select librires based on their popularity or a personal incentive (these two motivations merge, since a thing’s being popular stirs a personal incentive to learn it in order to be more valuable on the market, see react et al.) more oft than they do based on a thorough technical assessment.

All in all, os has benefited massive corporations much more than it has benefited solo programmers or users. Tbh, I would not be surprised if a world w/o open source actually would have given us more diversity in the tech market—spawning several boutiques of software houses churning out small-scale bespoke, but closed source, tech instead of massive corps who not only use os as a “good grace” but also as a tool to create yet another relation of dependency between themselves and users or other companies—i.e. gain more power.

OS’s one invoiable benefit is that it has significantly liberated the auto-didact—its a huge boon for those that can’t learn through other channels...but even this benefit comes with wrinkles. One can’t know which of the practices one sees in os code are instances of good or bad technique without having external knowledge about programming techniques, which cannot come from code reading alone (unless you think a pattern’s frequency equates to it being a good practice, arguably a mistake in most cases).
I had some really great ramen recently in Tokyo. I would say the place was no fancier than... well... above Jimmy Johns under Olive Garden.

Downtown Tokyo, absolutely delicious ramen, $6 USD or so.
They probably started out with Dropbox "back in the day" as a way for shared access to things (eg employees in multiple locations), and never put adequate time into moving to something more appropriate later on.

Btw, it sounded like the "version control" mentioned wasn't git.

Maybe they're doing full copies of the application + data into a timestamped directory or similar.

That kind of thing chews disk space. :/
How do you guys get R predictive models into production? Last I used Plumber to put a REST API in front of it then discovered R is a single threaded runtime so effectively you can only go 1 request at a time. I guess the only option is to containerize and run many instances with a load balancer in front? I develop on a Mac so I can’t go the Microsoft R server route and I don’t want to embed myself into some commercial solution, e.g. Rsuite. You can trivially do this with the Python ecosystem.

My feeling is that R is great for anything that doesn’t need to be operationalized into production (monitoring, security, logging, scaling, performance, etc). There are so many good ML/stats libraries in R and most books seem to use R (when written by academics) but it feels like these people have never had to put anything into production.
One consideration is the current world political order is built around supplies of oil. Battery powered transport dramatically changes that.
Today Over 2.5 prediction and Under 2.5 predictions – O2.5
Fuel cell cars are basically EVs with small batteries, that are charged by the fuel cell. I guess the driving characteristics will match other EVs.
Windows has VirtualAlloc which is like mmap, but you're right that it has no concept of a "break"; in fact, the stack of the main thread is below (most of) the heap in Windows, below the executable itself. In pseudopictorial form,

Linux/most other *nix:
| executable | libs | heap---> <--- stack |

Windows:
| <--- stack | heap | executable | heap | libs | heap---> |
According to Wikipedia, there are a lot of other languages that use that style, including countries that have much higher rates of fluency in English than Germany. If I had to guess, I'd guess that the author is dutch. https://en.wikipedia.org/wiki/Quotation_mark
Your articles names are misleading (you were not building CPU, but PC) and it resonates more like newbie blog than a proper dev blog worth od ycombinator. Get more xps and try again. Also, are you asian?
> As for tactical AI (which is only one component of Civilization), an optimal play from the AI probably isn't what most players desire, nor is optimal play with randomly imposed inefficiencies.

No one's demanding optimal play from AI. Meanwhile I'm sure pretty much no one's happy with idiotic AI, which is what we have at the moment. I already gave an example: "smashing waves and waves of units into a walled city with +30 strength." Any human player familiar with the rules won't sink 100 city-turns worth of production over 20 turns into attacking an unconquerable city, losing everything while shaving 20% off the wall, then repeat that for another 40 turns; that's idiotic, and that's exactly how the AI behaves alarmingly often. Do you enjoy dealing with this kind of behavior? I bet you don't, unless you only derive pleasure from crushing AIs (which I do enjoy, but the satisfaction from the lack of challenge only lasts so long).

Currently game difficulty in Civ is basically defined by how much of a head start AI players have and how much they cheat (which in theory is a consistent advantage throughout the game but in reality matters less and less once the human player starts conquering), so once you overcome your early disadvantages the late game becomes boring.

> Making a good AI for a game like Civ is not nearly as straight forward...

I never said it's easy to create a great AI for Civ. However, it shouldn't be hard to outdo the existing, idiotic AI by a huge margin (while preserving all the traits like nuke-happiness) if, say, DeepMind decides to put some resources into it.
The science on sodium is far from settled
A closed source project that went nowhere is less likely to be seen, as it often isn't released somewhere, I think.
Even if hydrogen is the future, Toyota must realize that the present is battery electric. They can continue research on future tech while they rise to the market demands in the present.
Amtrak’s on time performance on the northeast corridor, which it owns, is miserable too.