skysight-inc/HackerNews huggingface dataset:
Quick suggestion: a reminder that this app is coming. Rather than tell me to share it, remember that February 3 is days away and I'm not really inspired to put it on my calendar. would have been great to see a request to get notified on launch via my choice of social network / e-mail.
If you set things up properly, you could be granted 20 public keys and one single boilerplate e-mail containing everybody's grades, with each one encoded in their appropriate key.

Everybody would then attempt to decode each cipher, with only one working for any individual private key.

This isn't all that different from your original posting, except that you now only need to send one unique e-mail.

(For Beavis, who's getting an F because he never showed up to class, you might get in trouble with the administration because a simpleton couldn't decode their grade through this or other sophisticated means.)
Google To Writers: Don’t Upload Articles To Directories
You see, Lenovo used to be a company no one knew about, but then in 2005 they bought IBM’s PC division. As a former IBM ThinkPad fanboi, I was deeply worried that this no-name Chinese company would ruin everything, but they didn’t. They learned everything they could from IBM, kept making ThinkPads to the same degree of quality they’ve always made them.

The article lost all credibility after this.
Poor girl..
I bought my kid a Hexbug Nano around that age. It's a small robot. It's small enough to swallow, so it depends on the kid.
My argument is, this attention wouldn't even be here had he just kept quiet.

I don't think he was clever enough to have foresight that a) this would get this much attention, and b) he would need to deflect said attention by fabricating an elaborate hoax.

The guy was simply wanting to brag about what he did in the excitement of him actually pulling it off. I think this is much more believable than him fabricating this story.
> What speed and ease to you gain with it?

Speed and ease of development! Yes it is mostly syntactic sugar, where I wanted to make a point is that this "sugar" adds more to the language than sweetness for the sake of it. It exposes beautiful pattern that are cluttered in day to day javascript syntax. My final compiled javascript code is not the same I would have produced would I have coded directly in Javascript. Coffeescript also gives me a different approach to think about a problem.

> Things like it's expressive for loops and default arguments generate really ugly code, and shun people from using ES5 array methods like .forEach, .map, and .filter, which are a lot cleaner and more optimizable by the engine.

I use underscore which will delegate to .forEach et all it they exist... I really rarely use loop comprehension, though they can be very expressive if used correctly..

> CoffeeScript will completely obscure the way JavaScript works to newcomers

I disagree. I've installed the proper plugin (I'm on emacs, same is true for vim, sublime or lightTable), I am therefore two stroke away from the compiled javascript. Furthermore, I spent a decent amount of time a week in the debugger where the code is in JS. If I could have disliked this in the beginning, having two different languages whether you code or debug can seem unfamiliar, I actually love it. It keeps my Javascript sharpen and it gives a thorough understanding of exactly what's happening in my Coffeescript code. And that's exactly where I found a niche for Coffeescript. In my opinion, it is definitely not a replacement for Javascript, it is a cleaner, more expressive and easier way to write it, without any real overhead. Honestly, it took me minutes to understand and less than a day to feel comfortable and be efficient in Coffeescript. What I recommend to newcomers is to use coffeescript's syntax to to learn Javascript, by continually compiling down to JS and understanding what's happening. The JS output by CS isn't ugly at all, and that is a strong point. It is really possible to learn some great javascript idoms just by applying built-in coffeescript construct and understanding their value and working in JS

> JavaScript isn't designed to have true OOP principles

... Hmm right... ?
The thing is called a Master Public Key:

https://github.com/kangasbros/electrumpos

http://acceptbit.com/
Not generating revenues doesn't mean worthless. They have a lot of virtual assets (emails etc).

Of course $3 billion is completely ridiculous, but it's a little unfair to say they are worthless.
ACME Systems launched Arietta G25 a new micro Linux Board at €9,99
Duplo.
I really like LibreOffice, which I switched to from open office a few years ago (and Star Office before that). My main issue is that I would love to transition users over to it, but they complain that it messes up formatting (lots of spreadsheets), so while just about everything else my users do could be done on GNU/linux, most of the end-user workstations still wallow in windows land, due to office alone. This release seems to have some massive improvements for businesses as well.

I will probably send MS a gift once they finally release Office for *nix.
Not true at all. In fact, the source your provided clearly states: "Research examining the specific effects of baby DVDs and other infant programming is limited." There's TOO LITTLE research on the matter. Everything in moderation - I wouldn't subject a child to more than 30-45 mins a day of DVD programs mingled with play and reading etc.
I don't think you have to be a conglomerate to have diversified product lines. They were just a PC company for 20 years. Then they added iPod, then iPhone, then iPad. On top of that they have itunes and apps which are by themselves a large growing business. 5 different billion dollar businesses is pretty good.

