skysight-inc/HackerNews huggingface dataset:
> If a client insisted on one code-base for iOS and Android I would choose Xamarin.

Except this is not possible, as you have to recode the UI for each device anyway.

So just go C++, or any other language with compilers that can target C, and do as little as possible in the UI part.

Companies like Dropbox are following this approach.
Oh, I see what you are saying. That's an argument that isn't supported in the physical world, and one that isn't made in the article.

In this case it is more similar to car manufacturer being asked under warrant to produce a new electronic key for a car.

They have specialized skills and tools that allow them to do that, as did Apple prior to iOS 8.

No one is making the argument that Apple retain ownership of the device.

(To be clear - I think Apple is doing the right thing here. But there is no point in trying to confuse the issue with inaccurate arguments)
How Vkontakte and Mail.ru overcame lawsuits
Import OhLife-diaries into Maildiary and start over
I can really relate to this, because I had a similar experience. However, for me the drug was alcohol. I could take your post, replace "MDMA" with "alcohol" and it would almost exactly describe my experience. People tend to forget that alcohol is a mind-altering drug like any other, but it totally is of course.

I was a teetotaler until my mid-tweens, and still I only drink in moderation. I've only gotten shitfaced once, when a pretty girl was hitting on me and kept buying us shots (an unlikely scenario, I know - hence the only once). However, that one time was enough to cure a lot of social anxieties for me.

Like your MDMA experiences for you, that one-time experience of drunk buffoonery opened the door to self-healing. In my case the fact that I managed to be a drunk idiot without being a drunk asshole made me worry less about losing control in general. That also highlights that while it worked for me, it's unlikely to work for everyone (and I'm sure you all have anecdotal experiencethat backs this up...). So my conclusions are the same: the usefulness of mind-altering drugs is highly context-sensitive and misunderstood.
The scrolling on this site makes it really hard to read...
Why South Africa's Future Is Bright – Jo'burg Tech Startup Ecosystem
Oh look a buffer overrun exploit! In C, who would guess?

Static analyzers for C exist since 1979, but why use them...

"Although the first edition of K&R described most of the rules that
brought C's type structure to its present form, many programs written in
the older, more relaxed style persisted, and so did compilers that
tolerated it. To encourage people to pay more attention to the official
language rules, to detect legal but suspicious constructions, and to
help find interface mismatches undetectable with simple mechanisms for
separate compilation, Steve Johnson adapted his pcc compiler to produce
lint [Johnson 79b], which scanned a set of files and remarked on dubious
constructions. " -- Dennis Ritche on history of C.
Timesheet.js – Open Time Tables with HTML, JavaScript and CSS
Agreed, I just wish Firefox's design all-around was better. Things just feel a bit... off. The features here sure look great, though!
It seems that the title of this submission does not actually reflect its content very well.

Title of submission: "Pauseless GC for OpenJDK"

Within the first minute of the presentation: "Shanendoah is not pauseless" (0:45, emphasis mine).

The presenter then continues, "It could be pauseless. We have plans to make it pauseless, but for now the first step is just doing concurrent evacuation."

Perhaps a more apropriate submission headline would be "Potentially pauseless GC for OpenJDK" or something along those lines?
Consider the value of the money involved.

Suppose we takes some cash and use it to buy stuff from Japan. What that means is we give them mere pieces of paper with writing on it and they give us in return actual goods that are useful to us. Now we have some goods, and they have some paper. What do they DO with the paper? There are two options. Either they keep it forever, or they spend it.

If they were to just keep the money (and never spend it on anything), that works out GREAT for us, because it's a lot cheaper to print extra money than to make extra stuff. If the money never came back, we could print more with impunity and never worry about inflation or ruining the exchange rate.

But in all likelihood, they'll spend that money. So again we have two options: Either they spend it on US goods and services directly or - more likely, and most relevant to your question - they spend it on goods from some other country and THAT country (or another one, after a few more hops) in turn spends it on US goods and services. The money is only valuable to the outside world because they can spend it, and when they do that it comes back to US in exchange for some good or service that we make that SOMEBODY wants.

