If there was one area of R that was a bit lacking, it was the ability to visualize financial data with standard financial charting tools. By virtue of no other package implementing this, quantmod took up the call and took a shot at providing a solution.
What started with a single OHLC charting solution has grown into a highly configurable and dynamic charting facility as of version 0.3-4, with more coolness slated for 0.4-0 and beyond.
For now, let's take a look at what its currently in place:
Financial Charts in quantmod:
- The workhorse: chartSeries
- Meet the friends: barChart, candleChart, and lineChart
- Chart Arguments: what can you do?
- Voodoo: Technical Analysis with TTR and addTA
Most of the charting functionality is designed to be used interactively. The following examples should be very easy to replicate from the command line or your personal GUI choice. Running from a script requires a bit of extra care, but is now possible as well.
Let's get charting!
Introducing chartSeries
chartSeries is the main function doing all the work in quantmod. Courtesy of as.xts it can handle any object that is time-series like, meaning R objects of class xts, zoo, timeSeries, its, ts, irts, and more!By default any series that is.OHLC is charted as an OHLC series. There is a type argument which allows the user to decide on the style to be rendered: traditional bar-charts, candle-charts, and matchstick-charts -- thin candles ... get it :) -- as well as line charts.
The default choice ['auto'] lets the software decide, candles where they'd be
visible clearly, matchsticks if many points are being charted, and lines if the
series isn't of an OHLC nature. If you don't like to always specify the type
to override this behavior you are free to use the wrapper functions in the
next section, or make use of setDefaults from the wickedly cool and useful
Defaults package (available on CRAN).
The fact that I wrote it has nothing to do with my
endorsement :)
> getSymbols("GS") #Goldman OHLC from yahoo
[1] "GS"
> chartSeries(GS)
> # notice the automatic matchstick style
> # we'll change this in the next section
> # but for now it is fine.
>
The basic charting functionality tries to not stray too far from the
standard usage patterns in R, though you will not be able to use
any of the standard graphics tools for displaying charts. quantmod's
oh-so-wise author has tried to anticipate that need with special
functions to make up for this shortcoming.
A quick step back, to explain just what is happening behind the scenes within chartSeries may be in order though.
The charting is managed through a two step process. First, the data is examined and basic decisions on how to best draw the series is calculated. The result of this is an internal object - referred to as a chob (chart object).
This object is then passed to the main drawing function (not to be called directly) to be drawn to the screen. The purpose of the separation is to allow for more impressive dynamic-style chart additions, as well as modifications, to be as natural to accomplish as possible. When changes are made to the current chart - be it adding technical indicators, or changing original parameters, such as the style of chart - the stored chob object is simply altered and then redrawn without a lot of tedious user manipulation. The goal was to make it work without extra user effort - and to then end it just does.
Charting shortcuts - barChart, lineChart, and candleChart.
While chartSeries is the primary function called when drawing a chart in quantmod - it is by no means the only way to get something done. There are wrapper functions for each of the main types of charts presently available in quantmod.
Wrapper functions exist to make life a little easier. Bar style charts, both hlc and ohlc varieties are directly available with barChart, candlestick charting comes naturally through the candleChart wrapper function, and lines via the cryptically named - you guessed it - lineChart. There isn't much special about these functions beyond the obvious. In fact they are one liners that simply call chartSeries with suitably changed default args. But they make a nice addition to the stable.
> # first some high-low-close style bars, monochromatic theme
> barChart(GS,theme='white.mono',bar.type='hlc')
> # how about some candles, this time with color
> candleChart(GS,multi.col=TRUE,theme='white')
>
> # and now a line, with the default color scheme
> lineChart(GS,line.type='h',TA=NULL)
As you can see, there is quite a bit of flexibility as to the display of your information. What you may have also noticed is the different arguments to each of the calls. We'll now take a look at what some of them do.
Formal Arguments: Colors, subsetting, tick-marks.
The best place for complete information on what arguments the functions take is in the documentation. But for now we'll take a look at some of the common options you might change.
Probably the most important from a usability standpoint is the argument subset. This takes an xts/ISO8601 style time-based string and restricts the plot to the date/time range specified. This doesn't restrict the data available to the techinical analysis functions, only restricts the content drawn to the screen. For this reason it is most advantageous to use as much data as you have available, and then provide the chartSeries function with the subset which you would like to view. This subsetting is also avialable via a call to zoomChart.
An example, or three, should help clarify its usage.
> # the whole series
> chartSeries(GS)
Click on the chart to see it full size:
> # now - a little but of subsetting
> # (December '07 to the last observation in '08)
> candleChart(GS,subset='2007-12::2008')
Click on the chart to see it full size:
> # slightly different syntax - after the fact.
> # also changing the x-axis labeling
> candleChart(GS,theme='white', type='candles')
> reChart(major.ticks='months',subset='first 16 weeks')
Click on the chart to see it full size:
Three things of note on the last chart. First was the use of reChart to modify the original chart. This takes most arguments of the original charting calls, and allows for quick modifications to your charts. Be it changing color themes or subsetting - it comes in quite handy.
The second notable item is the use of the 'first' syntax inside of subset. This allows for a slightly more natural expression of what you may be after, and doesn't require you to know anything about the series dates or times.
The final item of note in that last image is the tick.marks argument. This is part of the original chartSeries function formals list, and it is used to modify the placement of labels within the chart. Often the automatically chosen spacing - driven by the xts function axTicksByTime does a good enough job - you may find it desirable to customize the output further. In this case we marked the major ticks with the months beginnings.
Technical Analysis and chartSeries
Updated and ready to go are some fantastic tools from the TTR package by Josh Ulrich, available on CRAN. It is now possible to simply add dozens of technical analysis tools to chart with nothing more than a simple command.
The current indicators from the TTR package, as well as a few originating in the quantmod package are:
| Indicator | TTR Name | quantmod Name |
|---|---|---|
| Welles Wilder's Directional Movement Indicator | ADX | addADX |
| Average True Range | ATR | addATR |
| Bollinger Bands | BBands | addBBands |
| Bollinger Band Width | N/A | addBBands |
| Bollinger %b | N/A | addBBands |
| Commodity Channel Index | CCI | addCCI |
| Chaiken Money Flow | CMF | addCMF |
| Chande Momentum Oscillator | CMO | addCMO |
| Double Exponential Moving Average | DEMA | addDEMA |
| Detrended Price Oscillator | DPO | addDPO |
| Exponential Moving Average | EMA | addEMA |
| Price Envelope | N/A | addEnvelope |
| Exponential Volume Weigthed Moving Average | EVWMA | addEVWMA |
| Options and Futures Expiration | N/A | addExpiry |
| Moving Average Convergence Divergence | MACD | addMACD |
| Momentum | momentum | addMomentum |
| Rate of Change | ROC | addROC |
| Relative Strength Indicator | RSI | addRSI |
| Parabolic Stop and Reverse | SAR | addSAR |
| Simple Moving Average | SMA | addSMA |
| Stocastic Momentum Index | SMI | addSMI |
| Triple Smoothed Exponential Oscillator | TRIX | addTRIX |
| Volume | N/A | addVo |
| Weighted Moving Average | WMA | addWMA |
| Williams %R | WPR | addWPR |
| ZLEMA | ZLEMA | addZLEMA |
All of the above work much like the TTR base functions on which they call. The primary difference is that the add family of calls do not include the data argument, as this is derived from the current chart.
A few examples will highlight how to build charts with the built-in indicators.
> getSymbols("GS") #Goldman OHLC from yahoo[1] "GS"
> # The TA argument to chartSeries is one way to specify the
> # indicator calls to be applied to the chart.
> # NULL mean don't draw any.
>
> chartSeries(GS, TA=NULL)
> # Now with some indicators applied
>
> chartSeries(GS, theme="white",
+ TA="addVo();addBBands();addCCI()")
> # The same result could be accomplished a
> # bit more interactively:
> #
> chartSeries(GS, theme="white") #draw the chart
> addVo() #add volume
> addBBands() #add Bollinger Bands
> addCCI() #add Commodity Channel Index
One of the newest and most exciting additions to the recent quantmod release includes two new charting tools designed to make adding custom indicators far quicker than previously possible.
The first of these is addTA. This is a major extension to the previous addTA function, in that it now allows for arbitrary data to be drawn on the charts. Acting as essentially a wrapper to your data, the only requirement is that the data have the same number of observations as the original, or be of class xts and the dates are within the original data's time range and scale. It is possible to have this new data plotted in its own TA subchart (the default), or overlayed on the main series.
The second and potentially more interesting function is newTA. This is the long-awaited skeleton function to create custom TA indicators to be appended to any chart. It takes the skeleton concept one step further, and dynamically creates the function code needed for a new indicator, based on the function you passed to it. Essentially a bit of self-aware programming makes adding new indicators quite intuitive and practically painless. Given it's rather cutting edge abilities, it is on the cusp of experimental. Luckily if all else fails, and what you get is not what you expected, you can always modify the code created to better suit your needs.
A quick look at adding custom indicator data and creating a new indicator from scratch.
> getSymbols("YHOO") #Yahoo! OHLC from yahoo[1] "YHOO"
> # addTA allows you to add basic indicators
> # to your charts - even if they aren't part
> # of quantmod.
>
> chartSeries(YHOO, TA=NULL)
> #Then add the Open to Close price change
> #using the quantmod OpCl function
>
> addTA(OpCl(YHOO),col='blue', type='h')
> # Using newTA it is possible to create your own
> # generic TA function --- let's call it addOpCl
> #
> addOpCl <- newTA(OpCl,col='green',type='h')
>
> addOpCl()
More to come...
There is much more to say about chartSeries and quantmod's current and future visualization tools, but for now it is time to call it a day (or 30) and conclude this introduction to charting in quantmod.
Future additions to this site and the documentation will include more details about interacting with the charts - now and in upcoming releases, new layout options, and a possible foray into entirely new visualization tools and techniques.
But for now that is all I've got...


