skysight-inc/HackerNews huggingface dataset:
my proportions don't let me do this, I have very long legs, I'm 6'4" and have a medium length torso and my extra height is in legs

with such extreme proportions it's not possible to do it comfortably since I need to squat inside my knees
so I need to turn the knees outside to squat between them

this is probably not very healthy
I'm curious. Thanks!
<hn_handle> @ gmail
it's that it really is unfair.

Moreover, the the creation of wealth depends upon a functioning society with a working police force, fire department, transportation system, etc., not to mention the accumulative effect that inherited money brings to kids growing up in a supportive environment and going to the best schools. It is a myth that the wealthy earned their wealth all on their own, but one Americans love because of their (our) infatuation with rugged individualism and personal agency. I personally do not mind levying tons of taxes to level the playing field, but that's probably just my temperament. I want to live in a society in which there is equal opportunity, not a plutocracy with a handful of perpetual dynasties.
It could be tendons that need stretching; but it could also be inherent anatomical differences. I have curved shins, which pushes everything from the knee up a few inches backward when I try to squat. It's physically impossible for me to do a heels-down squat without bending my back to lean forward between my knees.
Its also mostly a tongue in cheek joke, if you didn't get that.
They should show the ad after the 8 seconds, still a mostly captive audience. less annoying
Oddly enough N wasn't "Badal_NEWS" yesterday.
Optimizing Your Website
Going to say you should post to http://beta.techendo.co/ to get feedback and users to test out your product.
Interesting....not sure of the overall usefulness. Let's see how this develops after a few months.
I admit I didn't watch the video (couldn't, it managed to lock up my 6-core workstation), but isn't this basically Home for iOS?

https://play.google.com/store/apps/details?id=com.facebook.h...
A person unused to squatting will often have problems holding a squat for 30 seconds, if able to get down into a squat in the first place. I very much doubt that injuries would be a problem simply because the position is nearly impossible to hold for prolonged periods until you've developed the flexibility needed.
Nice. You should post to http://beta.techendo.co/ if you're looking for users to help with research!
they have very short limbs making this very easy
Thank you! I see it takes a certain kind of wallet, a "hierarchical deterministic" wallet. That sounds reasonable.
They're not, they're just covering their own asses.
I'm always bothered when I see these types of questions. Why do you feel the need to lead a young child to programming? Why can't you simply let the child be like all other children. Let them enjoy their youth and at around 7 or 8 you can introduce them to programming. If they like it great, if not let them decide what they do like doing.
> until I spent a few weeks practicing asian squats

Is that a specific type of squat, or just a normal squatting position without any weight?
Snapchat does indeed currently run on GAE. In this article, I was trying to show cost of running efficient custom infrastructure to solve the problem. GAE's per-byte costs are higher than a custom solution operating at scale for a number of reasons, most importantly because GAE is a generic system and can't optimize for this specific use case.

As systems scale to massive numbers it's almost always more cost-effective to use custom solutions. (e.g. Twitter runs an entirely custom HW stack and this has saved them a ton of money)
I was recently in Detroit and was curious to see some of the neighborhoods where you can buy houses for $10-20k. Here are some pictures

Those houses in the pictures are probably perfectly good houses. We have the same situation in certain neighborhoods on the south and west sides of Chicago. Sturdy brick houses that will last forever but nobody wants to live in because crime in the neighborhood is too high.

It was not too tricky to dig the zip code out of the pictures on the blog. You can see the sort of crime that will make houses in your neighborhood basically worthless: http://www.trulia.com/real_estate/48204-Detroit/crime/
Cool project! Have you already tried asm.js and/or measured performances?
Pink Lloyd's greatest album, in my humble opinion.
>What the hell are you talking about?

Exactly what I said. You can go read your post if you have forgotten its contents.

>not end users who remain, for the most part, unaware of whatever issues may lie under the hood.

You are simply repeating yourself. Paul Phillips contradicts you, and I find him to be much more credible.

>Other than Haskell, given the context of the thread, which language might you be referring to as the better alternative to Scala?

Ocaml, F#, SML and clean.

>please name this better alternative that is presumably not Haskell.

Why would it not be haskell? Haskell is pretty obviously the best option.
I too have not found a solution for this, so I use a good old fashion spreadsheet. That said, I really wish something existed that did not require a monthly update on my part.
It shouldn't have taken those graphs to point it out to you. All indicators seem to point to a forced 'adjustment' of the current social landscape within the next (couple) decades.

Inequality (of the social, political, wealth, access types in particular) can only get so widespread before someone gets the idea that they could do better for themselves leading a bunch of angry people with (metaphorical) pitchforks.

