skysight-inc/HackerNews huggingface dataset:
> The architecture (shared business logic with platform-specific UI) sounds a lot like React Native.

That is a very common approach.

So far I have done that for an hobby application using C++ for the business logic, as it is the language common to all SDKs.

So on my case was Java/C++ on Android and C++/CX on Windows Phone.

Where it fails down is the NDK pain in Android, where the best aproach to avoid JNI hell is to use the same approach as distributed computing.

Instead of calling lots of Android API methods, just invoke one that does the bulk of the work on the Java side and back.

Alternatively a binding generator like SWIG or Djini.

I almost though a few times to go back to Qt, but there one is forced to re-write the UI multiple times anyway as it provides very little support for native integration and everyone is forced to mimic native behaviors in QML and JNI invocations.
You do skip breakfast every day essentially.
The main concern seemed to be weather or not it was on the burden of the state to prove illegal content before blocking or if it was on the user to prove their content is legal to prevent blocking.
The fact that they have a maximum (20) and a low maximum at that, and also have issues processing specials, suggests to me that they're storing in plain text.

Even DES could handle specials, the only thing that cannot is running an SQL query with the plain text string within that (not even using a parameter), and only having the column set to 20 characters. I can think of no hashing algorithm old or new which had these kind of limits.

Try doing a password reset, do they email you your old password?
Did you use magnetic harpoons? ;).
Ah yeah, sorry, the 1024 was definitely on the high side for me, but I thought you were referring to the 400
I went through this in 2006 or so - SDETs were turned into SDEs overnight in my part of MSN. Some survived, I didn't - one thing it did was completely discount the skills of a tester. The other SDEs were not expected to be up-to-skill on testing, but we were stacked against all the other SDEs.
Congress can gut FCC's power to decide these things though, that's what the Republicans want.
The issue that athletes abuse the drugs seems like a problem the athletic association/league/body should prevent instead of classifying anabolic steroids as schedule III drug.
Dept. Of Justice Blesses IEEE Rules on Injunctions and Reasonability
You should be aware that the "CSM Mantra" (?) and "TM" meditation are very fringe forms. When most people say "start meditating" they're generally not referring to those. I personally consider TM to be neutral-to-harmful and I've never heard of this CSM Mantra until just now.

Mindfulness meditation, which is the only form tied to the 2,500 years of Buddhist meditation tradition, did ok.

