skysight-inc/HackerNews huggingface dataset:
> BTW, linux is the kernel, GNU/GPL software make up the rest of the OS and apps. GNU/Linux is the way lawyers will say it in court.

Good point.
The "elites" are the ones currently in charge (e.g., climate change, terrorism, monetary policy, ...) and I don't see them optimizing.

Just a few related questions:
Who is going to define who are the elites? If you say the people, then we end up in a democracy just like we have already and yet, I cannot see any optimization.

What if climate change can be evaluated not only as a single metric but as a tradeoff? E.g., nuclear energy vs CO2? Or cost of each marginal ton of CO2 saved vs. the things you can do with the same money (e.g. a few cancer therapies).
Are there even appropriate "elites" who are experts in all of the above areas?
I expect an autopilot could deal with that situation much better than a human as well. It should be able to predict if the car behind won't stop. Certainly better than a human driver could (if the human would even notice the car coming from behind with that happening in front). Then, assuming there is some space open in front, as there was in this case, it could accelerate to avoid the collision from behind. Now I'm curious whether Tesla's autopilot is already programmed to do this.
If you have under 2 hours played on any game they give you automatic refunds if you request it. Did you actually ask for a refund?

Game developers on Steam != Valve
I'm 6'2" and broad-shouldered. First class seats, while not taller, give more leg room and more width and are hence much more comfortable for me. Have you ever flown business or first class?
You are correct that a spherical approximation is not correct, and indeed generally won't be very good, especially in the disk of the Galaxy. In a rigorous calculation of the Galaxy's potential, astronomers usually use five components:

1. The bulge, which is represented by a spheroidal potential

2. The stellar disk, which is represented by two exponential potentials (one radial, the other vertical)

3. The interstellar medium, represented by a single exponential potential

4. A bar, which generally doesn't have a simple analytic representation, but can be represented by a series of ellipsoidal potentials

5. A dark matter halo, represented by a two-component power law. The orbits of stars require the existence of this component of the potential.

Interestingly, the dark matter halo is quite spherically symmetric and comprises nearly all of the Galaxy's mass, so a spherical potential is more correct the further away you get from the center!
It's a big problem with smaller aircraft. A crash in 2003 [1] of an overloaded 19-passenger commuter aircraft out of Charlotte, NC led the FAA to require airlines to increase their assumed average passenger weight by 20-30 pounds.

[1] http://www.ntsb.gov/investigations/AccidentReports/Reports/A...
Out of curiosity, why is PHPMailer invoking the command line at all?

It would seem much safer to establish a TCP connection to the local MTA over port 25 or 587 and send the message that way.

Admins can just use iptables to restrict access to the port to localhost, and/or do the same in their MTA config.
Honestly I think it's that they have so much money. They can afford not to care.
Is this ads of company here?
But if you live near a place that has grown up with high-density public transport use and pedestrian priority, the real question is why would you drive your own car 15 minutes to the store when 3 of them are within 15 minutes walk of your front door.

(in my case roughly 4 min, 11 min and 13 min respectively by foot according to google for my nearest 3 big grocery stores).

Trying to turn car based suburbia into a car free zone is admittedly an almost lost cause, but that's a bit of a misnomer.

The real argument is to establish the city-design as one that is not car centric, not to convert a car-centric design into a car-free zone.
I'm currently trying to learn Rust, but if my motivation were "I need a fast language and don't want to deal with safety issues", I'd use Java. It's plenty fast (especially compared to something like Ruby!), the ecosystem is huge and tooling is extremely mature.
Use a quadtree or similar structure for your broadphase detection, it will help right off the bat.
> but isn't "predicts an accident" stretching things a bit?

Agree. N=1 here. For all we know this was just a coincidence or what you are giving as a reason.
> Rust had the chance to make strings feel as comfortable as integers, but instead they introduced their own dichotomy with String and &str.