Google on the other hand has ads. If you want to be generous you can break it out to search and YouTube. Android is obviously huge, but they don't really make money on it. The interesting thing IMO is that they likely would be making more money if they just stayed friendly with Apple. If apple had 80% market share google would be getting far more search traffic.
Well I think that yyy is a private member variable inside of xxx so maybe that is why the did that?

Like:

#define GAMELAYERINSTANCE _dir->Instance()->getGameScene()->Instance()->getGameLayerObject()->Instance()
Correlate it. You've got phone numbers. That's a strong identifier. Phone/Power/Gas company will sell your their name and address. Other sites need a phone number and might have more details as well. There are a ton of big data brokers out there that do just this.
That is a feature of unconstrained, shared, mutable state. While singletons are often used that way, there are two problems with the resulting code. On the other hand, imagine a hypothetical situation where you have a bunch of static data that you would prefer is only generated once, and only ever generated if needed. A singleton gets this done, without any sort of "where on earth is this set to X?" but retains issues with injection for testing and the like (depending on precisely how it's implemented, in most languages).
Most people I believe (rightly or wrongly) think that CCTV are a presence that isn't a threat because the footage doesn't usually live forever, and usually is only used for when something negative happens (such as a crime).
Singletons aren't always bad. I use a few in my Objective-C Cocoa apps to share common behavior. For example in my music player Bahamut[1], I have a singleton for actually playing music. This way, you can have several Bahamut windows open at a time which all control the same music player.

Sure, you could store this variable as a property on AppDelegate or some other parent in the object graph, and then either pass it down to each window controller which needs it, or give them access to it, either directly or via delegates or something. But these are all very convoluted compared to having a single class-method in the class itself which returns a shared (static) object.

The only caveat is to make sure that you don't introduce race conditions by poor design. For example, don't do stuff in -init on your singleton, and especially don't do stuff that might call other stuff that might access the singleton via the public accessor. Doing so could turn into an infinite loop if -init is called when creating the singleton. (I've done this before.) Instead, just add a new -setup method and call that somewhere in -applicationDidFinishLaunching: or whatever. It's also a good idea to use dispatch_once to create the singleton[2].

EDIT: Of course, these suggestions don't only apply to Objective-C apps, although your entry points and race-condition-avoiding functions will certainly be different in other environments.

[1]: https://github.com/sdegutis/bahamut

[2]: https://github.com/sdegutis/bahamut/blob/master/Bahamut/SDMu...
You completely misunderstood me. What I'm saying is how on earth can it be valid if they are speculating on the very basic questions.
Squatting doesn't make you fart unless you have other serious problems.
Instant API early access 15$ for a year of API Creation, Hosting and Publishing
I think I'm in the minority, but I prefer to sit in a plain wooden chair, of the standard-issue kitchen table variety.

It's essentially a hard wood platform, so I sit upright while typing and seldom find myself slouching backward. That seems to do nice things for my posture. Nothing ever gets tired/strained/injured, even though I've been working this way for several years (and I'm 42, so if health problems were to be had, I'd have them).

Back in my cubicle days, I'd spend my time slouched back in the Aeron, with terrible posture all day. My butt would get sore because it was being used as a scootch-guard to keep me from sliding onto the floor. That doesn't happen anymore.

Around the same time, I started making a point of never reclining my seat on airplanes. Long flights used to be a giant butt-ache from the 2hr mark onward. Now, sitting upright like a human being, I'm good to go for 14hrs and beyond. Even sleeping comfortably with everything balanced on top of my spine.

Sitting up straight. It's the way forward.
or the lack of IoC containers.
I learned this technique when I was backpacking through Vietnam. I noticed that many of the people were squatting rather then sitting. Then while touring the Cu Chi tunnels outside of Ho Chi Minh City our guide explained why the tunnels/holes were so small. It's because the soldiers would sit in this squat position for hours. Once you start doing it often you can do it longer and longer. I usually sit like this while I am in between sets at the gym.
For emptying them, or for keeping them relaxed?
This is why it's nice to be able to parameterize "these are the actions I want done" with "here's how you combine them".
Ok that makes a lot of sense. I'm going to assume you're squatting in a chair as well. That or you have a ridiculously long torso. 15-20 minutes seems kind of a short amount of time compared to standing though.

