skysight-inc/HackerNews huggingface dataset:
Being pedantic: This isn't true in Haskell, because list comprehensions can use pattern matching, while map+filter can't.

heads :: [[a]] -> [a]
heads xs = [y | (y:ys) <- xs]

-- heads [[1],[],[2,3]] == [1,2]

Doing the above using maps and filters looks very different:

heads' = map head . filter (not . null)

Python doesn't really support Haskell-like pattern matching, so the above doesn't apply.
https://archive.ph/MdXWI

Good for them
If he doesn’t have a mechanical keyboard yet, you could consider that. Keep in mind, you’d have to do a fair bit of research. There are obviously plenty of gamer options off the shelf, but I’m thinking something more boutique with a great looking keycap set.

Devs spend a lot of time with a keyboard and they will last a decently long time so imo it could be a meaningful gift.

I’d highly recommend checking out the mechanical keyboard subreddit for inspiration.
I haven't been able to really breathe through my nose my entire life. I've really never had any negative effects from it. Not cognitive (that I know of), top of my class, now a SWE. Not dental, haven't had a cavity in 40 years. Not physical, I used to run track in HS/College and often got on the podium. Nor illness, I haven't had any sinus infections.

It's possible I just don't know what I'm missing, but (highly anecdotally) I haven't felt I've suffered having to breathe thru my mouth at all. Maybe it'll take me out when I get older, but I also don't know the difference.
Cavotec and Brugg EConnect Present 3 MW MCS Connector
You are making the assumption that there's some formal deal for $250k total. I don't think that was ever the case. My guess is that in these negotiations, you tell the buyer that you sell in packs of 6 for say $41/case. They run their numbers and come back to you saying "okay, we have all the info we need and we are going to take 6000 units and the formal POs will come over the next few weeks."
Posted on another comment. But we do escape rooms. breakoutgames.com we just use stripe for online bookings. Been customers for 6+ years with stripe consistently.
You mean Japan, not the US.

https://www.reddit.com/r/japanlife/comments/zt9ra1/why_is_it...
I don't have kids but am a bit conflicted with the desire to limit their screen time too much (reasonable limits are fine).

Tech is their world, that's how they communicate, how they get their information and entertainment. For people who know how life was without the internet may feel like it is addiction, that it is "untrue", that nothing is better than face to face, that constant stimulation is bad, etc... But what if it is our problem and not theirs, that we have trouble adapting and are simply projecting our trouble to children, when themselves have no problem dealing with the situation.

I mean, late GenX to early millenials lived their childhood in the world of TV, which is worse than what we have today in many ways, and they are fine! I trust children of today, they will make something great, and we will get lost, like the old geezers we are starting to become.
But it's not AGI.
Thank you. That was the point I was trying to illustrate.
Prior to nrp's response I was going to say "standard"? I typically start with a Ubuntu release, run a script to turn off/expunge snaps, remove any network items systemd touches, add tools I always want, and then add LXDE as the desktop environment. Anyway I didn't have any issues.
You're changing 'specified' to 'known' there, and that's breaking it. 1/7 can be specified as a decimal number (as "0.142857..."). It's an infinitely long string, but that is a complete description of the contents of it.

sqrt(2) is known (you can calculate it to arbitrary precision) but cannot be written as a decimal number, even with repeating-digits shorthand.
If your company has a reputation of not standing behind its products, selling is going to become harder, and more expensive, and your margins will go down. This is hard to measure accurately (people try with NPS, but that’s fraught with bias), so it might be hard to argue for spending more on customer satisfaction and a good reputation, if your org is trying to be metrics driven rather than intuition/principles driven.

So basically, blame the MBAs :-)
> It turns out the answer may depend on whether your priorities lie with your personal health or the health of the planet.

This article never addresses the environmental claims beyond this introduction. It focuses entirely on the human health impact.

> The bad news: Meatless burgers are heavily processed and high in saturated fat

It's worth knowing the definitions of "processed" and "heavily processed", rather than simply reading "processing" as a bogeyman to be feared.