It makes perfect sense when you understand the differences and reasoning behind it. A `String` is a heap-allocated string that can grow in size. On the other hand, a `str` is basically a fixed-size string array, but you'll never interact directly with this type because there's no point in it. It's tucked away inside the `String` that created it.

Meanwhile, an `&str` is a slice of that fixed-size `str` array that's hidden within the `String`. You can think of a `str` as an `[char]` with it's own special `str` methods, and an `&str` as an `&[char]` which has access to all of the `str` methods as well.

> Speaking of integers, Rust's choice of 32 bit integers as the default for literals is painful given that every machine most of us will ever care about is now 64 bit. I routinely deal with arrays and files that are too large for a 32 bit integer.

I'm pretty sure the default integer is a `usize`, which is 32-bit on 32-bit systems and 64-bit on 64-bit systems.
Because I'm not overweight, just 6"7. Why should I pay more to fly for being born tall? Should black people pay more overall for being taller on average? It's not vanity it's equality...
I'm not sure how that is legally possible at this point. After the electoral college cast their vote, does the outgoing president have any sort of authority on this?
I was very confused about this video until I watched it with the sound on. The Tesla beeps at the driver clearly before the accident has occurred, but doesn't appear to decelerate until afterwards.
There's also http://eccc.hpi-web.de/reports/menu/ for complexity theory.
The metric system is entirely arbitrary. It's just been recently back-filled to make it seem consistent and reasonable.

Look up the original definition of the meter, kilometer, etc. "The metre was originally defined in 1793 as one ten-millionth of the distance from the equator to the North Pole. In 1799, it was redefined in terms of a prototype metre bar (the actual bar used was changed in 1889 and 1927). In 1960, the metre was redefined in terms of a certain number of wavelengths of a certain emission line of krypton-86. In 1983, the current definition was adopted."

How is something that is based on the then calculated distance from the equator to the north pole. Why do I say calculated? Well, because: "One of the earliest expeditions to set out with the explicit intention of reaching the North Pole was that of British naval officer William Edward Parry, who in 1827" https://en.wikipedia.org/wiki/North_Pole#Pre-1900... No one had been there yet. So they didn't lay a tape measure down. You couldn't actually even do that. And the earth isn't even flat anywhere so you're measuring an idealized object. Even more arbitrary.

But ignore that... ITS BASED ON THE CIRCUMFERENCE OF THE EARTH... how is that NOT arbitrary? Well it is. That's why all of the new definitions of metric things are being redefined to be as close to absolute constants as they can be: "The metre is defined as the distance travelled by light in a vacuum in 1/299 792 458 seconds."

But that's still really arbitrary because it comes from the circumference of the earth.

And your boiling point and freezing points are also arbitrary because it depends on the altitude you live at. Sure it's at sea level for these numbers... but who lives at sea level? http://www.npr.org/templates/story/story.php?storyId=9162438 looks like 1/3rd to 1/2 (max). Maybe way less.

So the Fahrenheit argument is "the numbers that are generally useful to people for air temperature are those that exist in human inhabited or are generally hospitable", eg 0 (pretty cold) to (100) pretty hot with specialized areas knowing more about their end of the spectrum (minnesota, riyadh).

Your celsius argument means is that you care about temperatures over 100 (or 140) F up to 212F, or 37.7778 C up to 100C. I really doubt you care actually. You could just have a gague labelled "beef, pork, chicken, black tea, green tea, boiling" and be totally fine. Actually boiling doesn't even matter, it's pretty obivious when things are boiling and since it's a state change it's a very stable temperature.

It's valid that it would make things easier if the US was on the metric system. It would be valid to say that india shouldn't go 30 minutes off of the hour to have a solo time zone, because that makes time zones easier, same for indiana (if they still do that).

