skysight-inc/HackerNews huggingface dataset:
Hi, I am Randy, the author of WebShell.

I think a lot of web app need to be an native app more than a browser tab. And they were all responsive enough to be contained in a WebView. But repeating making new projects for each web app was frustrated. This is the reason why I make WebShell. It can help you make the web app you like to be a native OS X app.

Another frustrating thing for me is I did not even know how Cocoa framework works and did not know how to write OS X application. I learn swift-lang and learn about the concepts of Cocoa two days and then made WebShell. So I hope that everyone can make web app to be native app even though you are not (Cocoa) developer. The thing you need is only an Xcode.

I build the first WebShell-based app for JS Bin. You could have a glance of it performance. https://github.com/djyde/WebShell/releases/download/untagged...
Really OT: From a political, civil rights, egalitarianism, etc. point of view I'd say I'm very much aligned with groups that push this kind of stuff. But I can't support it because this is what you push when you're more concerned with feelings than results. "Winning" is more important than anything else when it comes to equality and eradicating prejudice. I wish we were more focused on objectives than pushing terms like this or trying to crucify every film director on twitter.
The reason is pressure to get the papers out as fast as possible or else you won’t get any more grants. It should be embarrassing to publish garbage, but for lots of people who have succeeded in the current system it appears not to be.

Everyone involved was rather sheepish afterwards except the post doc. He had felt much the same as me, but didn’t feel he could raise the issue with his boss. Privately he was very grateful I had stood up to his boss, as he didn’t feel he could do the same and was under enormous pressure to pump out the data. All round not good.
Netscape did a similar thing to this in 1994 with their Fishcam, converting frames from a video capture and served up as new frames of a GIF image. It was eventually shut down in 2007 and the original developer[0] setup a dedicated site for it: http://www.fishcam.com/

Nice to see the forgotten technology repurposed.

[0] http://www.montulli.org/lou
To be honest, I don't actually think calculus solves Zeno's paradox either, I was just using it for the sake of the argument.

I'm of the opinion that Achilles and the Tortoise is solved by there being a smallest distance, a pixel (Not smallest measurable. Smallest period.)

I make amends with Achilles' Arrow by believing the universal clock is independent of the moments that it measures -- like the internal clock of a computer's being independent from a pixel arrow moving across a pixel screen.
It's a useful feature that necessitates slower response to taps. One has to pick one or the other.

If you write your css to support dynamic type (in the case of iOS); zooming becomes less valuable as an accessibility feature.
Your numbers are only close to correct if the person is using the same amount of electricity as a person in the USA (which no-one does) and they used all that power during peak hours (which no-one does). Were that the case, then it's 29 cents per kWH on average using those figures.

I will freely admit that poor people in Costa Rica have less discretionary income than rich people in the USA.
Embedding the hash into the program would stick out somewhat more than this camouflaged printf-like format.
Any site about writing has to be pretty immaculate with respect to grammar, usage, and punctuation to be taken seriously. This one could use some proofreading.

e.g. on front page:

Writers -> Writers'

comma between writers and and

Features page

With CoWriter you can -> comma before "you"

under Collaborate - comma between chat and or

etc.
etc

I'm sort of hyperobservant of typos, so the average user may be fine with it.
This is why I bet they buy Nintendo at some point.
Mathematical physics is important even if it doesn't produce theories that have direct relevance to current unexplained phenomena. String theory has been an enormous contribution to what we know of the mathematical structure of quantum field theory itself. These developments while not yet, if ever testable as the correct extension of the standard model contribute new mathematical methods, principles, and ideas that tell us what an extension to the standard model would look like. Furthermore understanding the mathematics of QFT itself lets us develop new computation principles for simulations. There's also theoretical widgets like topological quantum field theories which do show up in nature in condensed matter physics.

At the very least all of these theoretical developments bring us incrementally closer to understanding the structure of Quantum Chromodynamics. We still don't understand the theory enough to tell whether or not there are tetraquarks! All the effort put into theoretical physics and mathematical physics improves our mastery of the standard model.