Perhaps (hopefully) the change wont be a violent upheaval though. There is the possibility that we've progressed enough to avoid that sort of thing.
(link seems not to work any longer, mirror: http://bayfiles.net/file/15Fqf/KfQTOj/nature12954.pdf)
Well, the wall street funny money printing press hoedown that's been going on for the last few years is (supposedly) ending soon. Let's see what happens.
I really like reading posts on High Scalability: http://highscalability.squarespace.com/start-here/
Maybe, but it begs the question: how come all those environments (events) come up as repulsive to non-drinkers (and not, say, the opposite)?

That is, how did they get their way? Doesn't that imply they are more numerous?
The 'burden of proof' is a social/legal concept which has absolutely nothing to do with elementary logic, so maybe you're the one that needs the refresher.
> But these are all very convoluted compared to having a single class-method in the class itself which returns a shared (static) object.

I used to think the same thing. But lately, I've come to think it's better for code to explicitly reveal its dependencies via its public API. If class Foo uses the singleton class Bar, you can't see that dependency just by looking at Foo's API.

My preferred solution in OOP is either: a) have Foo's constructor accept a reference to an instance of Bar, or b) for any method on Foo that requires a Bar, have that method accept a reference to an instance of Bar. I find this disciplined approach helps me reason about my code and understand how units of code relate to each other.

I only developed this insight after diving into functional programming. Prior to that, I was all about convenience. Singletons were convenient, and I didn't want to pass a references around all the time. It seemed like a lot of pointless ceremony. Now I've changed my tune. Rather than pointless ceremony, it's a form of self-documentation.
> A well used singleton

Something which I've come to believe does not exist, the pattern itself is broken. Thus,

> singleton is a great tool

no.

> that simplify things a lot.

Paraphrasing Mencken, for every complex problem there is an answer that is clear, simple, and wrong. Singleton is ever that answer.
Bootstrap 3.1 released
I am very interested in what comes out of this. When I read Hiroshima's blog post, I was getting chills thinking how angry I would be if I could not get into my own accounts thanks to someone taking over them simply by exercising human engineering tactics. Big and small companies need to implement 2-step verification, or better, and never give out information.
That's not a singleton, that's just injecting the same instance everywhere.
You most likely lack hip and/or ankle flexibility. Practice going as deep as you can without falling over, optionally while holding onto something (for stability, try to keep the weight on your feet), and try to go deeper and/or hold for longer every day. It'll get easier.
“Game of Shells” 15 Minute Interview Test For Front-End Engineers
Nuclear stand down: Google, Samsung, and the sale of Motorola Mobility
The Race to Topple Bloomberg
I recommended a book that I found interesting and helped me with my back problems. I'm a web developer not a doctor. Thats the best I can do for you.
And in two days you will not be allowed to submit apps built with Xcode < 5 to AppStore.
Has Google removed Sets from Google Docs/Spreadsheets? 
Comments in the few months appear to indicate it's gone, (http://googlesystem.blogspot.com/2012/11/google-sets-still-available.html). Trying it in a spreadsheet suggests it doesn't work, but the UI in Spreadsheets says it's still there. Loved this as a tool for creative thinking. Is there another way to use the google sets, e.g. via API, etc.?
You can still use typewriters in the "modern" age http://www.usbtypewriter.com/
When was there ever a widespread social stigma associated with Internet use? This is not something that ever existed, so it's probably not a good analogy.
There are so many who would argue that the wealthly earned their success all on their on that it is frightening (Even on HN).

I've gotten into this discussion multiple times here and it amazes me how often people will fail to acknowledge that the 'birth lottery', as Warren Buffett describes it, is a huge factor in the vast majority of success stories.

This sort of thing may be the primary reason that there will likely be some sort of very uncomfortable upheaval in the next couple of decades.
They're referring to the resting squat position talked about in the article.
Who is "we"? Plenty of people still squat.
>I have a bluetooth headset for making phone calls more safely with my older car (not capable of interfacing directly with my phone),

You are certainly not being any safer. The act of engaging in a phone call is what is distracting, not holding a device. Don't kid yourself.

http://www.usnews.com/news/articles/2013/06/12/aaa-study-usi...

http://mentalhealth.about.com/library/sci/0701/blcellphone70...

http://www.alertdriving.com/home/fleet-alert-magazine/north-...

http://www.mindthesciencegap.org/2013/03/14/look-no-hands-is...

Further, nobody is talking about people who use these technologies in private, they are talking about people who are using them in public.
Iguales . Articulo.
If it has value on its own without the paragraphs about buying his book, surely it would have just as much value if the author moved the final paragraphs to the front, and clearly identified it as an advertisement for his book. The fact that he did not do that indicates that he thought less people would read it if they knew it was an advertisement right from the start. So then the author thought he would have to trick people if he wanted to get them to read the advertisement, so he sneaked it in at the end. This intent to deceive is what I am calling unethical. Now, sure this could be an effective technique, but the kind of deceit and trickery usually involved in such marketing leaves me with a bad taste.
>> If you feel like the event is too immature, don't show up or organize your own events.
>I don't know how you meant that, but it reads very much like STFU or GTFO to me.

