skysight-inc/HackerNews huggingface dataset:
I tried and failed to make myself use `hjkl` instead of the arrow keys. It was a perpetual hindrance to my brain that up (`k`) and down (`j`) did not spatially reinforce their functions.

What ultimately worked was to map the triangle `ijkl` like you normally see `wasd` in games.

i
jkl

i -- up
k -- down
j -- left
l -- right

I then added two more keys beyond left and right to skip forward and back by words.

i
hjkl;

h -- skip backward to the beginning of a word (ordinarily `b`)
; -- skip forward to the end of a word (ordinarily `e`)

There were some echo effects since I had to replace `i`, but they were manageable. On machines where I don't have my vimrc available I'm still functional, just clumsy. It was definitely worth it.

My vimrc: https://github.com/rectang/dotfiles/blob/master/vimextra
MariaDB will have recursive CTEs in 10.2.2
ditto. But make it Visual Studio Code for me, please!

(any guide on converting themes between IDEs?)
This was already started by 18F. If you haven't heard of them, they are the first U.S. federal gov digital consultancy, and the primary force behind a lot of security/certification improvements already.

https://github.com/opencontrol/
https://github.com/opencontrol/compliance-masonry
Rendering Microsoft PowerPoint Presentation Slides to  Image
This is literally the perfect end-game for an advertising company: total awareness of need under the guise of 'optimization' or 'AI enhancement'. They can see what your'e searching for, where you're going, when you run out of Mayo in your GoogleFridgeAppAssistant. What better way to offer ads than EVERY time you have a want? It's an advertising utopia!
Prerequisite to personal AI worth a damn is data about you worth a damn.

It'd seem windows 10 is setting Microsoft up for this. Google is following suite with its own hardware.

Central task is to infer what you want and help you achieve it, but further, your AI can ask you questions too to work out all sorts of things subtely.

i think eventually, we'll think of I personal information as a commodity or "raw material" and regulate its extraction and trade as such.
Matrilineal != Matriarchal.

There are a substantial number of matrilineal societies, probably due to the ease of knowing who your mother is compared to your father, before genetic testing was developed. They are quite often not matriarchal, though.
YOU CAN DO ANYTHING WITH ZOMBOCAM
I am not sure I would call what happens on Twitter discussions. It's a great platform for posting things that are easily misunderstood or taken out of context due to their brevity. Then someone starts a witch-hunt, which in turn sparks a counter-witch-hunt. In the end no one is any wiser, but everyone is little more bitter.

I think the appeal of Twitter is feeling "in the loop" due to the real-time nature of the service. But in reality most of the content is just meaningless noise. It's hard to find any signal on that platform.
Local yogurt store tells blogger that Steve Jobs is “in great health”
A Formal Method means to create a Formal System and construct a formal proof.

https://en.wikipedia.org/wiki/Formal_system

As a small example of using Hoare Logic, which takes every single command (aka line of code) in your program and turns it in to a Hoare Triple. A Hoare Triple looks like {precondition} command {postcondition}.

As an example let's prove the output is not 476.

int numb;
.....
numb = numb * 2;
numb = numb + 1;
print numb

For print numb to print 476 we have the precondition that numb must be 476.

