由买买提看人间百态

topics

全部话题 - 话题: angular
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
h******b
发帖数: 6055
1
来自主题: Programming版 - meteor真是重新定义了“糙快猛”
https://www.meteor.com/tutorials/angular/creating-an-app
真的太猛了,平常你搞mean stack,前台从后台crud需要不少代码的。 meteor好家伙
,完全自动。 一行js代码建立一个mongodb的collection,就直接在html里
读取数据库了。
你完全不需要写node/express/service/request的代码,不需要考虑本地和服务器sync
,meteor给你全部自动搞定!access mongodb的数据库就跟一个普通object一样简单。
而且现成package太多了, 从bootstrap到脸书login到ionic封装苹果安卓app都是应有
尽有,太给力了。真正的前后台无缝连接。angular/react任选。
https://atmospherejs.com/packages/most-used
当然这东西黑魔法太多了,估计大公司大项目没人敢用。 但搞startup/prototype实
在太爽了。
w*s
发帖数: 7227
2
放stackoverflow上一天没人回,这题谁解出来,才是真正大牛。
d****n
发帖数: 1637
3
最烦你这种钓鱼来的,滚一边玩去
c******n
发帖数: 16666
4
iframe用坏了 去改web server配置吧
w*s
发帖数: 7227
5
你是老邢的工人吧,把波士顿版搞死还不够?
w*s
发帖数: 7227
6
没用iframe啊
n*****t
发帖数: 22014
7
是不是哪个地方多了一个 >
n*****t
发帖数: 22014
8
还有你这 url 看着真别扭啊,# 放中间是作甚啊?
任何有歧义的地方都要清理干净,少敲几个字符,成了八嘎之后就是噩梦
w*s
发帖数: 7227
9
完全不懂了
w*s
发帖数: 7227
10
routeProdiver不都会出来# ? 不懂的说
h******b
发帖数: 6055
11
就是让你在上面贴一下部分代码。这种问题没有源代码没法解决。Plunkerer贴少部分
代码就可以了,比如这样:
http://embed.plnkr.co/ZiVJbCeX4GDgC1kMjnUB/preview
你这个九成是syntax问题,用像netbeans,webstorm,visual studio,这样的工具估计
某一行代码会显示红色那种。
把myBoardStatus.html换成其他已经能工作的HTML模板试试,如果能工作就说明问题在
HTML本身。如果不能工作在controller/router里。
d****n
发帖数: 1637
12
你确定那个是我的id?
p*a
发帖数: 592
13
$locationProvider.html5Mode(true);
c********1
发帖数: 5269
14
yes. log 一下就知道了.
the name is not predefinded. It is from user definded json data.
My test program
http://104.238.111.191/angular/customer.html
http://104.238.111.191/angular/customer.js
h******b
发帖数: 6055
15
来自主题: Programming版 - JS 的meteor 能上prod么
后台是nodejs, 安全方面不会有任何问题。
meteor我很喜欢,一条龙服务,所有功能都是现成的。 你define一个user
object他后台自动写数据库。你几乎感觉不到后台的存在,完全无缝。 加上大把
package,从脸书谷歌登陆到图表,都是区区几行代码。
真的非常牛。中小型项目最快最猛的框架,没有之一。 前台react, angular还是
blaze任选。
建议用angular或react, blaze离开了meteor平台就没人用了。 喜欢哪个用哪个。
l**********n
发帖数: 8443
16
来自主题: Programming版 - JS 的meteor 能上prod么
打个比方, angular 2 就包含了很多react的思想。我写angular 1的时候,一样可以
运用react的思想。
R*********4
发帖数: 293
17
来自主题: Programming版 - es6 写起来真爽
我只想说
把angular-local-storage当成angular的
应该是实战经验不多的,
l**********n
发帖数: 8443
18
来自主题: Programming版 - Scala,F#或haskell怎么用DI?
in angular, you can register a provider in a module, ( the angular module
only serves to group providers ). you can require a provider by naming it
in an dependency list.
w********m
发帖数: 1137
19
来自主题: Programming版 - 狗狗抛弃Java转投swift?
对劈材哥的strategy佩服的五体投地啊。
当年用Java,被oracle吊打到现在。尼玛oracle见android赚了钱,当然要分一半。
然后angular好好的,捡到一个软软不要的typescript当个宝继续开发。带红了软软的
visual studio code。现在是ES6了,typescript都没人用了,angular的产品还在
github上beta了。
将来准备换到果果的swift,这是想帮果果卖macbook吗?劈柴哥的历史贡献,
chromebook,打算不要了?
d******e
发帖数: 2265
20
来自主题: Programming版 - 狗狗抛弃Java转投swift?
typescript = ES 6+ type annoation.
type annotation是趋势 python也学去了。这个没神马。
angular是主要问题还是开倒车了。javascript当java 写,这个品位优点太差点了。
求大求全,不求快。
狗家的开发人员还是有点过气了,搞的都是oop那套。这个injection,哪个injection的。
你这个angular 基本思想就是炒软家 wpf.哪个是10年前东东好不好。
Oop框架的问题就是上手很爽,最后10%功能在框架内死活搞不定,逼死你。
撞墙活该。
w*s
发帖数: 7227
21
来自主题: Programming版 - Can't download gpg file
Cannot download gpg files from web (angular.js + node.js)
Hi i have a web from node.js and angular.js, in one page i have 2 links, for
log.tar.gz
log.tar.gz.gpg
(this is generated from log.tar.gz using gpg)
The problem is, for the 1st one i can right click the link and save log.tar.
gz. But for log.tar.gz.gpg, i get (failed) Network error.
How to fix it please ?
Thanks !
l**********n
发帖数: 8443
22
来自主题: Programming版 - react is total crap
react比angular恶心一万倍都不止。angular至少还能用jquery操作DOM,到了react,
DOM API被完全禁止了,意味着jquery完全无法使用了,如果mutate DOM using jQuery
,那么就出现这样的bug:
Uncaught Invariant Violation: Unable to find element with ID
而且根本无法debug。
h*********8
发帖数: 404
23
来自主题: Programming版 - react is total crap
Angular 要学一大堆ng tags 也是烦死了
而且 typescript 是比较烦烦的
React native 又比较容易
话说Angular 2 不也要用vdom 了? 还有piggyback reactnative?
d*******r
发帖数: 3299
24
来自主题: Programming版 - react is total crap
主要是大量的已有lib, 插件,是依赖 JQuery 的,不知道能混用不
当年用 Angular 1 的时候,发现用起来麻烦,prefer 封装在 Angular Directive 里面
W***o
发帖数: 6519
25
来自主题: Programming版 - 请教移动开发的framework问题
我觉得react用起来比angular要灵活一些,但是boilerplate好像多一点,目前感觉
react却少的东西就是类似angular里面的directive和一些filter,这些导致代码看起
来不够DRY
h******b
发帖数: 6055
26
angular/react现在市场65%/35%分,angular在工作数量上还是遥遥领先。
你看看indeed就知道了,而且两个学一个学精了就可以了,道理都差不多,没有理由学
一个另外一个就完全不能用。
r***y
发帖数: 4379
27
来自主题: Programming版 - vue可以搞server-side rendering了。。
有点凌乱了...
春兄意思是 vue 啪啪了二货 angular 的脸?
你这是要跳 angular 的船, 上 vue 的船?
c******n
发帖数: 16666
28
来自主题: Programming版 - vue可以搞server-side rendering了。。
可不是嘛 我这周才和老板说了 今明2年培训的钱 找个风景秀丽的ng会去玩一下吧 看
着NG2也该差不多熟了,可以开始用了。
然后就出了这个, 你看看这个breaking change list能有多长,这都RC5了啊,虽然改
的都
是内部bootstrap的东西,但是RC5啊,你让人怎么放心用。
https://github.com/angular/angular/blob/master/CHANGELOG.md
我最近都在搞其他的 除了上周临时用ng 1.4风格写了个小东西 其他都没再看了
但是现在觉得还是正式上vue算了,等尘埃落定时候 说不定web component都熟了,到
时候少不了又是新一轮framework大战
r***y
发帖数: 4379
29
来自主题: Programming版 - vue可以搞server-side rendering了。。
有点凌乱了...
春兄意思是 vue 啪啪了二货 angular 的脸?
你这是要跳 angular 的船, 上 vue 的船?
c******n
发帖数: 16666
30
来自主题: Programming版 - vue可以搞server-side rendering了。。
可不是嘛 我这周才和老板说了 今明2年培训的钱 找个风景秀丽的ng会去玩一下吧 看
着NG2也该差不多熟了,可以开始用了。
然后就出了这个, 你看看这个breaking change list能有多长,这都RC5了啊,虽然改
的都
是内部bootstrap的东西,但是RC5啊,你让人怎么放心用。
https://github.com/angular/angular/blob/master/CHANGELOG.md
我最近都在搞其他的 除了上周临时用ng 1.4风格写了个小东西 其他都没再看了
但是现在觉得还是正式上vue算了,等尘埃落定时候 说不定web component都熟了,到
时候少不了又是新一轮framework大战
c*********e
发帖数: 16335
31
来自主题: Programming版 - 现在好多公司要用angularjs 2了。
angular js 2. 这就是要刚毕业的啊,工作15年的,和刚毕业的,angular js 2在一个
起跑线上,刚毕业的工资低,公司肯定要刚毕业的做这个。
h******b
发帖数: 6055
32
来自主题: Programming版 - 最近跟着领导学了react,的确不错
领导的mentor推荐她学习react涨收入,我也跟风看了看。
感觉谷歌angular 1到2升级实在太失策了,完全推倒重来,在indeed上面工作数量现在
和react一下子拉进了很多。react native也很火,有几个相当规模的app开始用了。
react组件这个思路真的不愧是mvc之后一大创新。 HTML和js在一个文档里开始不习惯
,但适应以后的确非常make sense。 每个文档相当于产品一个部件,不需要同时打开
几个文档看不同逻辑。 HTML直接写在javascript里面看多了也顺眼了。 angular 2其
实抄袭了很多react的理念。
虽然工作title是产品经理的位置,能写简单poc给高层看看拉拉资源还是不错的。 个
人ppt实力碾压同部门的阿三,但真的能使用的半成品还是强很多。 交给程序员之前
就能把界面逻辑,数据库model理顺了,事半功倍。 而且很多设计在mockup上看很好
,真的用起来完全不是一回事。算法性能什么的不是我的强项,但poc来说真心简单粗
暴。不知道如何优化算法? 没问题咱提前写个简单script把数据的summary算出来... 阅读全帖
l**********n
发帖数: 8443
33
来自主题: Programming版 - ionic 2 still beta?
今天想试试ionic, 却发现不知道什么版本好。
$ ionic start cameraApp blank --v2 --ts
[ERROR] Sorry! The --v1 and --v2 flags have been removed.
Use the --type option. (ionic start --help)
For Ionic Angular projects, try ionic start cameraApp blank --type=
ionic-angular
c******y
发帖数: 8796
34
只能LOS。。。这个问题比较大。
The Venetian innovation, which comes by way of Fabrizio Tamburini and his
team of researchers, effectively takes radio waves and twists them into a
vortex. As a result, you’re able to send several discrete signals over the
same frequency, theoretically (though not practically) providing us with an
“infinite number of channels in a given, fixed bandwidth.”
Basically, the multiple signals are sent out with different degrees of spin
(“orbital angular momentum states”) and the recei... 阅读全帖
l**n
发帖数: 67
35
来自主题: Science版 - cosmo.1
I agree i was wrong here. But i still don't quite understand that
why this cosmological constant with negative pressure is needed
to ensure a static universe. If the total angular momentum(fishy?)
of the universe is not zero, is it possible to get a static universe
without \Lambda? The earth doesn't necessarily fall into the sun
as long as it has angular momentum, right?
s**e
发帖数: 103
36

