skysight-inc/HackerNews huggingface dataset:
Show HN: Flight Search on steroids: find better flights through Machine Learning
I wrote a small utility for using mixins with my React components. I've been finding it really useful. The notes assume you're using ES7 decorators. But you could easily use it with ES5/6 syntax by treating it as a normal function and just passing your class to it.

https://www.npmjs.com/package/mixin-decorator

edit: a link would be helpful, right?
I miss clicked. How do I un-down vote you?
Influitive Raises $30.5M Series B Round to Fuel Global Expansion
Hi I am Max.

I am one of the co-founders of tripdelta. If you have any questions, feel free to get in touch.

We are always happy about your feedback.
it's evil

As outlined in a separate comment in this thread, your solution is unenforceable unless you want to erode some pretty fundamental freedoms. THAT'S evil. No, wait...it's not evil. "Evil" is a gross oversimplification of things. It's anti-intellectual and avoids any sort of meaningful discussion of why people do the things they do.

You feel compelled to help prevent potential respiratory issues and cancer in children exposed to second hand smoke by policing what people do in their own homes. But in the process of policing this issue you potentially do more harm than good - how do you solve the issue? Fines? Makes the family poor. Criminal record? Makes the family poor. Take away the children? Your intentions are good but I can only see the medicine being worse than the malady.
To what end - raise more hysteria and have us kill them even faster? If it's a "contest" between sharks and humans, I'm pretty sure the sharks are at a massive disadvantage.
Everyone has different experiences and interests in college, but
I recall Garbage Collection as an important subject decades before 2000.
I studied CS in the 1970s (and 1980s) and garbage collection was already an
important subject. It was a part of the ACM recommended CS curiculum
as far back as 1968. Google Scholar reveals thousands of results for
"garbage collection algorithm" before 1990. The subject was studied by
great computer scientists (Lamport, Dijkstra, and Liskov are all Turing
award winners) and the results were fun and interesting:

1989

AW Appel: "Simple generational garbage collection and fast allocation"

1988

JF Bartlett: "Compacting garbage collection with ambiguous roots"

J Crammond: "A garbage collection algorithm for shared memory parallel
processors"

1987

AW Appel: "Garbage collection can be faster than stack allocation"

DI Bevan: "Distributed garbage collection using reference counting"

1986

B Liskov, R Ladin: "Highly available distributed services and fault-tolerant
distributed garbage collection"

1985

J Hughes: "A distributed garbage collection algorithm"

1983

H Lieberman, C Hewitt: "A real-time garbage collector based on the lifetimes
of objects"

1982

RJM Hughes: "A semi‐incremental garbage collection algorithm"

1981

J Cohen: "Garbage collection of linked data structures"

1977

HC Baker Jr, C Hewitt: "The incremental garbage collection of processes"

1976

Douglas W. Clark: "An efficient list-moving algorithm using constant workspace"

PL Wadler: "Analysis of an algorithm for real time garbage collection"

1975

Guy L. Steele, Jr.:"Multiprocessing compactifying garbage collection", CACM

Edsger W. Dijkstra, Leslie Lamport, et al.: "On-the-fly garbage collection:
an exercise in cooperation"

1974

Gary Lindstrom: "Copying list structures using bounded workspace"

1973

Edward M. Reingold: "A nonrecursive list moving algorithm"

1972

H. D. Baecker: "Garbage collection for virtual memory computer systems"

Ben Wegbreit: "A space-efficient list structure tracing algorithm"

1969

Robert R. Fenichel, Jerome C. Yochelson.: "A LISP garbage-collector for
virtual-memory computer systems"

Joseph Weizenbaum: "Recovery of reentrant list structures in SLIP"

1967

H. Schorr, W. M. Waite: "An efficient machine-independent procedure for
garbage collection in various list structures"

Peter J. Denning: "The working set model for program behavior"

1963

Daniel J. Edwards: "Secondary Storage in LISP"

The Communications of the ACM, during this period, was the most read
CS Journal. Articles appearing there were intended to be of interest
to the widest population of computer scientists and 19 of them were on
garbage collection.

