skysight-inc/HackerNews huggingface dataset:
Thanks for the post. Any feedback is appreciated! The site started out as a way for myself to keep track of technologies and usage I read about. After a while using markdown didnt work. Excel worked well but wanted to share what I found as well and a open google sheets doc didnt feel right :)
I don't think the name has a trademark because it's 2 generic words added together.
I recommend checking out NPR One if you haven't already: http://www.npr.org/about/products/npr-one/

Disclaimer: I work on the back end services for the app.
C code with whitespace and new lines stripped is equally unreadable.

You are arguing that braces should be kept so people who don't indent their code properly on HN can be understood.
it has a lot of competition
https://bitmessage.org/wiki/Main_Page
whisper coming from ethereum project
https://github.com/NikolaMandic/Buyan
I think it's a little unfair to compare the gedit UI at different sizes. I hastily mocked up how they would look at the same size: http://i.imgur.com/hb6TLEr.jpg

Personally I love the minimal and uncluttered look. I don't need big buttons for copy and paste, and even on a 30" monitor I appreciate the extra space it allows for actual content.
Part of the goal was to condense the infomration to allow viewing companies side by side or quick browsing. I need to improve the search/filter to support that better though, and probably add a few more visual elements.
Just wanted to add something. Itching is the first sign. If you feel itching in your eyes, turn the damn thing off immediately. I nearly blinded myself when I was an idiot undergrad. Kids, take the idiot adult's advice and don't play with it before you understand the theory and working principles extremely well.
This is an issue of some interest. For example, the UC system in California is currently prohibited by law from discriminating by race in admissions. But we know they're doing it anyway by looking at the statistics of the students they keep admitting. When we look at the CalTech statistics, racial biases are not apparent (admittedly, we have to do this in a very rough way because universities will generally fight tooth and nail to prevent researchers from looking into the effect of race on admissions). And the source you cite doesn't actually specify any amount of bias by race - it says that race is "considered", which is the least significance a variable can have before being "not considered".

If we think that other universities are lying when they say race is not considered, based on massive discrepancies between the records of admitted freshmen of different races, why shouldn't we discount CalTech's statement that race is considered, based on a lack of such discrepancies?
Memory management myths in Apple circles
A nice search experience over some personal web space is still kind of missing. Great to see that you are continuing to explore and implement things in this space. It was fun working on some of them with you at Hackzurich.
I think they specify "INDENT foo DEDENT" and the lexer tracks indentation and issues INDENT/DEDENT as appropriate.
CSS and JS layout is a mess full of hacks, but I thought about cleaning up and open-sourcing for more general uses. One day (:
I wish it didnt do that too. I need to improve the search/filter support. Need to implement typeahead. pen to other suggestions.
I am using chrome 40, and the history tells nothing except my first visit.

Edit: Oh no, the back button was grayed out. I thought it affected nothing to my history. My thought is wrong. Completely wrong.
Please, don't go that route. Rather, make this reusable for others right now (by making it Free Software), and accept help from outside for the cleanup.

To put this in Eric S. Raymond's words:

Release early, release often!
Quick anecdote to underscore the importance of being in a position to say "no" to an offer in salary negotiations:

I'm working for a company who has a base in NY, and asked for a salary commensurate with what the majority of their workers were making (I'm in a satellite branch), particularly since I have skills and experience nobody in their NY office had (I have also since learned that they would be effectively unable afford someone with my skills and experience in NY).

Despite being unwilling to provide them with my current salary, I had effectively followed my previous boss to this new company, so they were able to provide HR with my previous compensation numbers. This resulted in their offer being based solely on that compensation, not my valuation or a valuation based on my ability.

I wasn't in a position where I was willing to say "no" at that point in time, but it certainly underscores how important it is to be in a place where you can say "no" if you want to counter the information and power asymmetries.

To me, this also underscores how jobs don't operate in a free market economy: we're naturally short a method of making money to survive, and this method of providing for ourselves typically consumes half (or more) of our waking hours. Corporations can and do exploit the resulting need for a job which isn't our current job to not pay us according to the the actual value of our skills, but just enough to be better than the previous company.
So why ask what the candidate what they were paid before if it does not influence negotiations?

What it actually does is give you a strong hint on where to start an offer and how hard to push since most people will be unlikely to decline an offer that is 10% higher than what they were making unless they have a better competing offer (another reason why you should aim to have more than one).

You are right that company has already heavily invested in the candidate, but so did they. Walking away means losing time and energy invested in pursuing this position, not to mention emotional investment in getting the job they want (again mitigated by pursuing more than one).
In the 70's I lived in Miami and would regularly go to the Serpentarium. I watched him milk a very large cobra. What was unique about it: he would dump it out onto a grassy area, in the middle of a building in the complex, lined with people on the edges. There was no fence between us and him. And the cobra. He would do his thing and grab it and walk/pull it over to the side where we would all crowd around and watch him milk it.

