skysight-inc/HackerNews huggingface dataset:
In Haskell terms, Collectors have an Applicative instance, and teeing corresponds to the liftA2 function:

> liftA2 :: (x -> y -> z) -> Fold a x -> Fold a y -> Fold a z

The "teeing" functionality is actually one of the "selling points" of the Collector-like library, not a hidden gem:

> This module provides efficient and streaming left folds that you can combine using Applicative style.

It's curious how the same abstraction can have different emphases across languages.

Collectors are also Comonads:

- You can always extract a value of the type that parameterizes the Collector, just by "closing" it.

> extract :: Fold a x -> x

- You could, in theory, "duplicate" a Collector<X> and get a Collector<Collector<X>>. This seems like a dumb function, but it would allow you for example to feed different Streams to the "same" collector, by duplicating it before consuming a Stream, the taking the result Collector, duplicating it again, passing it to another Stream...

> duplicate :: Fold a x -> Fold a (Fold a x)

http://hackage.haskell.org/package/foldl-1.4.11/docs/Control...
I picked up the first book of the assassins trilogy on a whim, and ended up discovering, like you, one of my all time favourite fantasy authors.
C# Aggregate(..) extension method (linq)?
> you look at your process table and there's 40 node.js processes trying to compress every log file in the system all at once

This is what GP said, which is incorrect.
I've struggled, and am struggling, with the same thing. The only thing that helps me is to keep doing... something.

Also, talk to your wife about changing lifestyles if you haven't already. She might surprise you.
That's why I put it in quotes. Compared to the stuff I would do later, it was utterly trivial, but yes, I was writing what one might consider real programs, with multiple statements, branching, loops, and conditionals, at 5. It's not intended to be self-congratulatory at all -- honest. Only to give you a picture of what's going through a kid's head at that age.
They have $700 of mine. I deposited a cashiers check before account closure. They accepted the check then closed my account.

Now I’m being given the runaround as Simple said they’d look into it—didn’t resolve in time and now BBVA is taking over.
The Mythical Man Month was written in 1975.
We don't really know. It might be.

But the region we can observe is definitely finite.

What we can causally affect (light cone) is a subset of that.

And where we can travel given the Ultimate Technology is a small subset of the previous.
Yeah... I'd be hesitant to buy a whole book. This is one of the topics where some expositions are really bad, some are really good, and some people just can't agree on which are bad and which are good. I've always had best luck just pulling up 8 different articles and reading them in parallel, hoping it eventually sticks.

(Which I realize is the least helpful possible reply.)

The textbook Peskin&Schroeder is standard in this field. "If" you can find a PDF online, there's a chapter introducing gauge theories (the chapter on yang-mills) that has a reasonably clear explanation near the beginning, I think.
If people are interested in etymology, I highly recommend the youtube channel Alliterative which goes over etymological connections and teaches history through language.

It's a fascinating channel and very unique style of videos. Here's one of my favourites, on colors:

https://www.youtube.com/watch?v=TaDc5J2LD08
The concept of "cosmic neighborhood" is deliberately left a bit vague in my description, but it definitely doesn't mean the stars that were near the sun when the sun was born.

Rather, it refers to those stars which are within reach of us, now, in a timescale that is short relative to the typical interval between births of civilizations that distance apart. That could be anything from a corner of a galaxy to a galactic supercluster, depending on the speed with which civilizations can expand and the frequency with which new ones arise in the universe.

Note that if civilizations expand at sufficiently close to the speed of light, then there is only a tiny window of time between when their light arrives and when their colony ships do. So under this model, it is quite unlikely that a new civilization waking up for the first time would look around and see anyone. Most likely, either the light from those other civilizations hasn't yet gotten here, in which case we see nothing, or their colony ships have already gotten here, in which case we wouldn't be born in the first place.
1) Exercize

2) Healthy diet (low weight, appropriate vitamins preferably from foods, etc.)

3) Sleep well - 6.30 hours seem to be the sweet spot, some need a little more (the recent "8 hours or bust" is mostly bogus pseudo-science, which even if peddled by an actual scientist, is not backed up properly, since the data show otherwise).

