skysight-inc/HackerNews huggingface dataset:
Elm is a profoundly interesting language, but I've had mixed experiences developing in it. I've been working on a small-but-hairy web app using Elm, and my first reactions are:

1. Elm encourages highly-rigorous state handling, thanks to the React-like "Elm Architecture" https://github.com/evancz/elm-architecture-tutorial/ and features like the Maybe type and ADTs. I rarely worry that I've overlooked some horrible, asynchronous corner case or that something might be null.

2. The Elm architecture requires a considerable amount of boilerplate code, at least relative to something like Ember.js. It's often necessary to thread significant amounts of application state through parameters, for reasons similar to the ones here: https://docs.google.com/presentation/d/1afMLTCpRxhJpurQ97VBH... But when you combine that with the need to use "case" matches everywhere to destructure ADTs, and the fact that you can't define guard expressions (or destructure things nested inside record types), it tends to result in a lot of extra typing.

3. The Elm tooling is a mixed bag. The error message are the best I've ever seen, but the sweet time-travelling debugger just refused to run when I tried to use it with the Elm architecture tutorials. This pattern of brilliance and brokenness feels fairly pervasive at this point.

4. The Elm community can occasionally be a bit frustrating to work with as an outsider. Sometimes, when I run into an issue, I eventually find a GitHub discussion like this: https://github.com/evancz/start-app/pull/37 , where somebody is trying to address an actual issue (one that was biting me, too), and the community is more-or-less throwing up its hands. Also, the Elm community has an occasionally surprising tendency to close GitHub issues quickly, even if it's known that they'll probably need to fix something someday: https://github.com/evancz/start-app/issues/35#issuecomment-1...

5. For me, Elm feels considerably more restrictive than programming in Haskell.

6. Elm's type checker and design do have one huge payoff: Even very complicated apps with lots of tricky asynchronous state tend to work on the first run after they make it past the type checker. This is hugely valuable, and it makes me more inclined to forgive Elm's limitations elsewhere.

Overall, Elm is exploring some really important ideas, and it's pushing the general React-style architecture to its logical limits. I think I'd consider it for small- to medium-sized apps with lots of tricky state, and with developers who are strong at functional programming.
I loved these! I certainly have been through some of that nonsense.

i would add:

job offer: salary range $100-$130k

interviewer: the max for this position is $80K

interviewer: hello?
I wish we could implement the siesta. I find I'm most productive from about 6 am to 11 am, and then again from 5 pm to midnight. The middle part of the day is kind of a waste, but I have to be on the clock then.
Feel free to steal mine:

#1

me: the candidate seemed pretty good, even if he made some mistakes.

CEO: a false negative is better than a false positive! Better to reject and err on the side of caution!

...later

CEO: we can't find people! There's a shortage! It's a crisis!

#2

CEO: we only hire the best, smartest people in the world!

me: OK I found one! He wants a high salary.

CEO: welllll, average market salary is only $, but since "we're a startup" we can't even do that....
"Passive income" ... you might want to see a doctor.
Ask HN: Is it possible to make money from selling sites?
Has any of you tried to sell sites on something like flippa.com? I would like to try do you have any tips?
Many/most seem more an indictment on engineer lack of understanding what it takes to get a startup off the ground.
You can force writes to disk with NIO, but I don't think that really solves any of the problems detailed in this article.
I started doing landlording for passive income at the beginning of the year. My property is 360 miles away from me (a converted vacation home). I do use a property management service. You will have extra tax paperwork to file at the end of the year (Schedule E).
-Advertising affiliate offers from Convert2media. ($1496 profit so far this month)

-Adsense/Lifestreetmedia on my Pirates FB app (Adsense: $29 this month. Lifestreetmedia: $47 this month) http://greenrobot.com/pirates

