skysight-inc/HackerNews huggingface dataset:
> All I can say is that it makes things easier for everybody.

Which country is that? The Netherlands, Austria and Germany, for example, all have horrible trafficking problems. In Nevada, the women are ostracised and harrassed by the police at the legal brothels. In New Zealand, the police cannot tell the difference between legal prostitution and illegal pimping.

So which country are you in that is doing better than these with legalised prostitution?
Well this particular app seems like wrapper around the WhatsApp Web interface but if you are interested in reverse engineering API's used by apps, try Charles. It's a transparent proxy that saves calls in and out. It works great if the app doesn't have cert pinning.

http://www.charlesproxy.com/
Problems like this one, and other that rank as high in crimes against humanity, make me wish we had a global citizenship and effort, that everyone should have the right for safe passage into any place in the world.

Global rights of free passage would be a goal for all people under extreme opression and ilegality, from North Korea, ISIS, slavery, sex trafficking, people trafficking. If people could leave where they are and go somewhere: maybe not everywhere, but somewhere. A place they know they can go to.

Maybe someday.
hmm ... seems Taylor Swift is not much better:

https://junction10.wordpress.com/2015/06/21/those-in-glass-h...
They blame Apple for that. Limitations.
You obviously know what you're talking about, but DISA can't enforce STIGs across the entire government can they? Some say that's DHS's job, or some Office within DHS (or within an Agency under DHS).
and IBM as well, true :)
I took the point to be an invitation to consider how others view us.
There are freenode channels with 1,700 or more people in them. It works because most people don't talk most of the time, they're listening or just waiting for someone to ping them about something specific.
I really like Estimote, but it seems like they're selling premium hardware in a space that's racing to the bottom. Most beacons really don't need the temperature sensors or accelerometers. I finally got my nearables order last month, over six months after the first promised delivery date, and as great as those are ten dollars each is still a bit much IMO. Their solid SDK and developer relationships aren't going to matter too much if stuff like Facebook's beacons take off, making it so that businesses don't even need people to download an extra app.
Right, exactly. So there's two very distinct cases here:

- the simple and overwhelmingly common case where there is only one way to instantiate a class, and therefore there is no reason to decouple the body of the class from the parameter list, and

- the occasional but also important case where there are multiple ways to instantiate the class, each with different parameter list signatures, where we need to decouple the body of the class from the parameter list signatures.

"Constructors" as supported in Java, C++, C#, and now also in Ceylon, are optimized for the "occasional" case. And I'm convinced that they're useful enough that we need them. But in the "overwhelmingly common" case they get in the way, and that's why they're not the usual thing you reach for first when writing a class in Ceylon.
I seem to remember this being in the book "The Sphere", though I might be wrong. I actually always thought that it was something rarely-used-but-possible.

The overlap between close-to-current sci-fi and real life in my brain is occasionally saddening/shameful.
Well now, what the hell have I been doing all this time?

According to TFA, apparently nothing that "works".

