skysight-inc/HackerNews huggingface dataset:
I did this on Friday and I did receive the verification code email within about a minute. The archive itself took about 12 hours.
Except that institutional investors can be counter-cyclical.

They know that the capital will be there and that housing prices will go back up. So they can buy houses when the economy is bad and Millennials can't.

We should bad institutional investors from owning homes.
MSWord doesn't have formatting codes, at least not for simple text styles. Instead, each individual character has formatting attributes. So the word italics is not a single italicized region, it's 7 separately italicized characters, that just happen to be next to one another. It's a radically different model from HTML/markdown/WordPerfect markup.

Microsoft Word may never have problems inserting any formatting, but I have; when it comes to paragraph structure, indenting and such, I find it very hard to predict. For example, I'll look at sections of a document with basically the same structure, but in one place the spacing between a table and the paragraph that follows is much larger, and I have no idea why or how to make them the same.
This is brilliant, thank you for sharing your idea as well as the blog. I can’t wait to read these stories to my kid when he grows up
Magnesium helps me sleep soundly trough the whole night. Forgot to take it yesterday and today woke up in early morning and couldn't fall back to sleep.
Or

x / 2 + y / 2 + (x & y & 1)

Edit: This is the same you wrote, but it gets the wrong number for negative values, for negative ints the rounding will go up and not down.
This is demonstrably wrong: Finland appeased Stalin in the Winter War, gave up small territories and preserved the rest of its territorial integrity until today.
A good balance is a tree with about a cache line's worth of values at each node. It degrades to a vector for small N, gets the pre-fetching / branch prediction benefit for medium N, but doesn't require fully contiguous memory for large N. It also tends to do fairly well on common mutation patterns (insertions and deletions) by avoiding large copies.

If you want lock-free atomic data structures there are lots of variations (like AVL trees) that can be used as the underlying storage and just like mentioned above it tends to work well for most use cases and access patterns.

If N is fairly small and/or you allocate most of your linked list around the same time it may not matter which is why measuring your actual program with real-world data and access patterns is so important. eg if in production logging or other malloc traffic ends up making your linked list nodes spread out in memory perf is not going to match what you tested at your desk.

Often an algorithm can operate on an entire cache line's worth of data before main memory can chase down a single pointer. Modern CPUs hide that with prediction but even if the address prediction is 100% accurate if the result is a pointer loading chain you run out of pre-fetch slots pretty fast.

To give concrete numbers if DRAM is not busy refreshing and there is no bus contention or inter-core contention then we might get 60-100ns access times all told. If we have a 3Ghz CPU then that's 300 cycles waiting around doing nothing... for each pointer that needs to be dereferenced. For a vector after the first 300 cycle hit the rest would be free - following nodes are in the cache line and address prediction will pre-fetch subsequent cache lines as well, allowing pre-fetching to stream data ahead of when it is needed.
They do discuss it though at the end of the article

https://en.wikipedia.org/wiki/Binary_search_algorithm#Implem...

And as other mentionned, this is pseudo code and not implementation. But if you think it's incorrect, feel free to correct it.
If instead of 'int' you were to use 'size_t' (or the equivalent of that provided by your programming language of choice), then there should be no issues in practice. Then you would only see overflows if your elements were 1 byte in size, and the input spans more than half of the virtual address space. This is unlikely for two reasons:

1. If you only have single byte elements, you'd better use counting sort.

2. There always tend to be parts of the virtual address space that are reserved. On x86-64, most userspace processes can only access 2^47 bytes of space.
I personally/locally would want standard time permanent. I’d write my representatives for that but not DST.
Daylight Savings Time exists for valid reasons.

The fact that many people don't know or understand and are intent on rediscovering these reasons does not invalidate them.

My prediction --- if they eliminate it, it will be back within a decade.
If you wrote a book by clipping small bits of others' work and assembling it into something cohesive that would most definitely be fair use.
I work as a volunteer for blind people and own a 3D printer. This opens a world to me and to the blind. To me, because I vastly underestimated the possibilities of a 3D printer. To the blind people I volunteer for, because they have a map of our city for the first time in their life.

