skysight-inc/HackerNews huggingface dataset:
dependency graphs and code analysis are huge topics. this is probably the hard part with libraries like npm or Bundler.

the graphs can have cycles, multiple references to the same dependency, multiple distinct versions of the same dependency, et cetera. it's also all very, very language-specific. in many languages, the order of the require or import statements matter; in others, they don't. you can also have something like Clojure, with several different ways of bringing in a dependency, which makes the whole issue much more fine-grained.

prior to writing these scripts, I tried to do something more ambitious with auto-refactoring tools. these exist in Eclipse and can even be graceful in Smalltalk but my own results were not so amazing. I got somewhere with regular expressions, code generation, and shell scripting. but I also built a thing in Ruby which could auto-refactor a tiny, TINY subset of the most obvious refactorings in JavaScript. it took me months, maybe harmed my sanity, and was definitely not the best code I ever wrote.

TLDR: compilers, zomg.

edit: forgot to say you're welcome. :-)
Isn't your last sentence also entirely true of Uber's current business model?

if "Uber should be able to maintain their own cars at a lower cost than individual car owners can", then Uber should be buying cars today and leasing them out to their contractor drivers. Truck fleets do this, pretty much, so it's not a completely crazy idea. Uber isn't doing that, which suggests that Uber thinks its a better deal for them to have their drivers shoulder the ownership, maintenance and depreciation costs of the capital. Why does self-driving change this?

Only reasons that seems to make sense is because people think that Uber is only compensating their drivers for their labor - but they're not; they are compensating them for their labor as a driver plus the lease and use of their car.
'Devious Defecator' case is a landmark for US genetic-privacy law
We just take turns paying - it avoids all the micromanagement of getting each dollar back from everybody. Everyone has a big bill once in a while, and free lunches the rest of the time. As long as the group who goes out together is reasonably consistent, in the long run, it is fair to everyone.
With Babel you can always be sure you're on top of things, with experimental stages being available to the user for testing future language proposals (ES7, ES8, ES20) and a to-die-for plugin architecture. ES6 has become pretty minimal --not as minimal as CoffeeScript, but getting there, with things like:

let { destructured, vars } = myObject

let foo = (num) => num * 2

class Foo extends Bar {

constructor() {
this.callFoo()
}

callFoo() {
// Note the simple syntax
}

}

