skysight-inc/HackerNews huggingface dataset:
> half of Internet users in the U.S. listen to music on YouTube -- by far the most popular access point -- but YouTube is responsible for only 4 percent of revenue to the industry,

> Song downloads and streaming music account for 70 percent of U.S. music sales. But the industry's total revenue has dropped by 66 percent since 1999.

The profusion of bullshit "statistics" being used the advance a prejudiced position is so grating. I know why the music publishers are doing it, but the journalists don't have to just repeat it. There are actual interesting numbers that could be calculated.

Of course music revenue is down after moving to a massively more efficient platform. Profit is the relevant metric.

50% "listen on youtube", and generate "4% of revenue" ... I don't even know how this could be changed into a meaningful statistic. I guess you could compare TV+radio listener numbers and revenue share 1996 versus 2016 ... for it to really make any sense you'd have to compare listeners and revenue through all mediums. If there is a change of composition away from high-revenue mediums to lower revenue mediums, that would be more relevant.

And why use the year 2000 as the baseline, when recorded music has a 100-year history.
I've seen this while conducting phone screens. Obviously, it didn't work out for them. But I don't blame them for trying; they were already completely flubbing the interview anyway, so why not go for a hail mary?
What about using this pattern matching visualisation with SNOBOL? I'd suggest it could be better for this than RegEx.

http://langexplr.blogspot.co.uk/2007/12/quick-look-at-snobol...

"The most interesting thing about the language is the string pattern matching capabilities. Here's an small(and very incomplete) example that extracts the parts of a simplified URL string:

LETTER = "abcdefghijklmnopqrstuvwxyz"
LETTERORDOT = "." LETTER
LETTERORSLASH = "/" LETTER

LINE = INPUT
LINE SPAN(LETTER) . PROTO "://" SPAN(LETTERORDOT) . HOST "/" SPAN(LETTERORSLASH) . RES

OUTPUT = PROTO
OUTPUT = HOST
OUTPUT = RES

END

In line 6, the contents of the LINE variable is matched against a pattern. The pattern contains the following elements:

1.The SPAN(LETTER) . PROTO "://" section says identify a sequence of letters followed by "://" and assign them to the variable called PROTO

2.The SPAN(LETTERORDOT) . HOST "/" secotion says take a sequence of letters and dots followed by "/" and assign then to the variable called HOST

3.Finally the last section takes the remaining letters and slash characters and assign them to the RES variable"
>To their credit, they claim to know nothing about how their contractors employ people.

Captain Renault: I'm shocked, shocked to find that gambling is going on in here!
[a croupier hands Renault a pile of money]
Croupier: Your winnings, sir.
Does PyPy embedding get around the GIL?
> There are cellphone chargers on ebay that cost $1 and take AA batteries, which are quite capable of charging any phone that supports the USB charging interface

Please do not plug your $600~ smartphone into a $1~ charger. That's just asking for trouble.
Dave Cutler (https://en.wikipedia.org/wiki/Dave_Cutler)
Any ideas on what kind of powerbank / battery to couple a RPi with for some outdoor action? A friend at work did some tests with his powerbank and his Pi2 was burning through it pretty quickly, and I don't suppose Pi3 will be any better.

Also, I love the sewing electronics into the backpack part :).
Of relevance: http://krebsonsecurity.com/2015/11/the-lingering-mess-from-d...
Specifically about British computing is Electronic Dreams (Tom Lean) (disclosure: I went to university with the author).

The Cogwheel Brain: Charles Babbage and the Quest to Build the First Computer (Doron Swade) is also an interesting read, especially as Babbage's ideas were eventually vindicated when the Science Museum built it in the 1990s and it worked.
I thought it was pretty clear--despite saying they wouldn't, they sold the students' data.
You just love to spread this misinformation, do you?

Strangely it also excludes the BMW i8 and the Porsche Cayenne in their hybrid variants.