But don't pretend the metric measurements are any less arbitrary than the imperial ones. That's a very earth centric point of view. We should be on galactic measurements by now. You should see how much news.zcombinator.g out at alpha centauri is complaining about the metric system.
It's using PHP's builtin mail() function, which happens to be a wrapper around /usr/bin/sendmail, and one of the parameters it takes is used as an "additional command-line parameter to sendmail". In particular, the "-f" switch is used to set the SMTP envelope MAIL FROM address. Apparently PHP's mail() tries to do some automagic shell escaping on the argument but it's likely not good enough and it also creates a conflict when callers such as PHPMailer also try to escape the parameter.
YIMBY? Your infrastructure my back yard?
Agreed, that would be the best delimiter choice for plain text data files.
Compared to a lot of C++ and other compile time polymorphism, the error messages are consistently excellent, if sometimes long, and some of this is due to the simplicity of traits.

I am also extremely fond of pattern matching and algebraic data types (first class tagged unions). It is a style of data modeling borrowed from ML/Haskell and is quite distinct from OOP. The key distinction is that by making a datatype with multiple variants closed to extension, you can clearly see and handle all possible cases for a particular purpose (with checking from the compiler) which is often more natural then having fragments of implementation across many child classes.
You should pay more because it costs more money to fly you. The airline doesn't care if you're overweight, only what your weight is.
Hmm actually in my experience the versions of papers uploaded to preprint servers are the final versions, including reviewers comments. This is in cryptography, but I think the same can be said for complexity theory.
Thanks for the comment! We are using the MIT license. I've updated the source code in the git repository accordingly.
I'm in the process of moving to a FTTN place, and it's really no different to the crappy experience of ADSL. If it's not FTTP, it's still relying on some crappy company's crappy infrastructure.
Perhaps we're going for equity, not equality..
ePrint indeed offers a much nicer interface. However, I wish they didn't discard prior versions when people revise papers.
It also costs more for you to feed yourself than it does a shorter person. Is that also unfair?

As a very pale-skinned person, I have to spend more on sunscreen. Is that unfair?
1) Have a reasonable math background, or at least be willing to take it slow and google.

2) Read the abstract, intro, and conclusion and see if the problem and result are worth the effort.

3) Read the body. The whole body may or may not be relevant to you depending on your interest. If you are starting out in a field, try to read and understand the whole thing. You will learn lingo, what is expected of a published paper in the field, improve your math skills, and make reading other papers easier.

If you are having a lot of trouble with 1 or 3, find a MOOC relevant to the subfield and go through it then go back to the literature.
WORLDS ARE COLLIDING.
Gears of War 4 Game Serial Key Generator 2017 No Survey Free Download
TL;DR: PHPmailer fails to properly sanitize input. When configured to use CLI sendmail, this can lead to arbitrary command execution.

But then again, why would you send e-mail to just any address someone enters, without validating it for correctness? I know it is tough to validate all addresses according to RFC, but I'd rather block some legitimate users (which btw. probably know more about RFC than me and I'm sure can find a "nicer" e-mail address if they want to) than let some attacker use some vulnerability like this. Always whitelist valid input, never (just) blacklist it.

Also, I am baffled that frameworks I encountered never demanded from developer to specify exactly what kind of input it expects via POST & co.. It is trivial to write a set of functions like this:

function input_post_email($field_name, $default_value)
function input_post_string($field_name, $validation_regex, $default_value)
...

The point here is that framework should DEMAND from developer to specify format of each and every input var it needs. It should be difficult to bypass these restrictions, to demotivate developers doing it.

This is a first thing I made in every PHP project I started. Combined with Content Security Policy and output filtering it's... well, better than most other solutions. :)
> it became harder for them to compensate their losses on their main service (phone calls)

If nobody's interested in voice service and you can't recoup your capital costs, why not just quit while you're ahead and stop providing voice service—thus at least freeing you from needing to pay maintenance on the voice infrastructure?
If Amazon made it so that you can drop boxes and packing material off a lockers, I would do it. Definitely a first world problem, but yeah the boxes and packing material backing up my garage is getting out of hand. The materials are in pristine condition and it feels so wasteful to pop/crush them.
The airline discussed in the article are not weighing passengers in other to charge them a different amount, though
At 6'8" I find all seats I've ever been on other than Spirit and Ryan Air work decently well unless I need to sleep. What issue are you facing?
Why should I pay more to fly for being born tall?

