skysight-inc/HackerNews huggingface dataset:
There are no used Tesla 3 cars on the market to compare that against yet.
> I'm guessing aside form a dangling pointer GC doesn't offer much protection form a segfault?

Correct. By using GC and banning free() you avoid use-after-free bugs, but not out-of-bounds accesses.

Out of bounds accesses have to be forbidden in some other fashion; most languages do bounds-checking and throw an exception rather than trying to access the memory and getting a segfault (or, worse, reading some random other object's memory).
Synth: semantic syntax highlighting and code hyperlinking tool for C and C++
Is anybody out there still using Black Berry mobiles?
The Secret Feature That Everyone Knows About
The rise of the blockchain asset class
> Is the compiler smart enough to turn moving/returning
> into passing a pointer behind the scenes?

Rust guarantees RVO, yes, and this is even baked into its calling convention.
AWS time is rivalrous.

PDF redistribution is not.

Strawman / false analogy.
Everyone is winding down during a Friday. After Friday noon, everyone is avoiding to start anything that will take hours. That's why they can leave the office.

On the other hand, when we've had company parties at the office, I've seen people go back to programming after a couple of beers because they just had something on their mind that they need to finish.

People can certainly review something within an hour or so, but only sometimes. If you just had another interruption your juggling balls are still on the table and you haven't picked them up yet. So this is when you can finish a code review ten minutes after someone requested it. But if the request came in a couple of hours later, you wouldn't be able to take a look at it until the next day.

Culture can affect whether programmers are able to get long stretches at all. If they aren't, then they're obviously more available to short-term tasks such as code reviews. On the other hand, I know people who work best when left alone for days. There's no asking for a code review if the guy has been juggling since Wednesday because if you do he'll have to spend the next week as well working on the same task.
currently the base userland is not controlled by the pkg system. You can use freebsd-update to do a binary upgrade, which will also sync your kernel sources if you have stuff in /usr/src, so you can simply rebuild kernel after running the update.

Should be noted in 11-CURRENT there is currently ongoing work to move userland and the generic kernel into pkg, so look forward to that as well.
It's not identical (Rust statically enforces a lot more than C++ does, move semantics are opt-out rather than opt-in, there's no such thing as move constructors in Rust, etc.), but if you understand unique_ptr then you'll understand Rust's concept of ownership.
If Facebook is so important to you, why not just get the necessary skills for the interview and join the company?
There are strict guidelines, but generally it is possible to obtain an experimental license for specific events/situations.
Openstack Mitaka – A Sneak Peek
Any validation is also going to allow "someonewhodoesntexist@nonexistentdomain.com", unless you send an email to it.
> That is, suppose I have something that, semantically, I want to move into a function, and which the function later returns. I think I could also pass a `& mut` instead.

That is exactly what `&mut` is for. An &mut gives you an "ownership lease" on an object; you own it as long as you have the &mut.
The fund shrunk by 20% in the last two years (from 2014 to 2016) due to the sanctions and low oil prices. I'd say 10% on a per-year basis is pretty fast.

http://old.minfin.ru/en/nationalwealthfund/statistics/amount...
> With ICF, MCF, and MTF, and many instances of those classes of fusion machines being constructed and tested globally, there is a path and plan to make nuclear fusion viable in the future. Doesn't matter that the first machine costs billions, the price will come down at each every subsequent iteration

You could have made the same argument about nuclear fission. Fission energy has been viable for decades, and yet we still don't have free energy. You didn't give any reasons why it would be different for fusion.

By the way, your reasoning is flawed: From your assumption that initial prototypes are expensive (which is valid), and the assumption that subsequent commercial designs will be less expensive (also most likely valid), you conclude that it will eventually be so cheap as to be essentially free (definitely invalid conclusion, with lots and lots of counterexamples).
The generator is also highly predictable and suffers from defects that may affect the overall analysis.
As "extrapickles" pointed out in another comment thread, the spectrum requirement for this is an even bigger hurdle than getting all of the expensive equipment together to pull it off. The tech requires an amount of frequency separation that spreads outside the bounds of the ISM spectrums, so you'd need licensing or would need to be running in a third-world country with no regulations (which is actually a viable use for the tech).

