skysight-inc/HackerNews huggingface dataset:
My personal experience I realized I love technology but don't enjoy many facets of application development. I have been doing it for 15yrs, I tried working for startups, tried middle management, realized it didn't get better just became a different animal. So I am finally getting out.

But my go too's were stepping back to interests before tech took over, read books on other topics. I did philosophy, some math, and books I wanted to read but didn't before. This was the best compartmentalizations for me and helped me gain perspective and reflect.

I also realized passion, dedication, happiness are all for the most part a choice we make and I needed something I could do for 10yrs+ and not regret. So I made my choices and am ready to stick with it.
Dwarf Fortress and Minecraft are both incredible, complex games made by one mediocre programmer (not commenting on the Mojang team, just Notch himself). It's frustrating, but it should also serve as an inspiration to any small, talented team that wants to go even further.
People Who Make Me Feel Stupid: Ezra Zygmuntowicz (2010)
if you consider inflation (1.70% in the US,0.60% in Germany) those interests are almost zero.

If you have 1M$ and want to live on that, and you're good enough to live with 25k$/yr, you need to consistently "extract" 2.5% on that capital, that means you need to consistently get 4.2% every year.
And this exposes another issue: even if you have a safe investment that can give you 4.2%/yr on average, that's not steady, so if some years are bad (or really bad) you need to eat into the capital. If these happens for too many years in a row, the capital could be reduced enough that you need to get higher earnings to counterbalance that.

I'm not a finance expert so feel free to show me the fallacies of my reasoning!
Here's how I did it: http://newslines.org/blog/an-apology-to-giraffes-and-hacker-...
It was published 1985. Wonder if anyone is not applicable now?
That's why I said it was fine.
Sony Pictures Possibly Hacked by North Korea Over Seth Rogen, James Franco Movie
And you're still wrong.
Java for Everything
One point I often see missed is that having a code base that supports grep style searching often involves a codebase that does not constantly reuse the same function names. With one that is really done this way, the same variable name appearing in multiple places will be informative, as well. Even if the types are different.
Line-oriented text-based interfaces strike again!

I haven't used Perl in years, but I'd like to know why the POE approach is groty. I'd prefer writing the thing in Perl than Expect.

As a dad waiting eagerly for his son to be old enough to play Minecraft, I'd much rather run an unmodded server, so this approach is very appealing to me. I've been disappointed that almost every pre-release for 1.8 had nothing but server commands, but if it means I can drive a Minecraft server without mods I see more value to that effort.

I'm curious if the Dominus mentioned in the article is mjd. I saw him speak once on how git was a greater accomplishment for Linus than Linux. At 37 years old, I'm trying to find a path forward in my career that lets me keep growing as a programmer. It's encouraging to see these hackers who have stayed with their craft all these years and are still churning out cool solutions.
I've been noodling around with Minecraft servers because it was the original idea behind what I'm now working on at StackMonkey. Messing around with the deployment for these servers[1] has helped me refine the business models a bit to make them more manageable. As a result, we'll have self-hosted managed-software-as-a-service deployments within a month or so.

The demo server for Minecraft on the site[2] launches a server with ScriptCraft installed, which allows you to run JavaScript executables that execute actions in game. For example, you can build a sphere of TNT boxes with a very short JS comman. The intent behind this is to be able to bring the Bitcoin payment addresses for the server(s) in game where they can be managed by others. I'm working on getting qrcode.js running in game so I can build payment codes out of blocks. I'll also need to figure out a way to show the time left on the server.

Now that I've read the post, I'm wondering how valuable adding the ability to op someone based on Bitcoin payments would be? It seems there needs to be a decent auth mechanism for this that can be quickly hooked up to the server. If the author's daughter wanted to 'op' herself, she simply sends in a very small amount of Bitcoin to the server. If the daughter's friend wanted to do it and was on with others, then they'd need to send in more to prove they weren't a bad actor. Maybe 10 cents or so.

