由买买提看人间百态

topics

全部话题 - 话题: annotation
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
z****e
发帖数: 54598
1
因为HashMap本身不是immutable的
你自己写一个MyHashMap extends HashMap
然后加一个Immutble annotation就好了
用这个类
a***u
发帖数: 36
2
A D 吧
C当然不行,因为不同的thread 可同时通过getter修改同一个object
E Immutable 没用过这annotation, 有吗?如果这就是final的reference,是不行的,
它指向的object 可以随便改
w****r
发帖数: 15252
3
来自主题: JobHunting版 - java spring,nodejs,或者dart (转载)
我怎么觉得spring很好用呢,如果以前的service都在的话,直接上个spring boot,加
上一个class,几个annotation就直接可以上Restful用了
x*******i
发帖数: 777
4
来自主题: JobHunting版 - F1签证,双学位专业对口的问题
楼主,给你找到个有用信息
8.1.3. Can a student with a dual major qualify for the 17-month extension
based on one of the degree programs?
Yes, if the student’s course of study is listed as one of the approved CIP
codes on the STEM Designated CIP List approved by DHS for the 17-
month extension and any job worked while on the 17-month extension is
related to the student’s STEM CIP. However, the CIP Code for the
student’s secondary major will not print on the Form I-20 recommending
the 17-month extension. The D... 阅读全帖
f****e
发帖数: 923
5
Spring 4 MVC+Hibernate 4+MySQL+Maven integration example using annotations
http://websystique.com/springmvc/spring-4-mvc-and-hibernate4-in
z****e
发帖数: 54598
6
来自主题: JobHunting版 - 有人用谷歌guice么?有个技术问题

这么说吧
你inject的东西,应该是component
这个在srping里面非常清晰
因为spring有四个annotation
@Component
@Controller
@Service
@DAO
这四个就是一般意义上的组件,component就是所有的总称
细化下去就是后面三个
你应该学习一下j2ee的三层模型
后面三个component分别对应三层中的一层
而component跟thread的区别就是所有的component都是被thread共享的
spring真正inject的就是这些component对象
而一般的话,component都是单子,只会实例化一个对象在内存里面
然后被多个threads共享
然后你需要知道多线程并发的问题
thread同时访问一个java对象的话,如果同时访问的是方法
ok,没问题,不需要synchronized,只要这个方法不在方法以外寄存状态
简单说就是所有这个方法用到的变量,对象什么的
都用参数的方式传入该方法,这样该方法就能够被共享
否则的话,会有并发冲突
你这边identity就被放在方法体以外的地方
那就不行,并发修改,你这... 阅读全帖
a****g
发帖数: 8131
7
关键部分用拼音做annotation 哈哈
z****e
发帖数: 54598
8
来自主题: JobHunting版 - T a b l e a u 昂塞特面经
发现他们backend很喜欢考多线程
而且对于eventloop,异步这一块有偏好
虽然threadpool也可以,但是现在好像不怎么流行用threadpool
最新的都是一个core对应一个thread,这样便于scale out
最新成果是quasar,这个直接把同步搞成异步,用一个annotation就实现了
建议多看看vert.x,一天到晚就在搞这些东西
streaming我觉得没有必要
不过你要是连streaming都懂,这些都小意思了
streaming最好把rxjava,reactive这些先看看
不过他们也考得很实在,这种公司比较有前途,做的东西也靠谱
z****e
发帖数: 54598
9
来自主题: JobHunting版 - T a b l e a u 昂塞特面经
发现他们backend很喜欢考多线程
而且对于eventloop,异步这一块有偏好
虽然threadpool也可以,但是现在好像不怎么流行用threadpool
最新的都是一个core对应一个thread,这样便于scale out
最新成果是quasar,这个直接把同步搞成异步,用一个annotation就实现了
建议多看看vert.x,一天到晚就在搞这些东西
streaming我觉得没有必要
不过你要是连streaming都懂,这些都小意思了
streaming最好把rxjava,reactive这些先看看
不过他们也考得很实在,这种公司比较有前途,做的东西也靠谱
u***8
发帖数: 1581
10
来自主题: JobHunting版 - 一个spring/hibernate加了个db的问题
其实不是加了一个db,是在一个现存的db里面加了一个table。我仿写了一个class 实
现了BaseEntity,然后该要有的annotation我也都有了。可是,就是无法取出里面的数
据。
createNamedQuery也失败了。 不知道为什么,在class里面我也加了@NamedQuery A ,
我尝试加如现存的其他entity的namedQuery B,可以创造query B,可是这个query A
就是Named query not found。我只有用local的string来建query才可以,below:
final EntityManager em = emf.createEntityManager();
String query = "select * FROM packageName.Asomething asomething";
final Query a_query = em.createQuery(query);
a_query.getResultList(); //就是没结果出来,数据出不来。
加了... 阅读全帖
z****e
发帖数: 54598
11
来自主题: JobHunting版 - 一个spring/hibernate加了个db的问题
i think entity mapping can be done by @Entity this annotation
like this
@Entity
@Table(name="tbl_sky")
z****e
发帖数: 54598
12
来自主题: JobHunting版 - java学什么对找工作有帮助?

