skysight-inc/HackerNews huggingface dataset:
> The difference between the number of participants vs the gender distribution of the participants is academic.

That's incorrect. The difference is critical as it pertains to discrimination against a certain type of persons. Prohibition of gay marriage means "this type of person cannot marry that type of person"; this is a restriction based on type of person. Contrast that with prohibition of polyamorous marriage which means "a person can marry up to one other person"; this is a restriction based on a factor that is detached from any individual members of the union, making each individual interchangeable with regard to the application of the law.

> The trait of whom you choose as a partner.

Prohibition of poly-marriage has nothing to do with whom you choose as a partner. There is no whom, the only factor is how many, a quality completely detached from the qualities of any individual.

> The trait of the structure of your union.

The structure of one's union is not a trait of an individual.

The difference is even more obvious when you ask yourself what type of information is necessary in order to enforce prohibition of either type of marriage. Here's a thought experiment that makes the difference even more explicit. Given the pseudo-schema below, consider the difference between the queries you'd need to write in order to return all poly unions vs all gay unions.

persons_table: person_id, name, age, sex
marriage_table: marriage_id, person_id
Chrome - had flashblock on, but after enabling flash, still won't go. (hope this helps)

this IS supported
2app.js:188 videos and songs not loaded
app.js:651 Object {duration: 122208325, release_day: null, permalink_url: "http://soundcloud.com/chillcall/sets/chill", genre: null, permalink: "chill"…}
3app.js:188 videos and songs not loaded
app.js:332 [Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object]
app.js:452 https://scontent.cdninstagram.com/hphotos-xfa1/t50.2886-16/11682449_1595073700750452_1384791478_n.mp4
app.js:466 hidden video link: https://scontent.cdninstagram.com/hphotos-xaf1/t50.2886-16/11684410_1604272313181065_1563724192_n.mp4
app.js:309 content initialized
2app.js:188 videos and songs not loaded
app.js:236 video has been paused!
163app.js:188 videos and songs not loaded
Maybe it minimizes mental illness, but at least it's more of an attempt at a response than "he was just evil". What do you propose we do with the purely evil people? How can we detect them early?

Also I think it's kind of a stretch to say calling this mental illness is propagating a poor image for all mental illness any more than calling cancer deadly makes ALL ILLNESSES sound deadly.
Actually, I'm mainly using Scala now with the Java 8 JVM. Regardless though, the reason for either Java 8 or Scala for my current project would be because of what I was building. I am a polyglot and will in most cases assess the languages, tools, libraries, etc. that will get the job done well and fast. In my particular case, I primarily build backend/platform applications. Java/Scala, and more importantly, the tools and libraries that come along with them (especially since for the most part, they are interchangeable, but more so Java-to-Scala), have proven to help me get stuff like high throughput REST APIs, large scale data processing tasks (i.e. batch, scheduled), and pretty much non-front facing web applications running. That's probably the gist of what I'm doing at my current startup. I haven't yet used Java in the frontend (e.g. Play, JSF, etc.) and understand that they work, but prefer server scripting, and more recently, Javascript, for that kind of stuff.

