skysight-inc/HackerNews huggingface dataset:
If deployment is the key issue, you don't necessarily need to change the language. What you need is glue code that hooks Ruby (or Python, or whatever) into the web server at the same level as PHP hooks in, the way the ancient mod_perl does for Perl. (Which is also probably a bit less implementation work than doing a whole new language --- and also gives users the benefit of a much larger set of libraries right off the bat.)

EDIT: as pointed out below, mod_python for Apache already goes pretty far in this direction.
One of the necessary conditions for a secure cipher is security under chosen plaintext attacks, as specified by the following game:

I give you two plaintexts of the same length of my choice, you select one of them and encrypt it with a key of your choice and give me the resulting ciphertext. If I can determine with probability p>50% which of the two plaintexts you have encrypted, the cipher is considered broken at level p.

I chose the following two plaintexts relative to the C source liked to elsewhere in this thread, with

#define DATA_SIZE (1024 * 1024 * 128)

Plaintext 1:

for(i = 0; i < DATA_SIZE; i++)
decrypted[i] = i;

Plaintext 2:

for(i = 0; i < DATA_SIZE; i++)
decrypted[i] = 0;

and claim that your algorithm is broken at a level of at least 95%. (I actually think it is 100% if I make the plaintext long enough, but I'm hedging my bets by conceeding 5%).

I don't need the full ciphertext, the output of the following code fragment is sufficient:

for(i = 0; i < DATA_SIZE; i++) {
count[encrypted[i] & 0xFF] += 1;
count[(encrypted[i] >> 8) & 0xFF] += 1;
count[(encrypted[i] >> 16) & 0xFF] += 1;
count[(encrypted[i] >> 24) & 0xFF] += 1;
}

for(i = 0; i < 256; i+=1) {
printf(" %8d", count[i]);
if (count[i] > 2400000) {
printf("*");
} else {
printf(" ");
}
if (i%16 == 15) {
printf("\n");
}
}
<ul>
<% for person in db.query("SELECT * FROM people") { %>
<li><%= person["name"] %></li>
<% } else { %>
<li><em>No people found!</em></li>
<% } %>
</ul>

I don't think that mixing view and model code in an example is a good idea. The reason is that it encourages mixing different concepts / abstraction levels which will result in confusion and maintainability issues in the long run.

For example if you happen to change the table name from people to humans you will have to change all code which uses people. It is not probable but it might happen.

If your language is not intended to be used for more than a few lines scripts then just ignore my comment.
http://grammarist.com/usage/wary-weary/
Kinda off topic:

How is this good news for dieters? New kilo is lighter than old one, thus making all new measurements bigger in absolute numbers.

Besides, can't they recreate a "canonical kilo" with the required measurements?
Ask HN: Running a SaaS company from a tax-friendly country?
I run a somewhat profitable SaaS business. My co-founder and I are from Asia, but since my co-founder lives in the USA as of now, we currently process credit card payments in the USA and pay the tax in the USA. Since both of our families are based in Asia, we're taxed twice, once again when we bring the profits to our home country.

I'm aware of countries in Europe (and even Canada) which offer much lower tax rates, and our payment processor supports multiple countries.

Does anyone have any advice on opening a bank account in any of these countries and collecting our payments from there? I believe we also need to have some kind of physical company (unless the country allows tax to be filed as individuals). We don't need any work visas or to be otherwise physically present in the country. Any insights or pointers greatly appreciated.

P.S: Just in case this comes across in the wrong way: We're law-abiding, tax-paying people - we're just looking to see if it's worth saving an additional 10-15% of our profits if setting up a company in another country is not too much of a hassle.
Love this. Actually working on something similar ('GitHub for storytellers') as my first Rails project. I have to learn a lot more to get mine even presentable, though.
Yes, in doing my research the cooling vest was one of the first items I looked at. The biggest problem for my target customer (triathletes and runners) is the weight (>4 lbs), the lack of mass security (vests tend to move around a bit), and the heat blocking nature of the vest when cooling is depleted.

I have been experimenting with saline based solutions to test my theory of perception of heat reduction. They have worked for the most part, the challenge has been that they last about :30. I need longer. I have not experimented with any of the break+mix solutions from the wikipedia article, though am aware of them.

My preference for an endothermic reaction with a PCM is that in theory the mechanism is reusable, or easily replaceable, the weight penalty is low, and the complication of the solution (no pun intended) is also low).

