skysight-inc/HackerNews huggingface dataset:
Yes, npm uses more space than what is necessary, but luckily disk space is cheap. That said, npm does optimize the disk space usage a bit. If I have package A which depends on packages B and C, both of which need D, then (if the versions match), D will be installed only once.
Reminds me of Pact (www.pactcoffee.com) which is a subscription-based-specialty-coffee-delivery company serving the UK (or at least London). I've used them and liked the service. I see how people that are really serious about their coffee could use a service like this.
I disagree, because it's (far) easier to soft-wrap QP long lines than it is to unwrap hard-wrapped short lines. Hard-wrapping essentially causes a loss of information, by not distinguishing between user-inserted and program-inserted newlines.

Any client program can wrap as appropriate (which is not always to 80 chars, but 80 chars would work as well as anything) with QP; the same is not true of hard-wrapped as gmail does it.
The box is a huge factor in making them sound good.

For a brief time, I had a pair of speakers on my desk made from old PC case speakers that I salvaged and just put on stands made from blocks of wood with a hole in them. I liked the look, and the sound was alright, but rather weak and tinny. Then one day I decided to build a box around them, and the difference was night and day - much louder sound with significantly more bass.
Data for Good: Share your favorite data-driven projects for the social good
Pre-optimization is one of the biggest problems with today's programmers.
First priority should always be releasing the software.
Let it break. Make optimizations when and where necessary.

No one can look into the future.
VsVim is OK, but I don't find it good enough to replace my usual emacs/evil. I did find it useful to define a gdb-like single key debugging mode. This lets me use keys like the space-bar, s, and f keys to step over/into/out of instead of F10, F11, S-F11. I mostly use the following keys:

s StepInto
<Space> StepOver
f StepOut
b ToggleBreakpoint
c Start
K StopDebugging
u (Move up the stack)
d (Move down the stack)
B BuildSolution
C Compile
<M-'> GoToNextLocation

I also remapped C-d/C-u to enter/exit this debugging mode, but since I never use VS for editing I mostly just keep the keys remapped to debugging keys.
The result isn't counter-intuitive to those familiar with fairly basic human neuroscience. When you close your eyes, for example, low frequency, long-range synchronization also increases.

The stated "counter-intuitive"-ness is more likely an artifact of the translation of the result to layman's terms, where the traditional (since the industrial revolution) way of thinking about the brain and mind is that it is a machine, and the function of this machine is consciousness. I think several such artifacts often appear in these sorts of articles on neuroscience.

If you wish to actually understand and interpret the results for yourself, without the crude and inevitably inaccurate lens of the science writer, you have to read some of the books written by neuroscientists themselves. Rhythms of the Brain by Gyorgy Buzsaki is the best I've read so far.
ScreenFlow Training Course - ScreenFlow Hero-bestcbstore.com
Competition is evidence that people want what you're selling. And even if there's no competition at first, if people do want it, there soon will be.

I think a key idea is to make sure everybody who wants your thing can have it. Otherwise, you create a gap for competition to fill. This is a nice alignment of ultruism and competitive advantage... and more common than you might think.
If only you could write a new service in a different language and then make requests to it... oh wait, you can!

At my last job we had a Node.js app talk to a Scala backend and the other end of the system ran PHP. I mean we already had like 30 servers at least, so dedicating one to Node and a few to Scala wasn't a problem.
I did a low level reformat `dd if=/dev/random of=/dev/sdd` with the hard drive mounted on another machine before noticing that he seller had locked theachine EFI remotely.
> Why hasn't the hardware failsafe for overdoses become mandatory? Why don't we apply defense-in-depth to all worst-case scenarios involving deadly things?

Because money
The Awesome Physics in a Simple Sparkler
Fashion Photographer - Matt Barnes
I don't know, $200k does look a lot for that site...
I don't get this:

"data types and types are not the same thing. types can help with the implementation of ADTs"