• Processed foods: Added salt, sugar, and/or fats

• Heavily/ultra processed: Artificial colors, flavors, and/or preservatives

That's all there is to it. Bread is processed. Putting salt and pepper on your steak is processing. If you drop some food coloring into the icing for your Christmas cookies, they're heavily processed.

https://www.hsph.harvard.edu/nutritionsource/processed-foods...

Now, I'll grant that these meat alternatives have a truckload of sodium, in the ballpark of 20%+ of your recommended intake. And while the subheading complains about the saturated fat, the following paragraph admits that Impossible and Beyond are both comparable to a typical beef burger, then argues for minimizing saturated fats. That's not an unreasonable course of action, but I think there's a disconnect in claiming that they're high in sat fats when the context is a comparison against the traditional burger—in that arena, they're neutral.
It's two years since this was posted, and the amazing news is that we now have not just one but two projects implementing text layout in Rust that look like they might be viable:

- https://github.com/pop-os/cosmic-text/ - which is still has a way to go but already complex scenarios involving asian and arabic scripts, which is impressive considering it's only a couple of months old. This one is backed by System76 for use in their new desktop environment

- And https://github.com/dfrg/parley which looks abandoned but is already impressively complete and the author has signalled they intend to revisit at the start of this year. This one is being used in the Druid toolkit mentioned in the article (and it's successor Xilem) and also the text editor https://github.com/lapce/lapce which is based on that toolkit.
That's a great way to have infinite Not Invented Here (NIH) syndrome.
I am not a fan of async/await paradigms.

It is yet another example of making easy things easy.

It is not hard to write non blocking code. No harder than remembering to insert a keyword "await".

Event loops are very useful, I agree. I just do not see how a new syntax makes them "easier".
How Not to Play the Game
I like C89 for its simplicity too but after using the Jai beta for over a year I have a hard time seeing myself ever going back.
When your money or revenue is put into an account with a US American payment provider, then the money is theirs, not yours. Any and all reasons and excuses to keep them are fair.
All those use dozens (hundreds?) of other tech for product too.

How is this an answer to the question?
Oh, no, there is definitely some questionable overreach in regulations, the most known example to the outside is probably just how shittily the "cookie law" was written, good intentions with law that made the intentions irrelevant as implementation just trained users to click the stupid button and get on with their day.

And stuff like pushing for EVs before infrastructure is there, all while planes are fine and dandy to run on fucking leaded fuel...
Pandemics are really very good for public health funding! (this is a joke)

In seriousness though, there's a strong evolutionary incentive that acts on organizations to not eliminate their raison d'être. Perhaps gain-of-function is some version of that because it ensures that there's something to do even when there's nothing to do.
I remember searching for this a while ago (I did not investigate them further) :

https://github.com/TeehanLax/Hyperlapse.js

https://github.com/jblsmith/street-view-movie-maker

You can try your luck with a YouTube search (tour...). I doubt this will work outside touristic locations.
AI Reading List
I guess it depends upon the type and size of the job in question. A lot of my work is invoiced upon commitment or completion, and in some cases (as with Unilever here) it's simply decided that their terms over-ride that on my invoice somewhere after the event.

I tend to disagree with that mentality.
Some of the international power links are HV DC now; is there any opportunity to do the same inside large countries to avoid some of the largest transformers?
From my limited outsider perspective, it appears like there are way more CPU and FPGA startups than GPU startups - why is that when GPUs seemingly have lower barriers?
Is.. there still no C++/Qt client? (waiting to join for a few years already)
There are plenty of interesting C works out there, as well as data structures or algorithms that C can express elegantly.

Small example, linked lists. I don't think non-C linked list code tends to be as straightforward as I've seen in C.

Or the character-at-a-time style of string processing. It's kind of unique to C.

You can say there is stuff about that you don't like. That's fine. Linked lists suck with modern CPU caches anyway. C strings have lots of misadventures in terms of buffer overflows. But it's unique and interesting. Lots of elegant things have been written this way. Your unfamiliarity with it doesn't make it "a joke" to point this out.

