skysight-inc/HackerNews huggingface dataset:
>> 137gm red meat, 57gm poultry, 22gm fish per day on average per person using the "meat-based diet" model.

There's a big gap between that and a vegetarian or vegan diet. There is definitely a lot of room in between for plant-based diets with a reasonable amount of meat (say chicken or fish twice a weak and a Sunday roast once or twice a month). I'm willing to bet that this kind of diet is much more common than one including a hearty portion of meat every day and that comparing this diet to vegetarian or vegan diets would yield a much less significant difference in terms of environmental impact.
> Regarding trade: I think China (and any country) should have absolute say in how they do business, and who they want to do business with, who to allow in their internal market, etc.

I don't necessarily disagree, except:

- does this take into consideration explicit agreements they've signed with the WTO?

- if this behavior is perfectly fine, why the extreme reluctance (on both sides, at least until recently) to acknowledge specifics of how the game is actually being played?

> I think "fair" can only be considered in context. Something is fair or not according to how the actual players play the game, not according to some abstract rules. If everybody cheats, China is fair to cheat too.

That seems perfectly reasonable, but my question was: is the US "cheating" China? Are de-facto terms and actual actions (actual actions, so excluding "karma"-based justification) of trade between the US and China "fair", or are they not fair? As far as I can tell, that question remains unanswered.

> Naive pundits...

I absolutely agree on a philosophical basis, but unless I'm mistaken, this seems orthogonal to my specific question. For the sake of clarity and conversational efficiency, I'd rather we not add new topics of discussion to this particular sub-thread.
A slightly older and much more active discussion: https://news.ycombinator.com/item?id=19928231
ThatI would argue that an population based map projection would put Jönköping nicely in the middle.

https://www.visualcapitalist.com/massive-world-map-redrawn-b...
I love that question, and may use it, or a variant, in one of my future interviews.

My reasoning: I would like my team members to be able to contribute in all aspects of product development. This includes not only engineering decisions but also work with the product managers in identifying both potential new features as well as short comings or issues with some requirements. It also tells me how narrow or broad a particular person's knowledge base is.

Let me try to put it in other words: it may tell me if a particular frontend engineer would be open to exploring backend development? What if the language stack changes, will they be open to exploring new languages, stacks, frameworks, OS, platforms. Or, will they be limited to what they know. Will they be able to just code what they're told, or will they be able to form and express their opinion about yet unknown things.
I wonder what makes you think AI/ML is better.
Perhaps it is useful in any industry where a key competence is convincing people of things that are not true.
Picking A Vertical For Your B2B SaaS Company
I once had to do a full-stack coding task for a YC company - I think it was something like build Tic-Tac-Toe with backend validation and storage of game state. I built it, and instead of being called onsite, I had a phone call with an engineer. I expected to discuss my solution with the engineer and prepared accordingly, but they did not mention the assignment at all, and proceeded to ask me algorithm and database trivia questions. I did not get the job.
Nasa located the crash site of Israel's failed moon lander, and it's not pretty
Whiteboard interviews can work well if they're not going to try to pick you apart over extremely complex topics and overly high expectations.

Interviews are good about getting a general feeling about a person.
I guess I have a fundamentally different view of software requirements. Even before dotnet core even existed I would have explicitly confirmed that the company wasn't using Mono if they didn't spell it out for me.
My team does a take-home coding test and we've found it to be very successful. The people we've hired as a result have been great and actually told us they preferred it to other interview methods they've encountered.

The challenge is coming up with a standalone task that demonstrates the skills needed for the job while _actually_ requiring the amount of time you say it should take. Seems like most commenters here are upset that a "2-hour test" really takes 6+ hours. That should never be the case and I wouldn't want to work for that place either.

