skysight-inc/HackerNews huggingface dataset:
What's interesting I think is how the web has proven this to be utterly demonstrably false - we see staggeringly valuable and complex webapps written entirely in trivially reverse-engineerable Javascript and HTML. I can't count the number of times I saw a cool technique and within minutes figured out how they did it using only tools built into just about every browser. Now it's true that given the option companies will absolutely obfuscate to the maximum extent possible (eg: for a while you would see stuff built in Flash purely to obfuscate it) - but the idea that people won't develop products at all merely because they can't protect their secrets just seems to be utterly false. In fact competition seems to thrive beyond all measure when revealing secrets is forced by the technology.
It's been stated before that Servo may get a Webkit-compatible interface, meaning you should be able to build a Chromium with Servo pretty easily, and far before it would take to integrate Servo into Firefox.

I'm not sure if that's still the plan, however.
You are still stuck using the GUI toolkits of the platforms in their native tongues. I think Qt and Mono (so C++ and C# respectively) are the only toolkits that support both of them with one code base.
Hacker Puts Hosting Service Code Spaces Out of Business
Show HN: A Twitter bot to make games using emojis for scripting
CGA wasn't natively capable of displaying 16 distinct colors in its higher-resolution modes. KQ1 - and a lot of games in that era - did 16 colors on CGA's composite mode by actually exploiting the peculiarities of NTSC video to generate color artifacts on the screen. If you were to view the same video on an RGB monitor, what you'd actually see would usually be a monochrome screen filled with varying patterns of narrow horizontal and vertical stripes.

See: http://en.wikipedia.org/wiki/Color_Graphics_Adapter#Special_...
All android APIs tend to have a large number of methods, but there will be absurd omissions. Example, the WebView has no way to return its HTML contents. So it's difficult to implement your own caching mechanism. Or an even more absurd example, the android YouTube player has no .stop() -- it is simply inconceivable that a media player lacks a way to stop a video, but there it is.
Collegefeed Goes After Students, Employers in Crowded Career Sector
I used to do quite a bit of troubleshooting/rescuing half finished projects, or live things that had no developer involved for one reason or another.

Not that many years ago I was still seeing people storing credit card numbers in plain text files on servers, and sending them unencrypted via email.
This just comes down to probability. It is extremely improbable to the point that the heat death of the universe would probably happen first, yet it is something that can worry...
As opposed to the people driving by who definitely will know, and may actually rob you based on that information?
A couple weeks ago I got this nonsensical idea of making a bot to build games over Twitter. I tried to brush it aside but just thinking about it was too much fun. Making games over Twitter, why would you NOT want to do that?! So I built it.

It was a fun (if useless) endeavour. Basically you can create actors and attach stuff to them like imported images or scripts. Scripts are built using a very weird emoji-based scripting language that I invented, it's pretty fitting considering the limitations of the medium.

Source code is available over there if you want to check it out:
https://bitbucket.org/sparklinlabs/gdevbot/src
Okay but how long will it take before you get bored with this? Somehow I can't imagine this to hold anybody's attention for longer than 5 minutes.
Spot on: http://connect.microsoft.com/VisualStudio/feedback/details/7... and https://connect.microsoft.com/VisualStudio/feedback/details/..., and the last response:

Hi,

Thanks for reporting this bug. We've fixed it, and the fix will be available in the next major version of VC (i.e. after 2013).

steady_clock and high_resolution_clock are now synonyms powered by QueryPerformanceCounter() converted to nanoseconds. QPC meets the Standard's requirements for steadiness/monotonicity.

Additionally, the CRT's clock() has been reimplemented with QPC. While this improves precision and conformance to the C Standard (as QPC is monotonic), we are aware that this is not completely conformant. Our CRT maintainer has chosen to avoid having clock() return CPU time advancing faster than 1 second per physical second, which could silently break programs depending on the previous behavior.

So it is expected that VS2014 should have the fixes.

On a sidenote, I've seen most of the code, if not all, posted by the OP already before while searching for the same functionality (eg the piece after "you will write your own function:" is followed by something that to me seems like a straight up copy from some FOSS project, even the comments seems to match - ok I cannot be 100% certain on this but if it's the case it would be nice to mention the source). I can't find it atm, but I am sure a C++11 clock compatible implementation using QPC has been posted on StackOverflow.
At the height of the great depression only ~23% of workers were out of jobs. That's hardly 100% during a "downturn." At 100% unemployment do you really think our current system of privately owned property would fare any better? Personally I think at 100% unemployment the masses would seize all the property, and probably rightfully so.
AngularJS and devops. CoreOS is so cool!
Youtube delivers ALL videos with a broken cipher (RC4)
This applies to the raw video content only and not the surrounding viewing page. Combining the video data with metadata about the connection allows associating videos with viewer's connection, and if the connection is linked to an identity then your viewing history is available to any adversary with meaningful computing and interception means, i.e. NSA.
The chat client uses Gyre which is port of Zyre [1] framework in Go. Disclaimer I'm the author.

