skysight-inc/HackerNews huggingface dataset:
The thing is, for the vast majority of human history, the ability to quickly pack on fat was a crucial survival trait, and those with “skinny genes” wouldn’t last over a hard winter. It is only in soft modern society that it is viable to live without onboard energy reserves.
PowerStove+has+an+ambition+to+redefine+the+concept+of+clean+cooking+in+Nigeria
Yeah tape-based algorithms are an anachronism, but the idea of eliminating bounds checking via a terminal value is very powerful.

An example of this in action is LLVM's MemoryBuffer [1], which is input to a parser. How to write a parser? Perhaps it performs bounds checking at each production. However LLVM guarantees that the MemoryBuffer is NUL (0) terminated. A parser can then arrange for NUL to be a terminating character, and handle it uniformly.

The resulting parsers are faster, and also significantly clearer and easier to write, because there's no need for bounds checking at all.

http://llvm.org/doxygen/classllvm_1_1MemoryBuffer.html
Severe whataboutism
Wrapped Bitcoin: the power of Bitcoin with the flexibility of an ERC20 token
Thanks, i had no idea.

I assumed this was similar to Amazon cards in the UK ie a great way to quickly move money off a stolen credit card with only a 20-30% laundering cost.
That is true to some degree. That to which you are referring is metabolism. Metabolism however, is influenced to a large extent by enviroment and level of exercise.

But correct that it might be genes was observed in the dutch population generations after early nineteen hundredth's famine crisis: [ https://www.nytimes.com/2018/01/31/science/dutch-famine-gene... ]. This eventualley led to a new area of study called epigenetics (of which one of the pioneers actually earnes a Nobel's Prize I think). Epigenetic research has shown that genes are not final. In the case of the dutch famine, the famine-victims which survived had undergone epifenetic changes (their genes changed) in response to the famine, their body would become extremely energy efficient and their energy partitioning would lean towards buildup of adipose tissue (fat). However (!!) research later shown that these gene alteration which their offspring inherited and which were observed throughout the dutch poulation generations later, was reversible by environmental factors and exercise.
> First it signal's "I don't do superfluous effects and scratches even if I wanted."

I wish that included the kind of DJs that can't resist driving their isolators hard every 30 seconds.
>make more efficient use of calories (burn easier rather than store as fat)

That’s the opposite of efficient...
Use multi-SAN certificates. Yes, it means revealing who is using your service, but that's for you and your customers to weigh against the costs.
In normal countries you have a strong civil society & consumer associations that have the teeth to bite these scammers.
Was up for me when I shared. Might be the traffic.
I live in Sydney but 4 years ago I lived in the tropics. Sydney doesn't get close to tropical levels of humidity. It's a completely different type of heat. 30 degrees with 100% humidity is fairly unbearable for working outdoors. 42 degrees in Sydney is hot but fluids keep you going.

In Townsville, I would experience heat distress doing exercise at 8am due to the humidity. In Sydney, I could do a 5km run in 40 degrees if I wet myself beforehand.
Should we do a quiz test about which one of us knows C best?

Rest assured, except for the C11 changes to the standard, I do know C pretty well.

I majored in systems programing with focus on distributed computing, graphics and compiler design, so I got to use it a lot, and even teach it to first grade students.

My first job was writing server secure code across Aix, HP-UX, Solaris, Windows NT/2000.

So what about that quiz?
Go automate teachers and actors then.
Could you please not post these? It's off topic, and breaks the rule in https://news.ycombinator.com/newsfaq.html. Yes, the current situation sucks. But the issue has long been decided on HN because the alternatives are all worse. Someday that will presumably change and we'll all be better off for it.

Please review https://news.ycombinator.com/newsfaq.html and https://news.ycombinator.com/item?id=10178989 and
https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme..., and avoid taking HN threads on tangents that have been repeated ad nauseum already. I seem to recall that you've done it a lot, and you pretty much crossed into trolling below.