LISP, APL, LOGO, ML, Prolog, CLU, Scheme, Cedar, Smalltalk, Icon, SML,
Mathematica, J, Haskell, Python, Dylan, Self, Lua and Javascript are
all important, garbage collected programming languages that came
before the late 1990's.
Show HN: Multi – Share maps, contacts, photos and more from your iOS keyboard
> how come they don't give some of their money to help save hubndreds of millions NOW, in Africa and elsewhere?

A couple of things.

First, the overlap between the anti-aging and anti-death community and the effective altruism community is pretty large. Because the base rate of people who take effective altruism seriously is still so low, it's a reasonable assumption to make, but in this case it's incorrect. Have a look at how much interaction there is between, for example, GiveWell and Good Ventures (as background, GiveWell places a very strong emphasis on being very sure that what they're doing is helping and how much, and Good Ventures focuses more strongly on projects that might do massive amounts of good) [1].

Second, it's great that you're thinking in terms of how money can best be spent to provide the maximal benefit to humanity. You're entirely correct that medical interventions in Africa are orders of magnitude more effective per dollar at than, for example, the Make a Wish foundation -- the estimate I'm familiar with is about $3,000 per life saved, which is pretty impressive [2]. However, continuing that line of thought, tropical diseases and malnutrition have a combined cost of about 200 million DALY's annually. The problems we generally consider "just a normal part of aging" (cardiovascular disease, neurological diseases, cancer, arthritis, etc.) have a combined cost of about 1 billion DALY's annually [3]. My personal opinion is that addressing medical problems in the developing world is probably still more cost-effective than medical research in the developed world, but it's not all that clear-cut. When you're a billionaire like Thiel, you can afford to put some resources into both ways of improving the world, and either way is still better than buying a fourth yacht.

"Angry about death" could mean "if I could step all over others to live forever, I would", but in this case I don't think it does.

[1] http://www.givewell.org/about/official-records/board-meeting...

[2] http://www.givewell.org/international/technical/programs/ins...

[3] http://www.thelancet.com/journals/lancet/article/PIIS0140-67... (you can register and view the full text, charts, etc. for free).
Hey!

https://2Lead.in is an idea I come up with when I needed to reach a big list of people, without having to create an account, paid upfront an amount that would not reflect my needs or have to pay for a monthly subscription.

I wanted to be able to send attachments and view the actions taken by my potential customers.

That's how 2Lead.in was born. I took the simplicity from my other service, https://www.voilanorbert.com and did my best to implement it in 2Lead.in.

I hope you will like it ! :)
I suspect this is where the myth of 99% of the Internet is made out of porn comes from. It is very easy to get misleading statistics, especially if you have small sample size or where a minority of users are creating the majority of the collected data points.

Add to this the amount of bots out there, and "false" data generated by police, federal investigators and interest groups doing the very thing people pay them to do, and you would really have to design the data collecting system in such a way that it identified who is doing the searching and what their usage patterns are.

For example, If they return every hour on the hour, such result would likely be made by a bot, or if every search is extremely specific, it could very likely be an investigator doing work in a specific case. If I did this kind of research, I would contact professional investigators in order to work together and to collect search patterns so to exclude that kind of traffic.
How secure are electronic safe locks? [video]
I support the fight against child pornography - but I can't support making certain types of media illegal to possess or watch. For one (small) thing you get into the absurd case were the court will have to commit the same crime to verify a crime was committed.
Thanks for the link. Very interesting talk.

At then end though, you understand why they had to build such a system : dozens of apps, with weekly releases, and mutliple version support.

Now of course, building an API supporting each of those apps needs is almost equivalent to supporting any kind of query. You might as well create a generic implemention, like GraphQL, which they did.

But for the 99.99% of us, i don't think bypassing the API design phase is a really good idea.
Send mail using iOS
Sometimes we need to send the email from iOS application for that we have to integrate MFMailComposeViewController in our application so that we can send email. For more details please visit the link http://findnerd.com/list/view/Send-mail-using-iOS/4038/
Indeed, I used the Pen extensions for MS DOS ;-)
Scaling to Infinity (Part 2/4) – Manually Deploying Services
Just as heterosexuals don't rape people all the time, most pedophiles probably don't either. I think an estimated 2% of the population are pedophiles. I feel sorry for them.

