skysight-inc/HackerNews huggingface dataset:
I don't think that one is a mistake. At least, if it's a mistake, it's not a mistake in the equals operator. PHP attempted to use one set of comparison operators and the fallout has been far worse: there have been security problems due to the semantics of PHP's == operator attempting to guess whether to perform string or numeric comparison when doing password comparisons.

The mistake, if any, is that numbers and strings are unified into one scalar type in Perl. This allows some tricks, such as being able to use sprintf to perform rounding, but it has fallout in other places in the language, such as here. Given that numbers and strings are unified, having two operators for comparison is the correct decision: it makes the semantics much simpler by having the language not guess which kind of comparison to perform.
I always thought that Ruby had it backwards, so I’m glad it’s different in Swift. I think it makes more sense for the triple-dot ... range to mean an inclusive range, because you type an extra dot at the end compared to the double-dot .. range, and that extra dot means that the range includes an extra number on the end.
Parent was replying to a comment by a now-banned account, not to the article.
>Twilio-powered login to impress clients

Sure, would love to see the designs. That is actually a very similar idea, based on two factor authentication.

>> but it's possible.

Anything is possible.. but if security is your concern, bioauthentication is much more secure than a password. Or proving you are you by.. replying to a text. Anybody could reply to a text, nobody can fake your voice, even if they know your password. Recordings don't generally work (low signal) and are much harder to attain, unless you are the NSA. In which case.. they don't need this anyway.

Security isn't the issue.. usability is. You have to enroll, and there are false negatives... and mainly it is just harder to use than typing.
Listen to your sentence, once you factor out the internal contradictions (emphasis mine):

> What's bad or irrational about being manipulated by marketers and advertisers? I don't see how buying something because some marketing manipulated you into thinking it was worth buying is irrational.
What a fiasco. This story just keeps getting bigger and bigger. So many lessons to be learned about a flawed bidding and construction process.
And from what I see, it's immune to politics. No party can take the higher ground. Public sector graft and private sector lying, cheating and thieving, both need to be stopped and big, small government, or running government like a business doesn't seem to help.
Instead, working towards an ethical and just society with clear and equitable consequences for all does seem to help.
So in this case, follow the money, retrieve all that was gotten through ill gotten gains, and hand out jail sentences.
As for the rest of us, we still have a bridge to deal with.
Interesting. I find it fascinating that your situation seems to be the exact opposite of the US.
i see same thing from my company outsourcing lead development to an indian company
> If you told Dennis Leary he needed more Oxford commas, I can only hope he'd put a cigarette out in your eye, but I heard he quit smoking.

I cringed. What was the point of this article other than wankery?
I replied the way I did because you wrote "my guess is that natural gas is being switched out for coal for many reasons". That is not true. That is why I said it might have been a typo. This is clear because in your reply above your write the opposite, that coal is being replaced by natural gas. I agree with this, and as you wrote above, 100%.
I don't think the www user has a password in any distro, by default.

Meaning one of his administrators must have set one (likely for temporary troubleshooting), kicking off the whole issue...

edit: if SSH access was indeed the first cause. Running any upload-and-run script as `www` would let them set the password themselves, I think.
Azul C4 uses a custom kernel extension. It's not really a general purpose GC for user-level apps. (There are kernel-extension-free variations of it, but they suffer from reduced throughput over the HotSpot GC.)
If cryptography is broken before implementation, then you are going to have to search "before" Kryptos was implemented.
I liked that the first item on the shopping list is paint thinner :)
of course he knew he is being racist.

racism against asians and whites is almost completely ignored, even tacitly encouraged in most places. fairly sure the author deleted his post only because he was down voted and called out, not because of any kind of change of heart.
caltrans and california gov ... just way too corrupted
V initiative – Building tomorrow’s secure digital democracy
In winter time, the sun is low in the sky and not up for that long. There's no way it would be providing energy 80% of the day. More like 25%. And with the sun low in the sky, and the road isn't tilted to face the sun, it's hard to see how it would generate much.
1) It's a library, there's no need for One True Library. Especially not in a Perl thread (CPAN is awesome). You use whatever works best for you.
2) Caught and re-thrown as a RuntimeException by the library.
3) No idea, but if I need that low level of control, I wouldn't be using a readLines convenience method.
4) Like you can pass files as a parameter, and create lists of them to iterate over.

5 - 8 are a different problem domain. But I was merely answering your hundreds of lines to read a file straw-man. I never suggested Java be used as a scripting language, if you really want to script on the JVM, use Scala, Groovy, Clojure or Kotlin.

But personally, I script in Python. Let's resurrect that old pissing match with Perl. ;)
So, I actually have no love for Java, and am greatly enjoying the higher proportion of scripting irb been up to lately. But I had to comment on a couple things:

