skysight-inc/HackerNews huggingface dataset:
The problem with itemizing specific things to avoid or cut down, is they are too specific and end up becoming habits. Instead it is more suitable to form an over-arching doctrine. So instead of "Drink less beer", it should become "Avoid mood changing substances".

The reason for a more general approach is because the moment things are calcified like this, they are very difficult to uproot and change. Think of this as a recipe where the ingredients can be swapped out. The recipe doesn't change, but the ingredients do, and not so drastically that the recipe is destroyed.
I mean, a tool can be really useful (I write tools this size all the time) but some of them needs tweaks forever. I just think some 'tweaks' are already solved by other projects, that's why using already written tools that are somewhat UNIX-y sounds like a good idea to me. That's what I tried to say; of course I don't want you to write a 100% complete program in the first commit, that would make everything I write look really bad in comparison. Just be prepared for that pull request that lands basic auth in your project, and the next PR after that :)
But is that such a massive number in comparison? It sounds like you're talking executive levels.

Not that I disagree with you, I just think the numbers don't add up to be called massive.
Interesting, but from my participation in the community, I respectfully disagree that keto advocates reject science. There is definitely a strong attitude to reject old, now proven to be incorrect guidelines, but I in no way see that extend to new, proven science. At best, there is a reluctance to believe new theories based on spurious data (which in my opinion is the correct way to behave).
That approach - nesting everything inside section.myawesomesection- would hurt:

a) Performance (rule matching gets significantly harder as you nest);

b) Maintainability (did a change in the mark-up? Then check the CSS to see if it still matches);

c) Code reuse (obviously).

Using a nomenclature-based solution such as BEM, in the other hand, would avoid all these issues (complex, slow and over-specific selectors; DOM dependence; ease of reuse) while still avoiding style leaks. I'd argue BEM is even better at avoiding leaks: if you change all your global <ul> inside your section.myawesomesection, then it will - eventually, sooner or later - leak to a <ul> which you didn't want to style.
Geolocation in smartphones turns people into nodes, and successful apps/services solve an impersonal, one-off matching problem between these nodes.

The more personal/temporally repeated/geographically repeated the problem is, the less you need a smartphone to have a successful service. Then you find yourself competing with web services companies and your competitive advantage is gone.
I use a service called Handy (app-based home cleaning and handyman). It works fine. And doesn't seem to be struggling from what I can tell.

https://crunchbase.com/organization/handybook/

edit: I'm in Chicago
Yeah, I agree.

There's going to be a huge difference between businesses where customer acquisition is needed regularly (eg, taxis; it makes sense to take a different taxi with a different driver, based on whichever is closest to you) and where customer acquisition is needed infrequently (eg, cleaners; it makes sense to use the same cleaner over and over, on a fixed schedule).
It's called Angie's List.
Sometimes I wonder about DRY culture :

"It took me 20 hours tops to develop the customers solution, because all the code was available online. I just had to find the right bits, squeeze them together and present them in an usable format."

So many people put "non commercial" subclauses in their code that this sort of habit will bite you. Here is a "cooker" type developer, pulling random bits of "recipes" and tying them together into a project, without much knowledge of how they work or why. And someone will have to come along and fix it later. Or deal with someone sending legal cease and desist letters because they "ripped off our code".
This casual assumption that all housekeepers are thieves is galling. Its a kind of working-class bigotry that is tossed around by the entitled without even noticing they are doing it.