{numb = 476} print numb {We don't care what happens after you print}

If numb is 476 on the line above then the line before this one must have a post condition identical to this line's precondition.

{} numb = numb + 1; {numb = 476}

For this line to be true it must have a precondition that numb = 475

so {numb = 475} numb + 1; {numb = 476}

Again we chain this line's precondition to the previous line's post condition:

{} numb = numb * 2; {numb = 475}

Given that numb is defined as an integer there is no possible precondition capable of making this post condition true. We have formally proven this program is incapable of printing 476. Further since the stuff in the brackets can be as complex as we like we could have proven this program is incapable of printing even numbers.

https://en.wikipedia.org/wiki/Hoare_logic
hey lance! ha

I left ATL for SF last year and I had many similar conversations while I lived there.

ATL Founder > What do you mean you are charging $100/hr? I can pay 5 shitty developers in India for that price.

SF Founder > We are on a pretty tight budget. The best we can offer you is $140k/yr + 0.7% equity.
ECCHacks - A gentle introduction to elliptic-curve cryptography [31c3]

https://www.youtube.com/watch?v=l6jTFxQaUJA
Security First: 5 tips for building a secure mobile app from the ground up
This image is absolutely ridiculous.

Problem: JavaScript won't run outside browser.
Solution: V8 (V8 was built for Chrome, btw, NodeJS is what took V8 outside of the browser)
Problem: JavaScript is single threaded by design. (This isn't a problem, you even said BY DESIGN)
Solution: Asynchronous programming. (This is a solution that literally allowed applications running on 20-30 machines to drop to 2 machines and still see over an order of magnitude performance improvements).
Problem: Callback hell. (Callback hell is NOT the way any reasonable Node developer programs. Promises are completely sensible to reason through).
Solution: Compile to better language (Promises are native)

I don't know how many times I have to post this, but this is what good Node code looks like.

function doComplexAsyncTask() {
return Promise.join(
doParallelAsyncTask1(),
doParallelAsyncTask2(),
doParallelAsyncTask3()
)
.spread((result1, result2, result3) => {
let combo = doSomething(result1, result2, result3);
return saveComboToDBAsync(combo);
})
.then(result => doSomethingElseAsync(result))
.catch(err => handleError(err));
}

And that's an overly complicated example. And then from anywhere else in the code you can call

doComplexAsyncTask()
.then(result => doSomethingWithResultAsync(result));

There is no callback hell. The error handling is trivial. Doing parallel tasks is trivial. And that "single threaded" issue is not an issue. The moment parallel tasks1, 2, and 3 START, your application is already serving the next request. There is 100% CPU availability for every single thread, not a single moment is wasted blocking. And if you're running on a multi-core machine, you use node clustering to get 100% CPU usage of all of the cores.

People do just regurgitate the same nonsense over and over.
We knew how to keep people alive on the way to the Moon, alive on the Moon, and had a reliable way back. We didn't start off the race by declaring our intention to colonize the Moon.

So I look at the issues which made Mars 'hard' a while ago, and whether or not they're solved or if Musk is on the way to solving them.
Micrometeorite shielding. Not solved
Radiation shielding. Not solved
Long term microgravity health effects. Not solved
Sufficient understanding of the human microbiome to keep it thriving off-world. Not even addressed
We're gonna need a bigger boat: from speaker to sponsor with ag-Grid
I have to chime in to backup the others here that despite my absolute love affair with the Z3 compact (I had one stolen after a year and bought another immediately to replace it cause I loved the battery life and form factor so much), the camera really was a big letdown. My second Z3 compact finally broke and due to the fact that the current generation of Android devices lacks a sub 5-inch phone with as good of battery life as the Z3 compact had (I'm purposefully ignoring some great Chinese phones cause they lack licensing to be able to run on 4G/LTE in the USA), I ended up switching to iPhone 5 SE and entering iOS for the first time.

So yeah Sony, you used to have shit cameras but amazing battery life, but now the battery life is trending downwards, great job.

And yes everyone, if you look at just the hardware the Sony phone's cameras should be great, but the software and processing has always been so shitty that the pictures you get have been awful despite the great components.
This is known as observational learning.[1]

I.e learning behaviours by observing another animal be rewarded or punished for a behaviour.

[1] https://en.wikipedia.org/wiki/Observational_learning
Great product!

Do you make money selling consulting services for FreeRADIUS or do you license the software?
We always assumed they wouldn't spill their beans to third parties. I guess that was assuming too much.
Try Ctrl-w in insert mode it is similar to Ctrl-backspace. Also in normal mode try db. where '.' just repeats the last command 'db'. I find I'm never really using counts in vim but instead using the repeat command '.' since it provides better visual feedback.
Yes, if everyone were altruistically motivated to get humans to Mars, we would all contribute our dollars and work together to make it happen.

But in the real world, a lot of people who don't care beans about Mars can still be motivated to invest in the effort by the prospect of investment gains. And those gains require for-profit competition.
Ah well we have high level policy to deal with obnoxious clients. We will forcibly boot a client if it exceeds certain limits. This is imposed at the application layer.

But no I haven't explicitly tested with thousands of leaky clients.
"but there is an epidemic of males who aren't thriving."

Shit diets, shit education, shit culture. It's nothing new, although it's been accelerating as society has become more dense and more concentrated on the top.

I say nothing new because I remember staying in the homeless shelter and just seeing entire lives wasted in abjection. Nobody held a decent hand to these men nor showed them another way. This utter abjection was intensified by the lack of positive models to emulate. When the zookeepers seem like a bunch of idiots, the caged animal thinks that, even for all of its trials, it is still more eminently wise and clever.
Maybe he was but I do worry that anyone new to front-end is being pushed towards frameworks rather than being told to start with the simplest approach possible.

I saw a comment from someone a few weeks ago who knew angular but had never used jQuery. I was rather baffled how that had come to pass!
Some other neat data from the same buoy.

Wave height
http://www.ndbc.noaa.gov/show_plot.php?station=42058&meas=wv...

Wind direction
http://www.ndbc.noaa.gov/show_plot.php?station=42058&meas=wd...

Air temperature
http://www.ndbc.noaa.gov/show_plot.php?station=42058&meas=at...

Water surface temperature
http://www.ndbc.noaa.gov/show_plot.php?station=42058&meas=wt...

Dewpoint
http://www.ndbc.noaa.gov/show_plot.php?station=42058&meas=de...

I just tried the data format codes from the link someone posted earlier
http://www.ndbc.noaa.gov/measdes.shtml

Cool stuff!
> I think that Boeing certainly would say whatever they can to make people buy their stock.

They can, and this may be one of those times. But that doesn't mean it isn't driven by competition, or at least the desire to be seen to compete.

> Competition is such a sham

It isn't when it works. Competition is why you can afford a car, most of the stuff in your house, an internet connection and so on. In places where there is only one vendor prices are as a rule a lot higher than when multiple parties court the same group of potential customers.

> and as per usual: nobody is arguing for why cooperation is bad

Cooperation has it's place, nobody needs to argue why cooperation would be bad. But in the case of Boeing and SpaceX it is fair to call them competitors because they are independent entities looking to serve the same customers.

And by the way, it's a false dichotomy between cooperation and competition in the case of companies one alternative to both competition and cooperation is cartel forming.

> ya'll just keep spewing that corporate bs.

I don't think that was called for.
They need a big company behind them sooner or later, but for the love of god, not Disney.
i've owned both and can verify: iphone camera kills the nexus 5's.
I agree. It's funny/interesting to me how everyone everywhere has been holding up their local food scene as a special point of pride recently, when just about every city in America in 2016 is teeming with dozens of good local restaurants, microbreweries, coffee roasters, etc.
I have a 2015 era MBP that I use infrequently for work and I'm always impressed when I pull it out and it's still at 60% battery and wakes up from sleep despite being stowed in a cabinet for a few months.

The same can't really be said for Windows, I think a lot of that comes down to vertical vs horizontal integration. The majority of issues I encounter with the core OS usually come down to a dodgy driver (usually from Intel) that once removed and replaced with the Microsoft baseline driver resolves the issue.

I'm disappointed to see and hear all the issues people seem to be having with the Surface line, I would have expected those devices to be rock solid. I'm not sure if that speaks to a fundamental issue with Windows or something else but it just goes to show how well Apple is handling it's hardware/software integration.
that's neat! Exactly what I need. Sadly linux here, might have to fiddle a bit
I think some people would be okay with that if:

1. That information were secret (you and service/device/implant) but not a whole company and its third party interests.

2. It wasn't making money for a third party after the initial purchase price for the device, service, etc.
CPUs had registers back when C was invented too :) The reason C doesn't expose registers is because the flat memory model is more universal and more uniform between CPUs than the registers, which often have a lot of special-case behavior, especially on non-RISC CPUs: https://vanemden.wordpress.com/2016/03/15/why-does-c-not-hav.... Besides, C has a "register" keyword, although it's probably ignored by almost all compilers today in favor of their own optimizations, which are usually better (and if they're not, you're usually gonna go to assembly for maximum performance anyway).
Not enough publicity, to my mind.

Rust is popular because Mozilla, a well-known company, is developing it for a well-known major project, a web browser.

Go is well-known due to Google, and the fact that many people with an opinion-setting power know who Rob Pike is.

Haskell, well, just spent 20 years being around, sometimes in university curricula.

ATS is only, it seems, known to people who are specifically interested in formally-correct low-level code, on the sparsely-populated intersection of math and hardware geekery.
Good on them--it's a wise choice to get out before the bubble pops.

I've said before[1] that Twitter is the poster child for the tech bubble and that people's opinion of Twitter is a good litmus test for people's understanding of the industry. It sounds like Twitter's management understands their position and is looking to get out while there are still people who think Twitter has value.

[1] https://news.ycombinator.com/item?id=12564298
Google Now has done the same for me, told me how long it will take to get to a bar I frequent. My reaction was quite exactly "Oh that's neat, thanks!" and I went and had a great burger that night.

Totally OK for me Google. I respect that people have different privacy thresholds, but I think the fact that it's different for everyone is being lost in articles like this.
And that's why I turned Google Now off (but still use some other Google services)
ZeroDB (YC S16) Is Hiring a Java/Hadoop Engineer
We're looking for a Java engineer with knowledge of the internals of Hadoop.

Remote OK. Contractor OK.

Scope of work:
* Writing and modifying low-level Hadoop components (HDFS, KeyProvider API);
* Making packages for Cloudera / Hortonworks / MapR distribution;

Competencies:
* Deep knowledge of Java;
* Experience working on internals of Hadoop is a strong plus;
* Deep knowledge of Python is a strong plus;
* Familiarity with concepts of symmetric / asymmetric encryption;
* Verbal and written technical English

If that's you, please email us at founders@zerodb.com

About ZeroDB:

ZeroDB is a unified encryption layer for the enterprise.

Rather than managing a myriad of disparate data protection tools, ZeroDB enables security architects to transparently encrypt data in-flight, at-rest, and in-use across data platforms, including Hadoop, Kafka, Spark, Storm, Cassandra, and HBase.

It supports granular encryption, allowing fine-grained decryption permissions and delegated access both internally (e.g. employees, departments) and externally (e.g. cloud providers) in multi-tenant environments and centralized data lakes.

It works seamlessly across all of an enterprises environments--on-premise, hybrid, public cloud--while eliminating the encryption management middleware's access to keys, enabling enterprises to leverage the elasticity of the public cloud while maintaining on-premise key management.
I think there's an additional nuance, that of Google knowing everything about us. If I hacked together my own home automation AI system it would need to know everything about me too and that worries me far less.
They've shown a remarkable ability to rapidly iterate new shows which people like, revive old shows that people still want, and they've begun to enter the culture in the form of "Netflix and Chill" and the like.
> Why do 50 % of young people identity as bisexual in some way.

I was not aware of this statistic. I really have no thoughts on it either way except - wow!

http://www.out.com/news-opinion/2016/3/11/less-50-teens-iden...
This is the predominant reason I use an iPhone. I don't like a lot of Apple's policies (mostly closed source, although that's where stock android has been gradually headed too) or their silly politics (Getting rid of the gun emoji? Really?), and I would rather go with Google on those grounds, but Apple's incentives with regard to privacy actually align with mine. In particular, they are a product company, not an advertising company. I appreciate their use of high-quality security technology in their phones.
Just learned about Larry Tesler [1] and his fight for modeless software yesterday.

[1] https://en.wikipedia.org/wiki/Larry_Tesler
Some of these misconceptions are about having a poor UI and poor discoverability. I'm an avid vim user but I had to take a bet that the initial work to familiarize myself will pay off in the end. I'm happy I took the leap but it's daunting for anyone getting started.
What about Drexler, Merkle and Freitas?
The U.S. Federal Government already has [NIST-800-53](https://en.wikipedia.org/wiki/NIST_Special_Publication_800-5...) (for software), and [FedRAMP](https://en.wikipedia.org/wiki/FedRAMP) (for cloud infrastructures). The regulations and certifications are there, it's a matter of implementing them properly in a way that actually ensures real-world security, not just that there's a huge, 200-300 pg. document somewhere describing a secure state of an application.

But this is what OpenControl is meant to solve. https://github.com/opencontrol/
Something to think about -- making the assumption that in the future, a bunch chunk of things currently done with search engines and forms are done by voice command:

Ok Google, order new toilet paper -- order is routed to any ecommerce provider which outbids everyone else to fulfill the order.

Alexa, order new toilet paper -- order copies previous toilet paper order and goes to merchant with lowest advertised price that reports to have that specific product.

Hey Siri, order new toilet paper -- ?
For consumers this will be a choice between keeping their data private and having intelligent systems that perform better.

So far I haven't seen much, but based on my limited experience I believe customers are going to continue handing over their data to Google and Facebook in exchange for personalised services.

The truth is, the only times my smartphone has actually felt smart is when Google has been mining my information from various services (mainly Gmail and Calendar) and presented it to me at correct time, enhanced with other information they have gathered from web.

I don't think there will be any major backslash from consumers. The old comparison about boiling frog applies here.
> I think Gary was way ahead of the industry when he did this talk in 2012. Today it's common to look at Erlang, Haskell and other good but previously unpopular languages and retrofit their ideas to your language of choice (or build something like Elixir/Kotlin/Swift). But back then Ruby/Python/Java/etc devs would usually not look at anything else because functional programming was only something you might have heard in university and OOP was clearly the only way to build practical software.

Ruby and Python were incorporating things from FP long before 2012; the idea that Ruby and Python were pure-OOP and not following inspiration from languages with other primary paradigms before that is simply historically inaccurate, Ruby and Python were never dominated by OOP-is-the-one-true-way philosophy.
They might share that goal, but it's Boeing primary goal, and cooperating with SpaceX doesn't help them achieve it, they need to compete.
Yelp Killer? New food app raises $2.5m
Note sure about a guide but I would start without any plugins at first. Otherwise you never learn what's vim and what's a plugin, and working on remote servers will be a pain. Also for a lot of plugins, there's a better way of doing things in native vim if you learn it properly.

What worked for me to bite the bullet at uni was making myself do an entire programming assignment in vim and not opening in any other editor. If you commit it doesn't take that long to learn. Keep a list of commands handy and learn a few new ones each day.
The only thing we got wrong. We expected the machines that knew everything about us to be ours. Not someone elses.
Why are all of the example photos so horribly downsized and compressed? The picture of the Eiffel Tower is only 920 × 690. That's laughable compared to the 12.3 megapixels it should be. If you're reviewing image quality, you should give the readers the original files captured by the camera.

There's no way readers can say anything definitive about Pixel's camera quality without real data.
I agree that parsing /proc/pid/maps is a complete nightmare, but I'm pretty sure that the way pseudo-files on linux work, it is guaranteed the contents won't change out from under you while you are reading it.
My problem isn't with the AI having my data; it's with the company that created the AI having my data. That might be necessary to make an AI assistant practical using current technology, but it's not an inherent requirement.
Of course we do: You can jump by searching for line contents with C-s, you can do an operation a certain number of times with M-<number> <operation>, and do an operation four times with C-u <operation>, which chains, so you can do an operation 16 times with C-u C-u <operation>.

If you want to jump to a specific line number, you can use M-g M-g <number>, or (because C-u also provides numerical arguments) C-u <number> M-g M-g.

Finally, many motion commands set the mark, so you can use C-x C-x to return to where you were and select all text between your previous and current locations.

Oh, and if you want something even better, you can use C-` to jump to the location of compiler error if you use M-x compile, you can use ag.el or helm-ag for ag integration, Ace-Jump, which is similar to EasyMotion, built-in exuberant ctags integration (and a built-in ctags clone, etags), packages for cscope integration (if you're using C), and fiinally semantic, which provides a variety of parser-based tooling if it's supported by your language.

But you can also just use C-n, etc. and we won't judge you for it.