skysight-inc/HackerNews huggingface dataset:
LISP fan? :)

The trick of course is that then your libraries effectively define your language. There are various sweet-spots of native-language features, standard-lib features, and external libraries. I think it is a matter of taste and trade-offs.
There's a lot of ways to parse technical debt. The simplest one I've found, while it has its shortcomings, is this from a Deloitte article:

They state, in general, it costs $3.61 technical debt / line of code.

"Technical debt is a way to understand the cost of code quality and the impacts of architectural issues. For IT to help drive business innovation, managing technical debt is a necessity. Legacy systems can constrain growth because they may not scale; because they may not be extensible into new scenarios like mobile or analytics; or because underlying performance and reliability issues may put the business at risk." (Tech Trends 2014, Deloitte University Press).

It's an easy to use metric to weigh the cost of supporting programs, and relatively simple for managers to understand. It has the added benefit of encouraging reducing the size of the code-base when possible.
Driverless Car Doing Doughnuts on Busy Residential Street
I can appreciate how self-aware their name is.
Hmm, not for me.

curl -I stackoverflow.com
HTTP/1.1 200 OK
Date: Wed, 13 Jan 2016 14:09:28 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: __cfduid=d2c4c2c1e163203195948c66c50e3c5ec1452694168; expires=Thu, 12-Jan-17 14:09:28 GMT; path=/; domain=.stackoverflow.com; HttpOnly
Cache-Control: public, no-cache="Set-Cookie", max-age=33
Expires: Wed, 13 Jan 2016 14:10:02 GMT
Last-Modified: Wed, 13 Jan 2016 14:09:02 GMT
Vary: *
X-Frame-Options: SAMEORIGIN
X-Request-Guid: 0a20c4ed-091d-4b25-8b1e-d4715f5d4590
Set-Cookie: prov=d02396ea-3c9b-423f-ae4c-0c95e7d167b9; domain=.stackoverflow.com; expires=Fri, 01-Jan-2055 00:00:00 GMT; path=/; HttpOnly
Server: cloudflare-nginx
CF-RAY: 2641adda9fa9259d-ORD

ping stackoverflow.com
PING stackoverflow.com (104.16.33.249): 56 data bytes
64 bytes from 104.16.33.249: icmp_seq=0 ttl=55 time=11.742 ms
64 bytes from 104.16.33.249: icmp_seq=1 ttl=55 time=10.346 ms
64 bytes from 104.16.33.249: icmp_seq=2 ttl=55 time=9.665 ms
64 bytes from 104.16.33.249: icmp_seq=3 ttl=55 time=9.238 ms
Funnily enough, I just received an email promothing this: http://csplusmh.com/
Of all the the big tech companies that have a stake in content delivery platforms, Apple has been the most quiet in terms of actually creating/commissioning its own content. This would certainly be a big swing in that direction and put them far on the opposite side even ahead of Amazon.
Firefox OS is not helping the web
Previous role:

* On-call is a week long (Tuesday to Tuesday 10am) rotation

* Primary duty on a page is to triage and be a point person during the incident

* Proper procedures during day-to-day coding should make the on-call shift be uneventful 99.9% of the time

* Managers are escalation point, then Directors, then VP of Eng

* Revert to previous state and call it a night is an acceptable fix - the primary issue can be resolved the next day

* Blameless post-mortems
I was asked this question in an interview 10+ years ago. I thought it was a really good question to promote logical discussions. Lots of branches and extensions you can add to see how people think. Really fun.
Many people are apolitical. They simply have no idea what is going on around them.

Many other people believe that what they do is good for the country.

And a small handful want to affect change from within.
I've found that over time, it became easy for me to parse. It's just one arbitrary set of conventions over another.

Making the superfluous grapheme smaller and the important graphee larger actually makes logical sense for me. YMMV
(This is not disagreement with the original post, but further musings.)

