由买买提看人间百态

topics

全部话题 - 话题: pig
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
D**u
发帖数: 288
1
来自主题: Statistics版 - 学习Pig Latin
I am currently learning Pig too, looks like more flexible than Hive.
This is the best book so far, Programming Pig.
Try this online version, pretty helpful.
http://chimera.labs.oreilly.com/books/1234000001811/index.html
The author also provided a cheat sheet, very nice too.
http://mortar-public-site-content.s3-website-us-east-1.amazonaw
s*********e
发帖数: 1051
2
来自主题: Statistics版 - 学习Pig Latin
pig can be run locally on pc.
check here https://cwiki.apache.org/confluence/display/PIG/PigTools
D**u
发帖数: 288
3
来自主题: Statistics版 - 学习Pig Latin
nice, share workflow最受用了。
顺便分享一下,我现在学习用Notepad++写Python的Pig UDF,然后用Jython 在 Linux
Putty里compile。
还有一种很流行的方式是用Maven+Eclipse 写java的 Pig UDF,稍微学习了一下,还没
有领悟精要。

and
s****u
发帖数: 1197
4
来自主题: Maryland版 - honey pig barbecue groupon
$15 for $30 Worth of Korean Barbecue at Honey Pig Gooldaegee Korean Grill
http://www.groupon.com/deals/honey-pig-gooldaegee-korean-grill?
r*****t
发帖数: 462
5
来自主题: Maryland版 - 转让Groupon $30 for Honey Pig
今年7月份Groupon的deal,适用于MD和VA的任意一家Honey Pig。面值$30。有效期至1/
2/2013。当初Groupon团购价是$15。
最近工作很忙,每天加班,没有机会再去Honey Pig了,就准备$12转让了。接受BOA和N
on-CC Paypal。请站内联系。谢谢。
s*********n
发帖数: 74
6
来自主题: Animals版 - 求助关于guinea pigs
朋友跟我说了这件事让我帮忙出主意,我自己没什么经验,请宠物版各位帮忙想办法吧。
最近别人给了朋友两只guinea pigs, 非常的可爱,可能是因为刚换了环境,跟朋友一
家还不是很亲,但是朋友的小孩很喜欢。但是矛盾来了,朋友的婆婆说不让养,说有味
道对孩子呼吸道不好,影响孩子成长,还为这个闹过一次。有一次小朋友可能是去喂它
们不小心被咬到了,小动物没有看到以为小手就是吃的,据说就是挂了下,小朋友就小
哭了一下,结果奶奶就过去对着guinea pig笼子一顿打,还说什么让你咬人,我就不让
你活
,弄死你,药死你之类的话。朋友听了心惊胆颤,但是也不好说什么。现在朋友左右为
难,本来是想让小动物跟小朋友一起成长,让小朋友有责任感,但是因为这个引起家庭
矛盾又确实不值得,尤其还是跟孩子奶奶。请问这样的情况该怎么办呢
c***z
发帖数: 6348
7
来自主题: DataSciences版 - [Pig Progamming] Pig Latin join problem
Hi all,
Just wondering if any of you had the same problem and if you know the cause.
I have a dataset of site-visitor pairs, which records daily visits to
websites.
While filtering the data using domain "espn.com", there are 306 unique
visitors; while joining the data with the list of domain names, I only got
176 unique visitors to "espn.com".
This is weird since conceptually both filtering and joining use hash tables
the same way.
PS: pig didn't drop bags during the join, at least it didn't tel... 阅读全帖
s*********e
发帖数: 1051
8
来自主题: DataSciences版 - a question about pig latin (转载)
【 以下文字转载自 Statistics 讨论区 】
发信人: statcompute (statcompute), 信区: Statistics
标 题: a question about pig latin
发信站: BBS 未名空间站 (Mon Feb 24 21:04:00 2014, 美东)
how to write the pig latin code to do below?
select * from tbl1 where id in (select id from tbl2);
thanks.
r*****d
发帖数: 346
9
来自主题: DataSciences版 - 学习Pig Latin
请问大家:有什么好方法好资料帮助学习Pig Latin? Pig Latin我完全是新手。我在
amazon上找了下,好像没有书评特别好的。
谢谢!
r*****d
发帖数: 346
10
来自主题: DataSciences版 - 学习Pig Latin
谢谢大家回复!
update: i found the book 'Programming Pig' especially the first 6 chapters
very helpful - it is not demanding to pick up Pig as yet another tool :)
r*****d
发帖数: 346
11
来自主题: DataSciences版 - Pig UDF written in Python
Thank you.
i did register jython.jar and did add jython.jar path to my PIG_CLASSPATH
environment.
if i did not do them, it would be a *different* error code, which would be:
Pig Stack Trace
---------------
ERROR 2998: Unhandled internal error. org/python/core/PyObject
java.lang.NoClassDefFoundError: org/python/core/PyObject
at org.apache.pig.scripting.jython.JythonScriptEngine.
registerFunctions(JythonScriptEngine.java:304)
...
k****o
发帖数: 76
12
来自主题: DataSciences版 - hadoop pig的问题
Before doing DUMP data4, mapreduce is not actually running.. "Describe"
works without mapreduce runs..
check the table for pig SUM :
http://pig.apache.org/docs/r0.7.0/piglatin_ref2.html#SUM:
SUM returns long when input is int, but you assign it to cost: int..
This is where the runtime error comes from, I believe. change to "cost: long
", or simply "cost" without type specification..