We detached this subthread from https://news.ycombinator.com/item?id=18994596 and marked it off-topic.
That is pretty obvious, but doesn't mean that genes have no effect.

A certain gene might make you feel hungry more, and will make you eat more, and will make you bigger.

Another gene might cause someone to prefer certain foods, and again cause a difference in body weight.

Pretending that everyone is the same is pointless. Someone who doesn't feel hungry much might say, it's easy, just eat less. But that advise is pointless for someone who constantly craves food -- eating less might be incredibly hard for one person while it is incredible easy for another.

The article presents some evidence that our genetic makeup has an influence on our body weight. Lets not dismiss it just because it doesn't fit in to the world view of "everyone is the same".
Also I am afraid that not a single thought was given to an accessibility.
If anyone hasn’t seen oyez[1], I highly recommend it. It’s a simple web app that plays back Supreme Court proceedings, showing the current speaker etc. It’s somewhat intoxicating to listen to history in the making. If you click on the oral argument link, you get the dialogue experience[2].

[1] https://www.oyez.org/cases/2018/17-204

[2] https://apps.oyez.org/player/#/roberts10/oral_argument_audio...
One thing I miss from that guide.

What about compiling everything with GCC security enabled like Google does on Android?
I think achieving suboptimal play can be pretty straightforward — keep the parameters the same, but simply limit the amount learning. Some tweaks might be necessary here and there, but as long as you have basic gameplay down but not perfected, it should work pretty well.
Starcraft is generally balanced by adjusting the map pool rather than the races.
This is not really obvious if you’re not from the US. In Poland (and I guess other continental Europe countries) you can appeal to a regular court. The possibility to appeal to court is considered one of the basic rights one has.
Of course that's a choice for everyone to make, but I feel like in general the benefit of fitting in the platform is overrated.

After all the whole webapp-everything somewhat shows that people don't care that much, they are happy to use GMail for example. Another family of examples would be the big software packages like the Adobe or Autodesk stuff, they tend to have a fairly custom look&feel.

IMO it's probably sufficient for the thing to look "modern" (ie up to date wrt to UI fashion trends). Then you get the huge upside of easier maintenance and less bugs.
Congratulations to all involved. The satellite appears to have been made by Space Kidz India, a Chennai-based space education firm, it only weighs 1.26kg and took 6 days to make for a cost of ~ $17K.

We need as many of these experiments by as many countries as possible. Level the playing field and innovation will come.
I think the hunger thing is habit?

If I'm in a job where I get a regular lunch break at the same time every day. If for some reason I'm late my stomach starts rumbling really loudly, conversely if I eat early I have problems eating because I'm not hungry. Now this can be as little as 30 minutes difference either way.

I don't have the same issue at weekends though.
Really? So you are saying people from China can't chung out copies of NFL with slightly higher numbers? Because those are EA's bread and butter.
Not to discount the Cirklon, but have you seen Polyend's Seq? Always seemed like everything I'd love to find in a hardware sequencer. More info: http://polyend.com/seq-midi-sequencer/
This is something I've definitely changed my mind on several times in my life.

I studied Maths at uni so I definitely have a bias to the author's position of transforming the problem into a form where an elegant solution "falls out" naturally. However, I think this is because I am comfortable (from training) with transformation steps and can easily see whether they matter or not in terms of affecting the answer.

The example the author uses seems nice because their entire audience is experienced/intelligence enough to see why padding zeroes works.

There's a puzzle where you are given an array of ints and told every term appears twice except one. You have to find this "lonely element". This can be solved naively by looping through the list and recording how many times you see each number.

It can also be solved "elegantly" by XORing the whole list - but it is not immediately obvious why this works. In this case I would definitely say the elegance is not worth the obfuscation cost.

The personal compromise I've come to is to try and refactor the code so that specifical cases are extracted and quarantined as much as possible, leaving the main algorithm hopefully clear and elegant.

