skysight-inc/HackerNews huggingface dataset:
Web Framework
Hi developers! I need advice urgently, I have to choose my final year project and I am thinking about making a web framework in python having very basic features as I have less time not more than 5 months. Is this a good choice and will I be able to complete this? Whats your opinion?
Fizzbuzz using the scala type system
https://gist.github.com/stew/4074742
> Your entire reply is extreme in the sense it is all absolutes. Please provide sources that we are in a 'race for your lives'.

Graph: https://www.ipcc.ch/site/assets/uploads/sites/2/2018/10/SPM3...

Report: https://www.ipcc.ch/sr15/

News: https://www.nytimes.com/2018/10/07/climate/ipcc-climate-repo...

This is the carbon emission reduction curve we have to hit if we want to hit our Paris Agreement targets. That's a pretty steep drop off if you ask me, and certainly falls into the category of a "race for your lives".

Do you disagree? Please provide sources that we aren't in such a rush to curtail fossil emissions (because there's mountains of science saying we are).

> It gives you the appearance of a paranoid alarmist.

How can I be paranoid if the science backs me up? However, I do think being an alarmist is appropriate for the situation. If that graph isn't a mash-the-big-red-button moment, I don't know what would be.
I doubt we will ever run out of oil. Yes, there is a specific non-renewable supply of it underground, but there is just so much of it and people are only able to consume it at a measurable declining pace. I bet demand will almost completely fall off long before we get anywhere close to running out.
Show HN: A hacky (but handy?) preprocessor for debugging Makefiles
100g Almonds carbohydrate 22g (and lots of paleo friendly fat and protein)

100g strawberries carbohydrate 8g (basically the rest of the weight is water)

These are hardly "not eating carbohydrates".

Also, considering any product of modern agriculture "paleolithic" is inaccurate. The almonds and strawberries differ greatly from the wild varieties available to primitive hunter-gatherers - largely because they have drastically increased carbohydrates - but even the chickens/turkeys/cows producing meat and eggs are very different from undomesticated animals.

Even kale and broccoli didn't exist before about 4000 years go.
Well it sorta both yes the flybys at this point are so short that the amount of data they collect is limited but they still collect GB’s of data and the up line data rate will likely drop even further as the probe goes further.

It’s still astonishing to me that they can get 1kbp/s with s 1.5m dish antenna pointed at a target 0.29281 arc minutes in size.

This is the equivalent of pissing into your toilet form orbit.

But heck now the FCC can claim that broadband coverage has been expanded up to the Kuiper Belt.
> What's a route?

A route is the thing that I send to another person or save myself so that the specific piece of information I am looking at can be found again. There is a decision that has to be made, though. My selected text is never part of a route, but that might be the information I want to share. Conversely, when I open a hamburger menu to click the share button, the hamburger menu's open state is never the information I want to share.

Another consideration: does the route encompass the concept of the information being displayed, or the actual information? We typically solve this with a "permalink", where one route represents the concept (feed, newest, etc) and the permalink represents the specific information.
See my reply to sjwright.
Is Coconut Oil All It's Cracked Up to Be?
Listen to the Epic of Gilgamesh Melodiously Sung in Ancient Sumerian
There is only accumulation of power.

I believe China to be a mercantile culture, that was helped by the more developed states. But instead of valuing the relations, China only values them if it can see profit.

Also China values the relations if the profit of China is bigger that the profit of the other state.

In the mercantilist others must be loosers, as opposed to mutual benefits when all play nice.
>This isn’t the end of the mission for NH.

At ~1:30 in the video interview with Alan Stern he says they have ~20 years of power in the RTG and 'plenty of fuel' to get around. Sounds like there could be a lot of science yet to come!!
Brex (YC W17) is probably the most frequently recommended one recently: https://brex.com

