skysight-inc/HackerNews huggingface dataset:
Well, it's hard to say, really. It depends on what you're doing. The benefit of converting to UTF-8 when making a string from bytes is that string operations have predictable performance, and strings have predictable memory-usage. But of course, you then have to pay the cost of converting to UTF-8.

On the other hand, if you just track the encoding in your string type, then you don't have to pay a conversion cost at the boundary, but each encoding will have different memory-usage and performance characteristics.
If I'm doing something I don't normally do (data access code, XML parsing, etc), yeah, I'm going to look it up. And not feel any shame about it.

This might be because I started out in the engineering program in college, and one of the tenets there is "don't trust your memory - look it up. Otherwise people die."
Google is just an extension of our memory nowadays - it's not worth it memorising stuff you know you can google, eventually if you google it often enough it'll stick. And googling will do you no good if you have no idea what you are doing.
"I STILL WANNA KNOW".....I missed the boat few years ago, when I had the idea but didn't know how to go about it because I do not have software/coding knowledge or background....I found some of my idea implemented by Robinhood....But it still missed quite a bit....I think a better platform can be created......As far as expensive is concerned, I can find investors....what is required is the right business model...I am in the best city in the world and probably can make most of it...We may find a way to implement in india as well
What head-start? The market for electric vehicles almost does not exist. Almost nobody is buying them yet and it's not only a cost problem.

The money allocated will be available for 350000 cars. It will take some years to sell those. In 2014 the whole of Germany bought just 8522 electric cars plus 27435 hybrid cars... It's even worse, probably half of these cars were never used in Germany but exported...
Ask HN: Is There Neural Network as a Service?
Hi,

Is there anything like Neural Network as a Service? Creating NN using an API, POSTing training dataset, and then GETing value for some test data?
It’s OK Not to Use a Smartphone
They don't believe in scientific authorities when it contradict their religious authorities and other deeply held beliefs?
This is interesting to see at a time when so many key packages are missing or badly outdated in Debian core.
I am a full time construction professional....What are the best tools to learn coding? I do not wish to embark upon a college course or degree...
Marx did not describe communism that way, obviously, but it should be equally obvious that his terrible ideas led directly to what happened. Communism isn't some great idea that flawed humans have repeatedly screwed up - it is a flawed idea whose outcome was easily predicted even by Marx's contemporaries.

Seen with the benefit of hindsight, Mikael Bakunin's criticism is most appropriate:

https://en.wikipedia.org/wiki/Mikhail_Bakunin#Critique_of_Ma...

They [the Marxists] maintain that only a dictatorship—their dictatorship, of course—can create the will of the people, while our answer to this is: No dictatorship can have any other aim but that of self-perpetuation, and it can beget only slavery in the people tolerating it; freedom can be created only by freedom, that is, by a universal rebellion on the part of the people and free organization of the toiling masses from the bottom up.

For Bakunin, the fundamental contradiction is that for the Marxists, "anarchism or freedom is the aim, while the state and dictatorship is the means, and so, in order to free the masses, they have first to be enslaved."

