skysight-inc/HackerNews huggingface dataset:
This has devolved into a fairly pointless semantic debate. What I'm saying is that rio is not built around compositing hardware surfaces, like all modern windowing systems (DWM, Mac CGS, Wayland) are. A windowing system that is not architected this way will always have inferior performance, and retrofitting the proper design onto an existing one based on memory buffers and drawing commands is difficult to do (see all the problems with XCOMPOSITE).
Absolute Zero is 0K
Agreed. At some point, its important for the powerful to change their tactics. They often fail to adapt to their new power (that wealth brings). This is the reason for anti-trust laws, regulations on banks (which have been largely dismantled) etc. Because so few people rethink their motivations when their power to affect people goes from one-at-a-time (like most of us) to thousands and then millions of people. If they stay capricious and selfish then every whim, tantrum and greedy indulgence hurts society in ways they have failed to consider. Some few have made the transition, often at the urging of family.
Apparently the Elite Dangerous text issue is an HTC Vive issue. There's no text issue at all on the Oculus.
Why do they need a high voltage tether? They don't need a high voltage battery.
It is a finger pointing game today.

The rich say, it is not our fault, the corporations are doing that.

The corporations say: We have to do that, because the "market" is demanding higher interest rates!

So, who is to blame: "The Market"?? The politics that do, what the "market" wants, or the workers, that do not work 10% fast every year to secure the rising interest rates?

We have created a system, that allows everybody to say, that it is not his or her fault, it is just the system. The politics also say, it is not their fault, that they fostered the system, because the business professors told them so. The scientists are also not to blame, because it is the "nature" of the money ...

So it is just a law of nature?

No, by nature, societies are better of, when everybody has his share and even when differences exist, some kind of sense for justice is implanted in every human being.

Today's system of zero responsibility has the power to destroy every basis of human societies. Some day, the super-rich will realize that nobody else is left, that cleans their rooms or empties their trash-cans ... while living themselves behind big walls and barb-wire.
Thanks for the tip on Quandl, and for the great library!
To transmit power, its better to use high voltage and low current. Reduces transmission losses; uses much lighter cables. Then where the power is needed its stepped down with transformers or 'buck converters'.
Sure. There's only one manufacturer who stays on top of updates the way Apple does with iOS - Google (or whomever they contract).

And this year, the only offering from Google are two phones (neither of which I need) or that tablet (which is larger than I wanted).

I did my research and there was exactly jack and shite all.

So then, I settled and went with cheap, thinking how bad can this be?

Samsung. Can they do anything right?
You would have to be very confident in the accuracy of your measurements to throw away your margin of error like that. If you report values 13% lower to try to appeal to consumers and your lab numbers are off by 3%, now you're wrong by over 15% and you're going to have a problem (if anyone even notices, or cares).

Are there any Polish media reports about this practice? It sounds like the kind of thing the American media would love to report about if it was happening here. (Anything that fits the basic format of "Are companies misreporting arsenic levels in your child's grape juice? Story at eleven!" is going to make a journalist here salivate.)
A lot of people say "Aspie" when they really just mean "socially mal-adjusted turbo nerd." It happens that lots of smart people are generally nice and can read a room. You just don't hear about them because they aren't constantly talking about their IQ.
Looks like there's code in different languages, so the arbitrary 500 line count gets even more hazy. As an extreme case, consider 500 lines of APL vs. Java.
Repost: https://news.ycombinator.com/item?id=11662809
> Realize that there is awesome existing software that you can repurpose

Every time I see this, I find that the problem of leaky abstractions result in a 3 phase solution. It's awesome in the beginning, everything "just [mostly] works". Then a few months in, you start to feel like a young dutch male with his finger stuck in the earth, holding back the ocean. In the end, you throw it out, having "stolen" the important bits for yourself.

Sometimes, you find yourself stuck at one of the first two phases. I wish it was more frequent.
I don't have a dog in this fight, just some questions.

