Ask questions about the core tech here, but not questions about prices or personal questions or GUI and please don't DM JL777.
https://dexstats.info/richlistlookup.php?address=RLVzC4tr9cNKvuw2z4m8KuMfZURwCehx55
https://medium.com/@jameslee777
100 messages
Before 05-Dec-19 12:00 AM
BlackJesus12-Feb-19 04:52 PM
Roger that.
jl777c12-Feb-19 05:46 PM
if the past contains a 2 million "accidental" instamine for the devs, who then reduce the coin emission significantly... well it wast a premine, it happened during the first weeks when it was still called Xcoin, so technically DASH was never premined. yet there was a large percent of existing supply that was mined by the dev
1
rainbro712-Feb-19 05:56 PM
James, is a true physical bitcoin possible? One where users can trust that the coin holds a certain digital amount. Is it possible to use crypto conditions to create such a thing? For example, a meta ledger that tracks who can unlock an amount from a physical coin.  I put 5 dollars in a 5 dollar denomination coin and locked it. I now have the right to redeem it. I can pass this right to the next public wallet.
But what if anyone can create and lock coins?
They dont all have to look the same
Redemption is the meta ledger tracking that you own the coins
A DAO
or smartcontract of sorts
I'm not so technical. I'm just assuming fund can be sent to some type of smartcontract or DAO. They can only be redeemed if the next users public key was switch with the previous users public key (representing a transfer of ownership - like a meta ledger). Its not very efficient. I would imagine, given that you agree a central party is required, that some type of smartcontract or DAO could act as a trusted third party. I'm not sure how but if anyone could think of it it's probably james.
jl777c12-Feb-19 06:05 PM
a onetime use privkey could be implemented with CC
rainbro712-Feb-19 06:06 PM
But would a onetime use private key be useful for a coin that constantly changes hands?
jl777c12-Feb-19 06:07 PM
yes. put it on the inside of the coin. it requires the coin to be destroyed to reveal the privkey
problem is that there wont be a way to prove that it has any actual privkey inside
it is as centralized as you sending a tx to someone else
the usage of the privkey is validated by the entire network
rainbro712-Feb-19 06:08 PM
I get what you guys are saying. There will always have to be someone with access to the private key.
bummer :/
jl777c12-Feb-19 06:09 PM
the validity also. the problem is to properly prove there is a privkey inside would be to have a zero knowledge RFID that proves there is a privkey to the pubkey inside
there is no minting here, just putting funds into a privkey
yes, in that sense you do need to trust the minting process doesnt reveal the privkey
and there is a zksnark like way to prove it has a privkey
and the only way to reveal the privkey is to destroy the coin
rainbro712-Feb-19 06:12 PM
I understand, so there is no optimal ways yet . Darn, I feel like this would help spread crypto.
(https://opendime.com) Opendime is a small USB stick that allows you to spend #Bitcoin like a dollar bill. Pass it along multiple times. Connect to any USB t...
Just learned about this.
jl777c12-Feb-19 07:26 PM
does it prevent the retention of a copy? if not, it seems not having much value
rainbro712-Feb-19 07:33 PM
But the person that sends the private key would know the private key. In this situation you cannot know the private key until the hardware is damaged in an irreversible way. It acts as true cash until destroyed. It is only one time use though.
Yes, no one can create a copy since the private key cannot be found until the device is destroyed.
The one time use (after redemption) and the cost make it not too viable.
I think it's around 40 dollars for 3.
Markus12-Feb-19 08:19 PM
@jl777c abit of a odd question, ur here most of times. How does ur sleeping schedule look like?
Not a tech question tho, sorry for that!
jl777c12-Feb-19 08:22 PM
I sleep when I am sleepy. I eat when I am hungry. what else?
i try to avoid forcing myself to sleep if I am not sleepy, or staying awake if I am sleepy.
coding doesnt use that many calories, so its not like physical labor where you have to stop after some hours.
I remember a 5 day stretch where I slept a total of about 10 hours in just a short nap here and there
sometimes I sleep for 16hrs, maybe after the 5 day stretch i would sleep for 24+ hours, dont remember
1
2
1
1
1
3
1
1
josephnicholas GMT+813-Feb-19 06:29 AM
@jl777c Hi, I was just thinking so for atomic swaps, where will the prices exchanges of the 2 parties like 1 BTC = ?? ETH? Is there a service in BarterDEX that is having that exchange rates?
jl777c13-Feb-19 06:30 AM
each party puts in the price they want
its called a market
josephnicholas GMT+813-Feb-19 06:33 AM
Okay, so everything on that side is implemented in SuperNET right?
jl777c13-Feb-19 06:33 AM
it is a p2p
each person would put in the price they want and it is used to determine if a swap should happen or not
josephnicholas GMT+813-Feb-19 06:33 AM
So is it connecting to different blockchain's like Eth, Btc, and others?
jl777c13-Feb-19 06:34 AM
yes, to hundreds
but only if you specify that
josephnicholas GMT+813-Feb-19 06:36 AM
SuperNET is implements that right? BarterDex backend is SuperNET?
Just curious though, since my prof told me that BarterDex has same concept as Bisq? but Bisq is not doing atomic swaps right?
jl777c13-Feb-19 06:41 AM
SuperNET repo is where mm1 is. I think Bisq is doing human arbitrated swaps, maybe same high level concept, but totally different implementation
josephnicholas GMT+813-Feb-19 07:02 AM
mm1 -> marketmaker right?
mm1 is connecting to the different blockchain nodes right?
jl777c13-Feb-19 07:05 AM
yes
there is a new iteration mm2, that does the same stuff, just better
josephnicholas GMT+813-Feb-19 07:07 AM
Okay thanks for this information.
Sorry I am kinda lost on the CC part, so I notice in the Komodo repo, there is a CC source, so if I add a new CC like CC_VOTE, will this mean it will create a OP_VOTE opcode and add on the UTXO?
jl777c13-Feb-19 07:11 AM
no
if you make a CC_VOTE, there will be a new CC evalcode of CC_VOTE
josephnicholas GMT+813-Feb-19 07:12 AM
So CC_VOTE is the contract itself?
jl777c13-Feb-19 07:12 AM
you can put it in the libcc.so and make a user defined evalcode. look at ~/komodo/src/cc/cclib.cpp
the code that validates VOTE evalcode is the "contract"
so whenever a VOTE utxo is spent, the code associated with the CC_VOTE is invoked and it can do whatever (literally) it needs to in order to say true or false
Is createFunding a function if we want to make a Dice contract?
jl777c13-Feb-19 07:20 AM
the way dice CC was designed, there needs to be "house" funds to bet against. without any such funds, you really cant bet against the house
so the first step is to fund the dice plan
by doing various transactions you advance the state and achieve the desired effects
CC are quite a bit different than anything else, so you do need to study the existing examples to see how they achieve their goals
faucet CC is one of the simpler ones
josephnicholas GMT+813-Feb-19 07:25 AM
Okay thanks @jl777c , I was comparing it to Solidity for my paper, since in Solidity you just create a smart contract(based on the language syntax) and run it, in CC I am confused on why it has a implementation in core code and how would a finished contract look like
jl777c13-Feb-19 07:27 AM
CC run natively at full speed with total access to all daemon data
i guess it is like the difference between CPU mining and ASIC
it is more work to make an ASIC, but the result is orders of magnitude more efficient
CC is NOT equivalent to solidity
in fact, theoretically it is possible to make a single solidity CC that would interpret solidity contracts
CC are able to change consensus rules for the blockchain
solidity runs an interpreted language under existing consensus rules
once a CC exists, you interact with it by sending CC transactions
josephnicholas GMT+813-Feb-19 07:29 AM
in fact, theoretically it is possible to make a single solidity CC that would interpret solidity contracts
So basically, if this would be possible we can apply use solidity in creating contracts for KMD?
so faucet.cpp is the contract at this point?
jl777c13-Feb-19 07:32 AM
yes, once such a CC exists, that would be possible. but considering that we can get things like rogue CC working in a couple weeks there isnt much need for solidity. also it would be 10x to 100x slower and possibly not viable for any compute intensive things
maybe we shouldnt use the word "contract", smart or otherwise
CC is a TOTALLY different way of solving the same problem
it implements constrained transactions with a specific vout type
and using this, one of the nearly infinite things you can do, is implement what are commonly known as "smart contracts", you could create a smart contract interpreter, you could make a blockchain enforced sudoku too
josephnicholas GMT+813-Feb-19 07:35 AM
Wow that's really great! There is a current doc on running CCs right? I just wan to try it maybe on testnet or something. I can't really understand completely without trying it.
So every addition/modification of the CC you have to rebuild komodod and publish daemon updates with new CCs right?
jl777c13-Feb-19 07:37 AM
there is the libcc.so, which is a dynamic library to make user defined CC
it isnt quite building right, but when it is you can just update libcc.so and komodod would use it
josephnicholas GMT+813-Feb-19 07:39 AM
Wow! got so excited to use this, this might be boosting my paper.
This needs testnet funds to run the conditions right?
I mean CC
jl777c13-Feb-19 07:40 AM
just normal txfee of 0.0001
its just normal tx as far as the rest of the blockchain is concerned
josephnicholas GMT+813-Feb-19 07:43 AM
So the CC are executed with an RPC call?
josephnicholas GMT+813-Feb-19 07:54 AM
Each Crypto-Conditions contract has its own special address that is known to all, including its private key.
Komodo Platform is the world's leading innovator of blockchain technology. Now, Komodo is implementing Crypto-Conditions and UTXO-based smart contracts.
jl777c13-Feb-19 11:21 AM
globally known privkeys allows funds to be locked in an address and then depending on the rules of the CC to be unlocked by potentially anybody. If possible it is better to not use such as there is only CC validation protecting the funds, but sometimes that is exactly what you need.


Step 1
Download and extract the zip file to your web root directory (usually htdocs or wwwroot). If you want to run the template from a sub-directory you will have to update all root-relative references, for example:
<root/css/colorscheme-oceanside.css>
to <root/your_sub_directory/css/colorscheme-oceanside.css>
Make sure your web server is configured to process SSI. It might be configured to process only files with certain file extensions such as .stm. In that case, you'll need to either name your pages with a .stm extension or configure your server to process .html as well.
Step 2 - Navigation Type
Megamenu

Dropdown

Single level

Open /ssi/navigation.html and update line 8.
Step 3 - Color Scheme
Oceanside
<link rel="stylesheet" href="/css/colorscheme-oceanside.css">
Orange County
<link rel="stylesheet" href="/css/colorscheme-orangecounty.css">
Paso Robles
<link rel="stylesheet" href="/css/colorscheme-pasorobles.css">
Santa Barbara
<link rel="stylesheet" href="/css/colorscheme-santabarbara.css">
Sierra
<link rel="stylesheet" href="/css/colorscheme-sierra.css">
Open head_css_js.html and update line 25.
Step 4 - Google Analytics
Open /ssi/analytics.html and insert your Google Analytics ID at line 4. Learn more about Google Analytics by visiting this page.
Step 5 - Header Images
Replace the sample /images/template2014/header-organization.png with your own logo and organization name. Replace /images/template2014/*(Chosen Color Scheme)/header-background.jpg with your own image. You can download a Photoshop template for the organization logo and name on the WebTools website.
If using the optional slideshow banner open /ssi/header-slideshow-banner.html and add your own images and captions. If NOT using the slideshow banner open index.html and delete the include reference on line 55.
The reference code will be:


uuLua
A small library that implements some UUID generating functions (so far only random UUIDs)
Give it a try:
local uu = require "uulua" for i=1,20 do print(uu.random()) end
...or in moonscript:
uu = require "uulua" for i=1,20 print uu.random!
Next planned feature: date-time and MAC-based (aka. version 1) UUIDs
License: The Unlicense


---
layout: post
title: Oracle Docs Firefox Search Plugin and Extension
date: '2006-10-23T14:17:00.000-05:00'
author: Don Seiler
tags:
- documentation
- oracle
modified_time: '2010-11-19T22:48:48.406-06:00'
blogger_id: tag:blogger.com,1999:blog-7032512792942232766.post-1289548968295177297
blogger_orig_url: http://www.seiler.us/2006/10/oracle-docs-firefox-search-plugin-and.html
---
Recently stumbled upon Oracle's "Blogger of the Year", Eddie Awad. Today I found out about his Oracle Docs Firefox Extension, which also mentions his previous work on a search plugin for firefox.
It also works with Firefox 2!


Hello there!
I'm a Computer Science student from Bangladesh. I like to solve problems and so I like to take part in competitive programming contests. I usually practice coding in CodeForces and CodeChef. Aside form contesting, I know Cpp, Java, Python, Django, CodeIgniter, SQL, Git, Docker etc.
Thank you for reading.
| Title | Building Semantic Knowledge Graph using Twitter Data |
|---|---|
| Supervisor | Dr. Muhammad Mashroor Ali |
| Description | In this thesis, we investigated how to build knowledge graph from a very limited data source like Tweets. As the research progressed, we faced some chalanges such as connecting external knowledge base, choosing tentative candidates and disambiguating urls using various heuristic functions. We have also used NLP tools (GATE developer) to analyze tweets and write necessary codes. (github link) |
| Title | cDoctorAssistant |
|---|---|
| Language/Framework | Python, Django |
| Description | A simple cancer patient management system |
| Title | Rubics-cube-solver |
| Language/Framework | Assembly 8086 |
| Description | An assembly 8086 code that can solve 2x2x2 rubics cube |
| Title | Compiler |
| Language/Framework | C++, Flex, Bison |
| Description | A simple C Compiler that takes a source program, generates tokens, an AST, andgenerates a corresponging target program in Assembly x86. |
| Title | Database Project |
| Language/Framework | Java, OrientDB |
| Description | A project to experiment with the features of a NoSQL database named OrientDBusing Twitter Data. |
| Title | Smart Locker |
| Language/Framework | C |
| Description | A hardware project with ATmega32 microcontroller that uses sensors detect burglar. It also comes with an alarm and a password management system |
| Title | FileExplorerFX |
| Language/Framework | Java, JavaFX |
| Description | A simple file explorer that can be used to view, navigate through folders, and openfiles in a computer. Currenctly works with Windows |
| Title | Zaxon |
| Language/Framework | C, iGraphics |
| Description | A simple game where the player has to defeat an alien |
| Title | AdmissionDeadLine |
| Language/Framework | Android, Java |
| Description | A simple Android app that scrapes university admission circular from some websites and shows a list to the user. |


Devdap
Devdap
HOME
Demos
App
Software
SEO
Exclusive Admin
headers
Gradient
Solid Color
parallax
typing
background image
pages
About
Portfolio
Portfolio Details
Blog
Blog Details
Login
Register
Coming soon
Contact
404
elements
testimonial
gallery
team
client
signup
Form
footer
Tab
Accordion
Progressbar
Countdown
Button
List Style
feature
Blog
blog single
blog grid
blog details
Contact
Footers
Meet the amazing team behind this project and find out more
about how we work.
Footer
#1
Footer
#2


Photo: Thick Smoke From Australia Wildfires Engulfs Sydney
Most of the Australia's east coast reportedly remains under a very high fire warning, as nearly 30 wildfires continue raging in the region.
 Local authorities have warned local residents with asthma or other breathing issues to stay indoors and seek medical help if needed.
The Rural Fire Service also said, cited by The Daily Mail, that New South Wales (NSW) faces at least two 'tough days' this week with temperatures likely to remain high and no rain forecast.
According to local authorities, wildfires have killed at least 6 people and destroyed some 500 homes since the outbreak of the bushfire season, with more than 420 homes burnt over the past two weeks alone.
Australia has been experiencing severe wildfires since the start of this fall, as many experts attribute the catastrophe to global warming as a result of human-induced climate change.
Australia has lost some 1.6 million hectares of land due to the wildfires in 2019 - more than that of the entire 1993-1994 bushfire season, The Daily Mail said.


--- layout: post title: Introducing Agile Techniques to Teams Outside Software Development published: 1 categories: ---
Recently I've been helping teams outside Development apply some basic Agile practices. Our company was founded using XP at the core of our approach to software development. We've grown along with the success of our products and now have several departments with day-to-day work that does not involve the Development team (such as Finance, Infrastructure, and "People & Places" who combine HR and facilities management) interested in managing their work along similar lines.
Rather than blasting these teams with Agile theory and principles, we're building things up slowly. We start with a simple sketch about how to make the work for the week visible on the wall then put it together using super-sticky notes - see the photo from our Infra team based. Columns can be added as needed and, when the system seems to be working, lines can be added with tape. Our People & Places team brought in a spirit level and some flowery scrapbooking tape for to make their wall beautiful.
Around the board, we run a simple meeting cycle: surfacing and prioritising work for the week ahead, daily standups and monthly retrospectives. People on these teams are positive about the new approach because it helps them to know what's going on around them and have the benefit of advice from team members. They're also enjoying spending more time together as a team and getting a buzz from seeing how much work has been Done. Our People & Places team even have a large photo album where they file all their Done tickets so they'll be able to look back later.
Challenges that come up are pretty typical things we see in software development teams, like long standups and large tasks that don't move. We don't currently estimate the work or apply work-in-progress limits although we've discussed whether this might be worth experimenting with. For now we're limited by wall space and when columns get too full we can see we're being a little optimistic -- taking on too much work or have a lot depending on external suppliers.
Based on this experience I convened an Open Jam discussion at Agile2012 for people who were also interested in applying Agile techniques with non-software teams at Agile. You can see the original flipchart notes here. I've reworded them a little to help the points discussed clearer.
If you came to this Agile2012 Open Jam session, please let me know if I've missed anything important from this write-up. It would also be great to hear from anyone who has tried applying Agile techniques outside software, what challenges did you encounter and how did you overcome them?


--- layout: post title: Got a new timepiece date: 2010-08-17 01:16:13.000000000 -07:00 type: post published: true status: publish categories: [] tags: [] meta: {} author: ---
Grabbed a big ol' clock from CB2.
Sent via iPhone


Home
About Me
My Works
How to reach Me
Prince
Kab
Web developer, Programmer, Designer & Entrepreneur


Preparation time
less than 30 mins
Cooking time
no cooking required
Serves
Serves 4 (or 6 as a light starter)
Michel Roux Jr. proves that gourmet food can be good to your waistline as well as your taste buds. The fish tartare is best served chilled, not at room temperature.
Because the fish isn’t cooked make sure you get the freshest, best quality you can. You can also make this dish with bass, mackerel or salmon instead of tuna.
Remove and discard any dark parts from the bloodline of the tuna.  Stand the bowl on ice to keep chilled.
Add the spring onions, chilli and ginger to the tuna and mix well.
In a separate bowl mix together the honey, soy sauce, lime juice, sesame oil and toasted sesame seeds.
Toast the slices of ciabatta on a griddle pan.
To serve, press the tuna tartare into a 7cm/3in chef’s ring on each serving plate. Carefully remove the ring, arrange the toast and lime wedges around the tartare.


If checked, Hudson will only build modules with changes from SCM, any modules which depend on those changed modules, and any modules that failed to build successfully in the previous build. If the SCM reports no changes to any modules then all modules will be built.
This functionality currently only works if the "Build modules as separate jobs" option is selected.


Side A
Side B
Side C
Show me
reset


Java Code Examples for java.net.InetAddress
The following are top voted examples for showing how to use
java.net.InetAddress. These examples are extracted from open source projects.
You can vote up the examples you like and your votes will be used in our system to product
more good examples.
Example 1
| Project: lettuce File: TestSettings.java View source code | 9 votes |
/** * * @return resolved address of [email protected] #host()} * @throws IllegalStateException when hostname cannot be resolved */ public static String hostAddr() { try { InetAddress[] allByName = InetAddress.getAllByName(host()); for (InetAddress inetAddress : allByName) { if (inetAddress instanceof Inet4Address) { return inetAddress.getHostAddress(); } } return InetAddress.getByName(host()).getHostAddress(); } catch (UnknownHostException e) { throw new IllegalStateException(e); } }
Example 2
| Project: jentrata-msh File: AS2Message.java View source code | 7 votes |
/** * Gets the textual representation of the local host. * * @return the textual representation of the local host. */ private String getLocalHost() { try { return InetAddress.getLocalHost().getHostAddress(); } catch (Exception e) { return "<IP_ADDRESS>"; } }
Example 3
| Project: arduino-android File: HomeActivity.java View source code | 7 votes |
public String getLocalIpAddress() { try { for (Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) { NetworkInterface intf = en.nextElement(); for (Enumeration<InetAddress> enumIpAddr = intf.getInetAddresses(); enumIpAddr.hasMoreElements();) { InetAddress inetAddress = enumIpAddr.nextElement(); if (!inetAddress.isLoopbackAddress()) { return inetAddress.getHostAddress().toString(); } } } } catch (SocketException ex) { Log.e("SRM", ex.toString()); } return null; }
Example 4
| Project: appstatus File: GooglePingStatusChecker.java View source code | 7 votes |
public ICheckResult checkStatus() { ICheckResult result = null; try { InetAddress address = InetAddress.getByName("www.google.com"); if (address.isReachable(2000)) { result = createResult(OK); result.setDescription("Google Access ok"); } else { throw new Exception("Ping timeout (2000ms)"); } } catch (Exception e) { result = createResult(WARN); result.setDescription("Google ping failed"); result.setResolutionSteps("Ping failed. This means that ICMP messages are blocked by this host. (This may not be an issue) " + e.getMessage()); } return result; }
Example 5
| Project: windtalk File: DNSRecord.java View source code | 6 votes |
protected Address(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress) { super(name, type, recordClass, unique, ttl); try { this._addr = InetAddress.getByAddress(rawAddress); } catch (UnknownHostException exception) { logger1.log(Level.WARNING, "Address() exception ", exception); } }
Example 6
| Project: netlib File: RouterImpl.java View source code | 6 votes |
/** * can be used to query the exit policies wether this server would allow * outgoing connections to the host and port as given in the parameters. * IMPORTANT: this routing must be able to work, even if addr * is not given! * * @param addr * the host that someone wants to connect to * @param port * the port that is to be connected to * @return a boolean value wether the conenction would be allowed */ public boolean exitPolicyAccepts(InetAddress addr, int port) { long ip; if (addr != null) { // set IP as given byte[] temp1 = addr.getAddress(); long[] temp = new long[4]; for (int i = 0; i < 4; ++i) { temp[i] = temp1[i]; if (temp[i] < 0) temp[i] = 256 + temp[i]; } ; ip = ((temp[0] << 24) | (temp[1] << 16) | (temp[2] << 8) | temp[3]); } else { // HACK: if no IP and port is given, always return true if (port == 0) return true; // HACK: if no IP is given, use only exits that allow ALL ip-ranges // this should possibly be replaced by some other way of checking it ip = 0xffffffffL; } ; for (int i = 0; i < exitpolicy.length; ++i) { if ((exitpolicy[i].getLoPort() <= port) && (exitpolicy[i].getHiPort() >= port) && (exitpolicy[i].getIp() == (ip & exitpolicy[i].getNetmask()))) { return exitpolicy[i].isAccept(); } ; } ; return false; }
Example 7
| Project: airlift File: NodeInfo.java View source code | 6 votes |
private static boolean isGoodAddress(InetAddress address) { return !address.isAnyLocalAddress() && !address.isLinkLocalAddress() && !address.isLoopbackAddress() && !address.isMulticastAddress(); }
Example 8
| Project: windtalk File: HostInfo.java View source code | 6 votes |
boolean shouldIgnorePacket(DatagramPacket packet) { boolean result = false; if (this.getInetAddress() != null) { InetAddress from = packet.getAddress(); if (from != null) { if (from.isLinkLocalAddress() && (!this.getInetAddress().isLinkLocalAddress())) { // Ignore linklocal packets on regular interfaces, unless this is // also a linklocal interface. This is to avoid duplicates. This is // a terrible hack caused by the lack of an API to get the address // of the interface on which the packet was received. result = true; } if (from.isLoopbackAddress() && (!this.getInetAddress().isLoopbackAddress())) { // Ignore loopback packets on a regular interface unless this is also a loopback interface. result = true; } } } return result; }
Example 9
| Project: WaarpCommon File: UUID.java View source code | 6 votes |
private static int scoreAddress(InetAddress addr) { if (addr.isAnyLocalAddress()) { return 0; } if (addr.isMulticastAddress()) { return 1; } if (addr.isLinkLocalAddress()) { return 2; } if (addr.isSiteLocalAddress()) { return 3; } return 4; }
Example 10
| Project: appstatus File: HostPropertyProvider.java View source code | 6 votes |
public Map<String, String> getProperties() { String localhostIp; String localhostName; try { InetAddress addr = InetAddress.getLocalHost(); localhostIp = addr.getHostAddress(); localhostName = addr.getCanonicalHostName(); } catch (UnknownHostException e) { localhostIp = "Not available"; localhostName = "Not available"; } Map<String, String> result = new HashMap<String, String>(3); result.put("name", localhostName); result.put("ip", localhostIp); return result; }
Example 11
| Project: GrowControl File: NetServerConfig.java View source code | 6 votes |
public InetAddress getInetAddress() throws UnknownHostException { final String host = this.getHost(); if(host == null) return null; if("<IP_ADDRESS>".equals(host) || "localhost".equalsIgnoreCase(host)) return InetAddress.getLoopbackAddress(); return InetAddress.getByName(host); }
Example 12
| Project: wso2-synapse File: PassThroughTransportUtils.java View source code | 6 votes |
/** * This method tries to determine the hostname of the given InetAddress without * triggering a reverse DNS lookup. [email protected] java.net.InetAddress#getHostName()} * triggers a reverse DNS lookup which can be very costly in cases where reverse * DNS fails. Tries to parse a symbolic hostname from [email protected] java.net.InetAddress#toString()}, * which is documented to return a String of the form "hostname / literal IP address" * with 'hostname' blank if not already computed & stored in address. *
 * If the hostname cannot be determined from InetAddress.toString(), * the value of [email protected] java.net.InetAddress#getHostAddress()} is returned. * * @param address The InetAddress whose hostname has to be determined * @return hostsname, if it can be determined. hostaddress, if not. */ public static String getHostName(InetAddress address) { String result; String hostAddress = address.getHostAddress(); String inetAddr = address.toString(); int index1 = inetAddr.lastIndexOf('/'); int index2 = inetAddr.indexOf(hostAddress); if (index2 == index1 + 1) { if (index1 == 0) { result = hostAddress; } else { result = inetAddr.substring(0, index1); } } else { result = hostAddress; } return result; }
Example 13
| Project: j2objc File: InetAddressTest.java View source code | 6 votes |
public void test_isNumeric() throws Exception { // IPv4 assertTrue(InetAddress.isNumeric("<IP_ADDRESS>")); assertTrue(InetAddress.isNumeric("<IP_ADDRESS>")); // IPv6 assertTrue(InetAddress.isNumeric("::1")); assertTrue(InetAddress.isNumeric("2001:4860:800d::68")); // Mapped IPv4 assertTrue(InetAddress.isNumeric("::ffff:<IP_ADDRESS>")); // Optional square brackets around IPv6 addresses, including mapped IPv4. assertTrue(InetAddress.isNumeric("[2001:4860:800d::68]")); assertTrue(InetAddress.isNumeric("[::ffff:<IP_ADDRESS>]")); // Negative test assertFalse(InetAddress.isNumeric("example.com")); for (String invalid : INVALID_IPv4_NUMERIC_ADDRESSES) { assertFalse(invalid, InetAddress.isNumeric(invalid)); } }
Example 14
| Project: airlift File: DatabaseIpAddressUtilTest.java View source code | 6 votes |
private void verifyIpAddressConversion(String ipString, int expectedJavaIpAddress, int expectedDatabaseIpAddress) throws UnknownHostException { // use Java to convert the string to an integer InetAddress address = InetAddress.getByName(ipString); // java inet4 address hashCode is the address object int javaIpAddress = address.hashCode(); // Verify the java integer value is as expected assertEquals(javaIpAddress, expectedJavaIpAddress); // Convert to database style and verify int databaseIpAddress = toDatabaseIpAddress(javaIpAddress); assertEquals(databaseIpAddress, expectedDatabaseIpAddress); // Finally, round trip back to java and verify assertEquals(fromDatabaseIpAddress(databaseIpAddress), javaIpAddress); }
Example 15
| Project: property-db File: VpnProfile.java View source code | 6 votes |
/** * Test if profile is valid for lockdown, which requires IPv4 address for * both server and DNS. Server hostnames would require using DNS before * connection. */ public boolean isValidLockdownProfile() { try { InetAddress.parseNumericAddress(server); for (String dnsServer : dnsServers.split(" +")) { InetAddress.parseNumericAddress(this.dnsServers); } if (TextUtils.isEmpty(dnsServers)) { Log.w(TAG, "DNS required"); return false; } // Everything checked out above return true; } catch (IllegalArgumentException e) { Log.w(TAG, "Invalid address", e); return false; } }
Example 16
| Project: property-db File: SocketPermission.java View source code | 6 votes |
/** [email protected]} * [email protected]} * get IP addresses. Sets invalid to true if we can't get them. * * [email protected]} */ void getIP() throws UnknownHostException { if (addresses != null || wildcard || invalid) return; try { // now get all the IP addresses String host; if (getName().charAt(0) == '[') { // Literal IPv6 address host = getName().substring(1, getName().indexOf(']')); } else { int i = getName().indexOf(":"); if (i == -1) host = getName(); else { host = getName().substring(0,i); } } addresses = new InetAddress[] {InetAddress.getAllByName0(host, false)[0]}; } catch (UnknownHostException uhe) { invalid = true; throw uhe; } catch (IndexOutOfBoundsException iobe) { invalid = true; throw new UnknownHostException(getName()); } }
Example 17
| Project: reactor File: UdpServerTests.java View source code | 6 votes |
private boolean isMulticastEnabledIPv4Interface(NetworkInterface iface) throws SocketException { if (!iface.supportsMulticast() || !iface.isUp()) { return false; } for (Enumeration<InetAddress> i = iface.getInetAddresses(); i.hasMoreElements(); ) { InetAddress address = i.nextElement(); if (address.getClass() == Inet4Address.class) { return true; } } return false; }
Example 18
| Project: jentrata-msh File: EjbConnection.java View source code | 5 votes |
/** * Connects to the destination URL using the specified username and * password. * * @param username the username used to connect. null if authentication is * not required. * @param password the password used to connect. null if authentication is * not required. * @throws EjbConnectionException if errors occurred during the * establishment of connection or, the connection has been * connected or closed already. */ public synchronized void connect(String username, String password) throws EjbConnectionException { if (!connected && !closed) { try { String[] connStrings = getConnectionStrings(); Hashtable props = new Hashtable(); props.put(InitialContext.PROVIDER_URL, connStrings[0]); props.put(InitialContext.INITIAL_CONTEXT_FACTORY, connStrings[1]); // This establishes the security for // authorization/authentication if (username != null && !"".equals(username)) { props.put(InitialContext.SECURITY_PRINCIPAL, username); props.put(InitialContext.SECURITY_CREDENTIALS, password == null ? "" : password); if (connStrings.length > 2) { props.put(InitialContext.SECURITY_PROTOCOL, connStrings[2]); } } InetAddress localhost = InetAddress.getLocalHost(); host = localhost.getHostName() + "@" + localhost.getHostAddress(); InitialContext context = new InitialContext(props); context.rebind(host, "connected"); initialContext = context; connected = true; closed = false; } catch (Exception e) { throw new EjbConnectionException( "Unable to establish connection.", e); } } else { throw new EjbConnectionException( "Connection has been connected or closed already."); } }
Example 19
| Project: NemoVelo File: StandardSocketFactory.java View source code | 5 votes |
public boolean isLocallyConnected(com.mysql.jdbc.ConnectionImpl conn) throws SQLException { long threadId = conn.getId(); java.sql.Statement processListStmt = conn.getMetadataSafeStatement(); ResultSet rs = null; try { String processHost = null; rs = processListStmt.executeQuery("SHOW PROCESSLIST"); while (rs.next()) { long id = rs.getLong(1); if (threadId == id) { processHost = rs.getString(3); break; } } // "inject" for tests if (System.getProperty(IS_LOCAL_HOSTNAME_REPLACEMENT_PROPERTY_NAME) != null) { processHost = System .getProperty(IS_LOCAL_HOSTNAME_REPLACEMENT_PROPERTY_NAME); } else if (conn.getProperties().getProperty(IS_LOCAL_HOSTNAME_REPLACEMENT_PROPERTY_NAME) != null) { processHost = conn.getProperties().getProperty(IS_LOCAL_HOSTNAME_REPLACEMENT_PROPERTY_NAME); } if (processHost != null) { if (processHost.indexOf(":") != -1) { processHost = processHost.split(":")[0]; try { boolean isLocal = false; InetAddress whereMysqlThinksIConnectedFrom = InetAddress.getByName(processHost); SocketAddress remoteSocketAddr = rawSocket.getRemoteSocketAddress(); if (remoteSocketAddr instanceof InetSocketAddress) { InetAddress whereIConnectedTo = ((InetSocketAddress)remoteSocketAddr).getAddress(); isLocal = whereMysqlThinksIConnectedFrom.equals(whereIConnectedTo); } return isLocal; } catch (UnknownHostException e) { conn.getLog().logWarn( Messages.getString( "Connection.CantDetectLocalConnect", new Object[] { host }), e); return false; } } } return false; } finally { processListStmt.close(); } }


Strategy
Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.
These are the voyages of the Starship Enterprise. Its continuing mission, to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no one has gone before. We need to neutralize the homing signal. Each unit has total environmental control, gravity, temperature, atmosphere, light, in a protective field. Sensors show energy readings in your area. We had a forced chamber explosion in the resonator coil. Field strength has increased by 3,000 percent. Resistance is futile.
Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.
Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.
Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.
Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.
These are the voyages of the Starship Enterprise. Its continuing mission, to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no one has gone before. We need to neutralize the homing signal. Each unit has total environmental control, gravity, temperature, atmosphere, light, in a protective field. Sensors show energy readings in your area. We had a forced chamber explosion in the resonator coil. Field strength has increased by 3,000 percent. Resistance is futile.


Consider the following SLang 2 program:
expression
What is the console output when this program
is interpreted?
$('#answer').val()
return TyingTheKnot.validateAnswer(guess);
Recall that each print
statement outputs a denoted value.
It may be helpful to use pencil and paper to build a
two-dimensional table of numbers.
The correct answer is: answerForHint


{% extends "base.html" %} {% block content %}
The target of the app is to make the user issue commands from his browser address bar. Commands like 's keywords' which will google for keywords, 'shorten url' which returns a shortened url, or 'ocvs keywords' which will search in the codebase of OpenCV on github. Currently there is a set of global commands that can be used by everyone, and in order to create your own commands you have to register first and then from the dashboard you can add your commands.
Goto settings
then under the search
section press Manage search engines
now we will add cantkeepup here, scroll down until you find 3 empty boxes. In the first box Add a new search engine
type cantkeepup
. In the second box Keyword
type cantkeepup
. In the last box URL with %s in place of query
type http://cantkeepup.herokuapp.com/?q=%s
. Then press enter, and make it the default one by pressing the Make default
button that appears when you hover over it.
To be added.
To be added.
To be added.
To be added.
Well, Good Luck.
{% endblock %}


HOODLUM A film review by Steve Rhodes Copyright 1997 Steve Rhodes
RATING (0 TO ****): **
HOODLUM is an exceedingly handsome movie, all dressed up with no place interesting to go. The sets by Charles Bennett ("Roots") recreate Harlem in the 1930s with a believable authenticity. The costumes by Richard Bruno (THE UNTOUCHABLES) are gorgeous, especially the dark suits set off by wide brimmed white hats. The striking cinematography by Frank Tidy (UNDER SIEGE) uses sharp contrast black and white complemented by saturated colors. And Academy Award winning composer Elmer Bernstein's music is full of soulful trumpets and foreboding piano solos.
Even the acting, with the exception of the embarrassingly poor performance by Cicely Tyson as the Queen of Harlem, is superb. But the gangster party they throw bogs down frequently and seems like it will never end. Director Bill Duke and editor Harry Keramida have no sense of focus. Numerous pointless scenes that should have been left on the cutting room floor are included and others long overstay their welcome.
This is not to say that the film is without merit. Although first-time writer Chris Brancato's script never gels, the performances by the actors frequently manage to rise above the mediocrity of the material. (The story, which the press notes are careful to point out is complete fiction, uses historical characters. Since most of these famous people were killers, the liberties taken with the facts of their lives might be forgiven, but having famous crime fighter Thomas Dewey, who in real life was responsible for squashing most of the racketeering, accept huge payoffs from the gangsters is reprehensible.)
The story surrounds a character known as "Bumpy" Johnson, played with impressive style by Laurence Fishburne. He helps out Queen when Dutch Schultz, played with perfect sadistic crudeness by Tim Roth, tries to take over her Harlem numbers racket. Andy Garcia plays Lucky Luciano like a figure straight out of a fashion shoot for GQ. Lucky is a power broker in the mob, who tries to negotiate various alliances among Dutch, Bumpy, and himself. Each of these talented actors are Academy Award winners or nominees. With lesser actors, the picture would have been little more than a fashion show and, when the inevitable warfare breaks out, a long bloodbath.
The screenwriter feels compelled to give Bumpy an almost saint-like aura. His girlfriend Francine, played by Vanessa Williams, refers to him as "a perfect gentlemen and a poet." He also plays chess and worries about the poor. When he first steals money from Dutch, he throws it with great panache to a group of the needy in a soup line. The show even tells us in the introductory text that gambling via the numbers was the only way some in Harlem were able to put food on the table. Given the odds, of course, gambling was a sure-fire way to keep food from ever getting on the table.
Eventually, Bumpy hardens after he kills scores of people, but the script remains relatively sympathetic to him until the end. When Pigfoot Mary, played sweetly by Loretta Devine, first lays eyes on him, she tells her friends, "Oh honey, he's a killer diller."
The script lacks much story telling ability, but when it tries to mimic PULP FICTION, it is at its best. When Dutch hires the Salke Brothers, played by Mike and Beau Starr, to take their trademark ax to Bumpy's skull, he balks at first at their $3,000 fee. "I remember the days when you could get a guy hit for 40 bucks," reminisces Dutch. "We live in inflationary times," explains one of Salke brothers. Even better is the conversation between the Salke brothers on their way to the contract kill. They argue about where to find the best of everything in New York. Only on the hot dogs (Nathan's) do they agree.
Bumpy's ultimate accomplishments are best summarized by the undertaker, played dourly but with a devious smirk by Ellis Foster. "Thank heavens for Mr. Johnson," the undertaker proclaims when Bumpy pays him handsomely to bury in style another dead number's runner. "That man's brought prosperity to Harlem."
HOODLUM runs incredibly long at 2:22 -- a half hour less would have improved the film immensely. The show is rated R for massive gore, profanity, and full frontal nudity. It would be acceptable for mature teenagers. I admired parts of the show, but not enough to recommend it. I give it **.
**** = A must see film. *** = Excellent show. Look for it. ** = Average movie. Kind of enjoyable. * = Poor show. Don't waste your money. 0 = Totally and painfully unbearable picture.
REVIEW WRITTEN ON: August 25, 1997
Opinions expressed are mine and not meant to reflect my employer's.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


PCI Leadership Evaluation
Evaluations
{% for evaluation in evaluations %}
{{ evaluation.id }}
{{ evaluation.name }}
Link
{% endfor %}
Name:


The Global meeting place for the travel trade
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Exhibit
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Visit
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Events
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Venue and Schedule
Delhi
Date: 21st February 2017
Time:4:00pm IST
Mumbai
Date: 21st February 2017
Time:4:00pm IST
Hyderabad
Date: 21st February 2017
Time:4:00pm IST
Testimonials
BLTM has been beneficial for us especially for our employees who travel a lot as the quality of hotel chains represented was very good. The event covered everything from big hotel chains to MICE segment to inbound operators, so it met all our requirements. We got a fair idea about the market from this event and would definitely recommend it to others.
AJAY KUMAR SHARMA
Head - Travel Management, Adani Group
BLTM was quite beneficial. I could meet a lot of suppliers at the show. This was just the beginning for BLTM and I know it will only grow with time. We had very fruitful meetings at the event. BLTM can look at being conducted in major metro cities, especially Mumbai.
CHAITANYA THAKKKER
Assistant VP- Travel Management, Reliance
BLTM was a very good show. We’ve had some very meaningful discussions with a good combination of the corporate buyers as well as the travel partners. I think the blend was good and hopefully this should translate into business very soon. The contacts made have been very good and the buyers are very well filtered. The online meeting diary as well as the BLTM app was very useful for us.
TEKLA MAIRA
Director Global Sales - India, FRHI Hotels Resorts
I was very impressed with BLTM. Not only is the venue good, but the quality of the event as well as that of the attendees who came from different parts of India was great. At BLTM, I got the opportunity to meet corporate, wedding specialists and tour operators doing business travel. Overall, BLTM turned out to be a good show.
CARL VAZ
Director, Dubai Tourism
Sponsors and Partners


Uses of Interface
org.bukkit.event.Cancellable
Package
Description
Events
triggered from an enchantment table
.Events
relating to entities that hang
.Events
related to raids.Events
relating to programmatic state
changes on the server.Events
relating to vehicular entities
.Events
relating to weather.Spigot-specific entity events.
-
Uses of Cancellable in com.destroystokyo.paper.event.block
Modifier and TypeClassDescriptionclass
Called when an anvil is damaged from being usedclass
Called when a beacon effect is being applied to a player.class
Fired anytime the server intends to 'destroy' a block through some triggering reason.class
Called when TNT block is about to turn intoTNTPrimed
-
Uses of Cancellable in com.destroystokyo.paper.event.entity
Modifier and TypeClassDescriptionclass
Called when a Creeper is ignited either by a flint and steel,Creeper.ignite()
orCreeper.setIgnited(boolean)
.class
Fired when a DragonFireball collides with a block/entity and spawns an AreaEffectCloudclass
Fired when an EnderDragon spawns an AreaEffectCloud by shooting flamesclass
Fired when an EnderDragon shoots a fireballclass
Fired when an Enderman determines if it should attack a player or not.class
class
Called when an entity jumpsclass
Fired when an Entity is knocked back by the hit of another Entity.class
Fired when an Entity decides to start moving towards a location.class
Fired any time an entity attempts to teleport in an end gatewayclass
Deprecated.class
Fired when lightning strikes an entityclass
Fired anytime the server is about to merge 2 experience orbs into oneclass
Called when a phantom is spawned for an exhausted playerclass
Fired when the server is calculating what chunks to try to spawn monsters in every Monster Spawn Tick eventclass
WARNING: This event only fires for a limited number of cases, and not for every case that CreatureSpawnEvent does.class
Called before an entity is spawned into a world by a spawner.class
Deprecated.Deprecated, useProjectileHitEvent
and check if there is a hit entityclass
Event called when a player gets close to a skeleton horse and triggers the lightning trapclass
Fired when a Slime decides to change it's facing direction.class
Fired when a Slime decides to start pathfinding.class
Fired when a Slime decides to start jumping while swimming in water/lava.class
Fired when a Slime decides to change direction to target a LivingEntity.class
Fired when a Slime decides to start wandering.class
Fired when a Turtle decides to go homeclass
Fired when a Turtle lays eggsclass
Fired when a Turtle starts digging to lay eggsclass
Fired when a witch consumes the potion in their hand to buff themselves.class
class
Fired when a witch throws a potion at a player -
Uses of Cancellable in com.destroystokyo.paper.event.player
Modifier and TypeClassDescriptionclass
Called when a player is granted a criteria in an advancement.class
Called when processing a player's attack on an entity when the player's attack strength cooldown is resetclass
Fired when a player boosts elytra flight with a fireworkclass
This event is fired during a player handshake.class
Called when the server detects the player is jumping.class
Called when a player shoots a projectile.class
Fired when a player is attempting to pick up an experience orbclass
Called when a player is firing a bow and the server is choosing an arrow to use.class
Called when a player clicks a recipe in the recipe bookclass
Called when a player's spawn is set, either by themselves or otherwise.
Cancelling this event will prevent the spawn from being set.class
Triggered when a player starts spectating an entity in spectator mode.class
Triggered when a player stops spectating an entity in spectator mode.class
Fired when a teleport is triggered for an End Gateway -
Uses of Cancellable in com.destroystokyo.paper.event.server
Modifier and TypeClassDescriptionclass
Allows plugins to compute tab completion results asynchronously.class
Extended version ofServerListPingEvent
that allows full control of the response sent to the client. -
Uses of Cancellable in com.destroystokyo.paper.loottable
-
Uses of Cancellable in io.papermc.paper.event.block
Modifier and TypeClassDescriptionclass
Called when aRaider
is revealed by a bell.class
Called when a bell is rung.class
class
Called when theEnderDragon
is defeated (killed) in aDragonBattle
, causing aMaterial.DRAGON_EGG
(more formally:BlockGrowEvent.getNewState()
) to possibly appear depending onDragonEggFormEvent.isCancelled()
.class
Called when a player uses sheers on a block.class
Called when a Target Block is hit by a projectile. -
Uses of Cancellable in io.papermc.paper.event.entity
Modifier and TypeClassDescriptionclass
Is called when anElderGuardian
appears in front of aPlayer
.class
Called when an item on or used by an entity takes durability damage as a result of being hit/used.class
Called when an entity is dyed.class
Called when an entity enters the hitbox of a block.class
Called when a LivingEntity loads a crossbow with a projectile.class
Holds information for living entity movement eventsclass
Called when an entity is ready to be teleported by a plugin.class
Fired when an entity is pushed by another entity's attack.class
Is called when an entity sits down or stands up.class
Called just before aPufferFish
inflates or deflates.class
Called when aTameable
dies and sends a death message.class
Called when a Warden's anger level has changed due to another entity.class
Called when a splash water potion "splashes" and affects different entities in different ways. -
Uses of Cancellable in io.papermc.paper.event.player
Modifier and TypeClassDescriptionclass
An abstract implementation of a chat event, handling shared logic.class
class
This event is fired when the server decorates a component for chat purposes.final class
An event fired when aPlayer
sends a chat message to the server.final class
Deprecated.Listening to this event forces chat to wait for the main thread, delaying chat messages.class
class
class
Called when a player sets the effect for a beaconclass
Called when a player has slept long enough to count as passing the night/storm.class
Called when a player places an item in or takes an item out of a flowerpot.class
Fired when a player receives an item cooldown.class
Called when anItemFrame
is having an item rotated, added, or removed from it.class
class
Called when a player selects a banner patten in a loom inventory.class
Called when the player is attempting to rename a mobclass
Called when a player trades with a standalone merchant GUI.class
Called when aPlayer
clicks a sign that causes a command to run.class
class
Called when a player trades with a villager or wandering traderclass
Called when the player tries to attack an entity. -
Uses of Cancellable in io.papermc.paper.event.world
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.no longer used, seeStructuresLocateEvent
class
Called before a set of configured structures is located.class
Called when a world's gamerule is changed, either by command or by api. -
Uses of Cancellable in io.papermc.paper.event.world.border
Modifier and TypeClassDescriptionclass
Called when a world border changes its bounds, either over time, or instantly.class
Called when a world border's center is changed. -
Uses of Cancellable in org.bukkit.event.block
Modifier and TypeClassDescriptionclass
Called when a block is broken by a player.class
Called when a block is destroyed as a result of being burnt by fire.class
Called when an ItemStack is successfully cooked in a block.class
Called when a block is damaged by a player.class
Called when an equippable item is dispensed from a block and equipped on a nearby entity.class
Called when an item is dispensed from a block.class
Called if a block broken by a player drops an item.class
Called when a block explodesclass
Called when a block fades, melts or disappears based on world conditionsclass
Called with the block changes resulting from a player fertilizing a given block with bonemeal.class
Called when a block is formed or spreads based on world conditions.class
Represents events with a source block and a destination block, currently only applies to liquid (lava and water) and teleporting dragon eggs.class
Called when a block grows naturally in the world.class
Called when a block is ignited.class
Fired when a single block placement action of a player triggers the creation of multiple blocks(e.g.class
Thrown when a block physics check is called.class
Called when a piston block is triggeredclass
Called when a piston extendsclass
Called when a piston retractsclass
Called when a block is placed by a player.class
Called when a Sculk sensor receives a game event and hence might activate.class
Event fired when a dispenser shears a nearby sheep.class
Called when a block spreads based on world conditions.class
class
Called when a block is formed by entities.class
Called when the fluid level of a block changes due to changes in adjacent blocks.class
Called when leaves are decaying naturally.class
Called when the moisture level of a soil block changes.class
Called when a note block is being played through player interaction or a redstone current.class
Called when a sign is changed by a player.class
Called when a sponge absorbs water from the world. -
Uses of Cancellable in org.bukkit.event.enchantment
Modifier and TypeClassDescriptionclass
Called when an ItemStack is successfully enchanted (currently at enchantment table)class
Called when an ItemStack is inserted in an enchantment table - can be called multiple times -
Uses of Cancellable in org.bukkit.event.entity
Modifier and TypeClassDescriptionclass
Called when a lingering potion applies it's effects.class
Called when an arrow enters or exists an entity's body.class
Called when a bat attempts to sleep or wake up from its slumber.class
Called when a creature is spawned into a world.class
Called when a Creeper is struck by lightning.class
Called when an EnderDragon switches controller phase.class
Called when the amount of air an entity has remaining changes.class
Called when anEntity
breaks a doorclass
Called when one Entity breeds with another Entity.class
Called when any Entity changes a block and a more specific event is not available.class
Called when a block causes an entity to combust.class
Called when an entity causes another entity to combust.class
Called when an entity combusts.class
Deprecated.class
Called when an entity is damaged by a blockclass
Called when an entity is damaged by an entityclass
Stores data for damage eventsclass
Thrown whenever a LivingEntity diesclass
Thrown when an entity creates an item drop.class
Called when anEntity
enters a block and is stored in that block.class
Called when an entity enters love mode.class
Called when a human entity experiences exhaustion.class
Called when an entity explodesclass
Called when an entity interacts with an objectclass
Thrown when a entity picks an item up from the groundclass
Triggered when a entity is created in the world by a player "placing" an item on a block.class
Called when a non-player entity is about to teleport because it is in contact with a portal.class
Called before an entity exits a portal.class
Called when a potion effect is modified on an entity.class
Stores data for health-regain eventsclass
Called when an entity dies and may have the opportunity to be resurrected.class
Called when a LivingEntity shoots a bow firing an arrowclass
Called when an entity is spawned into a world.class
Called when aSpellcaster
casts a spell.class
Thrown when a LivingEntity is tamedclass
Called when a creature targets or untargets another entityclass
Called when an Entity targets aLivingEntity
and can only target LivingEntity's.class
Thrown when a non-player entity is teleported from one location to another.class
Sent when an entity's gliding status is toggled with an Elytra.class
Sent when an entity's swimming status is toggled.class
Called when an entity is about to be replaced by another entity.class
Called immediately prior to an entity being unleashed.class
Called when a ThrownExpBottle hits and releases experience.class
Called when an entity has made a decision to explode.class
Called when a firework explodes.class
Called when a human entity's food level changesclass
Called when a horse jumps.class
This event is called when aItem
is removed from the world because it has existed for 5 minutes.class
class
Called when an item is spawned into a worldclass
Called when a splash potion hits an areaclass
Stores all data related to the bartering interaction with a piglin.class
Stores data for pigs being zappedclass
Called when a Pig Zombie is angered by another entity.class
Thrown whenever aPlayer
diesclass
Called immediately prior to a creature being leashed by a player.class
Called when a splash potion hits an areaclass
Called when a projectile hits an objectclass
Called when a projectile is launched.class
Called when a sheep's wool is dyedclass
Called when a sheep regrows its woolclass
Called when a Slime splits into smaller Slimes upon deathclass
Called when an entity is spawned into a world by a spawner.class
Called when aStrider
's temperature has changed as a result of entering or exiting blocks it considers warm.class
Called whenever a villager acquires a new trade.class
class
Called when aVillager
is about to restock one of its trades. -
Uses of Cancellable in org.bukkit.event.hanging
Modifier and TypeClassDescriptionclass
Triggered when a hanging entity is removed by an entityclass
Triggered when a hanging entity is removedclass
Triggered when a hanging entity is created in the world -
Uses of Cancellable in org.bukkit.event.inventory
Modifier and TypeClassDescriptionclass
Called when the brewing of the contents inside the Brewing Stand is complete.class
Called when an ItemStack is about to increase the fuel level of a brewing stand.class
Called when the recipe of an Item is completed inside a crafting matrix.class
Called when an ItemStack is successfully burned as fuel in a furnace.class
Called when an ItemStack is successfully smelted in a furnace.class
This event is called when a player clicks in an inventory.class
This event is called when a player in creative mode puts down or picks up an item in their inventory / hotbar and when they drop items from their Inventory while in creative mode.class
This event is called when the player drags an item in their cursor across the inventory.class
An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.class
Called when some entity or block (e.g.class
Represents a player related inventory eventclass
Called when a hopper or hopper minecart picks up a dropped item.class
Called when the recipe of an Item is completed inside a smithing table.class
This event is called whenever a player clicks a new trade on the trades sidebar. -
Uses of Cancellable in org.bukkit.event.player
Modifier and TypeClassDescriptionclass
Deprecated.useAsyncChatEvent
insteadclass
Deprecated.chat previews have been removedclass
Represents a player animation event
UsePlayerArmSwingEvent
for determining which arm was swung.class
Called when a player interacts with an armor stand and will either swap, retrieve or place an item.class
Thrown when a player attempts to pick an item up from the groundclass
This event is fired when the player is almost about to enter the bed.class
This event is fired when the player is leaving a bed.class
Called when a player empties a bucketclass
This event is called whenever a player captures an entity in a bucket.class
Called when a player interacts with a Bucketclass
Called when a player fills a bucketclass
Deprecated.Use the more genericPlayerBucketEntityEvent
class
Deprecated.This event will fire from the main thread and allows the use of all of the Bukkit API, unlike theAsyncPlayerChatEvent
.class
This event is called whenever a player runs a command (by placing a slash at the start of their message).class
Thrown when a player drops an item from their inventoryclass
Called when a player edits or signs a book and quill item.class
Thrown when a player is fishingclass
Called when the GameMode of the player is changed.class
This event is called whenever a player harvests a block.class
Represents an event that is called when a player right clicks an entity that also contains the location where the entity was clicked.class
Represents an event that is called when a player right clicks an entity.class
Represents an event that is called when a player interacts with an object or air, potentially fired once for each hand.class
This event will fire when a player is finishing consuming an item (food, potion, milk bucket).class
Called when an item used by the player takes durability damage as a result of being used.class
Fired when a player changes their currently held itemclass
Represents when a player has an item repaired via the Mending enchantment.class
Called when a player gets kicked from the serverclass
Holds information for player movement eventsclass
Thrown when a player picks up an arrow from the ground.class
Deprecated.class
Called when a player is about to teleport because it is in contact with a portal which will generate an exit portal.class
Called when a player discovers a new recipe in the recipe book.class
Called when a player shears an entityclass
Called when a player statistic is incremented.class
Called when a player swap items between main hand and off hand using the hotkey.class
This event is called when a player clicks the button to take a book of a Lectern.class
Holds information for player teleport eventsclass
Called when a player toggles their flying stateclass
Called when a player toggles their sneaking stateclass
Called when a player toggles their sprinting stateclass
Called prior to an entity being unleashed due to a player's action.class
Called when the velocity of a player changes. -
Uses of Cancellable in org.bukkit.event.raid
Modifier and TypeClassDescriptionclass
Called when aRaid
is triggered (e.g: a player with Bad Omen effect enters a village). -
Uses of Cancellable in org.bukkit.event.server
Modifier and TypeClassDescriptionclass
Event triggered for server broadcast messages such as fromServer.broadcast(String, String)
.class
This event is called when a command is received over RCON.class
This event is called when a command is run by a non-player.class
Called when aCommandSender
of any description (ie: player or console) attempts to tab complete. -
Uses of Cancellable in org.bukkit.event.vehicle
Modifier and TypeClassDescriptionclass
Raised when a vehicle is created.class
Raised when a vehicle receives damage.class
Raised when a vehicle is destroyed, which could be caused by either a player or the environment.class
Raised when an entity enters a vehicle.class
Raised when a vehicle collides with an entity.class
Raised when a living entity exits a vehicle. -
Uses of Cancellable in org.bukkit.event.weather
Modifier and TypeClassDescriptionclass
Stores data for lightning strikingclass
Stores data for thunder state changing in a worldclass
Stores data for weather changing in a world -
Uses of Cancellable in org.bukkit.event.world
Modifier and TypeClassDescriptionclass
Represents a generic Mojang game event.class
Called when aLootTable
is generated in the world for anInventoryHolder
.class
Called when a portal is createdclass
Event that is called when an organic structure attempts to grow (Sapling -> Tree), (Mushroom -> Huge Mushroom), naturally or using bonemeal.class
Called when the time skips in a world.class
Called when a World is unloaded -
Uses of Cancellable in org.spigotmc.event.entity
Modifier and TypeClassDescriptionclass
Called when an entity stops riding another entity.class
Called when an entity attempts to ride another entity.
EntityTransformEvent
, you should start using that


Documentation of PrePostPy¶
PrePostPy provides a high-level scripting interface for Pre- and Post-processing of input and post files of MSC.Marc Mentat® written in Py-thon. It is NOT meant as a feature-complete replacement of the original modules py_mentat and py_post, but rather as a high-level extension built on top of py_mentat and py_post.
Indices and tables¶
License¶
PrePostPy - High-level Scripting Interface for FEA Pre- and Postprocessing
Copyright 2019 Andreas Dutzler
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Additional Disclaimer: I (the author of PrePostPy) developed PrePostPy in my own (spare) free time. This module is built on top of the python modules py_mentat and py_post, which come pre-bundled with the software package MSC.Marc Mentat®. MSC, Marc and Mentat are trademarks or registered trademarks of MSC Software Corporation or its subsidiaries in the United States and/or other countries. The author of PrePostPy has absolutely no relation to MSC Software Corporation.


Consider the following program written in generic pseudocode:
expression
What is the output printed to the console when this program is executed using call-by-reference, call-by-copy-restore, and call-by-macro? The answer has three components, each of which is a list of integers to be entered below.
| Output for call-by-reference: | |
| Output for call-by-copy-restore: | |
| Output for call-by-macro: |
Since this program is not a SLang program, each value that is output to the console is an integer, not a SLang 2 denoted value.
Consecutive integers in each list must be separated by at least one blank space.
It may be helpful to trace the execution of this program on paper with the graphical representation of the memory that we used in class.
The correct answer is: Output for call-by-reference: answerByref Output for call-by-copy-restore: answerBycpr Output for call-by-macro: answerBymac


If you're seeing this message, that means
JavaScript has been disabled on your browser
, please
enable JS
to make this app work.
Please wait, we're setting up things for you.


Products table - resize your browser to make some columns pop-in Toggle Sticky Column Header Product Supplier Dimensions Weight Price
Product Supplier Dimensions Weight Price


--- layout: tagpage title: "Apophysis" tag: apophysis ---
Apophysis is a Windows application made in delphi for creating, editing and rendering fractal flames. Although the project has not been updated in many years, the most recent version ("Apophysis 7X") works well in Linux using Wine.
Download Apophysis and view source code here


Congrats! You have been successfully subscribed to the '{{plan_name}}', your customer id is {{customer_id}}.


Custom report
Page control
The
outputLimiter property
and
outputLimiter1st property
of
JavaScript JsNgram static class
controls this behavior.
Default values are 100 and 1, respectively.
Setting 40 to outputLimiter
causes less documents shown at once.
Setting 5 to outputLimiter1st
causes more hits in a document shown at first.
Preview text
The
previewSize property
of
JavaScript JsNgram static class
controls the length of text shown as preview content.
Default value is 240 by character.
Hyperlink attributes
The
linkAttributes property
of
JavaScript JsNgram static class
controls the behavior of hyperlinks of hits.
By default, it will open another window and the content is marked as utf-8 plain text.
target="_blank" type="text/plain; charset=utf-8"
Document header
The
titleInfo property
of
JavaScript JsNgram static class
controls the document header section shown as the result.
Default value is a blank dictionary {}
.
It means no additional informations are added to the result,
and only the path of document with hyperlink is shown.
When something are set to this property,
the
loadTitleInfo method
of
JavaScript JsNgram static class
uses the data.
For example, the following will replace the title of the specified document.
{ 'a/path/to/the/document/a.txt': { 'title': 'Alternate Title of A' } }
Whole html
The
makeResultHtml method
of
JavaScript JsNgram static class
controls the html generated as the result.
You can override this method to get full customization for the reporting.


To have greater control on access to database, J.K.Avro superstore decides to enforce separation of duties using DB2 authorities and privileges.
Separation of duties allows database administration tasks to be given to different users which results in granting least privileges to users.
You must log into the database as the database creator before proceeding with this page.
The database creator has both DBADM and SECADM authorities. CEO of J.K.Avro Superstore would like to
separate the duties of administrator so that different users have different management power on the database. Specifically, he wants the database creator to manage the database administration tasks and Pat to manage security administration tasks.
The GRANT statement in the right pane shows SECADM authority is granted to user 'pat'


This consists of a single blog entry.
This is kept.
Also kept.
foo bar baz foo\ bar\ baz
This is not removed.
This is also not removed.


Busola Vs Fatoyinbo: Daddy Freeze Reacts As Fatoyinbo Wins In Court
by Faderera FaladeDaddy Freeze has reacted to the court’s dismissal of the rape allegations levied against Pastor Biodun Fatoyinbo of COZA by Busola Dakolo, the wife of singer, Timi Dakolo.
The court had also ruled that Dakolo pay the sum of N1m as damages.
Reacting, in a live video, Daddy Freeze told women not to go public with their rape allegations if they don’t have a good story.
He said that he has 3 sons and don’t want them in jail because a woman has a story.
Daddy Freeze said that he will never undermine the pain of a woman but won’t encourage putting a man in pain either, while adding that if one doesn’t have what it takes to nail an offender properly, they should “shut up” as it all amounts to “audio doings”.


To the best of my knowledge, this is almost never a useful option especially for CI servers like Hudson.


Create
YOUR
world
Home
Buy
News
About
Pixlets Trailer
Get the Game
Windows
Mac
Linux
What's New?
Pixlets 1.0 REALEASED!
 You may find some harsh, troubling bosses on the way as well.
Website Created by EKRCOASTER


Heavy rains resulted flooding along Sebeya River in Rubavu District
On 3rd March 2018, at around 16:00 local time, Rubavu District, located in the Western Province of Rwanda,
experienced heavy rains, which resulted in flooding along Sebeya River and other areas where people
live on steep hills were affected by landslides due to heavy rains.
The affected areas are in four sectors of Rubavu, namely Nyundo, Nyakiliba, Rugerero and Kanama.
In fact, the flooding resulted more from increased rainfall upstream than in the affected areas.
There were no predictable signs of flooding downstream. According to the data gathered during joint
rapid and detailed assessments conducted by RRCS, volunteers and local authorities,
around 5,000 households (25,000 people) from 7 cells of the four sectors were affected by the floods,
of which 4,750 people from 950 households were directly affected. These 950 Homeless families are being
accommodated in the nearby communities after their homes were either destroyed or damaged by
flowing waters and mud debris.
Heavy rain has been affecting central and north-eastern Rwanda over the past few days.
According to local media, as of 27 April at 7:00 UTC, at least 24 people have died as a result
of floods and landslides triggered by the heavy rain. Buildings have been damaged in Kamonyi District.


HTML uses tags to identify page content. This text, for example, is a paragraph. Also you can use emphasize to make words appear italicized in a paragraph and you can use strong to make words appear in bold.
The main page content appears inside the body tag. HTML contains several elements that allow you to properly structure and format your content, which we'll cover later.
the doc type is suppose to define what type of html you are using. In reality it triggers quirks mode, which ensures your page is going to render properly. you need to have a doctype declaration.
The head is where you put information about the page, links to external scrpits and styles. Before you add the head you add the html tag. The meta tag only needs an opening tag. The charset can be set to a standered utf. You always want to set the character encoding unless you are a russian alphabet or japaness characters. You can also set a meta tag to have a name attrabute which can provide a description of the page. Having a title is essential. It not only makes it look professional but it also prevents your page from showing up as an untitled document in search results.
The body is where all your visable content is going to go. You can use an h1 tag to make a top level heading. There are six h tags,
In HTML 4 there were only two main content models, block and inline level elements. Block level elements would stack on top of each other in normal document flow while inline level elements typically appear within the flow of text content.
In this example the heading 1 and the paragraphs are block level items, while the bold tags and the link below are examples of inline level elements.
In HTML5 new content models have been created to expand the structure and semantic capabilities of HTML. There are seven main models: Flow, Metadata, Embedded, Interactive, Heading, Phrasing, and Sectioning. To learn more about them, visit the interactive graphic contained in the W3C HTML5 specfication.
Using the preformatted tag changes the format of the text as seen here.
The heading tag is used to make the level of importance of the heading and can be edited in CSS when you need to adust the font size. They help define the structure of the page. There are several competing theories on exact strategy to use when choosing headings, you should use them in an intelligent manner to accuretly show the importance of each heading or subheading. The paragraph tag (〈p〉) is one of the basic formatting tags and is used very often. You can also use linebreaks (〈br〉) within headings and paragraphs.
Headings should not be used to make the text bigger or smaller. You should use headings logically, and if having two heading ones of equal improtance you can have them both as a heading one.
This is the basic formatting in html. If veiwed in a browser unformatted paragraphs will be veiwed as a paragraph. You always want to check and make sure your page is formatted correctly. The paragraph tag needs to be used in every paragraph. All html has margines inbetween paragraph. Css handles things like formatting margines. If using a paragraph with a blank space then you do not need it.


“Elixir is a dynamic, functional language designed for building scalable and maintainable applications.” José Valim
Immutability
Pattern matching
“In computer science, pattern matching is the act of checking a given sequence of tokens for the presence of the constituents of some pattern. In contrast to pattern recognition, the match usually has to be exact: "either it will or will not be a match."” wikipedia
[1,2] = [1,2]
[1,2] = [2,1]
["a","b"] = ["b", "a"]
%{id: 1, name: "ana"} = %{id: 1, name: "ana"}
%{id: 1, name: "ana"} = %{id: 1, name: "Ana"}
%{id: 1, name: ana} = %{id: 1, name: "ana"}
✅
❌
❌
✅
❌
✅
Immutability
Pattern matching
Pipeline operator |>
Superb tooling


News Literacy
create account
choose content
choose sources
choose display
What do you want to see first?
Breaking News
Personalized News
Back
Next


Toggle navigation
Twitter Test
Home
Tweets Display
Start
Reset
RT @UN_Women: ED @phumzileunwomen is in #SierraLeone to discuss gender dimensions of #Ebola: http://t.co/q7xeRctYt1 #EbolaResponse http://?
RT @thegrugq: 0day are the Ebola of infosec, sounds really scary but your real threats are car accidents and heart disease (passwords and 0?
RT @SolheimDAC: "Global coalition of inaction" contributed to Ebola epidemics. Killing critic from Doctors Without Borders: http://t.co/i3w?
New Ebola case in Liberia may have been contracted during sex with Ebola survivor http://t.co/ajezJRLj4X
RT @mwbloem: 10yo Helvina wants to be a doctor so she can help people. Helvina lost 19 family members to #Ebola @UNICEF_Liberia http://t.co?
RT @cnni: Nanotechnology is about to join the fight against cancer and Ebola: http://t.co/JyD2MpuM2X http://t.co/7urZQwHyRn
Fighting Ebola with a holistic vision of #bigdata http://t.co/9Vs2gf7GCl #health http://t.co/PrOWUSesGz
Thursday @EmoryUniversity: "Solve the Outbreak" Workshop for teens, part of @ATLSciFest http://t.co/6K97dyYLtO #Ebola #ATLSciFest
Thursday @EmoryUniversity: "Solve the Outbreak" Workshop for teens, part of @ATLSciFest http://t.co/6Zk4J9wXcZ #Ebola #ATLSciFest
RT @cnni: Nanotechnology is about to join the fight against cancer and Ebola: http://t.co/JyD2MpuM2X http://t.co/7urZQwHyRn
RT @cnni: Nanotechnology is about to join the fight against cancer and Ebola: http://t.co/JyD2MpuM2X http://t.co/7urZQwHyRn
RT @cnni: Nanotechnology is about to join the fight against cancer and Ebola: http://t.co/JyD2MpuM2X http://t.co/7urZQwHyRn
RT @phumzileunwomen: Ebola handshake with president! Saftey protocols are important. http://t.co/iSzLek7DjP
Nunca pens?que ver a Dani Alves cantando... #Ebola
I have a cough and everyone treating it like I got Ebola chill compadres
RT @PSIimpact: .@BillGates: The #Ebola Crisis Was Terrible. But Next Time Could Be Much Worse. http://t.co/owhINq4sfT #healthsystems http:/?
I added a video to a @YouTube playlist http://t.co/hZdd08YgbI CNN News -Fighting cancer and Ebola with nanoparticle -CNN World News
#Reuters California #officials say #traveler does not have Ebola http://t.co/LNGrUfOuqn
Ebola: Study announces a durable vaccine http://t.co/qcQL8cNHkn #animals
Ebola: Study announces a durable vaccine http://t.co/OuPCrwpvoS #animals


Coldplay Releases 2 New Singles, ‘Daddy’ And ‘Champion Of The World’
by Adam Wallis, Globalnews.caTwo days before the long-awaited release of their eighth studio album, Everyday Life, Coldplay has just put out two brand new songs.
The tracks are called “Daddy” and “Champion of the World”, and serve as the album’s fourth and fifth singles overall. They were released on Wednesday.
“Daddy” dropped alongside a visually stunning music video directed by Åsa Lucander and produced by Aardman Animations (“Wallce & Gromit”). The enticing feature also included puppetry from practical effects studio, Brunskill & Grimes.
While “Champion of the World” came with only a lyric video, it was written by Coldplay’s Chris Martin as a tribute to the late-Frightened Rabbit frontman, Scott Hutchison.
Martin, 42, utilized Colplay’s official Twitter account to write about Hutchison’s contibutions.
“Scott had a song called ‘Los Angeles Be Kind’, which I love,” he wrote.
“When I first heard it, I thought it was going to go one way; but it went another. Anyway Champion of the World is the song that came from following the other path, and that’s why Scott is a co-writer on this song.”
Martin also dedicated it to the fallen musician as a birthday present.
“Today is also his birthday,” he wrote. “So happy birthday, Scott, and thank you for your beautiful music, wherever you are.”
Coldplay’s highly-anticipated eighth studio album will serve as the followup to 2015’s A Head Full of Dreams.
“Daddy” and “Champion of the World“ are now available through all major streaming platforms.
Everyday Life is now available to be pre-ordered through the official Coldplay website.
The 16-track record will be released by Parlaphone Records worldwide this Friday, Nov. 22.
Everyday Life tracklist:
Sunrise (Side 1)
1. Sunrise
2. Church
3. Trouble in Town
4. Broken
5. Daddy
6. WOTW / POTP
7. Arabesque
8. When I Need a Friend
Sunset (Side 2)
1. Guns
2. Orphans
3. Èkó
4. Cry Cry Cry
5. Old Friends
6. بني آدم
7. Champion of the World
8. Everyday Life
<EMAIL_ADDRESS>Follow @adamrwallis
© Global News, a division of Corus Entertainment Inc.


Welcome
My name is..
Display Planner
"By failing to prepare, you are preparing to fail." -Benjamin Franklin


Data Logger Project
This page is a project log for a personal project I undertook in Junior year.
Note: Click on images in the project log to open them up in an enlarged modal!
Introduction
I met a visiting professor, Prof. Shane Johnson, who teaches at the Shanghai Jiao Tong University(SJTU), who was describing a problem he needed help with. Shane specializes in the field of simulation, and wanted to simulate cardboard boxes and the kinds of forces they experienced as they were being shipped from warehouses to consumers.
Motivation
The practical reason for this is that packaging engineers have to select materials and design packaging to protect the goods contained within. There exist standard tests that can be used to certify that a package meets minimum standards of protection, but nobody has investigated if the standard itself accurately reflects the conditions that packaging goes through in real life. Furthermore, understanding the conditions a package needs to withstand can help packaging engineers optimize their designs to save on packaging costs and minimize product damage.
Process
I offered to help build a battery-powered data logger that could be placed in a package and would measure the forces it experienced while being shipped. I took this as an opportunity to teach myself hobby electronics and learn to put together a complete hardware package. The steps involved were:
- Selecting Components
- Prototyping on a breadboard
- Writing firmware
- Laying out schematics for a Printed Circuit Board
- Getting PCBs manufactured and debugging
1. Selecting Components
I had to consider a myriad factors in selecting components, however the chief concerns were selecting an accelerometer that had sufficient range to capture the hardest impacts and sufficient sample rate to capture an accurate signal. Mechanical shocks are very high-amplitude and high-frequency. I finally settled on an ADXL372 module with a range of +-200G and a sample rate of up to 3200Hz.
The other chief consideration was the microcontroller. I went with an ESP8266 because it was fast, cheap, and had sufficient memory to buffer many samples from the accelerometer. At this stage, we hadn't firmed up the full featureset of the data logger, so the ESP8266's WiFi capabilities were also potentially useful. The only major downside of the ESP8266 was that it was a relatively power-hungry controller.
However, some features we knew we definitely wanted were a real-time clock, an SD card reader for long-term, high-capacity data storage, and a GPS module.
I added a few other components like a screen, some buttons, a power regulation module, a Lithium-polymer battery and a charging module.
I then drew up the following schematic in Fritzing, a free circuit layout tool.
2. Prototyping on a breadboard
I assembled all the components by hand onto a breadboard so that I would have a working circuit to use for writing and debugging firmware. This also gave an idea of the dimensions of the device. This effort took quite a few hours, but I was satisfied with the final result. I omitted the Lithium-polymer battery, power regulator and charging module to simplify the prototype. For testing, I simply powered the device off the on-board power-regulator on the ESP8266 breakout I used.
3. Writing firmware
Another reason why I chose the ESP8266 was that it was supported by the Arduino platform. I was familiar with Arduino's C/C++-like language and comfortable with working in its IDE. Unfortunately, I cannot share the code here, but I followed a simple state machine design pattern. The controller would maintain a buffer of 2s of acceleration data sampled at 1000Hz (the fastest I could sample using the communication protocol I chose) by reading an acceleration value from the accelerometer every millisecond. Once it detected an acceleration value larger than some set threshold, it would devote all resources to recording 2 more seconds of data before flushing the recorded accelerations to the SD card.
Each shock event consisted of 2 seconds of data before the impact and 2 seconds of data after the impact. An equivalent drop height and orientation for the package could then be estimated from the acceleration data.
This operation was rather power-hungry, and I could have optimized it further to take advantage of the ADXL372's in-built buffering and thresholding functions, but its own buffers were too small and my choice of communication protocol did not allow me to access its advanced functionalities. Had I managed to do so, I could have greatly extended the battery life of the data logger.
4. Laying out schematics for a Printed Circuit Board
This step was the one which I could not do myself, as while I had taught myself how to select components, wire up electronics and write firmware, I had not taught myself how to lay PCBs out. I worked with a PCB manufacturer in Shenzhen, China to produce the final layouts of the data logger PCB and assemble them.
I fully intend to eventually learn how to lay out PCBs on my own using Eagle or KiCad, but between other personal projects and full-time work, it will be something for the future.
5. Getting PCBs manufactured and debugging
I eventually travelled to Shanghai, China in the summer of 2018 to meet Shane at SJTU and oversee the fabrication and delivery of the final PCBs. By this point, we had removed the GPS tracker and added more interfacing options like buttons and a screen.
The addition of the user interface made it much harder to program, since all UI operations had to happen between samples. The code I had cobbled together was finally becoming too messy to manage well, so I settled for a product with a buggy UI but robust core functionality. I added some useful tools like the ability to format the SD card and the ability to calibrate the accelerometer from the device.
Conclusion
This project was a good challenge for me and I learned plenty from it. It gave me a chance to learn and apply a whole bunch of new skills and try new things out. The data we are collecting from these data loggers (there's around 20 of them out in the wild now) is still being analyzed to see if we can determine effective drop heights and orientations accurately, however initial results are promising.


Sample Game Play
Crouching in the early dawn on top of a 20 story building looking down upon a hoard of Walking trying to force themselves into the building to quench their hunger for flesh. In your search to find supplies and fuel you have been forced to take refuge on top of a building to help others within you team to escape.  You must find refuge soon as you are fully aware that when night comes you will also have to worry about the Dark Hunters that will be out and about in search for sport. However you are also aware of the fact the night time is something the best time to make your move as this is when the battle between the Walkers and the Dark Hunters begin.
Core Game Play / Game Flow
Game play in Death Event is fast-paced and action-packed. It combines the shoot-em-up, instant-gratification style of an arcade gun-blazing maelstrom with longer term rewards more usually associated with adventure games, including the acquisition of reputation and leadership gauge.
The pure action-elements form the core of the game play. Melee to mid-range combat with large, frenzied flocks of Walkers is the norm. Hesitation, ammo-conversation, slow and drawn out strategies are of no use here; your survival depends on being either very fast, or very strong. Intelligence will never be punished of course, and opportunities will arise where a keen and observant player will clearly have the advantage over the casual player; examples include specific Walker and Dark Hunter behaviors and weaknesses, vulnerabilities of certain Walkers and Dark Hunters to particular weapons or environmental conditions, as well as such standard tactical conundrums as "Who do I get rid of first?", given a mixed bag of Walkers, Corruptor and Dark Hunters around you from all directions.
The longer term, adventure-style elements of the game include the player's accumulated reputation points, acquired supplies and special, rare valuables, and the exploration and control of territory for safety. These aspects of the game allow the player an on-going campaign style of play, with elements of character-development, encouraging the player to reach new goals and levels of success, as well as fostering multiple styles of competition from others vying for your position as new people are rescued introduced to the community.
Reputation
Reputation is a core component of Death Event. Reputation can be gained through several methods. First of all, each Zomby-type will have a reputation value attached to it, which upon disposal of said zomby will be awarded to the player (some, if not most zombies will actually have very little reputation points; they are reserved for the more difficult, legendary of beasts). But a zombies's reputation score is not the final word on how much a player receives; indeed, the method, grace, and skill employed in a zombiess demise are all factored into points won, so that the truly inspired players gain extra bonus points, so to speak.
Reputation is also gained through the acquisition of rare valuables, notably essential supplies for survival, defense and creative execution. Scattered throughout the game will be various highly prized objects which will be added to a player's permanent collection, thereby increasing the player's overall reputation score.
The other method of gaining reputation is through proper management of tasks distribution when camping, infiltrating a mall or directing a convoy. See below.
Camping
Camping involves many small nuances with include gathering of resources such as water, wood and food growing in the wild to farming for food, washing cloths and defending the area from potential threats. Managing these tasks is the job of the leader to distribute. Each of these tasks will be portrayed through mini games which the user will also be able to play in an effort to earn reputation points and increase overall morality of the group you are managing. Mini games such as Plants Vs. Zombiesis a perfect example of how this is possible.
Mall
Convoy


Here you can be truly rewarded every time you shop. Sign up today to begin earning the digital currency, INCNT.


| C++ source code | |
| CppCallback | An open source library for C++ callback, signal, slot, delegate, observer patten, event system |
| GContainer | In loop erase safe containers, iterators, skip list, and quad linked node |
| Delphi source code (less development) | |
| Denomo | Memory and resource leak detection tool for Delphi |
| Featured blog articles | |
| Signal/Slot/Callback libraries benchmark | A benchmark of three C++ open source callback/signal/slot libraries -- CppCallback, libsigc++, and boost signal |
| Choose proper pointer in C++ | An article on memory management and smart pointer in C++. |
| More blog articles | |
| Blog articles | Don's stop, read the blogs for more interesting stuff. |


Dojo codebase containing real-world examples (CRUD, auth, advanced patterns, etc.) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate an application built with Dojo.
src/routes.ts
.
@dojo/framework/stores
for state management and managing
fetching, creating, and inserting CRUD data.
@dojo/framework/routing
to
provide full application routing.
import
syntax.
For more information on how this works with other front-ends & back-ends, head over to the RealWorld repository.
Dojo RealWorld using @dojo/widget-core, @dojo/routing and @dojo/stores.
For more information on Dojo visit dojo.io
View the Dojo RealWorld live demo
To get the frontend running locally:
npm install
to install all required dependenciesnpm run dev
to build the application with watch and start a
local server (http:localhost:9999)
Local web server will use port 9999.
For a production build of the application:
npm run build
to build the output into the
output/dist
directory.
To run the tests run npm test
The Dojo-specific portions of this example are © 2018 JS Foundation. New BSD license.


PROJECTS
- Birds Eye
- Conversion Funnel Redesign
- IRA Transfers
- Resource Center
- Drip Campaign
- Directors Desk
- Financial Complaint Database
- Mortgage Database
- New Market Goods
Experience
- Product Designer, Breather
- Senior Product Designer, Ellevest
- Product Designer, Nasdaq
- Web Design Circuit Mentor, General Assembly
- Design & Technology Fellow, Consumer Financial Protection Bureau
- User Experience Designer & Developer, New Market Goods
Education
- Front-End Web Development course, General Assembly
- Digital Design & Interactive Media, Pratt Institute
- Art History/Asian Studies, SUNY New Paltz
Birds Eye
Lead Product Designer
Shipped Spring 2018, Breather
Existing tool
User needs
Filters & information hierarchy
Wireframe sketches
Daily view iterations
Proposed MVP UI
Final design: daily view
Final design: weekly view
Mobile
Conversion Funnel Redesign
Lead Designer: User Research, UX Design, Visual Design
Shipped Fall 2016, Ellevest
Old Investment Plan
Client Registration, Steps 1 & 2
Client Registration, Steps 3 & 4
Fund Goal Page & eSign modal
Wireframe Sketches
Flow Variations
Old & New Conversion Funnels
Redesigned Conversion Funnel
Mobile
IRA Transfers
Lead Designer: User Research, UX Design, Visual Design
Shipped Early 2017, Ellevest
Workflow Post-Its
IRA Transfers Flow, Version 1
Fee & Outside provider variations
Client IRA Transfer Flow
Registered User Flow Wires
Sketches for marketing site page
Final Marketing Site page
Drip campaign
Emails post-initiation
Mobile
Resource Center
Lead Designer: Strategic Planning, UX Design, Visual Design
Shipped Fall 2015, Ellevest
User Journeys: Guest & Registered User
Product Requirements Deck
Scalable Site Map
Wireframe variations for article page
Landing & category page wireframes
Final article & category pages
Mobile
Drip Campaign
Lead Designer: Content Strategy, Visual Design
Shipped Winter 2017, Ellevest
Evaluating email performance
We like to whiteboard.
Email journey
Product requirements deck & email components
Directors Desk
Product Designer: Strategic Planning, UX Design, & Development
2015, Nasdaq
Login Page
Dashboard
Calendar
Attendee Permissioning
Secure Document Center
Contacts
New Market Goods
Designer: UX Design & Development
Prototype, 2014
Prototype
Kickstarter campaign integration
Mobile


A. Stone, P. Sawyer
A contributor to the PhD (infolab-based) recommended by John Hardy. Considers how tacit knowledge can lead to requirements in a software spec which have 'no clear source'.
tacit knowledge [attributed to Polanyi]


C.A.S.E.O.
Cross All Squares Exactly Once
An open source clone of Alcazar
Objective
Enter the room from one of the doors on the border and exit from another.
Cross every square inside the room exactly once.
Game Mechanics
=
Use mouse as a brush to draw path between the squares.
Re-brushing a drawn path/segment erases it.
Use [Toggle-Lock] to save the progress.
[Undo] erases all the paths drawn after the save point.
[Bookmark] saves the game state in a cookie.
[Restart]s the game.


Home Page
Bio Page
Contact Page
W3.CSS Template
SAM LINDY
SAM LINDY
GRAPHIC DESIGNER
Home
Portfolio
Contact
Home
Portfolio
Contact
Contact
Leave a Message here!
Name
Email
Message
Send
Powered by
w3.css