Another key part of this is should a candidate pass the take-home test portion of the interview, the in-person interview should be fairly quick and mostly a judge of fit/character. It should not be loaded with more tech questions. The reason this works best for everyone is the interviewee doesn't need to waste a vacation day on-site unless they have a really good chance of getting the job.
Always start your sentence with "In my opinion you should..."
https://postimg.cc/6y327Syv

Need I say more.
Since you mentioned Perl, I wonder if you've tried Mojolicious at all and what you think of it? I've found it pretty nice to work in, and easily scalable to small and large projects.

That said, I don't have is a lot of experience with other frameworks in other languages to compare it to, so I don't exactly know how it compares.
So? You say that like it's a problem. China being the number 1 economy is inevitable and I, for one, am looking forward to it.
Never start a trade war with an autocracy
Also, if you're aggressive IIRC then it can be considered to be threatening.
Hey CJ.

I don't think that graph will ever be readable without vendor-specific hacks applied for every piece of software participating. AS will meet the same fate as XMPP. Some very core features might work, but the diversity in user agents and servers and their quirky implementations will ultimately be to its detriment. Maybe that's leftover pessimism from the time I participated in the XMPP WG. I'd love to be wrong.

I have a lot of respect for implementing AS in Go. I tried and didn't even finish my relay implementation. It was just too counter to the Go core competency and mindset. Or I'm just not a fan of wrangling interface{}s around.
> something went wrong with bank regulation in the late 70s or early 80s.

I'm assuming you are referring to the repeal of Glass-Steagall?
Why are people putting up with this?
Wikipedia defines a "natural monopoly" as "a monopoly in an industry in which high infrastructural costs and other barriers to entry relative to the size of the market give the largest supplier in an industry, often the first supplier in a market, an overwhelming advantage over potential competitors."

That's the case for Facebook. The barrier to entry isn't the cost of the machines or software, but the Network Effect: if your friends aren't on the new network there's little reason for you to go there. Once large network is more effective than many small ones. Facebook could give up that natural monopoly, if they chose to, but they won't unless forced.
GozNym Malware: Cybercriminal Network Dismantled in International Operation
> Another point. We don't actually know how good the best climbers were throughout history. There's a clear upward trajectory to 19th-century British mountaineering and its descendants. But how good were the best Incan climbers in 1350?

Even through the early 19th century climbers were much better than given credit for, part of this is also how grading shifts over time. I've experienced this first hand, climbed some old "HVS" routes (fairly easy grade) established in early 19th century in wales (UK), only to find them in the low extremes by modern standards, maybe E2/3 (no this wasn't mere sandbaging), on top of which they were using heavy gear, unsafe gear and mountain boots!

I have much respect for forgotten pioneers of climbing, they were much tougher than they appeared on the face of their accomplishments.

We all have little jokes in climbing when conditions make routes harder like rain, cold, dirt, birds whatever, "oh this bird shit turns it into a VS / E12 today".. it's silly, but when applied generally, it's true - every aspect that is different can make the same climb significantly harder or easier for others, those pioneers probably were climbing E9 for them.
nobody knows and anyone that says they do is speculating.
There's actually two acceptable answers for the question...

I should note that my statements below may be FOC; I do not myself have a CS or EE degree, so take what I say with a modicum of salt...

But first, note that I wrote "function", not "circuit".

It could be argued that CS, on the whole, is a subset of mathematics, particularly that of boolean algebra and logic. As such, the functional equivalency between the abstract of boolean logic/algebra, and its implementation on a physical substrate, could be considered among the most important of CS concepts.

One could also argue (maybe?) that Turing's "equivalency theorem" might be related to such as well. Consider the case of an emulation of hardware done in software; one could consider that - at a base level, it is boolean logic expressed physically, being expressed equivalently as boolean software functions.

The opposite it also true, of course - that it is possible to express software boolean functionality in the equivalent physical form.

What form it physically takes does not matter (other than speed of course), which is why I also didn't ask for an implementation/representation in electrical terms or schematic form, but rather a diagram of something that could be expressed as a physical and mechanical object. If the person were so inclined, they could express it as a series of levers and marbles, or in LEGO, or Meccano, or any other similar option.

