由买买提看人间百态

topics

全部话题 - 话题: use
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
d***q
发帖数: 1119
1
来自主题: Programming版 - How to use multi-core to speed Python program
twisted use async socket to handle multiple call.
It also doesn't take any benefit from more than one core.
It seems that the only one way to use >1 core is to use multi process
h**o
发帖数: 548
2
来自主题: Programming版 - how to count the times a function is used
But I do not know what function appear in this files.
I only know there are some format which I can use to parse the names of
these function (see the attachment in the previous response)
I think I can first use grep to parse these function name, then count them
using for, sort,etc.
But I do not know how to grep them.
c*****t
发帖数: 1879
3
来自主题: Programming版 - string /File IO processing using C
regex is NOT going to be any easier. It will be a lot slower because
it has to construct NFA as run time.
scanf actually supports a very limited form of regex which can be
efficiently used to match input. Its regex is slightly different
from POSIX, but for most uses, about the same.
If you can master scanf, string functions (strchr, strstr, strcmp etc),
there will be rarely a need to use anything else. More complicated
stuff usually flex.
regex is for people who has no idea. It is really not
x*******a
发帖数: 11067
4
想法很简单,就是写一个程序用所有机器上的processor来跑同一个模型。模型的输入文
件不一样,结果也就不一样。不同的输入文件在不同的文件夹下面。
我的程序如下(是Fortran的),第一次跑了没问题,但是再跑一次,就出现了这样的错
误信息:
"The process cannot access the file because it is being used by another
process".
请问这个问题是怎么产生的,怎么解决呢?
谢谢!
!--------------------------------------------
program ompHelloWorld
use omp_lib
integer NTHREADS, TID,
!$OMP PARALLEL PRIVATE(TID), SHARED(NTHREADS)
TID = OMP_GET_THREAD_NUM()
PRINT *, 'Hello World from thread = ', TID
CALL RUNMODEL(TID)
!$OMP END PARALLEL
end program om... 阅读全帖
c*******9
发帖数: 6411
5
when open a PDF document using acrobat X, there is a Tool ribbon in the top
right side (there is also a comment ribbon and share ribbon), how to disable
or remove the Tool ribbon using javascript?
I try to use app.listToolbarButtons() and app.hideToolbarButton(...) but not
working.
Any ideas?
w*s
发帖数: 7227
6
来自主题: Programming版 - use abort() to generate coredump (转载)
【 以下文字转载自 Linux 讨论区 】
发信人: wds (净洗前尘,从头再来), 信区: Linux
标 题: use abort() to generate coredump
发信站: BBS 未名空间站 (Wed Mar 20 20:54:45 2013, 美东)
my linux code has 5 processes,
seems 1 dies, (top shows it's zombie)
causing watchdog eventually.
i don't know how to reproduce the bug,
this is the plan,
every time i see watchdog, code will call abort() to generate core.
Then debug core.
Do you think i can get useful info ? as there're 5 app processes in the
system, can this core still provide useful info f... 阅读全帖
z****e
发帖数: 54598
7
来自主题: Programming版 - Using Spring in Vert.x
http://github.com/vert-x3/vertx-examples/tree/master/spring-exa
This project is a demo of exposing Spring-hosted service beans (and
therefore Spring-wired services) via vert.x verticles. In vert.x 3 it’s
perfectly possible to share an application context between multiple
verticles.
In this case the service bean we expose through vert.x is a trivial data
access service running through Spring Data JPA (and using Hibernate). In
effect we’re taking advantage of the ease of building data access via
S... 阅读全帖
E*********g
发帖数: 185
8
码农终于开发出了上吊的绳子
https://arxiv.org/abs/1709.05703
AI Programmer: Autonomously Creating Software Programs Using Genetic
Algorithms
Kory Becker, Justin Gottschlich
(Submitted on 17 Sep 2017)
In this paper, we present the first-of-its-kind machine learning (ML) system
, called AI Programmer, that can automatically generate full software
programs requiring only minimal human guidance. At its core, AI Programmer
uses genetic algorithms (GA) coupled with a tightly constrained programming
language that mi... 阅读全帖
s*****w
发帖数: 1527
9
拼命杀现有的这个8081杀不完,
文档说
Using a port other than 8081 #
You can configure the packager to use a port other than 8081 by using the
port parameter:
$ react-native start --port=8088
You will also need to update your applications to load the JavaScript bundle
from the new port. If running on device from Xcode, you can do this by
updating occurrences of 8081 to your chosen port in the node_modules/react-
native/React/React.xcodeproj/project.pbxproj file.
问题是如何启动
react-native run-ios ?
折腾死人了。
fuck react !... 阅读全帖
c*f
发帖数: 977
10
【 以下文字转载自 Hardware 讨论区 】
发信人: cef (()), 信区: Hardware
标 题: how to use integrated camera in X201 tablet?
发信站: BBS 未名空间站 (Wed Jun 16 18:23:39 2010, 美东)
My laptop has a camera.The camera driver was already installed. But I don't
know how to use it, for example, to take a picture. Do I have to install
some application software to use it? thanks...
s*******t
发帖数: 84
11
I am trying to use the appendix package.
I used it in two ways:
First:
\usepackage{appendix}
...
\appendix
\appendixpage
\addappheadtotoc
Second:
\usepackage{appendix}
...
\begin{appendices}[toc, page]
...
\end{appendices}
From the manual, both methods can provied an "Appendix" title page and a
reference in the table of contents, however, both mechods won't work.
The compile will stop at \appendixpage saying incorrect command in the first
mechod.
The second method shows nothing.
Anyone has used
j***y
发帖数: 87
12
try to find what fonts CXterm uses( in CXterm script file), and use
xlsfonts to list all the fonts installed on your machine to see if
they are a vaialbe.
If the names don't match, use fonts.alias to alias the name.
s**********i
发帖数: 711
13
来自主题: Windows版 - Re: Question about Using Router
if your school allows multiple IP to one student, you can
use a hub or switch (or router using as switch). you need
to register each computer's MAC address.
or you can use router. register your router MAC. OR, let your
router map your registered MAC address if your router supports
this function (most can). read your router's manual.
w*****s
发帖数: 122
14
来自主题: XML版 - Can I use GB2312?
Can I use GB2312?
Maybe. A conforming XML processor must support UTF-8 and UTF-16 (Unicode). But XML can be encoded using almost
any character set. It is the parser-writer's decision which encodings to support.
Outside the XML processor, the document is encoded in GB2312 (e.g. the EUC encoding of GB2312 and ASCII, also
called cn-euc);
Inside the XML system, the document is encoded as ISO10646. (ISO10646 is the character set that Java uses. It is
the same character set as Unicode.
w*****s
发帖数: 122
15
What if I am using Big5 and the character I need is not there?
You can use any character defined by the ISO 10646 universal
character set. If Big5 (or GB2312) does not have that
character, you can use a "numeric character reference".
This looks like媼
where the "5ABC" is a hexadecimal number giving the ISO10646
number. Windows NT's "Character Map" utility lets you
see all the ISO 10646 characters in any font.
If the character is a variant on an ISO10646 character,
you can make up an elemen
w*****s
发帖数: 122
16
How do I send the correct MIME/HTTP headers using Apache .htaccess files? (Not
finished)
If you are using a recent version of the Apache server, then
your Webmaster must give you "AllowOverride FileInfo"
permission. Then you can put a file called .htaccess in
any directory. (Note that in MIME terminology, "encoding" means
"compression". In the XML encoding header, "encoding" means "
coded character set") Here is a line that may be useful--
DefaultLanguage zh
AddType application/xml XML xml
Why i
A*****7
发帖数: 32
17
I use Gleim for audit, passed. this is the only book i used to perpare this
exam.
But I have tried Gleim FAR, every confuse. I think if you use Gleim, you
need kind of good accounting foundation because the book is very general and
not easy to read. Plus, the exercise parts are very good.
v**o
发帖数: 14
18
来自主题: Accounting版 - 有关Sales & Use Tax的问题
最近接手Sales & Use Tax。向大家请教有关TAX的问题。1)如果公司买Suplies时,付
了SALES TAX,还要付USE TAX吗?2)如果公司租仪器时没付TAX,然后原价转租给别人
时也没收TAX,公司还要交Sales & Use Tax吗?
k******a
发帖数: 2436
19
Is it possible to use short term capital gain to offset long term capital
loss ?
It seems to me that you can use LT gain to offset LT loss and vice versa for
ST. And, you can use LT gain to offset ST loss, what about the other way
around?
c*******y
发帖数: 161
20
I am just learning how to use PAVE(program for assembling and viewing EST)
now, I do not know how to use it. Is someone know how to use it? also GO
Slim and KEGG: Kyoto Encyclopedia of Genes and Genomes. Please give me some
suggestions how to find more informatics. thanks.
R******N
发帖数: 30
21
来自主题: Biology版 - use sugarsync for your document STORAGE
sugarsync is offering bonus space for file storage.
once you register, you wil get 5G free space for file storage.
i used it recently, so easy to go, no necessary to use hard drive.
use the link below, both of us could get 500 MB of bonus space.
https://www.sugarsync.com/referral?rf=fph8m0wesehar
G********e
发帖数: 528
22
Thank you very much!
It seems that if I want to bypass embryonic lethality, it is a candidate. If
people have been using tissue specific systems, they would be better than
whole body.
I have something in my mind before I want to start it.
If a gene of interest is known critical for embryonic development, is it
really important to bypass the embryonic stage and look at the phenotypes of
loss of function after the mice are fully developed? I think so, but it
seems not many people publish studies u... 阅读全帖
k****n
发帖数: 42
23
I am currently a postdoc with H1B visa, just filed NIW i140. I would like to
go back to school. I understand that I cannot use F1 anymore. What visa
status should I use? My wife is currently using H1, too. Thanks a lot!
h*********g
发帖数: 18
24
After gel extraction, I checked the DNA using Nanodrop, the 260/280 is 1.5,
260/230 is 0.5. Can I still use the DNA? I will use the DNA as template to
make RNA. Thanks.
h*********g
发帖数: 18
25
Yes, I eluted by ddH2O. So I should use TE buffer to elude? I will use it to
make RNA. Can I still use the DNA to make RNA? Thanks.

.
X***X
发帖数: 302
26
I have one Master degree in US, I am using OPT. If I go back to MBA or FE
school, after graduation, can I use another OPT? How could you deal with
this problem, since MBA reqires some working experiencing, I have to use OPT
right now. Thanks
O******e
发帖数: 734
27
Even though it is advisable to use the same compiler suite (gcc/g77/gfortran,
or icc/ifort), I'm not sure that this is the cause of the problem. I've
been mixing gcc/g77/icc/ifort all the time when testing my code, and I have
never had any problem.
(I don't use gfortran because it is too buggy. I'm also curious why you
say ifort is slow? In my experience the code it produces is way faster
than g77 or pgf77/pgf90, but you have to make good use of the Fortran 9x
language. Well, maybe you are c
A2
发帖数: 588
28
How to calculate the odds Ratio using propensity score in stata
I used the stratification(quintiles) matching method and have calculated the
propensity score. However, how can I use these propsensity scores to
calculate my odds ratio? I think I need to adjust these quintiles, but any
expert can give me an example of the stata code to calculate the odds ratio?
Thank you so much!
n*****r
发帖数: 2447
29
来自主题: GeoSpace版 - How to clip a DEM file using a polygon?
It is a very stupid question -_____-, but I still want to know how.
I have the DEM file, and now i just need a small piece of it. I have a
polygon(shapefile), which is the boundary of a watershed, and now I want to
cut the DEM file using this polygon. But Arc just does not allow me to do
that. I used the Analysis Tools--Extract--Clip. But I can not input the DEM
file...Why?
I am not a master of GIS, just need to use the DEM file to finish my
hydrologic analysis.....
Thank you....
s****h
发帖数: 25
30
【 以下文字转载自 JobHunting 讨论区 】
发信人: splash (speak up), 信区: JobHunting
标 题: Anyone wants to use/share Vault.com premium service?
发信站: BBS 未名空间站 (Mon May 21 14:41:45 2007)
Anyone here wants to use Vault.com premium service ("Vault Gold Membership")
to research your current or potential employers?
Or, is anyone already using this service and willing to share it with me? I
will pay, of course.
The lowest subscription is $15/mon for 3 months. I only need to look up 2-3
companies. It would be better if
m******k
发帖数: 447
31
How to avoid the formation of micelles when using PVA as the surfactant in
the suspension polymerization?
It's so hard to filter when the suspension reaction is done. So many papers
showed they used filtration method to separate particles from water phase. I
don't know how they make it. I cannot use centrifuge and decant method
because of ....
This question bother me so much. Tons of thanks for any suggestion.
c*s
发帖数: 2145
32
来自主题: Macromolecules版 - TEM staining using UO2.Ac2 (转载)
【 以下文字转载自 Chemistry 讨论区 】
发信人: cds (我去哪哪衰退), 信区: Chemistry
标 题: TEM staining using UO2.Ac2
发信站: BBS 未名空间站 (Thu May 28 16:17:10 2009)
I am using UO2.Ac to stain my polymer sample which contains sodium ions and
sulfonate group, and it gives quite good resolution.
Can anybody found a reference for the staining mechanism using uranyl
acetate?
thanks
h****a
发帖数: 234
33
"Please note that corporate email should NOT be used for your personal
communications, such as residency application."
This is a sentence from Dr. Zhang's email, (I believe many PPL received his
email).
I got 2 .edu email accounts (1 from university and 1 from med school). I am
using med school one for work and the other one for residency application.
Anything wrong with this?
I noticed my boss, an American PhD, also uses one for work and the other one
for family stuff.
yf
发帖数: 272
34
来自主题: MedicalCareer版 - Medical Jargons used in pts' notes
Don't use too many of these jargons. A lot of them you listed here are not
even correct ones. And if you use too many of them in your note, it will be
a disaster. Our chairman is always blaming us for using too many so called
jargons.
c*s
发帖数: 2145
35
来自主题: NanoST版 - TEM staining using UO2.Ac2 (转载)
【 以下文字转载自 Chemistry 讨论区 】
发信人: cds (我去哪哪衰退), 信区: Chemistry
标 题: TEM staining using UO2.Ac2
发信站: BBS 未名空间站 (Thu May 28 16:17:10 2009)
I am using UO2.Ac to stain my polymer sample which contains sodium ions and
sulfonate group, and it gives quite good resolution.
Can anybody found a reference for the staining mechanism using uranyl
acetate?
thanks
c*********0
发帖数: 923
36
Don't want to spent too much money on the equipments for nursing.
I don't care it is used, I just need it is in good condition.
who has used stethoscopes and blood pressure cuff with case, clipboard with
calculater, or other equipmemt for nursing school, if you want to sell them
, please contact with me.
or please recommendation some store or website for all of those equipments.
thanks
I looked at stethoscope online, The littman classic Ii if for physical assessment, ant there is another one ca... 阅读全帖
j******w
发帖数: 97
37
Take a look at this.
http://www.fda.gov/ForConsumers/ByAudience/ForPatientAdvocates/
I believe that compassionate use needs to be conducted under an
Investigational New Drug Application (IND), which is filed by the physician
who is overseeing the use of investigational product. So you will have to
convince the doctor to do this.
Unfortunately, there is no law requiring the drug manufacturer to provide
the product for compassionate use. I think I have seen news a couple of
years ago on a case tha... 阅读全帖
f*******d
发帖数: 339
38
【 以下文字转载自 Physics 讨论区,原文如下 】
发信人: fisherdad (渔父), 信区: Physics
标 题: [转载] does anyone ever used rlft3 code in NR?
发信站: The unknown SPACE (Thu Jul 24 05:00:50 2003), WWW转贴
【 以下文字转载自 Computation 讨论区,原文如下 】
发信人: fisherdad (渔父), 信区: Computation
标 题: does anyone ever used rlft3 code in NR?
发信站: The unknown SPACE (Thu Jul 24 04:42:46 2003) WWW-POST
I am trying to do a multidimensional Fourier transform using the code rlft3
in Numerical Recipes. The code runs.
However, the explanation in the book is ve
p********0
发帖数: 195
39
来自主题: Statistics版 - anybody use minitab?
After I run the regression analysis by using Minitab, I find out there are
two predictors have significant relationship with the response, but the
other two don't. So I use the Best Subsets Regression to see what is the
best model ,and then find out the best model includes 3 predictors, which
means that it includes the predictor doesn't have significant relationship
with the response. What that means? This is the first time I use Minitab so
please help!!!!!!!!!!!!!!!!!!!!!!!!!
p*****0
发帖数: 3104
40
来自主题: Statistics版 - IS SAS MORE USEFUL THAN R?
most of MS use SAS
and I believe most of us use SAS
they are equal useful
s*****9
发帖数: 108
41
来自主题: Statistics版 - optimization using Solver in Excel
I have used excel solver for some simple optimization problems. Constraints
are linear, it's good to use that for illustration of how optimization
solver works. When the number of variables goes large, I use SAS/OR,
commands like "solve with nlpc " etc.
c**********e
发帖数: 2007
42
来自主题: Statistics版 - Use random effect model on panel data?
When the number of repeated measure is not many, random effect model is good
. I know people use mixed model often in pharmaceutical industry.
But in financial industry, the repeated measure is so many, say unemployment
rate each country in the last 20 years (240 monthly obs). Do we still use
mixed model or random effect model to do panel analysis? Or should we just
use linear regression?
Anybody has experience on this?
R*****s
发帖数: 41236
43
Strokes Of Genius: Use Swimming To Stay Fit
http://www.bodybuilding.com/fun/strokes-of-genius-use-swimming-
Swimming is a survival skill, but it is also a high-end full-body workout
that increases your aerobic potential and also offers resistance. It抯 a win
win win.
by Shannon Clark Jul 30, 2012
From the moment human beings find themselves immersed in water, several
things become apparent: It takes a lot of energy to stay afloat, the body
needs to move in unfamiliar ways, using unfamiliar muscle... 阅读全帖
a*******g
发帖数: 42
44
来自主题: DataSciences版 - 悬赏 DS USE CASE
大家好,我们是一家Start Up公司。主要做社交网络数据的收集,处理,分析。目前想
在基于SPARK技术上做一些USE CASE,所以想出一些钱,请大牛帮我们做个use case。
说服老板同意这个技术方案。
use case 大体如下:比如输入 “HP” 此系统能输出全部关于HP的社交网络数据,同
时用户也能选择这个数据具体来自哪个社交媒体;此外,用户还可以根据positive,
negative,neutral 来进一步filter; filter之后 就可以refer到具体用户的那一句
comment)。
有兴趣的可以发邮件到 [email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=par... 阅读全帖
z*******n
发帖数: 1034
45
taoprophet420 says:
September 10, 2014 at 5:44 pm
So basically you have to renter the pin everyday after you charge it. They
are biometric sensors that use heart rate to unlock..not sure why Apple didn
’t go that route.
A couple of reports yesterday and today have highlighted a little tidbit of
information many have been wondering about the upcoming Apple Watch: How
will the device make sure payments via Apple Pay are secure? Both the iPhone
6 and iPhone 6 Plus have the convenient Touch ID senso... 阅读全帖
s*****r
发帖数: 11545
46
来自主题: CellularPlan版 - K88trek2 cannot limit data use
I was using a freedompop LTE sim, data limit set at 585M. When I realized it
, 608M had been used. So I thought well freedompop website usually records
a lower usage, I might still be ok. But when I checked my account, I found
it said 620M was used and freedompop charged me $15 instantly. I want to
share some data from another account but it is forbidden. So $15 gone....
Damnit.
w*******y
发帖数: 60932
47
来自主题: _DealGroup版 - Newegg 10 off 100 code (limited uses)
Use code GTWT10 for $10 off of a $100+ purchase at Newegg. Just picked up
some memory, which this sweetened.
Dn't forget Bing cashback and/or e...bates or fat...cash
Supposedly 100 uses only so use fast if you intend to give it a try
w*******y
发帖数: 60932
48
GoHastings.com has sale running on B2G1 mix & match for used CDs, Books, and
Games.
Use GAMETIME10 for an extra 10% off used games.
w*******y
发帖数: 60932
49
It's not a big glitch if you're looking for expensive titles (at least, it
didn't work for me), but here's what I figured out from the glitch.
Currently, if you get 2 Used Xbox 360 Games that are $20 or under in your
cart it essentially acts as a B1G1 Free. Also, if you get 3 Used Xbox 360
Games that are $10 and under in your cart, then it does the B1G2 Free.
If you use CAG16 then it cancels the glitch, so you can't input that.
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)