skysight-inc/HackerNews huggingface dataset:
> Yes it's enough if the property setting logic is only executed once during the lifetime of the object. So, it only works if they're supposed to be immutable.

They are. Dig out some of the talks by Rich Hickey on immutability, he tends to put it pretty concisely, better than I ever could. But primarily it's about capturing snapshots of your world at a particular point in time so that you have a consistent view of the world. So all objects should be immutable.

http://www.infoq.com/presentations/Are-We-There-Yet-Rich-Hic...

> Plus, public fields cannot be used for data binding.

JsonConvert.SerializeObject()

JsonConvert.DeserializeObject()

That's all I need, or a .Select(). I don't use WinForms or any of the standard ASP.NET databinding stuff, it's ugly as sin. Even if I did, isn't there a LinqDataSource or something these days? Not sure if that would do the job, but I'd assume it would work with the results of a LINQ expression? Anyway, I don't really need that, and being able to reason about my code is more important.

> Plus, you can't debug nor log whenever a field value is read.

Never caused a problem, there's always the code that reads from it. Stick your breakpoint there. Also when you use immutable structures throughout, your bugs tend to not be in the 'values' (i.e. an immutable structure).

I tend to be breakpointing in the ctor if anything to check the setter logic or input values. Once the object is set, that's it. No need to keep checking.

> Also, you can end up having to convert it into a property, and this involves various compatibility risks.

Fields an properties are incompatible? How?

> What do you gain instead, with your design choice?

* I can pass an object to another method and know it's not going to change it without my permission.

* I don't have to analyse the inner workings of a class to find out how the state is going to be changed when I call a method on it.

* I can pass the same object to two threads running in parallel knowing that there won't be problems with the two threads writing to the same object..

* I can easily write transactional code and 'rollback' when it fails.

* I can write pure functions which makes it easier to test my code.

It's much easier to reason about a data structure if you know they won't change basically. There's huge advantages to that. Personally I find it makes my code more reliable and easier to compose and manage long term.

I agree it's not all sweetness and light using immutability with C#. There's more boilerplate than necessary and there's very little in the language to help the process.

Personally I think it's worth it, YMMV.
> For example, the paper "Out of the Tar Pit" suggests "Functional Relational Programming" as a method of reducing complexity in software. Unfortunately, I can't evaluate the efficacy of FRP in practice because there is no language allowing for it

Are you sure?

