skysight-inc/HackerNews huggingface dataset:
Hoping to eventually target agricultural but we are not near that stage. The current prototype we are working on is being developed more for personal home use and communal type gardens. We have 2 local communal gardens in town that we will be testing it out on after our backyard prototype is complete. Initially the captured/stored water will primarily be used for watering and cleaning. We would eventually like the water to be drinkable too but that's a ways off.

It is more than just a capture/store system though. It taps into multiple sensors to determine how much water to use for given situations in order to not waste the water it does capture.

Honestly, I don't know how the cost would compare with desalination and wastewater recycling. Isn't desalination really expensive?
I had that setup for a while, no real issues. Biggest offender was steam and various games (for some reason game devs seem to have never heard of UI scaling)
The biggest actual risk to voting remains the party in power. Why go through the effort of fraud, when you can just throw out the results?

Similarly, propaganda is also more effective.
How many of those are actual business transactions and how many are people buying/selling bitcoins or just moving coins around? While we are seeing more transactions as far as I know the only people buying with bitcoins are people buying illegal things and bitcoin hobbyists. With gold at the end of the day you have a precious metal and fiat currency you can always use to pay your taxes, but bitcoin has the potential to leave you with nothing of any value if it crashes, just like tulips. I'm not saying it definitely will crash but it's a worrying possibility and I personally would never have any large amount of net worth in bitcoins unless something changed
I'm very excited about Messenger As a Destination although, I've yet to see one in the wild and from the campaigns I've helped launch the results have not been amazing. It could be a targeting problem, but I'm worried that the user gets the page where they have to choose web browser or Messenger App.

Can you confirm if the user directs into Messenger directly when they click the ad?
I've got an EliteBook that has issues with this... at high load after about 10 - 15 minutes it throttles itself WAY back because it can't get rid of the heat.
What's a GMO made by a pesticide company?
that would be shitty US prices cause we rarely reuse the same design.
"to clean the water, we poison the water!"

All jokes aside, this actually sounds really cool.
Kaby Lake Xeon Xeon E3-1500 V6
Can't come soon enough IMHO.
That's not an answer. You implied that git and merkle trees can be used for p2p immutable ledgers. You have yet to show how that can happen.

> In literally all financial and legal regulations, the ultimate answer is "at some point you have to trust someone". This doesn't work out perfectly either (far from it), but it's an approximation that's proven more robust and usable for real world purposes than literally wasting electricity computing hashes.

That doesn't prove anything. The existing infrastructure has had thousands of years of a head start. Bitcoin has only existed for 6 years and ethereum only for 2. How can you expect this new technology to develop that quickly? The internet itself was started over 35 years ago and its potential still is yet to be determined, much less realized.

Also, there are a lot of PoS currencies that don't use computation power to secure their blockchain. What is your rationale for dismissing them?
How the Washington Post Rewrote Its Story on Russian Hacking of the Power Grid
> Why is money going back into the company "good", but investors get the negative connotation of "siphoning" money?

Because that is exactly what's happening?

If the company produces just enough to break even, the money is distributed fairly.

But if more money is earnt, this entire surplus goes to the investors (or, in recent years, also to management).

This means that while the wages of the workers stagnate with increasing productivity, the profits of the investors go up. The worker is producing an additional vakue, but all of that goes to the capitalist.

— paraphrased from Das Kapital, by Karl Marx.
Sydney City- GRADUATE/JUNIOR/MID LEVEL .NET DEVELOPERS WANTED!
This is an ONSITE position with a large team of over 40 developers. 4 round interview process with written and online tech tests and face to face interviews with dev and hiring managers. a fantastic opportunity for any enthusiastic and passionate developer looking to use latest .net techs in an awesome and very smart team! contact me today natalia.ferrazzano@infotrack.com.au for further info.
I'm probably off but check South Korean prices.
Unless I'm missing something, the national security letters allow just that. My point stands.
Ask HN: Why isn't there a language that uses AI to squash errors?
We just launched a full rewrite millions of lines of code from converting a ecommerce app from Codeigniter to Laravel, and I just fixed an issue where the column name was wrong.

