skysight-inc/HackerNews huggingface dataset:
For the author-- the mockup graphic of the HN front page was a nice tough and made me laugh out loud. I'd be interested in a citation to the quote referencing gambling and bullying, too.

Cryoshon, a reference to at least some books like Burns' Feeling Good, or a synopsis of the techniques (like how you would apply Seligman's personal-general-permanent framework to Burns' triple column cognitive distortions tool), would be helpful, I agree.

And while I personally think stoicism is an underrated and misunderstood philosophy, I don't think the article is really getting at what you ascribe in your last sentence, because the article isn't saying that your circle of influence is immutably fixed. Unlearning helplessness may mean having the wisdom to accept things you can't change, but it could also mean thinking of ways to increase your circle of influence to be more in line with your circle of concern. Most people would say slavery is within their circle of concern, but would also feel as though it was well outside their circle of influence. And to some degree, it is, but you can still increase your sense of influence by donating money to effective anti-slavery organizations, for instance, or paying attention to where your consumer goods are produced. But you can also reasonably reduce your circle of concern without it being a surrender by acknowledging that there are bad things happening in the distance that you aren't reasonably obligated to spend energy worrying about.

Deciding that your circle of influence is small, and that trying to change that is aspiring beyond your place sounds itself like learned helplessness, though.
You're absolutely right, thank you!
I also used Pingdom to keep my Heroku apps alive, although I found it annoying having a separate free account on pingdom for every site and recently swapped over to StatusCake (https://www.statuscake.com).

Whilst you're right that it is a downgrade, it was clearly iffy to be using Heroku for free 24/7 hosting with essentially no downside on our end. I had no qualms however because it was just so expensive to move up to any other tier and it took so long for the Dynos to boot up.

Since they're adding the Hobbyist tier at only $7 I really don't mind this change and will happily swap over to it.
Ask HN: Mental fatgue after a long day, what do you do to sharpen your brain?
I'm curious what HN users use to wake-up or re-sharpen their mind after a long morning. I usually hit the afternoon wall and am trying to get some ways to sharpen/stimulate my mind when I hit that wall. Chemical suggestions are welcome, but I'm really trying to collect a group of activities.

Activities I've found useful:

- The game SET (there's something about the pace and focus)

- Ping Pong (focus and response time)

- Kneeling to standing jumps (speed of the movement is oddly refreshing and stimulating)

- Walks/Jogs/Gym-time (I find these refreshing, not great at sharpening/stimulating my mind)

Looking forward to other things to try.
Heroku has great services/integrations and deployment is dead simple but when you commit to them you introduce a level of uncertainty into your stack. Services being deprecated, pricing changes and addons breaking are all very real issues. I initially enjoyed the simplicity of the platform but find myself feeling a little jerked around lately.
I've never been to Europe, and I'm actually curious if the Eurozone has changed driving behavior much. Would it be unusual for someone in Berlin to drive to Rome or Athens on vacation? For similar distances in the USA my experience is that it would be common, partly because Americans like to have their car when they arrive. Even when gas prices were quite a bit higher Americans still drove. Who gets in a car and only burns one gallon of gas? An F150 only gets about 20mpg, and I know people who go farther than that for groceries.
Just so you know, Zecco and TradeKing have merged, so now people just use the TradeKing website. They are still one of the cheapest online trading services. Their website and customer service are great.
TC, Are you looking for full time employees or are you interested in working on a long term contracting / freelance basis?
I want to say that in the terms of service, they always forbade you from using a cron job to keep all of your dynos alive, I heard someone say this once, but I don't believe it's true (I have not read the TOS).

Heroku has offered the New Relic monitoring plugin for free which has this same functionality (pretty much as a checkbox), so it would not make sense for them to forbid this in the TOS.

So, if you're using Heroku to serve up your apps 24/7, how is that not worth $7/mo?

Unless your business is geographically distributed (or otherwise operates 24/7), you can still use Heroku for internal applications for free during business hours (and use monitoring to keep it fast.) If you are serving your public website from Heroku, that's probably worth $7 or more (even as a hobbyist).

So, yes it's a downgrade to users in the free tier, but what's wrong with Heroku attempting to monetize their (most likely very, very) long, free tail?

I am not surprised by this announcement because it was reported on HN a few weeks ago that they were doing something like this in a beta (and the details were not supposed to be released, NDA, blabla). For anyone who was already paying Heroku, your bill is going down.

We actually use the free tier at my business, and this may affect us. Oh well.
To the best of my knowledge, the insight that function application (and other control structures) can be seen as special cases of message passingh comes from the actor people [1, 2]. The first proper mathematisation is Milner's breakthrough encoding of lambda calculus in pi-calculus [3]. This lead to fine-grained investigations into what kinds of interaction patterns correspond to what kinds of functional behaviour (CBV, CBN, call/cc etc), which in turn inspired a lot of work on types for interacting processes.

I don't remember off the top of who first showed that parallel computation has no 'good' encoding into functional computation (lambda-calculus). I'll try to dig out a reference and post it here if I find it.

But the upshot of all this is that message-passing is more fundamental than functions / function application.

[1] C. Hewitt, H. Baker, Actors and Continuous Functionals.

[2] C. Hewitt, Viewing Control Structures as Patterns of Passing Messages.

[3] R. Milner, Functions as Processes.
As someone who lives next to the port of Oakland, allow me to say that ships are indeed an issue in urban environments, and they do cause large amounts of pollution. And besides the ships, there are usually a number of diesel trucks that are coming to ship goods to and from the port.

Recent state and federal regulations have made this less a problem.
There's not that many countries with immigration problems like the US. The majority of governments don't care much.
[FREE EBOOK] Big Data in Action – Real world use cases of big data
he's just a "29 year-old hacker"
You could use the free heroku tier to build your projects and host the static pages somewhere else, like S3.
Yeah, it's beautiful if

1) you think mutable variables are beautiful

2) you think stuffing everything into one file is beautiful

