Reads best without arguments: 10.minutes.ago
# File lib/active_support/core_ext/numeric/time.rb, line 65 def ago(time = ::Time.current) time - self end
# File lib/active_support/json/encoding.rb, line 185 def as_json(options = nil) self end
Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes
# File lib/active_support/core_ext/numeric/bytes.rb, line 10 def bytes self end
# File lib/active_support/core_ext/numeric/time.rb, line 49 def days ActiveSupport::Duration.new(self * 24.hours, [[:days, self]]) end
Numbers are not duplicable:
3.duplicable? # => false 3.dup # => TypeError: can't dup Fixnum
# File lib/active_support/core_ext/object/duplicable.rb, line 79 def duplicable? false end
# File lib/active_support/json/encoding.rb, line 186 def encode_json(encoder) to_s end
# File lib/active_support/core_ext/numeric/bytes.rb, line 40 def exabytes self * EXABYTE end
# File lib/active_support/core_ext/numeric/time.rb, line 59 def fortnights ActiveSupport::Duration.new(self * 2.weeks, [[:days, self * 14]]) end
Reads best without arguments: 10.minutes.from_now
# File lib/active_support/core_ext/numeric/bytes.rb, line 25 def gigabytes self * GIGABYTE end
# File lib/active_support/core_ext/numeric/time.rb, line 44 def hours ActiveSupport::Duration.new(self * 3600, [[:seconds, self * 3600]]) end
# File lib/active_support/core_ext/string/output_safety.rb, line 82 def html_safe? true end
# File lib/active_support/core_ext/numeric/bytes.rb, line 15 def kilobytes self * KILOBYTE end
# File lib/active_support/core_ext/numeric/bytes.rb, line 20 def megabytes self * MEGABYTE end
# File lib/active_support/core_ext/numeric/time.rb, line 39 def minutes ActiveSupport::Duration.new(self * 60, [[:seconds, self * 60]]) end
# File lib/active_support/core_ext/numeric/bytes.rb, line 35 def petabytes self * PETABYTE end
Enables the use of time calculations and declarations, like 45.minutes + 2.hours + 4.years.
These methods use Time#advance for precise date calculations when using from_now, ago, etc. as well as adding or subtracting their results from a Time object. For example:
# equivalent to Time.now.advance(:months => 1) 1.month.from_now # equivalent to Time.now.advance(:years => 2) 2.years.from_now # equivalent to Time.now.advance(:months => 4, :years => 5) (4.months + 5.years).from_now
While these methods provide precise calculation when used as in the examples above, care should be taken to note that this is not true if the result of `months’, `years’, etc is converted before use:
# equivalent to 30.days.to_i.from_now 1.month.to_i.from_now # equivalent to 365.25.days.to_f.from_now 1.year.to_f.from_now
In such cases, Ruby’s core Date and Time should be used for precision date and time arithmetic
# File lib/active_support/core_ext/numeric/time.rb, line 34 def seconds ActiveSupport::Duration.new(self, [[:seconds, self]]) end
Reads best with argument: 10.minutes.since(time)
# File lib/active_support/core_ext/numeric/time.rb, line 73 def since(time = ::Time.current) time + self end
# File lib/active_support/core_ext/numeric/bytes.rb, line 30 def terabytes self * TERABYTE end
Reads best with argument: 10.minutes.until(time)
# File lib/active_support/core_ext/numeric/time.rb, line 54 def weeks ActiveSupport::Duration.new(self * 7.days, [[:days, self * 7]]) end
Generated with the Darkfish Rdoc Generator 2.


