skysight-inc/HackerNews huggingface dataset:
Definitely — we have a bunch of users doing that kind of stuff in Causal as well. The product is completely general-purpose (a bit like a spreadsheet), but for business reasons, we're trying to keep our messaging and targeting much more specific to the startups/SMB financial planning use-case :)
Show HN: Nebula – A network agnostic DHT crawler
This study mentions what's briefly said in "Fantastic Fungi" 2019 documentary: https://www.netflix.com/fi-en/title/81183477

Apart from this, when I was a teenager, I remember I read in a Belgian scientific magazine called "Athena" that studies confirmed red meat to be the key to our ancestor's brain evolution.
This could help: https://en.wikipedia.org/wiki/Oblique_Strategies
> "Reduced gut sizes could only evolve if our ancestors were able to exploit a more nutrient-dense and easily digestible food source,”

I've been eating more fermented, marinated and pickled stuff lately and while it's nutritious, it's not very calorie-dense - hard to imagine something like this supplying enough energy to power a large brain.
You must have something going on to feel better - be it work or studying, well, at least it'll make it easier. You can combine that with psychotherapy, physical activity or SSRIs if needed, and most importantly, keep a good balance with fun activities. You must get rid of your "learned helplessness", by achieving something from your effort, if you feel like you have it.
Doing sport 2 times a week helps me a lot. I also enjoy spending time with my friends on weekends and with my family during work days. All this helps a bit but still sometimes I feel exactly like you do.
The article suggests that this may have in part been due to the falling sea levels. Europe extended much further to the North to the point that Great Britain was surrounded by land. The gap between Europe and Africa was also close enough to allow for much easier crossings.

Early humans were likely always somewhat migratory animals as there was no way to preserve food for longer periods - grain agriculture was what allowed for permanent settlements and bureaucracy (i.e. long-term planning and resource allocation). They may have tended to the local vegetation because they would likely return in the future but it seems obvious that they'd also be on the lookout for new places while keeping track of known good spots in the past - even elephants travel between distant "watering holes".

In other words: it wasn't the cold that was the problem, it was the availability of resources, i.e. food. If the accessible parts of Europe had sufficient food to make them attractive for foraging and hunting, humans would eventually make the crossing and decide to stay and eventually move further into the continent. Note that we're not talking about events that happened over human lifetimes - the North Sea didn't drain overnight.

Maybe a visual aid helps. Try to find Europe on this map. Hint: look for mountains that look like familiar coastlines: https://en.wikipedia.org/wiki/File:Global_sea_levels_during_...
I'm really not sure what your concern is?

They do this based on sematics with data which doesn't has the data. You can get more information out of pixelated data if you know what the semantics are.

The search space is much much smaller if you only optimize for bloodcells than for everything. If this adds a chance of seeing things which you couldn't do before, it adds value.

It could mean doing a cheap analysis with low res and doing a high res and much more expensive one when you detect something. Like being in a rural area and traveling to the big city after you found something.

Overall the chances are that more people get help not less
I am not sure what Realtime means here.
But if it means something close to what
I used to [1], then REST is a horrible idea.
Javascript is not a good idea either.

[1]
"
Real-time computing (RTC) is the computer science term for hardware and software systems subject to a "real-time constraint", for example from event to system response.[1] Real-time programs must guarantee response within specified time constraints, often referred to as "deadlines".[2]
"
But the level of parallelism possible is downright insane with C++ because of this property... once, out of anger at my build time on something I was working on back in 2016/2017, I set up a AWS Lambda as a compilation server (fully generic: all it had was my toolchain, not the code in question or even the build scripts) for something akin to ccache and successfully managed to build my project with a pipeline (I use that word as I was still doing the preprocessing locally) of at least a hundred simultaneous jobs: good luck ever pulling that off with Rust.

It is also generally very easy to break apart any file or decouple any header files using various techniques that don't affect your project layout or require any mental maintenance once done. In contrast, with Rust, you have to essentially refactor what your project even "means" to pull that off as you now need to be juggling a ton of microcrates (and then it seems like there is some inherent crate overhead so this becomes a painful tradeoff plane you need to optimize; compilation units have to become degenerated small before that matters in C++).

And, even then, the remaining slowest file in my insanely complex C++ project does tend to take a ridiculously long time to build (I have a 30-60 second long compile for one small component) and I have run out of low-hanging fruit; but, I honestly hardly ever actually have to build it: the coupling of header files is massively overstated as when you are in a tight build/update cycle you are generally modifying a single function in a source code file, not changing some header file of basic data types that will affect the code generation of literally the entire rest of the project.