EE knowledge is not needed here, I don't believe (Martin Gardner might agree).
A lot of apps (games in particular) already do this by downloading a bunch of resources on first launch. It sounds like Google is giving them a proper way to do it.
Here's the FSF's take on it: https://www.fsf.org/blogs/licensing/more-about-the-app-store...

Long story short, the GPL requires you to grant a license to run the application for any purpose. You can also not add additional constraints to this. The App Store's terms and conditions say that you may only offer the software to be used under the usage terms that Apple gives. These two things are in conflict. Apple generally does not approve apps with a GPL license and most people think it's because of this reason (as far as I know they haven't ever made a comment about it). A few apps have apparently made it through, it seems this has been an error on Apple's part.
pretty damn kafka-esque.
What the ‘broad spectrum’ can teach us about autism
There are exceptions for police officers though, who are expected to tolerate some swearing. Relevant cases are listed on Wikipedia.

https://en.wikipedia.org/wiki/Section_5_Public_Order_Act_198...
> That's why it's called "erosion of rights" and not "outright nullification of rights"

True, but you can't erode something ad infinitum; eventually it will disappear.
See my comment, it was on BBC Click a few days ago.
My main beef with PHP is performance at scale. Doing 100.000+ req/s, the memory footprint for PHP is ... annoying.
Hey, interviewing is a two-way street. I'd love it if the candidates that know they don't want the job halfway through told me so and gave me my time back.

I am under no obligation to continue wasting your time. Who cares what the interviewer thinks here? You already (at least mentally) rejected them, so why should I care whether they would've said yes or no?

I wouldn't personally walk out for this reason, but things don't change when there are no consequences.
Do you have any data to back the assertion that this was about unions?

My gut says that it’s more probable that it was the hacker news crowd trying to test the technology, but I have to admit to have absolutely no data to support this assertion, either.
A problem is that when you topple a dictator you need to first secure the levers of power lest you be toppled yourself.

Suppose your new country has a $1bil in its budget, then spending that billion on schools and hospitals and infrastructure for the people means that there is suddenly $1bil that is not being siphoned of by the corrupt old guard that might still hold levers of power.

If you give them nothing, then they will rebel against your rule. If you try to compromise and give them $500m, they will only be loyal until someone comes along and offer them $750m and then loyal only until someone else can give them $900m. So the game is stacked in such a way that the only way to stay in power is to siphon of the $1bil on corrupt cronies and spend nothing on the people.

That is why it makes sense to purge those old enemies, but that may be difficult in itself.
> The greedy behavior that leads to the kind of inequality faced by today's society is now so well established that it has become hard to recognize for what it truly is.

I know you think you’re arguing against me, but what you described supports my position.
Having it to show. I'd happily accept that in place of a coding challenge, but sadly incredibly few candidates have anything they can show.
The book Fortress America [1] posits that, in America at least, it has been a long shifting of the fear from red to black. Basically, after USSR was defeated, we shifted more vigorously into a "law and order" society. Politicians and the media played up the threat (even though all data was showing a safer society) of gangs and "thugs".

[1] https://www.amazon.com/Fortress-America-Embraced-Abandoned-D...
And possible dead code elimination in the linker.
> Also notice that Singapore seems to be saying: Please don't ask us to pick sides ...

> The US may have fewer friends in Asia than it assumes.

Isn't Singapore political system famously authoritarian capitalist and its people ethnically Chinese? It might be a mistake as viewing it too much of a representative of the rest of Asia. It sounds very similar to contemporary China, in many respects, so it may have an unusually strong affinity to it.

https://www.hrw.org/asia/singapore:

> Singapore’s political environment is stifling. Citizens face severe restrictions on their basic rights to freedom of expression, association, and peaceful assembly through overly broad criminal laws and regulations. In 2017, the country tightened the already strict limits on public assemblies contained in the Public Order Act, which requires police permits for any “cause-related” assembly outside the closely monitored “Speakers’ Corner.”
Totally fair, but by the same token I don’t think users who’ve chosen to do this should reasonably expect any kind of support for old versions. From the developer’s perspective, it’s pretty frustrating to have a small group of users using years-old versions emailing in expecting bug fixes and support.
http://veekaybee.github.io/2017/03/20/hadoop-or-laptop/

Maybe we've also gotten over the "big data" hype wave, and there's more understanding that in more cases it might be cheaper & more performant to spend the budget on a single node with lots of ram rather than standing up and maintaining a distributed system.
The author's point about dissemination of information is spot-on.

A couple of years ago, I read Medieval Technology and Social Change, by Lynn White (https://www.amazon.com/Medieval-Technology-Social-Change-Whi...) as recommended by PG. Technically a textbook, it was a dry and drab look at the history of various innovations during Midlevel times - the stirrup, the windmill, etc. The 30,000ft view is that when innovations are introduced it takes a long time both for them to spread and for someone to finally exploit them to their greatest contributive state. While the steam engine was not invented until 1712, all of the components had been available since Roman times. It took quite a long time to find one of the greatest uses of those innovations. At least, it used to take a long time -

Now, information and innovation spread much faster. Society moves much faster. The innovation of the stirrup took a thousands years to propagate. The innovation of the internet took less than 50 years; Smartphones took 5. The pace of global change is increasing exponentially. A modern entrepreneur must have line of sight to the latest innovations in order to anticipate their impact on his or her society, industry, business, and personal well being. No one wanted to be the new Nokia, Borders Books, or Woolworths.

But, let's take a step back from specific innovations, and look at global mega-shifts in society. From the agricultural revolution, to the various metal ages, through the industrial revolution we are now being lapped by the waves of the Information Age.

As humans we quickly absorb each individual change brought forth in the information age - email, cellular connections, the world wide web, the smart phone, etc. Can you imagine running your business without your iPhone? We very quickly adapt to the here and now and forget the way it was (Thank you evolution!). However, what we are not good at perceiving is the systematic, second-order changes that the Information Age will bring. The Agricultural Age brought these changes over thousands of years. The Industrial Age brought them over generations. The Information Age will bring them with alarming speed that we may not be prepared for:

* Retailer's monopoly on local distribution was destroyed by Amazon.com + UPS

* Newspapers have been shattered by the internet's ability to breakdown their stranglehold on the distribution of information.

* The telecom world was turned upside down by the introduction of the cell phones, the internet, and the disruption of their monopoly on land-lines (Note that AT&T is a mere brand name, which was purchased on the cheap by SBC).

* The traditional media world felt this shock earlier this year when a man with a twitter account was able to upend their distribution monopoly on the news and they were left reacting and pandering instead of dictating.

But these are a number of examples in the commercial world. What about society itself? What about the global financial systems? What about governments?

Note: this was part of a letter I sent out with a Christmas gift a few years ago. Full letter here: https://blog.jacob.vi/the-sovereign-individual/
Everyone is so damn negative. Devs were force upgrading apps before and this just makes for a consistent UI. It also fixes the race condition where the dev rolls out a forced update but it hasn't propagated to all regions. This is a good feature.
before yall get too ahead of yourselves:

"The current version of the hearing aid, which involved direct implants into the brain, would be unsuitable for mainstream use"
If that's how you want to test potential engineers, I don't necessarily see a problem with the task itself. Just pay them! I'm sure Uber can find the budget for that.
> Basic liberties are a very narrow category as laid out in the Bill of Rights. "Owning your data" is not a right in the sense in which your parent comment was speaking, certainly not in the same way as the Right to Bear Arms.

I’ve seen this attitude to the second amendment many times. You might regard it as a fundamental and inalienable right (even though it’s in an amendment and therefore, y’know, amendable), but so far as I can see most of the rest of my [1] world think America is basically insane to even want that.

[1] i.e. anecdata, as I can’t find stats one way or the other.
How does Racket compare to Clojure?
Or higher taxation and less inequality so that the people whose parents are on minimum wage end up being the people making the decisions, not the people whose parents are from rich suburbia who never had these issues in life.
At least you got a response :)

But on a serious note, I really don't understand why they couldn't have written you back and asked if you could make it compile on Linux and send it back.
But the question is, what do they get?

Would they develop products faster if the employees worked less?
Ever wanted a Lego nuclear reactor? Here’s your chance
I personally don't see any issue with this.

If you want absolute privacy, than stay at home.

If you want absolute freedom, than go live somewhere where nobody else lives.

Society runs on compromises: your freedon to swing your fist ends where my nose begins (and viceversa); your privacy ends where my safety is concerned (and viceversa).
The worst is when you do the task and then they just don’t respond.

Not even a simple, “we’re not interested”. No feedback.

Just. Left. Wondering.

It’s cruel. It’s demeaning.

Tanium was especially cruel. 6 hours of live coding interviews and the only reason I got any response from them was because I had to consistently hound them for a couple of weeks and ask a friend that worked there to internally ping someone.
That makes me really happy to hear. I'm glad Bloaty is useful for you!
Racket's macro transformers are about as easy as hygenic macros[0] get unfortunately, I can occasionally manage to make a er-macro-transformer based macro in chicken work how I want.

defmacro was a lot easier, but I understand the aversion to it, even if it was rare that it was/is a problem.

[0] syntax-rules based macros are cake, naturally, but they're also incredibly limited, although I have seen people implement massive complex OO systems using a sort of ad-hoc state machine built in pages upon pages of syntax-rules rules.
Confusingly, there's another language called TXL (https://en.wikipedia.org/wiki/TXL_(programming_language)) that's both obscure and neat.
Can you elaborate? I don't necessarily agree nor disagree, I'm simply curious what you're specifically referring to here.
which means it's a little less stupid than what airbus is doing...
Rent

verb
1. pay someone for the use of (something, typically property, land, or a car).
"they rented a house together in Spain"
synonyms: hire, lease, charter

I'd say rent is a better word. Because you're paying. Share definition says nothing about paying. Plus, when you share, the other party keeps what was shared. Otherwise it's borrowing.

Words have meanings for a reason.
It's not inevitable. In the Iraq war a few senators and reps voted against it. Now we should have tremendous better sense of evidence can be faked, the impact in America and other countries. Most? A lot? Of Dems would vote against war, a few Republicans. This is just John Bolton, Trump not paying attention. It's terrifying. What if he lets some provication kick it off. Really the same thing could happen with China or Russia. I never thought I'd feel so sad about the state of my country. But you know, 1938 looked a lot worse. Germany, Japan, great depression.
Show HN: Become an Angel Investor
Having never worked in SV, are these home assignments common there? I know several engineers who would refuse to do any homework at all as a matter of principle, so a task of this magnitude without compensation sounds laughable on the face of it.
It takes me almost 2 hrs to recover (i.e.: reengage) after meetings...totally unrelated to coding or whatever project I'm working on.
Biohacker Josiah Zayner under investigation: practicing medicine without license
Monthly Mortgage Payments in the United States
Bitcoin is up 125 Percent in 2019
It's not an artistic work, and there are broad rights to images in public that preclude you from making a work on your face to prevent imaging of it.

It's a nice idea but it would allow lots of law breaking of things worked that way. Eg paint something on your car, now police can't capture you on speed camera!!11one.
There have been anecdotes on HN about companies using this type of process to get free work out of people. If your code solved the problem they needed solved, they may have taken your code/ideas and used it and left you by the wayside. I hope that's not the case but it's possible.