For the unaware, ISM = Industrial, Scientific and Medical. These are the shared unlicensed frequencies that the general public may use. Wifi falls inside of this range.
If you are interested, we are doing something similar at http://www.smartertime.com with an automated learning and update phase. It gives a "one click and forget" location system. All algorithms run on the phone, and the user only has to tell the app things like "this is my kitchen".
Turkish Citizenship Database Leaked
Indeed the website looks very good - and analyzing and presenting such a huge amount of data deserves respect.

But I was also wondering why this leak had to be embargoed for a year. Why not release the complete raw data very quickly (with irrelevant, privacy-sensitive areas visibly redacted) and follow up with a detailed analysis later?
I can't believe this article doesn't explain how it works. Especially after stating "after reaching Vitter’s papers it again takes a concentrated effort to figure out what you need".
> You can shelve a changelist in P4. And any other user can unshelve it.

I know, and we use this sometimes.

It's just not as easy as pushing to a dev branch in Git creating a patch with "git am" and emailing/copy-pasting to a pastebin or whatever.

Thanks for sharing your point of view and making a very civilized discussion from obviously differing opinions :)
This would not allow email addresses with an = in them, which I've had. The point of my overly tolerant regex is exactly that: any more restrictive validation is going to drop some perfectly legal email addresses. Sending an email is the only way to be sure.
Google Code Jam Competition 2016
Donald Trump's trade policy in a nutshell.
In case it goes offline:

#Turkish Citizenship Database

Who would have imagined that backwards ideologies, cronyism and rising religious extremism in Turkey would lead to a crumbling and vulnerable technical infrastructure?

This leak contains the following information for 49,611,709 Turkish citizens: (IN CLEARTEXT)

- National Identifier (TC Kimlik No)
- First Name
- Last Name
- Mother's First Name
- Father's First Name
- Gender
- City of Birth
- Date of Birth
- ID Registration City and District
- Full Address

**Lesson to learn for Turkey:**

- Bit shifting isn't encryption.
- Index your database. We had to fix your sloppy DB work.
- Putting a hardcoded password on the UI hardly does anything for security.
- Do something about Erdogan! He is destroying your country beyond recognition.

**Lessons for the US?** We really shouldn't elect Trump, that guy sounds like he knows even less about running a country than Erdogan does.

[Example Data]

[Download URL]
Let's assume good faith.

Unless the profile's deleted a bunch of prior pro-Elsevier pieces and filled in a bunch of others, primary evidence doesn't look exceedingly shill-like.
This works, and is so much simpler.

It's not quite the same problem though; the algorithm described returns samples in sequential order. They mention performance reasons for this (C-f "tape sampling"). It also has the limitation that you need to know the sample size in advance.
This only matters in calculations where randomness is important, i.e. Monte Carlo method.

Nevertheless, if you don't use the least significant bits, and if the constants are carefully chosen, MLCG passes most of the hardest statistical tests. For example it passes all DIEHARD tests, and most of TESTU01.
Only assuming that you never use references (or raw pointers), which depending on your needs may be unavoidable.
GNU coreutils' shuf since v8.22 (Dec 2013) implements this to minimize memory usage when sampling large files or unknown numbers of items read from a pipe.

For example this command never finishes, but consumes a constant (small) amount of mem.

seq inf | shuf -n1
> There's no reason to buy any other car.

This seems beyond out-of-touch. There are plenty of good reasons. Cost, size, and the fact that you might need a car now and can't actually buy a Model 3 yet would be chief among them.

It seems like a pretty great car if you're in its particular market though.
I understand what you are saying, but I think it is not true. Being an Indian and having lived there for 30+ years, I can hardly list any major international brand in any industry which isn't selling something there. Also all the big international brands are also big Indian brands, most people do not even care that they are not Indian owned brands.