One of the other problems with the technical debt idea is, debt relative to what? Since I think most people do not consciously instantiate an answer to that question, I think most of us non-purposefully choose by default a comparison to an idealized perfect code base that is somehow perfectly correctly factored, yet also as fast as completely optimized code, completely documented without being overdocumented, simultaneously optimized for all possible future changes, and despite not existing at the moment, also perfectly understood by the original team such that they can do anything they like to it, and such understanding will survive any such refactoring, all accomplished in exactly the same amount of time that it took to write the terribad code that we actually have.

OK, but that was never on the table, though. What I described isn't even possible to manifest, and even if you back it down to what is at least sort of possible, you don't have the resources to manifest it before you simply run out due to lack of customers. You're not really taking on "debt" if you fail to manifest that, any more than you are taking on "debt" if you fail to make every possible dollar you could if you perfectly correctly harnessed your skills and made the perfect deals.

I think what a lot of people call "debt" is simply the natural state of code. Debt is something somewhat more exceptional than that. There is a core idea of value there, because there definitely is an operation where we deliberately make a short-term choice at the cost of long-term pain, but it requires more thought than I think has traditionally been given to it. The baseline needs to be more carefully defined.

As I said at the top, I'm just musing here; I don't have a ready-to-go definition of "baseline quality" here.
Yes I plan to add cover images for each card. There's already a search on the homepage (top right). Maybe it needs to be more prominent :-)
Inside the vault: A rare glimpse of NASA’s otherworldly treasures
It is in fact exactly what the commenter said: “a specific religion”, “holding Islam to the standard of modernity”, rejecting half of the Quran as trash, etc. are blanket references to an entire major world religion.

I cannot say whether it was due to bigotry or gross ignorance but neither is helpful to anyone other than groups like ISIS or their fortunately less-successful Christian fundamentalist counterparts who are trying to spin this as a war between religions.
This looks awful to my (mathematically trained) eyes. What is the rationale behind introducing this language feature?
MonoDevelop is far from decent IMO. See my other comment for detailed complaints.
Keynote was released in 2003, do you consider it being part of the stagnation of the presentation industry?
Sorry I should have made things more clear. I am talking about in things like function signatures.

Doing something like isinstance(x, str) is discouraged and considered non-pythonic, and recently hasattr() has also been talked about. However, both strings and lists can be iterated, so assuming that this will fail is incorrect:

x = "Hello"
for y in x:
print("{} is {}".format(y, type(y)))

I asked on IRC and ultimately the only answer I got was that the most pythonic way to do things was to name functions whatever_str and whatever_list.

edit: I also should have said above "lists can't be compared with strings using <". I was trying to point out Python did things potentially correctly there, but I see now it's ambiguous.
I do not run Emacs in VM, I edit files on the host! lsyncd just transparently copies all my changes into the VM, see the details in the gist. In another setup this also worked with Eclipse when lsyncd synchronized compiled classes into the VM.
Even better:

16 * 18 = (17-1)*(17+1) = 17^2-1 = 289-1 = 288.

Provided of course you know your squares.
Apple Fiber vs Google Fiber? Sounds good to me.
I believe the saying is, "There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors."

But seriously I do still have problems naming things. And when working with other developers we can never seem to agree on a good name. The name he or she chooses is usually way different that what I would choose.
I initially thought the parent was being unfair to the VCs, but then considered policies that exclude other investors, like preferred shares and buyouts that fall just short of any payout to common shareholders, and so forth, and realized it's pretty accurate.
He is right to a degree, VS2015 implemented many refactoring tweaks and functions that were only available in ReSharper.

Now VS2015 can refactor and inspect code by itself pretty darn good.
A professor in college suggested to me that if good people don't work for defense companies, then only bad people will be working in defense companies.
Well, it has it's benefits.
I don't like Redux and I like Reflux so it allows me to do that.

Then again Rails does let you switch out compatible parts. By compatible I mean if it adheres to "Railties", e.g. using ActiveModel for replacing Pgsql with MongoDB.
If people work 70hr/week in a data parsing company - I suspect they parse the data manually... :)
Wow does that UI ever look cluttered and claustrophobic. Doesn't seem like they want anyone to actually read their email.
I've been meaning to make an online version of Calca.io / Soulver, which I love so much! If this is it, that'll be awesome.

