skysight-inc/HackerNews huggingface dataset:
Would this be any different than debugging code currently written in a language that compiles to asm? For example, people debug C code, compiled to asm, on their computers. Would it be different to debug C code, compiled to webassembly, in a browser?

Although I can't disagree that debugging js directly in browser tools is a nice experience.
I did. I started with React itself. Then I added Redux (first time, it was beacause of the project manager decision).

I really like the state reducers.

I find internal state clumsy, beacause you have three kinds of functions around the very same state object - get initial state, get state after some props changed and get state after some user action. For simple cases they are very similar to repeatedly write, but still different to abstract out.

I hate putting everything in One-Rules-Them-All Redux Store (specially form input on each key press), beacause it creates too much little components to glue it all together - Action declaration, action generator, reducer implementation, projection from Store to component's props

I did not see any good solutions that take best of both approaches and I was tired searching. But I plan to wrap my brain around this and think about what exactly is bothering me and how to solve that. In first sight it is what I outlined in my first post. The next thing comes to my mind are Redux-style reducers for component's internal state.
Congress also pulled funding for the risk corridors system that was supposed to keep insurers who were unlucky in the exchanges (i.e. getting sicker, more expensive customers) afloat. The co-ops suffered particularly badly from that.
Not to mention all the "Don't Bring Me Down" jokes we'll get to make.
It is True. You have to press in two places on the key. First you have to press and Hold in the middle of the key. Next you have to press either in the Front of the key or the Back of the key. Show me the video? Am I missing something can I simply press in the Front Twice?
Saved me so much time when I was developing my apps
i think the dictionary definition of 'insurance' is beside the point. this is really about sustainable ways ('sustainable' comes with many facets to be considered, to be sure) to ensure health care is provided to society and how we shape/modify our social contract to attain that.
Maybe around $500 million for the valuation, and I'm not sure what they need that much capital for ($181 million).
Well, yes, obviously it was a feature that existed and could theoretically be used -- that's not in dispute anywhere; there's a pretty big gap between that and being a feature that was, in practice, actually useful.
Hi people, OP here,

I finally find a solution with docker for mac to have an easy way to plug different virtual host to my Nginx on OSX dynamically.

Feedback welcome!
My suggestion would be to simply tell people that the internet's hug has overloaded the servers, offer an apology, and let them know that you hope they will come back later.

The problem is that asking for email suggests people should trust the website at a time when there is no basis for trust and many people have substantial experience to suggest not trusting.
All in app for this particular API, using CI, good test coverage.

DB handles data integrity.
App/API handles data validation.
Tons, according to https://news.ycombinator.com/item?id=12088631 (from which I found this article I posted).
Most hardcore finance shops (quants, hedge funds, algo traders) I know don't use a DB in the traditional SQL RDBMS sense. Proprietary time-series databases rule here - because microseconds count, it's very important to think about the access patterns of your data and optimize for the algorithms you're actually running.
In the list of things he's gotten used to that make him uncomfortable:

> Being asked things like, “So, what’s it like being a black guy in Silicon Valley?”

In all fairness, the whole premise of the piece is that the answer is worth hearing.
"Open and debuggable: WebAssembly is designed to be pretty-printed in a textual format for debugging, testing, experimenting, optimizing, learning, teaching, and writing programs by hand. The textual format will be used when viewing the source of wasm modules on the web."[1]

What would you like to see happen here? Maybe you should give them your input.

1. https://webassembly.github.io/
I don't understand. The principles of agile are, to me, what agile is, not the cultish methodologies.

How would you define agile?