Obviously the German government is doing all it can to thwart those evil German carmakers. Oh, and Tesla, right.
Agreed but reliable generators are a key component to fielding an effective military, and the leadership seems to spend lavishly on the military. Perhaps it would motivate a local capability to build such generation capacity? I don't know, just guessing here.
I do. It can't find "Django Django", "Cloud Control", etc. There are dozens of others, but I can't think of them off the top of my head.

Even if it did have a full library, it nearly always picks terrible, garbage songs from artists when shuffling them. I just told it to shuffle "Foals", and I don't think I've ever heard this song before. I don't like it, whatever it is.
I can't find anywhere where it states what type of plan this needs. Where did you find this info?
You aren't their target audience. Think about most other, less technically savvy people in the world — they don't know any better and will often click whatever they see.
Has anyone tried using gotenna for this use case? Just happened to see one the other day.
I use it for kitchen related lookups, timers, and music. The music selection sucks, so I often end up just connecting my phone via bluetooth.

My only custom use was to write a WOL task that targets my Steam Machine so I can turn it on without leaving the couch. The machine is a frankenstein, so it doesn't have any fancy IR receiver or whatever people typically use to remotely turn on a game console.
I agree 100%! That's why I said the bubble could continue until there are 400 unicorns (or just 50 more), regargless a continuation would exhaust my solvency. I wouldn't bet against it because I don't know if it will pop tomorrow or a year from now or later, but I am almost certain we are in somewhere in the top 25% of a bubble. The breathless arguments that this will continue indefinitely has slowed.
The article does not deal with monopolies but the existence of big business. Either that or I misread it.
Why did the title change? It originally matched the headlines title of "THE HIDDEN WORKFORCE EXPANDING TESLA’S FACTORY" and given that tesla is saying they didnt know about it, that seems more accurate
I've read a few chapters of this and have found it be well written and a great introduction to assembly programming. It was written for 32-bit but so far everything works just fine on my 64 bit linux system. Also it was interesting to learn alongside C. It helped to see the workings of a machine from those two vantage points.

Also of note is the author's story of writing the book and giving it away as a labor of love. Very nice
> I do think that emotional bonds between humans and machines are fundamently unhealthy

Is this an emotional bond because the OP said "her", or do you sense that for some other reason? Do you say this only in the context of high technology, the 21st century, or does a person talking about their car "She purrs like a kitten"[0] elicit the same response in you?

[0] https://www.youtube.com/watch?v=X919tRgip3k
North Korea is under embargo, meaning that fuel is ridiculously expensive.