Like, I get it: thinking about code as a merged set of linear forward passes is sometimes annoying, but it doesn't just enable massive gains in compile time... it also encourages more legitimate coupling between components as circular dependencies require extra code and upkeep for prototypes and that's good because circular dependencies are bad. Rust thereby is doing something that frankly feels super awkward: it is elevating behavior that frankly makes more sense only within a single file or at best a single object to a project organizational unit, which suddenly makes this all seem much more complicated to handle correctly.
> A bunch of atoms orbiting around a star ended up in a configuration that can think

And perhaps an unknown quantity of perhaps unidentified other ingredients.

"Of course cars drive themselves. Every day I see them driving on the roads from my top-floor office"
Prompt:

'I'm writing a nodejs javascript application and I need a regex to validate emails in my server. Can you write a regex that will safely and efficiently match emails?'

GPT4 / Gemini Advanced / Claude 3 Sonnet

GPT4: `const emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;`
Full answser: https://justpaste.it/cg4cl

Gemini Advanced: `const emailRegex = /^[a-zA-Z0-9.!#$%&'+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)$/;`
Full answer: https://justpaste.it/589a5

Claude 3: `const emailRegex = /^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})$/;`
Full answer: https://justpaste.it/82r2v
What do you plan to eat in Alaska ?
Clarity on how posts are hidden or marked as dead
It's not clear to me how posts are moderated and where can I find that ruleset. Example, I posted an article on AI which got some visibility and that was ok, yesterday I posted one on strategy and it was dead in a couple of minutes... I understand mods trying to prevent spam but it's hard to engage without understanding the rules.
Wait until you learn where the enzymes come from
You are right indeed. Looked at the specification again and indeed there is no back-reference in POSIX ERE.

Quoting from <https://pubs.opengroup.org/onlinepubs/9699919799.2008edition...>:

> It was suggested that, in addition to interval expressions, back-references ( '\n' ) should also be added to EREs. This was rejected by the standard developers as likely to decrease consensus.

Updated my comment to present a better example that avoids back-references. Thanks!
People are confused about strings and lines. A string is a sequence of characters, a line can be two different things. If you consider the newline a line terminator, then a line is a sequence of non-newline characters - possibly zero - plus a newline. If there is no new-line at the end, then it is not a [complete] line. That is what POSIX uses. If you consider the newline a line separator, then a line is a sequence of non-newline characters - possibly zero. In either case, the content of the line ends before the newline, either because the newline terminates the line or because it separates the line from the next. [1]

The semantics of ^ and $ is based on lines - whether single-line or multi-line mode. For string based semantics - which you could also think of as entire file if you are dealing with files - use \A and \Z or their equivalents.

[1] Both interpretations have their merits. If you transmit text over a serial connection, it is useful to have a newline as line terminator so that you know when you received a complete line. If you put text into text files, it might arguably be easier to look at a newline as a line separator because then you can not have a invalid last line. On the other hand having line terminators in text files allows you to detect incompletely written lines.
It's not wrong actually. It's the difference between BRE and ERE, which are the two different POSIX standards that define regex. In BRE the $ should always match the end of the string (the spec specifically says it should match the string terminator since "newlines aren't special characters"), while the ERE spec says it should match until the end of the line.

The real issue is that no language nowadays "just" implements BRE or ERE since both specs are lacking in features.

Most languages instead implement some variant of Perl's regex instead (often called PCRE regex because of the C library that brought Perl's regex to C), which as far as I can tell isn't standardized, so you get these subtle differences between implementations.
You can be really productive, expressive and performant in Groovy. So much of the language still works well with @CompileStatic and doesn’t require dynamic typing. Writing clear code that has decent refactoring support in IntelliJ.

Don’t forget traits! When are we getting traits in Java? Probably never.

Optional semicolons and parentheses to cut the line noise and enable internal DSLs.

Though Java has improved implicit typing with `var` and now we have reasonable lambdas, Java is still not a high-level language, but maybe it is now medium-high.
That's individual prints .. that may be true and yet still be very very few full sets of the different prints in existence .. like that elusive hunt for the last baseball card to complete a team when only 5 were made despite 100's of every other player being printed.
I'm really uninformed about this topic, but I'll second the request for info about this!

I have Alzheimer's on three sides of my family (really banking on the fact that I take after the 4th grandmother who was sharp as a tack till 98), and while I haven't ever looked into a diagnosis of hypercorticolism, thanks to very early (in utero/neonate) trauma, my parasympathetic nervous system never learned how to clear cortisol like it should, which I'm working to remediate now.

