skysight-inc/HackerNews huggingface dataset:
Every language has its warts but R is actually the least disliked language https://stackoverflow.blog/2017/10/31/disliked-programming-l... and http://blog.revolutionanalytics.com/2017/11/r-is-the-least-d...

I really enjoy R and the more I learn programming the more I enjoy it. Best thing I ever did was learn the language Racket and How to Design Programs and Hadley Wickham's tidyverse.

I moved from Python to R about six years ago. Before that I did most of my work in the command-line. R's rise in popularity has been caused by the libraries in the tidyverse and data.table. The millions of dollars invested into R by many companies and an amazing eco-system

> You can use '=' and '<-' to assign values to variables and both do the same, except in a few edge-cases where you now spend one week finding the error

Its just R's symantics. It is almost universaly spoken to just use <- for style consistency and edge cases. Use the RStudio shortcut `Alt` and `-`. The reason you spend a week is the reason why it is recommended for all users to just use <-.

> It confuses and mixes functional programming and oop not only per entity but also between the usage of them. Want to get a value of entity X? use x.getValue(). Want to get a value of entity Y? Use Y.getValue(y).

R comes from S the creators of R were also inspired by Scheme. Personally I learned the language Racket to be a better R programmer and I pretty much live in the Functional side of R. I actually like the fact that they added more functional core to R from S+. http://r.cs.purdue.edu/pub/ecoop12.pdf

> The ide crashes once an hour and does not detect file-changes which forces you to restart it manually.

Then use a different system. R does not equal RStudio. I have never experienced this and I have worked in Linux, Mac and Windows 7 - 10. To me RStudio is the best example of an electron app and the only IDE that I actually use the built in git feature. R Projects and RWorkbooks are the best features of RStudio.

> People say R is the best and optimized for data-analytics which is simply not true. It's a marketing-lie spread by the creators. There is no data-analytics-task that you cannot do with the same ease in other programming languages.

So R is just as easy to use for data analysis and has best in class statistics? Also I think tidyverse is much easier than any other data analysis system I have ever seen, but I guess that is just my opinion.

> It's a marketing-lie spread by the creators.

What does Ross Ihaka and Robert Gentleman have to gain for marketing and what lie has they ever said. This falls into conspiracy theory.

There is a large community of R users and we like R. There are a ton of
Ask HN: I'm a solopreneur and I feel demoralised
Created a throwaway for a variety of reasons. I am currently running a profitable service business, making $10k+/mo. But I feel miserable and I don't understand why. The work I get to do is easy and enjoyable. The clients I get to work with are great. Once I get started working I get stuff done pretty quickly, but the problem is getting started every morning. ONCE I get started, everything is fine, but every day I feel demoralised to GET STARTED. The time period of waking up until getting started feels absolutely miserable. I have no idea how to solve it since, from my perspective, it isn't clear what the problem is.
Like I said, the work + customers are fantastic. But why do I still feel so demoralised and horrible every single morning?
How could I solve this?

Update: Additional info

* I work from home

* I only work 5 days a week, around 3/4h a day.

* Don't follow a specific diet and don't exercise regularly

I've been struggling with this feeling for a few months now and I can't seem to see why. My days are not long, the work itself is fun, but to get started in the morning is absolute hell. I keep postponing work until late in the afternoon sometimes.
Whats the difference between unikernels and kata containers?
Bitcoin hits $15,000
FreeBSD jails are known to not be silver bullets. I've heard many instances of breaking out of a FreeBSD jail.

Generally, treating any OS-level technology as a silver bullet is a huge mistake. Any serious developer would make multiple levels of security that _should_ be sound.
The difference here is that the individual cores on this are very fast. Unfortunately I cannot publish benchmarks because of NDAs, so you'll have to believe me on this until the hardware is more widely available.

https://rwmj.wordpress.com/2017/11/20/make-j46-kernel-builds...
It is nonetheless interesting that Google have killed this off some time before a complete replacement is ready. It reminds me (to a slightly reduced extent) of how Google Gears was killed off completely before an alternative for its offline support existed—it was four years before service workers fixed that. Still, removing such things early has helped people adopt the standardised form rather than continuing with a Google-specific thing, so as a Firefox proponent I’m glad they did it this way each time, however little sense it seems to make from Google’s and the user’s perspective (seriously, they actively removed offline support from Gmail—and they still haven’t reintroduced it).
Is your remark about the memory requirements about what the tool's functionality itself would consume, or the complete application (including the Electron runtime)? I was under the impression that each Electron application would require as much memory as an instance of the Chrome browser.
I respect people who choose Macs and MacOS but there are reasons why I use Linux Mint and other versions of GNU/Linux.
That's coincidence, though. runV wasn't inspired by Hyper-V.
This is extremely low. And what about now, after the 10,000 IU/day supplementation?
Best thing I ever learned about R was it's scheme influence. I ended up learning Racket and it changed everything I have ever coded in R. Actually I have made Racket my main general purpose language of choice after going through "How to Design Programs."
ICO News: Israel Is Planing to Regulate ICOs
Minor nit: It's the Dartford Bridge Crossing, not Dartmouth (which is in Devon).

