skysight-inc/HackerNews huggingface dataset:
I second this. If you spend a lot of time on HN and other tech-minded forums (fori?), I think you could get the impression that just because you setup a web site, you must use MVC or some other JavaScript-heavy SPA stack, because such projects are of course interesting and intellectually challenging, and get lots of airtime when established, basic Web techniques are boring.

Of course MVC (React, Angular, ...) has its place for web apps and is great when it fits, but I think it's crazy and counter-productive to use complex and costly MVC frameworks for mere content-driven sites (like what most public websites are about).
I'm advocating for humility, which should result in a net increase in prestige for programming, not the other way around.
Well this is the somewhat depressing part: interstellar distances just seem so vast one has to wonder if it's ever going to be feasible. This is worsened by the timescales just being hopelessly long for how long we live. It seems far more likely that AIs are more viable to send than living organisms.
Also check Rust/Cargo source trees if they use `Curl` or Hyper.
Funny I saw a very similar attempt at Fitchburg Art Museum (MA) over the week-end.
I seem to recall this was an MIT-project: is this related in some way ?
It was coming with a rather complex (at least at first sight) interface allowing quite a bit of operations/transformations, which does not appear here, so this might be a separate attempt.

Looks like this thing is "in the air".
The best Slackbots for remote teams
>Really?

Yes

>Do you honestly believe it's more relevant than rent-seeking behaviour, political corruption, monopolistic practices, environmental pillage, tax dodging and evasion?

Firm inequality is an expression of many of these factors. Specifically political corruption, rent-seeking behavior, monopolistic practices and tax issues. Companies that can engage in these activities first in a competitive market can corrupt the market, make themselves more profitable and make their firm the one that pays much more than their competitors.

Overall I sometimes think the debate over inequality has been a little poisoned by the 99% - 1% rhetoric. Yes the CEO class makes ridiculous amounts more than their workers and I think this is wrong but there are large gulfs between the 95% and the 5%, the 90% and the 10%, all the way down. Focusing specifically on the wealth of C-level executives ignores a lot of other ways inequality manifests itself. Focusing on firm level inequality helps lower inequality in these other divides.
I mean O(0) because no operation occured. The only operation that will occur is parsing the data which is not the problem specified. When looking at the loop, and just the loop, O(0) is the correct answer for this.
You are all fake imposters.
That's a good point. I don't think many people actually dislike React.
There are people like me who might be mildly frustrated that React is getting so much attention when Vue.js and Polymer might be better, simpler solutions.

I like React (especially with all the new setup and debugging tooling) but whenever I use it, I feel that it is a small step down from Polymer.

I think that unfortunately Polymer 0.5 was launched too early and its reputation has been tainted even though Polymer 2.0 is amazing.

I do know that there are also developers in the Vue.js camp who would never use React out of principle.
I spoke with HR people from Facebook in the past and they've told me that there are developers who simply refuse to use React but I think it's more a matter of stubbornness because, all things considered, it is roughly comparable to Polymer and Vue.js.
DevOps, Docker and AWS = ECS
One factor that is rarely mentioned in this conversation is that Drama helps Youtubers - a lot. Videos about 'Youtube in crisis' gets a whole lot of views, much more than the usual standard-fare videos. This doesn't only apply to the YouTuber being targeted.

For example, assume there is some controversy over some gamer on YouTube. YouTube Channels dedicated to talking about Internet culture, like h3h3productions or PhillipDeFranco, take the opportunity to make a video titled "YouTube is Dying" with a lot of question marks in the thumbnail. They do this because videos about meta-controversies get more views than specific things. So the video gets more views, and other YouTube channels talk about the 'controversy' in order to get views themselves. Then the gamer may make a video titled "Response to YouTube controversy" which gets way more views than his average video, because it's a meta topic that everyone's talking about. And the cycle continues.

