skysight-inc/HackerNews huggingface dataset:
> It can process arbitrary deep nestings?

The GP is presumably citing it as an example of a linear time regex, and not as something that can parse arbitrarily deep nestings. Note that "linear time regex engines" is a characterization that holds the size of the regex constant, such that "linear time" is with respect to the input only. The actual worst case time complexity of such regex engines is O(m * n), where m ~ len(regex) and n ~ len(input). So even with a linear time regex engine, if you bloat the size of the regex, you'll make searching slower. But, it will still be done linearly with respect to the size of the input.

> In general regex's that run in linear time are based on DFA's (as opposed to NFA's - which is what most use).

No. Please stop spreading the misuse of these terms. DFAs and NFAs have very precise meanings. It's one thing to call things regexes that aren't actually regular, but DFAs and NFAs should retain their precise theoretical meaning. A linear time regex engine such as Rust's `regex` crate uses both DFAs and NFAs in its implementation.

The Perl and PCRE folks (along with Jeffrey Friedl) have bastardized this terminology. PCRE for example claims to provide a "DFA" regex engine in its API, but it's actually an NFA. The main implementation inside PCRE (and Perl) is backtracking oriented, and carries with it much more power than an NFA. If it didn't, then the NFA could be executed in linear time, because NFAs and DFAs have equivalent power.

> An interesting corollary of this is any computer program can be expressed as a DFA.

No they can't. You're confusing terminology quite a bit here.
Ask HN: Should I use silly headlines in LinkedIn to attract attention
Hi there,
do silly headlines and profile images on LinkedIn attract attention or kill it?
How would people react to a headline like this: "Source of complex solutions to your simple problems".

What about the profile image that, instead of my photo in suit and tie, shows "FooBuz" word?

When it comes to business -- I'm dead serious. However, I'm sick and tired of LinkedIn profiles that all look the same.

Just trying to find out if people think it's too unprofessional or cool.
This looks good. Will this become part of matrix in the future (also, does it work /stable?)?
As some that is 44, I think older devs just get sick of the industry.

The constant churn while valuing little of the things I feel that I am actually skilled at - good code design, keeping things as simple as possible but no simpler. Instead we need experience trendy framework of the month, and interviews on algorithms that you will never need in your job. Oh, and please spend the weekend completing our pointless technical test before you get to speak to anyone technical about the job we want to interview you for.
I do not understand this point:

He was in the UK, who has an extradition treaty with the US. He was facing charges in Sweden, who also have an extradition treaty with the US.

Why was he afraid of being extradited from Sweden but not the UK? If the US wanted him they could have gone after him while he was still live in the UK.

Why fear going to Sweden? I never understood this argument: am I missing some nuance in international law?
The perfect way to do it would be to only match the rent increase by the property tax increase. If the landlord isn't getting any increase on property taxes then it's fair for the tenant to not get any rent increase.
Not so sure about that, not downloading anything extra and only showing what is embedded in the email is one of the good things with using an email client. Using AMP email is back to thinking tracking pixels works in emails
It also takes a tenant out of the market. So the net effect on other renters is pretty slim.
Something doesn't need to be "definitive" to qualify as precedent. See the quote I mentioned above at page 33 ("It is likely..."). That's precedent.
Is it even feasible to think of scraping something off this object for study? I mean in far future it will happen, but does current tech allow it?
always wonder why functional languages or constructs are often described as being beautiful or using other aesthetic terms. just strange that they are the only ones we ascribe such attributes, among the few paradigms and the many coding styles out there.
Don't those laws usually allow a reset when you switch tenants?

(However, your example would still work, if the reliable tenant turns into a nightmare tenant.)
Do you... really care if someone outside you network knows the domain you chose for an internal network service?

That's not sensitive information. Also, there's basically no way for cloudflare, even if they were being malicious about it, to collect and use that information. What would they do with it?
So "feudalism" = "things I think are bad?"

The gig economy has many, many downsides, but those downsides don't share much at all in common with feudalism, even by analogy.

If we let all words deteriorate to mean simply "good" or "bad" (with gradations of good or badness), we're barely communicating.
What exactly does "you couldn't implement it yourself any better" mean if the current implementation isn't as fast as it could be?

Or are you saying that the current implementation fails to live up to the "zero cost abstraction" goal?
> Corporations are worth keeping an eye on, but governments are more unreliable, less governable and generally have larger professional military. And if a corporation acts it is usually in concert with a government.

Are you an American? :)
ML via AI Queries – How to Use the Predictive Database?
Oh wow this reminds me so much about that article I read some time ago about a chinese scientist who had edited genes of babies (he actually altered a gene in IVF embryos): https://www.sciencemag.org/news/2019/08/untold-story-circle-...