#include <stdio.h> char *tmpnam(char *s);
The tmpnam() function returns a pointer to a string that is a valid filename, and such that a file with this name did not exist at some point in time, so that naive programmers may think it a suitable name for a temporary file. If the argument s is NULL, this name is generated in an internal static buffer and may be overwritten by the next call to tmpnam(). If s is not NULL, the name is copied to the character array (of length at least L_tmpnam) pointed to by s and the value s is returned in case of success.
The pathname that is created, has a directory prefix P_tmpdir. (Both L_tmpnam and P_tmpdir are defined in <stdio.h>, just like the TMP_MAX mentioned below.)
The tmpnam_r() function is thread-safe.
Although tmpnam() generates names that are difficult to guess, it is nevertheless possible that between the time that tmpnam() returns a pathname, and the time that the program opens it, another program might create that pathname using open(2), or create it as a symbolic link. This can lead to security holes. To avoid such possibilities, use the open(2) O_EXCL flag to open the pathname. Or better yet, use mkstemp(3) or tmpfile(3).
Portable applications that use threads cannot call tmpnam() with a NULL argument if either _POSIX_THREADS or _POSIX_THREAD_SAFE_FUNCTIONS is defined.
A POSIX draft proposed to use a function tmpnam_r() defined by
char * tmpnam_r(char *s) { return s ? tmpnam(s) : NULL; }
apparently as a warning not to use NULL. A few systems implement it. To get a glibc prototype for this function from <stdio.h>, define _SVID_SOURCE or _BSD_SOURCE (before including any header file).


This controller can be used both for DC/DC and AC/DC converters.
The signal input of the PWM controller is the duty cycle; the duty
cycle is the ratio of the on time to the switching period. The
output firing signal is strictly determined by the actual duty
cycle, indicated as d
in Fig. 1.
The firing signal is generated by comparing the sampled duty cycle input with a periodic saw tooth signal [Williams2006].


CarLease App
A Simple program to calculate how many miles to drive per month if you only had a certain number of miles to drive per year on your lease
Get The Current Miles Limit
Select the current Term that you are currently in on your lease to generate what the current limit is for this month.


| Edition 2019-20 Edition 2020-21 |
Enrique Plaza is one of the few researchers who unites the areas of multi-agent learning, case-based reasoning and argumentation. Machine argumentation, also known as defeasible reasoning [must click link to understand] and machine learning are rather disjoint fileds, because argumentation is symbolic while learning typically is numeric. (New topic for 2013.)
Presented byLecturer. |
SlidesT.B.P. |
ScreencastNot available. |
AssignmentNot this year. |


"The place to trade your ICS books in a flash, so you can save some cash!!!"
SITE INSTRUCTIONS :
To search for other offers and requests enter the book name in the search bar and click "Search".
To buy your books, click "Book Requests" and fill out the form.
To sell your books, click "Book Offer" and fill out the form.
}