http://www.tutorialspoint.com/spring/spring_hello_world_example
http://www.mkyong.com/spring3/spring-3-hello-world-example/
mkyong.com这个韩国人做了很多hello world的例子,很简单,非常容易懂,可以多看看
spring主要就是di
就是aop都没多少人在用
如果你只是想理解di的话
你自己写一个main
然后把spring的ApplicationContext启动
读取config文件,就是那个beans.xml
然后看看di是怎么回事
理解一下xml config和annotation两种的区别和用法
差不多了,spring其实就这点东西
其他都不是spring的,spring比较讨厌的是经过多次收购
现在的dell的下属的emc的下属的vmware的下属的pivotal software//你看这个层次
从原来的interface21,就是作者rod johnson(who现在在搞scala)
办的组织手里接过了spring的开发之后
把原... 阅读全帖
D**********g
发帖数: 110
13
来自主题: JobHunting版 - EveryDogHasItsDay我去intel码砖了
这个不叫郁闷,
我花了1年多时间,从头学java,spring,struts,hibernate,
总算是把backend, DI,IOC 和各种annotation给弄熟了,写了很多后端模块。
还把leetcode用java刷了3分之一,真心想转后端java的,结果最后还是
回到low level。之前自学的这些后端毛也没用上。
j***y
发帖数: 1640
14
来自主题: JobHunting版 - 第一回碰到电面要背syntax 的
先问怎么创建 一个简单的 database 的table;
我说: create table user (username varchar, 。。。。。);
她说这还不行,我说那就加个 primary Key, 她说这还不行, 你这样还没有创建
table. 要加一行: go;
然后问偶做过 input validation 没有。 我说做过 server side validation 用的
是 Hibernate的validation annotation. 她说要用 JavaScript 做, 要我告诉她 用
Javascript 做的syntax 是什么。我++! 用javascipt, syntax也是各种搞法都有啊,
又要我背细节;
最后问的进行不下去了,都是要背细节,而且都要按她的那套来搞。
最后丫说, 你不fit, 俺哈哈大笑,心里想这个搞法俺确实是不fit, 心服口服

发帖数: 1
15
来自主题: JobHunting版 - 从悉尼申请H1B1签证
请问,有人有类似经历吗,在新加坡以外申请,h1b1签证
Supporting Documents
In addition to the items listed below, all H visa applicants must submit:
这个正常,就是雇佣合同
Job letter from your U.S. employer specifying the details of the temporary
position (including job responsibilities, salary and benefits, duration,
description of the employing company, qualifications of the applicant, etc.)
and confirming the employment offer.
请问下面这个是需要雇主帮助完成的,还是我自己完成,让雇主签字
Certified form ETA 9035 or 9035E from the U.S. Department of Labor provi... 阅读全帖
j*******l
发帖数: 1066
16
Spring Framework很大 现在用的最多的component就是楼上说的DI
如果是新代码 建议采用jsr-330 Java config (1)
如果是老代码 也可以适当掌握spring xml bean的写法(2) 大概能理解能维护就行了
1. http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-standard-annotations
2. http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-definition
j**********r
发帖数: 3798
17
来自主题: JobHunting版 - java这套技术还能用多久?
已经十五年没有大变化,无非从xml变成annotation. 迄今也没看到更好的语言和架构。
我觉得再用15年至少吧。
r*****s
发帖数: 1815
18
来自主题: JobHunting版 - 一道脸家的系统设计常考题
I know facebook uses cpp and php a lot.
If they use Java I'd suggest the permission API to provide annotations to
help developers get a cleaner implementation and alleviate integration pains
. It's also better for static analysis. Not sure what's the options (if any)
for php.