http://clojure.com/blog/2012/02/03/functional-relational-pro...
I think this would be an interesting sculpture for a campus math building. I can imagine John Raymond Henry doing it. If Claes Oldenburg made them into gigantic cigarettes, there's no telling what would happen ;-)
That's an excellent question, especially since LinkedIn publishes an SPF record specifying both the IP ranges and the second-level domain name of legitimate MXes for its mail; prior to the DNS hijack, I'm not sure how it would be possible to carry out the phishing attack without giving any hint of foul play. (I do implicitly assume such hints would've stopped the target from clicking the bogus link, but given the way he's described in the article, I think that's not too unreasonable an assumption.)
In some cases a delay in starting the pinger would delay finding the recorders, but does that actually cause any noticeable harm?

It is important to find the crash site quickly, in order to help any possible survivors, but the pingers do not help with that, do they? Aren't survivors found visually or by the emergency locator transmitter?

It could delay the forensics investigation, but that usually takes years to reach a conclusion anyway and depends on inputs other than the recorders, so it is not clear that getting the recorders is even on the critical path for that investigation.

On a different note, I wonder if it would make some sense to have echoers instead of pingers? That is, instead of automatically sending out a periodic pulse, they would listen for a pulse and then respond.
I would generally assume that sqrts of primes don't overlap, so you can always do exact comparisons of rational coefficients? It wouldn't be perfect, but it would do as well as a person with pen and paper and a hundred years.

[[
Approximate algorithm, in case I'm not being clear: you need sqrt(35), represent it as 1×sqrt(5) × 1×sqrt(7). You simplify each expression evaluated down to roughly what you'd write on paper in RAM, and then you do exact comparisons - is that the same coefficients of the same number of the same prime sqrts? For greater than/less than you cast them to a hundred-sig-fig float, and if those are still equal, keep going down the rabbit hole. Obviously the RAM requirements for complicated numbers would be large, but that's the same with rationals - this is just taking it to the extreme. I'd be very surprised if some function of sqrts was exactly the same as some other function of different sqrts.
]]
But the attacker didn't yet control the DNS when he sent the link to the exploit; he needed the exploit in order to compromise the router and put the DNS hijack in place. So I'm not sure how the hell it worked.
Self-driving race car beds.
Almost all the awkward modules I've come across work when you use --system-site-packages
Interesting: approximately half of this (my) cohort's children do not live with married parents.

EDIT: Even more interesting, 41% of single (living alone) women at 27 have a child.
> you already acquired many of these customers and if the affiliate sites didn't exist, 99% of these sales would still happen.

That's only true for a small number of vendors (those that are "unique" in a relevant way, such as clothing brands). For everyone else, it's a "Red Queen" style race, where you have to run just to stay in the same place : you have to do it, because someone else did; if no one or everyone does, nothing changes - but if only some do, those who do have an advantage.
Note that at that point in the attack, he had not yet gained access to the router, so he didn't control DNS yet.
What is the best data scientist program that will lead to actual job placement?
https://www.coursera.org/specialization/jhudatascience/1?utm_medium
https://www.udacity.com/courses#!/Data%20Science
https://generalassemb.ly/education/data-science
http://www.pce.uw.edu/certificates/data-science.html
But for the most part, isn't it self-defeating (outside of graveyard hours)? If I see that my gym is low-traffic or nearly empty, I'm going to go there. Surely I can't be the only one with that mindset, so suddenly, low-traffic periods are quickly followed by spikes of use. This probably breaks down in the midnight-5am range, but overall, I think it's going to be hard to break past that mindset for an app.
I recently consulted with a logistics company. Turns out reroutes and missed orders are expensive. Really expensive for the company. Since the company also used owner drivers, the cost of the reroutes are put on the drivers themselves. Naturally, the incentive is not to reroute.

Actually, after working with them for a bit, I am a lot more sympathetic to posties who just leave stuff at the door.
Corporations are often made up of more than a hundred thousand people, divided between thousands of things.
I highly doubt anyone that has anything to do with SCEI had anything to do with anyone in Sony Corporation.

I don't understand how people have opinions on a fucking corporation. I don't think Jack Tretton is yelling at the legal department of another company. Besides, the consoles basically act as brand identity tools for Microsoft and Sony. Microsoft's gaming divisions only posted a small profit for 5 years and Sony only posted a profit during the height of the PS2.
"Nobody" has written this document...
Too bad they didn't include Asian Americans in the survey. Much disappointment. Census data from Pew shows a lot of interesting differences between Asians relative to other races in America.

Anyways, interesting to note that women of all races get some college or a Bachelor's degree at a higher rate than their respective male counterparts.

Also interesting is the correlation between highest attained education level and likelihood of having a child by 27. Anecdotally, all friends in my various circles are college educated and only started having kids after the age of 29.
> The level of support for this Eich character is truly mind-boggling

I'm not going to state my opinion on the topic, but I've seen others claim that as much as 60% of the population was pro-proposition 8 (seems reasonable since it did pass).

If that's true, then it should be no surprise that many-many people would supple Eich simply because they share his views. Granted they may want to cloak it as free-speech to avoid being targeted directly, but surely some people on HN have to share his views.
I actually do the combining idea all the time. As long as the language is roughly pcre compatible you can use this to spit out your regex and (if necessary for your alternate language tweak it a bit so it fits).

I've generated some very massive regex's that are quite speedy.

Merger

https://metacpan.org/pod/Regexp::Assemble

These are also super handy

https://metacpan.org/pod/Number::Range::Regex
https://metacpan.org/pod/Regexp::Common
wow, did not see that coming when I submitted this, what a pleasant surprise! This is why HN is such a great community and why I will continue to submit interesting, in-depth tech hacks.

I look forward to the insightful discussions and sharing of unique ideas/perspectives, this is how innovation is born!
Rust is self-hosted, so the compiler's written in Rust.
There aren't many comments here, so I'll take the liberty of adding a thing or two.

This is a CAESAR submission by Rogaway and friends. It is essentially a construction that uses AES and transforms it into a block cipher of arbitrary size. The authentication comes for free by appending zeroes at the end of the message and checking that they remain zeroes after decryption.

This is a nice scheme for users, since it provides strong misuse guarantees. Repeating nonces won't be catastrophic like in many of the other CAESAR ciphers, and the speed is quite nice (mostly owing to the hardware-accelerated AES-NI instructions). For implementers it's not so nice, as it seems rather complicated (especially if you do not have constant-time hardware AES instructions).

Like the majority of AES-based schemes, security starts to break down once you encrypt around 2^64 blocks with the same key. This is not AES's or AEZ's fault, it's a consequence of AES's small 128-bit block size. As a result, the authors do not recommend encrypting over 4 petabytes of data under the same key.

It would be nice if AEZ was defined in terms of a generic block cipher, but as far as I understand the scheme is quite tied to AES.
Thanks for the additional details on these.

I experimented only very little with Erlang when I was setting up an XMPP server but the syntax was so confusing. I could get over it eventually as I imagine everyone faces that.
Some people use similar reasoning to "explain" why quantum mechanics uses complex numbers.

http://www.scottaaronson.com/democritus/lec9.html

(scroll down to "Real vs. Complex Numbers", about 2/3rds of the way through the page)
Actually the project depends on the library which claims to implement the named rule:

https://github.com/orangeduck/mpc
Technology’s Man Problem
John McCarthy: "Elephant 2000: A Programming Language Based on Speech Acts"
Corporate liability is limited and it has no downsides whatsoever! It's all roses and sunshine!

Answer any blindingly obvious potential critiques of this position? Why bother? Everything is great full stop!
Would it work to have a different response to collision, namely to apply a reverse of your last step? (A full reverse or partial).

There might still be corner cases, but it would seem to resolve the described issue, since irrespective of where you think the other player is, if you both reverse your motion you should disengage.

I can see 3-body problems being more problematic, but that's probably also the case with the original code.
Same situation here. I agree with all your points and in addition a big help for me has been to sell my desktop computer (mainly built for gaming) and work from a laptop with no gaming capabilities.
I'd like to point out, that certain laws against gays/lesbians are unfeasable simply because it is difficult to detect who is homosexual by sight.

That's not to say that legislators didn't want to segregate the gay population, but perhaps they (a) found it difficult to implement or (b) believed being gay was a choice whilst being black wasn't, thus they could put gay men in asylums (common in England) whilst no amount of 'mental discipline' would change someone race.
Proof the Internet is a series of tubes.
When I cycle, I never pass a car on the right at a crossroads. Even if they are not signaling a right turn. Regardless of who has the right of way there, I am going to lose a vs. a car.
Firstly, I enjoyed his talk. It was pretty insightful into the ways so many businesses and corporations today think, and how we've lost track of building the future.
However, there's one thing that really bugged me about his talk. It basically boils down to the fact that you have to take into consideration Moore's Law and have to pay a hefty sum to make any useful invention by paying for the technologies that are 10-15 years ahead of its time to do anything useful for the next 30 years. How does one "invent" in his terms today without the equity that he refers to which you need?
I can imagine that in a typical American city, but I wonder how this would work in a typical European city. Where you don't usually have so nice even blocks like in the US.

I could get to my parents w/o a left turn. So I don't think it is impossible to avoid left turns in a European city but I think it is much, much harder to do so.
I was actually asked to referee this article. (I think I'm allowed to say that since I declined, I won't say which journal it was, and it's on the arXiv.) Although I agree with everything Scott says, I also recall another fundamental confusion. The author makes a grossly unjustified jump from (a) assuming the Universe as a "computing device" is "performing a calculation"--when in fact this mean our method for making predictions employs this calculations--to (b) concluding that you can construct a physical device capable of harnessing that power so as to perform similarly difficult computations. In fact, all sorts of problems come up in trying to make this leap that have to do with the finite precision of realistic preparations and measurements. The author did not acknowledge them.

For the sections where the paper was strictly discussing my area of expertise (decoherence), the author avoided egregious errors but basically just summarized some well-known ideas in a haphazard way that didn't advance his argument.
I think many "real world applications" tend to directly or indirectly support our biological goals of individual and/or species survival and reproduction.

Of course, the same could be said of basic research, but it is further removed and so requires more forward thinking to appreciate.
Linux news from AMD and Mentor Graphics
That is true, and unfortunately I have used Python only sparingly until now, and have no experience using PyGtk at all.

I took a quick look at PyGObject[0] (unsure if that is what one would actually use for this), and the most helpful part seems to be [1], giving some hints on extending GObject.Object, which should be translatable to extending other existing GObject type classes.

As for porting, I agree that can be a pain in that case. When bindings move from a manual implementation to inflating it from an external description. You often end up with good tutorials for the first, and good API reference for the second. If I need to understand other kinds of Gtk bindings, I search for examples on custom TreeModels or other potentially messy things like that to get a feel for it.

[0] https://wiki.gnome.org/action/show/Projects/PyGObject?action...
[1] http://python-gtk-3-tutorial.readthedocs.org/en/latest/objec...
> "By 27 years of age, 32 percent of women had received a bachelor's degree, compared with 24 percent of men. "

And because of the huge inertia in political discourse, the gap will have to reach something like 50% vs 20% before it even becomes acceptable to raise this as an issue.
AFAIK, there's a growing trend of children being born out of wedlock at least based on studies I've seen on Pew Social Trends.
The problem with most phishing emails are that they suck - they don't even pass a cursory smell test. A linkedin from someone I know who I'm not already connected with (not too hard to figure out potential connections especially if you've worked for small companies), worded exactly like a linked in email only changing the accept button link? Odds are I'd click and not look at the link target.
Also, Moore's law might be applicable to computing hardware, but it isn't necessarily generalizable to other sorts of inventions.
Computing power and storage makes the computer of the future?

If you think like that, "new" things can only come from storing more data and processing it in new ways. That seems rather limiting...

Off the top of my head, I'd expect the "computer" of the future to know a lot more about my immediate surroundings. That means sensors, not big data, computing power and storage are useless. Can I get sensors that are 20 years ahead of the stuff that's mass-produced today? Maybe, but it's certainly not something I can rent for cheap.
I´ll repeat one of my comments in a previous submittion of the same paper:

There are some experiments where it’s easy to see quantum effects in “big” things. There are experiments that show explicitly the wave behavior of helium atoms (they have like 2 electrons and 12 quarks, and a lot of gluons, they are not a single particle) http://en.wikipedia.org/wiki/Helium_atom_scattering . I think there are bigger examples, but I should google a little to find them.

Also, the superconductivity and superfluity effects are due to quantum mechanics effects (a lot of properties of solids only can be explained correctly using quantum mechanics, but they are not so evident).

There is more hand waving that a proof here. Obligatory Xkcd: http://xkcd.com/1240/
How many roundabouts would you… round-a-bout in the process, tho?
Finding jobs for human beings once the autonomous corporations and AIs take over.
I’m writing about this because yesterday I was a firm believer that Bitstamp is
a company that is responsible for the power it has as the biggest bitcoin exchange,
and I’d like to set them back on track.

Why exactly did you expect that?

None of these BTC exchanges are obligated/compelled/forced to do anything for any of their clients. Bitcoin is no different from any other payment method in the sense that you still have to go through some middlemen who always have to balance customer service with preventing fraud - real or imagined...
Ha,
94-99 I worked at Siemens in Boca. RIght near the end I stared listening to German on tapes, but alas... I am still mon-lingual. I have two beagle bone blacks, and a multitude of Microchip PIC boards. My current job we designed in a dspic33fj256710. OF course I have a bunch of the prototype boards waiting for the right project...
I will be off to checkout your site now..
Her First, and Last, Book
Could this inform urban planning?
Shouldn't we ban left hand turns more often for everyone?
I'd suggest trying to think about what types of things you want to build in the future and then picking a language that is used to build those types of things.

I can shout "learn assembler" until the cows go home, but if you want to go into AI and hate the idea of being an embedded programmer, then you'd be much better off learning LISP.

When I was a bit younger, everyone told me to learn PERL, because PERL was very powerful. I learned it, but never really needed it, because I never needed to write software that was heavy on text processing or system administration. If I were able to do it all over again, I would have picked R instead, because it would have been much more useful for my career path.
Congratulations on your win. First off, I am by no means an attorney so... You can probably find some sample contract templates via a Google search. Critical to your success though you will want to make sure that no matter what you cover at least the following: (1) timeline to completion; (2) payment terms as far as milestones and when payment is to be made and what happens if payment is not made on time or within a grace period; (3) the deliverables and timeframe for them; (4) what the client's responsibilities are (will they pay for any photos, licensing of plugins, what content they need to provide, and payment obligations; (5) I would add a clause that final copyright and/or files will not be turned over to the customer until final payment is received and cleared. Depending on the customer all of this can be something as simple as a Word document just spelling everything out that both sides agree to. If you plan to move full on with freelancing I would suggest hiring an attorney to draft up a simple contract that you can easily amend with the above details on a customer by customer basis. It may cost you a couple hundred dollars, but can be a lifesaver down the road should you run into that one customer (and the chances that will happen are pretty good if you freelance full-time).
ACLU launches user-friendly database of every Snowden doc
How I use Macaw
I imagine it'd depend on the density of deliveries. Once the truck is loaded and navigating a town, the marginal cost of a re-delivery is probably negligible compared to the logistical problem of recomputing optimalish routes and attendant schedules on the fly.
Yeah, printing coupons securely is hard and very Windows PC oriented - mobile unfriendly.
dtrx (Do The Right Extraction): http://brettcsmith.org/2007/dtrx/

"Modern" gui usually provide this too - For example in KDE I have a nice "extract > extract here, autodetect subfolder" menu in Dolphin (the file manager)
While this is an interesting article and this is certainly feasible, I'm left with the opinion that this is fiction and didn't actually happen.
If you haven't read SICP yet, I can highly recommend it. It is taught in Scheme (dialect of Lisp); you'll be reading one of the greatest programming books of all time while you're at it -- it certainly opened up a whole new paradigm of coding for me (and I still use Lisp in production today, along side Node.js)
FUD is fear, uncertainty, doubt. I corrected your statement by saying there is no reason for that particular fear, uncertainty, or doubt. I don't see how that qualifies as FUD. (I'm leaving this thread now.)
How can the car communicate with the Internet? Does it have a cell modem or something? Is a lifetime subscription included in the purchase price of the vehicle, or does the user get a monthly bill?

Wouldn't a real industrial espionage operation disconnect or Faraday cage the vehicle's remote communications capability as their very first step? If you were trying to reverse engineer Tesla's secrets, would you really care about voiding the warranty?
It is extremely unlikely. They only have enough power for about 30 days, and they are generally only on reasonably large, commercial, aircraft, or on military aircraft.

If they picked up a black box, and it is not from MH370, then it would mean that another large commercial plane went down there within the last 30 days and either no one noticed it was missing or it was somehow kept secret, or that some military lost a plane there within the last 30 days and kept it secret.