I have my own gripes with HN. Try mentioning politics and it brings out all sorts of fascist-sympathizing crazies. But saying good to neutral things about C (while not even universally praising it) is not one of those issues.
I’ve been using Kagi as pretty much only search engine on desktop for several months and I’m happy as well.

This is how paid versions of free services should be. Time is valuable and I’m easily distracted - one interesting ad/link/snippet can take me to a rabbit hole. With Kagi my feeling is that there’s less of these distractions.

This is also something I dislike on YouTube. I pay to get rid of ads, but still they employ the usual trickery to keep me on the site as long as possible.
That's for the next manager or CEO to worry, you get your bonus for saving corporate money then move in.
If I understand your proposed experiment correctly, it's not at all suitable to demonstrate the question determines what cards come up.

What your experiment would do, if successful, would be to provide evidence that given a set of ordered Tarot cards, experts agree on what is the interpretation [1], that is, that the interpretation itself is not random but it derives by well known rules from the set of cards. Note this has nothing to do with showing the cards were in any way influenced by the question!

[1] this would be big enough, since we know no two Tarot readers agree on the interpretation of any set of cards, so I expect the experiment would fail to demonstrate there's a deterministic interpretation.
Why would you hope to not involve lawyers in a situation where someone has taken $400,000 from you?
I checked out your website and noticed you have a non-U.S. location (in addition to your U.S. locations). Whatever triggered the hold is probably related to some sort of international transaction that Stripe has flagged as fraud.

I say that from experience with Stripe...
The reason for the interstate trucks is the taxation system that punishes railroads for owning their right-of-way. The trucks cause by far the most damage to the highways, but taxpayers subsidize that with the gas tax. Trucks also do not pay property tax on the highways.

Long haul freight should be done by loading the semi's trailer onto a flat car, and picking it up near the destination.

Another myopic government decision is to try to replace the diesel trucks with electric ones, you know, for the environment. Far better for the environment would be to do away with long haul trucking and use freight trains instead, which are far more efficient. Trains also do not spread tire and brake dust all over the place, either.
I think for a large part of the population getting in a car with a stranger is fundamentally not a trustless activity, and no combination of tokens, hashes, customer reviews or market forces is going to make it so. Even more if the driver is anonymous apart from an address in a blockchain.
Those who don't understand system's history/structure/constraints are doomed to re-implement it... Badly.

See: C++/Java OOP implementation.
Ok, so there you go. The video response was to Greta, after his initial unwarranted 'attack' upon her.
Very cool! Makes me wish your solution was integrated into OP’s app (or vice-versa). This looks like the future of clean, customizable online content consumption.

One feature I would like to explore more is making algorithms completely customizable (as an advanced option perhaps). I.e. allowing changing all params manually in addition to being able to use your presets.
There are plenty of statically-typed languages which are a bit further along than 'a good start'.
It's why the legs are loaded server-side.
It might be legit, but that doesn’t change the fact that HN is rapidly becoming the defacto escalation point for failed customer support; and while @dang hasn’t yet set a policy around this, it’s not really in the spirit of the website.
Another anecdote... People think my dad was nuts for letting me drink a beer here or there growing up.

It was always in moderation. Typically only one drink, maybe two spread out over lots of time if we were fishing. He talked openly about keeping drinking in check. He even addressed alcoholism in our family history, admitting to keeping a close eye on his consumption due to those predispositions; stressing that I'd have to watch it too. Since I was a young kid who felt privileged sippin' on a Highlife I listened closely taking a lot away from those conversations.

Fast forward to HS/college... never drank in HS because it was primarily only losers who would drink at the time... and in college I was always the party nurse or DD because I wouldn't drink to get drunk - I just didn't see the point. Dad had took all of the novelty out of it for me.

---

