jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Would you please stop posting shallow dismissals and calling names in HN comments? Posts like this and https://news.ycombinator.com/item?id=26289644 are not what this site is for.

https://news.ycombinator.com/newsguidelines.html

Edit: we've had to ask you this sort of thing a ton of times. Eventually we ban such accounts. If you wouldn't mind reviewing the guidelines and taking the intended spirit of the site more to heart, we'd be grateful.
> And anything that deviates from what we have adapted to over millions of years is likely to be a bad idea

That would include agriculture, urbanism, clothing, and living outside of Africa. Are you fighting those too?

Times change, the world changes, our physiological processes are not in sync with our current lives. We have tons of hangovers from our biological past that we suppress for modern society to function. Whether that's good or not is an open question, but unless you plan to raise your kids in a small-group tribal culture on the savannah, you will be deviating from what we have adapted to.

Oh, and:
> And as the evidence comes in for sleep training or separating from your child at night, as it did for artificial milk, you will probably adopt the same psychological defence

The evidence for artificial milk is quite mixed, actually, but the harm of making mothers who can't breastfeed feel absolutely ashamed and guilty is very real.

It's not about "common sense" -- it's about making tradeoffs, and everybody has to. For some, that's sleep training, for others, formula, for others, giving up a career to care for children, etc.

It's one thing to believe people are making a mistake in how they raise their children. It's another thing entirely to shame them, or assume ill-intent, incompetence, or cognitive dissonance as the reason they make different choices than you.

There's way too much lack of empathy in this thread, from people who are sure they know better -- and the harm from that is very, very real.
I think many issues could be resolved for woman if they:

a) take good care of their bodies, since men value beauty a lot - it's important to look good in order to find a male mate, also at age 35+

b) give up on being hypergamous

But point b) is the most difficult to resolve, since it's almost part of a woman's biology. A woman tries to marry up. But if a woman is a high achiever, perhaps she should consider to marry down. Either way, there's a limit on high achieving men and these men are anyway more likely to date and marry younger woman. So these men will be a difficult "catch" for older high achieving woman anyways.

If a high achieving, high earning woman marries down, it can make sense for the man to focus more on family and house-hold chores. He will most likely have more time to dedicate to those tasks anyways, due to his position.
That's interesting, I love Tailwind but I think Tailwind's responsive stuff is the messiest part. Do you have any good resources to share about doing effective and maintainable responsive design on a non-toy website using Tailwind?
This is bad advice. Do not create a setup.py for a new package. (Keeping setup.py for an old package can be okay.)

The author is correct that you want a tool such as flit or poetry which will work with pyproject.toml. Setting up a basic package will be no harder than using setuptools, and it is much more future-proof. You won't have to copy-paste some other crufty setup config either.

It is fair that you don't need all the external tools in this tutorial. In particular, using make is very silly since you can configure different linting and testing workflows directly in pyproject.toml, rather than pull in a whole other system which only works decently on *nix. Poetry also removes the need for tox.
similarly priced machines would run circles around it?
Naming things like this is very American so not much of a surprise.
Again, legal, but not a nice or decent thing to do.
I think there are two dimensions. The personal consent one, where I do not agree with your opinion, but that's okay.

