skysight-inc/HackerNews huggingface dataset:
The author says using arrow functions won't hurt performance, but I wonder if that means v8 knows how to optimize them?

Last I checked, using any ES6 syntax causes v8 to permanently deopt the containing function - even using let/const to declare an unused variable that would get removed as dead code. It'll be great once that starts changing..
At a prior digital analytics company we ran a 3 month training academy where the candidates spent half their time learning our methodology/trade and the other half of the time working on client projects under close supervision. After several iterations of this process we were able to develop talent efficiently. We were able to have our pick of the talent pool to hire as well as source other top performing candidates to other companies in need of the skillset we taught them.
The prices may not be falling at the same rate as they were before the floods, though.
> Nobody needs or wants the mess of Java-style initialization Ceylon tries to replicate.

Initialization in Ceylon is nothing like initialization in Java:

- For the simple (common) case where there is exactly one initialization path, Ceylon is far less verbose.

- In Ceylon, the compiler guarantees that ever field not marked variable is assigned exactly once.

> Yet another static thing in class declarations?

Not really, just a constructor with no parameters.

Constructors are not "static". Constructors access the members of the class.

> Constructors in Scala are intended to directly initialize fields.

But it seems to me that they can't. Isn't it correct that only the primary constructor can initialize vals?

> Constructors in Scala are intended to directly initialize fields. They shouldn't be called directly, and are often private.

AFAICT it is not a limitation of the Scala language that constructors shouldn't be called directly. If it's indeed a practice that constructors aren't called directly, then it's interesting to enquire why that might be. And indeed an answer presents itself: because they don't have names.

> Factory methods provide everything else, and are declared in objects, instead of being static like in Ceylon.

Wait: a factory method declared on a "companion object" is not like static?! Really?

And it seems to me that people probably hide constructors behind factory methods precisely because constructors in Scala don't have names. I mean AFAICT, the syntax for calling a factory method of a companion object in scala is exactly the same as the syntax for calling a constructor in Ceylon! You just have to go through a whole lot more ceremony in Scala.

> Scala did away with 90% of the mess associated with constructors

And, AFAICT, also lost like 75% of their capabilities. Unless my evaluation above is wrong, and I'm missing something. But so far no-one has spoken up to correct me.

> therefore have a nice day! :-)

You too!
How the price of pot differs in 50 states and 8 major cities
When I consciously think about someone who happens to see my screen at work I can easily brush the thought off and tell myself I don't care. But my subconscious thinks differently because I can feel myself get a little tense when someone comes up to, or walk by, my desk. I get the same feeling whether my screen is showing me doing work or not. It's an annoying feeling.
It needs a bit more than that.

All the Americas were colonized, and most (but not all) are doing better than India. Indonesia is roughly twice as rich per capita. South Africa is even richer. And Malaysia even richer than it. Algeria, Libya. Korea and Taiwan were both colonized and much more exposed to WW2, and they're very well off.

The poorest countries in the world were mostly colonized, but that's because most of the world has been victims of colonialism. And the effects of colonialism reverberate to the present day. But it's not really powerful IMO as an explanatory variable for differences in human development in the non-European world.
Your favourite sites in a super clean dashboard
I thought that physically, it is lower-pressure, since sound is physical, and the inverted sound waves that the ANC generates cancel out those from the noise source. Looking at the diagram on https://en.wikipedia.org/wiki/Active_noise_control , I'm not getting how the amplitude is higher, since the resulting sound is quieter, which I'm translating to lower SPL (lower acoustical pressure).

Thought experiment: suppose you have super-loud bass coming from a single point-source at 30hz. You can feel this in your chest. Now, you put a second point-source 180 degrees out of phase in the same place. What would the pressure on your chest feel like? How is this different from how ANC works?
> if a business invests $20k in training and $80k in salary, there is nothing stopping another employer from offering $90k in salary after training is complete.

And nothing stops the first business from raising the employee's pay to $91k. Why should they expect to keep paying the same salary to someone they've made more valuable? They already amortized the costs of training over the value added by the employee in the first year, right?
People change jobs more because nowadays, it's the only way they can get a raise. This is also the fault of employers. The middle class hasn't gotten a raise in years, while executive bonuses continue to rise. Pay people more, and you'll retain them longer.
That's not true at all. Business doesn't want to have to actually compete for it's employees, that's it.
Different membership levels: https://wiki.linuxfoundation.org/en/Corporate_Membership
Because that's a plausible, common use case.
From their latest blog post

https://coreos.com/blog/app-container-and-the-open-container...

> CoreOS remains committed to the rkt project and will continue to invest in its development. Today rkt is a leading implementation of appc, and we plan on it becoming a leading implementation of OCP. Open standards only work if there are multiple implementations of the specification, and we will develop rkt into a leading container runtime around the new shared container format. Our goals for rkt are unchanged: a focus on security and composability for the most demanding production environments.
> It feel like you are pushing a specific aspect to the detriment of the whole.