.L
m*********u
发帖数: 1491
13
来自主题: DataSciences版 - 你们用的都是pig吗?
Pig do what Pig need to do.
Hive do what Hive can do.
Two different tools.
r*******k
发帖数: 1423
14
来自主题: DataSciences版 - 入门者问一个pig问题
我不太懂pig的内部运行模式
我使用pig -x local运行一些很简单的脚本
我在grunt下面,一个一个命令的敲
习惯用dump看结果。
可是我发现DUMP时候,要输出一大堆东西
是不是代表,DUMP的时候,计算是从头开始的呢?
j*****n
发帖数: 1545
15
来自主题: DataSciences版 - 入门者问一个pig问题
you can do :
pig -x local xxx.pig > result
c***u
发帖数: 4107
16
来自主题: DataSciences版 - pig能做iterative的问题吗?
最近在自学, 请问, pig能做iterative的问题吗, 比如一些matrix update的问题的.
比如nonnegative matrix factorization, 有一个nonnegative matrix N, 要分解成2
个matrix A和B, 使得|N-A*B|尽可能的小
标准算法是: 先随机生成2个矩阵A和B. 然后先固定A, 按照一个规则用A和N去更新B;
再固定B, 用B和N去更新A; 一直如此循环更新, 直到|N-A*B|足够小
不知道用pig或者hive, 能解决如此问题吗?
(不是research问题, 5/6年就有人用mapreduce+java发了N片文章)
当然, 我是说不另外写UDFs的情形下
g*********n
发帖数: 119
17
来自主题: DataSciences版 - pig能做iterative的问题吗?
我看是不能的。Pig Latin是一种 data flow language,定义的是数据处理流,而不包
括如何控制数据的处理。后者需要编程语言,比如python或者java。这两种语言都可以
很好的和Pig接口。
c**********a
发帖数: 659
18
Pig, hive 都是类似sql 的语言,都较简单。看看tutorialspoint 上的sql tutorial,
找个sql 平台练练,不出三个星期就差不多了。
Hadoop , pig, hive 都是在linux上open source的。如果你没有Linux, 有pc , 可以
装个Linux 用USB, YouTube 上搜搜,很多相关视频,dual boot.或者你用mac,直接就
有terminal.
装了Linux 后,装Hadoop, hive 等,google 如何安装,很方便。然后google 个相关
tutorial 上手练练,不出3个星期就差不多了。
c**********a
发帖数: 659
19
网上课程YouTube , google 搜索一下。另外推荐一个网站udemy.com 上面搜索一下。


: Pig, hive 都是类似sql 的语言,都较简单。看看tutorialpoints 上的sql
tutorial,