Otherwise the cards / accounts from most major banks (Bank of America, Chase, etc.) do fine as well.
The Verge 2018 tech report card: The US government
"No free lunch in search and optimization" --> https://en.wikipedia.org/wiki/No_free_lunch_in_search_and_op...
I would be really interested to know where the overhead in the simple rust version comes from. At first I thought it might be the println() being less efficient for whatever reason, but even without that line this[1] takes 300ms, compared to 184ms for this[2] (with the printf!).

1. https://raw.githubusercontent.com/atilaneves/pythagoras/mast...

2. https://raw.githubusercontent.com/atilaneves/pythagoras/mast...
> Although modern MMA definitely takes in the best techniques from each martial arts style.

No, it doesn't.

Virtually all historical martial arts styles not compromising effectiveness to adapt to some social constraint focus heavily on weapons. (Heck, even most of those compromising effectiveness to adapt to a social constraint do, unless the specific social constraint is the needs of a group completely barred by law or convention from arms.)

The “martial” in “martial arts” means “pertaining to war”—when was the last war you’ve heard about fought in exclusively one-on-one hand-to-hand combat without weapons?

> Is agile the Brazilian jiu-jitsu of software development?

I would say the various concrete methodologies marketed as “Agile” have approximately the same relationship to software development as BJJ has to warfare, sure.
i was mainly responding to this: I think asking candidates to get a day off for interviews, which happens like once per year or even less often for each candidate is more reasonable than asking your employees to work evenings each week.

by stating that it is most certainly not just once as i am likely interviewing for multiple jobs.

i don't know what the solution is, but i think it is reasonable to say that some compromise is necessary, and as much as i value your (and my) time with family, if we want to grow our team so that we are not having to work overtime as much and actually get more time for our families, then we'll just have to make some sacrifices.

apologies for being a bit polemic.

actually, i do have a solution for myself. i only hire young people fresh out of university who don't have a job yet. higher positions are filled from within. ask me in a few years how well that's going.
It’s also hard to separate the design of the neural architecture from the definition of the feature extractor.
Imagine a forrest canopys of zeppelins, floating above your house, shielding it from noise, generating electricity. Would you be interested? Very interested? Not interested?
yWorks employee here, though not working on yEd. Thanks for the kind words.

As for your wish, I think that's already there. You can select many items at once and change them all in the same way, e.g. changing the label font. To select all elements of the same type, simply select one of them (e.g. a label (you may have to use Ctrl+click to select a label on top of a node)) and press Ctrl+A. That should select all labels, while not selecting anything else. From there you can change properties for all of them at once. I think we've added this to yEd Live (the online version) as well recently.

There is also a powerful selection dialog under Tools > Select elements where you can basically select everything that matches certain criteria, such as all nodes with the same color, or predecessors of the currently selected node. Afterwards you can change properties in the panel as usual. This one only exists in the desktop version, though.
I'm using Azlo, which is nice & includes native Stripe integration. But, it has no "startup" specific features that I can think of. I'm also using American Express for a business credit card.

I don't see any reason to not head over to Chase and open a business account there- They offer both Business Checking and Business Credit lines.
This isn't strictly related to React Native but have you considered using Flutter? IIRC it compiles to a "native" iOS app instead of doing this weird JS stuff React does.
The author is not using the base 2 representation, instead just coming up with a fancy way to express "500 x 165179 + 433", reciting the number in base 1, or tally marks.

I don't understand the reason for the diversion to binary.
$ fortune -os
Vidi, vici, veni.
(I saw, I conquered, I came.)
>>Jones, a commercial pilot who lives in Tulsa, Okla., said scraping together the money for the Xcor ticket was a sacrifice. “I live in an apartment. I don’t drive the newest car,” he said. “That’s a lot of money. You’re talking kids’ college or buying a house.”

That makes you a.......

It's his money and he should have gotten the ride, but then Chapter 7 is part of life for everyone included. If he tried to get some sympathy on the "scraping together the money" angle he gets none from me. $100K ticket to space when you have to borrow, move money left and right etc is not prudent.
Progress is whatever you want it to be.