3) you think defining functions at the root namespace is beautiful

4) you think consecutive repeated property accesses stuffed into a consecutively repeating boolean check like this are beautiful: if h.Time == "0" || h.Time == "100" || h.Time == "200" || h.Time == "300" || h.Time == "400" || h.Time == "500" || h.Time == "600" || h.Time == "700" || h.Time == "1400" || h.Time == "1500" || h.Time == "1600" || h.Time == "2300"

5) if you think embedding ANSI color codes across all strings instead of centralizing all that ugliness somewhere is beautiful

6) if you think not separating your command-line-handling code from your problem-modeling code is beautiful (see: Hexagonal Architecture http://alistair.cockburn.us/Hexagonal+architecture)

7) If you think having no fucking test suite to speak of, given all that mangled mutating code is beautiful (to me this is the MOST egregious non-beautiful thing in the entire "project")

Then, yes. WeGo is beautiful.

Frankly I'm shocked that what people call "beautiful" can differ that fucking much.
But the 4th does qualify with "unreasonable," and dragnets without "specific" suspicions are unreasonable and unconstitutional.
Not forgeting that for years official government advice (and tax breaks) was "buy diesal cars" which was wrong and is causing considerable death and illhealth and continued problems with air pollution.

http://www.bbc.co.uk/news/science-environment-32512152
If you've got a static files you could still serve it using Heroku free. Put cloudflare or another CDN in front of it and boom you've got 24 hours of fast responses. Though if it's a static site why do you need Heroku? Kind of like using a cannon to kill a mosquito.
One person I'd definitely consider an expert is John Lindquist (https://egghead.io/ and https://github.com/johnlindquist) - not just because he's always up to date but also because he's got some keen insights about many of those modern technologies (especially Angular). But as far as I can see tracking them is basically a full-time job, even for him.
Unlike the arguable Manning, Snowden had a deliberate, slow, controlled release of information. No informants were exposed; et cetera.