If you're working in C#, you're most likely working in Visual Studio (Mono is just such a terrifically small proportion of C# users, and even then, some Mono users are using Visual Studio), so you have access to one of the best (and easiest to use!) debuggers in the world. This isn't embedded C++. It is common for .NET developers to know how to use the debugger. People don't use printf-style debugging, and even if they thought they would want to, there is no easy way for such an undertrained developer to do it. You have to make a special build to get the "console" window, and it's a setting most developers I've encountered just plain don't even know exists.

And if you're using LINQ, it's because you know you want deferred execution and that's explicitly what you're hoping for. Developers who don't know this feature/limitation of LINQ just plain don't know about LINQ.

So after all these C# strawmen, his proposed solution is... rewrite your entire world in Haskell. Yeah, that's totally going to happen. I'm going to get my stakeholders on board for that, I'm going to have all of the libraries I've come to love available to me, or reasonable analogues (Just looked at HDBC, it looks like a toy compared to ADO.NET). We're just going to switch to Haskell and everything is going to be peaches and cream.
> I suspect this has something to do with gender roles, where a man who is forced by poverty to unwanted work is a hero while a woman doing the same is a victim.

Not directly. It has to do with the concept of honor in the male culture: a poor man robbing, using violence or selling his ass is still despised because poverty doesn't excuse everything. Endangering your health and life in order to support a family is seen as a noble sacrifice. Renouncing your honor is seen as renouncing the whole culture and your own identity - that's hard to accept.
> Also there is the silly issue, of woman losing her unemployment status because she didn't refused to work as a prostitute.

This did not happen. There was a sensationalised story in a paper that it could happen, but as far as I know, it was just that: sensationalised conjecturing.

The persistent human trafficking problems are real, though. Proponents of legalised prostitution argue on the meaning of "trafficking" and say that the almost invariably foreign, poor, and immigrant women who are prostituted in Germany are doing so voluntarily.
She posed as a prostitute, but thankfully I don't believe she actually worked as one, or at least she doesn't talk about about it in the documentary.

I do strongly recommend watching it, though not if you're depressed - it's very heavy for the petite bourgeoisie like me, not used to seeing this kind of misery.
""it does baffle me" that her husband enjoys getting the children so excited, she says. At times, she adds, "I have to leave the room. It's such an intuitive thing, to not want to tolerate the sounds of your kids screaming.""

They tried to over formalize and "other" it with games I've never heard of. I got my kids all wound up and shrieking by playing traditional tag, peekaboo, hide and seek (hide and go boo is way funnier)... and my wife hated it because good luck getting a swarm of screaming little kids to take a bath 5 minutes later or go to bed or pretty much obey anything their mom says until the adrenaline rush wears off.

Once they get older and start playing among themselves, I want to leave the room once they start screaming too, that noise can just be annoying unless you're participating in the game.
Bah, in that case it shouldn't be calling itself an HDL! Chisel looks more appropriate.
Hmmm, this helps me better understand a former college who went to MIT, would have been class of '97, and before that decided not to attend TJ because he wanted a more normal high school experience. Struck me as strange at the time, but if TJ is this aberrant, much more than any of the other schools in its class you hear about like Stuyvesant and the other NYC high schools that puts lots of graduated into MIT.
Because the post is dealing with the new functionality we've added in Ceylon 1.2, which provides support for Java-style (i.e. multiple) constructors, not the functionality that has always existed in Ceylon, where parameters of the class are listed at the top of the class declaration.

Does that make sense now?
User groups, open source communities, game clans, etc.
Are the prostitutes in Australia typically poor immigrant women? Wealthy, powerful women with a broad spectrum of choices do not typically choose prostitution.
Musicians will hate ANY streaming deal. In fact, nearly everyone (it seems) is on record hating all these services. Yet the overwhelming majority of them don't opt out. Why is that?? Hmmmm...maybe streaming isn't such a bad deal somehow. Possible? I keep waiting for the mass defections as proof. People vote with their feet, artists included, and all I see is a lot of talk and zero action. It's basically just people whining for more money.
Web Messaging
> It's probably better to be rid of "customers" like this sooner rather than later.

Agreed. This is more or less an example of patio11's "pathological customer": they won't or lack the resources to pay, have an unreasonable use case and overinflated expectations, and proceed to throw a fit loudly and publicly when they don't get their way.
yes, along those lines. I don't know how large a subset NaCL is though. And it's yet another target. It would be cool if you could just target x64, and if the browser is running in a box that is new enough (has such a CPU) your thread literally GETS an x64 core whenever it has focus. All of it - same as if if it were a desktop app. Like a coprocessor. (Exactly what was called a silly idea.)
> You're probably going to need to deal with the WhatsApp legal team very soon.

And for good reason. Remember that trademarks are a consumer protection policy to avoid confusion. I was certainly confused at first. If it wasn't for the "Show HN" on the title, I might still be confused. The product name is "WhatsApp for Desktop", the page includes links back to whatsapp.com for the user to find more information, pictures copied directly from whatsapp.com (itself a fairly obvious copyright violation), and the file that's downloaded is called WhatsAppSetup.exe.

It is quite reasonable to think that someone could think this was official, easily missing the fine print that clarifies.

I strongly suggest anyone releasing software on the internet familiarize themselves with the relevant laws on trademark and copyright so they can avoid mistakes like this. There is no way this could stand up to legal scrutiny. Naming your product AnotherCompany PrepositionalPhrase is not something which presents an interesting legal debate, it's an amateur mistake.

I am not a lawyer. This comment is not legal advice.
To get lazy in Ruby, I've been using the rspec-style rlet gem: https://github.com/hosh/rlet

For example, in Rail, instead of setting up a variable in a private method for a before_action, you write:

`let(:ar_model) { ArModel.ar_scoping_stuff }`

This defines a method (where the values are memoized) that can be shared across multiple objects.
See my other comment about this elsewhere in the thread. I'm saying eat what you feel you need to eat (within limits of course) so we're probably arguing the same point, just a different half of it.

Fetal macrosomia is something I know all about. 3 children, 3 c-sections due to this but all three under 9'15 which is considered the high risk limit. There are risks, you are right and I'm well aware of them. However that isn't possible to completely build a causality chain with calorific intake. AFAIK there is no research on this.
the problem is that developers tend to develop when things go south

but usually the "development part" wasnt the thing to worry about in first place

(same with bizdev who go to networking events or arrange meetings, designers who redo landing pages or ceo's who spend time chasing investors)

my thoughts a bit longer explained: http://klinger.io/post/36585126176/the-founders-lie-about-co...
Introducing CloudPlayer
Unlikely. Dutch pensions are pretty good.

But it is true that the retirement age in Greece is very low. Maybe that should be higher, but then again, with such high unemployment, what are you going to do with all those people?
Also, Greeks work the most hours per year of any country in Europe. Maybe that should change; countries with more days off tend to have stronger economies. Maybe people are more productive when they're more rested and relaxed or something?
What if you do not-functional software in ways where parallelism and concurrency are non-problems? there is no elephant in the room?
Does it run Crysis? Apparently now Linux can.
As far as I can tell, the argument is that allowing side effects inside functions allows programmers to make mistakes, and therefore "mostly functional" programming is broken.

I'll happily extend this: "fully functional" programming does not work because I can define a mathematical function that divides by 0, and therefore does not work. I'd go a step further even: all programming does not work, because I can solve a problem in the wrong way if I make a mistake.
I started out reading not believing that pureness is a necessity and sadly the arguments weren't framed in a way that I could understand them. So, I'm still quite unconvinced because I haven't seen how it doesn't work. But of course I know from experience that it happens that things are true I haven't seen yet. Can anybody try to explain it for people who don't live on Haskell planet?

Example time: I program python, not C++. And in the example with the try-catch I would have wrapped it around the loop anyway. So for me it wasn't quite convincing that there is a problem in the first place. Sure someone who hasn't crashed a few programs due to lazy evaluaton might run into trouble in such kind of situation. But after a few times you understand that being defined and being executed are different things and then you wrap the execution. As far as I can see the whole problem described with the example doesn't exist if you intuitively wrap the foreach loop and not the definition statement for q.

So, would really appreciate if someone could explain it in a more nooby fashion to me. Thanks.
The example of the exception being thrown late (essentially, an exception being a type of side-effect) is quite good.

Would it be fair to say that this is an advantage of the Haskell approach of (for example) encapsulating an operation that might fail inside a Maybe? You get to make the failure aspect explicitly part of a monad, and make sure you "know" where it's happening?
Curiosity: Should We Poke the Cube?
Will the Real Data Scientist Please Step Forward?
The Secrecy of the Snowden Documents
This is the question all of the detractors need to ask themselves.

Honestly, when I first heard of the story (word of mouth) I immediately thought she was not understanding how it really worked. I had flashbacks to Metallica resisting streaming because they just didn't understand it. I thought there was no way Apple _actually_ wouldn't pay artists during those three months, so I dismissed it.

Then I realized she was right.

I wouldn't say I'm a Taylor Swift fan (at best, some of her music is fun to listen to with my teenaged niece) but the amount of ire some people have for a pretty person is just astounding. Yes, she's pretty. Yes, she sings about things that tend to be targeted at teens, especially girls. But those points don't change anything.

The letter accurately said, "These are not the complaints of a spoiled, petulant child." I have no idea how many people are behind her persona (I would guess it takes the equivalent of a small town) but I bet some of them had a stake in helping craft the letter. This was a business-to-business correspondence, even if it was written 'as a girl'.

At the worst, she's a logo for a company. At the best, she's actually got a pretty solid sense of business. Either way, she has a right to use her persona to make money.
Ask HN: Best CSS layout and widget set combination for desktop style web apps?
I'm leading a small team building out a suite of web apps, in many of which aspects of the design will mimic traditional desktop app UI patterns - independent scrollable areas, fixed footers, toolbars, complex layouts, etc.

We've built a couple of the more simpler apps using Bootstrap, and while the 'widget' set that the library offers is nice, it doesn't seem like this will offer the layout support that we are going to need in the more complex apps, or will it?

I've looked at Foundation for Apps and that seems promising. I've tried to get Flexbox to play nice with Bootstrap and failed. Grid style sheets looks kinda amazing. I've considered also just going pure Flexbox and rolling our own styling for UI components.

So, what combination of CSS layout approaches and reusable, styled UI widget sets have others had success with for developing complex web apps?

The rest of our front-end tech stack is React/webpack/ES6 (via Babel)

Responsiveness isn't necessarily a requirement but would be a nice bonus. The browsers that we do need to support are IE11+, FF34+, Chrome41+.
it is legal, however we still have problems with trafficking. many women from china or hong kong come out here, then the pimps just take their passports. they can't speak a word of english, so there's not much they can do.
The relationship between Apple and Taylor Swift is of distributor to artist. The relationship between Taylor Swift and a photographer is of subject to artist. That's pretty significant, even beyond the already-noted aspect of who is paying whom (and when).
This comes up on HN every once in a while... always makes my head hurt thinking about debugging that thing.
It might've been better to do what "Reddit News" did when it turned into "Relay for Reddit" [1].

So it shouldn't be "Whatsapp" for something. But "Something" for Whatsapp. I'm not entirely sure if that avoids all the legal issues or whether it was just something Reddit itself was willing to compromise on in the case of "Relay for Reddit", but at least you should start with that kind of default rather than shamelessly using other company's product name as if it was your own.

I think others who have used Google's name or other product names in their own Chrome extensions have taken a similar path. Like how "Gmail Checker Plus" (or something) became "Checker Plus For Gmail" [2].

[1] - https://play.google.com/store/apps/details?id=free.reddit.ne...

[2] - http://jasonsavard.com/checkerPlusForGmail
For practical purposes you need to consider energy returned on energy invested not just power flow rates, although power flow rates can be an issue. Less cost and less environmental damage to just use a battery.

A simple optical sensor could sense rotation, and there's probably some weird meteorological situation or chemical plant process meter that would find a rotating optically detected non powered humidity sensor to be useful.

For chemical process plant work something that measures humidity would be super boring because there's a zillion competing technologies, all mostly unpatented by now. The fun would begin with selective uptake of "weird stuff" non-water substances using the same physical design. Maybe you could detect H2S leaks or hydrocarbon leaks or ...
They weren't legally entitled, just morally so.

Record labels generally own streaming rights for their releases. The labels agreed to Apple's terms, in sufficient quantity that Apple was ready to launch.

Taylor Swift might own her own streaming rights. Presumably so, since she had standing to withhold them. But she's a special case. High profile, to be sure. But very unusual.
This. There's also the assumption being made that unmotivated people are just lazy or don't care about their jobs. What if they were people who used to be motivated, but burned out?
Here's your perfect counterexample.

The only language that allows you to build things that won't fail even when the hardware breaks.

Erlang.
How to co-op in outsourced Scrum?
I feel like the OPM isn't doing enough about this breach. Espionage or not, American citizens outside the IC were affected and deserve to know if they've been compromised. More efforts need to be made to inform potential victims before any more harm comes from this, including greater transparency with regards to what systems have been affected and what the OPM could have done to better secure this data. That, and an apology would be nice.
Only because their web client works via the phone, and their whole service is based on having a phone number; they should do a more commonplace username/password based logins (with maybe two-factor authentication on a phone) and have a regular, proper client. It's probably the biggest chat tool out there; surely they can afford to build a native client or two?
Names and titles of key GCHQ stakeholders and customers
Just because you found a bug doesn't mean the author knows about it. Why not leave them a github issue instead of criticizing them here about it?
Your way of thinking is not really helping though. The goal is to minimize the amount of mistake, not eliminate them (because it is impossible).

You can either think that everything is broken or nothing is broken, or you can try to make everything the least broken possible.
IMHO:

Short Term:

- You need time => consult to get money => to get time

- Be careful with this path => make sure it stays only short term

- if possible consult in the same space of your product.(best case: your clients pays your future platform development)

Mid Term:

- You think like a developer atm - unless you plan to sell to developers this wont solve your core problem (understanding the market)

- tech can be completely useless with one usecase or extremely valuable with another. Figure out who could be potential customers (it's product thinking not dev thinking, best case: you learned this in your consulting period)

- when you figured out who "could" be your customer make sure it's actually a customer you can/want to deliver for. If you sell to enterprise it will be a sales operation and you need to learn this.

In any case: Head up and be confident. Things are not as bad as they seem and there will be a good end (maybe not directly afterwards but in the years to come)
Well, Apple was threatening indie artists with expulsion from iTunes if they didn't agree to Apple Music's terms. So, there's that.

As for Spotify et al, label artists can't opt out. Their contracts won't let them. The reason Taylor Swift's current album isn't on any streaming services is because she makes a ton more selling it and streaming would cannibalize sales. And her current album (and only her current album) she did without a major label... so she's one of the few that gets to make that call.

Streaming services want current music to get and keep subscribers. Musicians want their latest music to be sales and their back catalog streaming (ala Netflix, etc) to maximize income.
> But after a few times you understand that being defined and being executed are different things and then you wrap the execution.

In this example, you've had to internalize a bit of extra knowledge, and have an extra "gotcha" to watch out for. A job that could have been done by a computer, if things were kept pure, now has to be done by you, incurring slight amounts of mental overhead.

I don't program routinely in Haskell (although things are quickly headed in that direction), but I think the sentiment of that community is:
1. Keeping a large system consistent in your head is hard
2. Offloading the constant checking of that consistency, in any amount, to a computer, is a huge win that compounds quickly over time.

Note that the "hardness" of holding a large system in your head, and the "hardness" of Haskell's learning curve have to be qualitatively different for those assumptions to hold. In my experience, they are; essentially, you're making a large upfront cognitive investment in order to save slight amounts of mental overhead every day.
Why should the kids suffer? One parent is not enough for a healthy upbringing.
It's beautiful. I could look over it all day.
As Cthulhu_ says it's more to do with the design of their app than iOS. Now that they have the clout of Facebook behind them they should be able to come up with a solution.