Although, bizarrely, if you enter "dartmouth bridge crossing" into Google, it'll return the Dartford one.
If it's using Hyper runV, my guess is that their intent is to be compatible with OCI and Docker.
Many companies outside IT see software development as a cost center, ideally outsourced somewhere, not as something where UI/UX matters.
Like pension funds and passive ETFs that are shareholders of most if not all public companies?
Liverpool, merseyflow, and I’m a long way from alone - there’s one sign, a website (merseyflow.co.uk) with major availability and usability issues, and they charge a toll on both the old (used to be toll free) and new bridges.

The first month of operation generated £1M of revenue from fines alone. https://www.google.co.uk/amp/www.liverpoolecho.co.uk/news/li...

The same article asserts a revenue of £50m+/yr from fines for dartford - same administering firm. With toll barriers this revenue would have been zero.

Looks pretty strategic to me.
I'm sure there's more, but the most obvious is that they share one running kernel. So, one kernel exploit in one container means you now have all the running containers.
I got a Vitamin D test a few months ago via http://www.lifeextension.com/Vitamins-Supplements/itemLC0819...

The "Vitamin D 25 Hydroxy Blood Test" was $47. I got a blood draw order signed by a doctor that I had to take to a LabCorp - so make sure you've got one near you.
If you don't control your own private keys, you don't have any control of your own money. Satoshi certainly did not think using light clients while controlling one's own private keys contradicted the principle of "peer-to-peer electronic cash".

No matter how you try to spin it, you can't make a future where the vast majority can't control their own private keys sound consistent with Satoshi's vision, or rewrite the public statements Satoshi made about how Bitcoin should scale.
As mentioned below, Dartford Crossing (bridge + tunnel) is an automatic toll (using ANPR).

There are also a few other places which use ANPR for charging (Betteshanger Country Park car parking springs to mind) but I don't think you can consider those "tolls" in the traditional sense of the word.
Vive Focus specifications revealed, pre-orders will open on 12/12 for $600
I looked: you are so, so right. The 3rd edition, with all the ugly colors and drop shadows, looks like a middle school textbook. If I ever buy this book, and chances are I will, I'm going to pick up a copy of the 2d edition. Thanks for the warning!
The answer to all of your questions is no and here's the important distinction to the roads-problem: private vs. public goods / services.
> native Wayland support

It's still pretty unusable though :/ The default for Qt apps is via Xwayland in Fedora for example.
Different approaches to isolation. A kata container is using Clear Linux to load a feature-complete Linux kernel into tiny VMs (disclaimer: I do not know exactly how it's different from any other VM,) a unikernel is a small bare-metal "library" that gives you minimal OS-like functions to put in a hypervisor to run your application. Unikernels are still more minimal, I'd guess.
In this case the most pragmatic thing to do is to ensure nothing in your application can ever be null - use asserts during development, empty lists, null objects, etc. Also never catch NPE's, if there is one after all those precautions, it's a developer error / bug and should be punished as such.

The problem with optionals - as Sonar will complain about - is that people will call `.get()` on an Optional without first checking `.isPresent()` for example.

Lots of things in the language that allow you to shoot yourself in the foot that other languages have solved.
Don't you want a message queue like Sub/Pub?
For sure, Qt is great even for CLI applications (if the dependency is not an issue).
I totally disagree with #2. What relevance is the country I reside or the country the company was founded matter? Half of the time companies have registered addresses all over the world for tax reasons, not to mention things like franchises, subsidiaries and other legal structures that complicate things further.

"I know who is handling my data", really? You know their registered name but nothing about them or who they are, where they are (in the country), are they big/small, reputable, been established 2 days or 2 years, have 5 staff or 500 staff, nothing. In all honesty, the browser presenting that to me in the address bar has absolutely no value. It's a simple text string, how can it?
I'm of a different opinion: that Qt was good, but became great with Nokia. QtQuick (with its hardware-accelerated scene-graph based rendering system for rich UI's with ultra smooth animation) is awesome and QML is a very nice and pleasant way of declaratively creating UI's. Sure, you'd want to minimise the use of javascript, but QML + C++ is a pleasant experience, in my opinion, and much nicer than QWidgets.
That's one of two things I always dreamed to have attached to numeric values and used/propagated automatically by a programming language. The second thing is error bars.
Maybe a question of how long you are doing this?