Do you think there will ever be a day where if the column is wrong the language has ML built in and actually looks in the db for the best candidate, tries a different query w/ that and if it succeeds uses that instead BUT notifies an admin that the error took place? Or at least submits it to the error log, or error reporting tool like sentry?
I am still perplexed why you think by using a dynamic array of chars for a buffer, it somehow involves me storing copies of the malloc'd memory anywhere. You can simply access data by copying it:

https://ideone.com/OObuAt

Note that it still prints 42 despite the allocated memory being freed. Line 7 copies the data at a specified index into x - x has no references to the malloc'd memory.
For the curious or confused by the "when you tap the button it shoots an electrical signal that the phone will pick up and interpret" in the article, the control buttons are implemented as resistors switched across the mic/ground pair. The mic is 1000Ω or higher. The functions resistors are lower. You can see nice diagrams at… http://source.android.com/devices/accessories/headset/plug-h...
Faraday Future - Flagship Vehicle Reveal
Books are for eggheads; you need to see him live, man. According to a witness at the 1923 Beer Hall Putsch:

I cannot remember in my entire life such a change in the attitude of a crowd in a few minutes, almost a few seconds ... Hitler had turned them inside out, as one turns a glove inside out, with a few sentences. It had almost something of hocus-pocus, or magic about it.

https://en.wikipedia.org/wiki/Beer_Hall_Putsch
A panic _may_ call destructors, but it cannot be relied upon. For example, aborting is a perfectly reasonable panic implementation, and your destructors won't get called. If you have unwinding panics, they will call destructors though.
I much preferred the brief moment in time when "unicorn" was used to mean "someone who does both code and design really well," because it made sense: something rumored to exist but nobody's seen it, hard to capture, has magical powers to make things better. The only thing VC companies and unicorns have in common are: fairy tale, extinction? Is it really just "something rare?" Not a very deep metaphor.
Matters Computational: Ideas, Algorithms, Source Code (The FXT Book) [pdf]
Or loan out some dirt cheap e-readers.
> So with these companies, all of the tax complexity goes away, and you don't have the 'if I leave after 2 years, all of my stock options go away after 90 days' dilemmas.

One Caveat: if your RSU terms are that you "vest" your vested RSUs when you leave the company before IPO, you'll have a substantial tax burden on a grant of illiquid equity. This will be effectively the same as the option lock in scenario we've been discussing here for several years now. I know that some companies don't have such a clause, but it's entirely conceivable that some do.

