skysight-inc/HackerNews huggingface dataset:
> Otherwise my experience is that asking for a general purpose solver is, for now, hopeless.

> Instead, for the real problems I've had success with, have to look carefully at the problem and exploit special structure particular to that problem.

I am in complete agreement.

One way I have thought about this is that, rather informally, "the mapping from problems to solutions is highly discontinuous". That is, suppose you have a problem statement, and you figure out a method to attack the problem and solve it in practice. Now, vary the problem statement slightly. There is a reasonable chance that the new problem is dramatically harder to solve, and you need a completely different body of theory to even think about it, let alone solve it.

For example, suppose you have a polynomial equation in a bunch of complex variables. This is easily solved numerically in practice to any degree of precision you care for. Let's reword the problem a little and require that you are only willing to accept integer-valued solutions. Now you're talking about Diophantine equations! Have fun!

In practice, if you're participating in some project to solve business / industrial problems using optimisation, it is pretty common to have the definition of the problem change slightly every few weeks or months, as you learn more about the domain, or as people change their minds, or as the business actually changes what it does. Often you need to figure out clever ways of exploiting the mathematical structure in a particular problem statement to figure out a tractable way of solving the problem. Best to hope that the new version of your problem doesn't suddenly break that structure while you're "sprinting" towards the next release!
Interesting. I recently had a guy email me to say that my game Twenty (which I find induces a similar kind of focussed mental state as Tetris) was helping him with his military flashbacks.

On the flip-side I would imagine this is similar to the kind of 'hypnosis' induced by poker machines and the like.
http://www.quickmeme.com/img/3b/3bcf43f1e32c11142f206cc2501f...
Extensive prior discussion: https://news.ycombinator.com/item?id=9815839
Full-Funnel Retargeting: Why It Simply Makes Sense
Particularly when the horse has already bolted; the damage has been done. It's not like Snowden is publishing new documents.
Hacking Team Flash Zero-Day Integrated into Exploit Kits
> Makes you wonder, does the USG feel a sense of relief now that all this mass-surveillance stuff is out there and the general public doesn't care that much?

Referring to the US government as a single entity is a bit of a simplification, considering it's made up of millions of American employees and contractors. Many of them support privacy, and want surveillance reform. Also, there's been a large amount of ongoing public outcry, which keeps leading to more security advances in mass market products.
Yes. perl5 has the possibility to switch to better and faster regex engines, like russ cox' RE2 or pcre with jit support.
It's just not done in rperl.

In my perl variant I'm planning to improve the inefficient and overly simple and troublesome Spencer two-pass compiler with backtracking support to use the faster Thompson NFA without backtracking (RE2), and/or switch to pcrejit when no pcre-incompatible ops are used, like unicode character classes.
The first pass which calculates the space can be easily used for that.

But a better regex compiler should get away with one-pass and extend the ops dynamically.
> and a large, extremely low-probability liability requiring some collateral

Having read up on the topic, the problem appears to be that this probability cannot be accurately determined, due to useless models being used (e.g. Normal distribution to model complex phenomena).

So the probability is often not so low as the financial experts think. Besides that, it does happen that the liability becomes due, as in the 2007/2008 GFC. People were shocked because their models indicated that such an event should practically never happen (due to it being of such low probability).

When the liability is due, the whole system collapses (as it did in 2007/2008) because the collateral that is held is often not worth what it's is marked up to be.

So the whole system is fragile and prone to systematic collapse. Sounds pretty rotten to me.
I have a house in the UK which has a rebuild cost of £27k. The house is valued at approx £120k, but it's the cost of the land that makes up the rest.
It is called peoples republic(!) of China. As for communism, they play that card whenever it suits them.
I guess I'm not clear as to what "can't be coped with" means precisely.
How Many Angels Is Too Many? It Depends on the Founders
Oh, performance? Let's throw numbers around! Here, Elixir/Phoenix beats them all!

https://twitter.com/julianobs/status/614416512825323520