Also, remember: no need for semicolons, but be aware when they can hang you up! (IIFE's, etc).
Oh come on. I use the Linux desktop a lot, typically Xubuntu but lately ElementaryOS and its full of quirks and oddities that cement why OSX and Windows are the leaders and why the "Year of the Linux Desktop" never happened.

Hell, Elementary and Mint seem like the first really usable desktops I'd even come close to recommending (No, grandma has no idea how to even begin using the GUI Ubuntu ships with now). It took us how many years to get here? 20+? While the whole time Apple and MS had easy to use GUI's and stable OS's that just worked.

Desktop experiences are a lot harder to perfect than we give to credit to. I wish more people understood that.
I would bet the biggest opposer to divorce will be the INS ... imagine the Green Card businesses that would enable! After all, it should make little difference to INS whether people choose to have their multiple marriages in series or in parallel.
Try Chrome for a month and you'll get it. I'm switching back to Firefox, but believe me, the argument holds weight.
Get Ready for a TAKEOVER: Big Brother 17X02 (Season Premiere Part 2)
A good UI would be to have the USB's normal state be "ready to pull", and have the icon in the tray turn red when there is unflushed data in the cache, and turn green when you can safely pull the drive. That way there is nothing to remember to click on. Then, in the case where another write starts up just before you pull the drive, give you the ability to plug the device back in to let the data flush to it (after the OS check the volume ID of course).
> I'm being vague here, because bigamy is a felony.

I'm sure your vagueness is really slowing down the investigative arm of law enforcement that normally goes around searching the internet for evidence of dastardly polys.
This article contains no actual content and a bunch of technical errors mixed in with technical fact mixed in with bias opinions (partly developed from a poor understanding of how things work).

Nothing of value here.
I find it frustrating that languages features work actively against you when you're trying to understand something.

Wide inheritance and macro usage are probably the worst. Good naming can aid understanding, but basic things like searchability are harmed by this.

Of those two, macros are the most trouble. You can't take anything for granted, and must look at every expression with an eye for detail. Taking notes becomes essential.
Dart 1.11.0 Changelog
> (what this mean is that no... Haskell isn't any better than other language, it's just that they have people who know Haskell very very deep to the compiler level...)

This is extremely presumptuous for a parenthetical. If this is what you believe it merits a comment all to itself, because I don't see how this follows in the least. To rephrase what you're claiming: if a language has a flaw than it can not be any better than any other language.
Came to work today, opened the internal web page and saw this - #ProudToLove - https://www.youtube.com/watch?v=WSiehK2asbI
Adium for OS X hasn't caught up to this fact yet, and still requires a 3rd party plugin[0] that requires Skype to run for it to work.

I wonder if anyone's trying to advance this at all -- the 3rd party plugin doesn't seem to receive updates anymore.

[0] - http://xtras.adium.im/index.php?a=xtras&xtra_id=5011
The whole part about being "hacked" is hilarious. It seems way more plausible that Skype internally uses fonts with special glyphs for its icons, and that when it couldn't find them for whatever reason, it defaulted to the next font on the font stack, which had Chinese characters on the codepoints where those glyphs were expected to be.
I have recently jumped onto working for a very huge codebase at work. In general here are a few tricks that helped me.
1) Look at the unit tests and see the flow of the code
2) Try to make a mental picture of how the code is organized(doing it on paper is more helpful)
3) Every codebase has few core classes that do lot of heavy lifting, talk to other contributors and ask them to point you to these.2) also helps you achieve this.
Good luck.
Here it means "more popular than Lisp, Java, C++..." - so context matters.
Linux actually does this on purpose, and has for some time. The NTFS driver was kind of scary for a long time (not sure if it still is) - read/write support was beta quality at best. So, the developers of the driver made Linux mark every NTFS volume as dirty, once it was mounted read/write. Then, when you booted into Windows, it would see it as a dirty volume, and do a file system consistency check on it - which is what the Linux driver was aiming for.
Energy LCA: The real cost of energy
I don't have any moral objections to poly-marriage, but I don't think it's the same thing as gay marriage. Prohibition of gay marriage is rooted in the identity of individuals, but prohibition of polygamy is based on the amount of participants in the union. No one is discriminated against in the face of poly-marraige prohibition because it has nothing to do with the traits of any individual.
> The GUI-oriented 90's vibe, meaning zero examples that anybody would ever bother learning.

It was written in the 90's. GUIs were what application developers did back then. Web apps didn't exist yet.

> The bizarre stuff nobody ever uses (Flyweight? Bridge?).

If you've used enums in Java or instanced rendering in a game, you're effectively using Flyweight.

> Singleton -- 'nuff said.

They caution really hard against overuse of Singleton in the book, but all of those C programmers being dragged into OOP didn't know where else to stuff all their global state so they went to town on it.

> Factory, which favors opaque, magical return-type polymorphism.

If your language doesn't have first-class classes, Factory is really handy. If it does have first-class classes, well that means you basically have the Factory pattern in your language. :)

> Visitor, which is a solution in search of a problem

The day you write a compiler in an OOP language is the day you realize how unbelievably, amazingly, incredibly useful Visitor is.
>On average, people who are married are going to have sex with a smaller number of distinct partners than people who aren’t married. Thus, gay marriage, if it has a significant effect on gay sexual behavior at all, will clearly reduce the risk of HIV transmission.

You're neglecting the possibility of increased gay sex due to wider acceptance, which would affect even unmarried gays.

