skysight-inc/HackerNews huggingface dataset:
well, AMP is open source. Instant Articles is not.

AMP works on many platforms, Bing just announced support of AMP.

So, what's the big deal?
Ask HN: How to learn to use software design pattern?
I am software dev. at leading tech company but I am struggling with using design patterns.
I know the sources for learning design patterns but just knowing them does not mean that I use them.
Besides, if I don't use them, I forget them.

Practice might be a good way of using learning to use design patterns but a big enough design project where I can try patterns are not very frequent.

One way I can think of is that whenever I get a big project, I should brush up all design patterns and then try to come up with design.

Is there any better way of learning to use design patterns?
Beranek wrote about that anecdote in his first chapter of the excellent book A Culture of Innovation: Insider Accounts of Computing and Life at BBN:

http://history.computer.org/pubs/bbn-print2.pdf
Usually the debugger just replaces the breakpoint instruction with the original byte, then resumes execution in a single-step mode that causes the CPU to just execute a single instruction before firing another interrupt. After that, the debugger sets the breakpoint again and resumes normal execution.
So the question is how to complete the feedback loop. The Adversary needs something causally coupled to its victory or defeat that it can use to improve its monsters.

I think that the most straightforward way to do this is to have the Archaeologist player indicate features of the combatants or the scenario that led to victory/defeat, like you said. The Adversary then uses those to guide its optimizer. For example, you might indicate something like "The Monster won because: Monster had high armor, Player had low jump height, this platform in the middle of the room". The system then knows to put those features together more often.

Hmm, now that I think about it, there's actually a metagame issue here: Players will tend to support each other by trashing the AI. It'd be more effective to set players against each other somehow. Or we need a better way to reward players.

So what we want to do is tie the monster's success to the player's success. A simple answer is "I want this": The player gets to choose something to take from the monster's ship and add to their own. The Adversary might be able to use that somehow, but there's a little bit of a mismatch there because the player's ship and style will be different than the monster's, and a feature might be selected to shore up something about the player's ship rather than to point out a useful bit of the monster.

Maybe have the investigator player redo the fight with tweaks. The player's job might be to change the monster until it loses a rematch. Could do this by having the player take over the past player's ship and fight "in simulation", or could just do it automatically. Player gets a better reward the less they have to change the enemy to win, which encourages efficient changes. The Adversary then changes the monster in the opposite direction and sends it back out.

Could split things up into teams and set players against each other on a grand scale? The player's job is to find battlefields where their team's monsters lost and then optimize the allied monsters. You never actually see another player - might do something asymmetric here, with a dimensional boundary or something that prevents players from interacting with other players except via salvaged guncam footage from allied monsters.
SketchUp for Web
Any comments on how breakpoints work on external targets, running bare-metal, and you can't replace instructions? Ex. debugging an 8-bit AVR, say atmega1280 over JTAG. I am guessing it has to do with the JTAG doing a simple compare of the PC with the breakpoint address, just want confirmation and more details.
Upvoted! Same here; I hate it when syntax highlighting makes it difficult for me to see the code, when I'm on a server and am just trying to get some work done. I cannot comprehend why I would want to see code in all those colors, with horrible contrasts, hard to read? Why? I know the syntax of the code, don't need or want anyone shoving what they think I need or want down my proverbial throat!
Doudou Linux – For children from 2 to 12 years old
I'd find it a lot easier to believe this isn't a redhat FUD-job if the article listed the entire list of privileges and contrasted those that docker gives by default and those that require --privileged [1]. Also required would be meaningful discussion about how other defaults, such as networking, affect these capabilities.

>This one’s easy. If you have this capability, you can bind to privileged ports (e.g., those below 1024).

Sure, it can bind to port 80 on a virtual network device that is unique to that docker container, unless you give the container host network privileges.

[1] https://docs.docker.com/engine/reference/run/#/runtime-privi...
> "we will make the close button direct users to the original site and will update once that is done" OR "we are changing the x (close) button to a ← (back) button".