This is all related to enabling managing you software remotely on someone's cloud as if it were a public cloud. Enabling permissions for lower level users for high level functionality will surely be something we have to tackle.

[1] https://gist.github.com/kordless/beba0a6fa8edcda3b15a
[2] https://www.stackmonkey.com/demo/minecraft/
I guess you are right in that part, but, the article is talking about condoms, hence, sexual relantionships, not kissing, not clothing, that is the context, my comment is also in that context, see that?
I know the owner of a sizable Kratom vendor. I've tried it many times and haven't found it harmful or addictive. I see no reason why I shouldn't be able to order it at any coffee shop.
Tech founder: “I missed out on a job for being too revenue focused.”
this thread feels eerily familiar...

oblig contribution: perfect code != worthwhile code
The first time I saw it, it was rising up into the clouds and I was reminded of the first time you see The Citadel in Half-Life 2. http://media.moddb.com/images/mods/1/13/12001/citadel3.jpg
Sure, but sometimes strong opinions are necessary to make progress. If Dijkstra hadn't written "Go To Statement Considered Harmful", would we still be using them today? Probably not, but it probably helped bring quicker progress.

Just because you can build a house with a rock doesn't make it the best tool for the job, and it's in the interest of the carpenters to figure out what is the best tool for the job.
The Lindy Effect on startup potential
In my experience, VS2013 with peek-at-definition really is unmatched. I'm all for text searches (it's my go-to, rather than point-and-click files), but the contextual definition (and ability to edit) is stellar.
This is what I tell people when they ask me how to protect themselves from malware:

If you are a Windows user, don't fully disable UAC.

Don't use pirated software, you never know what may be in there.

Don't open files you're not expecting or not sure about what they are even if they where sent from someone you know. If in doubt, ask.

Antivirus software is a poor substitute for common sense.
The antidote to this mental calcification is meditation. As I've become more skilled at meditation, I view things less through my old filters and more as they are, in this moment.
You would pass in a function or datatype containing a function, which is exactly what the OO code does. No language features beyond first class functions necessary.
Yep, pretty much MMM strategy. I've also incidentally got a bit of bitcoin investment that might be a 'shortcut' if it goes to the moon. Otherwise the slow and steady wins the race.
That's always an issue, but in my testing with emulators, once you rule out external inputs (eg keyboard input), it tends to become predictable and reproducible. And using a VM should help dramatically in reducing randomness. And you keep capturing states and narrowing the window until you can reproduce it in eg ten seconds; as too much can happen in the span of ten minutes. The trick is that you have to get a state right before the problem actually begins, but you don't yet know where that is. So it's possible your state capture may be a bit too late, after the issue already eg corrupted memory somewhere.

I know that there are certainly bugs that this kind of technique would never work on. I've hit a few bugs that could only be triggered on live hardware before. But I'm curious if they've tried this kind of approach for this bug yet or not.
Ancient "mystics" knew this for ages. Using modern slang, it is an "environmental conditioning" and "habituation". Newly born babies presumably have no notion of time, except, perhaps, some bodily rithms, like states of sleep and being awake, but sleep too, has evolved the way it is partly due to day/night circle in our shared environment. Other creatures, notably deep water fish and mammals, have different mechanisms for "doing maintenance", like "switching between hemispheres", so they are never asleep (I am oversimplifying, of course). But it is clear that us and them have very different notion of time.
You'll still have the DAO and the DTOs in a functional language - they're types which represent concepts outside of the bounds of your system (well, process).

Consider a simple information system consisting of a database and a web service publishing a REST/JSON API. The web service will need a definition of the interface between itself and the database (the DAO) and a definition of the interface between itself and the outside world (the DTO).

Defining both interfaces explicitly allows you to control change and accessibility of data. I.e. you don't have to expose your database to consumers of the web service.