Currently, I can't really use it much because the examples won't load (they flash, and then disappear)
C'mon -- is it really that big of a deal? Since when did a little skin or innuendo become "unprofessional?"
>A lot of people are probably okay with the US having an organization that murders and tortures people

Though it's presented as a trade off, torture isn't just bad from an ethical perspective, it's bad from a technical perspective.
Your comment reminds me of the last book I read as per Bill Gates : "The Rosie Effect". Albeit the protagonist takes it to an extreme level but his conclusions matches yours. Humorous quick read.
Yes Roslyn is first party and it naturally does load, and it's very memory-intensive. You can see it happening without any extensions installed.
I can't believe that the companies still haven't figured out that autoplaying things is just plain wrong.
How+To+Get+Out+Of+A+Dead+End
>> they are not political at all

They are just following orders. Nothing wrong with that. Since 1939...
Applying the maximization of benefit logic, "work backwards" is very meaningful to a very large population of readers, "work recursively" is somewhat more meaningful to a very small population.
"default <T> Extension<T> contraMap(Function<T, S> f) {
return (T src, Results results) -> Extension.this.apply(f.apply(src), results);
}"

Java 8 Lambdas provide such an elegant syntax for anonymous classes... When lambdas were first introduced in Java , a lot of people were underwhelmed by them. It is hard to evaluate at first the impact they can have on a well designed API.
BTW, these ads might have been served in interest based fashion. It is not always safe to blame publishers for those racy inappropriate ads.
I really couldn't tell you. I guess "it's perl, we can"?
That is office space scattered around downtown Palo Alto that once hosted a large variety of small startups. Now those little startups are moving to Redwood City or San Mateo, replaced by opaque gray locked doors without signage.

It has gotten so bad that Palo Alto enacted an ordinance to ban the conversion of downtown retail space into office space. It is nicknamed the "Palantir Ordinance."

http://www.cityofpaloalto.org/civicax/filebank/documents/477...
A hard limit of 15 lines might be acceptable for a very high level language such as Prolog, but it seems too short for most other languages. That said, there's a limit to how much anyone can hold in your head (short term memory) at once, though. I've had to work on code where several C functions were around 500-1000 lines each. Is that acceptable?

They seemed to work (i.e. had no obvious deficiencies), but there's more to code quality than error rates. Functions should be readable, easily modifiable, testable, and in many cases reusable.

Apart from possibly initialization code and functions containing large switch statements, I limit function length in my own code to a screenful: more precisely, one sheet of A4 paper if printed. (60 lines, 80 columns.)