So yeah, read your RSU contract! :)
Seems crazy given that the director of the FBI worked there....
While I agree, that's the absurdity of arbitrary monopoly law, especially in the EU. (IANAL.)
Agreed in simple terms - cutting on high calorie food specifically sugar is better than exercising for body weight. However what if the environment (one conducive to riding bikes) causes us to make better dietary decision. In this case the focus should be on the environment.
Ask HN: Who is hiring new college graduates?
Which companies in the United States are hiring new college graduates for 2017?
Even in OO languages (such as Java and C#) people are routinely advised to favor composition over inheritance whenever given half a chance. Classes definitely smell (or rather reek) of the infamous 90s that inflicted such atrocities on humanity as the Rational Rose "products" and the UML "methodologies". It also goes to show why the "typescript" Microsoft strategy is ill thought. Unless of course it's simply (as I think it is) the Mother of all Embrace Extend Extinguish strategies in which case it is very cleverly thought. Sadly ECMAScript has also jumped on the OO bandwagon by offering "classes" syntactic sugar but at least it is left to the developer to use it or not, whereas in the Microsoft-land of "typescript" you get classes rammed down your throat.
I bought tickets to his tour when he did that, it was as good a ticket buying experience as there could be, and even included a download of the show. It was disappointing to hear that he has since stopped doing his own ticket sales.

Previous comment: https://news.ycombinator.com/item?id=11837453
The big difference is that when you have a trait object in Rust, it's a double pointer: a pointer to the vtable, and a pointer to the data. In C++, in my understanding, you'd have a single pointer to both the vtable and data laid out next to each other.
Now THAT is a good reason to think that this particular item is not intentional.

But I would still bet money that there is at least one intentional hole, somewhere.
> Now this may be that browsers just suck at graphics, or at games in general. Perhaps. Does it matter ? No.

Yes, it does, because I'm talking about JavaScript. Not about the entire browser graphics stack (which, by the way, is architecturally better than that of Android).

> Javascript does not match Java in speed, not regular java, nor Dalvik.

No, Dalvik is slow compared to JS. Its trace based architecture is roughly on par with JS engines in 2009.

> Comparing node.js apps with PHP apps, it doesn't match PHP performance either.

Zend doesn't even have a JIT.
>Rounding to $0 is a useful and "safe" oversimplification.

Absolutely. It's never an accurate assessment, but when the vast majority of people are in no position to even ballpark estimate the value of their equity package, rounding down to $0 prevents a lot of heartache.
The soil here (in much of the state) is fairly good, but the growing season is pathetically short. Assuming you're on the plains and get a full day of sun. (If not, it's even shorter). But, on the plains, then you've got more wind than you want to deal with.

So - why Wyoming? Why don't you go some place with milder weather that isn't a desert like Kansas or Arkansas?
You're missing main glaring issue with parametric polymorphism, bloat.
Perhaps not exactly what you're talking about, but a bot has "changed my life", if you'd put it that way. I built an internet radio station with some friends, and we use an IRC bot to control it. I almost completely ditched any other way of consuming music - using the bot to search our library, request songs, interact with our music as a group - is much better than any other music interface I've used. I think most people just don't have the right use-cases - but it is possible and worth trying.
So can the C compiler. The optimization is called 'value range propagation'.
Retrain for what exactly? If driverless trucks and cars eliminate a several million truck drivers and taxi cab drivers where do we find jobs to replace those lost occupations?

We have millions of underemployed people already, working 30 hours a week at Walmart and similar jobs. It's not like there are millions of jobs just looking for trained people to fill them.
Previous discussion: https://news.ycombinator.com/item?id=13286160
I was about to post another submission[1] regarding DIY farm tools that someone had commented on saying they thought it was another case of it being crap, but were pleasantly surprised that it had some good ideas, and in making sure it wasn't already mentioned came upon your comment. Turns out, you're the comment in the other submission saying it was actually not bad, so I suspect you'll appreciate this link. :)

1: https://news.ycombinator.com/item?id=13063541
I think this is more based on the early methodology advice for developing OO software. But the methodology is independent of the constructs (though often limited by it).

In practice these days often the most effective way when developing OO code is working the "proofs" till you have a set of classes.

Also, some people go for very FP inspired OO code.
Arrays and pointers in C already have that int. That's why sizeof() works. The issue is an extra if statement on every single array and pointer access.
Nice puzzle! I think you can allow both kinds of deletions while still using four pointers per link node:

* prev1 XOR next1

* prev2 XOR next2

* prev1 XOR prev2

* data1 XOR data2

Because while traversing you always know one of {prev1, prev2} and one of {data1, data2}. Right?
If you're in a position to negotiate the terms of the option contract, then sure, you're right. But, someone with that kind of negotiation position isn't the article's target audience anyway.

Unusual options contracts usually have to be presented to, sold to, and approved by the board. So, unless you're extra special, you're going to get the boiler plate contract. And, the boiler plate contract has gotten much less attractive over the years - filled with enough clauses to make the options effectively worthless.