TL;DR: Controversies help content creators get more views.
Yes. Practice is the only way to get better. Unfortunately it's a much more painful practice than most things in life. Code isn't going to get uninterested in you or think you are weird.
I don't really watch any of the youtube or twitch personalities but I am aware of them. So from my perspective it seems like these are people in their 20s so it shouldn't be surprising that they make bad choices. That being said, they are bad choices and they should be criticized for them.

I think the article makes a good point that it is kind of amazing that Disney bought Maker Studios but doesn't seem to be putting in the work to make sure their employees don't do something stupid.
This coin is being produced for the UK.
I imagine this mostly relates to the super mainstream channels that pump out content of the same quality as the random TV shows of years past. If you follow the niche channels (that are IMO more fulfilling) like mikeselectricstuff or flightchops or whoever, they operate under different rules. Their audience will seek their postings because they want the specific content.
omg this. The YouTube android app is a disaster. Incoherent, poor propagation of what I've watched between devices, no obvious UI for how to stop watching a video (back button just thumbnails it so you can navigate - you have to swipe-sideways the video to actually close it), and it locks up for a long time starting up a video.

Also, the fact that vertically-filmed cellphone videos don't fill the screen when you try to watch them in portrait mode is so bone-headed it's actually funny.
I downvoted that post not because of length but because it genuinely looked like it's auto-generated by a spam/content summary bot.
Not OP, but I actually think string manipulation in C is really elegant. Many people who complain about it have too many allocations in their code and are trying to port the allocation-heavy non-C way of thinking to C. The C way I know focuses mainly on character at a time iteration with emphasis on not copying the source string.

I'm reminded of a time a colleague needed something like string.split, and working in c++ he filled a std::vector<std::string> with the result. Using a more C way he'd really only have needed a couple of pointers on the stack.
Most banks don't bother. Also, most counterfeit pound coins are made from redirected planchets (blank coin base) intended to be used as Swazi lilangeni (or just restriked lilangeni), so they are identical in size, weight, and material composition to legitimate pound coins (since they use the same planchet).
Does anybody have conversion stats for the facebook signup process? What's the dropoff rate when it wants to scan your driver's license? Do they do this in every country? Do they do it on mobile?

I'm more disturbed by 5 year data retention than the crappy verification step.
I wonder if they could pay for the service with recruitment ads targeted by demonstrated programming skill.
The Future Mundane (2013)
My biggest issue is that SPAs have a lot of overhead for your typical CRUD.

The canonical example: a CRUD page with a dropdown of choices based on entitlement.

Server rendered: in your template somewhere, {for choice in limited_choices} and so on.

SPA: you need to coordinate a REST endpoint that has options for entitlement of just this dropdown, etc. You now need a route for REST, a route for the SPA page, and view code for both.

Don't get me wrong, with unlimited time, build everything as REST services with a client that consumes it. But sometimes server-side rendering is just simpler.
I've been watching Youtube vids for a long time (well relatively, like 10+ years) and it's one of my primary forms of entertainment.

It has been very interesting to see youtubers come and go, a lot of them seem to burn out on the schedule of trying to produce content regularly, which I can understand, anyone who's edited videos would realise the time it can take to produce something of good quality.

Pewdiepie is an interesting case as he's far and away the biggest "real" channel on youtube (i.e. not VEVO or one of the generic youtube channels).

https://vidstatsx.com/PewDiePie/youtube-channel gives you an idea of the size, he regularly gets 5-10 million views a day!

The controversy seems very click-baity to me, I read the articles and watched his response videos. It seemed to me that he made some pretty bad taste comments (if you've seen much of his content that shouldn't be a surprise) and the WSJ deliberately sliced it up to take it out of context and produce the most sensationalised headline possible.

All reminded me of the quote generally attribued to cardinal Richelieu.