: The problem is that this is a little island in a big ocean, a
really
big...

: Sorry I mean this is a system which needs to be injected into
many
other sub

: systems so it's messy and too hard to be describe... 阅读全帖
y***i
发帖数: 279
19
这些问题太general, 如果是我我会尽量问清楚要求细节,最好有个例子,因为不同的
要求解决方案也不一样,而且多问的目的是弄清楚考点是啥,毕竟是面你的人来决定啥
是最佳答案。
比如一,显然最简单的你可以create several threads within the same test method
, 或者你也可以用junit自带的,如果要求是不能自己kick off thread的话,其实我不
是很清楚具体的junior method/annotation,但是显然如此常规的测试,junit 应该支
持。
二,关键是啥叫同时,if only thread safe, 你可以wrap所有的call with
synchronized,如果"同时"的要求再高一点,可以内置lock, 只在改变的时候lock,
如果lock free, 可以考虑volatile, atom之类。
三,取决于pool manager 和 pool calller/user之间的具体交互,可以弄个queue,用
之前claim, 完了以后注销之类。
我说的这些也不一定对,就是给个思路,如果问题听起... 阅读全帖
j****0
发帖数: 55
20
The Genome Science Group (B-6) in the Bioscience Division at Los Alamos
National Laboratory sponsors internships for post baccalaureate and graduate
students year-round. The program lasts two to six months. Students will
leave the program with the hands-on training from B-6 scientists that will
equip them with advanced technical knowledge and skills in one of the
following areas:
• Genomic Finishing
• Annotation and Analysis
• Comparative Genome
• Metagenome
&
j****0
发帖数: 55
21
The Genome Science Group (B-6) in the Bioscience Division at Los Alamos
National Laboratory is seeking highly motivated postdoctoral researchers to
work on our Bioinformatics team to perform specialized analyses on newly
sequenced microbial genomes and Metagenomes. The work will involve running
sequence analysis software, analyzing genes by DNA/protein sequence, and
genomic structure, mining various gene annotation databases and preparing
manuscripts. The successful candidate will work closely
F*D
发帖数: 361
22
【 以下文字转载自 Postdoc 讨论区 】
发信人: medlar (aaaaaa), 信区: Postdoc
标 题: Postdoctoral position in bioinformatics at UCSD
发信站: BBS 未名空间站 (Thu Jul 30 17:47:19 2009, 美东)
Postdoctoral position in bioinformatics at UCSD
DESCRIPTION:
A Postdoctoral position is now open at University of California, San Diego (
UCSD) in developing bioinformatics software, tools, database, and pipeline
in sequence analysis, clustering, annotation, and so on. This person will
work on next generation sequencing data and metagenomic
d**e
发帖数: 52
23
来自主题: JobMarket版 - Java Opening in New York
Contact me if you are interested.
Requirements:
• Bachelor’s Degree in Computer Science or equivalent experience
• A solid understanding of web application architecture and the
fundamentals of software design
• 3-5+ years experience programming web applications in Java.
Solid understanding of generics, concurrency utilities, annotations, etc.
• An understanding of object oriented software and design patterns
• Strong experience working with SQL. Shou
l******h
发帖数: 2
24
Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖
o********n
发帖数: 1329
25
来自主题: JobMarket版 - job in Boston area
From: HR Communications
Sent: Friday, September 20, 2013 11:10 AM
To: +Billerica-All Users; +Hackensack-All Users; +Perceptive-East Windsor; +
Perceptive-Wayne; +Waltham-All Users
Subject: Featured Job Openings for Northeast [on behalf of Rose Barsumian]
Featured Job Openings for Northeast
Do you know the perfect candidate for a job at PAREXEL?
These Featured Jobs highlight open positions in your local area and there
may be others so please check the Employee Referral website for a full
listing ... 阅读全帖
d******n
发帖数: 186
26
帮组里贴一个招暑假intern的广告,需要的相关经验包括 machine learning,
computer vision, Big Data, NLP等。详细内容如下:
Are you interested in Large-scale Machine Learning? Information Retrieval?
Working with truly Big Usage Data Sets? Do you currently do research in at
least one or more of the following areas – Big Data Processing,
Recommendation Systems, Social Media, Computer Vision, Information Retrieval
or NLP? Do you want to conduct industry-leading research in audio/video
information retrieval and content discovery techno... 阅读全帖
e******6
发帖数: 6
27
Job Description
Cooperation Introduction
GenScript is a contract research organization (CRO) specialized in
biological research and drug discovery services. Ever since its inception in
2002, GenScript has experienced rapid, constant, and organic growth. Now
GenScript has become a leading biology contract research organization (CRO)
in the world, with a global operating team of over 900 dedicated scientists,
staffs.
Headquartered in Piscataway, New Jersey, GenScript has become a leading
Biology C... 阅读全帖
d******n
发帖数: 186
28
【 以下文字转载自 WashingtonDC 讨论区 】
发信人: dawnrain (fishman), 信区: WashingtonDC
标 题: Comcast在DC附近招2个full time senior researcher 和4-5个summer intern
发信站: BBS 未名空间站 (Mon Nov 17 10:15:33 2014, 美东)
替公司在这里贴个广告,如果你有下面列举的经验,可以考虑一下:
需要的经验/技能:
机器学习、推荐系统、计算机视觉、社交媒体、信息检索、自然语言处理
工作地点在Washington DC,具体的广告如下:
============================================================================
=====
Fulltime Job ad:
Are you interested in solving problems that involve massive data sets and
improve the experience of millions of ... 阅读全帖

