skysight-inc/HackerNews huggingface dataset:
Ask HN: Vim as an standalone environment for R programming?
I have been using RStudio for R programming for a long time. Recently, I have started using vim for some programming in other languages. I was wondering if anybody uses just vim for R programming considering RStudio has kind of established itself as the go to environment for R users. If you do use vim, tutorials for setup will also be very much appreciated.
How about a description of what the company does that a mere mortal could understand?
Learning by problem solving.

I just try to solve problems one at a time. And usually break a hard problem into smaller easier ones.

When I can't solve a problem it's usually time to learn more until it's solved. And when it's solved I go to the next one.

I have created a programming language with this method without even knowing where to start.

I guess, the internet (accessibility of information) is the main reason that eliminates the need to learn stuff beforehand.

Maybe I should change the title to something like:

Learn as you go! :)
I don't think it's all that bad, especially not for a small shop. I mean, obvious caveats aside. Don't store sensitive stuff like passwords in git, don't store big files.

But it does provide a pretty simple clean deploy, with information about the state of your deployment. You can even include some of that audit support with some relatively simple, judicious scripts. Check out, echo something to a log file, commit it to a deployment branch and push it.

I'm not sure I see how network shares or an http API offer better access controls over a git repo loaded over https for loading up code.
How often are you in confrontational encounters with the police?
Moby Claims to Know Donald Trump Is Being ‘Blackmailed’ by Russian Government
Nice to be proven wrong
We've seen a number of peaks, at least on a temporary basis.

