skysight-inc/HackerNews huggingface dataset:
The code here isn't the best in any language. A purely recursive Fibonacci is a terribly inefficient way to do the calculation because it will recompute every `fib(n-1)` a few times, making the complexity exponential. But that's what makes it great benchmark of recursion. People then try replacing the code with an O(n) vectorized version and say "hey, we beat Julia!" but that completely misses the point that (1) yes, you can do the O(n) version in Julia too and it will be faster but also (2) this is a test of recursion with the name "recursion" in the name.
This is an interesting point. I'd like to get some information on this myself. Of course, replacing ANY government or social system with another one will result in social upheaval and difficulties. In the book, van Notten alludes to this, and provides some insight, but it isn't really a clear and comprehensive statement.
Skimming over the paper that the article references, it doesn't look like the authors have a real way of disaggregating two possible causal pathways from housing costs to delaying/avoiding children:

1. housing costs --> economizing on housing --> not having room for children

2. housing (and other) costs --> higher earning --> longer working hours for both (prospective) parents --> not having time for children.

It would be interesting to know whether people are not producing kids because they can't afford more space or because they can't afford to sacrifice income for childrearing.
> Most of them actually specifically require that Thunderbolt security features be turned off because otherwise signed drivers are required to be installed before the peripheral will even connect.

You’re on the wrong page here. I’m not really sure what your thought process is. The (easy) attack is to simply trick the host machine and driver into thinking you’re an approved DMA-capable device. It has nothing to do with host-side checks on the drivers.

> Got a source for VT-d being supported on MacBooks?

Intel’s website and my memory.

> So uh.. don't run macbooks that are 6 years old, I guess.

This thread is specifically talking about thunderbolt 3, so this precludes any such machines.
That’s a leap. Cities have lower both rates, so humans must have a trigger that turns down fertility?
huh. I've purchased both books and read partway in. I will make time to finish them both. thanks.
There are vast differences between rural and urban populations, especially in China. The fact that urban households have fewer children in no way implies that density leads to reduced fertility.
China's Navy Is Flexing Its New Railgun
Really interesting video about that: https://youtu.be/8e-H4sEHB54
It strikes me that there are roughly three categories: 1) people who choose to never have kids; 2) people who want kids, but choose to wait until they can live comfortably, save for college, and so on; and 3) people who just want kids, and figure that they'll work out the details later.

Maybe it's the first and second categories who tend to end up in large cities. And maybe it's the third category who tend to live in the poorest regions. That is rather consistent with the standard understanding that education and economic development tend to reduce population growth.
The Path object won't construct a path from an integer.

