skysight-inc/HackerNews huggingface dataset:
I separate a lot of if/else components into a logical component and a render component. Now only the render components have styling, but they can share common style configuration, usually through a theme that's injected higher up (react-jss).

This keeps complexity of render components relatively smaller. I also don't mind breaking up compositional components for say NumbericInput, IntegerInput, WholePositiveInput, WholeInput, etc for form fields, each one with some entry filters in the component, and state level validation elevated to the containing component (and ultimately through form events, etc).

Beyond a lot of this, you have components with some display variances (subheaders that are shared in a given section of an application for sub-navigation, and some informative display), Most displays in the application I'm currently working on have about 5 shared higher order components (route level, header, section subheader, page footer, page capture/composition, data rendering, form input), and about 10-15 smaller/nested components just for rendering about half shared.

Across the application so far, there are about 200 components, with the application about 30% complete. The application itself is using react-jss as it's the base for styling with the material-ui component library. I've tweaked what gets placed in the theme a bit to pass additional configuration items into the theme. Portions of these additional options are part of a release configuration (per client environment/deployment), and part from flexible application options that are loaded from the API when the application loads, configurable within the application.

I've done similar things with dynamically generating base.scss files, and frankly the CSS-in-JS is far more predictable and easier to manage compared to prior applications using Bootstrap or similar SCSS/Less component baselines.
>The logic is "if you've used it to become the richest nation on earth don't knock out others using it to become rich".

Cool, so you have no issues with China, India, Africa accelerating their use of fossil fuels.
This reminds me of the dynamical systems approach to AI where a system is characterized by a trajectory in state space. There's a lot of work out there, although most of it is at a lower level (e.g., neural activity, robotics control, etc.) than cognition.

https://www.quora.com/Is-there-a-way-to-combine-dynamical-sy...

https://www.amazon.com/Dynamical-Systems-Neuroscience-Excita...
Punishing unfair trade practices works. It's always worked.
>A self-funded slow-growth profitable startup can be a much more stable bet...

I think his point is that Microsoft, Amazon, and Google are even safer.
> When it all went belly up those savers realized these Icelandic banks were not quite the same thing as UK banks and Iceland refused to make depositors whole.

That's a very inaccurate recalling of history which you can see from reading the intro to the relevant Wikipedia article[1] and a summary of the EFTA Court's decision on the matter[2].

The case centered around a dispute between mainly Britain, The Netherlands and Iceland about how to interpret certain EFTA regulations. Iceland's position ultimately prevailed in court.

1. https://en.wikipedia.org/wiki/Icesave_dispute

2. https://en.wikipedia.org/wiki/EFTA_Surveillance_Authority_v_...
In practice you don't need to use warm water. I do twice daily saline sinus washes with distilled water and it's pretty low maintenance. Tap would be easier but I've always found the idea of using tap water for this to be gross so it's never been an attractive idea.
Reminds me of https://en.wikipedia.org/wiki/Small_Is_Beautiful

> Small Is Beautiful: A Study of Economics As If People Mattered is a collection of essays by German born British economist E. F. Schumacher.
Me too! I think some things like “unsustainable food production” will probably slowly resolve itself with increases in automation and efficiency, but I do think runaway global warming will need a drastic solution.

What other ones do you think will be hardest to solve?
CarMarker-Animation Android
And we could make it really bright orange and boxy!
Former Chef here from the great state of NJ: I have never been licensed. I've worked for some of the better restaurants in the state (including NYT 4 star reviewed and James Beard nominated chefs). I've never known a licensed chef.

The restaurants require licensing out the ass, and I know there are ABC (alcohol handling) certifications required for servers, but cooks don't. At least one person (typically a manager) needs to be ServSafe certified, but that's not a requirement for every worker.