tl;dr; don't call math garbage :[
This is a great step. The presiding judge, Rodney Gilstrap, hears more patent cases than any other judge in the country. He's well worth a second look: http://arstechnica.com/tech-policy/2015/06/east-texas-judges...
In literary English, parenthetical clauses are almost always delimited using commas, and the literate reader has no problems because she's spent years practicing reading that style. She'd have no problem reading your example if she'd spent years reading that style instead.
> I don't think I've touched a game on PC where you can't fit all the levels into RAM, let alone just the current level.

I know, right?! I would rather like it if more game devs could get the time required to detect that they're running on a machine with 16+GB of RAM and -in the background, with low CPU and IO priority- decode and load all of the game into RAM, rather than just the selected level + incidental data. :)
Article indicates Jirra, Hipchat and Bitbucket are freemium. Is that not the case?
I've read parts of this, and it's excellent. Bengio is one of the best teachers of deep learning out there.
Are you talking about the $800 13" Sony one? or is there another one out that I haven't heard about?
If a git commit is modified, every commit hash after it will change and will break every clone.
> The same arguments were made about object orientation: I've never needed it, it's useless baggage with no real world benefits, it sounds great in theory but has no practical use...

And haven't this people been right? :)

It was (and still is, but people are fortunately more skeptic) completely oversold like REST now.
Japan's surrender had absolutely nothing to do with the bomb.

And why does everyone think that without Einstein we would somehow enter a 100 year long dark age?
Studio Ghibli also seems like a good bet
I made that comment. If it were sexual harassment, I'd treat it as sexual harassment. It's a joke, so I treat it as a joke.
The solution is requiring the scientist to approve the press release before it goes out and having the power to force errors to be corrected.
“Learn More” links are a problem
It's fascinating how strongly we feel about things we were exposed to as children. Exploiting that seems inevitable.
As others point out, the NCERT textbooks have been available online for a while, if slightly more difficult to download. But why stop there?

I wish they would put the source online as well, with instructions on how to build it (preferably using Free/Open Source software). Now that would be a bold and groundbreaking move.
Foreign hackers sneaking into vulnerable U.S. power grid
I don't think you seem to understand the argument here. Einstein is a prime example of a theorist whose bold theories predicted verifiable results, such as the Einstein Cross. The problem with modern theorists, as the article and the parent comment articulated, is that string theories and whatnot often predict untestable and unverifiable results. This is not an attack on all physics theorists - rather, it's a criticism on the fashionable line of research into string theories and other unverifiable theories.
I'm gonna go with stormbrew on this one. You say "destroy business" and destroy livelihood as if this guy is going to be kicked out on the streets because his business didn't work out. Give me a break - yeah, it's sad for him that his business failed, but I'm sure he'll find another upper-middle class job soon. Being a special snowflake founder doesn't excuse him from being criticized about running a fine-dining establishment badly.

We would all do better to break out of this 1950s idea that losing a job or closing a business is cataclysmically bad. It's disappointing for the founders, but everyone involved will most likely find something else just as good very soon.
As you should. It's not my job to sell Gtd to you. But I have to challenge your emotional intelligence if you let other peoples' enthusiasm cloud your own view.
It's dropped about $30/share in the last 6 months according too the article, which of course left out any data on sales (which are solid), profits (also solid) or anything besides this one report on China sales. The run up and drop could entirely be explained by the Apple Watch not selling as well as some investors hoped. Is this really news or just someone trying to boost their short share activity a bit before cashing in?