Is it possible that it takes more revenue than up Upwork was charging for it it to be a viable business? I know some business charge more than their actual costs just to capture market share. Eventually they either go out of business or start charging more.

On the other hand, I wonder if their business model/pricing would have worked if they didn't have investors to satisfy. (I don't know if they have investors.) If the latter is the case, a "freelancers cooperative" could be viable at a competitive price.
Got a 403, here's a copy,
https://web.archive.org/web/20160227170731/http://blogs.lse....
https://blog.codinghorror.com/i-tried-vr-and-it-was-just-ok/
I would imagine it would be the amount it last sold for, adjusted for inflation.
Sadly what is needed is usually just a clear understanding of the requirements, careful study of existing code and documentation, new code, writing new automated tests, and careful manual testing.
Depends on what side of the package you're reading.

On the back label its says calories per serving. On the front they use a different serving size to make it seem like it's low-cal.

Like popcorn that's 140 cals/serving, but on the front it says 35 cals per cup.

http://www.foodfacts.com/ci/nutritionfacts/snack-foods/smart...

Or a pkg of 2 cupcakes is 380 cals, but they'll say 190 cals per cake (in small type). It makes you think it's 190 for the pkg of cakes.
Yeah, forgot to mention it when writing :)
Well... I tried.
He's referring to https://news.ycombinator.com/item?id=11782364
The Exquisite Balancing Act for Doing Science Right
Decreasing use of fossil fuels isn't a problem of having no alternative.

As the article alludes, it is a political problem. Many powerful governments are controlled to some degree by fossil-fuel tycoons (including the US), and these vastly wealthy people won't allow their governments to switch.
> Theres probably 100 to 1000 or so events like that in an area the size of the Bay Area.

On what timescale?
Yes, from the "Guidelines" link at the bottom of HN:

Otherwise please use the original title, unless it is misleading or linkbait.

https://news.ycombinator.com/newsguidelines.html
500 lines of what? 500 lines of APL / J / Q is enormous; 500 lines of Haskell / Scala / Ruby is quite a mouthful, 500 lines of Java or C is rather moderate, and 500 lines of assembly is precious little.

Also, since a line of code can contain zero or more statements, something like cyclomatic complexity, or just statement count, could give a better measure.

(Edited: fought autocorrect.)
Inside the Murdoch Makeover of National Geographic
Ruby operators: equality, comparison, pattern matching and ordering
I was following that case closely back in 2007 because of my pet (thankfully not affected). An astonishing thing I learned was that practically every brand of cat food and dog food in North America is/was manufactured by a single company called Menu Foods in Streetsville, Ontario, Canada.

The pet food "brands" don't have their own factories. They all contract it out to the same place. A few journalists remarked on this secret fact that came out because of the recall.

We agonize over which brand is healthier for our cats and dogs, but it's all an illusion. The majority of US and Canadian pet food is made at one factory with the same basic animal ingredients, same quality control, same employees, and the same machines. Maybe they adjust the proportions slightly and tweak the flavors. Then they slap on different labels like Purina, Iams, Royal Canin, whatever.

It's saddening to learn that we really don't have as much choice as we think. I'm much more skeptical and questioning than the average person, and yet I assumed that the pet food's "brand name" somehow made a difference.
This article's comment section is such an ironic gallery of strawman attacks on conservatives, btw.
Yes but the basis of determining what is gain vs loss is not fixed into specific action sets and can be changed for the betterment of all.
> If something is not true, who cares? All the same. These attributes make bullshitting worse than lying.

It makes bullshitting clearly BETTER. Being overly defensive about it, misses the point. BS is hard to combat, which is why it's a successful approach (not even a learned strategy because then it would be lying).
remember 1917 in Russia, and how much the SovietUnion did for the world and its nations until 1991, by just removing the rich and concentrating power with government, led by proper ideology. Stalin got the country of illiterate peasants with ploughs and left it with 100% literacy, and the nukes.
Please. Corporations are run by people. People with agendas. And at the upper echelons it's agendas to make them selves as rich as possible. This idea that somehow people aren't responsible is absurd. Presumably you work for a corporation. Do you check your brain at the door when you go in and turn yourself over to Master Control at the start of each day? No, of course not. It's long past time to give up this fiction.
Part of the reasoning here is that rentiers are not contributing to wealth creation and therefore their earnings on the rent are parasitic, therefore 'unjust and dysfuctional':