: 找个sql 平台练练,不出三个星期就差不多了。

: Hadoop , pig, hive 都是在linux上open source的。如果你没有Linux, 有pc
, 可以

: 装个Linux 用USB, YouTube 上搜搜,很多相关视频,dual boot.或者你用mac,
直接就

: 有terminal.

: 装了Linux 后,装Hadoop, hive 等,google 如何安装,很方便。然后google
个相关

: tutorial 上手练练,不出3个星期就差不多了。

c**********a
发帖数: 659
20
如果想边学边做,装个linux, 装好 hadoop, hive, pig, 照着tutorial, video, 练一
练就行。
pig, hive 都类似 sql, youtube 上就有好多资源。 或者网上应该有在线的练的tool
吧?
https://www.tutorialspoint.com/hive/
https://www.tutorialspoint.com/apache_pig/index.htm
https://www.youtube.com/watch?v=62YFDnfU2Eo
https://www.youtube.com/watch?v=dWLYM6s0hf0
w*******y
发帖数: 60932
21
Mini Pig 2 LEDs Flashlight White (3*LR1130 Included)
Price: $0.78 http:// Mini Pig 2 LEDs Flashlight White (3*LR1130 Included)
78cents Free Shipping
All the kiddos I ever handed these out to loved them.
Link:
http://www.dealextreme.com/details.dx/sku.1138
w*******y
发帖数: 60932
w*******y
发帖数: 60932
23
focalprice.com:
http://www.focalprice.com/YF380G/4pcs_Angry_Bird_Iphone_Game_Gr
4 pcs Pig in the set.
Soft plush doll.
Hangs them in your car or in your house as nice decorations.
Color: Green.
w*******y
发帖数: 60932
24
Alice's Adventures in Wonderland (AD Classic) by Lewis Carroll
Link:
http://www.amazon.com/Alices-Adventures-in-Wonderland-ebook/dp/
Gulliver's Travels (Classic StartsTM) by Jonathan Swift
Link:
http://www.amazon.com/Gullivers-Travels-Classic-StartsTM-ebook/
Oliver Twist [Kindle Edition]
Link:
http://www.amazon.com/Oliver-Twist-ebook/dp/B000JQUT8S/ref=pd_s
The Phantom of the Opera [Kindle Edition]
Link:
http://www.amazon.com/Phantom-Opera-ebook/dp/B000JQU51O/ref=pd_
A Journey to the Centre of th... 阅读全帖
s****u
发帖数: 1197
25
来自主题: _DC版 - honey pig korean barbecue groupon
$15 for $30 Worth of Korean Barbecue at Honey Pig Gooldaegee Korean Grill
http://www.groupon.com/deals/honey-pig-gooldaegee-korean-grill?
p*********w
发帖数: 23432
26
来自主题: ChinaNews版 - 最新 Ipad App:Angry Tax Pigs(图)zz
最新 Ipad App:Angry Tax Pigs(图)zz
http://www.flickr.com/photos/jiruan/6320308215/sizes/o/in/photo
P*****t
发帖数: 4978
27
没听说这个牛人呀。
A pharmaceutical researcher who discovered a way to harvest blood thinner
from pig’s intestines has become the richest man in China.
Li Li rose to the top slot of China’s rich list today as shares in his
Shenzhen Hepalink Pharmaceutical Co were listed on China’s Nasdaq-style
market for start-ups.
Looking overwhelmed by the extraordinary investor interest in his firm, Mr
Li made a rare public appearance to strike the gong marking the start of
trade this morning in the southern boomtown
k***n
发帖数: 11247
28
来自主题: Military版 - pig is smart
well loyalty is a very good quality for a pet, you don't want some stranger
easily lure your pet pig away with a peanut
q********8
发帖数: 372
29
来自主题: Military版 - kayaker=pig
pig
b********n
发帖数: 38600
30
'Humans evolved after a female chimpanzee mated with a pig': Extraordinary
claim made by American geneticist
http://www.dailymail.co.uk/sciencetech/article-2515969/Humans-e
O******e
发帖数: 238
31
来自主题: Military版 - Re: 比尔盖茨的新cash pig (转载)
【 以下文字转载自 Seattle 讨论区 】
发信人: onetiemyshoe (onetiemyshoe), 信区: Seattle
标 题: Re: 比尔盖茨的新cash pig (转载)
发信站: BBS 未名空间站 (Tue Jul 1 09:07:14 2014, 美东)
Right! Please take a look。 别的裁人的
需要想想以后活谁做, 烙印可以完全不管!
VMWare 大换血: 微软高通的未来:
http://www.mitbbs.com/article_t/Military/41469339.html
烙印思科,高通的搬运策略
http://www.mitbbs.com/article_t/SanDiego/31912121.html
诺基亚新CEO跟微软CEO同学, turnaround artist, 没当
CEO前就部门裁员25,000。 他说“regrettable, but necessary"
http://www.mitbbs.com/article_t/Boston/31720621.html
同时搬运烙印:
http://... 阅读全帖
D**s
发帖数: 6361
32
【 以下文字转载自 USANews 讨论区 】
发信人: Daos (刀丝斋), 信区: USANews
标 题: 疯狂的undocumented immigrant pig:一天1.5万头偷渡中国
发信站: BBS 未名空间站 (Sun Nov 20 22:53:16 2016, 美东)
疯狂的越南生猪走私:一天1.5万头偷渡中国
据央视新闻客户端11月20日消息,中国和越南的边境上素有“互市”的传统,但从越南
进口生猪是不允许的,因为口蹄疫原因,从2003年开始,农业部就禁止从越南进口生猪
。然而记者前不久在广西崇左市宁明县爱店镇调查时发现,这里每天有约1.5万头越南
生猪通过各种“走私通道”进入中国,流入内地一些屠宰场。
央视记者经过数月跟踪调查,揭开了这条越南生猪走私的非法利益链。
原标题:独家调查揭开越南生猪走私利益链:一天上万头生猪走私入我国
一天上万头越南生猪走私入境
爱店口岸
爱店口岸位于广西宁明县爱店镇,是国家一类口岸,与越南谅山省接壤,边境贸易十分
活跃。记者注意到,白天冷冷清清的街道,一到黄昏就开始热闹起来,大大小小的货车
来来往往。记者查看了一个停车场的停车记... 阅读全帖
S*********n
发帖数: 3939
m*****n
发帖数: 1513
34
dream pig (夢見豬)在中國幼稚園事件的角色,耐人尋味
警方急急出來抓人,卻不公布事實真相,讓人心憂