Hey, and Elixir is already way more expressive than Go and it's incredibly easy to build fault-tolerant and distributed systems, not to mention the productivity gains when using the phoenix framework!

Seriously, posting requests/second metric without any context about hardware and sample code doesn't help anyone.
You may be interested in a previous discussion of Optimisation / Operations Research in the context of FedEx. graycat's comments were particularly interesting:

https://news.ycombinator.com/item?id=9281466
I thank you - and all other who replied - deeply, but I'm not sure I understand you - or agree with you.

I do assume there are two kinds of banks. One is "retail", or financial services, as I understand it. Gets its money as fees. Another is investment - this one takes risks and reaps rewards, but it's a different kind of organization - somewhat similar to a group of people, who pooled their money and work on a kind of gambling, often reaping rewards, but also taking risks.

Talking about this second group, it's entirely different - for many people who are not members of that group of investors (risk-takers) it's outside of what they deal with. So I'm mostly talking about first group.

For example, my point regarding insurance is that I'm dealing with professionals having different amount of information than I do, and benefiting from that. Theoretically market should bring insurance premiums to some average profit margin. Also theoretically I should be able to earn on average more than I spend on average on insurance, so examples with big expenses are supposed to be exceptions, and on average I'd have more money paying for cases myself. In that sense, insurance premiums are spent (supposed to be, mostly) on cases where insurance events happen.

Next, "those same deposits" - I think the word "principal" is meaningful :) as there won't be interest without principal. So I still think we talk about deposits - together with added relatively modern service of investing, getting some averaged interest and paying some fees to the service which does the investing. Yes, that's the core service. Of retail banks... may be we actually agreeing here?

Next, of course banks invest, that's how they pay that interest. The principal money still aren't theirs - so banks don't "fund" - as in "fund with their own money" - since retail banks by definition don't deal with their own money; instead banks pass those money as credits - or, yes, even to buy shares. The fact that, say, universities takes their budgets from interest shows that service works - but it's not the banks, who "pay" - don't assign the source to them - it's principal, combined with the service (for which banks don't pay, but receive fees), which generates interest. Bank is a sort of an engine which you feed with fuel to get desired outcome (bad analogy, I know), but I think fuel here is more principal (sic), more fundamental than the service.
Really? I understand the point you're "attempting" to make, but to claim that what is acted on TV is the same as what actually occurs is such a stretch I didn't think anybody would attempt to make it.

I don't equate animated child porn with actual child porn, much in the same way I don't equate the beheadings in GoT with the beheadings of IS. But to insinuate that the poster above would extend their 'committing a crime,' in the case of actual child rape, to something that is acted out for TV is an injustice to what they actually said. In essence, you just threw up a strawman and attacked it as a way of validating your final point (which, by most accounts, I agree with).
That sounds like an extremely rational view of modern economics, I love it.

Can someone smarter than me tackle this argument?
Atlas exits technical preview, now GA
Apple Watch sales plummet by 90% since launch week
The article agrees with you that entering management is a cop out. If you want to keep growing as a developer, you need to specialize, is basically what the article says.

It's certainly opened my eyes; I'm very much a generalist, but I can see how, to get beyond a certain point, you need to specialize in something where quality really matters over quantity; you want to be able to provide value that two lower-paid people with twice the amount of time can't.

Security sounds like a great specialization, for example: a single great security expert can save a companies hide (which may be worth millions) in ways two average programmers won't.

UI/visual design sounds like another case where that's true. Look at Jon Ive. Having the product look better can mean you reach more people, which amplifies revenue.

I'm sure there are other valuable specialization areas where your expertise can multiply across a large organization.
Eh, I lived in a 400sq foot dome for four years. Always with a room-mate, sometimes with two. It was great. The bit of space between the couch and the wall just becomes some oddly-shaped storage space. Sometimes people would carve their own dome-fitting bookshelves in the wood shop.