(project aborted, mostly because I got stuck on the part where a C# script should be automatically converted to JS or TS code...)
Hammurabi is a Unity3D to BabylonJS exporter.
When creating a game with Unity3D, most of the game logic is written with CSharp scripts, called MonoBehaviour. MonoBehaviours rely on Unity's classes (Transform, MeshFilter, MeshRenderer...), and are tied to these classes interface.
A typical Unity to BabylonJS exporter will convert the Unity's classes instances to their equivalent in BabylonJS.
example : a UnityEngine.GameObject, its Transform, MeshFilter and MeshRenderer, are packed into a BABYLON.Mesh object.
But it will then require some extensive MonoBehaviour rewritting, as BabylonJS's classes interfaces differ from Unity's classes interface.
Hammurabi provides BabylonJS based classes sharing the same interfaces as Unitys, as well as a CSharp to Typescript converter to transpose Unity's MonoBehaviours.


Sometimes I think 'Yes' and Sometimes I think 'No'. What do you think?
About me!I am an alumnus of IIT Guwahati and Drexel University. A Data Science professional with experience in working with Neural Networks, Deep Learning, NLP, Chatbots, Machine Learning and Business Intelligence. I primarily use Python, SQL and Google Data Studio. I am an aspiring Fullstack Data Scientist.
Find Out More!Strong roots in Dashboarding and dexterity across multiple data visulaization tools
Experienced in Machine learning using Python and R, Deep learning with Keras.
Worked with SQL, Postgres-SQl, Snowflake, Alteryx and Talend
Model deployement as APIs over SSH and SFTP protocols over AWS EC2 instances. Certified in AWS Sagemaker.
Drexel University
Sept 2019 - June 2021Master of Science in Business Analytics
Path
July 2020 - December 2020• Designed and implemented multiple dashboards in Tableau using parameters, filters, and calculated fields to visualize 150+ healthcare policies across 26 categories across 76 countries across the world for WHO and The Gates Foundation.
• Integrated data from multiple data sources using Alteryx to clean, organize and consolidate the data for visualization in Tableau.
Revzilla
June 2020- September 2020• Worked on model development, scoring, and validation scripts programmed in Python and Snowflake to understand customer loyalty and non-returning customer behavior based on their visit(s) and purchase patterns.
• Developed an ML model in Snowflake with advanced SQL functions and CTMs to improve performance accuracy of customer segmentation/cluster models on a data set of around 8 million rows extracted from Google Analytics from 53% to 74 %.
Redeem Systems
Aug 2018- July 2019• Recognised as an SME in Data Science and AI, trained and led a team of 8 data analyst(s) and executed the build, test, delivery cycle of 26 Machine Learning Projects. Experience in building a Business Unit from the ground up.
• Produced artifacts and learning modules for training, documentation for Python, Data Visualization, and Machine Learning.
Redeem Systems
Apr 2018- Aug 2018• Hands-on experience in developing Machine Learning, NLP, Customer Analytics, Risk Modelling, Language models, and Deep Learning models in Sklearn, Keras, and Tensorflow while interfacing with cloud solutions provided by Microsoft Azure’s Cognitive Services.
• Created Image recognition, Object Detection, Facial Recognition models with an accuracy greater than 95 % using transfer learning.
• Packaged Machine Learning Algorithms by developing REST API(s) and deployed models to production using the Python libraries Sklearn, Pandas, Flask, and Amazon EC2 instances.
Infruid Labs
Oct 2017 - Feb 2018• Responsible for creating and maintaining client dashboards across verticals such as Manufacturing and Healthcare using the BI tool Vizard to monitor KPIs.
• Experienced in using Talend for Data Ingestion(ETL), SQL, and Elasticsearch for Database Management, Postman for API Testing.
• Created the documentation and user guide for a Business Intelligence tool - Vizard using the language pug.
IIT Guwahati
Aug 2017Bachelor's in Mechanical Engineering
Are you looking for a Full Stack Data Scientist. Please leave a message and I will get back to you as soon as possible!


---
layout: post
status: publish
published: true
title: "
The Carlos Silva Comedy Hour -
Brought to you by Old Country
Buffet"
author:
display_name: Corey Fineran
login: Corey
email<EMAIL_ADDRESS>url: ''
author_login: Corey
author_email<EMAIL_ADDRESS>wordpress_id: 2042
wordpress_url: http://ivyenvy.com/?p=2042
date: '2010-03-06 19:18:36 +0000'
date_gmt: '2010-03-07 01:18:36 +0000'
categories:
- Broadcasters/Networks
- Outfield
- Starting Pitching
- Former Cubs
- Spring Training
tags:
- Alfonso Soriano
- Jim Hendry
- Pat and Ron
- WGN
- Quad Cities
- Carlos Silva
- Old Country Buffet
- TC's Food and Spirits
- Dewitt IA
- Doug Dascenso
- Starlin Castro
- KJOC
- Lions Den Adult Superstore
comments:
- id: 1117
author: Andy
author_email<EMAIL_ADDRESS>author_url: http://ivyenvy.com
date: '2010-03-07 09:28:14 +0000'
date_gmt: '2010-03-07 15:28:14 +0000'
content: I was only able to listen to some of the game... didn't Soriano's diving
catch save Silva from even further damage?
- id: 1119
author: Kurt
author_email<EMAIL_ADDRESS>author_url: http://
date: '2010-03-09 09:27:10 +0000'
date_gmt: '2010-03-09 15:27:10 +0000'
content: "\"Bizzay\" is out this year, but the gold mine combo of Pepsi and the
Black Eyed Peas is not. There's a new one...\"One Tribe\". They aired it a lot.
The best lyric \"Forget about all that EVA\". Eva means evil. It had to be changed
so it would rhyme with amnesia. Makes sense to me.\r\n\r\nTime for my first bold
preseason prediction. Jeff Kennard will not make the big league roster. 0.2 IP,
54.00 ERA. You heard it here first."
- id: 1121
author: J. Baxter Graf
author_email<EMAIL_ADDRESS>author_url: http://www.ivyenvy.com
date: '2010-03-10 22:51:41 +0000'
date_gmt: '2010-03-11 04:51:41 +0000'
content: I laughed really hard at the bud light commercial, actually. But that was
just the first time. I am sure I will have a different reaction the third time.
- id: 1306
author: Ryan
author_email<EMAIL_ADDRESS>author_url: ''
date: '2010-05-11 21:17:51 +0000'
date_gmt: '2010-05-12 03:17:51 +0000'
content: I enjoy fried chicken grease
---
Today was the first televised game of the 2010 pre-season and I am very happy that Lou Piniella decided to hold off the Carlos Silva start for a televised game. What a pitching line:
2IP - 7H - 6ER - 2HR - 27.0 ERA
Was it fried chicken grease on his fingers? Maybe he was just eager to get pulled from the game so he go outside Hohokam to get a pork tenderloin straight from the QC Area's own Chuck Cox and his Spring Training extension of TC's Food and Spirits.
* With no cuts to the roster yet, that dugout was mighty crowded this afternoon. I think I saw Doug Dascenso walking around in there.
* Soriano dove for a ball. It wasn't pretty, but he left his feet in a way that didn't involve a hop. I'm not getting my hopes up. It just surprised me.
* It's hilarious that every time Starlin Castro is brought up by someone in the Cubs organization, they hint at a future Theriot injury. Today it was Jim Hendry on the radio with Pat and Ron. If you haven't heard, Ron lost a tooth eating cheese pizza today.
* No Pepsi "Bizzay" commercials this year? Maybe they aired it and I just missed it.  Anyone that listens to Pat and Ron on KJOC 1170am is very familiar with the Lions Den Adult Superstore due to their 15 ads per Cubs game. Anyway, I'm sure you'd like to see this commercial again:
[media id=5 width=400 height=320]
WGN aired this commercial during the broadcast. Will this be the commercial that makes me want to punch people by mid-April?
[media id=6 width=400 height=320]


Network
问题描述 :
Andrew is working as system administrator and is planning to establish a new network in his company. There will be N hubs in the company, they can be connected to each other using cables. Since each worker of the company must have access to the whole network, each hub must be accessible by cables from any other hub (with possibly some intermediate hubs).
Since cables of different types are available and shorter ones are cheaper, it is necessary to make such a plan of hub connection, that the maximum length of a single cable is minimal. There is another problem — not each hub can be connected to any other one because of compatibility problems and building geometry limitations. Of course, Andrew will provide you all necessary information about possible hub connections.
You are to help Andrew to find the way to connect hubs so that all above conditions are satisfied.
Since cables of different types are available and shorter ones are cheaper, it is necessary to make such a plan of hub connection, that the maximum length of a single cable is minimal. There is another problem — not each hub can be connected to any other one because of compatibility problems and building geometry limitations. Of course, Andrew will provide you all necessary information about possible hub connections.
You are to help Andrew to find the way to connect hubs so that all above conditions are satisfied.
输入:
The first line of the input contains two integer numbers: N – the number of hubs in the network (2 <= N <= 1000) and M - the number of possible hub connections (1 <= M <= 15000). All hubs are numbered from 1 to N. The following M lines contain information about possible connections - the numbers of two hubs, which can be connected and the cable length required to connect them. Length is a positive integer number that does not exceed 106. There will be no more than one way to connect two hubs. A hub cannot be connected to itself. There will always be at least one way to connect all hubs.
输出:
Output first the maximum length of a single cable in your hub connection plan (the value you should minimize). Then output your plan: first output P – the number of cables used, then output P pairs of integer numbers – numbers of hubs connected by the corresponding cable. Separate numbers by spaces and/or line breaks.
样例输入:
4 6 1 2 1 1 3 1 1 4 2 2 3 1 3 4 1 2 4 1
样例输出:
1 4 1 2 1 3 2 3 3 4
解题代码:
//* @author: ccQ.SuperSupper import java.io.*; import java.util.*; class Edge implements Comparable{ int u,v,disten; Edge(){}; void set(int u,int v,int disten){ this.u = u; this.v = v; this.disten = disten; } public int compareTo(Object obj){ Edge temp = (Edge)obj; if(this.disten>temp.disten) return 1; return -1; } } class Set{ int father[],num[]; void init(int n){ num = new int[n+10]; father = new int[n+10]; Arrays.fill(num, 1); Arrays.fill(father, -1); } int Ufind(int who){ int temp,cnt = who; while(father[who]!=-1){ who = father[who]; } while(cnt!=who){ temp = father[cnt]; father[cnt] = who; cnt = temp; } return who; } void Uset(int u,int v){ if(u==v) return ; if(num[u]>num[v]){ father[v] = u; num[u]+=num[v]; }else{ father[u] = v; num[v]+=num[u]; } } } class Kruscal{ final int N = 15000+100; int n,m,cnt,max,ans; Edge edge[] = new Edge[N]; Kruscal(){ for(int i=0;i< N;++i) edge[i] = new Edge(); } void init(int n,int m){ cnt = 0; this.n = n; this.m = m; max = ans = 0; } void addEdge(int u,int v,int disten){ edge[cnt++].set(u, v, disten); } void calc(PrintWriter out){ Set set = new Set(); set.init(n); Arrays.sort(edge,0,m); for(int i=0;i< m;++i){ if(set.Ufind(edge[i].u) == set.Ufind(edge[i].v)){ edge[i].disten = -1; }else{ max = Max(max,edge[i].disten); ++ans; set.Uset(set.Ufind(edge[i].u), set.Ufind(edge[i].v)); } } out.println(max); out.println(ans); for(int i=0;i< m;++i)if(edge[i].disten>=0){ out.println(edge[i].u+" "+edge[i].v); } } int Max(int a,int b){ return a>b?a:b; } } public class Main { public static void main(String[]args)throws Exception{ StreamTokenizer cin = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in))); PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out)); Kruscal kruscal = new Kruscal(); int n,m,u,v,disten; n = GetNum(cin); m = GetNum(cin); kruscal.init(n, m); for(int i=0;i< m;++i){ u = GetNum(cin); v = GetNum(cin); disten = GetNum(cin); if(u>v) kruscal.addEdge(v, u, disten); else kruscal.addEdge(u, v, disten); } kruscal.calc(out); out.flush(); } static int GetNum(StreamTokenizer cin)throws Exception{ cin.nextToken(); return (int) cin.nval; } }
(adsbygoogle = window.adsbygoogle || []).push({});
第一题是不是可以这样想，生了n孩子的家庭等价于n个家庭各生了一个1个孩子，这样最后男女的比例还是1:1
这个应该是比较简单的解法了，如果有更好的办法可以告诉我
看见的晚了，只能提交一次唉
整理的很好，学习了
88行是多余的，可以删除
Java真是解决大数的利器
printf这个函数在计算的时候是从右到左，打印是从左到右。
老实说，这种方法就是穷举，复杂度是2^n，之所以能够AC是应为题目的测试数据有问题，要么数据量很小，要么能够得到k == t，否则即使n = 30，也要很久才能得出结果，本人亲测
通不过。
第15行代码，/n/n，应该改为\n\n
学习了


Jslet - Field Value Conveter Demo
Customize display text for one field.
Sales Detail List
Edit Panel
Demo Content:
There is a customized field value converter in the field "Product".


Adam Thomas is a researcher in
the Section on Functional
Imaging Methods at the
National Institute
of Mental Health in Bethesda, Maryland and an honorary
research fellow in the
Nuffield Department of Clinical Neurosciences
at the University of Oxford where
he received his D.Phil in 2014. Adam uses neuroimaging techniques
to study the mechanisms of brain plasticity associated with
learning, experience, and physical exercise.


| isOrdered {xts} | R Documentation |
Performs check to determine if a vector is strictly increasing, strictly decreasing, not decreasing, or not increasing.
isOrdered(x, increasing = TRUE, strictly = TRUE)
x |
a numeric vector |
increasing |
test for increasing/decreasing values |
strictly |
are duplicates OK |
Designed for internal use with xts, this provides highly optimized tests for ordering.
Logical
Jeffrey A. Ryan
# strictly increasing isOrdered(1:10, increasing=TRUE) isOrdered(1:10, increasing=FALSE) isOrdered(c(1,1:10), increasing=TRUE) isOrdered(c(1,1:10), increasing=TRUE, strictly=FALSE) # decreasing isOrdered(10:1, increasing=TRUE) isOrdered(10:1, increasing=FALSE)


S4 classes and methods to deal with fuzzy numbers. They allow for computing any arithmetic operations (e.g., by using the Zadeh extension principle), performing approximation of arbitrary FNs by trapezoidal and piecewise linear FNs, preparing plots of FNs for publications, computing possibility and necessity values for comparisons, etc.
| Version: | 0.4-2 |
| Depends: | R (≥ 3.0.0), methods, grDevices, graphics, stats |
| Suggests: | knitr, digest |
| Published: | 2018-02-14 |
| Author: | Marek Gagolewski [aut, cre], Jan Caha [ctb] |
| Maintainer: | Marek Gagolewski <gagolews at rexamine.com> |
| BugReports: | http://github.com/gagolews/FuzzyNumbers/issues |
| License: | LGPL (≥ 3) |
| URL: | http://FuzzyNumbers.rexamine.com |
| NeedsCompilation: | no |
| Citation: | FuzzyNumbers citation info |
| Materials: | NEWS |
| CRAN checks: | FuzzyNumbers results |
| Reference manual: | FuzzyNumbers.pdf |
| Vignettes: |
A Guide to the FuzzyNumbers Package |
| Package source: | FuzzyNumbers_0.4-2.tar.gz |
| Windows binaries: | r-devel: FuzzyNumbers_0.4-2.zip, r-release: FuzzyNumbers_0.4-2.zip, r-oldrel: FuzzyNumbers_0.4-2.zip |
| OS X binaries: | r-release: FuzzyNumbers_0.4-2.tgz, r-oldrel: FuzzyNumbers_0.4-2.tgz |
| Old sources: | FuzzyNumbers archive |
| Reverse imports: | ANOVA.TFNs, EM.Fuzzy, FPV, Fuzzy.p.value, FuzzyLP, FuzzyNumbers.Ext.2, FuzzyStatProb, Sim.PLFN |
| Reverse suggests: | fuzzyreg |
Please use the canonical form https://CRAN.R-project.org/package=FuzzyNumbers to link to this page.


About
Hi, I'm Jamin!
I'm a software engineer based in Seattle, WA. I'm what some would call a traditional "full stack" engineer, with experience in developing software based products from beginning to end.  On my leasure time, I'm often reading up on the latest trends in technology to see how I can apply it to my everyday work.
Outside of engineering, I enjoy competitive gaming, the Pacific Northwest outdoors, and working on hobby projects.
Where you can find me
Technical Stuff
Everything on site this was designed and built by me. If you are interested, here is some of the tech that is used to drive this site:
- Linode
- Cloud platform. (Referral link)
- Alpine Linux
- Security-oriented, lightweight Linux distribution based on musl libc and busybox.
- Docker
- Container platform.
- Caddy
- Modern HTTP/2 TLS web server
- Let's Encrypt
- Free, automated, and open certificate authority for TLS.
- EventPro UI Kit
- Ready to use interface kit.


|
MSP PMBus Library Users Guide
v<IP_ADDRESS>
|
This section describes the examples included with the PMBus library.
The PMBus library examples were developed and tested in the following MSP430™ families of devices:
| Device | I2C Interface |
|---|---|
| MSP430FR59xx | Enhanced Universal Serial Communication Interface (eUSCI) |
| MSP430G2xx3 | Universal Serial Communication Interface (USCI) |
MSP430 devices supported by PMBus library examples
The code examples and PMBus library can be implemented in different derivatives of the same family with little effort, and they can be migrated to other MSP430™ devices with the same I2C interface with some considerations such as pin usage, memory and timeout-timer availability.
Each example in this software package is provided with full source code and includes the necessary project files to build the project in IAR and CCS.
Each of the examples are written as PMBus master application communicating to a TPS544C20.
| Name | Description |
|---|---|
| PMBus_Master01_TPS544C20 | Basic PMBus communication |
| PMBus_Master02_TPS544C20_SMBAlert | PMBus with SMBALERT |
| PMBus_Master03_TPS544C20_Control | PMBus with device on/off through CONTROL line |
PMBus library examples
The hardware setup and their funtionality are described in more detail in the following sections.
The PMBus library and examples build and run on both the IAR and CodeComposer Studio(CCS) environments for MSP430™ microcontrollers. See the Release Notes in the PMBus library package for specific IAR and CCS version information.
IAR and CCS are both available in free, code-size-limited versions (8K and 16k, respectively, of object code). Applications that require less than 8K of memory can be run on both free versions. Applications that require more than 8K of memory cannot be build using the free IAR Ickstart tool. Instead, the free version of CCS can be used, or a licensed version of either environment.
Most of the examples can run on any hardware TI sells in the eStore, supporting the devices mentioned in the Supported DevicesSupported Devices"". This includes:
Every example has a HAL layer which can be used to initialize ports, clocks and any other hardware used by the application and PMBus/SMBus layers.
The following tables list the resources used by the examples:
| Description | Resource |
|---|---|
| I2C | eUSCI_B0 |
| I2C_SDA | P1.6/USCB0SDA |
| I2C_SCL | P1.7/USCB0SCL |
| SMBAlert | P1.5 |
| Control1 | P1.4 |
| Control2 | P1.3 |
| LED0 | P1.0 |
| LED1 | P4.6 |
MSP430FR59xx examples
| Description | Resource |
|---|---|
| I2C | USCI_B0 |
| I2C_SDA | P1.7/USCB0SDA |
| I2C_SCL | P1.6/USCB0SCL |
| SMBAlert | P2.5 |
| Control1 | P2.4 |
| Control1 | P2.3 |
| LED0 | P1.0 |
| LED1 | P2.0 |
MSP430G2xx3 examples
The PMBus Library examples have the following structure:
<install> |--smbuslib <- SMBus Library source code | |--driverlib <- MSP430 driverlib used to access the microcontroller peripherals |--src <- Contains the PMBus Library source code |--examples |--MSP430* <- MSP430 device supported by examples |--CCS | |--PMB*.projectspec <-- Individual project files for CCS | |--IAR | |--PMB* | |--*.{ewd,ewp} <-- Individual project files for IAR | |--*.eww <-- Project workspace file for IAR |--Src |--PMB* |-- main.c <-- The example main code |-- Master_HAL.{h,c} <-- Hardware abstraction layer for example |-- *.{h,c} <-- Other source files used by example
Each IAR project has a workspace. To use the examples in IAR, open the corresponding workspace file (*.eww) by selecting File->Open->Workspace.
The project can be build using the F& key, Menu->Project->rebuild All, or clicking on the Make icon. Projects can be downloaded to the MSP430™ microcontroller using Ctrl+D, Menu->Project->Download, or by clicking the Download and Debug icon.
CCS project must be imported into a CCS workspace. The projects are defined by *.projectspec files, which contain the information CCS needs to import the project.
Open CCS, and choose Project->Import CCS Projects. Browse to the examples/MSP430*/CCS directory (containing the *.projectspec) files). CCS will show a list of all the projects that were discovered in this directory.
Select any projects and click "Finish". The project(s) should appear in the Project Explorer view.
The active project can be selected by simply left-clicking on the project and it will be highlighted with bold letters as shown in the following figure:
The project can be built using Ctrl+B, Menu->Project->Build All, or by clicking the Build icon. Projects can be downloaded to the MSP430™ microcontroller using F11, Menu->Run->Debug, or by by clicking the Debug icon.
This section contains information that is common to all PMBus examples. Specific information for each example is provided after this section.
The required basic connection between Master and Slave PMBus devices is shown below.
The pins used for SDA and SCL for the supported devies are described in the _Hardware Support_ section.
The value of the pull-up resistors (Rp) will depend on the system VDD and the bus capacitance. Typical values are in the range of 1K-10K ohms.
/|\ /|\ Rp Rp Master | | Slave MSP430 | | TPS544C20 ----------------- | | ------------- | SDA*|<-|----+----> |DATA | | | | | |--> VOUT | SCL*|<-+---------> |CLK | | /|\ | | | LED0 <--|Px.y* |---Pb.c*|<-------------|SMBAlert | LED1 <--|Pz.a* | | | | | | | | Control*|------------->|CNTL |
Check the comments in the source code for each example for detailed information of the example functions.
This example configures some parameters of the TPS544C20 to illustrate some basic calls of the PMBus Library.
After initializing the MSP430™ device and GPIO the example will:
This example configures the TPS544C20 and enables SMBAlert functionality. When an alert is detected by the slave device, the MSP430 reads the fault and clears the flag. If enabled, MSP430 will send an ARA packet to double-check if the TPS544C20 is the device asserting the SMBAlert line.
The example can be tested by lowering the TPS544C20's VIN.
After initializing the MSP430™ device and GPIO the example will:
This example configures the TPS544C20 using the CONTROL line. The CONTROL line turns the output ON/OFF together or independently of the OPERATION command. The signal is optional per PMBus spec but it is implemented in many PMBus devices.
After initializing the MSP430™ device and GPIO the example will:


<-- Go Back
Xen (NSFW)
Species: Husky (Canine)
Reference
Click to view full reference
Notes
Want to view SFW only?
Art of Xen (NSFW)
by
Artararam
by
Artararam
by
Foxkin
by
Foxkin
by
Giaru
by
Giaru
by
Giaru
by
Giaru
by
MentalStar
by
MentalStar
by
MentalStar
by
PinkGatorPress
by
XNIROX
by
Zyira
by
cydergerra
by
irishthorns
by
marsCCTS
by
marsCCTS+SkyDeerToons
by
melianah
by
porin
by
NightTwilightWolf
by
PUNXSIMON
by
Regigi9
by
Sleepy_Screen
by
Zyira
by
feve
by
ghostfennec
by
grey.paints
by
irishthorns
by
rinzy
by
songgoishtar


We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.


Your location will tell us how much sun you get throughout the year
{{location}}
{{latitude}}
{{longitude}}


Loading...
ADULT_AGE
Global
AFRICAN_AMERICAN
Global
age_count_female
Population.cc
age_count_male
Population.cc
ALASKA_NATIVE
Global
allocation_array
Place::Allocator
allocations_made
Place::Allocator
AMERICAN_INDIAN
Global
aminoAcids
FergEvolution
APRIL
Date
ASIAN
Global
Assign_Teachers
Global
AUGUST
Date
Searching...
No Matches