Maybe. What detriment are you thinking of?

I'm just observing that since monogamy restricts us to this 1:1 gender ratio, and since in some cases one of those 1s is taken off the table (either literally or if not literally, maybe effectively due to low quality) this drastically restricts society's ability to meet a basic human need one a wide scale. To make matters worse, situations like China's gender imbalance add to the challenges that already exist when the gender split is close to 50-50. Wouldn't you agree that these kinds of challenges might be reduced if a many-to-one structure was just as socially acceptable as a one-to-one structure? Could the pigeonhole principle have something to do with the demand for sex trafficking? If this is an unreasonable line of thought, I'd love to understand why.
used these back in highschool while doing homework, took them straight out of my garage and put them on my desk. they work great
How? What qualification or rhetorical flourish makes it objectively, explicitly clear that these are not serious threats?
I think you're obsessed with this one exception. So I'll state your concern outright: How do you prevent people from having sex in an auto-car?

Well, how do you prevent people from having sex in rental cars? First, people that can get a rental car usually can get more comfortable accommodations for other activities. Second, the rental car is only in the renter's control for a short duration, and that duration isn't cheap. Third, the rental agency will hold the renter responsible for any damages caused by this activity.

I'm sure that Zipcar, Car2Go, Enterprise, Avis, and others have solutions for these situations.
pinterest on buy buttons:

> “They’re threaded into every aspect of the experience,”

Yuck. I never want to see a buy button. I understand the appeal on both sides, but I myself will react unfavorably and likely close whatever account I have.

The web was not always a commercial venture, it used to be purely for information. But, I think the commercialization has lead to a lot of growth and good things, and that's certainly ok.

But the "buy" button is too much for me, it's too much commercialization. I want to control when i'm "shopping" or not and this obviously seeks to blur this. They want me spending more money online; I don't want to. It restricts the shopping experience, removing any chance that you might shop around, or read reviews, which just makes it easier to peddle shit. I really just don't want that shit in my face every day.

But I don't doubt it'll work to some measure. And in some contexts for some users it will make a lot of sense for sure. But I suppose I am not in that target audience.
Maybe "it isn't not hard to misunderestimate".
I'm always at a loss.

"indices is generally preferred in mathematical, financial, and technical contexts, while indexes is relatively common in general usage"
Moving from Sweden to California, the recycling system here is still completely bewildering to me, and makes very little sense.

Where I'm from, recycling started by grabbing simple low-hanging fruit. Newspapers. Aluminium cans. Glass bottles and jars. And it doesn't all go into one "recycling bin", but each thing is separated. Later, that expanded so you can now also recycle metal cans, plastic containers and cardboard. If you want to.

And the default was never landfill, instead all household trash is incinerated for heat and electricity. Sweden even imports trash to burn! And in the case people throw the "wrong" things in general trash, the incinerators can handle it, they're very good at exhaust filtering, and I bet you can even mine the residue for rare materials.

And that all makes sense to me. I can see the economics of it, and I can see the environmental impact of sorting. But the California system of one big "recycling" bin that you're supposed to throw god-knows-what in is completely opaque to me. How does anything useful come out of that? How much labour is needed to sort it at the station?
Right, and the fact that she had the leverage to be able to do that in the first place makes her unlike the vast majority of artists on these services. So for her to play the "I'm not doing this for me, I'm doing this for all the undiscovered artists" card is a bit disingenuous. That's not how the industry works for the majority of artists -- their payouts from Spotify/Apple Music/etc. are so low they aren't focused on that as a revenue stream.

The only artists who really care about these streaming payments are already at the top of the food chain -- the vast majority of artists are just looking to get discovered. One could argue that the presence of big artists on these streaming services makes the platforms more valuable for artists at the bottom by drawing more users to them, but it definitely has created a situation where top artists' albums have value as a product themselves, while albums of lesser-known bands are essentially given away for free to try to build an audience.
Don't see the use case. Looks a lot like PGP for content with similar expected outcome.
Yeah, kinda my thought too. Pretty much everything they cite as advantageous with the design also has drawbacks that the traditional umbrella doesn't. Here are some advantages they demonstrate and where that "advantage" leads to other possible issues:

Getting in an out of a car, staying dry. A) not as big of a problem as they show, but also B) if could do similar bad acting of me getting out of a car trying to open up the kazbrella and being annoyed that in poking the umbrella out of the car I got the supposed-to-be-dry-side wet and now it's dripping on me.

Won't drip water inside? No, it won't if you hold it upside down. But now you're carrying a pool of water with you. Careful opening it. And the umbrella will be even worse at drying in tight quarters when you can't open it up.