In other words: pointless trading article is pointless.
For me the oversold part about OO is inheritance and design patterns. I find classes plus composition are really natural and helpful for a lot of problems.
I find it hard to believe that there are only 20K new doctors a year if there are 1 million doctors. This would imply that the turn over time for doctors is at least 50 years and in all likelihood greater given the growth in total doctor numbers over the last 50 years. This is just not plausible.
When they say "wrote in Bash" more than likely they used Bash to script together existing unix tools, than used Bash to do some algorithm that couldn't be done as code-efficiently in java.
> "And why does everyone think that without Einstein we would somehow enter a 100 year long dark age?"

He said "without Einstein's theories". Physics would probably have progressed about the same, albeit set back by a bit without the man himself, but all those technologies would still have been dependent on someone doing what Einstein did.
I didn't realize it was free online. I was looking to purchase AI: A Modern Approach in eBook format, but you can only rent it, which is annoying. Maybe I'll still buy this one instead to support the authors.
"The pay is bad. Really, really bad."

No, it isn't, or at least not everywhere. At one time teacher salaries were, in fact horrible. Now they mostly range from "meh" to "pretty good". They vary a lot from state to state, and from district to district within states.

https://www.washingtonpost.com/news/answer-sheet/wp/2013/12/...

By comparison, the median income for a person with any bachelor's degree is about $50,000. Most of the teacher salaries shown are right in that neighborhood.

Teacher salaries do tend to be lower in places like (say) Mississippi than (say) California, but living in Mississippi is also a lot cheaper than living in California.
I'm sympathetic to the idea of them being a Denny's instead of a Michelin 5-star place, but then, you don't typically have wine tasting menus pairing dishes with selected wines at Denny's. If anything, it's more of a make up your mind about what kind of place you are thing. It's fine to be a Denny's, but you're going to have trouble if you try to court foodie attention and don't live up to the standards that that crowd expects.
A Tcl_Obj Command Machine Code Generator (2007)
Pro tip for life: if you think math/science/tech jobs are immune to drastic layoffs and structural unemployment, you should take more history.
Chinese culture in its prime was very individual and diversified. That's the part produced most, if not all, of what we as Chinese could be proud of. We does have big raw talent pool, but our system also is very good at ruin it. We have an extremely low go-through rate.
Can I just point out I find it hilarious reading about all the people debating how amateur it was to put the password into the code in plaintext was... all while ignoring the fact that this backdoor survived for 3 YEARS of code reviews? Obviously the way it was implemented was ingenious, and it likely far surpassed whoever put it there's wildest expectations.
I absolutely assume that if the backdoor was placed by a vendor, they would make sure it was a one-way function.

I (perhaps incorrectly) assumed that criminals would want to stick in a hash function, given a choice.

I think the explanation, that adding a hash function will attract more attention than a simple strcmp is a good one. As is the desire to stick in something that gets by code review.

All signs point to this 100% not being Juniper engineering officially adding a back door, and it being a party doing it without authorization.
Will 5 seconds be enough, since it's O(1 decade)?
FAA Grounds ‘Uber for Planes’
A hashed password means that you have to implement the entire hashing mechanism to evaluate it that will take a huge amount of code compared to a single string compare.
The hash string value will also be detected by most common static analysis rules which look for hashes and strings that look like passwords in the code.
The beauty of this hack is that even if you are looking for hard coded credentials you are likely not to find them as that PW string will not trigger any reasonable regex which will look for a clear text passwords (or a hashed one for that matter).
Until I was 15 I lived in a house in Brooklyn on a residential but busy street close to a major commercial intersection. To this day I actually find external city sounds soothing - ambient traffic sounds, even police and fire engine sirens.

But for a good part of my adult life I lived in apartment buildings. Except where I was lucky (for example, living for a year in a top-floor Chicago apartment sharing a wall with an absentee neighbor), I've had many problems with inside-building noises due to other residents. I know well the subwoofer-bass problem, the sounds of a television traveling from the ceiling or floor, the sounds of footsteps and chairs scraping across the floor above. All horrible. But external city noises have mostly not been a problem.
Sy Hersh: Military to Military – US Intelligence Sharing in the Syrian War
A year is not long enough.
"You still have to pay at least 1/5 of the price of the tablet just for an eBook."

