skysight-inc/HackerNews huggingface dataset:
I have been seeing this trend of GitHub getting "abused" for purposes other than hosting source code.

- My school uses GitHub to host and track our software engineering project (which still can be argued as OSS).

- People using GitHub issue system as a forum.

- Friends uploading pdfs to GitHub.

- Recently people posted on HN about using GitHub to generate a status page.

I think this is a really bad trend and people should stop doing that.
People are starting to get used to the idea that you hit someones api and they scale for you. I mean from a company based on scaling that's strange but there's a lot of 'magic' that goes into a lot of providers being able to always respond to an API call and most don't see it.
The idea that "the future" is a megapolis that needs to be built up really needs to be defended a bit more. Historically, the dense megapolis has been the future, but that might have just be an accident of technology's evolution. Why can't Earth be densely covered with smallish cities like current Berkeley and San Francisco?
Wearing our mission on our sleeve
I see. Your site is shitty and good simultaneously.
berlinLeaks is a nice idea but I don't see any posts on it.
Except when you're used to working in an IDE that generates a lot of the syntactic cruft automatically.
Errr, i already said it's from talking to many people (~100-200 over the course of the year) who have lived there a very long time (in most cases, 30+ years).
Given i stated an aggregation of what their responses were, that's valid data.
Not sure what more you want here.

It seems you just violently disagree, but that doesn't make you right. It just makes you a data point in the other direction.
They really need to change the rate limits to something more reasonable. Both per domain and per ip.
You should take a look at ProcessWire: https://processwire.com, I absolute love it after previously building site after using Wordpress as a CMS.
Agreed. Perhaps better even would be an automatic message that says that rate-limiting is in effect, explaining the reasons.
The Millenials are their own worst enemy but believe boomers dying will save them. Pathetic.
Ask HN: What's the best place to stream myself livecoding?
I'd like to set up a stream of myself doing some basic AI stuff, learning Haskell, generally programming. After the Livecoding.tv debacle (https://news.ycombinator.com/item?id=10486476), I'm interested in what other options are out there. I know twitch and youtube are both open to this kind of content -- anyone have livecoding experience with these or other streaming services?
I really like the overall branding / design of this tool. Nice work. Going to give it a shot.
How is http://www.startupbook.net/ book?
Ask HN: How did you find your first 10 customers for your startup?
Wondering?
So you don't actually have data, just anecdotes you've selectively remembered.

Noted.

Side note- Nice work attempting to attach the pejorative term "violently" to my position. Not that it makes your side any more convincing, but it's smart in terms of contemporary rhetoric.
Maybe I'm missing something but isn't N+1 the difference between O(1) and O(n)?

Edit: Anyone want to explain how I'm wrong rather than just downvoting?

Edit 2:
Understanding a N+1 problem is the equivalent of understanding the difference between O(1), i.e. fetch all data with a constant number of queries, versus O(n), i.e. the number of queries scales linearly with the number of elements.
1% is a catchy metric, but i think it hides the scale of inequality. $32000/year or so puts you in the top 1%. It really ought to be more like 0.0001%, but it doesn't have quite the same ring.

So, the 62 richest own as much as the poorest 3,652,500,000. Gates and Buffet are interesting, with the philosophy of, give your kids enough to make something of themselves, but not so much they make nothing of themselves. The waltons on the other hand, are definitely shooting for dynastic wealth.

There's a (very) rare chance of getting super rich. There's a possibility of being the kind of person that wants dynastic wealth, so some percent of those super rich are going to have super rich families. Kennedy, Rockefeller, Mellon. But it tends to be dilluting after a while, there are thousands of DuPonts as far as i can tell.

I guess the point i'm making, some superrich will be effective in creating dynastic wealth (they have so far anyway) That, in and of itself isn't a big deal. All the wealth in the world is around $240 trillion. How much of that are we ok with being locked up in a dynasty or 10? How tall can that spike be and have a working economy? In the US the dynasts only control 500 billion or so, so maybe not a big deal, it's not that big of a slice of the pie.