"Peak air travel" by aircraft departures occurred in 2001, and by total passenger miles, I believe hit around 2007. There's some wiggling around that, in that load factors and seat pitches allow for aircraft to carry more passenger miles on average. But the US DOT's 2000 forecasts for aviation fuel were high by a factor of 50% or so for ~2013. (I've not checked the data since.)

"Peak car", by passenger miles driven seems to have hit much of the US also around the 2007-8 financial crisis. But if you look at underlying trends, as early as 1990 or thereabouts ownership and miles driven were softening markedly particularly in the Pacific Northwest.

"Peak Computer", in terms of traditional desktop (and laptop) sales is well behind us. Mid-to-late 2000s IIRC. Several factors at play, including market saturation, a stagnation in computer capabilities (CPU speed, RAM, disk, and a bunch of other factors have more-or-less been in a holding pattern, though energy usage has fallen markedly), and the increased convenience of the Internet in your pocket making mobile devices far more attractive. We may be seeing backlash to that (security, privacy, burnout, etc.). There remains the point that computing devices are fundamentally difficult for much of the population to use.

Social networks can grow quickly, but also crash with devastating speed. Understanding just what it is which makes them attractive ... and unattractive ... is a key point to understanding their strength. Or weakness.
Largely by being "The Harvard Network". A point I've long made, and recently discoverd that dana boyd has hammered as well.

Facebook is no longer Harvard.
Drone Flying Cars Will Soar Over Dubai This Summer
This looks great! How are the integrations with slack?
> But as you saw with Ford, just because you were first won't guarantee your place. Heck, without bailouts, there would be very few American automakers left.

Very few? In fact, just one. Ford.
I really appreciate the MS bizspark program.
What kind of chair? Currently on the market...
People tend to build a small business and aren't interested in growing number but profit.

Basecamp has been about 17 years standing, and currently has just 51 people[0]. Everyone seems happy.

I am an export in economy but most of problems companies born to solve doesn't require big size corps. At least in my country, SMEs are driving the GDP.

[0] https://m.signalvnoise.com/why-we-choose-profit-e511efc4dcb9...
Row equivalent matrix properties
I have been arguing with two linear algebra professors about the following question.

Given function T: R^3 to R^3

T(x1, x2, x3) = (2x2 + x3, x1 - 4x2, 3x1 + 6x3)

For which of the following triplets (x1, x2, x3) do we have T(x1, x2, x3) = T(1, 1, 1)?

A (-2, 1, 4)
B(-3, 0, 3)
C(3, 3/2, 0)
D(-6, 0, 6)
E(-1, 1/2, 2)
F None of the above

This was a problem given on a web platform that was graded upon submission.

Professor One stated that this question and another similar question should be disregarded because the "correct" answers are not the answers that the computer regards as correct.

When I submitted my answers to these two questions BOTH were marked as correct. So how could I have derived the "wrong" right answers to both questions? By chance? So I provided my methods to Professor one who said my answers couldn't be correct because I used the reduced row echelon form matrix and not the original matrix. So I did it again, and got the right answer, then applied it to another row equivalent matrix, and got the right answer again, and so on and so on.

My argument is that the resulting T(1, 1, 1) is different for every different row equivalent matrix. But the provided triplets that produce the same results as each T(1, 1, 1) applied to each different, but row equivalent matrix is THE SAME! therefore each version of a row equivalent matrix produces different results, but the triplet transformation that produce the same results as a different transformation to the same matrix are THE SAME FOR EVERY ROW EQUIVALENT MATRIX.

Is this not true? How can these professionals not see this. I feel like I'm in the Twilight Zone.

Why
Have you read this ruling? No, different courts haven't held different things. They all held the same way, but not in a precedent setting fashion. This ruling sets precedent. The ruling basically puts the police -- all the police, everywhere in the country -- on notice about harassing people photographing them.
Lee Filters has an online color shift calculator to help select filters to convert light to the desired temperature. It even gives suggestions on filter combinations to get to the desired color.

http://www.leefilters.com/lighting/mired-shift-calculator.ht...

The Lee Filters color shift calculator proved handy when I recently found an LED work light stand [0] that I thought would make for a nice looking lamp in our living room if I could figure out how to convert the light to a color that was more normal for a home.

[0]: https://www.lowes.com/pd/Utilitech-Pro-1-Light-40-Watt-LED-S...
I generally use the Pomodoro technique (25 mins of focussed effort, 5 min break, repeat).

One thing I find useful to stay focussed, is when a distracting idea comes to mind is to simply write it down somewhere, so I can look into it later.

If other people are a distraction, you need to make some time where you cant be interrupted. Switch your phone to airplane mode.

Tell people you are working and not to disturb you at certain times, or just let them know you will get back to them later. If you aren't a jerk about communicating this, most people are pretty reasonable.
>They do the one thing really well, but it's going to go out of style at some point as these things tend to

I sort of get your point, but this exact same thing has been said about Facebook, Instagram & Twitter. To counter my own point, there's also MySpace, Path, YikYak and Google+. However, I imagine that Snapchat has surpassed the "terminal velocity" in user growth/size to a point where I don't think its going anywhere anytime soon.
after the watershed more or less anything is game
What are your thoughts on classified information?
If anyone is looking at the enterprise version then it's probably best to try memsql.com too, which is a much more polished product with a mysql dialect.
Their main product is an Enterprise Service Bus, a piece of technology that is supposed to help make it easy for software developers to integrate with multiple disparate third party solutions (and potentially internal solutions). So you can get a "Connector" for SAP, and another for Salesforce and consolidate, transfer or do practically whatever with the data in both systems, without having a bunch of developers working on an in-house solution to consume the requisite APIs.

My one criticism of them would be they focus very heavily on cloud, and their on-premises offering is woefully anaemic, lacking fundamental functionality, such as messaging.
A couple of ways to describe Mulesoft (depending on your background):

Enterprise version IFTTT/Zapier, but connects to literally anything

Competes with Google's Pub/Sub

Cloud version of BizTalk (but way better)
The argument for Swift's behaviour is basically: very few things actually need this guarantee, and it's bad for performance (or memory usage) for all the other types to inherit it.

Personally, as someone who has spent a lot of time trying to manage the safe/unsafe code boundary, I'm inclined to agree with you. Unsafe code in Swift has an even scarrier subtle hazard: if the last uses of a value are through an unmanaged handle, the compiler won't know and can free the managed value before those uses. You need to insert a marker saying "please keep this alive". Even worse: returning a value, after inlining, isn't sufficient to establish a use!

That said, your lock handle example doesn't matter in swift today: you really want a lock handle to be a struct, and structs can't have destructors. You also want it to have move semantics, which don't exist yet. This proposal suggests moveonly values that could adopt destructors (like Rust), and if you're already adding an annotation for destructors, it's not out of the question to add another one asking for "true" lexical destructors.
> Actually this is not what happened here - when programmers added the concepts you mentioned, they were very much aware of the mathematical counterparts.

Yes, I am aware of it. I have read Wadler's papers pointing out that list comprehensions are a specific instance of a Monad and proposing Monads as a way to structure functional programs. But I wish the Haskell did not directly copy the term Monad into the language, setting off this bad precedent. Like CAR and CDR in Lisp, unfortunately, this one will stay in Haskell. Hopefully future languages will introduce more sensible terminology, like how Lisps have evolved over the years.

> Regardless, I think it is a shame to call the same thing differently just for the sake of it.

We have to agree to diasgree on this. IMO the intended usage of a concept should dictate its name, not how humans first arrived at it.
These days? Rarely.

But I have had a number of positions which have required me to have encounters (in some cases documented) with police, and although I was (I believe in every single case) professional and courteous, I have occasionally interacted with police officers who weren't.

Additionally, I have (like pretty much everybody) had chance encounters with police, and I have chosen to record these, without exception.

Here's a rather strange example (note that in this video an officer does incorrectly assert that my video recording him is against the law - when I calmly correct him and move on, he doesn't say another word about it):