-Mopub, Inmobi and Facebook ads on my iOS and Android apps ($14 from Mopub this month)
I've been "Lead Dev" for 6 years, and had the responsibility of an actual manager without any of the budget/resourcing ability that's necessary to manage well. I've successfully launched lots of products and platforms with teams of 5-7 people, and had a good tenure earlier this year as a CTO with a team of 5. I would have stayed in that position if the founders hadn't closed it down.
"Not giving up after a week" is one of the keys to becoming an expert.
Nice to see someone name drop Bigger Pockets! That was my first big project as a Rails developer.
thanks for the insight, this gives a whole new perspective to the way I understood ADHD.
I have and do this fairly often but then I work on a market stall at weekends. Often you need the change there more than you want to deal with the hassle of having to fish out 17p or whatever.
My point isn't that you should need to replace your router every 5 years, not by any means.

My point is that routers don't (for some unknown reason) typically ship with automatic self-updates. The company could just as easily ship a firmware upgrade to fix your SSL issue (why is the burden on you the owner to switch to dd-wrt?) But if that doesn't happen, should the fact that some router companies refuse to upgrade to the latest standard stop us from encrypting the web?

I think no. And I think having to upgrade my router for that cause is an okay tradeoff.
Passive outcome is more like it amirite!
The examples ring very true, unfortunately. If you pop in on the Startups Stack Exchange (or the Work Life Stack Exchange), you'll periodically find concrete examples.
Those artifacts look more from a badly cropped photo than a render, so I would venture a guess that was a real watch.
your bar has free card payment processing? nice
Bitcoin non standard P2SH scripts
>It's highly recommended that you install Anki from this package instead of relying on the version distributed with your OS, as the packages in the official repo are often very out of date.

Why is this still a problem in Linux-land? Why can't we just make some but not all packages rolling-release? Making Anki rolling-release won't make the distro unstable by any sensible meaning of the word.
That depends on the country. In Denmark, you have no responsibilities[0] at all if you choose the anonymous option.

[0]https://www.retsinformation.dk/Forms/R0710.aspx?id=142348 (official law information in Danish)
People tend to chronically underlight indoor rooms anyway, but ignore it because of the light hue.

When you switch to CFLs, an interesting experiment is to replace it with a light with the half the wattage of your current one (not an "equivalent to something" wattage). In most cases this means you give yourself about 100-200W of incandescant equivalent output, and in every case I've had someone do it they've been amazed at how much brighter the room is (and been happy about that).
On a recent trip to Greece, I found this being asked by businesses, especially restaurants and bars, but down to my hotel that I reserved with a CC: "Could you please pay in cash instead?"
A few years ago I got publicity (TechCrunch among others) for a side project I developed. For at least 6 months I got non-stop solicitation emails for outsourcing and 30 second promotional videos. I can only imagine if I got that same publicity tied to a business with known funding.
During my day job I run a full-time startup, but, as a weekend hack a couple years ago, I built an automated email sales tool called Autopest (https://autopest.com). I've never done any promotion for it, but it keeps growing on its own organically via word-of-mouth.

About a year and a half ago I mentioned Autopest in an HN thread titled "Ask HN: How to start earning $500/month in passive income in next 12-18 months?" Since then, it keeps getting featured in Reddit and Quora lists for "best growth hacking tools" and "best sales hacks," and I've also seen it popup on sites like Inc.com and LifeHacker.

I guess Autopest isn't technically passive in the sense that every few months I code a new feature or two based on user feedback, but I also go months without touching it, and more people just keep signing up.

P.S. Here's the original HN thread... some good links to other passive income projects as well: https://news.ycombinator.com/item?id=8246255
Information wants to be passed around.
Non-technical people can make excellent business people, though there is some truth to the vapid MBA stereotype. However, if you're an MBA lacking the experience and wiring of a Jeff Bezos, then the "convince other people to paint my fence approach" is highly probable to result in failure. I would agree with one point from this post, which is that non-technical first-time founders should select ideas that they can learn to prototype working alone. This has numerous advantages, including:

1) learn the real-world problems of your idea through trial and error