I think you should stress that latter part more actually. Being healthy isn't just what a person can do in one area but in all areas.
In all honesty, I starting reading the article because I was lured in by the title (even though it's a bit link baity). Why are these people not normal, and why am I one of them?

Then I started reading, realized it was about developers marketing. I have never really considered marketing my strong suit so I continued reading.

When he started talking about his book, I felt as though I had been tricked, and I got a little mad. To me, it cheapened the article, and made me feel as if the author didn't really care about informing people, but rather was just looking to promote his book. At that instant I knew he had posted this link on Hacker News not to be informative, but to prey on developers with weak marketing skills, and get them to pay for his book. I normally wouldn't comment on something like this, but since you said so anyway, I would say this is an unethical advertisement because it pretends to be an article, but it actually was an advertisement. If he had said right out, "I have written a book on marketing for developers, here is a sample, and if you are interested you can purchase it here", then I might have been more inclined to purchase it (of course the book isn't even finished yet, so there would be no way to buy it anyway even if I was interested, but that's a separate issue I won't get into here.) Rather, instead the article left a bad taste in my mouth and reinforced my opinion of marketing as something scummy I wouldn't want to get involved with.
I have also done this for many years at work. Co-workers generally referred to this position as 'the vulture' which upon reflection, sounds a lot better than 'squatting'.
It's more like saying "poison is bad", and losing the benefits of bleaching the bathtub, just because people keep killing their kids with it by accident.
Already on HN:

https://news.ycombinator.com/item?id=7140701
Previous discussion: https://news.ycombinator.com/item?id=7140701
"Well, apparently back in the 80’s you could jump between procedures in Pascal using goto statements, some primitive try/catch mechanism."

You can jump between procedures in GNU Pascal.
http://www.gnu-pascal.de/
Here's an example of good marketing:

http://www.gearslutz.com/board/product-alerts-older-than-2-m...

The software is so good, he just has to make one post on a forum and people are queuing up to throw money at him. All he has to do is sit there and answer questions.

A sample quote from a user: "Bought it without demoing, Due to Sean's great support/dedication."

Note the length of the thread. Also have a look at the diagram on the last page. There is a lot people here could learn from smalltime audio software/hardware developers, who are quietly running scores of successful "lifestyle" businesses, away from the bright lights of the SAAS industry.

Here's another example of a product announcement thread on that forum from a popular indie developer: http://www.gearslutz.com/board/product-alerts-older-than-2-m...

But yeah, if you're looking for an example of good marketing from a big company, good luck I guess.
"The best thing one can probably say about this widening inequality is that it means we are making technological progress"

This is not a considered analysis. It's perfectly possible for wealth distribution to widen without technological
progress.

Where is the economics? Where is the history? Where is the politics? I've enjoyed Sam's posts before, but this strikes me as a flavor of SV hubristic reductionism.

Not every human issue revolves around technology, and technology is not the solution to every ill.
This is a great toy for teaching kids basic engineering concepts. It's also fun for me to build stuff with my girls.
Isn't that basically "A singleton is a particular, better implementation of a global variable"? Does "global variable" imply a primitive type?
Obviously what counts as mediocre is up for debate, but I think you could argue that the first mobile phones were a mediocre implementation of a very difficult technical problem.
When I was a kid I had lots of Legos (actually, I still have them). I liked the fact that if there was some toy I wanted but didn't have, I could usually make it myself out of Legos, the only limitations being the number and kinds of pieces I had. When people ask how I got into programming, I relate that anecdote and then follow it by describing programming as having an unlimited number of pieces to work with.

At one year old, it's not like most children are going to be doing anything more advanced than sticking a few blocks together in the easiest possible way, but you have to start somewhere. I have a son about that age and there are really only a couple of pieces in his Duplo set that are questionable, choking-wise. You could go with Mega Bloks instead, which are definitely too large to choke on.
The price matching war starts between Microsoft's Azure and Amazon's AWS
A physical price tag for a digital currency. Introducing BitTag.
Marketing is not about features or why you need to use that specific application. It is eliciting emotions. It is selling feelings.
Use the website the college has provided. This isn't about your convenience or technical judgement (about a system you don't maintain). It's about the students and the rest of the college.

That said, encrypt the each grade with a key derived from the students ID (which is privileged information) and make a webpage to do the decryption for the students. SHA256 ( ID + Salt ) == Key for symmetric encryption.

--former IT college staffer
He does two deals a week: is this The World's Most Active Angel?
If those 16 ships are carrying goods from most efficient source to most efficient consumer at a cleaner carbon-per-pound-per-mile rate than a fleet of smaller ships, then it's a net win.
> is there a toy that I could buy her at this very early age that would have the slightest influence on that?

Probably not; at this age, the real influence are going to be more subtle and indirect than a specific toy, etc. There might be something her parents could do to avoid laying the gender-stereotyping groundwork on which later influences that tend to push girls away from programmming (and math and physical science generally) build, but as a friend of the parents choosing a birthday gift there's probably no choice you can make that has any predictable influence either way.

Although, if her parents share your concern and are actively working in that direction, you could ask them what you could do that would fit into what they are doing.
Did you mean to ask "how old are you that you can't do [something you've never done before in your life and thus don't have the muscles for it] for five minutes what an 80 year old [who has done it every day of their life and thus has the required muscles] can do several times a day"?

Also, I'd like to point out the differences in length of time between taking a shit and a normal 8 hour work day.

I'm not saying this is impossible, but I understand the trepidation.
Using Enumerations to Make a Faster Activity Feed in Rails
jspecs — JS-dialect to express BDD style tests
You don't need to display them to the user. The user can ask for them from the customer. The user types in the 4 digits the customer provides. The computer compares the two strings. The user need never see the real stored digits.
that is the weirdest site I have seen in a while...
I'm aware that the example provided makes it slightly harder to test, since it's more tightly coupled than other options. It's a trade-off, simplicity over testability. In this case, I manually test my music player object when I make changes to it. So using a simple singleton here makes sense. I find the same true for most GUI controllers. But I'm not willing to get into a debate about whether or how you should test your GUI. I'm just stating how I do things, and it's worked well for me.
Or perhaps even some kind of advanced handwriting recognition, image recording system that would automatically scan the calendar and store the information in a database (probably not practical with current technology)?

Or for that matter why not some kind of automated voice recognition system that extracts the customers schedule date directly from the phone call?
Cool! I think it could be the default tool to give feedback for "Show HN" ;)
IMHO, and to avoid abuse, singletons in iOS/MacOS should not be considered as a pattern that can replace class methods or simple C utility function. And this in all ways. I have seen piece of code doing everything with class methods while a set of plain C functions would have been more adequate (those were really utilities)
Isn't memory only shuffled around during compaction? Why not mark/sweep in parallel, then stop-the-world at compaction time?
Weirdly, when I was in 7th or 8th grade I thought it would be a neat idea to put an audio tape recorder (the cassette type, remember those?) in my bookbag and record the audio of my entire day at school. I have no idea why I thought this was a neat idea. I don't believe I still have this tape, and if I recall the audio wasn't very clear.
Maybe the biggest problem in forming my perception of marketing is that the good, quality marketing is the marketing least likely to get noticed consciously. The scummy marketing might not be more prevalent but it's more obvious so that's what I've been using to form my opinion.