发帖数: 1
35
来自主题: Military版 - 欧洲PIGS国家,好好学习非洲
Pigs国家,可以发展的选项不多了
还是等着tg撒钱比较合适
k****g
发帖数: 1509
36
Shit. A gay pig sucking my ass.
kdtang (Kelvin) 的大作中提到: 】
l****z
发帖数: 29846
37
by Jammie via Jammie Wearing Fools
Needless to say, the “mostly peaceful” protesters are preparing for a big
night. Hope nobody interrupts Obama’s latest round of golf to give him the
news.
The NYPD is investigating several threats to kill NYPD officers during
New Year’s Eve celebrations, DNAinfo New York has learned.
Sources say there are several gang members on social media calling for
New Year’s Eve to be “Kill a Pig Night” so that it will become “The New
Year’s Eve Massacre 2014.”
... 阅读全帖

发帖数: 1
38
来自主题: USANews版 - TRUMP on Kasich: He eat like a pig!
You are not allowed to talk about pig like this!
t*******h
发帖数: 2744
39
Trump isn’t just a pig. He’s a predator!
W*****B
发帖数: 4796
40
老大爷还在蹦跶啊

:Trump isn’t just a pig. He’s a predator!
O******e
发帖数: 238
41
来自主题: JobHunting版 - Re: 比尔盖茨的新cash pig (转载)
【 以下文字转载自 Seattle 讨论区 】
发信人: onetiemyshoe (onetiemyshoe), 信区: Seattle
标 题: Re: 比尔盖茨的新cash pig (转载)
发信站: BBS 未名空间站 (Tue Jul 1 09:07:14 2014, 美东)
Right! Please take a look。 别的裁人的
需要想想以后活谁做, 烙印可以完全不管!
VMWare 大换血: 微软高通的未来:
http://www.mitbbs.com/article_t/Military/41469339.html
烙印思科,高通的搬运策略
http://www.mitbbs.com/article_t/SanDiego/31912121.html
诺基亚新CEO跟微软CEO同学, turnaround artist, 没当
CEO前就部门裁员25,000。 他说“regrettable, but necessary"
http://www.mitbbs.com/article_t/Boston/31720621.html
同时搬运烙印:
http://... 阅读全帖
g*******1
发帖数: 826
42
来自主题: NextGeneration版 - 赠送peppa pig sticker
手上有peppa pig stickers,小孩子喜欢的那些,有需要的人可以站内联系。
免费送的加免费寄。
谢谢
n******n
发帖数: 12088
43
The seven states to make my list are California, Florida, Illinois, Ohio,
Michigan, North Carolina, and New Jersey.
the 7 big states...