What it comes down to is: you just got to find what works for you and the thing you're trying to do. Honestly, never ask just one developer how he or she would do something. Ask a varying bunch with different backgrounds. If they happen to intersect in opinions, that might be a good place to start. As for finding developers; I haven't had to do that because I work within a small group (I also have a day job doing Java, but it isn't a startup). But I'll tell you this, there has got to be a demand for JVM developers, because recruiters, including those from startups, seem to like doing LinkedIn queries for JVM-related buzzwords. I can't tell you if it's working for them though, but it at least shows other startups are using Java and the JVM.
Close. Roughly one in every 20.

https://en.wikipedia.org/wiki/LGBT_demographics_of_the_Unite...
I don't do code reading or comprehension study. Reading code is boring. I typically create a list of small tasks that I want to achieve with the project. If the task is big, I break it down into smaller tasks. Then I rank the tasks from easy to hard. This way, I can start learning about the codebase and achieve my tasks.

In your case, frozen columns seems to be a hard feature. So I would start with ajax data source. I'd start with a simple SlickGrid example and get it to run. Then go find how SlickGrid sets up data source. Expand that piece of code to add ajax data source. Once I finished ajax data source, I'd dig into frozen columns.

If you are working on a new codebase and worry about bugs, you just give yourself more stress. Bugs (that are not yours) are expected. If they aren't blocking your task, ignore them. Most likely, they aren't relevant to what you are trying to do.
> AWS is cheap. Whatever you did, you operated on a really slow scale where money didn't mattered. Or you completely forgot a lot in your calculation.

I've managed thousands of instances in AWS, and I've managed thousands of servers in colos, both owned (DOE facility, web hosting startup, consulting firm) or with the space leased (Equinix, Savvis, Cogent, IBM).

You could most definitely run elastic workloads in your own datacenter now using Docker containers, and one of the many orchestration frameworks that exist for it.

As I mentioned above, if you don't have a predictable workload, AWS is great. Exceptional even. But if you know your workload and can hire 2-3 people to manage it (which you should be doing at scale), its cheaper to get your own gear and colo it.
Agreed.

Although, I'm a vegetarian and I'm salivating at the thought of a perfectly cooked and seasoned steak. :)
Or use Google Cloud which will stick a 375GB PCIe SSD in your VM for $80 a month.
That's another entry for my must-take-a-closer-look list :)
One really useful pattern is React higher-order components,
eg. https://github.com/elierotenberg/react-nexus#componentgetnex...

The pattern is

function decorate(params) {
return (Component) => class extends React.Component {
... // some code using params
render() {
return <Component {...this.props} />
}
};
}

my2c.
I've needed it many times in the past where the function I'm assigning can't be done as a one-liner like that.
The GP talked about how it would affect the rest of the world and P responded to that. It wasn't any sort of discount on the suffering many Chinese persons might feel if significant financial loss is incurred through a dramatic correction of the market.
I've had it happen to me as well. Bumped a USB drive to which I was copying files under OS X, and it disconnected. It left the drive in a really wierd state - I could see the files on the drive, but could not read or delete them. Using diskutil under OS X errored out when trying to format, and diskpart in Windows said the drive was read-only (but could not change that flag).

I ended up needing to use some low level tool from a USB drive manufacturer's website to get it working again.
Android Wear: Always-on apps
Glad to see someone posted this! I was a student at Sheffield and did ride this one a couple of times. I was always skeptical about the safety but have never heard of any accidents happening.

What I found most amusing is that you pass through a floor with full view of the people waiting, and so there's plenty of opportunity for awkward eye contact.
This is nice. I experienced something similar. I live in Algeria and the banking system is deplorable. I wanted to be able to buy things online and needed a debit card. It took forever to find a bank that proposed them (sometimes, the bank employees themselves didn't know their own bank proposed such a service).

Anyway, after all the fuss and after gathering all the necessary documents to open an account and get a card, I thought that a lot of people were in a similar situation.

I created a wordpress.com blog and listed all the necessary documents. I created a PDF the bank required but didn't even bother to ask for until you went there (so extra trip) with fillable fields and all and uploaded it there. The whole thing. It was so frustrating to me that I went overboard and listed other options like comparing other card providers to the specific context of the country, and how each one could be used differently.

After that, I got proper hosting and redirected the .wordpress there. There were about 300 people daily on the site. Not much, but that's 100k people who read a very long post. The post alone had more than 700 comments (I changed to Disqus) and I replied to 99.99% of them. The remaining was spam. Soon, other readers were answering questions of "new" readers. They also sent me different documents to attach to the article. The site was linked to from a whole bunch of geek sites in the country. Sites to buy cars linked to it, too (they were interested in buying car accessories).

Often times, people I knew would read the article and then read the author's name and laugh because they knew me personally. Another contacted me and said good things and asked if I was related to an author/Gynechology Professor (my uncle) and he said he avoided his wife a couple years of prison time (she was to be jailed for medical mistake and my uncle apparently made a report it wasn't, the investigation was reopened). Others said it would be cool to meet IRL for coffee, etc. Others said I should monetize it.