For me, I delist it as progress because I feel I'm at the "diminishing returns" point. Extra knowledge isn't really doing anything for me beyond feeding an addiction.

If I had $10B, I wouldn't consider getting another $10M as progress. There are many who would, but not me. I would ask myself "I'm putting the effort to get $10M. What is that $10M going to do for me?"
"Some research suggesting that saturated fight might be more neutral than previously thought has caused a few to question the American Heart Association and the government's recommendations on saturated fat.

But Lichtenstein and many others are not convinced. She says those studies did not take into account the kinds of foods replacing saturated fats in the diet, and that the saturated fat factor trumps the potential benefits of coconut oil."

Emphasis mine.

Uh? The healthfulness of coconut oil which might be unhealthy because of saturated fats depends on what replaces it like for example EVOO because EVOO is healthier because EVOO does not contain saturated fats which are unhealthy because they are replaced by ...........

The mind boggles for what passes for nutrition science.
Writer skips over a dozen or more adaptations that present the original version with the same brutal depictions of poverty and wealth. They seem a little too thirsty for a contrarian anti-capitalist view and should have spent more time actually doing comparative analysis. Instead, this slog of a twitter thread is a weird takedown of the 1999 version as if the 20 year-old Patrick Stewart movie was all the buzz this Christmas season. This is what Twitter is for, so more power to them I guess. However, I found it to be annoyingly strident in it's presentation of an already very mainstream view -- namely that some Christmas movies are too sentimental and saccharine.
"They work in big cities and rural towns. They’ve tried to save — but rent, child care, student loans and medical bills get in the way."

Yikes. I'm not exactly living paycheck to paycheck, but I can relate to this.

It's really funny - my wife and I make quite a bit of money - whatever twisted form of capitalism we currently live in has been designed in such a way to extract most of it away from us. One begins to wonder what the point of going to work and earning money is other than to line the pockets of corporations that have effectively taken ownership of our government.
The Most Essential Crypto Long Reads 2018
I'm Canadian. I rather suspect China is taking action against our nationals in order to teach a lesson to others: "think twice before you try to extradite our royalty to Americans"

They probably understand strongarm tactics won't work on us and are counterproductive. But, I'm sure other small countries are taking notes.
i don't agree. I will vote for more childcare support/tax breaks but vote against discrimination at place of employment.
Apparently only IE and Edge support JPEG XR, so the format not being used on the web will happen on its own anyway.
Pronto AI: Anthony Levandowski's new self-driving car startup
Your solution to linguistic suppression is... balkanization?
Hope-plus是一款nice的权限管理系统。基于Springboot2开发，整合使用mybatis+shiro+redis+thymeleaf+maven等
Why the news is going back to the 19th century
I'm also using Azlo. Honestly, the main "startup" feature is the lack of a required minimum balance in the account.
My impression (from my wife who is in med school) is specific diet recommendations are very challenging to properly research and quantify for doctors. Sure we know certain things behave certain ways and some things are objectively bad, but it can be hard to recommend a scientifically back diet.

With the proper knowledge, it's relatively easy to identify diet deficiencies (e.g. low iron, calcium, or vitamin D levels) but it can be a lot harder to pinpoint excess as the body generally does a good job ridding itself of too much of something.

Effects of diets can also take years and years to study. Look at Keto. Lots of people are claiming to see great results from it. I've tried it myself and have seen the positive effects.

The problem is nobody knows what the long term effects of Keto will be. They look great in the short-term, like "curing" diabetes, but the long term results aren't so clear. There's a chance that a Keto diet (or any diet) could be placing significant unseen stress on the body.
Microsoft patents a magnetic USB-C port
A new way of playing Japanese and English games side-by-side (2016)
That doesn't sound so insurmountable. I mean, those can all be written in pinyin or some other romanization already, right?
KaOS Linux 2018.12 released
Perhaps the terminal is linebuffered. (edit: I forgot that `!` was a character in Rust, so I mis-read your comment, oh well).
It means that technique is taught in the undergrad course.
It’s great to see a summary at the top of the article.