What is wrong with responsible whistleblowing of unlawful activity? I think it should be encouraged!
The µMatrix plugin for Chrome provides fairly granular control over content requests and javascript execution.
I don't have any issue with the session itself being shared. It's actually the desired behaviour almost all the time. I just don't want to be dependent on the frame sizing of a terminal no one's even looking at.
What was the YouTube video about? Honestly ~50 minutes video is too long to embed without any kind of introduction to why I shouldd stop reading and start watching.

Even 10 minutes is stretching it, if the video itself doesn't start of with an introduction.
I would assume anyone looking at a 4 day work week probably isn't constrained by the arbitrary (American) 40-hour work week, or wouldn't care to be.
I'm actually planning on trying to work only ~32 hours. Part of the experiment will be to find out how much time I spend not doing work during the week.

That will help me either find room in my schedule for work-related things I didn't think I had time for or just simply give me more time to enjoy with my family.
> If you’re grepping logs, you don’t need a regular expression that matches only valid dates because you can assume that the timestamps on the log records are valid dates.

Even _if_ I agreed with your assumption[1], are you actually suggesting that

2013-12-(2[4-9]|3.)|2014-..-..|2015-0([123]-..|4-(0.|1[01]))

is a serious solution? I admit that it is shorter than the author's solution, _but it still proves his point_.

And then what about multi-line log lines? `grep` can't tell where the next line is; sure, I can -A, but there's no number I can plug in that's going to just work: I need to guess, and if I get a truncated result or too much output, adjust. Worse, I get too much output _and_ a truncated record where I need it…

log-cat --from 2013-12-24 --to 2015-04-11 | grep <further processing>

[1] most log file formats I've run across do not guarantee the date to appear in a given location.
How would you know who they are? I think their govt IDs identify them as DoD employees, not specifically NSA.
"There are counterexamples I can think of -- new tools/abstractions/practices I've adopted that have resulted in near order-of-magnitude gains. But the ratio of these to other $NEW_TECH that just sort of shuffles the dirt around... well, that probably approaches another order-of-magnitude relationship."

Further, most people seem to have little appreciation of the difference between order-of-magnitude gains and shuffling the dirt around. Certainly, there are those who are wrong in assuming anything new is just dirt-shuffling, but for anyone without experience, everything offers an order of magnitude. And this really is an engineering discipline---$NEW_TECH is never as good as its proponents say, but it the best trade off in some circumstances, while $OLD_TECH is never as bad (or good) as the "general consensus" would have you believe, while it is almost certainly inappropriate under some scenarios.
Soverin: A privacy aware email service
CLASH OF CLANS: Craziest Dragon Clan War Attack
This article would be more helpful with some historical context. At some point in the past, if all cars were equal, 90% of cars produced 90% of the pollution. Over time newer cars replaced most of the old ones, and now it's 25% of cars. But the overall amount of pollution has dropped too. A future clickbait headline will read "5% of cars cause 90% of the pollution!" and sound very alarming, but in fact that's a measure of progress in removing most of the remaining polluters.
This is my biggest concern with emissions tests- it disproportionately affects lower income people. Not sure how to get around that, other than offering subsidies for them to upgrade/repair to a more efficient vehicle.

But as others have said, there is better low hanging fruit to go after rather than older cars.
That's great! would be nice if yo could share the source as well.
Entr Finance/VC MBA student- Anyone want help with valuation / term sheets?
I finished a bunch of classes at Northwestern's Kellogg School of Business on projecting pro formas, doing DCF/APV valuations, and choosing discount rates for different types of investors and betas/multiples for comps. I'm curious if there are any founders seeking some help with this sort of thing.