There are some of these "cool materials" on the market right now, and they are somewhat interesting, though they are not operating as a heat dissipation level of the endorthermic reactions.

My vision for this product (at this point in time) is a sleeve that houses chambers with the endothermic reaction solution, and those chambers are either in an arm sleveve, or inside of a hat (think of the head band of a runner's hat).

Whether that solution is a one time use, and thus replaceable in the chamber, or multi use, and thus more permanent, is not really my challenge right now. A marathoner going to secure their Boston spot would pay $50-$100 for a hat that is guaranteed to keep them cool on a 90 degree day when their alternative is to keep throwing ice on themselves at aid stations, or stuffing cold sponges down their shirts. This is how it is handled today. Same for the age grouper triathlete who is getting ready for a sprint or Ironman. These folks are pretty obsessive about gear and kit, and aren't very price discriminating.
I always thought 1 litre of water equals 1 kilogram. And as we know how long 1m is from nature, why don't they use 10cm x 10cm x 10cm of water at a specified temperature as a prototype of kilogram?
C-like delimiters are much more logical than the verbose Algol-like delimiters, in my mind.
"Innovator's Dilemma" describes a similar process. An underdog comes along, creates an inferior product or a product addressing slightly different needs, and then slowly but surely builds up its feature set to address the big dog's other customers.
Sure, but doing a new language is fun, and can be a learning experience.
Sun Erupts With Two Major Solar Flares (Video)
I was on something called Team X at NASA as a student member one summer. Team X consists of senior experts in all fields that relate to a spacecraft mission at NASA. Everyone sits is a designated chair--I took the "Risk" chair. At my side was a senior scientist occupying the Risk spot for that mission's Team X. The room is lined with clocks. Every second counts. Constant deadlines and decisions and ideas and solutions, and the team functions like a dream come true. I may never be on such an amazing team again, but what this article elucidates is the confidence an astronaut has in the command team sitting on Earth. Missions go through rounds of Team X evaluation until deemed perfected before the mission can proceed towards actual eventual launch. I was on a comet lander design project. The guy out there working with a drill had a NASA control team and he would know that whatever his problem, the odds of a fast solution are astronomically high in his favor. Even now, when I am doing something that seems impossible, I say to myself, what would I do to fix this if I were back at Jet Propulsion Lab, and then I solve the problem.
There's a footer, but with 'infinite scroll', it's impossible to access. (Other than that, looks great so far - just a quick bit of constructive criticism!)
I agree. I was more balking at the title ('replacement for PHP') than the page itself.
And it's the one thing I really dislike about Ruby. The problem with this is that the interpreter can't tell the difference between declaring a new variable, and misspelling the name of an existing one --- which means that there's a very common class of simple errors which it can't automatically check. Even Perl (with -w) gets this right, and it doesn't really make the language more verbose; declarations are preceded with a 'my ' which is useful punctuation. (Humans also find it useful to see when a new variable is being introduced.)

And you could come up with ways to preserve the distinction while making it even less obtrusive --- ':=' instead of '=' in a declaration, for example.
i was actually trying to make a PRO php argument ;)
Yes but time is dilated for everyone. It's not a special case.
Here's what I believe is missing among the tools supporting 'API economy'
Something to read on a weekend... prove me wrong, I dare u! :)
Blame Technology Not Obama, Obamacare, or the Great Recession for Killing Jobs
We have the resources to produce goods and services in abundance for everyone. We need to transition to a resource based economic system to take full advantage of those resources. The sooner we wrap our heads around that fact, the better off we will be.
>Good: Portable: builds on any platform with an ANSI C compiler.

>Bad: No POSIX functions built-in.

