skysight-inc/HackerNews huggingface dataset:
Packrat parsing is not an intrinsic aspect of PEG, nor does it increase memory usage. Further, the memory issue is more academic than real. If you are having memory issues, you will add intentional pruning to your parser to purge anything that comes before a point behind which you can not backtrack. Such points tend to exist in most computer languages. Yes, this is not a strict part of PEG but being academically pure when constructing a parser of any complexity leads to a short trip to madness. Perl 6's grammar construct is not pure to the PEG definition but it is a recursive descent grammar engine with all the bells and whistle you could want including functional components such as argument pattern matching which makes generic and reusable grammar expression a cinch.

Also, PEG makes having a context sensitive lexer not simply trivial but no effort at all because lexing and parsing are all the same process. It you want to have two different token-types for an INT-looking-thing at two different places in your grammar for, "reasons", you are free to do so. Try that in a discrete lex/parse style grammar.
3rded. I use the @updateurl and @version and save my scripts in Google Drive with a public URL. To update, I can just increment the version in the hosted copy, then reload tamper monkey. Has the bonus of quick and dirty revision history.
When I graduated college, my first job was working for what was then the Defense Communication Agency (now Defense Information Systems Agency), in a job that required a successful Secure Background Investigation for a TS/SCI clearance, and I was told that the position required a lifestyle polygraph + random urinalysis.

I used this to my advantage on more than one occasion, when the gaming group I was with was a bit too casual with their use of certain recreational pharmaceuticals. I told them straight out that my job required a lifestyle poly and random urinalysis, and that if they decided to do that to me the next morning, then I would be totally giving up my friends to the examiners. That usually convinced them to be more careful.

Strangely, the government never actually gave me a polygraph or urinalysis test, ever.
Common solution with existing precinct tabulators: each voter is issued both an anonymous ballot and a permit with identifying information. After marking the ballot, the ballot is inserted into the tabulator and the permit is retained in a file with the tabulator. At the end of each day, the number of votes recorded by the tabulator should match the number of permits, which contain the identifying information and so can be audited against the pollbooks.

This same model can be extended to the blockchain approach, but isn't using a blockchain to solve the ballot-stuffing problem - just using a conventional paper technique.
It's neither an assumption nor about being nice. As mentioned isolated dense social housing has been observed to create conditions that alternate plans can counter. It also doesn't have to be about violence or crime--mere the neglect of neighbourhoods that are not 'in mind' of decision makers for simple things like maintenance of roads, lights, etc all contribute to this.
I wish. I don't even remember the last time I opened my windows. I have a white noise machine, I live with headphones, I sleep with earplugs.

NOTHING stops the sound of kids screaming. Nevermind the jack hammers starting at 6:30 am (because fuck enforcing noise ordinances in a deadend of a usually quiet neighborhood!).