发帖数: 1
29
来自主题: JobMarket版 - 招聘生物信息博士后 (转载)
【 以下文字转载自 Postdoc 讨论区 】
发信人: wendiw (aya), 信区: Postdoc
标 题: 招聘生物信息博士后
发信站: BBS 未名空间站 (Sat Apr 23 09:24:24 2016, 美东)
Postdoctoral Fellow in Translational and Clinical Bioinformatics -
University of Nevada School of Medicine
Job Description
We are seeking a highly motivated and independent postdoctoral fellow with
significant experience in the area of bioinformatics. The position is being
created to strengthen the genomic/genetic research at the Department of
Physiology and Cell Biology, Univers... 阅读全帖

发帖数: 1
30
Senior IOS/Android Software Engineer
Job Description
Recruiting highly qualified Senior IOS/Android Software Engineers to
help in the continued expansion of our AI/AR applications. We are looking
for intelligent, enthusiastic engineers, with Bachelor’s degree in computer
science or computer engineering, or equivalent experience. Your primary
focus will be the development of IOS/Android applications and their
integration with different AI/AR services. You will be working alongside
other engin... 阅读全帖
b****n
发帖数: 3343
31
来自主题: Living版 - 关于来美停留时间
Sometimes US visa officer will state the allowed stay duration in the
annotation area of the visa. This is rare though.
l********7
发帖数: 540
32
annotation for auto blood ct with auto diff
minimal decreased platelets
这个是什么意思啊!
有问题么?要治疗么?或者食疗么?
非常感谢的
platelet count /l 133 150-450 (reference)
我要吃药么?或者补点什么么?最近早晨起来嘴里总是有血,应该是牙龈出血吧?
要怎么办呢?
f********i
发帖数: 8412
33
http://www.depositaccounts.com/blog/2014/02/bbt-125-checking-ac
hat-doesnt-require-direct-deposit.html
Eligibility: This special limited-time offer is available for personal check
ing accounts only that are opened between 01/01/2014 and 04/30/2014. Offer c
annot be combined with any other offer. Offer is limited to one incentive pe
r household and does not apply to second or multiple personal accounts. To r
eceive the $125 incentive, clients must open a checking account and do at le
ast one of t... 阅读全帖
z****l
发帖数: 5282
34
来自主题: Money版 - US airways share miles back (转载)
Offer available for share transactions made between April 7th 00:00:01 PT an
d April 13th 2014, 23:59:59 PT. All transactions are non-refundable. Bonus m
iles will be awarded upon completion of the transaction. The maximum number
Share Bonus miles that can be received by one member for this offer is 50,00
0 bonus miles. All miles shared beyond this limit will not be eligible for a
bonus. The recipient of the share transaction will also receive the bonus m
iles. All transaction inquiries must be ... 阅读全帖
j**m
发帖数: 1112
35
【 以下文字转载自 Reunion 讨论区 】
发信人: jwmm (唧唧歪歪), 信区: Reunion
标 题: 入关的3个问题,请帮忙,谢谢。
发信站: BBS 未名空间站 (Mon May 3 11:43:23 2010, 美东)
1. I94 只填中文版的就可以吗?还是说要填中文版和英文版,两份?
海关申报表只填中文版的可以吗?
2. 父母需要带签证申请材料吗? 如果签证的时候说呆1个月,海关会不会只给一个月?
签证上面应该没有annotation.
3. 给海关的信需要解释为什么父母要呆6个月吗?我们已经买了6个月的往返机票。
谢谢。
j********e
发帖数: 1244
36
不一定 也可能还是给6个月
但另一个后果就是你这次呆了6个月 下回再签证就会有麻烦
q*******1
发帖数: 49
37
谢谢版版的回答。
我准备写封信向海关官员解释,但是这件事琢磨琢磨倒真是碰运气的事,填写160怕写6
个月影响签证,所以只写了3个月的逗留期,到头来搞得真只有三个月,很是郁闷。家
人说如果不行就三个月回去,想到只有不到3个月大的宝宝要带回国,真的很难过。
q*******1
发帖数: 49
38
谢谢你的回答。
版上看到的确后来给了6个月的。但是如果真的给了6个月且也呆了6个月,一定会影响
下次签证吗?听过说延期签证然后再签证有麻烦,但是这样的case,就是根据海关给了
6个月就停留了6个月,也会影响签证吗?
e*******e
发帖数: 336
39
我不认为又直接联系。我填160的时候给父母填的是45天。签证官询问的时候我爸妈也
说一个多月,最多2个月,入境还是
给了6个月

