skysight-inc/HackerNews huggingface dataset:
Because:

1. Buffer overflows aren't considered the most insidious issue in C nowadays. That award would probably go to use after free, which is not so easy to fix.

2. In C, it is easier and faster to do the wrong thing. Compare "char buf[256]; strcpy(buf, foo); ..." to "array_t buf = array_create(strlen(foo) + 1); strcpy(buf.ptr, foo); ... array_destroy(buf);"

3. Buffer overflows do not in fact come up routinely in Rust the way they do in C.
I drip irrigated my entire yard (only about a quarter of an acre, so, quite small). I just used the drip irrigation stuff at home depot. Its fairly inexpensive and once you start working with it you figure out pretty quickly how it all the parts work together. I just looked at the companies website to figure out what I needed to get started.
>> what matters is there are a lot more people in Toronto who want to see an MLS final than there are places to put their butts in.

The TFC demand in Toronto is a very recent thing though. They pretty much sucked for most of their existence, and there's a huge hunger in Toronto to win a title from a "big league" sport, even if it is "just" MLS.
Thank you for feedbank.

1. We are currently working on supporting queries with amounts, the first kind will be a "loan-calculator" that tell you how much you can loan for a new house or a new car.
We did try syntaxnet for this earlier, but it failed big time with dialects, so we are creating our own variant.

2. We have nothing on index funds yet, our customers so far does neither have that kind of a thing, though it should at least have been a synonym for funds. This will be corrected.

This bot is a customer service kind of chat bot. It's not something to have a conversation with, but more like a bot that can understand questions and help you. The business value here is not to be better than human, but be as close as possible for the most common support queries. Trying to pass the Turing test is unrealistic... We are trying to automate support issues for the most common questions like, I have lost my credit card, I need a new card and I cannot login.

Compared to a regular search engine, ours will have a much better understanding of what your intention is. Google also tries to predict your intention when you search. However Google is not a replacement for customer support for most banks, telecoms, logistics, energy and insurance companies.
Note that none of what you mentioned is about discovery, but pushing the other way around.
> And bound checking for certain hot paths is not acceptable.

I think the history of exploits proves that it's always acceptable for server code. The only possibly justifiable place to omit bounds checking is isolated, high performance numerical code, as used in scientific simulations. But this code isn't exposed to the public, so its vulnerabilities aren't important.
Fake News: CNN Uses Screenshots from Fallout 4 to Depict Russian Hackers
The 71% statistic is from all water sources. The difficulty is easily accessible freshwater sources, so cheap desalination seems to be critical.

"Freshwater makes up a very small fraction of all water on the planet. While nearly 70 percent of the world is covered by water, only 2.5 percent of it is fresh. The rest is saline and ocean-based. Even then, just 1 percent of our freshwater is easily accessible, with much of it trapped in glaciers and snowfields. In essence, only 0.007 percent of the planet's water is available to fuel and feed its 6.8 billion people."

http://environment.nationalgeographic.com/environment/freshw...
How much does that still happen with DEP and such? Don't OSes not let you write to executable regions or execute from stack/heap by default now?
Even in the USA, grave robbing is tolerated with only minor penalties even in serious cases. [0] There is no protection for most kinds of archaeological treasures anywhere in the world and the limited non-renewable resource of our past as a species is being steadily wiped out by yahoos for a bit of weekend drunk fun or beer money.

And that doesn't even begin to address systematic ideological Moslem terrorist attacks against Palmyra, Bamiyyan, and many other historic treasures.

[0]http://www.deseretnews.com/article/700182158/Overkill-or-jus...
ObGolf:

>>> print math.log(95, 2)
6.56985560833
Even better, you can build an osmosis power station and create a lot of electricity. The energy in the salinity difference between the water of a river and the water of the ocean is enormous.

(It basically works like this: You have two containers with water of different salinities, connected with a membrane that only lets the water pass, but not the salt. The water will move through the membrane to balance the salinity - osmosis - and one container will have a rising water level, which can be used to generate electricity with turbines.)
> We need to fundamentally change how humans live on this planet and interact with our ecosystems to move past issues like this.