https://vimeo.com/2230232
They make a couple products that work well together. Mule ESB acts as a container for flows, which are declaratively-written processes of canned components that do a specific thing (like make an SQL query, make API calls, or call your custom code), or EIP components [1] that manipulate the execution flow. They give you a visual editor to drag-and-drop build these flows, or you can write them by hand in XML. You deploy them in Mule ESB and they run indefinitely, accepting messages, say, on HTTP ports, or firing at set times like cron-jobs, or the like; the runtime detects most crashes and restarts the particular flow if something goes weird. If this kinda sounds like Erlang/OTP you're not entirely wrong, but, let's not go there...

(okay, so the canned components are sometimes quite nice, whereas in vanilla Erlang you're on your own. The value something like Mule brings is more the abstractions and the ecosystem, even if the Java runtime is of no intrinsic help. Also, see RabbitMQ's slides on Erlang [2]. Mule isn't an outward-facing message middleware like RabbitMQ, but behaves a lot like one on the inside. It also gives canned components to interact with them.)

A Mule flow is often basically mid-level business logic plumbing; you don't want to put these flows on the public internet without rate limiting, authentication and authorization -- you want to use some API gateway or proxy in front. Mule has one, called Mule API Gateway, and the front-facing portal API Manager. Then the rest of the 'Anypoint' branded stuff is value-add: metrics, more connectors, SaaS stuff, etc. Overall, it's a pretty solid offering for when you need to do either lots of data munging or you gotta write APIs for a legacy backend; needs common in big orgs.

[1] http://www.enterpriseintegrationpatterns.com/patterns/messag...

[2] http://www.rabbitmq.com/resources/erlang-exchange-talk-final...
For the uninitiated what is LLD? What does it provide/ are it's benefits?
Will this deter police from retaliating against someone recording them with a cell phone? I can't imagine it will. Police have a lot of options for retaliation, after all.

Sure, it won't hold up in court if they take you to jail, but it could possibly make your life hell for 24 hours at the very least.

You could lose your job being detained, for example. IIRC they can hold you that long with no justification or reason required, but I'm not a laywer so take that with a grain of salt.

Or weeks, if they really wanted to fuck with you. Just leaving a patrol car around your house for awhile is pretty unsettling.

Maybe I'm overthinking this. I certainly don't want to get on the wrong side of my local PD. I don't even want them to know my name, much less stop me every time they see me or otherwise retaliate against me because I whipped out a cell phone.

It's almost like a chilling effect, if I have that concept right. I might be mixing that up with another term. Thinking of police retaliation makes me not want to record the police at all, out of fear of retaliation.
It is on an SSD.
> It means growth is pretty expensive, but if they ever want to dial back that growth, they can rake in the $.

This is the fundamental premise behind SaaS companies valuations:

http://a16z.com/2015/05/15/a16z-podcast-why-saas-revenue-is-...

Excerpt from that podcast paraphrased "NetSuite and SuccessFactors had their most profitable years during the economic downturn in 2008"
My 0.02 What you need to do is let go of being so deliberate. Speak to your audience and stop focusing on what may be judged coming out of your mouth. Simple but effective. if you want to be interesting, be interested - "Not sure who said it"
Such as what?
Vaguely reminds me of a bug I thought I had in a Python sorting routine (sorting a set of database entries by date/time) - all of the tests passed until I removed some debug print statements, after which it ostensibly stopped sorting and just returned the original order.

I eventually realised that the routine was fine, but my test data was being generated quickly enough that time.time() (IIRC) returned identical values for all of the dummy records (with the print statements, there was just enough of a delay for there to be a few milliseconds between each one).
80% salary assuming my significant other is working either in the same schedule or a 5-day a week now. If not, I'd still do it but I'll probably need to do some budgeting :-)