写6
q*******1
发帖数: 49
40
谢谢这位朋友的回答,可以问一下吗:你当时给爸妈买了多长时间往返的机票呢?进海
关的时候海关官员有没有详细地问,还是直接就给了6个月呢?我妈妈的签证上面有3个
月的注解,你的爸妈的签证应该没有写什么签注吧。
再次谢谢你的回答。
g*****o
发帖数: 21
41
来自主题: NextGeneration版 - 请教父母来美时间问题
我妈也有一次有只能呆四个月的Annotation。入境时给写了封信,解释希望能呆六个月
,结果给了六个月。也未必是信的作用啦,人本来没准就打算给六个月呢。
到下一次再去签证的时候担心这算不算不守信用阿,又给签证官写了封信,结果没事,
给签了六个月。人家没care这事,也未必是信的作用。两次写信都图个心理安慰吧。倒
都还算顺利。
个人经历给MM做参考。具体到个人,还有运气的成份。祝顺利!
s********m
发帖数: 748
42
来自主题: NextGeneration版 - 请教父母来美时间问题
我晕,我不是MM啦:)
多谢建议。能再问几个问题吗?第一,方便说说看怎么解释呆6个月呢?
第二,那你是不是先买好6个月的往返票呢?
第三,你再去签证的时候,签证官什么都没有问吗?你说给签了六个月是什么意思?签
证官给了annotation说6个月,还是说他什么都没问,入境时给的6个月?
谢谢了
g*****o
发帖数: 21
43
来自主题: NextGeneration版 - 请教父母来美时间问题
不是手写的,是打在visa中间偏下有个写Annotation的地方,一般不会有的拉,碰上比
较坏的签证官才干这事。
g*****o
发帖数: 21
44
来自主题: NextGeneration版 - 请教父母来美时间问题
后来再去签证的时候,签证官根本没问拉,再没有发生Annotation的事,就那一次,说
清楚了吗?所以说纯是运气,碰到不nice的签证官才会被刁难,被加注。
C**********r
发帖数: 8189
45
来自主题: NextGeneration版 - a good laugh - Avantgarde其人

