skysight-inc/HackerNews huggingface dataset:
Compiler warning.

--- (edit)

The example, while being possible, looks quite improbable.

If it is only a matters of conflicting names, qualified names should be able to resolve the ambiguity; here I suppose you imagine implementing the same interface for the same type differently in two packages.

That a package implements an interface for the same external method for a third-party type is already dubious. Now, you have two packages like this and you want to import them both. That's quite a corner case.

Practically, the last package that is imported could "win" (so you can decide which you want). The compiler has to register all the possible implementations anyway, so a warning is trivial to emit on redefinitions.

----

I'd guess the restriction is to allow compilation of dynamic dispatch on a package basis (think separate compilation) instead of waiting till all possible files have been processed.
The sad truth is that it matters quite a bit for getting your papers into a good journal. It's just human nature (may even be subconscious) that reviewers are a bit kinder on a paper with a Harvard professor as the last author than one with a professor from the University of Southern Mississippi.

Some journals have tried double-blinded peer review, but it's difficult to do well. You have to remove important bits from the paper, like "this builds on our previous study [3]" or "our software has previously been verified and validated, see [6]".
http://stackoverflow.com/questions/4798356/amd64-nopw-assemb...

http://patents.com/us-9330011.html
Microprocessor with integrated NOP slide detector, May 3, 2016 - VIA Technologies, Inc
Previous discussion - https://news.ycombinator.com/item?id=12349391
Yes it is. Even facebook seems to be really slow last few hours.
A teacher/mentor is not the same as "worked with".

When Kevin Bacon appears in a film with X, who is the master, and who is the student?
The "in theory" part is the assumption that laws will stay as they are. The "in practice" is that Bay Area development regulations are a one-way ratchet, where more and more restrictions and costs are imposed over time. First something is proposed; then the government starts offering incentives for it; then it becomes mandatory; then it becomes stricter and stricter.

Eg., take subsidized housing units ("inclusionary housing"). At first, the state offered an incentive to build them, through the state density bonus law. Then San Francisco made 15% subsidized units mandatory in 2002. Then it went up to 25% earlier this year. And now you can't even get the state density bonus, because San Francisco will just pretend it doesn't exist, and dare you to sue them if you bring it up.
A recommendation from an influential professor can help you get ahead in the queue for competitive positions.
One compelling idea that I heard recently was looking around on odesk and similar sites for lots of similar requests and building a tool that solves those problems.

The upside is that you can find a probably that people are provably interested in paying money to solve. The downside is that most ideas you'll find are going to be a real grind to solve and are unlikely to be passion projects which is often helpful for success.
Police Motorcycle Crime Chase
>The expectation is salaried employees put in ungodly hours.

I am not US based and I've always wondered about this. In virtually every other western country, it doesn't matter if you're "salaried" or not - your employer is legally prohibited from not paying overtime. If your employment contract says you work 9-5, then anything outside those hours must be compensated, often at a higher rate (1.2x-1.5x is not uncommon in many European countries).

In the context of the US labor law, does being "salaried" functionally equal "being required to work unlimited overtime"?
With the speed and aggression that Amazon moves, it's going to be a challenge to implement this for Engineers.
I agree that leaving a bike unattended to bait someone to steal it isn't fair since there might be a non-insignificant number of people who wouldn't normally steal the bike but perhaps would rather ride than walk and would then feel guilty and ditch the bike a few blocks later.

However, there are also professional bike thieves who break into alcoves, garages, etc.; They also cut locks and/or beat up or knock down riders if they can't get the bike by waiting. My point is, not all bike thieves are the same and if someone didn't fit the profile of a typical bike thief then instead of arresting them, cite them. I'm sure most people who are not thieves but who stole a bike as a crime of opportunity would not do it again if it cost them as much as running a red light does.
The most important thing about this is that it will give other companies institutional cover to implement this within their firms.

I love my job but I have had jobs I've hated. Work sucks, go Amazon. If widely adopted, this would represent a massive reduction in taxation imposed on the average American family. A two-income family working 25% less hours pays over 25% less in taxes. Progressive taxes work both ways, Feds :)
The relationship between PhD student and advisor is often much more like apprentice and master than the relationship between two actors/actresses working together.
Preferring cash payments and taxes already being good enough is not supply side. Once self-driving taxis are available, they won't be uber exclusive. More likely all taxis will become self driving. If uber wasn't in the market before, it won't become welcome just because.

In addition to that, part of taxis service is human powered. Like helping you get luggage in a trunk and providing local knowledge. A taxi driver in Japan once told me they make most by driving old people from grocery stores back home. Will self driving car have a robot helping them with the bags?
I believe Prop 13 forbids the property-value taxes you are suggesting. This is the main reason why cities are not incentivized to build housing. The rather build office buildings, malls, etc. There is just more money in it.
> I loaded a 1.2GB ISO in the demo and it used… 1.2GB of RAM.

