skysight-inc/HackerNews huggingface dataset:
Wait, are we talking gasoline for cars here, or natural gas for energy production? Because those are very different things. It's entirely possible for gas and oil power plants to receive subsidies while gasoline for cars is heavily taxed.
Can you show your code, at least?
Go HTTP standard library does use sendfile whenever possible (you need some kinds of file descriptors, etc...)
I used it from 2000ish until around the time that apt-get became good. I can't ever remember a time when sourceforge didnt make me try to click on ads when attempting to download software.

It was certainly a valuable tool and definitely the GitHub of its time, but man- soooo spammy.
> Python/Ruby is single process

That's an implementation detail of your Python/Ruby program. I've written plenty of Ruby apps that have been multi-process and multi-threaded, and both at the same time.

> Now that you have multiple processes, you need something to dispatch between them

Yes, that's the case irrespective of language.

> A single Go process can exploit all the system resources available without the multi-process orchestration required by Python/Ruby and thus does not require the extra layer above.

This is no different than for Ruby at least.

Your criticisms are mostly outdated as of Ruby 1.9.x, though you can get bitten by the GIL. (EDIT: to clarify, avoiding this depends on either multi-process or taking advantage of the fact that while Ruby Thread's can only be scheduled one at a time, C-extensions etc. that releases the GIL can run in parallel with other Ruby Thread's; of course all of this is MRI specific in any case)

In practice, if you use a reasonably modern web server like Puma, you get good concurrency without having to think much about it.
The problem is that while true web apps experience might have improved, the web as the whole degraded a lot since everyone is treating everyting as the app, whn in reality majority should be just a static content sites. Now you download 4MB of crap just to see 2KB of text.
Understanding Docker Networking Drivers and Their Use Cases
Thanks to the work of @mrmm: https://github.com/mrmm
Yes:

http://www.cultofmac.com/311171/crazy-iphone-rig-shows-chine...

The problem with China is that if pressure is big enough someone will create an alternative app store for jailbroken devices and then iphone in China will go downhill the same path Chinese Android did...
Do sporty activities together with your wife and kids.
And I've seen that DaringFireball 'rebuttal' posted a couple of times even though it's false

"No Gruber is just plain wrong. I thought I remembered Cook using "PC" to mean Mac and WinPC, and, after a little Googling, found I was right" [1]

[1] https://myfreakinname.blogspot.com/2016/11/john-hodgman-is-n...
> Probably mainly smoke and mirrors.

That is because CCTV does not directly decrease crime. Instead, it tries to increase the chance the alleged criminal gets seen, profiled, and caught later on which means the alleged criminal won't be able to commit crime for a while due to jail time.

Mass surveillance and CCTV are notoriously bad at avoiding crime or terrorism from happening on the short term though, and as long as there is incentive to either, they'll remain happening.
Exactly! the stdlib is just doing the least surprising thing, which is exactly what it should be doing.
It's not democracy vs dictatorship. It's individualism/pluralism vs central planning. You can have central planning with democratic legitimacy or without it.

But I don't actually think the horrible state of desktop Linux is down to any of that. Device drivers are Linux's big problem. Desktop environments are a simple matter of getting used to them and learning what to tweak.
What kind of anti virus program did you buy for it?
Just to point something out regarding nuclear. The announced cost overrun at Vogtle of 3 Billion USD, would pay for 7GwH of battery storage at tesla powerwall retail prices of 5500 USD per 14 KwH.

3 billion / 5500 = 545454
545454 * 14 KwH ~= 7.6 GwH.

try at google ((3 billion / 5500) * 14kwh) in Gwh

That is the current state of the Nuclear power construction world.

