skysight-inc/HackerNews huggingface dataset:
I'm not sure how much Windows was directly influenced by the work of Xerox and not by Mac OS (also considering MS was basically on board on the Macintosh from day one).

Let's say Apple paved the way for Microsoft in terms of economic viability of a GUI ;)
That's six coffees to get you something relatively unique.
Wouldn't it be easier to fix whatever issue is causing your server to be on fire than spending non-trivial amounts of time poring over logs?
I too love the food at Dishoom, but they're lack of table bookings and food delivery makes things difficult.

Every time I want to go there on a Friday/Saturday evening there's always a massive queue outside.
> I am wondering if that is because the population as a whole goes vegan/vegetarian (which I doubt),

At the moment, the number seems to be more around 10%.

> or if they are one of the few producers offering a wide range for vegetarians, and so they get all the vegetarians as customers.

Yes, mainly this. They have a big focus on vegi-products, were building the market in the past, but were also cannibalizing other producers and products. But still, the market grows, people are more often buying replacements, going half-vegetarian and such. But we have to see whether this sticks. The market is still very dynamic, with new products coming every some months and old products changing from time to time. At the moment there is big hype with many companies going into the market, but not all of them are that good.
This sounds weird to me, it was a surprise to them that biodegradable packaging biodegraded?
And to find out of you have secrets that other people could use to get leverage over you.
What happens if you plug USB-A late 2008 aluminum Macbook into USB-microA Panasonic DC-FZ82?

It will show your photos.

What happens if you plug USB-C Thinkpad T480 into USB-microA Panasonic DC-FZ82?

It will show your photos.

What happens if you plug USB-C 2022 Macbook Air into USB-microA Panasonic DC-FZ82?

Nothing. It won't even show in `/dev/` and you need to use an annoying and shitty app over stupid Wi-Fi.
I find so much whitespace to the left tries to grab my attention and makes it harder to focus on the content.
It is unfortunate and it looks like it was a very interesting project, but I have so many questions. How come they looked at the data just now when they “collected enough” and not along the way. Quality of data and mis-labeling issues is something that would be apparent right away, no? What kind of “data quality” we are talking about? Is it raw waveform data? This has the ceiling of 44 KHz and pretty much everything is very close to it. Quality of existing labeling?
https://www.statista.com/outlook/cmo/food/meat/meat-substitu...

The size of the meat-substitute market in the UK appears to have grown steadily to about 1.5 billion quid.

With the UK beef products market hitting around 4.4 billion quid, I'd say that's pretty sizeable.
Let me know when it can caary weapons and kill 'the enemy ', the I'll start caring.
Breaking the Snake: How Python went from 2 to 3
I have some sympathy for the dating problems of women but I have less than zero sympathy for the dating problems of any woman who is young/attractive enough to be hit on when out and about. You are the seller of what is fundamentally a scarce resource. To the other ~80% of society (i.e. basically all men as well as the large fraction of women) this just comes across as a first world problem.

>even that some forms of PUA are actually blatantly sociopathic.

It of says a lot, and none of it good, that adopting sociopath behaviors and then spray and praying them is an effective way for men to keep the big end of the sales funnel full.

>A lot of them are pretending like they have some special insight beyond the fact that they a.) are conventionally mostly attractive b.) are at least a tiny bit charismatic c.) had enough self-confidence to try doing literally anything at all.

The pool of women that will entertain the idea of sleeping with any given man is small. The pool of men that will sleep with any given women is large. Women don't need to put any effort into identifying this pool. Men do, that's what all this spray and pray PUA crap is about. Men need to identify this pool before expending any filtration effort on other criteria. And at the other end of the funnel pool of women any given man is compatible enough with is large. Women have a much smaller pool of men they're compatible enough with so they try to filter by this first, much to the chagrin of every man who has to deal with it (the same way you're annoyed by getting hit on by men you're not interested in).

Oh, and I hope you noticed the perverse incentive for both men and women to fudge the things that are under their control in order to pass the filter of people who are otherwise out of their league or incompatible...

