skysight-inc/HackerNews huggingface dataset:
This post is not for beginners/non-haskellers, I don't understand why it's being posted here. Is this intentional or are people in the haskell community this tone deaf? It's like we're determined to prevent new people from joining.

Dear everyone, code like this is not where Haskell starts to get useful, it's useful much earlier. I won't reproduce it here but I just wrote a post with some practical code (and how haskell helped) taken from a project of mine: https://news.ycombinator.com/item?id=20260095.

If you are using Coyoneda in your code, please do not use it to extol the virtues of Haskell, except if you're sure your audience is expert haskellers/mathematicians/researchers/others who can actually gain something from the post, or if the writing is so sublime that it has reduced the complexity to near zero.

Please OP, you're actively hurting the adoption of Haskell by posting stuff like this in the wrong places/context.

The author of the article (Sandy Maguire) created a library called polysemy that improved on the efficiency of using a concept called Free Monads in Haskell -- their main benefit is that they let you write functions that deal only in your business domains. A rough corrolary would be a dependency-injected function that could not do anything outside of what the dependency injected pieces do, but also allows for different dependency implementations to be mocked out entirely within the languag (i.e. without the XML/annotation hell that is Spring DI magic).
> precomputed statistics over power-of-two-aligned time ranges

Simple google search didn't get much details. Can someone please add some details or links for this?
This is the video that opened my eyes on climate change 7 years ago: https://www.youtube.com/watch?v=pznsPkJy2x8

It's amazing to think that humanity is still mostly clueless about what is going to happen.
This looks cool, but what about vim?
Even that isn't immutable. e.g. the video of the first SpaceX Falcon Heavy launch was modified after the livestream while still claiming that it was a livestream from the original date
Does not surprise me at all. It was unfathomable to me the number of pretend students I met at school who were racking up bills discovering themselves while pursuing studies in subjects with little hope of remunerative employment. They seemed to outnumber the actual students, at least the 1st year or two.

The fact that schools take advantage of unsophisticated customers with such shoddy products, and that this is heavily subsidized by taxpayer money - just ridiculous.
Right, that's the idea I was trying to express. Don't expect anything good to happen if you try to plunge a ball end mill straight down into the material.

The thought was only that a large-radius ball would be able to approximate the sphere to within tolerance with larger stepover than a smaller tool. After bulk material removal with a more suitable cylindrical tool of course.

With a little bit of googling I discovered a different class of end mill called a circle segment tool, which could potentially make short work of the problem in a 5-axis machine:

https://www.moldmakingtechnology.com/videos/circle-segment-t...

Would love to see how Apple does it, but it's never happening.

I'm not really a machinist either, but let's not allow that to stop us from incorrecting each other on HN!
Brick and mortar stores have been using dark patterns for decades. The gauntlet at the cash register is designed to increase sales, especially to people shopping with kids.
Nobody would care except Peskin makes it his business to tell everyone else what they can’t do with -their- property.
I volunteer at an NGO that collects dropped food from the food supply chain. The ugly fruit is not a myth, and I have both the numbers, and the fruits, to prove that.
On-off ramps aka exchanges , kyc , unless you mine your bitcoins in a very secret way
Post-mortems are a great way to repair some of your standing at HN.

It'd be really interesting to see a post-mortem that explained how your kick-ass vetting system was able to get "Kobe B" and "Hokey Pokey Artichoke" verified as legitimate users?
The world is increasingly at risk of “climate apartheid”
In the UK this is fairly common using number plate recognition.

On entry and exit your plates are recorded by a camera.
>The importance of these "experiences" is garbage baby boomers feed young people because they're the decadent generation

