Git Product home page Git Product logo

attic's People

Contributors

aaaaalbert avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

yyzhuang

attic's Issues

Dos style files cause repy to fail...

If you use \r\n to indicate a new line instead of \n, repy fails on non-Windows operating systems. This should either happen consistently or not at all.

geni admin interface enhancements

  1. show date added on admin interface as well as last seen time.
  2. adding search, etc. to admin interface.
  3. make all components searchable

UI should immediately change when click to get more resources

In the Used Resources tab of the GENI site, when you click get, it seems to work on getting the resources, then it updates the UI once it has gotten them. The flow should update the UI to show the user that they did indeed request resources and make it so they cannot click the get button again, then do the actual getting, then update the UI again to show what it got. Without this first UI change, the user is likely to get impatient and click the button multiple times if the request takes more than a second or so to fulfil.

Sending on a connected socket broken?

When writing the allpairsping program we encountered issues with serving the webpage to Firefox. It was resolved by placing the entire webpage in a single call to send. It is important to understand if this is a bug.

Allow users to vary the amount of resources donated

Jake says:
I'd like to get people in the hacklab using Seattle and perhaps we can contribute more than a single node to your project. Perhaps you can also tell me how I can limit the program, say to 250Kb/sec and say 50% cpu time with some limit on memory?

Justin's comments:

This is partially v0.2 but we should start to think about this.

Change run_tests.py to run on WinCE

Windows CE has no console/pipes so there is no stdout and stderr. This means that the run_tests.py currently will not support WinCE. There needs to be a flag for both run_tests.py and repy.py to write to a file instead of stdout/stderr so that the unit tests will run.

Personalized demokit creator

The demokit should contain the user's keys (or at least it should be possible to download one that does). It's a bit of a pain in the butt to download 3 separate things.

This task should not be started until ticket 29 is resolved

requests with invalid sequence ids are executed by the nodemanager

Requests with invalid sequence id's are being executed. A request with sequence id 'n' should only be executed if n=1 or if request 'n-1' has been executed. Request with negative sequence id's should also not be executed.

The client should verify the sequence id is greater than 0 before sendig the request. For sequence id's greater than 0, validation should be done on the server side.

The following tests demonstrate this behavior:
nmtestchangeadvertise_invalidsequenceid.mix
nmtestchangeadvertise_invalidsequenceidnegative.mix

Ability to run individual unit tests

Something similar to run_tests.py but with the ability to run a selective test, or subset of tests. Now, if you only fail a few unit tests, it is necessary to re-run all of them. This is especially annoying when working with slow systems. (E.g. Windows under virtualization or mobile devices).

Bland exception names

In almost all cases, Repy raises "Exception" on error. Ideally, different types of exceptions would have different exceptions (to simplify the programmer's error handling. These exceptions will also need to be placed in the user's namespace so they can catch them.

wrong function name in seattle traceback?

Sometimes it seems that error messages have the wrong function name listed by Seattle traceback. For example, an openconn(...) that fails may list "connect" as the function that was called instead of openconn(...)

Add support for the user selecting the external IP addresses available to repy programs.

From: Jacob Appelbaum [email protected]
Date: Fri, Dec 5, 2008 at 3:54 PM
Subject: improvements
To: Justin Cappos [email protected]

I'd like to be able to specifically
bind all connections to a given interface or to at least a specific ip
in this list:

seattle@m1:~/seattle_repy$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:1B:B2:E0
inet addr:209.237.247.66 Bcast:209.237.247.255
Mask:255.255.255.0
inet6 addr: 2001:4978:157:0:216:3eff:fe1b:b2e0/64 Scope:Global
inet6 addr: fe80::216:3eff:fe1b:b2e0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:157948423 errors:0 dropped:0 overruns:0 frame:0
TX packets:127499127 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1109394676 (1.0 GiB) TX bytes:1632506546 (1.5 GiB)

eth0:1 Link encap:Ethernet HWaddr 00:16:3E:1B:B2:E0
inet addr:209.237.247.67 Bcast:209.237.247.255
Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

eth0:2 Link encap:Ethernet HWaddr 00:16:3E:1B:B2:E0
inet addr:209.237.247.68 Bcast:209.237.247.255
Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

Currently, 209.237.247.66 is selected. I assume that this is because
it's the ip for the only up interface that isn't lo.

Better error messages for invalid arguments

The error messages for most API calls is confusing when given bad input. For example, passing recvmess(getmyip(), '63122', 'hello') says that resource can't be obtained. This is despite the fact that the user may have messport 63122 assigned.

The error should really say "port with value '63122' is not an integer" or similar. This is likely a systemic problem and is related to bland exception naming.

Portability to Python 2.6 / 3.0

From Jake Appelbaum:

I'd installed python 2.6.1 on noisebridge.net. I've started install.sh
as a user named 'seattle' on my system. Sadly, it appears that 2.6.1
isn't supported. So I've also installed python 2.5.2 as well.

My comments:

We will need to fix this issue since more and more linux / mac users will have python != 2.5.*.

Node manager should readvertise on key change.

The node manager should readvertise in opendht, etc. soon after a user changes the keys on vessels on the node. Waiting ~ 5 mins is not a good solution and the current work arounds (doing it on the website, etc.) are not good long term fixes.

key generating daemon

Maintain generated keys in a process (not database). Communicate with this process over a socket to request new keys.

Look at file open modes for repy...

There are lots of different file open modes. We shouldn't allow anything that isn't portable and might consider denying some other modes on principle (like universal new lines).

Logging information on the node

Need a good way to log information on the nodes and read that information. This will be used in both the software updater and node manager.

Change run_tests.py to run on WinCE

Windows CE has no console/pipes so there is no stdout and stderr. This means that the run_tests.py currently will not support WinCE. There needs to be a flag for both run_tests.py and repy.py to write to a file instead of stdout/stderr so that the unit tests will run.

Ensure that uninstall.sh is executable

Carter,

Can you make uninstall.sh executable by default, like install.sh?

-rw-r--r-- 1 seattle seattle 31 2008-10-20 23:49 uninstall.sh
-rwxr-xr-x 1 seattle seattle 34 2008-10-20 23:49 install.sh

thanks,
ivan.

from justin

Try deleting the cached version of your installer from the website and
then retrieve it again so that it's recreated by the back end scripts.
See if you still have the issue.

Thanks,
Justin

Someone needs to sort this out...

Get Seattle running on Windows Mobile (CE)

Task is to get Seattle running on Windows Mobile Devices.
This has a couple of parts:

  1. Build Windows API for CE
  2. Get development environment working for CE
  3. Run unit tests, determine main problems
  4. Solve individual problems related to unit tests

Make compressed file (re)packaging into a module

Change our current zip file / tarball packaging to have a modular component that does the packaging / repackaging. The reason is that we use this in many places (installers, etc.) and it would be nice to have it broken out in a logical way.

Improve seattlestopper

We need to make sure that if seattlestopper.py has been run, seattle will not be restarted until it is manually started (with seattlestarter.py) or until the user has restarted their computer. Do this by having seattlestopper grab the locks for seattle and the softwareupdater, then sleep forever, checking every once in a while to make sure it still has the locks. seattlestarter, then, should forcibly remove the locks and start the node manager and the software updater.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.