"If you give me six lines written by the hand of the most honest of men, I will find something in them which will hang him."
Netflix has had several identities. I'm old enough to remember the DVD-by-mail service. Then for a period because they were small and growing, it was "long tail" content, and older content that has already been monetized. For me, the new "original content" Netflix is a logical evolution - why did you get stuck in the second identity? If Netflix stuck to it's core DVD mailing service it would be dead - why is this second evolution the wrong move?
For my purposes, I would be happy with a way that I can specify constraints specifically in certain critical code sections, where I'd be happy to work around some false positives. Most other code could go on ignoring overflow as it does today.
It's not his youtube subscriber base that he should worry about, it's his advertisement / cross-promotion deals. He did a series with Disney on Star Wars, promotes Audible on his channel, in addition to other deals.
Still weird. My carry-on for all of trips I listed above was MacBook Air, iPad, iPhone, Olympus mirrorless camera, 2-3 lenses, Canon P&S camera, 2 USB charging bricks, chargers for the camera batteries, charger for the MBA, a bunch of USB cables. Some snack food, a light jacket, and toiletries.

Of course, the really maddening part is the inconsistency. I use TSA Pre-check when possible, so I'm accustomed to not taking off my shoes, unpacking my bags, etc. It's a giant hassle when I'm flying abroad and the rules change. Especially since the rules change arbitrarily - I've passed through Edinburgh a few times over the past 2 years and sometimes the laptop comes out, sometimes it stays in the bag.
Otherwise stated as "don't meet your heroes."
At the end of the day, you have to ask yourself why you blog?

For me it is to make the information available, mainly for me, and hoping it can help somebody else out there.

Interestingly, my blog is dead right now for technical reasons, I was looking on how to do something specific a few weeks ago, something that I hag blogged about. Google wasn't helping (my blog has been down long enough that it's no longer in google cache), so I ended up going to archive.org looking for my old blog and found what I needed right away!
That's a surprising take-away for Kodak.

As far as I understand, they died mostly because their core competency (film) became obsolete in a huge fragment of the market.

I'm not saying that they could have successfully pivoted to digital, of course. But inability to pick up a new competency doesn't mean that the business won't die anyways... in which case, might as well try.

IBM under-went a similar "try or die" evolution away from various computing technologies (punch card machines, then some number of generations of main frames) over the last century, with more success than Kodak.

AT&T seems to be doing pretty well.
This makes me wonder: is there a specific advantage in us being able to see the specific wavelengths we see or is it just a random thing and we would be fine if we could see only other wavelengths like UV or infrared?
Even if his subscribers are not affected, his reputations certainly is. Frankly, I have no idea how these people make money/ make a living but their prospects for media endorsement (at least by mainstream companies) is effectively dead.
Why your startup idea isn't big enough for some VCs
> You can pay insurance e.g. once a year.

Why would car insurance be a once a year cost but car service would not? I don't see any reason why a company couldn't charge once per year. That said, many consumers are unable to pay for a year of anything upfront and choose to pay monthly. Like car insurance.

> And maintenance/repair really depends.

Which is a huge problem! Again, if you don't have a ton of money a surprise repair bill can absolutely wreck your finances.

Also, pretty much every public transit system I know scales up service during peak times and winds it down at other times of day. This isn't a new concept.
There's a logical flaw in that answer: I said 'this was not made only for simple html page', emphasize on the 'only', and your counter argument is 'there's at least one example of it being used for simple html page'.

At this point I could still respond with 'this was not made only for simple html page', emphasize on the 'only'.
Doing innovation in a big company is like being smacked in the face
The analysis assumes prices for these used battery packs are not governed by supply and demand. What happens to this analysis 5-10 years from now when the secondhand market for decade-used, 80% capacity batteries faces a supply glut, with relatively few potential buyers? As the comments here make clear, it's not altogether clear that such batteries are worth $15k now, as the paper claims. Let's say they are worth that much-- sounds like a great opportunity to build a business reconfiguring batteries for utility storage. But if you do that job well, then once your utility customers have satisfied their peak storage needs, your returning business drops to nothing, and the floor drops out on this battery market.
I don't recall it being common back when I first saw the movie, maybe 1985 or 1986.
An issue with the current system is that while the people wanted a change candidate, our two-party political system almost successfully suppressed a change candidate from emerging from both sides, and _did_ successfully suppress one of them, Sanders. If the political system can't adapt to change, then how can it successfully evolve?
This is a tool the web needs, getting rid of the plugins!
Thanks!