Brooke Wenig + Guillaume Calmettes
| What is really behind | What the result will be | |||
| Door 1 | Door 2 | Door 3 | Staying at door 1 | Switching to the door offered |
| Car | Goat | Goat | Wins car | Wins goat |
| Goat | Car | Goat | Wins goat | Wins car |
| Goat | Goat | Car | Wins goat | Wins car |
| Chance of getting the car: | $1/3$ | $2/3$ |
Computer algorithms that learn patterns in your data.
Note:
Computers are vulnerable to making mistakes, like humans (will talk about this at the end)
if salary < 50k:
Decline offer
else if salary > 50k and commute > 1 hr
Decline offer
Really, it's an upside tree
(leaves on bottom)
Leaf:
Terminal node (no child)
Internal Node:
Splits the predictor space
| Examples | Attributes | Target Wait | |||||||||
| Alt | Bar | Fri | Hun | Pat | Price | Rain | Res | Type | Est | ||
| $X_1$ | T | F | F | T | Some | F | T | French | 0-10 | T | |
| $X_2$ | T | F | F | T | Full | F | F | Thai | 30-60 | F | |
| $X_3$ | F | T | F | F | Some | F | F | Burger | 0-10 | T | |
| $X_4$ | T | F | T | T | Full | F | F | Thai | 10-30 | T | |
| $X_5$ | T | F | T | F | Full | F | T | French | >60 | F | |
| $X_6$ | F | T | F | T | Some | T | T | Italian | 0-10 | T | |
| $X_7$ | F | T | F | F | None | T | F | Burger | 0-10 | F | |
| $X_8$ | F | F | F | T | Some | T | T | Thai | 0-10 | T | |
| $X_9$ | F | T | T | F | Full | T | F | Burger | >60 | F | |
| $X_{10}$ | T | T | T | T | Full | F | T | Italian | 10-30 | F | |
| $X_{11}$ | F | F | F | F | None | F | F | Thai | 0-10 | F | |
| $X_{12}$ | T | T | T | T | Full | F | F | Burger | 30-60 | T |
Patrons is a better choice because it gives more information about the classification
$H[X] = -\sum_{k=1}^K P(X = a_{k})*log(P(X = a_{k}))$
Grow tree until stopping criteria reached (max depth, minimum information gain, etc.)
Greedy, recursive partitioning
Pros
Cons
Averaging a set of observations reduces variance.
But we only have one training set ... or do we?
Simulate new datasets:
Take samples (with replacement) from original training set
Repeat $n$ times
Sample has $n$ elements.
Probability of getting picked:
Probability of not getting picked:
If you sample $n$ elements with replacement, the probability for each element of not getting picked in the sample is then: $(1-\frac{1}{n})^n$
As ${n\to\infty}$, this probability approaches $\frac{1}{e}\approx.368$
Thus, $0.632$ of the data points in your original sample show up in the Bootstrap sample (the other $0.368$ won't be present in it)
Each bootstrap sample:
n=100, drawing WITH replacement
from original sample
Not selected
Selected 1 time
Selected 2 times
Selected $\geq$3 times
Theory: 0.632
Train a tree on each bootstrap sample, and average their predictions (Bootstrap Aggregating)
Can grow deep trees!
Like bagging, but removes correlation among trees.
At each split, considers only a subset of predictors.
Notes:
Random forest typically considers $\sqrt{\textrm{number of features}}$ at each split (if 10 features, then it considers $\sqrt{10}\approx3$ features), and picks the best one.
Superstition is overfitting to your training data.
Failing to learn from your mistakes = underfitting.
I keep saying the sexy job in the next ten years will be statisticians. People think I’m joking, but who would’ve guessed that computer engineers would’ve been the sexy job of the 1990s?
- Google’s Chief Economist Hal Varian (2009) -
A data scientist is a statistician that lives in San Francisco.
Data science is statistics on a Mac.
A data scientist is someone who is better at statistics than any software engineer and better at software engineering than any statistician
Right or left skewed?
Plus, they are paid more:
Mean salary: $\$120,000$
Median salary: $\$126,000$
Grad school? Departmental Scholars
Industry? Check out data science bootcamps!


DWR 3.0 features a new FileConverter that handles the following binary files:
In order for upload to work, commons-fileupload and commons-io are required on the classpath. See the commons-upload dependency chart for more information. DWR will give you the error message: "file uploads not supported" if this JAR file is missing.
<init-param> <param-name>fileUploadMaxBytes</param-name> <param-value>5000</param-value> </init-param>
<init-param> <param-name>org.directwebremoting.dwrp.FileUpload</param-name> <param-value>your.package.YourFileUploadImpl</param-value> </init-param>
The DWR war file contains an example of generating PDF files, as well as uploading and downloading images. Full source and explanations are included with these examples.


Japanese retailer Bauhutte sells a great deal of furniture aimed at “gamers,” but few can top its one-stop shop for sleep and gaming. Like Voltron, but made for people who refuse to use major muscle groups, the Bauhutte “ultimate gaming bed” combines an elevated headboard, desk, snack shelves, tablet holder, and a bed to ensure you will only have to get up to use the bathroom, hopefully.
The full setup, which turns eight different products into a cocoon, costs roughly ¥113,250, or about $1,048 (snacks sold separately). “I wake up and move from my bed to my desk,” its description reads. “Why is that so complicated? Gaming beds solve this problem.”
Cyberpunk 2077 is an upcoming role-playing video game developed and published by CD Projekt. It is scheduled to be released for Microsoft Windows, PlayStation 4, Stadia, and Xbox One on 17 September 2020. Adapted from the Cyberpunk franchise, it takes place in dystopian Night City, an open world with six distinct regions. Players assume the role of the customisable mercenary V in a first-person perspective, acquiring skills in hacking and machinery, an arsenal of ranged weapons, and options for melee combat. Both lethal and non-lethal playthroughs are possible.
Cyberpunk 2077 is played in a first-person perspective as V, a mercenary whose voice, face, hairstyles, body type and modifications, background, and clothing are customisable. Stat categories—Body, Intelligence, Reflexes, Technical, and Cool—are influenced by the character classes that players assume, which are NetRunner (hacking), Techie (machinery), and Solo (combat). The perk tree branches into melee, blades, handguns, shotguns, rifles, sniper rifles, hacking, two-handed combat, assassination, "cold blood", engineering, and athletics. V must consult a "ripperdoc" to upgrade and purchase cyberware implants; black markets offer military-grade abilities. The rarity of any given equipment is shown by a coloured tier system. V can take cover, aim, run on the ground and walls, jump, double jump, and slide.


Welcome! Armadillog is a web console log. It makes it easier and faster to sift through application logs etc. Input a file or a piece of text, apply a set of filters and check out the result. You can narrow the output down to the point where you see exactly what is relevant to your current need. Input files are automatically being followed - constantly checked for modifications so the console is up to date. It's still a work in progress, so please feel free to send me any bug reports or feature requests. Grzegorz Wasiak @ennovum<EMAIL_ADDRESS>CHANGELOG: 0.0.3 - persistent filter data (local storage) - box model based layout - massive data model related refactoring - performance & workers related refactoring - visual adjustments - minor bug fixes 0.0.2 - Examine tab - minor bug fixes 0.0.1 - Armadillog - web console


{% if member.parent_member %}
父类别:
{{ member.parent_member.name }}
{% endif %}
当前类别:
{{ member }}
{% with member.member_set.all as members %} {% if members %}
子类别:
{% for member in members %}
{{ member.name }}
{% endfor %} {% endif %} {% endwith %} {% with member.get_same_level_member as members %} {% if members %}
当前目录级别：
{% for member in members %}
{{ member }}
{% endfor %} {% endif %} {% endwith %}
Post： {% for name in post..all %}
{{ post.name }}
{% endfor %}


Short version:
See this MSDN article.
Longer version:
I needed to get another developer’s WebParts building under my CruiseControl server today. After checking the code out on the build box I realized that I would need a few dependencies that were not available since SharePoint was not installed on the build machine. After grabbing the obvious references I needed to build the project and changing the project references around I got to a point where MSBuild was giving me the following error:
1 2 3 |
|
Ok, so apparently I needed to install the Windows SDK on the build box. More specifically, I needed to grab the .NET SDK, which is now distributed as part of the Windows SDK as of the .NET 4.0 Framework. Thankfully the Web installer allows you to install just the .NET components, so I didn’t have to download the entire ISO image just to grab the .NET SDK.
I ran msbuild again and got the following error:
1 2 3 4 5 |
|
I copied the targets over from another machine that had Visual Studio installed, and now I got another error:
1 2 3 4 5 |
|
I searched around for Microsoft.VisualStudio.SharePoint.Designers.Models.dll but I didn’t find it right away. I thought that it was time to start Googling around to see where this tunnel ends and turned up this document from Microsoft.
This outlines exactly what I was trying to figure out in the steps above. Unfortunately it looks like a lot of work so I have to bail and just install CruiseControl on one of the SharePoint machines for now. I’ll be sure to update this if I give it another shot.
UPDATE: I did get CruiseControl to build a SharePoint project on a machine without SharePoint installed on it. Every detail that you need to make this work is in the MSDN article for getting TFS builds to work. The only difference is that you will kick off the msbuild process from CruiseControl instead of TFS. One drawback to building on a machine that does not have SharePoint is that you won’t be able to run automated tests that involve calls to SharePoint functionality. If you are careful about your design though, a lot of functionality can be tested without SharePoint since most Web Part functionality is now actually part of ASP.NET.


Download and try JetFuel
Click here to download JetFuel.
Licence :- Free trial of the full version for 3 months. Please email
<EMAIL_ADDRESS>competitive corporate licenses.
Please amend the StartJetFuel.bat file with the following
- Update JAVA_HOME to point to java 8 on your box
- Update AMPS_CONNECTION to be JSON connection url. e.g.
tcp://<IP_ADDRESS>:8001/amps/json (only json connection has been
tested)
- Update AMPS_ADMIN_PORT to be admin port for the server e.g. 8199
- Update AMPS_ENV to be the environment, you can enter anything
here like uat, dev, prod. If prod is entered you wont see the publish
features of JetFuel.
Please note the following existing issues with this version:-
- Sometimes the fields in the chooser panel does not get selected
correctly. Or the validation method says no fields are selected. If
this happens just right click and "Reset" the list or click on
"Reset/Refresh Selection".
- Only json connection string has been tested
- New updates to show nested json is coming up.
- Deleted records for views are not shown well


