This material is originally from John Ioannidis<EMAIL_ADDRESS>I have condensed it some and applied some corrections for SunOS 4.1.x courtesy of Chuck Smoko (csmoko@relay.nswc.navy.mil). Bob Baggerman<EMAIL_ADDRESS>12 Jan 94 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Ionnidis writes: This is a topic that comes up once in a while on comp.protocols.tcp-ip and other newsgroups. The question is, how to get a machine with one network interface to respond to more than one IP addresses. I have a solution than might suit you. For my doctoral work (there's a paper about it in this year's ('91) SIGCOMM, also available for anonymous FTP from cs.columbia.edu:/pub/ji/sigcomm*.ps.Z), I've developed what I call the "Virtual Interface" (VIF). To the networking code, it looks like an interface. It gets ifattach()ed when you open the /dev/vif* device, and then you can ifconfig it as you like. It does not have an if_input procedure; it only has an if_output. Packets that it receives (from higher-level protocols) which have its IP address, it simply loops back (like any well-behaved if driver). Packets that it receives that are destined for some other address, it encapsulates in an encapsulation protocol I call IPIP (IP-within-IP, protocol number IPPROTO_IPIP == 94), and sends it to another machine that groks that encapsulation protocol. This feature you won't need, but here's how to have multiple IP addresses on a machine with a single real interface: Let's say your primary interface's IP address is <IP_ADDRESS>, and you also want it to respond to addresses <IP_ADDRESS> and <IP_ADDRESS> (note that these are three distinct class C addresses in three distinct class C nets). Here are the ifconfigs: ifconfig le0 <IP_ADDRESS> up -trailers # config primary interface ifconfig vif0 <IP_ADDRESS> up # config first virtual interface route delete net 198.4.3 <IP_ADDRESS> # delete spurious route route add host <IP_ADDRESS> <IP_ADDRESS> 0 # add route for this i/f ifconfig vif1 <IP_ADDRESS> up # config second virtual interface route delete net 198.5.4 <IP_ADDRESS> # delete spurious route route add host <IP_ADDRESS> <IP_ADDRESS> 0 # add route for this i/f The route deletes are needed because the ifconfig creates a default route to the interface's network, which can cause problems; all that's needed is the (host) route to the interface's address. Now, get le0's ethernet address (say, 8:0:20:3:2:1), and add the following static ARP entries: arp -s <IP_ADDRESS> 8:0:20:3:2:1 pub arp -s <IP_ADDRESS> 8:0:20:3:2:1 pub This will cause any ARP requests for the VIF addresses to be replied with your machine's ethernet address. Now, make sure your default route is to your segment's gateway, through the real interface. Finally, make sure your routers and/or hosts on the same segment as yours know that <IP_ADDRESS> and <IP_ADDRESS> are on that cable. Here's what you've accomplished. ARP requests for any of your host's addresses will be replied to with the host's ethernet address (the real one, because that's what it is, the virtual ones because of the public static arp entries). Packets reaching your host with any of these addresses will be accepted by the ip_input routine because they match the address of one of the host's interfaces. Packets leaving your host can have any of its addresses (real and virtual). The code for vif follows. To use it, put the stuff in netinet/if_vif.c and netinet/if_vif.h, configure your kernel with the number of virtual interfaces you want using a line like: pseudo-device vif4 # Virtual IP interface in your configuration file, and the line netinet/if_vif.c optional vif device-driver in the "files" file. Also, add the appropriate entries in conf.c, so that you can access the if_attach() routine when you open the device: -------------------------- conf.c------------------------------------------ add this in the appropriate place in the headers of conf.c: -------------------- #include "vif.h" #if NVIF > 0 int vifopen(), vifclose(), vifread(), vifwrite(), vifselect(), vifioctl(); #else #define vifopen nodev #define vifclose nodev #define vifread nodev #define vifwrite nodev #define vifselect nodev #define vifioctl nodev #endif -------------------- then, way down in the definition for cdevsw[]: -------------------- vifopen, vifclose, vifread, vifwrite, /*14*/ vifioctl, nodev, nodev, 0, 0, nodev, -------------------- Make sure you remember the correct major device number, 14 in this case! --------------------------------------------------------------------------- Finally, here's the code. It has the tunneling pieces removed (you need more code to use that anyway), and it comes from a Mach 2.6 kernel; it should compile on any Berkeley-derived unix with minor changes (most likely only in the includes). ---------------------netinet/if_vif.h-------------------------------------- typedef struct { struct ifnet vif_if; struct ifnet *vif_sif; /* slave interface */ int vif_flags; } vif_softc_t; #define VIFMTU (1024+512) --------------------------------------------------------------------------- and ---------------------netinet/if_vif.c-------------------------------------- /* * Virtual IP interface module. */ #include "param.h" #include "../sys/systm.h" #include "../sys/mbuf.h" #include "../sys/socket.h" #include "../sys/errno.h" #include "../sys/ioctl.h" #include "../net/if.h" #include "../net/netisr.h" #include "../net/route.h" #ifdef INET #include "../netinet/in.h" #include "../netinet/in_systm.h" #include "../netinet/in_var.h" #include "../netinet/ip.h" #endif #include "in_pcb.h" #include "vif.h" typedef struct { struct ifnet vif_if; struct ifnet *vif_sif; /* slave interface */ int vif_flags; } vif_softc_t; #define VIFMTU (1024+512) vif_softc_t vif_softc[NVIF]; int vifs_inited = 0; vifattach() { register int i; register struct ifnet *ifp; int vifoutput(), vififioctl(); for (i=0; i<NVIF; i++) { ifp = &vif_softc[i].vif_if; ifp->if_name = "vif"; ifp->if_unit = i; ifp->if_mtu = VIFMTU; ifp->if_flags = IFF_LOOPBACK | IFF_NOARP; ifp->if_ioctl = vififioctl; ifp->if_output = vifoutput; if_attach(ifp); } } vifopen(dev, flag) int dev, flag; { int unit; if (!vifs_inited) { vifattach(); vifs_inited = 1; printf("vif initialized\n"); } unit = minor(dev); if ((unit < 0) || (unit >= NVIF)) { return ENXIO; } return 0; } vifclose(dev, flag) int dev, flag; { return 0; } vifread() { return ENXIO; } vifwrite() { return ENXIO; } vifselect() { return ENXIO; } vifoutput(ifp, m0, dst) struct ifnet *ifp; register struct mbuf *m0; struct sockaddr *dst; { int s; register struct ifqueue *ifq; struct mbuf *m; struct sockaddr_in *din; if (dst->sa_family != AF_INET) { printf("%s%d: can't handle af%d\n", ifp->if_name, ifp->if_unit, dst->sa_family); m_freem(m0); return (EAFNOSUPPORT); } din = (struct sockaddr_in *)dst; if (din->sin_addr.s_addr == IA_SIN(ifp->if_addrlist)->sin_addr.s_addr) { /* printf("%s%d: looping\n", ifp->if_name, ifp->if_unit); */ /* * Place interface pointer before the data * for the receiving protocol. */ if (m0->m_off <= MMAXOFF && m0->m_off >= MMINOFF + sizeof(struct ifnet *)) { m0->m_off -= sizeof(struct ifnet *); m0->m_len += sizeof(struct ifnet *); } else { MGET(m, M_DONTWAIT, MT_HEADER); if (m == (struct mbuf *)0) return (ENOBUFS); m->m_off = MMINOFF; m->m_len = sizeof(struct ifnet *); m->m_next = m0; m0 = m; } *(mtod(m0, struct ifnet **)) = ifp; s = splimp(); ifp->if_opackets++; ifq = &ipintrq; if (IF_QFULL(ifq)) { IF_DROP(ifq); m_freem(m0); splx(s); return (ENOBUFS); } IF_ENQUEUE(ifq, m0); schednetisr(NETISR_IP); ifp->if_ipackets++; splx(s); return (0); } return EHOSTUNREACH; } /* * Process an ioctl request. */ /* ARGSUSED */ vififioctl(ifp, cmd, data) register struct ifnet *ifp; int cmd; caddr_t data; { int error = 0; switch (cmd) { case SIOCSIFADDR: ifp->if_flags |= IFF_UP; /* * Everything else is done at a higher level. */ break; default: error = EINVAL; } return (error); } vifioctl(dev, cmd, arg, mode) dev_t dev; int cmd; caddr_t arg; int mode; { int unit; unit = minor(dev); if ((unit < 0) || (unit >= NVIF)) return ENXIO; return EINVAL; } ---------------------------------------------------------------------------- To use it, compile your kernel, and reboot. Then create the vif device: # mknod /dev/vif c 14 0 (or whatever major number it ended up being), and echo something into it: # echo > /dev/vif This will cause the device to be opened, which will if_attach the interfaces. If you feel like playing with the code, you may want to kmem_alloc() the vif_softc structure at open time, and use the minor number of the device to tell it how many interfaces to create. Now you can go ahead and ifconfig etc. I'll be happy to answer minor questions, and hear about success and failure stories, but I cannot help you if you don't already know how to hack kernels. Good luck! /ji In-Real-Life: John "Heldenprogrammer" Ioannidis E-Mail-To<EMAIL_ADDRESS>V-Mail-To: +1<PHONE_NUMBER> P-Mail-To: 450 Computer Science \n Columbia University \n New York, NY 10027
Note: there is also a commercial-product-turned-freeware called "Col. Patch" which does this as a loadable kernel module for SunOS 4.1.3_U1.


{{ employee.first_name }} {{ employee.last_name }}
{{ employee.email }}
{{ employee.location }}
{{ employee.role }}


Please specify your ServiceNow instance to be used. Be aware that currently per default always https will be used.
For example, if you specify the instance mycompanydev, in the background it will be constructed as https://mycompanydev.service-now.com.


cdemi's
18 February 2020 |
Software Development #Software #Dev #Programming |
Supercharge your command line experience: GitHub CLI is now in beta (github.blog) |
| We want your feedback about GitHub’s new command line tool that makes it easier to work with GitHub and reduce friction for many of your common workflows.... Read more |
.NET #dotNet |
Your Todo application is too complex or not complex enough (hanselman.com) Scott Computer Zen .NET C# Hanselman Microsoft Weblog Diabetes Portland Zimbabwe ASP.NET Azure Cloud Productivity DotNetCore Open Source |
| Making a Todo List is a form of Hello World on the web, similar to making a blog or a simple website. Everyone knows what a Todo app should look and act like, so you can just focus on your tools and not on the requirements. You may feel that a Todo app "isn't complex enough" or isn't a good example app to make. That's fine, but it is worth exploring and reading the different ways the same thing can be done....  Here is a technique you can use with Angular 9.... Read more |
DevOps |
Terminals Are Sexy (terminalsare.sexy) |
| A curated list of sexy Terminal frameworks, extensions & resources for CLI lovers.... Read more |
Kubernetes Operators: 4 facts to know (enterprisersproject.com) |
| Without real automation, you won’t realize the full potential of containers. That’s where Kubernetes Operators play a growing role. Here’s what IT leaders should know.... Read more |
Security #InfoSec |
Three API security risks in the wake of the Facebook breach (helpnetsecurity.com) API security CISO cybersecurity Facebook opinion strategy |
| The theft of access token represents an API security risk, but also highlights how API risks can remain undetected. The Facebook breach is not unique.... Read more |
Hardware |
Backblaze Hard Drive Stats for 2019 (backblaze.com) |
| We look at the hard drive failure rates for the data drive models in operation in our data centers in 2019 (now totaling over 120,000 drives). In addition, we’ll see how the new hard drive models we added during the year did.... Read more |
General Tech #Tech |
Stuff The Internet Says On Scalability For February 14th, 2020 (highscalability.com) |
| Wake up! It's HighScalability time!... Read more |
|
This newsletter is made with 💖 by cdemi and sponsored by moo Research. You can find this MIT Licensed open-source project on GitHub cdemi/NewsletterCurator. You can also find an archive of all sent newsletters on GitHub at https://newsletters.cdemi.io/. If you want to unsubscribe from this newsletter, please click here. If you're new and you want to subscribe to this newsletter, please click here. |


Breaking Down Data Structures
11/15/2015
Arrays: Collections of Values
I'm sure you have seen single values stored into variables. While this mechanism is great. The truth is that typically you will be dealing with several values at a time. While you can store each value into a single variable, a more efficient way is to store a collection of values into one variable. One way to do this is to create an array.A array is just a fancy name for a variable that contains a collection of values. These values can be numbers, strings, symbols, and even other arrays.
How do I create a Array?
While there are four ways to create an array. I'm going to focus on the two most common array creation methods. The Array.new method, and use of the literal constructor. When using the Array.new method you can create a empty array. You can also specify the size of the array. Literal array construction allows you to just use the square brackets and assign the array to a variable. Like the Array.new method you can create a empty one, or initialize it with contents.
So what are hashes?
Hashes are another common data structure used in ruby. Like arrays hashes also hold collections of values. The difference being that each value is assigned to a unqiue key. There are four ways to construct a hash, but I'm only going to focus on the two most common. In order to construct a hash you can use: the Hash.new method or the literal constructor. The Hash.new method allows you to create a empty hash or initialize it with contents. While the literal constructor allows you to just use the curly braces, and assign the hash to a variable.
Retrieving Data from Data Structures
If you want to retrieve data from an array. You can access the value based on it's position in the array. To retrieve data from a hash you can access the value via its key.
So how do I know which one is the right one for me?
Since arrays and hashes are both very similar it can be confusing to determine which method is best for you. The easiest way to determine that is to consider the type of data you are trying to store. If your data consists of ordered contents such as a consective set of numbers. It's best to place that information in a array. However, if you have a bunch of unordered data then use a hash. For instance, maybe you borrow a lot of books from you friends. You want to keep track of which book belongs to which friend. Using a hash to keep track of this data would allow you to use your friend's name as a key and assign the value of that book to your friends name. However, there are limitations to this example because hashes require all keys to be unique. So if you borrow more than one book from the same friend you wouldn't be able to use that friends name again.


RED WHITE & TUNA
April 23-26, 2015
Director - Catherine Nowicki
Technical Director/Set & Light Design - Wess Hughes
Stage Manager - Laura Cooley
Assistant Stage Managers - Tim Flanagan & Herb Murray
THE CAST
THE RETURNING HIPPIE FLOWER-CHILDREN
Amber Windchime - Steven Nowicki
Star Birdfeather - Wess Hughes
THE RADIO STATION DJ’S
Arles Struvie - Steven Nowicki
THurston Wheelis - Wess Hughes
THE SNAVELY FAMILY
Didi Snavely - Steven Nowicki
R. R. Snavely - Wess Hughes
THE BUMILLER FAMILY
Charlene Bumiller - Steven Nowicki
Bertha Bumiller - Wess Hughes
Stanley Bumiller - Steven Nowicki
Grandma Pearl - Wess Hughes
THE HOT-TO-TROT TASTEE-KREME WAITRESSES
Helen Bedd - Steven Nowicki
Inita Goodwin - Wess Hughes
THEIR TUNA NEIGHBORS
Elmer Watkins - Wess Hughes
Petey Fisk - Steven Nowicki
Vera Carp - Steven Nowicki
Joe Bob Lipsey - Wess Hughes
Garland Poteet - Steven Nowicki
Leonard Childers - Wess Hughes
Reverand Spikes - Wess Hughes


Spend all of your time focusing on building and scaling your business and let us do the digital advertising, posting, daily content, interacting with customers, building your email list and website up keeping. We grow your audience by targeting people who want your product/service.
Digital Seed Media is a full service digital marketing company. We take partnerships very seriously, working to build and foster the relationship between customer and business. We provide you the services and expertise needed to grow your business and increase sales so you can spend more time scaling up your business and less time worrying about advertising.
We drive effective growth and build brands through strategically information aware decisions. By providing solutions, from strategy development to analysis to execution, we can provide tremendous value to your business.We connect and attract with your target audiences through owned, organic, and paid media channels.


Class: ActiveSupport::CurrentAttributes
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
DescendantsTracker
|
|
|
Instance Chain:
self,
Callbacks
|
|
| Inherits: | Object |
| Defined in: | activesupport/lib/active_support/current_attributes.rb |
Overview
Abstract super class that provides a thread-isolated attributes singleton, which resets automatically before and after each request. This allows you to keep all the per-request attributes easily available to the whole system.
The following full app-like example demonstrates how to use a Current class to facilitate easy access to the global, per-request attributes without passing them deeply around everywhere:
# app/models/current.rb
class Current < ActiveSupport::CurrentAttributes
attribute :account, :user
attribute :request_id, :user_agent, :ip_address
resets { Time.zone = nil }
def user=(user)
super
self.account = user.account
Time.zone = user.time_zone
end
end
# app/controllers/concerns/authentication.rb
module Authentication
extend ActiveSupport::Concern
included do
before_action :authenticate
end
private
def authenticate
if authenticated_user = User.find_by(id: .encrypted[:user_id])
Current.user = authenticated_user
else
redirect_to new_session_url
end
end
end
# app/controllers/concerns/set_current_request_details.rb
module SetCurrentRequestDetails
extend ActiveSupport::Concern
included do
before_action do
Current.request_id = request.uuid
Current.user_agent = request.user_agent
Current.ip_address = request.ip
end
end
end
class ApplicationController < ActionController::Base
include Authentication
include SetCurrentRequestDetails
end
class MessagesController < ApplicationController
def create
Current.account. .create( )
end
end
class Message < ApplicationRecord
belongs_to :creator, default: -> { Current.user }
after_create { || Event.create(record: ) }
end
class Event < ApplicationRecord
before_create do
self.request_id = Current.request_id
self.user_agent = Current.user_agent
self.ip_address = Current.ip_address
end
end
A word of caution: It’s easy to overdo a global singleton like Current and tangle your model as a result. Current should only be used for a few, top-level globals, like account, user, and request details. The attributes stuck in Current should be used by more or less all actions on all requests. If you start sticking controller-specific attributes in there, you’re going to create a mess.
Constant Summary
Callbacks
- Included
Callbacks
- Attributes & Methods
- .__callbacks rw
- #__callbacks readonly
- .__callbacks? ⇒ Boolean rw
- #__callbacks? ⇒ Boolean readonly
Class Method Summary
-
.attribute(*names)
Declares one or more attributes that will be given both class and instance accessor methods.
-
.instance
Returns singleton instance for this class in this thread.
- .new ⇒ CurrentAttributes constructor
-
.resets(&block)
Calls this block after #reset is called on the instance.
DescendantsTracker
- self
| clear, descendants, direct_descendants, | |
| store_inherited | This is the only method that is not thread safe, but is only ever called during the eager loading phase. |
Instance Attribute Summary
- #attributes rw
-
#reset
readonly
Reset all attributes.
-
#set(set_attributes)
readonly
Expose one or more attributes within a block.
Instance Method Summary
Callbacks
- Included
| #run_callbacks | Runs the callbacks for the given event. |
Constructor Details
.new ⇒ CurrentAttributes
# File 'activesupport/lib/active_support/current_attributes.rb', line 157
def initialize @attributes = {} end
Class Attribute Details
.__callbacks (rw)
[ GitHub ]# File 'activesupport/lib/active_support/callbacks.rb', line 67
class_attribute :__callbacks, instance_writer: false, default: {}
.__callbacks? ⇒ Boolean
(rw)
[ GitHub ]
# File 'activesupport/lib/active_support/callbacks.rb', line 67
class_attribute :__callbacks, instance_writer: false, default: {}
Class Method Details
.attribute(*names)
Declares one or more attributes that will be given both class and instance accessor methods.
# File 'activesupport/lib/active_support/current_attributes.rb', line 96
def attribute(*names) generated_attribute_methods.module_eval do names.each do |name| define_method(name) do attributes[name.to_sym] end define_method("#{name}=") do |attribute| attributes[name.to_sym] = attribute end end end names.each do |name| define_singleton_method(name) do instance.public_send(name) end define_singleton_method("#{name}=") do |attribute| instance.public_send("#{name}=", attribute) end end end
.instance
Returns singleton instance for this class in this thread. If none exists, one is created.
# File 'activesupport/lib/active_support/current_attributes.rb', line 91
def instance current_instances[name] ||= new end
.resets(&block)
# File 'activesupport/lib/active_support/current_attributes.rb', line 121
def resets(&block) set_callback :reset, :after, &block end
Instance Attribute Details
#__callbacks (readonly)
[ GitHub ]# File 'activesupport/lib/active_support/callbacks.rb', line 67
class_attribute :__callbacks, instance_writer: false, default: {}
#__callbacks? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'activesupport/lib/active_support/callbacks.rb', line 67
class_attribute :__callbacks, instance_writer: false, default: {}
#attributes (rw)
[ GitHub ]# File 'activesupport/lib/active_support/current_attributes.rb', line 155
attr_accessor :attributes
#reset (readonly)
Reset all attributes. Should be called before and after actions, when used as a per-request singleton.
#set(set_attributes) (readonly)
Expose one or more attributes within a block. Old values are returned after the block concludes. Example demonstrating the common use of needing to set Current attributes outside the request-cycle:
class Chat::PublicationJob < ApplicationJob
def perform(attributes, room_number, creator)
Current.set(person: creator) do
Chat::Publisher.publish(attributes: attributes, room_number: room_number)
end
end
end


An example demonstrating the use of the <input type="color">
control.
Watch the paragraph colors change when you adjust the color picker.
As you make changes in the color picker, the first paragraph's
color changes, as a preview (this uses the input
event). When you close the color picker, the change
event fires, and we detect that to change every paragraph to
the selected color.


We're sorry but this site doesn't work properly without JavaScript enabled. Please enable it to continue.


What should I expect to see?
As you move around in the 3-dimensional space, each point is a tweet of the given user. The points close to each other tend to have similar "semantic", different clusters of points might represent different "topics" in user's tweets.
Note that this "semantic" is computed by skip-thought, which might or might not make a lot of sense. Given the short amount of text in tweets, it is often not very clear how the tweets are clustered. However, there might be some patterns, for instance you might find groups of retweets, groups of tweets containing links, tweets starting with an @-mention, etc..


Prism POIs Example Demo
Filter Search Query*:
* The blank field bug is fixed in JavaScriptMVC trunk.
Tags:


public interface AuthenticationHandler
Since the authentication process can be stateful, an instance of this class can be stateful too.
Do not share a single instance of this interface if you don't explicitly need to do so.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
auth(java.lang.String clientInput)
Initially called using an input string in the RFC2554 form: "AUTH
|
java.lang.Object |
getIdentity()
If the authentication process was successful, this returns the identity
of the user.
|
java.lang.String auth(java.lang.String clientInput) throws RejectException
Depending on the authentication mechanism, the handshaking process may require
many request-response passes. This method will return null
only when the authentication process is finished.
AuthenticationHandlers are associated with a single authentication exchange. If the exchange is stopped (ie fails) and is restarted, a new AuthenticationHandler is created. Upon successful authentication, your implementation of this object becomes part of the MessageContext. Your MessageHandler may upcast your AuthenticationHandler to obtain further information, such as identity.
AuthenticationHandlers do not need to handle the "*" cancel response; this is handled by the framework.
clientInput
- The client's input, eg "AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ="null
if the authentication process is finished, otherwise a string to hand back to the client.RejectException
- if authentication fails.java.lang.Object getIdentity()
Copyright © 2012 SubEthaSMTP. All Rights Reserved. Build version: 3.1.7


We're going to borrow a nice picture from General Mills
Ingredients (probably not right...)
- 6 Eggs
- 2 Cups of flour
- 2 Tablespoon of vanilla extract
- 2 Tablespoon of baking powder
- 1 cup of sugar
Instuctions (may or may not be correct)
- Add eggs,flour and vanilla extract and mix
- Combine with sugar and baking powder and stir
- Eat half the cookie batter because it is delicious
- Take the rest of the cookie batter and make cookies
- Bake at 350 for 25 minutes
- Enjoy!


Before Change
try:
weights = np.array(data["weight"])
except KeyError:
weights = np.ones(len(data["y"]))
y = np.array(data["y"])
res = weighted_boxplot_stats(y, weights=weights, whis=params["coef"])
if len(np.unique(data["x"])) > 1:
After Change
@classmethod
def compute_group(cls, data, scales, **params):
y = data["y"].to_numpy()
weights = data.get("weight", None)
total_weight = len(y) if weights is None else np.sum(weights)
res = weighted_boxplot_stats(y, weights=weights, whis=params["coef"])
if len(np.unique(data["x"])) > 1:


Facilities for diffing two FITS files. Includes objects for diffing entire FITS files, individual HDUs, FITS headers, or just FITS data.
Used to implement the fitsdiff program.
Bases: astropy.io.fits.diff._BaseDiff
Diff two FITS files by filename, or two HDUList objects.
FITSDiff objects have the following diff attributes:
Returns a new Diff object of a specfic subclass from an existing diff object, passing on the values for any arguments they share in common (such as ignore_keywords).
For example:
>>> fd = FITSDiff('a.fits', 'b.fits', ignore_keywords=['*'])
>>> hd = HeaderDiff.fromdiff(fd, header_a, header_b)
>>> hd.ignore_keywords
['*']
True if all the diff_* attributes on this diff instance are empty, implying that no differences were found.
Any subclass of _BaseDiff must have at least one diff_* attribute, which contains a non-empty value if and only if some difference was found between the two objects being compared.
Generates a text report on the differences (if any) between two objects, and either returns it as a string or writes it to a file-like object.
| Parameters : | fileobj : file-like object or None (optional) indent : int
|
|---|---|
| Returns : | report : str or None |
Bases: astropy.io.fits.diff._BaseDiff
Diff two HDU objects, including their headers and their data (but only if both HDUs contain the same type of data (image, table, or unknown).
HDUDiff objects have the following diff attributes:
Returns a new Diff object of a specfic subclass from an existing diff object, passing on the values for any arguments they share in common (such as ignore_keywords).
For example:
>>> fd = FITSDiff('a.fits', 'b.fits', ignore_keywords=['*'])
>>> hd = HeaderDiff.fromdiff(fd, header_a, header_b)
>>> hd.ignore_keywords
['*']
True if all the diff_* attributes on this diff instance are empty, implying that no differences were found.
Any subclass of _BaseDiff must have at least one diff_* attribute, which contains a non-empty value if and only if some difference was found between the two objects being compared.
Generates a text report on the differences (if any) between two objects, and either returns it as a string or writes it to a file-like object.
| Parameters : | fileobj : file-like object or None (optional) indent : int
|
|---|---|
| Returns : | report : str or None |
Bases: astropy.io.fits.diff._BaseDiff
Diff two Header objects.
HeaderDiff objects have the following diff attributes:
diff_keyword_count: If the two headers contain a different number of keywords, this contains a 2-tuple of the keyword count for each header.
diff_keywords: If either header contains one or more keywords that don’t appear at all in the other header, this contains a 2-tuple consisting of a list of the keywords only appearing in header a, and a list of the keywords only appearing in header b.
diff_duplicate_keywords: If a keyword appears in both headers at least once, but contains a different number of duplicates (for example, a different number of HISTORY cards in each header), an item is added to this dict with the keyword as the key, and a 2-tuple of the different counts of that keyword as the value. For example:
{'HISTORY': (20, 19)}
means that header a contains 20 HISTORY cards, while header b contains only 19 HISTORY cards.
diff_keyword_values: If any of the common keyword between the two headers have different values, they appear in this dict. It has a structure similar to diff_duplicate_keywords, with the keyword as the key, and a 2-tuple of the different values as the value. For example:
{'NAXIS': (2, 3)}
means that the NAXIS keyword has a value of 2 in header a, and a value of 3 in header b. This excludes any keywords matched by the ignore_keywords list.
diff_keyword_comments: Like diff_keyword_values, but contains differences between keyword comments.
HeaderDiff objects also have a common_keywords attribute that lists all keywords that appear in both headers.
Returns a new Diff object of a specfic subclass from an existing diff object, passing on the values for any arguments they share in common (such as ignore_keywords).
For example:
>>> fd = FITSDiff('a.fits', 'b.fits', ignore_keywords=['*'])
>>> hd = HeaderDiff.fromdiff(fd, header_a, header_b)
>>> hd.ignore_keywords
['*']
True if all the diff_* attributes on this diff instance are empty, implying that no differences were found.
Any subclass of _BaseDiff must have at least one diff_* attribute, which contains a non-empty value if and only if some difference was found between the two objects being compared.
Generates a text report on the differences (if any) between two objects, and either returns it as a string or writes it to a file-like object.
| Parameters : | fileobj : file-like object or None (optional) indent : int
|
|---|---|
| Returns : | report : str or None |
Bases: astropy.io.fits.diff._BaseDiff
Diff two image data arrays (really any array from a PRIMARY HDU or an IMAGE extension HDU, though the data unit is assumed to be “pixels”).
ImageDataDiff objects have the following diff attributes:
diff_dimensions: If the two arrays contain either a different number of dimensions or different sizes in any dimension, this contains a 2-tuple of the shapes of each array. Currently no further comparison is performed on images that don’t have the exact same dimensions.
diff_pixels: If the two images contain any different pixels, this contains a list of 2-tuples of the array index where the difference was found, and another 2-tuple containing the different values. For example, if the pixel at (0, 0) contains different values this would look like:
[(0, 0), (1.1, 2.2)]
where 1.1 and 2.2 are the values of that pixel in each array. This array only contains up to self.numdiffs differences, for storage efficiency.
diff_total: The total number of different pixels found between the arrays. Although diff_pixels does not necessarily contain all the different pixel values, this can be used to get a count of the total number of differences found.
diff_ratio: Contains the ratio of diff_total to the total number of pixels in the arrays.
Returns a new Diff object of a specfic subclass from an existing diff object, passing on the values for any arguments they share in common (such as ignore_keywords).
For example:
>>> fd = FITSDiff('a.fits', 'b.fits', ignore_keywords=['*'])
>>> hd = HeaderDiff.fromdiff(fd, header_a, header_b)
>>> hd.ignore_keywords
['*']
True if all the diff_* attributes on this diff instance are empty, implying that no differences were found.
Any subclass of _BaseDiff must have at least one diff_* attribute, which contains a non-empty value if and only if some difference was found between the two objects being compared.
Generates a text report on the differences (if any) between two objects, and either returns it as a string or writes it to a file-like object.
| Parameters : | fileobj : file-like object or None (optional) indent : int
|
|---|---|
| Returns : | report : str or None |
Bases: astropy.io.fits.diff.ImageDataDiff
RawDataDiff is just a special case of ImageDataDiff where the images are one-dimensional, and the data is treated as a 1-dimensional array of bytes instead of pixel values. This is used to compare the data of two non-standard extension HDUs that were not recognized as containing image or table data.
ImageDataDiff objects have the following diff attributes:
Returns a new Diff object of a specfic subclass from an existing diff object, passing on the values for any arguments they share in common (such as ignore_keywords).
For example:
>>> fd = FITSDiff('a.fits', 'b.fits', ignore_keywords=['*'])
>>> hd = HeaderDiff.fromdiff(fd, header_a, header_b)
>>> hd.ignore_keywords
['*']
True if all the diff_* attributes on this diff instance are empty, implying that no differences were found.
Any subclass of _BaseDiff must have at least one diff_* attribute, which contains a non-empty value if and only if some difference was found between the two objects being compared.
Generates a text report on the differences (if any) between two objects, and either returns it as a string or writes it to a file-like object.
| Parameters : | fileobj : file-like object or None (optional) indent : int
|
|---|---|
| Returns : | report : str or None |
Bases: astropy.io.fits.diff._BaseDiff
Diff two table data arrays. It doesn’t matter whether the data originally came from a binary or ASCII table–the data should be passed in as a recarray.
TableDataDiff objects have the following diff attributes:
diff_column_count: If the tables being compared have different numbers of columns, this contains a 2-tuple of the column count in each table. Even if the tables have different column counts, an attempt is still made to compare any columns they have in common.
diff_columns: If either table contains columns unique to that table, either in name or format, this contains a 2-tuple of lists. The first element is a list of columns (these are full Column objects) that appear only in table a. The second element is a list of tables that appear only in table b. This only lists columns with different column definitions, and has nothing to do with the data in those columns.
diff_column_names: This is like diff_columns, but lists only the names of columns unique to either table, rather than the full Column objects.
diff_column_attributes: Lists columns that are in both tables but have different secondard attributes, such as TUNIT or TDISP. The format is a list of 2-tuples: The first a tuple of the column name and the attribute, the second a tuple of the different values.
diff_values: TableDataDiff compares the data in each table on a column-by-column basis. If any different data is found, it is added to this list. The format of this list is similar to the diff_pixels attribute on ImageDataDiff objects, though the “index” consists of a (column_name, row) tuple. For example:
[('TARGET', 0), ('NGC1001', 'NGC1002')]
shows that the tables contain different values in the 0-th row of the ‘TARGET’ column.
diff_total and diff_ratio: Same as ImageDataDiff.
TableDataDiff objects also have a common_columns attribute that lists the Column objects for columns that are identical in both tables, and a common_column_names attribute which contains a set of the names of those columns.
Returns a new Diff object of a specfic subclass from an existing diff object, passing on the values for any arguments they share in common (such as ignore_keywords).
For example:
>>> fd = FITSDiff('a.fits', 'b.fits', ignore_keywords=['*'])
>>> hd = HeaderDiff.fromdiff(fd, header_a, header_b)
>>> hd.ignore_keywords
['*']
True if all the diff_* attributes on this diff instance are empty, implying that no differences were found.
Any subclass of _BaseDiff must have at least one diff_* attribute, which contains a non-empty value if and only if some difference was found between the two objects being compared.
Generates a text report on the differences (if any) between two objects, and either returns it as a string or writes it to a file-like object.
| Parameters : | fileobj : file-like object or None (optional) indent : int
|
|---|---|
| Returns : | report : str or None |


The content of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
The source code for this site is open sourced under the MIT license.


{% extends "base.html" %} {% block content %}
Discover new music by creating a custom Spotify playlist based on your favourite tracks
*We are using Spotify's secure login to connect to your account.
Made by Tomer
Check out my GitHub


I liked:faithful to the original arcade game; good graphics (well, for a 2600 game), controls well I didn't like:Only two out of four screens; sparse sound effects
Donkey Kong is, as we all know, the Nintendo arcade classic that marked
Mario's (er, Jumpman's) first video game appearence. This game has been
ported to many home consoles, including the NES, C64, and many Atari
systems, including the 2600. In the end, there are other, better ports
of this arcade classic, but this one is passable.
Once you've fired up the game and played it for a while, the first, and
most glaring omission you'll notice is a lack of two screens. So the
game is only two screens long! It's a bit of a dissappointment,
although it's hard to tell whether it was simply due to the limited
space of an Atari cart, or just some sort of development-side issue.
Either way, this is the one thing that makes the 2600 version of Donkey
Kong stand out from the rest of 'em.
The game's two levels - as you might guess - are the first and last.
The first level has you scaling a factory to reach the ape DK and
Mario's girlfriend, while climbing ladders and hopping barrels. The
game is still very faithful to the original arcade game.
The second level is a five-tiered complex. Deadly fireballs roam each
level of this screen. On each level are two platforms, which when run
over are destroyed. So your goal is to destroy eight of these chunks of
the platform. Once you do that you've beaten the level. Missing from
the 2600 port of DK is the end cutscene, where the platforms rip apart
and Mario is reunited with his girlfriend and all that good stuff.
Chances are you won't care though.
And of course in each screen is your good friend and mine the hammer.
The hammer works... well, it works like the hammer from the Donkey Kong
arcade game. And that's a good thing, especially considering [ I belive
it's] the Intellevision version of DK had a messed-up hammer or
something.
The graphics obviously look nothing like the arcade game, but hey, what
can you expect? It's the Twenty-Six-Hundred. Still, Mario looks like
Mario, and Donkey Kong looks like Donkey Kong. Mario also animates well.
The sound effects are a bit sparse, limited to only the walking of
Mario and the jumping sound. Although, they did manage to get that
classic "dooloodoo do doo" sound effect from jumping over the barrels
down right.
So, in the end, if you want to play Donkey Kong, you could do better than this version, but what it does do it does well.


Select your size and toppings
Select a size:
Small
Medium
Large
Choose a Vegetable Topping:
Click to select
Spinach
Mushrooms
Tomatos
Choose a Meat Topping:
Click to select
Pepperoni
Chicken
Anchovies
CALCULATE PRICE
TOTAL:


It seems like you've been dropped at my GitHub Pages crossroad.
This is a navigation homepage for my GitHub Pages projects.
What you're looking for should be in the navigation.


coins.alias
Class AliasGroup
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
coins.alias.AliasGroup
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.io.Serializable, java.util.Set
- public class AliasGroup
- extends java.util.HashSet
This is the class that represents the set of HIR nodes
which may be aliased to a given HIR node. Objects that
elements of this set represent and the object the HIR
node that owns this set represents possibly share some
subspace in the memory space. A CONTENTS node with
uninitialized pointer value operand is considered to
represent an object that does not inhabit the memory space,
so its associated AliasGroup object is empty (even does not
contain the CONTENTS node itself).
Currently does not expose any public/protected
fields/methods except the ones inherited from
HashSet
.
- See Also:
AliasAnal.getAliasGroupFor(coins.ir.hir.Exp)
,
Serialized Form
| Fields inherited from class java.util.HashSet |
|
|
Constructor Summary |
AliasGroup()
Creates a new instance of AliasGroup with the default
initial capacity. |
|
Method Summary |
java.util.List |
sort()
For aesthetics when printing. |
| Methods inherited from class java.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
| Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
| Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
AliasGroup
public AliasGroup()
- Creates a new instance of AliasGroup with the default
initial capacity.
- See Also:
HashSet.HashSet()
sort
public java.util.List sort()
- For aesthetics when printing. Sorts the elements
(lvalue nodes) within this AliasGroup with their
indexes as the key. There is no change in the internal
state of this AliasGroup object.
- Returns:
- sorted
List
object.


AbortTransactionException
AbstractContentionManager
AddressUtil
Agent
Aggressive
Aggressive
Atomic
AtomicAnnotationVisitor
AtomicMethod
BackoffCM
BackoffCM.BackoffData
BloomFilter
BooleanArrayList
BooleanWriteFieldAccess
ByteCodeVisitor
ByteWriteFieldAccess
CharWriteFieldAccess
ClassByteCode
ClassTransformer
ClassTransformer
ContentionManager
ContentionManager
ContentionManager.Action
ContentionManager.ConflictType
Context
Context
Context
Context
Context
ContextDelegator
DoubleTypeCodeResolver
DoubleWriteFieldAccess
DuplicateMethod
Exclude
ExcludeIncludeStore
ExternalFieldsHolder
Factory
Field
Field
Field
Field.Type
Field.Type
FieldsHolder
FloatTypeCodeResolver
FloatWriteFieldAccess
FramesCodeVisitor
FramesCodeVisitor.VersionException
IgnoreTree
Immutable
IntTypeCodeResolver
IntWriteFieldAccess
Karma
KarmaLockStealer
Lock
LockSkipper
LockTable
LockTable
LockTable
LockTable
LongTypeCodeResolver
LongWriteFieldAccess
MethodAnnotationVisitor
MethodTransformer
MethodTransformer
ObjectWriteFieldAccess
Phase
Polite
Polka
Pool
ReadFieldAccess
ReadFieldAccess
ReadFieldAccess
ReadSet
ReadSet
ReadSet
ReadSet
ReadSet.ReadSetListener
ReadSet.ReadSetListener
ReferenceTypeCodeResolver
ResourceFactory
ShortWriteFieldAccess
StaticMethodTransformer
Statistics
Statistics.AbortType
Suicide
Suicide
Timestamp
Timestamp
TransactionException
TypeCodeResolver
TypeCodeResolverFactory
UnsafeHolder
Util
WriteFieldAccess
WriteFieldAccess
WriteFieldAccess
WriteSet
WriteSet
WriteSet
WriteSetIterator
WriteSetIterator.WriteSetIteratorElement
WriteSetIterator.WriteSetIteratorElement.State
WriteSetTable
|


Ghormeh Sabzi (Lamb Stew)
By: Kamrun Samadnejad
Ingredients
- 2 lbs. boneless lamb
- 1 whole onion; finely chopped
- 1/3 cup olive oil
- 1 tspn. turmeric
- 6 dried lemons
- 3/4 cup kidney beans
- salt & pepper; to taste
- 1 cup green onion; finely chopped
- 1/2 cup parsley; finely chopped
- 1/4 cup cilantro; finely chopped
- 1/4 cup dried fenugreek leaves; finely chopped
Preparation
- cut meat into small cubes
- fry onion over medium heat until golden
- add turmeric and fry for 2 more minutes
- increase heat, add meat cubes and stir over high heat until meat begins to turn brown
- reduce heat
- add water, drained kidney beans, salt & pepper (to taste)
- cover and simmer for about an hour or until meat is tender
- add prepared vegetables to frying pan and fry over medium heat until wilted
- add vegetables and dried lemons to the meat and kidney beans and simmer for another 15 minutes
- taste test, then serve over rice


Bellator London 2 results: ‘MVP vs Melillo’ streaming play-by-play updates
by stevejuonBellator London 2: “MVP. Anderson” airs TODAY (Nov. 23, 2019) from SSE Arena in London, England via Paramount Network. A Welterweight main event will see Michael “Venom” Page (15-1) face off with Giovanni Melillo (13-4).
Bellator London 2’s main card will start at 5 p.m. ET on Channel 5 (UK) and the Bellator mobile app, with “prelims” action at 11:30 a.m. ET also on the mobile app. MMAmania.com will deliver results and play-by-play for the top ten fights.
Many readers check in before, during and after the fights to share their thoughts on all of the action. Feel free to leave a comment about the bouts and chat with all the other Maniacs during the show -- it’s always a lot of fun!
BELLATOR LONDON 2 QUICK RESULTS:
Michael Page vs. Giovanni Melillo —
Fabian Edwards vs. Michael Shipman —
Terry Brazier vs. Soren Bak —
Charlie Ward vs. Pietro Penini —
Denise Kielholtz vs. Sabriye Sengul —
Kent Kauppinen vs. Andy Manzolo —
George Tokkos vs. Kevin Fryer —
Charlie Leary vs. Tim Wilde —
Damian Frankiewicz vs. Aiden Lee —
Sam Sicilia vs. Robert Whiteford —
Alfie Davis vs. Alessandro Botti — preliminary bout.
Walter Gahadza vs. Lewis Long — preliminary bout.
Tommy Green vs. Akonne Wanliss — preliminary bout.
Shane Campbell vs. Raphael Uchegbu — preliminary bout.
Chris Bungard vs. Benjamin Brander — preliminary bout.
Nathan Rose vs. Harry Hardwick — preliminary bout.
Jeremy Petley vs. Tom Mearns — preliminary bout.
Charlotte McIntyre vs. Josie Blaber — preliminary bout.
BELLATOR LONDON 2 PLAY-BY-PLAY:
Michael Page vs. Derek Anderson
Round 1:
Round 2:
Round 3:
Final result: To be determined.
Fabien Edwards vs. Michael Shipman
Round 1:
Round 2:
Round 3:
Final result: To be determined.
Terry Brazier vs. Soren Bak
Round 1:
Round 2:
Round 3:
Final result: To be determined.
Charlie Ward vs. Pietro Penini
Round 1:
Round 2:
Round 3:
Final result: To be determined.
Denise Kielholtz vs. Sabriye Sengul
Round 1:
Round 2:
Round 3:
Final result: To be determined.
Kent Kauppinen vs. Andy Manzolo
Round 1:
Round 2:
Round 3:
Final result: To be determined.
George Tokkos vs. Kevin Fryer
Round 1:
Round 2:
Round 3:
Final result: To be determined.
Charlie Leary vs. Tim Wilde
Round 1:
Round 2:
Round 3:
Final result: To be determined.
Damian Frankiewicz vs. Aiden Lee
Round 1:
Round 2:
Round 3:
Final result: To be determined.
Sam Sicilia vs. Robert Whiteford
Round 1:
Round 2:
Round 3:
Final result: To be determined.


Cost of Liquid H2 at Destination Harbor (USD/Kg in 2030)
Supply & Demand
Projections
By 2050, 18% of the world energy demand is expected to be supplied by hydrogen. Hydrogen will be transported through various vectors adapted to different applications such as energy generation, transportation, chemical, etc.


{{inject 'passwordRequirements' settings.password_requirements}} {{#partial "page"}} {{> components/common/breadcrumbs breadcrumbs=breadcrumbs}}
Already have an account? Log in


Get some random advice from Disconnect.
The default prefix is
!
To find a guilds prefix mention
@Disconnect#2622
Command Example:
!help
(Please do not include these when typing commands)
[]
- Optional paramater
<>
- Required parameter
< thing1 || thing2 >
- Select an option inside
Get some random advice from Disconnect.
Flip a coin. Will it land on heads? or tails?
coin-flip
Want to hear a punny dad joke? I got a few you might like!
dad-joke
dad
Fun Fact: Did you know: it is illegal to eat oranges while bathing in California!

Rock! Paper! Scissors! Says..! SHOOT!
rock-paper-scissors [rock || paper || scissors]
rock-paper-scissors rock
r-p-s
Roll a pair of dice and get your results.
roll-dice
roll
1/6 Chance to survive? Will you spin the barrel?
russian-roulette
What do you think about in the shower?
shower-thought
shower
Get three in a row to win!
What does the 8-ball predict?
8-ball < question >
Oh, Magic 8-ball!
Resume a paused track.
Pause the current track.
Play a song via a link or name. Currently supporting: YouTube, Spotify, Soundcloud, and Discord MP3's
play < song url || name >
play Martin Garrix Animals
p
Play a playlsit via a link or name. Currently supporting: Youtube and Spotify
play-playlist < playlist url || name >
play-playlist EDM
pp
Skip the rest of the current song.
Loop the queue.
Check the current song and the next 10 playing.
Create your own minecraft achievements!
achievement < text >
achievement Using Disconnect
mc
minecraft
minecraft-achievement
Get a random picture and fact about an animal (Currently supporting only Koalas, Panda, and Birds)
Get a random picture and fact of a cat.
Get a random picture and fact of a dog.
Get a random picture of anime food/ coffee.
Get a random picture and fact of a fox.
 But why use the bot when you're already here?
This command makes youw text owo-ified ;;w;;
owoify < text >
owoify This text is not owoified... yet!
owoify-text
This command makes your text the wrong way around!
reverse < text >
reverse !dexif eb ot sdeen txet sihT
reverse-text
This command fixes your sentences. They Yoda way!
yodish < text >
yodish Yoda is the grand master. Yes.
yoda
Ban a user from your server!
ban < member >
ban @Mee6#4876
Ban Members
kick a user from your server!
kick < member >
kick @Mee6#4876
Kick Members
Purge/ delete a group of messages! (max of 100 messages)
purge < amount >
purge 100
Manage Messages
clear
bulk-delete
Change your guilds prefix.
set-prefix < prefix >
prefix ?
 Like Invite Disconnect or Join the Disconnect Support Server!
Search YouTube for a YouTube channel and get it's info.
Usage:
Example:
Aliases:
Search Twitter for a Twitter account and get it's info.
Usage:
Example:
Aliases:


Isolation layer for writing long term GUI code.
| BAssert | This class holds static routines accessed by assertion macros. |
| BFile | Binary file object. |
| Bevel | Drawing tool for beveled effects, primarily buttons. |
| Brush | Drawing object for lines and filled areas. |
| Button | This is a basic button Figure. |
| Canvas | The canvas is a drawing surface upon which drawing tools can operate. |
| Context | |
| Custom | Abstract class for user customization parameters. |
| CustomFile | User customization parameters stored in a file or files. |
| Directory | A directory object acts like a forward iterator over a list of FileNames. |
| DisplayHand | This is an INTERNAL handle class for the connection to the display/keyboard/mouse. |
| Event | The Event class communicate information from the Windowing system to the BW framework code. |
| Figure | The Figure abstract base class defines an object that can draw itself on demand and that may accept user input (mouse and/or keyboard). |
| FileName | Represents a filename in the host OS. |
| Focus | This is a mix-in class for Figures that indicates that the Figure accepts keyboard input and/or it can be the input focus for the application. |
| FontMetric | Represents a Font specialized for a particular device. |
| Frame | |
| LineTool | Base class for line Drawing objects. |
| LogStream | Output stream for event logging. |
| Main | Indicates that Figure should be shown on startup as the applications main Figure. |
| Mouse | This is a mix-in class for Figures that indicates that the Figure wants notification of when the mouse is over the Figure and mouse clicks within the figure. |
| Parent | Mix-in class for Parent Figures. |
| Pen | Drawing object for narrow lines with solid colours. |
| Press | Drawing object for text. |
| Process | Represents the current process. |
| Scene | Represents the display. |
| Size | This is a mix-in class for Figures that indicates that the Figure wants notification of size and location changes or wants to request size and location changes. |
| String | Represents a null terminated string. |
| Tool | Base class for Drawing tool objects. |
| UString | Represents a null terminated unicode string. |
| html | Ostream manipulators for writing HTML files. |
| TheApp() | This routine returns a reference to a customization object for customizations independent of the user and the installation site, but dependent on the locale (language and country/territory) and the Application. |
Custom& TheApp()
This routine returns a reference to a customization object for customizations independent of the user and the installation site, but dependent on the locale (language and country/territory) and the Application.
Both the internal and external data is organized into default data, overiden by language specific data, overiden by territory specific data for that language.
BW assumes the locale is made up of Language, Territory, and Charset fields.
It assumes
When reading customization files, the value with longest matching locale
will be used. For example, with the file,
foo=1
foo[en]=2
foo[en_US]=3
foo[en_US.iso-8859-1]=4
Foo will have the one of the following values:
Locale foo
====== ===
"C" 1
fr_FR 1
en_CA 2
en_US.utf8 3
Note that the default locale is probably not "". "C" and "POSIX" are
more likely.


Scores and Schedule
Wednesday's Games
NHL
Ottawa 2 Montreal 1 (OT)
N.Y. Rangers 4 Washington 1
---
AHL
Syracuse 3 Hartford 1
Binghamton 5 Utica 4 (OT)
Grand Rapids 4 San Antonio 3
Manitoba 2 Belleville 1
Toronto 2 Laval 1 (OT)
Lehigh Valley 3 Charlotte 2
Tucson 8 San Jose 2
---
NBA
Philadelphia 109 New York 104
Washington 138 San Antonio 132
Brooklyn 101 Charlotte 91
Dallas 142 Golden State 94
Miami 124 Cleveland 100
Milwaukee 135 Atlanta 127
Toronto 113 Orlando 97
Chicago 109 Detroit 89
Utah 103 Minnesota 95
Denver 105 Houston 95
L.A. Clippers 107 Boston 104 (OT)
---
Thursday's Games
(All times Eastern)
NHL
Buffalo at Boston, 7 p.m.
Detroit at Columbus, 7 p.m.
Pittsburgh at N.Y. Islanders, 7 p.m.
Philadelphia at Carolina, 7 p.m.
Anaheim at Florida, 7 p.m.
Vancouver at Nashville, 8 p.m.
Calgary at St. Louis, 8 p.m.
Colorado at Minnesota, 8 p.m.
Tampa Bay at Chicago, 8:30 p.m.
Winnipeg at Dallas, 8:30 p.m.
Toronto at Arizona, 9 p.m.
San Jose at Vegas, 10 p.m.
Edmonton at Los Angeles, 10:30 p.m.
---
AHL
Stockton at Bakersfield, 1:30 p.m.
Chicago at Cleveland, 7 p.m.
---
NBA
Portland at Milwaukee, 8 p.m.
New Orleans at Phoenix, 10:30 p.m.
---
NFL
Indianapolis at Houston, 8:20 p.m.
---


Jennifer Main
Home
1(714)536-7537
Contact
Dance of Passion
At This Moment
Up to Something
Life is Good
The One
Forever
711 Pacific Coast Hwy #305, Huntington Beach, CA 92648


#| Base class for Red methods unit class Red::Class; #| Return a instance of Red::Class method instance(::?CLASS:U: --> ::?CLASS:D) { $ //= self.bless } method new {!!!} has Supplier $!supplier .= new; #| Supply that emit Red events has Supply $.events = $!supplier.Supply; #| Register a new supply to send events method register-supply(Supply $_) { .tap: { $!supplier.emit: $_ } }


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.brightcove.commons.misc.comparison.SafeCompare
public class SafeCompare
Provides mechanisms to compare two objects, guarding against the chance that one or both might be null
| Constructor Summary | |
|---|---|
SafeCompare()
|
| Method Summary | ||
|---|---|---|
static
|
equals(java.util.List<T> a,
java.util.List<T> b)
Compares two Lists of generic type to each other, guarding against the chance that one or both might be null. |
|
static
|
equals(java.util.List<T> a,
java.util.List<T> b,
java.util.Comparator<T> comparator)
Compares two Lists of generic type to each other, guarding against the chance that one or both might be null. |
|
static
|
equals(T a,
T b)
Compares two objects to each other, guarding against the chance that one or both might be null. |
|
static
|
equals(T a,
T b,
java.util.Comparator<T> comparator)
Compares two generic objects to each other, guarding against the chance that one or both might be null. |
|
static SafeComparisonResult |
equalsIgnoreCase(java.lang.String a,
java.lang.String b)
Compares two String objects to each other, guarding against the chance that one or both might be null, and ignoring case. |
|
static
|
nullCompare(T a,
T b)
Compares two objects to see if one or both are null or not |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SafeCompare()
| Method Detail |
|---|
public static <T> SafeComparisonResult equals(T a, T b)
Compares two objects to each other, guarding against the chance that one or both might be null.
a
- First object to compareb
- Second object to compare
public static SafeComparisonResult equalsIgnoreCase(java.lang.String a, java.lang.String b)
Compares two String objects to each other, guarding against the chance that one or both might be null, and ignoring case.
a
- First object to compareb
- Second object to compare
public static <T> SafeComparisonResult equals(T a, T b, java.util.Comparator<T> comparator)
Compares two generic objects to each other, guarding against the chance that one or both might be null.
a
- First object to compareb
- Second object to comparecomparator
- Object to determine object equality in of objects in the two lists
public static <T> SafeComparisonResult equals(java.util.List<T> a, java.util.List<T> b)
Compares two Lists of generic type to each other, guarding against the chance that one or both might be null.
T
- Type of objects in each lista
- First object to compareb
- Second object to compare
public static <T> SafeComparisonResult equals(java.util.List<T> a, java.util.List<T> b, java.util.Comparator<T> comparator)
Compares two Lists of generic type to each other, guarding against the chance that one or both might be null.
T
- Type of objects in each lista
- First object to compareb
- Second object to comparecomparator
- Object to determine object equality in of objects in the two lists
public static <T> SafeComparisonResult nullCompare(T a, T b)
Compares two objects to see if one or both are null or not
T
- Type of object to comparea
- First object to compareb
- Second object to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


--- title: STAT 385 Learning Progress author: Rahul Jonnalagadda date: '2020-03-08' slug: stat-385-learning-progress categories: - R - STAT - Learning - School tags: - R Markdown - R - STAT 385 description: 'A post about my journey in R and STAT 385' ---
I signed up for STAT 385 as it was a requirement for my major. Before signing up for this class, I had found out that this class taught R, which made me pretty excited to take it. As an aspiring data analyst and someone with decent python exposure, I was looking forward to learning a new programming language that was mainly used to analyze data.
The class started with some basics of R, which is an easy topic if you’ve experience with other languages. Since I knew Java and Python, the first week of class was a breeze, as it probably was for most people. We started out with some basic coding. The code below just reads and stores a CSV file, and we use the data from the file to help form our roulette function, which just simulates a round of roulette -
wheel <- read.csv("https://nkha149.github.io/stat385-sp2020/files/data/roulette.csv")
roulette <- function(bet = 14) {
win_num <- sample(x = 1:37, size = 1)
wheel[win_num, 1] == bet
}
We moved on from learning about variables, to more complex data structures, like data frames and matrices. We also explored plotting different tyoes of graphs and adding features to them. Moreover, we covered different types of loops, computer speed with code(vectorized code is much more efficient!), learning more about github, R markdown and blogdown. Here is an example of a vectorized function that prints out names, from a list of given names, that are longer than 8 characters -
long_names_vec <- function(names) {
return(names[nchar(names) >= 8])
}
Finally, with the help of all of those concepts, I am able to create a website and publish it. Hope you enjoyed my learning journey in this course so far and stay tuned!
I went from doing this -
print("Hello World")
## [1] "Hello World"
to this -
# function that simulates sample means and variance from a poisson distribution
# for various sample sizes and true lambdas
sim_mean_var = function(sample_size = 50, true_lambda = 2) {
sim_sample = rpois(n = sample_size, lambda = true_lambda)
c(mean(sim_sample), var(sim_sample))
}
# generate sample means and variances
set.seed(42)
results = replicate(10000, sim_mean_var())
sample_means = results[1, ]
sample_variances = results[2, ]


[Example] Export SVG (Client side)
Demonstating: rendering a map with the ability to export the map as SVG without using a backend.
Open in a new window
View source code


---
title: Button
layout: layout-docs
category: General
icon: button
---
Overview
Buttons allow users to take actions, and make choices, with a single tap.
Both <button> elements and <a> anchor
elements can be styled as buttons. While their behaviours may be similar,
they mean different things semantically and have different
accessibility considerations.
Types
{%- highlight html -%}
{%- endhighlight -%}
Additional Information
In the examples below, you can find references on how to group buttons,
insert icons, attach controls and style text links.
You can insert icons from our library on any part of a button.
{%- highlight html -%}
{%- endhighlight -%}
You can group buttons together on a single line using the
sgds-buttons modifier on the container.
{%- highlight html -%}
{%- endhighlight -%}
You can attach controls together with the has-addons modifier.
{%- highlight html -%}
{%- endhighlight -%}
You can use the secondary button for reducing visual prominence.
It should not be used as a call to action button.
{%- highlight html -%}
{%- endhighlight -%}
Style
Modifier
Description
is-fullwidth
Button with width that span the full width of a parent
is-outlined
Display button in border only
is-rounded
Display button with rounded edges
is-static
Display as a non-interactive button.
disabled
Use as an attribute for disable state
When to use
Buttons should be used for:
Important actions that you want your users to take.
For example, send messages or save drafts.
Button labels should be clear and specific to the users.
Secondary buttons should be used to indicate less common actions.
They should also have less prominence as compared to primary buttons.
Buttons should not be used for:
Linking pages in a site.
You should consider using regular texts links instead.


Bollocks to Brexit campaigner 'made to remove bollocks sign by police'
Two anti-Brexit campaigners claim they were pulled over by police and told the remove a slogan from their car.
The side of the car had been printed with the words ‘Bollocks to Brexit’, and officers allegedly took issue with the swear word.
Passenger Peter Cook said he and a friend were ‘minding their own business’ on the M25 when they were signalled to pull over.
An officer he described as appearing angry told him the sign was a public order offence, Mr Cook told the New European.
In a video he tweeted from the scene, he said: ‘I think he’s just trying to trump up a charge … he’s probably a Brexit person. This is absolutely shocking.
‘Here we have the long arm of the law being used to shut down any form of protest.’
Advertisement Advertisement
He said the car was stopped around 2.30pm yesterday on the motorway near Brentwood.
Initially, he claimed he was asked to remove the slogan on the hard shoulder but was allowed to drive into a services to remove it.
A spokesman for Essex Police said: ‘We are trying to identify the officer from the video footage to establish the circumstances around what happened.
‘In the meantime, we would encourage the driver to get in touch with us.’
In 1977, a judge ruled ‘bollocks’ was not obscene after a record store manager was prosecuted for displaying the record Never Mind The bollocks, Here’s The Sex Pistols.
Got a story for Metro.co.uk?
Get in touch with our news team by emailing us at<EMAIL_ADDRESS>For more stories like this, check our news page.


6
(Place your .
scripts in
%progdir%
Scripts\
)
Clear log before execution
6
Run
Clear
Help
Save
User Scripts


From:Gilbert Steve To:Geaccone Tracy Sent:2017-01-11T04:35:35.0000000Z Subject:FW: Trailblazer Plan Revenues - 2002/2003
fyi
-----Original Message-----
From: McGowan, Mike W.
Sent: Wednesday, August 15, 2001 3:00 PM
To: Gilbert, Steve
Cc: Cohrs, Allen; Neubauer, Dave; Kleb, Steve
Subject: Trailblazer Plan Revenues - 2002/2003
Attached is a spreadsheet which depicts the Trailblazer revenues for years 2002-2003. The $6.6 million revenue level for 2002 compares to the following:
Year 2001 Plan : $3.7 Million
2nd CE: $4.9 Million (includes a $1 million upside booked in 1st quarter due to an imbalance cashout)
Year 2002 Plan (last year): $4.8 million
If you have any questions or need additional information, please let me know.
Mike McGowan
***********
EDRM Enron Email Data Set has been produced in EML, PST and NSF format by ZL Technologies, Inc. This Data Set is licensed under a Creative Commons Attribution 3.0 United States License <http://creativecommons.org/licenses/by/3.0/us/> . To provide attribution, please cite to "ZL Technologies, Inc. (http://www.zlti.com)."
***********
California


-
$1795
favorite this post
{{ Beacon Hill Studio - Heat and Hot water Included }}
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1950
favorite this post
Union/Inman Sq, no fee! Super responsive/live in owner
$1950
2br -
(52 Medford Street)
pic
map
hide this posting
restore
restore this posting
-
$1800
favorite this post
Spacious one bedroom apartment.
$1800
1br -
800ft2 -
(Kendall Square.)
pic
map
hide this posting
restore
restore this posting
-
$2095
favorite this post
No BroKer Fee! Amazing Studio with Great Views!
$2095
637ft2 -
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
Amazing Location, no fee! Union Square / Inman Square / Target
$2100
3br -
(52 Medford Street)
pic
map
hide this posting
restore
restore this posting
-
$1850
favorite this post
No Fee On This Huge Studio On Beacon Hill - Photos
$1850
(River Street Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1850
favorite this post
Bigger Then Most Studios On Beacon Hill *** No Fee ***
$1850
(Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$2050
favorite this post
AWESOME! NO FEE 2 BEDROOM, AMAZING LOCATION, AVAILABLE JAN
$2050
2br -
(Allston)
pic
map
hide this posting
restore
restore this posting
-
$2050
favorite this post
AWESOME! NO FEE 2 BEDROOM, AMAZING LOCATION, AVAILABLE JAN
$2050
2br -
(Allston)
pic
map
hide this posting
restore
restore this posting
-
$2050
favorite this post
AWESOME! NO FEE 2 BEDROOM, AMAZING LOCATION, AVAILABLE JAN
$2050
2br -
(Allston)
pic
map
hide this posting
restore
restore this posting
-
$1750
favorite this post
NO FEE NOW! Brand New Gut Ren W/New Kitchen/Dishwasher!!
$1750
(Brighton)
pic
map
hide this posting
restore
restore this posting
-
$1850
favorite this post
🔷 New Listing On Beacon Hill Photos Very Big Unit 🔷
$1850
(No Fee)
pic
map
hide this posting
restore
restore this posting
-
$1850
favorite this post
Great Location On Beacon Hill Huge Studio With No Fees
$1850
(River Street Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
{ { Beacon Hill Studio - Heat and Hot water Included } }
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
*• Sharp Studio only a 3 min walk to Charles/MGH •*
$1795
(Beacon Hill, Boston)
pic
map
hide this posting
restore
restore this posting
-
$1850
favorite this post
Huge Unit On Beacon Hill Heat / Hot Water Included Available December
$1850
(Beacon Hill Boston)
pic
map
hide this posting
restore
restore this posting
-
$1850
favorite this post
Bigger Then Most Studios On Beacon Hill *** No Fee *** River Street **
$1850
(Boston Near Boston Common)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
near MGH / Downtown Boston, great find with NO BROKER FEE special, NOV
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
Beacon Hill ---- NO FEE TO TENANT ---- Awesome Rental ---- Lucky Find
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
HOT PROPERTY - Killer Location right in BEACO HILL - Heat/hw included
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1700
favorite this post
Jan.1.Furnished studio.Harv/MIT/MGH/Longwood post-doc house.Util+ITinc
$1700
(Cambridge/Central Sq)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
++++ Beacon Hill Studio {3 Min to RED LINE @Charles/MGH} No Fee! ++++
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1650
favorite this post
Nov.7.Furnished studio.Longwood post-doc and research house.Util+ITinc
$1650
(Cambridge/CtrlSq-MIT-Harv-Longw-MGH)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
Beacon Hill Studio - Hrdwood flrs - Heat & Hot water Inc - 3 Mins to T
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1650
favorite this post
TIRED OF GOING TO THE LAUNDROMAT??---TODAY IS YOUR LUCKY DAY!!
$1650
1br -
(EASTCAMBRIDGE)
pic
map
hide this posting
restore
restore this posting
-
$1650
favorite this post
Sunny Top Floor Apartment!!
$1650
1br -
(Cambridge)
pic
map
hide this posting
restore
restore this posting
-
favorite this post
Flexible Lease Available February
$1950
1br -
450ft2 -
(Boston)
map
hide this posting
restore
restore this posting
-
$1749
favorite this post
Third Square Apartment Utilities inclusive
$1749
1br -
(285 3rd St, Apt. 521 Cambridge, MA)
pic
map
hide this posting
restore
restore this posting
-
$2050
favorite this post
LUXURY - 1 BEDROOM FULLY FURNISHED UTILITIES INCLUDED!!! $2050
$2050
1br -
611ft2 -
(LECHMERE - CAMBRIDGE)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
Beacon Hill Studio - Hrdwood flrs - Heat & Hot water Inc - 3 Mins to T
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
(Beacon Hill Studio - Heat and Hot water Included )
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1600
favorite this post
Somerville, Near Inman 1BR, NO FEE
$1600
1br -
(23 Concord Ave)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
Charming Beacon Hill Studio - Heat and Hot water Included - 3 min to T
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
Charming Beacon Hill Studio - Heat and Hot water Included - 3 min to T
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
East Cambridge - Studio - Rent Concession, Walk to Green Line
$2100
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
[( [ Beacon Hill Studio - Heat and Hot water Included ] )]
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
E Cambridge - Studio - FREE Rent Special for a limited time
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
E Cambridge - Studio - FREE Rent Special for a limited time
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
East Cambridge - Studio - Rent Concession, Walk to Green Line
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
E Cambridge - Studio - Great Space, Near Train, Rent Special!
$2100
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
Great Studio in Beacon Hill // No Fee // Heat Included!!!
$1795
(Beacon Hill, Boston)
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
Cambridge - Studio - Free Rent! Easy Downtown and Train Access
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
E Cambridge - Studio - FREE Rent Special for a limited time
$2100
pic
map
hide this posting
restore
restore this posting
-
favorite this post
Fully furnished, sunny basement studio
$1400
1br -
(Kendall Sq.)
map
hide this posting
restore
restore this posting
-
$1416
favorite this post
Beacon Hill - Sublet - 1 Bdrm in a 3 Bdrm
$1416
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
ROOF DECK 11/15 Modern Studio Seconds To MGH Laundry in Unit NO FEE
$2100
496ft2 -
(West End)
pic
map
hide this posting
restore
restore this posting
-
favorite this post
Short term Lease available for Feb Move In
$1950
1br -
400ft2 -
(Beacon Hill)
map
hide this posting
restore
restore this posting
-
$1950
favorite this post
Location Location - Steps to MGH, Beacon Hill, North End, Faneuil Hall
$1950
637ft2 -
(plus... Charles River, Govt Ctr, Boston Common, Back Bay)
pic
map
hide this posting
restore
restore this posting
-
$1700
favorite this post
Jan1.Furnished studio.Harv/MIT/MGH/Longwood post-doc house.Util+ITincl
$1700
(Cambridge/CtrlSq-MIT-Harv-Longw-MGH)
pic
map
hide this posting
restore
restore this posting
-
$1800
favorite this post
NO FEE! UNION SQUARE 1BDRM 12/1 OR 11/15
$1800
1br -
(somerville)
pic
map
hide this posting
restore
restore this posting
-
$2050
favorite this post
River Views, Professionally Managed, Come Visit Today
$2050
1br -
647ft2 -
(Cambridge)
pic
map
hide this posting
restore
restore this posting
-
favorite this post
Charming, Sunny, and Bright 2 Bedroom
$2100
2br -
(Harvard street Cambridge)
map
hide this posting
restore
restore this posting
-
favorite this post
Charming, Sunny, and Bright 2 Bedroom
$2100
2br -
(Harvard street Cambridge)
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
Cambridge: Studio - FREE Rent Offered Now, Walk to Train
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
Cambridge: Studio - Rent Special, Walk to Green and Orange Line
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
Cambridge: Studio - Rent Concession, Basketball Court, Walk to Train
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
Cambridge: Studio - FREE Rent Special, Laundry In Unit
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
Cambridge: Studio - Rent Special, Laundry In Unit, Walk to Trains
$2100
pic
map
hide this posting
restore
restore this posting
-
$2100
favorite this post
Controlled Access Entry, Comfort and Convenience, Come Look and Lease
$2100
1br -
647ft2 -
(Cambridge)
pic
map
hide this posting
restore
restore this posting
-
$1800
favorite this post
Spacious one bedroom apartment.
$1800
1br -
800ft2 -
(Kendall Square.)
pic
map
hide this posting
restore
restore this posting
-
$1795
favorite this post
3 mins to Charles/MGH Train Station | Heat + Hot Water included
$1795
(Boston \ Beacon Hill)
pic
map
hide this posting
restore
restore this posting


So this is my first post, of my first blog, of my first built-from-scratch-server. I originally built it up with Ghost, on my Rackspace virtual Ubuntu made from zero inspired by this awesome series of Wired articles.
Why get my hands “dirty” with Node.js, or scripts, or shells ? Just because it’s harder.
I loved Ghost, but because our website at Transactility is done in Rails, a few front end stuff we’ll be doing might involve Rails and Ruby, I decided to take a look at Jekyll and Octopress
It’s the way to learn about things and go back to my “hacker” (in the good sense), assembly language days of the Commodore 64. There are plenty of hosted solutions, Web based Blogspots, etc. but I liked the idea of installing everything from zero, be forced to use git more frequently, and feel a bit more of a hacker. Simple, concrete, just write in Markdown, type a few commands and publish it just by pushing to a git repo (I’m using Heroku)
I’ll keep my personal blog in Octopress for now, and will continue to develop a few apps and a site in Ruby/Rails (and Sinatra in one case), so thank you Bloc.io. I had an incredible learning experience with Bloc.io, and didn’t put (yet) live any of my Rails projects nor sites as my primary objective was to get up to speed with modern frameworks and languages and to be capable of having a better ideas exchange with software developers.
I hope my future business interactions all work under the motto:
Harder to learn, simpler to execute.
Hope I can teach my kids that you can do things just because they are hard:
And since I like bipartisanship ;), also remember this:
And to all my uruguayan friends, I say this:


Hi!!
My name is Luiz Henrique Feltes (aka snaketl) and I'm a Software Developer from Brazil!
I'm 31 years old (and counting). I've MSc in Applied Computing and BSc in Computer Science.
Currently I'm working as Java Backend Developer (since 2006) with agile methods (Scrum/XP).
I also write Frontend code (HTML, CSS and JS) and some stuff in COBOL (Micro Focus and isCOBOL).
I work with SQL and NoSQL databases like MySQL, Oracle, C-tree, MongoDB and Redis.
You can find me here:


Across: 1. Monk in confinement is into quiet time (8) 5. Cures need to be arranged before world finally doomed (6) 10,3dn. New policy took root, just lacking one key 6 12 treaty (5 8) 11. Radical claims destruction of material in labs (9) 12. see 6 down 13. A terrible crime: a rich nation failing to embrace 10 3 (7) 14. Maligned dad home, but moving (10) 16. Direction of Earth ... one way? (4) 18. Need change, as 16 from here is the "land of nod"! (4) 20,25dn. Suffering eases & hunger goes as 11 helping industry (but upsetting 23 28) (10 5) 23. Conditions of taking social leadership: smile, act fake (7) 24. Battle with dynasty heating up! (7) 26. Aim expressed in two points? We need less of these! (9) 27. No ecstasy-inspired revolutionary fools? (5) 28. Organisation of messy arrangement taking time (6) 29. Heartlessly strange remarks, as those living in such spots are threatend by global 24 (8) Down: 1. Such a gesture may be window dressing, one creating fantasy but no beginnings of limiting industry (5) 2. Taken in by ad, do pet rehabilitation (7) 3. see 10 across 4. Dismisses reports of instrument being too modern for much of the classical set? (5) 6,12ac. Global organisation (being "organised" not insinuated!) (6 7) 7. How mainstay mostly working? (7) 8. Island met with disaster as strip down (9) 9. Compact language often becoming quite verbose? (8) 14. Reef scientist complains about these, and grandstands (9) 15. Port does badly and bombs (8) 17. Cads hear about capers that should have involved keeping quiet (8) 19. Outliers Xi "cures" (7) 21. University area of study long missing such a theory, explaining a lot! (7) 22. Genuine will - as rescues mama Earth - ends up being bother! (6) 24. It is often dumped as "wet" matter (5) 25. see 20 across


Wouldn't it be nice if you get to learn something new aside of competing on the knowledge you have already gained.
So here we bring a whole new set of Worhshops to bring you parallel to the evolving technology.
3D Printing is the next level of innovation, which is set apart to bridge the gap between different fields of education. This is not a paper printing technology, but a technique to print out ideas and designs into models. One of the greatest inventions of the 21st century is a must in training for all the departments of engineering, architecture, medical, arts etc. marking its entry into the domestic lifestyle. Some bold features and benefits of the workshop are:
==> Being a 100% practical training cum workshop, each participant will be able to print out his design into models, which will be given away as souvenirs at the end.
==> The training includes both on software and hardware parts.
==> Career orientation in the 3D Printing World for the participants.
Being a part of this workshop provides you the power to explore the hidden ideas, will give you the wings to ride the new era of innovations marked by technological evolution and sustainability. The idea is simply to bring out your innovation from paper to reality. Every era is marked by the presence of a new technology which boosts up the life style of the people. 1990s brought mobile technology in the market, 2000 saw the Internet boom and this era will be marked by the 3D Printing Technology, which will be hard to be replaced!! Don’t miss the opportunity to be a part of the next generation, which is all set to stage for the first time in Gujarat.
Participants are required to bring Laptop and Mouse
Click Here For SessionWise Detail...
Learn how we can Hack someone’s WhatsApp account and get their Chat Logs Automatically !!
WhatsHack is all about WhatsApp Hacking and Security workshop. In this workshop we are going to cover some Biggest WhatsApp Vulnerability and Hacking Techniques(found by i3indya Cyber Team). The main aim of this workshop is to give Technocrats a deep knowledge of whatsapp hacking and how to protect your whatsapp against hazardous effects.
==> Learn how your Whatsapp chat and activity can be hacked within seconds and how you can secure yourself from such attacks.
==> Live demo how attacker delete your whatsapp chat remotely.
==> Learn how attacker Install backdoor in your whatsapp by sending image or video in whatsapp chat and security part.
==> Whatsapp chat data recovery within seconds.
==> Tracking and Monitoring whatsapp activity of my phone.
==> Lean how we configure multiple whatsapp number in phone etc.
Note : This workshop is only for Security purpose and NOT for Hacking purpose.
Prerequisites : Participants must have a phone with WhatsApp installed and 3G connectivity activated in it.
Click Here For SessionWise Detail...
Cloud computing is a recently evolved computing terminology or metaphor based on utility and consumption of computing resources. Cloud computing involves deploying groups of remote servers and software networked that allow centralized data storage and online access to computer services or resources. Clouds can be classified as public, private or hybrid.
The criticisms about it are mainly focused on its social implications. This happens when the owner of the remote servers is a person or organization other than the user, as their interests may point in different directions, for example, the user may wish that his or her information is kept private, but the owner of the remote servers may want to take advantage of it for their own business.
The Internet of Things (IoT) is the interconnection of uniquely identifiable embedded computing devices within the existing Internet infrastructure. Typically, IoT is expected to offer advanced connectivity of devices, systems, and services that goes beyond machine-to-machine communications (M2M) and covers a variety of protocols, domains, and applications. The interconnection of these embedded devices (including smart objects), is expected to usher in automation in nearly all fields, while also enabling advanced applications like a Smart Grid.
Click Here For SessionWise Detail...
A quadcopter, also called a quadrotor helicopter, quadrotor, is a multirotor helicopter that is lifted and propelled by four rotors. Quadcopters are classified as rotorcraft, as opposed to fixed-wing aircraft, because their lift is generated by a set of rotors (vertically oriented propellers).
Workshop is Organised by RoboTryst-2015, which is a National Robotics Championship and Workshop series Jointed by TRYST-2015 IIT-Delhi and Robosapiens Technologies Pvt. Ltd., will also be organising this year Prelims Rounds of RoboTryst-2015 at Selective Zonal Centers (Nirma University) all across the India. At the end a fine Quad Copter may become yours if you have interest to get it!!
Click Here For SessionWise Detail...
Click Here For Kit Detail
The design of tall buildings essentially involves a conceptual design, approximate analysis, preliminary design and optimization, to safely carry gravity and lateral loads. The design criteria are strength, serviceability, stability and human comfort. To satisfy these needs a civil engineer must attain this workshop.
Click Here For SessionWise Detail...
Nowadays Chemical Engineers needs to be aware of Computational Tools to design, analyze and optimize chemical processes. Hence a blend of knowledge of fundamentals of chemical engineering and use of computational tools is very much desired in a Chemical Engineer. This Workshop is aimed to make students aware of various available computational tools and to give hands on.
Heat is defined in physics as the transfer of thermal energy across a well-defined boundary around a thermodynamic system. In engineering contexts, the term heat is taken as synonymous to thermal energy. Thermal engineering concerns the generation, use, conversion, and exchange of heat transfer. As such, heat transfer is involved in almost every sector of the economy.
As Heat is the most important parameter in any chemical or mechanical process. In this workshop, you will be taught to design heat exchanger (Most Imp thing for Mechanical and Chemical Engineer)
Creo is a family or suite of design software supporting product design for discrete manufacturers and is developed by PTC. The suite consists of apps, each delivering a distinct set of capabilities for a user role within product development. Creo runs on Microsoft Windows and provides apps for 2D design, 3D CAD parametric feature solid modeling, 3D direct modeling, Finite Element Analysis and simulation, schematic design, technical illustrations, and viewing and visualization.
In this workshop, the basic theory as well as modeling on CREO will be taught.
The early history of the automobile can be divided into a number of eras, based on the prevalent means of propulsion. Later periods were defined by trends in exterior styling, size, and utility preferences. In 1769 the first steam powered auto-mobile capable of human transportation was built by Nicolas-Joseph Cugnot. In 1807, François Isaac de Rivaz designed the first car powered by an internal combustion engine fuelled by hydrogen. In 1886 the first petrol or gasoline powered auto-mobile the Benz Patent-Motorwagen was invented by Karl Benz. At the turn of the 20th century electrically powered auto-mobiles appeared but only occupied a niche market until the turn of the 21st century.
It is an automobile workshop in which a car will be shown in the dismantled form and the working & necessity of every major component of a car and its innovations in it will be explained.
This workshop aims at giving hands-on on the microcontroller programming using embedded, PLC programming concepts to implement different Automation techniques that are used for supreme efficiency and productivity at various levels of different industries & home automation systems. This workshop will help you in understanding different automation technologies used from traditional to the cutting edge new technologies, where you will find different ways to automate different tasks/process we are going through/using in our day to day life.
Click Here For SessionWise Detail...
Design philosophies are fundamental guiding principles that dictate how a designer approaches his/her practice. The scope of debate is shrinking; it must expand. Consumerism is running uncontested; it must be challenged by other perspectives expressed, in part, through the visual languages and resources of design. The boundaries between art and design are blurred, largely due to a range of applications both for the term 'art' and the term 'design'.
This workshop here will make you learn and go through the complete designing process and will help you decide which one of Photoshop, Corel Draw and Maya, should you use according to the needs, requirements and applications, so that you use them efficiently.
This Workshop will subdivisionally have 3 Workshop
A major share of hand-held devices runs on the Android Operating System - which is open source and customizable. The Android Application Development Workshop provides participants technical training on the concepts and programming methodologies needed to develop applications for mobile devices. Participants will learn to use different android libraries. Instruction is aided with live projects which will allow students to grasp concepts of the complete mobile application development life-cycle.
As the digital marketing landscape continues to grow at a rapid pace, marketers are faced with new challenges and opportunities within this digital age. The Digital Marketing Course is an initiative designed to educate students in the area of Digital Marketing.
Students who wish to undertake the Google Online Marketing Challenge are encouraged to complete the Digital Marketing Course, as the skills learned in this course will help shape your advertising goals and strategy for the Google Online Marketing Challenge and learn how the actual AdSense and how other online strategies like keyword mapping and SEO work.
The session will be headed by an expert who is a part of the GBG (Google Business Group) and GDG( Google Developer's Group), Ahmedabad.
Google Cardboard is a fold-out cardboard smartphone mount that, when combined with lenses, a magnet, a piece of hook-and-loop fastener and a rubber band and held against the face, affords a virtual reality experience. A smartphone with stereoscopic display software fits into this device and the lenses allow a person to perceive the images as one single three-dimensional image. The headset is designed by Google, but there is no official manufacturer or vendor for the device. Instead, Google has the list of parts, schematics, and assembly instructions freely available on their website, recommending people assemble one themselves from readily available parts.
This Workshop is to have an hands-on experiment on this wonder.


@*
* Copyright 2023 HM Revenue & Customs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*@
@import config.FrontendAppConfig
@import models.CtEnrolment
@this(
main_template: main_template
)
@(appConfig: FrontendAppConfig, ctEnrolment: CtEnrolment, partialContent: Html)(serviceInfoContent: Html)(implicit request: Request[_], messages: Messages)
@sidebarLinks = {
@messages("subpage.payments_notice")


Convert Your Horsepower!
One day while driving, I noticed a bumper sticker on somebody's car with a joke about their horsepower. That got me thinking about how unusual horsepower is as a measurement for the power of an engine. That lead to wondering what would be even more unusual as a measurement. I came to the conclusion that I would really like to know the power of my engine in terms of Tyrannosaurus Rex power. And the horsepower converter was born.
Where horsepower for a specific conversion was not available I used a trap speed formula (weight * (velocity/234)^3) to estimate using weight and speed. For example, the Tyrannosaurus Rex has a weight of 17,990 pounds and had a speed of 18 miles per hour (both estimated, obviously) which gives us 8.1884387801548 horsepower.
This site was built by Tyler Walters. The code powering this website is open source, and available on GitHub: Horsepower Converter.


class UriGenerator
Generates a URI based on certain params.
Methods
| Uri |
make(array $_server, $includeQueryString = true)
Generates a StdUri from a superglobal $_SERVER array |
Details
at line 21
public Uri
make(array $_server, $includeQueryString = true)
Generates a StdUri from a superglobal $_SERVER array


Collection of Information
Our online and offline registration forms require users to give us contact information, including name and e-mail address. We also collect your telephone number, year in school, and other academic and non-academic information. We use this information to make a psychometric assessment of you and suggest suitable career options to you. We may also collect contact and other information from you if you:
(1) participate in one of our contests;
(2) order from us; (3) take part in one of our surveys;
(4) contact us; or (5) otherwise voluntarily submit information to us, including in our online communities.
Security
The Site taken certain physical, electronic, contractual and managerial steps to safeguard and secure your personal information. It is your responsibility to maintain the confidentiality of your Site account information, including your password, and you are responsible for all use of the Site accessed through it. You agree to notify us immediately of any unauthorized use of your account or any other actual or suspected breach of Site security.
Changes to this Privacy Statement
We may change this Privacy Statement from time to time. When we do, we will post the change(s) on the Site. If we change the statement in a material way, we will provide appropriate online notice to you.
Contact Us
You can find out contact details on the Contact page.


Enter a valid email
Password must be at least 6 characters.
Passwords must match
Please provide a first name.
Please provide a last name.


{%extends display.suMain%} {%block content%}
{%trans "Easily add time picker to your project"%}
{%trans "Read more info and example about clockpicker" %}


GameJoltDotNet
GameJoltDotNet is a GameJolt Game API client for the .NET
Framework
and can therefore be used by every .NET
language, like C#
, VB.NET
or F#
.
For best portability this library is based on .NET Standard 1.3 and can therefore be used on a wide variety of different platforms. The following platforms are supported:
| Framework | Version |
|---|---|
| .NET Standard | 1.3 |
| .NET Core | 1.0 |
| .NET Framework | 4.6 |
| Mono | 4.6 |
| Xamarin.iOS | 10.0 |
| Xamarin.Mac | 3.0 |
| Xamarin.Android | 7.0 |
| Universal Windows Platform | 10.0 |
GameJolt API Overview
| Service | Description |
|---|---|
| Datastore | Manipulate items in a cloud-based data storage. |
| Time | Get the server's time. |
| Scores | Manipulate scores on score tables. |
| Sessions | Set up sessions for your game. |
| Trophies | Manage trophies for your game. |
| Users | Access user-based features. |
| Friends | List a user's friends. |
This library is heavily based on the async/await mechanism of C# and can therefore be used without blocking the main thread. Furthermore it provides a convenience facade API, which internally uses the async/await API, but provides a simple, callback based API as a front end.
Example
First of all you have to create a new api instance:
var api = new GameJoltApi(gameId, privateKey);
Afterwards you can directly use the different GameJolt features.
// by using async/await:
var response = await api.Scores.FetchAsync();
if(response.Success) {
// response.Data contains the list of scores
}
// or by using the callback mechanism:
api.Scores.Fetch(callback: response => {
if(response.Success) {
// response.Data contains the list of scores
}
});
Some APIs require an authenticated user, because they set or get data for a certain user. The authentication can be done like so:
var auth = await api.Users.AuthAsync(userName, userToken);
if(auth.Success) {
api.Trophies.SetAchieved(auth.Data, trophyId);
}


Indigenous Australia: Where can we evangelise if we want to minimise the language barrier? (% Protestant [y-axis] vs % Competent English Speakers [x-axis])


Panel with Tabs
A layout panel may be created with tabs. It uses w2tabs object, therefore, you can use anything w2tabs support. There is no need to define a name of the tabs, because it will be overwritten with layout.name + '_tabs'. It will also add tabs.owner attribute that is a reference to the layout.
You can dynamically load content into the main panel; this is done so you can observe the overflow behavior of the panel (scrollbars).


Reports
for
or
while
statements whose bodies are guaranteed to execute at most once. While such statements could be written intentionally, they are usually a symptom of error.
Example:
for (int i in 0..<10) { return }


Google recently increased the size of the search box on the home page and search results. Am I the only one that thinks it looks clunky and amateurish?
--- layout: geek_page title: Blog Archive » “Super-sized” Google search box ---
Google recently increased the size of the search box on the home page and search results. Am I the only one that thinks it looks clunky and amateurish?
Trackbacks are closed.