skysight-inc/HackerNews huggingface dataset:
There's nothing RESTful about using more than 2 HTTP verbs (GET for SAFE endpoints, and POST for UNSAFE ones). (Mind you, REST does require that you obey the semantics of HTTP for the verbs that you do use, standard or non-standard).

And then the API endpoints illustrated don't obey HATEOS. So there's nothing RESTful about the article either.
What's the alternative? To authenticate against our FB account? I'd much rather have a distributed system than to be forced to maintain a FB account just to login.
https://en.wikipedia.org/wiki/Communications_Assistance_for_...
I don't buy the whole "if you hear it you'll see it" thing for coding - unless you're used to saying things you're working on I guess, but I'm not. I can see the extra focus it could bring because you're spending more effort in vocalizing your thoughts and it's going trough different systems as well (physically hearing yourself speak).

I've tried both and you can talk yourself trough the problem inside of your head step by step just as effectively when it comes to coding tasks IMO.

Immediate problem solving/planning like "OK I need to do this then this" is a different story - saying stuff out loud helps here.
Microsoft retiring Docs.com
Just touring somewhere isn't going to help, you have to make sure the person who is showing you the apartment owns the apartment, look up real estate records and ask their the landlord's ID. I say this because there is plenty of cases where scammers will break into vacant buildings and "rent" them as long as possible. Heard of a story where a guy was living overseas for a few months and came home to a family living in his house which had been "rented out" by a scammer who broke in and changed the locks.
It adds to the end of a file, sorry for the confusion. I thought it would be a bad idea to delete everything that is in the file. I'll take that into consideration. Thank you
I highly doubt that. You're gonna need a citation there.
Sticking a piece of black masking tape over webcams on my devices is pretty much a reflex reaction for me these days. EFF also sells a nice set of stickers for this exact purpose:

https://supporters.eff.org/shop/laptop-camera-cover-set

I think I have never actually used the front facing camera on my smartphone. Video conference calls on my laptop are so few and far between that removing and replacing a small bit of sticky tape is really not much of an inconvenience.
Freelancing is hard when you are doing it alone. Try to work with someone who can get projects. So you can just focus on delivery or vice versa.
Check out triplebyte (yc startup). It is pretty difficult to get in though.
Try to master just one skill.I used to look out for latest skills like elixir , go (when they were new).
In your case , look for angular 4, kotlin, swift or elixir. Just pick one and keep at it.

All the Best.
Python Data Science Handbook
It is a pity as the new app (that replaces this) doesn't support some important features and the ones it supports, are pretty basic (e.g no settings/testing for camera and mic).

Microsoft also does not provide a solution for Skype for Business as well which is a serious drawback imo.

Though in some cases I am quick to blame MS, in this case many of their rivals are in a similar state unfortunately.
Array Pool in .NET Core
I had a great experience, which I shared in another comment here. I agree, however, that there are plenty of folks I studied with who either washed out because they weren't prepared, or haven't accomplished that much because they frankly aren't that smart or hard-working. Those people probably aren't posting here.

Boot camps are no silver bullet. Like any kind of education, more is better, and the quality of the student is a factor. I will admit that while I got a great job, but there are fundamental CS concepts I'm still playing catchup with. Not sure if I would really be all the more effective as a developer if I did have a traditional degree, and maybe I would, but I can provide for my family and have no regrets.

All said, I think you might be right about some selection bias.
> Sure, but it's not clear that forcing all of that thought to happen before the first draft actually improves the final result.

To that point, the essay "Shitty First Drafts" by Anne Lamott, 1954 is a great essay on the importance of shitty first drafts.

https://www.google.com/url?sa=t&source=web&rct=j&url=https:/...
No I haven't read that book, but I have read and heard a lot of people claim that better computers would solve the problems with planning. I've never heard anyone who does so actually make a persuasive case, because they tend to treat the problems as merely being about doing spare matrix math or simply needing more data points to get better answers, which are not sufficient to make the problems of central planning go away.