Dry side is on outside so it doesn't get things wet. They show somebody placing it on seating. Yep, now that pool of water is spilling in some direction. Also, if you do have the umbrella outside and it suddenly starts to rain, the side that's supposed to remain dry is the one getting wet until you get the thing opened up.

It was probably a fun project to design, but I don't think it's as useful as they want you to think it is.
It's a little difficult to keep track of all the activity happening in the container area. The runC repo's history begins in June 2014? I believe rkt was announced in Dec 2014, right?
FWIW, thanks for posting that. I can hardly read the OP.
Cleaning up buggy legacy code is a goldmine for learning what not to do.
Understood. I meant one geared at non-technical people. More of a plug it in and data starts being collected and pushed.
> In the short term, what Docker uses with will matter more than the output of any such committee.

How is that true? I'm already excited to kill dockerd just to run containers.
While I suspect your original comment is closer to the truth than the article's (as far as price parity goes), picking a single data point doesn't make the point. It's rare for a drive to suddenly drop in price so significantly without manufacturing changes (thusly a new version of the drive). So while you're unlikely to see the same exact drive for 50% less after a year it's entirely plausible to see a different model, similar or more capacity, drop in price.
Related discussion at https://news.ycombinator.com/item?id=9756009.
Welcome to a new Pando
I agree with the larger point that robotractors have an easier job, but I really wonder how close we are to a robocar "which can at 70mph successfully swerve enough to avoid a wreck while still not swerving so far as to cause another wreck."
Is it time to get depressed yet? This has been a topic for such a long time. It was in people ware in 1987. I thought I discovered the topic when Joel (On Sofware) wrote about it in 2000. While a few people seem to enjoy open offices, the overwhelming majority of developers I know, or who chime in on HN, value a quiet place to work and dislike open offices.

And yet, not only has nothing changed, it seems to be getting worse. It couldn't be more clear to me that developers, at least on this issue, simply have no clout as a profession. There may be a few individuals who can make demands, but on the balance, these are decisions imposed on us, as a group, and we are apparently unable to do anything about it.

The really sad thing is, this isn't a situation where we're asking to fly first class, or for more vacation. We're talking about asking for something that will make us more productive and increase the value we largely hand over to our employers, simply because it's depressing to not be able to do a good job due to distractions.

So yeah, I'm depressed about it. There was a time when I read these essays and felt a bit more charged up, like people were starting to understand something important and that things would change. Well, now we have open offices.

I'll finish with another variant on my broken record: the industry talks constant about the critical shortage of software engineers, but it won't give them a quiet place to work. Actually, that last sentence is too optimistic - it won't allow them a quiet place to work. Those places exist, but companies often demand that their programmers spend 8 hours a day in places that are too noisy for focus.
Don't wait for the best candidate. Get the first hireable person onboard. When you're still getting off the ground, it's okay to work with a decent hire, than to miss to holiday season because you couldn't get work done.

If this is your first time hiring however, then you should interview a few people, in order to know what you are exactly looking for. Most people don't realize this, but hiring is closer to dating than it's to a test. You learn more about yourself with every date. Eventually you make an opinion of "good enough", and continue the relationship.

Getting referrals is great. But that doesn't mean you skip interviews entirely.

Your interview process should be structured. You exactly want to know in advance, who is asking what question and whether each question is measuring what you need as a skill. You can only do this well when you have a good sense of what you're looking for.

In order to be fair to everyone who applies, you can send them a work-sample test. e.g. for tech interviews, you can use hackerrank.com, or for non-tech, you can use candidatemetrics.com etc.

HTH

(Source: A lot of hiring over a number of years. Now running a bootcamp for candidates: http://InterviewKickstart.com)
No, because that pattern is still strictly more powerful. With enumerated classes I can have cases which are a class rather than just a singleton instance.
It is. You can try to translate the snippet using babel, it doesn't work unless you remove that parameter.
I've carefully tuned my use of headphones and music to my preferences and to minimize distractions. Here's my list:

1. Earbuds that block sound, or over-the-ear headphones that block sound
2. Nothing with lyrics. Voices are distracting. I'm really just here for the
noise that's not other humans having a conversation.
3. Use a streaming service that tailors the music to my preferences.
Pandora was my favorite, but I'm currently on Spotify. I don't have to
curate my own lists and I still get music that's all similar and not
distracting. It usually ends up being trance-like. Anything "jammin" or
"fun" is indeed distracting.

What I'm not getting here is how the generalization "music is a distraction" is justified. Was a large sample of music types used?

As for "being watched," I'm not particularly ashamed of my work habits. I do indeed post to HN (in case you didn't notice), read news, read comics (oh, forgot to catch up on those this morning...), keep up with my online peers, ... and I work. Watch me all day if you like. I'd prefer that you also get work done, though.
Good User Experience Means More Than a Good Product
Not even dishonest, but biased by an obvious vested interest, which subconsciously leads them to exaggerate the diagnosis. Some people have it as a personality trait to make mountains out of molehills. For any alleged condition, if you get three opinions from three specialists, they will differ even though everyone is honest.

