Live data from Hacker News

Building Jarvis

facebook.com

231–240 of 263 posts

Re: Building Jarvis

#231
post #184

Earlier quoted context omitted.

And yet 30 years we could do all that with a whole lot of if statements. It would just return false positives a lot more. A couple of others have replied saying the same thing as you that this is 'AI', but it's not. As soon as you try to use it for something it wasn't programmed for, it fails. It doesn't even understand what it is doing right now. This isn't me 'moving the goalposts' either, we have literally never a…

You couldn't do face or voice recognition 30 years ago with if statements.

According to [1] there was a system in 1968 that “consistently outperformed humans when presented with the same recognition tasks”.

As someone who was into programming and electronics in the eighties, I also feel a need to object whenever people say things like “we thought it was AI until we could make a computer do it, and now it’s just math” (paraphrasing).

We (those of us interested in the subject back then) had a pretty good idea about what would be possible in the future (because of faster machines and more storage) and what would not be possible in the future (unless a breakthrough was made in understanding intelligence).

Now, I do think we underestimated how fast things have developed, and especially the resources people have access today via the internet, but none of what I have seen today would have been classified as AI by myself back in the eighties.

[1] https://en.wikipedia.org/wiki/Facial_recognition_system#Hist...

Re: Building Jarvis

#232
post #186

Earlier quoted context omitted.

With projects like composer/symfony/laravel & the plethora of really good PHP packages out there, it is easy to write a good CLI with PHP these days.

Simple text parsing in PHP7 is also faster than in Python, Ruby, Perl and NodeJS. I recently wrote some 1-liners to parse a 19Mb log file with a regex on my 2010 quad-core Mac. Python/Ruby: 2.2 secs. Perl: 1.4 secs. NodeJS: 0.9 secs. PHP7: 0.4 secs.

Can you show your code, at least?

Re: Building Jarvis

#233

I'm viewing the article without logging into Facebook. In the comment / response section where "X, Y, Z, and a billion others liked this", the first person is 'Priscilla Chan', which I'm guessing is the same person that is Mark's wife. I'm curious, is that priority computed based on Mark's circle of friends? Or, are these values hard-coded / special-cased for the CEO, and potentially other individuals aswell?

Almost certainly not hard-coded. Anyone of Mark's friends with a lot of followers and a public profile will probably be famous.

Re: Building Jarvis

#234

Earlier quoted context omitted.

Does he have some custom build network router that he trust? Putting tape over your camera means you know enough to not trust the laptop hardware neither the OS or browsers like you said. But he says: "We use .. Sonos system with Spotify for music, a Samsung TV, a Nest cam for Max". So all of his appliances do get outside. I did a double-take on Nest cam. So he's streaming videos from his house on the internet with a…

I didn't read the part about Nest to be fair but with some basic network design you can easily segregate networks and reduce your attack surface massively, even if you're using internet connected devices (seperate vlans, use http proxies with ACLs, no inter device communication where not needed). The difference between a switch and a laptop is that your switch isn't running browsers with 0days found regularly, no mal…

I agree with what you are saying, however tape over the camera means you don't trust the OS or the hardware manufacturer with a console command like modprobe to actually do it's thing and disable the web camera.

Re: Building Jarvis

#235
post #122

Here's what I absolutely love about this... He's still a hacker. CEO of one of the biggest internet companies of our time and he still hacks. I explain to people all the time, true hackers are like true writers. I've heard writers talk about the same thing. It's like an urge of creativity inside you, you have to release it into something. You can also see in the comments section, he's replying to people and providing…

Gates' did something similar (as far as high-tech'ing your abode) in the 90s that I thought was also very hacker-ish.[0] “First thing, as you come in, you’ll be presented with an electronic pin to clip to your clothes. This pin will connect you to the electronic services of the house,” Gates wrote in The Road Ahead. “The electronic pin you wear will tell the house who and where you are, and the house will use this in…

They used the art-part of that in the movie Anti-Trust. Fun =)

Re: Building Jarvis

#236
post #184

Earlier quoted context omitted.

You couldn't do face or voice recognition 30 years ago with if statements.