There were fourteen of these domes, run as a cooperative, on three acres of land. The loans on building them were paid off in full by the early eighties, and I believe there was about a decade where no one paid rent. But eventually it was decided that a nest egg should be built up for upkeep and so on; by the time I was there, it was running about a third of market rent, and these days (due to some additional pressure to modernize) the rents are up to about 2/3 market.

Cooperative ownership is fantastic, and a great cure for the ails of capitalism. But they tend to not get a lot of investment for exactly the same reason: capital isn't interested in investing in non-capitalist spaces.

But it's certainly possible to band together with some friends to get an initial down-payment+loan. Then you incorporate the cooperative, and essentially 'sell' the house to the new cooperative, so that the 'rent' you pay to your new co-op pays off the bank loans. Once the loans are paid off, the cooperative becomes an autonomous creature, self-sustaining as long as there are people happy to live with other people and decide how the place will be run, rather than dealing with a landlord...
Nice book, I will recommend it to my gf that I've been trying to introduce programming for. Your book seems like a good starting point.
sure they do ;)

I would phrase that more like: Most enterprises believe they have automated tools etc. Sure, the desktops are controlled centrally, but most corporations i have been working with in the last 15 years have had very limited tools to deploy servers.

Most of the time, i have seen these projects get implemented, but then die out when they start to consider all the old in-house apps. In the last one i was at, they implemented the tools, but ended up using it only for basic system setup and patching. Any application was installed by hand and managed by hand.
How many years of Django experience you had, before started writing this book? Does this book come with any example apps? Is that code available on Github?

Thanks for the sharing the numbers :)
buy some. http://www.verisigninc.com/en_US/channel-resources/domain-re...
Of course, I can't answer for limedaring but I write software ebooks too. For each ebook, it's between 200 and 300 hours for writing, editing, designing, researching, etc
https://news.ycombinator.com/item?id=9844380
I welcome Eric Holder's honesty as well. It sets a good precedent for more (current and former) officials to come out and say, "these disclosures actually empowered the American people."
Nice website there.
Google’s Project Jacquard Aims to Make “Activewear” a Reality
“he”?
Fitbit IPO – the reference for the modern hardware startups
Yes, stocks can only climb by 10% max per day.

That led to some bizarre circumstances, where new IPOs during the upside mania were going up by the limit every day for weeks after the IPO.
Many many C/C++ programmers, even many of those employed by google, have a natural tendency to use a old C types like short/int/long etc. for integral types without thinking through X-platform issues or api interactions with other code.

Also, size_t is a frustrating beast. It's meaning is dependent on the platform. The Single Unix spec only calls for size_t to be an unsigned integer type. Now imagine you're writing code to compile over multiple mobile platforms as well as on x86_64 on the server side. Can you tell me what is the largest number you can address with that type -- without getting into a long google/stackoverflow session or hitting the compiler manuals for each of those platforms? If you absolutely want to make sure that your type can handle the values you expect it to handle, better give it well defined types provided by stdint.h (uint32_t is sooo much better than just int or unsigned int or even size_t for this purpose).

Now granted, you'd need to interact with external libraries (including libc/libc++) that'll want to use size_t etc. Not much you can do here but be very careful when passing data back and forth between your code and the library code. But that's been the lot of C coders since time began.
I would suggest that many people have never experienced it, and so don't know how important it is to them :)
I was wondering about the cost or pricing, but the answer is they won't say yet. http://www.bbc.co.uk/news/technology-33427816

> The BBC won't give exact figures on the costs - it says they're commercially sensitive - but says the vast majority is being covered by the partners in the project.
BBC to give Micro Bit computors to 1M school children
re low-magic/optimizable:

* The data must be all typed,
* there needs to exist a C++ mapping for this type,
* and there need to exist a C++ mapping for these typed ops.

Since rperl does this transparently it's a bit hard to tell which parts get optimized and which not. I hope we can create better tools or docs to see it.