You might actually have the hearing of a 45-year-old at 32, but due to some interpretive latitude and instrumentation error, they can get away with reporting it as a 66-year-old.
Why don't you ensure that all the promises simply written down in the employment agreement, so that in case that you are betrayed you have a lever (on the other hand: If the employer are not willing to write it into the employment agreement, there is a chance that he will try to cheat you sooner or later).
Haven't various companies been hyping memristers for years now?

Sounds cool, but I'll believe it when I see it.
Who actually prefers mailing lists over other methods of communication where email is optional?
> I believe rkt was announced in Dec 2014, right?

Yes but even ACI and Rkt were being worked on months before the announcement.
Historically, university researchers doing fundamental research with mass-market industrial applications have been spun out into a company, so that both the university and the researchers have an upside opportunity for founding equity stakes.

A signing bonus or normalized salary is in an entirely different (smaller) class of compensation, especially since there was already an international track record of investment into the commercialization of self-driving vehicles.
if im not mistaken, amazon glacier is $10 per TB per month at 0.01 per GB per month stated price. please correct me if something has changed!
I don't know the word is for what you've done in the way you phrased this post but I don't like it, especially on HN.

You very-intentionally call it "Obama's DoJ". While in some sense it 'is his', I'm pretty sure you just call it that to associate it with a bundle of things that we are supposed to blame Obama for. It's what Fox News/GOP propaganda does when they want to build a narrative that everything involved with Obama is horrible. Examples: https://www.gop.com/obamas-epa-is-at-it-again/, almost everything on https://www.google.com/webhp?ion=1&espv=2&ie=UTF-8#safe=off&... which is largely published by NationalReview, ACLJ, etc, which are all conservative publications. This phrasing obviously is correct but it's always loaded and should be avoided.

You just post a comment of outrage ("wow, this is so amateurish"), pretending like there's no debate to be had around this and not opposing positions involved, and not arguing in defense of this. You pretend like there's no debate on the subject and lead us to agree with you.

You pretend like this is one instance in a long trend (without examples), leading us into a narrative that we actually have no reason to believe. You write as though you're in a crowd of people who are mad about the same thing, and therefore by appealing to the collective outrage that we're supposed to share, you reinforce the position and your solidarity with the crowd.

Does this kind of pandering-to-a-position have a name?
Then the total cost to the first business for this employee is $111k. The cost to the second business (who provides no training) is $92k to beat the first company's offer. It's a losing proposition to provide training - you get the same labor at a higher cost.

In contrast, if you simply pay $100k to trained employees, and employees can pay for training out of pocket, you preserve the cost structure (big caveat: I'm ignoring taxes) but without the risk of losing your investment.
HAMR may also manifest at some point soon and push HDD densities way up while getting rid of the problems associated with SMR. HAMR will likely be expensive just like Helium is but it will certainly unlock a lot of super high density materials when it comes about (which may be in the next several years).
I wonder how fast it would be to boot Windows with a SSD like this.
If anyone is curious, this is what the sensitivity measurement is on headphones: https://en.wikipedia.org/wiki/Headphones#Sensitivity

TL;DR "The sensitivity of headphones is usually between about 80 and 125 dB/mW and usually measured at 1 kHz." and note that since dB is logarithmic, every 6dB is 2x the energy (human-perceived "doubling of volume" is typically ~10dB; see also: https://en.wikipedia.org/wiki/Fletcher%E2%80%93Munson_curves )
I deleted my account for the same reason. As a programmer, Linked In is not for me. I prefer things like Stack Overflow Carreer or Github Jobs.
Previously: https://news.ycombinator.com/item?id=8084302, https://news.ycombinator.com/item?id=7654601.
That's true for lodash + underscore merger which led to a new library but it's not true here!
I think it means Docker the company no longer gets to define 'Docker' as 'Docker with all Docker-the-company's value-added products attached'.
Crooked Piano
How to Become an Overnight Success
It was just a week or two before the announcement. You can see the commit activity here: https://github.com/coreos/rkt/graphs/commit-activity. The earlier blips are standard license files and other boilerplate from a project template used for new repos.
I was going to read the article, but all the Verge-tastic CSS is too distracting.
It's just libcontainer by far.
You can prevent access to `unsafePerformIO` and other unsafe language features using "Safe" Haskell (e.g. -XSafe). This happens at compile time. Functions like unsafePerformIO (IO a -> a), pure C FFI functions, overlapping instances,and TemplateHaskell are not allowed. Nothing is stopping you from accessing C but you can force FFI function to reside in IO.
But they are. As in, they fail to handle the null case properly.