skysight-inc/HackerNews huggingface dataset:
> They tried/are trying not to cannibalize their main source of revenue, and the world has moved on without them.

reminds me about Sun. There i learned that if you don't cannibalize your main source of revenue yourself, somebody else will do it anyway.

>They couldn't go from a lucrative private cloud revenue stream and then somehow convert it to a public cloud and expect to make the same amount of money.

it is the way of technology - from higher margin low volumes things grow/scale into lower margin higher volumes (with total money on the table only growing). To play that transition successfully a fat slow cow has to start moving faster and to become more lean.

>virtualization itself is dying

the original way - full VM like the VMWare Workstation - has become just one among several. Containers are here to stay for enterprises. Many enterprises aren't going to bother how you run the service which runs their containers as long as it runs and scales.
I haven't been on /. forever but I think a strategy focused more around gossipy/soapy topics and embracing the long tail of your (stereo)typical IT worker (tech gadgets, scify, comics etc.) would be decent. HN covers the "techy" and "startupy" segments fairly well.

I have no idea how SourceForge will turn out. In my mind it's tarnished forever due to the crapware shenanigans. They have some "community building" features that seem valuable, used to have a decent brand name and it's never bad to have an extra place for storing FLOSS.
Hope they finally do something positive with SourceForge to try and get it competitive with GitHub (and other services), and remove the virus ladden crap from it in the process.

But yeah, this seems at least a tad promising. The new buyers do at least care a bit about the community now.
Virtualisation isn't going anywhere. If it was mainframes would have already dumped it! In reality there is still alot of catching up to do!
The new npm works great. The progress bar updates was only slowing it down on some platforms and has been fixed. The reason it has become slower is because it is flattening by default which everyone wanted and needed to happen.
Mover: Easily move files between cloud services
Same here. Also, I don't use Atom, but looking at the expression I'm pretty sure it fails to account for strings with parentheses. The way the matching is done, it looks like it will happily count:

func("some call :)")

as extra closing paren. (regex101 agrees)
What? This is 2016, apps on the web are proven to work well for quite some time now.
Xiaomi is running out of excuses
Our philosophy as a BaaS
"What’s the difference between a tap and a touch? I have no idea"

TL;DR api design is hard because these are the programmers we write api for. Never happy, can't grasp the basic of the platform they're using, won't read any documentation to save their lives and expect all code to come to them magically perfect as if formed in a vacuum and not having a back-compat history.
RationalPlan – Retina Ready Project Management Software for Mac OS X
I don't always want to spend insane amounts of time writing full AST parsers. Sometimes it is a lot easier to write a simple, hacky, throwaway regex. It's a bit much to claim that backtracking regular expressions, a very useful tool sometimes, should never ever be used and everybody should waste loads of time writing careful code even in situations where it isn't required.

The problem is not the tool. The problem is using the tool for the wrong job - although who knows, maybe if they didn't just chuck out a quick hacky implementation, then atom simply wouldn't have the feature at all - in which case it is a trade-off between having the feature at all and an evidently tiny corner case bug that was easily fixed by someone who isn't even a regular developer of the project.

So I don't see the reason to be outraged or judgemental here.
Classificiation of Arduino Boards
Shunned is a strong word and I don't think it applies. I think Luminis is ok for some things but by and enlarge most people doing webdev in Clojure prefere to go a different way.

Saying it is shunned makes it sound like a whitch-hunt but that not the case. I don't even think the community has an opinion on it. Most just dont use it.
IonicRealty: New Ionic 2 Sample Application
Two examples:

https://goo.gl/photos/9Ujw2Ssb5EtQyvH59

https://goo.gl/photos/oHN4PqV6CRMgvssVA
Yarn: A new way to remember and relive life's moments
for folks with macs and have boot2docker or docker-machine running, turn on your volume to MAX and do this:

docker run -it jcheng/docker-conspeech:latest python /opt/conspeech/demo.py RY 0.25 | say
What if it's not for "profit", but for the perceived long-term national security interest of the US? The kind of "national security" which doesn't directly protect us from attack, but rather prevents us from having to fight future wars when the nation is energy-starved.