I still remember that place fondly.

.
Most of the time that clause is illegal:

http://www.npr.org/2014/04/13/301989789/pay-secrecy-policies...

*ianal
For anybody who reads French, I recommend http://www.courrierinternational.com/. They select and translate articles from the world press on whatever are the most important issues. So you'll get Greek discussions of Syriza, Ukrainian and Russian comment on Donbass, etc.

I've not found anything as good in English, but presumably it's out there somewhere.

Otherwise, I find it useful to read through archives. The Guardian does a good job of tagging everything. The New York Times is good for world news by country -- e.g. if you want to know what's been going on in Poland lately, start at http://topics.nytimes.com/top/news/international/countriesan...

Also, Spiegel Online put up some of their best articles in English, though they can be frustratingly pompous and long-winded.
(I initially posted this on the Reddit thread yesterday, but I thought I'd repeat it here since there are many programmer types who might attempt this here.)

From the article:

> Of course, because we replaced the function with our own, we have to actually swap the buffers by explicitly calling the original glutSwapBuffer() function. I did this by undoing the hook, calling the original function and hooking it again.

Background qualification: I do this sort of debug launcher + DLL injection thing a lot. For one example with source, see my tool header magic ( http://www.romhacking.net/utilities/796/ )

As someone with experience, please take it from me: this is a really bad idea. If you rewrite functions to call the originals, it becomes possible for another thread to call that function in the middle of your rewrite, and end up executing illegal instructions. Not only is this theoretically possible, it routinely happens all the time. Even when you think for sure that your program is not multi-threaded. Even something like hooking a Windows file size function, you'll learn that the open file dialog on Windows Vista+ is threaded, and will bomb out on you with alarming frequency.

The proper way to do this is to create "trampolines" instead. The idea is that you copy the first few instructions from the original routine, and put them somewhere else. And at the end, you jump back into the original function after your patched jump. The address of where you put the original instructions is your pointer to the "original function" that you can use if you want.

So basically, something like this:

originalFunction:
opcode1
opcode2
opcode3

Becomes:

originalFunction:
jmp detourFunction
nop <padding>
resumeAddress:
opcode3

trampolineFunction:
opcode1
opcode2
jmp resumeAddress

detourFunction:
<do your function hooking magic here; modify arguments; whatever>
call trampolineFunction <only if you want to>
<do whatever you want with the results from the original function call>

Now, I know this sounds horrifyingly complicated: you probably think you'll need a full-on x86/amd64 disassembler+assembler. And it's theoretically possible to make a near-impossible function to trampoline. But keep in mind that 99% of APIs are built in higher level languages, and as such, have very consistent function prologues (usually saving the stack frame.) So in practice, you can write trampoline installers using one or two "signatures" and hook nearly every function you'd ever want to.

But if that seems too challenging, there is also a library called Detours ( http://research.microsoft.com/en-us/projects/detours/ ) that you could try instead. I didn't find it necessary for my own purposes.
The bitter truth is, workers from TCS and Infosys are able to do the job more efficiently than their american counterparts with a lesser pay. This system as a whole is beneficial for the US economy, I don't think they will change it in near future.
I would add:

- Use TresorIt/SpiderOak/OwnCloud instead of Dropbox/Google Drive/One Drive.

- Use Tox in place of Skype (definitely hard, nobody is willing to switch away from the comfort of Skype).

- Consider using also Disconnect addon for Firefox.
A lot of syntax / spacing / etc. problems would go away if we stopped using completely plain text as the medium for programming languages. Or rather, if we extended plain text, or got our editors to understand the languages a bit more thoroughly than just highlighting keywords and giving us autocompletion or whatever. This has been explored a bit by michaelw and others (http://www.foldr.org/~michaelw/emacs/) for lisp.

Imagine a syntax aware editor which could display code from a language using the syntax or style of another. (This might only work from a single base language, there are too many "odd" features in languages which couldn't translate universally).

So, since I like python, it could be displayed PEP8 style. Someone else could see it with LISP braces everywhere. Another could have it with 2 spaces and 'end' keywords, or {curlybraced;} (in K&R style, or whatever you like).
Ahhhh I wish I had a good data connection inside the office, this would be useful.
Thanks for the warning. Better open that one in incognito mode to avoid this problem ;)
Clear Browser > Last Hour :)
Reddit — subscribed /r/news and /r/worldnews. It's terrible for the comments, but the pressing issues will tend to float to the top. Also, if anything really bad happens, I usually see it on Facebook, MetaFilter, or even HN.
How does it compare to GNU social/StatusNet?
Get Feedback, early and continuously. By people you trust and am comfortable telling you to do things.

Learning to code easily leads you down a rabbit hole where you can't see the outside anymore. Getting feedback allows you to see beyond what you do at the moment and also realise when to do the next step or move to a different topic.
Don't lie, it'll bite you in the ass. I've had friends go through rounds and rounds of interviews and get dinged on things like this. Ethics is important.

If you have to lie to negotiate a good salary then you need to improve your negotiation skills.
I'm confused as to how this is "BS" as
that is the actually one of the main
stances of the tea party.

As I understand it, in some parts of America a single broadband provider is granted a monopoly on profitable urban areas on the condition they extend service to unprofitable rural areas.

If a politician says they oppose government imposition in the marketplace because of the benefits of private-sector competition, as an argument to support retaining a government-imposed monopoly that wipes out competition in the private sector? It's hard to take such an argument seriously.

With that said, despite the title about "State imposed internet monopolies" the article seems to be about municipal broadband, rather than state-imposed broadband monopolies.
What you say was true some 2 years ago, but right now Western world/NATO is as close to conflict as in the Cold war - of course, not nearly as close as in the peaks of Cold war, but comparable to most of the 'background' of cold war, and less relaxed and safe as, say, in year 2000.

Also, depends on where you live - there is a big difference between USA and, say, eastern parts of EU.
> any curly-brace language as one line, it's illegible.

You might not be able to read it, but others can, so it is by definition not illegible.

"Indention language", on the other hand, has actually lost its meaning and therefore is illegible.

> it's a huge waste of time that is best fixed by simply posting the code properly in the first place

Helping others is never a waste of time, but telling people thy are too stupid to ask for help correctly is cruel.
Are drones toys or working tools?
I'm a big fan of the BBC World Service, which tends to have more content and less human interest compared to Radio 4. In particular 'Newshour' is the best general world news coverage I've found, and available as podcast http://www.bbc.co.uk/podcasts/series/newshour
Ask HN: Who is hiring? (March 2015)
Please lead with the location of the position and include the keywords INTERN, REMOTE, or VISA if the corresponding sort of candidate is welcome. Feel free to post any job that may interest HN readers from executive assistant to machine learning expert to CTO.

Please do not post recruiting firms or job boards.
> a machine can look at how the arguments are used and make some educated guesses. The big problem is that humans have to do the same.

Why? Just get the machine to do it.

It's like when you see programmers doing arithmetic in their heads. "You're sitting in front of a glorified calculator!"
I never ask what people make; it's irrelevant. Instead, I ask them what they want and then I try to figure out how to justify at least 5% more.

Why? Because I want people to be happy and productive coming in. Salary and benefits should be the last thing on their mind.

I've hired a few people who refused to give me a number up front even though I explained the basic rationale. More often than not that lack of trust shows up in their work and their effectiveness as part of the team. Not always but more than 50/50. So now I use the question as a qualifier as well.

Don't get me wrong though, I know why people do this and I respect their choice. It's a bit mercenary and the corporate world is a mercenary place. Personally, I just place a higher emphasis on teamwork.

Also, it's worth mentioning that despite what many hiring managers believe, budgets for positions are rarely set in stone. There are many creative ways to bump positions up, even in the most rigid of corporate hierarchies. So when someone in HR (or your boss) asks what a person is making tell them it's irrelevant and then tell them why the person you want to hire is worth what you're asking for.
Experts (for lack of a better term) sometimes make their solutions more complicated than they need to be, and this is partly because they have the knowledge to do that.

I think that's caused by a slightly different effect - not considering essential and incidental complexity. It is true that for some programmers, the urge to put in as many things as they know tends to override the more basic goal of solving the problem in the most direct way.
[Note: if you add two spaces at the beginning of each line, it will look like code:

import os
import random
def do_something(x):
if x:
fd = os.open(x)

Note2: If one line with two spaces is too long, it will mess the whole thread, so if you ever want to quote use italics instead of spaces.]
Fun stuff though I would call them animations not games
Ask HN: Who wants to be hired? (March 2015)
Share your information if you are looking for work. Please use this format

Location:
Remote:
Willing to relocate:
Technologies:
Résumé/CV:
Email:
We know what top universities would look like if they selected purely for academics. They would look like CalTech.

> Every time a Harvard affiliated person wins the Nobel prize, Pulitzer, Macarthur .... You don't get that by robotically picking students based on only test scores.

CalTech has more nobel prizes per capita than any of the Ivies. Dunno if CalTech loses out on Macarthur (maybe) or Pulizer (probably), but if so it's because CalTech is a technical university. There's no reason you couldn't have an all-academically selected university focusing on the humanities.

> or becomes the first black president the prestige equity of every Harvard graduate goes up.

This is obviously not the reason that Harvard has racial preferences.

Yes, we can agree that it is reasonable for Harvard and other high-prestige universities to select for things besides academics (ambition, social savvy, sports, extracurriculars). But the complaint being leveled is that they shouldn't pick explicitly on race.
I hereby declare all original code on http://lemonlabs.co/timeline.html as licenced under MIT, (c) Jonas Lekevicius.

...it's just that code there is compiled from CoffeeScript, concatenated, uglified and so on. Others will have very hard time exploring it.
We can marry you off, wholesale
An acquaintance of your roommate's dad didn't understand the meaning of diversity so therefore Harvard doesn't either?

I don't follow.
Ask HN: Freelancer? Seeking freelancer? (March 2015)
Please lead with either SEEKING WORK or SEEKING FREELANCER, your location and whether remote work is a possibility.
Re-read the quote & the context therein. You make a good point :)
In my experience this is not restricted to manufacturers.
Routers supplied by ISP's and carriers often have custom firmwares with have backdoors as well, of course labelled as a "Maintenance & Remote Service" feature.
After figuring out the password on mine, I had no issue going into my neighbours router with full access...
Just put two spaces before each line (https://news.ycombinator.com/formatdoc: "Text after a blank line that is indented by two or more spaces is reproduced verbatim. (This is intended for code.)"):

import os
import random

def do_something(x):
if x:
fd = os.open(x)
Straw man arguments all the way around with plenty of assumptions. You presume the government's intention is to monitor him and watch his every move to work against him. The fact is, the government may scan something about him looking for bad guys and, once it finds he is not one of them, quickly moves on.

Just as your badge may be checked when you enter work, or you have to walk through a metal detector, these scans are not looking for the every day man. You can thank terrorists for this and quit blaming the government for looking for them. You can thank the government for looking for them and curse the terrorists.

OT - "you should care that the police is very brutal to black people"

I have to say that this is a blatant lie brought on by the media and the internet scream. While you can find something bad about something at any time, to generalize based on the occasional incident is wrong.
Thinknum - https://www.thinknum.com – New York, NY - VISA

Thinknum is Github for Finance, a platform that allows investors to access the web’s financial knowledge. We have thousands of analysts using our platform, including many from major financial institutions. We’re a graduate of 500 Startups and raised $1m in funding led by Pejman Mar Ventures. Thinknum has been featured by the New York Times, TechCrunch, VentureBeat and Forbes.

We’re growing quickly and currently hiring engineers number 4, 5, and 6. You can check out a list of open positions at https://www.thinknum.com/jobs. If you have any questions, please email us at founders@thinknum.com.
What? Haskell has a base language expressed in terms of braces and semicolons, and a relatively simple set of layout rules defining how the compiler can insert these braces and semicolons automatically.
European Cyber Police Try to Shut Down Ramnit Botnet
and there's Democracy Now -- it's unashamedly politically biased, but brings up important stories that don't get covered much elsewhere. The best part is the news roundup at the start -- the rest is features and interviews, which can be very good or entirely dull. http://www.democracynow.org/podcasting
SEEKING WORK - remote

High-quality custom web apps. Effective interface design, good code w/ Ruby on Rails, emphasis on agility, long-term provision of maintenance.

http://bytesofmight.com
In the past I have given a range (for what I was asking) when it was at the very beginning of the process and I had no knowledge of the benefits package.

The last time it did this, I was told that the bottom of my range was above the top of their range for the position.

I told them: "That's not my problem."

They responded: "You're right." and I continued the interview process with the rest of the team.
> I'm a fan of bigger and fewer files

Indeed, this is mostly a matter of taste. Both styles have their merits and downsides. For some projects, I also preferred bigger files up to single-file solutions, which also worked great.

> In an IDE, "go to definition" solves this problem. In an editor, incremental text search over the entire project solves this problem

When using the right tools, it doesn't matter how the code distributed across files. But I believe this is slightly out of scope for the question at hand.
I'm in a state of cognitive dissonance about this. I went to a selective admission high school where due to anti-AA reforms the Asian population has grown from about 30% to 66% in just 15 years: http://www.washingtonpost.com/local/education/demographics-s....

Most people perceive the change negatively. Some objectively good qualities have been diminished: collegiality has been replaced by cut-throat competitiveness. External perceptions of prestige have gone down even as SAT scores have gone up, partly due to racism but also partly due to back-channel whispering about increased cheating.

That being said, I acknowledge that many of the same reasons I don't like the shift were and still are used to keep Jews out of elite schools. And I agree that on the whole it's wrong. At the same time, I also recognize that this is a problem of assimilation. People want to preserve aspects of their culture they believe to be virtuous. But our institutions have limited capacity to assimilate and inculcate new groups with our values.

I think discrimination against Asians in higher Ed should end. I'm a little wary of what road that will lead us down.
Me too.

Well, one day. Someone needs to make that electric jet.