I don't know about that. It seems like moving to mostly-electric transportation and replacing coal and natural gas power plants with wind and solar isn't a huge lifestyle change.

That's not to say that such a change can be done quickly, nor it will be easy. We still have some unsolved problems like energy storage. But it's not like we all need to become hunter-gatherers and live in cob huts. I think that by implying that people are going to have to give up driving or not heat their houses in the winter in order to address climate change, we just make it that much harder to gain political support from those same people.
GitHub's top repos of 2016 – interactive visualizations
I love the British Museum as much as the next Brit, but the reality is their museum generally doesn't get it back from your museum, even if they ask very nicely and their museums are pretty good and accessible.
The bug is 8 years old. At some point you can assume it's been fixed.
That's why I said "safe code," I mean, not using any unsafe.

The issue you're talking about is related, but different.
This is the age old debate:

X is possible!

X is not probable!

Its not a winnable debate. You are both different kinds of people. The prior an idealist, the latter a pragmatist. Both philosophies are good, both are correct. Before both of you continue your debate, you should both recognize this difference.
I'm sure he's talking about MBPs with only Intel graphics (which frankly seemed a little underpowered for the Retina display much less a 4k monitor).
> And you can't implement certain things in Rust if you are on the quest for maximum efficiency without using unsafe.

Trading efficiency for safety for unaudited code should be difficult. C does not make this difficult. Rust makes this difficult.

Auditing should be supported for this kind of code. C does not support auditing in any meaningful way. Auditing much easier in Rust since it explicitly identifies code that may be unsafe.

In conclusion, I disagree emphatically that C and Rust are somehow equivalent even when you are dropping down to unsafe code.
My charging brick is almost as big as my phone. I think I can charge my phone 3 times with it. Sure, it has its uses for times when I might be away from a charging source for a few days or I need make sure multiple devices stay charged or when I might be on it way more than normal (ie, train/plane travel). But while those use cases do exist, they are actually pretty rare. I don't want to have to carry it every single day just to get through the day. I rarely have a bag with me during my normal day-to-day activities so any external battery is going to be in my pocket (or I guess left in my car if I know I'll have access to it when I need a charge). But 95% of the time I would much rather just have a phone ~10% thicker that could really go all day instead of needing to always carry a second device w/ 3 days of charge. I don't really need 3 days of charge very often. I just need a good solid day, every day.
Can you share your email? I'd like to reach out to you.
Hmm, a few of these are not even in the same county, 700k too rich. Middle-class is more like 300k. Most choices around say, 300k are around Downtown or South Central and have bars on the windows, which is what I was slightly exaggerating by calling them "near skid-row." I'm guessing nearby schools are in similar condition.

http://www.realtor.com/realestateandhomes-search/Los-Angeles...
https://www.zillow.com/mortgage-calculator/house-affordabili...

There's also has been a homeless explosion in the last three years.
http://www.cnn.com/2015/09/22/us/los-angeles-homelessness/

As mentioned, our rent went up by 7% this year, and has gone up in the area 30-40% in the last 4 years.
Stand Still, Stay Silent: Game Update
Find amazon kindle book HTML template
It's about whether it's cleared entering a signal handler or not

https://lkml.org/lkml/2008/3/5/207

is the first message.

Basically: ABI implementation bug in kernel.
https://lkml.org/lkml/2008/3/5/231

GCC started actually relying on the ABI being correct in version 4.3, folks noticed bug.
This wouldn't protect from bugs where you can maliciously trick a program from reading from other places in memory so it will leak passwords, keys etc. Think heartbleed
I'm fairly inexperienced on this matter. Can you give a real life example where this would be a bad thing?
Because HP is probably the worst offender when it comes to pre-installed crapware.
Most important thing I would add to that is cabbage, which I believe you can grow together with the potatoes. Entire countries survived WW2 on cabbage and potato soup, it's very nutritious.