Consider this video featuring Retired General Wesley Clark talking about plans in the Pentagon (circa 2001) to regime change 7 Middle Eastern countries in 5 years.

https://www.youtube.com/watch?v=9RC1Mepk_Sw

Assuming there is any truth to this claim (and I'm suspicious because we can't independently verify the claims), the implication is that the US military investigated and drew up plans to free the countries and make their oil available to western nations in order to fuel future economic growth (I'm taking liberties and drawing inference from previous US intervention in Middle Eastern foreign policy). It's not "profit", but it's the long term "security" (which can be extremely subjective) of the US.
I read that. My point stands. "It uses horrible hacks" isn't a valid reason. Actually, I don't think there is a valid reason why not to release code that does something interesting and you want to show people.
I've never written any Go and I don't use Atom. I also found the article quite interesting. Do we really need a comment on every HN post asking why this is written or created or upvoted?
Yeah... Competition is almost always good.

I wished React was more modular; I will never use propTypes (using typescript), server side rendering or target older browsers with it so I'm probably paying for > half the size of React without needing it. Every detail count.
It would be refreshing if the ES evolution would take some hints from TypeScript instead of satisfying the perceived need for syntactic sugar and cutesey poor man's FP.
You got the last word in, congrats! Hope your life is more meaningful now.
Observer pattern. Say you have some event that occurs, and some objects that want to know about it. You make a signal and connect some observers to it. When you fire the signal the observers receive some parameters and do their calculations.
As an also-Director of Engineering applicant, I'm at the point where if I get to the onsite and you ask me beginner Javascript questions or give me riddles, I'm inclined to say thanks but no thanks and move on. Not literally, but it's definitely not going to make a great impression on me. After all, part of the reason you're hiring a Director of Engineering is to... well, direct engineering, including the interview process. Still, it's a red flag.

I would also chime in to agree with @trek. I've followed the careers of people my teams have passed on, and they're almost all wildly successful. I've been happy with 75% of my hires. I obviously haven't figured it all out, and my teams have definitely let some good ones slip through.

Surely we can do better.

It reminds me of an observation I read the other day. Paraphrasing: "When I am an applicant, I think I'm being interviewed by geniuses. When I'm the interviewer, I'm ecstatic if they can write 10 lines of code."

Ain't that the truth.
Cool stuff! thk
So true for SourceForge. There are lots and lots of lesson learned items in there for folks at Github and friends. Please take note and make better!
> The conversion from DFA to NFA [...]

I believe you mean NFA to DFA.

> [...] would require O(n^2) in that case

I believe you mean O(2^n).
https://en.wikipedia.org/wiki/Powerset_construction#Complexi...
"It Depends." If youre doing "random" writes down to the block dev, like updating a filesystem, it can be very bad. You'll end up hitting the read/update/write cell issues and block other concurrent access. In general I'd worry (expect total throughput to go down, and tail latency way up) around a 10-20% write:read ratio. Conversely if youre doing sane sequential writes, say log structure merges with a 64-256KB chunk size, Id expect much less impact to your read latencies.
There's quite a few ways to get started with the skills you need for pen. testing and the good news is that a lot of them are free or low cost.

You should probably start by picking an area that you're interested in (e.g. web, infrastructure, mobile) as whilst there's some commonalities each area has it's own toolset and specific areas of focus.

For learning there's things like https://pentesterlab.com/ , https://www.offensive-security.com/metasploit-unleashed/

For practicing legally , a lot of CTF competitions make use of skills which are useful for penetration testers, also places like vulnhub https://www.vulnhub.com/ have downloadable challenge machines that you can run in a VM.

In terms of meeting up with people in the industry, look out for local Defcon chapters or B-Sides conferences, both of which tend to be free or low cost and have some good content.
Would you mind sharing types of services you were not able to get because of credit scores?
I've spent the last year wondering why compiling and linking took so long. Now I've been looking at the source of our toolchain and see that not only does it use linked lists for everything, it also appends everything at the end -- without storing a pointer to the last element in the head. Fixing the O(n) append improves performance a lot.
Spy agencies fund climate research in hunt for weather weapon, scientist fears
you could backup to iCloud instead
Same experience here (with French plugs). Using the cable with the ground pin "solves" the problem.
I was under the impression that the problem was a corrupt and impenetrable legal system built to erect barriers to entry and protect insiders, the virtue in whose hearts is boiled away in the fires of greed and lust for power.

This is a sort of French Revolution type system: the elites can keep shitting and pissing until suddenly a conspiracy forms and KABOOM a whole bunch of dead rich people in the street and NOBODY CARES because they're perverted scum ! ! !

B R I N G

B A C K

T H E

G U I L L O T I N E
No problem. As others mentioned; declare var is the way to go (my TS is getting rusty, apparently :) ).

