skysight-inc/HackerNews huggingface dataset:
I read a long discussion about this on Quora. What I could gather from that was there were far more castles in Europe than China. Also Europe has too little plains to be able to support a mongol army very long. They each had something like 5 horses. There isn't enough grass for a large mongol army like that. One the debaters claimed e.g. that European castles were very well supplied for long sieges and would run out of food much later than an occupying mongol force which would be vulnerable to counter attacks.

European heavy cavalry was not useless against mongols. It is just that they were seldom effective when mongols could just run away from the battle field. Easy to do when they were much lighter armoured. But if Mongols maintained a siege they had to stay in position which would have made them vulnerable to European nights which were probably superior to mongol soldiers if they could not perform hit and run tactics.

Apparently the mongols beat the Hungarians initially but when they came back and the Hungarians had built lots of castles, they were soundly beaten. The sieges dragged on and they would get harassed by Hungarian forces which could always retreat back to castles while mongols starved.

My understanding is that the Mongols managed to conquer the more hilly southern China by using conscripted Chinese soldiers. So they were not really using standard Mongolian tactics there. Duplicating this in Europe would have been difficult because unlike China Europe did not have the same kind of central government which would have allow the conquest of a few cities to gain huge tracts of land and extra manpower. They would have had to conquer huge numbers of castles which would have dragged out in time.

In fact Machiavelli talks about this in the Prince. The Ottomans, Roman Empire, China etc were far more centrally controlled which made them one strong unit but once you conquered the central city of government you would control the whole country. The Feudalistic European countries however might not as easily marshal huge combined forces but they were extremely difficult to conquer because you had to conquer every little vassal state one by one. Considering that every one had a castle this was no easy task.

One should not completely discount the effectiveness of European military. During the crusades, the muslim forces would usually use Mongol like tactics to wear them out. But whenever the crusaders managed to corner a muslim army they crushed it with their heavily armoured knights.
Sorry but no. It ALWAYS makes sense to sell high and buy low, even if you're buying the exact same company. In other words, just find one value play if you want, and follow the cycle.

The skill is in determining what high and low is - i.e. you do need to have a sense of what the asset is worth. The easy answer is - figure out what its worth to you. i.e. what level of earnings or dividend does it seem attractive, and then accordingly, what is too cheap and what is too expensive. Obviously, take into account debt and other liabilities if you can.

That's why its necessary to understand the basic business model.

The tricky part is the temperament to do nothing when others are in a frenzy. Only a few transactions in your entire lifespan will determine the vast majority of your performance.
>Surely the recent emphasis on frameworks over fundamentals has been a major contributor to the Web full of bland, practically identical sites that we see today.

It used to be mostly plaintext and basic colors with no responsiveness, under construction gifs, basic images, and flashing text. Before that, just text. We're still learning as an industry. Web technology has not (and may never) settled like the hardware in your toolbox.

Those frameworks are geared for productivity, not possibility. Productivity is where the money is.
Agreed on the memorization of trivia questions.

I've encountered this clearfix problem and solved it independently perhaps five times over the last decade, but just had to look it up since I had no idea it was called "clearfix" ... someone's marketing term for it.
Also, you cannot have a matte glass screen, so you'd have to use plastic which is nigh unusable as a touchscreen.
In "Ghost Fleet: A Novel of the Next World War", America's warfighting is crippled as the electronics that were manufactured in China contained backdoors that allowed them to shutdown or destroy the various computer systems.

Hmmm...
Star Wars Underperforms in China as Cultural Differences Emerge
I'm not objecting to abstractions at all. I'm just advocating understanding the fundamentals first.