Dioramas, 2017
Residency and solo show, Black & White Projects, San Francisco, CA
I love natural history museums and wanted to construct my own dioramas that stretch forwards and backwards through time. I re-contextualized animations from Aspects of Geological Time in an installation that allowed me to experiment with materiality and intent, made use of the gallery's architectural elements, and positioned the viewer in ways that mimicked the acts of looking at nature.


Event Location:
Mr. Biggs Fun Center
5825 Mark Dabling Boulevard
Colorado Springs, Colorado
Abstract:
Are you a Business Intelligence developer? Have you built a SQL Server Reporting Services, Analysis Services or Integration Services solution? Have you deployed to a test server and are wondering "Now what?" Or are you a production SQL Server DBA who's been informed that since SSAS, SSIS or SSRS have "SQL" in their name, you have to take over the day-to-day management of a SQL BI project? This fast-paced session will look at what it takes to manage and administer projects created with the SQL Server BI products. We'll look at the management tools, deployment lifecycles, security capabilities and disaster recovery processes for these products.  Modern day computing power along with SQL Server makes it possible to add sophisticated data mining models to our applications that forecast and predict, perform anomaly detection, and classify data. This presentation will demonstrate how to develop a data mining model using Analysis Services from conception to deployment using internal and external data, and you will see how to get and display results. Take a step forward towards making BI pervasive in your organization by integrating data mining into your company’s applications.
Speaker(s): Carlos Bossy,
Abstract:
We will discuss some of the most important things that you as a Data Professional can document to make your job much easier, ensure information consistency between groups, and better prepare your organizations for raising the bar on your day to day business. Think of this as a sort of Database Library that allows you to finally detail the processes you follow currently to perform repetitive tasks. This Library will also allow you to simply document your systems for your and others knowledge.
Speaker(s): TJay Belt,
Abstract:
Policy Based Management, what is this? What can it do for me? Do I really need it? How do I install and configure it? How can it help me to pass audits? You mean each server can really be configured the same. Let's explore Policy Based Management and what it has to offer us in better management of our Sql Servers.
Speaker(s): Thomas Norman,
Abstract:
Lunch\Meet the experts\WIT
Speaker(s): Kat Long,
Abstract:
Networking 9
Speaker(s): Kat Long,
Abstract:
Managing DDL scripts has always been one of the biggest challenges facing Database Developers. How do you keep your Development, Test, Stage, and Production Environments in sync? Why aren't databases tightly integrated into source control systems like application code is? Visual Studio 2010 Database projects solve all these problems and more. In this session, we will learn how to use Visual Studio to treat database objects as the first-class citizens they have always been.
Speaker(s): Randy Knight,
Abstract:
The foundation of database performance is the underlying server hardware and storage subsystem. Even the best designed and optimized database application can be crippled by an inadequate hardware and storage infrastructure. Recent advances in new processors and chipsets, along with improvements in magnetic and SSD storage have dramatically changed the evaluation and selection process compared to the past. Many database professionals struggle to keep up with new technology and often simply let someone else make their hardware selection and sizing decisions.  This session covers current and upcoming hardware from both Intel and AMD.
Speaker(s): Glenn Berry,
Abstract:
Networking Session 5
Speaker(s): Kat Long,
Abstract:
Become aware of some commonly overlooked practices in securing you SQL Server databases. Learn about physical security, passwords, privileges and roles, restricting or disabling system stored procedures and preventative best practices. And most importantly, discuss the most commonly used security threat: SQL injection and learn how to prevent them.
Speaker(s): Gabriel Villa,
Abstract:
Networking Session 4
Speaker(s): Kat Long,
Abstract:
Break 3
Speaker(s): Kat Long,
Abstract:
Break 5
Speaker(s): Kat Long,
Abstract:
More and more companies are virtualizing with VMWare, and SQL Server databases are moving in that direction as well. This presentation will explore the fundamentals of running SQL Server in a VMWare environment. You will learn business and technical benefits of virtualization, master new terms and concepts, pick up useful planning tips and tricks and cover best practices for maintaining optimum performance in a SQL Server / VMWare environment.
Speaker(s): Dean Richards,
Abstract:
Designing a fast, elegant report for Reporting Services can be challenging. In this session, we'll cover design methods you can start using right away to create faster reports with fewer headaches and in less time. We'll also look at how to deal with potentially frustrating aspects of report appearances like border behavior, multi-column layouts, and unwanted blank pages.
Speaker(s): Doug Lane,
Abstract:
Break 2
Speaker(s): Kat Long,
Abstract:
Break 4
Speaker(s): Kat Long,
Abstract:
Networking Session 3
Speaker(s): Christopher Shaw,
Abstract:
Networking 7
Speaker(s): Kat Long,
Abstract:
Break 6
Speaker(s): Kat Long,
Abstract:
SQL Server performance tuning with an emphasis on finding the bottlenecks, Query design problems and database design problems.
Speaker(s): Mark Halstead,
Abstract:
Learn practical ways that you can build your career brand and stand out from the crowd. Steve Jones, editor of SQLServerCentral and longtime DBA shares some of the ways in which he has successfully grown his career over the years. Learn some tips and tricks for social networking, blogging, volunteering, leadership, and resume hints to help you find a great job.
Speaker(s): Steve Jones,
Abstract:
The Data Analysis Expressions (DAX) language is a library of operators and constants that we can combine to craft formulas and expressions in PowerPivot Client. In this session Microsoft BI Architect and SQL Server MVP Bill Pearson will concentrate largely upon crafting simple DAX expressions whose purposes, for the most part, are to return a set of data. He’ll overview a simple data source structure, outline the components of simple DAX syntax, and get you started understanding basic expressions.
Speaker(s): William E Pearson III,
Abstract:
Lunch\Meet the experts\WIT 2
Speaker(s): Kat Long,
Abstract:
Networking 10
Speaker(s): Kat Long,
Abstract:
Welcome\KeyNote
Speaker(s): Christopher Shaw,
Abstract:
Introduced with SQL Server 2008 R2 and Visual Studio 2010, Data Tier Applications (DACs) help to simplify the development lifecycle of SQL Server database applications. DACs can be integrated into larger Visual Studio application projects and make for a very integration application development lifecycle. In this session, you will learn about DACs and how to use Visual Studio to build SQL Server Data Tier Applications. This session will also discuss creating DACs from existing database structures and will demonstrate how to integrate existing databases into Visual Studio application solutions.
Speaker(s): Ted Malone,
Abstract:
Welcome\Keynote
Speaker(s): Christopher Shaw,
Abstract:
Networking Session 6
Speaker(s): Kat Long,
Abstract:
Networking 8
Speaker(s): Kat Long,
Abstract:
Welcome to SQLSaturday #66. We will be covering the schedule for the day and what attendee's can expect from the training and from the "Special Networking Events".
Speaker(s): Christopher Shaw,
Abstract:
Break 1
Speaker(s): Kat Long,
Abstract:
Networking 12
Speaker(s): Kat Long,
Abstract:
Most ‘accidental DBAs’ start their foray in to database administration in a similar way. You start with little knowledge of SQL server and maybe even little knowledge of system administration basics at all. I will share some tips and tricks that I have picked up over the years to help you get on your feet as a DBA, by showing you how to find out where your instances of SQL are, what business processes depend on them, what their current states are and how to learn the skills you need to keep your databases safe and available.
Speaker(s): Meredith Ryan-Smith,
Abstract:
Networking Session 2
Speaker(s): Christopher Shaw,
Abstract:
Too busy to read BOL to figure out what they've added?  Sure, you might know about CTEs and windowing functions, but what about the new data types (geospatial, xml, etc), DMOs and query hints. Stop in and see if I can rattle off a feature a minute.
Speaker(s): Bill Fellows,
Abstract:
Lunch\Meet the experts\WIT 3
Speaker(s): Kat Long,
Abstract:
Networking 11
Speaker(s): Kat Long,
Abstract:
Networking Session 1
Speaker(s): Christopher Shaw,
This is a list of speakers from the XML Guidebook records. The details and URLs were valid at the time of the event.
Contact: http://blog.sqltrainer.com
Ted Malone has worked with SQL Server since it's inception (first version was installed from 3.5" disks on OS/2 1.1) and has architected, developed and supported database applications ranging from simple to those in use by Global 100 corporations. Ted is a Microsoft Application Lifecycle Management (ALM) MVP with a focus on Agile database development.
Contact: http://blogs.ameriteach.com/chris-randall
Chris Randall (MCT, MCTS, MCITP, MCDBA) is the SQL Server Practice Manager for Ameriteach, a Microsoft Gold Training Partner in Greenwood Village and Broomfield. He has been working with and teaching classes in SQL Server and its Business Intelligence tools since the 6.x days.
Contact: http://chrisshaw.wordpress.com
Chris started his database career while in the Marine Corps working with Lotus Ami Pro databases somewhere in 1993. From there he went on to companies such as Wells Fargo, Pulte Mortgage and Yellow Pages Inc., and later consulted with insurance companies including Anthem Blue Shield. Chris has enjoyed writing and speaking about SQL Server over the last 10 years at events such as SQL Connections, Pass and SSWUG Ultimate conferences. Chris received the Microsoft MVP award.
LinkedIn: http://www.linkedin.com/in/tjaybelt/
Contact: http://tjaybelt.blogspot.com
TJay Belt is an outdoorsman at heart who enjoys riding dirtbikes, waterskiing, boating, playing racquetball and spending time with his family. When he can't be out playing, TJay loves to tinker with databases. TJay has been an IT professional for over a decade and a half. Currently serving as a Senior Database Administrator with Imagine Learning. TJay has progressed through several roles in his database career including developer, data guy, database developer, database analyst and DBA.
LinkedIn: https://www.linkedin.com/e/fpf/252170891
Contact: https://mvp.support.microsoft.com/profile=02C5CD07-7511-4151-A678-3A4A3451F85E
Bill Pearson created Island Technologies Inc. in 1997, and has developed a large and diverse customer base since. Bill#39;s background as a CPA, Internal Auditor, Management Accountant, and SQL Server MVP (BI) enables him to provide value to clients as a liaison between Accounting / Finance and Information Services. Bill has implemented enterprise business intelligence systems over the years for many Fortune 500 companies and focuses his practice upon the integrated Microsoft Business Intelligence
LinkedIn: https://www.linkedin.com/in/gabevilla
Contact: https://extofer.wordpress.com/
Gabriel is a skilled leader, architect, and technical expert focusing primarily on Microsoft technologies and is passionate about open-source technologies for integration, automation, and development. Gabriel’s versatility extends from systems, data and development and leverages hybrid/SaaS/Cloud integration, proven software engineering platforms, and best-of-breed data management and business intelligence solutions. Originally from El Paso, Texas, Gabriel lives in Colorado Springs with his wife and kids, where he is an Architect for RevGen Partners, volunteers in the tech community and enjoys the Colorado outdoors.
LinkedIn: http://www.linkedin.com/in/randyknight
Contact: http://www.sqlsolutionsgroup.com/blog
Randy Knight is a data professional who has worked with Microsoft technology for over 25 years, focusing on SQL Server since 1997. He has worked in a variety of settings, including 6 years as a database architect for match.com. In 2010, he founded SQL Server Solutions Group LLC, a boutique SQL Server consultancy. A Microsoft Certified Master (MCM) in SQL Server, he speaks often at events all over the country including the PASS Summit, SQLIntersections, and numerous SQLSaturday and User Groups.
Contact: http://chrisshaw.wordpress.com
Chris started his database career while in the Marine Corps working with Lotus Ami Pro databases somewhere in 1993. From there he went on to companies such as Wells Fargo, Pulte Mortgage and Yellow Pages Inc., and later consulted with insurance companies including Anthem Blue Shield. Chris has enjoyed writing and speaking about SQL Server over the last 10 years at events such as SQL Connections, Pass and SSWUG Ultimate conferences. Chris received the Microsoft MVP award.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
Contact: http://www.xtivia.com
Mark Halstead is the SQL Server technical lead dba for Xtivia working in the Virtual-DBA group. He had been with Xtivia, Inc. for 7 years and has worked with SQL Server for more than 17 years. He has worked in IT for 20+ years specializing in database administration.
LinkedIn: http://www.linkedin.com/in/way0utwest
Contact: http://www.voiceofthedba.com/
Steve Jones is a Microsoft SQL Server MVP and has been working with SQL Server since version 4.2 on OS/2. After working as a DBA and developer for a variety of companies, Steve co-founded the community website SQLServerCentral.com in 2001. Since 2004, Steve has been the full-time editor of the site, ensuring it continues to be a great resource for SQL Server professionals. Over the last decade, Steve has written hundreds of articles about SQL Server for SQLServerCentral.com, SQL Server Standard magazine, SQL Server Magazine, and Database Journal.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin/in/carlosbossy
Contact: http://www.carlosbossy.com
Carlos Bossy (MCTS, MCP BI, CBIP) is a data and cloud analytics architect with 25 years of experience in software and database development. As a principal of Datalere, Carlos focuses on developing BI, Data Science, and Advanced Analytics solutions, including modeling data warehouses and delivering predictive models, integration, and visualization. He has developed warehouses and BI solutions for a variety of industries and state agencies, including health insurance, solar energy, foster care, telecom, and manufacturing.
Contact: http://chrisshaw.wordpress.com
Chris started his database career while in the Marine Corps working with Lotus Ami Pro databases somewhere in 1993. From there he went on to companies such as Wells Fargo, Pulte Mortgage and Yellow Pages Inc., and later consulted with insurance companies including Anthem Blue Shield. Chris has enjoyed writing and speaking about SQL Server over the last 10 years at events such as SQL Connections, Pass and SSWUG Ultimate conferences. Chris received the Microsoft MVP award.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
Contact: http://meredithryansmith.wordpress.com
Meredith is the database administrator for The Bell Group. With more than 10 years of experience in IT, Meredith’s responsibilities have included everything from manning the Help Desk to VAX/VMS cluster administration. Most recently she has served as the production database administrator specializing in cluster administration and performance. Meredith has attended seven PASS Summits, and had volunteered with the WIT Virtual Chapter since early 2009. Most recently Meredith became the chapter leader for the Women In Technology Virtual Chapter, and has kept busy speaking at SQLSaturday events in the western half of the US.
Contact: http://chrisshaw.wordpress.com
Chris started his database career while in the Marine Corps working with Lotus Ami Pro databases somewhere in 1993. From there he went on to companies such as Wells Fargo, Pulte Mortgage and Yellow Pages Inc., and later consulted with insurance companies including Anthem Blue Shield. Chris has enjoyed writing and speaking about SQL Server over the last 10 years at events such as SQL Connections, Pass and SSWUG Ultimate conferences. Chris received the Microsoft MVP award.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/in/armordba
Contact: https://armordba.com/
Tom Norman is a Database Architect at KPA with a strong fervor to protect data. He works daily to review and improve data protection methodologies while reviewing governing laws affecting finance, healthcare, and personal data. His areas of expertise include encryption, auditing, data identification, and database object deployment. He is the current leader of the PASS Virtualization Group and Vice President of the TRIPASS user group. You can read his blog at https://armordba.com/ and reach him on twitter at @armordba. Tom speaks at a number of SQLSaturday events and SQL Server user groups.
LinkedIn: https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile
Contact: https://glennsqlperformance.com/
Glenn works as a Principal Consultant for Dr. DMV, LLC in Elizabeth, CO. He was a Data Platform MVP from 2007-2017, and he has a whole collection of Microsoft certifications, including MCITP, MCDBA, MCSE, MCSD, MCAD, and MCTS, which proves that he likes to take tests. His expertise includes DMVs, high availability, hardware selection, performance tuning, and Azure SQL Database. He is also an Adjunct Faculty member at University College - University of Denver, where has been teaching since 2000. He has completed the Master Teacher Program at Denver University - University College. He is heavily involved in the SQL Server community, and is a frequent speaker at user groups, SQLSaturdays, and the PASS Community Summit.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
Contact: http://chrisshaw.wordpress.com
Chris started his database career while in the Marine Corps working with Lotus Ami Pro databases somewhere in 1993. From there he went on to companies such as Wells Fargo, Pulte Mortgage and Yellow Pages Inc., and later consulted with insurance companies including Anthem Blue Shield. Chris has enjoyed writing and speaking about SQL Server over the last 10 years at events such as SQL Connections, Pass and SSWUG Ultimate conferences. Chris received the Microsoft MVP award.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/dean-richards/6/167/a90
Dean Richards is a Senior DBA for DBMS Insights and has helped hundreds of companies solve database and virtualization performance issues. Dean has over 20 years of experience in both development and database administration and has focused his entire career on performance tuning of Oracle and SQL Server environments. Most recently Dean has focused on the trend to virtualize and move databases to the cloud.
Contact: http://www.douglane.net
Doug Lane (MCITP, MCTS) is a consultant with Brent Ozar Unlimited and has over 14 years' experience with SQL Server. He blogs about SQL Server with emphasis on Reporting Services and professional development.
Contact: http://chrisshaw.wordpress.com
Chris started his database career while in the Marine Corps working with Lotus Ami Pro databases somewhere in 1993. From there he went on to companies such as Wells Fargo, Pulte Mortgage and Yellow Pages Inc., and later consulted with insurance companies including Anthem Blue Shield. Chris has enjoyed writing and speaking about SQL Server over the last 10 years at events such as SQL Connections, Pass and SSWUG Ultimate conferences. Chris received the Microsoft MVP award.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
LinkedIn: http://www.linkedin.com/in/billinkc
Contact: http://blog.billfellows.net
Bill Fellows is a SQL Server MVP and has been a database developer for most of his career, with the past 15 years focused on ETL. He is the organizer of Kansas City's eight SQLSaturdays and a speaker at many other SQLSaturdays, User Groups and the PASS Summit. Bill is the owner of Sterling Data Consulting where he gets to solve interesting data problems.
LinkedIn: http://www.linkedin.com/pub/kat-meadows/2/69b/8ba/
Contact: http://blogs.xtivia.com/
Kat has been working with SQL Server since 1998 starting with SQL Server 6.5 up to the latest and greatest. Over the years, Kat has worked in many different environments from manufacturing to dotcoms to military and government institutions, and is now back in the private sector. Currently, as a Senior DBA at Xtivia, she is focused on monitoring SQL Server installations and troubleshooting performance issues.
The following is a list of sponsors that helped fund the event.