On the other hand, copying a picture to another website can also be a copyright infringement.
One more thought to clarify: in the future imagine we can repair brain damage with silicon-based implants. Will courts force their extraction or enumeration in criminal cases? My point above is that we’re already augmenting our minds with electronic devices, they’re just not implanted physically yet.
So you're saying a person needs to be wealthy enough buy a car AND a membership to shop there?
Interesting side note about suicide among physicians (in the U.S. at least), every state license or hospital privileges (including renewals) I have applied for asks “have you been diagnosed with or received treatment for a mental health disease such as depression, anxiety, etc”. Obviously any rational person would at least hesitate to seek mental health treatment if it meant they could incur increased scrutiny just to continue to do their job, much less knowing that their peers (and sometimes competitors) on the hospital credentialling committee would be aware of their struggles. I have personally known at least 8 friends / coworkers in the medical field who have committed suicide since I entered the field and I cannot help but imagine that this contributed to at least some of them.
Since I drive to work, don’t use a laptop and don’t travel for work, a $1 shopping bag from Aldi suits me. Fits my lunch and anything else I want to quickly chuck in to take with me.
To further this, to get a "good looking" Hugo site going I find myself going through shared hugo projects and pulling various features together in my project - a process that requires a fair amount of trial and error and plenty of frustrations. I haven't tried Jekyll, and I still think Hugo is a great project, but it didn't leave me with a fully satisfied experience such that my next static site will try out something else. I'm also a full-time go developer fwiw.
+1 for Lektor, great project. I've been using it for my site for the last 2 years or so and it's been much less hassle than Hugo.
we need more tmux videos from you.
It's almost certainly a network effect/chicken and egg problem. Everyone has YouTube, so putting your videos up only on another platform is sure to break the bank. You could try to really push your audience to another platform, but generally a large portion of your audience isn't interested enough to download a new app or go to a different website to watch just your videos. There would have to be an extreme mass exodus with nearly every prominent creator switching to a new service for most people to make the effort of getting a new app and creating another account.

There is also the problem of any YT competitor needing an extreme amount of money to invest without any promise of return for a long while. Google has invested 20+ years into digital advertising, so unless they use Google ads themselves they end up needing to roll their own ad platform. PR, managing the content creators put on your platform, etc. are also huge mountains to climb, which is why YT continues to struggle to "appease their creators".
But who will? When you're taking a course, it is literally someone's job to answer your questions. If you're not enrolled in a course, you would need a patient friend who is an expert in the subject, an extremely patient acquaintance who is an expert, or an expert tutor. All of those are hard to come by.

Further, I rarely give straight answers to my student's questions. Their question is usually a symptom of a deeper misunderstanding, and figuring out what that is, and leading them to understand that, is my real job. Someone who just says "The answer is X" does not serve the same role as a teacher.
There's not as much reason to bet against student loans as there was securitized consumer debt and/or MBS. This is because student debt is not dischargeable in bankruptcy.
In the first paragraph of the link you posted, Richard Carrier calls Tim O’Neill “an asscrank, a total tinfoil hatter, filled with slanderous rage and void of any competence and honesty.”

Surely if Carrier’s opinion of O’Neill is relevant to whether O’Neill is a trustworthy opinion on the subject of Jesus mythicism, then Carrier’s own lack of neutrality on the topic is at least as relevant, as is the fact that his views on mythicism are considered far out of the mainstream by his own peers.
The YouTube video of this project makes it all clear: https://www.youtube.com/watch?v=Z3t94ceMHJo
From your link: “income that is not spent on current consumption.”

Income is not limited to money, you can do something and be paid in physical goods. Either indirectly by being paid in them or directly by at making them ex: canning tomatoes you grew.
Except for having to change tires, oil and brake pads earlier, and also having to deal with more mechanical issues due to sheer mileage.
Unsigned types have an absolute advantage for unsigned values: they have twice the range. This turns out to have useful performance advantages e.g. in large data infrastructure software. In typical C++ metaprogramming for this type of software, the integer types for processing code paths are often generated using the most compact primitive type because it is expected that billions of instances of these types may be in memory and trillions in storage, and there are multiple integer types where the required range of values for each are interdependent. A considerable amount of design in database engines, for example, goes into maximizing scalability while minimizing the total footprint of integer type instances. This is a function of the expressible non-negative range of the types, and cutting it in half will cause some of the types to be promoted, doubling their footprint. It is difficult enough to squeeze them into unsigned types without a step change in integer size as it is.

That overflows are well-defined, in contrast to UB, has value in cases of bugs because the consequences of the bug will be well-defined and less subject to clever compiler optimizations.
A compromise of a device used to maintain a web site or a software package or product is a big step towards compromising the site, package or product itself.
> I can’t believe this is legal.