I dunno. It'll be interesting.
I've had interviewers look at an unweighted keyword digest from my resume, apparently without reading said resume (which clearly states my current skill focus on the top, which has evolved quite substantially over time). And then start "grilling" me on a language that appeared on a job description from 10+ years ago.
This was great! I wish there were more case studies like this.

I think you're selling it short, this is a truly novel "third way" of managing state, after lexical scope and dynamic scope. The key idea is the hook into the function signature that allows overriding without the push/pop dynamic that characterizes lexical and dynamic scope.

I'm curious, does your system raise a warning if a function uses a thread-global variable without declaring it in the function arguments? Do you still feel the need for directly using the anywhere in the HN codebase?
Spotify.
> My view on politics as I've gotten old has gone squarely to the singular point: No complaints. No rules. Solutions or shut up.

This is a really good way to make sure that important things aren't talked about (and, it should go without saying, disproportionately hurts already marginalized people even further). Complaints about a situation are step one of finding a collaborative solution. It may take time to get there, and the process might be annoying (heaven forfend). But I would suggest considering the circumstances you find yourself in that allows you to find them annoying, and being charitable about the search for a solution instead of decreeing from on high.
> A side project I've started looking into...

Wouldn't cleaning up the package search interface be a similar effort with much greater payoff?
It does not adjust for square footage, so yes that's a good point.
Have you considered using the copy-on-write features that some filesystems (btrfs) now support? For example, the lowly cp command now supports CoW via --reflink=always

Also, that ks for git-annex! I use it for hundreds of gigabytes of files, and find the one-copy-per-file support essential for how I use it.
But the VAST majority of the programming work out there does not require any
Big-O analysis.

Your point is simultaneously valid and irrelevant. The vast majority of programming doesn't involve any Big-O analysis. But if you can't do Big-O analysis, there are problems where you will be stuck. Your code will be running slowly and you won't know why, and all the micro-optimizations in the world can't make a O(n^2) algorithm run faster than an O(n) algorithm on even a moderately large data set.

To make an analogy with driving: the vast majority of driving doesn't involve parallel parking. But you still need to know parallel parking to pass a driving test.
> Use a dynamic language, but mention C

I take issue with that recommendation. You should use whatever language you feel most comfortable with. If it's C, use C. If it's Java, use Java. You don't have the luxury of an IDE or anything like that, so you need to have enough of the language in your head to write a program without looking something up.
>> I do care that they can get their point across

This is kind of the point, right? Most places I've interviewed are far more interested in your communication skills, logic and thought process than writing perfect code on a whiteboard.

Many of my friends have failed to see this is actually the reason they have you write code on a whiteboard.
Now the game is, Who can write most efficient primality check algorithm!
Fair point. But is it not much more common to encounter a programer who cannot break a complex system into loosely coupled components? Or who does not use consistent naming conventions? Or who is smart but lazy? I'd rate all of these as equally important things to try to evaluate in an interview.

I am a strong believer in looking for strength in an interview. Someone really rocking complexity analysis is a strong positive (shows that they are smart and pedantic in a good way). But so does clean, smart code and great loose coupling.
Show HN: Near-zero-configuration react static site generator
T-Mobile has had free international data roaming for a while now. That's not new, and it's certainly not a 'nightmare'.

What's new is the ability to seamlessly switch between CDMA and GSM carriers (T-Mobile and Sprint), and the pricing model.
No ones forgetting about the Great Depression nor implying that there haven't also been other tough times. But the point remains that from a perspective of lifetime earnings today we are worse off than we have ever been. The Great Depression wiped away billions if not trillions of dollars of worth but from an economic perspective those dollars were already earned. We can debate all day whether having gained and lost a million dollars is better than having never gained that money to begin with.