2) if the idea does not become a profitable business, you reduce the risk that you will disappoint others and lose a lot of money that doesn't belong to you

3) develop technical skills that will be useful no matter the business outcome
It's absolutely made up. I didn't wear glasses at all till I was 27, still mostly don't, and still have -1 short-sightedness despite all those years of trying to ignore the problem.
I don't know that grabbing beers and playing foosball necessarily equates to getting the hires "EXACTLY right". I feel like it's the litmus test for "Can I hang out with this person casually and for very extended periods of time?"

Edit: Not sure why the down votes. For anyone that's worked in a seed/pre-seed startup, this is absolutely an essential thing.
Based on my experience, there doesn't seem to be much overlap between the type of charismatic pitch founder capable of raising money and getting people to work for less than their market rate, and the bean counter-oversight founder capable of running an efficient business. But it's the former type that is able to raise money, so they find themselves in a position to have conversations like these.
Atropin to the rescue!

Nearsightedness Progression in Children Slowed Down by Medicated Eye Drops:
http://www.aao.org/newsroom/news-releases/detail/nearsighted...
Well, if it were actually one of the smartest people in the world then they'd understand the true value of a 0.5% equity stake vesting over four years :-/
Based on his other replies, it seems he's given up on adhd treatments and probably didn't want all the replies focusing on that (oops!). I guess he was hoping there were some strategies others use that weren't related to treating an underlying neurological condition. /shrug
With respect to (2), I've found non-trivial forms to be an especially annoying example. There seems to be lot of fairly trivial repetition in elm architecture code which I can't really manage to extract.
Sometimes this is not a bad thing. I started something in PHP an year ago, about 3 months ago I played with node, evaluated it and it felt like it would give a productivity boost in the long term. And it did! I am a lot happier with the new codebase. I guess it really depends on what you're working.
It's not even just that though. It's like you sign an agreement with a photographer to photograph an event, and then they don't show up and you never hear from them again. Or a potential investor won't respond to your emails, but they add you to their mailing list. Or you hire someone to build a web app, you go away for two weeks, and when you get back it becomes clear that they've been trying to build it on top of their new database hobby project.
...And as a developer you're a magnet for bullshit founders desperate to hitch their star to yours, especially if you're seen as 'competent' in any way, shape or form.
No offense (I have no idea who you are and how much you know), but...

Do you feel you are you competent enough (in e.g. SMTP and MIME) to distinguish between MIME-encoded base64 inline images (super rare) and references to images on external web sites (a lot more common)? Which in the case of old web sites are quite likely to stop working if you revisit old mails.

Did you make the effort to verify that it was the first type when you witnessed this?
Those watches look very nice!

Is it possible to get the white compass with a black leather strap?
Good article. You have a typo: looks like you're using Pandoc or something similar, and left out the closing parenthesis in the link after [undo log].
--
me: sits through yet another mandatory hours-long meeting where the loudest two developers one-up each other to find the best hypothetical solution to the most convoluted problem they can imagine as it relates to the urgent, critical problem we currently face whose simple, plain solution goes entirely ignored and where no decision is made.
--

I have trouble laughing at what I know is supposed to be humor, because of how tragically true this is and how much this affects me on a regular basis.

But I don't work for a startup! I thought it was supposed to be different in that world.

