skysight-inc/HackerNews huggingface dataset:
It's likely that Alexander would have taken over Italy had he lived a couple more decades. He definitely could have done it. Rome was not yet the powerhouse it became and he knew how to lead an army better than literally anyone in history. There were many Greek colonies in Italy but the whole peninsular might have become dominated by Greeks.

By the time Rome got around to taking over Greece it wasn't even a contest. It's actually lucky that the Greek states weren't unified into a force powerful enough to be an existential threat to Rome. It would have likely suffered the same fate as Carthage. Instead it essentially got colonized and incorporated into the Roman empire in a way that could be called a co-equal merger. Rome kind of became Greece v2.

History is full of civilizations that fought bravely against invaders and were destroyed. It's also full of examples of civilizations that surrendered and thrived. It's a hard pill to swallow that "cowardly" surrender can often be objectively better than "stubborn" bravery. One of the big facts of history that blew me away.
Adolf Eichmann was a bit too high and had bit too successful career for someone who "just followed orders". You did not even had to join SS, much less take leadership position.

Definitely agree on that one.
Ask HN: Is there a scientifically validated test for depression?
With all the talk of depression and mental health, I'm wondering if there is any test for depression that is scientifically validated (i.e., peer-reviewed and works well).

Ideally it would be a test that you could use daily to track your mental health. I've looked at Moodscope, but I'm hoping for something even quicker/easier if such a thing exists. Moodscope isn't that long but it's hard enough to get people to step on a scale every day to track their body weight and that only takes a few seconds.

Does such a test for mental health exist?
I find that good exercise (particularly in the evening) helps tremendously with sleep, and that really, really helps with everything else.
None of the malls in the Atlanta area that I can think of have fountains or lots of seating anymore. Many of them do still have the glass ceilings.
There may be behavioral swings among the depressed. They/we can be rather pragmatic. While I've had instances where I hadn't wanted to do anything all day, I've also been willing and ready to do absolutely anything knowing it would help. This had kicked a long journey optimizing my health and nutrition, among other things. The only holdout is my sleep, which while not atrocious every night, is still inconsistent.

Today was a shit day, because I hadn't slept well. My motivation was sapped. I managed to drag my ass to the gym anyway. Maybe a more profoundly depressed version of myself wouldn't have done so, but being in that delicate stage requires a different sort of special attention and time to recover.
Yep that was fun :) well buy a put
Thanks, I had missed that.
Started BJJ recently. Good workout, my conditioning and flexibility have noticeably improved, forces you to be 'in the moment', and provides an opportunity to meet cool people. I could go on and on about the returns I've gotten.
1990 being the world expert in some field, being contacted from the US to build some stuff for them. No interview as I remember, never saw the guy, but he was very nice and competent. No other challenges than the 6 hrs time difference to the east coast. The west coast work was harder, this was 9 hrs difference. But still no problem as we had 2 hrs overlap.
Peoples downvoting doesn't even known how to make a for loop...
Google doesn't quite lie, but they come very close.

The telltale sign for this is a lack of true commitment in their statements. It only counts when they draw a line in the sand.
> What if X was someone A or B paid or incentivized to vouch for them so the consensus would be swayed?

If B were to pay X a bribe of amount N, so X enforces the statement with amount N, B could also directly enforce the statement with amount N, which would lead to exactly the same result. If X would receive less than N, to add a weight of N, they would be gifting some money to B, and vice versa. So between rational untrusted parties, a simple bribe would not make sense. There are some rationality assumptions relating to 51% attacks similar to PoS oriented systems that have to be met, but there are some mechanisms in place that should reduce the practical requirement regarding rationality among participating parties significantly.

> If the asset in dispute is valuable enough it would certainly be worth it to a bad actor to pay a little to cheat and have the consensus fall on their side.