And what you expect here? Other editors usually take 2x to 3x of file size.
Senior dev is usually fine to stay at as long as you keep producing.

Amazon states that SDE-II is fine actually. I think that's just their way of keeping the bar for senior higher.
Quite meaningful. You can observe large differences of opinion in some fields that carry on from advisor to student. Take "freshwater" vs "saltwater" economics for example.
Simple explanation of the math behind a Bitcoin private key
Why did the poster mention "mentally handicapped"? Was that not an attempt to manipulate our perceptions too? Obviously playing on the notion that handicapped people are harmless, therefore it must have been race, but that too is a form of prejudice.
Yeah, when it comes to services in Japan, they go REALLY hard. In the hotel I stayed in, there was always a team of people standing by the entrance to the lobby just to welcome you inside, or tell you to have a nice evening when you leave. They had other people at the elevators with the same job: greet the people who come out of the elevators.

When we missed the shuttle to the train station, the shuttle manager apologized profusely, like they had done something wrong, when really we had just showed up a few minutes late.
Is it so strange that perhaps maybe the volatile tech industry that has had a spectacular crash before may have another one in the near future? And if so, wouldn't it be better that the tech industry not completely fuel the Bay Area economy and create a potential oversupply of housing at the same time? Would it not make more sense to tax this anomalous sector to keep things more balanced (i.e. disincentivize further growth) before the area ends up in a potentially similar situation as Detroit?

I don't live in the Bay Area, so I'm observing this from the outside. And I don't know much about the Bay Area economy either, so these aren't rhetorical questions, nor necessarily informed ones. But to me, the actions of these politicians, regardless of motivation, on the surface kind of seem rational in a long-term hedging-our-economy kind of way.
Software will continue its bifurcation into two income distributions, similar to lawyers. No lawyer earns average salary. That industry is split into low wage work and high wage work. I expect software will be the same.
London also has another problem, non-domiciled residents who only have to pay a flat fee income tax on global income and a non-existent property tax scheme. The combo leads to an explosion of real estate as bank account and very wealthy people moving into the key city of London, making it impossible for even the upper middle class salaried briton to buy property.

You might as well call the entire UK rainy Monaco.

On top of that, the finance types have been there for quite a while, but it's only in the recent few decades that have made london extra crazy.

Other regions of the USA have had economic booms, but it hasn't ended up with hyper growth in property prices because they have less supply restrictions in development.
I work for Intel, and just a couple weeks ago switched to a 32-hour-a-week schedule. I had to get approval from my boss, and presumably my boss had to get approval from his boss, but it was a pretty easy switch. So far, it's been great. Benefits are the same, salary amortized at 80%, and stock grants are reduced a bit more than that.

I think most people would rather have the extra money, for various reasons. If I owed a couple hundred grand on a mortgage or was saving to send my kids to college, I might think the same but as it is I have no house and no kids and relatively low living expenses, so I can afford to be a little bit self-indulgent and take a 3-day weekend every week.
Thank you, really appreciate your answer. I have played around with mocl, CL (sbcl+sdl on OSX + Linux) and at least with Chicken in combination with doodle and the chipmunk egg to create an environment/framework for 2d platformers. It's a bit tedious because my time and knowledge reagrding OpenGL is limited but it's fun to play around with. All these Lisps + Frameworks kind of work, but you will always hit the point where it rocks for one platform, and sucks on another. There is new kid on the block, carp-lang, from the guy who developed "Else Heart.Break()". Would be cool if this becomes something worthwhile.
Yeah, good point. Though it would be handy if you could at least within your own package add methods to types. But then I guess those methods would be uppercase but not exported, which would be weird.

You can certainly imagine schemes like specifying in the import which types to extend, but that seems complex enough that I'm not surprised a language as radically devoted to simplicity as Go left it out.
Oh wow TIL. So, say a neutron star has stronger gravity than given by its mass alone, due to its energy density? What fraction of gravitational force are we talking roughly for such an object?

Edit: Do photons have gravity even though they are massless?

Edit2: Is that why gravity can bend photons?

GRT suddenly makes a bit more sense to me if the answer to these are 2x yes, so thank you!
Go goes back even further than that. They started developing it on punched cards. Then the 1960s happened and... well you had to be there. Long story short, the project never got completed until 2012.
Lucrosa Binary Honest REVIEW
It's a relative thing - I know most Germans don't see themselves as privacy-minded, but the bar is so low everywhere else that the little things in Germany add up & make it stand out.