[1] https://github.com/zeromq/zyre
This is how I handled it. As for auto renew, I have it where all saas subscriptions by default are auto-renew.

1) On credit card submit, I had a checkbox at sign-up NOT checked by default. Also right next to it was a link to the terms of service they can read.

2) On billing confirmation e-mails, I put a link where they can change their plan or cancel.

Now here are a couple particular scenarios I've handled

+ Several customers called in the second month being very surprised they got charged as they thought it was a one time fee and not a saas subscription. In both cases, they e-mailed or called me directly. I told them I could refund their last month's charge and cancel their account.

+ I had one chargeback, but it was a generally unhappy customer. I let that chargeback go through, and e-mailed the client apologizing and mentioning I would not challenge the chargeback.

---Chargebacks
Now in the general case of chargebacks, you can defend against them (I use Braintree Payments who have been awesome in guiding me through the process), if you generally do the following

1) State exactly what your refund policy is in your tos. For me, I have a 'we refund your last month for any reason'.

2) Keep track of your billing e-mails. If the client files a chargeback, the bank will check to see if the payment has been monthly. If the bank sees it is a monthly bill, there is a very low chance of them winning the chargeback.

tldr;
Make your tos policies as transparent as possible.
> because some of them would do it for free if they had some other way to eat.

Then I fail to see what the problem is. Obviously, there is an oversupply of teaching staff, or else wages would be higher since good professors would be a scarce commodity.

That obviously is not the case, thus wages fall. I guess when you have an excess of a generation going to college on false debt, you get an excess of teachers too. I'd imagine of the college going populace instructors make up a significant fraction.
The 21st Century Platform for Readers and Writers
And even if shuffling did that, comparisons to java still would be invalid, because Java has completely different algorithms for placing objects in memory which tend to bring referenced objects close to each other.
Filtering Spam With Postfix (2005)
Go was also never made to be used in context of Android - even more it doesn't even have dynamic linking capability and was explicitly made to generate completely static binaries for server deployments. Which is not compatible (at least not without some serious hacking) with an OS which has full API written in Java an requires JNI interface and boxing of every interaction for every API call.

While Go is a feasible replacement for C/C++ for native parts of Android applications (which are just normal Linux .so libraries linked against bionic) it would be a terrible fit for main application language without a full rewrite of most of the operating system (note that ART is certainly NOT a magic bullet here!). Note here that native (NDK) code has practically NO access to Android OS APIs (only APIs available are bitmap manipulation, OpenGL, OpenAL and limited sensors access).

It's staggering just how many misconceptions and lack of understanding of Android structure is there in those "Go for Android" threads.

For us Android devs pretty much three points would improve the Android development experience:

1.) Add Java 8 language feature support to ART/Dalvik runtime. This would clean up code immensely, especially in so concurrency and callback heavy use-case as a mobile app is.

2.) Clean up Android APIs and fix broken implementations. Add modern block/callback based APIs to replace listener-heavy code. Perhaps look at RxJava design patterns for core Android APIs as well.

3.) Improve tooling. Not the code editors (IDEA/AS with Maven or Gradle are decent enough), but the profiling tools, hiearchy viewer, tracing tools and other tooling which wasn't touched in years and are SORELY needed for good app development. Figuring out why a certain animation stutters right now requires stitching together several partially working tools with poor documentation.

Note that NONE of those issues would be improved by adding Go as a language to interact with Android and would just cause additional issues on Go/Java boundaries.
http://undeadly.org/cgi?action=article&sid=20140506132000

"i maintain Android's C library which, as you may know, contains a lot of OpenBSD code. i've been working to clean up our mess and get us back in sync with upstream, and currently have 173 files that are exactly the same as current upstream OpenBSD. (more than we have from the other two BSDs put together.)"
I see the openbsd down vote patrol arrived.
Good on ya, fearless leader will be proud.
Though I've not used it myself, Kiva has always struck me as the sort of thing that people who were passionate about the web in the early days were always enthusiastically envisaging.

The web was seen as a powerful tool for taking advantage of the benefits of scale. Scale applied to charity & aid results in things like Kiva.

They just wouldn't be thinkable without the web.

There's no grand point to this comment, it's just a musing.

I guess I'm just saying that I think it's things like Kiva that make me proud to be part of the web.

