skysight-inc/HackerNews huggingface dataset:
The only part I agree in this writing is that you don't need to be snarky to be correct. (I'd like to introduce the XY problem of the second kind, where the answerer is so confident that it is the answerer who have missed the actual question.)

Some regexes can recognize a language beyond the regular language. They are typically available in two flavors: recursive references (Perl, Ruby, PCRE) and stackable captures (.NET). They are obscure enough that I would not recommend them, but it is patently false that regular expressions (EDIT: of the practical interest) cannot be recursive.

It is possible to match individual HTML tags with regexes, but it is difficult. It cannot use a bare `\w` or `\s` because both XML/XHTML and HTML5 parsers have peculiar definitions for tag name characters and space characters. For example your `\s` will typically match various Unicode space characters, while only ASCII whitespaces are recognized in tags. There are also several notable exceptions to the parser (and external states termed the "tree construction"), so missing any of them would result in an immediate XSS. If you think you can write a correct regex for HTML tags, my quizzes [1] should make you concerned. Limiting the question to XHTML does alleviate some but not all concerns.

The distinction between recognition and parsing is correct, but parsing doesn't necessarily mean the reconstruction of parse tree. Parsing means the access to constituent nonterminals, which can be used to reconstruct parse tree but also directly used as their own (e.g. calculators). Indeed in most regex implementations you can't extract two or more strings out of each capture (Raku is a notable exception), so you can match against e.g. `(\w+)(?:,(\w+))*` but can't extract a list of comma-separated words with it. Practically speaking this means you can't extract a list of attributes with a single regex, making it unsuitable for HTML parsing anyway.

[1] https://news.ycombinator.com/item?id=26355451
It says they're using "CosmiC", which seems like it might be a fork of HolyC, but Google gives me nothing but the repo.
I don't understand their conclusion that no supplement can replace the sardine.

They indicate that it's probably the combination of DHA, vitamin D, and calcium, that is good, so just make a supplement containing this combination?

And if there are missing ingredients to the magic of sardine, just add them too?

I don't see what's impossible, except that they want to support their country's fishing industry.
I wonder how effective these paid placements are like Blackbery in Up in the Air. It seems the free ones are the only worthwhile ones.
Certain segments of America tend to have poor diets. Especially the young, working class which happens to overlap with the bodybuilding class which makes whey protein a logical choice. Whey protein. It is very cheap; just add mix in a multivitamin and OTC stimulants like caffeine and you have a very marketable product with a 300% markup.

The YouTube body building demographic is in the same economic class so capitalizing on a product their audience already uses makes perfect sense.

Also, America is one of the few countries with consumer pharmaceutical advertising so marketing supplements is not out of the ordinary.
I think this applies to LaTeX as well. The fact that people pronounce it "lateks" is entirely the creator's fault.
Proper nouns should begin with a capital letter?
Folkvang | Hong Kong | On-site OR Remote | https://folkvang.io

Folkvang is a high frequency, quantitative trading firm active in the cryptocurrency markets. With a backing from Alameda Research, we’ve become a major player in the markets; powered by our fully proprietary technology and infrastructure, we trade billions of dollars a day across a variety of exchanges. We boast a team with years of experience in varied backgrounds and notably developed the open source project, Gekko.

We are looking to expand our team with a full stack developer with a deep understanding of nodejs and experience with quant trading, cryptocurrencies and (cloud) devops.

If you fit the bill, we should talk - please email to hr@folkvang.io:
- Your CV or relevant presentation
- Github links (related repos or profile)
Revulsion is a "seriously, this is a bad idea" signal from evolution.