I doubt that it is. The directors of a non-profit can't wake up one morning and decided to pillage the org's resources for their benefit. They must transact their business at arm's length. Chehadé buys Donuts from Nevett, Nevett turns around and sells dot-org to Chehadé's PE firm. This looks like a kickback scheme.

PIR is headquartered in Virginia, we should be calling and writing to the Attorney General there.
hestipod, You are a very kind person - worrying about me, with all your problems. Don't worry about me, (I was worried that I was upsetting or needling you after I posted). NONE of your problems are your fault. None of them. I just wish that there were some way soon of you getting the help you need.

Please don't worry about me, I've been through some things, (probably toughened my exoskeleton), (or something :). You are not unnoticed and I can only repeat I wish there were some real help that you will get. I am ok.
Git subrepo can import a subdirectory. To oversimplify, it's a wrapper for git subtree that keeps metadata information in both your filesystem and your history so that things stay sane.

https://github.com/ingydotnet/git-subrepo
There was an HN article recently linked that talked about one of those religious based charities. They hired the women on as house cleaners, paid minimum wage, deducted room and board. The poor matriarch of the program had to "deal" with the profits from the cheap labor and fund raising.

One could make the same argent about mill or mining work. Maybe even the military? I don't think the adult entertainment industry averages 22 suicides a day.

But those professions are OK because they're reputable?
He probably learned the 6 billion people fact sometime during high school and has never updated it since then.

(I may be projecting, as I'm often guilty of this especially w.r.t global geography)
The "characteristic relations" of a datatype looks really interesting. It's similar to abstract data type (ADT) except you only care about modeling the state but not the operations.

And if you ignore operations, many datatypes reduce down to very simple mathematical objects. For example even though set and priority queues are very different in code, they both only need membership (R_mem) to fully specify because you can rebuild a priority queue knowing just the members. To specify a list/queue/stack, you only need to additionally know ordering (they denote this relationship as R_ob for "occurs before").

The advantage of converting a datatype (bijectively) to this relational domain is that you can essentially do "state-based" merging. You only need to define: how to convert to the relational domain, how to merge within that domain (which is still rich enough for you to specify relational invariants you need preserved), and how to convert back to the concrete datatype. Contrast this with operation-based syncing, where you would need a quadratic explosion of definitions for how any two operations should merge together. Here you don't even need to handle any particular operation individually (e.g., if it works for push_front, you will likely get push_back for free). Essentially it is saying the semantics of an operation is captured by the delta caused to the characteristic relations of the datatype.
I am not doing judgment, I am trying to prevent consequences like these:

https://www.bbc.com/news/newsbeat-49757600

This was linked in the original article. Do you have any better solution?

I personally know two originally fashion models I had photoshoots with that later turned to porn and subsequently to escorting and now they are shadows of their former selves and I don't think they will make it through the next 5 years. If you didn't see what happened to them you probably could be indifferent or be even "enjoying it".
Cool site, I've been looking for something like that for a while.
As an eighteen-year-old I feel secure in pointing out that expectations of my level of maturity are far lower than they were for my father, let alone my grandfather. I believe that people generally rise to meet social expectations. Whether the drop in maturity level is due to the drop in expectations or the other way around, I don't know.
Then I hope we can help them if given the opportunity.

The site is working so far. Thanks for the feedback, folks.

http://moolave.tk/
HHS, FDA's parent agency, covers HIPAA. And a bunch of other stuff (CMS comes to mind).
The sqlite database might get stored as a blob, but a json, xml, or sql dump of the database would be just as plain text as anything else.
> probably just bought six or seven figures in infrastructure and auditing requirements.

This has already been paid. Citrix is already deployed at most hospitals, and doctors routinely access it over wifi and 3g from laptops, the "COWs" the author refers to, and even their home computers. And Citrix has an iPhone client, a Linux client, and a BlackBerry client, all free.
Sounds like the iPad makes for a really good dumb terminal. I guess the advantage over a real computer, in this case, is that it's cheaper and the battery lasts forever. (And it has a good screen, something that Lenovo and others can't figure out how to buy.)