As a user, I hope Google do not implement either of your suggestions.

When I click the 'X' I don't expect to get a copy of the page that loads a bit slower, and I'd be surprised less than 95% of Google's users agreed with me (but by all means do a test).

And I don't want the close button changed to a back button. When I click on a search result I might then click one or two links on the publisher's web site before wanting to check out the next result on the Google results page. I want a single button that takes me quickly back to that search page - I don't want to have to click a 'back' multiple times (and maybe overshoot or undershoot my desired history position).
I'd disagree that vim script is not a great plugin language, it's php like in it's simplicity and has a few novel features (like scopes) that are ideal for text editors and wouldn't fit into the variable scoping rules of other languages. Now it finally has a thread/process model too, making it better than ever.

Creating a user specific script in vim is an order of magnitude simpler than atom.
Even if AMP isn't a ranking factor, clickthrough rates may be. If users click more on AMP links, then by improving CTR it could also indirectly improve ranking.
No one calls it "rouge" in France. It's always referred to as "rouge à lèvres" (lit. "red for lips").
Show HN: Android version of AgreeOn finally released
No mention in the article of the new parallel query support in 9.6 that can speed up COUNT(*)?

https://www.postgresql.org/docs/current/static/parallel-plan...
Same in UK. You just take a leasehold for 100 years from queen, you don't own it.
Leading and Affordable Digital Marketing Agency
> “If Google cares so much about the mobile experience, why cover 15% of the small mobile screen with a fat bar at the top?”

> The Android users might have already noticed that it is now scrolling out of the way

It doesn't scroll away. Just checked on Google news with both Chrome and Opera. Android 6. Am I missing something?
The tapestry they talk about is quite famous for being the longest in the world, and has survived really well. It's one of a couple sights worth seeing in Bayeaux.