In the case of Japan, we buy their stuff for dollars, they spend those dollars on oil from some OPEC country (they'd actually rather buy oil from Alaska - it'd be a lot cheaper to ship but we've stupidly made it ILLEGAL to sell it to them - and then the oil-producing country in turn buys stuff from us.

So when we trade, our purchasers get a good deal on the products they buy aboard and that turns into demand for other products we sell and investment in our economy at large.
Apart from anything else, the article is about MDMA, not LSD.
The c64's CPU was a 6510 which is also based on a 6502.
> You can't become better by taking a drug

I'm going to mostly point out that although this is an appealing idea: that we only get out of ourselves what we put in/etc./etc. there's no reason for it to be true. In fact, I'd expect that for some drugs, it's probably not true: if you're talking about a substance that has dramatic, longer term effects on the functioning of seratonin/dopamine systems in the brain.

Moving away from the kind of nebulous 'better person' realm and into a slightly more measurable/agreed upon "normal person" realm, it's patently untrue for those with nonstandard brain chemistry (and completely backed by scientific+medical consensus--drugs are a baseline treatment for bipolar disorder or schizophrenia), and so I think there's no reason why drug use should not improve the experience/behaviors of people with what our society has deemed 'normal' or 'normal-enough' brain chemistry. I don't think there's something so different about people with what are considered diseases with a larger genetic component which have lasted for centuries: they are likely caused by a combination of otherwise beneficial traits coming together in a less than beneficial way.

Also, since the diseases I mentioned often do involve long term maintenance medication taken on a daily basis (such that there's always some amount of it in a patient's bloodstream), I think it's worth also mentioning that there are treatments for otherwise drug resistant depression such as electroconvulsive therapy which are effective when used every few months or only once or twice. I don't think it's unreasonable to assert that there are likely compounds that have impacts on people's brain chemistry that last longer than the life of the drug in the bloodstream.

I'd like to note, though, that I'm not advocating going and taking psychedelic drugs in an attempt to better oneself. They're compounds which have debatable (and unresearched) longer term effects on those who imbibe them, and which have fairly established negative impact on people who take them and are at risk for developing a serious mental illness. (family history, etc.) I think that the appropriate thing to do is to pressure govt. and push society to allow for actual, well founded scientific research into the matter. (I say this as someone who has taken a psychedelic drug once, and wouldn't attribute any long term betterment or changes in personality/etc. to it. However, as someone fairly familiar with mental illness and its treatment, I think that it's reasonable to assert that drugs with strong impacts on brain chemistry--and certainly on the functioning of the seratonin system, which is often implicated in depression, bipolar disorder, and psychotic disorders might have beneficial uses in treatment of some individuals, and perhaps betterment of those with more 'normal' brain chemistry.)
The article is totally buzzword-compliant. It's an important subject being addressed poorly.

Facebook is internally architected something like that. Each Facebook page display involves about a hundred machines. The internal message passing isn't REST, though; it's a real RPC system. Many of the components are written in PHP, and Facebook has a PHP compiler to speed things up.

Security is really tough in such systems. Exactly who's trusting whom, and who authenticates what, is a tough issue. Vunerabilities are usually of the form "A cannot do X, but B can do X, and A can talk to B. Can A induce B to do X?"

More fundamentally, we're still not very good at inter-process communication. There's REST/JSON, which means a lot of parsing. SOAP is generally considered too clunky. Google uses "message buffers" internally, which requires running code through special pre-compilers that understand message definitions. Microsoft, of course, has several systems of their own.

Most OSs don't support message passing well. What you usually want is an inter-process subroutine call. What the OS usually gives you is an I/O operation. (QNX gets this right, but only real-time programmers care. Message passing came late to the UNIX/Linux world, and is decidedly an inefficient afterthought there.

Whether this has much to do with how your development teams are organized, or whether you go in for the "DevOps" mentality (which is usually an excuse for not having a competent operations staff), isn't clear.
The BS of RFPs: Why It Won’t Help Your Search for a Development Shop
I'm glad alcohol helped you, but have you ever tried psychedelics such as LSD, psilocybin, or MDMA? The effects are fundamentally different. Psychedelics have a much higher chance of triggering profound and transformative experiences.
Effective Content Marketing Performance Measures
OrigoDB from an RDBMS perspective
Right. The claim "The policy switch doesn’t stop hackers, trespassers, or rogue agents. It only stops lawful investigations with lawful warrants." is invalid because "hackers, trespassers, or rogue agents" might either get warrants or plausibly claim to have warrants. Indeed, the chief problem Apple is trying to address is that everybody suspects the NSA has been engaging in massive secret fishing expeditions. Warrants are too easy to obtain. Law officers might easily BE the bad guy or WORKING FOR a bad guy, in which case denying them access provides a social good. In the current context (the era of "parallel construction" and gag orders), the fact that a judge rubber-stamped a warrant does not provide much evidence that social good is met by serving that warrant. If cops have to work a little harder to get their job done, on balance that's probably a good thing.
I think you misunderstand how large multinationals work.

They are good at product sales, they are bad at innovation. The layers of bureaucracy required by so many employees makes decision making hard.

The modern model is that companies as large as Microsoft will just buy smaller more innovative companies to leverage that loss of product research.

To be fair its a model that works really well.
This is one of the the few cases where Clayton Christenson's insights on disruption apply. Insieme was founded on the premise of trying to disrupt Cisco's existing business because Cisco cannot effectively do so from within.
Guile’s virtual machine instructions
Focus your energy bursts
Yes, though I didn't know the proper name for it until now.

I knew it wasn't a novel technique (it's too basic for that), but had not seen it discussed before on HN, so I thought I'd share my experiences.