Oh, and I suppose mixed up in my sentiment is a bit of lament that Kiva is a little-known exception to the rule rather than one among a great many examples of using the web to make the world a better place. (yes, wikipedia is another great example; I'm not saying Kiva's the sole bastion of human compassion on the web).
Test
Good new for the day
Even without value types, Java/C# can do probably much better on the pointer vector case than C++, thanks to allocation from contiguous region and automatic memory defragmentation. It is very likely all the objects referenced from the vector would be placed in a contiguous memory region which is easy to prefetch for the CPU (sure, still not as fast as inlining them into array). This is completely different than in C++ where subsequent dynamic allocations return pointers scattered around the whole heap, especially after long run.
So we need to get the word out to high school students that they should look at a college's budget before applying to it.
My guess is that that's his point. Java is easy to pick up, but the Android API is such a hurriedly-hacked-together piece of nonsense that it hurts.

Case in point: To make a list on Android, you need to jump through hoops, assign stuff to a "Tag" property (a field intended for hacks and workarounds), typecast your ass of, or if you don't do all that your list will perform absolutely shitty. So, the easy flow is a crappy, slow, buggy list. The "best practice" (which is not the easy flow, because hey, why would we make good stuff easy) is a "View Holder Pattern" [0] that involves using intended-for-hacks framework features.

On top of that, to my feeling there's also a big difference in quality between the enterprisey Java ecosystem and the Android ecosystem. Android-o-world is full of not-entirely-good advice and bad examples. Jumping into Android reminded me of past PHP experience: lots of well-meaning, but ultimately not-very-experienced people set the tone. Enterprisey Java might have AbstractFactoryFactoryProviders, but at least they have no buggy/wrong/hacky/insane code with 300 stackoverflow upvotes.

[0] https://developer.android.com/training/improving-layouts/smo...
True. Not complete enoughbfor Matplotlib, though.
BI is typically given to everyone as a basic right - including those with jobs.
In the case of arrays, you can also have parallel arrays. E.g.:

class Something {
public int foo;
public int bar;
}

new SomeThing[100];

becomes:

int[] foos = new int[100];
int[] bars = new int[100];

And write appropriate getters/setters.
Clever. Pawn to k9. xboard variations adjudicates checkmate.
BI would be roughly $1k, not 5.
every attack visualizer UI looks straight out of Star Trek.

I don't know if that's good or bad. I like it, but it feels like the CompSec side of things is pigeon-holed into 'hacker-like' interface and design elements, and has been for a looonnngg time.

same feeling I get when I visit the DEFCON convention website. (www.defcon.org)
American education is such a mess. First, it feels like the majority of American college students graduate from college after spending four years on material that makes them no more appealing to employers. Second, there seems to be a thick layer of insulation between market signals and students, so that students can't even figure out what they should be learning, even if they were motivated to do so.

Third, colleges seem to teach whatever garbage they feel like, slap a "major" label on it, and charge a ridiculous amount for it. As institutions you would be hard pressed to find more inefficient organizations in the economy. I can't for the life of me understand where all the money is going. It shouldn't cost $100,000 to turn a bright high school student into a programmer in four years. In some European countries they do a better job in two years, with one third the budget, even though labor costs are higher (see Sweden).

We have to face the fact that a lot of college lecturers are zero value-add to their pupils. This is a big problem underlying the salary issue that is hardly ever discussed. Moving outwards, many college programs are zero value add too ... outside the stamp of a degree which they confer. Which if you think about it, you could get cheaper abroad.

Only a matter of time before India or some Baltic state makes cheap degrees available to US citizenship holders at cut-rate prices. I don't think American employers care much where your degree is from ... at least for engineers ... so long as you have the right to work in America ... which a citizen would have.
Your Parents Vs. Your Dreams
Video Marketing als Erfolgsfaktor – Dailymotion-Video
That is not at all like how GIF animation works.

http://en.m.wikipedia.org/wiki/Graphics_Interchange_Format#A...
That's not been my experience, often it helps to add more context to errors as they propagate through the layers. Unless you control the entire stack of function calls top to bottom as part of your application, I think it's ogyrn bad form for one library to bubble up another library's errors directly. It's effectively leaking implementation details and it means the clients of your library may also have to import your dependencies to handle the errors.
So... basically it lets you pay in dollars?
Security weakness of cloud storage services
Makes it just as easy as paying in local currency!

At this point I don't understand the need for bitcoin. The buyer is effectively paying in local currency by buying back, the vendor is effectively receiving local currency by having it convert on purchase.