This abject bitterness is only a minor counterpoint to harmless rituals held by many many people.
Schools have all the info and yet they still are more than happy to sign kids into mountains of debt. Nothing would have lowered tuition because it doesn't take all of the money brought in to school the kids, most of the money is going into growing the school's endowment and to maintain their status as a charity so they don't pay taxes. So 58% of kids MUST take some form of aide or charity. And as society has plummeted, more kids are pushed into Uni and therefore tuition MUST be raised to keep the charity status.
https://www.conradbastable.com/essays/the-uncharity-of-colle...
> But that was a singular point in time. It would be like the reverse of a jackpot, IF you sold EVERYTHING just at that singular point in time.

All decisions to buy or sell happen in singular points in time. If you were sitting in front of your IRA account in 2013, it definitely looks like a high point, right? How much of your IRA equities do you decide to sell?

And whatever that amount, when do you change your mind and jump back in the market? When the stocks are at a new high in 2014? or 2015? or 2016? (All higher levels than the previous).

> But if you did a little bit of trading without tax-consequences continually, maybe you could win on average?

Maybe. But probably not. The only information you have is hindsight. You can never know if you're selling on a high or buying on a low. The price can always go higher (after you sell), and the price can also always go lower (after you buy)

> And banks make money by trading don't they?

The article we're discussing here shows that they make their money in a lot of ways. Beating the market isn't one of them, though. And to the extent that banks do profit on stock speculation, they also have a different risk tolerance than you or me. They're not going to retire one day, and if they do lose everything, the government will bail them out.

>
Some banks even offer savings account that do the same thing - https://en.wikipedia.org/wiki/Prize-linked_savings_account
Rich Felker of musl libc comments on Google's LLVM libc proposal
"Hi there! Lately, I've been speaking to $deity, and he told me the temperatures in Lissabon for the month of March, 2025, and I figured it might be fun to record that now, and if youtube is still around then, to see if this is real prophecy. So, on March 1st, at noon, it will be
[-10][-9][-8][..][35][36][37][38][39][40] degrees Celsius, on March 2nd it will be [-10][-9][-8]..."

Make it private to make sure the views stay below 100k, then edit as needed out anything but the correct temperatures, and spam it all over social media when the time comes. I couldn't think of good examples to do it with words, but there isn't much you couldn't do, given that videos can be 10 hours long. It's not like anyone would mind the jump cuts much, just put those everywhere else, too.
You can steal gas from a car by putting a hose in the gas tank. I’m pretty sure everyone knows this “hack” so maybe you should clarify your question.
50 Investor Tips After Meeting 500 Investors for Raising Money
The job market totally disregards the passions and aspirations of any generation.

There is nothing special about the current generation except that they have been given unrealistic expectations by their parents.

The job market is all about doing things that other people are willing to pay for. They are willing to pay for that work to be done for a variety of reasons like:
(1) they don't have the skills to do that job or time/capacity to learn;
(2) they could do that job, but would prefer not to and are willing to pay to avoid doing that job; or
(3) they could do that job, but their time is better spent earning more money doing some different job.

None of these three reasons makes any guarantee that the job will match the passions and aspirations of those in the job market.

Throughout history, doing a job that matches your passions and aspirations is a rarity and it continues to be a rarity to this day.

Furthermore, lots of people tend to share passions and aspirations and there are only so many jobs for all those people, so typically even if you do try to land a job that matches your passions and aspirations, there are a million other people doing the same and that depresses prices because of a glut in supply.

Ultimately, the real problem is that expectations were not tempered and realistic. You're far less likely to have regrets if you had more realistic expectations going in.
Note that Haskell makes very few assumptions about the users; the quality and complexity of Haskell code varies greatly. The author of this block is dealing with an abstract topic, resulting in somewhat arcane looking code (I am sure that after some refactoring it would read nicer). It is however very possible to write really easy to understand Haskell code by ignoring its more fancy features and sticking to the most used abstractions: Monads, Applicatives and Functors. They alone are enough to write great code, no category theory, effect library, type magic or whatever is needed. Simple, real-world Haskell exists, it is just not often blogged about.
With some delay, indeed it is.