What's in it for me? The 'feels' of helping a founder out, and building up some professional experience outside of academic cases.
Could you explain in more detail? I don't understand the practical meaning of what you're suggesting.
I also found Seligman's What You Can Change and What You Can't to be informative.
I'm a manager indirectly over about 15 people. We unofficially have a 4-day work week. I believe one other person and myself are the only ones who work 5 days a week. The rest of the team "works from home" one day a week. I don't believe anything really gets done on those days, though they tend to be responsive to email. Personally, I'd rather we just take Mondays or Fridays off and call it done. My company won't allow that, though..

The big problem from a company perspective is usually customers. Customers want 24/7 availability, not 8/4 availability, so if you have a product that requires a lot of hand-holding for your customers, a 4 day work week isn't really gonna cut it (unless you have enough people to cover the gap, and in that case, you're probably wasting someone's salary).

If you're a freelancer or run your own startup, you should absolutely do a 4 day work week. Whatever makes you happy, but as long as you get shit done!
I'm not at all suggesting that young people shouldn't be investing, just that the interface and experience of Robinhood makes investing seem more like a toy or game than a discipline that requires a lot more than a few swipes and a tap.

Developing a relationship with investing when you're young is a great thing to do, but Robinhood might not be the best gateway. I am interested in seeing where the app goes, as the design by itself is very well done.
"bachelor’s degree in psychology and studio art".

The fact that you might need vocational training when trying to get a job that's outside your area of study surprises people ?
It will most likely be repealed, thus sending it up to the Supreme Court's docket. Very exciting.
MonetDB Oct2014-SP3 released
Hey there, we absolutely want to make this the smoothest, easiest pricing change you've ever been through.

We're just announcing the beta today and almost every single customer we have will see savings in some form here. We'll keep the old pricing until the end of January next year and let people opt in at their leisure until then.
I'd Hire the full stack guys first, but spend a lot of time talking with them, the first hire is always the hardest but the most important. Its also hard not to hire people like yourself so take it slow, some of the best guys I have ever worked with are mid 30 with wife and kids that just know how to get stuff done.
May be you should post a gist. The line is getting truncated.
I think his view of blacksmithing in history is pretty narrow and was constructive to fit his broader point. I'd assume the most respected blacksmiths were constantly testing different metals, weapon and armor types and shapes, smelting techniques, etc.
> What do you gain by blocking adverts?

...a lack of adverts?

> This argument is a little too close to justifying piracy for my liking.

Except it's within everyone's rights to decide how their computers will render a given piece of markup.
Have a look at abduco as well. It's a (IMHO) more user-friendly (and supposedly cleaner) dtach replacement, from the author of dvtm.
correction please its your wife who is expecting not you ;)
Can a Smartwatch Help Prevent a Heart Attack?
Very good point, too many people consider AI to be a completely distinct entity that will appear fully formed in a lab one day. The reality is more fluid. Kevin Kelly calls it the Technium, as he sees it, it's a completely new kingdom that is being co-created - initially by man, and increasingly by itself.

This new intelligence is indeed a hybrid - it is not Twitter, it is millions of people and machines tweeting, it is not an iPhone, it is millions of people and software interacting with it and through it, it is not Google, it is billions of people exchanging information with it and through it.

To understand where this is going, we must ask, like KK does, what does technology want? Certain things are obvious - silicon and electrons are its flesh and blood, so the activity and interest of this new life form will be centered around semiconductor manufacturing and sources of electricity. How does a machine make sure it will always be fed? It must provide something useful to man so that it keeps getting plugged in and recharged.

So what is useful to man? At this moment in history the largest use of computation appears to be communication, and the machines have made themselves indispensable in this area - but at a cost. The machines demand our attention in exchange for revealing the messages we crave.

Stephenson uses the swordplay terms 'Actor' and 'Patient' to describe the initiator and the subject of an attack. Witness a person's reaction to their iPhone beeping with an incoming message - between man and machine, who is the Actor in this interaction? We jump at the sound and interrupt our work in order to service the machine, which then gives us our reward, our tweet, and in gratitude we place it back in its charger.