Can you make the argument for higher risk from legalizing incest in your own words, so we can see why it wouldn't apply here?
I used to live with 3 roommates and we kept a spreadsheet in google docs of who paid for what (bills, shared groceries, etc.) The spreadsheet automatically figured out who owed who and how much.

Every now and then someone would pass out some cash to catch up (and log it in the sheet). It worked surprisingly well for us.

I think the reasons it worked were 1) everyone agreed in principle, and 2) not entering your updates was effectively the same as giving everyone else money.
That sounds like an attempt at a constructionist argument. That's not what I'm reading at all in this opinion.

I'm reading about the 14th Amendment being something that develops over time, helping people discover new freedoms, and be the very best they can be. It's fluffy stuff.
The age at which the brain is capable of the higher levels of executive function necessary to make rational, informed decisions (not saying that such decisions are guaranteed, just that the brain is capable of considering them) is a function of biology, i.e. defined by natural law.

The legal framework of consenting age protects the abuse of a minor's inability to "think like a grown up", though it's arguable if the age of consent is too low (because biology dictates an older brain has a matured executive function capacity) or too high (because some kids, as many can attest, are wise beyond their years).
Wouldn't you agree something similar applies to workplace discrimination? For example, I would never be willing to work with someone who discriminates against gays. However it is only due to my own economic circumstances that I'm able to act based on that preference. One could as well conclude that the root of the problem is people having to tolerate unfavorable conditions just to get by, and that addressing the issue of discrimination is just a temporary solution. I live in Panama not in the U.S.
1. I take a picture of the restaurant bill, in case my memory is obstructed by alcohol.
2. Bill people using Venmo. Email then the picture I took.

For more complicated stuff, life travels, I keep a Google Spreadsheets which calculates what each paid, and how much each needs to pay to the others. Then I share it with everyone.
> No hearts and no minds are changed as a result of the supreme court rulings, just the code powering the justice system.

A lot of the "hearts and minds" you talk about are animated by "tradition", which is often code for "continuing to do the thing I grew up with". The legal code changes what people grow up with, thereby changing future hearts and minds.

Take a look at the graph of approval rates of interracial marriage:

http://content.gallup.com/origin/gallupinc/GallupSpaces/Prod...

Some of the change there is changing hearts and minds. But a lot of it is just the replacement of bigoted hearts and minds with new ones.

As Max Planck wrote, "A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it."

And if that's true for science, it's much more so for cultural things like this. I think there's little point in continuing to harm GLBT families in the hopes of preserving the delicate feelings of people who were unlikely to change anyhow.
Hi Kevin and Sam,

We are working on a new version of http://www.muusical.com. The new version is a significant change. It is going to be a free Spotify that is powered by a crowdsourcing platform where users add the music and meta data.

I would love feed back about a strategy for approaching investors who are wary about music startups.

If you're interested, read more here too: https://angel.co/muusical

Thanks!
The Constitution guarantees that the government will be fair to citizens, and places certain restrictions on its powers. It does contain any rights in it at all. Rather, it assumes the pre-existence of rights, and works from there.

When it comes to rights, the onus is on the side of proving something is NOT a right. This goes all the way back to the founding of the nation and is enshrined in the 10th Amendment.

So yes, people have a right to same-sex marriage. Why? Because they want to. That's enough in the United States. If the government is going to intervene to prevent that, it needs to demonstrate a compelling reason to do so. No one has demonstrated such a compelling reason when it comes to same-sex marriage.
How Hackers Crack Supposedly Secure and Private APIs
It depends. But yes, Rails is certainly "still relevant".
The advantage is that you aren't fighting against the surface tension of the water. The disadvantages are that you can't breathe, or use your arms.

In my (admittedly dated) experience, a good crawl stroke (what is usually used in freestyle events) will beat the underwater dolphin kick, because the arms create a remarkable amount of forward power.
Debugger++