What sane investor is ever going to invest in power generation that is online 12 years after the decision to go?
It used to be a separation of conterns. HTML for structure, CSS for presentation, JS for some bells and whistles.
Now, when everyone forgot what the web was about and see it just and app platform that does not really apply.
All stuff that communicates with an operating system is non-portable. libc++ is an implementation for Linux/FreeBSD/macOS. /dev/urandom works on all these platforms.
Almost certainly not hard-coded. Anyone of Mark's friends with a lot of followers and a public profile will probably be famous.
So basically, the standard library is implemented.. exactly as youd expect it to be.
> I don't think the mutual exclusion problem is typically that bad with modern java - profilers let you visualize your locking issues, atomic variables let you squeeze cycles and really the correctness problem is not that hard, it's the performance optimization problem.

This only allows you to strangle yourself in a more CPU-efficient manner.

Locks et al. are low level interface, too low level for a language that
pretends to be a high level one (like Java does).

> The other important point is that as soon as you get into working in a clustered environment, you start having to think about distributed locks and concurrency when there is not even a shared clock to rationalize things.

Once you go into clusters, you loose your precious notion of shared memory
anyway (unless the distributed shared memory is still a thing; I haven't
checked lately, but I thought it was an abandoned paradigm).

> So, for product oriented engineers, great go use nodejs and you can write JS on the front end and the back end and it will be absolutely tremendous

I don't know why are you implying that I either work on frontend, with web
applications, or Node.js. I do none of these.
How to Serve Django Applications with UWSGI and Nginx on Debian 8
There is so much irrationality in this thread and in public opinion in general... it makes we wish I could personally bet on Uber's future success.

However, Uber is staying private, so they don't have to cater their long term plans to the whims of random people who have no idea what they are talking about. (I include myself in this category)
The weak points of D?

If you want the high-level view by the project leaders what needs to be done, look at the vision document: https://wiki.dlang.org/Vision/2016H2

D certainly needs more libraries, but which language doesn't? The currently available stuff is: https://code.dlang.org/

Further stuff depends on what you would use D for. You describe yourself as a "Python programmer". Web development? In this area D is still weak. There is only one solid framework http://vibed.org/ which does not officially support any SQL database (it has Mongo and Redis though). Personally, I think vibe.d is fine for micro services, but it is still a long way until it could compete with Django. I built a prediction market web app with vibe.d. It has hand-written SQL queries (should probably have used https://code.dlang.org/packages/hibernated). I had to write Github authentication from scratch. There are few conventions, which is irritating if you are used to follow Django tutorials. You feel lost.

That is my experience with D. Personally, I have no issues with the standard library like the ranter, but I assume I'm in the minority with that.
Beauty+Tips+And+Tricks+|+HerBrand.co
I can't stand running and other boring cardio. Try to find a sport that you can enjoy (and that your body can handle). For me it was BJJ, lots of fun and you get plenty of cardio at the same time.

But you are doing the right thing by focusing on losing weight through nutrition.
I think after 10 years of being an adult and having relatively little money, it's not a question of whether I want a new car or not, it's just the simple matter of not being able to afford one. I can't afford to buy my own home even though I'd be saving money on the mortgage compared to the rent. I can't afford nice holidays even though it suggests I'm more inclined to do that.

I think a better title would be "Millennials aren't cheap, they're just poor..."
IMO moving from Travis to Jenkins seems like a very disruptive change.

As for me, I had used Travis just a bit, and same for Jenkins, and didn't like any of those options very much.

So when my team needed to setup a CI solution, we ended up using GitLab CI, and it brings the best of both worlds:

- Free service version if you use the GitLab.com deployment (granted, gitlab.com is a bit slow because it's the new thing and everybody is using it now), like travis.

- Open source so that you can host it yourself in the future if you need to, like Jenkins.

- Easy to use and configure, like Travis.

- Free service for private repos in GitLab.com (neither Travis nor any Jenkins-service provider offer this, AFAIK).

I plan to never look back.
Separation of concerns == totally valid

However, "Separation of concerns" doesn't always mean the separation of programming languages. Its completely reasonable to have one file that concerns itself with one thing, yet is comprised of different languages.

Bash programmers know this to be true.
> Why is that an important distinction here? Both direct subsidies and tax credits/rebates/write-offs have the same net effect on the government's coffers.

It has a different effect on the entity being taxed. A tax write-off increases the rewards for an already profitable proposition, but tax write-off don't normally incentivise someone to do something that is a loss (unless the write-off is transferrable to other profits, but that's a separate question). Subsidies, however, can make a loss into a profit, incentivising people to do it. That's exactly the point of the original solar subsidies.