The site ranked 1 on Google for "MasterCard Algérie" (it's not anymore as I was too busy to renew hosting, etc. But the wordpress.com blog ranks 7th).

It all came because I was too frustrated by the paperwork and the 18th century style banks have to do business.

The point is: It might not seem like it's a big thing (I mean, it's only a darn card, right).. But you never know how bad the itch is for someone else. A good indication is how it is bad for you, though. It doesn't matter if it's not revolutionary, only that it needs violent scratching.

Good luck with your projects.
Sure, but I didn't mean to speak to the technical ramifications of the decision to use AWS, rather I was trying to speak to the business ramifications.

That is, AWS has always been a high premium service with the standard story being that you make up for that premium with lower operational costs and more operational sophistication.

But when large (and technically sophisticated) companies like Pinterest and Netflix continue to use it you have to question that story (and to me, especially in Netflix's case as they have the added incentive being a direct competitor to Amazon in their main business).

My current working conspiracy theory is that implicitly or explicitly, the growth of AWS is tied to some sort of regulatory arbitrage and has virtually nothing to do with hardware performance, software resources, or operational sophistication.

That is, AWS allows you to move costs that would have been capital expenditures into other buckets and that is in some way that is obscure to me, very valuable from a business point of view.
There is something oddly satisfying about this design. Other concerns aside, it just operates so smoothly. Seems to take all the friction of an elevator ride away.
> You don't want to create an environment in which forkers can easily steal credit from the original author(s).

In most licenses I've read on Github, even the very permissive ones, the creator will still have copyright of all forks, even if all his/her code has been replaced.
"the government should stop defining marriage of any form (leave that to religion or personal tradition), and simply define all these rights under civil union"

I don't see this as anything other than arguing a trivial semantic distinction - that we should use the word "union" for government rights granted to couples instead of "marriage"?

Even if you are right about a slightly better word, who cares? What is the effective difference? Religious and government marriages are different. A "marriage" license issued by a government is indistinguishable from a civil union license.

Why grant religions a monopoly on the use of the word.

In all honesty, this is a non-sensical frankenstein remnant of the separate but equal argument for marriage and civil union. It really has no value.
True Freedom Comes with Basic Income
Wow, an additional gem of an unnerving punchline (at least for me) is close to the end of the article:

"(...) That’s why Mexican cartels are building citywide CCTV networks[1], forcing kidnapped engineers to build secret radio networks[2], and shipping stolen iron ore to China in exchange for bulk meth precursor chemicals[3]. It’s not a question of whether cartels beyond Jalisco can’t get their hands on computerized mills to make their own guns, but how far up they’re willing to scale."

[1]: http://motherboard.vice.com/read/cartel-cctv

[2]: http://motherboard.vice.com/read/radio-silence

[3]: http://motherboard.vice.com/read/inside-the-cartels-global-m...
Canada Saves Public from Public Domain, Extends Copyright on Sound Recordings
My View: The smallest amount of features that will add value.
> As mentioned, Etsy and others have gone against the cloud tide and seem to be making it work. Etsy CTO Kellan Elliott-McCrea told me that the online marketplace has discovered "very real cost savings" and higher utilization by running in its own data centers.

Even your own article contradicts your claim. :P

Yes, for people who can't capacity plan effectively...paying someone else to have idle capacity makes sense. For the rest of the world, it doesn't.
Fix a bug. Repeat.
Ah, so it's a badly-worded view. It could be called a "gain/loss graph".

That perspective would be much more useful in business. It's so useful that car dealerships have been fighting the same idea - the change from MPG to Gal/100mi.
How to Build a Great Sales Development Team
Can you speculate more on this? I'd love to hear more on the idea of it being an illusion.
[meta] 4chan technology board satires hacker news, hilarious
Yes. I'm concerned here that if a language makes something optional, some users will want to do it one way and some will do it another way, leading to inconsistent code bases. Some languages (Ruby, Haskell) prefer to let programmers decide how they do things, while others (Python) only provide one way of doing things. A lot of people disagree about which is better, but the decision to leave design open to users is itself a design decision.
I am in agreement with you. I think consciousness is more basic than having the complex consciousness that humans exhibit. Some animals are closer to humans on the spectrum, but what is at the edge? Bacteria - with their incredible base consciousness?
Have you seen any recursive macros?

https://github.com/lispgames/cl-sdl2/blob/ec64831109a17b0dda...
Maybe the critic is too cerebral for me [mentioning Malick etc], but I think I missed the point.
I don't know how the default JSON serializers/deserializers work, but I suspect that wouldn't work with symbols. You could probably get something working with Symbol.for().
I'm reminded of a previous NYT article about Lithium: http://www.nytimes.com/2014/09/14/opinion/sunday/should-we-a... https://news.ycombinator.com/item?id=8314188
Welcome! Out of curiousity, why did you choose to make a web browser (and not something else)? It's a great project, just curious what motivated your choice.
Edge cases don't negate the usefulness of the method.
Transporting any cargo is usually strictly forbidden. Where I saw this type of elevator, there always was at least one traditional elevator in parallel (probably from the beginning, not only for the disabled, prams, or suitcases, you simply can't move furniture or dolly carts using this elevator).

So, if you are just a person running between departments, you can hop on. If you have luggage, kids, wheelchair, crutches or you are moving stuff between floors, you can use the traditional elevator as always.
Deprecating Secure Sockets Layer Version 3.0
It's so tempting to do this. Don't. Problems may occur again in the same area. Leave your logging statements around; configure your logging setup to skip them when you don't want them.

You're saying to delete commented-out code once the new code works. Put your code in version control instead. Logging is to once-off printfs as version control is to commented-out code.
This article doesn't talk about the optimizations, it just mentions they were done. Clickbait, I'm afraid.
Additional work. Developers don't like to deal with false positives. If static analysis tools were like a laser. It's more like a shotgun that throws a bunch of shrapnel. Sure it hits some really difficult to find bugs. But developers don't like to have to go through a long list of warnings that aren't really guaranteed to find a valid bug, especially in the applications' context. For example null checking is good, but is it needed if I know it is never really going to be null? Isn't that arguably extra effort of typing and compiling and couple of extra lines to compute? I think we will truly move to better adoption if:
1) We had better configuration for customizing it for our application.
2) More education among developers about what is the correct way to modify the tool's behaviour to aid their work. Help the tool, help them in return.
3) More tools that do specific and general work. Example tools extremely focused on mobile development but also tools that not just help you with correcting design and coding problems but also security vulnerabilities.
managing != operating them.
You could manage a thousand servers, but ONE PERSON just can't operate thousands of servers.