I will google this book, but could you tell me what you find most persuasive about it?
If you know what you are doing vs the latest IaaS fad, it's going to be a lot easier and probably cheaper doing that.
>With regards to the innovation question: considering that the soviets we're quite good at military and space innovations

Well, space industry was quite suboptimal in USSR. Successes were achieved because of 1) all resources were spent on space and military and 2) great legacy of Russian Empire (especially great minds like Korolev, Tsiolkovsky and Tupolev). So I see it more like stagnation than development.
>comparable to some compiled languages

Given that python programs usually run an order of magnitude slower than compiled languages even a 2x performance increase doesn't put it in the "comparable" range from my experience. Not bashing python - I use it regularly - but for computational stuff it's a hog unless you're just passing stuff to C libs - like I have a resource build pipeline that does some blender 3D model transformations - code is written in python and takes forever - equivalent code in C++ would take roughly 1/100 of the time and performance would be irrelevant but atm. we're seriously considering rewriting parts in C++ to reduce build times.
Then why education or medical care costs do not decrease over time? How do they win against market pressure?
Tensorflow coming to Android phones
Yeah. The link in the FTA takes me to Skype download page and trying to install the deb file says that the version is 5.3.0.1. The notice on that page only says :

> All Skype for Linux clients version 4.3 and older will be retired on July 1, 2017. To keep chatting, please install the latest version of Skype for Linux

Seems like 4.3 and older will get retired, but Skype will continue to work on Linux with later versions like 5.3.0.1
Also they use contrast ratio of 3.0 for main text (gray font on white background). WCAG minimum is 4.5 and recommended is 7.0.
Ask HN: What cloud-based back-up solutions are compromise-proof?
Cloud-based backup solutions that I have tried or looked at so far (such as tarsnap, dropbox, crashplan and some others), would allow an attacher to delete all backups (including "previous versions") in case of a host compromise, which is a scary prospect.

What cloud-based backup solutions are available that are actually guaranteed have your back in case of host compromise?
Grow your business online over by 80%
Reminds me of topojson[0], a GeoJSON extension, that encodes features as topologies, instead of geometries.

[0]: https://github.com/topojson
Tried dragging a header in. Tried deleting it by pressing "del" after selecting it, didn't work. Tried dragging it off-screen to delete it, didn't work. Then I noticed the welcome-message chatbox on the bottom right was hiding a big red button ;)

I can imagine keyboard support wasn't the highest priority in getting all of this stuff to work though, so not complaining, but I think it would make this a lot more appealing to power-users.
Core ML: machine learning and deep learning (Keras models) on Apple phones
So my question to people who point this out is -

If this is inevitable, and this is best for "WE"/"OUR" needs - then does it just make more sense to accept it and strive to be in charge of the process instead?

Is it now OK, to just accept that people will be manipulated by those who know the method to do so? And apply to those firms?

----

Yes - If people turn out to be harder to model, it may be harder to corral people and ideas. The model and assumptions in the larger discussion being held in this topic will be logged as hyerbole and we will move on.

Yet - its clear that people DO have some obvious levers, essentially the human hind brain is an easy target to throw emotionally laden messages at. The brains react and then oppose whatever target they are provided.
It happened here http://www.optimizationtoday.com/social-media/what-i-learned...
Seems like skype is mostly dead anyway. I remember a few years ago many of the network news agencies exclusively relied on skype (I assume this was an advertising deal with MS because of how much I heard the brand mentioned), but now I see more mentions (adverts) of facetime and never hear about skype.
That's only if you assume that businesses can't influence market forces and the business environment, which is a grossly incorrect assumption.
Redhat's OpenShift 3 runs containers on Kubernetes under the covers. So far we haven't found a way to directly manage OpenShift via kubectl.
ARMs vary from simple microcontrollers to the SoCs used in smartphones and tablets.

The former, probably not.

The latter probably have something similar --- and they're even less publicly documented than Intel ME/AMT or AMD's equivalent.
I love Java. I think it has changed the world for the better.