Well, when you want to change how MOST (by his admission) other attendants have fun, it's really par for the course, isn't it?

>>Except that alcohol is more than just a social lubricant; it's a disinhibitor. That in and of itself creates an exclusionary environment for many women, because they can't rely on physical dominance to counteract the dangers that come with a large group of uninhibited men.

I've never seen women have much trouble attending dance clubs, bars, concerts and the like -- places full of men and women drinking. A conference, if anything, sounds much safer than those.

Are we talking 1950's Alabama women here?
Interesting, but I wonder how much faith to put in Linus' claims given the demise of Transmeta.
At Yandex (Russia's largest search engine) among engineers they/we used to have a motto: "I am non-representational" ("я не репрезентативен"), reminding about just that. Another useful motto was "I'm not your target audience". Some even had these on T-shirts.

You, the developer, are not a normal user, by definition (unless you're building tools for fellow developers). Anything user-facing should be tested on real users, on members of the target audience. What they find convenient and useful may seem inconvenient and useless to you. This is OK; such a view is usually reciprocal.

BTW this is often a point of contention in open-source software. It is built mostly by engineers. If the target audience does not also consist of engineers, users may find the UI confusing and inconvenient, despite authors' best effort to make it clear and convenient for themselves.
Spring makes the discussion confusing because it refers to "single instances of a class" as "singleton" scope.

What is being debated here is when a class intentionally restricts how many instances of itself can be instantiated. That is the true "Singleton pattern" - a class that combines two concerns, 1) the behavior of the class and 2) the instantiation pattern of the class.
You have highlighted the good parts about using singletons. Now say your application wanted to play two different music streams (lets pretend you added a mix feature), you are now stumped.

I first ran into the pain of singletons when using them in a framework. This framework formed the bases for small modules, which when loaded together into the same application domain blew up.

My solution was to use IOC/DI. I could still have singletons , but they are just instanced managed by the container. This mean I am not relying on static values for state, which in my view is as bad as global variables.

I guess this is really the problem most people associate with the singleton model, not that there is a single instance in your application, but that typically people use static variables to store the instance.
Woodman takes care of your logs
Don't most of our fellow primates spend most of their time squatting? Maybe they're on to something?

http://i.imgur.com/leDTqgl.jpg

http://i.imgur.com/3f8c0PK.jpg

http://i.imgur.com/DBXxFvo.jpg
Knees wide, butt touching ankles, pretty much.

When people unused to squatting squat down, they often end up barely reaching parallel.
How is that not a singleton? I can see the argument that dependency injection is better than a factory method. Especially considering the memory model, but I thought this was still a singleton.
> Not all singletons are "global state".

Then why have a singleton?

> Where a singleton does become useful is as an immutable carrier of methods. No state.

Why have a singleton? Just use functions, or static/class methods in KON languages.
If he were really that concerned about prison sentences, would he have done this to begin with?

Not being snarky, that's a real question. I don't know the minds and rationale of hackers.

I generally get the impression hackers honestly feel they're invincible, until they get caught. Maybe that's a misperception though.
I thought that your GP did hold your full medical history. I did some work doing data entry for a GP, and most patients had their full medical history on file at the surgery - in both physical and digitised form for the majority.
The Case for a Health Records API
The 5 best design links of the day
What's the benefit of doing it that way? The only one you mentioned is self-documentation, but that seems like a weak argument against these kind of singletons. It sounds like you're giving up the convenience of singletons solely for the sake of not having singletons, which seems pointless in itself.
Same in Japan. It's also pretty common to see people squatting near buildings for smoke breaks, etc.
How do you advertise that you are interested in becoming a technical advisor? I see people ask for help at meet ups. I usually give them a few minutes of advice. Any resources to explain how to forge a proper advisor role?
IHOP is using it too, though it doesn't indicate what kind of deal they have with Snapchat- https://twitter.com/IHOP/status/416298001079226368
How Do Consumers Want to Be Persuaded?
People still go to greath lengths to get rid of their optical glasses even though those were around for hundreds of years now, are widely-used and are usually associated with positive attributes like intellectuality. For me that's the strongest indicator that anything similar to Google Glass will never become mainstream. Attractiveness beats out easier access to information any day.
I may be reading this weird. object->getInstance makes no sense? You mean if object is a private member variable?

So class _dir contains object as a member variable.

_dir->Instance(), already has access to object without doing _dir_Instance()->object->Instance() as an example...?
You could generate personal URLs for each student, pointing to whatever site/service you choose (for example Pastebin, with an expiry date), then generate QR codes of those URL:s and hand them out on paper notes.
I can see how using a standard keyboard while squatting could be problematic.

