skysight-inc/HackerNews huggingface dataset:
From the conclusion:

> Virtual DOM is valuable because it allows you to build apps without thinking about state transitions, with performance that is generally good enough.

In other words, Virtual DOM is somewhat-valuable overhead. This is a cool alternative, seemingly sort of a compile-time version of Knockout. It's probably worth a try for writing an efficient client app, but I have a hunch that I'd miss the "HTML-in-JS(X)" pattern if I went back to using "JS(?)-in-HTML" instead. A VDOM runtime allows you to write plain JS that "just works", at least until certain parts need to run faster. This means junior programmers can pick it up and become productive quickly, and avoid driving their projects off a metaphorical cliff.

Of course this is bought with bandwidth and CPU overhead, lots of it in some cases. The call you should make when considering a VDOM is whether the safety and familiarity benefits are worth the overhead. If your team is experienced enough to take on a new DSL for rendering markup (which every template-binding tool really is) and meticulous enough to assign instead of mutate and avoid two-way binding pitfalls, go for it. If not, be careful.

This is not meant as a challenge. Personally I wouldn't want to work on a big application that is wholesale optimized in this way, unless there was no alternative. I wouldn't write my own game engine (if it was for a job) either.
It's also veering very close to vengeance.

And if that's what the people want, then, what the hell, let's bring back hangings in the town square, so they can get the satisfaction of seeing the murderer swing after trial, and cut out the 20-50 years of keeping them in prison.
I always thought it was related to the aesthetic of the gothic architecture which seem to play a large part in modern goth imagery
You're talking about malum prohibitum and I'm talking about malum in se.
Is leaving a piece of metal out in the rain coding? Is having coffee coding? Are snakes coding? Is a bad grade on a test coding? Is a musical note coding? Is a red gemstone coding? Is an even worse grade on a test coding? Is something found in an oyster shell coding?

Any other fun ones I missed?
The trouble with making this a crime is then you strongly incentivize people to deny, delay, obfuscate, etc., when what you really want is full cooperation. The full cooperation "no fault" approach has led to aviation being incredibly safe.

"Anything you say can and will be used against you" means you will never get to the truth of what caused an accident, and it will be much less likely to ever get fixed.

Furthermore, if you criminalize mistakes, you'll have a hard time getting top quality people to work in the industry.
Successfully taxes streaming services? Shiiit, there's no such thing as successful taxation in Chicago. The city and it's crook county are corpses.
most people understand declawing is cruel and don't do it. and as i've witnessed far too often in my own neighborhood, feral cats often live short lives and suffer tragic deaths.

unless you have supportive research in human-feline relations, cat population epidemiology and comparative global felis catus sociology buttressing those anti-american presumptions, my cats will continue enjoying their happy indoor lives.
How different would a small LTL weapon be to lets say a 5G antenna?
Actually I’m kinda impressed someone put a market order to sell $30 million Bitcoin and the book filled it then and there.

Yeah it moved the price. That’s a pretty big trade for BTC. Would BTC have cleared $30 million in actual trading volume a few years ago?

Now the fun part, good luck getting the cash out of the exchange!
I don't shop there often, but I've never seen any tags you can write on, or even writing implements of any kind. That's just how the store works.
There is a world record holder for 1000 mile races who is all about running off only fat. Advises to eat nothing before the race, and to refuse all of the gu and gels they try to hand you while running.

I successfully completed a marathon 3 months after reading his book after having never run more than 3 miles in my life. (Stu Mittleman - Slow Burn)
The French can be a great choice for black in the right hands. White often plays for a quick attack on the king side with Qg4 while risking losing control of the center. Allow black to get a rook on c8 with an open c file after c5 x d4 and black is looking good.
Agree. Do you think price is the limiting factor for lackluster demand? Maybe if they can make model 3 cheaper than 35k demand will rise
Sardinians, Basque (perhaps), Albanian and Greeks

Albanian are a mix or Yammaya, Corded Ware cultures, and the hypothetical Pellasgian people/culture