See also 10 Rules for Writing Safety Critical Code (http://spinroot.com/p10/) Rule 4.
This is from the NY COMpost. Take this with very large grain of salt.
> no browsing history/cookies and got the same ads.

Maybe that's the point ;) With no history, they're using what works best :D
I've been thinking about this before, but more in the sense of ever-increasing copy protection: I would propose that, in order to qualify for extended-term copyright, an unencumbered version is put in escrow, outside of the copyright owner's control. This would then ensure that when the copyright term is over, the work is still available and in a suitable format for adaptation.

Not sure how that would translate to MMO games though... should we put only the code and design in escrow, or also (parts of) the generated worlds? Player characters? Design tools?
#1 - why aren't you using AdBlock, or Ghostery, or Privacy Badger. Any of those would block these ads
#2 - Since you are not using the tools above, you are sharing a lot of your browsing data to trackers elsewhere on the web that aggregate the content and present you with what they think you will like. No judgement, but maybe start using incognito mode for your NSFW browsing. I turned off my blockers and none of the ads I was shown were anything like what you describe.
The downside to this is if you have an alarm that requires you to solve such a problem, you might solve it while half-asleep and then not wake up.
9 Actions Make You a Leader People Want to Follow
I reached adulthood at the start of the cell phone age and was a relatively late adopter of smart phones, so I know you obviously can live without them, but why would you want to? I don't need a dishwasher if I can wash by hand, but why? I can use the stairs instead of the elevator, but why? I can go live in a Mennonite community instead of Brooklyn, but why?
it's cloud based as they note SaaS: Conducts the “heavy lifting” algorithmic analysis of the anonymized information and generates an updated mathematical model for the client.
I think his point was that a news site should have anything remotely NSFW.
Ask HN: Programmers of HN – What do you think of podcasting?
Hey guys. I'm thinking of starting a podcast where I'd interview programmers to find out about their wisdom and share it with the rest of us.
What do you think of podcasting in general? Do you listen to them regularly? Do you care about listening to interviews (assuming the interviewer asks the right questions)?
I also suspect Saudi Arabia is trying to rattle sabers with Iran for a variety of reasons. The recent execution of the Shia cleric had to be aimed at Iran. Plus the Yemen conflict etc.
Roslyn is released under the Apache license - https://github.com/dotnet/roslyn/blob/master/License.txt
bzzzzt

Install uBlock.
Show HN: PyExPool – Tiny Multi-Process Execution Pool for Python
http://snowplowanalytics.com/ -- this is an another Open Source project which you can use in house and a loads and loads of predefined metrics and documentation.. but I agree the approach here is simple and rock solid, plus you have complete control of it. Just wondering if JSOB datatype is used to store the unstructured data into Postgres?
Yes, yes. We all agree on that. By why are you saying that " you can not ask them to allow you to keep on violating their terms". Why is asking them for an exception forbidden?
How long is the medium term in that context ?
With everything revealed in the Snowden leaks, it doesn't seem like the good people are having much of an impact.
The first two seem to be set operations ("value in set" and "filter values not in set"), I've no idea what the third one is supposed to do, something like all ((==0).(`rem` 2))?
I don't normally go for pop culture quotes here, but this one seems rather appropriate:

Oh, get a job? Just get a job? Why don't I strap on my job helmet and squeeze down into a job cannon and fire off into job land, where jobs grow on little jobbies?!
Do Google, Microsoft and Facebook have their own content?
PyExPool is a single-file lightweight implementation of Multi-process Execution Pool with per-Job and global timeouts, opportunity to group Jobs into Tasks and other features, which are not available in the Python multiprocessing pool.
Unlike Pebble library, which is designed for the asynchronous execution of Python functions, PyExPool is designed for the asynchronous execution of modules and external executables.

PyExPool can be embedded into your sources and customized, having permissive Apache 2.0 license and production quality, being used in the core of one high-loaded scientific benchmarking framework (https://github.com/XI-lab/PyCABeM).
Well, if the previous poster was actually at work, they may well be on a machine that they can't install software or browser extensions on - that's the case with my employer issued laptop, for example.
There's decent devs here in Toronto. You just need to pay them above average pay.

Also, getting people right of school is a good way to get talent before it moves south.
web developers?
Automated Bug-finding in LibOTR
What does this practically mean? One can still write a closed source application and link to Qt right?
> Can you expand on this? Do you mean the incentive is to push for a constantly higher price because you have to hold on to it?

Thinking at a macroscopic level, in an open market, the price of a security isn't just "what people are willing to pay for it" (contra great-GP), but rather the balance of what people are willing to sell it for and what people are willing to buy it for. When you prevent one half of that price-discovering mechanism from occurring (selling), you can expect an imbalance -- at least for the market as a whole... for specific, individual companies this may be a second-order effect.
Exactly my question - can't believe you are being downvoted. Says something about the mindset of tech.

These guys are the bad guys. The idea that people can "change the culture" is at best naive.
I have probably as much anecdotal evidence as you have, but from my experience tinder caters toward pretty much everyone, I've seen people trying to do a hookup for childcare on tinder.
Steven Landsburg has pointed out that the problem is a bit underdetermined, and the usual solution is far from unique. For example, "the first pirate gets all the coins and everyone else votes yes" is a subgame-perfect equilibrium which is just as good as the usual solution, because no pirate has an incentive to deviate unilaterally (one vote can't change the voting outcome). There are many other equilibria like that. The moral of the story is that games with more than two players seldom have unique solutions, unless you make very strong and explicit assumptions.

Another problem which puzzles me even more is dividing a cake among three people by majority vote. Let's say Alice and Bob make an agreement where each of them gets half of the cake and Carol is left out. But that's unstable, because Carol can offer Bob a different agreement where Bob gets 60%, Carol gets 40%, and Alice is left out. Since Bob gets 10% more than before, he has an incentive to switch. But that's unstable as well, because now Alice can make a similar offer to Carol, etc. In the end there's no possible setup that everyone will stick with. As far as I know, this problem is still mostly open (though a few advances have been made).

To sum up, the idea of "perfectly rational" decision-making is surprisingly difficult to nail down. It's been definitively solved only for the case of two-player zero-sum games. When the game is not zero-sum, you get complications like bargaining and equilibrium selection, and when you have more than two players, you get an explosion of complexity without any clear-cut answers.
Memory usage and performance are two things, though. ReSharper may not add much to the memory load, but the IDE still feels sluggish.
The only way to win at powerball is to never play. I'm up whatever the average player is down (100's of dollars? 1000's?).
The caveat is you have to survive the bureaucracy, which is probably unmatched elsewhere.

Just a month ago I visited DC and a contractor asked for help on some of his code...the JSP was quite cringeworthy, and I was amazed the contractor could not figure out what was a simple CSS issue. Even though I had lived in DC for about 4 years and started my development career there, it had finally clicked how old technology was in the government, along with the methods of development (I had never done any development for the government, although I've been on the receiving end of some very bad bugs on software created by contractors).
> at the same countries like India who import and depend heavily on crude are having good times (relatively).

That's not really true. If you want to scare yourself look up what the "baltic dry index" is and what level it's at. Other transport indices (e.g. free space in harbours, train freight, ...) are all down hard.

Whatever the cause, but America and Europe have slowed down in ... pretty much everything they do. Goods transport is the clearest indication of that, but far from the only one. Somehow building in the US and Europe (and India) is down. A lot of economic activity is down in fact, the exception for now is very large debt-free services corporations.
Before: LGPLv2.1 or LGPLv3 or GPLv2 or pay for a commercial license

After: LGPLv3 or GPLv2 or pay for a commercial license

"LGPL version 3 differs from version 2.1 in two fundamental aspects. It explicitly protects the right of the end user to not only compile their modifications, but also deploy and run them on the target device. This essentially prevents the creation of fully locked-down devices. Secondly, it explicitly includes a protection against patent claims from the entity distributing code licensed under LGPLv3. These two additions greatly help protect the end users’ freedom when using source code licensed under LGPLv3."
Dumb question but I feel like an actual empty barrel costs more than $30. Or is the barrel not included in the price?
They could have explained it differently instead of going backwards. I tried to explain the backwards part to my mum and she didn't quite grok it.
Then I explained it from perspective of A, B, C and so on.

When A is in charge this affects....

When B is in charge this affects...

Maybe that's recursively?

solve(pirates) {..... solve(mutatedPirates) }
I use Elm in production and I feel like I have a sufficient interop toolkit between implementing tasks (writing native modules) and ports.

Unlike Clojurescript, Elm interacts with your explicitly defined Javascript boundary rather than tries to let you mix it all together in the same soup.

The person you're responding to points out that they were more productive once they refinanced their code to take on some technical debt, but that's always an available trade-off in programming.
It'd be hilarious if every tech bubble was conveniently bookended with an acquisition of Time Warner.
no idea what all(@ar1) < any(@ar2) would be

Subset?
Ah that's a good one. I had powers of 2 in mind.
After seeing your comment, I opened the article again, scrolled down, and didn't see anything like you were talking about. Then I remembered that I have uBlock Origin installed. It sounds like you might want to consider a similar ad-blocking extension.
Show HN: Help me crowdsource a definition of Americanness
Facebook's users are its content factories. Same goes for Youtube.
Visual Studio Code is not an IDE, and never will be.

It's a bit of a silly name in my opinion.

I don't think that MS have any plans to add debugging, or build tools into VS code.