Editors have no problem with it. They will simply see it as an "any" var. Completely compatible.

I wrote quite a bit of TS and this was how I used most obscure libraries. I can't be arsed to keep those stupid .d.ts files up to date and I trust the API docs. It's my own code I wanted to vet. Works like a charm.

Judicious use of declare var any, and ignoring compiler errors, is what really makes TS reality-compatible.
Huge workforce to hire from (crucial for start ups), vibrant and huge cosystem, battle tested, can scale to pretty much any size, write once, develop anywhere, ...

I know HN is a bit in a bubble but I've dealt with hundreds of startups over the past ten years and I can tell you that easily 90% of them pick Java from day one.
Crucial to develop state-of-the-art tech in India: Ex-ISRO chief
Yes, on a Mac you can type Command-Option-I. On other platforms it should be similar.
XKCD Stack
The syntax will be broken 99% of the time and making a parser that recovers gracefully under any circumstance is very hard.

You could make an editor that only allows valid programs but that opens up a lot of UI problems, it was tried many times and it never took off in practice.
Uh... Android's APIs are one of the most backwards compatible I've worked with (most applications written for 2.0 will work without issues on new Androids). Could you elaborate what extra work do you have to do? In comparison to what?
How is this any different to depending on Amazon for your back end?
I would argue that this precisely is the reason for that many shut downs after acquisition. They don't make their business to be sustainable, rarely profitable even.
getting a 500, which tracks with my experience of atom
We've all seen worse.
it isn't clear to me why police is allowed to have union at all. They aren't labor. Armed forces (as well as FBI) don't have a union for a reason, and the police is no different in that respect.
> I was a big XML hater, back in the days of SOAP, but the more I see how services are defined today, the better the old rust bucket looks

You really should try to use SOAP again, you will soon change your mind. I used it a few weeks ago (after about 5 years of peaceful life) and let me tell you - it still sucks.

The problem with SOAP is that, even if it is a standard, every $@%#*! library implements it in a slightly different way, leading to incompatibilities. Maybe it was just my luck, but every time I tried to use SOAP I ended up debugging XML envelopes and whatnot. With REST/HTTP + JSON? Just send, receive, parse, do what you want.

</rant>
IF it works. Which it almost never does (in my experience: 3 fails out of 3 trials), unless you are using the same SOAP library on both ends.
And now at http://deepart.io/ we have hi-resolution and the authors of the algorithm on-board. Thanks for mentioning us :)
Got one for a month and half now. With the 2 - 3 standing 'sessions' per day I can't complain. The motors so far survived even my child playing with it (and that means a lot of action)
at least a github exodus is just a git clone away
Thanks for your input. Two points that really shines out for me are the "compiled binary" and the "performance" factor. I will give Go a go.
Sorry, I had no idea. Will update my comment. It's a pity, though. I really liked checking on the status of the latest work for web development in Rust from a single place.