From your other comment, it seems like you're defining it as whatever is appropriate for the project. I don't disagree with that sentiment at all, but it does make the word rather pointless.
I've made some progress on this, but there's still a way to go:
https://github.com/WebAssembly/sexpr-wasm-prototype/commit/8...
Well, the business in the business is getting smaller, as it's still a terrible place to work. And the video game industry is always cannibalizing itself.
Replacing the gatekeepers(why your competition isn't that important)
> I don't know about most people but there are some things (like cars), that I treat as super-reliable machines that will protect me even if I do some dumb things.

It still boggles my mind that people think this way. YOU put yourself in control a potentially deadly vehicle. You choose to do so. What will your super-reliable car do if you run into a pedestrian?

"It shouldn't be hard."
It is.
"We shouldn't expect people to read the manual."
We should.
If they don't, and injure someone or themselves, they are being criminally negligent.
> they are a weird bunch

Weird, or WEIRD? http://www.slate.com/articles/health_and_science/science/201...
That would be awfully slow to transfer (or just verify) when most people never view the source map.

What's a "valid" source map anyways?

Furthermore, debugging with sourcemaps is suboptimal. WebAssembly wants to support much better debug information than this.
being big is going to invoke more fear in smaller people. Size is correlated with ability to bring the pain (see: weight classes in MMA). Of course, your color should have nothing to do with it though.

ie: Its natural to be afraid of big people. Its racist to be afraid of only big people who are black.
Then the classification would fail-safe (i.e. no autopilot for you) and that's good[1]. The alternative with the current technology is apparently depending on humans to decide (poorly). This is to minimise deaths caused by engaging autopilot at the wrong time while you gather more data.

[1] If the goal is to stay out of court. I understand the AI drivers are better on average argument.
The power released by the conversion of hydrogen atoms from water
molecules in to a lower energy form called “Hydrino” or dark matter
is manifest as brilliant-light emitting plasma wherein the light is
uniquely and extraordinarily essentially all high-energy light in
the extreme ultraviolet

I would classify this as "astonishingly unlikely".
Isn't that one of the reasons there is still a driver? Cruise control will drive you right off of the road until you crash with no awareness of the shoulder or other traffic or anything. But it is all over the place.
I'd like to see the title changed to something like "Futures for R" since it's so tongue-in-cheek that it's effectively clickbait.
That is exactly what it does; apparently the accident happened before it could complete its "slow down and stop with the hazard lights on" process.
My understanding is that most of Google's cars are limited to around 30mph. Seems unlikely to kill an occupant at least.
Realistically, you handle such things via deterrence. When an accident happens, the car's software can be dumped (in some cases), and criminal/civil liability can be assessed based on the results. The risk of heavy fines or jail will probably keep most people from hacking their self-driving cars to be more aggressive.
Whatever. Did you have a point after all?
Maybe i asked it wrong, I am referring more to the old fashioned banking industry, like accounts and things like that
I physically put a piece of electrical tape over my Visa card number. It sounds completely weird but I encourage everyone to do this. You'd be amazed that when you whip out your card all excited to buy something that it really, really makes you embarrassed to use it in public. Aka save the money, or you can't afford it.
Headway – Changelog as a Service
I just have a complex about being a good enough front end engineer. Otherwise I dont mind if people refer to me as the black guy and I love watermelon. I get people mixed up all the time so Im not offended if someone mistakes me for another black guy.
Introducing the Allen Brain Observatory
Yep. We've actually collected SDK data on around 350K iOS apps and over 1M Android apps, and can scan new ones on the spot (Live Scan).
After being acquired by Microsoft, their product strategy for Skype was unclear. It was still offered as a standalone application, and at one point it got Facebook login integration and eventually Microsoft account integration. In 2013, they shut down WLM [1] and told everyone to use Skype.

Meanwhile on Windows Phone, it was discontinued on WP7 [2], while WP8 had native 'iMessage'-equivalent apps backended by Skype, but also a downloadable Skype app. If you installed both, you got double notifications. Was it supposed to be the platform-native messenger? On the phone, the answer was 'yes', but on the desktop it was 'no', or 'not yet'.

Desktop Windows 8 eventually also got a Metro app, but then it was killed [3]. Now they're about to release another one [4].

[1] http://www.theverge.com/2013/2/15/3991370/windows-live-messe...

[2] http://www.windowscentral.com/microsoft-discontinues-skype-w...

[3] http://arstechnica.com/information-technology/2015/06/micros...

[4] http://blogs.skype.com/2016/03/24/skype-universal-windows-pl...
Sure, but it's much different to want to voluntarily talk about it versus being asked randomly. If I open up on a sensitive subject that is hard for me to talk about, great. If someone randomly asks me to open up about it, not so great.
Found it while using JS Fiddle today - they did a Show HN [0] 10 months back and didn't get much traction, but it's a really cleverly done widget and thought they deserved another look :)

[0]: https://news.ycombinator.com/item?id=10172843
Finance is broad. Outside of hft, RDBMS is a workhorse for back office data, metadata, powering websites etc.
Rhai [1] and Ketos [2] also exist. I know I have seen one more lisp (which had come further than initial experimentation) but I can't remember what it is called.

1. https://github.com/jonathandturner/rhai
2. https://github.com/murarth/ketos
I'm reasonably confident we have not yet reached that point.
You wrote this: "Inheritance is nothing but composition with some default implicit virtual method routing."
In response to my post where I said that inheritance and composition are two different tools and doesn't make sense to say that one is always better than the other.
So it seems to me that you think that inheritance and composition are the same concepts given your words that I quoted and given that you were arguing with my definition of different tools.

Edit:
I don't see any composition in your example, just an interface implementation.
I wrote myself that there are surely more advanced ways to do that but I'm not a professional in this particular area as I'm not in the business of censoring people or blocking communication.

Still my point remains valid I believe: The OP claimed with certainty that no one could know if a call is being made which is wrong.

But you can outline your ideas on how to detect a call attempt without "going through your ass to get to your elbow" as you put it.