One example is browsing Google Street View and seeing how many buildings & houses are blurred out in Germany due to people sending privacy requests. I don't think I've ever seen that in Australia, but I keep encountering it when planning my trips to Germany. 3% of Germans opted-out of their house being included in Street View - a low percentage of Germans, but still crazy high compared to the rest of the world:

https://googlepolicyeurope.blogspot.com/2010/10/how-many-ger...
For massive text files, this is your friend: http://jujusoft.com/jujuedit/
This is very close to saying the government shouldn't tax anyone, and that people should donate what they feel comfortable with to various causes or departments. Taxes (and tax exemptions/loopholes) are firmly with government.
My company (Administrate - http://www.getadministrate.com) went to a 4 day, 32 hour week (but paid for 5) a little over a year ago. It's been a huge success, and we haven't seen any drop in productivity. We have had to be a little bit more efficient in some areas but overall the productivity gain was more or less "automatic". I'd recommend trying it to anyone, but understand it can be a scary thing to implement, mainly b/c it can be an easy thing to blame when things aren't going well. We have had some brief periods (usually when we're hiring) where teams have had to work 5 days, but overall we've been pretty consistent.
Furthermore, people in the field kind of know who is working on what. No amount of editing will allow you to anonymize that.
Never had that problem here in Edinburgh - been using the same cab company for years (both personal and business). They have an app or an IVR system or an operator.

Never had a missed cab, cars are always very clean and drivers good. I honestly can't think of a single problem I've had with them in what must be 15+ years of regular use.
Mastercard Propganda – Cash Is the Enemy of Financial Inclusion
Nope, you're not working. You or the parent. That's a nonsensical definition of work. Nobody is making you mull things over, you're doing it because you want to, because you find your job interesting.
Some may try to claim the contrary, but I'm sure if you're doing something other than a mundane task like driving or cleaning, your mind instantly gets sidetracked from "working". You can't possibly actually be thinking about work in any real sense while you converse with friends and family, read a book, watch a movie, etc.

Do you think carpenters never think about work after hours?
Leaving aside the "signed by Apple" angle, I find it ironic in modern companies that many of them spend a lot of money finding people to work for them, then they spend money paying those people, and then they spend more money making it as hard as humanly possible for those people to do their jobs.
Sorry but why do you think the mental load of work after work applies only to developers? I can tell you it applies to a bunch of jobs that have nothing to do with development.
> X is data. There is no defined structure to it apart from the fact that there are N elements and you can select them. Is it a linked list, is it a random access array? It is not yet defined to be structured in any way.

Sure, but then that's not the entire implementation, error: X is undefined. If you want to actually run that code, it needs to be one of those (or many other) things.
The test is totally fair in a sense that it does detect bias. What you're actually saying is that the bias itself is fair.

Now, normally, it would depend on whether the facts that you're citing are true and relevant or not. I don't know enough to judge that.

But secondly, even if the group bias is fair, it's still problematic when you apply it to a specific person. They do not necessarily have to be representative of their group average, and you owe at least giving them a shot to demonstrate that.
Well that just means that developers will start focusing less on story and more on mechanics. In a way, streaming will change what developers focus on when making their games in order to adapt.
Heroes of Camelot Cheat Hack (Android/iOS)
Hi I wrote this thing. I guess I'll comment on this thread since it got some attention.

I think a lot of people that are in this thread went into this project with the complete wrong state of mind.

I'm not trying to teach people how a hash table or linked list implementation works. I'm not trying to make a library that is useful to anyone.

What I'm trying to do is connect the dots between a bunch of different important concepts in data structures.

People can go read things about each of these individual topics to great length and I encourage them too, but in general there are a lot of great computer science resources for just piecing a lot of related topics together for beginners.

Sure you can read a 600 page book that will cover things from end to end, but those are very intimidating when you have no prior knowledge of the topic and sometimes you don't get as much out of them if you don't know the basics.

If I can provide people with just a quick highlight reel of essential knowledge of data structures then I've done what I set out to do.

I hope Hacker News can appreciate that, I don't expect it to, but I can hope.
A non-trivial probability of future rent control decreases the incentive to invest in new construction.
> Five years after the boom, it's time for San Francisco to ask the tech companies to pay their fair share.

I read a comment like this and I ask what the heck I'm paying taxes for? I'm getting ripped in both state and federal taxes. If the cities aren't getting their fair share of the money then they should take it up with he state, because somebody is sure getting paid!
MS Excel is absolutely unfit for most scientific and engineering problems.

The spreadsheet GUI, lack of good version tracking/history, and eagerness to coerce data types and "correct" values makes it easy to introduce errors that will go unrecognized and propagated through calculations. Unfortunately this story just keeps repeating itself.

But all of this is just a secondary concern to Excel's real trouble: it's history of incorrectly implementing numerical and statistical procedures. One could plumb the depths of this topic for hours, but here are a few highlights: regression formula accepts illegal/nonsensical inputs (e.g. collinear predictors) and gives illegal/nonsensical outputs [0], variance/standard deviation change incorrectly with sample size [0], output of a paired t-test changes when missing values are included [0], formulas are mislabeled [0], v. 2007 gives very wrong answers to 11 of 27 tests in the NIST test suite used for statistical software benchmarks [1], the random number generator was broken as late as v. 2007 [1], and calculations relying on any of 12 particular floats display an incorrect result [2]. There are plenty of other issues mentioned in the links and elsewhere; if you're interested you'll have no trouble finding them.

Remember, friends don't let friends use Excel for science. :)

[0] http://people.stern.nyu.edu/jsimonof/classes/1305/pdf/excelr...

[1] http://www.pages.drexel.edu/~bdm25/excel2007.pdf

[2] https://blogs.office.com/2007/09/25/calculation-issue-update...

Edit: clarify and add a new issue I became aware of while researching further.
I read it as meaning "the gravitational effects we attribute to dark matter may be a product of even more massive black holes at galactic cores". I once wondered this. Then I learned our studies of how star revolution rates taper off as a function of distance from the core were not explicable with a giant mass at the core; there needed to be a diffuse mass.
How do we rule out dust between the galaxy and us in cases like this?
It's infuriating. Higher salaries = higher taxes. Tech is already paying more than its fair share of taxes. These same politicians are trying to blame tech success as the sole cause of high housing costs, ignoring their own failures to deal with poor regional transportation and the regulatory impossibility of building enough housing.
Well said. Giving non-inflation adjusted prices is such piss-poor journalism. It's as bad as the practice of making time-relative statements like "since last year", so the reader has to work out what that means.
Just wondering, but it strikes me as odd to have the Washington Post report anything about Amazon, since bezos owns them both. It's like Bloomberg reporting on Bloomberg's flirtation with a third party bid.
I tend to agree. It doesn't look like a rent control issue to me. I live on the Peninsula where there is no rent control, and rents are skyrocketing just as much as in the City.

Instead it seems to me like there are just too many mechanisms (zoning, environmental review, etc.) whereby homeowners and incumbent landlords can act on their (eminently logical, but self-serving) concerns that 'cheap housing will destroy my property value' and prevent housing from being built, or limit the density of new development.

Something I am surprised not to see discussed more often is the effect on the market of "affordable housing" which in the political lingo refers specifically to means-tested below-market-rate housing. By splitting the housing market into market-rate and below-market pools it actually props up prices of the former and seems like it may (I haven't seen any good analyses on this to be honest) prevent new construction from having as strong of a restraining effect on rents overall as it otherwise might.
How DARE they try to improve their reputation by offering something people want. The scum!
Honestly, that engineer enabled that growth, but it wouldn't have been possible without the work of a full team providing content, security, reliability and so on. If the same work was done on an old Geocities site, there would be no value to add.

You're overvaluing the engineer in your argument; they were only one piece that enabled that extra value.
Can we change the title to something less "clickbaity"? Is that even a word?
Their direct function is not to investigate suspicious instances of walking while black. It's to investigate actual things that lead to crime.

So, when someone does report a person as suspicious solely on account of race, and that leads to, say, a police shooting the person - the person that reported certainly shares part of the guilt.

And doubly so if, due to race-only description, police end up targeting the wrong person.
The Klinsky explanation you linked to is borderline disingenuous. Nah, it's just disingenuous.

It's exhausting and daunting to list all the ways that Klinsky's ELI5 example is meaningfully different from what really happens in PE-land.

What it comes down to is this: PE managers get a success fee for managing other people's money without putting up their own, which is very very normal, and usually counts as earned income (normal tax rate).

However, when certain very specific circumstances apply, a bit of the tax code lets you legally pretend that instead of a success fee, the amount you get paid is a return on invested capital.

Very plainly, the pension funds, sovereign wealth funds, HNWIs, etc. who put up the actual risk capital into the PE funds are putting dollars at risk and earning a return on invested capital.

If one simply does the exercise of asking, "where are the dollars that the PE manager put at risk?" the lie is exposed.

My personal pet peeve on this is that, back in the 1970s, it was actually the case that the general partners would have had unlimited liability and therefore really were, after a fashion, putting the entirety of their capital at risk to earn the carry. But since the 1990s at least and probably earlier, everyone in this game has used a pass-through LLC blocker entity to limit the personal liability of the managers. So they keep all the tax benefit but give up that pesky "risk" part.

(Partnership structures and carried interest actually do have other things to recommend them as ways of aligning interests and making deals work. But pretending that the contingent, earned, success-based portion of income accruing to the manager is a return on risk capital invested for tax purposes is just a total fiction.)