Marx directly argued that communism should be implemented by violent revolution that would put in place a temporary "dictatorship of the proles", which is an absurd concept containing the seeds of its destruction.
If you have mastered the basics (e.g. Norvig's AIMA, Hastie and Tibshirani's Elements of Statistical Learning, Koller's PGM), then I would suggest that the only place to really get a view of the state of the art is by reading papers.

In general, scientific books are an overview of a field, which can only occur with sufficient time for hindsight and synthesis. Even a thousand page book such as Koller's PGM will be littered with references and suggestions of papers to read for a deeper understanding.

One partial exception might be the Deep Learning book by Goodfellow and Bengio, which was made public only a month or so ago. Even this, however, is just an overview. http://www.deeplearningbook.org/
Work on unimportant problems
> But if you are just a Chinese citizen, what do you gain?

Apps that are localized to their needs.

> Inferior substitutes for the Google/Facebook/etc infrastructure?

They aren't necessarily inferior. WeChat for example has a very intuitive privacy settings, which make a lot more sense than the complicated Facebook ones.

> Isolation from the rest of the world?

Many of these apps are expanding outside of China (To mixed success).
How do the 1 percent tolerate outages? They buy expensive goods, drive cars, visit gyms, but at home they are on the same level as the 99%. I doubt it.
- More ARM systems shipping today than MIPs

- The ARM has a standard MMU (well, two major revs). MIPs has quite a few variants, and they involve TLB invalidation / reload. They're both worth working with.

- ARM has made some interesting architectural choices over the years, and it's worth studying what they've done. MIPs is more a static platform, not as much market pressure or will to innovate.
It doesn't matter.

As long as you can do what you want to do with code you are a developer. Whether looking up code on google or in a reference book.
I would like to thank all the people who had a comment on this article, but did not post it. Truly, you improve the community with your silence. I'm aware of my own hypocrisy on this point, but logical consistency would prevent this sentiment from ever being expressed.

As it is, perhaps 5% of these comments know anything about what they are talking about. One of the biggest intellectual failings of the sort that frequents this place is mistaking being smart with being informed.
Right, at home on a 30mpbs/5uo internet connection? Or in an office with a business class symmetric fiber at 150mbps with no busting or shaping? There isn't enough wireless spectrum available in USA for more than 5-10 people in a 50yd radius to get full bandwidth. And the backhaul to wireless APs is 1gig, so not only are you splitting airtime, you're splitting wiretime.
> The tech world made a huge step backwards with introduction of Unix and C, and we're only slowly recovering and beginning to pay attention to the things people did before.

When I discovered UNIX via Xenix, I already had ZX Spectrum (48K, 128+2A, 128+3), SAM Coupé, Amiga 500, Windows 3.x experience, so the world of UNIX OS architecture seemed quite interesting.

When I got to learn C, that experience already had showed me there were other means to make use of all computer capabilities.

So the time spent on UNIX land, meant I was initially one of those renegades trying to use C++ instead of C like everyone else.

Eventually the introduction to Smaltalk and Native Oberon spiked my interest to delve into their history, as I was specializing in compiler design.

That showed me a world much more interesting that what AT&T has ever produced.

A saner mentality regarding what computer safety and developer productivity should actually be like, but sadly failed in the market, because UNIX was initially available for free.

I would dare to say that the OS architectures and development stacks from Apple, Google and Microsoft are much closer to those ideas than whatever exists in the pure UNIX world.
Swissmicros makes replicas of the 15 and 41 (among others). I need to get one to replace my 35s (keys starting to break after a couple years) some day.
It's even a meta-issue!

So, how do we find out which people are whining and which aren't? How do we encourage people to just learn and self-improve rather than sink to escapism?
I have spent quite a few long nights playing it. :)
My aim is not to practice stock trading....I already invest in stocks using a platform like'Etrade'....My aim is to develop a trading platform like Etrade, Robinhood etc.....and fill in the missing holes that these platforms contain.....
This is somewhat true in New York also, where some buildings are 7 floors with no elevators.
Ask HN: Useful Books/Online Courses for Technical Managers
I have been asked to lead the front end development team at my company, although I am relatively inexperienced in programming and very inexperienced in management. My boss asked me to read up on technical management strategies like Agile and also to study design strategies including learning UML. According to the UML Wikipedia page, it is not commonly used in industry anymore. Most guidance I have found as far as what books to read come from old sources like Code Complete. Are these sources still valid teaching tools, or are there better and more modern books or online courses available?
I think that it can at least be a sign of a good design. If it went that far and still kicking, chances are pretty high.