4 days of work and 3 days of rest is, IMO, the perfect balance. You get enough time to rest that you actually look forward to going back to work (if you enjoy it).

Most of us do a lot of chores on the weekend that we can't do in the weekday because they're only open 9-5. A 3 day weekend would give us more time to ourselves.
I tend to think that, conceptually, it is incompatible with information technology, and that information technology will eventually render it (and, for that matter, the state) inoperative.

But even if you don't agree here, we're talking about events in public, involving public servants, recorded by people who are in no way bound by any sort of state secret framework. This is a million miles from the line.
In theory the reason for this is that Facebook is "stickier" than Google or Amazon. If Google search isn't working for you, you can switch to something else in a heartbeat. If Facebook isn't working for you, you have to get all your friends to switch to something else before you can.

The problem is this is also going to be Facebook's downfall at some indeterminate future date. Because if some other social network ever becomes more popular than Facebook, Facebook is over.
One of the few sources of objective data is the CA DMV's disconnect and crash reports.[1] There, Google/Waymo has two orders of magnitude fewer disconnects per mile than anybody else testing in California.

A certain level of paranoia in the design is required. The kind of paranoia that aviation engineers have. Volvo gets this - they have dual everything, lots of sensors, and their CEO says that if there's an accident in autonomous mode, it's Volvo's fault. Google got it while Chris Urmson was in charge. The others, not so much. Tesla ... many of their customers believe they have level 4 autonomy. Yes. At least one death is clearly attributable to customer overconfidence in the system.

One thing has become quite clear - expecting the driver to back up the self-driving system on a second by second basis does not work. If the driver can tune out, they will tune out. It's now clear, even to Tesla, that if you don't have level 4 automation, you must keep the driver's hands on the wheel.

[1] https://www.dmv.ca.gov/portal/dmv/detail/vr/autonomous/
now if it was a lisp defined in a forth, instead of a forth defined in lisp, now THEN we'd be talking...
Yes! Funny you ask because we push slack integration this morning!
I generally find moral authorities repulsive. This is one reason why I rejected religion.

There are examples of people being ejected from projects because of their personal opinions being expressed outside of the project: this is repulsive to me.

There are examples of proponents of CoC talking to one another about how they intend to inject the CoC into a new project so that they can forcefully eject somebody that they don't personally like.

As a baseline I don't like censorship even if it is "hurtful".
With less on-street parking (and with a denser city), you could make more money staffing your garage overnight
That shouldn't be the bar. You should have a right to not be recorded in certain circumstances. Like how it is generally illegal to record phone calls without notifying everyone that a recording will be made. You may hear with your ears the content of the phone call but that doesn't mean you should be able to record it secretly.