So yes, huge amounts of foreign brands sell in India, but perhaps with local manufacturing or assembly. It is not a closed country at all.

edit/bid/big
random_variate_y

:P
That means I'll have to rewrite all my (Arch) packages for Nix in order for that to work, right? How does it deal with install scripts (inside upstream packages that you have no control over) that install stuff imperatively?
This crossing out is, of course, not possible if you have a stream coming in, which is the case for which these sampling algorithms are used the most.
I think the article is very tongue in cheek! I'm pretty sure the author was trying to freak Mark out; I'm not certain this work would help to get him a job at Facebook either!
How did Slack become so popular?
If a new phone is sold in India, its Indian owner benefits from the entire multi-year lifespan of the battery before it has to be disposed of. If a used phone is imported from the US to India, its battery will be nearing the end of its life - most of the benefit of that battery goes to the original American owner, but the disposal costs are dumped on India. From this perspective, it's a way for the developed world to dump our e-waste on the developing world and avoid having to dispose of it ourselves.
A bunch of languages are moving towards integrating IDE tools into the compiler with some kind of API. This allows for on-the-fly type checking, better syntax highlighting, better autocompletion, automatically generating bits of boilerplate, instantly testing a block of code, etc. For a language with a great example of this, check out Idris's IDE protocol: http://docs.idris-lang.org/en/latest/reference/ide-protocol..... The way this works helps create an awesome feedback loop where the editor _is_ the REPL.
Something like that would be a great addition to Rust and would definitely help improve the overall tooling for the language.
MLCG is sequential. No value will be repeated within the period.
No Man's Sky
Stream PirateBay movies directly from CLI
Basically the top 1% richest are there in this list.
Malwarebytes Anti-Malware 2.2.0.1024 Premium Key Free
Twenty cognitive biases which make you form bad decisions
Maybe I'm misunderstanding your comment, but if you have such an event ongoing and you manage to keep silence about it for over a year between ~300 people from half a dozen countries and 107 organisations - to such an extent that two hours before you have not more than ten tweets - then it looks to me that coordination works extremely well.
Disaster Recovery Planning – The 5 Levels of Triage
The less people use the web, the more they'll depend on the OS. Imagine if Facebook (or Slack) just had to build a native app for every OS they wanted users from, and there was no chance of using anything cross-platform to reach everyone. That would be the sweet utopia for the then Microsoft.

Making the dominant browser shitty is not identical to that scenario, but goes a long way in discouraging an OS-agnostic platform (the Web) in favour of their monopoly OS.
In all fairness - People have been building houses in similar climates for 5000 years, and while they didn't have indoor plumbing, they surely built their houses to some standard of insulation.
The Obamacare startup machine
I find some of the comments really surprising here. If you notice the headline and the article, you will see, this is about "used" phones from a top tier manufacturer. None of the other companies (Samsung, LG, Nokia...) are doing it.

Please do not compare this to Apple not being present in India. It is, in a large way, just not very affordable to masses, which Apple wants to change by selling old, used phones.

Disclaimer: I am an Indian, with an iPhone 6 and its damn easy to find it anywhere in the country.
At least where I live, most new cars are company leases, and bought by family at the age 1-3 years old. Private leasing and individuals buying new cars is rare.

This means the difference between what the median new-ish car price is when sold to an individual, vs. what the median price is for a new car sold to an individual is massive.
Given that you can run the same program on a billion bacteria should quite improve the odds of getting the job done.

Surely, also one has to account for possible other "jobs" that get done due to interference.

However, if your goal is to automate processes rather than develop cures to "run" in the human body then this is a very interesting alternative to using silicon, the parallel pipeline potential is enormous.

EDIT: Would it be possible to develop a biological CPU this way? I.e. having "instruction sensors" and a touring-machine-like DNA-robot that can execute externally supplied instructions? Putting that into a bacteria that can clone itself would surely cut down on costs of computing.
> Home subscriptions are not an option

In the UK market, the local newsagent will usually deliver to your door, so no need for a subscription team at the paper.
> It's just crazy to see them beat the competition so badly.