Made worse because I live in a city where even "high end" constructions are made out of cardboard (yeah, I'm planning on moving, but thats not easy, and who's to say the place I move to won't be just as bad?)
Whoa there! I'd consider it a mark of wisdom to judge and filter society's expectations rather than absorbing them uncritically. Perhaps not let it shape us unless we consciously allow it to?
Some also claim that Google kills innovation. Synchronous interception of requests allows developers to program sophisticated rules to fight malicious resources. In the future, they will only have a regular expressions list to block domains. It will be much easier for malicious actors to bypass this feature.
I assuming SMT mean Surface Mount Technology, in this context?

It would be nice if people expanded their TLAs once in a while!
The problem is what actually happens when there are a lot of renters is that politicians promise the existing renters they'll impose rent control, which is basically a cross-subsidy that transfers money from newer renters to older ones while increasing average rents. Tomorrow's new renters don't live in the jurisdiction yet, so they can't vote against it, and enough of a minority of existing renters can be convinced they'll come out ahead that way that when you combine them with the minority of land owners they achieve 51% of the vote.

Then the land owners can push through whatever price-exploding rules they want as long as they can maintain that 51% by promising the Judas tenants that their rents will stay the same.
Do gig economy companies hire from the contractor pool to train the next set of contractors? that is one way they could potentially offer some kind of growth.
Personally, COM gives me the heebie-jeebies. I get why it exists and think it's a cool idea. Under the hood it's just RTTI across shared library boundaries, and it's cool that it "just works" with the way that compilers generate vtables from pure virtual base classes.

But hell did it take me awhile to figure out how that worked because it's so poorly documented and auto-magical. Reverse engineering a COM DLL just to find out how the hell it has a stable ABI is not fun.
Some parts are ugly, some are beautiful. You can't really lump it into one bucket.
There's a network effect component for shared/pooled rides.

Upstarts will lose a lot if they offer shared prices without matched riders.
> idiots who don't believe the crossing guards getting their cars destroyed

I find it hard to accept that the kind of idiot that rolls through/around a downed crossing guard is suddenly going to be swayed into common sense by the sound of a horn. Both equally imply "impending train".
The article itself is talking about the constitutionality of discriminating based on familial relationship under the US Constitution, so that would be a federal issue.

But in general, housing affordability is a federal problem insofar as the federal government already subsidizes housing and transportation. Since the federal government already subsidizes housing (mortgage interest deduction, imputed rent exemption on income tax, and capital gains tax exemptions for the sale of houses), it has an interest in ensuring that these funds aren’t wasted on bidding up land prices in high-rent areas, and it has an interest in ensuring that these funds benefit both the rich and the poor. And since the federal government already pays for transportation, it has an interest in ensuring that these transportation infrastructure isn’t wasted on exclusionary cities.
You're exactly right. You will not lose a home if the value of the house becomes less than you paid for it.

What happened during the crash was people bought homes they couldn't afford on "teaser rates" and assumed they could keep refinancing using the existing equity from the appreciating value as a way of getting a conforming mortgage at a better rate, or taking the equity out as a loan. When this didn't happen, they walked away from the home.

Many of these people who "lost their homes" didn't really lose anything! They were living in a house above their means, that they often bought with no money down, paying interest-only, or a "teaser" rate (sometimes with negative amortization!). Then when the house went underwater, they walked away, not owing a penny. _Then_ they declared: "woe is me--I lost my home!" when in reality they got a sweet deal.

Many even lived mortgage free for the year or two it took the bank to foreclose. Congress forgave the income tax on forgiven debt (normally taxable) and nobody was made to pay income tax on the imputed income of living rent/mortgage free while waiting for the bank to kick them out.
In 2010, the nginx source was quite startling. It's very readable C, but also somewhat difficult in that it did not mechanize a lot of bookkeeping. If it wanted to construct a string of 8 components, there were 8 components in getting the length right, then 8 adds to the string. This was toil, and error-prone. But it was always done with such precision, and so consistent, that it was still quite beautiful.
> the consequences of their life choices catching up to them

That's a bit harsh. If you are a post baby boomer, you're in the minority if you think you can retire comfortably. I frankly don't see how the majority of gen-x/millennials can retire - except to not have kids and save >50% of our salary, and pray the stock market doesn't blow up.
Is there something similar, but for outbound requests? The motivation is to be “polite” when accessing third party APIs regarding the rate limit.
(1) What’s your take on the sustainability of these subsidized rides? -=>

The gigantic and unsustainable CAC numbers experienced by Uber, Lyft, and others is due to the present level of competition for these drivers & customers. This demand has been inflated for years fueled by Vision Fund and other late stage VC money with their winner takes all approach.

This cost has now been handed off (in the USA anyways) to Lyft & Uber stock holders. Somebody is going to run out of capital or experience a precipitous drop in stock valuation that will force the market's hand here and reduce demand and re-normalize.

It is financially unsustainable for this # to keep climbing as a percentage of revenue barring a massive change to the cost structures.

The only massive change imaginable in the structure was when Travis got away for a few years claiming autonomous would cure all, this is obviously not going to happen in the timeline he was pitching.

I think that the CEO taking a hard position and firing 400 people in his marketing department is a good indicator that when they next report earnings CAC is going to be a huge mess and maybe shed some light on how UBER plans to navigate that downshift.

(2) Will drivers still drive if this incentive is taken away? -=> Yes, following my comment above I think that the current CAC and retention numbers will normalize (for one or other other of the major players) and that the delta savings will be pushed back into increased driver wages.

(3) What are some of your favorite interesting insights from that data?
-=> Outta steam sorry :)
So you're telling me that youtube premium isn't a diversity play on youtube's part? They're copying netflix right now, making "youtube original shows" as well.
They're absolutely adding other content sources to their platform beyond "kid self publishing a vlog in their home" style material they started with all those years ago. It's not the majority of their page views yet, but when Netflix first launched people were mostly using them to rent physical DVDs, so we'll see how this plays out long term.

https://en.wikipedia.org/wiki/List_of_original_programs_dist...
Is it normal to have layoffs a quarter after your IPO?
The only reason that might be true is if no one read the article (so, depressingly plausible).

Quotes like
“
The US has hundreds of comm satellites... China only has dozens... hampers ability to stream high quality imagery... or even control the uav

...a total of seven Xhialong have been seen at three sites...

China only recently deployed their Xhialong’s, while the US has had Global Hawks in air since the 1990s

The Pentagon employs tens of thousands of UAV operators, it will take China a long time to catch up

China has trouble producing military grade engines for helicopters, planes, uavs...
“