I still feel that blocking IP's or ports is an easy solution for governments that feel the need to censor.
Cool, didn't notice they are doing C# as well. It would be very interesting to try it. I wonder what the costs are though - the quotes are hidden from their site.

Still, in reality, knowing that your code has a bug is just one part of the story. Having huge legacy code base usually means you've got to fix the bugs as you go about your business implementing features/fixing other bugs. You cannot simply spend a year fixing bugs no-one actually cares about (because software was working well enough before).

So in this drive-by scenario IDE-integrated tool is much more useful than some offline report-generating tool. You see a warning live in your editor - you fix the issue - you move on. Very low effort and effective in the long run.
When doing consulting for an agency, I was managing the integration of a new iPhone app with a legacy government database.
We were given access to their code and their database.

One of my wise old developers frowned and when I asked why he told me there were literally hundreds of stored procedures in this database and no documentation.

It was at this time he told me to when possible keep business logic in code so it can be managed by a version control, and easily replicated for CI.

He advised the exception to this rule was when the stored procedure gave a large performance boost.
Are you implying that the drivers involved were not even aware that they were using the feature negligently?

Even after they used it for miles, it having certainly audibly reminded them many times, over months, that they must have their hands on the wheel?

Maybe if someone is deaf, reads "autopilot", jumps in the car and crashes, the name is at fault. Otherwise, unlikely.
THIS is the kind of insightful, high-quality, wise comment I come to HN for. All the upvotes to you, good sir gentleman and scholar!
Can you give a general description of that system, what's it's core functionality?
Can you give an example of a "business rule" that you implemented in the app and a "data integrity rule" that you implemented in the db?
Thank you
This sort of reminds me of some essays from LvMi so it's weird how conclusions can vary with similar assumptions about the economy. But it's still an interesting read.
I have had the same self reflection wondering what I was saying or doing when someone is intimidated (for lack of a more polite phrase) by the color of my skin. A woman I currently work with is startled Everytime she sees me and rushes away and I found myself making excuses for her. Trying to reason about why she should obviously be afraid of a 5'10, 170lbs, 23 year old who talks like he's a valley girl...

I wonder whether this is a generational thing or if xenophobia is simply inherent in us as a people.
I was wondering what's wrong with WhatsApp. Sure it lacks video calling, but it's arguably my number 2 messaging app. Rock steady, deliver/read receipts, fast..
Oh, that's interesting. What would be the method for handling this? Branch a known good commit, fix the warning, rebase everything from the future, then bisect?
An AI Watched 600 Hours of TV and Accurately Predicted What Happens Next
Please add 2013 to the title.
What's odd to me is that Epic Games is majority owned by Tim Sweeney, who has a < $1 billion net worth, and in serious and performance sensitive (VR) applications, UE4 is very difficult contention for Unity.

Other than that, I've really lost track of the values of other game companies, other than knowing that EA and Ubisoft want to eat the sun.
That just moves the point where you have to lay out money to even earlier. That's great if it's an early stage startup where the shares are worth practically nothing, but it's even worse if they are already worth a lot.
"Considered Harmful" Essays Considered Harmful: http://meyerweb.com/eric/comment/chech.html
It was a fine article up until it repeated this Great Lie:

"The amount of senseless shootings and beatings by the police towards other people of color is alarming."

No, it isn't. Police shootings of blacks are right in line with the violent crime by blacks. Police shoot many more whites than blacks. Blacks kill more cops, than cops kill blacks. http://www.dailywire.com/news/7264/5-statistics-you-need-kno...

"The fact that this can happen to me anywhere, at any time, for any reason makes me not even want to go outside at times, and makes me fear for the lives of my family since it can happen to any of them, too."

The real crime here is lying - lying by media and activists who have created this very real and very destructive fear, despite there being no actual problem to be afraid of.

And it's not just this man's psychological price. The Ferguson Effect - increase in black-on-black crime as police withdraw due to political pressure and violent resistance - has caused hundreds of excess deaths of blacks. Far more than the cops ever did. http://observer.com/2016/07/no-decent-person-ever-said-black...

If this man is a victim, he's a victim of the victimology industry that is nourished by the pain of his people - and seeks to maximize that pain.
Every example of a call in style audience interaction I've seen winds up being dominated by 'pranks' or off topic ramblings.
> Wouldn't it make more sense to use nuisance laws and actually enforce them

It depends on the laws. Some municipalities could have laws that are able to handle short-term rentals while others could not.

In a jurisdiction where the existing law doesn't address a problem caused by short-term rentals, a new law would not be arbitrary - in fact, it would be the exact opposite.

> The zoning laws seem to be used only because cities are not even trying to properly police the already in place nuisance laws.