There is so little available for blind people, yes they have books and podcasts and an iPhone, which is endlessly better than 20 years ago. But they have no idea of the shape of a Falcon rocket, or a cow, or the parks around our city.

More than half of my free time goes to creating 3D printed stuff for them.
Strong military means people don’t get funny ideas like invading.
Weakness means your leaning a new anthem.
Crows are companions-to-hunters (wolves and humans mostly.) They interpret your behavior through that "lens".

If you set out food and then watch them that means (in crow) that you are a hunter, and a lousy one, and you're trying to hunt them.

Toss out some food and "forget" it and they'll think you're such a successful hunter that you don't even need to every scrap. Someone worth knowing.

In the old days, crows would go on the hunt with us and fly over hidden game in the bush dipping a wing in a certain way to let you know where it is, then you share the meat with them. They still remember even if most of us have forgotten. ;)
> We can detect neutrinos with advanced instruments...

"We can detect things we were not evolved to detect" is a non-sequitur, a true statement that does not refute the original speculation. Because we can detect some things we were not evolved to perceive, does not mean we can therefore perceive aliens.

It's a difficult concept to communicate. Empirically it's literally meaningless. Even the concept of meaningful vitiates discussion of this idea.

Everything we are is perception, pattern recognition, threat assessment, problem solving. That there might be something important in our environment that we are simply not built to respond to is far easier to reject outright than to consider. This is why it's my favorite resolution to the Fermi Paradox, because it is so challenging to consider.

Our cognition has evolved only slowly compared to our rapid technological advancement. Perception is not simply detection, but also cognition. Though we detect such previous unknowns as neutrinos and invisible electromagnetism and peculiarities of quantum physics, we think about them differently than that with which we are familiar only with expensive and difficult training, and even then it's arguable that we are modeling reality itself or modeling only our limited perception of reality.

In short, while we are impressed with our abilities to understand our reality, we are still constrained by our evolved cognition to think effectively only about living by hunting and gathering in Earth-like conditions.
There is research papers he talk about in his video.

I didn’t look the papers myself (use his summary)

Update: https://www.melatonin-research.net/index.php/MR/article/view...
I’m pointing out the editorializing implicit in the framing. Apparently groundwater is used for crops all throughout Mexico and the southwest. I definitely wish it weren’t the case and instead a national water grid like how we have national power.
> There are limitless free resources available on the web such that pretty much anyone who wants to be a software developer, COULD be a software developer.

Mostly correct, with one objection: time is also a necessary resource to become a software developer. Some people who may have the talent do not get the opportunity to learn simply by having to keep a full-time job (or two) since they were 18 (and getting a shitty education before that). Most of us have enough free time to learn things (otherwise we would not have enough time to discuss on HN), but it is not universally true.

That said, although giving everyone a realistic opportunity to become a software developer would be fair to the unlucky individuals, I do not assume that it would change the balance in general.
In the context of what that person was saying, they certainly just mean "cancelling" and misused "verbing" to make their communication more difficult and less succinct, defeating the entire purpose, yes. When you use "verbing" the actual verb is assumed, not explicit, so it's not specifically "engaging in cancel culture" so much as it is "the existence of cancel culture in the context of someone doing something".
Thank you so much, this was really helpful! I appreciate it.
My routine has been:
* Vitamin D
* Philips Wake Up Lamp for the mornings
* Home-assistant controlling Trådfri lights with Flux so that the color temp changes throughout the day. Ie daylight style light in the mid day and then getting more orange in the evening
* Old but still functional Philips Day Light therapy lamp next to me when working so that I get the 30-120 minutes of that as well during the work hours
* Oh and getting out and do some walking/biking/whatever. It's still super important even though you don't get to see the sun
An article talking a bit more about the game development side of this:

https://www.eurogamer.net/never-been-so-much-fun-the-making-...