Getting a month off could help if you are in constant "work mode" for over a year or something.
Doesn't Spivak get into them?
> can only install packages from the interpreter

If the package has been downloaded, it can be installed with R CMD INSTALL
Flash and Open Source; What Every Data Center CIO Needs to Know
These are called estimated scores, as they have not yet gone through the SPEC.org reporting methods.
To me, this is reminiscent of a time when people never thought we'd own personal computers because "what's the use?" I'm putting my bets on the technology making its way into costumer products as it matures.
"This guy did 1000 code reviews and you'll NEVER guess what he found at #123!"
There is actually "negative" support in iOS.

You can add a website to your homescreen in safari, but when you do it uses a different rendering engine, with different levels of support.

Take WebRTC which was recently (partially) added to iOS. It will work great in safari, but if you add the site to your homescreen, it is no longer supported.

The job of telling users to remove homescreen shortcuts to use a new feature is a nightmare.
Something that I see a lot in the discussions around EV is "the EV indicator might make users feel" x, y or z.

Not to sound too harsh but I don't care about making the user 'feel' anything. I want to make them more secure.
We need immigration to have foreigners come here, make stsrtups, grow our economy, and create jobs.

The student visa should lead to a green card. Since it does not immigrants go back to their home nation and do startups there.

Not to be political, but Trump does not get that yet.
The Autonomous Revolution Is Here (Autonomous Surface Vessels)
They've also uncovered and fixed plenty of bugs in wine, and implemented a lot of missing functionality.
actually address sanitizer has been ported to gcc, so it is no longer a clang only thing.
last time i checkted it did not not support stack switching (cooperative scheduling). Is there any change in this area?
lavabit them
I just downloaded the update. Apparently it only works for Premium users for the first few weeks due to high demand.
وظائف الخليج اليوم 7/12/2017
Guess Qt gets more performance?

But more often than not Electron is good enough and there are even approaches to get JS on the desktop with less memory consumption than Electron.

https://github.com/pojala/electrino

https://www.nidium.com/
Qt (and QML especially) is, in my opinion, the best way to do any modern-non-web UI work. Its built on a hardware accelerated scene-graph allowing for smooth compositing and animation, QML is an easy to use means of creating your UI and connecting it to C++ (especially post-C++11) is trivially easy allowing for good solid high performance UI's. You can also use Javascript if that's your thing, but for large applications (or iOS where its interpreted) you will need to take care to not run into performance issues. For small applications, its not a problem though.

Additionally, QWidgets, the old pure-C++ based UI libraries are still available too. It also bundles a ton of other stuff, an embeddable web browser, javascript engine, collections library, concurrency library, networking library etc.
> PS: I would classify Ford Europe as an Anglo-German car company : Design and Engineering are mainly in Cologne and south UK (e.g. Chelmsford). There is actually not that much sharing with the US, most of the European line-up is specific.

Note this is slowly changing now, with ever less duplication of similar car models around the world.
> That's like saying in the 90s, "why do we need 1Gbps internet, 56k is completely enough to check your emails or browse newsgroups."

Not really, since QC is not computing like today except a lot faster. It's a very different way for solving some problems. They are not general purpose computing devices.

> And the ancient supercomputers are now in our pockets

Yeah, about that pocket-sized dilution refrigerator...
Not true. Linaro is a thing, ARM also provides a first party compiler that is pretty good.
Sure, but my comment was about the effect of subsidiaries to profitability of given farms. What I see, as a small scale farmer myself, and as having family members having executive roles in big industrial farm conglomerates, is that those subsidies have effect on pricing of farm inputs.
In my case it was true, because I became ineligible for overtime.
Then why would he travel to the US?
I live in DC and I recently took a trip to a rural part of America. I must say I was a bit shocked. I have been in my little metro bubble for so long that I was completely out of touch with how rough rural areas are looking.
I got a PDP-8 emulator with a really cool blinking lights display here: http://obsolescence.wixsite.com/obsolescence/pidp-8
my friends think I'm a geek.
https://bitcoin.org/bitcoin.pdf
What was your best passive income in 2017?
What is your best source of 'passive' or recurring income?
So there is no country called "Input/Output", what a bummer.
Echos, memes and algorithms
This one is very simple: It's a bug. It should realize that you're not actually dereferencing i because it's immediately passed into a reference. Sans any bugs, this optimization should actually work just fine.
> but if you must fail, do it as soon and as noisily as possible.