唉。再copy and paste下:
Sherr noted that those regions "contain genes that are already known to
cause autism in humans, or are involved in brain development in such a way
that makes it likely that they can cause autism."
原paper link在这里 http://www.plosone.org/annotation/listThread.action;jsessionid=D1E9602708E256EBAE6797F5026047D1?root=64643
k***a
发帖数: 271
46
来自主题: Overseas版 - [合集] 急问一个f2转f1的问题
☆─────────────────────────────────────☆
zikikou (ziki) 于 (Mon Aug 22 16:25:13 2005) 提到:
我是f2过来的,但是签证的时候签证官说要注明我不能转f1,那我是不是就不能转f1读书了
?
有遇到过类似情况的朋友吗?谢谢
☆─────────────────────────────────────☆
trash (trash) 于 (Mon Aug 22 16:41:04 2005) 提到:
is there any annotation on your visa or i94?


☆─────────────────────────────────────☆
pinko (一生之水) 于 (Mon Aug 22 21:20:43 2005) 提到:
这签证官够变态的。

☆─────────────────────────────────────☆
kkkkkkkk (龙虎风云会之白眉大侠山西雁徐良) 于 (Mon Aug 22 23:19:45 2005) 提
J*******p
发帖数: 1129
47
这个坑好。李春燕在海外文轩写过一篇很好的华裔历史书汇总。链接在此:http://overseaswindow.com/node/16251?language=zh-hant
“有朋友问起讲华裔美国人的书,想起我们镇妈妈俱乐部2009年曾捐赠学区一批书籍,
有的适合小学生,有的适合历史老师和辅导员。近来华人意识到不能缩在自己小圈子里
,那么捐书给学区老师,班级和图书馆是一个有长远影响的办法。下面是我做过
research, 从Amazon上买的(镇上妈妈捐款)。很多可以买二手书,较便宜,也是新的
。如果最近有其他的书,烦请告知。
有些人沉浸在过去,或屈辱或荣光,或爱恋或痛恨,或妄自菲薄,或怨天尤人,都无甚
正能量,而只是前行的绊脚石。前段撰文号召华裔起来书写我们自己的历史:http://www.overseaswindow.com/node/14306 坐而论道不如起而行之,抱怨之后,要不咱读点儿书,捐点儿书,写点儿信?
五年前我曾给学区写信(书单下附),希望多讲一下亚洲二战历史以及华人历来对美国
在运输,农业,公平教育以及人权上的贡献。
1. 前克林顿总统speech writer E... 阅读全帖
t******l
发帖数: 10908
48
来自主题: Parenting版 - 求教一到小学数学题
当然 d-t 图以前画个 tick 图或者 annotation 的图作为前导导入。
D**n
发帖数: 132
49
annotated by translator
b*******i
发帖数: 118
50
来自主题: Postdoc版 - 经验分享:J1豁免后回国返签
豁免後,可以延期你目前的DS2019(更換一個新的表),前提是一定要是同一個項目號
碼,你的豁免就是有效的。
但是豁免後,如果你更換了項目號碼,換新的DS2019表(上面是新的項目號碼),那麼
你的豁免就等於白豁免了,而且今後不能再豁免,因為J只能豁免一次,不存在‘新的
豁免或者再次豁免’這樣的情況。
我覺得LZ指的是沒有換項目吧。每個DS2019上面都有一個唯一的項目號碼的,你獲得的
VISA上面也寫清楚了你的項目號碼是什麼。在VISA的Annotation下面,寫著你的項目號
碼,此號碼就是根據你的DS2019表上面的項目號碼來的。
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)