re LICENSE: This additional selling clause is a violation of the ARTISTIC license, yes. But you can just fork rperl, delete this selling clause, and you should be fine, since rperl itself is under the dual perl license.
One important part of CBT for sleep is education about "sleep hygiene". This is the set of optimum behaviors or practices that promote sleep. Salient elements include establishing and maintaining a suitable sleep schedule, especially arising at a consistent time. "Winding down" well before bedtime, and minimizing light exposure in the evening will be helpful. IOW turning off light sources at the right time is encouraged.

That light exposure part is getting a lot of discussion re: computers, phones, TV's, etc., being produced with ever brighter screens. Idea is that staring at a "device" activates the wake-drive and interferes with sleep onset.

Other CBT measures aim to promote relaxation, reduce anxiety and "over-thinking" when it would be counterproductive. Put another way, reducing arousal at night is the goal.

Goes without saying particular approaches will vary with the individual, but these are some of the basics.
@ridiculous_fish:
Hi, I just found that you are worked on autolayout, I have a little question about autolayout.
There is a simple view as follow, a subView with some Constraints, they are all UILayoutPriorityRequired,when superview frame change, system will break the subView's height Constraint(300), but the top||bottom Constraint(30). they are all UILayoutPriorityRequired, why the system did things like this, and how does AutoLayout work (what's the calculate order? superView->subView->subviews'subview?),and where can I find the docs about this? :)

|-----------------------------|
| |	|
| 30 |
| | |
|-60-[subView(height:300)]-60-|
| | |
| 30 |
| | |
|-----------------------------|
(maybe this case is not much suitable,because I should remove or change some constraints, I just want to use this case to explain the question)
17-Year-Old Lizard Squad Member Found Guilty of 50,700 Hacking Charges
It's basically CBT tailored towards insomnia. Identifying and addressing behaviors and thought patterns that make it difficult to sleep. Sleep hygiene, mindfulness, etc.

As a sidenote, I did find a lovely PDF a while ago with a bunch of good sleep hygiene tips. As always, it's implementing the suggestions that is difficult, but :) http://www.cci.health.wa.gov.au/docs/Info-sleep%20hygiene.pd...
Why to Do Automated Testing for Mobile Apps
It's not been a problem (for a long time now) to find appropriate headers that typedef'd fixed size types (int32_t etc.) for almost any platform you would care about. For any reasonably complicated cross-platform codebase, it's not so much effort to include such a header in your code for the sake of improving the readability and debuggability of your code by a lot.
Well the page has a link to the Github repo, nevermind it's here https://github.com/black-perl/ptop

I guess it's better than top but htop is quite matured, yeah I did this for fun :)
GITHUB REPO - https://github.com/black-perl/ptop
>>A fine should be based on the damage done.

That's one reason fines exist. The other reason is to act as a deterrent, and $229,000 is not much of one.
If you need a generic component, then make a generic component. No one is forcing you to specify dependencies in all of your components.
Took me an hour but I got it! Staring at a solid background on my Nexus 5 on full brightness in a pitch black room did the trick. Horizontal linear oscillation was more noticeable for me than vertical for some reason, which meant holding my phone in landscape mode. The brush pattern is significantly fainter on my laptop than my phone, and I seem to lose the effect every few minutes when using my laptop. I've been able to bring it back by glancing back at my phone in landscape. This is really, really cool by the way.
shit, I use characters draw the constraints, but the Comment removed the \n characters, Add the "\n" by yourself:\n
|-----------------------------|\n
| | |\n
| 30 |\n
| | |\n
|-60-[subView(height:300)]-60-|\n
| | |\n
| 30 |\n
| | |\n
|-----------------------------|\n
I have had great success with Sleepio: http://www.sleepio.com.

It is a ~6 week CBT course that teaches you to have good hygiene, while at the same time understand what is preventing you personally from sleeping well, and developing your own routine.
Gotcha. I guess it's an OS expectation thing then. In OS-X, it's pretty much an assumption that dynamic linking is what's going to happen (good or bad).

