skysight-inc/HackerNews huggingface dataset:
People(and incredibly dieticians) still hang on to the "Calories-in calories-out" as we are engine burning food. Sugars(and most carbs convert to sugars) are responsible to
1.Cellular degeneration:
https://en.wikipedia.org/wiki/Advanced_glycation_end-product
2.Diabetes type 2(key factor)
https://en.wikipedia.org/wiki/Diabetes#Type_2
3.Severe, heroin-level addiction
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2235907
4.Brain degeneration and cognitive decline
https://www.ncbi.nlm.nih.gov/pubmed/15082091
Unless there's a particular software or environment you're using that only supports Python 2, you'll want to deal with Python 3.4 at least.
It seems like the minutia and subtlety of many c++ features at the cost of simplicity and readability lend themselves to cocky, in-love-with-themselves developers like this guy (who tells us upfront he wasn't actually building anything embedded in c++?!).
I live in a suburb and I have kids. It isn't what you say it is. It is fear about children being unsafe and metafear that if you aren't seen as watching your children someone will call the cops. We all think this is stupid, except for the one or two busybodies who call the cops.

It isn't something stupid about how inconceivable walking is or how foreign the idea of "standing outside" is. That's just you insulting a group of people that I presume you don't like.

I think if we're going to see this end, we need institutional change; we need the police to be able to see a situation and tell off the person calling them for being stupid. As long as there's an extremely good chance CPS will take your kid away because some asshat called the cops for something stupid, we parents can not afford to act otherwise.
@ GOOGLE: BUILD THIS IN GMAIL! :)
Well you didn't express your criticism a the reason C++ is difficult to learn, you described it as "the problem with C++" and it sounds like you don't have enough familiarity with the language to make that sort of assessment.

C++ isn't a great choice for many purposes, but for some purposes it is the go-to language - and for good reasons, not just because of inertia as some like to suggest.

As with all forms of craftsmanship, you need to choose the right tool for what you're trying to accomplish.
Great book, definitely worth buying
> and there's truth as in what's underlying before social processes " corrupt " the truth.

Ah, so you're defining "truth" as "whatever I imagine the world would be like if society worked the way I wished it did". There's another word for that; "fantasy".
FWIW: *_optout_nomap

=> https://www.reddit.com/r/privacy/comments/3g3xyu/for_wifi_ms...
In general, mixing synchronous and asynchronous I/O typically brings you the worst in both worlds.

This has been a nightmare in C# which pioneered async/await - a lot of developers are struggling with footguns from mixing sync and async code.

Ryan Dhal said that he picked JavaScript for Node because he was afraid of this and wanted a language without synchronous APIs already built in.

I think Python 3.5+ async/await is fantastic don't get me wrong - but if you want to mix and match I'd recommend getting a second server that runs the synchronous framework and then communicating over network (REST HTTP for example) between the completely asynchronous server and the one running the thread pool.
The best gift I've given recently is a ~$10 hand-held 100x microscope. Super durable and tiny and fun to play with. Good for all ages. I think it was this one: https://www.amazon.com/Carson-60X-100X-MicroMax-Microscope-M... The main downside over a 'real' microscope is that it's not back-lit and can't really be used with slides, which means you can't really look at microbes. But there's still a ton of things you can examine at that zoom level, like the fibers in your clothing, that you otherwise totally miss.
These are cool applications indeed. I was thinking about using such a device during the day to prevent RSI.
Sure, but the comparison was average twitter comment compared to the average youtube comment. Twitter is definitely worse. Not sure why I'm getting downvoted for this.
If its B2C then you can't go wrong with some highly-targeted FB ads to validate your idea, and gain some initial interest.
But you don't really need to wait three weeks, so that delivery "estimate" is misleading.

UK suppliers tend to ship same day or next day, with delivery within one to three working days.

If a supplier isn't overwhelmed with orders, the rational choice is to ship ASAP, because it increases positive feedback and the prospect of reorders.