I have a mild interest in anti-war/pacifist pop culture, things like the comic strip Charley's War, which considering it was published in "Battle Picture Weekly" you might expect corny, racist jingoistic nonsense rather than well researched horrors of war.

https://en.wikipedia.org/wiki/Charley%27s_War
Sometimes I drift from typical wake patterns. Unfortunately, my sleep only seems to move clockwise, otherwise I get headaches and malaise if I try to adjust back. As an extreme but oddly satisfying antidote, I sometimes take a home-based "circadian journey" along the lines of xkcd's comic about Taipei and Honolulu timezone-based housemates, scheduling or dodging meetings accordingly, advancing 1.25 hrs each day or so for a while.

The "journey" allows me to arrange to wake at dawn for a while when daylight is scarce.

I made a little tool. Tell it your last wake time. CJ generates a fresh iCal calendar journey with a sampling of xkcd-esque national time zone flags along the way. You re-add the .ical as a new calendar and erase the calendar or events until it starts to match your real sleep. https://observablehq.com/@thadk/circadian
Learn to do everything the Mom can do, and fill in as much as possible.

Father estrangement starts the moment you stop parenting because "Mom knows better".
Thanks, I feel I should have done this before...
I'm no window expert but I can feel infrared heat through my windows and I have pretty standard windows so I doubt most windows block infrared light.
From the article, regarding valuable waste byproducts:

...the molten salt nuclear reactor design not only has the potential to eliminate dangerous nuclear waste but turn its byproducts into valuable commodities that can be harvested from the salt and sold.

Molybdenum-99, for example, is an extremely expensive element — $30 million per gram — that can only be bought from the Netherlands and is used in approximately 20 million medical imaging procedures and scans each year. It can be extracted with Memmott's design.

"We can now go to that salt and apply specific electrochemistry to pull out pieces one at a time, or groups at a time. So this nuclear waste — which is really just a mix of uranium and all these different components — we can now pull those out and separate and sell them," Memmott said. "Not only do we have a reactor that's really resistant to accidents, but now we can actually separate out those components and sell them and make a profit from the other pieces and then we're left, potentially, with no nuclear waste."
And the practical application of data like these: https://prehrada.hrach.eu/en.html
Sure, if adding symbols to text is enough, why do more?

It's bending perhaps history of mankind in my book a little too much, saying the author of Markdown has discovered that and not lets say, someone else the "one or other" millennia earlier.

And writing on the computer is commonly the least ergonomic form of writing at all.
i also don't appreciate working til midnight for 3 weeks straight.
The moon is more interesting than either. Focus on asteroid belts. Big gravity wells suck.
Take a set of objects, how many different ways is there to order it? Which order takes the least energy ( a state of disorder). Which order maximizes happiness?

There are a lot of people that are 'organized' yet are unhappy or tired out because of the energy expenditure used to maintain that state of organization is not sustainable. Being able to adapt by removing high energy/low reward expenditures from your routine when needed it a method to avoid burnout.
Population is not that different and the motivation and defensive advantage the Ukrainians have, should even it out at least a bit.

But... When you look at GDP it is $1,578B[0] vs $112B[1] - e.g. more than 12x. And this is with an extremely heavily sanctioned Russia. In terms of industrial manufacturing and technologies, the difference is even more shocking.

That's why this full on fight is bound to bring only suffering, misery and an even greater defeat. Real shame though - I have been to Uzhhorod and Lvov and those are great places with great people. Their leaders though...

0. https://www.worldometers.info/gdp/ukraine-gdp/

1. https://www.worldometers.info/gdp/russia-gdp/
"Nesting things should be tablestakes in a markup language."

This is my beef with Markdown. Automatically numbered lists always break for me--every time. And Markdown doesn't support decimal numbered lists (1, 2, 2.1, 2.2).

I can ignore spacing, because every markdown has bad spacing (space before and after a formatted block or header or list), but I loath the inflexibility of numbered lists.