Didn’t really paint a great picture of China’s military capabilities to me. And those are just the ones I remember off the top of my head.
Pound sinks to 28-month low on Brexit fears
If the creator has deep enough pockets to fund a lawsuit, a tortious interference claim could be filed if someone falsely asserts a copyright violation and messes with your monetization.
Oh wow, I could talk for hours about this. From what I've heard at a lot of schools, the teachers would like to "fail" people or have higher standards for entry - but management and sales (I mean, admissions) push back hard. A student leaving is money lost. A student just not doing well afterward is something that they can write off as some glitch. They'd rather have the latter. Or they want the instructors to do superhero efforts to get the student to pass.

The teachers know within a week or two who is going to have real problems with the material. The schools do not want them to put assessments in place that would have them leave, because they want money.
Drone delivery will fix that.
> It's like being a dancer and a painter simultaneously - possible, but has its limitations.

And messy.
I’m not convinced. None of the mainstream hardware I’ve seen could run wayland or X acceptably due to screwy graphics drivers and documentation hidden behind NDAs (yay Qualcomm.) If you’re going to bother putting work into something at least pick something that

1) isn’t actively fighting you

2) actually does what you want.

(Unless you meant SBC hardware, there’s plenty of IMX stuff out there not the least of which were the kindles.)
meh. it's biometrics. How the data is incorporated into the subjective interrogator's experience and knowledge framework is where the weakness is. But don't blame the robot. IOW, the polygraph is just outputting data, the rigor of applying the data suffers from underdeveloped understanding, but if I were an interrogator I'd much rather have biometric data in my back pocket than not.
So, I would have totally failed the test repeatedly, because I would keep insisting on fully explaining the circumstances under which I had heard about the methods but not actively researched them.

And I would tell them to check my shoe and see that there is no thumbtack there. And check my cheek to prove that I'm not biting it in secret. And otherwise expose all the other methods that I know of, and prove that I'm not using any of them.

I'm sure that I would have frustrated the hell out of them, and they would have made damn sure that I always failed the tests, every time.
Shutting down a nuisance is doing the entire neighborhood a favor, and that land can be repurposed to provide more housing in an area that sorely needs it.

The airports and race tracks were almost certainly built in the middle of nowhere originally. They can relocate some place that's currently a middle of nowhere. Airports and race tracks should exist in areas where land is cheap and abundant, not in places where lots of people want to live.

The land owners make a huge profit from selling the land to developers, current residence see their property values go up, and more people have the opportunity to live closer to work.

Sometimes things have to change for the better.
I would really like a browser which attempted to be extensible the way emacs is. No modern browser appears committed to extensibility as a key feature / differentiator.
Well, the french reactors are not processing old fuel. Spent fuel is taken out, brought to some other place (La Hague), replenished and then transferred back to the nuclear plant. This stretches the effectiveness of the nuclear fuel by a few percent but does not at all solve the problem of final storage of nuclear waste.

If this is, what the original poster meant with - "Reactor technologies have advanced, we just haven't built enough. We can actually reprocess the tons of old fuel we have for trillions of MWh." - I am a little disappointed.

By the way:
La Hague had nuclear accidents, including exposure of Iodium-131 and Caesium-137, explosions, tritium contaminations of the ocean, leaks, a catastrophic fire in the storage facilities of graphite elements and uranium parts, continuous contamination with Strontium-90 and others from 1968 until 2013.

https://fr.wikipedia.org/wiki/Usine_de_retraitement_de_la_Ha...

I just mentioned this because of:

"Anti-nuclear fear mongering has proved baseless. The French have recycled fuel like this for 30 years without incident: no terrorist attack, no bad guys stealing uranium, no contribution toward nuclear weapons proliferaton, and o accidental explosions."

in the linked article of the parent post.
Does that particular aspect require full time staff in-situ, though?
Because its gutting the energy and efficiency standards, making it less likely that power utilities will seek alternate means of electric generation if they are getting backed by the government for coal.

In the long run better energy and efficiency standards will do more for the planet than two nuclear plants

And the only people supporting the bill were the beneficiaries of the bill. God bless our broken government
> I would like to see how the numbers stack up to other countries that have a better work life balance.

From a western European country with way more holidays and worker's rights than the US here. It's just as bad; I immediately found 2 studies and 3 newspaper articles detailing similar or worse problems. I think it's actually harder to make friends here, because people are way more reserved than in the US and it's hard to become a member of local communities. I'm 21 and I've been lonely my whole life.
In _My Unwritten Books_, George Steiner has a go at Needham for hypocrisy in using his authority on Chinese civilization to make false statements about the Vietnam War
Depends on your goal.

If you want the computer to be "bicycle for the mind", you want to reduce friction so that "advanced" use isn't really "advanced", but normal. See also Hypercard, or how people use Excel in offices, or secretaries that extended Emacs because they didn't know writing Lisp was "programming", or countless other stories of end-user improvements.