Do a quick inventory and see just how many psychological barriers there are to cannibalism. Considering how important calories have been for most of history and what a 'traditional' diet looks ... it must be really be a mistake to eat people.
A down vote for pointing out a critical error, with no refutation?
RowanSenence
[ my public key: https://keybase.io/rowansenence; my proof: https://keybase.io/rowansenence/sigs/0oOglewdhXI4_EMQyBHRZx-x4uVdyTdYwKd_cHht1os ]
Is there an inflation on Aspergers?
That’s a good point and a lot of incomprehensions come from that, in classical physics you can develop an intuitive understanding of the how with the foundation, but in QM it’s distinct. Physicist usually only answer on the how because that’s where the work is (“entanglement works like this, here is the model”) but there is interest in the foundation too, even if it’s a bit philosophical.
The author seems to be missing the point, in my opinion. While it is certainly true that often one can solve simple, seemingly innocent sub-problems within more general languages, the transitions from "I see I can solve this simple program with regex'es!" to "Then I can probably solve this other, almost identical problem as well!" and have the problem explode right into your face are subtle (almost imperceivable to a novice) and it would be a more robust solution to go for the right tools (i.e. an (x)html parser), as well as a good learning example. On a side note: regular expressions can not - by definition - parse recursive languages. A regular expression matcher that does is not a regular expression parser but an ugly-duckling in the family of context-free grammar matchers. People should learn when and how to use those.
“somebody”
I practice Feldenkrais which is partly about improving coordination of movement and practicing things slowly is one of the major ideas behind that. I watched an online talk earlier this week talking about the 'Weber-Fechner-Henneman Movement Optimization Cycle' as an explanation behind that. I haven't scrutinised the science - but there's info on page 28 of this PDF: https://www.feldenkraisguild.com/files/Journal_30.pdf
"
So what we need is a kind of phase transition that explains why and under which circumstances the behavior of these additional fields, or particles, changes, so that we need two different sets of equations.

And once you look at it this way, it’s obvious why we have not made progress on the question what dark matter is for such a long time. There’re just the wrong people working on it. It’s not a problem you can solve with particle physics and general relativity. It a problem for condensed matter physics. That’s the physics of gases, fluids, and solids and so on."

See also Justin Khoury (2015) : A Dark Matter Superfluid, https://arxiv.org/abs/1507.03013
and Silvermann (2002): Dark Matter as a Cosmic Bose-Einstein Condensate and Possible Superfluid,
https://link.springer.com/article/10.1023/A:1015934027224
You state this as a fact, but there seems to be an interpretation of entanglement in what you wrote, so I will ask a question:

Sticking to the metapher, how do you know, that looking at the content of one envelope will _affect_ the content of the other envelope, in contrast to you _discovering_ the other envelope's content to be the other color?

Asked differently: Why do you necessitate that viewing one envelope's content _affects_ the other, rather than merely allowing to conclude the other, because some law of the universe makes it happen to be always the other color?

To me this seems really an interpretation, rather than a fact, that one can simply put there without dispute.
It's not for the US, Denmark and Swtizerland at least.
How do you hide unique features from competitors? I assume if customers can somehow find out then so will vigilant competitors.

What is your SaaS by the way?
(not a competitor)
> I’d be very interested in a follow up blogpost after you’ve been at Reify for a year or two.

Me too!
I missed this last week. Just because what I said doesn't apply to you, doesn't mean I was wrong. Simply using the term "wokeness" and describing a suspected conspiracy puts you squarely in the group I'm talking about.

The only difference between me and you is that you think it means something when you say you've been left-leaning all your life. It doesn't. You're in the outgroup, just in denial about it.
Names should come last (when everything else is known) but usually they come first (when most things are yet undecided). Once set, the name gets quite a lot of inertia and is hard to change. While naming things is hard, renaming things often isn't worth it.
>Multiple indie developers have reported that Epic is not even going to consider publishing your game unless you agree to some kind of exclusivity first. Has Apple every turned down an app submission because the same software is being offered on Android?

If Apple did that, it would be so much worse, because it would exclude developers from half of the market (all iOS devices).

If Epic doesn’t allow your game on their store, you can still sell your game on another store, to be purchased by the same consumers on the same devices. There just isn’t as much harm to be done there, because Epic doesn’t have the power to kick developers off the PC platform.
Yeah the next issue will be obvious and have an easy solution. And the distinction between fixing a bug and breaking a feature will always be clear :) /s
Even Google gets it wrong: https://imgur.com/a/nswxueq
> it is patently false that regular expressions cannot be recursive.