That said, for my projects I use Markdown, because its so simple--necessary and (mostly) sufficient.
Around where I live (southern New York), the crows seem to gather in groups of twenty or so as sunset approaches, and appear to be socializing (and making quite a lot of noise in the process.) There does not seem to be any fixed location where this happens, and it seems different from when they are mobbing a raptor, where the target of their ire can quickly be seen from the way the crows are directing their attention towards it.

I can't say whether it occurs only at certain times of the year, and I have not paid any attention to where the birds go afterwards.
AWS is an absolute nightmare of complexity. Try out GCP. With minimal experience, you'll find you can actually accomplish things in the cloud console without consulting a single piece of outside documentation! It's wild.

I like this article which echos some of my experience. https://nandovillalba.medium.com/why-i-think-gcp-is-better-t...
The NSA doesn't pay that much compared to the opportunity cost of the wage lost getting that PhD. Their salaries are capped by government standards, they can't pay above that.
It's pretty weird that "what a child needs to live" is determined as a function of the parent's income. As if kids of rich people needed more money can kids of poor people to survive.
I leave task manager open while the computer is "idle" to see spikes in the Wi-Fi network throughput graph so I can rest assured that at least my lone machine activity is being automatically "seen" by the telemetry-harvesting crawler code lovingly hand-crafted&looped by fellow citizens across the globe who are polite and ambitious when they deliver a quarterly measurement of each other's usage metrics.
Which popular books in your field have created unhealthy practices?
Example: In programming, many people believe that too much hype about OOP has created over engineered code bases and unnecessary complexity in otherwise simple code bases. Books like Code Complete teach outdated practices, some say.

In your field which books do you think became popular for all the wrong reasons and set your field back in terms of preaching wrong practices?
Here is the approach taken in Go's sort.Search()

Do the sum using signed int.

Then cast to unsigned int before the division (i.e., use a non-arithmetic shift low).

Then cast back to signed int.

func Search(n int, f func(int) bool) int {
// Define f(-1) == false and f(n) == true.
// Invariant: f(i-1) == false, f(j) == true.
i, j := 0, n
for i < j {
h := int(uint(i+j) >> 1) // avoid overflow when computing h
// i ≤ h < j
if !f(h) {
i = h + 1 // preserves f(i-1) == false
} else {
j = h // preserves f(j) == true
}
}
// i == j, f(i-1) == false, and f(j) (= f(i)) == true => answer is i.
return i
}

If you care about stuff like this you may enjoy the puzzle "Upside-Down Arithmetic Shift":

https://bugfix-66.com/76b563beb6f4e61801fce4e835be862fb3dbbe...
Well, separating placebo effects from real physiological effects and tracing the latter to the source isn't something I've put much thought into. This feels like it works, and that's good enough for me. But there might be something to what you're pointing at, yes.

The seasonal depression itself feels pretty distinct. I've been "normal" depressed before, and this is more like a "turned down the dimmer switch on the consciousness" combined with the regular suspects like lower initiative, less joy from fun things, muted feelings and so on. And my subjective experience is it responds well to light and general self-care, to a greater degree than the "standard" variety does. But who knows!
Are .. are you saying it’s a bad thing children can’t handle dangerous chemicals anymore? Wut?!
> We are not talking about Linux here, where if you’re lucky, things work.

What percentage of the Internet is even possible due to this, if you're to be believed, barely working and then only by luck, OS?

I get the Apple cultiness, but we don't need it here.
Tell HN: Sleeping in the Office
Pre Covid, my boss disallowed remote work because someone used to sleep in the office

Some person had no home, and worked well, but slept at night in our office.

But my boss didn’t like it. Who would?

Life doesn’t make sense. So, he told his college kids to not work from home. It’s a play on words. Work is not home. Home is not work.

I had thought about it for so long.

Edit:
Or is work home?

Confusion, how simple a phenomenon, is complicated.
From the bank's point of view, it's good enough security.