Now that the solar industry appears to be relatively well bootstrapped, it's not unreasonable to remove the straight subsidies. I think solar still enjoys many if not all of the same tax write-offs as other energy sources.
I think we'd be smarter as a society if we did away with the term "millenial". Pretending like "everyone under 35" is a group with common goals is too much.
I might have to clarify, I wasn't talking about obese people who are addicted to food. I was thinking more about all those people who "just need to lose 5kg" and yet 2 years later they are still the same weight (or heavier).

Addiction is a different problem, but losing weight itself is easy if you track calories (I know lots of people who claim the opposite).
https://m.youtube.com/watch?v=1SrHzSGn-I8

Feynmann pretty much settles it.
I think most of these are just a transfer of wealth from the high-tax-paying consumer to the low-tax-paying rich industry owners. Just business as usual.
One of the great things about C++ is that it weeds out the shitty developers. Not that there isn't plenty of shitty C++ code out there. There's just not a lot of C++ code out there that's both shitty and kind of works. If you don't do C++ right it will fail spectacularly. Poorly written software in languages like Java, Go, Python, etc. can hobble along miserably for decades because when it's broke it probably still kind of works event if it's slow and constantly spits stack traces. A C++ program has to be beautiful or it probably wont last long.
Same here, go feels "fun" for some reason.

Maybe its the well-thought standard library, maybe its the way the compiler helps you. Maybe its because we can actually catch bugs at compile time instead of those runtime errors and silent drops of javascript
Problem is that each software upgrade from Apple contains important security and reliability fixes. You get those even on old Mac hardware (my MBP is 6 years old now). On a Hackintosh, you don't know whether those software upgrades are going to work, or if they will break or brick your system. On top of that, when I looked around, I couldn't find some kind of good guide advising me which ultrabook to buy as Hackintosh. There's no clear comparisons and just a lot of homebrew mentality. I'm not interested in that; I want something which works well, and stays working well.

> OS X also has a lot of mindshare.

Sure, but I expect that to go down now. IMNSHO, YMMV.
Google is indeed a software company the same reason why the "big 4" firms are considering accounting firms.

All the big 4 accounting firms have HR, legal, PR people, in addition accountants but the reason why they are called accounting firms is because accountants dominate their hiring.

In other words, accountants make up the bulk of the people in their revenue centers.

Same with Google: they hire a lot of software engineers that contribute directly to their revenue.
The vast majority of people live/work in one place. No citation needed, just common sense.

Sounds like you're suffering from a pretty severe filter bubble.
Do something together with your kids. They will enjoy it too.

(Maybe not cycling or running though... but they will probably enjoy stuff like rock climbing)
In my rather small city (~600k) there are already like 5 different uber-like options. And at least three of them were before the uber came.
Dislcaimer: I've never used uber and I hope I never will. I dislike them as a company and that dislike grows over time.
This has been going on forever. 3-tier client-server code bases had problems separating "presentation logic" and "business logic" because often they're very very closely connected.

React runs on the client. It runs the logic needed on the client. And there has always been some logic required on the client, otherwise you end up refreshing the screen for every.single.validation. which is a total PITA.

Given that there's some logic running on the client, then maybe running more of it there would be a good thing. This is the principle behind SPA's after all, and they've turned out to be a Good Thing generally. Not suitable for every use case, mind. So do we then need a separate Logic Layer for logic that isn't to do with Presentation? Where do we draw that line given that the whole thing is running on the client? How do we keep the thing clean and stop bits of logic being run on random button events?