Can you please show me how can you implement a language (type system) feature without touching the compiler source?
But in this case SQL Azure is not something you can get locked in on. You can switch to normal SQL Server at anytime away from Azure.
You can use twitter advanced search to search for leads:
https://twitter.com/search-advanced

To make your task easier - you can use tools like Leadify http://leadify.in etc.
That “solution” won't help at all. 78 limit is about the client UI and its inability to wrap[1] and the lines still will be longer than 78 chars after decoding. (How and why exactly this matters in 2014 is another story.)

[1] http://tools.ietf.org/html/rfc2822#section-2.1.1
Saying it is bounded by O(n²) is too vague, because it's the same as being bounded by O(n³) and so on. A linear algorithm is also O(n²) and O(n³).

That is why I emphasized that the worst case in particular has its bound within a constant factor of n², hence Ɵ.
The message on the first lock screen (iCloud padlock) read "Devuelve me la laptop y te devuelvo el dinero" which means "Give me back the laptop and I will return your money".
I'm sure I'm going to take a karma hit, but please tell me if I'm getting any of this wrong, since it doesn't seem to mesh with a lot of the Snowden reporting: Snowden grabs a significant amount of the NSA's actual reporting and collection, hands it to the Washington Post and they find that:

- The NSA is actively scrubbing the collection and removing the identities of Americans

- The most egregious privacy violation that WaPo could find was a set of love letters between an Australian government employee and her boyfriend who went off to Afghanistan to join the Taliban

- In the process of doing this, the NSA is pulling out information on "a secret overseas nuclear project, double-dealing by an ostensible ally, a military calamity that befell an unfriendly power, and the identities of aggressive intruders into U.S. computer networks"

- The WaPo estimates that around 900k people's communications are caught up in the NSA's "incidental" collection

I could see an argument made for future abuse, but this really seems to fly in the face of grand conspiracy theories that we've been seeing for the last year.
Re: your edit regarding ADTs: it's not that they are expensive to implement, it's that they give you no control over the physical structure of the data, which is the really, really important thing when it comes to how expensive it is to perform operations on that data. That's the point Rob was making in #5.

BTW, if you want to gain an understanding of this stuff, the difference it can make and why, I'd recommend reading basically anything by Michael Abrash.
The buyer tried this but he purchased it from one of his contractors so they did not do anything on writing.
At some point stupidity in the market crosses over to straight out conning people which is most definitely against the law.
The image redirects to a scam casino. What scum.
To Buy or Not To Buy? A hype free guide to help thrash out the real operational value-add for your business.
If I recall correctly, in Baldur's Gate mobs could also use the items they had. This made for some particularly fun battles when a mob had a powerful artifact that they were able to use. I imagine it also made design easier: to create an interesting new boss fight, instead of having to create a new creature, the designer could just use a common mob equipped with a powerful artifact.
I think so. The correct procedure would have been to assign another iCloud account and assign your self another PIN (lock it with your own PIN)... Then reformat it
Well the even-more-general point is that these problems usually aren't that interesting in real life, then.
The Demarcator facebook app , a new clutter free feed viewer; Feedbacks please
The clock is actually harder to read this way. I want to glance and know what time we're on. By presenting the time in an unconventional way, you're making it difficult for me to do that. It also doesn't offer a way to distinguish between extra time and stoppage time.

When a player is booked, injured, substituted, etc I prefer to see what's, you know, happening. If you want to help me do that, you shouldn't obstruct my view with a giant bezel containing an icon and some text. I will go further and say that the icons are rather vague, especially in the example given. A football (I mistook it for a wheel at first) and a name? Thanks television, that cleared things up!

A yellow card icon should simply be yellow. Two cards as an analogy to a red card isn't a good one, as red cards can be given without a yellow one being given prior. I'm assuming the sniper's visor is meant to indicate penalties, it's a little disturbing to be honest.

These and other mistakes, mentioned in other comments, could've been easily avoided with a little domain knowledge. Once again, it's form over function.
As a non-American, can you explain why you would not support Obamacare?
"I'm getting pretty sick of hearing this"