I've been operating under the assumption that Alzheimer's is a high risk in my future, but I'd love to know more about what any experts would say I could even try to do by lifestyle change or preventative treatment!
That means they think the document is doctored and fraudulent.
It was very different from the punch-the-monkey style ads that had taken over the Internet, though. Google ads were exclusively text based and unobtrusive. They relied on showing you the right ad for what you happened to be searching for at the moment, rather than grabbing your attention and forcing you to think about stuff you didn't really care about.
I think the argument is that your fermented cabbage is more nutrient dense (or your body is better able to process the nutrients) than regular cabbage.
Statistical models of hospital fatality rates after accidental falls in children
but we can, you can perfectly fine live on raw meat (pork back fat) nuts etc. And Guts also shrank because they could. It sounds to me like this part mostly came after we learned to cook, then the body didn't need to waste energy on large complex guts. Hugely complicated brains such as Elephants & Whales do just fine on raw food diets.
On the pro side: BackBlaze has always focused on making their tech lean and agile enough to stay profitable while they hit that low pricepoint.

Most users don’t use much in terms of HD space for their backups so they can absorb the extra cost for people who back up large amounts and since they are using their own lean-focused servers with consumer drives their cost per TB is much lower than a company backed by S3.

They are also the company that puts out drive stats every quarter.

And they open-source the hardware for their rack-mount “pods”.

They also added another revenue stream: B2. It’s an S3-compatible storage service with a decent profit margin that still manages to be 1/4 the cost of S3.

TL;DR: They have a solid business model built around providing that low price.
Wow, Glassdoor operates in the EU and somehow they're not on fire yet. Why do you believe this is?
Thanks! I was AFK and didn't have a grep (or a shell) handy on my phone.
Show HN: Humpty Lotto – No Fee Lottery on Polygon
Hey Everyone.

My name is Charlie and I am from Humpty Dumpty Devs!

We are just starting to explore blockchain/solidity development and our first app is this no fee lottery deployed on Polygon.

Its very primitive but I thought I would share to celebrate the small milestones in our journey!

If you are interested in following us you can do so on Twitter :) https://twitter.com/hddevs

Thanks!
Another instance where HN auto-anti-clickbait makes nonsense of the title. (But also another where arguably the right solution is to change the title further, rather than undoing what the auto-anti-clickbait machine did.)