Good question, but I'm afraid that's one of the questions I can't answer right now without leaking too much information.
Newsweek and the race to fill Google with suicide news
Every once in a while, bookmark managing sites/apps hit the Show HN section. This brings up some questions:

- Is "bookmarks" a problem not yet solved?

- What is the secret sauce of pinboard?

- Is the success of pinboard replicable?

For me, personally, an ideal bookmark solution drills down to just search: Mark a webpage as "noteworthy", enrich it with metadata and offer a powerful search engine limited to these "noteworthy" sites. I use email the same way – no folders or tags, just search.

To OP: Congrats on the Launch! Kudos for optional email in the signup process, open sourcing your work and using Django :-)
You are correct on me confusing you with the poster I originally replied to, my bad
CLU was the first language to implement generics in 1975.

There are many levels of generic capabilities, across multiple languages in about 45 years of research, we don't need the full shop, CLU generics would already be quite usefull versus interface{} everywhere.
Recovery times are simply amazing when your muscles don't use glucose/glycogen. I can use the same muscle group day after day with no issues.

However, I do admit that the suppression of inflammation caused by ketosis can make it hard to realize your muscles are in bad shape to work out.
Between the coats: a sensitivity read changed my life
Ok? That companies chose not to conform is more indicative that consumers ultimately didn't care very much.
I've had a similar experience, such that at my healthiest my depressive lows are nowhere near what they once were.
It's been particularly trendy to bash corporations/CEOs lately.
Surely most people know that the Romans conquered the Greeks and adapted large part of their culture. For goodness' sake, the eastern half of the Empire they all spoke Greek!
It was a thing on here just over a month ago: https://news.ycombinator.com/item?id=16980166

I think the service used to only really impact medium-to-big sites, but the price change basically impacts any site. After 25,000 map loads (page hits) you start incurring some substantial fees.
Of course, history is amazing, and I too have devoted much of my time to studying various periods the older I have got. Studying is perhaps too strong a word, it's more of a form of entertainment and as a way of understanding how we got to where we are now.

I think it started with an obsession with the news, and to understand the news, you need background, history.

I think though, it's difficult to covey all this to a child, or even perhaps a teen, and I doubt there is much interest, outside of the gory details.
Looking back I found parts of history interesting, but I never felt like a had a holistic view of the past. As time has gone on, you piece it all together, bit by bit, place by place and see how it's relevant to today's world. There is a lot to take in, it takes time.
Off topic.

Not to be harse. But for a company as big as Mixpanel, the blog UI is terrible. No branding at all and seems unprofessional.

Even more ironic is they say this as the first line in the post: "Clean, attractive user interfaces and effective user experience have always been pillars of Mixpanel’s products."

