skysight-inc/HackerNews huggingface dataset:
> In actual code, it is of course attached to some definition like `type: TOK_STRING`.

Yes, naming helps. I was mostly sympathizing with the people whose brains explode at the sight of a regex. It’s surprising how much time it took me to be sure I understood your simple pattern.

> Are you confusing this with that e.g. the language of validly parenthesized expressions is not regular? A single string with the option to escape any character including the escape character and terminator is regular.

This is a good correction, thank you. I was thinking of cases where balanced pairs allow both escaped delimiters and nested pairs.

> This feels like a big leap for something I didn't say was even involved in web development.

I hope it’s clear I didn’t intend to make that leap, and was just generally reflecting on the ways simple patterns can go awry. That’s why I said “for example” and “would”. If someone were to take this pattern or any of the variants and use it in a context that writes innerHTML, it would be vulnerable to XSS by failing to account for multi-character tokens like &quot; in its escaping.

> The two languages I have most often used this in don't use slash delimiters, so I think this has only added ambiguity - now we are considering it embedded in some specific-but-unspecified language's regexp syntax where we might need to consider another level of escaping - compared to letting the regex stand "bare".)

I understand that many languages don’t use slash delimiters. But it’s quite common to use them for regex where a language context isn’t assumed. My point wasn’t to impose slashes on your example but to make it explicitly knowable, in words, whether the quotes were intended as part of the pattern. Not knowing that was the primary reason I wasn’t sure I understood the pattern’s intent.
A manual meat grinder [0] is operated by running a hand crank that moves in a circular motion. The implication is that after two years of having done only this one job, the motion is instilled in the hand such that they can now draw perfect circles. The Soviet army was infamous for both its cruelty and the pointless repetitive errands the conscripts would have to do.

[0] https://en.wikipedia.org/wiki/Meat_grinder
Serious question. How do we make enough solar panels and wind turbines that will be capable of producing all of this energy without destroying all of our natural resources/habitats?
Thanks, I had not heard of this, but will definitely give it a read. Zen definitely does go a bit into lofty metaphysics, enough to lose some of the more casual readers. Shop Class as Soulcraft is very much in the physical world. I think that point on the line that many of seem to feel is when we no longer understand the underlying principles of the technology, but both (all three?) books examine the breaking down of these knowledge barriers. For anyone else still reading this comment - Zen focuses more on "quality" and it's definition, than the actual work. The physical acts of adjusting the bike serve as introduction to the discussion.

Anyways thanks again for the recommendation.
Running a Local NTP Server
Ubiquiti UniFi Comparison Charts
How about these 178,000 men, of whom about 35,000 died: https://en.wikipedia.org/wiki/United_States_Colored_Troops

I don't think their primary motivation was preservation of the Union, I think it was abolition.

Let's not pretend preservation of the Union was the only major factor, or that abolition was entirely a back-burner concept, it had been building steam and popular support for decades.

Sure, preserving the Union may have been the main concern on a realpolitik level early on, but that doesn't change the fact that abolition was the writing on the wall and had been for decades.
Wallaby Card.

It was a multi-payment credit card idea. I didn't have one, but I really admired the way it was put together and I can't help but think they were just too early. Right now would be the perfect launch window especially if you could use it as a crypto and fiat card.
The same company has a branch in Toulouse, with a pretty cool minotaur.[1]

[1] https://www.halledelamachine.fr/en/1203-2/
If you talk to Airbus, the current plan is hydrogen, which is emission free, besides water. Since you can extract it from water by electrolysis, there is an essentially endless supply, assuming you have endless clean electricity.
>Why does paying the player hurt amateurism but paying the coach doesn't? Why would a player making $50 to sign his name on some hats ruin the game, but CBS paying the NCAA billions for the rights to broadcast the game be totally ok?

Are the players underage? If the players are treated as employees of a business would the business have to jump through tons and tons of extra legal hoops?