I'd love it if my OO language of choice (C#) could add a special non-polymorphic type to represent these concepts, because then you could do cool stuff like define the DTO in terms of the DAO. "The DTO is all properties of the DAO except propertyX and propertyY".
Agreed, but note that C++ doesn't require you to ever declare a class or an object. That's a Java thing you're complaining about.
+1 for mentioning Lene Lovich!
I agree in principle but your definition of an object is very limited, which is part of the problem. FP considers both a function and a closure are objects. Classic OO does not. This is part of what I mean about different levels of granularity.
I think one existing without the other could certainly be the case in the nearish future. Not everything they're doing is tied into the Facebook site.
Heh, true, if the Swiss were to be allowed a renegotiation, all the arguments about how the UK either wouldn't be allowed to do the same, or wouldn't be allowed to leave the EU, change it's laws and occupy a common market position like Switzerland ... well they'd all look like lies!

The next few years are going to be interesting for the EU. The Brits are looking at trying to stop total free movement (or at least end social protections for those that do), the Germans have actually been looking at something similar (restrictions on access to Social Security). The UK is also currently in the grip of some sort of polarisation of politics with the right wing making gains in unexpected places (UKIP), and a serious public dialog about leaving the EU entirely. France is in the grips of a major swing to the right (The Front National would probably win a presidential election if one were held now)...

Interesting times.
Aw, now I'm really interested in seeing what the jsfiddle was, but the post got killed... :(
I'm glad it wasn't made into a ridiculous display of post-modern art, because more often than not, when architects want to show off their creativity, the building ends up being an eyesore many years later. Look at any building made with too much artistic flare 20+ years ago.

The building is beautiful, and will stay looking beautiful for a very long time.
> Maybe there is a role of operator overloading or templates in C++ but I never really found it.

There is. For templates I'd think the role is obvious, for operator overloading, at least operator-> is indispensable.
Good read and good advice.

When I was starting out, I was jumping to different frameworks and languages every week or so, until I released that its completely pointless.

Fortunately, I found a thread on HN regarding on how to start and continue to improve. One of the commentators mentioned "just pick one language and stick to it". Simple advice that is better said than done as every week you hear "insert_this_weeks_new_javascript_framework" or "how_x_language_has_improved_my_productivity".

I finally picked python and I am sticking to it no matter how tempting another tool might sound. It's good to play around with other tools once in a while, just to keep up with what is going on but I think you should stick to a small set of tools and hone your skills from there on.
Pets.com had a successful IPO, seems it could have easily beat out the Seibel career.
When Does the First Amendment Protect Threats?
Updating Centuries-Old Folklore with Puzzles and Power-Ups
> just there's an huge volume of text

Think of how CS students are going to approach these. They'll watch lectures, skim the text, and do exercises. Few students would sit down and read these like a fiction novel, and if they do, they follow it with exercises because reading retention was low. So I'd do some google searches with "site:.edu" and find powerpoints and homeworks to follow from courses that use these books.
This doesn't work for me either. However, I am using the Vimium plugin for Chrome which may also cause issues.
I am a big proponent of functional programming, but there are situations where it would be veeerrryy convenient to have open types and inheritance, which is forbidden in a language like Haskell.

Modelling something like a GUI toolkit is very difficult in Haskell, because each widget has a different clump of data associated with it. Functional programming works well when the data is uniform, or at least known ahead of time. It's very difficult to add new data structures into the system in a dependent module, like if you want to add a custom widget type. In OO, this is trivial.

I'm not sure what the best solution is. People are researching alternative solutions (namely FRP), but it's too bad it's necessary in the first place.
It should be noted that PG stepped down from running HN 8 months ago:

http://blog.ycombinator.com/meet-the-people-taking-over-hack...
I'm not saying that these results are completely invalid, just that they can't simply be taken at face value. You have to take things like population into account when interpreting the data.
I read KSR's Mars Trilogy after hearing about it repeatedly on /r/spacex and I highly recommend it. In fact, given that it is a 20 year old work at this time, I think it has stood the test of time very well.