They should look at companies like GitHub, Facebook, Twitter, and the likes for an example.
There are drug classes where for many reasons, some IP related, there are multiple (all FDA approved) very similar molecules, or the same molecule in different formulations. Those drugs all have some measure of efficacy (otherwise they wouldn't be approved) but there's always somebody in the trial on whom the drug didn't work at all (or somebody who died). Ideally personalized medicine would tell you whether you're that somebody, and you'd pick a different drug.

For most drug classes though the cost of obtaining enough patient information to make the call in the first place, even if it was feasible, is pretty high relative to just giving you a "test" with a given drug. The argument is often made for cancer because the drugs are more expensive and they tend to be given as cocktails (which means, more costs, more side effects). But with the way medicine currently is, it feels like even if hypothetically you could tell from a blood draw and a tumor biopsy that drug 1 is going to be 99% as effective as 4 first-line drugs together, patients for whom that 1% chance means they might die are probably going to go for the cocktail.

It's possible personalized medicine will lead to cheaper trials, and then cheaper approvals. For example instead of saying "I will make a drug that cures (alcoholism/cancer/MS/Alzheimer's) and it has to not kill patients and also happen to cure (alcoholism/cancer/MS/Alzheimer's) in a relatively large subset of the population, that I will spend tens of millions of dollars finding, testing, adjusting, retrying, etc" you could say "I will make a drug that cures dementia in female Caucasian patients between the age of 60 and 70 that have Southern European ancestry, eat a low-carb diet, and have a couple specific DNA markers. I will recruit a smaller sample of this population, get results, and my (much cheaper) drug can get approved for this population. Other, also cheap drugs will follow for (men/Asians/people over 80)." Now you have a feature engineering problem where you get to spend hundreds of millions of dollars paying data scientists to figure out that South European ancestry and some random protein that moves methyl groups around are the categories to structure your trial around. There's no free lunch.
Of course the API key is hardcoded... how else would the app contact the server?
IMHO the biggest problem with the way history is taught in school is the need to test on it. This means making kids memorize names and dates and individual events so that they tend to lose the forest for the trees. It's hard to get a holistic view of the situation when you're focused on the smallest details.
Apple's App Store ToS conflicts with the GPL, apparently.
The Document Base URL Element
I've never had ketamine, but its status as a hypnotic and its use in surgery suggests it's something that numbs the mind. Psychedelics do the opposite, in a very extreme way. It's an intense experience where certain mental barriers disappear, some of which are crutches which are taken away. Some things become unforgettable.

I highly recommend doing more research before pushing exercise as a more moral (or whatever, 'safer' if you prefer, but I suspect most opposition is on old-fashioned moral grounds) alternative. The hand-me-down moralisms about drugs have got to stop, especially in a world of legitimate alcohol and prescription drug use. It's time to question what the authorities have been legitimizing versus stigmatizing. The opioid crisis and long-time cannabis prohibition aren't enough to cause questions about the impartiality of the status quo?
who the F are combat divers? Who are they fighting against?
I agree that experienced guides are important for high doses, but microdosing is safe for DIY.
I love blender but its sculpting does not even come close for me as to Sculptris/3D coat for me personally.

I really like Dilay because it certainly gives me the closest Sculptris experience and that also on Linux/Mac which is an added bonus!
Real numbers are defined as a particular extension of the rational numbers, which 1/3 is.
Well, in this case it's if you want to use their API to show maps in your application. If you're doing that, you're going to need to pay them in terms of total requests to their backend. Their B2B service and advertising probably funds the normal consumer app (ie just logging onto 'maps.google.com' to find your local coffee shop).
Selective enforcement gives them even more power though. If a rule/law is only acceptable because it won't be enforced much then it's actually a much worse law for freedom than one that will be enforced across the board.
We still use the term Phyrric Victory nearly 2300 years after the famous war that spawned the term.

https://en.m.wikipedia.org/wiki/Pyrrhic_War
It's his repeated blatant disconnection from reality (a.k.a. technically not lying, but...) in his remarks regarding production levels of the Model 3, regarding Tesla's financial state, and most importantly, regarding the capabilities of "autopilot" and refusal to take responsibility for technical failures in said "autopilot."

I wouldn't say HN is mad at him so much as wanting him to be responsible and own up to reality. He's supposed to be an engineer, and Proper engineers don't engage in "spin." Furthermore, "spin" has to be somewhat believable, whereas Musk has had a recent history of blatant falsehoods. Just like HN calls out anyone else when they're wrong (that is, disconnected from reality), HN is calling out Musk now that he's verbally disconnected from reality. HN has a low BS threshold.
Moodle used to be provided for free as inclusion of the IT services provided by the local authorities. Local authorities stopped running schools (academy) and LA dropped moodle for free so school saw a free service turn into £3k+/year maintenance contract.

And most schools started to get unhappy with moodle because it was hardly updated. IIRC they left the free moodle running at one major version and offered the service contract on the next major version up as a carrot.
I don't see why this follows. I said "in expectation". So some % of the time it's going to be 0 or thereabouts and some % of the time will be much higher. The best case scenario needs to be multiples in order to make the average work out, but I don't see any reason the average case needs to be.
> I work with people who have addictions. Sugar doesn't come close.

While I will defer to your experience with working with addicts, with respect I would suggest that the nature of your work may lead you to underestimate the addictive properties of sugar.

I am not claiming it compares with alcohol, meth, or crack cocaine addiction, but I think it is not unreasonable to compare its intensity to, say, coffee addiction. Except that in the case of sugar, the consequences can be chronic disease and premature death.

Research shows that sugar affects the brain reward pathways in a way similar to other drugs [1]. This contributes to its addictive properties in addition to those caused by the metabolic disruptions brought about by insulin resistance.

[1] https://www.ncbi.nlm.nih.gov/pubmed/23719144

[2] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2235907/

[3] https://addictionresource.com/addiction/sugar-addiction/
The phrase "are able to be" is more effectual than the phrase "are not meant to be" when it comes to how people use programming languages in the real world. If it's possible to build a Go system using only panic/recover and defer, just as it is using only interface{}, then there's some people who will use them that way.
> Look at the current state of the UK

Which case are you thinking about in particular?
Valve will end its support of Steam on Windows XP and Vista on January 1, 2019
Judge Rules AT&T Can Acquire Time Warner
Vue discourages 2-way binding between components and instead suggests binding data down to children and requiring children to emit events up to their parents to request shared state mutation [0]. I'm not sure how elegant it is, but it seems logical to delegate the responsibility of state management to the components that originally provide the data.

[0]: https://vuejs.org/v2/guide/components-custom-events.html#syn...
18h45
Yorick is doing the vacuuming. Vacuuming is not doing it’s thing. Why….

18h48
Still not vacuuming.

18h50
Yorick: still not sure why it’s not vacuuming.
We need a roomba.

I love them :)
> low enough fat that your body isn't storing any