- All three of the above boost congnitive skills, alertness, memory, etc, more than anything else. If you have some medical issues affecting the above (e.g. some condition), seek help, and treat them as well. E.g. you might need pills to focus. But take care of the above big 3 as a priority.

4) Read a lot. Mostly books.

On fields outside technical/science (where newer is better), try to read a healthy chunk of old ones too.

On scientific fields, read newer stuff, but also some of the classics (e.g. for IT, something like "The Mythical Man-Month").

For the fields you're interested in, don't go for summaries and lazy recaps, go to the sources. Cliff Notes helps you repeat the same talking points as anybody else. Reading the original material helps you form your own perspective (and, if the material is art, it's also a totally deeper experience). Shed the common tech/nerd prejudice that History, Literature, or Philosophy "don't matter".

5) Talk to people. All kinds of people. You don't only learn and get insights from Feynman or Buffet types, but also from a retired pilot, a plumber, a cook, a single mother of two, whatever. Some wont be insights about technical developments or scientific techniques, but will nonetheless be insights into human society, feelings, how the other half lives, and so on.

6) Don't try to master everything. Focus on 1-2 things, and try to get a general knowledge of others. Get personal experience with things you care about, not just theoritical.

7) Stress less. Excess stress (over things one should not stress about, rather than actual heavy problems of the moment) can kill cognitive ability.

8) Don't trust random eight point lists from random idiots on the internet. They could be right, but how would you know?
> When women entered the workforce en masse, everything seemingly doubled in price. Both spouses working to maintain the same lifestyle.

Gentle reminder that female employment was not 0. Depending on age, it was in between 35% and 39%. While it is significantly lower then male employment, the idea that no woman worked outside of house is a fantasy. They did earned less money then men and faced discrimination. But their salaries were important either to feed themselves, kids or generally add to family income.

Notably, Rosa Parks was employed and her unemployability after bus sit in was a big issue for her.
Yep feels forced like hell, no breathing room. Isn't it enough to be a team of two without holding hands all the time?
Yes, I meant ascetic. Lol. Not aesthetic.

Thanks for catching that.
No, that's perfectly fine. But where it goes wrong is in the assumption that it is 'common'. It isn't common at all to see the opposite either (not everybody wants to carry two phones around, not all phones are dual SIM).

The whole work/personal line is blurring more and more and our devices and thought patterns have not kept up with this. You could probably write one of those 'Things programmers assume about online identity' articles by now.
A Practical Introduction to NFTs Using Solidity and Legos
I quit my job when pairing was introduced. I was open to the idea when I read about it but hated the reality. Everything from working 12 inches from people who refused to use deodorant to having to explain what I was thinking instead of just doing it. Also all my tools, preferences, keyboard shortcuts, etc. were mine, committed to muscle memory over years, and nobody else's setup was the same. Didn't work for me.
I’d expect this would need to be like a heartbeat / dead mans switch, I.e keep flagging as up, and when you stop flagging, it’s considered down. Otherwise you would need a different status monitor to monitor the status agent…
Left Alone, Together
Improving Azure Service Bus Performance
Yeah, I have had similar thoughts that stress will get me in the end.
Europe now has 70 startup ‘unicorns’
I mean for the two types we know are transmissible there is a preventative solution. Don't eat dead humans, don't eat dead cows.

If CWD is another one to add to the list, add don't eat elk.

If you want to go really sure, don't eat animal products.
You don’t need negative marginal productivity after the 55th hour to see a negative impact of more than 55 worked hours a week. Things like exhaustion will affect you all the time and decrease overall productivity. So sure, you might still do some useful work after 55, but over the course of the week you’d do still less than if you worked 40 hours. There are caveats and exceptions as usual, but it is not as ridiculous as you make it sound.
The Fuel company in question apparently handles 40% of all the fuel in the NE sea board. So thats probably a problem.
Take time off, hike in the woods with no stress, eat very healthy, have sex, etc. Basically just be really healthy. Brain training exercises dont work. You can try to do new things, like learn to paint with your non dominant hand.
John Lennon once said that life was what happened to you while you were busy making other plans.
I couldn't find the link to the scientifically rigorous study paper on 'air-cleaning'.