I'm glad to hear it's being made into a tv series, but I worry that you really need a high budget to make it come alive (like Game of Thrones)
It is one big rant - as someone who has ridden with Uber dozens of times in 4 cities I have never had someone who I couldn't understand.
To paraphrase Robert Downey Jr., 'Never go "full OOP."'

I think the bigger problem has been decades of education that start with decomposing domain objects into OOP class hierarchies by common attributes.

Animal, Dog, English Bulldog, Herman.

Now we have significantly better ways of teaching OOP:

- favor composition over inheritance

- decompose and group behaviors

- Liskov substitution principle

Sadly we're dealing with mainstream languages that are barely OO like Java (which I've done 99% of my work in for the last thirteen years). But even if Eiffel had somehow taken off and stood in Java's place... Nope... can't finish that sentence. It couldn't have.

OO was originally created as a way to cleanly allocate memory on the heap. That's a fairly well solved problem now. The best parts of OO aside from heap allocation are encapsulation and polymorphic dispatch (two sides of the same coin). Closures and functions as fundamental units of decomposition handle that fairly well, especially when you couple that with type inferencing.

I'm not arguing that OO is bad. I'm arguing that it's no longer anywhere near as useful as it used to be, even when it was implemented and used properly.
Why would you think that firing an employee over a political contribution they made or did not make would be in any way acceptable?

Well functioning political discourse is, above all, tolerant. A hallmark of non-functioning politics is the use of coercion.

How would you feel if you worked for one company, and they required you to fund a certain cause. Then, you get fed up with that, but you're now on the officially reported doner list for that cause (which your employer used to ensure compliance), and another employer says they won't hire you based on a simple web search of causes you've "supported" in the past?
>> Studies have shown that in the UK immigrant populations pay more in taxes than they pull out in benefits, I imagine it's the same in Switzerland, despite what neo-fascists might want to believe.

It's not this clean cut.

They used some interesting methodologies to come up with a figure of 5 billion net contribution from the immigrant population.

Taken alone this does not mean "more immigrants good" as it doesn't break down that group. What does it look like if we look specifically at skilled migration from outside of the EU on Tier 2 visas etc, compared to the figures for migration from within the EU (which requires nothing more than moving)? What about the refugee populations? Their economic impact is of very little concern - we take them because they are in need - but it might at least be interesting for the sake of comparison to know how it all works out.

There are also concerns in the UK that this didn't take into account the strains on infrastructure and transport. And that wage suppression is another effect of importing vast numbers of people. This in itself may be good for business but bad for people, and may have knock-on economic effects as those who already have the least spending power find it gets even smaller.

Just saying 'immigration contributed 5 billion quid last year' doesn't actually say a lot.
Hey Matt, I've heard the Warren Buffett argument many times but it's usually misrepresented. Warren Buffett has said multiple times that if one has the skill to evaluate companies than they should pick individual companies and not choose an index fund because they will do far, far better with picking individual stocks. The problem is the vast majority of people are not skilled in evaluating companies and that's why Warren Buffett suggests them to choose a low-cost index fund.

I think though the main point of my previous comment was that many people (including posts that suggest everyone invest in only low-cost index funds and bonds) tend to underestimate the vast potential of huge returns in investing if one truly is an expert in investing.

Also, I suggest reading Common Stocks, Uncommon Profits by Philip Fisher and also Beating the Street by Peter Lynch. Both books are from legendary investors and will shed light that is different than the index fund approach/philosophy.
10 Free Marketing Tools You Need in Your Life Right Now
> Why would it be bad to forbid any kind of political donation for established parties.

Everybody is responding to your question with the generic "free speech" answer. It needs to be fleshed out so everyone can understand it.

What political donations are used for is to buy advertising and get on television, which politicians need to do to get elected. Now suppose we ban political donations whatsoever. Cui bono?