I want to use abstractions and tools where they offer an additional benefit, but without being limited to whatever some predetermined choice of tools or abstractions can do.
Docker can forkbomb the host system: `docker run busybox “:(){ :|:& };:”`
I didn't expect this to to be able to lock up my machine :-S.
Every developer has a specific set of tools/technologies/techniques/focuses that they really like and appreciate and that gives them a technical boner. For this guy it's HTML markup and accessibility stuff. For me it might be something like frontend performance and minimal design. For another dude it might be writing abstract and clever code that's as short as conceivably possible. For another guy it might be writing the most readable and documented code possible that eschews all cleverness. Another guy might be focused on writing 100% tests. Etc.

While every developer has things that they really like and appreciate, projecting this focus onto others and focusing on this one fetish point to the exclusion of everything else is detrimental to a project. Your job should be to build a team of smart developers who bring complementary skills to a project and who can learn things that are important to the project, not to build a clone army of yourself.

If the author was a comic book store owner interviewing prospective workers, the equivalent to this would be him rejecting hundreds of job applicants because they didn't know the thematic development and character interaction in issue #431 of Gunsmith Cats or some other random obscure anime or whatever.
If you use proper semantic HTML, ARIA attributes are rarely needed. It's a good idea to validate nonetheless, but there's no point in writing:

<button role="button">Sign in</button>

or

<h1 role="heading">Heading</h1>

I can think of only a handful of aria attributes that would be helpful if you use proper HTML, such as `search`, maybe `toolbar` and a few others.

But it's good to validate the markup regardless, to be sure.
Hanami – a modern web framework for Ruby
I'd be worried about both! If you have to clear a float, you can do it even more cleanly in CSS by using a psuedo element.

The old trick was to set `overflow: hidden` on the element containing floated items so it would always expand to contain it - but then things like box-shadows get cut off by the containing element. To get around this, you can use an `:after` pseudo-element on the element that contains the float items. This comes after the last floated item and automatically clear the float without needing `overflow: hidden`.

Imagine markup like this:

<main>
<section></section>
<section></section>
</main>

.section {
float: left;
}

main:after {
content: '';
display: block;
clear: both;
}

The advantage of clearing a float this way over sticking `<div style=clear:both></div>` or a `.clearfix` class in your HTML is that when doing responsive design, my method keeps the clear in your CSS (and possibly only one @media query). With a `<div>` or class in your HTML you have to deal with that element at all widths - now do you have to specifically override your `.clearfix` class inside a @media query when doing responsive styles? How intuitive is that?
>A) There are more white people in America in general (see really any/every census)

Obviously not what I meant

>B) There are fare more white people in positions of power. So it matters more when a white person is racist than when a person of color is. Racism sucks but the real kicker is discrimination

How's that relevant? My point was that nobody would be shocked if a white person was racist.
Why not a Surface instead? It can even run Linux natively.
The tone of El Reg is very similar to many other tabloids though. Most don't take themselves seriously. I gave a few examples of The Sunday Sport in another post, but here's one from a Scottish tabloid, reporting about when someone caught a failed suicide bomber trying to attack an airport:

https://thehosh.files.wordpress.com/2008/02/kickedterrorist....

And here's one from The Sun

http://www.lazerhorse.org/wp-content/uploads/2014/05/The-Sun...

I don't tend to read many tabloids, but the Red Tops (predictably named because of their design) I've read on occasions do follow the same tongue-in-cheek writing style.

I think it's fair to say they can't all be parodies as you then have to question when a parody is so commonplace that it's no longer a parody; that it instead just becomes that normal thing.
I recently saw an Ad for a front end job requiring: "strong Java Scripts" skills.
There used to be a decent standard with (x)HTML 4.1, and the commonly followed process of designing with progressive-enhancement.

HTML 5 added the semantic tags, which are great, but there is less clear decisions for deciding section/article/div that the prior selection of just using div. There are other cases where it has introduced more confusion into the process where the semantics aren't straightforward to determine.

And progressive-enhancement is pretty much forgotten anymore. All the Javascript frameworks and pushing to work on the cutting edge of what's available, have forced a huge portion of effort to be spent on graceful-degradation instead. And working at the edge means that everyone is already working off any adopted standard, and just shimming everything to do what they want.