Depends, the site is from scratch in Rails, i filled the database with the kamojis by hand, as well as build the generator. Figlet and Cowsay are both based on open source projects (as linked on the bottom of them)
>Netflix expected to spend over $6B on original and acquired programming in 2017

...yet all I watched was Columbo, Poirot, Midsomer Murders and Murder She Wrote.

If only some of this "original content" was original in being upbeat or uplifting.
The US spends huge amounts on food, medicine, and development aid -- 32 billion a year in economic investments (as opposed to military, which is another 10 billion a year).

Since 9/11, the US has probably spent around 500 billion on helping countries develop, fighting famines, curing diseases, etc. We've just also spent something like 3 or 4 trillion on ineffective and damaging wars, spy programs, etc.

My point is that we're spending the money on goodwill already, we'rr just undermining it with other actions and not spending it effectively.
I think Rust community increasingly behave like this[1]. They are big on suggesting others the better 'ideas' instead of implementing themselves. So they keep using 'curl' and 'openssl' but tell others to rewrite their software with Rust.

1. http://dilbert.com/strip/1994-12-17
These guys seem to have done some pretty stupid shit and frankly the outrage seems justified.
Adding a faraday cage would cost money and weight.
And the last windows 7 update black screened my pc and left me in limbo till I was able to restore. What exactly is your point? Windows is not a standard to be held higher than..well anything.
"The Power Broker" by Robert Caro.

Nobody has ever captured the nature of power on an individual level to the depth and breadth that Caro did on this book. (except perhaps his epic treatment of Lyndon Johnson)

Over something like 1,100 pages you get to track the career of an aspiring reformer as he transitions to skilled and trusted government official, to someone who manages to grow to the point that he is more powerful than the Governor and Mayor of New York during NY's economic peak -- despite never having been elected to anything. Then you get to witness his decline and ultimate fall.

This is probably the best biography ever written. It may take you six months to read, but its time well spent.
Not a single book but the Discworld series of books by Sir Terry Pratchett.

In particular the Watch sub-series.

I grew up reading them from the late 80's on-wards and I actually can't separate my worldview from them anymore, his outlook on life became my outlook on life.

Hope, Cynicism, politics, mortality (Death is a literal character), practicality and absurdity all feature in the series strongly.

Some of my favourite quotes

> Logic is a wonderful thing but doesn't always beat actual thought. (The Last Continent).

> Genius is always allowed some leeway, once the hammer has been pried from its hands and the blood has been cleaned up. (Thief of Time).

> I believe in freedom, Mr. Lipwig. Not many people do, although they will, of course, protest otherwise. And no practical definition of freedom would be complete without the freedom to take the consequences. Indeed, it is the freedom upon which all the others are based. (Lord Vetinari - Going Postal).

> What sort of man would put a known criminal in charge of a major branch of government? Apart from, say, the average voter.

> Technically, the city of Ankh-Morpork is a Tyranny, which is not always the same thing as a monarchy, and in fact even the post of Tyrant has been somewhat redefined by the incumbent, Lord Vetinari, as the only form of democracy that works. Everyone is entitled to vote, unless disqualified by reason of age or not being Lord Vetinari.
And yet it does work. This has annoyed a number of people who feel, somehow, that it should not, and who want a monarch instead, thus replacing a man who has achieved his position by cunning, a deep understanding of the realities of the human psyche, breathtaking diplomacy, a certain prowess with the stiletto dagger, and, all agree, a mind like a perfectly balanced circular saw, with a man who has got there by being born…
A third proposition, that the city be governed by a choice of respectable members of the community who would promise not to give themselves airs or betray the public trust at every turn, was instantly the subject of music-hall jokes all over the city.
It's nice to point that out. It shows the binding for shift-tab, as well.