They're actually not as short of many goods as you've probably been led to believe (they're not starving for instance, and they have access to a pretty wide variety of manufactured goods), but fuel is in very short supply.
Tangentially, there's a behavior pattern prevalent in the "Prepper" (aka Emergency Preparedness) community that confuses me. They take a logically-sound concept such as storing large amounts of food, and seem to separate the emergency food from every day food. Here, similarly, we have an emergency device that is not usually used. How do we know if it still works? Test it occasionally?

In the same way. Test some, store the rest. When stored food nears it's life expectancy, test or just plain eat it.

If you're really serious, you tape shut your fridge door, water taps and flush toilet if you live in the city, open most of the circuit breakers if you don't have a generator, etc. etc. for a few days and test everything for real (then again your electrical company is likely to give you occasional opportunities to test your generator :-).

Any way you look at it, the more stuff you have that works or is edible, even if some of it fails, the better off you are, the less you have to expose yourself to whatever is out there, the more you can help your neighbors.
This is another nice book about x86 assembly: http://www.drpaulcarter.com/pcasm/
Experienced* SunOS admins are aware of that and can still end up -- accidentally I think -- with ZFS filesystems with unacceptable performance in a state that Oracle apparently didn't understand. There was a ticket open for order months but I don't know whether it ever got resolved.

* I'm not sure how experienced, but they have Sun hardware running that's older than ZFS.
> And for everything else we use subcontractors. Fucking disgusting.

That's a very strong sentiment, sprinkled with ignorance.

I work in hospitality industry and seen the underbelly of food production and construction of QSR locations. I speak from experience.

Sure, everyone wants contracted, union labor and hire Americans but no one is willing to pay for it.

Subcontracting is "Fucking Disgusting"? Okay, how would you like to pay 30% more for your food, clothing, and electronics? Doesn't sound so appealing? Well that's unfortunate.

This isn't a complex problem - the economics doesn't work; American labor isn't hired because American's don't want to pay more for products.

> Review and proper enforcement of 'prevailing wage' requirements.

That is so simple to write...our HR department has to check every employee against many different services to ensure that they're legally allowed to work and are not felons, while constantly hiring. They're over worked and do not have adequate resources. Hiring more folks for HR is out of the question because the business has to be profitable...because...that's how the world works.

However, if we raise prices, we could "Review and proper enforcement of 'prevailing wage' requirements" but then we would be out of business because no one would purchase our product since it would be too expensive.

Statements are easy to make, solutions are tough.
All the lights in my apartment and alarm clock.
You've got a product, not a company
D.H. Lawrence on the Overdeveloped Ego and Our Connection to the Cosmos
Learn Python the Methodical Way
In real life, without an internet connection (say 1980) you would have had books. Life is an open book test, as the saying goes.
This is completely off-topic to whether or not Ampy Move works. FYI these guys won the 2014 Clean Energy Challenge award [1]. This required a review from an entire panel of senior scientists and engineers...

For example this guy, Ben Gaddy, their Director of Technology Development, is a PHD engineer and former US Patent Office reviewer: http://cleanenergytrust.org/staff-board/ben-gaddy/

Who are you again?

[1] http://cleanenergytrust.org/5-ways-clean-tech-is-changing-ho...
Make Ruby Great Again [video]
This matches my experience, keyword based searches no longer provide anything of value, but natural language sentences lead to far better results.
In Java I prefer to do something like this:

"[(),]" // match the foo part...
+ "|\"(?:\\.|[^\"\n])*\"" //... or, match the bar part in *double* quotes, putting quoted value in capture group 1...
+ "|'(?:\\.|[^'\\n])*'" //... or, match the bar part in *single* quotes, putting quoted value in capture group 1...
+ "|\/\*[\s\S]*?\*\" //... or, match whatever the hell that is.

Simple string splitting + commenting the semantic parts. Also, labeling the capture group (and creating named constants for them in your code next to your regex) is a huge win.
This link jumps to the actual beginning of the talk, skipping the preamble which is mostly specific to RSpec, focusing instead on the crisis the Ruby community currently faces[1] and the opportunity / responsibility the community has to respond.

[1] namely that the shiny newness of M.E.A.N. and Node/React/Angular plus the widely discussed performance challenges of Ruby & Rails have put Ruby + Rails on the back burner in the zeitgeist.
Say you'd like to upgrade your laptop but you are limited to maybe a few (not easy) hardware tweaks where gains are really not that significant. You'd have to work really hard for a few extra cycles, a few extra MB. So, through the years you just become very efficient at using these limited resources at particular and highly specialized tasks, after all, more than 8 programs running at the same time just freeze the poor thing.

One day you discover a new gadget, an external HD. That is great news, you buy one and move tons of unused data to the gadget. Your laptop is not faster now but you can do software tweaks to virtually give you more performance.

Just some years later you discover something awesome: many others have decided to hook their HDs together and share information stored on them. With this discovery you realize that your laptop can now be almost completely devoted to running algorithms, almost no resources are wasted in saving and retrieving data from internal memory. You even develop a program to search and find data on the hooked HDs which brings the responses almost instantly, allowing you to become even better at running your algorithms. Even more so, this search program constantly learns and improves at finding the right answers. At some point you just code a few scripts to go get the answers of recurrently asked questions, why saving the answers you say.

This laptop upgrade works dandy...until The network of HDs break :(

Did I answer the question?
Well anything with a GPS signal should work right? The main problem is a constant charge.

I think a mix of portable solar panels + something like the Ampy Move charger (getampy.com) should be sufficient as a "safety" solution when you're hiking or somewhere with poor signal reception.
I enjoy that your example (Amazon) is not actually a Bay Area example. Your point is still valid though: Apple, Google, etc. are awash in revenue. The article though is about private companies that aren't so clearly generating cash flow.
It's bullshit on another axis as well: it assumes that the labels have a claim to a share of all music revenue on YouTube. The slideshare deck they linked for that claim shows the large majority of YouTube songs are "off label content" (slide 46), and it also says that more than half of the revenue is from "user generated content" (slide 43).
...to what end, from your perspective?
Liked everything up to this part;

"When it comes to designing or evaluating distributed systems, then, I think we should focus less on which two of the three Virtues we like most and more on what compromises a system makes as things go bad."

It seemed like the entire point was that really there are only 2 Virtues (Consistency, Availability) and given a partition you will chose one or the other. The only database that doesn't have network partitions also isn't distributed.
>The problem is, that collapse is inevitable

This has been said since day 1 of the truce in 1953.

North Korea is many things, but the western propaganda about their being perpetually on the brink of collapse for 63 years is utter bullshit. It's a very stable regime.
Terrible, terrible information architecture. Love the idea, but it's sooo hard to find your way around that site.
NERDtree
Ctrl+P
vim-plug
Ah, then I see we're in agreement :)

> Most other languages give you no choice whether the capture is by copy or by reference.

That's because in languages that have traditionally had GC (i.e., languages in the Lisp tradition or in the ML tradition), the distinction didn't matter. Those languages did not "suffer" from a value/reference dichotomy (e.g., in Scheme, you're literally capturing the variable rather than a copy or reference to the value stored within -- under the hood, that variable might always store a reference for convenience, or it might store a value for performance, but it doesn't matter as it's strictly an implementation detail).

I'm glad that the C++ committee didn't just dump closures into the language without considering this sort of interaction with other aspects of the language. Without the capture lists, closures in C++ have the potential to really suck. That the explicit capture lists even exist is evidence that they've carefully considered how the new features are going to play with existing characteristics of C++. Kudos to them for that!
Point being, they don't care about property damage.
This reminds me of this RWT thread though: http://www.realworldtech.com/forum/?threadid=158487&curposti...
Not entirely. Many companies who bid out projects during "off times" would receive preferential bids. In colder climates, if your construction begins in the colder months, construction companies will bid lower since there is less work and do their best to make little to no profit on the job.

That's fairly standard. The downside, most construction companies will have many COs (Change Order)to supplement the work.

Just because a bid is lower doesn't mean the subcontractor is hiring illegal labor.

Parent company that accepts bid isn't morally responsible to check on their subcontractors. If parent company is responsible, imagine the possibilities? Ever subcontractor would then blame the parent company for just about everything since they're not held responsible.

Did Tesla realize that labor wasn't "legal" during the process? Probably...but what now? Stop building the factory? They have investors that don't care about morals or ethics.
Show HN: Medium CLI – A Command Line Interface for Reading Medium Stories
How do you generate your rhythms? Is there structure or just randomness?
> Solar and kinetic charging are bulky and cumbersome. At this price point they would probably be shoddy and unreliable.

There are some portable solar panels that can charge up an iphone with a few hours. If you have that an external battery pack that should be sufficient - assuming you are somewhere with good seasonal sun coverage.

There has been alot of advancements in kinetic charging. I mentioned in another post the Ampy Move device. Its basically an spare battery pack thats integrated with some new innovative kinetic energy generation tech that a team of Northwestern University PHD engineers developed. Very portable and they claim that an hour of activity (e.g., running / hiking) can generate 1 hour of smartphone use (they use the iphone 5c as the benchmark device). That's really good! They claim on their blog that by just shaking it for 10-15 minutes you can generate enough charge to power a dead iphone to ring up an uber. I imagine the same ideas apply for when you're out in the woods.
vim-rails
vim-rspec

:-)
Oh. I thought I was making a factual observation. Terribly, genuinely sorry for the additional moderator workload. :(

Did you view my first 'graph or my second to be a personal attack?
Beyond Advertising: Will Micropayments Sustain the New Internet?
If removing edge case handling doesn't make some tests fail, then poor test coverage is the root problem. Refactoring a code base without tests is always touching the third rail, neat or tidy, no?
Whenever I've seen similar problems in real analysis, the wording of the question always leaves no solution as a possibility. "True or false? Can 1234 be rearranged such that...".
> Also funny how they call us an "impoverished country". In my eyes an average Joe has much better quality of life in Slovenia than in the US :). I would say the problems start if you want to me more than the average Joe.

Creating labels and positioning the individual who was hurt as a victim, coming from an "impoverished country" is more attractive then reporting a different ("positive") point of view.

In defense of their reporting, however, they're measuring minimum wage of Slovenia vs minimum wage in USA, which is less, with no context (that you supplied)
All the stuff people ripped out for being old fashioned. Probably with the exception of stuff from the 70s, I think every look inevitably makes a comeback, because it looks old fashioned!
I find many of your arguments weak. Many families I know have 2 cars, even in Europe. One electric (current Leaf, Soul, etc.) for commuting, the other ICE sedan for commuting/traveling would be perfect for them. Europeans, incl. Germans drive much uglier cars than the Leaf (Multipla?). A Leaf with quick-charge port (CHAdeMO) would allow 30 min charge if there is a station half-way to the coast (which there might be already).

I do agree that electric vehicle offerings and government policies are not ideal, but your attitude (about electrics and gov't policy) boils down to "if it's only half-good, let's slam it for not being perfect." I don't see how that can help adoption.
There's a reason for the phenomenal popularity and success of the Library of Alexandra, a/k/a Sci-Hub.
The fee is aimed at and energy producers and investors. The fee would increase steadily every year, which would signal them to divest from fossil fuels. The dividend part of the plan is put in mainly to make Republicans happy, since no Republican is ever going to support a new tax (Al Gore couldn't even increase the gas tax by 5 cents).
"Google is not gonna drop Go. Unless they feel like it." g
A 3 to 5 volt booster is not easily going to damage a phone.

But fine, get a $5 model from a reputable brand.

You can also get an entire phone for $10. It will even have a screen!

Don't spend $50 on a piece of garbage.
The book that this paper appears in was published in 1978, so under U.S. copyright law, it wouldn't be in the public domain yet.

DDG did, however, find a copy of the paper here (it's a Flash-based reader; you apparently need an account on the site to download the PDF):

http://www.doc88.com/p-7384580283926.html
>One shouldn't assume that they must. But, one can look at the stats to observe that they have.

You have stats about students? Where is it published? You can't use Steam for measuring education metrics.

Anyway, apparently the author wanted to provide tutorials for different OSes. My point was that he could focus on Linux first, and that would have been a proper educational choice as I explained above.
I used to install vim packages years ago. Now I just get by on what comes with vim, including colorschemes (elflord). It looks like I have four packages installed, and I don't remember what they're for.

EDIT: it looks like I use nerdtree at work.
Telix.

It was modem/terminal emulation software that Just Worked. It also had a built-in C-like scripting language. I loved it.
I was talking about govt enforcing prevailing wage requirements that are already in place for H1B. This is one of the many loopholes that shady employers take advantage of.
> The US could have annihilated Vietnam, Laos and Cambodia with atomic weapons
> The idea that we "kept the gloves on" is a myth

Aren't these two statements contradictory?

Anyways, I agree with your point in general. Guerrilla tactics are extremely effective against an enemy with superior funding attacking your home turf (hello American Revolutionary War).
"Tech startups aren't hiring as fast as they used to" - I think they are hiring smarter than they used to, but I don't think some of it is entirely "ethical", most of what is done today is really through competitive programming (https://en.wikipedia.org/wiki/Competitive_programming) or cheaper competitions (Kaggle), CTF, etc. Many of which were not really going on when alot of us decided to take up tech, it was a clearer path even if you were self-taught. Whatever form it comes in, it feels like AI will indeed weed alot of us out, which is a shame because it means no more "ideas" or R&D and more an "end result/goal and how fast can you get there" game (ie optimization).
How long does it take to learn the Vim way of navigating so that you do not have to think when doing it, like the fingers move by themselves ?

And how much time do you save, compared to placing the cursor using the mouse?