>>> from pathlib import Path
>>> p=Path(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/pathlib.py", line 979, in __new__
self = cls._from_parts(args, init=False)
File "/usr/lib/python3.6/pathlib.py", line 654, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/lib/python3.6/pathlib.py", line 638, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not int
>>>

So what happens if the paths are numbers? They are treated like any other characters.
Unless we’re in some kind of rent-seeking or monopolistic situation, you never get 100% of the rewards. Businesses increase their revenues by providing more value to clients.
Scale and parasites.

Algae are, at best, about 10% efficient at converting sunlight to fuel.

To meet present U.S. petroleum neds, you might, say, put grow ponds on the east and west coasts.

They would have to extend 1500 miles north-south and be about 60 miles across.

That is an ambitious project, to put it mildly.

Then you'd need to fertilise the ponds, drain effluent, and keep anything other than you (or your fuel harvesters) from munching on all those gigajoules of hydrocarbon energy.

Fisher-Tropsch seawater-sourced synfuel would reqire a few square km of plant, and roughly 180 miles squared of solar power feed.

In a world of grossly intractable fuel / energy alternatives, that's not completely beyond reason.

https://www.reddit.com/r/dredmorbius/comments/22k71x/us_navy...
DINK: dual income, no kids
Or, as other people have mentioned in the thread,
Housing costs -> moving elsewhere to have kids
With the people moving to the city being ones that don’t plan on children anyways
And here I was thinking they were fighting a lost battle.
I agree with this sentiment. It seems to me that solving local problems is the way to solving global problems. Solve enough local problems and you’ve just solved a global problem.
Don't want to argue, but thank you for actually providing a citation.
BackBlaze is very similar to AWS and similar services - it's not made for the consumer. You need to read and understand their entire stack, process and features available. If there's a single limitation that won't fit the bill - find something else.

They'll suit 80-90% of customers, but I'd say there's a portion that don't do their due diligence and test every use case they have (which is fair enough, most people don't and most people don't know every use case they will have going forward).
That article is a shining example of why I'm quite happy to pay my TV licence fee. I'm not exactly sure where the funding for BBC.COM comes from and until recently I was excluded from .com due to being British (odd thing, now sorted).

However, ignoring how the article was funded, it is a good example of proper journalism.

Why on God's good earth is quackery still a thing?
Hectares to tonnes, peat bogs might beat trees, but generally I'd think biology has the edge here.
Successful by what standards or measures? I don't think the "cohere" argument is true, but do you have some examples I could think about? The Soviet Union didn't cohere, for one example I can think of. Neither did the British Empire, including America.

Is there any other basis for seeking peace ever? I think van Notten means here that this is the reason peace is usually sought, because violence is horrifying to those people as well. In North America we also hold violence as the reason to respect social order.

What are the main points about 'the nature and function of law in human societies, particularly in the developed world' you had in mind?
Awesome site.

It's my go-to Numberwang encoder!
What is your privacy policy with the data people give you to use your FREE tools?
Previous discussion: https://news.ycombinator.com/item?id=16300892
I think that there's a massive correlation/causation problem here. Yes, it certainly appears that restrictive zoning laws are inversely correlated with fertility — but is it possible that the sorts of people who are likely to have fewer children are drawn towards the sorts of cities which restrict construction?
> I'll buy a brand new MBP as soon as there is a compelling reason to replace my 10 year old one. That just hasn't happened yet.

If you're satisfied with the performance of a Core 2 Duo, still able to get fresh batteries, too old for your eyes to benefit from a Retina display, and don't want to shave off 25-40% of the weight, then why do you expect that there ever could be a compelling reason to replace your current MBP? If you don't want anything more from your computer, then how is anyone supposed to entice you with a computer that does more?
Like constantly banning them with extreme prejudice for not towing the line? That already happens anyway, and it’s one reason why sites like n-gate exist. HN is a parody of itself.
Here on Hacker News there was some discussion of the article from the Economist, six weeks ago, titled "The link between polygamy and war". This was in response to that essay:

"This suggests that political stability depends on young men being able to pursue their romantic dreams. This would apply in any country, not just African countries. In nations in the West, an important limiting factor is the ability to get one’s own apartment. That is, the ratio of average male wage to average rent. In the USA, the happiest year for this ratio was 1958, when people were spending 22% of their income on rent, on average. Not by coincidence, this was the peak year of the Baby Boom. In some sense, it was the best year in history to be a young white male in the USA. It was the year when it was easiest for an 18 year old male to get out of high school, get their own apartment, marry their high school sweetheart, and start a family. And of course, young people did this in huge numbers, which is why 1958 remains the peak year for teenage pregnancy in the USA."

http://www.smashcompany.com/philosophy/do-men-become-warlike...
Choosing a female partner (depending if you live in the west) is one of the biggest financial decisions a man will make that can have ramification on your stress/emotion/and success in the future.

Don't take this the wrong way when I read you're in your mid 30's I basically cheered! Go out and meet new people and experience life that you have some money/experience under your belt.

Personally if I had time to rewind the clock, I wouldn't of got Married (here in the west). The legal system, law is blantly sexiest against men it's beyond a joke. Seeing from first hand account of this myself.
Why teach everyone advanced math and physics? Because you have to start training for it at a very young age in order to have mathematically and mentally matured enough to be ready for a modern PhD in your early 20's. The system is inefficient but has naturally evolved to give everyone a shot, starting everyone on this path and letting people drop out at different steps along the way. Our society needs scienstis, lawyers, doctors, and MBAs. Everyone's parent want their child to be one of these. So everyone is sent along this path.

It's better than the old style where you could only go to school if you were rich enough. That kind of society couldn't compete with a society that found the best among millions instead of thousands and thus naturally eroded away.
Thanks!

This list may not be representative of “all free online tools” but is sufficient for the context. Perhaps the common thread amongst all of them is that they are served over the interweb. And I wonder what’s the use case?

Edit: typo
In the spirit of debate...

> It's a terrible idea to look at a problem and say, "what's stopping this poor, under-educated person who has to work 10 hour days and feed a family of three from doing self-education?"

So instead we pull them out of the labor market (no income) for 4 years and tack on $100k in student loans for a humanities degree that is unlikely to lead to a high paying job?

> A guarantee that the education will be worth anything when they're done, for two.

Who is guaranteed this today? The reason we're having more of these debates about the value of formal secondary education is that the economy is pivoting from pedigree-based to skills-based hiring, and leaving a lot of degree chasers (and their families) underemployed and confused.

> And three, can they actually do it? Maybe they have enough self-control but that isn't all that matters.

If 40% of people who start secondary education fail to finish, then maybe it's appropriate to have a better filter for the motivation, discipline, and self-control needed to succeed? I know I didn't have the required inputs at 18, but I sure did by my mid 20s.

> Many people can't self-educate - it won't work for them, as education is inherently a social process for some people.

Self-education doesn't have to be a solitary endeavor. There's a spectrum of opportunities between isolation on one end and traditional college on the other - meetups, mentorship, book clubs, online forums and communities, interactive online courses, community groups, etc. I'm just arguing that if we want a generation that values humanities - which I agree is important - we can get it in other ways than pushing a lot of 18 year old kids into history, philosophy, english, and political science degrees at expensive 4 year universities.
Do you not think the venue here might have an impact on that?

If my kids love working with their hands, hate being cooped up inside, and find maths and science boring, I would absolutely suggest they learn a trade. There are myriad opportunities for a smart, hardworking tradesperson, especially as more and more kids are pressured into university who would be more suited to an apprenticeship.

Far better for them to be a smart, capable sparky or metalworker than to be stuck churning out mediocre 'enterprise' software and hating their job.
I'll put a privacy policy page soon. It's just start. Most of the tools I'll put on the website is either browser based or don't rely on any storage. Currently no database system is used on website, so you're safe. Things like compressor (html, css, js) is done directly on memory.
So much for the lie that Trump would "end big gov".

More like end having a sustainable budget.
I know you were just trying to get in some cheap laughs by putting other people down, but being a lawyer has made my life much more fascinating.

It's hard to imagine another profession that has as good a balance between intellectual depth (law is very much a technical skill) and intellectual breadth (a natural result of having to become conversant in whatever domain forms the context of the current dispute). Because of my job, I've learned so much about fields as diverse as Vitamin D testing and DNA identification to Sikh religious apparel to Hellfire missile post-launch abort procedures.

So, I mean, you are of course entitled to laugh at the cliché of lawyers being boring suits. But the simple reality is that it's a deeply enriching field.
I'm pretty sure I know what company this is, subsidiary of Raytheon. No one would discuss salary with me until I had an offer and you guys couldn't hit 115K
To be pedantic, ae is a diphthong in Latin that sounds more like the ‘i’ in ‘fine’. It was definitely never pronounced with a long e in Latin. Even ‘demon’ in Latin would have been pronounced with a long a sound.
EDIT: I was just informed it is as of 3.7 an official language feature, making everything below invalid

Personally, I'm worried people will come to rely on the new behaviour in code instead. As core developers have repeatedly said, dict order is still an implementation detail, it should not be relied on as it
is not officially part of the language. Other implementations (except pypy) will probably not have this behaviour.

Yet, I feel like this will fall on deaf ears and become a de-facto part of the language. Blogs will state it as a new feature, Python books will teach it and new coders will rely on it, forever locking the dict internals in place for all python interpreters.

(If you need to rely on ordering, use an OrderedDict instead.)
That's actually not a bad thought, it would be neat to think about how divorcing a lot of these javascript/bundles applications from http could be beneficial
I’ve been an unhappy subscriber since it started. Siri commands and Apple Music are essential when driving and thus I’m stuck with it(only use it while driving which is frequently).

After three years it still sucks for me because...

- bloated UX

- try asking Siri to play all your “Recently Added,” songs without creating a new playlist.

- how can I discover new music when driving? I can ask Siri play similar songs to current song playing but what I need is Apple Music to shuffle all my songs and randomly add new/similar songs that compare to my entire and eclectic song playlist.

- there are instances where Apple Music/Siri plays non-copyrighted songs ie. cheesy horrible and lame covers of public domain Xmas songs. Makes me feel ripped off

Spotify is better but totally unsafe to use while driving vs. Crapple Music.
Ignore what? Consciously choosing a non zero-sum option? That there is a spectrum of ideas, that everything is not black and white? Ignoring that choosing the major parties gets you to the same end result?

Aside from snark what is the substance of your comment?
return {**old, 'foo': 'bar'}

# Old way
return dict(old, foo='bar')

Not much difference if you ask me.
India private sector would easily be 60 to 80 hours
I have very few complaints about apple music, and most of them are because I regard the Atomic Unit Of Music to be the studio album.

1. No Tool. :(

2. No easy way to reorder search results to be album first.

3. Date of original album release is buried.

4. Hard to filter by "studio album" vs "live album" vs
"compilation album" vs "greatest hits album".

5. Siri can't help; "play me the third album by the rolling stones" doesn't help, and neither do i have a voice-controlled "tell me what the album names by X are and let me pick one" interface.

My impression is that no streaming service does these things.
Sad. The UI of Spotify is much better - less taps to get where you want to go, dark theme, and it actually has song handoff between devices and a dedicated desktop app for the Mac, none of which Apple Music has. I can't help but think this is because of Apple's monopolistic practice of only allowing Apple Music to integrate with Siri.
> And on top of that, are the kind of people who move to NYC or SF already the kind of people planning not to have a kid over the next 5-10 years, or ever?

For what it is worth, NYC as a whole is quite child friendly. Take a stroll around Park Slope and you're tripping over gaggles of children. Now San Francisco? I'm amazed when I see someone under 18.
This is plausible but definitely requires references. I would not be surprised if it were something that can be seen in other mammalian species.
Given the amount of fraud and scams which abound, this may be the best system for them. It's the "People's Republic" after all. Let them decide what they want.
I think this article really misses the mark by trying to claim that the divide between front-end and back-end development is based on gender, that it only exists now where it did not before because of women entering the field. By my observation, there simply was no such thing as a “front-end developer” until recently, as more and more logic as pushed to the front-end over time.

Many people in the industry do view front-end development as less prestigious than back-end development, but that's because it exists on a spectrum between design and engineering with the majority of the work closer to the former side. While many front-end development jobs are on the same level of engineering as back-end development jobs, these are not the jobs being done by “self-taught coders and designers” as the author describes them, and require a lot more than learning HTML and CSS.

While it is most likely true that women face gender discrimination when looking for back-end work, the author doesn't really seem to be talking about those women. Instead, the focus is on women who apparently only have web design skills, which aren't enough to earn either gender prestigious engineering positions.
The problem is not how bad things goes on in China, but every other government want it.
Maybe they have Noscript on. I do, and for me, the story ends on the high note:

> But the real reason he had talked his way into the newsroom was to invite Jimmy and me to his wedding. On Dec. 5, 1992, Jackie Wallace and Deborah Williams, an executive secretary, became husband and wife.

I had to check WP (https://en.wikipedia.org/wiki/Jackie_Wallace#Post-football_l...) to figure out what you were talking about and, opening in another browser, see that the article goes on for 3x longer covering the relapses.
Good point.

Minor counter-point: I'm not sure if libertarianism is the goal of Somalians. A certain degree of liberty -- a significant say in how they conduct their own lives and not having a government telling them what not to do as much as we are used to -- but I think they also see the value of a court to temper individual liberty in certain cases.

A couple differences between their system and ours: the point where individual rights and social limitations meet is found where another individual suffers some grievance -- some of which, however, appear to be cultural and not material, although I'm not sure how small this segment is. Also, they seem to have some say in their courts, who administers justice for them, and how its administered.
My wife once told me that she notices I'm a less happy person if I'm not regularly playing sport. Since she mentioned that, I've been able to sensitise myself to when I think I'm starting to feel irritable for reasons of 'not having competed recently'. I've found it to be quite tangible.

There's definitely an evolutionary element to this, something along the lines of a requirement to contribute to the survival of the tribe; prove ones worthiness.

The other thing about sport, for me, is singular focus. Whilst it's physically draining, it's a temporary escape from all those other niggling thoughts and helps to get rid of the trivial ones. Meditation-esque.
You’re describing solipsism.
> when you run Julia scripts on small example data

That's not the favored way of working with languages that have a REPL (or better --- Jupyter notebooks). Ideally, you work and reload new code interactively. I only rarely have to restart Julia, so I don't have to pay the JIT tax very often. Check out Revise.jl
There are strong evobio reasons to be extremely skeptical of that comment.
In my bookmarks I have HTML encode/decode and URL encode/decode. Have you considered creating a single input and single output field with different buttons around?
Don't even have to go far to see that. Open any thread on HN that is about Facebook or has it in the title, and you can already predict half of the comments, with a variation of "I quit facebook N months/years ago, and if you are still using it, you must be a sheep" being in the top 5. As soon as someone reasonably objects to this by saying that facebook is helpful to plan and coordinate events with friends, there will be the token reply saying "if they are real friends, they would reach out to you specifically through other means, no matter how impractical that is." It's as if some people live in this fantasy world where everything is binary.
I came here to post that. It's fascinating. Why would anyone care so much about cheating in an extremely obscure arena?
I absolutely agree with you and still think it is totally irrational to have kids and cut into your fun -- however, you may be interested in [this comment thread](slatestarcodex.com/2018/01/16/bundles-of-joy/) where many of these crazy kid-having people explain their point of view. It's worth noting that whatever unsatisfactory explanations they manage to convince themselves of, have greater genetic fitness than the ones that convince us. It's very frustrating that even though wrong, they are guaranteed to prevail through natural selection.
In Australia apple music is given away for free with a few of our mobile providers for free. Is the same in the USA? I dont know a single apple music user in Australia. Spotify is a much better user experience.
I’ve always wondered how this can sanity-check. Surely the pool of potential child-care workers is approximately all of humanity, and one worker can care for several children. It’s socially important, but not scarce. How, then, do childcare costs exceed the productive capacity of so many educated, specialized, experienced professionals?

This would seem to indicate that many jobs are bullshit, wages are suppressed, or there is artificial scarcity in the day care business.