skysight-inc/HackerNews huggingface dataset:
Hi dawnerd! Sorry to hear that, do you have the issue link so that we can take a look at it?

Based on the informations I can read here, I think it comes from the fact that the engine is not able to give an exhaustive finite number of records matching the query for reasons of response time. A finite pagination style (with number of pages) on the client-side is for now a pure work-around.

From what I understand, some of our users try to use MeiliSearch as a primary datastore or expect a classic finite pagination coming from a SQL database env, when we are here to solve search relevancy problems.

Ideally the search results should be relevant enough so that end-users don't have to click on another page selector button, that's why we advocate to integrate a pagination without number selection. Infinite scroll style or prev/next.

Happy to discuss this further with more context!

Thank you for your feedback :)
I don't think Aubrey de Grey is a good guy, and for anyone that is seriously interested in longevity research, it is known that he is mostly an old mascot that has kicked off a lot of (public, though not so much scientific) discourse in that field, but he and his foundation hasn't produced much by themselves.

Having said all that, the dismissal of longevity(/rejuvenation) research in general by the author (and many of the comments here) is incredibly shallow. While Aubrey de Grey highlights his mitochondiral research in his book "Ending Aging"[0], he never claims that it is a silver bullet for aging and most off the book revolves around different parts to the puzzle that have all to be solved in order for consistent rejuvenation to succeed.

A few years later "The Hallmarks of Aging"[1] (which outlines a similar approach to the book) was published in Cell and is widely recognized as a milestone paper and "roadmap" on what problems need to be tackled on the road to longevity. There are also now many biotech startups tackling exactly those problems outlined, producing real drugs that are currently in trials (e.g. Unity Biotechnology[2]), and the rate of more of them popping up is only accelerating.

I could try to write even more here to convince you that longevity research is a worthwile pursuit (and not just vaporware), but it's probably better if you read up on the topic for yourself, for which I can strongly recommend /r/longevity[3] and the resources listed there.

[0]: https://www.amazon.com/Ending-Aging-Rejuvenation-Breakthroug...

[1]: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3836174/

[2]: https://unitybiotechnology.com/pipeline/

[3]: https://www.reddit.com/r/longevity/
My point about Devise was more “if you’re not using auth, why have you included this?”. I think Rails should probably have a Devise-lite in the box, though.

This sounds like the second of my options i.e. gl;hf when the next major Rails release comes around.
Damn this matrix made me want to use Algolia.
In my experience when learning functional programming with Haskell there are two kinds of complexity:

1. Complexity caused by the change of paradigm: This specifically hits programmers with a lot of experience in OOP languages. For getting into the FP-mindset your brain needs a bit of time to get rewired. You need to switch thinking about mutating objects to thinking in mapping streams of data. Given that many OOP languages are adopting functional ideas like map and fold/reduce, nowadays a lot of developers already have a bit of experience in thinking in the FP-way, and this will get better with time.

2. Complexity caused by the tools: There's a reason the author in the above post started out with Elm instead of Haskell :-) Writing a few recursive functions in haskell is still pretty simple. Where it get's very complex is when you want to build real world applications. To build a simple web app you need to 10s of decision on what tools and libraries to use. Here's a couple questions you'll need to find an answer to when building a haskell app:

- What GHC and what language extensions do I need? How do I install it?
- What package manager do I use? Cabal, nix, stack?
- What web server library?
- What database library do I need? Do I need an ORM, are there even ORMs in haskell even though there are no objects?
- What HTML template library to use?
- How do I compose it all together? What is a monad stack?

When you have only very few experience in haskell it's really hard to not get stuck here. The quality of documentation of most haskell tools also doesn't very much help here.

I believe that the value haskell can bring is signifcant, and by fixing the tooling situation we can a lot more people to adopt haskell in the future.

With IHP we're trying to fix the tooling situation and build a haskell-based web framework that is as easy to use a rails or laravel :) To combine the benefits of purely-functional programming with the RAD approach of rails, laravel and django. It's now already the most active haskell web framework and we have many people starting their haskell journey with IHP.

We have live reloading in dev mode, a JSX-inspired template language and many code generators to quickly get started with shipping real world apps.

Check out this video of building a simple blog app in IHP: https://www.youtube.com/watch?v=UbDtS_mUMpI
To get started (supports macOS, linux, windows) check out the IHP Website: https://ihp.digitallyinduced.com/
What are you an elitist cunt?
Map and reduce immediately clicked, the state thing had me for the longest time ('how do you generate output, how do you get a real world effect from a function'), those seemed to me to be far more magical in the FP world than in the step-by-step alteration of the environment that I was used to from imperative programming.

It also seemed to map harder onto the real world than IP, where instructions about piecemeal alterations seem to be the way of the world.