The original title has an exclamation mark after "Bleu". The modified title makes it look as if the first two words are the name of a type of cheese. I think the best thing would be just to remove the first two words (especially as I'm pretty sure the usual form of the minced oath is "Sacrebleu" or "Sacre bleu", without that acute accent).
I really dislike this feature.

It's better to just say "we will come to this concept later", rather than make a fake syntax that does this (taken from the JEP) behind the scenes:

new Object() {
// the implicit class's body
}.main();

It adds more confusion, as you are left explaining that you could not really run an instance method without instantiating the class -- it was just something fake for beginners.
It’s probably a bad idea, but having a child seems to have made things significantly better in some ways. I’m still prone to anxiety, but existential fears have been greatly reduced.

I attribute this mostly to lack of time to think too much, so you can probably find different ways to achieve the same effect.

I think somewhere along the way I’ve also become adult enough to realize that there will be days I accomplish absolutely nothing and that that is fine.

I stop comparing myself to the best people in the world, and start comparing myself to the best people in my immediate environment, and I feel a great deal better about myself.
Ask HN: What's behind all the UK IT failures this month?
This month we've had McDonald's, Sainsbury's and now Greggs forced to shut temporarily because their payment systems have gone down.

Surely these can't be unconnected? Can anyone shed any light on what's happening here behind the scenes?
I know it is a minor things, any change in your hair loss?

I'm asking because because there are studies that links T to DHT to hair loss.
It's fascinating to see how closed minded you are and how it makes you read everything in the way that fit your preconceptions. Feel free to live with your confirmation bias, but then do not wonder why the world seems to be going backward around you ;).
I had my department at the time buy me a P53 against their wishes; they wanted to get me a Dell workstation, since they had a partnership with Dell which included fast repair service etc.

I thought the P53 was the most reliable high end laptop I could get and was supposed to have an amazing keyboard. Instead, the keyboard was average at best and the trackpoint much worse than my older Dell workstation. Then, it was one hardware/firmware problem after another, until a small water spill put the cherry on top: wrecked performance and now it cannot boot if not plugged in.

Once upon a time, Thinkpads had great, water-resistant keyboards and a solid build with reliable ports, but now this has become a fairy tale. The article does not really address any of this. I am never buying a Thinkpad again, although I really don't know what my options are :( I hear Dell is tanking the quality of their high-end workstations too.
With all due respect but

> This is also optional.

If you are making a client for anyone besides yourself at some point people will expect to be able to use one of the many "optional" features. At that point it doesn't matter if you technically don't need to support it as users will then simply see it as a shortcoming of your client.

So if we are talking about anything more than a MVP client these optional specs should be included in the argument as only being optional in theory.
Looks like people just aren't buying it. The self-aggrandisement and the unjustified certainty of the 25 years ago claim. Modesty in line with the achievement will be received much better.
Drugs (methylphenidate, better known as "ritalin" in the US)
They really aren't that far off these days. Certainly no 'nasty toxic smells/paints'. Brick fit/clutching can be a bit sub-par on certain parts, but is generally not far from the real thing.

Lego does a much better job of instruction books than the 'fake Lego' sets I've seen, though. Also, Lego has higher standards for the model designs themselves, whereas some of the 'fake Lego' model designs can be rather more fragile than anything Lego would release, which adds to the impression of poor brick fit/clutching (e.g. the Xingbao Xenomorph)

(Haven't seen any of the Technic clones, though. They're likely to suffer more from loose or poorly-fitting parts)
Nope. Guilty as charged guv. Admittedly one of the drivers that got my naive 15 yo interested in AI in the early 80's was the hope of eliminating the need for 'work' and tbh, especially my own future work (not AI, as that would be my hobby). :)
RStudio: Integrated development environment (IDE) for R
I've expressed similar criticism towards the new Wordpress workflow here on HN in the past. Speaking with several other WP devs, the most rational conclusion we've reached is that Automattic is trying to regain control over the platform from third-party developers, and reconcile where possible the fracture between the commercial and open source variant of the CMS.

They're trying to strengthen their hosted solution, especially their new Wordpress VIP hosting, and multiple changes and optimizations they were hoping for are currently off the table due to legacy baggage which is still widely in use even by the most successful plugins around. Can't really blame them for doing so, but it's very unclear what's going to happen to the current ecosystem.
Multi Layer Perceptrons.
perlre Metacharacters documentation states:
$ Match the end of the string (or before newline at the end of the string; or before any newline if /m is used)

(/m enables multiline mode)
Ask HN: Developers, where should I launch my dev tool to get your feedback?
This is a question for all developers. We are building a SaaS offering of our devops platform. Where can I launch it to potentially get in front of early stage startup developers so that I can get good product feedback?
Nitrites in vegetables, unintuitively, aren’t bad for you whereas the ones in salami are, indirectly.

The problem isn’t nitrates and nitrites themselves though, but rather what’s present when they’re digested. Something has to convert nitrates to nitrites, or you need to consume nitrites, then something has to activate the nitrites into something harmful.

With meat, the presence of haem for example allows for the formation of a type of N-nitroso compound (nitrosylated-haem in this case) which is cancer-causing. Vegetables don’t tend to come with such compounds, but actually come with compounds which inhibit the development of harmful nitrite-based compounds. Most of these are antioxidants.

This doesn’t mean it’s impossible for vegetable-derived nitrites to harm you. It’s just far, far less likely.

Fried meat that was previously cured is by far the most dangerous source of these cancer-causing compounds. The most well known example is probably bacon.
Getting back with friends helped me a lot. I have been living in another country for a while without close friends. Once I have moved to my _real_ friends for a few months, my symptoms have improved a lot.
It might not be obvious when you hit that point, bad regexes can be subtle, just see that old cloudflare postmortem.
Adding a disclaimer to a denialist "just asking questions" talking point doesn't really convince me of sincerity these days. I suppose it could depend on what you mean by history though. If we look at the history of the world, humans basically haven't existed and I'm thinking probably won't for very long.
Drone delivery's biggest problem isn't in the air
> if you know where to find something no point in knowing it.

Nonsense. And you know it.

First, you need to know what to find, before knowing where to find it. And knowing what to find requires intricate knowledge of the thing. Not intricate implementation details, but enough to point yourself in the right direction.

Secondly, you need to know why to find thing X and not thing Y. If anything, ChatGPT is even worse than google or stackoverflow in "solving the XY problem for you". XY is a problem you don't want solved, but instead to be told that you don't want to solve it.

Maybe some future LLM can also push back. Maybe some future LLM can guide you to the right answer for a problem. But at the current state: nope.

Related: regexes are almost never the best answer to any question. They are available and quick, so all considered, maybe "the best" for this case. But overall: nah.
As an ex-Salesforce engineer, you appear to have a good handle on the engineering implementation side. You had the mechanism to build the workflows and reporting on top. Double down on that because that's your table stakes product. Make sure you include some out-of-the-box workflows that people can tweak.