The marketing that I commonly notice is the kind born out of much research on manipulating the thoughts, desires and behaviors of people. It's easy to find examples of this everywhere and is used by most large corporations to achieve what you describe. When thinking about the companies I respect, like Airbnb and Parse, I think of their marketing as more going out and engaging and informing their customer. Should there be a distinction between the two kinds of marketing?
Exhibit 99: The travesty that is the updated X1 Carbon keyboard.

http://arstechnica.com/staff/2014/01/stop-trying-to-innovate...
Trying to take an unconditioned person and telling them to hold a deep squat like that for hours = injuries all over. They'll lack ankle flexibility and whatnot.
You mean getGameSceneClass() and getGameLayerClass(), yes?
As in Dependency Injection?

object->getInstance() makes no sense, you already have the object!
I knew what your photo would be before I clicked on it, and thus your defense is also 'formulaic'. One photo meme doesn't adequately counter the massive psychosocial influence of technology, good AND bad.
Sure, I get that. It just doesn't seem like you would get rich that way.
Very fair point. I'm not saying "grow up" here in a condescending way, as much as explaining my perspective once I did grow up and start seeing people's behavior in another light. But it does come off as exclusionary and condescending, sorry about that.
You have to email them instead of querying an API?
Dogecoin fundraiser is helping send this Indian Olympian to Sochi
Really? That one issue makes the difference? Look out, folks. Kansas City is going to be the new tech capital of the world!
Facebook Turns 10: The Mark Zuckerberg Interview
Same goes for sitting toilets though.

And we still don't have any arguments supporting either position. I do squat for a few minutes every day to facilitate my squat lifting workout but don't see an inherent benefit. I suppose one can argue that it has been a natural movement for so long that our bodies may be genetically designed for it.
Why Google's Motorola sell-off is very good news for Windows Phone
> Different things will initialize the class, and you want to keep track of the last one initialized,

In that sentence, only the class is being initialized, so there's nothing to track. What did you mean? "Instantiate", not "initialize" ?
Are there any mostly right (and consequently no so brief) histories of programming languages online now that hopl.murdoch.edu.au is dead?
Sorry, in my argument I meant user with what you've called customer.
notice that refers to parallel (multiple GC threads) but doesn't rule out concurrent (one gc thread concurrent to the application thread)
Mmm hmm. And I'm sure it was genius when they bought as well. Jeez.
>or in a car

We don't need more distracted drivers.
The major problem they cause IMHO is coupling. Some examples of how this has bitten me:

- can't instantiate the singleton differently.

- program does task A, then task B, and both use the singleton; now you have to worry about the state that the singleton was left in after completing task A.

- can't create multiple, separate instances.

- can't easily mock for testing.

- can't easily swap out with a different implementation.

I've run into each of these problems, and I can never see any value provided by the singleton. All the pattern does is reduce the flexibility, adaptability, and usefulness of the code it's applied to (at least in my experience -- I'm not implying that it's always or necessarily so).