If you're after some flavour, I'd also add onions and celery, which I guess go in normal soil with the cabbage and potatoes, and also carrots, which will want sandy soil. There's a good reason these three veggies together form the basis of lots of French and Italian cooking.
Though it might not be obvious to American drivers, this is the solution.

There will always be that driver who attempts to change lanes mid-intersection to get into an opening first; that's part of what motivates American drivers to enter the intersection before their exit is clear.

(Lane changes within the intersection are illegal in the US, but rarely enforced.)

American drivers also accelerate quickly only to brake desperately, which creates "openings" for rapid lane changes as well as more trouble staying out of intersections. In spite of higher accidents, more fuel costs, and even occasional tickets (for not signalling properly), this is a persistent driver behavior in many areas like California.
I agree that Chinese startups start copying the product if it is a good product, but it also happens anywhere. In US, Europe, Southeast Asia... name any place. People has been copying each other for the entire civilization.

China is an unique example. The truth is China is in a totally different world with totally different culture(maybe not as different as before) and purchase habits, so localization is hell important in China! That's probably why software tends to be compete less well than hardware like Apple and General Moto, since it needs more localization to gain popularity.

Immigrants... Every citizen in USA was an immigrant 300 years ago... if you are talking about new immigrants, most of them had higher education in USA before they built a startup, which definitely makes it easier to have success since they know they country more. Also English is a more well-accepted language, that's probably the biggest reason why not so many Americans willing to study in China.

I am a Chinese so my opinion is likely to be biased.
When comparing an 8-hour drive to an 8-hour door-2-door plane trip, only about 3-4hrs is actually spent in that economy class seat. And for all the discomfort of the seat, you can get up and stretch and walk around without crashing the vehicle.
So imagine instead a library where every book ever written was stored digitally, and the library had an automated print and bind station. So to begin with, the library would be empty shelves, perhaps taking some books off the load of nearby similar libraries.

When you come in, you can look for the book you want. If it's not on the shelf, you order a print, and in half an hour it's ready. Take it, read it, return it. It goes on the shelf.

When the shelves get full, recycle the materials of the least used, or redistribute the books to where they appear more in demand.

Now, access to e-readers is no longer a problem, and any book you want can become available in hard print, and we solve the space problem by simply regarding shelf space as a cache for the most in demand books. Additionally, when books become worn, damaged, or unnecessary, we can reuse the materials.
That's such an awesome position to be in.
This article seems flat out wrong. Since the direction flag is correctly saved and restored, everything is cool.

When some code is interrupted and the signal or interrupt handler calls memmove, that memmove will set up the direction flag for itself correctly. Its entire execution is nested within the handler. If it is interrupted by a nested interrupt, that nested one will restore the flag.

Now if an implementation of the memset function happens not to care about that flag, so that it changes direction from call to call, that's not a signal or interrupt problem! The flag can have arbitrary value in on entry to memcpy in an ordinary situation not involving threads or signals.

The moral is: never use the looping primitives on Intel without setting up the direction flag, if you care about reproducibility.

It goes without saying that the flag is part of the machine state; any machine context saving mechanism (for async situations) is broken if it neglects that flag.
BC under old rule, the term was 17 years from issue date (not filing date)
To try it out just email me (email in bio) and I can send you free minutes.

Similarly if anyone is in high school or has a child in high school I'll hook you up with free tutoring, all I want in return is feedback!
It won't work in all cases :) IIRC Idris will move type info to runtime if it can't prove it at compile time.

Basically, in Idris I can have a function concat which takes a Vector<N, T>, a Vector<M,T>, and produces a Vector<N+M, T>. You can have arbitrary expressions there, and even things like a function which returns a different type based on its boolean argument.

So most signatures will just carry dependencies through, but some things are dependent on runtime input and that's when the "N" part of the type will be tracked at runtime. At least, that's how I think it works.