function! InsertTabWrapper()
let col = col('.') - 1
if !col || getline('.')[col - 1] !~ '\k'
return "\<tab>"
else
return "\<c-p>"
endif
endfunction
inoremap <expr> <tab> InsertTabWrapper()
inoremap <s-tab> <c-n>
I tried to read it in my middle thirties and felt like I wasn't prepared enough to understand it. Should I just go through it without trying to get everything?
Marvel thinks the world building has contributed to the success of their movies so of course they are going to do it on television.

(many of the Netflix actors have contract clauses for appearances in movies)
Poland's unicorn, Slovakia's flying car, and the future of Europe
Cashier – Caching for Python functions
Also possible that the user read & understood the message but didn't take it as proof of its claim.

FB has a history of collecting cross-site passwords from failed logins.
Handcrafted Social Media Updates. Automated
The Bhagavad Gita continues to challenge my notion of truth, self, and the path to happiness.
After some googling I actually can't even find a place to buy replacements so I can price them (maybe I'm thinking about this wrong?) For a car, $4k sounds low enough that if it doesn't work out it's not /that/ big a deal. These used EVs sound great for someone that just wants to try the idea out without becoming totally invested.
> For PewDiePie recently, the same story: He is an adult (who should know better) performing antisemitic jokes for children,

What? Pewdiepie was seeing what people would do at fiverr for five dollars. Most of the jokes were him being rejected. The joke is very clearly not at the expense of Jewish people any more than, say, Nazis doing stupid things in Indiana Jones movies is.
What you need to know before building an API for your product
Yep. Yesterday my wife asked me to order something off amazon for her. I ordered it off Target. Amazon is going to eventually have to fix this issue.
It doesn't follow the books all that closely but does a delightful job of capturing the absurdity of Douglas Adams world in a way that translates well to the screen.
Netflix is at the whim of content producers, blame them for removing their content. I've enjoyed Netflix content, and it gives them a library all around the world.
Pull requests are regularly rejected for increasing the size of the codebase, even if they slightly improve the strength of the engine. It's hard to argue with the results.
EFF: Call your House Rep. FCC repeal vote is tomorrow
Show HN: Λ-Sim your model as a service
The one time I've had anyone take a closer look at my computer equipment was an old iBook "yo yo" power supply. But that was a weird design for a power brick and not exactly a popular brand at the time. They probably looked pretty strange on an xray.

On the other hand I don't fly often, so I'm not much of a data point.
Chatbots Are Shaking Up the Workforce in Some Unexpected Ways
> Until Rust, there's been very close to zero serious competitors for C if I wanted to write a bootloader, OS, or ISR … We've groaned and grumbled about how hard it is to parse C/C++ code for decades.

I honestly think that Common Lisp can do this quite well. It was designed to be a high-level language, but it's completely capable of working at the machine level, pleasantly and easily. Unlike C, most of the time one has safety, but one can disable safety when necessary with a simple (declare (safety 0))).

Performance is extremely good with modern compilers, although I don't know how good they would have been back in the old days.

And it makes parsing the language dead simple. Here's the entire reader algorithm: http://clhs.lisp.se/Body/02_b.htm

From what I can tell of Rust, it doesn't look easier to parse than C (but I've not looked deeply); certainly, it's orders of magnitude more difficult to parse than Lisp.

I believe that Standard ML or OCaml could do similar things as well, albeit at the cost of being more difficult to parse. Smalltalk is maybe a little less capable, but somewhat easier to parse.

They've all been around for decades.
The GP presented it as if the entire reason that this person was a smooth political operator was that they were attractive, which is trivially refuted, as I've seen attractive people who were bad at politics.
Don't mistake uncensored for unfiltered - Dave Chappelle probably writes and tells a joke a hundred times before you ever hear it, and it gets filtered through a LOT during that time.