However, the summary (and the article) leaves out a relevant question that immediately comes to mind: Are other image formats decoded off the main thread or is it just that decoding JPEG-XR is just more taxing compared to other formats, thus negating its advantages?
Slightly related question about chinese products and their quality.
I am planning on buying (from china) a flatbed food printer based on epson print head. Is it a good idea? It’s about 2k.

Anyone know a us/eu manufacturer that makes/sells them (i would prefer spending 1k more in return for product quality)
I'm really stumped as to why they didn't eliminate ports when designing IPv6. Having the last bits in the address take the role of ports makes sense given the hierarchical nature of IPv6 addresses. The first bits specify the network (my home), next bits the device, and last bits the service/endpoint on that device.

It would also make parsing much easier given that they chose : as separator in the addresses.
2018 Learnings, 2019 Expectations – K8s, DevOps, SRE, and More
>A "1/N" strategy is almost always best with convex strategies (the dispersion property): following point (1) and reducing the costs per attempt, compensate by multiplying the number of trials and allocating 1/N of the potential investment across N investments, and make N as large as possible. This allows us to minimize the probability of missing rather than maximize profits should one have a win, as the latter teleological strategy lowers the probability of a win. A large exposure to a single trial has lower expected return than a portfolio of small trials.

Isn't that YC Combinator in a nutshell?
digiKam 6.0.0 beta3 released
yWorks employee here, though not working on yEd. As shezi noted, it's a demo for the capabilities of our commercial diagramming library. Said library handles displaying and editing graphs, automatic layout and analysis algorithms and yEd showcases all of those things to some extent. The library itself is quite customizable, though, so our customers often create applications for very specific diagrams and interactions with it.

I would assume, however, that the intersection between yEd users and yFiles licensees is fairly small, though. It still remains a good showcase for what developers could do with the library (along with the 100+ demo applications that ship with it [1]).

[1]: https://live.yworks.com/demos/
Not even 200 years ago, most people exchanged labor for food. Currency was not used, as you most likely lived on the farm you worked for.

There was no form of advancement to be seen, but also no rent, student loans, medical bills, child care etc.

There was also no Whole Foods or freedom of speech.

But how much farther have we really come in 2018? We have more things, but if you stop working, you will starve or go ill just as quickly as an Irish laborer in 1850.
>i think it is reasonable to say that some compromise is necessary

I'm honestly not sure it is. Half-a-day to a day of on-site interviews (possibly after a phone screen) is how most companies have been filling professional roles for decades. Certainly it's an easier process for people doing it out of university. And it's easier to do locally when a candidate can often just take a few hours off. But, while many debate some of the specifics of how companies screen for technical talent, I don't see widespread pushback against candidates coming in for on-site interviews of some sort.
Great work; this looks awesome.
I am wondering what products would look like, if hardware engineers applied this to the modeling of future products.
At my startup valispace.com for now we only allow for a simple propagation of worst-case values (gaussian distribution or worst-case stacking), but I think that specially for early design phases it would be of huge help and foresee problems in complex projects early on.
Do you know of anyone using guesstimate for hardware engineering purposes?
> "More interesting is the use of pronouns. Those with symptoms of depression use significantly more first person singular pronouns – such as “me”, “myself” and “I” – and significantly fewer second and third person pronouns – such as “they”, “them” or “she”. This pattern of pronoun use suggests people with depression are more focused on themselves, and less connected with others."

Which raises the question: Is depression a symptom? The root "disease" being the inability to connect / feel connected to others?

I suppose futher studies might be able to track language (as a proxy) over time and shed light on correlation vs cause, etc.
Introducing streamy-db: a deterministic database on a stream processing engine
By the way, is it a secret to programmers that Pythagorean triples can be parametrised?