Perhaps some problems are just universal.
I've found lenses (for zooming state) and prisms (for zooming actions) to be very useful for solving this problem.
It is not true that it does not fit quantum field models. Plenty of meaningful results have been derived from effective QFT (Hawking radiation for instance). The model does break at a certain scale, but that is true for models without gravity too.
The product owner bit is crucial. Right now I work on a team with no product owner and it is just 2 devs who are trying to cobble together an agile/scrum process because that is what management wants to see. A lot of the time I have nothing to do since new features are not being suggested. There is also no active QA work as well so nk bug fixes either unless I do the QA myself.
Anki is great. I have been using it to prepare for my exams. Creating flashcards on my laptop and learning with them on my Android phone / tablet works like a charm. Also, the Android app just got updated. The only limitation I've found is that there is currently no way to self-host flashcards which can be accessed by the mobile app. If you're only using the desktop version you might want to look at https://github.com/dsnopek/anki-sync-server in order to self-host your flashcards.
There are more types of founders than just business guys without technical capabilities. There are also technical founders.
I've been on both sides and I think it goes both ways. I won't take coding tests ever again because of the wasted time involved. And I've had cases where even existing consulting clients thought it was OK to try and cut my rate in half.
Town also rejects seaport. The extra ships will make the ocean rise.
Related [and linked] blog post: https://aerotwist.com/blog/css-triggers/
I used Anki for 30 minutes to an hour each day for about a year to memorise around 1500 Japanese characters and their readings, with the aid of a mnemonic technique. So long as you have an hour a day to dedicate to the flashcards without fail, you will retain the memorised information.

My problem was that a job and location change altered my daily routine entirely, so I stopped reviewing the cards. One year later, I have forgotten most of the characters I knew. However, the characters I learned while living in Japan, in context, are still fresh in my mind.