Also the Great Depression only lasted 10 years to begin with meaning that it didn't even affect a majority of that generations prime earning years. Coupled with the fact that it was immediately preceded and succeeded by periods of incredible growth and you see why you're point isn't really accurate.
I wish papier would support bbcode. Then I would know exactly how to bold text or add hyperlinks to other webpages on the world wide web (mostly angelfire websites).
PS4 kexec-style code to load Linux kernel released
It really depends on your product. Is it an app? SaaS?

Have you validated yet?
Having a separate git repo for large files and shallow cloning it should be similar to having another repo in hg/svn for large files.
(1) College is mandatory for a lot more jobs, and college costs a lot more than it used to.

When I was young (1980s) all jobs that paid a good salary required college. I found (1990s+) especially in tech that this wasn't true anymore. I can easily earn around 6 figures working almost anywhere in tech and I never got a degree.

(3) Jobs are harder to come by, and pay worse.

I find the opposite of this as well. Getting a job for me 20 years ago meant going door to door, submitting resumes, filing out applications or using a recruiter. 10 years ago the dot-com bubble burst and there were no jobs. Today I've been happily employed at a job and 6 months later I get several job offers every single day. Especially in Tech there are more jobs than there are qualified people to fill them according to my recruiter.

Also my last job search was a couple hours spent online and then the phone calls and emails never seem to stop pouring in. Jobless claims soared in 2008 and now they are at 1970s levels.

http://www.tradingeconomics.com/united-states/jobless-claims
Paycheck to paycheck describes my brother, born in 1978.
Google AI takes on the world's Go champion
>You're not being compared to people who lack hundreds of hours of programming projects.

I don't think that is quite right. Interviewers claim coding interviews are necessary to weed out the large fraction of our industry that cannot write code at all. If they cannot code, then they did not successfully complete a good undergraduate program's worth of coding projects (they cheated, rode on the coattails of group members, were graded way too easily, or something). Otherwise they can code.

>Strong filtering on credentials harms companies who miss good programmers, and harms programmers who can't get jobs.

On the other hand, strong filtering on whiteboarding unnecessarily filters out people who don't do well under that kind of pressure but may be great programmers given a computer and a more realistic deadline. They also privilege people who have optimized well for whiteboard interviews but may be destructive in the longer term.