"Since it’s a payment for nothing that didn’t already exist, it’s a deadweight cost, and so not only unjust but also dysfunctional for the economy. "

The practice of renting exists as an option to owning. By renting, renters can engage in an activity with less up front capital to buying. For example, a contractor building a concrete sidewalk may choose to rent the mixer rather than owning it, so that it's cost is a cost of sale for the service, rather than a fixed cost that requires maintenance, storage and transportation. In that sense, the rental is a component of a larger transaction involving actual work being performed, and not parasitic. Moreover, by offering the mixer for rent, the 'rentier' reduces the total number of mixers that need to be produced, as it is a shared resource to contractors and they each do not need to own their own.

The same principle pertains to business. A fast growing startup may know they only need a space for a short time and will grow out of it. So it would make no sense to purchase the property they will inhabit for a short time. The rent they pay is an alternative to mortgage or cash, and it makes sense for their business purposes, which in theory do produce something of value.

In the example of home rental, making homes available for rent enables families to live in accommodations that they would not be able to purchase. These accommodations are not without cost to the owner: Taxes, utilities, maintenance, security and administration are all associated costs that rent payments offset. What the rentier provides in most cases, is a better quality of life than the family could have if they were forced to own the property they lived in.
That's awesome. Give your children a round of high-fives.
The linked-to https://en.wikipedia.org/wiki/2008_Chinese_milk_scandal was way more scandalous.

When bought in bulk, milk isn’t priced by the liter because it is too easy to water it down. Instead, it is priced by kilograms of protein.