However, if they prove to be a danger to the kids, they have to be locked away or something. It's just because we don't know a better way to treat the issue.
An old talk (2012) so I'm not sure how accurate it is now, but Nolen discusses performance of ClojureScript. At the very least, you know someone cares and is thinking about it.

http://www.infoq.com/presentations/ClojureScript-Optimizatio...
Looks like this site is down: http://cube.crider.co.uk/

:(
Whats the state on coffeescript+jsx these days? I had a horrible time getting it transpile correctly (with gulp) about a year ago.
I saw one up 13xx% in last 5 years, I would take the risk for that kind of return
Oops! I hope that fixes the situation, then. I thought it was much more likely that the site had a finicky search engine than there really being only one book related to Django.
Yup!

IMHO it has been, since the
1950s, mostly this "sprinting"
that was in practice just too
difficult, that is, too costly
in time and money, for far too
large a fraction of organizations,
budgets, managers, etc. that
could have used optimization.

Now with current computing and
the Internet, a lot in applied
math, in principal powerful and
valuable for important real problems,
seems to be growing significantly
in popularity.
The "sprinting"
is much easier but, sadly,
too often still too challenging.

Of course part of the "sprinting"
challenge was solved by, say,
A Mathematical Programming Language
(AMPL) where can just type in
something like

max z = f(x)
subject to g(x) >= 0
x in C

where for large positive integers
m and n and the real numbers R,
x in R^m and g: R^m --> R^n.

So, then, with the problem thusly
typed in, just need a solver!
Right: Maybe from the back side
of one of the moons of Pluto?

Gee, we know how to sort, know a
lot about sorting, in O( n log(n) ),
etc., so maybe we should have
solvers that would do as well
on optimization as we can do now
on sorting? Then quickly
we encounter the monster of the
question P versus NP.

So, without an algorithm that shows
that P = NP, we're back to
column generation here, Lagrangian
relaxation there, branch and bound
too often, some group theory
sometimes, etc. and "sprinting".

Yes, it was interesting
philosophically how central
and challenging P versus NP
is, but I'd rather have just
had a way to solve optimization
problems routinely, gotten
home in time for dinner, and spent
Sunday at a BBQ!
Yes, be careful. Just two months ago HN:ers were asking how to get in on Chinese stocks as they were going up 10% every day: https://news.ycombinator.com/item?id=9471858
Quite confusing indeed...
DigitalOcean Lands $83M to Tackle Networking and Storage
Amid New Overtime Rules, More Employers Might Set Email Curfew
I'm in Europe, so the whole experience scrolling down was of a stutter kind.

Please add a loading indicator of some kind - both for images and for video. When I was scrolling down, most of the time there was at least a 2-3 second delay before an image would appear, and longer for videos. For a couple of video I lost my patience after half a minute and just kept on scrolling. In several cases it wasn't clear if a text blurb on a black background was an intentional break in the narration or if it was just a delay in background loading.

Also, please make a single down arrow keypress do a full page scroll and align the frame to the top of the screen.

And a pony :)
I, for one, welcome our new corporate data center overlords.
I assume your point is about the first sentence of the article "This library was born out of a need to set up a secure channel over a TCP/IP network without the overhead of TLS.", but I interpreted this not in terms of performance, but in terms of lines of source code. OpenSSL in particular is pretty bloated [1].

[1] http://www.zdnet.com/article/openbsd-forks-prunes-fixes-open...
I have a handful of ancient Esterbrooks that I love to write with but I hate maintaining. It's messy work.
UK specific comment possibly but: try a local art materials shop. Most will have A5 hard-backed sketchbooks with around 90 to 100 g/m^2 paper in with either white or ivory finish/colour for less than a fiver. Pretty ink proof and a lot cheaper than the branded ones.