I'm not saying that this is the case. But it's not too uncommon that messed up situations arise as a result of society's desire to protect a group.
The whole concept of college sports has been detrimental to what should be the true goal of these institutions: educating our next generation.
I wish that evaluating expressions in a C++ debugger worked more often. It fails half the time (due to "optimized out") in Visual Studio C++, and 80+% of the time (for various reasons) in Qt Creator, even in debug builds.

Maybe it works better in non-C++ languages.
Perhaps, but that lends credence to the theory that people using print debugging may just not have learned how to effectively use a debugger yet.
I think we're mostly arguing about how useful the various approaches are. At least for me print debugging is a measure of last resort unless I want to extract some historical data out and I know it won't influence the timing of the issue I'm trying to chase down.

With print debugging your inserting the whole build + deploy + repro setup loop into your debugging, if that's a long time(say 20 minutes in one job I had with production hardware) you're in for a world of pain. I find that just about any other tool usually is an order of magnitude more efficient.

Also even the "step debugger" tools do the same thing you'd do with a print. LLVM for instance uses the IR JIT API to generate watch/eval values: https://releases.llvm.org/9.0.0/docs/ORCv2.html#use-cases

IMO you should relentlessly optimize your iteration times, that's the inner loop of development speed and print debugging fares pretty poorly in that area for all the reasons above.
Sure, we have plenty of minerals left ! But where and how much energy you need to extract them.

In France we have lithium in Alsace, we could dig-it-up, but it's really not worth it energy wise and environmentally wise.
On the likes of Yelp/TripAdvisor/Amazon/App Store? Absolutely not, those are relentlessly gamed. I typically look for product reviews on Reddit these days by searching “product_name site:reddit.com” on Google. They tend to be more honest, have more relevant details, and/or suggest alternatives that you can further research.
> Crossing west-to-east Europe with electricity is already loosing 30% of it. Let's transport electricity from Australia to India !

From the DESERTEC website:

> For long transmission distances direct current transmission is superior to alternating current. Alternating current has high losses due to capacitive and inductive resistance, which do not occur in direct current transmission. With that technology, a 3000 km line (for example Cairo to Munich) has losses lower than 10%.
What is lowering?
I don’t really understand. In your TV analogy, what is analogous to looking at HTML source code? Looking at composite video on an oscilloscope? You seem to imply that at one time we had a more open age of TV, but now TV is all locked down, and you’re worried that the same might happen to the Internet and/or computing?
Well if you generate enough excess power, you hardly need to store any.
Recommended: take a look at how hey.com uses <details>/<summary> with <a> to enable dynamic drop-down menus and progressive enhancement via Hotwire, it’s inspiringly simple and elegant.

I’ve also used them for modals and slideovers. Use in conjunction with an [open] selector and adjacency combinators for maximum utility.

See also: <dialog>, already in Chrome, and for which Firefox’s support is looking good in nightly builds; and the :focus-within pseudo-class.

From the department of “You might not need (much) JavaScript”, which has come a long way from checkbox hacks.
How much was your system?
I'm interested what precautions people take when searching for something like this they find in a binary.
Seems like the sort of thing that could easily be a unique string that could drive you towards a particular website, or even the act of someone searching for it could have been enough to trigger a result in Google search manager.
> China and Russia probably won't, but the US will cripple itself (again) out of caution.

Do you have any concrete examples when this happened before? Writing (again) implies you think there was already such a precedent.
Hostile takeover > leveraged buyout > private equity. They keep changing the name once people catch on to what a dirty business it is.
http://large.stanford.edu/courses/2010/ph240/eason2/
This is precisely what should be done. The scholarship model should die. The athletes should be employees of the University and paid a salary for their work. If they want to go to college on top of that, they can pay for that separately or negotiate reduced tuition as a benefit or in lieu of salary.
From the whispers we've heard about Riot Games over the years I entirely believe this is their corporate SOP for shutting down unwanted fan projects.