I hope I don't prove to be too detrimental to your health.

"Developer time is often more expensive, but it's always a one-off cost. Machine costs are ongoing. Machines can also impose hard limits on scalability."

A one off cost? I have never seen a codebase which gained consciousness, became self operating, fixed the bugs in itself and implemented new features, I hope I will, that's gonna be a truly glorious moment for humanity.

"Ever play a computer game?"

I did, but Go is rarely used for creating games. Typical use case: backend server services.

"In the meantime if you're working on an MVP, by all means optimise for developer time. In that context it's almost always the right decision."

Yes! On this site most people are working on some startup which will fail in 2 years. Performance is barely an issue.
"The research isn't conclusive."

"studies involving people have produced “limited and inconsistent evidence” when it comes to the ties between acrylamide and cancer"

"Binaglia says that, for now, it’s not possible for him or other health scientists to make diet recommendations."

"“A lot of questions cannot be answered right now,” Ramos adds. Similarly, the American Cancer Society (ACS) says that, based on available research, “It is not yet clear if acrylamide affects cancer risk in people.”"

Rock solid. I expect to see this referenced on my Facebook feed a thousand times in the next year. "Is Your Morning Cup Of Coffee Killing You? Click Here To Find Out."
(you don't need to link to RFC2822 section 2.1.1, it's linked to in the article that you just read)

I'm quite familiar with the 78 line break as a Unix user for the last 15 years, but Section 2.1.1 is RFC 2822 should never have been carried forward from RFC 822, where it was originally written decades ago:

- There are many displays less than 78 characters wide.

- There are many displays more than 78 characters wide.

- Most apps that run on displays that are 78 characters wide can happily display paragraphs in their available width.

The IETF is wrong. For that matter, I even wrote a Chrome extension to specifically fix reading IETF papers: https://github.com/mikemaccana/deneckbeard
How does bop.fm fetch songs?
I am working on a similar project, any idea about how they started? Do they have a huge database of music which they manually/automatically fetched from soundcloud/Youtube/other services? If yes, then how do they fetch new songs coming in?

I want to create a database similar to Bop.fm's database of songs with just one service, using which I can use in another app.

P.S. They don't have a public API. :/
The exceptional programmer
Clicking Their Way to Outrage
This talks about our ability to reach or describe the worst case, so if we say it's Ɵ(n^2), we're saying that we can tell that the worst case is at least quadratic, and it's also no worse than quadratic. We might not be so good at the math and have only discovered that the worst case was at least linear and no worse than exponential (which is true of quicksort).
The teams switch side at the beginning of the second half. The team mentioned first is the "host", the team mentioned last the "guest". Who is host and who is guest is decided by a draw in tournaments.
How to rip apart a programmers CV
I think we can agree that having that level of control is unnecessary for most programming tasks. In fields where it matters, fine. Otherwise I let the compiler do it's job, probably they will get better/are already better at it than me. I don't trust humans, including myself. My compiler never made a bad decision so far because it woke up with a hangover/in a bad mood.
really are you sure a few years ago my parents worked out that in the UK my sister and I would have to immediately find over $130,000 in cash to pay for death duty.

We could just do it but we have far more savings than the majority of the uk population.
> It's all about increasing the level of abstraction.

Rules of abstraction: https://pbs.twimg.com/media/BqkVxmrCUAEZSTZ.jpg
The median-of-medians approach is also somewhat tricky to implement (avoiding array copies and so on), although it admittedly looks neat on the slides of the algorithms lectures.
> This is the reason no one uses Mac OS X for anything serious.

And Open Source desktop UIs look and handle like crap which is why almost noone uses them period.
👍 The Good, the Bad, & the (mostly) Ugly 👎 [pdf]
I loved the part where you explained what is wrong with abstractions!
What is your USP compared to Coffee Circle (except for the subscription part)?
Kickstarter just became the new buzzfeed
While it's a well-written article, it really seems like beating a dead horse. Composition over inheritance is a basic rule of OO programming, so much so that it has its own wikipedia page (http://en.wikipedia.org/wiki/Composition_over_inheritance)
I have had this explained by a friend in the business as, it was between you and the item; not necessarily carried or wielded by your foe.