Of course folks have plenty of incentive to not steal - they have self-respect.
In other languages that use Option types more natively, like Scala, anything that isn't optional is assumed to just not be null: The compiler doesn't guarantee it (it's not as if it can, we are dealing with a JVM here) but it works in practice. I've not seen a NullPointerException in years.

Option has other advantages, like its compositional qualities (thanks to Option being a monad). So imagine the following code

def foo(x:Option[String]) = x.filter(_.length<10).map(_ + "More data")

If the function returns None if it receives either None or a string longer than 10 characters, and if we got Some("short "), foo will return Some("short More data"). The alternatives without an option type, involve at least a couple of branching statements, even if you have a non nullable type, to convert from nullable to not nullable, while Option does it all for us.
Why would it be? I'm seeing a lot of reasons to bust "employment". Here's some.

1. Unemployment insurance? Well, you aren't employed.

2. Get hurt on the job? You're not on a job, 1099'er.

3. You "get" to pay the employer's tax as well as your own. Jokes on you, bub.

4. Want to join a union? They kill your account.

5. Real contracts can agree upon wages. How do you do this via Uber/Homejoy/"sharing job"? You don't.

6. Pregnant or sick? FMLA protects employees; not you.
I cant think of many gotchas. Just don't fall into a trap of trying to customize everything right away. Also, take advantage of the best trackpad you can find, especially the multitouch shortcuts. :)

Software I use often: SublimeText, iTerm, Chrome & Chrome Canary, SourceTree, npm, FileZilla, Adoce CC, Keka (zip/archives), Airmail, Sequel Pro (Great GUI for browsing/managing MySQL databases), Sip (color picker).

Also, MS offers VirtualBox images with Windows and a bunch of IE versions, for testing. Here's a quick tool to get them up and running fast: https://github.com/xdissent/ievms
Never though about it that way. There are many other jobs that expose their workers to airborne chemicals. One that comes to mind immediately is anything near urban traffic.

Could society adapt for those workers to start wearing masks or similar protection. Doctors do that all the time, why not hairdressers?
Chrome devtools sort selectors by specificity by default and you can quickly see what order the selectors / properties were applied in and what overrided what.

Most of the !important uses I've seen are more due to "Why doesn't this work? Dunno, I'll just put !important on it.."

Since !important only applies to a specific property, it's not that useful for making structured CSS components, and makes it harder to override (using !important again on every property)

I can't think of many cases where using !important would be better than overriding with specificity. Maybe when using 3rd party styles or making styles that are embedded in an external page (e.g. widgets).
I'm not sure whether the number of people enrolled in a course is a very good measure for the impact of a course. I agree with some other commenters that the number of people that completed a course isn't necessarily a good measure either. Some measure that includes the percentage of videos watched, exercises attempted, links followed, etc. would probably better represent the actual impact of a course.

Some considerations: all courses have lots of people that enroll to subsequently discover the course is hard, boring or otherwise not what they expected. I expect this number varies strongly per course. On the other hand, not attempting/passing exercises doesn't mean someone hasn't invested time in watching all lectures.
Hi HN, I founded ShopManager as a side-project after finding that a lot of my clients were asking for a service similar to this.

Happy to answer any questions you might have. Thanks!
I guess this is important since we might start seeing class action law suits citing processed meats as a cause of cancer? The question is can you tell that the type of cancer was causing by the consumption of processed meat? When tobacco or asbestos is the cause, it seems to be fairly easy to tell what was the cause of cancer. Will we see warning labels pop up on our meat products?
Meteor and React: Free Preview of First Three Chapters Available
It's weird, but I get it. I don't know if this is what the author meant, but I started watching more films to get exposed to more culture and explore films of different countries and genres. To me a good film is just as enriching as a good book.

Like I said, I am not sure if the author meant this, but making the choice of watching better films has paid off for me.
Multiple files

Considering everything is global in CSS, the importing order isn't important. It only is when using Sass where you have variables and mixins that must be defined before using them. And with Sass, it's very easy to setup separate files that you import all at once in a single file. Structure example: http://tech.streethub.com/styleguide/css/app.html

Nesting

One of the biggest issue you encounter when writing CSS is _specificity_. Not only does nesting allow to match your Sass hierarchy with the HTML one, but it also naturally creates more specific selectors that saves you from keeping mind which rules are going to be applied.

Pixel units

Oh yes, using "em" is very elegant... but a pain in the long run. Font sizes need precise pixels to render correctly. Images need pixels for alignment. Borders need to be defined in pixels or end up disappearing. And you'll avoid crazy calculations with 4 decimals. I actually just wrote an article about it: http://jgthms.com/in-css-use-pixels-not-em.html

Device breakpoints

Breakpoints aren't meant for _devices_ but for your _element's_ size. It doesn't matter how your layout will end up looking on a 320px-wide screen. What matters is how your element will look like until 500px, and beyond that. With Sass I have 2 responsive mixins: +from($breakpoint) and +until($breakpoint). That's all you need.
Maybe it's the Guardian's fault. The BBC article (http://www.bbc.com/news/health-34620617) does mention some numbers:

> Is meat as bad as smoking?

> No.

> Estimates suggest 34,000 deaths from cancer every year could be down to diets high in processed meat.

> That is in contrast to one million deaths from cancer caused by smoking and 600,000 attributed to alcohol each year.
I like and use that way of writing compound, nomenclature-based, selectors in SASS. There's a catch, though: you wouldn't find your style definitions by searching via the resulting selector (e.g. .navbar__element__hover).

It's a smaller problem when you have the CSS split across files, but it's a problem nonetheless.
I don't know too much about it, but just from an initial glance it seems like it is better positioned, simply by offering things like plumbers, electricians, etc - again, they aren't services you fall into regular patterns with. They're very much on-demand when there is water leaking all over your apartment.

That said, I'm sure "doesn't seem to be struggling from what I can tell" could have been said about Homejoy, until it couldn't. Venture capital makes it difficult to tell who is succeeding, and who just has money to spend.
Beta Testing of the Book: “Development and Deployment of MMOG”
Neat, thanks for posting!

Invisible Secrets [http://www.east-tec.com/invisiblesecrets/] has a mode for this that works quite well on HTML source. Rendering is unchanged and you have to be looking at the source and looking at the spacing to even see the difference manually.
Well, the taxi experience has oft-discussed problems in many places. And AirBnB is typically a different experience from chain hotels. There's also the skirting of regulation thing in the "sharing" economy. But leave that aside and Uber/Lyft and AirBnB are still qualitatively different in many ways from the incumbents they're competing with. (Not saying they're universally better, just different.) However, it's hard for me to see Homejoy as being much different from a cleaning service.
A disparity of 2X wealth or income isn't what people are upset about-- try 30-100X or larger. Then there's also the real problem of the person with 10 dollars ending up with 7 instead of 11.
First Do No Harm – The Practice of Software Development
In CSS: use pixels, not em
Startup refuels your car while you work
It does time the launches for short cruise time and lower energy required, but since the cruise time is significant that doesn't work out to launching at the moment of closest approach. See https://en.wikipedia.org/wiki/Human_mission_to_Mars section "Travel to Mars" for some discussion.
>in my opinion have everything to do with wealth equality, __sustainable or no__, as this experiment

[The __emphasis__ was mine].

jerf was saying that determining if "wealth equality" can be a solved problem depends on whether Gravity's strategy is sustainable and a ultimately proven as a success. jerf is looking beyond the salaries experiment and current media hoopla.

jfindley is saying that the mere existence of the experiment without consideration of whether it succeeds is itself a conversation about "wealth inequality".

You guys are talking about 2 different things.
I'm reading a lot of accounts of this but as far as I'm aware it's just random anecdotes of some idiot foaming at the mouth on Fox. People may think this guy is an idiot but no one is saying he can't do what he has done.
Not entirely true from what little I know about Haskell. Haskell might put MORE of the burden on the compiler but it doesn't put ALL of it there. The following generates a runtime exception. (not a compile time type error)

head []
Huge chunks of the Sahara are man made. Protecting that is a really arbitrary choice.

Your basically suggesting to protect the 'dust bowl' because you happen to be born after the disaster. https://en.wikipedia.org/wiki/Dust_Bowl
even then, there is no more involvement of Spain for almost 40 years.
600k in August, 230k in sept.

It was 20% for eight weeks, 15% for the next four. If you join the newsroom you'll see how incredible it's becoming.
It can be pretty much boiled down to this one quote:

> ...and the steady leak of its best workers to direct employment arrangements with its own (now former) clients.

Services such as Homejoy create value by providing a market for the discovery of those seeking work with those seeking workers.

For any regular type work the incentive for the employer and the employee (if you can call them that) is to cut out the middleman. Why this comes as a surprise to anyone is a mystery.

In attempting to take a commission off future earnings companies like Homejoy just don't understand their value proposition and are simply rent-seekers. But hey, X% of future earnings from a given job into perpetuity sure makes for one hell of a revenue projection slide in an investor deck.

Look at the case where "intermediation" works and why. Airbnb and Uber spring to mind. In both cases usage is likely to be unpredictable so a direct relationship doesn't really work.

3 hours of cleaning a week on a somewhat flexible schedule? That works really well with a direct relationship.
Lawmaker looks at proposal to ship water from Alaska to parched California
I'd rather have both not do it.
This is the first time I've ever encountered the guy, but W.R.T. the second of those links: making a public statement denouncing a tool because a performance profile is O(N^2) and then, on being asked to prove it, admitting it's actually O(N logN) doesn't give me the greatest faith in the rigour with which he's considered the problem.
Those combinations are phonemes, nothing more.

Addendum: The letters 'i' and 'j' look distinct (though very close) to me in that image. At first I thought it was just weird 'kerning', but the caption seems to say it's a single glyph. That doesn't need to mean it's a single letter though; it can merely be a ligature.

Upon further reflection, I'm not sure I understand what you mean by being thought to write them as a single letter. I was only thought cursive in school and I'm not sure what difference it would make to write them as one or two letters in cursive.
I find it ironic that in order to remove the false idea of human exceptionalism, a human does what no other species is capable of doing (self-identify as something).

This is not about fair treatment of animals or a "realistic" view of our place in the world. This is about abdicating responsibility. Refusing to admit that human beings are exceptional doesn't elevate the value of animals. It lowers our own. It means that, as mere mammals, we are not reasonably bound to any sort of behavioral code or sense of virtue (including ethical treatment of our kindred animal counterparts). Like it or not, we have the unique ability to make or break this planet and the only way to save it is to hold ourselves to a higher standard, not a lower one.
Making decision: hosting of JavaScript libraries on external CDN or locally
> AUGUST 28, 2015 [...] I did not include Groovy [...] because I currently have no interest in Groovy.

Tsssk, tssk, you wrote that on the 12th anniversary of the Groovy creator's announcement of the language at http://radio-weblogs.com/0112098/2003/08/29.html
Ask HN: What SaaS products do you use in your Android app?
Curious to hear what people are using out there.

From most to least important:

- Product name

Optionally:

- What do you use it for

- Why you use it over the competitors

- Your company or app name
> But the general answer to that question is "Yes, it is very profitable to upend employment law for the profit of the few, on the backs of the many."

Demand is not constant, but adjusts in response to price. Would a low-income worker rather be a zero-income worker, because no-one is willing to have him work for the wages your regulations demand?
Also the fact that for compatibility reasons the CMD shell doesn't do App Path-based lookups, but in some ways that is an implementation detail (and what "start.exe" and its PS equivalent are for), and something that only really impacts shell-using developers.
Sticker shock: Bill Gates grant became a budget buster
Dr Karl (hugely respected media personality scientist guy from Australia) likes to point out that candles are bad for your lungs, but on the other hand they can be relaxing and peaceful so it's kinda six of one, half dozen of the other.

And as he also is fond of saying: "everything is a poison... what matters is the dose."
Because doctors don't wear masks to protect themselves. They wear them to protect the patients and avoid spreading diseases.
One more script kitty thinking that they've already mastered all there is to coding because they can use wiziwig tools. Congratulations. Every "program" you could write in 20 hours could be built in excel in 2. Anything more complicated will be entirely out of your grasp.
I feel a bit sorry that Cloudflare, the epitome of scrappy and smart now has 200 employees, and is doing some kind of googlesque project.
> Also, since you already wrote the analysis code in Python, why not write the front-end in Python (rather than Node) as well?

I had the node code laying around from a conference presentation I did, so it was the quickest way to gather some data while the others were looking into the machine learning part.

Then we just made the processes talk to eachother through filesystem, as you do at a hackathon..
I use this word a lot in written critiques of way-too-clever segments of code at review time. Is there a better word to use instead in this situation?
Nice title, does anyone have a paper explaining how to encrypt things with SHA1 and SHA2 perhaps? I guess not?

Would be good with some sources that what the hell they are talking about.
Wow, pretty sweeping generalization. You can't think of anyone who might prefer an open office arrangement, or you can't think of anyone like you who would prefer it?
But surely not all processed meat uses nitrates?
Whilst non-nullable references are useful, that isn't what Option is trying to solve. The problem with null references is that when you're handed a reference to an object of type T - the type system is saying to you: "This is the contract I will honour". Except it doesn't when the reference is null.

However the functionality of a null reference type is useful, because it allows a function to return 'no value'. So the goal of an Option type should be to expose the contract for T when there's a value and remove the contract when there's no-value.

The programmer is then explicitly forced to acknowledge the two states that the value could be.

Shameless plug - My C# implementation of Option which is possibly the most complete example out there (at least in C# world):

https://github.com/louthy/language-ext/blob/master/LanguageE...
I have to disagree heavily with the idea that all CSS should be in one file. Therein lies madness. Use multiple files, and be sensible about it - scoping each file in a way that it won't overwrite other files.
However, Cuba could trade with a lot of other countries, including some big ones like Brazil (since mid 70s, when the military government then in power had become anti-US).
Seconded. There is a lot of noise on what diet is superior and which one works best. Intuitively a person knows when they've over indulged just as when we pull back when putting our hand in a flame. We just don't do it anymore, and design our lives around not ever having it happen again.

My only problem with this is the victim-hood that happens when this high carb crap clamours for our attention in ADs and the media. Invariably you will get victim-hood and people gorging and gulping their way to negate such imagery. I know I don't look at a McBigMac the same way when I've had one.
I couldn't immediately find an image of that, but in cursive 'ij' would look quite similar to 'ÿ', I guess.
Why deep inference is better than coding
You do normally write very detailed, useful and informative posts. With all due respect that is not what we have in front of us today. I will be honest, after finishing "the article" I have no idea why Mr. Fathi joined cloudflare; nothing in the article sounds like the genuine thoughts or emotions of an actual employee and using his name for such a thinly veiled advertisement sort of dehumanizes him.

When you imagine the candidates that you want to attract and hire do you think that they will believe that these are Ben's actual words?
Agreed.
I would frankly like it to be adopted into OS X as a replacement for HFS+