However, I suspect it may possible to design a new input device (or mechanism) that's optimized for use while squatting. It might take time to learn, but then so does a keyboard.
Returns made easy with Shyp
Your example isn't really a Singleton. Comparator is best understood as the strategy pattern.
I agree fully. One factor of being an artist though, is that through the ages there isn't much difference between being a starving artist, and a starving artist. The Arts (with a capital A), rarely get a very large slice of the pie, and the artists even less of that pie generally.

It really has only been in the past century (or less) that artists have been able to accumulate great wealth for the most part. There are notable exceptions, but the idea of "art" being big business-- with non-artists pushing the business side-- is a pretty recent development.

We can't automate away the arts (yet) but it may not be a great solution for making enough to feed a family of 4. It will likely always be hard to be an artist.
How do you get all your posts in HN front page !?
> you are now stumped

No, I just refactor my code to not use a singleton anymore. This only involves deleting the static accessor, adding a few properties, and passing a value downward. It would take all of 5 minutes. I don't see any value in designing my architecture around a feature I might never add.
The countdown refers to the amount of time you can view the snap (video/photo) before it is inaccessible. Snaps are immediately viewable (given a fast connection).
> How is that not a singleton?

The way it is normally used, a singleton is a self-managing, globally accessible, single-instanced object (lazy or not). Just having a single instance does not a singleton make.
Try to do the challenge (mentioned in the article) and go down as far as you comfortably can. You're probably lacking range in the hips or the ankles and this will fix itself with time. Basically because you weren't in this position for a long time, your body doesn't "allow" you this position, because it thinks you might hurt yourself while doing it. But once you get used to the position, you'll ease into it with time.
I definitely agree that there are places where a singleton just is in no way the correct option. You have laid out some good examples here.
The problem with this is if, for example, only one student got a five (and they know who), from which the others could deduce that students hash.
The point is, there isn't a binary distinction between "it's an advertisement" and "it's informative content". It's a legitimately informative and interesting article, whether or not he mentions his book. So what difference does it make if he mentions the book at the beginning, or the end, or not at all?

And putting that stuff at the bottom has nothing to do with being tricky, or sneaky, or unethical. It just makes more sense to mention the book after the author has demonstrated some credibility through the content in the earlier part of the article.
Maybe the founders are already rich, they like the attention, and don't care about padding their bank accounts any more. They do (or should) have a duty to their investors and employees who might feel otherwise though...
WeightLock: secure messaging immune to non-cryptographic threats
It is Time for Email Apps to Support JavaScript
Brief history of app marketing
Turbo Cross-Origin-Resource-Sharing
Well I don't think the whole system has to be broken down and rebuilt from scratch. There are lots of pretty basic ideas floating around for getting money out of politics.
The four horsemen of Mediocrity
LibreOffice progress to 4.2.0: Under the hood
A getInstance() call can return a pre(statically)-initialized instance if it wants to. Laziness is optional. The pattern gives you the freedom to do it either way.

Maybe not so in all languages?
Third-world squats

http://www.t-nation.com/readArticle.do?id=1856085
so a master’s thesis in graphic design is just.. a quick project?
I've got to understand how a singleton is better than a global variable
That my friend is both brilliant and hilarious.
Randians / Grahamians here always seem quick to echo that 'wealth isn't zero sum'. (I presume this is to help those who are or aspire to be wealthy feel awesome about their noble path.) Wealth may not be zero sum, but wealth buys plenty of important things that are zero sum - things that are in limited supply.

A big strategic one is access to education. Poor people do not have the same access to university education that rich people do. A big practical one is housing. Why do the children of well-off parents deserve access to education more than poor kids? Of course, in reality, there is no 'deserve' about it - it's just straightforward game mechanics.

But that's what public policy is all about - consciously deciding, do we like this? Do we like this business of limited numbers of people having it relatively easy, while large numbers of people continually face a whole other order of struggle, one that many just don't find their way out of? And heaven help the poor if even that conversation is captured by those who are already sitting pretty - especially those with moral conviction that the 'right sort of people' are already ok, and the only ones who fall through the cracks do so by moral failure.
Maybe, maybe not. I'm sure people were saying the same about Facebook a few years ago. The fact that they can still easily choose who receives their "updates" makes for a longer lasting product in my opinion. The "My mom is on Facebook!" phenomenon has led to a dropoff in adolescent usage. Snapchat is a supplement/replacement for texting in my experience with younger family members.
That's just one side of marketing. A large part of marketing is in understanding how to manipulate the thoughts, desires and behaviors of people. If Coca-Cola was focused on finding out what their customers needed they would be out of business. If their marketing consisted of honestly informing the public of what their product is, their market share would be a fraction of the size it is now.

I agree, marketing doesn't require unethical behavior. But marketing in an unethical way is required for many (most?) large business to grow.