It really clicked for me when I started to think in terms of transformations, where each function performs a transformation of the input on the way to some output. This allows you to be 'pure' most of the way and to limit input and output to the top layers of the program, where they should be (should in my opinion).
The brainfuck compiler is at https://github.com/xxx/cbfc, but I haven't opened up the other one to the public yet. It'll be open sourced once I'm further along with it.
According to the matrix it doesn't have support for it.
I was going to comment on a similar line.

I come from the OOP school and have done 10s-100s(?) of C/C++ projects, which I like, btw. But when I discovered FP it was an eye opener, the breadth of things that became possible/tractable is great, even my OOP programs became much better because of it.

I think that the OOP curriculum is actually a regression, and would recommend anyone who is just starting out to try out FP first.
There is nothing wrong with eating fish as long as you do so in a sustainable manner. In many respects fish is a demonstrably much healthier option for you and the planet than meat, especially red meat.

Sure, I know in an ideal world we are all supposed to become tree-hugging vegans. But if the entire world switched 100% to vegetables you would soon find there are environmental and sustainable issues there. Its one thing growing a few carrots in your back garden, its another doing so on an industrial scale.

So its not so much what you eat, but the sustainability of it. The answer is not so black and white.
Look at you being a fascist once again. Ban him if he isn't following the rules. Or is he your rich friend cunt? Keep playing favorites fascist
I'm on FB for Groups/Pages. I use a fake name, and picked friends at random. FB groups is great. (I didn't pick my friends well though. Everyone who liked my watchmaking page I added as a friend. Some are terrorits. I'm deleting the terrorists. I hope I didn't make a mistake.)
There is no flag at the US embassy and the top US diplomat has left. This posting is out of date. https://www.bbc.com/news/live/world-asia-58219963
Some basic features are missing from that doc. For example, typesense doesn’t handle periods, underscores, dashes and other characters as delimiters:

https://github.com/typesense/typesense/issues/122

https://github.com/typesense/typesense/issues/95Oh

The workaround they recommend is to duplicate your index with all those characters removed and then strip out those characters from your search queries :/
Maybe it's great for learning, but many of us wish to deliver a useful project and not just do something for purely didactic purposes
So true! It's a tough disease to catch but totally incurable.

Once you have the bug, you start to pick-up code smell in anything that isn't functional. You see code and ask, "Why are we touching that?, Why are we holding onto this?" Being able to think in a functional style encourages you to throw away as much code as possible and hang-on to as few crufty elements of state as are minimally required.

It also makes you very anti-OOPS and hesitant to define "classes," since these violate the first principles of functional.
RethinkDB replace V8 with QuickJS
How much does almonds and rice do? And could you grow plants on the cow land?
Format probably matters too: There fluid to caffeine ratio is much different in an espresso.
I hate that I ever heard about this movie. I hope no one who reads your comment will look it up.
From a game developer/player perspective: there’s a crazy amount of complexity in connecting between two computers that wouldn’t need to be there in an ipv6 world.
See all the NAT, TURN, STUN nonsense that webrtc has to deal with: https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/...
Today to use webrtc, u need a neutral server to help establish the connection like PeerJS does. This wouldn’t be needed in an ipv6 world. It’s nearly impossible to do pure peer to peer connections today.
Seems to be "out of stock" at all sellers. Found just 1 seller in Italy: https://www.ebay.com/itm/124852437225?
The saying about Haskell is that it has the steepest unlearning curve. It probably helps to have seen some abstract algebra since many of its ideas come from there. The online book learnyouahaskell.com is pretty readable though.

As that guy was a big executive whose time was interchangeable with money, he might have had better luck treating FP as a topic in math that he was having trouble with, and hiring someone for one-on-one tutoring, either in person or online. It might have gotten him through the various stumbling blocks quicker.
How would this benefit Google?
I don't think it's telling of anything. Rails was not made to work seamlessly with these tools, so obviously there's going to be some setup cost.

Compare with something like NextJS where the aforementioned setup takes almost no effort.
culture and the paradox of simplicity

fp and math go abstract fast, people can't see any tangible machine or pragmatic process

fp-ists enjoyed that and pushed it to 11, making it even weirder
> “Tedros’s main opponent was Nabarro, whose first-hand experience of the WHO leadership’s incompetence during the ebola crisis had convinced him of the need for reform. Nabarro was not alone in his concerns about the WHO, and he reportedly received support from the US, the UK and Canada. This appears to have been the first time the West had woken up to China’s creeping influence over the health agency.”

> “The contest between the two men for the WHO director-generalship took place under new rules that had been introduced by Chan. Previously, the director-general had been chosen by the 34 members of the WHA executive board, but the new rules gave an equal vote to all the assembly’s 194 member states.”