I like pencil and Muji pens, the ones that are about £5 for a 6 pack.
Enjoy the read http://gagne.homedns.org/~tgagne/contrib/EarlyHistoryST.html
This account has been suspended. - http://www.crider.co.uk/
All the images are hotlinked from this domain
CSAIL report Giving government special access to data poses major security risks
> Also most of my friends with Amigas cared only about Assembly.

The irony in that is that the Amiga had a lot of decent implementations of Wirths languages. Both Pascal (including the moderately comercially successful HiSoft Pascal), Modula-II and Oberon.
I’ve Seen the Future of Twitter and It’s Apple Music
(FFmpeg, MPlayer and rtmpdump) Need a new host
Hy Lisp is a really awesome and exciting project. And programming 3D stuff in it is really cool. Huge props to the author for a fun video.

But I'll go against other commenters here who are saying that blender is an amazing piece of software. For a long time I was really passionate about CG, and even worked as a 3D artist in a few stuidos, and guys, if you want to start learning 3D - do not start with blender.

If you want to get into modelling - check out Nevercenter Silo, it is the most convenient 3D modelling tool you'll ever use, it is amazing.

If you want to understand the basics of all the CG, and learn how professional VFX are done - learn Maya, it is used for everytning, and is the absolutely best way to get started with 3D, once you understand it - you can do whatever you want and easily switch to any other app if you wish. It is the industry standard, and the best way to learn the foundations.

If you want to see how the perfect CG software looks like - check out sidefx Houdini. It will blow your mind, it is like linux/emacs/lisp of CG world. It is elegant and brilliant and perfect in every way(except that you can't really model in it, that's why you need Silo).

Also take a look at Zbrush, it is a sculpting software, looks alien but is really brilliantly done. You can look at the gallery here - http://pixologic.com/zbrush/gallery/, it's amazing. If you have a tablet and some solid drawing skills - you can start creating amazing things in it really quickly.

If you want to try compositing - use Nuke from The Foundry.