Measuring protein is hard, so they measure nitrogen instead (https://en.wikipedia.org/wiki/Kjeldahl_method#Conversion_fac..., https://en.wikipedia.org/wiki/Dumas_method#Advantages_and_li...). Melamine (https://en.wikipedia.org/wiki/Melamine) is cheap, rich in nitrogen, and, unfortunately, poisonous.
Kind of reminds me of this story:

http://www.informatics.indiana.edu/donbyrd/Teach/Math//Gamow...
Good point. Tangentially, assembly language is extremely modal. Logic can be coded in almost exactly the same number of lines as any high-level language. Compare-and-branch is a single line as in any language.

But compositing data (building argument lists or structured data) can be exhaustingly wordy. A single call with 2 or 3 arguments can take a hundred lines of assembler.

So it all depends.
I wanted to mention Flask-Diamond in this thread because it can be used to scaffold large applications quickly, sortof like Django.

http://flask-diamond.org

One reason you might use Flask-Diamond instead of Django is because you might not need everything Django provides, so you want to remove libraries one at a time. Or, perhaps, you want to upgrade libraries one at a time. I've found it's easier to start with a full-blown Flask app, then remove things, rather than starting with a barebones app that I add to.
Not so huge.

nc -z <host ip> 0-65535

This runs pretty quickly, and if you're co-located with your attacker (i.e. aws), you're not going to be in great shape.

So ultimately, this offers about the same protection against a dedicated attacker that just hosting it on a non-standard port does, with the disadvantage of any clock drift making it much harder to access your own machine.
> Understanding different tools helps me to understand how co workers may approach a problem or teach me about why they use specific tools.

I agree with this but that's not what he said. He quoted very specific tools needed to achieve this and that was the cause of my disagreement.
Does "unjust and dysfunctional" = "u r a fag" [DH0]?

http://paulgraham.com/disagree.html

Let me try and do a little better: I would argue that this kind of rhetoric is not significantly different from social movements in various countries of the 20th century, the end results were not quite as benign as its supporters anticipated:
'During the land reform, a significant numbers of landlords and well-to-do peasants were beaten to death at mass meetings organised by the Communist Party as land was taken from them and given to poorer peasants.[169] The Campaign to Suppress Counter-revolutionaries,[170] involved public executions that targeted mainly former Kuomintang officials, businessmen accused of "disturbing" the market, former employees of Western companies and intellectuals whose loyalty was suspect.[171] In 1976, the U.S. State department estimated as many as a million were killed in the land reform, and 800,000 killed in the counter-revolutionary campaign.[172]

Mao himself claimed that a total of 700,000 people were killed in attacks on "counter-revolutionaries" during the years 1950–52.[173] However, because there was a policy to select "at least one landlord, and usually several, in virtually every village for public execution",[174] the number of deaths range between 2 million[174][175] and 5 million.[176][177] In addition, at least 1.5 million people,[178] perhaps as many as 4 to 6 million,[179] were sent to "reform through labour" camps where many perished.[179] Mao played a personal role in organizing the mass repressions and established a system of execution quotas,[180] which were often exceeded.[170] He defended these killings as necessary for the securing of power.[181]'
[typo edited]
https://en.m.wikipedia.org/wiki/Mao_Zedong
Reliably? Short version is no, and it is even more complicated. Two individuals eating the same food will gain weight differently, depending on a large number of factors.
Does not work, will create just another layer of very rich. Look at Russia after 1992.
Alternative stock exchange promotes both profit and social impact
I was recently deciding which to use in a small project: unittest, pytest or nose. My default starting point is to prefer the standard library for assumed participation and for longevity, but also to use 3rd party if there's a good reason or a clear consensus.

While looking at nose, I ran across this: https://nose.readthedocs.io/en/latest/

> Note to Users: Nose has been in maintenance mode for the past several years and will likely cease without a new person/team to take over maintainership. New projects should consider using Nose2, py.test, or just plain unittest/unittest2.

That made me not want to investigate nose any further, and I decided I had to just decide and move on, and chose unittest. The suggestion to use unittest in the Note helped make that easier.

Maybe next time I'll use pytest, but I think the issue in the Note will dissuade me from using nose unless it's resolved.
Flask is a server-side framework, as others have mentioned.

You should be comparing it to micro web frameworks like Nodejs' Express, Ruby's Sinatra, PHP's Slim, Java's Spark, etc.
They do! It is theorized they detect the electromagnetic fields given off by the cable.
I can confirm that this is the pattern that folks on Concourse have moved towards as well.

When the CI system has high-level primitives for showing and organising build graphs, it makes sense to surface those instead of burying them inside a relatively opaque build tool.
The exact phrase, yes, but I read "Temper the fighter, not the sword" here: [0].

The general observation that either the tool or the operator can be improved in an operator-tool system is semi-regularly invoked in discussions of new programming languages/EDC multi-tools/governance models within my conversational circles.

[0] https://www.reddit.com/r/systema/comments/3lcn5q/systema_lin...
I like good old propaganda. Looks like a citation from "Pravda".
I found the handwriting pretty good. However they tend to be quite verbose in their language.
There are a number of things we can do to increase society's collective IQ, without resorting to selective breeding.

1) Prevent brain damage: Ensure that all children receive adequate nutrition, and eliminate exposure to toxins such as lead.

2) Make sure every child is educated up to his or her full potential.

3) Provide access to contraceptives, so that children are born only to people who feel themselves ready to be parents.
Like Czarina Ekaterina said, oh I do not understand what is wrong if you have no bread, you can always eat some cookies.
The longer you have to maintain the software, the more of an improbable scenario (in the eyes of past view who made a decision on maintainability) you become. I'm not saying that all software should be implemented in the most quick and hacky way; rather, that you need to strike a balance. And in a lot of situations, you don't actually need to build a well-maintainable, modifiable and extensible solution.