So editing genes of adults is ok but babies is not? This article sounds so positive and supportive of the act ... I'm a bit confused.
There is no conceivable reason as to why anyone would remove the ability to configure DNS servers. DNS server options are present in almost all internet-facing applications and devices, from locked-down ecosystems like iOS to touchscreen printers and game consoles. You're just spreading FUD.
A book page is clearly a different concept to a web page, despite the similar name. I'm not sure what your point is.
Bay Area is one of the most productive parts of the USA. (And one of the most productive places on earth.)

Excluding people from work in productive areas perpetuates poverty.
Humans Are the Sex Organs of Technology – Kevin Kelly (2007)
Thats true considering only two datapoints. It gets more interesting when more datapoints follow an exponential rule, say subsequent disruptions, no of transistors on processors or stock market indices.
Yes, that would work, but then that does not provide the marketing department with the same level of invasive tracking and push notification as "an app" does. So guess which option gets built....
> ... * concerned about your own government.*

Who says I'm not? But I have recourse with government. What recourse do I have with a private corporation that's based in a country with such law privacy laws.
It may be just a difference of bottom up vs top down teaching methods.
> ‘forest bathing’ is now a medical prescription in Japan.
Good.

People forget the past all too easily. It took a lot to get us the protections we have today. Giving them up so easily is a mistake.

For those thinking this is overreach and stifling innovation you need to look back at history and realise the same thing could be said about many commonplace workers rights that you take for granted now.
I wonder why cannot California just call it what it is, "capitalism" and thus ban it? I guess soon enough.
Note that Mozilla has added a way for network operators to disable DoH for their entire network, by NXDOMAINing a specific fake address. UK ISPs will presumably do that, and DoH won't happen in the UK for a while.
I have spent a lot of time experimenting with the Haskell bindings for TensorFlow and a little time with HLearn. Sorry for a negative opinion, but as much as I don’t particularly like Python, I would suggest to almost anyone that they stick with Python for deep learning for now. In a year or two, I might recommend TensorFlow implemented turtles all the way down in Swift, but let’s wait and see how that project progresses.

I have only spent a few evenings playing with Clojure and mxnet and while I appreciate the efforts of the Clojure mxnet subproject team, I think you are still better off for now with Python, TensorFlow, and PyTorch.

A little off topic: I had a deep learning example for Armed Bear Common Lisp (implemented in Java) and DeepLearning4j in the last edition of my Common Lisp book. In the latest edition of my book, I removed that example and the chapter that went with it and replaced it with two examples of Lisp code using REST services written in Python, SpaCy, and TensorFlow - I think that is more practical right now; the situation may change in the future.

EDIT: I also added REST examples using Python, SpaCy, and TensorFlow to the second edition of my Haskell book.
France Says No to Facebook’s Libra
Only firefox does this, and Firefox has uBlock Origin. Why is this an issue?
CentOS 8/7.7
Unless one can generate by the click of a button TV series with any selling power, resource scarcity is here to stay.

The fact that you personally are unaware of the basics in the economics of this or that field is, well, irrelevant for the discussion.
> This is the only leverage that device manufacturers have to get people to upgrade.

Is that compelling enough, though? Most normal users are bothered by updates. That's why we see better cameras, or other user visible features as a reason to upgrade.
You claimed to be thankful for not being "double-taxed", from which I inferred you're a Canadian, living abroad, "thankfully" not contributing to the roads, schools and hospitals of this country from you which, once can assume, you hope to extract benefit from in the future.

If you're a Canadian who lives in Canada and pays Canadian taxes, there's no controversy.
See also: Erlang for bare-metal embedded systems - https://www.grisp.org/

Has anybody here played/worked with this ?
> If we let all words deteriorate to mean simply "good" or "bad" (with gradations of good or badness), we're barely communicating.

doubleplusgood and ungood comes to mind.
>So editing genes of adults is ok but babies is not?

Adults can consent.
this is a pet peeve of mine - the use and abuse of humanist terms in stem. you see this a lot in a math - beautiful proofs, beautiful formulas, etc. I think it's a really weird perverse even thing to look at something purely formal (mechanical) and call it beautiful - like brutalist architecture - I think it says something about the person making the claim (that they appreciate structure to an inhuman extent).
Fix: breaks encryption add-ons
I have, evidently to too small a circle of people, described several non-FP coding styles and paradigms using aesthetic terms such as "ugly"
Rather than putting real effort into this, I'm just going to say that Paul Vixie, the creator of DNS, advocates for using a local resolver (not your ISP's resolver), and DNSSEC. The internet is supposed to be decentralized, not centralized.