Thanks for clarifying this point for me.
Bug 66984 – Need name for new image library (rename libpr0n) [RESOLVED FIXED]
> Unfortunately the availability of modern implementations for the Wirthian languages leaves something to be desired.

There is the Delphi-compatible, GPL-licenced Free Pascal¹). GNU Pascal²) is also still around but might or might not meet your definition of 'modern implementation'.

¹) http://www.freepascal.org

²) http://www.gnu-pascal.de
New Features of Laravel 5 – PHP Framework
There is no documentation whatsoever.
The ending felt a bit abrupt, so I guess that will probably be expanded on in part II or III of the series.
If he wanted to lose he would simply say "Vote NO for exit from the Eurozone's burden".
8 Years Later, Universal Still Defending Takedown of “Dancing Baby” Video
That's ridiculous. Here in Poland, ever since our beloved government started funding a percentage of new developer-sold apartment mortgages to young couples, the prices magically rose about 15-20%. Are you saying that the roofers and painters suddenly started demanding more money?
I expect Obama to do the same thing. Come out in favor of pardoning Snowden AFTER he is no longer president.
Hacker outplays a Bitcoin casino and steals $1 Mil
As someone raised in an environment that was centered around religion (commune-style, basically), I often worry about how our secular environment will develop as the religious underpinnings of our culture fade away. Our approach to long-term relationships is one thing that sometimes worries me, as is our approach to community-forming.

But as an optimist and a fan of change - change in general, even if it's sometimes bad - I'm really excited to be living in a time where we are free to rediscover and rebuild our world. I hope we can figure out how to keep the things that worked, and find replacements for the things that didn't.
What about remote option, at least for the beginning?
Can anyone shed some light on the design rationale for using integer types (most commonly int it seems, as here) followed by a check if the number is not negative, whereas one could just use an unsigned type right away?
Show HN: Pick Me lk l. An Uber clone
Excellent work!

Without wanting to take any credit from the author, allow me advertise my own Oberon information document.

http://www.progtools.org/article.php?name=oberon&section=com...

Enjoy the screenshots and links to Cedar and Oberon documentation.
Well, imagine that after "encrypting" the algorithm, its output always become fixed length.
Of course, this is all a big metaphor, not the exact way FHE works.
Is this something like http://cython.org/ for Python?
$229K for 150+ calls? Please tell TWC to call me! Unfortunately for me though, there is never such crazy amounts when suing in the country where I reside.
Yep, didn't want to seem like I was advertising. It's a bit pricey, and annoying that we have to use such tricks to unmask private callers.
Actually, the SFMTA plan clearly explains that private vehicles will not be permitted on Market between 3rd and 8th.
Nope between 3rd and 8th - no private vehicles.
I disagree with it, but the Google C++ Style Guide offers the rationale you're looking for (under "On Unsigned Integers"): https://google-styleguide.googlecode.com/svn/trunk/cppguide....
Well reference counting is also GC in CS speak and back then most BASIC systems made use of it.

Also by the time Java was known, some of us already knew about Lisp, Smalltalk, Modula-3, Eiffel, Prolog, ML....
This claim about ETL not needed in the future sounds dubious. I work on a large application that is all about ETL. If we wanted to use this new method instead, I am not sure how it would deal with the following:

- State in the data. In many sources we have, processing depends on some internal state, which must be kept along the time. For example some process has started and we will know when it ended, and we must keep its state so we could correctly process the ending event (to match it up). I am not clear how this will work with continuous views. I would say this is actually the major reason of what makes ETL processing non-trivial.

- Processing failure. Let's say something goes wrong and the data processing fails (or it can actually be even planned downtime). How do we know where to restart, to avoid processing data twice or miss data? Does the continuous stream take care of this metadata? And how does it deal with the state information per above? If you do data processing in batches, there is an obvious point of restart. Again, I think the extra complexity that "continuous" approach says is unnecessary relates to the fact that you want to be able to checkpoint the state of processing for various reasons.
Weird. How could you miss Lisp and Smalltalk in the early 90s?
Web Based Mobile Testing