Why include coinbase in that transaction? Where is the need for bitcoin to be involved at all?
Like Uber and Airbnb, this type of model is compelling because it takes a close look at regulatory requirements and challenges existing assumptions while still following the letter, if albeit not the spirit, of the rules. I'm a fan - the FAA and certain interested groups will likely challenge their legality, but if executed correctly this is exactly the type of startup that can fundamentally change an industry.
You're comparing apples to automobiles. The documentation and video accompanying the Swift announcement was the official promotional materials and guides. The document linked here is a development proposal sent by a developer to the golang-dev mailing list outlining his intentions to work on a feature for the next release.
Is Dark Souls II The Worst Game Ever Made?
I'm using it in production, and speedups tend to be on the order of 4-5x for my app (the compute-intensive part involves hierarchical agglomerative clustering of documents by text similarity, so it's data/numbers-heavy). Obviously it'll depend on your individual application (and non-CPU-bound tasks won't benefit much), but we switched to PyPy because it showed major improvements in profiling of our app on production data (and we switched around PyPy's 1.9 release, so it's even better now). It's not like everyone's just imagining the speed improvements...
That sounds like an interesting story; would you consider telling it?
So are you inserting a qualification for being unemployed and no longer allowing just anybody to walk in and demand their share of basic income?

Then you're back to the problem of needing to hire more bureaucracy with respective office leases, equipment, etc., to verify the employment status.

Unemployment is also a weak estimate, what you want is unemployment + the negative labor force participation - kids and retirees are not unemployed in the sense that they're actively seeking employment, but would probably not pass up an opportunity for free cash.
Walmart Targets India's Business Owners With New 'Best Price' Warehouse Club
Lectures till aren't helpful most of the time though compared to practically any other form of instruction.

I'd also wager that Y combinator has much smaller class sizes and is more like a tutorial then lectures.
I dislike Android as much as the next guy, but you have to do some extra work to make UITableViews perform well in iOS as well.
First, because both of those steps are optional: the seller can choose whether to keep bitcoin or local currency, and the buyer can choose whether to keep bitcoin in stock or buy it as needed.

Second, because convert-transmit-unconvert still bypasses many of the painful aspects of other money transfer mechanisms. Both buyer and seller only interact with entities they trust (coinbase and their bank), no credit cards (and associated fees, chargebacks, and headaches) get involved, and the transmission process in the middle uses bitcoin in lieu of ACH or similar (avoiding many potential risks, reversals, and the various Bad Things that can usually happen if you pay directly from a bank account).
>b) pollution is also a tragedy of the commons thing, and could be solved by privatisation. Of course, in the real world that presents some challenges.

Sure. Let's just privatize the entire fucking atmosphere! We can all pay rent for being made of carbon atoms, too! Those belong to an owner, after all!

Excuse me, I'm going to go do something else before I fully rage out.
I don't think American employers care much where your degree is from ... at least for engineers ... so long as you have the right to work in America ... which a citizen would have.

Sure they do. Try getting a job at Google without a degree from MIT/Stanford. The name is more important than even graduating, even "Harvard dropout" has a certain cachet.
>If I own the land, and I mean own and am responsible for - no taxpayer subsidized safety net if I go too badshit crazy with the nutrient depletion or chemical baths - then it is in my best interests not to ruin the property so that it remains valuable if and or when I want to sell it.

No, it's in your interest to fool some sucker into buying it on false pretenses. Don't pretend to moralities you don't actually hold, capitalist.
I think this is 90% a result of Unity.
I see it as competition to PayPal, I like PayPal vs a credit card b/c of convenience and privacy

The tricky part here is that Coinbase is taking their 1% fee on the buyback (Maybe they should give a special rate here) - but they also recently introduced an interesting feature that allows merchants to pass on PayPal merchant charge savings on to the consumer.

This is early adopter territory, using Bitcoin for this isn't a clear win yet, but Coinbase is doing some smart things to bring mainstream appeal
The first issue I'd like addressed is the outright fraud that is going on here: schools are hiring adjunct professors to teach class, and then don't pay them to grade papers or meat with students?

The other issue is the potential for market dynamics to correct these problems with college, if they exist: spending too much on admins, and skimping terribly on the teaching. Essentially kids are getting stiffed, and then employers are getting sub-par employees. If kids are going to college to get a better job, then these decisions on the part of schools are hurting them.

That said, if the economy really is all "bullshit jobs" (a sentiment that has floated around here recently) then the college admins know it won't matter how badly they educate the kids, and they'll never be found out. If that's the case, then I'd argue our larger concern is the fact that so many jobs are bullshit.
Merchants can pass on all or part of the credit card savings to people using this method. (see gyft.com)
Most customers pay a fixed rate per kWh, but the cost to the utility is dynamic. When the grid is near capacity, electricity may be sold at an order of magnitude below its marginal cost to the utility.

Here in northern California, our utility (PG&E) is experimenting with "peak day" pricing. During peak hours of certain days, electricity costs increase by ~10x. In return we enjoy a lower baseline rate the rest of the year, encouraging us to shift consumption to off-peak hours. It's a great idea for everyone involved.
> I'm just saying it's totally unfair that someone who lives in NY should pay considerably less for housing than someone visiting

People who live there are in the market for long term housing. People visiting are in the market for short term housing. Comparing this is kind of ridiculous, because they serve people with quite different needs.