For example, in the article's first example, I would not pad the array but would split out a separate function neighbours(i) which returns [1], [n-1] or [n-1, n+1].

This approach makes more sense in more complicated examples, (say a 3D grid) or in particular if padding is impossible, like you have to calculate (sum of neighbours) + (product of neighbours).
The mines are actually coming into another mini-boom. Our economy will do well. Politicians will ignore the environment.
> Right now, there's a growing nationalist sentiment growing in Ukraine

Yes there is, but Ukrainian Neo-Nazis aren't exactly known for their understanding of history.

> Imagine shouting about the Armenian genocide in Instanbul, or about the extermination and oppression of Native Americans in a major city in Texas.

Except Ukrainians and Russians are the same people, and it's Germans and others who slaughtered them.

> Your ancestry might as well be "Polish with a mix of Lithuanian", 'cause who knows at this stage, no? Did you take a DNA test?

Maybe, it's a region that's had many conquests and we're all mixed to some degree. But my ancestors all spoke Ukrainian and were Orthodox, and Slavic culture has always been defined by culture, not necessarily ethnicity.
Load Balancing in Azure
> Don't eat too much and you won't get fat.

Just invent flying cars, that will solve some problems. Easy, right? The "HOW" is a problem, not "what is needed". When obese people don't eat too much, their body thinks "I don't have enough, time to enter energy saving mode and increase hunger".
actors and teachers are so easy, they've been replaced by software programs.

what's hard is replacing programmers, but we're getting there, no worries.
Interesting article about a topic that Westerners generally find dystopian.

However, it didn’t make much mention about how this system can and has been abused to punish dissidents (e.g. feminists) and how citizens with low social credit can redeem themselves. From other articles about cases I’ve read the rules seem to be quite opaque and somewhat subjective to whims of the enforcers.
There are already some automation packages around, in dev-sec project we have them for ansible/puppet/chef including automated compliance tests for inspec.

https://dev-sec.io
https://github.com/dev-sec/