No, you don't.

http://www.gutenberg.org/
So ... if this is a backdoor for some three-lettered agency, what are the chances that this backdoor, even this same password, is present in other products?
If you enjoy Mafia, check out Town of Salem - a web/desktop based version. Games are quicker than usual Mafia.

https://www.blankmediagames.com/
Inside Apple, part one [video]
But the person you are responding to specially said that they like it when the compiler determines things like this (where it is discernible from the code written that some of it is repetitive and unnecessary), and yet still has an issue when the compiler randomly goes and does something that can't be demonstrated from the code because, in their words, "the language said so".

My pet one of these is "this (by which I mean the pointer of the current object, not the demonstrative pronoun ;P) cannot be NULL". clang has started outputting messages to me that it will soon stop honoring my checks that this is not NULL, entirely removing them from my code, even in cases where this actually can be NULL and the code is not guaranteed to crash in some predictable way. If the language helped me guarantee that this was never NULL, that would be one thing, but it doesn't, and the compiler has decided, for reasons I don't understand, to remove one of the only mechanisms I currently have to detect, log, and mitigate.

References are a similar thing: it would be one thing if dereferencing a NULL pointer caused my program to crash, so clearly the NULL checks on the address of a reference are not useful. But it doesn't work like that. Dereferencing a NULL pointer returns a NULL reference that doesn't cause a crash until the pointer is used. This is actually kind of similar to weakly-linked symbols, where a declared function can have its address be NULL. This is a feature of linkers and the compiler and puts people in a regime where it sometimes makes a lot of sense to compare the address of an expression with NULL.

But somehow, this one is special; so special that even though the compiler knew what I wanted so clearly it felt the need to spit out a paragraph of nonsense at me to tell me that I should remove this check, and that it really didn't want this check in my code in the first place, if I was stupid enough to leave it in my code it was going to delete it for me. I just... I don't understand how that is even remotely reasonable behavior. If it was a side effect of the optimizer and there was no way to surmise what I wanted, then that would be one thing: but the compiler is detecting my code, and demanding that either I remove it myself or it will take control? WTF.
Sorry - reread your post. On first read it came off as one of those people that don't have facebook because it's 'cool' not to have facebook (or so they think).
fair enough. good points are made, people are brutally indifferent and you just wanted a kind of "secret" identity for your restaurant. yelp reviews didn't treat you the right way.

yet, most of what i read irks me because of its raging, venting way. oh well, its not like i haven't written similar things because of bad experiences.

best of luck to this guy.
What if Disney bought Netflix and/or Valve?
What do you propose to use instead?

Cisco[1]? Huawei[2]? Open Source[3]?

[1] http://arstechnica.com/tech-policy/2014/05/photos-of-an-nsa-...

[2] http://www.bmi-t.co.za/content/which-way-huawei-ban-or-not-b...

[3] http://arstechnica.com/security/2014/01/how-the-nsa-may-have...
Reading this gives me a chill down my spine. There's something about a corporation controlling, optimizing, monetizing, and branding dominant components of a childhood that just doesn't seem right.
> The Swedish government has a monopoly on the sell of alcohol, price is two to three times more expensive than the rest of Europe

Look, sure the industrially produced crap is expensive, but the good stuff is cheap! In Norway, Finland and Sweden, never buy whatever has the lowest price, it's in the mid-range you get the good stuff. Try to shop for some good single malt whiskey, XO+ Cognac, aged rum -- or just good wine (not "table wine") -- and you're likely to find that the government stores carry a wide variety, and that prices aren't all that high.

Now, if you want a cheap bottle of wine... yeah. You won't find anything you can just use to reduce a sauce without feeling like you're lighting money on fire.

I remember going to a wine tasting, and a representation from France said that the (now no longer) specialist store in Oslo was one of the best Wine shops in all of Europe -- because they had such a great variety. You can go to France and find wines they don't carry, but on the other hand they have great French wines, and great wines from all over the world.