Digital viruses are where we can see the forefront of a new relationship emerging - a digital virus is more intelligent and more efficient than its host, the Operating System, so we have a very straightforward Darwinian process playing out between an 'old' species, the OS, and a new, small, intelligent interloper - its electricity is paid for by its host, another machine, therefore the virus does not have the host's social contract with the person who owns the computer - it has a different calculus for its survival, it owes only its creator, the virus writer.

Like the coming 'water wars', the new digital wars will be rooted in a struggle for limited resources such as human attention, electricity, and habitable areas of silicon.
The Model S has an EPA rating of ~237.5 Wh/km. I also see that the Model S has a volumetric energy density of ~700Wh/l.

Cancelling, I get ~0.34 mm^2.

Another question would be the mass per unit length. At 250 Wh/kg, that works out to ~0.95g/m. For comparison, the 30mpg car works out to ~0.057g/m.
Go-bootstrap: Generates a lean and mean Go web project
I just drink a lot of coffee.
The programmers-are-male assumptions in your comments are disturbing.
I guess the average carbureted vehicle on the road today is being run by someone with the mindset that the engine should run great and develop lots of power. Back in the day more people would have set them up leaner.
New Dyno Types and Pricing Public Beta
You could call it a side-grade. We're also allowing users to add a worker dyno and use up to 18hrs/day of `heroku run` and scheduler one-off dynos as well. All told you can get quite a few more compute-hours for free applications now than before.
I wanted to spend more time in volunteer work with my wife, so I took a job that allows me to work four 8-hour days. It came with a pay cut, but I was willing to take that. My schedule is every other Monday and Friday. That means I have alternating 2-day and 4-day weekends.

It's been awesome! Been doing it for about 9 months now. I love the time I spend outside of work on my personal pursuits, and the extra time to spend with my wife, too. It's great for taking roadtrips or taking care of other things when they come up.

I've recently turned down a job that would have paid me SIGNIFICANTLY more money (about 50% more) if I went back to 5 days. For now, I'm enjoying my schedule too much.

It sounds like you have good reasons, especially #2. There's nothing like spending time with the people you love. Do it!
they should get an amendment to Nuclear-Test-Ban Treaty and resurrect Project Orion: http://en.wikipedia.org/wiki/Project_Orion_%28nuclear_propul...
Confessions of a growth hacker – much harder in practice than in theory
A pricing change was long overdue. AWS (which Heroku relies on to host everything) has been getting a lot cheaper in the last few years, but Heroku never changed its pricing and pocketed the difference.
Virtual Reality on a Treadmill?
Signal Processing for Everyone (2000) [pdf]
I admit that :)
Do you consume caffeine? I found quitting it to be very painful, but it got rid of the 'afternoon wall'. Now I feel equally exhausted all day.
Here's mine: https://github.com/olalonde/dotfiles/blob/master/tmux.conf

One tweak I can't live without is having the same key bindings to seamlessly switch between tmux panes and Vim split windows. (https://gist.github.com/mislav/5189704)

TPM is also really useful for managing tmux plugins https://github.com/tmux-plugins/tpm.

My prefix key is Ctrl-Space. It's very convenient to press on the keyboard, I'm surprised to not see it used more widely (maybe because it's commonly bound to some OS utilities?).
Really? I'd genuinely love to see some examples.

I've joined several projects in their maintenance phase which had no tests, and introduced some as I went about debugging, adding features, etc. Since the code was often untestable, I'd make a few refactorings over and over again to allow testing, and these just-so-happen to tease apart the pure computation from the effects; in essence making the code more functional.

An obvious example is to turn implicit state into explicit parameters, eg.

// BEFORE

function foo(x, y) {
b = x + y + a;
}

// AFTER

function foo(x, y) {
b = foo_pure(x, y, a);
}

function foo_pure(x, y, z) {
return x + y + z;
}

This doesn't make `foo` more functional or easier to test; but testing `foo_pure` is trivial. In particular this makes debugging logic errors much easier; since there's no need for elaborate/brittle test setup (eg. setting all the right globals, creating and cleaning up files, etc.).