The front-end development out there is just kind of dumb at the moment in those regards.
Ah, Agincourt-fetish, one of the few fetishes you can display in public without looking too ridiculous (in the English-speaking world).

Longbows are great in open battle, yes. But the hundred years war was a war of sieges and raids (by the English and the great companies), and for those the stonemason is infinitely superior to the longbowman.

For the French, the winning strategy was always to avoid pitched battles and fortify river crossing points until English armies had run out of supplies, then patiently retake lost fortified places through siege.
The thing is, most developers aren't targeting your scraper. At most they're targeting Google's, which can handle all sorts of whacky and not very semantic markup - and glean a decent amount of semantic structure from it.
What's the value of a developer then, if his/hers only job is to cobble together frameworks and snippets?
Microsoft AC power cord recall for Surface Pro, Surface Pro 2, and certain Pro 3
> Oh, and you website will have no links (the `href` attribute of `<a>` is not simulable via CSS).

JavaScript to the rescue!
d-d-d-d-d-douuuuuchebag
From what I've read European wars didn't feature much large scale battles of the type done of plains in central asia. Siege warfare, skirmishes, harassment etc dominated.

Anyway the mongols used huge number of horses which would need a lot of grass. It is my understanding that that was simply not available to them in most of Europe.
You are right that most people wouldn't know which search is better, but to say they don't care about the quality is ridiculous.

Maybe today Bing and Yahoo are competitive, but back when the iPhone was released, it was quite different.
> No matter what’s your job, you don’t have a significant contribution on the game. You’re a drop in a glass of water, and as soon as you realize it, your ownership will evaporate in the sun. And without ownership, no motivation.

A good description of a lot of big corp projects. Do people working on large open source projects eventually feel the same way?
But don't such things already happening on the ground (e.g. https://en.wikipedia.org/wiki/Academi )?
> If i could get a linux VM on this somehow,

Hell, I'd even take sensible keyboard behavior so I could ssh and use emacs.

I don't know why apple has torpedoed the emacs+ipad combination so hard.
That means don't condemn others. It does not mean "don't bother cleaning up your own act". It doesn't even mean "don't make moral judgments about what other people do".
Yep. I'm currently trying to figure out a "back door" to sneak in. I had a meeting with a VC yesterday (not to raise money) and she added an idea to one of my ideas and the result has me pretty excited. Of course, I've been here before ;)
You mean the component tree? Sure, it can mixed in whatever way the component tree wants it.
This might make a good "Show HN:".

Guidelines: https://news.ycombinator.com/showhn.html
I'm speaking mostly based on what I've seen and hat I've experienced.

In statistics, you don't survey the entire population, but rather you take a small sample -- and I think I've had a statistically significant sampling of experiences.
Doomsday cult
Correct.

But only if the reason why the rebate is ending is a breakthrough in technology that will cut the price of a new one by more than the rebate in 2-3 -- which is in a sense what happened with solar subsidies in a lot of places.
You can send link to candidates asking them to do some coding tests. From as simple as reverse a string, FizzBuzz to more difficult ones.

That way you can pick the best ones by technical merit, not be their ability to write nice resume.

I don't remember the exact price, but when my company used them it was something in range of $100-500 / month.
It certainly lowers the bar to entry.

Somewhere out there, there's a kid with an idea that will one day become the next Zuckerberg or Woz. Whereas it was next to impossible for my peers to convince our parents that we needed a $3,000 computer setup just for learning, these young people can earn the money for their own supplies with a summer job.
I wrote a little about it: http://stackoverflow.com/questions/32461229/why-use-redux-ov...
Include-what-you-use: clang tool to analyze #includes in C and C++ source files
This right here is why I hate CSS.
Tom Oberheim and Dave Smith Introduce the OB-6
The journey of programming: for the young tech ladies and men in Miami
Not at work, but I use either ES6 or Typescript personally.