> Why only that library...?
I've seen it all when a Perl developer is calling out a Java developer regarding TMTOWTDI. Nice library though.

>I would like to execute some shell commands
Not sure comparing to a language with an explicit complicit compilation step is fair.
If the technology existed to erase memories from brains, would these employers insist in their employment clauses that employees who resign must have any professional knowledge acquired on the job erased from existence?

Oh God yes. Yes they would indeed.
Do you think the citizens of countries such as Japan, Canada, and Turkey should be offended that their governments are paying hundreds of millions of dollars to 'foreign' companies in the U.S. for (e.g.) the F-35 fighter?
So maybe winning is more like winning for a time period. PERL did win. It won up until early 2000s, then lost. I am guessing it is not getting picked much for new, greenfield projects. I think that is a cut-off metric. One way get there is to find a niche. Maybe it isn't the new use-for-everything language. But at least can become the "ok, use for this one area" language.

C -- still winning in that respect. It is used in many places just because of hardware or time constraints -- drivers, micro-controllers, optimized fast parses, low level socket handling code. It just got specialized. Not used probably for business or back-end systems.

I don't think PERL can claim that same. It seems to me its role has been replaced by Python, maybe Ruby, Java (for web server back-ends).

C++ still winning. None of the current languages including the new contenders like Rust and Go can eat its lunch (as they say) when it comes to performance. Things like games or signal processing. Anything requiring low latency responses will still see C++ being picked. And with C++11 and C++14 it is getting a new breath of fresh air. Whoever is going to contend with, will have a steep hill to climb.

Java? Java still winning. Now if you think of Java as JVM it is winning even more. Java itself if just a very average language that is also fairly performant, explicit, IDE friendly. If you had a lot of money and could hire potentially lots of average or below average programmers to throw at a problem (which I think often is the wrong approach, but if you did), Java is your language. And Android. Don't forget Android. If anything it is winning just because of that.

> Give it 5-10 years and I expect to read "Why Python Didn't Win". I expect we'll see a "Why Ruby Didn't Win" in 10-15 years too.

I think it replaced PERL by in large and but now it is feeling the heat in a lot of areas where it was being used. Scientific community has Julia as a new kid. Server back-ends have Go and Javascript. Not one big threat but little paper cuts here and there.

Ruby, I am not familiar with it much, from my outside perspective it looks like a one-trick-pony = Rails. If something replaces or obsoletes Rails, I don't see Ruby rising and finding a niche. I could be wrong, so anyone please correct me here.
The idea of requiring (and then paying for) "American-standard" lodging seems ridiculous when we outsource it for developing country prices.
Assuming reliable and safe memory erasure were invented, I wouldn't mind such an arrangement if I could keep my skills and reputation, while forgetting only who I worked for and what products I worked on.
The weld is really the key difference here. For welds to be structurally sound, and for them to work in the calculations that have been performed for the structural integrity of the structure, they have to meet a certain standard. These welds didn't. The company said that they themselves would state whether those standards were met. So this would be more akin to a computer chip manufacturer, where every Nth chip is faulty, and then still inserting them into a computer. This isn't about detailing mistakes in isolation. Nor is this about a software program where good enough is sufficient. This is more like the NASA launch controls where it has to be perfect (or however close NASA claims it needs to get to clear a launch program.)

Though I'm not sure that answers your question. Since I'm not showing similar projects.
It honestly sounds like they not only have every minute detail figured out, but they don't even have real cost estimates figured out.
> I guess that bottom line of what I am trying to say is that not all perl code is unreadable crap. That has more to do with the writer than the language. And, different languages make different things easier.

I would agree. It's the same issue Scala faces IMO - it doesn't have to be a complex maze of types and implicit conversions and implicit values, you can, if disciplined, write very understandable and clear Scala.

Sadly though, it seems a lot of developers aren't disciplined.
I if somebody (or some machine) knows your password, they can use it. Just type it in. Voice authentication, knowing the password is not enough, the right person must say the phrase. Recordings don't work (low signal), and previously used recordings can be detected.
Why would you need to book a week ahead? And why would you go first/business class?

It's a huge project, there's got to be scheduled client side meetings, and those should be scheduled months in advance.
Cool. Missed that comment. Nonetheless, my comment is valid for the original Sacbee article.
I stupidly ignored my instinct to stop at that point.

> It seemed so ludicrously out of place but so intentional.

This so much. The first half of the footnote is trying to make him and his friend sound intellectual. The next half looks like he started asking himself philosophically whether he would do the same as the teacher and whether it's okay, and just started writing while he thought about it and posted it. Then he ends with something intentionally stupid-sounding to be like ok nevermind all that, but why didn't he just delete the second half?
I don't see anything in that repo that says that the work has been licensed as a work in the public domain.