That being said, I just can't get excited about new language features now that I have discovered Kotlin. It is essentially Java but with a much smarter compiler and a more modern and sane syntax.
Akhbar Alahly
Al Ahly News Al Ahly News, Follow us with the dates of Al Ahly Club Matches and Al Ahli prescriptions and local Kora news and analyze all tournaments.
But triangle buttons! Unlabeled ones, at that. The guy in the picture is thinking, "I wonder what this one does..."
It was started 10 years ago.
From rust belt to mill towns: a tale of two voter revolts
Needs upload button (viewing on tablet)
After a couple days the fraudster could claim that the wire transfer bounced, take another two days to check with their bank. Then they could say the problem is on recipient bank's problem with SWIFT/BIC code format and pretend to attempt the transfer again.

They might even go as far as actually commission the transfer in front of the recipient but then cancel it in the evening before it's cleared.

Another way to buy some time could be to send transfer for one percent of the amount and then claim it was a mistake with decimal point.

I guess this could be stretched to two weeks before recipients are convinced of the fraud.
>And if I needed to post a controversial point of view on my model steam loco business page, I've got bigger problems than facebook.

Yeah, but what if you post it on your personal wall, and get banned for that? You won't be able to access your page, it doesn't matter you kept it clean.
Similarly, I can't get excited about Kotlin's features because they're all things I've been using for 5 years already in Scala.
It was used for ad impressions. Each page read = new ads = more $$ for the publisher.
The rest of the world is behind Java in some developments like container-style isolation of different applications in the same runtime environment. However people still mock Java in things the community is behind. Wait till the cool kids discover conatiner managed transactions. Then it will THE GREATEST THING EVAH !!
> I see all of these articles on HN on how to break free from Google or some other eco-system because they're "evil." I dunno, I guess I don't have a CIA-level job that most of these commenters have where they need to be off the grid.

As a highly pro-privacy person, I find it ridiculous when people build up arguments like "I guess I don't have a (sic) CIA- level job that most of these commenters have...". Seriously, privacy is not just about you or me! It's about every human in this world, and the balance of power between layperson/citizen and state/corporation. Without protections like privacy (which is one among many), we'd never enjoy all the freedoms we take for granted every single moment. I'd strongly recommend reading this short and succinct article titled "Privacy protects the bothersome" [1] by Martin Fowler.

[1]: https://www.martinfowler.com/articles/bothersome-privacy.htm...
>The vast majority of consumers will choose whatever is cheapest and looks good.

That is a dismissive position on the potential of consumers of organic agriculture to affect the whole system. Its not a spectator sport - proponents of organic agriculture consume it.

>you must consider a lot of factors, one of which is yield.

The substantial 2016 meta review which I linked is actually a professional peer reviewed consideration of all relevant factors including yields.

I dont enjoy arguing at length against common dismissal of organic farming, which is why I just dropped a very relevant quote and link to a good study in this thread. I think it could serve your interests to examine that study fully rather than brush over it.
Get the Best Floral Designer in Brooklyn to Design the Party
They want people to move to SlideShare.

SlideShares UI is really bad, I dont like it. Docs.com had better UI.
You will likely have to get Governments around the world more selectively involved in it.

As systems, governments are playing catch up in many areas, while leading in areas we don't want them to have power.

For example - governments should have already put out rules against skinner box games, the most popular kind on Facebook and the rest of the net.

Governments made rules against things like subliminal messaging - because it targeted and manipulated human choice at a subconcious level.

We wont be able to protect ourselves against corporations, unless we have coordinated action. The mechanism for this is always going to end up being political.
If you're only going to be living there for six months it doesn't really matter.

I once rented a shitty apartment that I knew was shitty and could see was shitty. I needed some place to live right then and there and they weren't asking too much for rent. I wasn't planning on living there more than a year. Ended up living there two years due to medical issues delaying home buying but still don't regret living there at all.

Plus, you reserve hotel rooms sight unseen.
Same. I was irritated enough by the badly formed headline to read the story to try and figure out what was going on.