edit: It seems that I can't edit that comment anymore.
If you base your company technically on something you cannot swap out then you need to calculate in the risk that you vanish before your time has come. Which is why, bad Chef code aside, Walmart (https://github.com/walmartlabs) is a big company and knew to write a common denominator over cloud hosters to make sure this doesn't happen to them. If you picked Parse (but of course also Firebase and whatever else that is only cloud based or too expensive to ever run on premise) to base your company on, you have an x% chance of being destroyed overnight. That x changes and it is your job as a business owner to keep re-evaluating that x and keep it close to 0 where your resources allow it.
It seems there's a need of a regex linter (eslint plugin?) that could warn on pathologically complex regexes. Is building this kind of plugin feasible?

Having said that, probably few people would explicitly opt in to using such a plugin unless it's bundled by default to some linter.
Such networks already exist, e.g. http://www.faulkes-telescope.com/ or http://www.schoolsobservatory.org.uk/
On HN, you tend to get modded down for one of two reasons: 1) you're wrong about something; or 2) you're right about something.

Can't take it too personally either way.
Speculations on why the shutdown: Apple CloudKit is gaining momentum. Google is predicted to come out its own offering for Android based on Firebase. Facebook wants focus on its Messenger as a platform, rather than 'supporting' Apple and Google's platforms. My 2 cents.
> you are asking for service support for life

No. What I'm asking for is to not have arbitrary restrictions imposed on me if I try to maintain old software beyond its service life.

For example: I have a legally licensed copy of Snow Leopard. I would like to be able to run it on a VM, but I can't because the license doesn't allow it. (Yes, I know I can run Snow Leopard Server on a VM -- and I do -- but Snow Leopard Server is not quite the same as Snow Leopard.)

I also have a legally licensed copy of Mavericks, but I have no way of doing a clean install of Mavericks since it has been pulled from the App Store. (Yes, I am told that some people have Mavericks in their purchased tab in the App Store. But I don't, probably because I bought a machine that had it already installed.) Likewise for iPhoto.

I would also like to be able to install a new version of an application while keeping the old version. Or at the very least I would like to be able to roll back to an old version if I don't like the new version for some reason. With the App Store, I can't do any of these things.
That should grow array by inc on every insert right? I am assuming it is not the actual code

edit: there is full code in the end and it is same too.
Also, I kind of like the short versions. They are not any more difficult to remember ("Hmm, was it CopyFile of FileCopy?") and you need to search for them the first time around anyway. And it does save the effort when typing.
They probably have a lot of patent, and i agree that VR is not going away. I was talking about occulus as a fb branded hardware and development platform.
Karl Stiefvater is a graphics programmer who's been involved in, among other things, Riven (Myst's sequel) and The Matrix. He's been playing with the neural algorithm of artistic style on his blog recently (e.g. [0]). In 2015 he also started a YouTube series, "The Joy of Programming"[1], although as far as I can tell only two episodes have been released.

[0]: http://www.qarl.com/qLab/?p=144

[1]: https://www.youtube.com/watch?v=pRL9J6DoCgs
Metric anomalies detection
But you should cache at the highest level right? Where you terminate ssl?
Thanks for the thorough reply. It's helpful!
What the newly opened economy means for Iranian tech scene
Two more examples:

https://imgur.com/a/fwrfe

I've been slowly coming back to this app for weeks. It works well combining a photo with a clear focus, and a patterned one.

A few weeks ago, they dropped the resolution of the photos. After seeing a preview of what a smaller resolution one looks like, I'd be happy paying extra for a large-sized one.
I was thinking the same thing - it would be really nice if they could return SourceForge to its former status.

I don't feel too strongly about GitHub one way or the other, but having some more options can only help.
I get what you're saying, but now you have two divergent nginx releases to maintain. nginx plus isn't simply nginx with an extra module, it is closed source and on a separate release train.

For instance, the last nginx plus release (R8) is based on nginx 1.9.9 (plus was released 40 days later). The previous is based on nginx 1.9.4 (plus was released 25 days later). It isn't a matter of life and death, but it is an annoyance and unnecessary.