Thank god I'm not single anymore.
I find the old width fine. The font size was too small, I adjust that locally, but the length was ok.
But this works:

$ sed -e 's/foo/FOO/' -i 'ip.txt'
Hi Shawn, I love reading your content.
Maybe "teacher" is a heavy word to use. But I definitely enjoy how you deliver things, and more importantly I take action from it.
Thanks!
Nice, I hope you won't get an avalanche of comments here by grumpy old devs that are afraid this will somehow mean they'll have to learn something new.

I think it's great to look into possibilities of doing things in a better way, even if the majority of people think the current way is the only correct way.
> I don’t know the size of PP(n)

There’s a bit of a subtlety here, which is that the formula evaluates to zero whenever the partial partition contains a singleton. For example, the partial partitions of {1,2,3} are:

{}
{1}
{2}
{3}
{1, 2}
{1, 3}
{2, 3}
{1, 2, 3}
{1, 2} | {3}
{1, 3} | {2}
{1} | {2, 3}
{1} | {2} | {3}

but most of these contain a part that only has one element. For example {1} | {2, 3} has the singleton part {1}. Only five of them have no singleton part:

{}
{1, 2}
{1, 3}
{2, 3}
{1, 2, 3}

(In fact all five of these consist of just a single part, but that’s just an artifact of using such a small example. If there are more than three elements then we can have things like {1, 2} | {3, 4}.)

In general the number of partial partitions of n elements that have no singleton parts is the n’th Bell number[0]. The Bell numbers grow much more slowly than the factorials, but still much faster than any polynomial.

[0] https://en.wikipedia.org/wiki/Bell_number
Telling your inner critic to chill
I have strong beliefs, you have an opinion, he is editorializing.
Why would it be easier to deport someone for lying on a form rather than for being a terrorist?
Open source != open contribution or project

The most well known project following this is SQLite.

There are many reasons to do this:

- ensuring that the copyright is fully owned

- ensuring security by reducing the likelihood of someone submitting secretly vulnerable code

- not wanting the overhead of running an Open Source Project

- wanting ultimate control on the architecture of the tool

- early stage of a rapidly changing codebase

There is a danger that "gate keeping" the concept of open contribution == open source, reduces the motivation of people to open source their code.

All open source, no matter the contribution policy, should be applauded.
I should have written Eastern Germany, it was long after unification and there were smart phones involved (but in the US security apparatus, Eastern Germany may still be suspect).
Still in the early stages of development with code changing rapidly. Not sure if it would be the best idea to get other people working on things at this stage, but I'm open to suggestions!
This scenario is neatly summarized in the children’s book, This Moose Belongs to Me.

(1) https://www.abebooks.com/servlet/SearchResults?sts=t&cm_sp=S...
The minimum k is the denominator of the supposed irreducible fraction p/q=sqrt(2). He is stating that then there is a different irreducible fraction r/s=sqrt(2). This is because you would have

p^2=2q^2

with p and q mutually prime, which is impossible.

Instead of irreducible fractions with coprime numbers, he is doing the “dual” using the minimum possible value of the denominator.
> I wouldn't take driving advice off someone that hasn't driven for 10 years, even if they passed their test.

That's a faulty analogy. The equivalent would be getting advice on alternatives to driving from someone who no longer drives.

I don't think I'd request advice on the best form of public transport from someone who drives everywhere and has taken the train once or twice.

> The meat eater has less agenda

Ha! Really? Everyone has an agenda. Meat eaters / car drivers / vegetarians / non-drivers have all emotionally committed to their decision. It's naive to think otherwise. Everyone likes to assume their choice is the sensible one and the "other side" has an irrational militaristic agenda.
Something I like to understand:

Is every single movement pre-programmed? Or does the Atlas interpret more general commands, such as "move to point b, grab rectangular object a, move to point c, throw object a to position d"?
That's way too short for me. Somewhere between 120 to 150 seems a good minimum, 200 or maybe up to 250 are much better maximums, maybe even a bit higher. I lose my place easily when I have to change lines so damn much.
I am not so sure about that. In Spain we have also seen a remarkable increase of vegan offerings, with even the smaller supermarkets having a good selection of vegan food and vegan precooked dishes. However, I have barely seen anybody ever buying those. So, I can't tell if that increment in supply is a response to an increment in demand by the consumers, or those companies are burning money fast hoping for a market to appear.
I think you are correct in the approach to see if the individual themselves, on a case by case basis, can give well thought out reasons for their choices.

But there can be a lot of fatigue in software process and tool selection, because it can be so opinionated and change from year to year quickly. I think it's the lack of good scientific studies of processes, and the immense difficulty of constructing such a study, which often leads "the best way" of doing something, to be based on personal opinions and sometimes, whatever is popular in the community at the moment.

Sometimes I think that the quality of a product, really only depends on the quality of the individuals making it, tools are just a means to achieve the goal, as they can be made malable. But I digress, it's not so simple.
You're mixing two different concepts. One is how to design a graphical gadget, which is a problem for front-end art work. Another is how a boolean variable should be implemented, a problem for your back-end logic. Computer-engineering ancient wisdom says always use positive logic. If you have a choice, never label a boolean something as 'disable', always 'enable'. Use positive logic, avoid negative logic.
I ran into a similar issue with thunderbolt and two laptops. Laptop A was being charged by a usb-c dock, I plugged laptop B into laptop A via thunderbolt (for thunderbolt bridge networking). And laptop very slowly drained power in the battery but was running off of the power from Laptop A.

Then I plugged laptop B into it’s own USB-C brick (on the same surge protector), and nothing happened other than it took me a quick second to think if it was okay to do.
Which knowledge base software has the best search?
Many people get a rash when a viral illness (epstein barr comes to mind) is treated with amoxicillin. This is not an amoxcicillin allergy.
My fear of mission out is being overridden by my fear of buying the obsolete technology at an inflated price a week before they start making the good version that actually works!
*upvotes in European *
Fucking hell, i was eating vegan sausages 30 years in the uk...
Absolutely spectacular.
The diversity of marine life is nothing short of astounding. More deep sea missions!
Yeah. My father didn't do secure work, but he was an immigrant to the country where I was born. As part of the immigration process, he was asked whether he had ever been arrested (maybe it was charged, I don't recall and he's long gone so I can't ask). He said "no". In fact, he had been arrested as a pre-teen for stealing an idling tractor and joyriding in rural post-war England. Immigration authorities don't care that a teen went for a joyride on a tractor. They care that he lied. Took a bunch of lawyering and paperwork to resolve the issue.

I guess fundamentally the distinction is "if they can catch you, tell the truth, and if they can't, make yourself look good", but I guess it can be hard to know.
Let me get this straight. You are saying that Google and Apple, in coordination with Bytedance, have introduced code into their operating systems to specifically permit apps signed with Bytedance's signing key to access these APIs without requesting permission. And that they must have done this in an especially sneaky way, given that, at least in the case of Android, the java layer of the code running on your device is trivial to inspect and the entire platform is available as open source. And absolutely nobody has noticed this, despite it being not an especially difficult thing for a security researcher to find (TikTok would need to be accessing an especially strange API since the ordinary APIs do checks in the java side on Android).

And Google and Apple are doing this because... why? Is Bytedance paying them a shitload of money? Are their CEOs secret CCP plants?

If you are concerned about this, how would even refusing to install TikTok protect you? After all, Google and Apple could simply collect the data directly in the OS and send it to Bytedance themselves.
And all of those things aren't enough, as demonstrated by every company that's doing them now. Beyond entry level dev jobs, most of Amazon's corporate employees are getting half or more of their comp in stock. Yet here we are.
> These tiny invertebrates can be found in the deepest ocean trenches and the highest alpine lakes, even in damp mosses and wet leaf litter. Walter once got a call from an Orthodox Jewish organization wanting to know if there were pieces of non-kosher creatures floating in the New York City tap water. The answer was yes. It’s hard to avoid these relatives of shrimp and lobster—Walter has studied them all over the world, in the Red Sea as well as Antarctica. Wherever there’s water, copepods thrive.