also how did you managed file access in a scaling manner? did you've setup hdfs? and when yes how did you provided your developers that space? did you created some kind of infrastructure for that (libraries, etc)?
There are so many things, which just doesn't work out.
As already said, you've just managed it. But other people did the work, that this could work out and they needed a lot of time to get things done.
Take a look at google, they always try to bring costs down, through things like borg, kubernetes, etc. but they throw thousands of people at those problems, also at the networking thing, they have a huge team of PROGRAMMERS that try everything that the management of their network will be easier.
also if you don't need things all the time, why should you buy it?
We deploy distributed, multi-language, centrally Lisp/SBCL servers as well. A few specifics that I'd point out:

Many of SBCL's optimizations are fine grained selectable, using internal SB-* declarations. I know I was at least able to turn off all optimizations for debug/disasm clarity, while specifically enabling tail recursion so that our main loop wouldn't blow up the stack in that build configuration. These aren't in the main documentation; I asked in the #sbcl IRC channel on FreeNode.

You can directly set the size of the nursery with sb-ext:bytes-consed-between-gcs, as opposed to overprovisioning the heap to influence the nursery size. While we've run in the 8-24GB heap ranges depending on deployment, a minimum nursery size of 1GB seems to give us the best performance as well. We're looking at much larger heap sizes now, so who knows what will work best.

