Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
jeregoorlino
@jeregoorlino
its there now sam. and wouldn't < 3 be logically the same as <= 2?
Sam Gwydir
@gwydirsam
of course. and so is <= ( 8 % 2) but it's clearer from the spec
Sam Gwydir
@gwydirsam
Hey just so you guys know, if you add good debug logging and still can figure out the problems by the time Chris and I get around to it -- but we figure it out from the debug logs and don't have to start from scratch it won't hurt nearly as much. Also I'd bet if you have good debug logging you figure it out
Sam Gwydir
@gwydirsam
rm eugenics.circuit;rm -rf build debug; ./build.sh && ./debug/eugenics/test-circuit && ./debug/eugenics/test-genetic; cat eugenics.circuit
Sam Gwydir
@gwydirsam
#include "this/package/foo.h"
#include "gtest/gtest.h"

namespace {

// The fixture for testing class Foo.
class FooTest : public ::testing::Test {
 protected:
  // You can remove any or all of the following functions if its body
  // is empty.

  FooTest() {
    // You can do set-up work for each test here.
  }

  virtual ~FooTest() {
    // You can do clean-up work that doesn't throw exceptions here.
  }

  // If the constructor and destructor are not enough for setting up
  // and cleaning up each test, you can define the following methods:

  virtual void SetUp() {
    // Code here will be called immediately after the constructor (right
    // before each test).
  }

  virtual void TearDown() {
    // Code here will be called immediately after each test (right
    // before the destructor).
  }

  // Objects declared here can be used by all tests in the test case for Foo.
};

// Tests that the Foo::Bar() method does Abc.
TEST_F(FooTest, MethodBarDoesAbc) {
  const string input_filepath = "this/package/testdata/myinputfile.dat";
  const string output_filepath = "this/package/testdata/myoutputfile.dat";
  Foo f;
  EXPECT_EQ(0, f.Bar(input_filepath, output_filepath));
}

// Tests that Foo does Xyz.
TEST_F(FooTest, DoesXyz) {
  // Exercises the Xyz feature of Foo.
}

}  // namespace

int main(int argc, char **argv) {
  ::testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}
Sam Gwydir
@gwydirsam
# export CC="/usr/local/bin/gcc-4.9 -fdiagnostics-color=auto"
# export CXX="/usr/local/bin/g++-4.9 -fdiagnostics-color=auto"
Sam Gwydir
@gwydirsam
number of unique circuits :=  2^((2^num_inputs)*num_outputs)
Vincent Valenti
@vincentv18
Hey guys, we debug logged it and added the inverter. It still doesn't work but we're doing what we can.
Sam Gwydir
@gwydirsam
Cool. Keep going.
Christopher Findeisen
@Atrus7
Hey
@jeregoorlino @vincentv18
You there?
Vincent Valenti
@vincentv18
yea. whats up
Christopher Findeisen
@Atrus7
Do you add gates to all of the other gates, or do you only add gates to the end?
Vincent Valenti
@vincentv18
all the other gates
why? are you all looking at our code?
Sam Gwydir
@gwydirsam
No, we just figured out a way to generate circuits really fast, and it had to do with that
Vincent Valenti
@vincentv18
oh okay
Sam Gwydir
@gwydirsam
# Servers
Host unix.cse.tamu.edu sun.cs.tamu.edu sun
  HostName unix.cse.tamu.edu
  User gwydir
  PreferredAuthentications publickey,keyboard-interactive,password
  ForwardX11 yes
Host compute.cse.tamu.edu compute-linux1.cs.tamu.edu compute
  User gwydir
  ProxyCommand ssh gwydir@unix.cse.tamu.edu -W %h:%p
  ForwardX11 yes
Host sun-new.cse.tamu.edu sun2.cs.tamu.edu sun-new sun2
  User gwydir
  ProxyCommand ssh gwydir@unix.cse.tamu.edu -W %h:%p
  ForwardX11 yes
Host build.tamu.edu
  HostName build.tamu.edu
  User gwydir
  PreferredAuthentications publickey,keyboard-interactive,password
  ForwardX11 yes

Host git.samgwydir.com 
  HostName git.samgwydir.com
  User git
  PreferredAuthentications publickey
  ForwardAgent no
  ForwardX11 no

Host eru eru.samgwydir.com samgwydir.com
  HostName eru.samgwydir.com
  User sam
  PreferredAuthentications publickey
  ForwardAgent yes
  ForwardX11 yes

# Host Maiar NS2 Bombadil maiar ns2 bombadil
#  #HostName 66.147.230.231
#   HostName Maiar.SamGwydir.com

# Host Olorin Gandalf olorin gandalf
#  #HostName  66.147.230.135
#   HostName  Olorin.SamGwydir.com