Popular Areas in halo 3 suicidal marine
Halo - 343 Guilty Spark - Suicidal Marine - YouTube
Dec 19, 2010 . Halo - 343 Guilty Spark - Suicidal Marine. IceyLava108·701 videos. Subscribe Subscribed Unsubscribe 81. 467 views. Like 3 Dislike 0. Like .
http://www.youtube.com/watch?v=31wcUP_qulo
Suicidal Marine - Halopedia, the Halo encyclopedia
In the Halo 3 level Floodgate, shortly after passing the area with a . The Suicidal Marine is distinctly similar to the Halo: Combat Evolved's Paranoid Marine, and .
http://www.halopedia.org/Suicidal_Marine
halo 3 marine suicide - YouTube
Nov 16, 2008 . I was playing halo 3 campaign With some freinds and my marine helper just commited suicide. Enjoy. --------------- Ya I had this video on my .
http://www.youtube.com/watch?v=OzePyyLy9cE
How to Find the suicidal marine Easter egg in Halo: Reach for the ...
There's a suicidal marine in Halo: Reach on New Alexandria that's not ready to face . How to Find the Halo 3 Easter Egg Da Vinci Tower glitch How to Find the .
http://xbox-360.wonderhowto.com/how-to/find-suicidal-marine-easter-egg-halo-reach-for-xbox-360-400885/
Achievement Hunter · Suicidal Marine Easter Egg
Suicidal Marine Easter Egg · Halo Reach · Trending, Newest, Halo: Reach, Comments56, Best of RT . VS Episode 2 - Michael vs Ryan - Quake 3. VS .
http://roosterteeth.com/archive/?id=1574
An Halo - Encyclopedia Dramatica
Mar 22, 2012 . The mention of a suicide within Halo 3 often confuses people, as most players . The suicidal marine as he points his magnum to his head.
https://encyclopediadramatica.se/An_Halo
Halo Reach Easter Egg: The Suicide Marine - YouTube
Sep 19, 2010 . Halo Reach Easter Egg: The Suicide Marine. TeamxDynastyx·14 videos. Subscribe Subscribed Unsubscribe 19. 1,988. Like 6 Dislike 3. Like .
http://www.youtube.com/watch?v=yFqCL7omtD8