So basically, spam on stderr and abort(). This is not exactly better than exceptions.

> the exception paradigm requires the intimate knowledge of the software to interpret, as it normally vomits a call stack trace. But in production, to the user of the application or the poor system administrator, or even to the programmer who isn’t intimately familiar with the software, that information is nothing but retching vomit, often with no clues as to what went wrong where!

Again, it's printing stuff to stderr, or having the exception system print stuff plus stack trace to stderr. The latter is strictly better than the former. It gives you more clue than printing what would otherwise be an exception message to stderr and aborting on the spot.

And using exceptions do not preclude you from being able to "repair what you can". In fact, it can help it.

I don't like exception abuse either, but it's still better than the C way.
Stateful Multi-Stream Processing in Python with Wallaroo
Except, he may have a trump card significant enough that the mutual knives to throats will ensure his reward upon his inevitable early release. Enforcement doesn’t require legal means - it’s called blackmail.
A few years ago the Winklevoss' said their target is $600,000 per coin. When I heard that, I thought they were insane. Now, I'm not so sure.
In the case of Brexit "Fear of immigration drove the leave victory – not immigration itself"

https://www.theguardian.com/politics/2016/jun/24/voting-deta...

Dominic Cummings, architect of the Vote Leave campaign has been pretty open about what they regarded as the winning factors:

" Would we have won without immigration? No. Would we have won without £350m/NHS? All our research and the close result strongly suggests No."

Even though I was a Remain voter I have to credit Vote Leave with how dynamic and data driven their campaign was - they knew what buttons to press based on large quantities of raw data.
Fuel taxes are a very crude tool, road tolls are much better instrument to actually regulate the behavior you care about.

If you raise fuel taxes because there's too much congestion that's going to equally affect someone who lives in some rural area where congestion isn't an issue at all, and someone who's driving down a busy freeway every day contributing to congestion.

You also raise the price of gasoline, which has other uses that have nothing whatsoever to do with road transport.

If you want to discourage specific behavior you should tax that specific behavior, not tax something one or two steps removed from the behavior you care about.
Ask HN: What do you really don't like about status/stand-up meetings?
I was wondering what people really don't like about these meetings. Is it just about the time spend or is it about something else? What would you do to keep in sync with your peers if stand-ups had never been invented?
Amazing. I assume AlphaZero knew the basic moves of the pieces, but had to figure out defensive moves etc. against the other computer 'on the fly'? Are those learning games included in the statistics (which include ZERO losses)?? If so, it is a remarkable learning engine.

Shades of WOPR. "This is a game nobody can win..."
Anyone with a programming background getting into R should absolutely go read _Advanced R_. I've been using R off and on for a while now but Advanced R was a real revelation. All of R's weird behavior finally made sense.

Edit: Also there is a 2nd edition in the works: (confusingly hosted at the same subdomain of a different version of Hadley Wickham's website.
https://adv-r.hadley.nz/
The same applies to public goods/services though. E.g. if you can afford the electricity (public utility) to mine bitcoins, should we not?
Because EU tech companies are not really comparable to SV companies, capital is not that easily available just for the sake of growth. I guess there is a significant difference in business mindset. SV companies are in the game since the 70s.

There are simply much more well funded companies in the US, desperate to find good candidates, thus driving up salaries.

What's also interesting to consider is that developers here seems to be fine with earning close to non tech jobs employees. You can do really well in many industry sectors. As a bus driver in Germany you can earn $31,435 which already buys you an ok level of living.
> Instead of cramming as much optimization into undefined behavior as you can, maybe don't allow the undefined behavior in the first place?

A compiler that doesn't allow any undefined behavior in C or C++ code will reject most of the existing C or C++ code bases out there.

Idealistically speaking, it would be a good thing. But a C compiler that wouldn't compile the Linux kernel or Chromium or Firefox wouldn't be that great in practice.

Clang and LLVM are doing good work in detecting, reporting and rejecting undefined behavior but there's a lot of work to be done before rejecting such code is a realistic option.
Yes, but the probability of such a show of loyalty to, nothing really, except maybe the principle of not being a snitch, would be dropping very low.
> I have to credit Vote Leave with how dynamic and data driven their campaign was

Almost all of it was false. There's no credit here.

> they knew what buttons to press based on large quantities of raw data.

Well, they do have a large country backing them.
WooCommerce Customizer
Yesterday's discussion here: https://news.ycombinator.com/item?id=15858197
Site now mobile friendly
Unfortunately very few doctors keep learning and try to be up to date with the current research (I don't blame them, they are extremely overworked). Especially their diet advices are so laughable.
If SEO Experts Tell You These 5 Things, Don’t Hire Them