The Normans were perhaps one of the most fearsome dynasties the modern world has known. They were birthed by a Viking Earl named Rollo, who basically pillaged his way into northern France around 876 and was so fearsome that the French actually gave him the lands he invaded in exchange for him not fucking them up so hardcore anymore. His descendants included William the Conqueror, and they ruled lands such as England, Scotland, Wales, Ireland, Sicily and Antioch, and generally kicked ass for a few hundred years as feared warriors and mercenaries. (Btw, if you want to see a statue of Rollo and don't want to go all the way to Rouen, France, you can visit a replica in Fargo, North Dakota)

Normandy was a powerful and independent region, even through its contested ownership over the hundred years' war, up to about 1468 when it began to cede its autonomy to Paris. Modern Normans are pretty proud of their heritage, and there's still a friendly rivalry with the neighboring Bretons. What really struck me was a kids theme park called Festyland outside Caen, sort of near Rouen. Lots of rides and attractions surrounding the battle of hastings and the Viking origins of the Normans. The billboards advertising Festyland shows a bunch of little Viking kids carrying off a princess tied to a wooden pole. Cute.
Calling it 10nm or 14nm or 22nm is just marketing. Every manufacturer can call their manufacturing process whatever they want. If you actually look at the physical metrics like the minimum gate length, contacted gate pitch and minimum metal pitch then you will see that on the same "nm" process intel's process is always better.
Games are simplified, stylized reality e.g. chess is war. So are some fps: using real locations as maps isn't as much fun as carefully balanced maps, taking sightlines into account, chokepoints, with interesting and complex strengths and vulnerabilities of positions within each section, and all sections close to each other.

Similar to fiction: it's more dramatic and makes more sense than ordinary life.

A simulation is akin to a tech demo, which can be impressive, but usually isn't a game.

Switching gears, I'm interested in how you've done tectonics. I was thinking of doing it as a magma fluid simulation (very slow, only one timestep every few hundred frames) and using convection to move and rotate plates.... though it turns out, the cause of tectonic movement isn't nearly that well understood. My concern is that using a fixed direction/speed will eventually mess up the world. If tectonics really are governed by convection, movement must change at the end of that magma cycle. Maybe a bit over the top! How are you doing tectonics?

One (expensive) solution to the 30% mountain height problem is monte carlo: rerun the simulation til it fits the parameters. What's nice is that you don't distort the generation probabilities, apart from the explicit constraint. Of course, not plausible for very unlikely constraints, esp. combinations thereof!

If you just want the end-produce (not an ongoing, evolving world like mine), some people have used a more declarative approach. e.g. Instead of generating rivers by waterflow and erosion over a terrain, you can generate a hierarchy of rivers and tributaries first, work out the watersheds implied, then generate the terrain based on that constraint.
Why should ASP.NET developers consider SignalR for ALL projects?
Pay per Click Service Provider in India
No thanks, Disney has already done enough to fuck over the public domain via copyright. We don't need them using trademarks to fuck over developers too. Besides, I doubt their lawyers would want them to dilute their trademarks like that.
It's using the same libraries and third party pixels as publishers were before.
So much for "We should talk to each other more, not less."
The sound of Massimo Bottura's lasagna
Can it be used to kill Cancer cells?
WalkMe Apps new version brings element recognition to indie app developers
That's the way vi is supposed to work, since it is based on the paradigm of a modal editor.

I learned vi in vi on UNIX, so the modal way stuck and I can glide and float between vi on UNIX and vim on Linux without getting busted on trying to move with cursor keys. I see Windows/Linux users get busted on that a lot, because they didn't install UNIX at home and learned on that first. It's frustrating to watch them get busted by that in person, over and over again.
It is sad to see the RethinkDB company fold. However, there are many healthy open source NoSQL databases out there. For example, HBase, Mongo, and Cassandra are all open source.

Why were these projects able to build communities around their codebases, when RethinkDB was not? Part of it might have been large companies making investments that other companies could build off of. I think choosing an appropriate open source license, and Apache governance model was another big part.

Certainly, not all databases or data stores need to be open source. But there are still many successful ones out there.
Recently I've stumbled upon geekforgeeks youtube channel.
It's fairly new.

https://www.youtube.com/channel/UC0RhatS1pyxInC00YKjjBqQ

This might be a channel that I'll end up liking alot in the future
The article told you how to find the entire list of privileges. Just type `man 7 capabilities` or go here: http://man7.org/linux/man-pages/man7/capabilities.7.html

The `--privileged` flag is equivalent to giving your container all capabilities: https://github.com/docker/docker/blob/97660c6ec55f45416cb2b2...

I don't get what you mean by saying how networking affects capabilities. Because it doesn't?
Canonical Partners with ARM To Bring Openstack & Ceph to ARM Servers
Haha, valid point. My thinking is within the current nomenclature and implementations of "containers" vs "Virtual Machines". These definitions could change drastically in the future.
Anger exists for a reason and it exists for good reasons.

Anger exists in order to keep animals on top of the sometimes deadly contests that exist in the world. It can cause feuds, but it also causes us to win them.

It is easy to see how the world would be better off with less anger. Harder to see how unilateral disarmement will help the individual. But even then, humans, the rational animals, have the option of cooling their heads and calculating a strategy.
In my experience the only con of neovim is that it doesn't come installed by default like vim does. Other than that its very compatible.
In all seriousness, and meaning no disrespect, have you researched the Kennedy assassination and come away with the impression there was no conspiracy?

Because I didn't even think it was particularly controversial that the official story is bunk. Making no more assumptions about the circumstances of his death (ie, who or how), a conspiracy would be required to produce an official explanation that was lean of some inconvenient facts. But I'm always in the market for convincing evidence that I'm wrong.
tldr; Golden Rule

Such a basic premise, that is absolutely impossible to master.
Your Driverless Ride Is Arriving
This might work, but as human beings we often have better options.

If you just cooly explain why you a request is unreasonable, then that acts as a rebuke to the requester. And it is one that can't be just dismissed as "ahh, she's on the rag".
To add to my own comment a bit, fundamentally I think this boils down to randomness vs. hidden state. It feels very "emergent" for a game to have lots of subtly interconnected systems, but if they depend on factors the player doesn't know about, or depend in ways the player can't possibly intuit, then they're indistinguishable from randomness, so you might as well have flipped a coin.

For me the canonical example of this is Nethack, which is full of such things - monsters that are slightly more dangerous during a (real-life) full moon, and so on. One can argue that NH is a special case, with its rich tradition of players reading the source code as they play, but in general I think it's an anti-pattern for game developers to beware.
I doubt anyone actually thinks it is a dichotomy. Everything I've seen on the subject just uses the terms "introvert" and "extrovert" as references to the extreme ends of the scale: the 10% of people most extroverted and the 10% of people most introverted.

I think that is it a scale of introversion/extroversion, with probably a normal distribution of "average" people who can deal with more social activity than "introverts" but can't take quite as much as "extroverts."
I like that it works the same way everywhere, but I primarily use it to edit files that do have recognized filetypes.

UNIX doesn't care about filetypes, since the paradigm is working with binary streams of data, and it's implemented in a way that users don't need or have to care either. File types are a concept from MS-DOS, popularized by Windows, and a major hindrance to a UNIX user's workflow.
India's backwardness is the result of decades of socialist policies. Restrictive license permit raj, inefficient and wasteful public delivery system, inflexible labor laws are some of the reasons that have kept India hobbled up.
AMP content shows up before other organic search results. So it's not really optional unless you want to lose all your search-driven traffic.
Show HN: Chrome extension for HN
They will try to make people buy watches and devices to watch movies.

The decrease on sales, specially around the world where people aren't constrained to 2 year contract renewals and stick to their phones until they die, is one of the main reasons companies are trying to diversify beyond mobile phones.
تور مشهد پاییز ۹۵ ورود ۳۰ مهر در هتل های ۴ ستاره
And presumably you have a record of those same chats revealing the content was, "I'm not interested in participating in your conspiracy to commit fraud, stop talking to me."

If you meant to imply they could abuse this capability to get a warrant, I'll be concerned about it when they have any trouble getting warrants.
The program counter will not typically be compared via JTAG (this would be way too slow) but there will be dedicated registers inside the CPU that are compared against the program counter.

For AVR specifically, have a look at e.g. https://github.com/raimue/avarice/blob/master/src/jtagbp.cc (just random find on github, likely not the official repository).

This is, by the way, also possible on a typical PC (as in "personal computer" not program counter), also x86/64 has debug registers.

http://www.codeproject.com/Articles/28071/Toggle-hardware-da...

...and very likely also on ARM, m68k, MIPS, Sparc, PPC, ... I just didn't look it up.
Kim Dotcom reveals plans for Megaupload 2.0 and Bitcache
My memory is that idea of a stakeholder did not exist in its current form for most of the 80's. The meaning of the word stakeholder has been recommissioned to include people who have no direct financial stake in a policy, development or business, but find themselves affected by the action anyway.

I think it was fairly common to give little thought to ramifications of policy, development or business plans beyond the immediate financial concerns or desired policy outcome. For instance the pipeline in North Dakota might have included a single public hearing with only a few people in attendance, perhaps the local land owners in the pipeline's path, and very likely little to no indigenous people's input. Very likely it would not have occurred to anyone to contact them and they otherwise would not be aware of it. My father was on a town council of a small town in the Midwest and lots of development went on with little or no input from the town. Sometimes they had hearings where no one would be in attendance, sometimes they didn't even have a hearing. Lots of wetlands and marshes were plowed under and filled without any deliberation.
> And 20ms is the total response time for the page. Redis takes just 2-3ms of it.

If you're properly using Redis, then the total response time should be 2-3ms, or at least very close to that.

> BTW have you ever worked with SSR and React

I haven't - I was hoping the article would shed light on it. The top comment seems to have some great suggestions. There's probably a lot of optimizations one can make at the React/Redux level.
CEO's Death Stirs Debate About Chinese Techies' 70-Hour Work Weeks
They read that post and if you're lucky they stop and skim through another one, but that's not the one they came for so it doesn't interests them as much. Same thing when you go to a post through HN. Do you stay on that site or come back to HN?
> Can someone please explain to me what the hell is going on here?

A low-level Google HR screener inadvertently made the right decision by declining to invite a smart, but somewhat unhinged developer for further interviews.
This is funny, because most "eastern" religions are all about letting go about anger.
Autodrive advocates should avoid comparisons to the horse. They are dangerous beasts. They have per-hour serious accident rates 10x or 20x greater than motorcycles. And there is little that can be done to mitigate the problem. If the horse wants you off, you are going off. Horses are just used so little that the stats seem insignificant. They aren't. Boys break their necks in traffic accidents. Girls get thrown from horses.

http://news.bbc.co.uk/2/hi/uk_news/magazine/8339097.stm

"In his paper Hazards of Horse-riding as a Popular Sport, Dr Silver cited a study from 1985 that suggested motorcyclists suffered a serious accident once every 7,000 hours but a horse rider could expect a serious incident once in every 350 hours. [...] The majority of people admitted to hospital in such circumstances are women. "
Symbian and feature phones were already doing that.
Mindfulness is really good for situations like anger. I don't know where GP is getting his or her information regarding 'the West' from, but the aversion to anger is certainly not a solely Western trait.

As a log from a pyre, burnt at both ends and fouled in the middle, serves neither for firewood in the village nor for timber in the forest, so is such a wrathful man.

— Anguttara Nikaya II, 95

He abused me, he beat me, he defeated me, he robbed me of my property. Whosoever harbor such thoughts will never be able to still their enmity.

Never indeed is hatred stilled by hatred; it will only be stilled by non-hatred — this is an eternal law.

— Dhp., vv. 4-5
It seems odd to me to have the innocent bystander as the one who should control their emotions by rationally deciding that it has nothing to do with them but not to have the original person who is mad at someone else not rationally decide that their anger has nothing to do with the person they're actually dealing with.
My favorite explanation of IUT is buried deep on Mochizuki's website: http://www.kurims.kyoto-u.ac.jp/~motizuki/sokkuri-hausu-link...
And accompanying animations: 1) https://www.youtube.com/watch?v=4hJTm8pTV5A
2) http://www.kurims.kyoto-u.ac.jp/~motizuki/IUT-animation-Thm-...
Why it's called bubble sort
Neither of those points are much of a defense. By that same token, one could defend e.g. Microsoft's aggressive misuse of their market dominance in the 90's: 'Windows survived because of its obvious value; MS is just making ends meet.'