This is an either/or thing. You cannot implement those functions in portable ANSI C, it is platform-specific functionality. Also Lua is widely used on non-POSIX platforms (e.g. Windows) and given that the Lua developers have removed even most simple and basic functions like table.foreach in the past to keep the language minimal I don't see them ever adding those. Personally I like it this way.
Louis Vuitton Outlet 2013 New Arrival
12-year-old boy admits to hacking police and government sites for Anonymous
> Quality Software Services Inc., a unit of the UnitedHealth Group

Wow. Isn't that a bit of a conflict of interest? The exchanges are supposed to be a neutral ground between individuals and insurers.

How in the world was this company selected to be the crack team to lead the effort?

They appear to be a completely bog-standard .NET/Java gov't contractor, throwing the word "cloud" around a lot. The only obvious thing that makes them stand out is their connection to UnitedHealth Group.

I also wonder if any of this work will be farmed out to offshore offices: http://www.qssinc.com/newsHyd.html

Ah, it looks like their initial involvement was already questioned a year ago: http://www.washingtonpost.com/business/economy/contractor-ch...
I second this. The language appears to be a Ruby with a slightly modified syntax, and most programmers won't be excited about keeping track of the differences. Use Ruby for this and everyone will benefit.
Continuous Deployment with Docker and Virgo
Close, but apparently not.

> One litre of liquid water has a mass of almost exactly one kilogram

https://en.wikipedia.org/wiki/Litre
sure we will got it very soon , what do you think about the interface ?
Let's start with a secure implementation for remote access:

1. SSH:

Port - 22

Protocol - 2

PermitRootLogin - no

StrictModes - yes

MaxAuthTries - 1

PasswordAuthentication - no

PermitEmptyPasswords - no

ChallengeResponseAuthentication - no

UsePAM - yes

2. PAM_ABL (auto-ban by account after three retires)

3. IPTables (auto-ban by IP after three retries)

So in the above implementation an attacker has three attempts, max. This means the logs are quiet, yet accurately depict intrusion attempts. This also stops brute force attempts in their tracks and requires no exemptions to normal workflow.

If, under the above circumstances, I were to obscure the port as well, this would serve no purpose than to completely side step script kiddie brute force attempts (as minimized as they would be in this configuration) with the horrific side effect of forcing my users to maintain (at the least) a config entry for the custom port assignment. Which, by the way, would become perpetually worse with the amount of servers and users in play.

This is why obscuring the port is such a bad idea.

And if you still want to obscure the port because the server, or network device, in question should only have occasional access by an extremely limited group of people, then just throw on a white list and possibly restrict access only through another server. Both provide more security than moving the port.

And moreover, this article isn't even about SSH. It's about the semantics surrounding the usage of the term "security through obscurity" in the previous article. Which is hilarious to me, as both articles are full of shit. For one, the security implications of non-privileged ports is moot as the attacker already has access. And two, being less likely of a target is still being a target. Those five people who found the port in the test sample. Those are the ones who win most likely to exploit; not the thousands of script kiddies brute forcing you.

Your time would be much better spent obscuring the actual version information for the service than the access point to it ...

(Reposted here, as the original site went down.)
I think it's a pretty good example to show that it supports the same embeddable-ness of PHP (which is great for prototyping).
The interface looks nice.
Just replying to Luc C here.

Orginial message

---
A clarification:

Ambulances in the USA have to follow traffic laws, even when lights and siren are being used. Yes, they can exceed the speed limit, but then there are significant liabilities that occur. Driving is still held to a standard of due care. Right of way is only being requested (though people who refuse to yield can get a nice ticket and a beratement from a cop), not demanded.

What they're doing in Bangladesh is dangerous - but not unexpected for a 3rd world country.

---

That comment couldn't be any more ignorant and self deprecating. So, right of way is not demanded, but its illegal not to give right of way and you could get a ticket. Last time I checked that's exactly the definition of demanded.

Second of all, the US have special laws and technology in place for ambulances. From traffic cameras to IR traffic lights that can favor the ambulance when needed.