It just feels better to build such a solution as an engineer. Stories about these solutions are much more interesting than "I used a ready box and saved the company two weeks of my time so I can spend it on another feature of a prototype". And usually, the better technical level of a software developer, the more he prefers the long, right, rigid way to do Things That Last.

But from entirely business perspective, this is actually good advice in a surprisingly big share of the situations.
I think the answer is that it's really hard to study this, since food diets are hard to control over long periods of times but that current research is consistent with calorie counts being a good estimator of a person weight gain/loss. Here's a reasonable summary with some studies you can look at for the details. [1] But this is certainly an area of ongoing research and the devil is in the details: does it matter when you eat? [2] Does your gut microbiome affect it significantly? Genetics? Is there inter-person variation in how their body adapts to different food? Does fat/carbohydrates/protein/fiber content affect satiety in a manner that helps people lose weight in real life situations even if it doesn't matter in a clinically controlled setting where overeating is impossible?

We might never have full pictures of all these questions.

[1] http://examine.com/faq/what-should-i-eat-for-weight-loss/

[2] I know specifically that this is currently being tested in some large-scale, high-cost studies. Which tells me that researchers aren't as confident as [1] makes it sound like.
Is there any way of being able to store a corresponding value to the elements in the set?
I understand that hash tables do that -- however, what I wish to ask is that do we have a space efficient data structure for key-value pairs?
Erm, how is "u r a red" any different?
No, because different people have different metabolism. Think of it as if the body has a "target" weight. It actively tries to reach that weight and can compensate overeating (easily, by throwing away excess food) and undereating (not as easily but still can compensate a lot). This mechanism interferes heavily with your diet and that's the reason you can't easily change your weight at will by changing your diet.
It changes over time if you permanently change your diet and lifestyle, but takes years.
There is a value to time that is often discounted in naïve valuations. Why is rent justified? Because using land for a day, and using it for a year have very different values. Its not just land that's being paid for; its land use over time. This raises its ugly head in discussions worldwide. Folks must come to understand that time is truly money.
Laser-cut Folding Ukulele
Whacking great big CDNs in front of your infra will do that.
This is the same guy who was going on about /r/European being a misunderstood place that is definitely not a neonazi/white supremacist forum.
Informatica Developer ETL Training Online in SRY IT Solutions
And many millions of innocents dead.
The idea that IQ is heritable, as in the genes from your parents have a substantial effect on your IQ (leaving aside diseases), is far from established and most cognitive psychologists would violently disagree. Any effect from your parent's genes is drowned out by socioeconomic status, the environment, pollution, time, education, etc. For example, the correlation between your IQ and your cousin's IQ is almost negligible (the correlation between your parents IQ and yours is a bit higher but still small) and something as pervasive as the Flynn effect is an order of magnitude more meaningful. It's not even clear how verifiable these correlations are because they tend to change substantially over time. If you don't believe me head over to your local university and talk to some of the faculty, see what they think.

To round it all off. The correlation between IQ and anything useful like say.. income is absurdly weak and most of the correlation happens at the low end where it really accounts for people with some pathology.

So no. It's not sad that people aren't being fed fake racist or sexist "facts" these days. It's good that we don't place value on things that don't matter and it's sad that people hold on to racist ideas from 100 years ago that have no basis in modern science.
This is all just empirically incorrect. VR headsets are already in the hands of consumers, and not causing simulator sickness in the circumstances described. Developers have now had lots of time to experiment and find out what does and doesn't cause it. Accelerating the viewpoint? Yes, that'll affect some people. Placing objects close to the viewpoint? That's completely fine, and the author's idea that this will somehow mess up people's depth perception is flat-out wrong.
Had me till this:

"If it were apparent what businesses need started already, they’d be started already. "

(while recognizing my white male privilege)
'Pravda' stands for 'The Truth'. If you have rich, there will be a lot of poor. Maintain the lifestyle when being rich is immoral, you have no poor, everyone has a job and the streets are safe. This is my impression of the USSR of the 80-ies.