skysight-inc/HackerNews huggingface dataset:
https://keybase.io/inv/733577a3bf
https://keybase.io/inv/36c7d470a3
https://keybase.io/inv/2b000b35f3
https://keybase.io/inv/fda9e75521
https://keybase.io/inv/0e5001c231

I have 13 more if these run out.
I have always considered the standard library to be part of the language.

How big is Python the language? How big is Erlang/Elixir?

The power you get from each is that there are very powerful batteries included, and most 3rd party libraries fall into the same patterns learned from the STL.
Ok, yeah, influenced. Javascript could also be called a LISP with C-Syntax, but that wouldn't make it a LISP. But I get what you mean.
that website is gold anyway, not only for f#. Lots of nice concepts, explained simply.

And lots of good tutorial/ideas
I think he's trying not to be too opinionated about the cause of the problem, mainly highlighting that the problem exists.

Amongst people who are aware of cost-disease, conservatives and libertarians normally see the cause as excessive regulation and occupational licencing, whilst liberals jump to increasing corporate power and market failure.

Determining which if these is the true cause is tricky, and can quickly become political. However, it is important for everyone to acknowledge the problem.
> "developers can be confident that they will rewarded for doing the right thing, not looking like they are doing the right thing"

From my professional experience (10 years in 3 companies), this is one of the biggest issues in software development businesses. You're either too small and then the manager doesn't have the time or skill set to effectively evaluate the developer's efficiency or you're too big and there are too many layers between the developer and the manager. The situation when your direct supervisor is also a person who is authorized (and able!) to evaluate your performance happens so rarely.
You want to get rich, but aren't willing to invest in your social and technical skills? Good luck with that. If anybody's looking for a textbook definition for "lazy and entitled", the attitude implied by this question is as close as I've ever seen. Please keep in mind that I don't mean that as an insult.

Now, with that out of the way, I will say this: There's a pernicious myth in the industry that you need to be "brilliant" to create something valuable and successful. Which is bullshit. You just need to be competent, persistent, and extraordinarily lucky.

Here, in order, are the modern keys to wealth:

- Know rich people. Be someone they enjoy hanging out with. People want to work with people they like, so this greatly increases the odds they'll throw you a project or put you on their team. See: Balmer, Steve. (NOTE: This requires social skills.)

- Create a business product. Be a middle man. Build a product that identifies and ameliorates a common business pain point. Find a major, underlying cost that is industry-wide and create a service or app that reduces this cost for the user. As quickly as possible, put competent people to work under you. Scale quickly and gets lots of smart people in your corner quickly. (NOTE: This requires social skills, observational skills, persistence, technical skills, and a generous helping of luck.)

- Create a consumer product. Be a founder. Build a business that satisfies a base human desire (entertainment, sex, greed, etc.) and charge money for it. See above. (NOTE: This requires all the same skills as above, plus more luck. The consumer space is packed with competition.)

- Be indispensable in a lucrative, but unpopular, niche. Specialize in MUMPS or COBOL or FORTRAN. Pick an industry that many avoid, like porn or gambling or spam. There's less competition, sure, but there's also higher risk to your long-term employment. And you have to live with yourself, so be sure you're OK with your choice. (NOTE: This seems to be the most compatible with your skill set and attitude, but might not be an ethical/moral match.)