This amazes me so much. I cannot believe that companies like Volkswagen basically ignore the EV market (except some half-assed E-Golf or something). I mean even if it really turns out to be fad - which I don't believe - don't they want to hedge their bets a little bit? Has nobody there ever heard of companies like Nokia, Blackberry, etc.?
Say you need to draw a 100 bilion samples without replacement from a dataset with a trillion plus rows, the resource requirements for hashmap would become enormous.
"official government policy"

That makes the government sound like single atomic entity - it is, of course, made up of politicians who spend a significant proportion of their time playing the game of politics.

Nick Robinson, the BBC Political Editor, has described how Number 10 typically can't see the diaries of cabinet ministers as this would allow them to work out which minister was lunching with which journalist and therefore where particular leaks came from. Of course, Number 10 also briefs for and against individual ministers.
Although it's way more than an SSE wrapper, the Eigen library is excellent in my experience and targets multiple platforms.

http://eigen.tuxfamily.org/index.php?title=Main_Page
Ha, of course it does.

And for this reason I'll never buy a Rift.
It's not just remembering where the buttons are, it's the ease of using them. I don't have to remember the exact position of every button. I can feel for the button if I miss it, I can feel whether I'm fat-fingering other buttons and adjust, and I know when I've successfully pressed the button. This all adds up to me not looking at the dashboard.
This is not correct as written: "But we have k < N, so if we are O(N) we are also O(k) or better."
Sorrrrrrta. GSM the spec requires that 45 mhz of tx/rx spacing by convention, but GSM the technology as we colloquially know it, e.g. if you're code-shifting 2G (i.e. via CDMA) you could get away easily in the 900-928 range @ full duplex. No technical limitation at all there. This was briefly discussed in an older thread by myself and a few other chaps here[1] but I guess tons of other people have had the idea before too haha.

The US spec GSM phones operate at (a nominal) 850 mhz, but like you said there are plenty of eurospec (and asian spec.. and US issued quad-band..) which can operate with off-the-shelf with all the (again, nominal) 900 mhz[2] band tech that's being phased out. It will pick up, negotiate the handshake and route just fine. The issue is really just like any other cellular network: getting tens of thousands of antennas up, and having people buy new phones that are quad-band and/or carrying around an eBay phone for what amounts to a novelty.

I'm not on the cutting edge of milliwave or RF anything (all voodoo to me) but as I see Agilent come out with more and more sensitive test gear, I can only presume that the wireless industry is getting way better at tuning YIG's, VXCO's, eliminating side-band tone bleed, and what not. Much like the analog (i.e. 1g, remember those Motorola flip-phones? I do1!) -> 2g shift increased capacity by 3x, I'd have to imagine new encoding techniques and what not are being developed by the PhD's and postdocs. Who else is going to buy a $300k network analyzer otherwise, haha

[1] https://news.ycombinator.com/item?id=11414069

[2] If you talk to old-time HAMs they'll joke about how the FCC really regrets throwing away a few hundred billion dollars worth of band in that spectra alone. You can pack a lot of content into each Hz down down there.
He means: outputs are sorted.
> where it runs out of energy very quickly (after an hour or so for aggressive drivers)

Won't this be the case for any car though, especially sports cars which usually have a lower range? If you are driving at an average speed of 160km/h+ then you are going to need to stop fairly often. With the current EV technology any car will feel limited compared to an oil powered car which you can 'recharge' in under 5 minutes.
Does that mean that you can remove the cheating battery? Yaay!
It demonstrates a compelling interest and need in fixing the existing system.

I think Sci-Hub is amazing. I use it myself, I've written a brief "I am a Book Thief" essay (I need to brush that up) and had some discussions. I exchanged a few emails with a reporter from Nature on my own use of Sci-Hub, though I suspect I won't appear in his piece -- I'm apparently "quite unique" as a user. Unaffiliated, doing independent research on my own.

But I've got access to material I couldn't possibly otherwise obtain without phenomenally more time and cost. The ability to see a footnote and call up in a few seconds the article in question and read it to confirm understanding is simply amazing.