still it does make sense to more closely align items with the mobs that your fighting. This could be weapons, armors, trinkets, and such or craft supplies where you have to skin/harvest the kill.
When I will solve problems which require 10k machines/dev, I will get paid so much that I will be happy to write in brainfuck or lolcode.

Meanwhile I just want to deliver the features for my product owner as quickly as possible! So we can both go home to our families in time and still deliver tons of business value.
They produced a list of 50 to justify themselves before congress, but only one, a taxi driver sending 10k to Somalia, was deemed valid.
Thank you for letting me to know about this issue.
I noticed this problem for the first time.
Our implementation of lazy evaluation is not straight wrap of Haskell.
I'll look into about this.
I hate to be fatalistic about marriage, but this quip from somewhere on the Internet sums it up:

50% of marriages end in divorce,
the other 50% end in death.
Mazel tov.
I'm saying the strategy in the article does not actually do this at all, and it's easy to prove this by noting that a strategy that has them all going home with black hats has none of them going home with white hats.
Thanks mate, To be honest the game was designed primarily for iphone and ipod touch. I've tested it on 3 generations of iphones and ipods.

When I set the deployment target to "iphone" rather than "universal" I assumed the app store would exclude those devices. I will have to get my hands on the various ipad models for more testing.

I've always been a bit wary of the IAP model used by so many mobile games. I guess I am more of an oldschool designer, better suited to making PC games.
Oh, and thanks for checking out my blog. I've got a lot more writing in the pipeline.
Did not know that. :/
The double-digit score and ranking problems remain though.
When the list first loads, it is not visible on the screen but instead pushed down by a large margin. Also I believe many of your hits will come from google searches vs friend shares. Maybe make 100 SOE lists in house.
> musical instrument rather than hi-fi use

Me, too. Just when speaker design seemed to be a solved problem, with a small set of uniform solutions, up springs the concept of co-designing speakers and musical instruments.

What frequency range/instrument are you working with? And what architecture/horns/boxes/tubes/drivers?
This horse still needs to be beaten.

Messy inheritance still plagues product Java, C#, and, with the increasing proliferation of MVC frameworks, JS these days.

Hierarchies usually start out small. But, when new features are added and scope creeps, they get deeper and more abstract and messier.

Substitutability (i.e. the L in SOLID principles) does require more boiler-plate when using composition though. Interfaces and mixins (if available in your language) go some way to helping.
Making social networks more relevant
I think this is a tooling issue. People initially tend to favor inheritance because it looks cleaner than composition. Mixing a lot of unrelated code in the same class makes things hard to find. (which method applies to which composed object?)

In languages that build in a concept of traits/mixins however, this isn't an issue.
I agree, but it is a well written article with interesting (simplified) real-life examples, so might be good to show the concept to an unaware or beginner programmer.

And everyone likes to read stuff that reinforces their own belief :)
Your alternative for numerals? FF DIN/FF DIN Round maybe?
I agree. I think that if I was in possession of 11,000 accounts worth of NSA profiles I could definitely dig up something juicier.

What we are seeing here is the other side of the story. The tracking of valid terrorists, monitoring overseas nuclear projects and military events etc. I have no doubt that this article is a heavily redacted view of things but any criticism of reform of the NSA has to accept the need for these kind of actions.

Additionally, I hate how "the people" never hear about real intelligence that is of public concern (i.e. double-dealing by allies). What is the purpose of hiding this information from the public?
Qualcomm briefly takes down Android code for CyanogenMod
First priority is about modularity and elegance. An elegant program is often fast, correct and with a short time-to-market.

It is the numerous scores of small hacks that bogs down programmers nowadays.
Do you have examples? Most modern Java libraries I know (e.g. Guava) implement interfaces and heavily use composition.