#include <beepchannel.h>
Public Attributes | |
| srObjID | OID |
| object ID | |
| unsigned | uChanNum |
| BEEP-assigned channel number. | |
| unsigned | uSeqno |
| current seqno | |
| unsigned | uMsgno |
| current msgno | |
| unsigned | uTXWin |
| maximum transmit window | |
| unsigned | uTXWinLeft |
| remaining bytes left in current tx window | |
| unsigned | uRXWin |
| maximum receive window | |
| unsigned | uRXWinLeft |
| remaining bytes left in current rx window | |
| sbSockObj * | pSock |
| associated socket object | |
| sbSessObject * | pSess |
| associated session | |
| sbChannelState | iState |
| channel status | |
| void * | pProfInstance |
| pointer to associated profile instance data (to be used by the profile, if needed) | |
| sbProfObject * | pProf |
| associated profile |
Implemented via beepchannel::h and beepchannel::c.


[POLL] How Popular Are Your Road Trip Opinions Compared To Other Malaysians?
So many things to decide!
by IJM LandCover image via Wearnes Leasing
Whether it's going on a food trail in Penang, spending a day enjoying the cool weather in Genting, or taking in the sights in Melaka, Malaysians love going on road trips!
But when it comes to the planning and all the nitty gritty of the trip, it can be hard to get everyone to agree on how things should go. Should everyone go in one car or separately? Who pays for toll and petrol? So many things to decide!
It's time to see how Malaysians think road trips should go. Take the poll below to find out!
Poll not loading? Hit 'Refresh' and try again!
So how do your opinions on road trips compare to other Malaysians? Let us know in the comments section! :)
Love going on road trips? Now you can go on as many as you want thanks to IJM Land's current promo that gives you up to 500,000 free petrol points!
IJM Land recently won the Platinum Award at the Putra Brand Awards 2019. In celebration of this achievement, they want to thank everyone who helped them get where they are today.
That's why they're currently running the 'Fuel Good' campaign. From now until 29 February 2020, any purchase of an IJM Land property will be rewarded with free petrol points as well as 1 year ALLIANZ Personal Accident coverage.
Depending on what property you buy, you could get up to 500,000 free petrol points!
With all that free fuel, distance will mean nothing to you. You're free to explore new places and go on all kinds of awesome adventures without worrying about petrol costs.


The short summary text that follows the subject line when viewing an email from the inbox. Also known as the Johnson Box or Preview text.
Info regarding your trip
trip_name


---
layout: archive
title: "Teaching"
permalink: /teaching/
author_profile: true
---
2021 Electromagnetic Methods in Oil Exploration (TPG4250)
Sensor at Norwegian University of Science and Technology
2020 Environmental and Exploration Geophysics (SIO 182A)
Guest lecturer at Scripps Institution of Oceanography
2019 Environmental and Exploration Geophysics (SIO 182A)
Co-lecturer at Scripps Institution of Oceanography
2014 - 2016 Applied Geophysics
TA at Uppsala University
2015 - 2016 Electromagnetic Geophysics
TA at Uppsala University
2011 Ground Penetrating Radar
TA at Guilin University of Technology