No, it's more like the term "regular expression" has gotten hijacked and nowadays gets abused to colloquially include, shall we say, irregular expressions. i.e. people basically say "regex" when they mean "some succinct pattern language with syntax similarities to (classical) regular expressions".
These are very complex bio-chem processes, so there's probably no single "root cause", but a multivariable situation where certain combinations of nutrients in certain proportion causes these beneficial effects. Also nutrients in supplements often don't have the same bioavailability as in natural products, so it's possible that you take in the same amount of nutrients per label, but your body actually ends up absorbing only a small % of it. Supplements are not that strictly regulated, so many of them are fairly poor quality products making wild claims, counting just on marketing BS to sell.
Why Haven’t We Been Back to the Moon for Nearly 50 Years???
Ask HN: Have you noticed increasing prices on Amazon UK?
I have been observing prices on amazon.co.uk and was expecting prices to increase slightly as a one off from the Brixt due to changes on how things are done between the UK and EU especially on EU imported products or ones shipped from EU directly.

Recently I have been reviewing the items I buy frequently like vitamins and creams from Amazon some of which are made in the UK, I have notices their prices have increasing every 1-2 month, that one product jumped 42% from £6.00 to £9.99 over a 2 months period. This is not a who off jump it has been incremental and many products have become expensive in similar manner. I don't want to rush to conclusions, but is this Amazon becoming expensive as it gets larger and sellers feel like they cemented their positions?

My thoughts are this is related to Brixit? or COVID? or Supply chain constraints? or inflation ? or all of the above?

I haven't been tracking other sites so I don't know if they went through a similar price hike in such a short time.
Bingo, IIFEs are and affront to god and nature. Ones in JSX arguably even more so. However, it's really the only way you can colocate all your display code to one part of a function.
Why Amy Klobuchar just wrote 600 pages on antitrust
Show HN: MLP PyTorch Kaggle
Why do you only care about your descendants, and not anyone else. We could create a society where everyone in the next generation benefits from the wealth that everyone in the current generation creates. Is that not a much more worthy goal to strive for?
Show HN: Basics of CNN PyTorch Kaggle
This is insane. Awesome work buddy!
I always wonder when I read articles like this, what people would think if they were told that 78000 summers later many people will be thinking about this specific burial.
> Overall, it is interesting that a nice design came from what amounts to government regulation.

I guess the author isn't familiar with what caused dishwashers to become more efficient[0]. In general I don't see how anything except government regulation can force these improvements whenever consumers find themselves in an "any color as long as it's black" kind of position regarding market choices, and this looks like it is one of those situations.

EDIT: Also, before anyone thinks I'm blindly pro-government regulation, Philips got rich by exploiting the fact that the Netherlands did not enforce patent laws for a large part of the 19th century. This let them combine innovations that other competitors didn't dare to use due to fear of being sued by Edison, resulting in them having the best light bulbs available at the time (the fact that many competitors that Edison sued out of business happily joined Philips probably helped too). So it's all context-dependent.

[0] https://www.reviewed.com/dishwashers/features/why-obamas-dis...
The Grammy's nixed The Best New Female Raper.