At least with Varnish Plus, it's still the same open source server with proprietary modules added in. I understand that nginx wants to go that route eventually, but they're hamstrung by the lack of dynamic module loading for the moment.
Have you checked out Gitlab? It looks quite cool. https://about.gitlab.com
Best Day Counter-count days for upcoming event and send your reminder
But I can run an old OS on my new laptop. In fact, I can run many old OS's on my new laptop. I run MacOS 6 (using vmac). I run Windows XP (using Parallels). I even run old Apple II software (using VirtualII). But I can't run Snow Leopard (only Snow Leopard Server, which is not quite the same thing) because the license doesn't allow it, and Parallels enforces that restriction.
I have been working in Clojure and Clojurescript full-time for 2 years and feel blessed to have had the experience, and here is what I've taken from it:

1) It changed how I think about programming, big time. I came from Objective-C and pre-2011 C++, and the functional paradigm blew my mind open. It is now the first habit approach I have when working in any language.

2) I really miss types. While I understand the argument about "fighting the type system", I'd still prefer to occasionally tweak my line of code to satisfy an average type system like C++ rather than deal with the lack of safety and clarity that functions with no type specification for input or output provide. I've recently started doing much more in C++, but this time the modern variant (where I'm using lambdas and the algorithm library all over the place, thanks to what Clojure taught me), and it's been a wash of relief to use my brain for things other than remembering what to feed a function I wrote days, weeks, or months ago: just let the compiler tell me, verify that I've done it right. The ability to quickly test an idea in Clojure is great, but I feel like a large dynamically-typed code base is tremendous opportunity for significant run-time problems, since no compiler has verified that a big category of easy-to-make bugs aren't in there. I'm often having to look at the actual implementation of functions that I don't want to study any more, just so I can remember what types to give them, and what to expect back from them. Run-time assertions and :pre/:post are great, but still not the same thing at all -- and verbose, and added runtime overhead. I don't consider Core.Typed to be the solution to this problem; really, this is something that should be at a core language level, and Clojure is dynamically typed, that's its ball-game, and that's fine for many folks. But I'm slowly moving on towards an exploration of static languages like OCaml, Modern C++, and others.

That said, the elegance of Clojure syntax is extraordinary. I don't think it can be beat. It is a joy to use. So all languages have their unique characteristics. I've come to learn what characteristics are important to me, and adjusting my workflow and choices accordingly. But I can't imagine the programming landscape without Clojure.
Not sure what you mean with the last sentence?

Anyway, Fragments are a nightmare. I learned them, I used them, and if I have to use them today I would still need to open that tutorial I have saved somewhere. That is one ugly solution if there ever was one.
Depends on your definition of 'artist'. This doesn't create any original work, it just remixes a photo into a style. When the subject matter is more than a source image and the output more than a digital visualisation through an algorithm, then the answer is 'no'.
Only a 6 digit ICQ number :(

The early adoption I'm really kicking myself for was shutting down a bitcoin CPU miner after calculating that the electrical cost made it a break even. It never occurred to me that the price of a bitcoin would go up with no reason behind it.
My 7 favorite entrepreneurial resources
There is now.

https://github.com/notpeter/apple-installer-checksums
Maybe you can try to use a relational DBMS to model the graph data: https://news.ycombinator.com/item?id=10316872
You make some useful points about the challenges. However, NASA will never do a purely propulsive landing of such a craft? Is it really inconceivable that over time it could become, and be demonstrated to be, at least equally safe to using parachutes?
Whether or not the core of your criticism is legitimate, I have a certain distaste for this kind of negativity and I don't feel that it adds to the quality of discussion on this site.
thanks; still a bit confusing. but I get that a Von Neumann machine can be simulated with a Turing machine. So, the Turing machine is more fundamental. Still, let's say my instruction set is ADD, LOAD, STORE, where do these instruction live in a Turing machine?
> Many large companies with their own datacenters are running off of bare metal, and this will be the trend going forward.

How many of those companies actually were the kind of company that otherwise would have bought VMWare products? Those that have the expertise to properly move off virtualization right now probably didn't bother with VMWare.
Sorry, I see neither a "manage" link nor a "hidden purchases" field. I have App Store 1.3 on Mavericks.
We are working on this @Hasura.io. This is our blogpost in response to the Parse shutdown. https://news.ycombinator.com/item?id=10994104