"All of the syntactic sugar stuff changes the look and feel of the language too much for my tastes."

I think it brings it into line with how the language is being used in production these days. Modules, generators etc make the language more beautiful, powerful and easier to maintain.
That's not a good measuring stick. Probably even before Google existed search engines we're good at those kinds of searches. But people use search for much more than that.
Just started this to show a Gen Y view of my journey into CSE. For people of all walks of life in tech. You're not alone!
Tesla's battery swap station was a compliance tool in order to collect ZEV credits in California. A battery swap station costs ~$500K, while a Supercharger station with charging stalls costs $150K.

Tesla has determined that Supercharging is adequate for Tesla owners, and continued uptake of the product seems to confirm that hypothesis.
Writing ES6 at work, turned into ES5 by Babel. I don't want to write "var self = this" ever again. Also, quite a few Node modules are ES6, and we use NPM for managing our frontend JS packages.
But doesn't many-world interpretation still require a leap of faith though?
I wish more teams could get past the split between roles with QA and DEV, that the idea was as evangelized as DevOps is.

IF your browser test isn't written in high-level concepts (page objects at the very least), and if your developer making UI changes isn't getting immediate feedback to also update the library of test code he's affecting, yes, it'll be fragile and will suck up too much developer effort. (I'll stop short of asserting the opinion that the UI developer should be changing the tests' reflections of his UI components BEFORE making the changes themselves, but I don't think that position is entirely unreasonable)

It should not be hard to find a balance of engineering practice (reuse, modularity, etc.) that gets you a degree of maintainability that is economical (utility provided by the system exceeds that consumed) -- just like any other kind of code.

Anytime someone messes with an interface, they should have roughly one place to adjust things for their changes. Dashboard controller and views get completely rewritten app side? Dashboard page object (maybe) gets rewritten test side.

Things should be written in the first place for maintainability -- XPaths/selectors chosen carefully, using user-facing labels if possible, WITH collaboration from the UI side -- no stupid duct-tape shit because you don't have a good way to get at something (like "the fourth input following the
second instance of the word 'Account'").

Like any kind of code subject to change, you must invest in engineering for robustness in the face of that change.

No, you can't have a mandate from pointy-hair types to pour unskilled, unplanned effort into a system or practice because it sounds nice and expect to break even, but no shit -- that has nothing at all to do with browser automation.

Depending on the economics of the team, product, even the code-illiterate guys running the selenium recorder in another timezone and sending in bug reports any time it complains have their place (for instance, in a year-long release cycle of mostly stable line of business software where there are few UI changes because they'd require big change-orders and rewriting all the documentation) -- you have to design your strategy for your product.
Surface Book and Pro now available with i7, 16GB RAM and 1TB storagi
OT, but Supercell's business model is certainly interesting. They make a lot of games in independent teams, and 'soft-launch' only the best of them. If the games don't meet the goals (whatever they are), they are canceled. There are now a handful of games that have been canceled after soft-launch. I think Clash Royale will pass the test (having played it), and will easily hit top 10 in global most grossing list.
>No, but two wrongs don't make a right.

Not in the slightest what I was trying to communicate, my point was that racism is so prevalent that it's hardly shocking at this point.

Obviously that's not a good thing, but I found it a bit odd that someone would be shocked by such a remark when you hear much worse things every single day.
For dandruff, I can highly recommend a mechanical solution (as opposed to a chemical one). The thing which has worked for me is a scalp scrubber. My barber explained dandruff to me as skin that has sloughed off of the scalp, but which hasn't come off the head yet. So you shampoo your hair, then scrub your scalp while the shampoo is still in your hair, this fully loosens the old skin (dandruff), which is removed along with the shampoo when you rinse. This has worked shockingly well for me and I only have to do it about once a week. The best part is that scalp scrubbers only cost $2. You can Google "scalp scrubber", but this is what I mean:

http://www.completesalonsupply.com/scalpmaster-shampoo-brush...
Best android apps according to trustedreviews.com
It's funny because this is the digital version of an article that was printed in a newspaper about that newspaper going digital.

If only they had any idea of the pain they were about to cause themselves. :)
I'm going to add Twenty to this list. Small amount of money to unlock all the modes, but the free mode is amazing anyway.
You can do some hacky stuff with onClick listeners for links, especially if its a single page. That said, I do not do this. But I don't think I use much beyond div, span, a, ul, li, table (and friends), form (and crew), h1-6, script, body, head, and html. I know there are more HTML tags, but I rarely use them. They are all pretty self explanatory, and I have hard time believing the author looked at 80 pages and everyone used the wrong tags.
I think you overlooked about a decade where we'd moved well beyond slightly annotated text but hadn't yet entered the era of framework dominance. The Web was a smaller place then, but IMHO a much more interesting one in terms of trying out different designs and interaction styles.

As for productivity vs. possibility, I certainly don't dispute that productivity is one place where the money is[1]. However, that doesn't mean there isn't also room for innovation, and it certainly doesn't mean there's no money in doing things better than what you can achieve with Bootstrap, Angular, and a couple of junior developers who don't know much else. In an increasingly monotone and commoditised technology field, more interesting and/or effective presentation can certainly be a USP.

[1] I might question how sustainable that productivity proves to be over the longer term with many framework-heavy projects, but that's a separate issue and probably not worth getting distracted here.
you can change the default search provider in siri
This is kind of exciting. I wonder if we'll be able to play with BigBrain:

https://muhc.ca/newsroom/article/first-ever-3d-atlas-brain-b...

> They include freely providing all results, data, software, and algorithms;

Wait, what? That's unheard of in science. They're really all going to be publishing their source code? All of it?

The MNI already has quite a bit of free software, such as MINC:

http://www.bic.mni.mcgill.ca/ServicesSoftware/MINC

But they really are going to publish everything else? That's amazing!
Parent is probably referring to nutrient deficiency in the general population, which is almost exclusively not vegan. As I recall, the deficiencies are calcium, iodine, vitamin C, vitamin E, fiber, folate, magnesium, and potassium. If you ate everything a vegan did, I'm willing to wager you would be full, and wouldn't be hungry for meat. I think the point is, the plant-based diet is less calorie dense, but more nutrient dense, so one is more likely to develop deficiencies from eating mostly animal products.
I checked the markup for the second example you posted here and I found REALLY some weird HTML tags like <nyt_header>, <nyt_text>, <nyt_footer> ...etc

Anybody have any idea what are these?
You don't even need to be a big success like the previously mentioned Undertale, Rocket League or Ark. For small teams there's an extremely viable middle ground between the game not selling anything and it going huge.
>>> Not at work, but I use either ES6 or Typescript personally.

Not a JS developer, but most of my friends who are have been transitioning to Typescript. The road is bumpy, but they say once you get some syntax stuff down, you're good.
It's not entirely generational though. I use an iPad for a lot of stuff even with a laptop available on my desk. The reason is that I'm a power user, and on my laptop I'm too likely to start fiddling with stuff and get distracted (might be a mild form of ADD).

And just to be clear, I'm a serious power user. I use hammersmith, BetterTouchTool, vim keybindings wherever I can, and Alfred to the extent that almost any key is involved in some kind of shortcuts. I avoid emacs precisely because I'm afraid I'll get even worse.

The fact that on the iPad I have to focus on the article I'm reading, the the email I'm writing, or in general the app I'm working on, well, all that helps me to stay focused.
> grabbing a child to prevent them from stepping in front of a car has lead to many child abduction charges

This is not true. I challenge you to find even a single instance of this happening.

You appear to have an overly paranoid view of how the world operates that's likely based on very little actual interaction with law enforcement.