I'm wondering how this was handled in the end. Do Orthodox Jews drink the tap in NYC today?
It's a simple, text-only, link aggregator/forum, with very good moderation, and often, but not always, a focus on adding useful information to a conversation, rather than just making quick jokes, unlike something like Reddit.

And with a metric f**ton of nitpicking in the comments.
What's the particular use case for this tool?

Would it be better for projects with large static/binary assets, such as game dev or CAD?
You can't put Pizza Express in the same category as Pizza Hut!?

And as a data-point I enjoy Pizza Express - and I've had "proper" pizza to compare it to.
I’m using this today for a similar use case https://www.cis.upenn.edu/~bcpierce/unison/
awk 'match($0, /foo=([0-9]+)/, g) { print g[1] }'

works in gawk (using extended match syntax allowing captured groups in the 3rd parameter array).
Thanks! Haha yeah my plan is to certainly not try to replace any existing tools but provide options for working faster, especially for new developers.
> But copepods typically range from about 0.2 to 1.7 millimeters in length, just large enough to magnify using conventional lenses and equipment

Does that mean conventional macro camera lenses or a microscope?
Fair enough. Take 3/2 in that case.
Real Soldiers Use Metal Gear Solid Tactic to Defeat Robot
Do you remember what site that was on? I’d like to blog about that one.
If they commit a crime there is the question of whether they should be imprisoned or deported. That likely involves a court case, something US prosecutors famously hate (just look at all the plea bargains).

If you lie on your immigration form, you gained entry under false pretenses. Nothing complicated or grey about that.
That's great news. I've been waiting for years for a dedicated 'Figure' element. The workaround was pretty brittle. It'll make pandoc-plot [0] easier to maintain as well.

[0]: https://github.com/LaurentRDC/pandoc-plot
>but I don't know the numbers there

When you do know [the numbers]...please let us know. Perhaps before posting?
Gravity batteries in abandoned mines could power the whole planet
Without fully knowing your situation and guessing your company, i am thinking your were managed out i.e quietly fired.Managers use tactics to burn you out unintentionally so its you who gives up and your work suffers.
This is done so as to gather enough evidence and reduce risk for the company.

If you happen to record your conversations, take it to a pro and they can tell by the tone of the voice of your manager if they were saying the right things but actually instilling learned helplessness or other such tricks.
Unit tests (class or method as the unit) hinder refactoring by binding to low level implementation details. When you refactor, by definition you are changing what the factors (units) are. Generally, your unit tests will then be testing implementation details that no longer exist. By strongly coypling to implementation details, unit test suites suffer an extremely large ripple effect on refactoring.

Tests in general can only help you refactor code at a lower level of granularity than what you are testing. Something lower than unit level is a contradiction.

Of course, you can instead test business behavior which isn't as volatile in refactoring and change your definition of unit to be a unit of practical business requirements...
> Not having a network-capable database limits you to only one server machine

Not true. What has been true until recently is that replication solutions for SQLite have been lacking, necessitating the use of an old school database to lean on existing multi-machine database solutions, but that is no longer the case.

> You usually want a separate worker process (or multiple) to do heavy computation in the background

Also not true. Network overhead introduces things like the n+1 problem which only adds unnecessary computation and breaks the relational model, requiring some pretty insane hacks to work around. What is true is that SQLite write contention has been a problem, necessitating the use of an old school database in high write environments, but that is also a problem on its way out.

Networked databases have been the norm until recently because they're older and more mature and the only practical solution in many cases thanks to that maturity, but SQLite is starting to gain the same maturity and we are now able to rethink the model and gain the benefits of data locality.