Meanwhile, a hairdresser must be licensed before they can step into a salon and do work. My sister and wife both worked in the industry, and I promise you they would both scoff at the idea of a 1 hour form/test for someone cutting hair. There's a ton of hygiene related things that they need to know to prevent disease transmission from cutting and handling hair daily.
Similar to how the US bailed out the banks. How about the citizens are bailed out. It would boost the economy. Restore faith in the system!
Please don't post uncivilly or unsubstantively here.

https://news.ycombinator.com/newsguidelines.html
It doesn't need to be repaid. It creates relationships, in the form of ownership or shared risk. Its why inflation is key and having control over interest rates and quantitate easing is such a powerful tool for managing all this. All this is not to say that it won't blow up in our face (in particular with perverse incentives where we continue to destroy on our environment).
Not trying to criticize as I don't know the reasoning behind the decisions, hence my questions.
The salts are to reduce irritation. Plain water is extremely uncomfortable in your sinuses, but saline is fine. As far as I know they do nothing to reduce contaminants in your water or harm bacteria.
I wish all articles like this had stats. But stats can be hard to create :(
This helps: https://upload.wikimedia.org/wikipedia/commons/3/3c/Supranat...
A major issue is that people on HN are largely ignorant of nuclear power generation. It's largely a bunch of wikipedia-educated people debating youtube-educated people. So none of the discussions are realistic, because there's probably four people on HN with any real world subject matter knowledge.

There's not the same blind-optimism to solar power generation.
Dual-color-Polyline-Animation Android
I agree that there are some cargo cult farming practices like biodynamics. The reality is, permaculture, a systems approach to farming, works. Not just in profit or yield, but also for unaccounted for value such as biodiversity.

Look, you are entitled to your own opinions, but not your own facts. You have provided little more than anecdotal evidence; no better than the 'the postings of internet denizens who've read some blog posts'. Permaculture has enormous potential to restore environments and ecosystems[0] and is better for the environment than industrial farming[1].

I'm actually genuinely curious why you seem to have such hate for permaculture? What has it done to you that you dislike it so much?

[0]https://www.omicsonline.org/scholarly/permaculture-journals-
articles-ppts-list.php
[1]https://www.mdpi.com/2071-1050/10/9/3218
It could be that because they didn't find bits of bird it makes it more likely to be a drone. I'd expect (and I have no experience here so someone with more please say if this is wrong) there to be bits of gooey, squishy or sticky bird still stuck to the plane.
Yes, that's what I refer to as "unified consensus". Batching helps to overcome the scalability challenges (i.e. order batches rather than each individual xact). I talk about this briefly at: http://dbmsmusings.blogspot.com/2018/09/newsql-database-syst...
This is so cool!!!!!
Thia is literally the first good thing I've heard anyone say about AOL from back then. Even back in the day, it didn't have a good reputation. But yeah, undeniably influential.

Nostalgia is a hell of a drug ;)
Well, if you're saving very aggressively to buy a house in the near future, it makes a lot of sense, especially in places where housing is extremely expensive.

Slow deposits and transfers are not a problem at all. You only need to transfer in or out maybe a few times per year at the very most.

i'm not sure what you mean with "janky"
I still don't quite understand how tap water in a neti-pot is significantly more dangerous than swimming in local lakes, swimming pool or the ocean. Certainly, you get water in your sinuses from that, right?
Interesting. I guess I've been accidentally optimizing when I put everything in a main() call after an "if __name__..."
Oh man, if the water is room temperature it really hurts my nose.
SpaceWeather News: meteor showers, solar flares, auroras, near-Earth asteroids
I think Chinese government has to welcome slowing down because it's just impossible to maintain a growth rate like that indefinitely. The GPD of China already come close to that of US. At this scale, the same growth rate is naturally becoming harder and harder to achieve and simply pursuing that number might lead to catastrophic outcome. A slow down in economy growth gives China more time to fix the structural problems caused by rapid growth, and reduces the chances of a sudden crush. Overall I'd say it leads to a much more healthier economy.