Also, there is better technology and science in traffic circulation in general (From car pool lanes to awesome massive intersections.

What they're doing in Bangladesh is the best they can with the means they have, and when the streets are in such a jungle state it's actually admirable that the people would make this exception that they all know benefits their community.
Markdown, for example
It's because dieters measure their progress in kilos lost. So if it's lighter, they can lose more kilos for the same effort.
It's not "utterly silly". At least hear and respect the opposing view rather than dismissing it. Least surprise is one of the core principles of usability.

Every program I use saves to the original format by default, most warning you if there will be data loss. Whether you like it or not, this is how software works and how users expect it to work. If you want to automatically backup a different format that's fine.
Scientist: Tiny Robots Can Find and Kill Diseases
If this project used Ruby, it would be an approachable tool for back-end web development neophytes to learn with before moving on to Sinatra and Rails.
Learn to spell.

Learn how punctuation works.

Practice your writing skills. If you cannot express your ideas well, no one will buy them.

Pay attention to details.

Live by the following quote:
I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel. -- Maya Angelou
What about touch latency? I wonder if Moto X's screen is more responsive than the ones used in Apple's devices.
Simple models of correlation and causation often make bizarre predictions, like the famous conclusion that pirates cause global warming. A statistical learning system cannot step outside its own predictions to fix such problems.
That could in part be due to them making more acts illegal with that amendment?
I'm not a pythonista but would question your recommendation of mod_python - the (current) top post at https://news.ycombinator.com/item?id=6616550 (also on the front page right now) states that "mod_python has been dead for so long now that its death has gone from a liability to a potential asset".

I totally agree that application code shouldn't be in a web-accessible directory - but that's a hosting/configuration problem, not a PHP (or even mod_php) problem. It's trivial to set up an index.php which bootstraps an application stored elsewhere on the server.
Can someone explain to somewhat of a layman in terms of security/privacy, why isn't there a bigger push to adopt http://www.i2p2.de/ ?

Also, how solid is it? I suppose Tor has attracted much more research over the years in comparison.
A side-benefit of this project (The Avogadro Project) is that there are a load of interesting things you can do with almost-pure Silicon-28, e.g. see http://www.nist.gov/pml/div684/enriched-silicon-project.cfm (and more besides: there was a really interesting paper I saw recently which irritatingly I can't find now)
Mail in Mavericks is bad.

Since the previews, I have not been able to archive emails for Gmail accounts or Google Apps for Business. A subset of mails archived directly on Gmail will appear and stay in Mail's Inbox. I'm not sure where the developers for Mail went to that they didn't have the resources to fix it. Maybe to help with the iOS 7 crunch?
What they are and how they work LED lamps - lamps, the highest durability and performance for growing plants
> print("你好世界".length); # => 4

NO NO NO NO.

'length' is ... not right, and I don't want to know why it returns 4 for the above, because that's not right. If you want to provide a 'length' function for a Unicode string, you need to know what you are measuring: graphemes, codepoints, bytes? Whichever you decide to use, is inappropriate for 'length'.
Sure, and if the claim is actually controversial (someone says "I don't think that's true) we need higher standards. But I see stuff reverted without anyone willing to say "that sounds wrong".
Has been dropping consistently since 1995?

http://www.theguardian.com/uk/2013/apr/25/uk-crime-falls-off...

This is the most recent official statistics I can find: http://www.parliament.uk/briefing-papers/Sn04304
That was the original definition. Things change over the course of a couple of hundred years or so, though, and the imprecision of that definition was noticed early on.
Nice. I wish it well. Sadly, it has one feature I hate from PHP (the ability to interweave PHP and HTML, instead of using the HTML as a template or generating it in code) and lacks one feature I absolutely need, which is all the code I've already written in PHP and can require_once and reuse whenever I want to start a new project.

But I hate PHP, even though it's the main thing I use now. So I want this to succeed. Good luck!
> What you need is glue code that hooks Ruby (or Python, or whatever) into the web server at the same level as PHP hooks in, the way the ancient mod_perl does for Perl.

The problem with this approach is that MRI Ruby has tonnes of global state, so unless you restart the interpreter for each request, you're going to end up with state leaking between requests.

Slash is designed so that many VMs can be quickly created in the same process without any shared global state. This way each request runs in its own isolated context and can't affect any other requests.
See Ruby one point nine.
I added New Relic addon and now my app is crashed. new learning...
I could have said "come to live with" instead. It works, it let's me do my job. PHP provides me with a good living (I primarily build boring CRUD apps, also using Python and Ruby).

I think part of PHP's popularity is that it offers a good balance throughout a product lifecycle - prototyping (because of the number of libraries), production (because it runs on anything), maintenance (because it's stable and easy to hire for).

The best analogy I can give is like someone selling me a car. Right now, I'm driving a 20 year old Ford because I'm more interested in saving money than going quickly. If somebody wants me to get a new car, they need to show how I'm going to save money, not just how quick the other car is.

I guess 'Slash' could do that, but right now the copy is not focusing on the difficulties I have with PHP.
The Netherlands are at the forefront of thinking for a lot of different social/environmental issues and everybody recognizes that in Europe, but the funny thing is that the Dutch I've talked to have a hard time recognizing that themselves.
Perl 6 has $x.bytes, $x.codes and $x.graphs, but no $x.length for this exact reason.
Yeah, this one is well known, see https://tidbits.com/article/14219.

We actually have some evidence to suggest that we've picked up a few customers leaving Gmail because of this problem. Which is nice, but now we have to deal with a different bug. Nobody is safe from Mail.app! ;)
Free download of prebuilt DIY Hadoop 500mb VM
I build a tiny 500 MB virtual machine you can download for free to play with Big Data & Hadoop.
Anyone know what they are using for document conversion, turning the document into a PDF for example?
Could the fact that the other kilogram weights are being moved around maybe affect their weight?

Like they're more exposed to chemical disturbance? Some form of tiny relativistic effect?
Because sometimes the order you have to place is on the other side of the ocean where the data came from, costing you an extra 100ms.
Market researcher, that is.
sigh I really miss the good ol' days of e-mail, before all these Web 2.0 people hit the scene with their "let us scan your mail for other addresses" this and their "we'll keep a safe copy of your email as a backup, using IMAP" that ..

Frankly, though, I blame MS Outlook. When it hit the scene, email became a thorny mess of standards, almost-standards, and not-standard at all .. and it seems the rest of the industry is quite happy following that disastrous path to oblivion set out for us with the MS Outlook/Exchange competition.
http://anandtech.com/show/7335/the-iphone-5s-review/9

That makes interpreting these battery life charts difficult. MotoX battery - 8.36 Whr, Iphone 5S - 5.96 Whr. Yet, iPhone 5S betters MotoX on all these charts except cellular talk one. Cellular talk is independent of SoC or display.
As much as I'd like to agree, Twitter is about to IPO. So empirical real-world data suggests otherwise, that it's not a fad, and just because I don't get it doesn't mean that others don't derive enough value from it to be a business.

Boy, being an investor must be hard.
Thanks so much for the feedback. I have been cutting the length of the content. I'll see if I can cut some more. Maybe add some links to more information and keep them off the front page. The box to the right is a screenshot so I can label it. The features are difficult to explain so I tried to have the benefits. I'll think through it and see what I can do to make it clearer.

I couldn't find the thread about promoting beta sites. If you can give me the link I would appreciate it.

Thanks Again.
I already have too a bug opened to apple due to an incorrect handle of uidl with 0 at left... I opened it like one year ago... Still no answer... This bug is in all ios apple mail clients....
Looking at this quality of American contractor work, I believe it would have worked better if they had outsourced it to say, even India.
Well no answer.... They told me they knew the bug.... But it's still opened
except pos_c might be equal to pos_a or pos_b, and key[pos_c] just got rotated. It's not quite equivalent, I tried it.
For Safari users, hold down shift and click the reload button. (Might work on other platforms as well).
7 Tools Used By Highly Successful Remote Dev Teams
BTC? This sounds like a phishing scam.
I don't think it is beginner-friendly, except maybe for the first two lines of code they ever write. By the time they get to the third line there is a good chance they've mistyped their variable name...