Edit: Reading the linked article, their particular algorithm is not incremental, and not breadth first, which in my view leaves a lot of value I was talking about above on the table.

It also uses a list lookup when marking the tiles - please don't do this in real world code! Though it was probably to simplify the blog post code.
As a programmer myself, I believe there is some truth to it though. Programmers tend to be superusers and therefore design for other superusers.

By the way, old but gold: "User Interface Design For Programmers"
http://www.joelonsoftware.com/uibook/fog0000000249.html
Show HN: OrigoDB – an open source in-memory database toolkit for NET/Mono
Could you post some info about the Daily Dairy team on the site? It's nice to know who is handeling our personal data.
An AngularJS directive to download PDF files
Ask HN: Open source hotel booking software
I am looking for, preferably C#, hotel booking software. Ideally it should be able to handle lots of hotels, only booking, no payments but most of all I am just looking for a good starting point. Someone must have had this issue before, it cannot be necessary to build from scratch.

As the description probably reveals I am looking for open source, free or with the possibility to buy the source code.

Other types of booking software might be altered into handling hotels, so if anything comes to mind, please let me know.
Crafting a Successful 4-step Conversion Optimization Plan
I used to be big into GC, specially due to my experience with the Oberon system, which showed me workstations developed in GC enabled systems programming languages are possible.

This also lead me to research systems like Mesa/Cedar, Modula-2+, Modula-3, or more recently Singularity.

Different approaches were taken, RC with local GC for collecting cycles (Cedar/Modula-2+), GC as kernel service (Modula-2+/3, Oberon), static binaries with runtime enabled GC Syngularity.

So nowadays I tend to refer to automatic memory management in general, be it GC, RC, RAII or via dataflow analysis.

System programming languages with GC trace back to Algol 68.

Yet, besides Apple work with ARC or Microsoft with Singularity/COM/WinRT, there isn't much happening in mainstream OS mostly due to backwards compatibility to the culture that followed UNIX instead of Xerox PARC systems.

If systems like Mesa/Cedar had the focus and money spent that JVM or V8 enjoy, the computing world would be a bit different.
Crafting a successful conversion optimization plan is a tough and complex process. The only type of “magic” involved would be following a well-defined systematic process using strategic and methodical steps. Here's a simple, yet effective, 4-step model.
Indeed :) Thanks.
> It's easy to dig through loads of variables looking for correlations, and you'll inevitably find false positives.