It can still be a good or a bad thing for the web as a platform.

Hopefully adoption is slow enough that the default behavior of any "blessed" libraries like this WP plugin can be encouraged to be less ... well, not evil, of course ... but really, why does that toolbar and 'X' need to be there? Browsers have a back button.

My take is simply that this is not a good look for Google, and hopefully they realize that. The article featuring the WP plugin, and these discussions on HN that give a lot of attention to the carousel, and how it competes with non-AMP results, don't build goodwill for the project.
Your implication is that I haven't thought about it in depth. I have. I care a lot, about my community, the country and our world.

Wikileaks has a 100% accuracy rating(meaning they have not once pushed a falsified leak).

You showing other falsifications by other corrupt organizations isn't enough for me to throw away evidence as 'false' when there is no reason to do so. Again, if there was an individual falsification why wouldn't DNC officials call it out? Can you provide me a rational explanation.

In the context of a leak dropped a day before the election with no chance to fact check, sure, I could entertain the possibility there might be forgeries to control the election results.

Weeks ahead? What is stopping any forgeries from being called out? Where is _your_ proof these are false emails?

You have none, because there is none.
"the following instructions" may be a bit tricky. E.g. if the instruction jumps to itself.
The guy said AMP doesn't influence ranking. Who do we have to believe ?