I understand that the point of the code is to enumerate them without knowing that they can be parametrised, but the parametrisation in this case is not so scary, so it's a fun bit of trivia for programmers (for mathematicians, it's more fundamental, as the Pythagorean parametrisation is an important prototype for counting rational points on elliptic curves, a fundamental problem in number theory).

https://en.wikipedia.org/wiki/Pythagorean_triple#Generating_...

Slightly less easy nor well-known amongst mathemticians (or at least, this is new to me), you can enumerate all primitive Pythagorean triples in a tree!

https://en.wikipedia.org/wiki/Tree_of_primitive_Pythagorean_...

This tree is really interesting! I wonder where those matrices come from. The proof that it works is a boring mechanical check, but I'm now interested in how they were derived in the first place. This is a 20th century discovery, unlike the parametrisation which comes from antiquity. I think I'll be reading some papers about this.
Ask HN: Flatbed food printer from China
I am planning on buying (from china) a flatbed food printer based on epson print head. Is it a good idea? It’s about 2k.
Anyone know a us/eu manufacturer that makes/sells them (i would prefer spending 1k more in return for product quality)

Thank you
40hex Magazine – Early 90s Underground Virus Time Capsule
Does a noise abatement complaint service like this exist for garbage trucks that come in the middle of the night?
While OP said he is based in NYC, if there are any Canadians on here looking for a bunisess account I’ve used the RBC Small Business eAccount for a couple years. No minimum balance, no monthly fee. It has worked well for me.

https://www.rbcroyalbank.com/business/accounts/small-busines...
> certified car seat installer

I think I found your issue.
Another significant hurdle I've seen is how hard it is to get external content into your feed - I want to consume content, from RSS feeds and multitude of other sources, not create content.
> But at times in 2018, even 30 could feel old

Thanks for rubbing it in. I don't know what he means here though?

Edit: Next paragraph clears it. Nevermind
They already anticipate maximum violence and chaos, I don't think they fear non-prepped mobs hunting them based on an old news article from the non-existent internet. I am not a prepper, but I get the allure. I just need the money :)
> Unfortunately, visual languages tend to be quite poor at abstraction

It's not as simple as that. Visual languages tend to be very good at portraying a fairly large subset of abstractions - loosely speaking, many and perhaps most abstractions that you'd want to model using category theory are almost inherently "visual" - and just not very helpful at portraying others. I think the answer is a tighter integration of textual and visual "modes" on the same codebase, rather than just using visual for everything no matter what.
To do that should I vote Democrat, Republican or Independent?
> I predict in a few years "deep learning" term will become mostly used in an ironic sense as well.

I may be a bit behind the times, but I'm also mystified by "deep learning's" popularity. Both giant neural nets and kernel methods have overfitting problems: torture a billion-parameter model long enough, and it will tell you what you want to hear.

SVMs address this by finding a large margin for error, which will hopefully improve generalization. DNNs (I think) do this by throwing more ("big") data at the problem and hoping that the training set covers all possible inputs. Work on adversarial learning suggests that DNNs go completely off the rails when presented with anything slightly unexpected.
Given that the student loan system and accreditation process already imply significant central planning, I think it is fair to ask if these places are net positive for society as a whole.

Conditional on them existing students are forced to attend in order to keep up in the credentialism race, but a supra-market force like the federal government could impose a more globally efficient solution.
> I doubt we will ever run out of oil.

Of course we won't.

We will run out of oil that is worth extracting, because the cost to extract the next unit will exceed the value provided.

> people are only able to consume it at a measurable declining pace

The pace of global oil consumption has been increasing for a long time, other than a brief period of decline in the late 1970s to early 1980s.

> I bet demand will almost completely fall off long before we get anywhere close to running out.

Over the long term, consumption is going up as are real prices (though the price trend is noisier than consumption.) There's not really consistent with demand declining at all, much ledd heading to the point of completely falling off.

Instead, it shows demand increasing faster than supply.
Not sure why this is so heavily downvoted, Apple was named as one of the PRISM companies in the Snowden leaks after all.