Dependent types help eliminate large swaths of bounds checks. Not all of them, and I'm not sure how much better it does than a good optimizing compiler.
We used them for a film festival I helped run almost 10 years ago now. We were a pretty shoestring operation at the time and needed to get our cut of the money from the first few days' sales to fund an event at the end of the festival (whee!) and they were quite helpful in transferring it to us in an expedited manner.

I don't know how they are now, but they were great to work with then.
How long does it take to charge and how big does the battery pack have to be?
High-margin crops, minimal overhead, and intensive cultivation (i.e., greenhouses) to get the most out the available space. Pretty much be the only way to go on a small acreage:

> Though his book The Urban Farmer still similarly emphasizes minimal machinery and biointensive growing, Stone sticks to the highest profit crops—baby greens, microgreens, and tomatoes, for example.

The other part of this is having a strong local customer base willing to pay a premium for fresh ingredients.

A fresh tomato, ripened on the vine, and picked and eaten the same day is much tastier than a store-bought one shipped a thousand miles. Taste-wise it's almost a completely different foodstuff.

But location is key for this type of business. If there's 200 restaurants within 20 miles of the microfarm the customer base is good. If there's only two it's going to be much more difficult.
> You need unsafe to do some things in Rust, sure.

And that's what I wrote.

> Most of your code won't be working with raw memory operations, most of it will work with zero-cost abstractions on top of raw memory.

For some web applications sure but industry is not constrained only to writing web applications especially if you want to get into C market space. In HPC or time/space constraint environments this matter.
Do you speak Open Science?
This was the biggest factor to my switching to Ubuntu when deciding to upgrade from my 2010 MacBook Pro.

I can't stand glossy displays and I want battery life. High res displays tend to be glossy because at some point the grain on the matte coating is larger than the pixels.

On the PC side, it's easy to pick a matte 1080p display on the XPS13 and Asus UX305 and it greatly increases battery life. The 1080p XPS13 gets 14 hours! And it's matte! Win-win.

Whereas it's Tough Shit For You on a MacBook. Don't know why though, my old MacBook Pro has a matte display as a configurable option.
Why leap seconds are tricky, and how to deal with them
Posix is terrible. But I'm not sure we have anything better.

MAXIMUM_WAIT_OBJECTS is also terrible of course, but even apart from that Win32 is not bright, at all. The doc contains so little details (or worse is sometime even false) that the real doc when you start to ask serious questions is ReactOS, Wine, or even the NT/2000 source leaks, and then IDA. Compared to that, Posix is actually documented and implemented mostly correctly by tons of OSes. Its easy to ship an API with basically no spec (so nobody can tell you that there is a bug when they find one - actually even if there were some real specs about Win32 I think there is public no way to report bugs in there to MS!), and that does not have to be compatible with any other implementation...
It does a lot more replacements, depending on the architecture. Even a simple a/b or a%b will get replaced with function call on many archs.
I think you're missing the point.

As long as your caloric intake sort of averages out to your calorie expenditure, you're fine. You don't have to balance every minute and every hour.

We're designed to operate at a caloric deficit for hours, if not days at a time. We obviously don't spend all of our time sleeping.
Does that really matter with this crowd?
+1 for clipboard history easily searchable. I think in my workflow it's adding so
much to my personal productivy. Maybe the best productivy hack in Alfred.
we have several unexplained things which possibly look like some interaction between gravity and EM - em-drive, spinning magnet/superconductor gravimetric effects and unexpected velocity of stars in the galaxies (which are big rotating piles of plasma)
Ok, too expensive seems like a reasonable argument, but how much too expensive, specifically? I mean if water is available but not clean how expensive can a purifier be before being at parody with cost of transporting the same amount of water?

What is the "cheaper to produce locally" method, and in what way is it not the solution?

Also, what about pipelines? Even if only useful in limited contexts (i.e. downhill, or open channels), or for very short distances.