Cloudflare, Google, and all of these other centralized dns/ntp services are hazardous to our health.

I'm sure you're very knowledgable, but if Paul gives DNS advice, listen to him.
You are right if we only looking at the phone chargers. Actually that's my problem. I don't want to QC be the de facto standard for phone charging.
First, with USB PD we have the opportunity to use the same charger for every device we carry with us (Phone, Laptop, Camera, etc.). If my phone doesn't support it then I still have to carry another just for my phone.
Second, the USB-C standard prohibits any charging solution other than USB PD. Any proprietary adds another level of confusion using USB-C. Is it supports USB PD, Qualcomm Quick Charge, OnePlus Dash Charge, Oppo Super Vooc, Huawei SuperCharge, Motorola TurboPower or MediaTek Pump Express? In the end, something will fry my laptop if I just plug in a random charger and I will be angry. That's why I hate proprietary charging solutions.
Better than what?

To find out real CSS power, you simply have to generate it from an alternative higher-level description^ and then double-check on all devices that every element is in place and every detail works as intended. No touching or js allowed. Once you master that, feel free to lambaste anyone with a link to your great project.

>even layout a printed asset

Tried anything beyond printing text? Grids and flexboxes do not respect page breaks, so it is almost impossible to layout something more elaborate properly in media(print).

^ take any other toolkit and resemble it abstractly. Qt, Gtk, AppKit, to name a few. Interesting parts are constraints, size groups, width-for-height dynamics, proper column wrapping.
> In fact, a global system daemon should not be needed.

You will need a daemon running as root to bind to ports below 1024.

In addition, in many cases you want a bind-mount onto your filesystem that also supports arbitrary UID/GID on files, which means you will need a root daemon. The problem is of course that anyone having access to the docker daemon can simply say "bind host / to container /mnt" and then can hijack /etc/sudoers for a privilege escalation on the host.

It's mutually exclusive to have usable containers and a system that is secure against privilege escalation by the users at least and (in case of docker-in-docker implemented by bind-mounting the Docker socket in the container) by anyone accessing the container and achieving RCE there.
To me, it's working against reality (and will have unintended consequences) if the price of rent is being held back from market price.

If I were a landlord, this just means that rather than charging a higher rent following renovations, I'd have to front load my raising of rent while they were being planned / ongoing. It might become more standard practice to raise rent closer to that limit proactively in the state.

Proponents might argue that's fine--at least it gives a family more time to adjust or move out. In practice, though, it may just make it easier for that family to weather through the first bump and be in an even worse situation when they absolutely can't afford it next time around. They might have been better off moving with more money available when a bigger hike comes later.

But hey, we've never known California to shy away from band-aid legislation.
From what I remember of the discussion at the time, CRISPR wasn’t good enough for human gene editing to be ethical. It might still not be, but science does have a way of progressing so I can easily believe CRISPR is one step on a path that eventually gets us to where it isn’t a cancer risk.
States Hit Electric Vehicle Owners with High Fees
The Extremely Real Science Behind the Basilisk’s Lethal Gaze
Disclaimer: Just an arm-chair Space Engineers player here.

> I always thought that was a very well thought out aspect of The Expanse: spend half the trip accelerating, then flip the ship around and spend the other half slowing down (aka accelerating in the opposite direction).

With current technology you would not do this, since that means using extra fuel that weighs a lot and thus increases the force required for the same amount of acceleration as you'd get with less fuel and less burn.

Of course that changes drastically if the fuel required for more acceleration (and its container) is very light-weight. I would assume fusion or fission based thrusters would be better in this regard, however I think currently those produce very little acceleration in a vacuum compared to combustion thrusters.
Varlink – A plain-text, type-safe, discoverable, self-documenting interface
Why Marketing Automation Is Important in Any Marketing Strategy?
In the EU, the revelations from Snowdon were successfully used in the data protection cases which overturned the Safe Harbour exemption.
No, linked in article:

> Assembly Speaker Anthony Rendon claimed that independent contracting amounts to “corporations trying to oppress workers.” He continued with, “When you hear about folks talking about the new economy, the gig economy, and the innovation economy, it’s fucking feudalism, all over again.”

I think if you take a look over the wiki page [1], he's probably talking about the similarity between classes. It's also in context about more than just the gig economy. And it's also in reference to what people are saying, the way they talk about it, and the way they are selling it to other people. Not talking about the gig economy itself as a concept.

1. https://en.m.wikipedia.org/wiki/Feudalism
Ok, but most doorknobs aren't brass.
"May Offer Path to cure HIV"

