skysight-inc/HackerNews huggingface dataset:
What I like about C is that one can easily tell if something is passed by value or not, because I know these things won't be modified. C++ does not have this property, because C++ has (non-const) references - so when reading code one always has to check the signature of the called function.

On the other hand, C sometimes nudges you to pass by pointer where semantically you want a copy. Well, Matrix4x4 is the only example I can think of right now actually, and here I usually just bite the bullet and pass a copy, which might be a little wasteful but whatever (copying 64 bytes is not the end of the world, and the code might actually be inlined). And here, C++'s const-references can be an improvement to the situation.
Would you refuse a hackathon prize where companies hijacked it?
Dear fellow HN citizens,

A friend of mine and me were taking part in a Hackathon that was lasting 48 hours. The theme was "open source" and we had to implement all products from scratch, as instructed by the organizers.

Later, we found out that multiple companies have hijacked this Hackathon and were selling their established products and even legal company entities as an idea that was supposedly created during that time frame. They even had company websites where the exact same product was marketed years before the Hackathon.

None of those "commercial" participants interacted with anyone on the Hackathon, and were just there with single members to pitch their established products and businesses.

We won the 3rd place, but said companies got the 1st and 2nd place. So, our question is now an ethical one:

Would you accept the prize money?

If yes, do you have suggestions what kind of Open Source project to sponsor with it? (We don't want to keep the money)

From our perspective we feel like an obligatory winner, and we think that this was very unfair to all other (non-commercial) participants of the Hackathon that were putting much work and faith into the spirit of the competition.
I’m not sure I understand your comment. Granted, I’m not a linguist but there is certainly something unique about the Chinese script.

I don’t know a single word of Chinese, but I followed a link in a sibling post and came across this: 女書 - which my meager knowledge of Japanese allowed me to understand that it means “women’s writing”.

What is the proper name for the ability to read text without knowing how to pronounce it?
Ask HN: For normal sleepers, what is your sleep experience?
Three years ago I started waking up in the middle of the night and struggled to go back to sleep. Thus began my journey to improve my sleep. Unfortunately it was a downward spiral for the first year and a half. It was around that time I went through cognitive behavioral therapy. I believe it has helped me the most. But whenever I suffer a poor night of sleep it is still difficult to fend off the negative thoughts. Because of my sleep troubles I believe I've lost touch with what normal sleep is. That I continue to have unreasonable expectations of sleep.

Therefore I thought it beneficial for me, and others, to hear what sleep is like from those who do not consider themselves to have sleep issues. How many hours a night do you sleep? How often do you wake up? How consistent is your sleep? How often do you have a poor night of sleep? What do you consider a poor night of sleep? How has sleep changed as you have aged? How has it changed during seasons in your life?
Anecdotally, Pittsburgh felt hillier in general than San Francisco, although San Francisco does have some greater changes in elevation
What power does the EU have to collect fines if Poland refuses to pay? Genuine question.
I found the linked article on interstitial journaling quite interesting. I may try adopting the practice.

https://nesslabs.com/interstitial-journaling
Yep, he was smooth enough that he got her weapon totally wrong ("Um, the young lady with the... Uzi?" ... nope, she's holding an MP5) and STILL got her phone number!
It's a lot of badmouthing for the country you willingly immigrated to. There's like 220 other countries to choose

Some, like (I guess) your native Portugal are great at compliance with the EU and allegiance to the socialist principles.
Acquitted only applies to criminal charges. Since this was a civil and not criminal matter, you’d just say that Shivji won (or Commodore lost) the lawsuit.
It's a Titanic problem - too many people, not enough boats. Except here, it's too many projects, not enough funding.

Sure, this sucks right now but who's to say that we wouldn't be on board with the tradeoff if we knew what otherwise wouldn't have received funding?
shitty environmental laws? we should all suck in toxic fumes in california because everyone wants to come here? we are in the middle of a drought.

a couple buys a home in 6000 sq ft and takes on a 30 year mortgage. they expect to have two or three kids. property taxes go towards 24-36 years of public education, infrastructure and law and order/utilties management. and they expect to retire in a fully paid off home in their old age when they dont have any income.

maybe those who cant afford to move into a place, should work with the state to build infrastructure and well networked public transport instead. how many sardines can you keep stuffing into the same little tin can?
This here is a simple echo server that uses tr to uppercase:

exec {checkfd}>/dev/null
CHECKFDPATH="/proc/$$/fd/${checkfd}"
(while [ -e "$CHECKFDPATH" ]; do sleep 1; done) > >(true) &
STDINPID="$!"
WRITER="/proc/$STDINPID/fd/1"

while IFS= read -r LINE; do
# only echo lines if we didn't close the connection yet
if [ -e "$CHECKFDPATH" ]; then
echo "$LINE" | tr '[:lower:]' '[:upper:]' > "$WRITER"
if [ "$LINE" = "bye" ]; then
exec {checkfd}<&-
fi
else
echo "received while closed: $LINE"
fi
done < <(nc -q 1 -l 8080 < "$WRITER")
if [ -e "$CHECKFDPATH" ]; then
# close checkfd to close writer pipe
exec {checkfd}<&-
fi
Fiber Builds Reverse Frontier Communication's Broadband Decline
Perhaps someone could help out solve my 20 year old mystery? When I was a kid, I had briefly access to a computer. My memory might be mistaken on the details, but I just can't find on Google what kind of computer it was. It had 5 inch floppies, I am pretty sure that games on it only used four colors (cyan, magenta, white, black). I think it had joystick similar to Atari's. It had Bubble Bobble game.

Edit: Photos of Commodore computers look really close to what I remember, but not exactly. Also, Latvia (where I live) just recently had regained independece from USSR and it was a time when the market was flooded with clones for everything. E.g. instead of NES kids had famiclones like Zhiliton, UFO or in my case, I think it was Dendy.

Edit: Floppy reader was in-built, not external, as far as I remember.

Edit: Sorry, more like 30-year mystery. Somewhere around beginning of 90s.

Edit: I think it also had game Alley Cat.

Edit: Thank you everyone for chiming in! This inspired me and gave extra keywords for further investigation and narrowing down the exact model / make. Gonna continue searching on Sunday.
> yet advertise that feature

An therein lies the difference. They advertise the feature, which is something they never did for AVX-512 on Alder Lake desktop. If they advertise a feature, they cannot disable it without getting into legal trouble.

If you get K-SKU, you get an unlocked multiplier. That's guaranteed by Intel and that's were their support begins and ends.

They cannot do the same for AVX-512, though, because that's not possible in their heterogeneous architecture. There's currently no desktop OS that supports different CPU cores (as in capabilities) on the same socket (or even board).

Such feature would require kernel drivers, thread schedulers, and possibly compiler toolchains to be modified for at least Linux and Windows and that's the kind of support Intel would need to provide. They did provide a thread scheduler, but to my knowledge that didn't include any AVX-512 related logic.
> Fail to make your payments and see the true owners of your house take it away from you.

The notion that the collateral for a loan could be repossessed because of non-payment is not convincing.

I still own the house. I can make decisions regarding modifications to it without seeking permission from the bank that loaned the money to me, even if such modifications would lower the value.

> Credit and lending are literally responsible for global economic collapse. It destroys the lives of so many it's not even funny.

No, bad credit and lending are responsible. Sub-prime mortgages, ARMs, and "balloon" mortgages.

In your fantasy world where credit no longer exists, home ownership would drop considerably. Very few people would be able to save the money to buy a home because they would have to pay rent while saving up the money. When I bought my house in 2015, I was paying about $1,000/month for rent. The house I bought is costing me $1,500/month for 30 years ($320K @ 3.85%).

Obviously, that $1,500/month includes interest. A lot of it. So let's assume instead I'm saving money and living in that apartment still. Assume that I'm risk-averse and don't invest my money. At $1,500/month, it would take me 18 years of saving to buy that house

Oh, but home prices are almost always going up. The $338K house (I put $18K down, and most of that was a gift from my in-laws) I'm in is currently worth $550K. It would take 30 years of saving to buy this house at that price.

And the worst part is, the entire time, I'm still paying rent somewhere. And that rent is always going up as well! I would need to have a very considerable amount of disposable income in order to save up to buy a house! In 2015, I could afford a $1,500 mortgage. I could NOT afford to pay $1,000/month in rent AND set aside $1,500/month for a house in the future!

So...you'd significantly reduce how many people could buy a house. You'd think "Well, the lower demand would lower prices!", but that's probably wrong. What would happen is that real estate investors would buy up the houses. The big banks already have the cash on hand. They buy them up, rent them out, and further lock people out of homeownership.

Wealth inequality grows, and the economy suffers. The rich get richer as they extract money via rent, building more wealth to buy more houses to rent out.

Your parents were able to buy a house while home prices relative to wages were better. Good on them. But to eliminate the idea of credit now would be a real "I got mine" move.
The same thing happened in Japanese but both countries refrained from taking the next logical step and throw away the ideograms. Much of it has to do with the educated elite wanting to restrict access to knowledge, but it's still curious that the same thing didn't happen in other cultures.
Speaking of bureaucratic bloat... the FDA has 4,659 people working in "regulatory affairs" and 956 working in "family smoking prevention."

That is in addition to the other 11,000 civilian employees and 1,100 military employees.

Apparently the FDA spends 8.5 million hours per year on "regulatory affairs." Boy I'd like to see that hourly breakdown.
Weird, 938 karma and their comment history looks legit before this one. Account compromised, maybe?

Ed: more likely just meant for a different article where it was on-topic.
I live in a very cold part of the US but for a couple years traveled frequently to the south of Israel for work. I think a lot of people don’t consider dressing or designing spaces for high heats because most people live in temperate climates. It wasn’t unusual to have 113+ days there in the summer and no one but me (the American) seemed phased by it.
>I think there is still debate if Chinese writing rose de novo or was influenced by writing from Sumer.

Hardly. There's no discernable relationship in that respect between China and the Near East. As far as anybody's aware, China's writing is indigeneous.

If you want a real isolated and independent civilisation core, look at central America.
I don't believe he's arguing for the release of personal medical information, he's arguing for the automatic release of the documents redacted of personal medical information. In other words, the FDA should have been prepared for this all along.

Additionally, if Pfizer were to have been told to be prepared to redact PII, I'm sure authors could have easily marked PII during authoring for quick identification and removal. Someone had to write this stuff, it didn't just appear in the ether.
It's not related to being dynamic or not, it's a syntactical choice: that's also the way to concatenate string literals in C.
Deflation and inflation are bad because they make people speculate on the currency in either way. Inflation discourages paying off debt. Deflation encourages hoarding. Both of them are harmful because they create a self reinforcing feedback loop.

A negative interest rate forces money to circulate and it encourages you to pay off debts. Thereby it eliminates both inflation and deflation.
(disclaimer: my experience with FOIA is mostly at the state level and though I've read, used, and litigated federal FOIA issues, I'm no expert there)

Transparency doesn't work in isolation. If there's a problem where the release of 450,000 pages of patient information is so difficult that it can't be done, then there's a fundamental process fuckup that should be corrected. For example, if everything's on paper, then the process failure is in a lack of transcription. If it's because private information is typed in a form, that form should be broken up in a way so that the important private information is typed into another field. Generally there are ways to make sure these issues don't happen -- from the beginning. Keep in mind, these people are aware of the existence of FOIA and the possibility that these records would be subject to FOIA. These processes should be built with that in-mind, especially considering the importance of the information.

It's such a big deal that in states like Illinois, the law disallows the use of the unduly burdensome exemption if the gov agency doesn't respond within the time limits of the statute. Takes 10k hours? Big deal, shoulda responded in time.

A lot of these issues stem from the fact that in so many cases, the agency's estimates are either beyond any possible worst case scenario (ie, unrealistic), or an intentionally naive estimate in order to urge the requester to go away. If we take these public agencies at face value that something would take forever without litigation, then they can easily just make it a routine process to call something unduly burdensome, so it's important to call them out on their shit. See: https://mchap.io/that-time-the-city-of-seattle-accidentally-...
Except exit.

I knew Python wasn't for me in my first foray into it when I fired its REPL and then went to exit it with control-C or whatever and it literally printed out the right way to do it but then didn't do it. Python was more interested in having me do things a certain way even when it knew what I intended to do, just to be a twit.
I bought Loopy HD several years ago after seeing Jimmy Fallon and Billy Joel use it for "The Lion Sleeps Tonight." YouTube has some slide shows with audio, but I can't find a video that shows Jimmy using the app.

I can't say that I've used the app to as good effect.
You're roughly talking about the trusts popularized as Amdahl's Law [0]. Which, to summarize the nuances in this context, says "It depends on the nature of the task."

[0] https://en.m.wikipedia.org/wiki/Amdahl's_law
Not abortion laws, we’re being fined for the unlawful constitutionally judiciary reforms which were done in 2015 when they took power. PiS (Law and Justice) leader has been obsessed with this idea for decades. By basically jamming the constitutional tribunal Jaroslaw Kaczyński has grabbed the entire judiciary system by the balls, which in many complex ways cements PiS power into place. My understanding has been that also the EU has considered withdrawing EU funding to apply pressure, but they can’t really because they’re worried that PiS would then hypnotize Poles into asking for PolExit. You couldn’t make this shit up. The abortion is a whole other subject here you don’t even wanna know ¯\_(ಠ_ಠ)_/¯
Most people make far less than 150k in California, though you wouldn't know it if you're steeped in tech circles, or over-focused on SF.
150k was above 85%ile of returns in CA in 2018. (90%ile 179k, 75%ile 97k, 50%ile 47k) And this is in returns, so each MFJ/household can statistically replace two lower earners with one higher-earning return.
Hiding information and general untrustworthiness harms credibility, which is a chicken that's going to come home to roost the next time there's a public health crisis.

The CDC blew a lot of its credibility with the (arguably noble) early lie about masks not working.

Pharma companies probably don't have that much to lose.

Now it's the FDA's turn.

"We must hide legally-required-to-be-available information because some people may misuse it" is a path with unlimited abuse potential, best avoided.
Bitcoin consumes far less energy than gold or banking at full adoption, Overall this is an environmental improvement.
Maps are somewhat inaccurate. I tried my home town, and it routes through "unnamed river - 31km", before finding a river with the name (for the next 300km) - I know for the fact that this is one and the same river :)

I wonder where apps like that source their map data.
They referenced the movie on Stranger Things as well with a line similar to the one River Phoenix's character says: "It's fascinating what 50 bucks will get you at the county recorder's office"
If you like that one, you may enjoy this one too (which has much more of a mystery to it imho)
https://gimletmedia.com/shows/reply-all/o2h8bx
So when is Scott from HQ Trivia gonna start emceeing this?
> You wanna kill google? This is how!

We don't want to kill Google :) Google serves a purpose in the world and it did help enable the modern society to exist, with all its marvels and flaws. Heck, it even enables Kagi to exist!

Think of Kagi as a small premium brand, providing a very different search experience.

Enterprise search is something that we are remotely thinking about, but frankly we want to focus on providing the best possible consumer experience first, so that individuals and families around the world can enjoy a user-centric, ad-free search experience.
I think I'd disagree. That's 1% for one tangential aspect of operations. With nearly 3MM federal employees, that's 30k just for FOIA requests.

That's a single pet issue. For everyone who thinks transparency is important enough to have 1% of total employees allocated to it, there's going to be many more pet issues people would feel the same way about. I would prefer they look at improving their processes for complying in a more efficient manner rather than just layering more employees (and legacy costs that come with them) onto the solution.
Or maybe, if you think the FDA did something wrong, you should have enough of an idea of what it did wrong that you could confirm it by asking for something less than literally everything Pfizer ever submitted to the FDA? If you're asking for that much information, that suggests that you're undertaking a fishing expedition rather than actually substantively accusing the FDA of something wrong.
You mean the ecosystem that's a fraction of crime supported by the traditional finance system?
This story seems fascinating - not hugely consequential on a grand scale, perhaps, but just a really weird and curious incident.

Why would someone try so hard to obtain unpublished manuscripts and texts, with no intent to resell them on public/near-public markets?

"What he's been stealing ... is basically a huge amount of information that any publisher anywhere would be able to use to their advantage"

...er, ok, I guess? What would a competing publisher do with the knowledge of upcoming work by a well-known author with (presumably) existing publishing deals?

(other than, potentially, demonstrate to other people that they already know these things, and act like they know the future?)
I personally live in this kind of density and really enjoy it. I have great relationships with my neighbors. I think you'd find that many people use their backyards much less than they would initially plan to, and many would happily trade it for income if they had an opportunity like this.
Is there a search engine that focuses only on those awesome lists?
> The pandemic, as in the actual killing

... That's not the definition of pandemic. A pandemic is a very widespread infectious disease. Theoretically, the disease doesn't even have to be deadly.

It's true that the vaccines have substantially reduced risk for the vaccinated, but I don't think we can (yet) say the pandemic is over.
It completely redifines it's meaning, as it implies a surrender order to comply to?

I mean, it's not that we can safely throw away defining statements and retain the meaning of the message, especially given that we discuss a small quote of a translated text.
This is an article on the subject I really enjoyed recently: https://blog.sequin.io/events-not-webhooks
Sorry, no. These gov agencies don't tell us what information they have (often intentionally!) and so we can't always be explicit about what information we want. If they told us exactly the extent of information they have, then we wouldn't need to play these silly little games of requesting more than what necessarily exists.. but what choice do we have?
This is just adding more cancer, not solving a problem. Great for the people who get to cash in, bad for society as a whole

Leave California. Stop privileging it. The world is large.
Anyone taking the FDA's side is against transparency. In 75 years no one will care about this data except like a single historian working on their PhD in a bizarre medical history field.
Oof sounds like such a weird thing to happen in Poland of all places... I mean you guys saw first hand what xenophobia and fascism do in WW2. Poland should be the bastion of western liberalism, not whatever it is becoming now...
and "The Fast and the Furious" had Craig Lieberman but they still overrode him and put in dialogue / plot-points that he TOLD them were bull, but sounded good coming out of the actors' mouths.

Movies are well-known for sacrificing technically accuracy for story/plot/stupid reasons.
I didn't understand anyone to be saying that Python is the only language to have this flaw.

Also, I personally don't mind this approach to string concatenation. I think it's a fine compromise between easy formatting and clarity. I was whining about a corner case of tuple construction - which as far as I know is not a feature of any other language.
> for braking strings into multiple lines conveniently

What is inconvenient about just adding a + at the end or beginning of the line?
Gold & banking contribute more
That's not really correct. What's correct through is that the bottom 80% don't receive enough interest to break even on interest expenses. I.e. they pay more interest than they receive back. This is the primary driver of inequality.

And this is true for everything. For housing, for stocks, for lent out money.
Just because the queue to get into the theater is getting shorter doesn't mean the ticket prices for the limited number of seats will start decreasing.
It's nice to have the power of vim on top of an already powerful editor with nice defaults baked in and an easy ecosystem of extensions that all play well with the gui underpinnings of your os. I use neovim as a server and vscode as the editor. basically anything in normal mode is passed through unadulterated and you have a full neovim backend.

it's pretty close to great. some edge cases that kinda annoy you here and there but overall it's great.
Anybody have a way to use edit and continue in visual studio using Python?
Or any other debugging tips - this is slowing me down considerably.
Are you talking about something like this?

https://www.prettyfwd.com