And the amount of published information that's still not available freely online, from the 1920s onward, is, frankly, criminal.

Sci-Hub doesn't change everything. Most especially, it doesn't change the current "publish-or-perish" regime in academia, nor the stranglehold "high-prestige" journals have over career advancement.

For-profit journals don't just play gatekeeper over readers of papers, but over the authors. If you cannot get your work into a prestige journal, your career languishes. And those journals are almost all proprietary, commercial, closed-access. This is a key roadblock to replacing them with open-access.

But Sci-Hub does but a sizeable crack in the dike. We can hope.
I suppose they are busy meeting the demand from U.S. customers, but I hope they will go international later on.
How groundwater depletion led to the world’s first edible spoons
Yeah, the article was pretty dense so I just slogged through it hoping I would get to the explanation part.

Nope, it just gave me ugly c code at the end.
Not sure why this downvoted? This is precisely the reason I went with Arch too: it is nothing more than a package system, systemd and a huge wiki that lets you grok how everything works. For everybody else there's a huge amount of distros that does the job fine (better?) without having the hassle of having to know how things are configured and what not...
Realistically the vast majority of C and C++ codebases today will never touch anything more than x86 and ARM, and I wouldn't be surprised if most never even get past x86, so I don't buy the portability argument. Portability between SSE and AVX is a better argument.

But in any case, if you're using SIMD in anger, chances are you have hard performance requirements that you really care about, and a one size fits all approach is going to leave valuable performance on the table. Whether you just have to target your own servers, or any x86 CPU made in the past 6 years, or that plus NEON-equipped ARMs, it will probably be worth the effort to duplicate the code paths, especially in comparison to the initial effort of figuring out how to vectorize your problem in the first place.

And while it's nowhere near "leftpad", if you really want an SIMD wrapper and know what you're doing, it should be well within your capabilities to write your own. Maybe not quite as spiffy as the one on github, but when I get anywhere close to assembly I find that I get more value out of doing everything from scratch and truly understanding what I'm dealing with, rather than leaving anything in someone else's hands.
"sequential" in the sense that if returned values are i1, i2, ..., in, then 0 <= i1 < i2 < ... < in <= N.

A MLCG will return numbers all over the place; sorting them will take an additional O(n log n) time.
Haha, spot on.
With the new Microsoft, C# definitely looks better than Java!
plenty of Vladimirs go by Vlad. Source: used to live in Russia
I am imagining what PKK could do with that info.
I doubt it, since the episodes are from 2012.
>Even in brand new cars you can replace the brakes

Just as a note, that's not always true. Replacing brake pads is one thing, but if you need to take the caliper off for service or air gets into the ABS system, you may find yourself unable to properly bleed the brakes without access to the tools needed to get the ECU to bleed the ABS system.

Depending on the car there really might not be any feasible way to complete some repair other than to have the dealer fix it. It's not even just obscure dealer only parts that other vendors don't make. When it comes to anything related to programming control modules, the manufacturers seem to want to lock this down as much as possible.
That's a neat trick on Ford's part. Maybe car touchscreens need a different interaction language. Instead of touch being the primary action trigger, touch would only change the selection (and produce some tactile/haptic feedback as the selection changes) and a harder press (with its own distinct feedback) would actually activate the function. By dragging your finger around the screen, you could feel out the layout of the controls.
Website visitors chat with you on Facebook Messenger
> I'm genuinely curious how you would think of three dimensional objects without ever being able to see them... [...]
> without reference to anything you can see with your eyes, how would you describe space?

But the thing is: I wouldn't have to. People without sight live in space too. What mental models of the universe anyone has inside their head may vary wildly, but at the end of the day a torus is still torus-shaped when the lights are out, and West is to your right when you turn North while upside down.
No, it's like saying everyone should cut down their JavaScript files by 1kb to reduce emissions.
I would probably go with auto-reply as soon as he post something, receive the text message and then edit the reply to something meaningful. Fun read! :)