Legacy code does have advantages: profits and users. Truth from @jwworth at #railsconf
4/25/2017, 11:44:58 AM
Favs: 15
Retweets: 6
link--- layout: tweet ---
Legacy code does have advantages: profits and users. Truth from @jwworth at #railsconf
4/25/2017, 11:44:58 AM
Favs: 15
Retweets: 6
link


Magic Trader Gentler:
Good, you brought back 500 Spirit Ore. Let me finish here.
Let me have the ore.
"Here it is."


Jane Doe
Seattle
Developer | Engineer | Problem Solver
Master of shadows and the Internet!
edit profile


@@include("../partials/head.html")
Access all premium courses, workshops, and mobile apps. Renewed monthly.


GEORGE WASHINGTON A film review by Christopher Null Copyright 2000 filmcritic.com filmcritic.com
What astonishes is not that George Washington is a good film, it's that the movie can tell such a powerful and complicated story in just 89 minutes. Its length is a telling reminder that length does not equal gravity. In fact, thinking over the last year or so of 2 1/2-hour-plus epics that never got around to saying much of anything, I'm inclined to believe that the opposite is true.
Recalling Days of Heaven and Sling Blade, George Washington takes us on a tour of the Deep South, centering on a preteen African-American named George (Richardson, not Washington -- played by Donald Holden), a boy whose skull bones have never fully developed. With his soft head, he wears a helmet wherever he goes and isn't allowed to go swimming, as the water would in some way soak into his brain, causing extreme pain.
George and his friends live the idle lives of teens on a near-permanent summer vacation, goofing off in the woods, breaking into abandoned buildings, stealing cars, and what have you. One day, the adventures get a little rough, and one of the children end up dead. Without really thinking about it, George and his friends simply cover it up, staging an accident and leaving the body to rot where it won't be found.
But something changes within George, and he slowly begins assuming the role of a superhero. After risking his own life to save a drowning boy, he eventually dons a cape and dog-skin cap to direct traffic through his Podunk town. George's life gets ever more mysterious, and still the film's title is not explained.
It's a slow burn and harrowing ride through what would otherwise be a standard coming of age flick. Partly scripted and partly improvised following David Gordon Green's amazing direction (this is his first film), the junkyard panoramas and organ music that punctuate the movie belie a sophistication you wouldn't otherwise expect from a movie like this. George Washington will not be a film for all tastes (and a cryptic, pedestrian title won't have 'em rushing to the theaters), but the film is simply so urgent it's hard to ignore. Worth looking around for.