Besides, if you really need networking for your niche use case, and have some reason to use SQLite, there is already rqlite. Tightly coupling networking with the database engine doesn't add any value. They are decidedly distinct layers of concern. If Postgres or MySQL were rewritten from scratch today, even if protocol compatible, no doubt the separation between the database engine and the networking layer would also be more explicit.
These are fun. I got told very clearly to not check any of the boxes related to mental health shortly after being diagnosed bipolar.

If I was suicidal but under treatment for it, I wasn’t suicidal for the purposes of the form.

Apparently I triggered some mandatory reporting law abd made a headache for everyone involved.

Oops.
The UK visa application has the same questions pretty much identical. Also made me laugh!
My M1 Max MacBook Pro treats my Galaxy Tab A8 like an external battery which makes development quite annoying. It's strange that this hasn't been figured out in 10 years.
On the shaping side, support should be quite good as rustybuzz replicates harfbuzz results 1-1. (I think, it passes the whole test suite.) Regarding higher-level text layout: We have implemented BiDi, shaping, line breaking, reshaping, and font fallback to the best of our knowledge. (And I have been in the Harfbuzz and Chromium sources and bug trackers more than I can count while implementing it.) However, it's difficult to test as we can't catch many mistakes in the output that would be obvious to native speakers. This is something where we will need input from the community. Finally, there are also many specifics that we don't support yet like Kashida for Arabic or dictionary-based line breaking for Thai.
Are you a lawyer?

:D
Interestingly, only people who recommended me these still ate meat, never vegetarians.

Some people have a near religious connection with their burgers & nuggets. I'm not so naive as to believe this isn't in some way motivated by "winning" the fake meat market like McDonald's more or less "won" fast food, but by getting omnivores to remember that they aren't carnivores, and getting them to just cut down their meat intake a little bit will do wonders for the sustainability of our planet and help move away from factory farming animals. That's enough for me.

If this stuff acts as the gateway drug to actual carrots and zucchini? Even better...
I've been frustrated by Markdown previews not supporting Pandoc features, so I created a Pandoc-based Markdown preview for VS Code [1]. The preview supports all Pandoc extensions to Markdown syntax, because Pandoc itself generates the preview. There is also optional support for code execution with Jupyter kernels. I'm currently in the process of adding support for non-Markdown formats (including scroll sync), plus taking advantage of some of the new Pandoc 3.0 features.

[1]: Examples and animations: https://codebraid.org/presentations/scipy2022/. Installation for VS Code: https://marketplace.visualstudio.com/items?itemName=gpoore.c.... Installation for VSCodium: https://open-vsx.org/extension/gpoore/codebraid-preview.
This was also a problem with the Playstation controller.

The controller has ○ and × buttons, and in Japan "×" can mean no/incorrect and "○" can mean yes/correct, so in the menus you press ○ to confirm and × to deny.

When they localized it for the west, they flipped the meaning so that × means yes as in "check the box" and ○ means no as in "zero" (like on a power switch with 1 and 0)

So when you play games from another region, what controls you use in menus changes.
It's a matter of taste. If you're accustomed to meat, or even industrial meat-products, then they taste quite good. But if you're from a different taste-realm, it can be indeed very disgusting. This is similar to all the diet-products. People always want the taste, but not the guilt.
Because you need proof, and proving that someone is a terrorist is a long expensive and not guarantied process, while the lying on a form thing is purposefully self evident.
> Unfortunately, the resolution of the data that we collect in AcousticBrainz is not enough to be used in this type of machine learning, and so we were unable to try these new techniques using the data that we had available in the database.

Reading between the lines here -- AcousticBrainz can't store copies of any actual audio for copyright reasons. Instead they store various fingerprints and derived properties of the audio signal (example[1]). When the project started they didn't anticipate the right kind of input data required for these newest AI techniques, so to make progress they would have to throw away 7 years of data and start over their data acquisition from scratch. Instead they decided to shut it down.

Just another way the RIAA is making the world a worse place to live.

[1] https://acousticbrainz.org/api/v1/6df2d3b5-25e1-4d4c-a196-04...