Color me extremely skeptical.
Housing supply hasn’t decreased in london, but demand has.

Housing costs are driven by what people will pay, which is driven by salary, there’s always an option to not pay for housing in london - housing in Stoke is cheap, and not much further commute from Bloomsbury than say surbiton. Places like Luton are cheap and are a very respectable commuting distance, but people will pay far more for a house in Hackney
Not smarter at all, if there's no evolutionary pressure for it.

On the contrary, bigger brains can be a hindrance, consuming energy for no reproductive benefit.
> able to stare at code, walking through those complex patterns, for 6 hours a day, let alone the entire 9-5 time or the overwork hours

I can do that kind of deep focus, I just can't do it two days in a rows and expect any efficiency the second one, let alone a full week.

Truth be told, I somewhat have to do that due to some sort of mild attention disorder (I can't imagine what life must be like for those with a more serious condition).

Thankfully over the years intentional practice of a great deal of sports taught me that long term consistency is what matters, doesn't matter if I do things in bursts as long as I don't overexert and rest appropriately (and especially don't bash myself for it).

But that requires full agency over my work time, something that I took a decade to unlock via being remote: in a 9-5 office people can't help but wonder why you're slacking all day and dragging your feet in order not to straight up not turning up for work.

The feeling of wasting time and the judgemental attitude (both from others and myself) just made me feel miserable, even though overall I was outputting the work and then some.

I don't care about prestige, I just care about my well being, and not being disparaged.
Take a 1 hour walk outside every day.

Your 'wasted' hour will be given back tenfold.
I can't really articulate it myself why i think you're wrong in such a short format but I found two long form articles below that are relevant to our discussions.

https://www.lynalden.com/global-dollar-short-squeeze/

https://www.lynalden.com/inflation/
It looks to be the inverse of that. i.e. split a single stream of stuff so two different things can consume it. In python you'd do something like that using itertools.tee, though I think the java API goes about it quite differently.

https://docs.python.org/3/library/itertools.html#itertools.t...
Re-read the Assassin books recently afte revering them/Hobb as a kid. They're still good but I found plenty to critique this time around. Like, Fitz receives constant physical and emotional abuse from everyone around him but he remains ever loyal. It makes for exhausting reading at various points and his choices becomes increasingly hard to justify. Especially since those around him move on with their lives while he remains stuck: always agonising but ultimately never doing anything for himself. I also thought the antagonists were rather one dimensional haters, with not very interesting arcs.

Anyway! I don't mean to complain. These remain cherished books for me!
Making a mystery 'blast-proof' material
"I ask that you not have any expectations going into this. That way if nothing concrete comes of this, you will not be disappointed." Do you mind if I take a hit of this quote in my glass pipe?
Phd in unrelated field means nothing. Physics don't repair their own gas boilers, and civil engineerings don't plaster their own walls. Even if they have a lot of time on their hands and an interest in developing the skill, they still stuck compared to the person who does it for their day job. The physicist will probably kill themselves and their families. The pharma phd won't be able to build a service that's usable by multiple people simultaneously, with authentication, a sound database schema, CI pipelines. It's always gonna be a shitty collection of "scripts" when what they need is software. I think the point is that they have shitty scripts already. Also, who's gonna review their code? Is there even gonna be code review? Or version control?
One finance is close (so far) except that if I spend more than my spend pocket has, the charge is rejected it doesn’t pull from all pockets.
Again, stuff like that just don't happen. It's too inconvenient. How many major utility companies run such airgapped networks?

https://gca.isa.org/blog/common-ics-cybersecurity-myth-1-the...
DRM related too. I bought books on Kindle but recently trying to highlight and process my reading notes more. Turns out publishers can set an upper limit to highlights (e.g. 20% of the book) and just cut the highlights off randomly. Infuriating, and I end up re-downloading those books (and more) off of libgen so I know my highlights are reliable.
2008 (or rather, the lead-in to 2008) was a different case.

In that case the lenders were the ones who were the problem, and the borrowers were indeed using the money as disposable income (well, at least, to buy a home and other consumer goods on credit).

Whereas today the money goes from the printers to the rich people - not the common folk.
My Best Autohotkey Scripts
The Island Where People Forget to Die
Not in the U.K. average house prices in rural areas are far higher than in towns, as they are more desirable.
I stayed in a small town outside Chablis, France, many years ago. I rented a room above the only restaurant in town. There were a few businesses, mostly food-related and clothing repair. Everything just seemed slowed down. I watched a man in waders unload a dead boar he had just shot to the butcher at 9am. I watched two other men repairing brickwork on a foundation. I watched another woman tending a large garden, then go to work at a bar/restaurant. The stores were open for just a few hours. The shelves were free of random plastic trinkets and gadgets.

It just seemed like it was 1/10th the normal speed, somewhat Luddite... and every task seemed oddly fundamental.

I've also encountered towns like this in Spain, Greece, Austria, Mexico, Guatemala, Chile, Uruguay, Thailand and Cambodia.

After reading these comments, I would never have believed that so many small towns exist that seem untouched by 24-hour stores and everything cheap and on-demand. It sounds inevitable that everyone is eventually pushed into hyperinflationary always-working mode. But yet, these places persist. I might even chalk it up to depressed economies and "third-world" nature, but my samples include all sorts of economies.

I think we choose what kind of lifestyle we want, but it needs to be done at the community level. Without going all "we should all be farmers hippie dippy portland nature fetishist", it does seem like decisions have consequences and it is possible to steer away from hyperactivity.
Yeah, it’s impossible to know why this guy had a series of strokes. It could be genetics, diet, other lifestyle factors.

He might have had a genetic predisposition for high blood pressure or other contributing factors that can lead to strokes.
The Ecosystem of Shopware 6
It seems he did succeed in changing the User-Agent.
After reading the following thread[0], this article came to mind.

[0]: https://news.ycombinator.com/item?id=27099969
He said it didn't come to the Fore when he googled it.
I think you're underrating heterogeneity.

Not all people will agree that Tao's exposition is unclear. I linked it precisely because I found it more clear than other, "more physical" explanations (as a graduate student in physics, not math). When I was trying to understand gauge symmetry, it was that article that finally made things click for me. And, of course, many people I know would disagree, and point to other expositions as superior. That's the point: different people will not agree on what is well-written and what is incomprehensible.

You state "even pure mathematicians use numerical reasoning while trying to reason about a subject". Yes, some pure mathematicians do. Others use graphical reasoning. Others tend to lean purely on algebraic manipulations. Others tend to "reason" by analogy. And I'm sure there are other modes of thinking with which I'm too poorly acquainted to name. The result is that it's perfectly reasonable for people to disagree, quite strongly, about what is comprehensible and what is not, particularly people coming from different intellectual traditions.

It's a tangential nitpick, but I can't resist:

> [...] novella length explanation

As an undergrad I wanted to learn differential geometry, so I went to the library to pick a diff geo textbook. Well, I didn't want a difficult one, so I decided to pick the shortest book I could find --- surely that would be the easiest textbook to read? Haha.

As far as I'm concerned, the length of Tao's explanation is a strong merit.
He wasn’t exactly on the paleo diet... his diet seemed to be missing some things he could have gotten more than one way.
> He is saying it doubled after women joined the workforce. Not that it has doubled over the past half century.

But it did not doubled, because such proposition assumes zero female labor participation in 1950 and that was not actually the case.

Also, the healthcare costs and education costs went up significantly. Yes, there is more space, because space is cheap in suburbs. In a lot of ways, the gains are something I would happily gladly trade for cheap healthcare or college.

Plus again, if you live in suburbs which were build and poplar only after 1950, the two cars are necessity. Because otherwise one partner is stuck at home without even being able to go shopping or take kids to school. In places with good public transport, the second or even first car is luxury. In suburb, you are way more pressured to have it.
I was convinced this article was about the experience of being in your 40s, until I got to the end.
At least for public services in Canada, it is. Which serves as as a deterrent since attackers are guaranteed to _not_ get money. Also whips management into more than CYA-and-wait IT security.
Applying a FIR in frequency domain faster for 1D filters longer than some very small number, usually 7-16. The old school graphics and audio filters are shorter sure, but they are also horribly bad compared to what you can do with a designed filter in the 20-40 range.
Python's built in `shutil` package generally does a good job of covering the kinds of tasks you would use shelljs for.
I think you meant to comment on another post?
What you're saying is that prices can be expressed in nominal terms (i.e. in units of some currency) or in real terms (i.e. in units of some other good or service, for example, "hours of work"). The same applies to returns, there are nominal returns and real returns. Changes in a variable expressed in real terms exclude the effects of inflation. [1]

Then you argue that the dollar is a pyramid scheme because people only want dollars to buy things that have real value. It's true that people only want dollars to trade them for other stuff, but, again this is not what a pyramid scheme is. All mediums of exchange that have no intrinsic value are only wanted in order to exchange them for other stuff. A pyramid scheme is not that, a pyramid scheme is an investment scheme in which all revenues come from the investors themselves. [2]

Cash cannot be a pyramid scheme for the simple reason that the revenue streams of an investment in cash add up to zero, and therefore it's not something that an investor would consider investing in in order to earn a profit. Therefore cash is not an investment scheme, and something that is not an investment scheme can't be a pyramid scheme.

[1] https://en.wikipedia.org/wiki/Real_versus_nominal_value_(eco...
[2] https://en.wikipedia.org/wiki/Pyramid_scheme
Crohn’s Disease, Legs, Healing
Great investigating!

Given that the ICANN process is potentially long, the dotStatus software, infrastructure, and business-ing can be done in parallel.

And, have a backup/iterim plan of using a different domain name scheme. (Though `.status` would be awesome, and perhaps even -- dare I say it -- unicorn-scented?)

Whoever gets the funding for the dotStatus startup should bring on all the rest of us as advisors. :)
Definitely! I only didn't respond the rest of your comment because anbende did so better than I could.
Yes! Weightlifting is probably the number one best thing you can do for your body.
Yeah, onions count but I guess I was thinking a variety of veggies. When I eat some onion I don’t feel the sense of hey i think it would be awesome to eat a whole onion every day but everyone has different preferences and I try not to judge people for their tastes.

So I guess I was thinking more like a variety of veggies that presumably as a farmer he could grow if he enjoyed veggies. This guy had a clear idea of what he liked and went with it.
I’ve never subscribed to the cult of overwork. In fact, I subscribe to the cult of maximizing my hourly rate. If I receive an salaried offer, the first thing I do is take into account company culture and the amount of guaranteed PTO (can’t stand the whole “flexible” PTO thing—always felt like a great way to peer pressure people into not taking PTO) to try and accurately calculate how many hours I’ll work in a year and then divide my base yearly salary by that.

E.g.

Job 1: average 40 hrs/week, 30 days PTO, yearly salary $100k

Job 2: average 50 hrs/week, “flexible” PTO, yearly salary $130k

The maths:

Job 1

40(hr/wk) * 52(wk/yr) = 2080(hr/yr)

2080(hr/yr) - 240 hours PTO = 1840 hours worked per year

$100k/1840 = $54.35/hr

Job 2

“Flexible” PTO is a tough thing to estimate, obviously, but I’ll be generous and assume one takes 20 days.

50(hr/wk) * 52(wk/yr) = 2600(hr/yr)

2600(hr/yr) - 160 hours PTO = 2440 hours worked per year

$130k/2440 = $53.28/hr

So there ya go. Even with a 30% pay “increase”, overworking yourself as a salaried employee at Job2 ends up earning you less per hour than the salaried position at Job1. Obviously, there are all sorts of fair arguments for what _potential_ benefits you might reap from putting in those extra hours, so it’s entirely personal whether it’s worth it or not to you. Depends on how valuable 600 extra hours per year of free time is to you. For me, it’s Job1 999 times out of 1000.
What Is WofCompressedData? (Windows Overlay Filter)