And we never thought thin clients would catch on...
Oh it's manic AND full of conspiracy theories, but even your article gives them credit for outing the HFT 'conspiracy theory' to the masses.
> 2. What is the worst part of being a computer programmer?

> For me the worst thing about programming is dealing with external constraints... Often things you're told to do, and the programs your program has to cooperate with, are confusing or stupid.

> 10. What is the future direction of computer programming?

> ... programming seems to be changing to one in which you plug together programs written by other people...

So, according to that and in agreement with my own experience, everyday programming has more of its worst part...
Sounds similar to when I tore my ACL. It was ~9 months until I was medically healed, but closer to 18 before I was fully back with strength and confidence in my knee.

I did a patellagraft.
It does work without an external X11 all right (trick question, actually, there's an Xvfb underneath all the turtles - so X11 actually is required, even though it's all hidden inside the container ;))
The article said the government didn’t specify punishment for breaking this rule, but what would the existing statutory consequences be for disobeying an order like this?
No-Knead bread is a godsend on every level: taste, cost, ease. Even the worst loaf I’ve made is amongst the bread I’ve ever tasted, for ~ 15 min of unskilled effort.

//

430g Flour (3.5 cups)
.5 gram of yeast (1/4t)
9g salt (1.5t)
320g ~70° water (~ 1.33 cup)

Mix the dry stuff then stir in water. Cover the bowl with a big piece of parchment paper and let it sit on the counter for 12-36 hours.

Uncover, dust some flour on the parchment and use it as a work surface. Use a wet spatula to fold it in on itself a few times, and dust flour to keep it from sticking to itself or the paper.

Leave it for 2-4 hours, then lower the whole piece of paper into a dutch oven you’ve pre-heated as hot as your oven will go. Bake for 30 min with the cover on, then without for 15-30+ min to crisp the outside. Go darker than you expect.

//

You’ll find a million variations but same principles: 1) use fermentation to develop both flavor (ala sour dough) and the gluten strands, obviating need to maintain a sourdough starter or to manually knead it 2) bake it in effectively a very small and super hot oven, using the excess moisture in the dough to steam it then, when finished uncovered, cooks the already near-finished bread in a really hot oven to create an ideal crust. This cleverly mimics two features of commercial ovens unavailable to home cooks: steam baking and ultra high heat.

The cheapest all purpose white is ideal too, putting a loaf at what, 50 cents? I’ve gleefully lived off these loaves multiple days with some butter, cheese, anchovies etc.

Fun side benefit: having a glut of delicious bread got me to start making a lot of crostini (aka tartine, toasts, etc), which are great vehicle to quickly experiment with flavor combinations and techniques. It helped me develop as a cook immensely.
Naming tings is so important. Even more so if you know you will not have time the document properly. Typical sign that someone did not take the time to name : utils, shared or misc ...

Seen it so many time in poor quality project. Hardly ever in project that have a high quality bar set.
No, it's just that the assembly output of godbolt happens before these optimization phases.

On my machine I get no unsigned instantiation, only the signed one :

$ objdump -D a.out | c++filt | grep foo
563: e8 21 01 00 00 callq 689 <bool foo<int>(int)>
56c: e8 18 01 00 00 callq 689 <bool foo<int>(int)>
0000000000000689 <bool foo<int>(int)>:

and the main :