https://www.tfljamcams.net/
After using in ear headphones for a few years I started to develop fairly bad ear wax problems. Like, my ears would become completely blocked and I would have to go have them cleaned by a specialist. YMMV but putting things deep into your ear canal isn’t necessarily a good idea.
More ways to style your live Q&A and polls at events with Pigeonhole Live themes
BTC has turnen unfortunately in a ponzi. the minining rewards on the next halving might kill it. Lets hope people are aware of this.
This. So much this.

Passions and aspirations are for hobbies.

Jobs are about providing value to others in society in exchange for IOUs that you can exchange with others.
Ditto. Amazon’s Aurora is nice also.
In public? Something your brain already does?
You have the option of going as a normal student. If you do, top-tier colleges usually look at college and AP courses taken at other institutions as a bonus towards admission.

I went to Amherst College (#1 liberal arts college in the U.S. when I matriculated), having taken courses at Harvard Extension School, UMass Lowell, and Boston University as a high-schooler. They didn't give me credit for any of them, nor for the 8 AP tests I passed. However, I was told that they were a big plus on my otherwise-lackluster application. The fact that I could take and ace college courses at other institutions was a great way to nullify the fact that I was failing my high-school courses.

My sister did courses at Middlesex Community College (again, through the same MA dual-enrollment program that I used) and went to Rice University and my wife did courses at Foothill Community College (through CA's dual-enrollment program) and went to UC Berkeley, so not an isolated experience.
October and November 2016 - Pre-GDPR, the DPA was still in force. They were fined 80% of the maximum under DPA.
>my current MBP retina 15" is really heavy

Weight: 4.02 pounds. Did it gain weight since you bought it?

>and getting hot sometimes.

its designed to cook its internals instead of running loud fans - thats what users want, that and thin. Dont worry, both CPU and GPU will throttle around 80-100C and will not get damaged.
For anyone who's played Zelda, Breath of the Wild, there is a character who patrols a bridge to keep it safe from monster. If you jump on the edge of the bridge, he will talk you down and then offer to continue conversation.

I thought I read it was based on a japanese person, but it may have been based on an american cop who patrolled a bridge in san francisco.

Either way, it reminded me of this story. At the point at which you find this bridge character you are likely feeling quite down about the game world, and isolated. So it's a more poignant scene than I can describe in text.

https://checkpointorg.com/zelda-mental-health/
Does this blurb from the about page cover you?

> BTrDB uses a K-ary tree to store timeseries data. The leaves of the tree store the individual time-value pairs. Each internal node stores associative statistics of the data in its subtree; currently, the statistics are the minimum value, mean value, maximum value, and number of data points. BTrDB uses the internal nodes to accelerate processing of these statistical aggregates over arbitrary time ranges.
Servers for WordPress: Special Considerations
Personally, the issue isn't learning vs. not learning. The issue is where to put the energy and time that I do have for learning. For example, in my current job, the top four items in my list are all about conceptual mastery in a specific domain (cybersecurity) so that I can design better systems. For programming languages, the usual suspects are good enough. The real limitation is the intersection of human behavior interacting with a cripplingly complex technical system, and you can make multiple careers studying just that.

Somewhere down closer to #15 is "learn Haskell," which comes after learning Rust/Go. Learning a "real" functional language would be much higher, but I already did that early in my career.
Oregonian here. Yes, she was talking about WW2 concentration camps. It's disgusting that you've forgotten that, during WW2, we ran concentration camps too, for Japanese-Americans and others who we failed to trust in spite of their citizenship. Read the parent comment again. George Takei was in one of these camps!
I remember running wolf3d.exe on my 386SX/16MHz in the mid-1990s, and it wouldn't run worth a damn unless the game display size was reduced to the lowest possible setting, about the size of a business card on the ol' VGA CRT. I spent many hours squinting at pixel-Nazis.

Now, some 25 years later, I have been playing through Wolfenstein II: The New Colossus, and I had nostalgic good fun playing several levels of the original Wolfenstein via an in-game arcade machine.

I like stories.
Do you frequently find yourself having to redefine cons when programming?
Why even have the code? The type is all the compiler needs to spit out a definition. Your source can just be the type.
Non-addictive CRISPR-edited tobacco could help eliminate smoking
Birds aren’t real

(https://birdsarentreal.com)
Speaking of TS, here is a good argument for static typing:

>Change a front-end React prop, then follow static type errors through the statically typed API, into the backend, all the way down into the database where they force a change in the Postgres schema. The system won't even compile unless React can talk all the way down to Postgres.

https://twitter.com/garybernhardt/status/1140695491685933060
I am one of the Fedora 29 users for whom the upgrade to Fedora 30 refuses to run because dependencies of some installed libraries in F29 cannot be obtained for F30. There was a report of this soon after Fedora 30 was released, and someone acknowledged the defect (related somehow to certain library incompatibilities) promptly and said a fix would be out in a few weeks. I don't think that the fix ever came out, but a somewhat inscrutable (to me) workaround was promulgated, which I have chosen not to attempt. Will there be a user-friendly way to upgrade Fedora 29 to Fedora 31 without a full re-install?
Why the Seattle Music Scene Is a Glimpse at the Future
https://www.usenix.org/system/files/conference/fast16/fast16...

Basic stats are recorded for the children of each tree node, and this is where the power-of-2 property comes from
Is this intentional or are people in the haskell community this tone deaf? It's like we're determined to prevent new people from joining.

It happens with small "misunderstood" groups. People in such groups start doing things to purposely set themselves apart and distinguish themselves from the outside majority. It seems partly subconscious or instinctual, though it's also expressed as conscious actions and can involve quite a bit of thought and rationalization.

In particular, it happens with programming communities.
I think this is an uncomfortable truth for many people. People don’t like to admit that their performance at the time they got admitted to college is a reflection of their status and future ability but it unfortunately is.
> 32% to 34% doesn't really sound like a win :(
We are talking about human lives here, not about beating some CPU benchmark. Detection improvement by 2% is huge in almost any sickness.
High FOV (>90 degrees) also alleviates motion sickness. Most games default to around 75, which is suitable only for television distances.
It's pretty disgusting that you knew that this was a gap in policy, had been considering it for some time, and ultimately decided to run with it anyway and even took measures to obfuscate the truth.

What's the point in pretending to be honorable by offering a service one can pay for to prevent your misdeeds? Any reasonable person here can see straight through you and your business.

If you want to be ethical going forward, rewrite your user agreement and offer this insurance baked into your product. If it turns out you cannot profit from running your business in an ethical manner, then perhaps you should consider a different line of work. Or, at the very least, don't offer your fake sympathy when a user uses your product and falls victim to your personal shortcomings.
My guess is that nobody is going to sell coverage for fines that could range up to €20 million that can be assessed under a set of regulations as vague, difficult to follow, and up to interpretation as GDPR.
>Most satisfied: Those with science, technology, engineering and math majors, who are typically more likely to enjoy higher salaries, reported more satisfaction with their college degrees. About 42% of engineering grads and 35% of computer science grads said they had no regrets.

>Most regrets: Humanities majors, who are least likely to earn higher pay post-graduation, were most likely to regret their college education. About 75% of humanities majors said they regretted their college education. About 73% of graduates who studied social sciences, physical and life sciences, and art also said the same.

I love the idea of free college. That said, I feel weird about subsidizing something people regret doing in the first place. If this doesn't provide $X value to you, having the tax payer pay that much for it instead of you paying for it seems weird. I hesitate to make a HN tech bubble comment, but it really seems like only making certain degrees free could make sense. Like, I'm a lot happier paying taxes to educate doctors than poets, even though there's value in having both.
This really surprises me. I would have expected maybe 30% based on so many people not making it through the program. At my school they had to get 2/3rds to drop by junior year or there would be too many in the program, and they never missed that goal. I saw very few make it through who were not genuinely interested in the subject.
Stanford CS is tied for #1 with Berkeley CMU and MIT
Ugly fruit problem, not ugly fruit... In that it's Valley b/s to argue that this is some hearty problem which has all the sudden been solved. That the truth is that those ugly fruits were used to make other things or given to the poor.
I don't think fields like linguistics, history, etc. are "social" in the ways that fields like sociology, gender studies, women's studies are. I don't know any instances where academic linguistics or history was accused of cases such as publishing gibberish, using wildly biased questionnaires, drawing wild conclusions, using small sample sizes, etc. Popular claims about "one in five women on college campuses are raped" or "77 cents to the dollar" are results of deeply flawed fields.
Pyrethroids are also, apparently[1], not effectively treated in standard wastewater treatment facilities.

[1] from a source cited here: https://en.wikipedia.org/wiki/Pyrethroid#Biodegration
Some time ago the MUNI stations in SF were absolutely plastered with these ads.
> Not everything has an ideal solution. We can't just magically apply regulation, technology or markets and fix every problem.

Doing nothing takes us from having "a less than ideal solution" to having "no solution at all".

I think we can try for sensible regulation that strikes a good balance between freedom and security while also acknowledging it might not be a perfect solution in every situation.

The patriot act is a terrible example to use because even before it passed it was clearly going too far in the wrong direction and people concerned with privacy and civil liberties were very vocal in opposing it. The flaws were obvious but included by design and so objections were simply ignored. It simply wasn't an example of government making a good faith effort at sound regulation. It was a blatant power grab which they manipulated frightened people into accepting while ignoring all other objections.

Some of these dark patters are essentially fraud and there absolutely should be a process for reporting them to a governing body for review.
As far as I am aware Address verification is the only way to perform a fraud check and block prepaid cards. Maybe stripe can use some collective intelligence for certain card numbers but it would be a lagging indicator of fraud.
> This post is not for beginners/non-haskellers, I don't understand why it's being posted here. Is this intentional or are people in the haskell community this tone deaf? It's like we're determined to prevent new people from joining.

There are plenty of submissions on HN that are aimed at specialists of a field. They get to the front page because people are curious about specialized fields. So, even though I disagree from the pits of my soul with the content of the submission (as a professional Haskell developer, I should add), I think you're being very unfair to say that stuff like this shouldn't be shared with a broader audience.
I don't know how to explain how the college experience is amazing without writing several paragraphs. I honestly thought my sentiments were near-universal. For several years I got to literally pick a topic out of thin air and then have seasoned professionals teach me all about it three days a week. I got to live independently and among bright people all in my age group and craft whatever life I wanted within the relatively safe confines of a university. Then there's all the tradition and legend and adventure that goes with the average college experience. Meeting so many new people from so many different places and backgrounds...

Hell, I'd pay triple.
Monzo has a proper API[1] that you can use to get transaction and other info without going through some third company like plaid.com. Obviously better long term solution would be for all banks to agree on a standard API and easy access to it. But given that is not going to happen, this seems like a welcome improvement.

[1]:https://docs.monzo.com/#authentication
The word "shit" is used at least three times in that article.

Why would anyone listen to advise from someone who cannot communicate ideas without using curse words?

Once, it's OK. Three is just too much for me.
Not just addiction, a significant chunk of homeless prople have a mental illness that isn’t been addressed.

Given the way healthcare works in America (or doesn’t as the case may be) I’m curious how that could be addressed.
So, much like a Premium Bond, then. These have been issued by the UK government since 1956, using an "electronic random number generator" that originally used vacuum tubes as a source of randomness...

https://en.m.wikipedia.org/wiki/Premium_Bond