Which is why the optimal solution seriously considers both factors. (I'm arguing with you because you called credentials influencing hiring a "bad" thing).
Using the '62-'80 (inclusive) definition the very youngest Gen X'ers was 20 on 9/11, and the oldest was 39. The bulk of the people that ended up fighting in Afghanistan and Iraq were millennials. Admittedly you get a somewhat different result if you use the 1985 endpoint.

The first gulf war was definitely our war, but it wasn't much of one. Total US causalities of less than 1,200 (KIA + WIA). The Korean War had more than 125,000, WWII more than 1M, Vietnam 210k, Afghanistan + Iraq more than 55k.

I don't think the Gulf War shaped our generation in the same way that those other wars shaped their generations. YMMV.
> But if you end up picking something that doesn't exist, well, you aren't earning yourself any points.

I don't know about your personal interviews, but I'd find this reasoning slightly strange if I were being asked to write computer code on a whiteboard. I'd find it much less strange if I were actually handed a laptop to write a functioning program on.

Expecting perfectly correct code on a whiteboard seems to me to be a slight abuse of the medium. Whiteboards and chalkboards specifically exist to sketch things out in an adhoc fashion, often in a collaborative and easy-to-edit way.
I can't stand obstructionist politicians, but I also don't buy the argument that SF is not 'moving forward'. It's also building a significant amount of housing and getting over its fear of heights. There are 3 districts in SF getting significant up zoning. This is what SF's downtown will look like in 3 years:

http://i.imgur.com/mcJf5zK.jpg
When I interview, I usually ask pseudocode first, then write it out in actual code. Think of it like writing a short essay. Outline first, then actually write the essay with proper grammar to the best of your ability. There will be typos and grammatical mistakes which I don't really care about but I do want to see your style and how you use the language to express what you want it to do.
But the people who'd need that the most are the ones furthest out of school.

I shudder at the thought of ever having to do another programming interview. Well, alternately shudder and laugh. What a joke!
There are a lot of situations where a "worse" algorithm will be significantly faster that another algorithm that's faster in theory, due to memory locality. In practice, it is very hard to know beforehand what parts of your program will scale and what parts won't.
Google Opens Its Project Fi Wireless Service to All
This is extremely relevant: http://www.spaceandgames.com/?p=27
That just tells me the author most likely is in favor of making the tech companies look bad even if it means distorting the truth.
How I did it for a Microsoft interview: cram for a weekend with a good algorithms text book. I do UI development where 99% of the work is figuring out the UI framework but the study session definitely got me into the right mindset for interviews.
There are a lot of people who leverage their CS degrees for non programming jobs - anything from QA, to Product Management, to Sales Engineering. Please don't discount the value of your degree so easily! It's not a waste - you will find a way to leverage it in a related field.

There is a real need for people who understand programming, even if they aren't heads-down, programming geniuses themselves.
The 30-year mortgage interest rate in 1975 was 8+%. These days it's less than 4%.

The value of the house has increased significantly, but has the value of the monthly payment?
findDupe isn't O(1), it's O(n) since it has to look at all the elements in the list.
Do you think that your experience is representative?
But you like solving problems. A lot of people don't. They also tend not to like higher level math. Can they learn to program yes but, will they enjoy it probably not.
If the Wall Street workers paid for it, what would it matter? The sense of entitlement is astounding. Whenever someone drives by in a Ferrari I don't suddenly feel entitled to throw rocks just because they aren't letting me drive it.

Want to ride the Google bus? Get a job at Google. If people studied code with as much interest as they study the Kardashians, perhaps more could move up the ladder.

The solution is that everyone at Google should drive their cars one day per week to simply illustrate the value of the Google bus. Perhaps all those workers could just stop buying things for a week and see how badly those people wish they were back.
> Here are some colors, please arrange them in palette groups that are color coordinated for a given visual effect?

"Please arrange these colors in complementary, analogous, and triadic color schemes". This is color theory 101 -- something every visual designer should now.

> Why is red font on blue background bad, please justify?

Again, a valid question. It all depends on the brightness/saturation of the colors, and how much contrast is between them.

Edit: Obviously these are ridiculous and unnecessary interview questions because frequently a designer provides a portfolio of work that demonstrates their skill. This may not be possible in a programming interview if the candidate has been not been working on open source code or side projects.
I have been using this for the last 6 months or so. It is clean, efficient, and flexible. The UI is spartan, but it is also orthogonal.
Let's Encrypt – setting up automated certificate renewals
Reminds of https://home.idonethis.com/ except Slackified!

(edit: typos)
Changes to Flickr Pro
This code as well as fail0verflow previous Linux kernel work is now useful since PS4 BadIRET kernel exploit leaked.
To be fair, I don't see the word "rune" anywhere on the linked page. I'm assuming it's an error created by the submitter.
Kinda validated, but I need to hit the 10 customers mark.

My product is a SaaS, outbound live chat for lead generation teams.
> Sadly

well, except that in a way.. regulation comes from the government, which is the collective us. I prefer that the government spends some money to work out what regulation would be useful so that the collective us can spend our money on fairly traded goods (as an example) rather than every person in the collective having to do that research constantly to overcome the hard sell and marketing lies that are produced to facilitate somebody making a quick buck and externalising costs which I wouldn't otherwise wish to pay.

As an example, if the government says that in truth, gravestones imported from India are largely produced by slave labor and then it refuses to admit them into the country. That means, that when my relative died and I am not really in a frame of mind to research the supply chain of the headstones and the sellers lay on the hard sell, I can still be assured that I am not funding this terrible system. I would welcome that..
Primogeniture with entailments is the best way to maintain dynastic wealth. There may be other ways, but historically that combo has worked.
Your experience doesn't directly translate to what is relevant for the company you are applying to though. You may _think_ it does based on their general description, but it may not. One of the questions we give has you design a data model to store certain information and then query it out. It's not complex at all, and they are in full control of the design. You'd be surprised how few people with 15 years of experience in senior level positions are unable to query out the information using a data model they designed themselves.
That's why I asked! (The answer was yes)
We don't raise a warning, and we do use raw 'the' in a couple places, mainly because the notation doesn't play nicely with 'apply'. Also, some macros need it.
It's always been strange to me that tech interviews tend to check for basic CS, rather than deep engineering.

When was the last time you had to implement bsearch() in a real project?
Being a good programmer has a surprisingly small role in passing programming
interviews.

And that just says it all, doesn't it? I agree that interviews should test candidates on certain basic skills, including (time/space) complexity analysis. But do you really learn anything by asking the candidate if they can recite the time complexity of a moving window average algorithm (as I was asked to do by an interviewer yesterday)? What does the candidate's ability to code a palindrome checker that can handle punctuation and spaces tell you about their ability to deliver robust, maintainable code?

I don't have the answer, but I just don't see how the questions typically asked in programming interviews give you a good picture of the candidate's actual programming ability. I much prefer "homework" projects, even if they involve me working "for free", because I feel like they ask for actual programming skills rather than the "guess the algorithm" lottery of phone screens and whiteboard coding.
But they chose to stick with that company and culture, presumably that "brand". I'm not saying they can't turn around, but they've still got a long way to go to prove to me this is anything different than EEE.

Also, they didn't just stop in the 90's. A lot of their questionable practices have continued on, and are still going on. I'm not basing my mistrust only on the 90's. It's just one factor out of many, but one I still feel should be taken into account.
CloudFlare's terms of service specifically forbid using it as a file hosting service.
I consider the priority to be to help maximize the productivity of the next (competent) programmer that touches the source.

Optimizing my source for incompetent programmers isn't something I care about.

Additionally, optimizing the source to aid understanding for competent programmers is only something I care about to the extent that it doesn't otherwise impair their productivity.

Code spread over five lines instead of one might be easier to read, but not necessarily easier to edit.

Code should be written to be easy to edit first, and comments used to patch up where that conflicts with making it easy to understand.
I definitely will be far more prepared for my next programming interview from the experience I gained going through the process once already. It's just sad that my first interview process had to be with a higher-profile company that would have been a ticket into silicon valley. Those interviews don't come easy in the first place. Haven't heard back from anyone else yet, but I trust they'll come along.
The trouble with books
You can always preempt the whiteboard issue by bringing a laptop along.
"Hey, I'm a lot more comfortable writing code on a keyboard and with an IDE. Lets program this together in a text editor instead of a whiteboard".
Yeah, I guess it depends on how many instructions are in that one liner and how intelligible it is three years from now.
The expressiveness of the language also helps a lot.

a.map { x in x * 3 } is probably intelligible enough (in Swift) so no need for util.multiplyEveryElementBy3(a)..
You should be able to carefully review a few lines of code for syntax errors. This is important because incorrect syntax might be ambiguous as to what it could mean.

You should not be expected to write syntax-error free code on your first pass while solving a problem , without machine assistance
"If people studied code with as much interest as they study the Kardashians, perhaps more could move up the ladder."

It's really hard to see why people hate techies in SF isn't it?
I believe VR is here to stay. My question is will it have legitimate value outside of gaming. There's nothing I can do with VR that I can't do with my dual monitor setup. I could technically I could write code on my iPhone. That doesn't mean its a good idea. Content creation in VR sounds cool, but will it actually speed up my workflow?