If zoning laws are easier to enforce than nuisance laws, this could be an appropriate response.
Anticipating Visual Representations from Unlabeled Video [pdf]
This feels a little like using a hammer for cutting down a tree. You could do it, but there really are better tools for that particular job.
In general, while market dynamics are quite important, "the market" doesn't actually constitute a valid argument for anything (as said thing would happen anyway), and usually indicates an attempt to stubbornly ignore differing opinions.

The point is that companies are already asking for state intervention to protect their products as being a creative endeavor. So this is no longer some noble two-party private transaction. (Which I would be all in favor for, but we're just not in that realm!)

Demanding the protections of their creative work while shirking the responsibilities (an end-user accessing and modifying the whole creative work that they've purchased) may not be definitively inconsistent, but it's extremely one-sided.
This is barely an acceptable behavior. You're supposed to use a neutral point of view when editing Wikipedia. As this editor publicly admits she's editing Wikipedia as a form of activism for her political views, she at least declares her intent to have a political effect while editing.

She may manage to make edits that remain neutral, but still the whole attitude is edgy.

There are many good reasons to be willing to edit Wikipedia, and politics is not one of them.
And it'd imply you need a source map even with unminified JS. And what's to say the source map maps to non-minified JS?
I'm not sure we can have the kind of frank discussions about race in America that we need if just asking about someone's experience is considered out of bounds.
No idea why you've been downvoted. I'm interning at Mozilla right and as that design document says, GC and DOM access for WASM are very much on people's radar - they just won't make it into the initial roll-out.
Ask HN: HackerRank, CodeWars, or something else?
Which of these would be the best to invest my time in? Is one more highly regarded than the other?
I never understood this stereotype. Yes, my entire family and I love fried chicken, who the hell doesn't??? I wonder how different things would be if the stereotype was pizza, cake, or some other universally loved foodstuffs.
Great piece, I used to think there was no more discrimination in my generation. I grew up with black, Indonesian and white people in my class (they former two were minorities though). I never though anything of it, didn't even realize there was a difference until we were taught about neo-nazis. I guess kids now do realize the difference with the whole black-pete discussion in my country [0]. Honestly, when I see a black person I try to be extra nice to compensate somehow for all this shit. But that is so stupid as well, I wish I (and everybody) would just not see it. I feel your pain, lets hope the following generations will experience less and less of this nonsense.

[0] https://www.google.nl/search?q=black+pete+netherlands&ie=utf...
But people quickly grow tired of needing to be the token spokesperson for their group, and needing to explain the frustrations again and again (without actually perhaps seeing them changing).

No one ever asks me (a white guy) what it's like to be a white programmer.

One of my friends is a pretty famous guitarist, who happens to be a woman. For the longest time, the first interview question was "What's it like to be a famous female musician?", to which her response eventually became, "It's a lot like being a male musician, except you get this question every interview". Thankfully, the better interviewers have now caught onto this and don't ask such.

So yea, it's good for people to learn about the difficulties/differences in being X in Y, but it's also tiring to explain those frequently, especially if people aren't asking you other things that you might find fun.
The root comment on this thread resolves that distinction: it might make sense from a UX perspective to block calls that are known in advance not to be workable. WhatsApp can sensibly be reacting to something that occurs once a session is in steady state.
I hope this helps:

dispatch(action) {
this.setState(prevState => reducer(prevState, action))
}
Sure thing.

First, weirdly enough I prefer to call the Business logic layer just the Logic layer. This is just personal, for all intensive purposes its the Business logic.

Goes without saying this example is basic and open for improvements. Let's suppose an application exists where a user can donate $10 a month and the app would randomly distribute it to charities of the users choice.

-- Presentation layer, usually a public facing web application or mobile app will handle user interaction with said app. Here the pretty UI will make sure the user provides proper card information, charities etc.

-- Logic layer, will be some API that will process the users information and distribute the money programmatically.

-- Data layer, is some kind of relational database where data will can be persist if necessary. e.g User credentials.

Standard security protocols such as form validation and sanitization should always be performed both at Presentation level and at Logic level.
For compliance, Things like encryption at data rest and while its in transit are important. Method of communication between each layer would be critical as well. There is a whole LOT more things to consider so when thinking security. These are just an example.
I believe that your experiences are somewhat related to the apologist behavior he mentions in the first paragraph. I'm easy going as well and I've never been terribly bothered by people mistaking me for somebody else as a result.

That being said, I can see how it would be bothersome especially if a source of the confusion was due to something I'm sensitive about. I imagine (from your post) it'd be like if somebody mixed you up with "that other guy who isn't good enough to be a front end engineer". Even if both of you were plenty qualified to be front end engineers, due to your sensitivity it might be a little bit more raw. Thankfully most of us don't have to walk around with evidence of our sensitive issues all over our bodies.