That being said if I were in their shoes I'd shut down immediately, put up some angry screed on the project's website, and disappear off the Internet. If someone from Riot's actual legal team wants to demand destruction of source code or whatever, let them do the extra PI gruntwork.

Of course I'm also the kind of person who's massively shied away from fan projects precisely because there are people who not only do not appreciate them, but are entirely willing to legally prosecute you far beyond just shutting down the project and clearing the market. Why? I dunno. There's a weird school of copyright morality that wants to equivocate any kind of infringement with forcible rape, especially with regards to fan projects. It's like some sort of weird dual to toxic fandom.

(It does not help that certain fan scenes, notably Melee, are full of actual sex pests. I still consider it a false equivocation.)
Bitfinex did this by printing Tethers out of thin air. See this video: https://www.youtube.com/watch?v=k1W_Gyerhug
Compared with other popular European countries, Italy is cheap. But I don't know if it's that cheap.
> it's dishonest to say "My Career" when it explicitly refers to her achievements as a professed amateur

NCAA's claims of "amateurism" are blatantly dishonest in the first place. They control what are pro minor leagues in every way except for the denial of straightforward compensation to the players.
Reminds me of a joke: This machine does the work of 10 men. Unfortunately it takes 15 men to operate it.
Especially when you need to run your code on a remote server as part of a bigger platform like some Cloud or Serverless system.

These systems likely already have a way to get logs, but good luck getting a debugger to work there.
You don't believe a single word of that yourself, do you :-)
Is Elon Musks's Neuralink going to change the way we listen to music
This makes no sense.

Without storage excess power is useless at best, dangerous at worst.
> Only a month or two ago, India was in a great position with respect to COVID and was regarded as having successfully managed the pandemic.

No, not really.

The surge in covid-19 cases has been ongoing since late Feb/early March 2021.

https://www.bbc.com/news/world-asia-india-56206004

Infection rates grew exponentially since.

Large political rallies and the government's decision to prematurely reopen everything against better judgement are known key factors in India's outbreak.
How I look at it, had they spent the same amount of money in a different way, they could be carbon neutral. Climate change is an emergency but no one is acting like it.

It's one thing to say "we don't think it's worth the money" and another to spend the money but not achieve much, it's even worse IMO!
Password managers seem to be the most critical software where open source and reproducible builds are needed. Are there any good FOSS password managers that can do remote sync and team permissions?
The vast majority of American college students, including college athletes, are adults.
In Spanish it means "badly", which is an encouraging goal to give the project a try :)
All the riot folks use handles when communicating externally.
Not to mention what do we do with old solar panels after they've lived their life. There's going to be a lot since a lot is needed to generate the amount of power needed. There's a good chance it will just get shoved onto some 3rd world country for them to deal with.
> Its a good system for athletes that are not stars and don't play big money sports.

Honestly, for the author, she was playing tennis and got an education out of it on the backs of those playing revenue sports. I don't fault her for this--she didn't make the system--but it doesn't look like she went pro, and it she wasn't kicked out while she was in school, so the only damage she's suffering is the NCAA saying she wasn't on the team. Unless she's coaching, and being a college athlete is almost a qualification, she seems to have done OK.

That said, I still think she's right for calling out the NCAA.
>George FLoyd threatened to shoot a pregnant woman in the stomach

Snopes says it's not true; who (outside of right-wing faxlore) says it is?

What's it called when you believe something that matches your bias, even when it isn't true?
This is far too biased. Not providing any info either. More victim complex for India.

Below you wrote:
> Outdoor transmission is incredibly rare.

Which is demonstrably not true. You were responding to people in close proximity for long periods of time outside.
> Are the players underage?

Why would that matter? Underage sports participants get money all the time (tournament prizes, junior racing sponsorships, etc).
Fortunately space and land are cheap in the vast scheme of things.