I think that spaced repetition isn't the memory panacea it's always touted to be. It's a great tool for cramming, but soon becomes a pain when you have hundreds of cards to review every day. I've heard good things about the goldlist method, a much more low-tech pen and paper approach. Does anyone have any experience with this technique? It claims to be better for long-term memory: http://huliganov.tv/goldlist-eu/
There's another problem: there's no way to easily make cards from the mobile app! You have to do it on the desktop and then switch to mobile. Really kills the incentive for the mobile app
Do you have experience with similar languages for frontend development? Like purescript or ghcjs? Did you chose elm just because it was the first thing you tried or because you had frustrating experience with others?
They were not about to go bankrupt at that point (they never did, they blew through a very large amount of money in no time flat, then this guy got thrown out, a more seasoned CEO was attracted who concluded after a serious rescue attempt that it was pointless). So any kind of existential threat probably was still over the horizon at that point, they never actually went bust they simply shut down.
Didn't Galaxy want to do this as well?
Rift and PSVR are both targeting pretty limited mobility, neither will track the motion controllers 360 degrees in their default configuration (PSVR has only one stereo camera, Oculus is recommending two forward facing cameras, both headsets have rear LEDs so can be tracked 360 degrees, but the motion controllers can't be).

I have a Vive dev kit and it is amazing, but I agree the amount space is going to be an issue. However, since Oculus and Sony aren't going to support the same freeform movement, there will be plenty of experiences that get ported to Vive that don't need a lot of space either.

I haven't found gorilla arm to be an issue; most interfaces seem to be going with laser-pointer style where you don't have to have your arms out. It's more like a gyromouse. I've had no issues with pretty long sessions inside Tilt brush, which is probably the most demanding in that regard.

Several new locomotion techniques are coming on line from all the experimenting that are solving the sea-sickness issue without having to dedicate an entire room to physically walking around. Here's one of the most promising ones:
https://www.youtube.com/watch?v=lKnM5gC-XpY , seems to have pretty much fixed things for sensitive people.

The initial Oculus release with gamepad only and no motion controllers is going to be a bit of a let-down; you are right that just playing the same games seated with a gamepad or mouse and keyboard in VR probably isn't going to be enough for it to be a mass phenomenon.
>Why can't we just make some but not all packages rolling-release?

Does that include Anki's dependencies? And if it does, does it include all other packages that depend upon Anki's dependencies?

Also, does it include thousands of other packages similar to Anki that also "won't make the distro unstable by any sensible meaning of the word"?

Don't think you'll have a "just some rolling-release packages" distro by the end of that. Unless you think this specific package is somehow deserving of special treatment by Linux distributions (why?).
HelloWorld1.html of 33KB in size irritates me. Elm should have something like

--optimize-for=size
I released a small computer puzzle game based on finite state automata called The Cat Machine[0] back in August, which still steadily sells copies, accompanied with bigger spikes when a Steam sale comes around. From what I hear, the 'long tail' after release goes on for some years, which I believe since back in 2009/2010 I wrote a number of Flash games and I still get a monthly Paypal of about $5 from them. Steam is a bit healthier than the Flash marketplace nowadays.

[0] http://store.steampowered.com/app/386900
The article displays nothing but a blank page with JavaScript turned off…
While this is insipid, the tendency of the Internet to a winner-take-all system is interesting and needs more commentary. Is it the product of the massive consolidation of wealth and corporate power? Or is it a feature of the Internet? Should we avoid it, or mitigate its effects (monopoly power)?
Sleep apnea is a big thing. I haven't got there yet, but getting tested and starting to use a CPAP machine has been a huge improvement for my Dad.
I had an interview a little similar to this; ended up doing vodka shots with the founders, shooting the shit for awhile, but not really talking about anything technical.

Turned down the job in favor of a bigger, more corporate experience.

Surprise surprise, a few months later, the start up in question was lambasted for being the exact stereotype of a dudebro startup, from underpaying its employees and expecting them to work 16 hour days to outright sexual harassment.
A Music UI for MPD Built with Go, Angular and WebSockets
Download “Rapture of the Nerds” (2012)
If you read the original:

http://www.roanoke-chowannewsherald.com/2015/12/08/woodland-...

And see what they really said/meant they sound far far less crazy. It's pretty clear they don't think solar panels are using up the energy from the sun.
I wouldn't. If your daily workflow includes a high volume of email, then it does.

What I would ask is: is there a way I can solve this problem without having to totally rearrange how I use email? I'm curious whether the author looked at, say, running a personal MDA that served mail over IMAP, so that it could be interacted with via a desktop email client, without requiring that client to serve as the point of truth. Not to say that corruption couldn't still happen that way, but Thunderbird (for example) can be configured to store only a subset of messages locally, or none at all. With a reasonably fast connection to the MDA, this seems like a possibly workable solution.
One thing I've always wanted to try and never had time is to build SQlite as a kernel module, talking directly to the block device layer, and then implement a POSIX file system on top of it.

It wouldn't solve problems with the block device layer itself, but it'd be interesting to see how robust and/or fast it was in real life.
I think you aren't supposed to start with hundreds of cards. Start with 10, once their frequency drops to once/week or less, add 10 more, repeat ad nauseum. Since the frequency of cards drops integrably, you'll always have a constant and manageable number of cards to review.
OPs point is that your brain adapts to the level of caffeine you're ingesting. So if you're used to drinking coffee then you're basically at the same level of alertness/functioning that you were before you first started drinking coffee (i.e. before it became habitual). The effect you notice from the first cup of coffee in the morning is really just the coffee counteracting the withdrawal you feel after ~6-8hrs of no caffeine.
As long as I have lived I still find it hard to accept that educated people can be this ignorant about basic science. Then again stories in the press often carefully leave out the real story so you can't always believe what you read.
I think part of the trick that's commonly overlooked is mixing the two approaches. Use SRS so that you remember the cards tomorrow and can use them in Japan.

I think this could also be partially solved by making better cards.
It's an obvious hunch, so it should perhaps not be surprising that there have been lots of scientific studies on this. The results are the opposite of your intuition: undercorrecting childhood myopia causes the myopia to progress more quickly than when it is properly corrected.

So good news, you've been freed of one eternal regret.
As per the above comment this is one of those stories edited to make people sound stupid.
The funny thing is, this type of programming for just about any type of program can be done right now if you are willing to let go of total live programming at the granular expression level and use it for the more course structure of a program. A lot of ideas have seem to fail due to people trying to force them into being a silver bullet that should be applied %100 consistently down to the base constructs.
In Vb.NET there's a ! operator for name-like dictionary lookups, so Foo!Bar is equivalent to Foo("Bar") where Foo is a dictionary.