What's wrong with something like, "Torch machine learning introduces vulnerability in loading of shared libraries." Whilst it doesn't tell the whole story it does at least give a flavour instead of just sowing confusion.
Dutch-Russian cyber crime case reveals how the police tap the internet
I haven't seen this but...

> You must restart to apply these changes.
It all depends on the task -- if your program is calling into optimized C-extensions anyway, converting the whole thing into a compiled language of course offers less of a speedup.
Heres a question - what are the kids using?
Settlements concentrated along the coast were mostly colonies of former naval powers, like Greek states, Phoenicians, and Carthage. These liked to settle close to shore but weren't connected by roads due to political reasons until submission to Rome.
I used to like Java when it was simpler. Generics I thought were great, but the new features just seem like attempts to shoehorn features of dynamic languages onto a business language. And I still can't have multiline strings (on a language used for Web programming!).
Might want to add in a 4.5, learn about the diode.

And I also recommend learning about opamps instead of transistor amplifiers, easier and more practical. However the transistor as switch is still very useful to understand.
I don't have the patience to go through the whole `$ man readline`, but I'm almost certain none of those shortcuts are specific to MacOS or even MacOS terminal emulators.

These ones are, though:

Cmd-` cycle windows
Cmd-Up previous mark
Cmd-Down next mark
I don't really understand this? I've never used AMP directly but I use Ghost which comes packaged with AMP. How does AMP change the domain of your content?
Could you explain when one would need Java REPL?

Also, are you familiar with Groovy and Scala and their intended uses?
The Developer Hiring Process Is Broken
If you're interested in designing a RISC processor in software, Knuth's full book on MMIX is an interesting and complete read. I am not referring to the short version published as part of Volume 1 the revised TAOCP, but the full exposition in his book from Springer-Verlang. [1]

There he explains the CPU, the memory management, the instruction pipeline. And he builds the assembler for the machine. He worked with David Patterson (of MIPS fame) on the architecture.

As to the implementation, Knuth once commented that the coding of the instruction pipeline for MMIX was the hardest programming he'd ever done.

Cool stuff!

[1] http://www.springer.com/gb/book/9783540669388
Awesome work, congratulations on bringing Python forward.

Still wishing one day PyPy might become the canonical implementation.
Maslow's Hierarchy Level 0, Part I
Cheap DNA Testing Is Giving Some Insurers Even More Ways to Deny Coverage
I had an interview this morning which was via Skype, which I don't use. Gave my MacBook Pro r2013 to the missus, so all I had was the Android app on my Nexus 6p and the new app for Linux on my XPS 13.

I did some tests beforehand and the Linux app doesn't even connect to the Skype Test account. So I used the Android app and the voice quality was so bad I had to riff on some things. We reconnected 2/3 times and it was uniformly awful. Never had these problems on my 80/20 fibre connection with Hangouts.

Skype is awful, the Linux app is crap, it needs to die in a fire.

EDIT: I even enabled upnpd on my gateway router in case that was the problem - nope, still fubar.
Best – TOP 10 –  JEWELLERY BRANDS
It's funny that the image of the CPU in the article is a P4-era socket 478 model, which AFAIK comes from a time when Intel ME didn't exist in its current form yet... somewhat like showing a late 80s vehicle in an article about hacking self-driving cars.

"Intel AMT SOL technology" - a most ironic acronym for this situation...
or government protected at&t bell labs which invented​ everything we do!
> " The original MIX computer ran fine without an operating system. You could bootstrap it with punched cards or paper tape and do everything yourself. But nowadays such power is no longer in the hands of ordinary users. The MMIX hardware, like all other computing machines made today, relies on an operating system to get jobs started in their own address spaces and to provide I/O capabilities.

Unikernels come back to that, to an extent, what there is of the OS is part of the application, and IO capabilities are provided by libraries linked into the unikernel application. As always, the issue is having IO drivers for the hardware in a form which can be used.
Free markets are non-coercive. Anything which is not a voluntary exchange of value is not a free market by definition.
Does Scala/sbt still take 5 years to compile moderately sized apps?
Java already had REPLs in the form of Beanshell, Groovy and Eclipse scratchpad.

It's 2017, where are the REPLs for Go and Rust?
Twitter is even worse with this. I block all advertisers, but they've recently added the ability to see why you were targeted - each of them states I was targeted because i'm in the UK, even for stuff that's only relevant to another country, Kenya was the last example.

There is a targeting problem that helps TW/FB, or there is a reporting problem that helps nobody.
Yes, I fully expect them to revert to their old ways and tear themselves apart over Europe.
> You can, but presumably your situation is rare?

That's exactly how my career started.

Which still doesn't mean it is not rare but maybe a bit less rare than you thought it was.
Is this year´s WWDC17 good for iOS developers?
> Sounds like a bug in GNU's ld.so more than anything.

It's neither unique to glibc (AIX, Solaris) nor to LD_LIBRARY_PATH (PATH), nor trailing colons (leading colons, adjacent colons).

This de facto standard becomes a little more obvious when one considers a likely implementation (iterating over "strchr(arg, ':')" or whatever). Any of these sequences then will give up an empty string:

PATH=:/foo
PATH=/foo:
PATH=/foo::/bar

And an empty string is equivalent to dot for chdir(2).

zwp:/tmp$ cd ''
zwp:/tmp$ pwd
/tmp
zwp:/tmp$

(This is not the same as plain "cd" (ie with no args), which is a special case that takes you $HOME, of course).

I agree it's surprising and potentially dangerous.

FWIW, the execp() functions hide a similar wtf. From the Linux man page:

The file is sought in the colon-separated list of
directory pathnames specified in the PATH envi‐
ronment variable. If this variable isn't defined,
the path list defaults to the current directory
followed by the list of directories returned by
confstr(_CS_PATH).

Security conscious programs that clear the environment and then call eg execlp() end up searching dot before the system path. Yay.
Top 100 Economics Blogs of 2017
Democracy needs to get a lot less representative, and a lot more accountability and checks need to be put into place.
Why Amazon should keep prescription drugs off its voluminous shelves
Okay, this is completely tangential to the article, but I see this footer on the website:

"We are using cookies to improve your experience of our site. By clicking ‘Agree’ or ignoring the banner, you are assenting to our use of cookies."

I don't really care, but is this strictly speaking legal? "If you don't read this, you agree to it"? If I read it, am I "ignoring the banner"? Usually if you don't agree, they are supposed to not store cookies and ask every time, which is something I'm actually OK with.
Blender Python lib by default is not optimized much. It has nothing to do with Python as a language.

Use numpy for matrices. If you have to implement an algo with a hot inner loop, use cython or numba.

I've never seen 100x difference in Python-C++ rewrite if Python was optimized already.

Here is a good article about some of the options:
https://rare-technologies.com/word2vec-in-python-part-two-op...
I've been impressed with Google Apps Script (https://script.google.com) for little things. Define a doGet (or doPost) function, and it will be called for HTTP requests.

https://developers.google.com/apps-script/guides/content has a tiny example where they fetch an RSS feed, transform it, and serve the result.

You also have very easy access to Google services, so you can read from and write to Google spreadsheets, Drive, Gmail, etc.
haha. nice
Kubernetes is not a "where", more like a "how". Where do you host/rent your kubernetes?
The original Java REPL was called Eclipse
No, what what rejected was the lack of certain features due to OSGi political discussion.

However they have been talking how to solve this and the new release is planned for end September.
I used a REPL in Java right around when they did the name change to J2SE, so that must have been 20 years ago? By the OPs definition it was still 10 years too late though so there is that.
Started reading her post, got to "The panel was made up of 5 men and 1 woman." and the agenda instantly became clear.
Finished reading, in a masochistic attempt to confirm my suspicion and indeed, I was right.
Give. Me. A. Break.
I have a few services running on Heroku. Not a favourite amongst many but I've been using it for a while and it works well for me.
> If you have an event at 10am in Las Vegas, moving it to Chicago shouldn't suddenly change the start time.

Does this come up a lot? Moving from Las Vegas to Chicago would involve much more than just being aware of the time zone change.