There are very large amounts of "free" space, on rooftops, for example.
Wind turbine blade recycling is hard. I wouldn’t call it a proven technology. For example, all recycling options discussed in https://designedconscious.com/plastics-in-the-ocean/sustaina... are into inferior products (shorter glass fibers, ash, etc)
2010 blog article ?

https://pv-magazine-usa.com/2020/09/16/how-long-will-the-lit...

> The scenario which assumes 73 Mt of lithium supply left, best policies (recycling, V2G, second-life) implemented and around 3 billion EVs on the road sees lithium fully depleted a few years beyond 2100. If the same policies and number of cars were matched with just 26 Mt of lithium, but recycling efforts would only grow slowly, battery manufacturers will close shops even before 2040.
I had no idea. That thing is incredible
What killed e-scooters is the fact that they are never where you need them and they are always in all the places that are annoying.

If I'm hitting the grocery store, I need a scooter near my house. The problem is that this isn't a volume point, so nobody puts more than one at a convenient point and its always gone.

Once I get to the grocery store, I need one to come home. This IS a volume point, but quite a few people walk to the store and then ride home. This drains the volume point so I can't count on having one when I need it.

However, I will be tripping over scooters generally at the halfway point (there's a very popular hipster coffee shop) when I walk to that grocery store--a point where the cost isn't worth it anymore so now the scooters just piss me off.

The problem to be solved wasn't scooters--it was roads. We need dedicated low-speed infrastructure--walking, biking, scootering, whatever, that doesn't allow cars. However, fixing that is slow, not profitable for just you, and requires that you move the political apparatus.
Container ships are massive emitters of some pollutants like SO2, but not CO2.

Sources usually put the carbon number at around 3%.[1] this number has been rising in part because the denominator, global carbon emissions, has been falling as power has been emitting less.

[1] https://www.transportenvironment.org/what-we-do/shipping-and...
The thing is 'bad people' include those who masturbate, LGBTs and many other such crazy definitions that cause real harm to kids and adults.

Obviously, not all Christians and factions of Christianity.

Edit: Also, in some factions, a big part of 'forgiveness' is confessing to a male 'virgin'. For kids and adults.
They only this strict out of self-preservation. They know they're ~5 years or one high-profile screw-up away from having to actually pay football and basketball players, so they're delaying it as long as they can.
> is to get super-smart children acclimatized to the world and outside of their comfort zones continuously, socialized, humble, street smart,

More practically, sign them up for the marching band and/or sports. And don’t let them play clarinet.
The Things They Won't Believe
In case there's somebody else who couldn't quickly find what book is this a review of, it's "The Fiume Crisis" with ISBN 9780674244245.

In case somebody is interested in this part of history, here are some Wikipedia pages on Rijeka in this time period that should give some context:

1776-1918: https://en.wikipedia.org/wiki/Corpus_separatum_(Fiume)

1920-1924: https://en.wikipedia.org/wiki/Free_State_of_Fiume

1919-1920: https://en.wikipedia.org/wiki/Italian_Regency_of_Carnaro

1924: https://en.wikipedia.org/wiki/Treaty_of_Rome_(1924)

Overall history: https://en.wikipedia.org/wiki/History_of_Rijeka

As always, be cautious with Wikipedia.
Ask HN: Easiest way to get a modern IDE with Vim style key bindings
I have a team member who loves vim, but hasn't taken the time to setup additional tooling for autocomplete, jump to definition, auto-formatting, continuous error checking, etc... I'm beginning to think this is his bottleneck because he is talented, but works at about 70% of the pace of others. Particularly, the lack of jump / peek definition and autocomplete.

I'm asking this question because I want to suggest a solution, one where he doesn't have to touch his mouse but he also gets modern IDE features without a ton of setup. I used vim in the past and was able to get these features for Python but I remember it was rather arduous. Later, I just switched the VS code and decided I didn't really mind moving my mouse.

The language is primarily Typescript. The platform is OS X. I'm hoping there is some combination of (IDE + extension) or (vim + config) where he can just try it out and get the listed features out of the box.
I mean, a school could just disaffiliate from the NCAA. They could run independent sports programs and play other independent schools, or join the NAIA or some other association, or start a new association. They won't though, because ultimately it's all about the money.

Also to your point about enforcement, you'll see that the money-making programs (i.e. Football and Basketball) at the big D1 schools get away with a lot more operating in the gray area than small schools and non-revenue sports. The NCAA isn't going to shit in their gravy train. They save the virtue-signal enforcement for schools and sports that don't make any money anyway.
If they're crediting you for that energy at anything close to the retail electricity rate you're effectively getting a really generous subsidy. Because solar is so cheap but only produces electricity sometimes and at pretty much the same time everywhere in the region, the actual cost of electricity when your solar panels are producing heavily and feeding back into the grid is much, much lower than when they're not producing and you're a net consumer of grid power. Not only that, but it's a subsidy that's likely paid to wealthy people who can afford to install solar by poorer people who can't.
> How are you supposed to figure out that A happened before B in a multithreaded program using only a debugger?
Setting printpoints, letting them be hit and continuing... this whole thread seems to arise from the fact people have not learned to use debuggers.
Because none of it is genuine, that's why. It's an entity that exists to profit off young athletes.
Courts are led by humans. Judges (and juries) and in particular old judges (and older juries) often don't have a good grasp on technology and injustice like this happens. Luckily there is the appeal process in most modern countries so that such misdeeds can be corrected. Unfortunately a lot of people were hurt by this. Hopefully some good education of justice officials can come out of this.
That's one of the worst ad hominems I've ever seen. Sure, the author herself might have done OK, but she's pretty explicit that the incident affected others and that there are many more who haven't been so fortunate. She even names several and tells their stories. She uses her own case only as an example, not as the basis for her entire argument. Dismissing it because "she's a beneficiary" is absurd.
I downvoted it because I think it's a meme that ignores where contemporary compiler engineering is happening. We don't even realize they exist anymore - V8, Graal, Roslyn, etc are all optimizing JIT compilers running in the background that can compile multiple languages on the fly. And they do a great job.

Not everything is a C++ compiler, which is inherently difficult to compile correctly. Let alone quickly.

I think the future of compilers is that everything will have an incremental parser and JIT compiler with optional AOT compilation for release builds. Hopefully LSP and DAP will take over the world of tooling integration.

There are other fundamental mistakes to look at than error messages and performance, like pretending that build systems don't exist and that linking multiple compilation units isn't something the compiler can do. Compiling code is getting much easier, but building it is much harder. Compilers have the most information and internal structure to handle all our build problems, but don't do it.
An AOT compiler would do a one-time translation to a platform-specific binary.

If the environment you run on doesn’t support JIT compilation (iOS for example), AOT compiling WASM is useful.
I’m open to the possibility this will vary based on engine, but I don’t think it should. The pattern specifies:

1. Match a quote.

2. Match the shortest sequence of:

A) any character preceded by a backslash, or

B) any thus far unmatched character, until

3. Matching the first unmatched quote.

The 2.A case should match before laziness kicks in. The only case when it shouldn’t is if the backslash has already been consumed by a previous escape.
[deleted. made mistake of commenting about cryptocurrency.]
This is true. On the other hand, <details> for menus and dialogs is a stretch, semantically. And <dialog> natively supports ESC to close/cancel.
I know the old Apple extreme and time machine routers used to default to 10 rather than 192 ever since then I’ve kept my internal routing within that block.

It just looks nicer to me which shows the power of Apple and how easily I am influenced.
I made a video game out of a PDF. It has 200 000 pages. Can you beat it?
Not to mention the fact that on-street parking often makes stop-sign intersections very dangerous because the parked cars block all visibility, even when set back from intersections.
And similarly that library might as well reuse the standardized APIs of "<menu>" and "<dialog>" where possible. Then eventually, you might not need any library and there will be no code change required.