Dietary fat is rarely stored. It is mostly either burnt (metabolic upregulation) or excreted.

Excess glucose in the blood, however, is stored as fat, through a process known as de novo lipogenesis.
Well... as a tenth-grader, say, I wasn't actually in a position to understand history the way I do now. Teaching me a bare-bones framework was perhaps the best they could do, which gave me a place to hang the detail that I learned later.
How about .NET Core?
> "once Google has control of the web, they can turn off huge parts of it for whatever reason..."

What does "turn off" even mean? Following the links, it looks like the author is opposed specifically to Chrome pushing sites to migrate from HTTP to HTTPS, mainly because he claims "the web is a social agreement not to break things" and "we will lose a lot of sites that were quickly posted on a whim, over the 25 years the web has existed."

This is hard for me to get on board with. Standards evolve and improve because major players push them. We don't use floppy disks anymore either. HTTPS provides desperately needed privacy and integrity guarantees. And archive.org continues to make historical sites available -- over HTTPS even if the original wasn't.
Here is a quick explanation of how markets work, and why equity is the wrong thing to look at to answer the question asked.

Equity prices give you a share in future success. They therefore predict expected future value, pro-rated by the odds of getting there.

Bonds give you back money if the company remains in business, and nothing more. Therefore they represent a prediction of odds of going out of business, with no regard to how wonderful the possible upside in the company might be.

Tesla's combination of high equity value and low bond value represents a company that has a real chance of becoming dominant in its sector, and also a good chance of cratering instead. You shouldn't invest in a company like that unless you understand why there is a real risk, and are willing to take it.
Maybe people don't remember, but there was an actual armed conflict within Macedonia only 17 years ago: https://en.wikipedia.org/wiki/2001_insurgency_in_the_Republi... which ended with the Ohrid Agreement which current prime minister of Macedonia, Zaev, said to annul and introduce albanian as the second official language in the (North) Macedonia. That's the real situation at hand in Macedonia now (and then). What situation with Greece did was to inhibit Macedonia's accession to NATO (and EU) which would reduce the threat of reopening possible future armed conflicts. Interesting times ahead for North Macedonia, that's for sure.
A dynamically-typed addon for the language "Fo" could be called "Foo" (to rhyme with "Groo").
I don't see the irony. If there is a group of people you want to talk to, you go where they are.
AT&T’s Time Warner Takeover Wins Judge’s Approval in Defeat for Justice Dept
Can you do ad-hoc or bounded polymorphism? What about recursive types?
>For each new origin that the site contacts, a permission prompt will be presented