if you want to treat spin and regular angular momemtum consistantly, i.e.,
mixing them consistantly, you have to treat spin as angular momentum.
c*w
发帖数: 4736
37
来自主题: Science版 - solution to the 'small phys problem'
Oops, it looks like no one really worked this problem out.
Maybe it is a little bit tricky.
The key to this problem is the the conservation of angular
momentum. Since to any axis lying on the surface of the turn
table (which does NOT turn with the turntable), the total
angular momentum of the ball conserves, because no torque
exerts on the ball.
Set lab coordinate x-y, which lies on the surface of the
turntable, and whose center is the center of the turntable.
(NOTE, it does not turn with the tu
a******r
发帖数: 786
38
我来说说我自己戴invisalign 的经验(我在读medicine,不是dentistry。。)
我从2010 年开始戴,因为我是 8号9号牙缝隙大,上下都得戴(因为上面吧缝隙缩小就
要同时矫正下面的咬型)。做到第二年缝隙几本看不出来了。但是一直在微调直到2015
年,医生觉得有一些空隙实在invisalign 挤不起来,所以戴了3个月钢牙。然后又在用
invisalign 的牙套当retainer。 后来又晚上戴了半年,现在完全不戴了,我觉得有一
些回去,不过还好。
首先我觉得很对牙医跟你说的invisalign 的时候不回告诉你不是所有牙齿型都可以给
invisalign 矫正,如果传统钢牙是100% 的话,我觉得invisalign 肯定比这个低。
第二,如果你确定做invisalign 的话,要知道有很大一部分的工作都是在给公司做,
从模拟到做一个个的模型。大概70%的工作都是他们在做。但是你的dentist 也需要大
概30%的工作,主要是看你的fitting 跟 progress。
不知道你在哪个区域,我建议是可以找非常accessible 的牙医,因为有时候你可能会
a... 阅读全帖
z*******n
发帖数: 1034
39
by Abel Avram on May 13, 2014 | Discuss
Share
Share
|
Share on facebook
Share on digg
Share on dzone
Share on twitter
Share on reddit
Share on delicious
Share on email
"Read later"
"My Reading List"
Microsoft has added native support for hybrid cross-platform mobile
applications in Visual Studio 2013 Update 2.
Microsoft has collaborated with PhoneGap as early as 2011 starting with
support for Windows Phone Mango, and later it begun contributing to ... 阅读全帖
p**********d
发帖数: 7918
40
来自主题: ChinaNews版 - 中國人又獲獎了
http://www.nytimes.com/2012/02/28/arts/design/pritzker-prize-aw
February 27, 2012
For First Time, Architect in China Wins Top Prize
By ROBIN POGREBIN
The Chinese architect Wang Shu, whose buildings in a rapidly developing
China honor the past with salvaged materials even as they experiment with
modern forms, has been awarded the 2012 Pritzker Architecture Prize.
Mr. Wang is the first Chinese citizen to win the prize (I. M. Pei, an
American, was the first Chinese-born architect to win, in 1983) a... 阅读全帖
w*p
发帖数: 16484
41
来自主题: Military版 - 登月照片。。。。
根据这篇文章,哈勃能够分辨的在月球表面的最小的尺寸是200米(我也见过说60米分
辨率的),比正常人的脚印大不少啊,姚明上去了踩一脚哈勃也看不见的。
http://blogs.discovermagazine.com/badastronomy/2009/05/13/ten-t
Hubble cannot see the Apollo artifacts on the Moon.
This question is sent to me roughly once a month, and sometimes even more
often: why don't we shut up the people who think the Apollo Moon landings
were faked by pointing Hubble at the Moon and taking pictures of the Apollo
sites?
Well, one reason is that, duh, NASA and astronomers have better things to do
t... 阅读全帖
h*****9
发帖数: 6643
42
没听说过是你自己无知。这只能说明你是个很容易被骗的无知之徒, 你又要凭你自己的无知骂人,你又无耻了。
揭露 BIG-BANG 是披着科学外衣的宗教,这在10年前就有很多文章了。
THE "BIG BANG" IS JUST RELIGION DISGUISED AS SCIENCE
by Michael Rivero
Once upon a time, a long time ago, there was this guy named Aristotle.
Pretty sharp fellow; he thought up a lot of good things. But, occasionally
he made a mistake.
One mistake he made was to toss an orange up in the air and watch it come
straight back down to his hand. Aristotle reasoned that if he was moving,
the orange would have flown... 阅读全帖
b***y
发帖数: 14281
43
来自主题: Military版 - 方励之的学术成就全记录
No. The search include his early works up to 1978. Here is the same list
sorted by year.
1) The Influence of Gravitation on the Vacuum State.
By Li-Zhi Fang.
Acta Phys. Sinica 27 ( 1978) 181-18.
2) THE STRUCTURE AND STABILITY OF THE ABNORMAL NEUTRON STAR.
By Li-Zhi Fang, Qin-Yue Qu, Zhen-Ru Wang, Tan Lu, Liao-Fu Luo.
Sci.Sin.22:187-198,1979.
3) Some Recent Developments in Astrophysics. (Talk).
By Li-Zhi Fang, A. Qadir, R. Ruffini.
In *Nathiagali 1980, Proceedings, Physics and Contemporary Needs... 阅读全帖
g***j
发帖数: 40861
44
来自主题: Military版 - 学好数理化,上了法庭都不怕
【 以下文字转载自 Joke 讨论区 】
发信人: splitmind (狗爹猫爸), 信区: Joke
标 题: 关键时候还是学理工科有用啊
发信站: BBS 未名空间站 (Sat Apr 14 03:51:38 2012, 美东)
UCSD的一个物理学家用一篇论文在法庭上证明自己无罪,牛人啊!!
我估计法官看晕了,哈哈
A physicist at the University of California San Diego used his knowledge
of
measuring bodies in motion to show in court why he couldn't be guilty of
a
ticket for failing to halt at a stop sign. The argument, now a four-page
paper delving into the differences between angular and linear motion,
supposedly got the physicist out of a $400... 阅读全帖
s**e
发帖数: 1498
45
聚焦提升Voc by saving radiation angular entropy.这个一般科盲是不懂的.
n********g
发帖数: 6504
46
来自主题: Military版 - 我的高大上CEO一号工程
阳光稀疏地透过米圣山上的云层,懒洋洋地照在圣塔库鲁资山上。也就是在清晨,山上
庙宇的反光才能透过云雾反射在峡谷里。Citizens of the Valley,也就是几只鸭子、
一群猪正在大街上闲逛。平先生,一只鸭子,一面忙着开铺;一面叫着楼上睡懒觉的熊
猫,起床啦。
很多年以后,有一小兔崽子问当年在山上躲原子弹的老兔崽子爷爷,为什么乌龟选了熊
猫当了龙战士。老兔崽子也不知道。这几个山头庙里的事情他们兔子怎么知道。只是偶
尔几只鹅从山上下来串门。依稀听说几只动物每天吃饱饭要么在山头间飞来飞去,要么
在打架扔茶杯。
诸位看官。其实乌龟乃一代宗师,看破红尘。这熊猫首先身材高大。熊猫其实真名是猫
熊。样子象猫身躯却象熊。站在一众猪和鸭子之间自然熊立猪鸭群。身高而不是武功乃
我Valley生存第一要素。其次,熊猫乃黑白混血,血统至为尊贵。血统无疑则是Valley
谁上谁下的第一政治原则。
我就是那小兔崽子。其实咱也不知道山上每天究竟发生些啥事情。耐不住神教弟子每天
晨课一边厢:星宿老仙,法力无边,神通广大,法驾中原;另一边厢:日月神教,东方
教主,千秋万代,一统江湖。一时必电闪雷呜,地动山摇。... 阅读全帖
T*U
发帖数: 22634
47
angular+node够你退休。
u*****a
发帖数: 9489
48
【 以下文字转载自 Piebridge 讨论区 】
发信人: aaccee (aaccee), 信区: Piebridge
标 题: [女征男]征婚顺便解决身份
发信站: BBS 未名空间站 (Thu May 21 11:08:13 2015, 美东)
我女,30,在芝加哥, h1b, i-140今年通过,不过现在遇到了困难,随时有走人的危
险, 压力很大。申请工作时候发现绝大多数工作还是要有绿卡或者EAD, 很受打击。
我有几年做web development的经验,如果能有身份,找到工作还是可以的,不会成为
你的负担。我现在也在为找到新工作奋斗,如果有人能帮一把再好不过。不过那些算法
题我是不会的,刷题来不及。
长得一般人,有些艺术特长,保
守。我是普通工薪阶层知识分子出身。我对回国有畏惧感,很多年都在国外,回去了
基本是一无所有,所以现在还是想继续在美国发展,希望能有个稳定的工作。
希望你是读书出身,年龄差的不太多,准备结婚。
如果哪位有能帮助办绿卡LAMP或者angular+node的工作机会,
请联系我,面试成功重金酬谢!
请大家不要笑话我,欢迎站内联系。
G*******n
发帖数: 6889
49
来自主题: Military版 - 这女码工长的像华裔
但是名姓都是北欧的
Strong: JavaScript, Angular JS, CoffeeScript, Node JS, Express, SQL, Jasmine
/Protractor
Some experience: Ruby, Ruby-on-Rails, Sinatra, MongoDB, D3, Jade
v*********u
发帖数: 10464
50
来自主题: Military版 - 这女码工长的像华裔
之前哈萨克斯坦那个排球还是篮球大美女也像华裔
[在 Galvatron (从来就没有救世主) 的大作中提到:]
:但是名姓都是北欧的
:Strong: JavaScript, Angular JS, CoffeeScript, Node JS, Express, SQL,
Jasmine/Protractor
:...........
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)