The title seems to be pretty ok in my opinion
This is quite an elitist position to take. Why is it inhumane to find beauty in structures? Human society is riddled with structure
Introduction to virtio-networking and vhost-net
You can have both notifications and a persistent history with the majority of IRC clients. Many public channels keep logs, even. If someone pings me (hilight), then I get an urgency hint. Most window managers handle urgency hints. I use openbox + xterm + irssi. I do get notified if someone pings me, and I can also add any arbitrary words for which I would get notified. With a small Perl script I could use notify-send if I wanted (it probably already exists).

If you are really referring to phone notifications, well, you can use an IRC client on your phone, then you would get notifications on your phone. I use irssi even on my Android phone.

Let us not forget that there is the other side of the story: many people report that they have been enjoying life more without those phone notifications.

I love IRC. I have been using IRC ever since I was 11. It made me a more technical person. I find that IRC is not that easily accessible to the majority, which is a good thing, because of this, the conversations tend to be of higher quality, and technical in most channels. I would also like to add that IRC is the reason I understand English, and a zillion other things. :)
One of the most striking difference between Clojure and Haskell:

In Haskell Immutability is an Abstraction, not Implementation. Clojure data structures and INTEGER & FLOAT object wrappers are expensive. Haskell build toolchain produces much-optimized code which preserves the functionality at high level and reasonable performant mutating code at a low level.
Again, apply my reasoning about games to this issue too. In France, you have an entire country as mirror and role model for drinking without mayhem. That is one data point to consider. :)
Nope. Units deregulate at $2700. Also there's no such thing as new rent controlled or rent stabilized units since 1970.

There's other housing programs like Mitchell-Lama, some that are like what you mentioned, but that's a completely separate thing and a small amount of units. "Rent controlled" and "Rent stabilized" are technical terms in NY.
More like IBM it seems :)
How do I decide to stop other people uploading photos of me to Facebook?
> the chinese tried it

"The chinese", really? That was one single rogue Chinese scientist.
While it doesn't fit a strict definition of "feudalism", large parts of the gig economy are very exploitative, which is also a characteristic of feudalism. And feudalism is generally regarded as a bad thing.
How can I detect collision between different objects and is there any way to add custom sprites or svg elements?
Does anyone know of any other writing exploring this idea? I once read something arguing that grassland biomes “used” humans as useful idiots to dominate the globe from previous flora but can’t track it down.
Text is copy&paste from https://andy-bell.design/wrote/css-doesnt-suck/
It depends on the mass of the planet and the diameter. Since planets are usually sphere shaped, it effectively means that the gravity grows with diameter (for same density) and vice versa (for same diameter, grows if density grows). Moon is about 4 times smaller (for same density, gravity would be about 4 times smaller) but Moon has lower density as well (about 60% of Earth) so it comes down to those 16%.

Rough napkin formulas below. Apologies for formatting)

F=ma
F(g) = GMm/(r^2)
ma=GMm/(r^2)
a=GM/r^2

Volume of a sphere = (4/3)pir^3
mass of a planet = density volume
M=ro(4/3)pir^3

a=(Gro(4/3)pir^3)/r^2
a=Gro(4/3)pi*r

given that G, 4/3 and pi are constants, it comes just to density multiplied with diameter.
Based on title alone, sounds like cities where remote work is going to play a prominent role.
I'd like it to be more like git. Yes Docker has "push" and "pull", but I want branches, and automatic attach when I do a checkout, and rollback when I screw it up.

As a developer I'd like to be able to check out a docker image, work _in_ it, and merge it to master when I'm done. When my code is deployed, I'll know _exactly_ what is running.

Managing secrets and environments (so the container knows when it is in production instead of running on a developer's laptop) is important to get this to work well.

It feels like it is half way there already. I'm looking forward to when it is as straightforward as git for a developer to use. I'm not too worried about start up time - the biggest drawback to slow startup time is when you are running very sensitive autoscaling that is tearing down and spinning up new nodes very quickly. If you have that problem you may want to rethink your node size, hysteresis, and scaling thresholds.
> Landlords already charge as much as the market can bear. Coordination isn't really necessary.

This statement doesn't mean anything.

Consider a game where you try to maximize revenue. You play along with other players with the same goal. If you set your rent too high, other players undercut you. You set the price too low, you leave money on the table. Now consider a rule that says you can at most raise the prices x% a year and the same is true for all players. Now you're anchored to this increase and an equilibrium is more likely to emerge such that every participant increases prices by that amount every year. Much like a minimum wage gives a signal to employers who rely on low cost labor to pay the minimum wage allowed. If you look at distribution of wages, you'll see a huge spike at the minimum as employers essentially use that value to coordinate among themselves.

[0] https://pbs.twimg.com/media/DBkn94UVoAEqBey.png
Germany hides the awkward truth about the euro