It has side effects of course, but Chinese government have much better control of the macro-economy compared to free markets in most other countries, and that would help a lot in avoiding economical crisis. The debt issue is concerning, but I think Chinese government is much faster in acting on and fixing problems.

Some of the slow down mentioned in the article, such as the fall in housing market, seems to be exactly what the government want, as they've tighten the rules for real estate by a lot earlier this year. There're strict criteria people have to meet to be eligible for purchasing a house. This is a good thing because the current real estate market in China is almost insane.
I don't think they would stop. I suspect what we're seeing is that the mobs shouting very loudly is being propped up by social media and the news media (who fall all over themselves to report it because of the controversy).

The reality, I think, is that the population of mobs is otherwise quite small, but because of the social media and news media megaphones they appear larger than they are. We're at a point now where everybody else is in fear of being attacked by those mobs so they quietly fund whoever they perceive to be in opposition of the mob. But at the same time, because of the media megaphones, the mobs incorrectly believe they are having success and thus the negative cycle continues.
I think many think articles like this intentionally make the numbers seem as scary as possible. Negative currency (debt) is a good thing for most people. It is what enables people to buy cars and houses or go to college. Of course, many individuals will get in over their head but on the whole it is a positive thing that individuals can take out mortgage and owe more on the house than they put down. The same goes for companies and governments.
In my experience using saline nasal flushes, having the water at room temperature hasn't really bothered me, as long as I've added the salt.
There are these obscure files called "logs" which record every interaction with your server. They might be useful, IDK.
If the drawing has the correct scale, it looks like you will have to lie down going through the tube. Futurama-esk.
yes.

Get it a rolling boil, and hold it for at least a minute. Longer at higher altitude.
It's also why several of the countries had issues feeding their populations during the war(s). I think it's fair to say, that what exasperated WWI was the secret (and not so secret), alliances everyone had made. Such that when Austria decided to invade Serbia, France had to declare war on the Ottoman Empire... (traditionally an enemy of Austria)
MV Wilhelm Gustloff - 9,4 thousand people (including 5 thousand children) died. Another forgotten episode of WW2.

https://en.wikipedia.org/wiki/MV_Wilhelm_Gustloff
That depends on what you mean by "sock away".
You can share style portions at the component level.. you can bring in portions of style definitions from the parent or even the theme level...

import baseStyles from './section.styles.js';

const styles = theme({
baseline: {
...theme.components.foo,
...baseStyles.foo,
// customizations here
},
variantState: {
// dynamically controlled style alterations for
// a different state
...baseStyles.variantState
},
});

You can totally reuse styles, it's just controlled at the component level. Beyond this, options for the theme itself can be injected by default, release, application settings in the app, and user configurable settings in the application.

export theme = async () => {
const {env, app, user} = getThemes();
return deepMerge(base.theme, env, app, user);
};
If you want to play with the algorithms at a high level [1], there are two Python AST -> bytecode implementations I've seen, and one that I'm using.

(1) The 'compiler' module from Python 2. I'm using this to build my shell project Oil, so it works.

See Building Oil with the OPy Bytecode Compiler: http://www.oilshell.org/blog/2018/03/04.html . The heavily refactored source is in the opy/compiler2 directory of the repo on Github.