Without a debugger you're a sitting duck!
How is a London 20-room Victorian property only worth a million pounds?
6 Kinds of Tasks That Programming Can Automate
I wonder if they would feel free to gripe.
memaroo.com

Memaroo is a web research dashboard, designed to make iterative web searching organized and more efficient. Memaroo records your search history into different projects, which can be accessed from anywhere -- so you can search for things on your phone and then continue your research later on your desktop. Projects can also be shared with other users, allowing collaborative searching and result sharing.

Memaroo is an improvement to an established search paradigm. But people are comfortable in that paradigm, despite its flaws.

How can I get potential users to break their existing search habits and try something new and possibly better?
Even if it's just a social ceremony, the government should not give it special legal allowance. The government doesn't recognize Quinceañeras or bar mitzvahs.

If you believe that marriage has an important legal function, it's also not fair to preclude polygamists from getting those same legal utilities.

A much better generalized solution is to expand the purview of contract law to allow it to do everything marriage does.
The Mormon Church used to not allow black people to become priests, they probably changed that under threat of losing their tax-exempt status.
This answer is going to be rather unortodox and might get downvoted but this is how I do it:

I just skim throught all the sources, then somehow I am able to point approximate file and line of code where a specific question might be answered.

This might sound "out there" but I realized during college I had the ability to recall the approximate location of specific information I needed from a textbox If I just skimmed through the whole book at the start of the semester.

For years I did this out of intuition, then about 10 years ago I took a course named "photoreading" and to my surprise they were teaching my "ability" but with clear steps so anybody could use it effectively.
Complete Visual Testing and Continuous Integration with Seltest
+1 your microscopically sized comment
I agree, but I believe it's seen as more complicated to reclassify existing unions in law. The UK recently promoted 'civil unions' to 'marriage' status rather than downgrading traditional heterosexual marriages to unions.
But the same tool would let you create a partition map...
I think they will end up like airlines. Not a great business to be in.
Xdebug and Netbeans, tons of tutorials on how to set it up on google/youtube.
Haha, I can but it will leave you unimpressed. This was my very first coding project. It's a front-end app, so good ol' fashioned HTML/CSS/Javascript. Libraries used were:

- jquery

- Datamaps (for the map)

-ElementQueries.js (to do responsive design for a given element, pretty cool, check it out)

- Bowser.js (to detect browser)

- moment.js (for the "time since")

And I think that's it. LMK if you have any other questions.
I am not sure I can buy into the "it's a choice" camp.

If you were a avid meat enthusiast, you owned your own meat smoker, held barbeques on the weekend, and your license plate said "3atmeat". if you woke up one morning and said, "You know what? Imma be a vegetarian" there is something disingenuous about that. Even if you decide that the treatment of animals by the meat industry is cruel, and you chose to abstain for ethical reasons, if a perfectly cooked and seasoned steak was presented to you, you would probably salivate.

Now, instead, if you found yourself never really enjoying meat, and found that dining without meat was more pleasant to you, then it would seem you were always a vegetarian, or at least have vegetarian leanings. and did not realize it.

EDIT: with respect to the person below: to be clear I am not saying that being gay is necessarily genetic. Perhaps neurological, but my claim is that you cannot fight against what feels natural without some repercussion
He probably had a vesting schedule. So it may not be all that large of a chunk of equity.
I totally agree with the sentiment -- which makes it all the more frustrating that they'd rather riot than compete.
The Importance of Finding Partners Before Launching Your Crowdfunding Campaign
That's basically correct. It's always been legal, and efforts to stop gay marriage have basically been efforts to narrow the scope of this already legal right.
IANAL. FYI, this is a constitutional issue that goes back to the early days of the court. See e.g. https://en.wikipedia.org/wiki/Judicial_review_in_the_United_...

The essential response from Kennedy et al. was two-fold:

1. Marriage is a Right because the due process and equal protection clauses were designed to be interpreted broadly as society came to "understand" liberty in new ways. I think this is actually pretty damn accurate -- I have no doubt that some of the founding fathers had slavery on their minds, even though at the time the amendments we're interpreted in that way.

2. Rights are not subject to the "vicissitudes" of public opinion -- the democratic process doesn't get to take away rights.

Roberts and Scalia mostly disagreed with (1), but there was very little substance to their argument. Read through the four justifications given by Kennedy. Roberts and Scalia doesn't respond to these. They just sort of complain about a slippery slope to tyranny. But this court is by far less activist than previous courts and we have yet to devolve into a dictatorship-by-SCOTUS. So I'm sceptical of the veracity of their slippery slope argument. It would have been more compelling if that had talked more about this specific case.

Roberts and Scalia also made some more practical arguments, e.g. that democratically selected policies are more robust protections because they can hash out the details. I mostly believe that's a false dichotomy because there's very little evidence that courts conferring Rights upon groups of people actually shuts down legislative action or debate on either side of the question. Look at abortion or civil rights. Ultimately, I find this argument extremely ahistorical and massively empirically denied.

(As an aside, I think Scalia's "o'weening pride will be our fall" thing was a pretty dickish thing to say, given the overloaded connotations associated with pride in this case.)
It seems like Facebook seems to be the one company developing a lot of the very interesting and useful tools for developers.
It's tricky picking a "best fit language" when you're not sure at project inception what you're fitting it to. Say, for instance, that you're developing v. 1.0 of an application in a new application space. Your CEO catches wind that another company is looking to enter that same space. She is also adjusting requirements to find a business model that works. You would choose a development stack that allows rapid prototyping and refactoring.

Once you win user-share in the space the application starts having problems with scalability or debugging becomes an issue or a myriad of other problems that come with success. Now you need to consider writing parts (or possibly the whole application) in a development stack that allows greater scalability or has built-in semantics for core functionality in your application, thus allowing less reliance on 3rd party libraries, etc.

The other factor is that the team who authors an application may have a totally different skill set from the team who takes over the mature application. The authors may have been VB developers with good SQL skills. Your current team has more people who have dealt with Haskell in large-scale applications.

There is some parallel to home-building. A homeowner does a room conversion for more space, more privacy, etc. The builders of the home didn't install tracks and sliding-panel walls for better room configuration. At the time, they didn't see a need. The homeowner now has a need, so he goes through a much more expensive (relatively speaking) building effort.
Um, yes it is. Levirate marriage is pretty simple; if a woman dies childless, her husband's brother is obligated to marry her so that she has a chance of bearing children, even if the brother is already married.

And for some entertaining context, go read the rest of Deuteronomy 25:5, where it says how the brother should be punished if he refuses the marriage.

> "Every instance of polygamy has a bad ending in the Bible."

This is simply not true. Tell me where Lamech's or Rehoboam's marriages caused a bad ending. And as I said above, King David -- perhaps the most famous of polygamists -- is never rebuked for his marriages. The Bible makes a very clear point of rebuking him only for his adultery:

David did what was right in the eyes of the Lord, and had not turned aside from anything that He commanded him all the days of his life, except in the matter of Uriah the Hittite. 1 Kings 15:5
I'm neglecting it because it's not a realistic possibility. You can't just imagine any old wacky scenario and use it as the basis of your argument -- it has to be plausible.

Gay marriage would most likely have no significant effect on male-to-male HIV transmission rates. In contrast, it is quite obvious that legalizing sibling marriages could encourage siblings to have children, thus increasing the risk of babies born with genetic defects. That being said, it is not clear to me that this constitutes sufficient grounds for making sibling marriage illegal, and I am not strongly opposed to legalizing it.

If you seriously think that there are lots of gay men out there just waiting for gay marriage to be legalized so that they can have lots of unprotected sex, then you really need to increase the diversity of your social circle.