The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Union All
Union All gathers records from one or more input sources into a single output. It is present under the Straight Pull category in the component palette since no transformations are performed on the incoming data.
Union All needs the schema of each of the input sources to be exactly same.The gathered data from each input source is transmitted via a single output port. It may contain two or more input ports and has no unused port on it. Also, the sort order is not maintained in the output records.
The Union All component can be easily distinguished in the component palette.
An enlarged version of the same is depicted when dragged on the canvas.
For further reference click on the links below:


The ESP32 Espressif IoT Development Framework / esp-idf
(based on FreeRTOS) is used for the Reader unit firmware. The Reader unit connects to the MakerLabs wi-fi network(s), and sends RFID tag IDs events to an HTTPS endpoint (currently in AWS), which returns the matching MakerLabs maker details for that tag (if any), including their permissions for the specific Reader unit making the request.
The format of data exchanged via the HTTPS request / response (as well as for messages within the firmware) uses flatbuffers encoding. New message types are introduced in *.fbs
files, used throughout the repo. Specific "canned" flatbuffer messages are generated from JSON templates (at build-time) and flashed to the device filesystem during programming. These flatbuffer files contain the details of the HTTPS requests to be sent.
The Reader authenticates itself via an OAuth access token which is refreshed every 20 minutes (the token is only valid for 1 hour maximum) from a hard-coded OAuth refresh token.
An additional background process checks for periodic over-the-air (OTA) firmware updates from hard-coded Google Drive folder every minute.
esp32-network-lib
Support Libraryesp-idf
version, component versionsA custom mbedtls component (@paulreimer/mbedtls#new-esp-idf) is used based on a fork that uses dynamic memory allocation for the TLS contexts. This allows multiple concurrent TLS sessions on the ESP32, which would otherwise trigger an out-of-memory condition.
The following versions are the last-known good ones:
esp-idf
's CMake
integration (using CMakeLists.txt
) should be used. Makefile
s (using component.mk
) are still supported but otherwise deprecated.esp-idf
Componentsu8g2
OLED Screen LibraryThe u8g2 library is used to display text on the OLED display screen. The custom interface between the library and the ESP32 I2C driver is implemented in the u8g2_esp32_hal.cpp
file.
display_behaviour
actor process operates the display using this component with its own runloop, accepting messages from the display.fbs
flatbuffer schema definition file.wiegand_reader
HID Global iClass RFID ReaderA custom component for extracting the RFID tag bits from an HID Global iClass series reader. These readers use the 2-wire Wiegand protocol, which is mapped to two ESP32 GPIOs.
The wiegand_reader
component is split into three classes:
WiegandReader
base class, implementing the GPIOs and 26-bit tag read functionality.HIDGlobalReader
class extending WiegandReader
to support a tag scanning state-machine which uses the HOLD pin to re-trigger a periodic tag read. Also supports toggling the beeper and green/red LEDs through additional GPIO pins.HIDGlobalTagID
helper class which validates the 26-bit tag read data (via parity check), and extracts the facility_code
and card_number
.scan
messages, and uses this component to toggle the hold line to see if a tag is still present, and report the tag ID when it is first seen/lost.


{% include 'authactions/nav.html' %} {% include 'authactions/footer.html' %}
insert commenting thingy here


Microsoft Updates Privacy Terms Following EU Probe
by Charlotte HenryMicrosoft updated the data privacy terms and conditions in its commercial cloud contracts on Monday, Reuters reported. It followed the EU finding that the company did not protect data in line with EU law.
The EDPS, the EU’s data watchdog, opened an investigation in April to assess whether Microsoft’s contracts with the European Commission and other EU institutions met data protection rules. It raised concerns about compliance in October. In a statement on its website addressing the issue, Microsoft said: “We will increase our data protection responsibilities for a subset of processing that Microsoft engages in when we provide enterprise services.” The company, the only major cloud provider to offer such terms in the European Economic Area and beyond, expects to offer the new provisions to public sector and enterprise customers in early 2020.
Check It Out: Microsoft Updates Privacy Terms Following EU Probe


Our focus
We think slightly out of the box, we believe that a club’s
resources
must not only be channeled into conducting
events but also to propagate learning and
teaching,
symbiotically.
That said, we conduct two flagship events, namely, DevFest
and WomenTechies, and tons of
insightful
workshops!