My wife and I had money stolen from our Wells Fargo checking account and I had a bunch of questions for them. Somebody from higher up eventually called me and when I got to the point about asking why the password was limited to 12 characters (they should be storing a hash and not the password) she told me to stop worrying about it because I'm not responsible for fraud.

> Amazon does not offer a way to remove SMS from your account once it’s added

Even if you no longer have that phone?
Yeah, you are right. A bit conspiratorial.

I think it’s a big discovery an should get much more visibility.

Autoimmune diseases and depression are in constant progression in our modern world.

The light therapy probably took a lot of time to get from scientifically know to widely know.
Seeing the demo has peaked my interest to try it again. The learning curve I found too extreme last time. Mainly due to not being able to quickly understand what a text symbol was. The colours and graphics will certainly help me.

More than anything I've really enjoyed really people's stories from the game.
It's not just finding replacements in the future. It's about stocking a reasonable workshop with tools and spare parts today given the diversity of bikes.

I have 2 bikes, my wife and son each have one. Four bikes total and each one uses a different bottom bracket standard, rim and tire size, headset, seatpost diameter, hub diameter or attachment (QR vs thru), and different suspension systems. I need custom tools/parts for all of them. Heaven forbid our friends and neighbors come over asking for some bike maintenance help - because their bike has uses a fifth standard for all of the above.
I wonder if there could be a stand in beverage for crap like this. With the right color and frothy bubbles. Idk sparkling apple juice?
Basically all introductory calculus textbooks. Seems to be a “weeder course”.
Totally agree on bullshit detector event alarm.
> There are more than 400 comment here, so my post will be probably buried instantly

For you and other late repliers: there really are people (like me) scanning the answers. I was also late-ish, and still people read it. It's really nice to see the variety of interests people have, even though –understandably– much of it is on the geeky/nerdy side. We do flock together, after all.

> Thanks for letting me share this, I hope all of you have a nice day!

You too!
I agree it would be neat to give emails to EU citizens and a "fediverse" account would be a cool addition to that, but that's a completely different situation to the launch discussed here. A government-only ActivityPub server is part of essential G2C communication, not just another nice-to-have service the EU provides.
Could you not just use smaller fonts and a better window manager to accomplish the same thing under 4K?
Ask HN: Superstitious Hackers, do you feel good things come as accidents?
Who? Kadyrov? He's the attack dog just for show.

Whenever I dug in more deeply, Russia has warned about using nuclear weapons to preserve its own territorial integrity.

One could argue that declaring Donbass Russian is a semantic trick to "justify" using nuclear weapons in Ukraine. But where is the threat against EU countries?

The Russian ambassador to London has just declared that they won't use nuclear weapons in Ukraine (Sky News). Is he lying? Possibly, but that contradicts open threats.
.europa.eu is the closest equivalent to .gov

It's the base url used by all EU institutions
Last time I checked (~6 months ago), when you're logging in and it asks to verify a mobile 2FA code, the mobile number it's sent to is actually returned to the browser in the response...
Not sure where HN stands on the source, but the ideas might be worth HN discussing. Maybe?
> created: 6 minutes ago

Meh, guess HN needs additional rules against throwaway spam.

Finland gave Stalin a bloody nose in the Winter War, and then negotiated a peace treaty. That's not what appeasement is, that's warfare, that's why it's called the Winter War, not the Winter Appeasement.

Appeasement is the idea that you let the criminals take over your neighbors house and hope they won't want to take over your house next.
Wow, I really do forget how far south the US is! I'm in Rotterdam working 9-5 and I'm already traveling to and from work in the dark. I have to go outside on my breaks to catch any at all.
I was referring to them taking calculated risks; not doing exactly the same thing.
On the margin, people prefer to live in the city than in the far suburbs. You can see this from the large price premium on houses in the city.

There are all sorts of legal impediments to infill development. Some people want one thing. Yes, plenty of people want suburban living. But there are enough exceptions that demand for city living is greater than supply more so than for suburban living.