All that said, I'm not happy that there's no such thing as a cheap, good beer in Norway...

Eg:

http://www.wine-searcher.com/find/a+e+dor+vielle+reserve+no+...

http://www.vinmonopolet.no/vareutvalg/druebrennevin/frankrik...
This is accurate. The corporatization of academics is a significant part of the problem.
Yes. Same thing if your house catches on fire. Your paper library is just going to be gone, while your Kindle books will still be there safe and sound.
No, your run of the mill malware and back doors which are implemented by people without much real trade craft experience that like to show off being smarter than anyone else - cyber criminals.

Spies rarely are egotistical and never are flashy, James Bond is pretty much the most anti-spy as one can get :)
Really cool. I built something similar in python for giggles a couple months ago [1]. One day I'll get around to implementing other roles. Honestly the most fun part of it was co-workers hilarious attempts to break the script. ```!vote DROP TABLES```

https://github.com/nickweinberg/werewolf-slackbot
Drakon (which was used in the Soviet space shuttle program) has rules about reasonableness, such as "no crossing lines" which while they can make for larger diagrams, does prevent some of the issues you mention.
The code when it doesn't crash has been reorganized by the compiler so the indirection doesn't even happen until it is preparing the arguments for the printf, which is in an else after the NULL check. If you don't need the value of a computation in one of two sides of an if statement and you know there are no legitimate side effects (I say "legitimate", as crashing does not count) to the calculation, it makes sense to delay the execution of that logic until and unless you actually need it done. I thereby don't find either result surprising here: it is just a demonstration of different optimization decisions and abilities of the two compilers.
FYI, the first part of the article spoils some minor things about the new star wars film, for those who haven't seen it. I bailed out of reading it after that.
If we weren't raising our kids to be such consumers--turning stupid shit like Star Wars into "cultural experiences"-- Disney wouldn't have any power. They can't own sticks and dirt.
Easily done. Double-tap zooms in so the text is fit-to-width.
I was an adjunct for a few years and I fit into neither of your "categories".

When I taught my first class, I did it as a personal favor to the department chair, whom I had a good relationship with (I'd often come in to different classes and speak to the students about our field and such). A few days before classes began, the instructor for this particular course "fell through" and she asked me if I would be willing to teach the course. After some thought, I gave in and agreed. I ended up teaching several different courses of a few years and I didn't do it for either of the reasons you mentioned.

While teaching the first course, I found that I genuinely enjoyed it. At the end of that term, I received my (anonymous) evaluations from my students and they were outstanding. I was compared to (and rated much better) than their previous instructors, many of whom I considered friends. I agreed to keep teaching.

I certainly didn't do it for money. I was only paid for the hours I spent in the classroom -- no pay for "prep time", the hours I spent grading papers, etc. All things considered, I earned less than $10 per hour. I could have made more working at a fast-food restaurant -- and probably been less stressed out.

I taught because I truly enjoyed it and became, to use your word, quite "passionate" about it. To this day, I remain friends with a lot of my former students -- many of whom now work in my field. I've even had the pleasure of working with a few of them professionally. It feels good to see them "grow up" and to have them thank me, years later, for making a difference in their education.

Sometimes I actually miss it but, then again, I never did it "just as supplemental income".
It's not about intelligence. It's about reaching system balance at a higher level. When resources at disposal shrink to a very low level, existing one will collapse, but there is also no guarantee new one will be better. That's the sad part.
It really depends on which applications get discussed. Personally I wouldn't care about anything web related, but data centric (think plots, sliders, etc) desktop apps would be very interesting to discuss.
agreed. I grew up sleeping 35ft from a busy highway with rumble strips. A 5000btu window unit air conditoner 3ft from my head drowned it all out. I sleep with a small fan running in the corner now and use a white noise app on my phone when I'm away from home.
Christmas Promotions