I don't think this is an adequate approach to security. When the browser presents me with a prompt to load data from a third party site, I don't know what data is being loaded, what it's being used for, or whether this prompt is expected (as part of the regular functioning of the application) or unexpected (indicating that the application has been compromised, and I should navigate away from it).

In general, I've noticed that users react in one of two ways to these sorts of prompts. Naive users will blanket allow -- allowing all sites to access all of the capabilities of their browsers, regardless of the reason or necessity of that access. More sophisticated users will blanket deny. If it's not immediately apparent why a site needs the permission that it requests, that request will get denied, even if it's a valid requirement. Very very few users will think about why a site is requesting the permissions that it is requesting and consider those requests on a case by case basis.
Maybe I'm misreading this, but page 78 seems to be the money shot and it's 35 for the US, 40-50 depending on what part of Europe you're in, and 140 for Mexico - which I consider to be the gold standard for street food.

There's also a huge problem inferring that health inspections and street vendor licensing have anything to do with the results. Mexico is probably no different from Thailand in this regard, and yet there's a 10X difference in years lost. I'll bet there are stronger correlative factors of climate (tropical = more parasites and diseases) and quality of public drinking water. Rich northern countries score better than equatorial countries on these benchmarks too.

It's quite a stretch to say that folks are going to start dying left and right if the health board takes a day off. I'd be perfectly happy to live with the health inspection regime (and the rich food culture) of Mexico, especially if it's combined with our public water and sanitation system.
Capital’s Share of Income Is Way Higher Than You Think
I second the recommendation of Reid's biography (although the title does not have an exclamation point): great book about a truly great man. Eventually Gordan came around, to some extent, and said that maybe "even theology has its uses."
Yes, they sell 3 pack [1]. I bought it about 3-4 years ago and back then they also sold 3 pack. I immediately stored it in the fridge together with my Li-On batteries. I used one about 6-12 months after, and it was still OK, but it was red (they had a special deal of 3 diff colors for cheap) and the surface was black, so, not very pretty. Now I bought 3 black around black November and I assume its still good. I don't often use it (or forget to use it) which is kinda meh. But you could argue the reason I don't use it is a lack of creativity. I mean, check the website. So many uses for Sugru!

[1] https://sugru.com/buy#3-packs
AT&T-Time Warner merger approved
I think the idea of a single "centre of civilisation" is less than helpful. There were certainly a number of centre's of different civilisations, but if you try to plot the centre of these, there's a good chance you would end up in the middle of nowhere, or open ocean.

I think it's much more useful to think of a net with connections, with different levels of "zoom out".

For example, you could look at 0CE Rome, and get a good understanding of how the city ran. Zoom out to Italy, and have a good understanding of the 'Centre' of their empire. Zoom out to the entire empire, noticing a second clustering towards Egypt, and how trade flowed to the Parthian empire, into Germania and how there was even a trickle through the Sahara.

Then zoom out again to get an idea of how these all interacted with the other great empires in India and China. And how these were disconnected from the American empires at the time.
The data-down, events-up architecture is fairly popular not just with Vue but React, Ember and other frameworks as well. The main criticism of it (at least in React-land) was that you ended up with a lot of noise from having to pass unrelated things up and down from intermediate components. This is what React context and higher-order components were meant to address when they were conceived.
Why the hate? Just because FreeBSD supports the idea of making a commercial product from the code isn't a reason bag on Rick.