All these packages have free trial versions. Silo is cheap, Hoidini has an apprentice version that you can use for free, indefinitely, with no limitations except for output resolution(and maybe a small watermark, I don't remember).

Compared to these packages - blender is a horrible mess. It is worse than what gimp is compared to photoshop. Just like gimp, theoretically you can use it, and even make some good things with it, but you really, really don't want to.

Maybe it's a gem of open source software, and I respect that. But if you are getting into computer graphics and want to learn and understand how it works - hell no, use something else.
Hmm... if you get caught more seldom than every 10 travel days, it would pay to keep $75 with you and never buy a ticket.

And poor people do not have an excuse to steal anymore than the rich have.
Having junk food in the house doesn't force it into childrens' bodies.

Food doesn't fly from the pantry into the child's mouth however children can only eat what their parents buy them. There are minor deviations from this rule e.g. the child has money to buy something nutritious or they can source food from another household. Otherwise having junk food in the house pretty much guarantees it'll find its way into the child's stomach.

You're comparing apples to oranges.

For the sake of the exercise I can compare apples to oranges. The exercise is to identify fundamental flaws in the OP's reasoning, not make simple analogies. The OP wants to ban passive smoking in the most private of spaces - feel free to explain how you do that in a way that won't be worse than exposing a child to passive smoking.
The Temp Secretary Problem
Realistically, how much do junior/entry level position developers make?

I'm a senior and graduating in the Spring.
TL; but worth to read.

I guess in real aircraft fleet maintenance it's still a relational database and lot's of logic / aggregation in the application.
But I see some ad-hoc queries that I might want to fire against the DB that would work with AQL but might need some scripting in a single model implementation. Nice.
Lessons from a 24 Year Old Who’s Built Several 7-Figure Online Businesses
Evidence-based daptomycin use guidelines
How exactly are you going to serve a 4GB certificate? Who in the world is going to wait for that to load?
If only.

I long to be able to turn in at 10 pm, but our household has for many years tended toward late dinner times (8:30 or 9 pm). But once it is daylight, I wake up. On weekends I might be able to manage an extra hour or two of interrupted sleep.
What is the most creative answer you've gotten from the bakery question?
Technical Hiring and Cultural Fit
The article mentions that it can be compressed to 4 MB...
I haven't interviewed anyone before, but I have been interviewed.

At my current place of employment - during my interview I got asked a series of brain teasers and puzzles and had to work them out on the whiteboard. It was interesting and fun and I didn't expect it at all, but it did make me think a lot.
Having 5 meals per day, eating at 6 means for me falling asleep at 9, because at 10 I get hungry again and due to that hunger going to sleep afterwards becomes a nightmare. It's hard for me to imagine getting myself to fall asleep at 3 am in this condition!
You know what would be amazing? Combining this with logic programming.

(run 100 [box]
(fresh [x y z]
(randomo x) (randomo y) (randomo z)
(locationo box x y z)))

(Overly simplified and terrible DSL for it, but you get the idea!)
From that page: "Basically, if they'd cover it on TV news, it's off-topic. "

http://www.whdh.com/story/29194928/snow-pile-in-south-boston...

Not hacker news.
Building a Form Data Service with Rails Part2 [video]
> Oberon was floating in the air for some years, but nothing happened. This was always a mystery to me.

Oberon was an operating system as well as a language, and Oberon was an operating system without processes. Game over.

I mean, there are other cons, like the UI. But in a world where Unix was a done deal, NT and Plan 9 were being spun up, BSD was breaking free and users were happy enough with their Unix, MacOS and Windows machines, Oberon took simplicity too far in a number of ways. (Pascal and Modula-2 were a better bet)

In a weird coincidence I saw that someone is selling an Oberon system today and advertising its single-process nature as a feature. Some kind of networked realtime finance application or something, pretty niche, and who knows if they'll make any money with it.
I've observed similar behavior in regard to religion, etc. But it's generally unsound to extrapolate from the people we happen to know to whole populations (not that I have any actual data about who uses homeopathic medicines and how). What concerns me is that the way the stuff is shelved and advertised looks like it would lead to an uncritical person with, say, flu symptoms to just grab one of these boxes off the shelf.
Exactly. That is why the UK has had to keep "emergency" low interest rates for the last 7 years or so. If they were to rise, people wouldn't be able to afford their houses and the prices would drop. The banks assets would loose value and we would have another crisis.
Advanced filtering and navigation on Thoughtworks Go Cd with tamper monkey
Coder Proverbs
Daredevil in a wingsuit makes the craziest basejump ever
This might be a silly question, but was there ever any thought put towards using ES6 Template Strings rather than the JSX syntax additions? For example:

class OuterComponent extends React.Component {
render() {
return (
<MixinComponent>
<InnerComponent />
</MixinComponent>
);
}
}

Being replaced by something more like:

class OuterComponent extends React.Component {
render() {
return JSX`
<MixinComponent>
<InnerComponent />
</MixinComponent>
`;
}
}
Is there any actual evidence for this? By the same token you could say that watching Game of Thrones will make you a murderer.

I could easily see it being the opposite: relieving sexual pressure could make people less likely to actually harm a child.
Boots in the UK have homeopathy on the same shelf as herbal remedies. They ignore my gentle polite requests for them to place some distance between items that have active ingredients and items that have no active ingredient.
Show HN: Noc_vec, a single file C library for vectors, matrices and quaternions
As an Android dev, this is what I envy of iOS.

I really wish that Android would also strongly push in that direction (and I hope that Google has some internal branches where the View system is rethought).

The design direction of the platform is astoundingly great, but the implementation lags far behind the vision.
Interesting post, there is however one main point about the agile process missing from the post, and maybe this just goes to show how many organizations are doing it wrong, but retrospectives are a large part that makes not just agile work but helps make sure a team as a whole can work together.

It is great if you can adopt ideal agile/scrum practices, but as the article alludes that doesn't always work for people. Retrospectives are a way for the team to reflect on their current process, on what works and what doesn't and to continually make the changes they need in order to be productive and successful.

Also, another side note. I have worked for organizations that both allow padding space in velocity for technical debt and those that constrict it. It works much better when the organization (I am thinking mostly managers, product, non-dev) know and agree up front to a set amount of time each sprint being spent on technical debt.