While we haven't hit heap exhaustion conditions during compilation, we did hit multi-minute compilation lags for large macros (18,000 LoC from a first-level expansion). That was a reported performance bug in SBCL and has been fixed a while back. Since the Debian upstream for SBCL lags the official releases quite a bit, it's always a manual job to fetch the latest versions, but quite worth it.

Great read, and really familiar. :-)
Both of those are true.
Babun – A Windows Console you'll actually love
There is the slide deck to a related talk.

http://www.slideshare.net/denshikarasu/all-your-iops-are-bel...
Climb El Capitan from your computer
Wow Lou Doctor is on your team I remember him from Supermac back in the early 90's.
I listened to him talking about that book on Econtalk. It was interesting, though I didn't find much to agree with in it.
We played with sb-ext:bytes-consed-between-gcs, but couldn't find the right balance. That's why we were surprised with the result of the oversized heap experiment
Any options I had planned for the language were going to be per-project settings, so at least the coding style in any given project would be consistent.
(The below was ~5 years ago; it would be even easier today)

> You could manage a thousand servers, but ONE PERSON just can't operate thousands of servers.

Yes, I literally managed AND operated ~5500 linux servers in a facility. Remote power management, serial console access, PXE booting. I would replace any failed hardware when convenient, usually after my morning coffee or in the evening if I wasn't in a rush to get home.

> also how did you managed file access in a scaling manner?

Shared NFS with work distributed to servers on-demand or scheduled, based on workload.

> and when yes how did you provided your developers that space?

Limited SSH access to their environment; diskspace was provisioned in minutes. Scheduled jobs could be executed using an open source scheduling framework.

> did you created some kind of infrastructure for that (libraries, etc)?

No, the majority of the tooling was a few thousand lines of bash scripting

> There are so many things, which just doesn't work out. As already said, you've just managed it. But other people did the work, that this could work out and they needed a lot of time to get things done. Take a look at google, they always try to bring costs down, through things like borg, kubernetes, etc. but they throw thousands of people at those problems, also at the networking thing, they have a huge team of PROGRAMMERS that try everything that the management of their network will be easier. also if you don't need things all the time, why should you buy it?

Not knowing how to do something does not make it impossible or hard, simply an unknown how to do it.
First, almost all Android apps are coded in Java. But this is Java for heap sizes in the 10s of MB. Java with a component model that aggressively claws-back memory. Java with tasks that can wake up with a new PID. Java with RPCs you actually would use. Java with a rich UX stack. Server Java brains have evolved in a different direction.

Secondly, Google App Engine seems like a huge convenience for stuff that needs to scale and teams that don't have time to spend on the scaling problem. I don't hear much about it. I wonder why.
Using English words is perhaps not the best idea if you want it to be used by "everyone and everywhere". And translation doesn't work, because you end up with a lot of ambiguous places.
I think they nailed it..

<<<[420 points] Show HN: I ripped off an existing product and added Bootstrap to it
>>
Anonymous 06/26/15(Fri)22:42:37 No.48696192▶
This is a perfect example of the sort of immature, { misogynistic, racist } attitudes that permeate tech!

(followed soon after by)

What this actually shows is why more complex factors are at work in explaining why { women, blacks } choose other fields of specialty.>>>
Sure, it's listed in my profile.