Any comments on any other points I made?
Yep, documentation and source when googling begins to fail.
I used to do the same thing, until I saw slides ( https://stlab.adobe.com/wiki/images/8/85/2008_06_26_classes_... ) for a talk ( https://my.adobeconnect.com/p53888531/?launcher=false&fcsCon... ) that pointed out that explicitly making the copy makes it much harder for the compiler to do copy elision.
If your answer to FOMO / imposter syndrome is "learn more" then you'll quickly find yourself mired in analysis paralysis. It's a strategy that simply doesn't scale to today's world where there is more to learn than can be learned. A better strategy is to develop a sense for the marginal value of learning so that you can decide at some point to stop learning and start working (or, equivalently, choose the right mix of the two). This still leaves the psychological problem unaddressed, so solutions that tackle it head on have their place.

The solution for dealing with actual imposters is to fire them. If, somehow, they manage to use "imposter syndrome" as a deflection (I haven't seen this play in the wild and I'm not convinced it's prevalent or even could be made to work), then gather evidence that they aren't pulling their weight and proceed to use it. If that doesn't work, it's not because of some stupid blog post, it's because there's stronger politics at play. Abort/retry/ignore as warranted.
Interesting article.

Just a note on the biblical reference: The moral angle that thinks it is important to love your work comes from a more protestant view of the Bible. Martin Luther defined that wordly work is a duty that benefits the individual and society, it is an extension of the concept of good works in catholicism. From a protestant perspective, work ethic is very important, because the "good works" are not only charity work, our wordly daily work is a work of mercy as well. It must be done in benefit of society. Even though it is a more lutheran concept, it is very influential in the states, the "self-made man" myth, the importance of the person that goes up the social ladder on perseverance, is very influenced by this protestant ethic. So, the view of love thy colleague, but not your work, is more akin to a catholic thinking. Countries that have a very strong catholic tradition such as spain or ireland, tend to have different work ethics than germany or the netherlands.
You would have to combine copying and reference management, e.g. "[=]" and std::shared_ptr<>. It definitely requires the programmer to pay more attention though, compared to other languages/constructs.
It's kind of odd that the DailyMail and RussiaToday (RT) have more "info" than the linked article that's paywalled. Not necessarily a bigger "scoop" of the story, but they provided more info about the parties, backstory, pictures included. Honestly, I tried looking for a decent article after encountering the paywall, but most were just "rehashed" quotes and links to the TheTimes article, with absolutely nothing of substance added.

http://www.dailymail.co.uk/news/article-3591000/How-CIA-got-...

https://www.rt.com/usa/343096-cia-nelson-mandela-arrest/

Anyone have a decent article on this with more info and backstory?
SROP Mitigation
You didn't grok the point of my comment, so let me expand on it.

Someone who works at Google is called a "Googler". When you are used to constantly hearing a word used with meaning A, and almost never meaning B, it can be quite confusing when you hear it in a context where someone uses meaning B, especially when meaning A sort of fits. So you can imagine my confusion when I parsed the entire article as "Why would being a good software engineer and [working for Google] be mutually exclusive? They usually go hand-in-hand!"
A good engineer uses any tool that makes them a better engineer. You think people who can recite algorithms also have the ability to learn a api, library, or framework without googling or reading documentation?
It's mentioned in the article:

> Whereas Ryanair once placed the insurance opt-out option in a drop-down menu of passengers’ home countries — between Denmark and Finland — it now simply gives passengers the option of adding insurance.
Facebook isn't exciting, like telephones aren't exciting. They're both something you use when you need to. It's kind of boring reading about how Facebook has peaked, or it's over, etc. What's to say? Just because the trendy/new/shiny phase is over, doesn't mean it's "losing it's relevance". People still massively use it to arrange events, or talk about them afterwards, share photos, chat etc.
Works great when earthquakes take down the mobile network
how is the privacy situation with this microsoft product? Can you say anything about that or are you just blindly using it?
Please do not confuse England with mainland Europe. There is a reason why so many English politicians want to distance themselves from Europe...
"With only a few lines of code we have written a C program that fires up a PyPy interpreter and runs our Python code as if it was a native C function. Of course I've only shown you the basics here, but the technology is really powerful."

So, C speed with Python semantics?
> For the most part, theories of secret groups that control things are false...

I'd like some evidence of that statement.

If you have any evidence that the US is actually a democracy, that would be nice too.
I disagree with this approach.

My policy as a tech lead (and then manager) was to spread the mundane tasks across the team equally. This let everyone experience the pain points and usually led to faster elimination of technical debt, since the senior developers would see patterns in the pain and find ways to address it. (Junior engineers often don't have the experience to recognize bad patterns or bad smells and would happily plow through a bunch of mundane tasks that could be done better with a higher level solution.)

It helped that we had a Tech Debt Week every 8-10 weeks where we took a week to fix problematic code and harden our deployment and automation processes. It was hugely popular with the engineers, we gave out trophies for the best fixes based on team vote.

The "share the love, share the hate" approach also meant that new junior developers were given challenging tasks as soon as they joined the team (and were paired with a senior developer for support). If they excelled, we gave them even harder things to work on. If they struggled, we found easier projects for them to work on and coached them through it so they didn't feel bad about their struggle--we always said it was better to try challenging problems and fail than attempt something safe and easy. Either way, we started new team members with the hard stuff instead of ramping them up slowly on the easy stuff.

The same policy applied to interns. They got challenging and impactful projects, no busy work or work the team didn't want to do. This meant we had a huge return rate on our interns and most of them joined our team when they came to work full-time.
Left, right, labels for who they are allied with. For all the rest its same shit, different wrappings.
As a sidenote I can't wait for AMDGPU to reach a speed comparable to nvidia.

I'll be able to leave all this mess behind.
People need to focus more on getting results. We're collectively so steeped in posturing about technology stacks and idiosyncratic decisionmaking that we've missed the bigger picture: get something done. For instance, anyone who says they factored in all the tradeoffs and then chose Haskell isn't trying to get things done or build a sustainable business - they're trying to orchestrate a technological boondoggle.

At the end of the day no one cares if you're a good developer. They care that the service looks good and works well. Googling is how you build a better service ergo do it and don't worry about it.
A New Algorithm for Updating and Querying Sub-Arrays of Multidimensional Arrays
It does matter and your comment is crass and unhelpful.
To pretend this is unique to communism ignores that this can happen in any society where rights are ignored and authority has absolute power with no accountability.

I've seen forums shut down because admins got a visit from the FBI and decided that running a site that garners that much attention from the state isn't a risk they want to take. One was a comedy forum that leaned a little more left of center near the 2012 election. Memes and words might endanger national security.

> The communists (Stasi and KGB) would have made it compulsory to not broadcast it but to unicast/multicast it to servers owned by the Party politburo.

Today, we see our government pushing for something similar: unencrypted communication over networks they have captured to servers they can access unimpeded (Google, FB, Skype etc).
apt-get and/or pip have frequently given me versions of numpy and/or scipy behind what TensorFlow, Theano, Keras etc. want resulting in cryptic errors that don't show up until attempting to run a script.
I think that by "learn more" they meant ensure that you're always learning. It's not that you should learn everything, but rather just ensure you're always learning something, always growing. This is something imposters don't do.
> I feel like the whole impostor syndrome thing has gone too far. At this point, we have legitimately talented developers questioning whether or not they are 'good' enough and it is actually quite frustrating to see.

I'm not sure what you mean by "has gone too far". It's an effect; it's not like people are aiming to feel incompetent. You could just as well say that "This depression thing has gone too far" -- OK, but so? That's not a solution? Sweeping it under the rug doesn't cure anyone of it.

The solution to imposter syndrome is to make everyone aware of it, so that people who could otherwise grow into their role properly don't look around at the performance of their more experienced peers and simply give up. At my work we assign all new employees a more experienced mentor that they can discuss these issues in confidence with. It really helps.
Heh, great. I used to put an ellipsis into a programming example to mean “fill in whatever you actually do here”, and now C++ went and made it mean something. :)
Regardless of your reasons, the end result will be more paywalls or entire articles that are actually ads (this is what yahoo does now).
I find "hang around people who are more awesome than you and absorb as much as you can" to be a tangible proxy for "learn more"
don't give up your day job
search for a few courses on coursera (https://www.coursera.org) and udacity (https://www.udacity.com), in software development and practices which are great. these two websites have great courses and they are not costly or rather free. And these courses vary from beginners level to advanced topics.

plus you can take a look at pluralsight (https://www.pluralsight.com) for a bit more detailed version. of courses as well. i have used all three and i believe that the first two sites are very good as compared to pluralsight.
I work in an IT dept which supports almost a dozen departments that all told use about 30 or 40 apps, almost all of which are still 32-bit. The hardware is recent and all 64-bit (as is our OS) but even the MS Office we use is 32-bit because of interaction with other apps. We also have to default the browser to the 32-bit IE executable rather than the 64-bit because of plugins (even MS recommends this). Most vendors still aren't up to 64-bit yet because they don't want to shut out the customers that are still years behind on upgrading. I'm thinking 32-bit will still be around for another 10 years to be on the safe side.
Who cares about the label? Just know what you can or can not accomplish and act accordingly.
Those katas are awesome, great job recording it. I love pomodoro technique .
i have the same question??? :)
And here's a review (although old) of the literature on the link between dichloroacetate (DCA), glucose, and cancer:

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2567082/
Sounds like Hungar Games class system
There's a lot at play here. Tech startups aren't hiring as fast as they used to, VC money is starting to dry up, large tech corporations seem to be having bigger and bigger layoffs, advanced fields like AR and VR are pretty stagnant, if you frequent HN you'll likely be told the tech you're using is dated and wrong on a daily basis. How could anyone not feel like an imposter?
Linux-insides: Reader-Writer semaphores
If a restaurant lets their customers use their phone are they liable if the customer uses the phone for illegal purposes?
And occasionally you'll happen to come across a bug in a library you thought was beyond your understanding/comprehension.
(This is meant as a reply to sievebrain: there appears to be some sort of thread-nesting limit.)

Bakunin did on occasion describe himself as a communist; but like Kropotkin, his communism was of the libertarian rather than authoritarian variety.
I once met someone named James Robey who was working on dom algebra, an os that works entirely out of html dom tags (no javascript). I saw him use a working demo of it online, but it may have evaporated.. feel free to google! ;-]
And please add fix for OpenSSL OS X issue ot of the box.
>How do the 1 percent tolerate outages?

Depends on the area you live, more elite== less power cuts. Some 'priority' areas like the area around juche tower and Joong-gu district get no power cuts, some have private inverters.
I'm a remote worker who has trouble sticking to a sleep schedule, so I made this
> The CIA is the reason for most of the unstable regions

Perhaps the CIA is thus wildly successful? That may be their primary mission.
C as an Intermediate Language (2012)
fuck the login/pay wall
Infanity – the infinite infant BASIC loop onesie
If apps localized to one's needs provide value then there is no need for protectionism. People will choose to use the localized apps.

India has a thriving ecosystem of local apps, but with negligible protectionism [1]. Uber, Ola, Zomato and others do a great job of localizing for Indian needs. Based on recent experiences I'd say Uber does a better job than Ola in this regard, in fact.

When I visited Malaysia, several folks I spoke to said they have a similar ecosystem.

The best thing is that Indians/Malaysians don't have to give up Gmail or Facebook if they don't want to.

[1] At least negligible protectionism w.r.t other apps. Ola competes on equal footing with Uber, but both suffer from protectionism w.r.t. legacy taxi providers.
Shudder, shudder, C++ 11 seems as bad a monster as C++ always has been...
It would not be cost effective for a NN-as-a-service using current GPU technology.
GraphQL frees you from CMS ecosystems
But wide-screen laptops are just the right size for side-by-side 80x25 emacs windows.
A non-paywalled report of the news: http://www.dailymail.co.uk/news/article-3591000/How-CIA-got-...