(This module was removed in Python 3 due to its redundancy with the C implementation. But there's no conceptual difference between Python 2 and 3. Some small details have changed.)

(2) tailbiter, which I mentioned here: http://www.oilshell.org/blog/2018/03/27.html

They are written in very different styles. Tailbiter reads like Lisp code, which may or may not be what you want.

The generated bytecode is different in the sense that the values it operates on aren't just ints and floats (which hardware deals with), but they are dynamically typed objects. But this doesn't change the overall algorithm to generate bytecode from an AST.

[1] which I recommend over doing it in C or C++, because ASTs are
somewhat annoying in those languages
Makeup licensing in NC: https://ij.org/case/north-carolina-makeup-schools/

Eyebrow threading in Louisiana: https://ij.org/case/louisiana-threading/

Casket sales in Alabama (after the attention on the case, the AL legislature changed the law): https://ij.org/case/alabama-caskets/

Hair braiding in Iowa (after attention on the case, the governor used line-item veto to remove the offending provisions in a bill): https://ij.org/press-release/victory-african-style-hair-brai...

Hair braiding in Arkansas (after attention on the case, legislators sponsored new legislation to change the treatment of hair braiding under the law): https://ij.org/case/arkansas-hair-braiding/

Hair braiding in Washington (the Department of Licensing changed its rules in response to being sued): https://ij.org/case/washington-african-hair-braiding/

Animal massage therapy in Arizona: https://ij.org/case/azmassage/

Hair braiding in Texas (struck down in Federal court and then fully deregulated by the legislature afterward): https://ij.org/case/txbraiding/

That's the last 5 years or so of won cases just on this issue. They also take on civil asset forfeiture and legislated monopolies (such as taxi companies that have been given an exclusive license to a city), among a few other issues.
Completely agree! Taking the time to pull in the regulatory body that sits on top of a misbehaving behemoth absolutely works! I've done this with PHH Mortgage who "lost" a payment when they took over the mortgage from another company, and also with Enterprise Car Rental when they tried to scam me in Chicago during a drop-off. In both cases I received 100% satisfaction very quickly.

Other tips:
* Take the time to find the correct regulator... It might be in a different state than yours
* Prepare a complete document with as many facts and scanned copies as you can
* Clarify your desired outcome
* Send everything certified mail
* CC the CEO of the company with which you are fighting
* If sending a follow-up letter, included scanned copies of the certified mail receipt(s) from previous communications - they cannot then argue that they did not receive your previous communication.

Nobody wants a call from the AG or a Financial Regulator!

Yes, it is terrible that this needs to be done, but it works wonders.
Yes, it was well water. According to the article:

> Amoebas may be found in fresh-water sources around Puget Sound such as wells, but aren’t present in city-treated water, according to Liz Coleman, a spokeswoman for the Environmental Public Health division of the state’s Department of Health.
Ideally when you are getting up (from either side) you don't need your arms at all.

When sitting (front side downhill) pull your heel side edge as close as possible to your butt (more knee bend, how close are your calves to your thighs?) Dig the edge in hard as if you were carving. Lean your chest forward between your legs, including arms downhill of the board, so you center of gravity is close to over the board. Now stand UP with your legs. It's actually about flexibility more than strength. Your legs will be plenty strong if you have the starting position right.

You can practice this by sitting on the floor at home (no board, boots, snow pants, perfectly level floor) and just stand up without using your hands.

One nice thing about this way of standing up - if you slip you fall on your butt again instead of jamming your hand / wrist / arm.
I think it likely you’d just be replacing one set of neuroses with another.

I’m not even sure what “keeping your identity small” entails, other than assigning more of your merits/demerits to extrinsic factors, or in the Asian case to family or national affiliation. I’m not sure that either of those would help in the case of the online mass bullying that we’re discussing here.

Regarding the essay, I think PG was more right when he said politics and religion were topics which could not be decided upon, so everyone just lets loose. That echoes what Nietzsche said about modern (moral) debate being meaningless, because there are no objective grounds on which to judge anything, so people just shout at each other impotently. It’s an old one but a good one.
A Peek Inside Andrew Ng’s “AI Transformation Playbook”
I agree that the article conflates a lot of issues and I can't find a clear explanation on how government debt is calculated. Most of the global debt in the world is from governments and in this case it isnt the worst thing as is usually a relationship where a government owes its own people money but the people owe the government money every year in taxes too.
Yea. Even in aerospace and defense. Pretty important industries to long-term safety and success of our country. This led us to the F35 debacle and state of orbital launch services.
I think the problem is with Excel sheets and CSVs. We aren't taught how to manipulate data otherwise without the use of code. SQL seems to have immense overhead. Set up a db, import data, etc. Although it makes sense, it's an afterthought. We know how to write scripts, but we don't necessarily need to learn SQL to get the job done.
I don't think this is 'darwinism at work.' Where engineered controls are inadequate or impractical, it is incumbent on manufacturers to provide sufficient training and placard reminders to prevent users' injury or death. The bottle I have has no warning of what kind of water to use, and the sachets of salt do say what kind of water but it is in small font and they don't caution the user NOT to use tap water. In my case the instructions were lost long ago, so I can't say anything about them.

In my opinion it is far from obvious to a casual user that the use of otherwise safe-to-consume tap water is in this case a potential life hazard. Warnings of such import should be LARGE and in your face, akin to the black box warnings that are the very first things you read on drugs which have a small likelihood but significant risk.

In the example you provided, a single sentence in the middle of the paragraph tells the user not to use tap water, but doesn't bother to mention the risk. They repeat a similar warning without mentioning the risk. I don't know what is the standard for negligence but this certainly seems to me that they aren't providing enough information for a user to be informed.

Finally, your math confuses me. Perhaps your vessel is smaller than mine; mine holds 8 oz. so if used twice a day a gallon will last 8 days, if I don't overfill or spill. Not multiple weeks. Sorry, I can't help myself from the nitpick.

But seriously, the point is not about the cost, it's about Neilmed's failure to provide users with adequate information about the potential risks of failing to follow their simple directions correctly. I think they have not done their job.
I usually do, but I don’t have a bottle at all times.
I had a similar fraudulent charge sent to collections once. I collected evidence and started a case to get it removed with the big three credit companies which basically took their teeth away. You can win without playing with courts.
I think there is a reckoning coming in terms of what "educated worker" means, as increasingly, it does not mean "competent."

Competence and specialization is what drives rural economies. Machine repair, fabrication, feed mills, legal services, construction, teaching, child care, animal and livestock services, all require physical competence. These are considered blue collar jobs, because they require someone to actually do something to create value.

I would argue that the soft skills that corporate environments require do not create value, they at best manage capital, and usually deal in the factors and derivatives of negotiating wealth transfers and businesses that reduce to forms of amusement, posterity, and entertainment.

The urban/rural resentment has a lot to do with the relative dependency of each on the other. Cities need food, and farms need capital. Globalization means cities can get food for less from around the world, and the margins on farming are so thin that capital is mostly only accessible at the conglomerate scale.

Competence can be bought from a global supply chain, so rural economies are collapsing precisely because of globalization (e.g. international trade liberalization), and because of distorted fiscal policies that destroy local wealth in favour of centralizing it from global sources. The results have been, and remain predictable.

What is very likely is that city housing prices will become so high that companies will have to use remote workers to produce goods while paying the cost of living, and this will drive broadband investment.

However the real crisis is that the traditional urban/rural dependency and cultural divide is polarizing in favour of the urban side, who can be defined as the sort of people who use phrases like, "left behind," and who lack an apprehension of what follows ecological imbalance at this scale.

Adding educated workers to small towns will not revitalize them, and nor will building public works with public administrative jobs. Until there is a way to generate productive and competitive capital and build real wealth in them, without suffering predation by both their respective governments and globalized markets, they will continue to disappear.
"The quickest way to resolve all of these billing shenanigans: file a consumer complaint with the FCC"

This , I had to do this with Comcast because of their craptastic service ,BS, and invalid billing. Trying to cancel them I kept being passed around to ALL the wrong people and departments, hung up on, refusal to give confirmation that the service was actually cancelled. Finally figured the only way they would cancel my service was to write a complaint to the FCC.

Sure enough just a few days later comcast called and apologized and cancelled my service as requested and fixed the hundreds of dollars of wrongful billing.
More Visibility into the Android Open Source Project