Greeks are in the same spot. They are called paleo-ballkanik population for a reason. (Fun fact, 23andme has hard time distinguishing the people genetically between Albanians and Greeks and are lumped in the same spot)

Some of the remains that were found and dated to 5800bc, have genetic markers similar to today’s inhabitants/Albanians. Which means there was intermingling/mixing of the Indo-European commers with the original cultures who are supposed to have had darker tone skin and blue eyes

There are antic accounts of an earlier culture in the are called Pellasgians, and there are some city names that still have survived to this day (eg Larissa in Greece, and Lezha in Albanian).

This is all pre 1500b.c. and is still hypothetical as archeological findings have not found populations that were genetically different up to 5,800b.c

As for the actual culture and language, that’s a different story. There are many cases where local people adopt a language or culture of a conquering class, (most Latin speaking countries), or vice versa (Bulgarians)

But from genetics alone, Sardinians seem to be the European population closest to the earliest farmers
A decade or two (probably less) and health insurance will plug your details into some shared DNA database and automatically disqualify you because your genetics predispose you to a laundry list of conditions, not worth the risk. Or, we will cover you but not for these genetic disorders as they are considered "preexisting conditions".
> She was able to match a palm print recovered from the elevator control panel, and lifted during initial crime scene processing, to those taken from Wypych in 1971 when he was arrested for larceny, SPD said.

So, why didn't they attempt this kind of matching in the first place? Much easier than DNA.
As is commonly the case with Citylab, this article is drawing conclusions that don’t follow from the evidence. Toward the bottom, it points this out:

> But the study wasn’t entirely conclusive, Monkkonen says. By making the development frame about the process as a whole—the question posed to respondents suggests that the city gave the developer a special permit to build at a higher density than usual—they’ve partly conflated a distrust in government with a distrust in development.

It is not surprising if you tell people the local government is letting one developer ignore the rules, and that the developer will make a pile of cash because of it, that people get suspicious.

The reason is that real estate developers routinely openly bribe government officials, ruin existing communities, break community development promises, make tons of money, and are never punished.

The president and his immediate family are high profile examples of this, but this has happened multiple times in every area I’ve ever lived in (in multiple states).
What are the limits?
If I'm understanding correctly, this is a shim that:

1) serializes the fields the bash completion API gives you (when you hit TAB)

2) exports them to Rust, then

3) passes the Rust program's results back to bash?

I've been working on similar problems, and I understand why that's appealing. Bash is a pretty bad language to write completion scripts in! It's really bad at string and array processing [1].

----

Though on a quick glance, if you're exporting $COMP_LINE and $COMP_POINT, then it's making the job of the completion script very hard, since you're passing off the responsibility of parsing shell to it:

In other words, if you have something like:

mycommand --flag arg\ with\ spaces --flag2=<TAB>

Then it's not desirable to pass the entire string. It would be better to parse it and pass:

["mycommand", "--flag", "arg with spaces", "--flag2="] # and indicate index 3 being completed

Another common case is:

echo $(dirname <TAB> # I don't need echo $( to complete

I noticed this deficiency of bash while essentially cloning the bash API for Oil: https://www.oilshell.org/

One consequence of this is that the bash-completion project (maintained separately from bash) actually has an ad hoc bash parser in bash! This is really bad -- unsurprisingly it has obvious bugs, like not being able to complete inside command subs. An ad hoc bash parser in Rust would also be bad.

So instead Oil parses shell for you -- since it has a shell parser! -- and then it gives you the partial argv array. So then the plugin is only responsible for what it can reasonably do.

-----

Additional, I proposed that this could be made into a protocol that other shells consume. So instead of writing bash completions in Rust, you could write zsh/fish/bash/Oil completions in Rust.

https://github.com/oilshell/oil/wiki/Shellac-Protocol-Propos...

A lot of people are already "scraping" bash completions this way, i.e. to use in zsh or their own shells, so it should not be hard to come up with something "standard", given those working examples.

https://github.com/oilshell/oil/wiki/Projects-Already-Doing-...

If you're interested in chatting about it please join https://oilshell.zulipchat.com/ .

I wouldn't say it's the #1 priority now because Oil already emulates bash quite well, but I think a bunch of people are motivated because they 1) don't want to write completions N times, for every shell and 2) Don't want to write completions in the bash language.

home page: main page: https://github.com/oilshell/oil/wiki/Shell-Autocompletion

IMO it makes sense to write completions in whatever language the command line tool / flag parser is written in.

[1] https://www.oilshell.org/blog/2016/11/06.html
By "Neo" do you mean the "Luxe Bidet Neo"? The one where you attach it to an existing toilet?
AnimEigo: The AnimEigo Titling System
> The tax would still be charged even if their service were built entirely out of free software and all they streamed was public domain material, as long as they charged for the service.

If a user couldn't simply `git clone` and then http://localhost/ , that would still be a proprietary service. Even if a foundation is free - HTTP/TCP/IP or even Free software as in your example - services built on top are not necessarily so.

My point is that Netflix is better viewed as yet another cable company, rather than as some champion of the Internet. This is especially relevant to Net Neutrality, for understanding when Netflix will turncoat - they aren't going to be standing up for p2p rights.
Welcome to Rails world! It’s a fun place to work :)

Why no helpers:

1. The scoping is weird and encourages bad patterns.

- You have access to the instance variables from whatever controller action happened to call the particular helper, but you can’t see that when writing the helper or in the view, so it’s very opaque. God forbid you actually USE the instance variables and you’ve now got these weird fragments of tightly coupled code between your controller and your template that quickly become hard to reason about.

- It’s better if you require that all helper methods be strictly functional, but in that case it’s still unintuitive because your methods are mixed into every view. This can lead to surprising name collisions and all kinds of other weirdness.

2. They’re not easy to test due to the issues above.

3. They’re weird to include elsewhere - for example if you want to reference in a model.

3. Most important: the principal value of common utility functions is to have the sort of “general purpose operations” defined in exactly one place, well tested, and then utilized everywhere else.

For all of these reasons you’re better off defining modules and using ‘module_function’ to make the methods directly accessible. Then you can just call the methods like ‘Utils.foo_bar()’ wherever you need them.
Can you specify what you find dubious?

Anyway, here's the source: https://www.ncbi.nlm.nih.gov/pubmed/15615615

It states the maximum conversion is (290+/-25) kJ/kgd.
It's been a while since I last worked on this subject but I believe that works out to somewhere in the range of 0.8% to 1% of body fat that can be converted into energy per day at most.

Of course there were some experimental controls in the study that don't always map exactly into the real world. There always are but this should be close enough for the discussion here.
Virtual dom is an implementation decision for performance a developer shouldn't even be very aware of. The main upside to react is that it has a huge ecosystem.
Isn't the new meta that aging isn't due to oxidization but to an impairment to the body's anti-oxidization mechanism due to under-oxidization? Because, if that's the case, more oxygen would slow your aging by putting your anti-oxidization system to work.

None of this is oversimplified and stupid.
Fast-food workers get a new perk: finish a shift, get cash to go
Agreed. The exponential character makes it eerily similar to life processes.