If you can assume that your CEO, the board, the acquiring company, and the lawyers are generous, and that the company will be unusually successful, then maybe it's worth it for the average employee to take options into consideration. But, that is a lot of assuming.
The site is down again? What's wrong with that site? A while back when I wanted to look something up in the x86_64 ABI the site was down too, for at least a week (I eventually gave up checking). At some point later it came back. I wonder how long it's been down this time.

Interestingly, Xcode's OS X docs used to link to x86-64.org for the AMD64 ABI, but looking right now, the link is removed (but the text remains), I guess because the site was down for so long.
102 Adwords Tools to Supercharge Your PPC Campaigns
OOP isn't the solution to every problem. Your proposed replacement to inheritance would would work nicely in some cases. As far as I can tell, it doesn't address the use case of generic classes at all, at least in a type-safe way.
> Many rust advocates talk about the performance cost of doing things safely in C

Who's saying this? It doesn't really make sense, taken out of context as it is here.

> inform me that rust has "Zero-cost abstractions"

IMO at best the array bounds checking thing is an extremely poor example of a "zero-cost abstraction"; at worst it's not an example of it at all. As I understand it, the term refers to things like static dispatch on closures and trait methods, iterator fusion, and generally any place where the compiler can transform high level abstractions into really efficient low-level code where in other languages/implementations you might incur a performance penalty, for instance by dynamic dispatch to heap-allocated closures, or allocation of an intermediate vector at every "link" in an iterator method chain.
It doesn't help as much as you'd think. With a buffer overflow on the stack, you can overwrite the stack's return address to point wherever you want, and overwrite a bit further to set the arguments to whatever you want, as well as any local variables on the stack. That depends, obviously, on what code is already there, but there's a lot you can do. For instance, if the system() libc function is linked, you can overwrite the return address and arguments to call system("some arbitrary shell code").

Check out https://en.wikipedia.org/wiki/Return-oriented_programming for more information.
This is only tangentially related to what you say, but I do like reminding people of this when we talk about laptop batteries.

FAA regulations state that single batteries larger than 100Wh cannot be brought on commercial flights. This guides a LOT of hardware development; why do you think the battery in the MBPr pre-2016 was 99Wh?
You're right; "sigreturn" wasn't in early UNIX systems but appeared in 4.3BSD. That job can also be done in user space, but there's a timing window against other signals if done that way.
My (slightly unconventional) path to a Google Internship
Desalination is pretty pricey at ~$2000 per acre foot, but desalination and wastewater recycling are your likely competition. Assuming of course that you're only going to sell this in drought-stricken areas. If you're aiming for wetter areas, you're competing with rain water, and its tough to beat free.

Could you give a walkthrough of how this works? I'm trying to get a better grasp on your prototype
Yes, it can be done by static analysis, but by making size dependencies part of the API it makes the static analysis much easier and able to cross API boundaries without needing to inline, on the contrary most optimizers will not handle such invariants across a few layers of function calls. Like I said, Idris doesn't solve this problem completely, but it is able to eliminate bounds checks in way more situations because the default is effectively no bounds checking.

The nice thing about dependent types is that in all the cases where you don't need a bounds check -- where a program invariant enforces that you are within bounds -- your code will not contain a bounds check regardless of optimization. Only in the cases where there are runtime dependencies that can't be resolved will there be issues, and in thee cases you need a bounds check anyway.

It's not perfect/complete, and like I said optimizers can get most of the way there anyway. I just wanted to note that there are better solutions for bounds checking.
Honestly, we need a few AI coders to replace most of the developers in the world and then this won't be an issue. Bounds checking arrays and calloc instead of malloc isn't rocket science. It's a simple formula.

The problem isn't the language it's the developers.
You don't need a pipeline for water most of the time. You can use open canals, which are much cheaper to build.
Imbalance Can Work: Stop Stressing About Work-Life Balance
High Performance Graphene Photodetectors Set Speed Record
Haskell, late 80s. I hear wine gets better with age like Haskell.
> But it's not just a scientific question, it's (been made into) a question of how humans fundamentally live on the planet.