As for what you can see, there are definitely some protected circumstances you should not be able to record. Imagine sitting outside an abortion or AIDS clinic and then posting online videos of everyone who visits these places. Sure you can see from a public street who accesses these services but should you be able to advertise a person's health concerns to the general public? No.
Let Us Give to the Future
DDoSCoin: Cryptocurrency with a Malicious Proof-Of-Work [pdf]
Humans Never Stopped Evolving (2016)
4th amendment is a farce anyway. Asset forfeiture is a direct violation of the 4th and yet has passed judicial constitutionality tests. Asset forfeiture was never supposed to be used on US citizens since citizens can be prosecuted under federal criminal/civil laws. It was put in-place to seize the assets of non-US citizens who could not be persecuted under such laws, such as foreign ships/etc. Bennis v. Michigan was one of the worst SCOTUS decisions.
> Your goal should be to survive the encounter and not be convicted of a crime.

This is how rights are eroded. Your goal should be to live in a free society; capitulating to illegal civil rights infringements is not how to achieve that goal.
I would suggest that you in no way impede what they are doing. If you get in their way, make distracting noise, etc., you probably have a legal issue on your hands. But, if you're at a safe distance, you probably have a good case if they arrest you.

IANAL.
100% agree. They can and do make up shit all the time. A co-worker of mine was arrested last weekend when a crime was committed at his house and they told him to leave the premises. So, he crawled into the back seat of his car and went to sleep (it was 1am Saturday morning and he had nowhere to go). A hour or two later they arrested him because they told him to leave. He was in a parked car on the street. They charged him with obstruction. They dropped the charges 24 hours later.
I didn't get that impression. It read like the reality I noticed during the election and the here and now.
As the saying goes, you can beat the rap but not the ride.

Though I think this is a little tangential to the recording issue. It's just the more universal problem of police misconduct. Hopefully, body cams and little brother recording of police can change this.
What's a "code phrase"?
Thank you super much!
While I'm sure it happens, is there any indication this happens on a large enough scale to actually worry about it? Seems like they'd just get more bad press when you record them harassing you because you recorded them the first time.
The Runner (2001)
This isn't fantasy. Police retaliated against Ramsey Orta for recording the murder of Eric Garner

http://www.theroot.com/nyc-man-who-recorded-eric-garner-s-ch...
A Man Walks into a Bank (2001)
No source, but I saw some comments here or on Reddit saying that getting batteries in the large quantities you need for EVs is very difficult. Tesla's Gigafactory allows them to not have to compete for that supply, which may give them a price advantage over others buying from Panasonic.
What makes you think the police care about bad press?
Boeing's 787 Dreamliner Is Made of Parts from All Over the World
Show HN: Link Shortcuts Chrome Extension – visit pages by typing a shortcut name
"Imagine sitting outside an abortion or AIDS clinic and then posting online videos of everyone who visits these places."

Are there laws against that? I always assumed the crazy loons that sit out there all day were already doing it.
A tendency to escalate is probably a byproduct. For the rest, search for "verbal control." Most people aren't used to friendliness or anger applied tactically, so doing so can be effective for officers.
I knew those people where out there, but there are almost as many people googling "google" as "youtube". Why? How many just want to get to google, and how many or doing something intelligent?
SpaceX Plans to Launch Cargo Mission Saturday Despite Rocket Leak
Rise And Fall Of Theranos In A Biotech Cartoon

http://www.npr.org/sections/health-shots/2016/07/18/48617194...
How to print date-time stamps using UTC ISO
What's the best way to print a date-time stamp in your favorite coding language?

So far I have demonstration code in bash, C, C++, Elixir, Go, Java, Python, and Ruby:

https://github.com/joelparkerhenderson/demo_date_time_format

Feedback and constructive criticism is welcome. Pull requests are welcome.

If you know a language and want to add it, please contribute. Thanks!