- Grind away in a decent job, save aggressively, and invest. Be boring. Get a $120k/yr job and live like a student, putting at least half your income into savings. After a few years, start investing that money in people more motivated/skilled than yourself. This has the highest likelihood of working out -- assuming economic stability -- but is the least sexy option available to moderately talented engineers because it takes a long time. (NOTE: You'll still probably need social skills to be successful at this.)

- Get profoundly lucky. Be in the right place at the right time. Be the founding engineer or a stupid startup at a time when VCs are throwing money at everything and asking no questions. Be an early hire at a unicorn. Stumble on the next Angry Birds or Pokemon Go or whatever. (NOTE: This is entirely beyond your control. Almost everybody in The Valley of Dreams is pursuing this goal. You're still better-served by having technical and social skills.)
Don't really know. Start out with trying to get as disciplined as possible. You have to have minute control over your daily schedule. Start out with allocating 2 hours a day or so.I

As far as IP assignment the only thing I could come up with is to license all your code under GPL. Since you are the creator the sheer complexity of the code and the fact that you wrote it, will make you the unquestionable authority of the project. Lets say Linus Thorvalds applied for a job that requires intimate knowledge of the Linux kernel, he would be among the top candidates to say the least.

But I'm interested to get more information on these IP laws. How common is it that employers use this? I mean the software you are developing might be in some other subset of the market. Would a company really waste time on attaining IP for a product which is far from what they sell? Or am I being naive? Also if the threat is real, would using a GPL license solve this problem? Is it even possible to apply the GPL license legally?
I'm also sure that a fair number of data samples could be obtained in a very short time.
you reference the model in the view and then tell the view to save it directly to the model using the "model = form field" type syntax to assign value and then .save() method to save.

In the form field you are saving from, you write the form field value and then an empty space where the input value goes sort of like "form.cleaned_data.get("field name", " "). The second blank ""is the empty space where the field value goes. The claned_data is django's internal form validator. That sounds confusing so I'll give an example

This is what your views would look like

from django.shortcuts import render

from sample.models import Test

from sample.forms import TestForm

def Example(request):

if request.method == 'POST':

form = TestForm(request.POST)

if form.is_valid():

testmodel = Test()

testmodel.modelfield1 = form.cleaned_data.get('formfield1','')

testmodel.modelfield2 = form.cleaned_data.get('formfield2','')

testmodel.save()

return render(request, 'sample/nextpage.html')

else:

form =TestForm

context_data = {'form':form}

return render(request, 'sample/testformpage.html', context_data)
https://aadrake.com/command-line-tools-can-be-235x-faster-th...

Discussion is here:
https://news.ycombinator.com/item?id=8908462
WHY?! What parent poster describes above seems like "heaven" to me. Some people can be "true nomads", others can spend 50% time in office, 50% working from home, everybody can be happy and find "what works for him/her".

I hate both working in-office full-time AND working fully remote. But a mix sounds awesome, I always feel energized when working one day from one place, another day from another, and I also enjoy having the meetings in-person...
> As a matter of fact it has to do that in order to provide you with caching, cookies and local storage for your private browsing session.

This is solved by knowing what is stored is private browsing data, which should be marked anyways. Safari just isn't that well thought out of a browser.
How Google builds a web framework
Her argument isn't that no one should be well paid, but that poor people shouldn't get screwed over. You don't have to be poor to recognise that poor people have a bad time and pay a disproportionate amount of the cost of running society.
While there is some truth in this, I think you are missing the context.

NoSQL first became popular in 2008/09, when web traffic was exploding. In those days 500GB disks were the largest available and were very expensive in server form. CPUs were less powerful, and RAM was much smaller.

All this meant that many sites really were running into the limits a single server database. The most common solution back then was master slave MySQL replication, which had a whole set of problems of its own. Don't forget Postgres replication was pretty rudimentary, and back then MySQL really had a performance edge if you could compromise things like transactional integrity(!) - which many did.

Things like Hadoop solved the reliability issues with distributed MySQL, MongoDB (and CouchDB) tackled the horrible developer ergonomics and Redis tackled performance.

In that context they all made a lot of sense.

Now of course buying two big servers with a heap of RAM and storage and putting Postgres on them with replication is pretty easy.
Microsoft banks on Israel to build a secure service
Some people like me dislike working fully remote just as much as they do full-time in-office... a hybrid approach is only thing that can work for me. "Constant consistent variety" is what keeps me ticking and productive. Also, just as you want to take time off from work, don't you also feel the need to take some time off from family too ? ;)
“Convincing a Linux Guy to Use FreeBSD” – Lunduke Hour [video]
RAID has been common in servers since much earlier than 2008. In the 2000 dot-com boom servers had RAID & often multiple CPUs.

(for the less well f unded, Linux software RAID has also been pretty good since ca. 2000)
So are there any actual success stories that the NoSQL movement can point at because it's bizarre to me how NoSQL can still be all the rage when time after time all I read is post mortems detailing painful experience after painful experience.

I'm at a stage where I haven't built enough of my current project to make moving back to an RDBMS painful yet, so all this stuff scares me.
OP isn't quite asking that imo. If you want to add enough value to justify that salary there's an obvious answer: get better at your job. I.e. don't be in the top 25% of programmers, be in the top 1% or .1%. If OP was asking how do I get good enough at programming to justify this high of a salary then that would be a fair question. If you're asking how do I get more money without getting better at my core competency then you're essentially asking "how do I beat the system," which isn't a particularly fair question at all.
Pastebin for you (and anyone else having problems):

http://pastebin.com/bN8kemqz
good article but it should look at who profits from increased revenues and why instead of focusing only on costs increasing.
Part of the reason is that gorilla/mux uses identical API to the standard library.
I'm curious - is /signaling the virtue/ of modesty different from /being/ modest?
True, but if you are willing to use some libraries or tools you can get pretty far.
And if not, use them too :) you could always replace them later with your own tools.

IMHO you need to decide on what part of the compiler you want to focus on. You mentioned you already know how to write a lexer and parser. So maybe you should start with an IR like WebAssembly you could compile. Maybe you could even reuse your lexer/parser from your interpreter.

Compiling can be as simple as writing an interpreter, you "just" have to replace some code in the interpreter with `printf`s, that dump e.g. LLVM IR or Assembly. Then use LLVM or any assembler to get a binary. Even GCC basically works that way, gcc just dumps an assembly file and then passes it to assembler and linker. So GCC doesn't really emit ELF or Mach-O either, so don't let that stop you. That doesn't mean you don't have a "full" compiler.

If you don't know assembly use tools like gcc.godbolt.org to see what code gcc generates. The most important thing: Think what code to generate for each feature of your language or IR. If you have figured that out all the rest will be trivial. For example: What code to generate for `if`? So don't try to compile a language with many fancy features at first and please don't try to generate fast code. You want a translation that works in every case, although it might be somewhat inefficient compared to `gcc -O3`. Your first program to compile could be something like `int main() {}`. If you can compile and execute this program, you can start to add features.

This are the restrictions I would make at the beginning:
* use a statically typed language, it is easier to generate (faster) code for that
* start with global variables, add local variables later
* support if, while and then functions (in this order)
* only support few datatypes: int, int-array/pointer and string literals for printing.

This should be enough to run the benchmarks binarytrees and fannkuch from The Computer Language Benchmark Game. You will already beat many dynamically typed and interpreted languages for those.

Don't try to generate fast code at first, spill everything onto the stack so you don't have to care about register allocation. Even the V8 full-codegen jit works this way, so you don't have to be ashamed of it ;)

If you don't care about ELF, linking and stuff you could also avoid this by writing a JIT-Compiler: Just emit code into some buffer and then directly start to execute. Although I have to admit that a JIT can introduce some challenges of its own.

Ah and don't forget to write tests. Write a lot of tests from the beginning. Testing a compiler is pretty simple and is is also easy pretty easy to introduce subtle bugs. You will save a lot of time.
Only a really good, really savvy manager can tell - The manager needs to be more knowledgeable (especially architectural knowledge) than any of the engineers working under them - That almost never happens. I've worked for maybe 10 different tech companies in my career so far and I've only had one manager who I considered to fit the description.

Most of the time, a manager might be really good in a very narrow area but they don't have the variety in experience or critical thinking ability to provide good leadership; they often just follow trends and patterns without actually thinking them through - They deal with everything as though it were inside neat little boxes and regurgitate blanket statements made by 'thought leaders' as the basis of all their decisions.
Yeah it's good to read arguments against Basic Income, however I still find it a really good idea.

The tricky part is to calculate the actual amount, guess wrong on this number and the state could spiral into economic chaos in no time. Surely it'll stabilize but if the number is accurately predicted, the transition could go by theoretically unnoticed.
"copy what works from elsewhere in the world"

Willing to adopt those places population trends and immigration laws?
Is your idea related to the business you currently work at? If not, just build it.
The term is "false modesty"
Freelance Jobs Online – How to Make Money from Home
> They even give you a volume discount if you ask for it.

Just contact support? How much volume do they look for?

I'm struggling moving USD -> GBP, hitting the daily ACH limits & frustrated that the creaky US banking system doesn't have a better interbank transfer system than wiring funds for tens of dollars a pop (and presenting a physical form).
Is phoenix actually taking off outside SV startups?

There are zero Elixir jobs on my part of the planet.

Whereas F# is on my PC thanks to a full VS install done by IT, and I can at least use it instead of Powershell.
well remote working does make checking on the remote worker harder so more difficult to know what they are actually doing, but knowing if their tasks are difficult or similar things should be achievable just over chat.
Technologium – Nieuwssite over de digitale actualiteit
I've read a number of things on HN where people are building massive DBs with Cassandra with good success.
Newell: Valve in development on 3 new VR games
Yeah, that's one of those AIO water coolers I was referring to.

http://www.anandtech.com/show/5054/corsair-hydro-series-h60-...

The "Silver Arrow" is an air cooler from Thermalright that is pretty equivalent to a Noctua or a Phantek or be Quiet! etc.

In that review it beats the H60 in both temperature and noise. The H60 is more than twice as loud.

So yes, unless you assemble your own water cooling system, I'd say definitely go for a regular heatsink+fan.
You ARE asking them to modify their behavior when you say that they should use Slack/email/whatever other tool for your benefit, or that they shouldn't have an impromptu chat around the water cooler because you're not around.

Since you're in the minority, you can't demand the majority change their working style for you. It's up to you to fit in to how the majority works, say by showing up in the office. Or you'll miss out important information, which will be to your detriment, not theirs.

> To do what, exactly?

To communicate with others the way they apparently prefer to communicate — in person.

And to build relationships, which lead to working smoother, and prevent misunderstandings from snowballing. It's easier to get pissed off with someone over email than in person.

There are many advantages to facetime. You can decide to forego those, but you can't tell others to, just because you want to.
That seems like more keystrokes than just entering "set spell" after it launches.
This is exactly the problem with this industry - Blanket statements and buzzwords.

An engineer can get things done quickly but that doesn't mean it's done correctly and won't break (and someone else will have to fix it).

To complicate things more, a feature might seem to work perfectly, until a certain point when you realize that it's all wrong at an architectural level and you have to rewrite everything.
> You'll never be really good at anything you don't care about.

Depends on your definition of "care."

If by care you mean find interesting or enjoyable, then I have to disagree with you. I'd say most people are very good at at least one thing they don't care about simply because they need to do it for some reason. I have neither talent nor passion for mental math, for example, but I'm quite good at it (relative to the average person, at least) simply because I need to do it every day for my job/hobbies.

If by care you mean find it worth doing, then you're right, but then it's just circular reasoning--no one does anything without, on some level, finding it worth doing, so clearly you can't be good at something without doing it. You could say I care about mental math in the sense that otherwise I'd just refuse to do it, but that goes without saying.

I'm pretty sure the OP is about the first definition here, not the second. It shouldn't be controversial that human beings are capable of learning things (and learning them well) that they're not naturally inclined to do nor are they particularly interested in.
Novel project, but not useful. Trump tweeted thanks to Intel on Feb 8th which was a super positive tweet. Since then $INTC is down about 2.6%.
Just a heads up that you might want to be careful with trusting Trend Micro too much...

https://bugs.chromium.org/p/project-zero/issues/detail?id=77...
Not sure, every Trump tweet that makes a positive or negative statement about a company adds one data point. So the number of samples is going to be rather small. However, whether the bot can be shown to perform significantly better than chance also depends on the size of the effect of a Trump tweet. If they produce huge bumps, a small number of tweets might be enough to show that this bot is working. Would be nice to be able to put a number on this.
Yes, I saw that. What we don't know is whether the bot just got lucky. Inferential stats are needed to determine this.
I understand that there are lots of pro-EU people in the UK, and I also accept respectful and factual critique of the EU, also from leavers, as long as it is balanced and reported truthfully. The EU is definitely not perfect.

And I think, in all, the EU is losing big with the UK's decision to leave, but we need to move on, otherwise the current political climate can bring about the demise of the EU. There are also good side-effects of the UK leaving, namely the possibility to proceed with political integration without being continuously blocked.

In this context, I think there is little the EU can do to support remainers, even though we are really saddened by their impossible situation. One of the suggested ideas, to give EU citizenship to those UK citizens that request it, sounds very good on paper but I think is very difficult to implement in practice, for two reasons:

- how do you give rights to people who are not invested in the project? I am 100% in favor of giving EU-citizenship, and voting rights, to all persons living in EU countries, but not in countries outside the EU, otherwise what is the point?

- do we really want to give rabid eurosceptics a say on the future of the EU? People whose explicit goal is to work towards the destruction of the EU. Should Trump vote too?
What if the internet stopped for a day?
If it needs more than one point to rank at all, how does a new submission come in?
Yes 20 % of China's population is roughly the population. So it's a fancy way of saying that China is five times as big as the U.S. Which it is!

The real interesting comparison lies elsewhere. Also we have to take into account that we can not use the same tests on intelligence on both populations.
It's just a cartel.
This is no indication of the general quality of coders from any country. It only tells you that among coders who participate in ICPC Russians do better. There are other factors at play that might add bias to who participates in these competitions.

Once a friend remarked to me that Pakistani indie bands seem so awesome compared to Indian bands though India has a music industry that is 50x of Pakistan's music industry. After digging up more statistics I learned that India's top music talent works for bollywood instead of having independent bands. It is basically tier-1 artists from Pakistan vs Tier 2 artists from India.

It is possible that the best American coders have greater opportunities and hence they don't participate in ICPC as much.

India features no where in Math Olympiad though American-Indians feature regularly. Why ? Because India's brightest brains are busy studying for JEE and given the cut throat competition driven by scarcity of good engineering education they have no time to spare for IMO.
Level 1:

They ship code that works.

Level 2:

They ship code that works on time.

Level 3:

They ship code that works on time and meets the objectives.

Level 4:

They ship code that works on time and meets the objectives with minimal guidance.

Level 5:

They ship code that works on time and meets the objectives without any guidance whatsover.

Level 6:

They redefine the job of programmer in some way that is material and long lasting.
Those are bad enough - but I have met one developer that was technically competent (I would definitely pass his code in a review) except that he didn't care about how anything else worked in the company or even the logical constraints of the real world data (like the concept of brand was useless because different companies providing data treated it so differently) so what he spent a month working on at the end was nice code that did what it was ostensibly supposed to do but that could not be integrated with anything else, as a result of which if that code was integrated it meant the destruction of several years worth of work.

Was he a good developer? Looking at his github repo I would have said yes... talking to him I said yes... if I had examined what he built without any context I would have said yes, but really he was something of a company destroyer that I would not ever recommend to anyone else.