Recession, Banking
this week as the derisively (or perhaps affectionately) named PIGS spilled
their slop on the continent. But Portugal, Ireland, Greece, and Spain are
hardly worthy of so much attention. In truth, they are little more than the
currently favored proxies among the leveraged speculator community (cough)
for the larger problem of all sovereign debt
a*******9
发帖数: 2265
44
today is Pig's day, but Watch out, Bulls, Bears are still there!
a*******9
发帖数: 2265
45
pig-bull-bear's conference call -- 2010-03-29
Bulls stepped ahead. however they chose to stay under the 1180.
a*******9
发帖数: 2265
46
Bulls chose to stay under the 1180.
Pigs said : I thought I will lose, but I am still the best. the process
doesn't matter, the real factor matters
bulls said: ... It's our land. we are little by little, inch by inch. we
will conquer 1180 just like piece of cake. lets wait and see
Bears said: ... hold, Solid, it's still not our time, 1180 is our battle
line. when time passing by, we will have more supporter.
Time to fight. Time to be big!
[Bulls, still have time, everything is not settled. i
a*******9
发帖数: 2265
47
Bulls took the 1180. and prepare to another move, DOW 11000!
Pigs said: it will be several days, I will be your King to master the whole
land.
Bulls said: Just like last time we broke the 1180. We have our plan. Bulls
watch your step. not that fast. 11000 is on the way.
Bears said: Our baddy is still at vacation. Dow 11000 and SP 1200 is our
bottom line. MAYBE we will fight back. but it's still based on....
today there is not bad news, bears are still on the vacation. However Bulls
is not
E**O
发帖数: 1980
48
Japan's debt-to-GDP ratio is approaching 200 percent.希腊等PIGS不就100%多点
,就被折腾的够呛,日本好像什么事都没有。
a*******9
发帖数: 2265
49
Pig-bull-bear's conference call -- 2010-04-22
Dow 11000 is under Bulls' feet for 8 day. SP 1200 is token over for 3 days.
Piggy is main voice.
the minster of bulls said: “We trapped them again, But it’s nothing new,
so boring. Can I watch DVD on office hour?”
the king said, “Inch by inch is good. we don’t need rush. What kind of DVD
?”
the minster of bulls said: “it’s Bears want more”.
Bears said: so damn bad! We almost did it. Right now I know O8’s power and
willing. we are died already. kusik
a*******9
发帖数: 2265
50
Pig-bull-bear's conference call -- 2010-04-28
Dow11000 is taking over by bulls, but SP 1200 is still in bears’ hands.
the General of bulls said: “Soldiers, Hold your position. Time is in our
side.”.
the king said, “minster, can you call NanNan, he is doing great. The
situation is much better than we expected. So we are fine.”
Solider of Bears said: “What happen? , is our king returned ?“
Marshal of Bears said: “Looks we are trapped again. So bad, Your Majesty.

“It’s Summer, I don’t have my po
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)