0000000000000560 <main>:
560: 53 push %rbx
561: 31 ff xor %edi,%edi
563: e8 21 01 00 00 callq 689 <bool foo<int>(int)>
568: 31 ff xor %edi,%edi
56a: 89 c3 mov %eax,%ebx
56c: e8 18 01 00 00 callq 689 <bool foo<int>(int)>
571: 0f b6 d3 movzbl %bl,%edx
574: 48 8d 3d b1 01 00 00 lea 0x1b1(%rip),%rdi # 72c <_IO_stdin_used+0x4>
57b: 0f b6 f0 movzbl %al,%esi
57e: 31 c0 xor %eax,%eax
580: e8 cb ff ff ff callq 550 <printf@plt>
585: 31 c0 xor %eax,%eax
587: 5b pop %rbx
588: c3 retq
589: 00 00 add %al,(%rax)
58b: 00 00 add %al,(%rax)
58d: 00 00 add %al,(%rax)
Can a government even function with meetings of 2 or fewer?
So cool. Kinda disappointed at my hacker side of things because I never questioned why EAX register is actually named "EAX". Wondering what else I take for granted now :p
Where factually correct, the numbers are... smallish:

"Two hospitals in Basel and one in Jura, in northwestern Switzerland, said they would each take two French patients after the Alsace authorities sent out a distress call for help. The French region has been particularly badly hit following contagion among a large church service last month.

Hospitals in Germany are also providing help along with the Swiss hospitals that say they are providing help in the spirit of solidarity and international cooperation."

Understandably so, since the rush is just hitting Switzerland itself.

We're even preparing for a complete lockdown, I (this weekend) received an official document that allows me to travel between my home address and work.
They exist in the free version of Windows 10 (without a serial key). They're embedded in all sorts of places, including Solitaire.
They could use video conferencing.
It is certainly Dr. bell hooks.
Anybody who uses computers is relevant to talk about how they are made and legislated. Being a researcher, or any of the other roles you mention, doesn't give you relevance. What gives you relevance is what you say, and saying isn't limited to authority figures. If he needs to STFU, then do you not also need to similarly STFU? Coz what authority or relevance do you have to speak about CD that CD doesn't have to speak about computers? As for refusing to brainlessly applaud, what you're actually doing is brainlessly shouting him down, which is basically the same thing in the opposite direction and not intellectually superior in any way.
>I'm building our startup's product on a mix of Haskell and Erlang; so far it's going well.

Erlang is a very fascinating language. I am currently working on a small scale state and signaling system built in Java. After looking into Erlang, its way of dealing with similar problems is more elegant and much more scalable.
McDonalds is hip shiny and clean in Japan. For young people it's not unusual to go to McDonalds for a date, or to study.

KFC is even classier than McDonalds in Tokyo.
Sure, but the advice people generally give is that small teams and startups shouldn't use k8s - and those are the organizations who can most likely use one of the hosted k8s implementations (which are available anywhere AWS/GCP/Azure have datacenters). Larger corporates will have more complexity to work in with but also will have larger teams which can handle that.
i used to do this before the pandemic. i would have limit my screen time and it worked wonders
The way I see data collection:

- if you don’t need it, don’t ask for it

- if you need it, limit the scope to only the needed use cases

- if your request is overly broad & is written in a fashion that requires me to sound like I’m signing away my privacy, I gonna think you have bad intentions and that makes me not trust you
This, plus I just gave up and mapped ctrl+v to paste in terminal directly.
Also alt-tab is now windows+tab, which is close enough.
There are different senses of "forwards and backwards". There's nothing particularly wrong with yours, there's nothing particularly wrong with the other one, but they aren't the same.

"Reversible computing" here means that you can run it backwards in the sense of undoing what was done by running it forwards.

You're talking about data flowing in opposite directions, while in every case your program runs forwards doing its thing.
It's quite reasonable. The terms of service have been spelt out in quite clear terms. She knew quite well what she was buying. She was quite happy when she was getting the benefits. Now that the shoe is on the other foot, she wants relief from the deal. The vendor provided both monitoring systems and notified it's customers. The company can't be responsible for stupid. This is what raw/laissez-faire capitalism is all about.
I met a problem in ESP32, that I have to reprogram the ESP32 every time I changed a location, here I found a solution and this is a tutorial shows how to connect ESP32 to wifi without programing.
Why would you tell your wife that intersex people don't exist?