According to [1] there was a system in 1968 that “consistently outperformed humans when presented with the same recognition tasks” . As someone who was into programming and electronics in the eighties, I also feel a need to object whenever people say things like “we thought it was AI until we could make a computer do it, and now it’s just math” (paraphrasing). We (those of us interested in the subject back then) had…

I also mucked around with computers in the 80s and agree with most of that. I guess a lot of whether stuff is AI comes down to how you define it. The Oxford English Dict has:

>[mass noun] The theory and development of computer systems able to perform tasks normally requiring human intelligence, such as visual perception, speech recognition, decision-making, and translation between languages.

So obviously by that speech and Zucks type of face recognition are AI. I note the '68 system was hybrid and required humans to measure the faces and enter data for where the features are so it was more analysing numbers.

There was actually speech recognition software in the 80s but it used a neural network approach rather than if statements and didn't work terribly well https://www.wired.com/2013/11/tech-time-warp-of-the-week-ibm...

Human level thinking type AI is obviously still to come.

Re: Building Jarvis

#237
post #89

Earlier quoted context omitted.

Funny thing: Based on the screenshot in the post header, he's using async/await and therefore the Hack language (instead of vanilla PHP): https://docs.hhvm.com/hack/async/introduction

I'm not sure why that's funny or remarkable - Facebook invented and is a heavy user of Hack, it's only natural that he's familiar with it and chose it.

It's funny as an alliteration: He is still a hacker hacking with Hack.

Re: Building Jarvis

#238

Earlier quoted context omitted.

Could you explain your comment for us? I'd guess that maybe Canadians are known for leaving their homes unlocked??

Even in Sebastopol (about an hour north of SF), (some) people never lock their front door.

For anyone wondering, the name is not a result of a mistake, apparently 'beta' was commonly transliterated as 'b' in the past (as opposed to 'v', the sound that it stands for).[1]

1 - https://en.wikipedia.org/wiki/Sebastopol,_California#History

Re: Building Jarvis

#239
post #186

Earlier quoted context omitted.

Simple text parsing in PHP7 is also faster than in Python, Ruby, Perl and NodeJS. I recently wrote some 1-liners to parse a 19Mb log file with a regex on my 2010 quad-core Mac. Python/Ruby: 2.2 secs. Perl: 1.4 secs. NodeJS: 0.9 secs. PHP7: 0.4 secs.

Can you show your code, at least?

Sure:

  Ruby
  IO.foreach('logs1.txt') {|x| puts x if /\b\w{15}\b/.match? x }

  Python3
  import re
  with open('logs1.txt', 'rt') as fh:
      for line in fh:
          if re.search(r'\b\w{15}\b', line): print(line, end=' ')

  Perl
  open my $fh, ') { chomp; say if $_ =~ /\b\w{15}\b/; }
  close $fh;  
  
  NodeJS
  var fs = require('fs'), byline = require('byline');
  var stream = byline(fs.createReadStream('logs1.txt', {encoding: 'utf8'}));
  stream.on('data', function(line) { if (line.match(/\b\w{15}\b/)) console.log(line); });

  PHP
  $fh = fopen('logs1.txt', 'r');
  while (($line = fgets($fh)) !== false) {
    if (preg_match('/\b\w{15}\b/', $line)) echo $line;
  }
  fclose($fh);

Re: Building Jarvis

#240
post #198

Earlier quoted context omitted.

In my parents generation, and the generation that came after them (the one my siblings belong to, Gen X), I still think this differentiation between concepts of fictional AI were present. Consider for example the computer systems in Star Trek, and especially The Next Generation, and contrast how they worked with how Commander Data was depicted. The computer systems on Star Trek can be programmed using natural languag…

Pardon my nerding out, but I think the difference between the computer system and Data was the degree of self-determination given to each system. When the holodeck was instructed to create an opponent capable of defeating Data, it created an sentient Moriarty AI. The computer system was fully capable of being a full AI, it was just never instructed to.

The ship's computer being limited to turning on the lights is just one of many points in Star Trek where the writers intentionally avoid using the fictional technology to its full capabilities in order to keep the plot exciting and suitable for a main stream audience. Transporters and replicators are another example: Suitably used they could be terrifying weapons.
Post reply on HN