Cross-validation?

http://en.wikipedia.org/wiki/Cross-validation_%28statistics%...
End User Devices Security and Configuration Guidance
You have to explain the statistics involved
Diet and exercise should really be taken care of by everybody. Lowers the risk of strokes and heart attacks considerably. In most of these young patients the reasons are due to other (most often undetected) issues like PFO though.
That's also why i really have issues with health care in the US, as many people avoid checks to save costs.
In germany, whenever you feel something is really wrong, you can just walk into ER and costs will be covered, no matter what.
I had a TIA when I was 28 (over 10 years ago) and under heavy stress (high blood pressure; they did not find any other causes; I was healthy as I could be, just extreme stress from my own business at that time); I swore after that to never be stressed again (and took measures to make sure that is possible, like living in southern Spain for large parts of the year) and haven't been since. I even forgot how it felt. My life is so much better that I now thank this TIA. Stress is pure hell and whatever business people think they get out of it; it's bullshit IMHO; I have had way more business success than ever without stress than I had with.
Please, please stop using a custom scrollbar. It makes navigating sites way to hard. Other than that, thanks for sharing!
Great song, but obviously about a Speccy.
Moog having the best sounding bass is absolutely subjective. You can't sum up dozens of analog synthesizers brands by one sentence like this. Some prefer DSI, some prefer Vermona and so on.

Also it's a question of generation. Today's Moog synths sound a little different to the older generations, generally are more precise, cripy compared to warm vintage tones.

Two things concerning Moog:

* It is pronounced /ˈmoʊɡ/ mohg.

* They did monophonic synths only besides the Polymoog.
Can Static Analysis Replace Code Reviews?
WebGL

OpenGL is now available to more people than ever. By an exponential amount.

It is supported by all major browsers. From IE, to Firefox, to Chrome, to Android, to iOS, and more.
Flying cars are bottom right: everyone wants one, no one knows how to build it.
CMPXCHG8B Support in the Windows Kernel
Aside from the price there seems to be a few bugs that have been lingering around for a year or longer with no fix in sight.

One that I have encountered is when uploading files, the progress callback jumps from 0% to 100%. https://www.parse.com/questions/parsefile-progresscallback

The annoying thing is the documentation states: "It's easy to get the progress of both uploads and downloads using ParseFile by passing a ProgressCallback to saveInBackground and getDataInBackground." and provides a code snippet that doesn't work and hasn't worked for two years. Please fix the bug or change the documentation!
> There is Fox News and there is the Financial Times; neither is purely bad or good, but one is far better than the other.

I used to believe so too. And I also believed that the BBC was far better than either, because they may have failed to be unbiased, but they definitely made a goodwill effort towards it.

That's what I used to believe until the recent Scottish referendum, when I started observing the actual behaviour of the media closely. And then you start to see that there is no difference. The BBC were just as nasty, ignorant, lying amoral shits as Fox news generally are.

I would look at the Google News feed and watch as the Daily Mail and the BBC and the Financial Times would compete to update the same lying crap to basically spam the newsfeed so that they would always be the top story. Truth be damned.

I love the world, and I love most people because people are generally great and mostly do the right thing, but you are not cynical enough.
You are listening to New York – police radio and ambient music
This is great, but how do they possibly come up with a fair price?

Even assuming Cisco doesn't want to screw anyone, what's MPLS's best alternative offer if Cisco's offer is too low?
Networks, Crowds, and Markets: Reasoning About a Highly Connected World (2009)
If you want to do something nice for your family, look after your own health.
When speed doesn’t matter, Python is faster than C
This is a well known problem with early, cheap, or non TRIM-enabled SSDs.

