Quantcast
Channel: 懒得折腾
Browsing all 764 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Computational Photography Programming Assignment 1

part0.py import sys import os import numpy as np import random import cv2 import run def convolve(image, kernel): '''Convolve the given image and kernel Inputs: image - a single channel (rows, cols)...

View Article


Image may be NSFW.
Clik here to view.

MOE GIS portal data update

To change the tool tip, go to Language -> Caption Editor -> Permit To TAke Water – 2013_tolltip OPERATIONS.PTTW_20120913: run a python script EMR_PUB.PARCEL_OWNERSHIP_WITHPIN: add one field...

View Article


Image may be NSFW.
Clik here to view.

PingPong Game

import java.util.concurrent.CountDownLatch; import java.util.concurrent.locks.ReentrantLock; /** * Program.java * * Main entry point for game. Creates two threads, * Ping and Pong, that alternately...

View Article

Image may be NSFW.
Clik here to view.

Algorithms II: 3-way radix quicksort

Suppose that you run 3-way radix quicksort (do not shuffle) on the following array of 12 strings: 7637 8658 3548 2618 4264 8833 6517 4646 8688 7571 7116 3617 What is the array immediately after the...

View Article

Image may be NSFW.
Clik here to view.

Algorithms, Part II Assignment 3

Programming Assignment 3: Baseball Elimination Given the standings in a sports division at some point during the season, determine which teams have been mathematically eliminated from winning their...

View Article


Image may be NSFW.
Clik here to view.

Computational Photography Programming Assignment 3 – Image

import numpy as np import scipy.signal import cv2 def generating_kernel(a): '''Return a 5x5 generating kernel with parameter a. ''' w_1d = np.array([0.25 - a/2.0, 0.25, a, 0.25, 0.25 - a/2.0]) return...

View Article

Image may be NSFW.
Clik here to view.

Dining philosophers problem

package posa import scala.actors.Actor /** * Actor representing a philosopher. * When receives message n, will eat n times and terminate. Eat sequence: * 1. picks up left chopstick (may block until...

View Article

Image may be NSFW.
Clik here to view.

Lake Partner Program Python Preprocess Script

This python script reads the Tab Separated text file extracted from the Excel file provided by Lake Partner Program and create one text to be converted to feature class, one text for secchi depth data...

View Article


Image may be NSFW.
Clik here to view.

Learn to Program: Crafting Quality Code

# Do not import any modules. If you do, the tester may reject your submission. # Constants for the contents of the maze. # The visual representation of a wall. WALL = '#' # The visual representation...

View Article


Image may be NSFW.
Clik here to view.

The Hardware/Software Interface Lab 1

Lab 1: Instructions When you’re ready to submit your solution, go to the assignments list. Lab 1: Manipulating Bits Using C Overview The purpose of this assignment is to become more familiar with data...

View Article

Image may be NSFW.
Clik here to view.

Burrows-Wheeler Transform Discussion and Implementation

Burrows-Wheeler Transform Discussion and Implementation by Michael Dipperstein After playing with: Huffman coding, LZSS, arithmetic coding, and run length encoding (RLE), you’d figure that I’d have...

View Article

Image may be NSFW.
Clik here to view.

Algorithms, Part II Assignment 4

COS 226 Programming Assignment Burrows-Wheeler Data Compression Algorithm Implement the Burrows-Wheeler data compression algorithm. This revolutionary algorithm outcompresses gzip and PKZIP, is...

View Article

Image may be NSFW.
Clik here to view.

Computational Photography Programming Assignment 4 – Video Textures

part0 import numpy as np import cv2 def video_volume(image_list): '''Create a video volume from the image list. Input: image_list - a list of frames. Each element of the list contains a numpy array of...

View Article


Image may be NSFW.
Clik here to view.

MOE Interactive Maps Unsolved issues

1. Wells Record Data’s French translation “Puit enregistrer des données” is not correct. 2. m.a.s.l in PGMN water level is English. French translation is required. 3. PGMN Chemistry data has a long text.

View Article

Image may be NSFW.
Clik here to view.

OPS Dental and Medical insurance

http://www.opseu.org/ops/benefits/ Plan Name: Dental OPSEU – ER Plan Provider: Great West Life Assurance Co. Coverage: Employee Only Group Number: 330021 Customer Service: Ext: Plan Name:...

View Article


Image may be NSFW.
Clik here to view.

Algorithms, Part II Interview Questions

Interview Questions: Undirected Graphs Question 1 Nonrecursive depth-first search. Implement depth-first search in an undirected graph without using recursion. Your Answer Score Explanation Total 0.00...

View Article

Image may be NSFW.
Clik here to view.

Algorithms, Part II Linear Programming Exercise

Feedback — Linear Programming You submitted this quiz on Wed 1 May 2013 1:51 PM PDT -0700. You got a score of 2.80 out of 3.00. You can attempt again, if you’d like. To specify an array or sequence of...

View Article


Image may be NSFW.
Clik here to view.

Pattern-Oriented Software Architectures for Concurrent and Networked Software...

ATTN: As with all peer-assessments, you will receive the average of your 4 scores.  For the programming assignments, you will receive the maximum score out of the ones you submit (so if you get 30/30...

View Article

Image may be NSFW.
Clik here to view.

Scala-based high performance geoprocessing library GeoTrellis

Scala-based high performance geoprocessing library GeoTrellis adds vector support in new version 0.8 Tue, 2013/03/26 – 17:11 — Anonymous The GeoTrellis team is very excited to announce the availability...

View Article

Image may be NSFW.
Clik here to view.

The ArcGIS Runtime SDK for Qt 10.2 beta is now available!

The ArcGIS Runtime SDK for Qt 10.2 beta is now available! by Eric Bader on March 26, 2013  2 23 405 Esri is pleased to announce the beta release of the ArcGIS Runtime SDK for Qt. ArcGIS Runtime SDK for...

View Article
Browsing all 764 articles
Browse latest View live