Because it costs more to provide the service to you.
Amazon, in particular, sends packages in ridiculously oversized boxes. I've received kitchen knife from Amazon that was packed in a box more than twice the size of a shoebox. Literary hundreds of same items would have fitted there. On the bright note, it was padded with recycled paper, not plastic.
http://arstechnica.com/uncategorized/2003/09/2886-2/

"Eight weeks later, the first public demonstration was given to the class by using a simple ping packet. With a blinding 2bps speed, the class sat patiently as the packet was received in roughly 140 seconds. "

That's why. Sound is a pretty slow wavelength. Low end is 60hz, lets call it 600hz tones in this bongo (I don't actually know). However ultra sound is at 20 kHz and above. Eg 33 times faster. 33x the data. Eg 140 seconds now takes 4.25 seconds. Lets assume the bongo was 10 too long. Now we're down to 14 seconds in audible and .42 seconds in ultrasound.

you can see the benefit.

and that's without actually doing a real data rate calculation becuase I don't have a good number on how many waveforms you have to have on sound to pick up a real signal. Somthing somthing nyquest criterion somthing somthing.
Google refused to indulge China's oppressive dictatorial laws with search. Apple follows similar ideals so they work well together.
Is ping the only thing this does?

What kinds of probes are possible?
definitely we don't use it in the UK or Aus, in fact, the US is the only country where I've ever seen it on a weather broadcast. I really don't know why you would want to be the last country to use it, sometimes "everyone else is using it" is actually a good reason to do something, for example when it's two arbitrary systems of measurement.
The powerful gun lobby in USA
Is it really necessary to expose an unsafe API that bypasses subscript checking? Another Rust advocate was arguing, the last time this came up, that LLVM could optimize out most of the subscript checks. As I showed, it optimizes out about half of them for multidimensional arrays implemented with an explicit multiply. That may improve, especially if there's some standard idiom for declaring multidimensional arrays and the compiler handles that idiom well.

For 1D, though, the optimization of checking is pretty good. "get_unchecked" for Vec may be obsolete. There's an amusing Stack Overflow question [1] from someone who complains that he changed an access from "[]" to "get_unchecked()" and his program didn't get faster.

Maybe it's time to deprecate some of the legacy "unsafe" stuff. Preferably before the first CERT advisory involving a buffer overflow in a Rust program.

[1] http://stackoverflow.com/questions/39196594/why-dont-i-get-p...
> Hawaiian Airlines...discovered it was burning through more fuel than anticipated on its route between Honolulu and...American Samoa

Why not just increase the ticket price?
Yeah I've only briefly tried Yeoman quite some time ago, but they are quite similar in terms of generating scaffolds.

And thank you, I appreciate it! I tried my best to flush out every single step I had to go through while building the app so I'm glad you liked it.
It would be of a great benefit for them to see the dam destroyed, if they could convincingly pin it on the Iraqi government and/or Western countries.
How should airlines treat larger passengers?
Please try this and provide feedback, it will be great to hear from you.
I quoted from C99 but C11 has the same wording.

I used to prefer C89 but learned the hard way that there are quite a few "bugs" in the standard, where it is ambiguous or otherwise fails to give a clear answer. So C99 is my go-to standard these days, even though I only care for a subset of its features.

"nonarray object" definitely sounds like such a bug. I think the intent of this clause is clear: it is meant to make sure you can always pass a pointer to a single object that treats its argument as a pointer to an array element, and does pointer arithmetic on it. One of the most common construct is simply looping over an array by incrementing the pointer, and this must work without producing an overflow when the pointer points past the array, the way it's conventionally written. If it weren't for this clause, passing a pointer to a single object to be treated as an array of size 1 would break a lot of code. Going further, is the object allocated by malloc an array or a nonarray? That would then be a critical question to ascertaining the correctness of most code out there.

