x******g 发帖数: 33885 | 1 真是爆菊流行,罪不罚众啊!
The Senate on Thursday evening voted 93-7 to approve a defense authorization
bill that includes a provision which not only repeals the military law on
sodomy, it also repeals the military ban on sex with animals--or bestiality.
On Nov. 15, the Senate Armed Services Committee had unanimously approved S.
1867, the National Defense Authorization Act, which includes a provision to
repeal Article 125 of the Uniform Code of Military Justice (UCMJ).
Article 125 of the UCMJ makes it illega... 阅读全帖 |
|
G**Y 发帖数: 33224 | 2 he President of Russia met with media representatives to answer a number of
their questions, in particular with regard to the situation in Ukraine.
PRESIDENT OF RUSSIA VLADIMIR PUTIN: Good afternoon, colleagues,
How shall we do this? This is what I’d like to suggest: let’s have a
conversation, rather than an interview. Therefore, I would ask you to begin
by stating all your questions, I will jot them down and try to answer them,
and then we will have a more detailed discussion of the specifics t... 阅读全帖 |
|
C*******r 发帖数: 10345 | 3 【 以下文字转载自 USANews 讨论区 】
发信人: Commissar (柯密同志), 信区: USANews
标 题: 喜拉痢看来就是psychopath
发信站: BBS 未名空间站 (Sat Oct 3 14:42:06 2015, 美东)
Secret Service agents: Hillary is a nightmare to work with
“‘Good morning, ma’am,” a member of the uniformed Secret Service once
greeted Hillary Clinton.
“F— off,” she replied.
That exchange is one among many that active and retired Secret Service
agents shared with Ronald Kessler, author of “First Family Detail,” a
compelling look at the intrepid personnel who shield ... 阅读全帖 |
|
l****z 发帖数: 29846 | 4 The Church of Obama
The president his issued his own Act of Supremacy.
By Mark Steyn
Announcing his support for Commissar Sebelius’s edicts on contraception,
sterilization, and pharmacological abortion, that noted theologian the Most
Reverend Al Sharpton explained: “If we are going to have a separation of
church and state, we’re going to have a separation of church and state.”
Thanks for clarifying that. The church model the young American state wished
to separate from was that of the British mo... 阅读全帖 |
|
l****z 发帖数: 29846 | 5 Chicago teen accused of impersonating cop _ again
July 25, 2013 - 2:37 PM
By DON BABWIN, Associated Press
CHICAGO (AP) — A 19-year-old Chicago man is accused of impersonating a
police officer — more than four years after he passed himself off as one
and even rode around on patrol for five hours.
Cook Count Bond Court Judge Laura Sullivan ordered Thursday that Vincent
Richardson be released on a promise to appear in court on August 15. He didn
't enter a plea; a $25,000 I-bond was issued, which h... 阅读全帖 |
|
C*******r 发帖数: 10345 | 6 Secret Service agents: Hillary is a nightmare to work with
“‘Good morning, ma’am,” a member of the uniformed Secret Service once
greeted Hillary Clinton.
“F— off,” she replied.
That exchange is one among many that active and retired Secret Service
agents shared with Ronald Kessler, author of “First Family Detail,” a
compelling look at the intrepid personnel who shield America’s presidents
and their families — and those whom they guard.
Kessler writes flatteringly and critically about people in b... 阅读全帖 |
|
发帖数: 1 | 7 放国歌的时候不站立致敬是违法的
36 U.S. Code § 301 - National anthem
(a)Designation.—
The composition consisting of the words and music known as the Star-Spangled
Banner is the national anthem.
(b)Conduct During Playing.—During a rendition of the national anthem—
(1)when the flag is displayed—
(A) individuals in uniform should give the military salute at the first note
of the anthem and maintain that position until the last note;
(B) members of the Armed Forces and veterans who are present but not in
uniform ma... 阅读全帖 |
|
A*********c 发帖数: 430 | 8 没忍住想了一下第四题,上网搜了一下相关信息,学了一个算法。
造福一下大家,写这儿吧。
问题定义应该是这样的,要求生成[1, n], 给个blacklist是禁止的数字, list是排序
好的。
生成算法如下:
1 生成随机数 r in range [1, n-len(blacklist)]
2: 带着这个数字linear scan blacklist,如果生成的的数字大于等于list的当前元素
,则把生成的结果加1。
算法很简单,但是没找到信息证明正确性。我琢磨了一下是正确的,并且是uniform。
举例如下:假设要求生成[1, 10]
例子1. list 是1->2。所生成随机数1-8,然后显然要增加两次,所以最后随机数生成
器的range本质上就是3~10. uniform。
例子2. list 是9->10. 生成的随机数1~8. 显然不跳。最后的的range就是1~8,
uniform
例子3 list是1->3 生成1~8. 如果生成的是1 (这个概率本身是1/8),碰到1跳一下,
到2,没问题,如果生成的是 >=2的数字,则需要跳两下,本质上是取的(4~10) (这个
概... 阅读全帖 |
|
a***e 发帖数: 413 | 9 wiki上对random tree的定义都有好几种,从没看到过的光是要理解题意也得花不少时
间吧?
http://en.wikipedia.org/wiki/Random_binary_tree
Uniformly random binary trees[edit]
The number of binary trees with n nodes is a Catalan number: for n = 1, 2, 3
, ... these numbers of trees are
1, 2, 5, 14, 42, 132, 429, 1430, 4862, 16796, … (sequence A000108 in OEIS).
Thus, if one of these trees is selected uniformly at random, its probability
is the reciprocal of a Catalan number. Trees in this model have expected
depth proportional to the squa... 阅读全帖 |
|
w***A 发帖数: 382 | 10 https://www.marketamerica.com/eddy777shop
这个网站里面的 hotdeal栏 有多达400多页的coupon,购物的同时还有现金返还。
只要点击一下coupon code,进入到那个网站,就可以粘贴买想要的东西。
注册现金返还账户(sign in)的时候,请用真实姓名和地址,这样你才能收到支票。
注册是免费的,不需要提供信用卡。
在注册的时候,推荐信箱请写这个邮箱 e********[email protected] ,我会是你的网上咨
询顾问。
——————————
hotdeal栏: 有多达400页的coupon,购物的同时还有现金返还
our brands栏: 是这个网站独家代理的3500种产品。涵盖日常生活包括宠物,汽车用
品的方方面面。
partner stores栏: 是walmart,best buy这样的合作厂商共4000多家,都在这里提供
现金返还计划,里面有现金返还的百分比。
more栏: 里面的MA auctions 里面有很廉价的拍卖,会有意想不到的惊喜。
爱下馆子的朋友,在这个网站搜索 restaurant.com,然后进入到这... 阅读全帖 |
|
w***A 发帖数: 382 | 11 https://www.marketamerica.com/eddy777shop
这个网站里面的 hotdeal栏 有多达400多页的coupon,购物的同时还有现金返还。
只要点击一下coupon code,进入到那个网站,就可以粘贴买想要的东西。
注册现金返还账户(sign in)的时候,请用真实姓名和地址,这样你才能收到支票。
注册是免费的,不需要提供信用卡。
在注册的时候,推荐信箱请写这个邮箱 e********[email protected] ,我会是你的网上咨
询顾问。
——————————
hotdeal栏: 有多达400页的coupon,购物的同时还有现金返还
our brands栏: 是这个网站独家代理的3500种产品。涵盖日常生活包括宠物,汽车用
品的方方面面。
partner stores栏: 是walmart,best buy这样的合作厂商共4000多家,都在这里提供
现金返还计划,里面有现金返还的百分比。
more栏: 里面的MA auctions 里面有很廉价的拍卖,会有意想不到的惊喜。
爱下馆子的朋友,在这个网站搜索 restaurant.com,然后进入到这... 阅读全帖 |
|
C*******r 发帖数: 10345 | 12 【 以下文字转载自 USANews 讨论区 】
发信人: Commissar (柯密同志), 信区: USANews
标 题: 喜拉痢看来就是psychopath
发信站: BBS 未名空间站 (Sat Oct 3 14:42:06 2015, 美东)
Secret Service agents: Hillary is a nightmare to work with
“‘Good morning, ma’am,” a member of the uniformed Secret Service once
greeted Hillary Clinton.
“F— off,” she replied.
That exchange is one among many that active and retired Secret Service
agents shared with Ronald Kessler, author of “First Family Detail,” a
compelling look at the intrepid personnel who shield ... 阅读全帖 |
|
c****e 发帖数: 37 | 13 Article 24
Issuing of a uniform visa
1. The period of validity of a visa and the length of the authorised stay
shall be based on the examination conducted in accordance with Article 21.
A visa may be issued for one, two or multiple entries. The period of
validity shall not exceed five years.
In the case of transit, the length of the authorised stay shall correspond
to the time necessary for the purpose of the transit.
Without prejudice to Article 12(a), the period of validity of the visa shall
i... 阅读全帖 |
|
t*******h 发帖数: 2744 | 14 The United States of Basic Bitches: A Map and Field Guide
579,23057
morninggloria
Erin Gloria Ryan
ProfileFollow
Erin Gloria Ryan
Filed to: AMERICA THE BASIC
BASIC BITCHES
6/30/14 11:20am
Share to Kinja
Share to Facebook
Share to Pinterest
Share to Twitter
Go to permalink
The United States of Basic Bitches: A Map and Field Guide
America can consider itself #blessed that it has a word like "bro"— three
letters that convey to most people a specific image about a specific
regionally varietal typ... 阅读全帖 |
|
d**********o 发帖数: 1321 | 15 第一个项目report
这时偶刚到CSAC工作不久,与小A同学还不熟,我用的还是latex。随着贴的作业越来越
多,应该是用有共同爱好的小伙伴更亲密些。这次贴latex,下次才再org-mode。
\documentclass[b5paper,11pt, abstraction, titlepage]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{listings}
\usepackage{geometry}
\geometry{b5paper}
\usepackage{graphicx,floatrow}
\usepackage{graphicx,subfigure}
\newsavebox{\abstractbox}
\renewenvironment{abstract}
{\begin{lrbox}{0}\begin{minipage}{\t... 阅读全帖 |
|
d**********o 发帖数: 1321 | 16 第一个项目report
这时偶刚到CSAC工作不久,与小A同学还不熟,我用的还是latex。随着贴的作业越来越
多,应该是用有共同爱好的小伙伴更亲密些。这次贴latex,下次才再org-mode。
\documentclass[b5paper,11pt, abstraction, titlepage]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{listings}
\usepackage{geometry}
\geometry{b5paper}
\usepackage{graphicx,floatrow}
\usepackage{graphicx,subfigure}
\newsavebox{\abstractbox}
\renewenvironment{abstract}
{\begin{lrbox}{0}\begin{minipage}{\t... 阅读全帖 |
|
b******3 发帖数: 623 | 17 I do agree that certain uniforms can bring out the best part of a person,
but uniform fetish? Hardly! Besides, star trek series came out as one of the
most horrible uniforms on screen from the beginning, I rather say they
were wearing circus costumes than uniforms suited for a military-like
organization, for instance,Star Trek: the Original Series (TV show, not the
cartoon) or the earlier star trek films date back to 80’s
What so great about Star Trek are the concepts, originalities, visions an |
|
f****t 发帖数: 15913 | 18 美国国土安全局警告,小心UPS人员!
U.S.Department of Homeland Security ALERT !!!!!
UPS Uniforms
Government Warning regarding purchase of UPS uniforms:
There has been a huge purchase, $32,000 worth, of United Parcel Service
(UPS) uniforms on eBay over the last 30 days. This could represent a
serious threat as bogus drivers (terrorists) can drop off anything to
anyone with deadly consequences! If you have ANY questions when a UPS
driver appears at your door they should be able to furnish VALID I.D.
Additionally, ... 阅读全帖 |
|
z*****n 发帖数: 7639 | 19 two uniformly distributed variables added together,
say v=u1+u2, is not a uniform distribution variable,
in stead, it becomes a triangular distribution,
3 uniformly distributed variables added together will
produce a more complex distribution...
A simple example: u1 and u2 uniformly distributes in
1 and 2
u1 = u2 : 1(0.5) 2(0.5)
u1 + u2 : 2(0.25) 3(0.5) 4(0.25) |
|
z**********g 发帖数: 16 | 20 Repulsion Particle Hypothesis
: Zhuang Yilong
Shanghai Institute of Science & Technology Management
Jiading District of Shanghai, 201800, China
Abstract: The theory of “ Repulsion Particle Hypothesis” is a new theory
of matter interactions. In contrast to Newtons universal gravitation that
the apple drops from the tree, this hypothesis can be called the universal
repulsion theory tha... 阅读全帖 |
|
z*******9 发帖数: 167 | 21 I think this is the first serious response I have ever seen.
==============
sly, F or G is cumulative distribution function, which is
uniform in [0,1]. seems to me nothing wrong here in shede's
expression.
============
I think your discussion is very close to my point here.
F is uniform in [0,1]. Do you know why?
If you know how to prove it, you will know that G is not uniform
in [0,1].
This is exactly what I called 半懂不懂。
You know F is uniform distribution, which might come from
some theorem, o |
|
f**d 发帖数: 768 | 22 这是一本计算神经科学的优秀著作,全文拷贝这里(图和公式缺),有兴趣的同学可以
阅读
如需要,我可以分享PDF文件(--仅供个人学习,无商业用途)
From Computer to Brain
William W. Lytton
From Computer to Brain
Foundations of Computational Neuroscience
Springer
William W. Lytton, M.D.
Associate Professor, State University of New York, Downstato, Brooklyn, NY
Visiting Associate Professor, University of Wisconsin, Madison
Visiting Associate Professor, Polytechnic University, Brooklyn, NY
Staff Neurologist., Kings County Hospital, Brooklyn, NY
In From Computer to Brain: ... 阅读全帖 |
|
w*******y 发帖数: 60932 | 23 Link:
http://www.applebees.com
LENEXA, KS -- (Marketwire) -- 10/12/2011 -- In what has become a
neighborhood tradition, Applebee's will again thank our nation's veterans
and troops by inviting them to their neighborhood Applebee's for a free
signature entr閑 on Veterans Day, Friday, Nov. 11, 2011.
For the third year, Applebee's will salute our nation's military, hoping to
top the 1,024,000 million free meals served last year from coast-to-coast.
Since Applebee's first began thanking the military ... 阅读全帖 |
|
|
P*****T 发帖数: 292 | 25 原文参见http://blog.sina.com.cn/s/blog_4a04113d0101oxp3.html
清华简《耆夜》为伪作考 姜广辉 付赞 邱梦
本文考证清华简《耆夜》为伪作,理由是:一、简文载周公致毕公诗,开头一句是“戎
服”,考“戎服”概念晚出,大约在公元前800年左右军旅之衣称为“韎韐”,公元前
650年左右称为“均服”,公元前550年左右称为“戎服”、以“赑赑”叠字作为修饰语
直到唐代才有。二、简文两次见“祝诵”词汇,考先秦古籍只单言“祝”或“颂”,不
言“祝诵”或“祝颂”。宋代学者作文献研究,分析文辞、文意,始立“祝颂”之目。
三、简文载周公酬武王祝诵诗,开头一句是:“明明上帝,临下之光。”前一句首见于
晋人诗句,是歌颂上帝的;后一句首见于宋人诗句,是歌颂宋帝的,这两句诗乃是现代
人集句,非周公原创。四、《蟋蟀》一诗原载《诗经·国风·唐风》,先秦季札和孔子
都认为此诗反映唐尧节俭遗风。简文则说《蟋蟀》一诗为周公所作。考《诗经》三百零
五篇皆曾被谱曲,十五国风属于民谣,地域不同,音亦各异,豳有豳音,唐有唐音。假
如是周公所作之诗,必定会被乐师谱... 阅读全帖 |
|
k******1 发帖数: 2883 | 26 格雷丝高表示对不良卫生习惯要宽容:
【 以下文字转载自 Military2 讨论区 】
发信人: subzero8080 (Chilling), 信区: Military2
标 题: 巨搞,美海军军官在印度导弹驱逐舰上呆了5天,震惊了
发信站: BBS 未名空间站 (Sun Sep 11 16:32:58 2011, 美东)
Reddit上的Ask Me Anything,全文在这里(直播中)
http://www.reddit.com/r/IAmA/comments/kc1ze/iama_us_naval_offic
Wikipedia: "INS Delhi (D61) is the lead ship of her class of guided-missile
destroyers of the Indian Navy. She was built at the Mazagon Dock Limited in
Mumbai and commissioned on 15 November 1997. This class is among the largest
warship... 阅读全帖 |
|
j******n 发帖数: 611 | 27 以下是演讲全文中文翻译:
非常感谢,伊莲……我们非常感谢来自你家庭的服务和牺牲,我们永远支持你。
过去的几年来,借由作为第一夫人的非凡殊荣,我几乎游遍了整个美国。
而无论我去到哪里,从我所见到的人们,所听到的故事中,我都看到了最真切的美国精
神。
在人们对我和我的家庭,特别是我的女儿们那难以置信的友善和热情中,我看到了它。
在一个濒临破产的学区的教师们不收分文、坚持执教的誓言中,我看到了它。
在人们在突如其来的紧急召唤下化身英雄,纵身扑向灾害去拯救他人……飞过整个国家
去扑灭大火……驱车数小时去援助被淹没的城镇时,我看到了它。
在我们身着军装的男女军人和自豪的军属身上……在受伤的战士们告诉我他们不仅会再
次站立行走,而是会奔跑,甚至参加马拉松时……在一位于阿富汗因炸弹而失明的年轻
人“……为了我所做的和我还将要做的,我宁愿失去我的眼睛一百次。”这样轻描淡写
的话语中,我看到了它。
每一天,我所见到的人们都鼓舞着我……每一天,他们都令我骄傲……每一天,他们都
在提醒我,能够生活在这地球上最伟大的国度中是多么的幸福。
成为诸位的第一夫人,是我的荣耀和幸运……但当我们四年前首次聚在一起的时候... 阅读全帖 |
|
t**********8 发帖数: 1683 | 28 专制社会, 怪象频现.
=======================================================
一男子为其男孩取名阿道夫.希特勒,州政府剥夺其抚养权。
来源: NY七嘴八舌 于 2013-06-20 11:26:29 [档案] [博客] [旧帖] [转至博客] [给
我悄悄话] 本文已被阅读:152次 字体:调大/调小/重置 | 加入书签 | 打印 | 所有
跟帖 | 加跟贴 | 查看当前最热讨论主题
美新泽西一男子为其男孩取名阿道夫。希特勒,并准备为其女取名瑷娃(希特勒之情妇
),州政府剥夺其抚养权。
The New Jersey man who is fighting to regain custody of his young children--
one of whom he named Adolf Hitler Campbell--showed up today for a Family
Court hearing wearing a full Nazi uniform and a Hitler mustache.
Heath Camp... 阅读全帖 |
|
r**********g 发帖数: 22734 | 29 Anthony Gemma, raising a question during an Aug. 28 debate appearance, said
uniforms for U.S. soldiers "are manufactured in China."
But federal law prohibits the military from buying foreign-made uniforms
without special authorization, stemming from the Berry Amendment of more
than 70 years ago. We could find no evidence that any U.S. military uniforms
are currently being made outside the United States.
Even a search of the Internet, where you can usually find "support" for just
about any idea, ... 阅读全帖 |
|
t*****g 发帖数: 6101 | 30 Thank you so much. Thank you. Thank you, General Caslen, for that
introduction. To General Trainor and General Clarke, the faculty and staff
at West Point, you have been outstanding stewards of this proud institution
and outstanding mentors for the newest officers in the United States Army. I
'd like to acknowledge the Army's leadership, General McHugh -- Secretary
McHugh, General Odierno, as well as Senator Jack Reed who is here and a
proud graduate of West Point himself.
To the class of 201... 阅读全帖 |
|
T*I 发帖数: 765 | 31 壮哉英雄
Washington (CNN) -- An American general was killed Tuesday after a shooter
wearing an Afghan military uniform opened fire at a training facility in
Kabul, a Pentagon spokesman said.
"Perhaps up to 15" coalition troops, including other Americans, were wounded
in the attack, said Rear Adm. John Kirby.
The gunman, who was killed, was believed to be an Afghan soldier who had
served for some time, Kirby said.
The general's killing marks the "one of the highest-ranking deaths in the
war since 9/1... 阅读全帖 |
|
G*******n 发帖数: 6889 | 32 http://der-fuehrer.org/reden/deutsch/Weisungen/1942-08-18.htm
Führerhauptquartier, den 18. 8. 42
Der Führer
OKW/WFSt/Op. Nr. 002821/42 g.K.
Geheime Kommandosache
30 Ausfertigungen
24. Ausfertigung
Weisung Nr. 46 für die Kriegführung
Richtlinien für die verstärkte Bekämpfung des Bandenunwesens im
Osten
A) Allgemeines
I.) Das Bandenunwesen im Osten hat in den letzten Monaten einen nicht
mehr erträglichen Umfang angenommen und droht zu einer ernsten Gefahr f
ür die Versorgung d... 阅读全帖 |
|
发帖数: 1 | 33 你这个傻逼不懂消防队最说明黄人没有地位了。
The percentage of uniformed African-American firefighters in Chicago has
declined over the last decade, according to data provide by the city.
In December 2005, the percentage of uniformed African-American’s on the
Chicago Fire Department totaled 19.2 percent. At the end of 2015 it stood at
16.9 percent.
“If you look at a longitudinal graph you will see that our numbers are
going down,” said Jim Winbush, a former captain and member of the African-
American Firefighters and ... 阅读全帖 |
|
发帖数: 1 | 34 Naval History and Heritage Command
Naval History and Heritage Command
Open for Print Social Media
Search
Home
Research
Our Collections
Visit Our Museums
Browse by Topic
News & Events
Get Involved
About Us
DANFS » S » South Dakota I (Armored Cruiser No. 9)
Tags
Related Content
Topic
Document Type
Ship History
Wars & Conflicts
nhhc-wars-conflicts:world-war-i
Navy Communities
File Formats
Image (gif, jpg, tiff)
Location of Archival Materials
South Dakota I (Armored Cruiser No. 9)
1902... 阅读全帖 |
|
s*********0 发帖数: 2045 | 35 Reddit上的Ask Me Anything,全文在这里(直播中)
http://www.reddit.com/r/IAmA/comments/kc1ze/iama_us_naval_offic
Wikipedia: "INS Delhi (D61) is the lead ship of her class of guided-missile
destroyers of the Indian Navy. She was built at the Mazagon Dock Limited in
Mumbai and commissioned on 15 November 1997. This class is among the largest
warships to be designed and built in India.[2]"
Their engineering practices were abysmal. No undershirts, no steel-toed
boots - they wore sandals - no hearing protection in... 阅读全帖 |
|
l****z 发帖数: 29846 | 36 Ikea Asks Uniformed Police Chief to Put Gun in Car or Leave
via Breitbart Feed
On July 4 a uniformed police officer entered a Washington state Ikea store
and was told to go lock his gun in the squad car or "leave."
The officer carrying the gun was Tacoma Park Police Chief Alan Goldberg. He
was in uniform "because he had worked that morning at the city's July 4
parade, and would be back on duty that night for fireworks."
He was trying to help his daughter find furniture for her apartment in
betwe... 阅读全帖 |
|
l****z 发帖数: 29846 | 37 Policeman on Brown: 'He Grabbed My Gun, He Twisted It, Pointed at Me'
November 25, 2014 - 12:26 PM
By Brittany M. Hughes
(CNSNews.com) – One day after fatally shooting Michael Brown, an unarmed
black teenager, Ferguson, Mo., police officer Darren Wilson, who is white,
gave his account of the incident to two detectives from the St. Louis County
Police Department, explaining in detail how Brown attacked him through the
police car’s open window, wrestled for the officer’s gun, and then pointed
it... 阅读全帖 |
|
l****z 发帖数: 29846 | 38 Christians to Gays: We'll Accept Your Business and Donate Your Money to '
Traditional Pro-Family Lobby'
April 10, 2015 - 11:36 AM
By Michael W. Chapman
While gay activists are attacking Christian bakeries and wedding planners
and filing lawsuits to put them out of business because of their religious
beliefs, a Catholic priest has come up with a simple solution that, if
adopted nationally, likely could end much of the gay and left-wing offensive
in this realm.
Simply, accept all business from gay... 阅读全帖 |
|
j*********r 发帖数: 24733 | 39 Army awards heroism medals to JROTC cadets killed in Florida school shooting
Three junior ROTC cadets who were killed in the Florida high school shooting
last week will be honored with heroism medals by the U.S. Army.
A spokesman for the U.S. Army told Fox News on Tuesday that Cadet Command
approved Junior ROTC Heroism Medals for cadets Alaina Petty, Peter Wang and
Martin Duque.
The family of Petty, 14, were presented the medal during her funeral service
Monday, at which more than 1,500 people a... 阅读全帖 |
|
U*****g 发帖数: 366 | 40 My area: semiconductor device and physics / electrical engineering
CV:
QIUGUI ZHOU
Email: q**[email protected]
Phone: 1+(434) 243-2147
===========================================================================
EDUCATION
UNIVERSITY OF VIRGINIA
Charlottesville, VA
Ph.D. in Electrical Engineering
2011
UNIVERSITY OF SCIENCE AND TECHNOLOGY OF CHINA(中国科学技术大学)
Hefei, CHINA
Master of Science in Optics ... 阅读全帖 |
|
g******t 发帖数: 11249 | 41 随便转几个个新闻
http://www.soa.gov.cn/xw/hyyw_90/201707/t20170731_57177.html
国家海洋局召开老干部座谈会 纪念中国人民解放军建军九十周年
来源:中国海洋报 发布时间:2017-07-31 [打印本页] [关闭窗口]
中国海洋报讯(记者 郭松峤)7月28日上午,国家海洋局在京召开老干部纪念建军
90周年座谈会。国家海洋局党组成员、副局长房建孟,原局长孙志辉,原副局长张宏声
、王飞,原纪委书记吕子耀、周茂平等120余人参加了座谈会。
房建孟代表国家海洋局党组对广大老干部表示慰问,对老干部为海洋、部队、国家
做出的突出贡献表示感谢。他指出,国家海洋局成立之初隶属于海军,人员的组成大部
分是军人,与军队有着不解之缘。建局53年来,国家海洋局与军方同耕一片海、共筑蓝
色梦,在维护海洋权益、海上联合调查、装备支援保障、人才交流等方面取得了丰硕成
果。今年,国家海洋局和海军又签署了军民融合创新发展战略合作框架协议,将在战略
规划、政策法规、综合保障、维权执法、人才培养等方面加强合作,不断拓展海洋领域
军民融合的广度和深... 阅读全帖 |
|
E*******0 发帖数: 465 | 42 1. rand5()->rand2() and rand4();
2. we can find 11/12/13/14/21/22/23/24, and we can find uniform 12/13/14/21/
22/23/24.
for 1. If we have 5 balls (1,2,3,4,5), the prob of choosing each ball is 1/5
. If we only choose 3,4,5, the prob of choosing each ball (one of 3,4,5) is
1/3. So we can easily get rand2() and rand4().
for 2. since all the 8 cases are uniformly distributed, when we choose the
first ball as 1 and choose the second ball as 1, we just ignore it.
So we can get 7 cased uniformly distr |
|
j*****4 发帖数: 292 | 43 原题没说清楚。应该是uniform产生uniform,否则就没啥意义了。
如果是要求uniform,遇到22-25要pass,所以取1-21 |
|
H******7 发帖数: 1728 | 44 在别的论坛看到别人再问。觉得不太明白。
Expand a random range from 1-5 to 1-7
int i;
do
{
i = 5 * (rand5() - 1) + rand5(); // i is now uniformly random between 1
and 25
} while(i > 21);
// i is now uniformly random between 1 and 21
return i % 7 + 1; // result is now uniformly random between 1 and 7
WHy can't I just put
i = 6*(rand5()-1); |
|
t**********n 发帖数: 145 | 45 1没有保证平均概率
2返回的数值的范围也不对呀
在别的论坛看到别人再问。觉得不太明白。
Expand a random range from 1-5 to 1-7
int i;
do
{
i = 5 * (rand5() - 1) + rand5(); // i is now uniformly random between 1
and 25
} while(i > 21);
// i is now uniformly random between 1 and 21
return i % 7 + 1; // result is now uniformly random between 1 and 7
WHy can't I just put
i = 6*(rand5()-1); |
|
P********l 发帖数: 452 | 46 生成两个随机数 (theta, r).
theta is uniform distributed
r = 1/sqrt(uniform). (<>0)
目的是让面积*密度=常数。
Given a perfect random generator Random(n) which can generate number between
[0,1], write a program to generate a random pair of (x, y) within a circle
of radius 1, and with (0,0) center with uniform distribution inside the
circle. What is the expect probability of values fall into the circle? |
|
s*****y 发帖数: 897 | 47 I do not think it is right one.
I think this one is right:
http://stackoverflow.com/questions/137783/expand-a-random-range
1-7
int i;
do
{
i = 5 * (rand5() - 1) + rand5(); // i is now uniformly random between 1 a
nd 25
} while(i > 21);
// i is now uniformly random between 1 and 21
return i % 7 + 1; // result is now uniformly random between 1 and 7 |
|
y***g 发帖数: 1492 | 48 考古挖个坟。。
请问这个uniformly distributed sampling是要看Jacobian?
for on unit sphere:
J=sin(b)d(a)d(b)=d(a)d(-cos(b))
所以只要生成a和z=cos(b)分别在(0,2pi)和(-1,1)中uniformly distribute?
for in unit ball:
since J=r^2 sin(b)d(a)d(b)d(r)=1/3 d(r^3)d(a)d(-cos(b))
所以要多一个开3次根的uniformly distributed variable in (0,1)? |
|
N**N 发帖数: 1713 | 49 要求应该是分布要一样吧
假设原来两个都是uniform,加起来就不是uniform
回忆一下中心极限定理,如果很多个uniform相加,就接近正态分布了 |
|
S******1 发帖数: 269 | 50 Therefore, run random7 once, to get each row uniformed. Then run rondom7
again, to get each column uniformed. Using a matrix will help to understand
why the 49 cells are uniformed.
[1 |
|