# Host Valar Ea NS0 SamGwydir.com valar ea ns1 samgwydir.com samgwydir
#  #HostName 66.147.230.23
#   HostName Valar.SamGwydir.com
#   Port 2022

# Local
Host Totoro totoro
 #HostName 192.168.1.40
  HostName Totoro.local

Host Hercules hercules
 #HostName 192.168.1.50
  HostName Hercules.local

Host OpenWRT Router openwrt router
 HostName 192.168.1.1
 # HostName OpenWrt.local
  User root

Host ErnstGwydir Ernst
  HostName Ernst.local
  User ernstgwydir

Host github.com
  User git
  ForwardX11 no


# All LAN
Host 192.168.1.* OpenWRT Router openwrt router Totoro totoro Hercules hercules ErnstGwydir Ernst
  PreferredAuthentications publickey,password

  StrictHostKeyChecking no
  VerifyHostKeyDNS yes
  VisualHostKey yes

  ForwardAgent yes
  ForwardX11 no

# Defaults
Host *
  Protocol 2
  ForwardAgent yes
  ForwardX11 yes
  ForwardX11Trusted yes

#XauthLocation /opt/X11/bin/xauth


  PreferredAuthentications publickey,keyboard-interactive,password

  ExitOnForwardFailure yes

  GSSAPIAuthentication no

  ServerAliveCountMax 4
  ServerAliveInterval 15 

  ControlMaster auto
  ControlPersist yes
  ControlPath   /Users/sam/.ssh/tmp/%h_%p_%r

  StrictHostKeyChecking no
  EnableSSHKeysign yes
  VerifyHostKeyDNS no
  VisualHostKey yes

  UserKnownHostsFile /Users/sam/.ssh/known_hosts
  HashKnownHosts yes

  IdentitiesOnly no

  IdentityFile /Users/sam/.ssh/keys/id_%h_%r

  TCPKeepAlive yes

  Compression no

  #Ciphers aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr,arcfour256
  #MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-sha1-etm@openssh.com,hmac-sha1,umac-128-etm@openssh.com,umac-64-etm@openssh.com,umac-128@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-ripemd160
  #KexAlgorithms ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
Sam Gwydir
@gwydirsam
Oh -- what is fake_pop?
Sam Gwydir
@gwydirsam
```./build/eugenics/test-genetic --gtest_repeat=100 --gtest_filter=InnocuousAttempt.*
./build/eugenics/test-genetic --gtest_repeat=100 --gtest_filter=InnocuousAttempt.*
also apparently if you're a cool kid you use std::size_t to index loops
Vincent Valenti
@vincentv18
Hey guys we are seriously struggling with this algorithm. I'm sorry if we really don't have anything to show for it but we are putting forth our best effort. I know you all are busy with the genetic but if you all have time can you look at the code and give us some advice. That would be awesome
Sam Gwydir
@gwydirsam
I can discuss with you on skype for a bit
I don't have the time to look at your code though
Vincent Valenti
@vincentv18
Alright. Can I call you in like 5 min
Sam Gwydir
@gwydirsam
Chris just called me, I'll tell you when we're done
Sam Gwydir
@gwydirsam
Ready when you are
jeregoorlino
@jeregoorlino
are you talking to us?
or chris?
Sam Gwydir
@gwydirsam
I'm talking to vincent on skype right now
jeregoorlino
@jeregoorlino
is it cool if i hop on too the
Sam Gwydir
@gwydirsam
Oh damn
I just saw that
The only important part was we think maybe using the wires as the base case for the uniques is not what we want
jeregoorlino
@jeregoorlino
im not sure how that would mess it up though?
Sam Gwydir
@gwydirsam
talk to vincent
jeregoorlino
@jeregoorlino
actually nevermind i figured out why.
Sam Gwydir
@gwydirsam
ok
Christopher Findeisen
@Atrus7
BTW, the report needs to be done really well. 1 hour will not be enough time I think...Just make sure to plan time to really wow on that thing.
jeregoorlino
@jeregoorlino
Yeah. I'm planning on it. No worries
Sam Gwydir
@gwydirsam
CC=/usr/local/opt/ccache/libexec/gcc-4.9 -fdiagnostics-color=auto
CXX=/usr/local/opt/ccache/libexec/g++-4.9 -fdiagnostics-color=auto
just delete out the opt/ccache/libexec part
jeregoorlino
@jeregoorlino
how is the GA going?
Sam Gwydir
@gwydirsam
Memory problems
Report/Traditional?
jeregoorlino
@jeregoorlino
report is being done right now. traditional we're back right where we were. with the XOR working but not the full adder.
for the report, i need just a couple of things from you guys
difficulties while doing it, changes from the design document and solutions to the difficulties.