(disclosure: I'm core maintainer of dev-sec)
This soft bigotry against Chinese culture is really tiring already. Chinese culture and people are all over the world: America, southeast Asia, singapore, and so many other places... To think that cheating and IP theft and scams is somehow part of Chinese culture or that these are virtues unqiue to these exotic orientals and we should drop our Western preconceptions is so unbelievably condescending... And how offensive to Chinese people, both in China and overseas, who earn their achievements though their honest and diligent labor, the kind of work we value here too.
> It seems implausible that the value systems in these places would have so widely diverged in a relatively short amount of time.

I think you need to read up on modern Chinese history. PRC became communist, then had the cultural revolution... Both of these things had severe consequences on the value systems. And could almost explain 100% of the cultural differences between mainland Chinese and other Chinese ethnic groups.
As an alternative for Electron it's not as important, so I cheer the effort.

But...

For me that means it's not really "native". Native as in CPU native is just to say it's reasonably fast and efficient. It's nice, but I'm looking for platform native.

When your application is native in the first sense, you are competing with almost everyone. Games, even applications written with SDL are native in this sense. And almost every cross-perform widget toolkit out there - Qt, GTK+, FLTK, Fox Toolkit, IUP, Juce...

I think that then you also need to state if you handle accessibility. If you don't handle it _yet_ you better have a plan to do so. With accessibility you could cross out most of the toolkits I mentioned. That's how you stand out.

Now I'm wondering is there a toolkit that started as a crossplatform accessibility library and then gained rendering capabilities? I think accessibility is harder, so when it's bolted on later it's even harder.
That's a good insight and yes, humans would probably be overpowered eventually. However, this is just the consequence of the fact that all games are similar if you remove external limitations such as reaction time (or, alternatively, produce a more efficient "being" which is not as subject to these limitations as some other).

Starcraft is like chess in some sense. The largest fundamental difference is that it isn't a perfect information game.
Bringing IPv6 to Barcelona
Doomsday Clock says it's almost the end of the world as we know it
Death rates have dropped during past economic downturns
How I would summarize the development of AlphaStar and Mana's strategy over the series:

1. AS studies games played by humans to learn what they do.
2. AS takes advantage of high-APM, high-precision blink stalker micro to defeat immortals (something no human can cognitively/mechanically accomplish).
3. Mana realizes he cannot play vs AS as if he were playing vs a human.
4. Mana discovers an AI exploit using the warp prism + immortals to force AS's army back, keeping his own base safe. This is a specific counter-AI strategy, not something that would have worked vs a human player. AS does not know how to properly react because it has not seen any replays of humans going up against an AI by exploiting it.
5. Mana gets enough breathing room to build up a large enough force to win the game.

In short, Mana won because he "solved the problem" of how to exploit this particular AI.

This is actually not a new strategy -- several years back, the stock SC2 AI would do the same thing: pull back when you attacked its base. I could win vs AI using the exact same trick that Mana used. Blizzard has since updated the AI not to fall for this trick.

The real test of DeepMind's learning abilities is thus: if AlphaStar had seen replays of that exploit vs AI, along with all other replays of humans vs AI over the years, would Mana still have been able to win?
Nice one. Besides that huge depression on Thule, what's also interesting is that they must have made contact very gently, possibly after circling each other for millennia, otherwise the result would look very different.
> At the same time, a whopping 76 percent of survey participants said that “mutual mistrust between citizens” is a problem in Chinese society. Social credit systems are viewed as a means of bridging that trust gap.

I'd say on the contrary, when anyone could snitch on you, you'd lose your trust in society. The social credit system might have the exact opposite effect than intended.
Legacy of Adam Smith: A Conversation with Jesse Norman MP
There is another potential use: given these limitations, an AI might be able to learn to be better strategically, which could translate to an even greater advantage once the limitations were removed later on.
> which should be very similar culturally to mainland China

Why though ?

Apart from looking similar they are quite different culturally from mainland China. A lot of which stems from the fact that they were former British colonies and have always taken inspiration from the West.
Whats lost in all this is how idiotic the extra hours are to begin with. Games aren't different than other tech. Burning out your employees is demonstrably counterproductive. There's some usefulness in short term crunch but some large studios crunch for a full year. But games are run like entertainment companies and a lot of the decisions are not fact based.

Even if the only thing a union did was stop the exempt status for developers with regard to wage law we'd see a huge quality of life increase without much of a real impact on worker output.
So it's Flutter, but with ReasonML/OCaml instead of Dart.
>I'm certainly no expert but isn't it only cheating by western standards? Wouldn't it be interesting to have a culture that doesn't conform to that standard and see how it fares?

That is a question most don't ask. They assume the laws they have and the way they go about such laws are what fits every culture -- and every people at every circumstances.

And they don't just believe that those laws would be good for those people: they also believe that they can readily and without problems adopt them too, as if it's just a matter of will.

Truth is, those laws are not some universal constants, but a result of both inheriting the Greco-Roman culture and Roman legal conceptions, and 2 millennia of iterating on them (and of course Europe itself was divided into islands of elites and peasant chaos up to the times of Hugo and Dickens, and the US of course had the "wild west" frontiers where the rule of law wasn't exactly what is today).
> “We’ll say, ‘Listen, we’ve had stuff in the area. Would you mind giving us consent to take your DNA, so we can rule you out for committing any crimes?’”

But this is exactly what they are doing? It is an accurate description. Of course they keep it for future crimes too.
Overly simplistic, but the cultural revolution destroyed an entire set of social norms and many of the people in power in various regions were adolescents who were at the height of their rejection of such norms due to normal human development. Unfortunately that rejection of society that seems so crucial as a teen doesn't actually play out very well in the long run.
Thanks—added above.

Discussed at the time: https://news.ycombinator.com/item?id=11504102.
Completely agree. I have the same issue with Google Cloud and DigitalOcean. This is a real need for SaaS providers. A wildcard customer-name.my-saas.com is not enough. Many customers want something like service-name.customer-name.com.
> why is cheating endemic in China whereas you don't hear the same complaints about people in Taiwan, Hong Kong, Singapore;

Because cheating is a cultural rather than ethnical thing.

There are ethnical Chinese people in those regions you listed, but sure mainland China sailed a totally different cultural course over the last 70 years.

In mainland china, cheating mostly happen because of over competition. If you don't cheat, others will and will crush you in business or academic competition. Cheaters go home for chicken dinner while non-cheaters goes to jail.
Rule of law vs rule by law
Dat Project – A Community-Driven Web Protocol
>Lesson learned: don't outsmart the logic of the business.

Very often when people try to solve problems, like the one you faced, with software, they fail to recognize that you might have to rethink the business logic. It's my belief that the majority of software design for specific niche business and governments fail because there was a lack of willingness to change and simplify the rules.

Of cause a project create a new system for taxation will fail, if you have 6000 pages of rules, not including the tax law itself.

Often we think we have a software bug/issue, in reality what we have is a flawed business logic. Until such time the people in charge fixes the logic, we're not able to do anything clever of efficient in software.
BBC spam
Massive famines, "cultural revolution", decades of civil war, genocides.. in general the demented social programs of Mao and his henchment. This was China from the 1910s to 1970s. Not to mention a century of colonization and forced concession. Chinese culture overseas was not ruptured in such a way, and preserves a lot of aspects of it from before that bloody century.
Ask HN: Best online courses for machine learning?
Ask HN: What are some of the best online resources to jump into practical machine learning
Agreed. The fact that python has several 'array-like' data structures with subtly different interfaces is not my favorite feature of the language.
Yeah, it's the same in the result, but the barrier of entry is significantly lower (easier to fill 1 field in tax form once a year than to make a payment and then get a refund).
Debugging Windows services
Dota is a much harder game strategically, in Starcraft it's easier to compensate with mechanical skill. You can see this in the results. The Dota ai played a very dumbed down version of the game and still got trashed by the pros.
It's probably similar to old recaptcha where they give you a selection of known answers and a couple of unknowns which they're uncertain of. Probably known not-correct answers too so that the system works.

If you select the unknowns as well as all of the known answers (and don't select the wrong answers) they can train their AI robots that the extras you selected are also a part of the "has traffic lights" dataset
If you eat 25% fewer calories than you burn every day, and you do this for a week, unless our physiology is dramatically different, you will feel hunger that is not related to habit.

Interestingly, for me? If I cut down to the point where my performance falls (closer to 40% for a few days) my hunger kind of goes away. Of course, I can't really work in that state (I'm aware some others can) so it's not really useful to me. If I want to lose weight while still working, it seems I need to experience that hunger.

One of the annoying things for me is that because this hunger is such a big part of my experience, I want to talk about it, and this... annoys almost everyone. Aside from people on the internet who want to insult you for not following their favorite fad diet, it's worse in person, because almost everyone I've talked to about it in person seems to think I'm telling them that they need to lose weight.
This is what I do, but that's a lot of accidental complexity.

Here is what Caddy's author wrote about this:

> I still don't like the idea of SAN certificates. Too much room for error... what if you go to renew a SAN and one of the domains fail, the other 99 don't get renewed either. (Sure, we can code in logic to make a different certificate with 99 names, but that gets complicated quickly.) Also, we'd need a database as we have a many-to-many relationship rather than 1:1 which is much easier.

Source: https://github.com/mholt/caddy/issues/831#issuecomment-22011...
Do you find your field sales team more effective, but less efficient?
We've banned this account. This is not a site for political or ideological battle. Please see
https://news.ycombinator.com/newsguidelines.html.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future.
I'm having trouble finding supported operating systems for the tool - does Backblaze support Linux yet?