Interesting is the graph of the results where you see the mindfulness meditation fared better than the "mantra" meditations pretty much across the board (even though most of it wasn't statistically significant.)
stop fucking using telegram
Great. Yeah, adding unit tests for alerts is something that we still need to add the capability for. But at least you can always already manually graph your alert expressions and see how they would have evaluated over time.

Interesting work on Bosun by the way! Seems like there is quite some overlap with Prometheus, but I yet have to study it in depth. Is my impression correct that OpenTSDB is a requirement, or is there any local storage component? I guess you could run OpenTSDB colocated on a single node...
So they basically just has a full-name policy, but don't actually enforce it.
I'm not sure how you're supposed to do it, but that hasn't been a problem for me. I set up two actions: load and init. load starts a request and init sets the data in the store.
> if Wheeler says thats how it is, then that's how it is

Not entirely. It's a proposal, which must be voted on by the rest of the FCC committee. It's unlikely everyone on the committee will agree 100%, but I'd also contend it's unlikely for this to not pass in and around it's current state.
Beating a driver is much different than stealing a machine. Assaulting a person uleashes a whole new set of laws on your arse. Think instead of bike thefts - too cheap for society to care about, so they keep getting stolen all the time.
The volume is too damn high
I'd also dispute the likelihood of that. Genes change slowly, language changes quickly. It seems unlikely that language could then drive genes on a global scale.
The "Comcast supports Net Neutrality" ads have been flying for a while. Still gets me when I see them.
Your employer or your team can force you, in fact it's pretty common.

I rather use CoffeeScript instead of JavaScript, and I've forced teams to use CoffeeScript, but the fact that all browsers use JavaScript and everyone "knows" JavaScript make it easier for teams to stick with it.

You can do it sneakily but it could be a problem when you need to follow certain code conventions stablished by the team.
This isn't the craziest idea in the world. Trolls can be distracting and a ton of garbage to discussions. This isn't one of those "evil Chinese laws" in my opinion.

But I guess I'm posting this as someone using their legal name so there's that.
It's still different. This is a common layout for charted data. Likewise, Ford can't sue Mercedes for coming out with a 4 wheeled car; that's what makes the most sense.

There's different fonts, different colors, different spacing, some less important elements are in different places. Forget it, this is just a tweet to stir up discussion and generate some page hits.
My biggest problem with that caveat is that its really just a foot in the door for further regulation by the federal government, none of which has anything to do with network neutrality.

Network neutrality by definition is about all packets being treated equally regardless of the source or destination.
Apps to Help Combat Police Brutality
To a lot of programmers who maintain code, those two are the same.
In my experience, this graph looks similar if you get hired at the first peak, but the desert of despair doesn't dip as low as long as you have some form of mentor or reviewer for your code. You can, of course, get hired to a bad job and the desert will dip further down (and your risk of leaving the industry increases).
Why do you hate MongoDB? Is it because you don't know how to use it, or you are using it incorrectly.
I almost think that it doesn't matter how good the ratio is, crashes here and there will be used turn the public opinion.

Save the children and all that jazz. Someone mentioned crashing into children a couple of comments above, actually.
> They mean 'can we logically reason about programs written in this language' rather than 'is the language a good choice' for solving problems.

At the risk of baiting flame, I find this distinction oddly amusing. If you can't logically reason about programs written in a language, how is it ever a good choice to use?
I think it's more a justification to explain why non-elected officials are putting laws into motion.
http://www.crtc.gc.ca/eng/archive/2013/2013-70.htm

http://www.crtc.gc.ca/eng/archive/2010/2010-632.htm
just putting it out there: this idea is not new.
http://www.huffingtonpost.com/linda-buzzell/pattern-recipes-...
Would be nice to see on the website / app description in iTunes what privileges the various social network api's will be asking for before someone goes through the trouble of downloading and installing.

People are (very?) paranoid about granting apps access to they're social network accounts now adays. Your asking the customer to trust your app to not do anything stupid without any prior history of being trustable.
Both of those can be accomplished in MongoDB...maybe you should try using an index?
I've never had to debug actual JavaScript whenever I've used TypeScript. Source maps are pretty nice and both Firefox and Chrome developer console are a joy to use when debugging. There have been plenty of times when dropping down to the assembly level and looking at obj dumps has been the right way to debug a problem so abstractions leak no matter where you are in the stack.
They charge extra to accept credit cards, they could easily charge extra for bitcoins to cover fees.
Nice article! I definitely think this is the right approach for absolute cooking novices who also happen to think like engineers. For those who haven't learned to think like engineers, this might seem... boring. I won't say that you're taking the discovery out of the equation, but I think you're distilling this process. Discovery is important as a novice because it inevitably helps build your palate.

Patterns, in this particular viewpoint, seem to have a limit with regards to becoming a better cook. Sure, you're going to learn how to cook, but you won't really know why things come out a certain way. Rather than use the analogy of a pattern, I think it would be more advantageous to break meals down into flavor profiles. These are the building blocks AND personas of food. By learning how to make something taste salty, sweet, sour, bitter, spicy, or even French-y, Chinese-y, Mexican-y, Mediterranean-y, etc, etc, you can take very foundational dishes and produce countless variants.

Anyways, I think it would be really helpful for you to check out how the French structure their mother sauces. They are very foundational and develop into so many different things. Not unlike what you're talking about, but allowing for unlimited creativity, engineering.
Application Security – Don't Trust the Network
While I sort of see what you're getting at, it's not entirely clear what the difference between these 2 is. How is the former (a 'reasonable' language) all that different from the latter (a 'useful' language)?

While reasonableness and usefulness are not the same thing, it does seem a language needs to be both. Otherwise you could end up with a language that is both useful and unreasonable, which would be maddening.
A wealth of great resources linked here. As mentioned, I think geography is becoming less and less important. That said, don't underestimate the value of being able have an impromptu coffee meeting with your investors. Regular informal updates can help solidify a relationship and make it much easier to get through harder times when they arise.
That probably depends on the individual. Some people are more self-motivated than others and may be able to make it to the upswing without a mentor.
I develop software since 1986, never needed such dummy tests to be hired.

Companies choose employees, but employees can also chose companies which can recognize the value someone brings in, besides a few programming exercises on a sheet of paper done in 1 hour interview.

As for Fizz Buzz, never bother coding it. I see no value.
mongo scales just fine if you know how to use it. I maintained over a 40 node cluster with 1 billion profiles in it. I believe it scales just fine. Issues is with the developers that don't understand how to use it.
And you just pulled your design out of thin air? You woke up one day magically having this design idea without any prior influence? Please, you had your own references as well.

At my company, we routinely look at what our competitors are doing and we routinely look at ways of integrating their ideas into our product. It's not stealing, it's just business.
Yeah, that too. I have a humanities background, but I was always keen on mathematics. I know this is not true for a lot of my peers who studied the arts.

Really makes 'anyone can code' sound more like a marketing slogan than an evidence backed statement. If your math and logic game is weak, you'll have a hard time with anything beyond the most cookie cutter PHP code.
Interesting. Sharers and Influencers are sortable by "verified", "followers" and "shares". What are "verified" and "shares"?
You'd be surprised at what laws could get pushed through should there be another major terrorist attack on U.S. soil.
This is the single most ignorant comment I've seen on HN in a long time.

but of course the government will use it for censorship just like the FCC nowadays censors the TV and Radio.

You mean how OTA broadcasts are supposed to be family friendly between certain hours of the day? The horror.

but of course what ends up happening is that now you have to get a license from the government to say something on radio waves.

No, you need to get a license for a certain chunk of spectrum and demonstrate that you know how to design and operate your equipment in such a way that you're not going to ruin the airwaves for everyone else. There is a DAMN good reason that the EM spectrum is not a free for all! How would you like the local EMS service to be unable to communicate because some random down the street decided to start playing music on their band?
It does not. Canada has mandatory line-sharing only for "phone" companies - i.e., DSL.

This has been a boon for small-time ISPs but a huge thorn in the side of phone companies like Bell and Telus, who are forced to compete with cable giants that are not playing under the same rules.
I don't think people should be downvoting you, but I think you're conflating a bunch of things.

For radio, the broadcasting space is limited and multiple people broadcasting onto the same frequencies would ruin it for everyone. By your standard, why haven't they started censoring telephone conversations? The pressures that brought the FCC into putting those regulations in place just don't make sense for the internet.
For more about emacs calc, which (like OpenOffice Calc) does a little bit more than its name might imply: http://nullprogram.com/blog/2009/06/23/
Not knowing anything about databases is why everyone hates MongoDB. You have people that know nothing about how to store data using mongo...then when it doesn't work they blame mongoDB. Isn't mongoDB's fault you know nothing of which you do.
Perhaps I should limit myself to pointing out that:

"Everything was thrashed out in fine detail and agreed on before the change."

Is demonstrably false. About a day before the planned release of "BSD licensed" Shen 17, we were presented with this language for the master license:

The Shen license

Shen is under a 3 clause BSD license from 2015.

[ The standard language. ]

This license appears in the file BSD.

This license applies to all derived versions of Shen, including all versions derived from the sources provided whatever the method of compilation and the object code generated. This is the reason for clause 2 in the BSD. Such derived works should carry the above license on those source files generated – or with the files if they are binary. Any original code specifically written by the programmer which not derived from the sources supplied is and should be copyrighted to that programmer. This work may be placed under any license of choice except GPL because of the viral condition (see next paragraph)

There is no legal right to relicense or sublicense BSD code or any derived version to another license (e.g. GPL). The power to place a license on a work belongs to the copyright holder.

A person does not assume copyright over a work by making a small change to it. Only if the change is substantial to be deemed intellectually significant can such a claim be made and then only over the change itself. Hence if changing code, if you wish to retain copyright over your changes and they are intellectually significant, offset these changes under your copyright.

[ And Shen certification stuff. ]

There was no prior discussion that I can remember of adding language to the master license file, let alone "hashing out", and after multiple protests, the added language was retained with the 2nd paragraph appended to the 1st and the certification stuff moved to another file, with the following reframing. The initial two lines were changed to:

The Shen License = 3 Clause BSD

Shen is under a 3 clause BSD license from 2015. This license appears in the file BSD in the sources.

And the transition after the BSD license text was given this title:

Comment on BSD, GPL and Copyright
Good point on push-vs-pull. I'm biased towards push because of microservices that behave like batch jobs. In effect, I'm using AMQP in a similar way as the Prometheus pushgateway.

Agreed that InfluxDB is suited for event logging out of the box, but the March 2014 comparison of Influx is outdated IMO.

I'm using Heka to send numeric time series data to Influx and full logs to ElasticSearch. It's possible to send full logs to non-clustered Influx in 0.8, but it's useful to split out concerns to different backends.

I also like that Influx 0.9 dropped LevelDB support for BoltDB. There will be more opportunity for performance enhancements.
Statics, dynamics, and thermo would seem to leave out EE's, wouldn't it?
The concept of commands is very useful but I don't think it belongs to the event sourcing pattern. Event sourcing is just a way to write and read data, it doesn't say anything about how you process inputs and how that processing can lead to a change of data. For that concern there exist other patterns like CQRS which introduces the concept of command. These patterns are complementary, and using both CQRS + ES is actually common practice.
All provinces have a comparable professional organization, all of which are members of Engineers Canada. We have the notion of "self-regulated professions", where the government gives a charter to the professional organization to regulate use of their name, their members, etc. For Americans: it's not comparable to the IEEE, it's comparable to the College of Physicians and Surgeons (also a Canada/UK thing the US doesn't really have). So they're given the same power to penalize people "impersonating engineers" as the royal college can penalize people impersonating doctors.
I do agree that the extra attention can be unwanted and negative sometimes. For example, I've worked out the whole time I've dated my girlfriend of around ~5 years. However, at the start we were in high school and I was super lean due to MMA and rugby. Now, that I'm older and lifting has finely started to obtain noticeable results/ having lost a bit of baby-face my girlfriend started to become a bit jealous/insecure with herself. No matter what I said, she wouldn't believe that I found her more attractive then everyone else. She understands its irrational but its hard to fight insecurities. At this point she has started going to the gym and is a much harder worker then me there.

With regards to fitness, I definitely agree that I prefer a practical definition of fitness level. I may not look gigantic compared to some of the guys in the gym, but I can both lift a lot of weight, run fast sprints and long distance runs. Its that type of fitness that is great for rugby.
The "but" is that the next FCC appointment by the next president (and approved by the next congress) can overturn these rules. Also, congress is broken and incapable of legislating.
Alibaba is like MercadoLivre, they don't sell anything. They pretty dominant, in China they have TaoBao, an e-bay like, TianMao, also like e-bay, but more selected, more expensive to open a shop in it, and more brand-oriented than TaoBao, and finally they have Alibaba China, that is a B2B site, it means real wholesale. Oh, there is also Alipay, huge, it is the Paypal in China, people here use it even to pay 10 bucks to a friend when sharing a restaurant bill, a guy just taps his mobile phone and send the 10 bucks to his friend that is sitting just across from him, it's funny. There is also Alimama, advertising market. The thing is that in Brazil (I'm a brazilian too!) the e-commerce is still far from the level it has reached in China. My wife (chinese) buys everything in the internet, even noodles, milk, oil, soap,her clothes, her Lenovo laptop, her Iphone6, everything from the internet. She can't spent a day without buying at least a pair of socks from the internet. Brazil lacked a good payment system, but now with PagSeguro i guess things will improve. But there is also the expensive delivery in Brazil, in China it's ridiculously cheap, like you pay 30 Reais to send a 5 kilos pack 2000 Kilometer away to the other side of the country within 24 hours!!
Why tomorrow’s technology needs a regulatory revolution
Not sure why it would be different in this case - the general common law rule is that doing a thing is de facto permitted unless a law says otherwise.
From the sounds of it, you weren't at Erik Trautman's "Job Ready" point when you were hired (and weren't going to get there without being hired). How did you write your resume and handle interviews?
As 'euid' said, you can just add a check. If you don't want to add proper option checking (because this is the only option) you can do something like:

response=$1

echo "This will STOP THE SERVER. Are you sure you want to do this?"
echo "Type 'yes' to continue:"
[[ $response ]] || read response

if [[ $response != "yes" ]]
then
echo "You must type 'yes' to continue. Aborting."
exit 1
fi

echo "Stopping server ..."

Which will allow you to run the script with "./scriptname.sh yes" to bypass the check.

EDIT: Though, as you say, it is much better not to be running anything like this on a live server anyway. Any change should be part of a deployment procedure that is carefully checked and tested, as well as having a rollback procedure in the event of something horrible happening.

Of course, in the real world, you sometimes don't have that luxury and you just have to hope and pray :-)
I don't think that there is such a thing as an unlawful protocol.
How to be a great engineerat Coursera
And drones will have cameras. Stealing from a drone would then be like trying to break open an ATM.

All these arguments against drones have very easy technological answers.
I think anyone who has the competency to avoid doing bad operational stuff like this probably realizes the horrifying possible consequences of starting something like silk road or even a bitcoin exchange and doesn't start one.
Yeah, I hear what you are saying. Some of the comparison seems like simple "mine is better than yours" childishness and elitism.

However, I don't think all of the comparisons are without value, and I would not want all of the discussion to go away. But a little more emphasis on "here's this useful thing I build with language 'X'" would certainly be welcome.
I wasn't familiar with that particular case[1] -- but as I gather, he was assassinated by an FBI/Police kill-squad -- so more similar to how the US trained dictators to operate across the Americas, than to how the US operates in Yemen and Pakistan. I obviously don't support kill-squads as a means to "support democracy" either -- but there's still a difference between going in and killing one man (even if 20+ were expected to be found/killed) -- an dropping a couple of hell-fire missiles on a civilian structure.

[1] http://en.wikipedia.org/wiki/Fred_Hampton
So is your employer currently forcing you? If you don't enjoy the experience so much then it's not like you don't have options. You could literally have another front-end job tomorrow working with your compile-to-js language of choice if you wanted to given the state of the developer market.
I am just glad they hit mobile up too, seems that it became the bastion of overcharging people after voice prices went south.
I think it's a great book and a great introduction to discrete mathematics, specifically the topics typically taught to CS undergrads.
Link to what? https://www.cloudflare.com ?
Why don't you just use drools decision tables?

http://docs.jboss.org/drools/release/5.3.0.Final/drools-expe...
This is such a beautiful way to show via the animations rather than tell. I love the exploration and comparison to print design showing the grids overlaying the images. Nicely done. Super excited to see how this will influence future iterations of the product.
This is really encouraging. Having trouble not assuming it'll get torn down by 'interested parties', though.
Origins of the Mayday call
You know, that is probably true. And if so, that is incredibly depressing and disappointing.