> “Critics of the rule change, such as J Michael Cole of the Canadian think tank the Macdonald-Laurier Institute, have pointed out that the WHO was essentially copying the electoral system that propped up the famously corrupt regime of the former Fifa president Sepp Blatter.”

> “As with football’s governing body, tiny countries that might be susceptible to financial aid were given an equal vote to countries many times their size. Cole said tiny island countries such as those in the Pacific were “easy targets” for Chinese influence.”

Damning as it is, this is not the whole story, but just the tip of the iceberg that we are still colliding with.

That research in Wuhan was exported from the US when it was forbidden for being excessively risky, which is why certain western experts conspired in early 2020 to deflect any thought that the virus could have a lab origin, or using their own word, was “engineered”.

Those experts were being paid handsomely to PREDICT these pandemics, and they might instead have caused this one. Now they’ll ask for even more money to protect us from the ongoing fallout, in an endless wheel of grift.
I get that.

How about tag-based systems as an alternative to a hierarchical one?

The tags can be presented as a hierarchy, if you like. Or better, as several different hierarchies, or perhaps alternatively, as a web or space with multiple entry points. Depending on how you slice it (and where that slice begins and ends) you'll end up with different organisations, though each will have at least some internal consistency.
I didn't claim that all-you-can-eats were free, only that they could stay in business despite apparently operating at a loss. This is precisely because the food is much cheaper than a rationalist or economist would predict it to be; it's abundant.

Food is abundant because of the Haber process [1] and other industrial-era improvements to food production. Only about 2% of our total labor output is required in order to produce all of our food [2]. The government subsidizes 10% of all food production and purchases [3][4]. If we already can afford to pay 2% of our population to make all of the food, and we already give away 10% of it for free, then it seems like we could reasonably discuss giving away more food for free without disenfranchising farmers.

Edit: I just realized that you might be clueless about this entire corner of sociology, so I should tell you about government cheese [5]. WP says, "Government cheese was created to maintain the price of dairy when dairy industry subsidies artificially increased the supply of milk and created a surplus of milk that was then converted into cheese, butter, or powdered milk." In other words, the government put too much money into making food, and gave away the surplus, and this has been happening continuously for decades.

[1] https://en.wikipedia.org/wiki/Haber_process

[2] https://csanr.wsu.edu/we-are-the-98-percent/

[3] https://en.wikipedia.org/wiki/Agricultural_subsidy#United_St...

[4] https://www.ers.usda.gov/data-products/ag-and-food-statistic...

[5] https://en.wikipedia.org/wiki/Government_cheese
Ask HN: Can I work for you, for free?
I'm a self-taught developer without a degree. I'm a US Citizen and I have a full-time job at the moment outside of the technology sector that I don't anticipate quitting for at least another year or so. That said, I expect to be able to work 20-30 hours a week with you should you take me up on this offer.

I want to work on something interesting. I want to learn and grow as a developer. I want to gain some professional software experience to put on my resume. I'm teachable and I'm eager.

If your company or concern could use an unpaid intern, then please consider me. Contact me here or via my email: amacedeveloper@gmail.com
Hate the truth ey cunt?
Out of curiosity, what are the crazy amounts of symbols present in, say, Erlang, SML, Scheme, or Common Lisp?
I just re-read the whole page, and, no, the SO poster is not relying on it. And, if anyone is relying on a bug that makes an if condition go the wrong way, that's so monumentally stupid, they deserve to have their stuff break.
Depending on how much time you're willing to invest, the best thing you can do might be joining lobbying efforts like the citizen's climate lobby: https://citizensclimatelobby.org/
I’m not sure if this is supposed to be sarcastic or not but it doesn’t make any more sense to me.
So at some point up in the heirarchy, you're keeping track of that counter. So there will be a parent of the incrementing function which is itself not a function because it keeps state. You could say your top level program is not a function because it keeps state.
Google is amusing in many ways.

I have some photos shared that I took in a restaurant if not at the end of the world then in a related place, far far away from Italy. The name of the restaurant however contains something that people will often search for in connection with Italy.

That picture from a small restaurant in the middle of nowhere has maybe a hundred times more views than any of my other images from way more interesting places.

Only reason I can see is it somehow has been mixed in when people searched for that search term, because the number of views on that single image is far more than the number of people in that area and probably more than that plus all tourists that have been there since 15 years ago ;-)
Here is an archive of the text-only view from the article: https://archive.is/aoB1o
It sounds like there really isn't anything to be concerned about then.

"If California stopped growing alfalfa...we could probably house 20-30M more people". I'm very happy to stop growing crops in the desert, and agree there's absurd waste there (just because something can be done does not mean it should be done). But 10s of millions more people...is that really a goal, or even a good thing?
Look at you being a little fascist cunt once again. Fuck you nigger and your nigger rules.
Where setting up a new app with Tailwind JIT is substantially easier?
Also the basic pitch of functional programming is "we have better abstractions, you'll write better code". The basic pitch of something like Java is "everyone knows how to get things done in Java" and of Python "there is a right way to get the task done, and we will tell you what that way is".