That's a really good idea to transport water using large bladders. Perhaps you could even control movement as needed with small engine craft and nets. You'd need no where near the infrastructure of commercial shipping, yet bladders could be put in shipping containers as well.
The Democrats are absolutely liberals in the European sense of the word. They are pro-capitalism and have abandoned any pretense of pro-worker or leftist thought. HRC was George W. Bush reincarnate, Bill Clinton was as far right as any pre-Reagan Republican. Obama is a bit to the left of the Clintons, but he's still staunchly center-right and you'll notice that Obamacare is not single-payer nor does it allow for the government to compete in the marketplace.
How we blamed the Queen for a hold-up in Paris
7 Life Lessons from a Guy Who Can’t Move Anything but His Face – GIST9JA
If memset is actually not async signal safe on some target, and a compiler targetting the same does that transformation, the end results are very unsound...
I would also like to add comparisons:

Swedbank uses Nuance's Nina, its available at swedbank.se under customer service.

SEB uses IPSoft's Amelia, which is available here: http://seb.se/kundservice/kundservice-privat/chatta-med-oss

Those are Swedish though.

Nuance also have an english version Nina for Coca Cola, but that one have very few answers...
http://www.coca-colacompany.com/contact-us
Regardless of hacks to make real progress you will need to spend a lot of time. Here's some quick tips...

1. Move most of your media consumption over to the new language. Movies/books/internet/twitter/etc..

2. Plan on an hour a day of active study

(can be 30mins morning/night).
And atleast an hour of non active study (listening to some dialogue, media consumption, etc)

3. Learning phrases is much more effective than learning words, although eventually you will need to do both

4. Learning by audio is much better than reading

atleast in the beginning
(for an advanced learner reading would make more sense to get more advanced content)

5. My suggestion is after you get 200 or so basic vocab and phrases down then make some short dialogues of things you want to know how to say / converse.
Get those translated or checked by a native (lang-8, etc). Create an audio recording of those and listen and repeat over and over every day till you have deeply learned them. They will become automatic and you will be "fluent" at those.

6. Rinse / Repeat.
They are building a house a few bricks at a time using discretionary income after necessities to buy those bricks. Indoor farming would be far too expensive.
Jackmott didn't make a claim. The linked PDF did. Why should someone have to support a claim that they didn't make?
> AND you have put down at least 20%.

I'm not sure how universal this is, but in my area this is also about the point where you're loan repayments will become cheaper than renting the equivalent. And your loan repayments will only go down over time, rent will only go up.
Towards the end he makes the comment: "Can you please let me know how much money I’d make from my options if the company were to sell or IPO for $100m, 200m, 300m, 400m, etc?"

Here is a simple open-source site (FD: which I wrote) which handles this for you: https://friendlyoptions.org/

Give the site to your prospective employer, ask them to fill it out with the details of your stock option grant and then share the link with you (all the information is stored in the URL so no data leaks to the site --- or just run it locally if you are paranoid). The site asks for the minimum amount of information possible for you to start valuing your stock options so if they can't fill it out, you essentially have no way to value your options.

----

With that advertisement out of the way, I disagree with this article a little bit. I think questions about the past/present are all completely fair game and should be asked and answered:

* How much money have you raised and at what terms?

* What is the current stock option plan and what are the details of my stock option grant?

* Have their been any secondary sale transactions in the past? Who participated?

But once you get into the future, prepare to be sold a very optimistic vision of the future that may or may not coincide with reality. And this isn't necessarily anybody doing anything wrong, generally the people who run these types of companies are very optimistic people who believe that what they are saying is true. However, this doesn't mean it is likely to happen. I'm not saying you shouldn't ask, get all the information you can, but a company will never tell you a pessimistic view of the future (and nor should they). They may say they'd never take debt and are shooting for an IPO in 2 years, but I guarantee you if something changes in a year those plans might all go out of the window.
"Actually fixed"
https://github.com/search?utf8=%E2%9C%93&q=%22actually+fixed...
really nice article detailing some nuances