And I cannot think of any reason why only pointers to nonarray objects should be usable in this manner.
> I would prefer a str be a str be a str, regardless of how you got it. Lowercase type-name and fundamental like an integer.

The lowercase type names are reserved to primitives. The String type is not a primitive but a comprehensive data structure, hence the capital S. The String type contains an `str` primitive though, along with size information.

> I don't want to become a string expert to build a filename, and the default implementation could (at least conceptually) be always on the heap for all I care.

Is it that hard to understand that when you create a string, you will create it as either a `String` or `PathBuf`? File methods are designed to automatically convert input parameters into a `&Path` so it doesn't matter what string structure you provide.

There is also no way (currently) to create a stack-allocated string with the standard library out of the box. You can do this with crates like `arrayvec` though. It's very much opt-in for that performance.

let path = String::from("/tmp/file");

let mut file = File::open(&path).unwrap();

> Looking at the present and the future, why is that a sensible default? Both x64 and ARM are going to use a 64 bit integer register for the operations, and many of those operations are going to be 1-clock throughput. You can probably find a counter example, but 32 bit integers aren't generally faster than 64 bit ones.

No need to use a 64-bit integer when you only need a 32-bit integer. You can fit two 32-bit integers into a single 64-bit integer and perform a calculation on both simultaneously with a single cycle, versus spending two cycles to calculate two 64-bit integers. There's also no need to pay that memory cost either.
What do you mean by "reasonable?" There are several crates that provide inline C++ macros on both nightly (rustcxx) and stable (rust-cpp). I haven't used the latter but the former works really well (albeit using a gcc specific feature). I usually break out the C++ code into a wrapper (unless its a few lines) to make it more idiomatic Rust but at the end of the day, there aren't that many hoops to jump through.
Yea, that's tricky. The simple way would be to treat all people equally, e.g. charge $1/kg for every passenger. But if weight correlates with race, even though each individual is treated equally, different races aren't being treated equally. Personally I'd rather discard the idea of race, what good has making those distinctions ever done?
Its disagreeable because "on average, <type> people earn more than <!type> people, therefore all <type> people should pay more for the same service" is not an obvious conclusion to make. In fact, it is tainting some folk with the faults that others with a similar attribute have and is in the end discriminatory and unfair because their height was not a choice they made.

If the author had written that tall people should pay more because they are bigger and need a bigger space then that might have been more palatable, but in the end I'm not sure that the extra space is the significant factor, since I can sit upright easily in the vertical space allocated for everybody to walk through the plane. Do we also need to charge more for people with big hairstyles, or those who choose to wear high heels? Also, why is there a minimum cost for the average space needed, my partner (155cm) takes up less space than average!
That costs a lot more than ordinary tickets. Often 2x.
This is true, I couldn't figure out why this wasn't working, then realized I had to comment out this validation:

filter_var($app->request()->post('email'), FILTER_VALIDATE_EMAIL)
DICE and others have been investigating and using it to create tools for developing games. There is interest in using it within game engines, but there's just the issue of Rust support for major consoles. There is great interest in the PC gaming world though that's not constrained by console support.
I actually have nbn fttn, and ymmv but I love it. 59 bucks a month unlimited download and I get about 95mbit down consistently. I feel like it's a really good deal...
I imagine it'd get pretty annoying (and dangerous) if it slammed on the breaks every time two cars got close. It knew what was happening and was ready to break when the accident actually occurred.
I've seen several of your comments indicate "requiring naive implementation". This seems strange to me. Why require a naive implementation and then be concerned over some slight differences in performance?
You could argue that a tall person should not be charged more than a short person for the same service, even if it costs more to provide it to them, on the basis that their height is a circumstance of their birth. You cannot make the same argument for someone who is obese, since their obesity is almost certainly a choice (or a result of lifestyle choices, depending how you look at it).
They can support it all they want, but unless they want to produce hardware, it's very hard to replace a pc with one that can run XP at all.