The "inheritance based" things mostly got deprecated/replaced when Java 1.5 introduced generics and most libraries needed to be heavily changed anyways.
The Wikipedia article chton mentions (https://en.wikipedia.org/wiki/Composition_over_inheritance) ends with the following when discussing the drawback of composition (boilerplate for forwarding methods): "This drawback can be avoided by using traits or mixins."

Now this is where things get a little blurry for me.

Mixins can help with the main drawback of Composition - but Mixins ARE inheritance - so isn't this a contradiction?

If I use PhysicsObjectMixin in my CharacterComposition class then I have to inherit from it. So aren't we back with the perils of inheritance?
Show HN: Ubuntufinder - CLI interface to retrieve latest AWS Ubuntu AMI IDs
I haven't really noticed that this particular horse needs much beating (I work mainly in the C# world). It's drilled so well into beginner programmers that they tend to forget other principles like Single Responsibility.
I think so too.

In JS it's rather easy to compose objects. In Java it feels clunky, you code looks kinda wrong when you done.
We offer coffees from a couple of German specialty roasters (currently Bonanza/Berlin and JB/Schwabhausen with a couple more coming soon), so we have a much greater variety.

Apart from that, our focus really lies on convenience for the customer. That means letterbox-friendly packages, outstanding customer support and additional value through recommendations. For example, we can advise you a coffee based on your brew method.
Your wikipedia link actually does a good job of showing why the composition shown in the article is poorly conceived. The whole point of 'composition over inheritance' is that your object is still polymorphic on the composed-of classes.
The second to last line betrays a misunderstanding of the current order of things. (Unless the writer thinks it is the Muslims or the KKK that are coming for us.) Jews in general are no longer the victims.
That's true, but there are a huge amount of resources about this particular thing already. It's pissing in the ocean by this point.
I like the abbreviated names, as they leave more room for actually looking at the game (an important aspect, often overlooked by makers of info graphics)

Also note how the BBC display places the score a long way from the left border to accommodate for viewers who still have 4:3 screens and upscale the display in various ways.

The proposed design looks better, but the score will be cut of for some viewers.
Definitely not forgotten, I wrote an essay on software safety when I was at college (not Uni, UK meaning) and the Therac 25 was a big chunk of it.

The research I did has always stuck with me because of the suffering the patients where exposed to combined with a company attitude of "admit only what we are forced to so we don't hurt sales".

Nothing I write is safety critical (though it was a field I was fascinated with when I was younger) though so I can sleep at night.
I don't have an example of a refactoring, but the git data model [0] is extaordinarily simple, to the point that you can understand what goes on behind the scene on whatever ui you use and stop being mystified, and even extend the data model beyond its primary use [1].

[0] https://schacon.github.io/gitbook/1_the_git_object_model.htm...

[1] https://github.com/bup/bup
Did you make sure to put your own e-mail in the "to" field? The first time I used it, I CC'ed the right address and sent it to somebody but neglected to include my own e-mail.
I thought they were going to redesign the FIFA qualifying system so it was easier to understand!
Google should sent plain text mail with format=flowed (http://www.ietf.org/rfc/rfc2646.txt) as that would fix the issue for both very old clients which profit from the hard line breaks while still providing word wrapping on mobile clients.

It's ok if they don't support it when displaying mail, but by just setting that flag on sending, people with good clients will get the best possible experience
that's a good point, in the process of trying to use composition the author has made a (very) leaky abstraction.
I've seen a lot of it in product codebases (both Enterprise and Startup) I've had to work with.

I guess it's different when you're maintaining a library - you have more freedom to version up and rewrite things.
Once you insert all the line breaks, the email clients can not reliably reconstruct the original paragraphs anymore.

Yes, the point of the convention is to make text fit on the 80 char terminal. Nowadays clients use extremely different viewer widths, thus it's an outdated recommendation, that should not be followed anymore.
Tsunami bomb
Live coding an Ember app in 45 minutes
I wish we could move beyond this idea that just because someone uses a particular language their code is going to be poorly written.