I wonder whether anyone has measured temperature reduction in a runaway prion replication process.
Sometimes outside of that physics lab. fbz over at knit yak (https://knityak.com) has been making very impressive computational "knitwear" for 4+ years.
Privatization of land records and public data is a shitty thing, if a potential buyer is scared away by a public record of their transaction being published, they shouldn't be buying the property in question.

I'm proud that my state mandates free, open access to property ownership records and county/city maps & GIS data. Property appraisal in Washington State sounds much easier to do than in Texas where this data is locked away from the general public, as another thing counties and cities do here is rate structural build quality, integrity, and also have a bank of photos of the property over the years (generally whenever a permit is pulled or the age of the last photo set is over a few years old) as part of the public record.
Surely JS engines are also optimising React-style code. e.g. the article says that react style code does a lot of unnecessary object creation (e.g. map) but if that is now a common pattern then JS engines can do a lot to optimise that away.
My recommendation here is to wait a couple of months until Ryzen 3 comes out in laptops. While an IPC boost is nice (rumors are between 10% - 20%) the real reason I say this is because the new 7nm process should net a significant reduction in energy consumption. AMDs demo of Zen 3 in January showed their 8c/16t CPU performed almost identical to Intel's 9900k with 1/3 less the power consumption.
I have a congenital heart defect; If the doctor didn't find it, wouldn't that more likely fall on them? Plus if you know it from birth, isn't just a higher premium (I suppose it could be too high)?
Appreciate the suggestions. Will definitely take a look. I don’t fly a ton but have been considering a proper backpack or duffel carry-on for a while.
Very interesting. I assumed that the limit was due to some internal process and hadn't considered maximum CO2 output. Wonder if this means people with larger lung capacity could burn more fat per day.
I've had a fair experience with Lenovos, in particular my Ideapad Y700 (few years now) and my wife's Thinkpad A485.

I'm looking forward to the upcoming T495s that drop the A moniker to replace my y700.
I thought this was well known years ago. A better description for VDOM should be 'It's not fast, and is not slow either'.

But frankly, what I see in virtual DOM is not about speed. It's a declarative interface, an abstraction. It's more like a blueprint that's easier to interpret across different environments like React Native, WebGL. Even if you don't need any of these cross-platform benefits it's still good for testing -- without real DOM.

As for performance, it could be an aspect of advertising but I doubt it really matters anymore.

I saw many applications where AngularJS is too slow, and I even worked on one for quite a while -- it's just a fairly typical 'enterprise application'. But I still yet to see a real-world front-end project where React is too slow.

Users won't even care about if it is 10ms or 30ms.
Yes. It is an excuse, even for poor behavior.
Your characterizations are spot on. One major potential improvement for the shell_completion crate is to provide a higher level API for use by completion script writers. This will of course make writing completion scripts easier, but it will also allow for abstraction over various shells.

Thank you for the detailed feedback.
Forgive my ignorance, but how does ‘water and soap’ work?

I can immediately see the application of a tersorium, but not water and soap.
tldr, So they strapped different head gear on people doing the balloon analogue risk task (BART) and found the helmeted folks inflated the balloon more.

I'm inclined to think cyclists in a whole bunch of gear do take more risks, but this experiment doesn't really do much to prove that. Headgear offers no functional protection in the BART, so the effect must derive entirely from some more general, irrational, feeling of security.
No need to do that. Keep your current salary secret and tell them your desired range. Say it depends on the position. Eg 100k to 150k depending on the position and responsibilities.

Some will say let the employer say what they’ll offer first. I’ve never got that to work, unless they are upfront enough to put it in the job ad or have their recruiter reveal it. Plus it’s a lot of wasted time for both parties if at the offer stage it’s way too low.
While it is no doubt true that there are likely some vulnerabilities in AMD's chips that don't exist in Intel's, it is also true that because Intel has a larger market share, that's where most of the work is going to be done to find vulnerabilities, by the bad guys as well as security researchers. Much like how Microsoft Windows used to have a lot more security problems than any other OS, because they had >90% market share, so no one bothered to develop malware for anything else.

Monocultures invite epidemics.
My wife knits. Yes, it’s like coding: it has a language, there are algorithms, instruction-sets and tools. And sometimes bugs you have to back-step to correct.
Certification process is generic enough to apply it to different types of aircrafts. There is no specific requirements for different subsystems introduced by manufacturer. Simulation fidelity is tested against real world data but it is not possible to collect data for every condition that might occur during flight. You may refer to FAA FSS Level-D QTG document for further reference. [1]

[1]: https://www.faa.gov/about/initiatives/nsp/media/14CFR60_Sear...
> Running burns about 100 Calories / mile[0] (62.5 Calories / km).

Okay, at least that blog post is written by someone with a phd, but you can't really take this at face value either. It's probably reasonably true in general (obviously still highly dependent on the person doing the running), but you seem to be assuming that this rate is the same on short runs and long runs, which sound suspicious. I wouldn't at all be surprised if the rate of energy expenditure increased as the time/distance of the race increased. Also if they're running instead of sleeping, I imagine that is probably increasing energy use as well.

I'd also be pretty surprised it the 100 calories/mile was taking into account the person's resting metabolic rate. That could easily add another one to two thousand (more depending on the person) calories per day.

Finally, even with your analysis coming to 1.5lbs of fat, that's quite a lot of fat in a trained athlete. I'd expect most of the men running these races are well below 10% body fat, and the lower your body fat is the more resistant the body tends to be when it comes to losing more. Losing 1.5 or more lbs of fat would probably be moving their body fat percentages down quite noticeably, which is not easy to do at such low levels.

So maybe it is all bs, but I don't think it can be ignored so easily either.
Affordable Care Act does not allow for discrimination based on pre existing conditions in the US.
The “Linen Book of Zagreb”: The Longest Etruscan Text
I should point out that main risks to cyclists are having to share the road with motorized vehicles, and cyclists going faster than is reasonably safe without protective gear.

I feel like the emphasis on head gear is just a way to avoid the real issues.
Why I’m Leaving Silicon Valley
It's interesting to ponder how many people there are who have these far end of the spectrum genetic traits that could give them an edge in some sport but have no idea and may have never even tried out the sport. How many other Michael Phelps are there in the world who never had access to a swimming pool, much less a social environment that would have encouraged taking up competitive swimming?
> ElementTree is in the stdlib. It isn't slow and has incremental parsing and so on.

I had enough trouble using it efficiently that I went and wrapped Boost property tree[0] and can happily churn out all sorts of data queries (including calling into python for the sorting function from the C++ lib) in almost no time.

I was taking daily(ish) updates of an rss feed and appending it to a master rss file but sorting was pretty slow using list comprehensions so now I convert it automagically to json and append it as is. No more list comprehensions either, just hand it a lambda and it outputs a sorted C++ iterator.

Though I probably should've just thrown the data into a database and learned SQL like a normal person...

[0] https://github.com/eponymous/python3-property_tree
Thanks for sharing the i3 used cost tidbit! Can confirm -- just found a 2015 one with only 40,000 miles for about $15,000
https://www.carfax.com/vehicle/WBY1Z4C58FV502306

Any comment on whether it's a car that would last to 150,000 miles? I see a warranty of "guaranteed at least 70% capacity for 8 years or 100,000 miles".
> The piercing, high-pitched noises were first heard by a couple of recently arrived United States Embassy officials in Havana in late 2016, soon after Donald Trump was elected president.

If it is a psychogenic thing, I wonder if that partially explains it. The embassy was opened and cooperation between US and Cuba increased during the Obama years. After Trump was elected, the writing was on the wall for the continued cooperation and the fate of the embassy. What was expected to be a fun and exciting post to a Caribbean, now turned into a dead-end position with everyone possibly soon shuffled back to desk jobs until the next reassignment.

And the suddenly everyone is shuffled to the SCIF, all huddled together, and they are told "we are under attack, something mysterious, possibly Russians is frying our brains. Also don't tell anyone about this". That's a lot of stress, uncertainty, and anxiety. It would put even the most cool headed people into a hyper-vigilant state.

I know someone who had a habit cough for a while. That's a very physical and real symptom that can affect someone quality of life quite bit. So as the article says, just because it is psychogenic doesn't mean it is benign, made up, and not serious.
>looking to get a new (mid-range gaming) laptop this year

If you can, build a gaming PC instead; you'll have a more powerful and more upgradeable machine for a fraction of the money (as low as $600[0]). And it'll likely work. In my experience, gaming laptops don't work. Laptops in general don't work, but especially gaming ones and especially for gaming. Ironically, this gets truer the more expensive a laptop is, which is the opposite for PCs.

0: https://youtu.be/e9aRzfF4WCw?t=162