If you want the computer to be a digital television set, or a digital collection of appliances, then sure - let's lock everything down, so that you can only do what you're allowed to by the vendors, and only through means allowed by the vendors. This is the scenario in which you want to add friction to end-user "advanced" use.

> How is the browser suppose to know whether the user wrote the extension or downloaded it from the internet?

It cannot be done in general - if a user can do something manually, a sophisticated piece of malware running outside of the browser can simulate too. But I think there's ways to add warnings without increasing friction. Having to manually re-enable each and every user-created extension on browser restart is IMO way too much friction. Being shown a warning about those extensions on each browser restart, but keeping them running sounds more reasonable.
CISA, MS-ISAC, NGA and Nascio: Recommend Action to Safeguard Against Ransomware
Free if you know how to use ADB and Fastboot.
That roaring sound you hear is the majority of the world's population wailing about how Silicon Valley companies don't understand that San Francisco is a tiny portion of the wide world.
TSA finds missile launcher in checked bag
I think he meant including the batteries in the solar/wind costs, which would make nuclear (relatively) cheaper.
I would be super happy, if they'd only shut down the nuclear reactors of the 70s, for starters!
This isn't the sort of thing you talk to "city officicals" about. There is almost certainly a political entity in your city/county made up of appointed or elected citizens called something like a planning commission. You do not talk to the city employees, they implement policy. You need to talk to the politicians who make policy, and have the policy modified for your project, if it will serve the community's interest.
Oh come on! You're going to drop a book reference but not cite the book?? That's just cruel.
A very valid point, but a change of topic. Let's cover Arizona in solar panels and we won't need nuclear.
I have the same question. In my lab the way you make fun of someone for writing a horrible monstrosity of code is to call it “research quality” or “Ph.D quality” or something.
The politically incorrect thing was already a part of a "social or political agenda". That a person can't or won't object because it would be too radical or controversial or, like, a total buzz kill, dude, raises questions about what the value of the epithet is to the people trying to protect it.
Thank you for this comprehensive list.

One item I would like to add explicitly (or emphasise more) is making use of static type checking - be it in the form of a compiled language or type checkers like mypy/typescript. It not only prevents runtime bugs but might even increase productivity when used with good tooling. In a conference talk (can't find it rn), an Airbnb engineer said around 38% of their JS runtime errors in the past could have been prevented by using TS.

Edit: here's the conf talk https://youtu.be/P-J9Eg7hJwE
When the Secret Service came to interview my grandmother, that's when things got the most interesting for me.

So the story goes, they only did that because the Defense Investigative Service didn't have anyone who could do the job locally, and so DIS must have asked around to find out who could do the job for them. But DIS agents definitely talked to various friends from college and other neighbors I had over the years.

Apparently only my grandparents got the visit from the Secret Service.
Those phones are tough enough you really don’t even need a case.
Understanding Vue Scoped Slots
Ask HN: Best Code Generator
What is the best code generator you know? That one tool that takes you from zero to MVP on no time.
Do that many people share rides with strangers in Uber? I never have.
But we've also never been at a point in history where a "respectable" publication can blast erroneous information out at the scale the Post did.

They might not lose the in a trial, but there needs to be reconning of some sort which breaks the assumed trust we've developed with antiquated publications.
I heard the raw cocaine price of a kg dropped by 20k last 10 years. I bet they are already flying.
> "Commercial speech" refers to advertising, or more precisely, speech that "proposes a commercial transaction". It does not refer to speech that is charged for.

Unfortunately, there is a received "professional speech" semi-exception to the First Amendment, explaining things like how there can be laws against charging money for legal advice (pure speech) without a state license. I assume that's what California is thinking here.
And I still disagree with the premise of the question, and so therefore I automatically fail.
Also, people associate neighborhoods in which there is lots of new luxury housing with neighborhoods in which prices rise fast. And they are not wrong, there is a correlation. Nobody builds new luxury housing in dying towns! But the causation is, of course, mostly not from the buildings to the prices.
> I can't think of a single large software company that doesn't regularly draw internet comments of the form “What do all the employees do?"

I also can't think of a single large software company that doesn't, in the long run, survive by either endlessly buying and extracting all the value out of smaller software companies, or creating a moat that makes it almost impossible for new competitors to emerge.

Having worked for a small software company that got acquired by a large one that used the former survival strategy, and therefore witnessed firsthand the subsequent doubling of headcount and simultaneous halving of overall productivity, I can offer one of what I assume are several possible answers: Paperwork. And lots of it.
A TV viewer thinks "How about butt clenching?", then one of the characters in the TV show articulates this thought and other gives a response. What actually the response is usually does not matter, because TV viewer already felt some connection with the show when that question was asked.

https://www.youtube.com/watch?v=x8w95xIdH4o