React makes perfect sense when you look at it as an answer to the problem of "how do I add logic to my presentation layer and not end up in a mess of spaghetti code?"
What about goroutines?
I think the common goal is fuck Brexit, at least in the UK. When will these old people die already/get out of politics and let us decide our own future? So we can mop up the mess they imposed upon us?
Using Appium Image Recognition for Mobile Game Testing
It's true that the amount of sunlight varies greatly per region. A lot of people imagine a future where northern Europe would get its energy from solar plants in Spain, or even the Sahara. That would require high capacity long-distance power grids of course, and I'm sure that's not trivial either, but I'm sure it's a solvable problem.

But if the price of solar panels keep plummeting like this, it seems sensible to first cover all roofs with them and see how far we can get.
I never get these screenshots of desktop backgrounds. It's background-porn. The fact that it's made on Linux and has a Linux menubar and different fonts than Windows or Mac - who cares?

I've used Ubuntu since seven years at work, the mac since 17 years, Windows not anymore since seven years, unless when helping others. I would change to Linux anytime if all would just work, meaning Photoshop and other software that now doesn't work. Plus the mac is still my favorite piece of hardware. When I bought this 2015 Macbook, I've looked for a good Linux laptop, and came out at about the same price. Then the choice was easy.
https://keybase.io/docs/kbfs - "Performance: We've made no performance optimizations yet. There's a lot of low-hanging fruit."
I'll definitely check it out - but the problem with many of these tools is a lack of "proper" Docker support, along with the ability to self host and debug. Thanks for the heads up!
> But storage isn't a solved problem.

Is there sufficient market pressure to drive demand for grid-scale storage? Batteries have been mostly driven by weight constraints (mobile tech, cars) and not by the need for large-scale stationary deployments.

I think that when renewables reach higher levels of grid penetration they will increase the demand for storage with different tradeoffs.
No I didn't miss it, I just don't think that duality is inherent to OOP and is pretty much a byproduct of OOP languages being imperative, mutable and referential, which makes OP conflate all those properties.

What do you think prevents OOP languages from implementing automagical non-referential equality by data traversal by default like FP languages do? Is it some property of OOP itself? IMHO it's not a property of the paradigm.

The duality is still present in FP languages, it's just hidden under a nice automagical layer.