As an exploration of the uncertainties of streams and parallel streams, let’s look at a problem that seems simple: summing an incremental sequence of numbers. There turns out to be a surprising number of ways to do this, and I’ll take the risk of comparing them through timing—trying to be careful, but acknowledging that I might fall into one of the many fundamental pitfalls when timing code execution. The results may have some flaws (there’s no “warming up” of the JVM, for example), but I think it nonetheless gives some useful indications.
I’ll start with a timing method timeTest()
which takes a LongSupplier
,
measures the length of the getAsLong()
call, compares the result with a
checkValue
and displays the results. It also assigns the result
to a
volatile value just in case Java is tempted to optimize away the calculation.
Note that everything rigorously uses long
s whereever possible; I spent a
bit of time chasing down quiet overflows before realizing that I missed ‘long’s
in important places.
All the numbers and discussions about time and memory refer to “my machine.” Your experience will probably be different.
// Summing.java
import java.util.stream.*;
import java.util.function.*;
public class Summing {
static volatile long x;
static void timeTest(String id, long checkValue,
LongSupplier operation) {
System.out.print(id + ": ");
long t = System.currentTimeMillis();
long result = operation.getAsLong();
long duration = System.currentTimeMillis() - t;
if(result == checkValue)
System.out.println(duration + "ms");
else
System.out.format("result: %d\ncheckValue: %d\n",
result, checkValue);
x = result; // Prevent optimization
}
public static int SZ = 100_000_000;
// This even works:
// public static int SZ = 1_000_000_000;
// Gauss's formula:
public static final long CHECK =
(long)SZ * ((long)SZ + 1)/2;
public static void main(String[] args) {
System.out.println(CHECK);
timeTest("Sum Stream", CHECK, () ->
LongStream.rangeClosed(0, SZ).sum());
timeTest("Sum Stream Parallel", CHECK, () ->
LongStream.rangeClosed(0, SZ).parallel().sum());
timeTest("Sum Iterated", CHECK, () ->
LongStream.iterate(0, i -> i + 1)
.limit(SZ+1).sum());
// Takes longer, runs out of memory above 1_000_000:
// timeTest("Sum Iterated Parallel", CHECK, () ->
// LongStream.iterate(0, i -> i + 1)
// .parallel()
// .limit(SZ+1).sum());
}
}
/* Output:
5000000050000000
Sum Stream: 625ms
Sum Stream Parallel: 158ms
Sum Iterated: 2521ms
*/
The CHECK
value is calculated using the formula created by Carl Friedrich
Gauss while still in primary school in the late 1700’s.
This first version of main()
uses the straightforward approach of generating a
Stream
and calling sum()
. We see the benefits of streams in that a SZ
of a
billion is handled without overflow (I use a smaller number so the program
doesn’t take so long to run). Using the basic range operation with parallel()
is notably faster.
If iterate()
is used to produce the sequence the slowdown is dramatic,
probably because the lambda must be called each time a number is generated. But
if we try to parallelize that, the result not only takes longer than the
non-parallel version but it also runs out of memory when SZ
gets above a
million. Of course you wouldn’t use iterate()
when you could use range()
,
but if you’re generating something other than a simple sequence you must use
iterate()
. Applying parallel()
is a reasonable thing to attempt, but
produces these surprising results. We can make some initial observations
regarding the stream parallel algorithms:
Stream parallelism divides the incoming data into pieces so the algorithm(s) can be applied to those separate pieces.
Arrays split cheaply, evenly and with perfect knowledge of split sizes.
Linked Lists have none of these properties; “splitting” a linked list only means dividing it into “first element” and “rest of list,” which is relatively useless.
Stateless generators behave like arrays; the use of
range
above is stateless.Iterative generators behave like linked lists;
iterate()
is an iterative generator.
Now let’s try solving the problem by filling an array with values, then summing over the array. Because the array is only allocated once, it seems unlikely we’ll run into garbage collection timing issues.
First we’ll try an array filled with primitive long
s:
// Summing2.java
import java.util.*;
public class Summing2 {
static long basicSum(long[] ia) {
long sum = 0;
final int sz = ia.length;
for(int i = 0; i < sz; i++)
sum += ia[i];
return sum;
}
// Approximate largest value of SZ before
// running out of memory on my machine:
public static int SZ = 20_000_000;
public static final long CHECK =
(long)SZ * ((long)SZ + 1)/2;
public static void main(String[] args) {
System.out.println(CHECK);
long[] la = new long[SZ+1];
Arrays.parallelSetAll(la, i -> i);
Summing.timeTest("Array Stream Sum", CHECK, () ->
Arrays.stream(la).sum());
Summing.timeTest("Parallel", CHECK, () ->
Arrays.stream(la).parallel().sum());
Summing.timeTest("Basic Sum", CHECK, () ->
basicSum(la));
// Destructive summation:
Summing.timeTest("parallelPrefix", CHECK, () -> {
Arrays.parallelPrefix(la, Long::sum);
return la[la.length - 1];
});
}
}
/* Output:
200000010000000
Array Stream Sum: 114ms
Parallel: 27ms
Basic Sum: 33ms
parallelPrefix: 49ms
*/
The first limitation is memory size; because the array is allocated up front, we
can’t create anything nearly as large as the previous version. Parallelizing
speeds things up, even a bit faster than just looping through using
basicSum()
. Interestingly, Arrays.parallelPrefix()
doesn’t speed things up
as much as we might imagine. However, any of these techniques might be more
useful under other conditions—that’s why you can’t make any deterministic
statements about what to do, other than “you have to try it out.”
Finally, consider the effect of using wrapped Long
s instead:
// Summing3.java
import java.util.*;
public class Summing3 {
static long basicSum(Long[] ia) {
long sum = 0;
final int sz = ia.length;
for(int i = 0; i < sz; i++)
sum += ia[i];
return sum;
}
// Approximate largest value of SZ before
// running out of memory on my machine:
public static int SZ = 10_000_000;
public static final long CHECK =
(long)SZ * ((long)SZ + 1)/2;
public static void main(String[] args) {
System.out.println(CHECK);
Long[] La = new Long[SZ+1];
Arrays.parallelSetAll(La, i -> (long)i);
Summing.timeTest("Long Array Stream Reduce",
CHECK, () ->
Arrays.stream(La).reduce(0L, Long::sum));
Summing.timeTest("Long Basic Sum", CHECK, () ->
basicSum(La));
// Destructive summation:
Summing.timeTest("Long parallelPrefix",CHECK, ()-> {
Arrays.parallelPrefix(La, Long::sum);
return La[La.length - 1];
});
}
}
/* Output:
50000005000000
Long Array Stream Reduce: 1046ms
Long Basic Sum: 21ms
Long parallelPrefix: 3287ms
*/
Now the amount of memory available is approximately cut in half, and the amount
of time required has exploded in all cases except basicSum()
, which simply
loops through the array. Surprisingly, Arrays.parallelPrefix()
takes
significantly longer than any other approach.
I separated the parallel()
version because running it inside the above program
caused a lengthy garbage collection, distorting the results:
// Summing4.java
import java.util.*;
public class Summing4 {
public static void main(String[] args) {
System.out.println(Summing3.CHECK);
Long[] La = new Long[Summing3.SZ+1];
Arrays.parallelSetAll(La, i -> (long)i);
Summing.timeTest("Long Parallel",
Summing3.CHECK, () ->
Arrays.stream(La).parallel().reduce(0L,Long::sum));
}
}
/* Output:
50000005000000
Long Parallel: 1008ms
*/
It’s slightly faster than the non-parallel()
version, but not significantly.
A big reason for this increase in time is the processor memory cache. With the
primitive long
s in Summing2.java
, the array la
is contiguous memory. The
processor can more easily anticipate the use of this array and keep the cache
filled with the array elements that will be needed next. Accessing the cache is
much, much faster than going out to main memory. It appears that the
Long parallelPrefix
calculation suffers because it not only reads two array
elements for each calculation, plus writes the result back into the array, and
each of these produces an out-of-cache reference for the Long
.
With Summing3.java
and Summing4.java
, La
is an array of Long
, which is
not a continguous array of data, but a contiguous array of references to Long
objects. Even though that array will probably be kept in cache, the objects
pointed to will almost always be out-of-cache.
These examples have used different SZ
values to show the memory limits. To do
a time comparison, here are the results with SZ
set to the smallest value of
10 million:
Sum Stream: 69ms
Sum Stream Parallel: 18ms
Sum Iterated: 277ms
Array Stream Sum: 57ms
Parallel: 14ms
Basic Sum: 16ms
parallelPrefix: 28ms
Long Array Stream Reduce: 1046ms
Long Basic Sum: 21ms
Long parallelPrefix: 3287ms
Long Parallel: 1008ms
While the various new built-in “parallel” tools in Java 8 are terrific, I’ve
seen them treated as magical panaceas: “All you need to do is throw in
parallel()
and it will run faster!” I hope I’ve begun to show that this is not
the case at all, and that blindly applying the built-in “parallel” operations
can sometimes even make things run a lot slower.
Language and library support for concurrency and parallelism seem like perfect candidates for the term “leaky abstraction,” but I’ve started to wonder whether there’s really any abstraction at all—when writing these kinds of programs you are never shielded from any of the underlying systems and tools, even including the CPU cache. Ultimately, if you’ve been very careful, what you create will work in a particular situation, but it won’t work in different situation. Sometimes the difference is the way two different machines are configured, or the estimated load for the program. This is not specific to Java per se—it is the nature of concurrent and parallel programming.
You might argue that a pure functional language doesn’t have these same restrictions. Indeed, a pure functional language solves a large number of problems. But ultimately, if you write a system that has, for example, a queue somewhere, if things aren’t tuned right and the input rate either isn’t estimated correctly or throttled (and throttling means different things and has different impacts in different situations), that queue will either fill up and block, or overflow. In the end, you must understand all the details, and any issue can break your system. It’s a very different kind of programming.
I’d like feedback on this; if I’ve made any obvious missteps please describe them in the comments. Thanks!


XRP Ledger Transactions Hit All-Time High, Blast Ahead of Bitcoin, Ethereum, Bitcoin Cash and Litecoin
by Daily Hodl StaffAccording to BitInfoCharts, transactions on the third-largest cryptocurrency by market cap skyrocketed to an all-time high of 3.53 million on Friday, soaring past its previous high of 1.70 million, which was set back in January.
The transactions are well ahead of BTC, ETH, BCH and LTC, with Ethereum coming in behind XRP at 794,000 transactions in the last 24 hours.
Big data analyst and Forbes contributor Thomas Silkjær, says the XRP Ledger is being bombarded with payments that serve no purpose other than to spam the network.
“The XRPL is currently processing roughly 90 transactions per second while being ‘under attack’ by countless payments serving no purpose, other than burning fees.
The minimum fee has increased by 2 drops (or ~USD 0,000045).”
After tracking the path of the transactions, Silkjær says he believes one person is sending huge numbers of IOUs across the ledger. The XRP Ledger features a built-in decentralized exchange with an IOU system that’s designed to give people a way to trade any type of asset electronically.
Silkjær believes whoever is sending the transactions has spent 40,000 XRP worth about $9,200 in the process.
“Somebody has spent 40K+ XRP to activate more than 2000 accounts, that is slowly burning away all the account reserve by sending non-XRP payment transactions.
This is actually a funny thing about the XRPL. If you have IOUs, you cannot risk, not being able to spend it, even if your account reserve is low. As long as you have enough XRP left in the account to pay for fees, you can spend it.
No matter the purpose of this activity, we’re watching a distributed network handling it perfectly. Bravo!”
You can track transactions on the ledger in real-time via the XRP Ledger Livenet here.


Service Worker
Weather App Demos
1. AppCache
2. Basic 0
3. Basic 1
4. Basic 2
5. Basic 3
6. Improved
7. Push
Explore code on GitHub


General
Inputs
Outputs
Marker
DBs
SIEMENS S7
PLC Connection:
PLC IP Address:
S7 LOGO!:
PLC Rack:
PLC Slot:
Local TSAP:
Remote TSAP:
General
Round Real to:
Poll delay:
ms
Reconnect time:
ms
Pulse time:
ms
S7 Time mode:
Local time
UTC
Offset (with day saving time)
Offset (no day saving time)
Time offset:
minutes
Import symbols file:
Import DB file:
Text copied to clipboard. Click to close the window