Works licensed under Creative Commons, GPL, MIT, BSD, etc. are not in the public domain. Public domain is something else, entirely.

http://en.wikipedia.org/wiki/Public_domain

EDIT: found it: "Contributions are all placed in the public domain like the rest of the text."

It would be cool if the author jumped in and explained the choice to use the public domain.
The misunderstanding was because of a rare collision: we banned that commenter a few seconds before carbocation posted his reply.

We almost never kill comments when they have replies. (And strictly speaking we didn't do that here either.) But that comment was so egregious that I'm not inclined to unkill it. Anyone who wants to can read it by turning 'showdead' on in their profile.

On a positive note, the recent changes that we and, more importantly, the community have made to HN threads have had the interesting side effect of making banning less common. It's mostly restricted now to throwaway trolls, spammers, and users with a clearly negative track record on the site.
Rare articles of Hunter S. Thompson
The question isn't is it an insurmountable problem. The question is if it is an economically sound way of doing things.

And the answer is a resounding no just from thinking about conservation of energy: you will need an area of land at least ten times the size of that covered in snow to melt it from the simple fact that turning heat into power to turn back into heat is in incredibly inefficient process and during winter there is more than 12 hours of night in which solar panels don't work. And 100 trillion dollars worth of batteries isn't a solution either.
So... does this mean that I can finally click an address to open Google Maps?
> Stores know you want a pint of milk and loaf of bread.

You, me, perhaps: what about other buyers, many of whom don't come to the store with detailed checklists? Their experience involves a fair amount of in-store exploration. For them placing milk and loaf of bread far apart might arguably be beneficial, because it makes them go past all of that other stuff they may forget to buy otherwise. Indeed, I imagine such customers are also easier to upsell to and more prone to impulse purchases of products that yield better margins—and that's part of the shopping process they visit the store for. Alas, people seem to enjoy buying things.

In short, I wouldn't be so confident that a store with more ‘rational’ layout would score better in the eye of the customer, even all else equal.

Disclaimer: I don't work in this area of business and this is purely my speculation.
Unless someone went behind my back and figured out how to use quantum mechanics in macroscopic systems to beat the second law of thermodynamics there isn't a way I can be wrong.
When I see a sentence that ends with ", too", I tend to place a bit more emphasis on the second-to-last word ("speaking", in this case), which ends up adding a pause.

So the sentence goes, "The problem is that many people have horrible rhythm while speaking, too."

To my taste, the sentence goes on a bit too long: an emphasis probably belongs somewhere in the middle: but perfection is hard to come by. :P
Lucky for you, it's baked in to every modern web browser in existence - just look to the right for a built in progress bar that even lets you click to a particular section of the article based on it's progress.
The license is also stated on the index page https://github.com/rpicard/explore-flask/blob/master/source/... (live page: http://exploreflask.com/). He talks a little about this reasoning on that page:

> I finally released the book, after spending almost a year working on it. Almost immediately I was tired of managing distribution and limiting the book's audience by putting it behind a paywall. I didn't write a book to run a business, I wrote it to put some helpful content out there and help grow the Flask community.

> […]

> In the spirit of open source software, I'm placing all of the content in this book in the public domain.
Lots of companies from around the world can build bridges at a very competent level while remaining near budget.

Quick, name the current generation alternatives to the F35 and the country behind said alternative.
In many cases, I'd agree with you. But in context of what happened here, the fact that the company was Chinese (or simply just foreign, for that matter) is absolutely relevant. A few outstanding points:

1. The company was "unaccustomed to the rigor of American construction rules" and "lacked basic quality control", leading Caltran to "relax U.S. standards when the firm couldn’t finish fast enough."

2. "ZPMC violated the job contract by delivering key documents in Chinese instead of English. ABF lacked sufficient quality-assurance staff to speak directly to its own subcontractor – also a contract violation."

3. "Counting the money spent on travel and living costs for Caltrans and its contractors, the suspension span consumed much more than the $250 million in ZPMC’s assumed efficiencies that made the Chinese steel so cost-effective." On living costs alone, Caltran "paid about $50,000 annually per person to rent more than a dozen well-appointed rooms."

Asked for justification, "Caltrans described the accommodations as "reasonable and appropriate" in a written statement. 'The hotel provided a government rate that was comparable to rates at other western hotels,' and followed bargaining agreements, based in part on providing adequate 'safety and support for employees far from home.'"
Yeah the article states that coach would have cost $1,500 instead.
After learning Haskell, I'm not sure what the benefits of dynamic typing are anymore.
Using a tool like fail2ban is also favourable. Most of the bots will give up and look for other targets even if you ban them for a hour.
Adventures in Piracy
I had the chance to look at Kryptos out a window, and it is an impressive piece of art. However, the CIA museum on campus is nothing short of mind blowing and was always the highlight of my visits. https://www.cia.gov/about-cia/cia-museum
The whole thing was a mess
http://www.sacbee.com/2013/04/12/5338065/supplier-of-bay-bri...

The bolts made by an Ohio company broke and they maybe a danger to the bridge,
My first thought was: there obviously needs to be a reference to the 1987 movie "Wall Street" in there somewhere.

"Due to their large size, aircraft can also be observed physically taking off and landing at airports by scouts stationed as “tailspotters,” a role played memorably by actor Charlie Sheen in the 1987 feature film Wall Street."

Yep, I'm right.
A proper implementation of infinite scroll loads until the window is filled.
i envy your problem.

I tried for years to consult and do product development. I made no real progress. Eventually I was able to do the product development by delegating to my kids.

I think you have the resources to hire someone and manage it. If I can get two teenagers to learn programming and then produce something useful with just a few hours of help and supervision a week you should be able to manage a capable programmer through a project in five or six.
But ok why shouldn't video games be homework? Isn't regular homework a game? "Fill this spreadsheet with answers" X*5=15... etc. Solve this equation... That is very much a game. You get a score in the end -- a grade. And hopefully you learned something. The "learned and internalized something" part might be accomplished better with a video game.

The problem was that for kids at that point, who haven't seen or experience computers, showing that you can copy an abstract thing like a file from one window of NC to another was just very boring. It would have accomplished the task of forcing us to repeat and memorize the step enough to pass the final exam but it wouldn't have left with with an interest in computers.

Seeing a game and thinking logically how you would beat Sokoban. Teaches some planning, problem solving on one level, but it also shows of what computers can do -- play music, display graphics, hold the maze in memory presumably or on disk, keep score.
I don't think people outsource to developing countries because they think they'll get cheaper hotels there... it's more about the cost of the services / goods being delivered.
I think the definition of 'winning' people use around here is, if start ups think its a trendy technology to use. So you will see all these new companies stop using a particular language, and then when some conference happens you will see talks around the older technologies have dried out, while people are giving talks on the newer set of technologies.

Its then when you see articles/rants/blog posts on the lines 'Whatever happened to X which was famous $current_years - 5 years back?'

Please note all the focus is around the new technology. Some one is writing a new library around this new DB technology some one is using and is writing about it. Some one just gave a talk on how some scalability problem was solved by a specific feature in the language. Some one just talked about how testing got easier, some one writes about how maintenance efforts got reduced because of a new way in which language deals with type declarations, Or some programming forum is full of questions and the Google auto suggests can tell you your question as you are typing it.

Meanwhile some where in a MegaCorp, your maven can't see beyond the company in house repo. And using a different library takes 3 months of permission cycles. People sitting in there don't get interview calls and hear about people saying that the old technology isn't hip any more.

Only thing that is buying Java some time is the large quantities of enterprise code, which no one has the money to replace.
I'm not concerned because the firm was Chinese. I'm concerned because they tried to override the engineers and hired a company with zero experience who massively underbid the project. That screams "bad management" to me, personally.
so, this thing can survive a storm?

I picture the waves can be way more aggressive than the ones simulated in a pool.
The problem here is that we have a safeguard system which is a strictly defined set of processes and experience passed on from senior staff under the guise of "airway management", "infection control" etc.

When these processes are not followed and no effort is made to even acknowledge their existence then it is no longer within the realms of human error. It is just negligence.

This is the majority case when someone dies. They literally just left someone or skipped something or overlooked something they do every time successfully.

We expect risk but we expect reasonable mitigation strategies rather than none.

When this happens there is no excuse. None at all. Not a statistic, not a human error allocation, nothing. The same as if I can't be bothered to QA a change, roll it out and it screws up a client's financial data.
Responding to this from the parent comment (highlight is mine):

> Moreover, the fact that so many tax dollars were paid to a foreign company is offensive. Even if that company was at all competent, it shows a disregard for the American economy.

Competence is explicitly not the OP's point.
That just seems like poking fun at a job applicant for no reason. Assuming last-modified headers weren't accurate on the website (as one would expect with some poorly crafted sites these days), that will indeed get the job done with a minimum of fuss and effort; assuming this is a one-off script, actually parsing the page would be pointless.

Perhaps posting it to his blog was excessive, but it is a way of getting shared code out there.
cool. )
Still, it's written in JavaScript. Not aiming full compatibility is not only humility. They can't do it.