Not all suppliers understand this, but most do.

You only have to wait weeks on orders shipped from abroad. But the product source country is usually obvious from the listing, so you can allow for that - if you want to.
The app is fully functional.
Do you guys have any plan to support porting from Django/Flask to Uvloop? If I have a plan to develop a web api base on Uvloop how do I start?
There are many insightful comments in this thread (as well as others) that may provide arguments you are looking for.
I would also recommend using two-factor authentication (see services like Duo or Twilio's Authy) along with password-protected keys.
I had assumed that anyone landing there would have just read some post describing it. This is a good idea though. I will add something like this.
> At what scale(in terms of number of users or server load) would choosing async based web frameworks over traditional web frameworks like Django/Pylons make sense?

Using async makes sense where you want to handle 100s/1000s of long-open connections (websockets for instance). Spawning a lot of threads/processes can be very expensive, and will lead to suboptimal QoS.

> While using async is much easier with the new async/await syntax compared to traditional async solutions like twisted, tornado etc., a lot of popular database connectors and ORMs do not support async currently.

Good news is that you can have most of your application written in Django (or other traditional web framework), using async to implement specific API endpoints.
....That's a horrible way to react. I wonder what these people think about you and your country of origin. You are, after all, an ambassador for your country when ever you are outside it.
>This is not valid C++14 however, so it doesn't compile.

It is "valid C++" IF there are fewer arguments, like 6-10

The example illustrates C++ internal representation of "variadic functions".
I see that this is a common concern. I will fix this.
Is it okay to ask where you moved to?
In the last year bugs have been fixed almost instantly

That's good to hear. Perhaps LuaJIT isn't "unsupported", but it does seem to be "in maintenance mode".

I would love to see, not just bug fixes to LuaJIT, but ongoing improvements. Unfortunately with Mike having stepped down, and there being no successor, nobody is making these improvements and nobody is driving the project forward.

For example, will the new garbage collector [1] ever be implemented? Will LuaJIT remain stuck at version 5.1 while PUC Lua continues to add new features?

[1]: http://wiki.luajit.org/New-Garbage-Collector
> The one downside that I've found is that it doesn't correspond to the hardware as much.

The hardware keeps changing. What Lisp provides is a way to access low-level details when necessary, but with a default mode of operation that is managed (developer-friendly): GC, safety checks, arbitrary precision integers, etc. Like for all languages, a compiler can be told to try more optimizations if you want, and if you are ready to spend a little more work on it. In some implementations, you can extend the primitives known the compiler to emit better assembly code (e.g. https://www.pvk.ca/Blog/2014/08/16/how-to-define-new-intrins...).
How is recidivism data biased? I'm sure that the information gleaned from parole officers and cops might be biased, but as long as the ML system is trained on whether or not someone actually reverted to committing crimes, it should be able to detect bias on the part of P.O.s and other functionaries and give a more accurate determination as to someone's chances of recidivism.
Maybe the safest thing is to not give them the 3rd one, until they ask you to pull it out of your safe.
He's also put up a blog post about the incident. Apparently it's back up under Google's "Project Shield":

https://news.ycombinator.com/item?id=12575047

https://krebsonsecurity.com/2016/09/the-democratization-of-c...
Doesn't work as well. However, i love bangs or the feature to just search from the main field into other websites.
My issue with RAII is that it's fundamentally not what you expect to happen.

If I say:

int i;

I don't expect that to create an integer. I expect that to reserve memory in the program's space for an integer.

In the same way I don't expect this to call malloc:

int *i;

I just expect that to hold the space in the program data where and int pointer can be stored.

Furthermore I don't expect this to run any code (just as the other two).

string s;

I don't expect that to construct anything, that's just a place for me to put data. This way, we know not to use data before it's initialized.

In C++:

int i;
if (i > 10) printf("Greater then 10\n");

Is that going to always work how we expect it?

How about:

string s;
if (s.length() > 10) printf("Len is greater then 10\n");

That is going to always work how we expect it since it was constructed.

This is fundamentally different then uninitialized integers or primitives so I dislike it's use.

I strongly dislike the use of this term but it in my mind is an "Anti-pattern" as it promotes two separate ways of thinking about variables that are fundamentally completely different.

Info taken from:

http://www.cplusplus.com/reference/string/string/string/
http://www.cplusplus.com/forum/general/67249/

Now I'm no expert in education but this knowledge has taken me years to learn through my life and I don't think I'd have been able to do it if I didn't LOVE computers and programming.

I don't know how someone would think that this is good behavior because of it's inconsistencies between two outwardly similar cases.
It's not my first reaction, it's not something I do when I'm traveling, but it's either be slightly loud and aggressive or just suffer in silence. I chose the former.
This gets posted to HN roughly every few months or so. Or something similar, like when I posted the quakeworld post.

I don't mind. It totally deserves it.
No, not on purpose at least. If I want to drive fast and legal, Germany is not far away from where I live. And if it weren't, there are racing tracks in the area.

Speeding in the city limits is of course nuts. I can understand people who test their cars at night on empty highways, though it is still dangerous (you don't know if another car will attempt to take the in-ramp really slow). But in a the city it is madness, pedestrians and cyclists can jump from everywhere. Lives can be ruined.

Cars are dangerous, let's respect that.
Ravi is interesting and well known in the Lua community, but it is far from the performance of LuaJIT. I don't think a LLVM-based JIT compiler will reach that level of performance anytime soon.
Asynchronous Python
The problem with informing the companies --- and this is a positive statement not a normative one --- is that as soon as the vulnerability is broadly known, NSA's foreign targets can identify any machines NSA has instrumented using those bugs. Doing that could compromise operations in progress. And because NSA does likewise, it has to assume its adversaries have full packet captures of their most sensitive networks. Remember also that many (most?) of the tools disclosed weren't penetration tools but instead persistence tools, and that the disclose could reveal whole chains of other machines and burn additional capabilities.

I'm not saying that I personally would reach the same conclusion, just that the situation is more complex than Reuters makes it out to be.
The rise and rise of tabletop gaming
It's Fear-of-Terror-Makes-People-Stupid time [0] all over again. Two thirds of the population approve this.

[0] http://www.washingtonsblog.com/2011/06/fear-of-terror-makes-...
Theirs is not just an opinion when you have a few decades of sociological research to back it up. If you want to see research supporting the claim that you are wrong a good starting point would be Project Implicit's webpage.

Indeed, the person that responded to you could have been less inflammatory, but it is pretty hard to keep it cool when you are surrounded by people that dismiss an entire group of people based on gender, sexual orientation or skin color.
Park.io – automating tasks to make $125k per month
>....That's a horrible way to react.

Only if you operate under the assumption that they share your values. They may be accosting you because they see you as weak, and you may be representing your country or ethnicity poorly in their eyes.
>corporate taxes (some of the highest in the world)

Highest theoretical rates, the effective tax rate is another story.

"The top statutory tax rate of 35% in the U.S. is somewhat higher than that of 30 other OECD countries, but the average effective tax rate — the actual rate paid after deductions and credits — is slightly lower than our competitors" [0]

[0]http://www.americansfortaxfairness.org/tax-fairness-briefing...
> Do you guys have any plan to support porting from Django/Flask to Uvloop?

I don't think it makes a lot of sense to run Django/Flask on top of uvloop--the performance benefits will be negligible, if any.

> If I have a plan to develop a web api base on Uvloop how do I start?

In a few months we plan to opensource a web micro-framework based on uvloop & httptools. Right now you can use aiohttp which is quite mature.
Previous discussion: https://news.ycombinator.com/item?id=3367230
Mr everyone's hero
Stanford: An interdisciplinary solution to sound recording preservation
agree... the example is terrible, attempting to wrap c functions like this gives you nothing but added complexity.
The Rule of 40% for a Healthy SaaS Company (2015)
There is always a problem to solve and there is always process, we simply don't tend to notice it because we take it as a given (i.e., evolution/survival).
You can't predict if another driver will drive at full speed right through, while not looking in your direction. If you don't stop, you are screwed. There are other people on the road, and you can neither control nor predict their actions.
That library is still in beta stage, there are others.

For maps I've implemented integer, pointers, and strings, without code bloat (tree implementation is common, without macro-templates). I'm planning adding some generic type support for fixed-size elements, while keeping internal tree pointer-less and both stack and heap allocation possible, with minimal code bloat/duplication.
related: anyone know why (and how) did he delete his 100k tweets?
>Amazon also seems to overstate these shipping dates to make Prime shipping look better. Almost every time I have ordered something via a 3rd party like that, it arrives before the earliest date Amazon says it could.

They do that for themselves as well. Their shipping estimates for super saver shipping is always exaggerated, with packages arriving in 2-3 business days rather than 5-7 estimate
I mean I've been programming for some time and I come from a strong Java background. I get the basis of what C++ is trying to do with their new features but I think it's horribly executed when looked at in comparison to other modern languages like Java and Rust.

Speaking from a very strong Java background after Jigsaw I think Java will outdo the generics capabilities present in C++ in every way. Java 9 is bringing some crazy features to the mix. From what I understand they are getting rid of the boxing to object from generics to keep types static through lists and other generic elements. That's amazing and something C++ still does as templates are basically massively duplicated code in your binary while the JVM will get this for free at runtime.

Rust is also just out of left field as they are doing amazing things with their "cost-free abstraction"
Tips for Improving Web Typography
Effing hilarious. Some years ago I spent a few days writing to a 'Russian bride'. It became instantly clear all replies were scripted, there was no connection at all with what I said (The full text of 'I, Robot'? Oh, what interesting things you do…). So I'd say many if not most of the spam scenarios are automated and the whole thing becomes too meta.
I struggling to see where "true community" as you describe it has existed outside of Ayn Rand novels. American and global communities have always ostracized people (which used to mean struggling if not death) who don't agree with the group's will (which traditionally has been based on religion but also other mores). I guess the difference now would be that the group has become bigger (state/national) rather than based on towns/neighborhoods.
I think it really boils down to not enough people understanding the issues and the problems. I had seen (once or twice) people out on the streets campaigning against it to raise awareness on the weekends, but honestly, it was not enough. Only the hard-core techies understood (or appeared to understand) the issue - at least around the area of Zürich where I work I can't think of anyone who thought it was a good idea.

Not pleased.
HN from a few days ago. https://news.ycombinator.com/item?id=12559183

Article is about another real example of raiding the homes of innocent people based only on IP addresses.

It's a real nightmare for the people involved. It's scary that after all this time the legal system doesn't really understand that IP address does not mean physical address.
This is great! I didn't know about Lenny :-D
Why I stopped reading biographies
Well, it's especially difficult when the video self-destructs within 24 hours.
I've been reading some of them through and some of them are actually fairly well rounded. Let's see how they respond to the questions I've posed to them.

I'm specifically interested in the RAII question to see how they justify fundamentally different behavior for syntactically similar code.
In the scenario that kuschku suggested, taking a photo of each child and following them home to record the location (once) would probably not count as stalking IMO but its difficult to say. In the UK it has to happen twice, according to Wikipedia

https://en.wikipedia.org/wiki/Stalking
I'm not a mac user, so I'm terribly unfamiliar with the ecosystem. In principle, I have no problem with supporting macports, but I haven't looked into it.

One thing that would be a huge help is if someone briefly wrote up what would be necessary to get ripgrep into macports: https://github.com/BurntSushi/ripgrep/issues/10
Perhaps you'll also exclude Jews since they're such a privileged, overrepresented group.

/s
The dude deserves a Nobel Peace Prize for this. Literally pacifying the interwebs! :D
Brain-Reading.
I have always thought of it this way:

- Lower class: convert social good into survival, dependent on others for basic survival

- Middle class: convert work into survival, provide for yourself and maybe your family

- Upper class: convert capital into survival, provide for yourself, your family and potentially society.

I stopped saying lower/middle/upper colloquially and started saying simply dependent, middle class or capital class.
Correct.

> Levitt, et al, used only FARS data, which only records fatal accidents. A hypothetical accident where only the child would have died but that was prevented by the restraints would therefore not show up in the data, leading to the value of the restraints being under reported.

This is the same regarding any type of restraints, including seat belts, no?

Also, you should realized that all of their extrapolated data is also hypothetical, and relies on spotty reporting from police.

Please note, that I am not convinced that Levitt has it right, just that he is not incorrect regarding the data.
Sad this was promoted instead of this submission: https://news.ycombinator.com/item?id=12574669

That is the original ap.org link
If you are taking this as an argument for e.g. linux over Windows, Certificate pinning is a good thing though? It helps prevent mitm attacks, as stated in the article.. (Not to say that you shouldn't run linux )
Aren't most of these spam emails automated anyway? If it's just two bots talking, you're not really wasting anybody's time/resources.
Lots of big news in August 1996.
> Done poorly, you're selling herbal supplement snake oil with no oversight or meaningful regulation.

For obvious reasons though, the plants and mushrooms with the longest histories of antibiotic use tend to be the easiest to identify. I find it generally really difficult to learn new species from field guides, but most of the stuff with antibiotic properties is pretty trivial to identify even without joining your local mycological association or native plant society.

E.g. plantago, one of the plants they are making a big deal about in the article, is almost certainly growing within a hundred yards of wherever you happen to be if you're anywhere in North America, Europe, or Asia. So yeah, while it's completely criminal that big box retailers are allowed to sell fake herbal medicines with impunity, I also think that people generally have a moral obligation to learn something about their local plants and fungi anyway.
The options depend pretty heavily on the price point, how much you can invest per user and how much traction you need to fund future growth.
Hilarious idea.

But one of the first things I would have coded is preventing the same message to be sent again.

The examples are full of that.
The outcome is mostly irrelevant if the local news reports that "police raided the home of X.. blah, blah, blah... terrorism/pedophiles"
I fail to understand why his discussion of the words "merry, marry, Mary" and photos of him with Biden and Obama had any relevance to this discussion. That was a very odd interlude in an otherwise fairly interesting talk.
Social Network Processes in the Isabelle and Coq Theorem Proving Communities [pdf]
Hi gravypod.

It depends. Oh I hate that word.

When I see int i; without context I don't know anything about where memory is allocated.

It can either be the following.
1) Stack allocated
2) Heap allocated
3) Is in the read only data segment.

Just starting with a int, it can be any of the above three, two that reserve the memory on the heap/stack and another that is only a read only part of memory. The heap is the only place where I would need to call malloc/free.

Though for most common libraries when I see string s; They mostly have a pointer null terminated string in memory, and the primitive data types residing as the member's of string.

RAII helps in the situation where instead of having to do tedious code such as.

String s;
allocate_string(&s);

// do something with string.
free_string(&s);

It can all be done via a standard convention of calling the deconstructor or constructor to initialise and free itself.
>Some people claim to know C++, but basically just write everything as if it was C.

Nothing wrong with that; that's not uncommon in embedded systems development.
Yes. Most businesses (start-ups might not be a good example) are primarily bottle-necked in their development by a lack of sales ability. If you know what the customers want really well and the existing solution to that problem does not address it as well as your skills applied to programming could, then it could work in theory. Depending on the price point, sales skills may be more important than marketing, but for most B2B SaaS applications it may work.
It sounds like too much abussive traffic reached the VM. I guess Google doesn't have a similar product as CloudFlare for normal sites that can throw up captchas, enable caching, etc. in response to an attack.
Based on the sample of 24 messages back and forth, it looks like the spammer also had a reply bot because a lot of messages exactly the same canned response.