Why do you ask?
Sam Harris, who I hope most people on HN can accept as someone with a slightly above average intelligence, seems to agree with you. He wrote a very interesting article on his experience with LSD: http://www.samharris.org/blog/item/drugs-and-the-meaning-of-...
No sockpuppet comments on HN, please.
Room-temperature bottled Guinness (the old man's pint) is far nicer than draft
Hands on with Microsoft's IoT Windows
Spy on the Chinese and this is what you get.
To Solve Prison Crowding, Norway Goes Dutch
8th Birthday Wishes – Happy Birthday Wishes
For quite a long time my main OS was Minix 1.5(?) on an NEC V30 (8086 clone) with under 1MB of RAM. I even had a tty plugged into the serial port so it could (just about) be used by two people (or more likely, for scrolling logs on the tty while using the main display for work).
And that the 4th Amendment doesn't apply outside USA, and Apple is inside the USA.
Yahoo buys India based startup Bookpad
Tell me, was me.com also built using child labour?
Or does Android run on nothing but the thin air?
If not, can all makers show something like http://www.apple.com/supplier-responsibility/ ?
Seems to be an emphasis on testing a website from a 'quality checking' rather than 'quality assurance' point of view. That is to say, it's more for a website been built and gone live (or at least pushed to a staging server) rather than things you'd use during the build process.

To test during development, I use nightwatch.js (a front end test suite on top of Selenium web driver - http://nightwatchjs.org/ ) to test in all the main browsers at a variety of resolutions for responsive checking. That way I can get a report on browser differences whenever I push some code, and fix things as I go.
Safes do have a back door. Drills.

If you get possesion of a safe, you can physically cut it open (given enough money, expertise and time).
Registration for TC EU Hackathon Now Open
Greatest idea i have ever heard

Turkish language needs to be supported.

We are really lazy to use anything else but voice :)
WW3 WORLD LEADERS MUSTER FOR WW3
So I guess my iphone 4 isn't safe to use anymore
Ask HN: Did you have second thoughts about Go from a business perspective?
For a project I am working on, I have found Go (golang) to be an ideal match for my requirements from a technical perspective.

However, up until now I have been very conservative in my tool choices. I typically chose Python, Java or C. Long-term vision, stability and support are important to me.

I know that Go has found an active community and several well-funded companies are betting on it. What I cannot estimate is how well things would work out for Go, if Google withdrew its love.

I assume none of you has a magic crystal ball, but did you have similar thoughts when choosing Go? How did you rationalise your choice?

Thanks for your thoughts
great to see the iframe switcher. Was such a pain to manually switch the context between top and child frames.
maildiary.net has an OhLife-diary import.
Congratulations on your development. It seems this has been done before, and albeit it is neat what is the benefit over a low-cost "standard" webhost? I can name a few webhosts that are in the $3-5 range and offer standard tools and the ability to install a SSL.
Hmm.

what is a flat array?

By value type, you mean assignment causes deep copy instead of reference copy?

What is the advantage of a static binary over just shipping the jvm (which you are certainly allowed to do)? I guess I could see it if you are writing end-user software, but the jvm is pretty much server-software and devtools at this point.

What do you mean it always jits? So does the jvm unless I misunderstand what you mean by jit.

simd is beginning to make its way into java, but numerics are not the jvm's strong spot. I didn't think they where for c# either. Is this incorrect?

And yeah, jni is fucking awful.

Real generics would be nice.

Thanks for your answer.
"The best minds of my generation are thinking about how to make people click ads. That sucks." – Jeff Hammerbacher, fmr. Manager of Facebook Data Team, founder of Cloudera

What's critical to understand is that he's not just talking about the minority that is directly working on ad technology. He's talking about everyone who works on an ad-supported website that depends on page views, which is nearly all of them. Since revenue is proportional to page views, the driving concern is to increase page views rather than maximizing end user satisfaction, which only has secondary importance as one factor in page views, and often not the largest factor.

As to the free market, advertising distorts it very badly. The free market is based on consumers voting with their wallets. What happens when the wallets are held by advertisers?

And for what do we accept the above state of affairs? So that we can get content and services for free? Then we are all suckers! It's an absolute lie that ads give us anything for free. It actually makes the web much more expensive: https://news.ycombinator.com/item?id=7485773]