(= (cons :a (cons :b '()))
(cons :a (cons :b '())))
=> true

Both lists are still separate memory regions. They're the same data only in a platonic way and there's nothing that prevents OOP from implementing the exact same abstraction.
Human or Machine? Make your guess quickly
By kneejerk I agree with you, but if that group (I belong in it) can be measured on a number of points that you can glean any information from, it might have some value, and it would need a term. Baby boomers, Generation X, etc, etc aren't one person either, but there were generational and societal factors that made those distinctions relevant, and still do.
Next, Uber will raise enough money to boil the ocean. Now their self-driving trucks can go from continent to continent, completely obliterating the container shipping business!
I tried Ubuntu and couldn't get over the ugly font and not being able copy paste from anything to anything else. Plus there's no good power management on laptops and no PC ever came out with a quality trackpad that can match macbook.
Introducing Matcha – Watch Instagram Stories Around the World
So the signature gives you confidence because you trust the signatory?
Nobody mentioned quicksort. You're assuming quicksort, which is what the issue is. Many languages don't actually use quicksort, fyi. The practical performance considerations of just quicksort itself also change depending on how you've implemented the small details - are you moving memory around, or just changing pointers? Huge difference in the real world, no difference in the algorithm.
Isn't this a mindset shared by every "generation" before us?
Hey Hacker News!

Together with my partner in crime, Freddie Iboy (@freddieiboy), we set out to build the next step of a product that I launched 4 months ago. Matcha is the culmination for my extension, Chrome IG Story. Quick re-cap of the hack:

We invented our own mechanism of pseudo-fetching Instagram Stories from a particular location. There doesn't exist an API or a way to get a story from a location so we had to be creative and pioneer one. By expanding the reverse engineering of the private stories API used by my extension, we built a process that searches media on Instagram posted at a particular location, then we look to see if any of the users who posted that media have a story. We rely on the fact that someone posting a photo at a location within the last 24 hours probably has a photo on their story taken near that location as well.

It’s definitely scrappy but this means that we can potentially show Instagram Stories from any part of the world but technology is rarely enough--a great product can profoundly touch people around the world.

Freddie’s day job is a product designer at Tinder so he’s deeply fascinated by how technology can shape human behavior. He pushed for creating a new addictive TV product for a new generation. You can read more of his thoughts on his Medium article: https://medium.com/@FreddieIboy/introducing-matcha-watch-ins...

We both deeply respect the product team at Instagram and we’re big fans of how much they’ve pushed the Instagram product in the past year. This is our small contribution.

Btw, this is a beta launch so if some countries take a while to load, wait a minute, reload, or surf other countries. Also, performance might not be the best. We're working on optimizing everything since the browser is loading tons of stories. If you are in the US and have Top Live Videos enabled in your Instagram app, you can also watch (stream) Live Videos within Matcha - realtime comments and hearts coming soon.
I am a bit puzzled about this: if the important part is being in a "less interactive" environment, what about getting a job as lightower guardian, or retire to a cabin in the woods and drive to the nearest town only for groceries and supplies?
React is popular because of Facebook just like Angular was popular because of Google. Both are bad ideas. Why programmers insist on running off a cliff every few years like a bunch of lemmings, I don't know.
> the dependence on /dev/urandom as an absolute path is the most jarring to me.

Why? You use the system supplied entropy source; for each implementation it will use the appropriate one for the platform.
As a language designer, I highly admire the design choices of D and happily copy them.
GitLab CI has proper Docker support. You can set a default docker image for each runner `--docker-image ruby:2.1` or set one for the project in the .gitlab-ci.yml file. For more information see https://docs.gitlab.com/ce/ci/docker/using_docker_images.htm...

Did you know GitLab also comes with a private container registry? https://about.gitlab.com/2016/05/23/gitlab-container-registr...
> RC/GC everything (or ad-hoc memory management) is the wrong approach for a systems language

D agrees with the "everything" part. D wants to give you options, so you can use GC/RC/manual where appropriate.

Sadly, I have not found the time to wrestle with the Rust borrow checker myself. I still have doubts if it is worth it. For example, assume you write a graph data structure. To pass the lifetime analysis, you have to store the nodes in some background store vector. If you want to free/reuse memory of nodes, Rust essentially requires you to write a garbage collector for the nodes yourself.

Afaik there are plans to add an optional GC to the standard library? So ultimately, D and Rust converge to the same point from different angles. Both want all the options. Rust started from safe manual and gains options. D started with safe automatic and gains safety for manual.
> I tried Ubuntu and couldn't get over the ugly font and not being able copy paste from anything to anything else

Please elaborate. I mean... Universal copy paste has just been working the last 20 years... Unless I'm missing something basic?
LSD SUPPLIER
I have been worried on how to get a constant and reliable supply of LSD and Hi-tech Codeine until I stumbled on Xavier shadow as he is called. Initially I thought it was a joke when we he said he could get the stuff to me and a couple other hard drugs cos I had some friends who needed as well.I was in Manchester at the time and wanted to be sure about it so I linked him to my Uncle in Canada who was ready to risk any amount to get the LSD a some other stuffs but needed someone reliable who could give him a constant flow.

Three days later, I got a called from my Uncle confirming he had received the stuffs but I kept wondering how he played it through the numerous security checks to get them into Montreal. With my uncles testimony, I now gained the courage to place my order(LSD, Hi Tech Codeine and Al-Lad) and when I received them I confirmed our Security is flooded with some Bunch of Cork Heads. He told me it's never easy to break through security but cash MAKES EVERYTHING POSSIBLE. He told me It's a whole Network that connects many other countries breaking through the security by using the security guys themselves.Since then I have been getting a constant supply anytime and Anywhere with traceable deliveries.

Now I believe you can get anything you want online Legal or not.You can get him at-drxavier.hmedic@gmail.com