You haven't changed the need for politicians to get their faces on the TV in order to get elected. So now what determines whether they get on TV? They can still buy advertising themselves, of course, but only if the candidate is rich. Not really what we were going for. And even then, who has more power in this scenario? A millionaire candidate who can personally afford to buy some TV spots or the billionaire who owns the local TV stations? And if the prospect of handing Comcast/MSNBC and News Corp that much control over elections doesn't make the point sufficiently, imagine what happens when MSNBC, Fox and CNN are purchased by Exxon, Chevron and BP.

You can't stop people from buying airtime. It only consolidates the power of the people selling it. What you can do is public financing of elections. Public financing doesn't restrict anyone's speech -- the candidate can buy the same ad with money from the treasury as with money from coal producers. But the candidates are going to work for whoever is funding them; if that isn't the general public then it will be defense contractors and Monsanto.
Good RESTful design and web URLs are centered around nouns and objects.
It is a miserable neighborhood to work in.
Apple laptops have, and have had for some time, absolutely terrible heat dispersion. I had a 2007 silver Macbook Pro that overheated constantly under any kind of load. It was a huge pain.
Mutability or not doesn't change the fundamental assertion that the result is not intuitive even to the author of the class hierarchy. My whole point is not whether the modeling of the problem in a typical type system is correct or not. The point is that a typical type system allows for a wide range of "incorrectness" that still compiles and runs and does exactly what it was designed to do but still leaves the programmer with an inscrutable result.

Therefore, it can be seen, that there might be other, better ways to assert your system is correct than using types.
What is the importance of zinc to increase male fertility
Huh, I thought they did the falling/time dilation experiment on Mythbusters and found that the subjects could read the digits that were previously flashing too fast.
Getting the same return on a bond investment as a stock investment is not the goal. Diversification into fixed income reduces risk (specifically volatility) which is important when you need the money at a predicted date. See this link, provided elsewhere in this thread:

http://bucks.blogs.nytimes.com/2011/09/06/why-and-how-divers...

Sorry to ding, but "I don't think bonds are a good investment for most people" is exactly the type of MattCuttsian financial generalization I'm trying to discourage in my little corner of this thread.
why wouldn't any rejuvenation techniques we develop also apply to the brain? I'm sure we will have ways to maintain neuroplasticity and I think cognitively alive people with 70-100 years of experience will be able to make huge contributions.
http://www.thepaincomics.com/weekly010919a.htm

It's jingoistic and over-the-top (which is surprising when the author is a cynical leftist cartoonist) but I've always been fond of Tim Krieder's essay about his "design proposal for the new WTC" that he wrote back in 2001 just after the towers fell.
The irony is that many sites now have poor compatibility with IE due to using proprietary webkit-only CSS styles. On mobile it's even worse, with most "mobile optimized" sites being broken even on firefox and opera. Even big sites perform poorly. Engadget's mobile version is broken on anything that's not webkit. It is frustrating to see that people never learn. They're quite happy to change jailers, but quite unwilling to free themselves.
tail -f log | grep keyword | while read line; do tmux send-keys -t 1:1.0 "$line"; done

Really cool idea! But grep awaits EOF to pipe its result... (though it outputs line-by-line if result is not piped onward)

How are you getting it to work? I found a --line-buffered option for GNU grep, but I'm using busybox grep...

EDIT OK, in case anyone else wants to know, found I could solve it by putting the grep inside the while loop instead (line=`echo $line | grep keyword`), but I'd still like to hear how you did it... BTW: entering "-" causes send-keys interprets it as an option.. I pr need some data cleansing...
Great find, installing it now.
I tend to agree. The other point to consider is that if you are (for example) putting 30% of your salary in to a mortgage in a high cost high income area, you will have a much more valuable asset by the time you have paid off your mortgage than you would if you put 30% of your salary into a mortgage in a low cost low income area. In fact you may well have enough equity to fund a nice retirement in a cheaper part of the country.
That site really hates Bill Gates.