There is a fundamental mindset here that the Functional languages aren't task-first. Not in the languages, mind, it is in the community. And the tasks themselves can be so simple once the abstractions are under control that people don't write tutorials about the task.

It is visible in this article - the Haskell community is trying to convince this guy that he needs to know a wall of jargon from a relatively obscure branch of maths in order to program effectively. They may or may not be correct, but it is going to be a while before his attention makes it to the task at hand.
> Not a single new reservoir has been built since 1979

Just one example of the bigger trend/policy:

California is extremely averse to build anything.

FIguring out why that is is the interesting part.
I recall some tracker format used that power LED as an actual effect, or 5th channel?
> If the PSI/CSAM system had been announced along side E2E encryption for iCloud backups, it would be clear that they were attempting to act in their users best interests.

As I understand it, this was more "leaked" than "announced". That is, it wasn't part of Apple's planned rollout strategy.

My thought was that they'll announce that soon, but then again, I'm shocked soon wasn't last week. I have no idea. Maybe there is some other limitation (legal) on he iCloud E2E backups they needed to solve first?
How often does your webpack setup blow up? We haven’t touched our configuration in a year and it still works perfectly fine. What complex things must you be doing for you config to not even last 3 months !!!
that seems to be the angle presented by the author but that doesn't mean that is what happened
The NYT reported this morning that the US embassy at Kabul has now been completely evacuated. The skeleton crew left has been relocated to the international airport.

https://www.nytimes.com/live/2021/08/15/world/taliban-afghan...
As a European I would never have thought that any of those places are real.
In what way does getting your artefacts through ipv4 annoy you?
People have silly cultural expectations about what is necessary to support children. I just saw a documentary about a Congolese truck driver with five kids. He made $120/month, and his goal in life was to keep them fed -- literally. If I were willing to take the expectations surrounding that man, and adopt them for myself, I could easily support two dozen children.
Having just been playing around with Rails and different CSS frameworks for a new project, this is entirely due to Tailwind's dependencies. Adding other CSS frameworks is as easy as yarn add X then importing it into your application.css file.
Here is what he said:

https://twitter.com/i/status/1426900769656254468
You don't care about the truth cunt. Just your rich friends nigger
The same way you learn anything else that is difficult: time and practice, and start with fundamentals. You can't put it on any work-related critical path until you have it down solid.
A tail recursive function can always be optimised into code which does not consume memory on recursion, and it’s a pretty basic fact to learn about a given language/implementation.
People have to live somewhere, and if they live in California they are going to be living a lower carbon life than if they live in Texas, Boise, Phoenix or Atlanta. Those are the places that California has been exporting anybody who doesn't make lots of money. So yes, as a California resident,, I think 20-30M more in California is a fantastic idea compared to the alternatives.
Compression/liquefaction doesn't really have an efficiency. It is just a dead loss of energy. So you really need to know the assumptions to know what the 90%/65% is of.

I suspect it is the same for the other percentages thrown around on that diagram. ... and why doesn't the H2 vehicle do regenerative braking?
It's really both intention and action. Intending to take out the trash is meaningless if it's already spilled over. We need more than beliefs to make progress.

I believe OP is talking about both going at your own realistic pace (whatever that means for you), and also actually going.
Yeah having a cap on the number of results is fine. Problem is when it queries for every item at once. I’ve tested on large datasets and my patched version of instantsearch has no performance problems over 100 pages w/30 items per page. Every time you clicked next page it would request maxPages * perPage but start from index 0.

Im not using as a primary data store.

https://github.com/meilisearch/instant-meilisearch/issues/18
It’s a paraphrase, but the origin is indeed Aristotle.

http://www.universalethics.org/Ideas/Virtue_as_a_habit.htm
Letting machines connect directly to each other in any context, and especially in the context of an online game, is a massive security and privacy risk.
More reservoirs doesn't make more water in the first place. This is about how much that falls from the sky in the first place.

You should not stop all the water from reaching the ocean in the first place, bad things happen when you do that. We are reaching the point where we just have enough water to keep the rivers flowing so we don't kill all the wildlife that exists in them, we're not adding significant amounts of water to storage.
Have you considered that is exactly the reason why it is here on HN?

Would it have been newsworthy if the embassy was up, functional and working as intended?
Who would crank the pump? Narrow body twin jets can burn in the range of 5 gallons of fuel per minute. That’s a lot of fuel to move with a hand pump.
Would love to! I'm a dev, if it's open source, maybe I can help improve it. Btw I don't see anyway to reach you in your HN profile.