I agree with your first point but disagree with the above in quotes. Climate change fundamentally changes the way many global hegemonies do business and make money. That trickles into politics via lobbying and influences what people think because of who they vote for. That's why Elon Musk's (and maybe the tech industry as a whole) capitalist approach to climate change is the best hope we have.
FWIW, I use Kaspersky in a corporate environment with > 250 Macs and I haven't seen any issue thus far. I've seen plenty of HDD failures, fan problems, Chrome hangups, general system slowness due to problems with corrupted preferences and other bening issues, but never ever seen a system slowed down by the AV.
Show HN: Send HTML form data to a Slack channel
It appears that memset() was only added in 2016.
Yes, that's how it works. It's still the right conclusion, particularly when you're not paying close attention.
Slack community for stock investors now has over 360 members
So I have a side project that was created as 2 businesses paid $3k a piece for me to create it. They also agreed up front that once delivered they would pay a monthly fee.

I am about ready to release it to general public. But my main tactic to gain customers was to leverage the initial customers to help market and sell to their network. As they are well known in their niche this is working well. As we have real world data on how it has improved their operational efficiency. So far have 10 more people awaiting on boarding.

Long story short find people who have a problem they are willing to pay money to solve right now. I do this by having varied hobbies and traveling to partake in them.
The application is back up.
I strongly suspect that the weight of the battery that fills the volume of the DVD-RW drive is much greater than the weight of the drive, which would violate your initial condition. So which constraint do you break to satisfy your requirements?
> You haven't experienced increased hunger or increase fatigue/sleepiness after exercise? The Vox writeup has a link to some of the research regarding exercise for weight-loss. http://www.vox.com/2016/4/28/11518804/weight-loss-exercise-m....

Temporarily increased hunger is natural. Temporarily increased fatigue is natural. What you were describing, being significantly mentally impaired over a long period of time, is not.

This article says a lot of things about exercise, some of them good some of them bad. Unfortunately it basically only takes into account cardio, which yes, is not the ideal form of exercise for losing weight. The reason is contained in the article: it helps train your body to do more with less. If that's the case, then how would we do the opposite? By training our bodies to be inefficient machines, rather than efficient ones. The best way to do that is to put on muscle mass. The best way to do that is to lift heavy things.

> Why is that? 71 Morbidly obese patients that maintain 50%+ loss of their excess weight for over 9 years? No other diet and/or treatment rivals that.

> > Some 9 % of the patients suffered from internal herniation, despite the closure of potential hernia sites

> > LRYGB was effective for diabetes control in 85.7 % of the affected patients, but, surprisingly, 27.9 % developed new-onset diabetes

> > four patients [5%] required hospitalization for hypoglycemic syndrome...two [2.5%] patients underwent reversal of their bypass for problems linked to glucose metabolism

> Talk to us in 10 years (seriously).

Get your squat up to 315, and then come talk to me about how hard it is to keep weight off. Seriously, it will make a huge difference in your life.

> Something always happens; the diet becomes mundane, physical and/or mental issues, stress, you have a family that wants to eat something other than eggs and salad, simply not giving a shit anymore or just general aging & slowly of metabolism.

All of this is in my control with the exception of slowing metabolism and while aging metabolism can account for some amount of weight gain we are absolutely not talking healthy weight -> obesity levels. I definitely don't subsist on eggs and salad. Today I had a few glasses of whole milk for breakfast, a steak burrito for lunch and a bacon cheeseburger for dinner, and I'll probably have one more square meal before passing out in a few hours. I weigh about 185lbs at 6ft. I'm lifting shit in the gym 3x a week and I rock climb a 4th day most weeks. Re: stress and mental issues, meditation and mindfulness are awesome and free, and if you can afford it I highly recommend talk therapy.

> 10 years is a long time to stick to the straight and narrow and keep the diet in check. Best of luck, maybe you have the mentality of a Navy Seal and will make it but most others do not.

I look forward to our check in :)