(I don't know why though? I hear Rap everywhere. Well a year ago.)
But both the original question and that article were about XHTML. The non-well-formed mess only matters for HTML, not XHTML.
The regex is a valid answer to the stack overflow question.
There are more things to be named than good names, and also what constitutes a good name depends on our individual perception (prior experiences, cultural background, neurological disposition, etc.).

Looking at it from the other side: Why are we so hung up on names? It’s not that we shouldn’t, but it’s an interesting topic. A computer doesn’t care as long as a name is syntactically unambiguous and fits the lengths constraints.
Not to be confused (as I first was) with the OpenDrop project bringing AirDrop to Linux:

https://github.com/seemoo-lab/opendrop
The whole concept of paper wealth is literally around what you could hypothetically have, though. That's the whole point.

https://en.wikipedia.org/wiki/Paper_wealth

If you're sitting in a house and it has appreciated in value because it's 2005 and you are in Sunnyvale then you've acquired paper wealth. You didn't upgrade your home, you didn't make it nicer. It's the same home you bought for $300k. It's just now magically worth $1.2m because the world continued spinning.

Sure, that probably sounds great if the person wanted to sell the home and move into a place where home values have remained largely unchanged. But if that person either likes where they live or wants to stay reasonably close, the increased value of their home basically doesn't affect their life - they purchased something that was of modest wealth and now people think it's worth more.

If you bought a gumball for $0.25 and now people think it's worth $1m should you get taxed as a millionaire even if you never intend to sell it? Would it seem reasonable that the rest of the world thinks that you're out of touch because they don't get to have million dollar gumballs?
Hey bhaak -- my recollection is hazy, I think pubby is referring to the acrimony around Forest branch. I think this would've been 2014 or 2015? One core dev objected to sweeping gameplay changes merged by another dev and things went sideways.
"rock history for newbs" is unfair.

I'm in my 30s and would say I have an above-average knowledge of rock history and still learned a decent amount.

Yes Payola is nothing new or unheard of, but how that played into segregation in music is something that's rarely discussed in tandem at least in popular contexts.
Yes. But I am not sure how you transfer the fruits of this labor to your descendants, so they would benefit from it. Every property needs maintenance, and "being rich" (as OP said), or even middle-class, means to have enough property that you need to hire somebody (at least ocassionally) to maintain it.

Also OP talked about building an institution, which presumably means that there are other people involved. Unless he meant something like building a worker cooperative, I feel like in the arrangement he envisioned for his descendants, it will be other people working for them, providing them with their labor. I don't see that much different from feudal arrangements.
Yes. I think the author of the paragraph wrote about Buddhism in the context of Tibetans. It isn't applicable to Mongols as well.
bite, no?
Biology does not lack such a thing. The subset shown in HN lack it, because people here like such content.

The biological classification matches intuition in overwhelming majority of situations.
I don't know much about physics, but I always wondered if gravity is like a shadow.

Appearently shadows can move faster than light, breaking with the rest of physic knowledge, but when you look into the details, they adhere the laws of physics no problem.

Maybe, gravity is like that, not really a physical force, but the shadow of physical forces.
My lizard brain reads your comment as "What? Apple do good things? No! Apple bad! All things you say are good about apple are actually bad. You'll see, because apple is bad!"

You can make tribal cynicism sound clever if you use complex enough arguments, and rely on enough obscure details. "Peh, Apple didn't give the world LLVM. They bought it out and made Chris Lattner into a sellout." But you have to heavily filter reality if you want to do this. And its suspicious when anyone hunts so hard for a particular conclusion. I mean, would LLVM be as successful without Apple? No. Did Apple fund LLVM massively? Yes. Did Apple opensource LLVM? Yeah; they did. But so what? There's a proprietary llvm binary shipped with xcode; therefore proof that apple is Machiavellian and evil? Therefore proof Apple is good and can do no wrong? No! Its complicated.

Trying to simplify the world into good guys and bad guys isn't clever. Its childish and boring; and it gets in the way of having the real adult conversation, where we look at the imperfect world as it actually exists and decide what we want. Not "Apple bad" but "Apple makes great products, and free markets are good. And the app review process is great. But on balance it would still be better for the economy as a whole if the app store had real competition - even if that would probably be worse for many iphone customers."

You can spot the people who think this way easily, because when you talk to them about stuff like this they sigh and name the ways in which their favorite solution would make some things worse. "Yeah, FB is probably terrible for our society. But also FB really does connect people in meaningful ways. I don't know how we would keep the good aspects of free market innovation and social media's shrinking of the world while also softening its negative effects on teenagers. But there have to be some real answers here. Maybe XXX".

My challenge to you is this: Name some things you respect about the "other team" (apple or whoever). What would you would do if you were king for a day, and have the power to pass any laws you want? How would you fix the ills you see in the world? What are the ways your fixes might backfire?
Thanks, though I'm not sure all compile time detectable undefined behaviours is exposed through warnings today. In the example in the article, why would something like left shift of a -ve value require runtime detection, surely the fact a signed char was used with left shift is all the compiler needs. So perhaps a subset to UB that is detectable at compile time should be reported.

In your example about the comparison of x + 1 vs x, I'm not sure that is a contraversial optimization. However this one, to me, is:

http://blog.llvm.org/2011/05/what-every-c-programmer-should-...

Here a diligent programmer is trying to do a null pointer check, but because dereferencing null is UB, then the optimizer removes the null pointer check. This is compile time UB that should be flagged to users.
For the unaware:

https://en.wikipedia.org/wiki/Phoebus_cartel
Nokia Released a New Timeline for Pushing Android 11 Update to Its Smartphones
Nokia is one of the few trusted brands to get software updates even after years and be the first one to receive Android updates from Google. With this reputation, Nokia has released a schedule for pushing Android 11 stable updates for a wide range of its smartphones, from Nokia 1 series to Nokia 8 and special handsets like PureView. Check if your handset is on the list.
Dogecoin plunges 30% during Elon Musk’s SNL appearance
The example is meant to be largely trivial. What if there were 50 cases I wanted to render.

On another note, I'd suggest ternaries with explicit null returns. Just need to get burned by it once to have it engrained! https://kentcdodds.com/blog/use-ternaries-rather-than-and-an...
I’m pretty certain the mammals we eat are conscious, and that doesn’t seem to bother most of us.
Restarting U.S. Pipeline Hit by Cyberattack May Not Be Easy
People have leveraged into crypto. Some funds as high as 10-20x. Then came 2021. They took their leveraged crypto holdings and leveraged into meme stocks.

It doesn’t take an idiot to figure out how that’s going to end. Jerome Powell is a massive idiot.

Everyone at Fed thinks this is their Great Depression moment. And every single scholar to date has essentially said the G.D. could have been avoided if the gov’t drowned it out with liquidity. And this is exactly what they’re doing right now.

Imagine being taught this for decades. Literal monetary economist echo chamber. Do you think you will ever change your mind mid way through? No. They will go down with it.

Then came Joe Biden. He thinks he’s going to be FDR.

COVID is nothing even remotely close to the Great Depression. Not even the Financial Crisis. Yet the central banks around the world are making this into one because that’s all they know from their academic obsession with depressions.
Brian Greene's analogy on the simple English page here is quite good

https://simple.m.wikipedia.org/wiki/Bell%27s_theorem

The book it's taken from is excellent
Posting bullshit from 2013 is not going to help you here.
Are the misses caused by the measurement equipment or do you really sometimes get true on both ends? If so, why?
You're confusing it with Sci-Hub. LibGen is for books what Sci-Hub is for papers, though you can also find papers, comics, and magazines on there.
Those paper don't have rigorous mathematical definition of what "probability measure" they use.

From a mathematician perspective, the error is "incompatible probability measure" for events, that's why probability laws don't apply.

Bell's theorem is exactly a well known mathematical theorem "Boole's inequality" which basically tells you, you are doing the math wrong when defining your measure.
Except in fonts that don’t distinguish between “I” and “l”. ;)

https://en.wikipedia.org/wiki/Ilama
wow 3W, with just 6x 2835 (so each is 0.5W). The thing has been driven through the roof. Even at 250mW I'd consider them overdriven - it's surprising they survived that long.

Also only the PCB is aluminium, not extra heat sinking. Is this GU10 socket?
Haven't tried making a burger with them. I'll add it to the todo list for this summer. :D
Oddly beyond the fashion and trendiness of large vehicles, people buy them for their own feeling of safety turning the large vehicle market in to a sort of vicious cycle.

On a side note: Treehugger hijacks the back button and should be shunned as a website for that practice
New Spectre-Like Attacks
Haha, the number of folks who have told me this! Yeah, probably a byproduct of the era I learned in. I just reach for the macro first, just what it's programmed into my head as