--- layout: post title: "March 2016 Ed-Tech Funding Data" date: 2016-03-31 10:35:00 +0000 tags: image: https://s3.amazonaws.com/hackedu/2016-03-31-roulette.jpg imagecredits: https://www.flickr.com/photos/johnwardell/80125882 ---
It’s time once again to assess “the business of ed-tech” – or at least, calculate the “deal flow” in ed-tech startup-land over the last 30 days or so.
tl;dr: things aren’t looking so good if your ed-tech startup’s revenue model primarily involves raising venture capital.
I noted in both January and in February that investment levels appear to be down in 2016 when compared to the same time last year. That trend continued in March (and more generally, investment seems to be slowing down across the technology sector – not just in ed-tech – with plenty of speculation about burst bubbles).
The amount of investment and the number of deals were down again in March from January and February, although the total dollar figure was up from this time last year. By my calculations, there were 13 funding rounds in March, totaling roughly $131 million. (By comparison, in March 2015, there were 16 rounds, totaling roughly $118 million.)
More than half that $131 million figure came from the $75 million investment in the Indian test prep company Byju.
These sorts of large investments do tend to tend to skew comparisons between months. In February, for example, there was one $60 million investment (in Student.com). And in January and February 2015, there were 3 $100+ million investments (in SoFi, Lynda.com, and 17zuoye). In March 2015, there was one $50 million investment (in Genshuixue). You could exclude these giant rounds in order to compare the average funding levels from this year and last, but I’m not sure that’d be terribly accurate either. (But hey, this is one reason why I make the raw data available so folks can crunch the numbers themselves. Well, also because lots of folks charge for this data and that doesn't seem to do much for transparency or equity, does it.)
Investment Totals:
| · January · | · February · | · March · | |
|---|---|---|---|
| 2015 | $358,185,000 | $429,896,000 | $117,750,000 |
| 2016 | $166,140,000 | $149,700,000 | $131,050,000 |
Number of Deals:
| · January · | · February · | · March · | |
|---|---|---|---|
| 2015 | 23 | 25 | 16 |
| 2016 | 17 | 14 | 13 |
Number of Acquisitions:
| · January · | · February · | · March · | |
|---|---|---|---|
| 2015 | 6 | 8 | 5 |
| 2016 | 9 | 10 | 10 |
Tutoring and test prep are still two of the areas of ed-tech that receive the most investment activity (so congrats, ed-tech for exacerbating educational inequality).
Here are the companies that have raised the most money so far this year:
You can find all this data (and more) – including JSON files with the year-to-date’s worth of investment, acquisition, and merger information – in the GitHub repo that powers this website.


2
1 Now concerning the coming of our Lord Jesus Christ and our being gathered together to be with him, we ask you, brothers,
2 that you not be easily disturbed or troubled, either by a spirit, by a message, or by a letter that seems to be coming from us, to the effect that the day of the Lord has already come.
3 Let no one deceive you in any way. For it will not come until after the falling away comes, and the man of lawlessness is revealed, the son of destruction.
4 This is he who opposes and exalts himself against all that is called God or that is worshiped, so that he sits in the temple of God and he portrays himself as God.
5 Do you not remember that when I was with you I told you these things?
6 Now you know what restrains him, so that he will be revealed only at the right time.
7 For the mystery of lawlessness is already working, only there is one who restrains him now until he is taken out of the way.
8 Then the lawless one will be revealed, whom the Lord Jesus will kill with the breath of his mouth, and bring to nothing by the revelation of his coming.
9 The lawless one's coming will be due to the work of Satan with all power, signs, and false wonders,
10 and with all deceit of unrighteousness for those who are perishing, because they did not receive the love of the truth that they might be saved.
11 For this reason God is sending them a work of error so that they would believe a lie,
12 that they all might be judged, those who did not believe the truth but took pleasure in unrighteousness.
13 But we should always give thanks to God for you, brothers loved by the Lord, because God chose you as the first fruits for salvation in sanctification of the Spirit and belief in the truth,
14 to which he called you through our gospel to obtain the glory of our Lord Jesus Christ.
15 So then, brothers, stand firm, and grasp the traditions that you were taught, whether by word or by our letter.
16 Now may our Lord Jesus Christ himself, and God our Father who loved us and gave us eternal comfort and good confidence for the future through grace,
17 comfort and establish your hearts in every good work and word.


MS Dhoni to produce TV show on Army officers
by Sana FarzeenWritten by Sana Farzeen | Mumbai | Updated: December 9, 2019 7:55:38 pm
MS Dhoni is all set to turn producer for TV show. (Express Photo by Shuaib Masoodi)
Former Indian cricket team captain Mahendra Singh Dhoni is set to produce his maiden television show. The episodic show will bring to life the story of brave army officers, who have been honoured with the Param Vir Chakra and Ashoka Chakra.
Shared a source with indianexpress.com, “During his sabbatical from sports, Dhoni spent a lot of time with army officers. He even went on to complete a two-week stint with India’s Territorial Army. That’s how he got to know more about the brave soldiers. He understood the soldiers and their families’ hardships. Wanting to bring their story to the fore, Dhoni decided to bankroll this project.”
The source added that the show will be produced under Dhoni Entertainment Pvt Ltd in collaboration with StudioNext, the content creation wing of SET India. The series is currently in the scripting stage and will launch only next year. While it hasn’t been confirmed yet but the yet-untitled show will mostly air on Sony TV.
Earlier this year, MS Dhoni also produced Hotstar Special’s Roar of the Lion, featuring Captain Cool himself. The docu-drama told the story of the comeback of the Chennai Super Kings to lift the 2018 IPL trophy.
A biopic M.S Dhoni: The Untold Story was made in 2016 on Dhoni’s life. Directed by Neeraj Pandey, it featured Sushant Singh Rajput in the lead role.
For all the latest Entertainment News, download Indian Express App
© IE Online Media Services Pvt Ltd
- Tags:
- MS Dhoni


The continent, which has a population of more than one billion, has had about 1.5 million cases, according to data compiled by the John Hopkins University. These figures are far lower than those in Europe, Asia or the Americas, with reported cases continuing to decline. Africa has recorded about 37.000 deaths, compared with roughly 580,000 in the Americas, 230,000 in Europe, and 205,000 in Asia. "The case-fatality ratio (CFR) for Covid-19 in Africa is lower than the global CFR, suggesting the outcomes have been less severe among African populations," noted a recent continental study by Partnership for Evidence-based Response to Covid-19 (PERC), which brings together a number of private and public organizations. "The slower spread of infection in the region means we expect the pandemic to continue to smoulder for some time, with occasional flare-ups," Dr Moeti said.
"The case-fatality ratio (CFR) for Covid-19 in Africa is lower than the global CFR, suggesting the outcomes have been less severe among African populations," noted a recent continental study by Partnership for Evidence-based Response to Covid-19 (PERC), which brings together a number of private and public organizations. "The slower spread of infection in the region means we expect the pandemic to continue to smoulder for some time, with occasional flare-ups," Dr Moeti said.


Introduction to Hadoop and MapReduce Framework and Programming Model
Created by Hakim El Hattab and contributors
reveal.js enables you to create beautiful interactive slide decks using HTML. This presentation will show you examples of what it can do.
Slides can be nested inside of each other.
Use the Space key to navigate through all slides.
Nested slides are useful for adding additional detail underneath a high level horizontal slide.
That's it, time to go back up.
Not a coder? Not a problem. There's a fully-featured visual editor for authoring these, try it out at https://slides.com.
This slide is visible in the source, but hidden when the presentation is viewed. You can show all hidden slides by setting the `showHiddenSlides` config option to `true`.
import React, { useState } from 'react';
function Example() {
const [count, setCount] = useState(0);
return (
...
);
}
Code syntax highlighting courtesy of highlight.js.
Press ESC to enter the slide overview.
Hold down the alt key (ctrl in Linux) and click on any element to zoom towards it using zoom.js. Click again to zoom back out.
(NOTE: Use ctrl + click in Linux.)
Automatically animate matching elements across slides with Auto-Animate.
Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides.
Add the r-fit-text
class to auto-size text
Hit the next arrow...
... to step through ...
... a fragmented slide.
There's different types of fragments, like:
grow
shrink
fade-out
fade-right, up, down, left
fade-in-then-out
fade-in-then-semi-out
Highlight red blue green
You can select from different transitions, like:
None -
Fade -
Slide -
Convex -
Concave -
Zoom
reveal.js comes with a few themes built in:
Black (default)
-
White
-
League
-
Sky
-
Beige
-
Simple
Serif
-
Blood
-
Night
-
Moon
-
Solarized
Set data-background="#dddddd"
on a slide to change
the background color. All CSS color formats are supported.

Different background transitions are available via the backgroundTransition option. This one's called "zoom".
Reveal.configure({ backgroundTransition: 'zoom' })
You can override background transitions per-slide.

Since reveal.js runs on the web, you can easily embed other web content. Try interacting with the page in the background.
| Item | Value | Quantity |
|---|---|---|
| Apples | $1 | 7 |
| Lemonade | $2 | 18 |
| Bread | $3 | 2 |
These guys come in two forms, inline:
The nice thing about standards is that there are so many to
choose from
and block:
“For years there has been a theory that millions of monkeys typing at random on millions of typewriters would reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.”
You can link between slides internally, like this.
There's a speaker view. It includes a timer, preview of the upcoming slide as well as your speaker notes.
Press the S key to try it out.
Presentations can be exported to PDF, here's an example:
Set data-state="something"
on a slide and
"something"
will be added as a class to the document element when the slide is
open.
Additionally custom events can be triggered on a per slide basis by
binding to the data-state
name.
Reveal.on( 'customevent', function() {
console.log( '"customevent" has fired' );
} );
Press B or . on your keyboard to pause the presentation. This is helpful when you're on stage and want to take distracting slides off the screen.


node-parallel-tasks
A tool to share tasks among machines in your localhost
Install and set up
git clone https://github.com/vikramthyagarajan/node-parallel-tasks.git cd node-parallel-tasks npm install
Run
node .
Documentation
There are 2 ways to check out the docs-
- Go to the docs/ folder and open index.html
- Type 'grunt docs' in the terminal in the project. A window will open in your browser with the docs.
NOTE: You might need grunt installed to work on the docs.


Rotate
Zoom
Pan
teapot.obj
shoe.obj
bunny.obj
buddha.obj
dragon.stl
shoelast.obj
hard_milk.stl
helicopter.obj
Load
render as points
render as wireframe
render as flat
render as smooth
render with environment
Change


I am a Responsive Designer & Developer who loves creative design and providing the best user experience. When I'm not working, I am exploring my new home in Southern California and all the outdoor activities it has to offer!
I am a Responsive Designer & Developer who loves creative design and providing the best user experience. When I'm not working, I am exploring my new home in Southern California and all the outdoor activities it has to offer!
I'm originally from the east coast. I was born in Connecticut and after going to school in New York, I made the move to Hoboken, New Jersey. I never thought I would live in NJ!
After getting married to a New Jersey guy, we made the decision to move to Southern California. We exercise outside together, hike, surf and bike along the ocean- things we could only do 3 months out of the year back east!
We miss our friends and family but try to see everyone as often as we can. As great as the tacos are out here, nothing beats New York bagels, pizza and Italian food!


| Request |
To |
Subject |
Body |
Response |
| Send in my availability for the week of Feb 2 |
c+availability@domain |
2012-02-20 +09:00 (timezone offset) If only week, then assume UTC timezone If blank, then assume current Monday and UTC |
Mon Wed Fri 3pm - 7pm Tue Thu 11:30am - 6pm |
scheduler: none (store availability record) mail_whale: Forward to subscribers of "availability" mailing list |
| Specify the date or date range of an event and its duration |
c+some-event.schedule@domain |
(none) |
week of 2012-02-20 90 min -or- on 2012-02-22 60 min If duration not specified, assume 60. |
scheduler:
store event record keyed by list-id ("some-event"); reply with an
invitation email to list subscribers to put in their availability mail_whale: none (processing halted by scheduler) |
| What are the current best times to meet for all subscribers to some-event? |
c+some-event.schedule-list@domain |
(none) |
(ignored) |
scheduler: Reply with best scheduled times to subscribers of "some-event" mailing list mail_whale: none (processing halted by scheduler) |
| What are the current available timeslots for some-user for some-event? |
c+some-event.schedule-show@domain |
some-user@domain |
(ignored) |
scheduler:
Reply with all available times for some-user@domain to sender. The user
doesn't necessarily have to be a subscriber to the "some-event" list. mail_whale: none (processing halted by scheduler) |


Lionel Vayssieres is advocator and co-founder of the International Research Center for Renewable Energy (IRCRE), he is concurrently a Global Expert Professor, chief scientist and director of the photoelectrochemical and functional materials research department of the center. more
|
|


Our original beer always has been enjoyed by people looking for a bold and refreshing taste.
Our original beer always has been enjoyed by people looking for a bold and refreshing taste but with lesser alcohol in them.
Our brand mashed up beer where it still has our beloved bold and refreshing taste but with a bit of surprise. (15oz.)
Our brand mashed up beer where it still has our beloved bold and refreshing taste but with a bit of surprise. (11oz.)


{{main_title}}
{{main_subtitle}}
Start date:
End date:
Submit
Days in field
Days in field - pie chart
Days in field - bar data
Placeholder for generic chart