Kids who come from overly strict or controlling parents often have behavior and moderation issues once leaving the nest. Your #1 goal as a parent is to engage them and teach them how to navigate life in careful and healthy ways vs. trying to outright control their behavior. Hard truth is you're not always going to be there - my dad died when I was 14. Being an authoritarian doesn't give your kid a healthy mental framework to help them through life's complexities, you're only teaching them to be afraid of punishment and consequences.
The last time I saw a post about Stripe holding money, it turned out the guy was selling a car via his cell phone accessories business.

So, double check to make sure you didn't do anything stupid.
manipulating customer support to actually providing customer support seems pretty genuine to me, regardless of the reasoning
There's a 2018 book of interviews of many well-known researchers where they're asked about future prospects: http://book.mfordfuture.com/ (list of interviewees on that page). The actual interview dates weren't specified but don't seem to be earlier than 2017, in my reading. Almost all of them greatly underestimated progress up to now, or refused to say much. (I'm hedging a little bit because it's a year since I read it, and memory is fuzzy.)

Shane Legg of DeepMind wrote a blog post at the opening of the 2010s where he stuck his neck out to predict AGI with a time distribution peaking around 2030. He thought the major development would be in reinforcement learning, rather than the self-supervised GPT stuff.
It wasn't on that account though.
> It's a little presumptuous to assume the teams and developers using Go are lying to themselves about Go vs.....

I think it is a bit naive to think that these sorts of decisions are made by competent technical people.

In my experience these decisions are made by managers that have "Peter Principled" past their competence.
That's why it wants to be free. To survive by being copied and adapt by being freely built upon.
Agreed! I assumed that that would be a more advanced feature but definitely would want that. Local timeline RSS should be an easy change (note to self: time to contribute!).
Given the docking station is basically a USB peripheral that supplies power? Being able to unplug and replug USB peripherals while asleep seems like a reasonable expectation to me.
Another form is 6phi²/5 - pi = 0.000048.
since that wouldn't be illegal if there was no payment processor involved, that doesn't sound like its stripe's role to be involved with

stop putting paranoid financial services on a pedestal
In a sense that both browsers are forks of Chromium.
SQL queries are sequence comprehensions!

Python comprehensions in particular are unfortunate because the flow of the query, like in SQL, is not linear - the projection part is written first, but happens last. Thus, reading a non-trivial query requires moving back and forth to resolve the references.

Compare that to C# LINQ, which is also a kind of sequence comprehension. That one not only has linear syntax where the data flow in the query is strictly left to right, but it's explicitly defined by mapping it to functional pipeline style. Thus, it ends up being a strict improvement on the latter.

(Another example of "good" sequence comprehensions in this sense is XQuery FLWOR)
What conspiracies are you talking about? C won because its compiler was widely available for free. That’s pretty much a fact. Pascal was indeed a superior language but limited by the proliferation of extensions, paid compilers and its compiler performance.

I’m not even complaining about the semantic richness of C. I’m just stating the fact that it doesn’t really have semantic richness. Then again don’t get me wrong. I do think C is a terrible language and I say that having worked on a C static analyser. It’s full of avoidable undefined behaviours and silly sharp edges.

Thankfully, nice languages with rich semantic exist. I was just pointing some I don’t like to separate the issue of semantic richness from likability. I enjoyed working in Ada a lot. Ocaml is awesome. I have never used Rust but from what I have seen that seems nice.

Semantic richness is useful because it helps programmers express what they want to do in way which are clearer and therefore more likely to be correct.
As China pushes its digital currency plans, the US falls behind
What do you mean? Tamagui is only concerned with UI. Data and state management live in the react world using hooks.
There is another comment on here that says

> Perfect for observing birds, planes, double stars, nebulae, satellites, and planets. I can't resolve Saturn's ring, but Jupiter and its moons and the Hercules cluster are not to be missed.
Things that I would like if I was moving out and getting setup. Not particularly CS degree / job focused, but I would hope either interesting or useful.

- A nice ubiquiti access point (wifi router).

- Smart lightbulbs (nanoleaf) / other cool home automation.

- A nice mouse/keyboard (but this is very much personal preference)

- A good waterbottle / fun coffee mug (can never be too hydrated)

- Basic home fitness equipment (yoga mat/exercise wheel/etc) if they work from home

- Balance board if they use a standing desk

I would personally not do something learning related. Companies usually sponsor pluralsight / oreilly memberships.
Well what would you do if it was your $400k when you know that they look here. If this is the only place that the higher ups actually communicate then this is where they need to see the issues with their company.
Man, reading this format does not make me miss forums.

It's easy to opine for the "internet of old", but I for one do not miss having to post a car problem to a Ford Escort message board and maybe getting an answer after 3 days of being told I am an idiot.
I always thought it was to help with traction during winter... They are only present outside the city afaik.
Fast Parsing HTTP Verbs
Plus very fast compile times.
No outsider knows if Falcon reuse is economical. SpaceX keeps on raising money (they have a lot of going on, so that’s not surprising) and without insight into financials we don’t known if their launches are subsidized by VC money.
Did you do something bad? like money laundering or create a business that Stripe doesn't allow in their TOS?

If not, I don't understand otherwise why this would happen.
A clarification: Druid proper uses the text layout capabilities of the platform (DirectWrite on Windows, Core Text on macOS, and Pango on Linux), while Xilem does indeed use Parley. Lapce uses a fork of Druid that, as parent states, uses Parley for text layout.

It does look like a very good year coming up! I'm writing a reflection/wishes post as we speak.
Replit for Startups
Curious to know if anyone is using Replit as their main IDE/production code for their startup?
"I don't have kids but am a bit conflicted with the desire to limit their screen time too much"

What you do in moderation your children will do in excess.
it’s absolutely their fault in many ways, I don’t dispute that, but I absolutely dispute the idea that this must be a grand conspiracy to trick people into buying coffee with an impossible story.

They were dealing with a broker who is responsible for getting a deal done, the broker has no investment in the intricacies of the deal, so it’s totally plausible that the broker was saying whatever was necessary to get the deal done even if that meant providing ambiguous information that could have confused a naive supplier.
Everything bad about that is at least partly the result of MWAA's ownership and operation of the road; it's an airport authority, not a general public transit authority.

It's by n mean the only issue though; A study of the silver-line construction could be a masters class in how boondoggles happen.
people are dogging on you and clutching pearls, but this is really cool and cute. I strongly agree that quality of screen time is an important, oft-neglected consideration.
Because one of the most common themes on HN are Stripe complaint posts immediately getting the attention of Edwin? I recall Patrick being more active on product announcements / otherwise positive news. I appreciate their level of reactivity here, and the truth is complaining on HN really does eyeballs on problems where their internal processes seem too broken to help.
Just to make sure, I am not the same person you originally commented.

I just wanted to add my 2 cents and tell that Tarot can be something else than what people typically think it is.

It is not scientific and I am not claiming it is. But I think science in these fields is not scientific either —- that is what the replication crisis implies.

However I find interesting that your preconception of Tarot seems so strong that you believe I have somehow taken something a friend suggested at face value. Nothing I wrote suggests that.

Tarot cards do not have to be scientific to be useful. Would you be against Brian Eno creativity cards that just give you a suggestions on what to think, such as ”What to increase? What to reduce?”

Hopefully we can both agree that such cards can be useful when stuck with a problem and you need to invent new ideas. Do you need scientific proof of them once you see that it obviously works? Tarot cards can be used in very similar manner.
There's no way the cache thrashing of walking a trie would cost less than the integer compares the author used.
This is pointlessly incorrect and unhelpful.
Using a side-channel to get your problem solved sounds like legit hacker spirit imo.
All I can help with is an upvote. Payroll = jobs / lives / mortgages / kids / health etc etc affected.

I hope it gets sorted out ASAP.

Stripe and others, up your game.
I’ll try this tactic the next time my wife asks me to do the dishes. Will report back.