Monday, June 21, 2021

If I was Google offline map product manager - Learn more about it

June 21, 2021

Introduction

One of ideas is to read more articles about Google map. I like to look into challenges for those Google map algorithms. 

Here is the article I like to read carefully. 

25 Google Maps Tricks You Need to Try

Google Maps is a Swiss Army Knife chock-full of hidden navigation, geospatial search, and customization tools. These tips and tricks will help you unlock your map app's full potential.

Google Maps has changed the way we navigate the world. Its desktop and mobile apps have become not just a way to get from point A to B via car, public transportation, or on foot. The ubiquitous Google service is also a geospatial search engine for the world around us.

Google continues to revamp and improve its map product with features like augmented reality and commuter options, but there are a ton of customizable tools and hidden functions already baked into Google Maps that you may not know about, like Incognito Mode. Check out our tips for how to maximize your Google Maps power.


Plot Multiple Locations on Google Maps

file path for plotting Multiple Locations on Google Maps

Rarely do car trips consist of going from point A to B. More often, they are something like A-to-café-to-library-to-Joe's-house-to-B. It's a good thing Google makes it possible to anticipate real trips. To add multiple destinations in the Google Maps mobile app, enter your starting point and your ultimate destination and then click the three dots in the top-right corner. This will prompt a pop-over menu with the option to "Add stop." Click that and you can add a route with multiple stops. You will even have the option drag and drop stops within your itinerary. (Note that this doesn't work when you're using the mass transit option.)


Customize Your Vehicle Icon

screenshots of changing the car icon that shows up in the google maps app

If you're driving, Google lets you choose what car shows up on your navigation in the iOS and Android apps. In the app, plug in your destination and start up driving directions. Tap the icon that shows your current location and a pop-up menu will appear with several car icon options: a sedan, a pickup truck, or an SUV.


'Hey Google, Where Am I Going?'

google assistant prompts in the google maps app

If you want to interact with Maps while you're driving, you don't want to actually take your eyes off the road. With "OK Google" voice commands in the Google Maps Android app, you don't have to. For example, if you notice you're running low on gas, say "OK Google, find gas stations" and it will show gas stations on the map (which you can look at when you've come to a red light or have pulled over). You can also ask for things like "What's my next turn," "what's my ETA," or "How's traffic ahead?" On iOS (pictured above), you have to tap the microphone icon on the top right, at which point you can ask your questions via voice.


Access Google Maps Offline

screenshot of the download option in the Google Maps mobile app

Today, Maps is most useful on mobile, which brings up a problem: when you are most in need of Maps, you may find yourself somewhere with limited (or—gasp—non-existent) coverage. To help you out, Google Maps supports offline access. Navigate to the area you'd like to access while offline. Swipe left on the menu at the bottom of the screen and tap Download to download that map, assuming you have enough storage on your device. You can then get information about businesses in the region and turn-by-turn directions within the downloaded section.


Change Directions Around by Drag and Drop

When finding directions on the desktop version of Maps, you can maneuver your route to go through or away from specific locations via drag and drop. Just click and drag any part of your direction route to move around (this only works with directions for walking, driving, or biking—it won't work with any mass transit options).


Find Directions With a Single Click

menu that appears when you right-click on Google Maps desktop

To get to where you're going, you can type in your destination address. Or right-click where you're going on the map and it will prompt a pull-down list, which you can use to find directions to or from that location.


Measure Any Distance

screenshot of multiple locations plotted on Google Maps with the distance below

Using the aforementioned right-click tool, you can also calculate the distance of any two points on Earth. Choose "Measure distance," which will drop a point (signified by a white dot with a bold black line), then click anywhere else on the map, and the distance between the points will be calculated. Keep clicking to add more points on the map. The total trip distance will be calculated in the main card.


That Little Person in the Corner Has a Purpose

screenshot of moving pegman around

See that little yellow person in the bottom right-hand corner? That's "Peg Man" (or alternatively "the pegman"). You can pick little peggy up and drop him anywhere on maps and be thrown into that location's Street View. Once in Street View mode, he will be oriented with the current view in the embedded map window in the bottom left-hand corner.


Augmented Reality Walking Directions

screenshot of augmented reality on google maps

If you're walking around a city, and need a visual aid beyond Peg Man, Google Maps supports augmented reality walking directions in certain locales. This feature layers directional prompts atop Street View imagery to help you know which way to walk or turn. It initially rolled out in 2019 for Pixel phones, and later expanded to other Android phones with ARCore support and iPhones with ARKit support. The area itself needs to have robust Street View support; if it's available, you'll see a "Live View" option at the bottom of your screen when you search for walking directions.

If you don't have AR view yet, find the blue dot on Google Maps and tilt your phone in the direction you're about to walk. That blue location dot will cast what looks like a shadow in the direction you're facing to help you get oriented.


Let Other People Drive

screenshot of Uber and Lyft options within the Google Maps app and then in the Lyft app

Ride-sharing services are a big part of the modern transportation mix, so Google added ride options from companies like Uber and Lyft to its mobile app. Once you enter your destination, click the icon of the little figure attempting to hail a taxi or the mass transit option. You'll then be presented with nearby rideshare options along with the estimated time and fare. Previously, you could request an Uber inside the Maps app, but Google quietly removed that option a while back. Now you tap Open App to open Lyft or Uber and book your ride.


Find Accessible Transit Routes and Locations

screenshot of accessibility file paths in google maps

Those with mobility issues can search for wheelchair-accessible transit routes by tapping Options > Wheelchair accessible when looking for train or bus directions. When you get to your destination, meanwhile, the Accessible Places setting will offer up wheelchair accessibility information about that location. Turn it on via Settings > Accessibility > Accessible Places and toggle it on. "When Accessible Places is switched on, a wheelchair icon will indicate an accessible entrance and you’ll be able to see if a place has accessible seating, restrooms or parking," Google says. "If it’s confirmed that a place does not have an accessible entrance, we’ll show that information on Maps as well."


Remember Where You Parked

dropping an 'i parked here' pin in google maps

Remember that episode of Seinfeld where the gang spent the whole episode wandering around a parking garage looking for their parked car? That episode (and many others) would not work in 2021, thanks to Google Maps.

Share Your Location

Share Your Location on ios

Google Maps now lets you share your current location with people for specific periods of time. If you share your location with a specific contact, they'll see your icon moving in real time on their map. On Android or iOS, tap your profile icon on the top left and select Location sharing. Choose who you want to share with and for how long, and they'll be able to see where you are.


Time Travel With Google Maps

screenshot of the time travel feature in google maps on the desktop

Street View has amassed a huge collection of street imagery over the years. In 2014, Google introduced Time Travel, a way for users to see how Street View has changed over time. A virtual time machine of sorts. Access this four-dimensional cartographic experience in Street View by clicking the little stopwatch icon in the top-left corner where available, which prompts a sliding scale that allows you to jump through Street Views over time. (For a deeper dive on changes to the Earth's surface between 1994 and 2018, check out Google Earth Engine.)


Add Your Own Street View Images

Add Your Own Street View Images

Google doesn't rent out its Street View cars, but Android users can now add their pics to the street-level mapping feature. All that's required to start contributing is the latest version of the Street View app on Android and a smartphone with support for ARCore. Once captured, the images can be published via the app and Google's servers will automatically carry out the required rotation and positioning to create a series of connected photos. After that, they will appear on Street View for all to see for the location you captured.


Add Some Music

screenshot of music settings in google maps

If you've always got Google Maps navigation open while you're driving (or walking), you can add music to your trip without leaving the app. Sync music apps such as Spotify or Apple Music by opening the menu and navigating to Settings > Navigation and then either Music playback controls on iOS or Show media playback controls on Android to sync a music app. Once you do, a pop-up to your app of choice should appear as you're driving for a quick tap to get your music started. Be sure to make your playlists beforehand so you can keep your eyes on the road.


Find Electric Vehicle Charging Stations

screenshot showing how to search for EV charging stations on Google Maps

The makeup of cars on the road is changing, and Google Maps is changing with it. You can now search "EV charging" or "EV charging station" in Google Maps to find the nearest locations to charge up your electric vehicle.


Find Safe Drug Disposal Locations

Find Safe Drug Disposal Locations GIF

Google Maps is doing its part to fight the opioid crisis with a search tool to help users find safe drug disposal locations. Type "drug disposal near me" into the search bar to pull up pharmacies, medical centers, and local authority locations where you can safely dispose of excess pills.


Share Your Favorite Places

screenshots of creating a list and sharing that list within the google maps ios app

Google Maps lets you share some of your favorite places with a friend; just tap the share icon on the location's Google Maps card to send it to them via text, email, or your app of choice. And you can save favorite places by tapping the Save icon; they'll show up in the Saved option in the bar. But if you want to share more than one location, you can create a Pinterest-like list within Google Maps. When you save a favorite place, tap New list to create a new collection (like "Favorite Thai places in Brooklyn") or add it to an existing one. You'll find them in the Saved tab under Your lists; tap the three-dot menu and then Share list to send a link to friends.


Become (or Consult) a Local Guide

Think you know your neighborhood better than Google's algorithm? Then consider becoming a Local Guide. While anyone can leave reviews and tips in Google Maps, Local Guides allows you to earn points for leaving more insights and data that—as you go up the ladder—can result in access "to higher levels of the program, as well as benefits like early access to Google features and special perks from partners," Google says.


Street View Into 'Mars On Earth'

Google is making Street View more immersive to give users close-up views of breathtaking locations and landscapes all over the world, including the deserted Devon Island in Northern Canada near the North Pole, which is the closest terrain to Mars that can be found on Earth. Check out the Street View panorama, which will look familiar to anyone who watched AMC's The Terror about British Royal Navy ships trying to find the Northwest Passage in the late 1800s.


Google offline map | Make it work | Disable mobile data | Only use WiFi to download

 June 21, 2021

Introduction

It is hard for me to fix my Google offline map issue. I tried to look up Google for the issues a few times, finally I made it work. 

Highlights

  1. Remove all download maps, only download one offline map - Vancouver area;
  2. Turn off Wi-Fi, and then go to Google map. It supposes to work automatically if I choose my home address, but it shows the message saying that "Try again";
  3. Google again, find the article to make sure turn off setting for location, wifi-only; Here is one of article I read;
  4. Read one of Google support article, here is the link. I tried but it did not work; 
  5. Continue to google search, and then find the article to turn off mobile data; 
  6. I have Roger pay as you go, even though Roger does not provide data service, but my Google map does not work. 
  7. Go to Settings -> mobile data usage -> turn the options (Stream and download) off. 

Here is the article. 

How do I disable my mobile data and only use WiFi to download?

Please go to “Settings” -> “Mobile Data Usage”, and turn the options (Stream and Download) off. You can also choose to go to your phone’s mobile data settings, and disable Castbox to use your mobile data.

Sanjay Ghemawat | Wiki ariticle | MAPReduce paper reading

 Sanjay Ghemawat (born January 1, 1966 in West Lafayette, Indiana)[1] is an Indian American[2] computer scientist and software engineer. He is currently a Senior Fellow at Google in the Systems Infrastructure Group.[3][4] Ghemawat's work at Google, much of it in close collaboration with Jeff Dean,[5] has included big data processing model MapReduce, the Google File System, and databases Bigtable and Spanner. Wired have described him as one of the "most important software engineers of the internet age".[5]

Ghemawat was elected as a member into the National Academy of Engineering in 2009 for contributions to the science and engineering of large-scale distributed computer systems.


Education and early career[edit]

Ghemawat studied at Cornell University and the Massachusetts Institute of Technology (MIT).[3] He obtained a PhD from MIT in 1995, with a dissertation titled, The Modified Object Buffer: A Storage Management Technique for Object-Oriented Databases. His advisors were Barbara Liskov and Frans Kaashoek.[6]

Before joining Google, Ghemawat worked at the DEC Systems Research Center. There he began his long-time collaboration with Jeff Dean, who worked at another DEC research lab nearby. Their work at DEC included a Java compiler and a system profiling tool.[5]


Career at Google[edit]

After DEC was acquired by Compaq, many of its researchers left the company. Dean took a position at the newly founded search engine company Google, and was joined by Ghemawat in 1999. The two began working on Google's core infrastructure, making improvements to cope with the search engine's rapid growth in users in the early 2000s.[5]

Ghemawat's work at Google includes:

  • MapReduce, a system for large-scale data processing applications.
  • Google File System, is a proprietary distributed file system developed to provide efficient, reliable access to data using large clusters of commodity hardware.
  • Spanner, a scalable, multi-version, globally distributed, and synchronously replicated database
  • Bigtable, a large-scale semi-structured storage system.
  • TensorFlow, an open-source machine-learning software library.

How to navigate google maps without Internet

June 21, 2021

I like to watch all videos related to Google map offline feature on youtube.com, and then put together my notes. It is hard for me to master this product feature, but I think that it will take some time for me to figure out. 

Here is the link. 




Saturday, June 19, 2021

4 Minute Arm Workout | Met a professional tennis player | Learn how to take care of my shoulder | Arm warmup exercise with dumbbells

June 19, 2021

Here is the link. 

I played tennis against the wall more than one hour last Saturday (June 19 2021). On the way to my car, I saw two people warmup drills, and they reminded me China open professional player does. I asked them and started a 20-minutes conversation. 

I talked about my shoulder pain, the professional player - a young handsome man showed me how to use 2 lb dumbbell to do all kinds of warmup for shoulder. They did work out, with a dog, two dumbbell, two tennis balls. He told me that there are a lot of videos on youtube to teach how to warmup using dumbbell. He told me to build muscle of arm. 

I noticed that their education of muscle and pain and shoulder is far beyond my level; This makes my life much easy, I do believe that Vancouver city is such amazing place to live, I have to meet those talent people. 

Canada welcomes all talent people in the world. I was so thankful to those two people from Serbia, and help me how to treat my shoulder pain, learn how to warm up daily. One of things I did in Sunday was to shop a pair of 3 lb dumbbell. 


Wash sale | 30 days rule | loss can not be counted

June 19, 2021

 

所谓“洗售”规则又称“虚卖”规则,美国国税局(IRS) 税法第1091条规定,在某些情况下,出售股票或证券出现的亏损是不能抵税的(而如果有收益就得缴税)。具体地说,如果纳税人在30天之内,反复出售或购买同一只股票,任何亏损都不被认可,这样的交易被视为Wash sale(洗售)。为了遵守这一规定,投资者必须等待至少31天,才能买回同一只股票。

  据Citadel的Joe Mecane称,目前散户投资者在高峰日的成交量中占比高达25%,较2019年的10%大幅上升,这是普通交易者的准入门槛降低的结果,包括很多券商取消交易费用的策略。尽管“洗售”规则旨在防止纳税人利用人为制造的亏损来逃避税收,但它很容易被很多新手投资者忽视。

  随着越来越多的新手投资者使用Robinhood这样的平台,这条规则“可能会给那些在2020年买进卖出同一只股票的新手带来问题。”他们的投资可能已经失去了价值,但是他们不能在他们的1040报税表格上录入亏损。”而由于你无法用这些亏损来抵消已实现的收益,你仍然需要拿出钱来支付税款。对于故事中的这位Robinhood投资者来说,这意味着80万美元的税单。

Case study

在一个令人瞠目结舌的案例中,一个Robinhood平台的新手投资者通过炒股获得了4.5万美元的净利润,却面临着80万美元的潜在税单。这个例子突显了理解复杂的交易规则和某些策略的税收影响的重要性。这应该是对散户投资者中的新手们的一个响亮警告。

  理财规划师Brian Wruk最近收到了一位30岁的Robinhood投资者的短信,他面临着一张80万美元的税单。和很多人一样,这位从事保险行业的投资者在2020年开设了一个新的经纪账户,并迅速扩大了交易规模。他每天的交易额在20万至200万美元之间,每天完成10到50笔交易。

  Wruk在社交媒体上发帖,向人们讲述了这个故事:“一个年轻人打电话给我,说他2020年开了一个3万美元的经纪账户……他总共完成了4500万美元(没错,是4500万)的交易,到年底净赚了4.5万美元。他最近收到了他的1099-B税单,并用报税软件Turbo Tax计算了一下。令他懊恼的是,他有140万美元的资本利得收入,并面临略高于80万美元的税单。”

Stock investment: 杨百万 | 股票 | 亲情

June 19, 2021


杨百万自述:伤我最深的,不是股票是亲情!

Here are my highlights:

  1. 2万本金积累了2000万资产, 1985 to 2013
  2. 我们钱少,只有2000元,交给你,赢的我们拿,输掉的是你的。这简直是向我要钱,使我很苦恼
  3. 他们的钱输掉了,又来向我借钱,我一律不借
  4. 长期以来,对于亲情我总缺个心眼儿,不知道防自家人,连保险箱密码也是半公开的。
  5. 杨百万杨百万,如果有一百个这样的亲戚,你不就变成穷光蛋了。从穷人堆里爬出来的人,做人真难呀,你不得不面临诸多的人情困惑。
  6. 1989年我的保险箱内存放的10万多元,1988年国库券少了6万多元,后来平白又失窃2万元现金。我把几个兄弟找来询问,他们一个都不承认。
  7. “捐给社会上穷困的人,是我的社会责任。你们又不缺手缺脚,你们可以凭劳动创造自己的生活。”
  8. 他说,“我帮你开车,每月工资要5000元。”我从这里悟出了为什么旧社会里老板不用自家人的道理。
  9. 一个兄弟给我写了忏悔书,原来是他们兄弟几个合伙干的。这些年来,我一直对他们很好,他们终于良心发现了。

2021年6月13日,有“中国第一股民”之称的职业投资人杨怀定离世,享年71岁。

  “杨百万”是中国证券市场的最早参与者,从收购国库券赚到第一桶金,之后转战股市,从1985年至2013年,用2万本金积累了2000万资产。

  财富大增,也给杨怀定带来很多人情困惑,“伤我最深,让我最痛的是亲情和家事。”

  作者丨杨怀定

  我的名字叫杨怀定,因买卖国库券发了财,成了百万富翁,人们戏称我为杨百万,我在股市中历经艰难曲折,尝尽了酸甜苦辣,伤我最深,让我最痛的是亲情和家事,它们是我的问题股。

  我杨百万在股市里发了。有些人认为,我的兄弟姐妹,我周围的人也一定跟着发了。并不是这么回事。炒股票是个人的行为,完全是由个人意识所决定的。

我的兄弟姐妹尽管参与国库券买卖很早,都给我打过工,也积累了一定的资金,但都未发起来。

  比如,我哥哥当时资金有4万元。我劝他说,“你要资金保值、增值,去买400股真空电子,每股100元,放着,你哪怕不炒,一直捂到700元,就会变成32万元。”

  哥哥当时是内河航运公司经理,从部队复员回来的,接触社会少。

  他说“我不知道到什么地方去买。”因为当时上海没有建立证券交易所。我告诉他“到外面去收。”他说“我不会收。”我说“我可以帮你收,你就捂着,肯定比银行利息大。”

  他被我说服了,把钱送来了。第二天,我准备帮他买了。他对我说“想来想去,我不要买了。”

  过了几年,真空电子股票涨上去了。他懊悔得不得了。从此以后,我再也不动员他买股票了。

  1988年,我几个兄弟通过买卖国库券都有上万元的资金。一个弟弟开了一间杂货店,经营不善转租掉一个兄弟买了辆摩托车,把资金消费掉了。直到现在为止,家里除了我继续投资股市以外,没有一个人参加炒股票。

  一个人炒股,是意识观念的转变。

  我的哥哥是从计划经济轨道里走过来的,受计划经济影响很深。后来,侄女对我说“我爸爸很憨的。当时你动员他去买股票,他跟我说,你不要看你大爷叔现在神气,政策一变就会倾家荡产。”

我太太娘家是一个大家族,早期我曾向他们借钱买国库券,后来连本带利还给他们。

  当时,太太的外甥女有4000元,对我说,“给我买点国库券,藏着,比银行利息大。”我到西康路一看,真空电子只有90元1股,我给她买了40股。

  买了两个月后,真空电子涨到400元股,价格翻了倍多。我马上通知她说,“股票收益远远超过国库券了。你抛不抛”她一听,说“抛。”我说,“还有可能涨上去的,现在通知你,股票是你的,由你决定。”

  她说,“我坚决抛,决不后悔”结果,我帮她抛掉了,赚了16000元。后来,又涨到800元股,她后悔死了,话就变调了。

  通过这些事后来我树立一个思想,不要轻易给人家做具体参谋。

  2

  我太太的舅舅是商务印书馆的资本家,我们结婚时他没来,那时我穷,他看不起我。后来我成了杨百万,出名了,就上门了。

  我热情接待了他,叫他去买一点豫园商场股票。当时一般人是买不到的,我帮他在建设银行抢了第一条跑道,买了50股豫园商场股票,2000元1股,就是10万元。涨到5000元股时,我告诉他,“已经涨到5000元了,50股可以赚15万元。”

  抛掉豫园商场股票后,这位舅舅又想买延中实业股票。我说,“延中实业不能买,已经380元了。”他说“坚决买,就算豫园商场股票15万元没赚。”

  我说,“延中实业你一定要买,我也没有办法要买,你一定要写张纸条我坚决要求买进延中股票。”

  后来,我给这位舅舅买进了延中实业股票500股。买进后,就一路下跌,一直跌到200多元。

  这时候,他人也不来了,派他的儿子来,说,“我们一定要抛掉。”

  我对他儿子说,“这股票是你父亲的,如果我给他抛掉了,怎么向他交待。”

结果,延中实业抛掉以后,马上反弹。因有字据在我手里,这位舅舅没办法讲,有苦说不出。

要我帮忙买卖股票的,除了太太的舅舅外,还有太太的表姐妹。她们公开向我提出我们钱少,只有2000元,交给你,赢的我们拿,输掉的是你的。这简直是向我要钱,使我很苦恼。

  这类事我碰到不少。如果我不为亲戚买卖股票,他们就说你富了,六亲不认。

  他们买卖国库券尝到甜头了,后来股票行情好,我又叫他们买了10张认购证,中到6张,捂到每人都赚了10多万元。

  1992年股市快见顶时,我将亲戚们请到家里来开了一个小会。会上,我说,“现在我已经退出股市了,不好做了,要跌了。我劝你们也不要做了。”他们走出我家门就议论开了。有的说小阿弟胆子小了,不会做股票了。

  他们个个不听忠告。在1992年的1400点跌到386点的过程中,全部输光,从此就告别了股市。有些人认为,认得杨百万就好了,在股市里就不会输钱了,其实是没有用的。炒股票归根结蒂还是要靠你自己。

  他们的钱输掉了,又来向我借钱,我一律不借。生活困难,我可以给你一千元、两千元。

  当时我一登报,杨怀定成为了杨百万,很快就传到了我的家乡。我祖籍乡下是淮安和扬州交界处,亲戚都到上海寻我,我外婆姐姐的儿子一开口要借5000元。

当时,我想:杨百万杨百万,如果有一百个这样的亲戚,你不就变成穷光蛋了。从穷人堆里爬出来的人,做人真难呀,你不得不面临诸多的人情困惑。

  出了名、有了钱以后,亲情碰撞,我感觉到了世态炎凉,正应了一句老话:贫穷闹市无人间,富贵深山有远亲。

  3

  我的几个兄弟都是从小吃苦走过来的,但想法和我不一样。我现在还保持艰苦朴素的生活,他们认为,小时候吃苦,现在就要享福,把少儿时吃的苦补回来。

  怎么补回来呢?除了透支收入,他们开始偷我的钱,用从我这里偷得的钱去享受。

  还是在做国库券买卖的时候,一次我带着一个兄弟去洛阳。当我从外面回到宾馆。阿弟不在,我给他的一只密码箱还在。我想把随身带的香烟留给他我就走。

  谁知在他的密码箱竟发现了1000元钱,封条封着,上面银行营业员的名字、图章和我箱子里的钱是一样的。我明白了,他是趁我不注意时,从我的密码箱里偷拿了1000元钱。

  长期以来,对于亲情我总缺个心眼儿,不知道防自家人,连保险箱密码也是半公开的。1989年我的保险箱内存放的10万多元,1988年国库券少了6万多元,后来平白又失窃2万元现金。我把几个兄弟找来询问,他们一个都不承认。

  后来派出所派出三名警探到我家来查看,对我说,“这次失窃案是你们自己人作的,外贼不可能只偷一部分国库券,门窗和保险箱都没有被撬的痕迹。”

  警探一分析,我没有话好说了,只好自认倒霉。很长时间,我也搞不清楚究竟是哪个小兄弟偷的。

  外面的人只看到我杨百万风光的一面,其实,这些年来,我家里的这些“问题股”对我的伤害是很大的。

外面人偷你东西,我总感到可恶,你亲弟弟偷你的东西,很痛心。这些年,我做了点善事,捐过款。我的弟弟拿了报纸跟我母亲讲,“你看,我小哥捐给人家社会上不认识的人家几千几千,捐款给我们就好了。”

  我说,“捐给社会上穷困的人,是我的社会责任。你们又不缺手缺脚,你们可以凭劳动创造自己的生活。”

  这些年来,在培养几个兄弟方面,我没有少花心血。1989年,我帮小兄弟取得驾驶执照,支付培养费5000元。叫他开车还付他工资。当时,我买了一辆小轿车,本想让他帮我开车,然后取得一份职业资格,到外面去开出租汽车,或为老板开车。

  后来帮他介绍了开车职业,一月工资有1000多元,他就是不想做。后来,我看他实在不肯,就说你帮我开吧。

  他说,“我帮你开车,每月工资要5000元。”我从这里悟出了为什么旧社会里老板不用自家人的道理。

  年保险箱失窃的事,究竟是谁干的长期是个谜。后来,一个兄弟给我写了忏悔书,原来是他们兄弟几个合伙干的。这些年来,我一直对他们很好,他们终于良心发现了。

  读着他们的忏悔书,当时,我的心里很痛苦,想不到在金钱与亲情的天平上,金钱竟然战胜了亲情。如今这一封忏悔书多少给了我一丝心灵的安慰。



Institute of Vibration Shock & Noise Shanghai Jiaotong University | 8902 class | Alumni

Here is the link.  

1988级-1997级

发布时间:2018-01-18

1989年骆军骆振黄、陈之炎博士
郑辉骆振黄、陈端石博士
杨建国陈之炎硕士
刘威陈全福硕士
祝华严济宽硕士
周炎傅志方硕士
张红岩陈端石硕士
严辉徐敏硕士
代劲松佟德纯硕士
陈建敏史习智硕士



Friday, June 18, 2021

华东交通大学 | My nephew's graduate school | My research | Aunt is not easy job

 June 21, 2021

Introduction

I am a single Canadian citizen. I sponsored my nephew Chen Jiayu to immigrate to Canada two years ago. He landed in May 2019, and then he went back in three days. He got married, and has first child born in less than one month ago. After four consecutive years to take graduate admission, he was admitted to this graduate school. 

I like to welcome him to land in Canada to start a new life back in 2019. But life is too tough for me to help as a single Canadian. I do not have any home in Canada, I just rent one bedroom in a house. I was so humbled and do not have enough savings to support my relative after working in Canada over 10 years. 

Graduate school 

华东交通大学

 语音 编辑 讨论36 上传视频

East China Jiaotong University

华东交通大学,简称“华东交大”,位于江西省省会南昌市,是一所以交通为特色、轨道为核心、多学科协调发展的教学研究型大学,是中国国家铁路集团有限公司、国家铁路局与江西省人民政府共建高校,是国家“中西部高校基础能力建设工程”高校、江西省属重点大学,入选教育部卓越工程师教育培养计划、国家级大学生创新创业训练计划、教育部新工科研究与实践项目、江西省一流学科建设高校、全国毕业生就业典型经验高校、全国创新创业典型经验高校、全国深化创新创业教育改革示范高校、全国高校实践育人创新创业基地、国家大学生文化素质教育基地、国家级知识产权培训基地、硕士研究生推免工作单位、江西省交通强国建设试点单位,为中俄交通大学联盟、中国—东盟轨道交通教育培训联盟创始成员。 [1-2] 
1971年,国务院、中央军委决定将上海交通大学机车车辆系以及同济大学铁道工程专业并入上海铁道学院,更名为华东交通大学,迁往江西。1978年,华东交通大学与上海铁道学院各自继续办学。学校原隶属铁道部,2000年,转制为“中央与地方共建,以地方管理为主”。 [1] 
截至2021年1月,学校占地面积2816亩,各类建筑面积80万平方米,图书馆收藏纸质图书239万册,电子文献233万册;设有20个学院,52个本科招生专业;拥有1个博士后科研流动站,1个博士后科研工作站,3个一级学科博士点,21个一级学科硕士点,18个硕士专业学位授权类别;有教职工2000余人,其中专任教师1200余人;有各类学生3万余人。 [1] 
创办时间
1971年9月
主管部门
江西省

MapReduce paper | 2004 | Jefferey Dean | My 20 minutes reading

 June 18, 2021

Here is the paper. 

MapReduce is a programming model and an associated implementation for processing and generating large data sets. Users specify a map function that processes a key/value pair to generate a set of intermediate key/value pairs, and a reduce function that merges all intermediate values associated with the same intermediate key. Many real world tasks are expressible in this model, as shown in the paper. Programs written in this functional style are automatically parallelized and executed on a large cluster of commodity machines. The run-time system takes care of the details of partitioning the input data, scheduling the program’s execution across a set of machines, handling machine failures, and managing the required inter-machine communication. This allows programmers without any experience with parallel and distributed systems to easily utilize the resources of a large distributed system. Our implementation of MapReduce runs on a large cluster of commodity machines and is highly scalable: a typical MapReduce computation processes many terabytes of data on thousands of machines. Programmers find the system easy to use: hundreds of MapReduce programs have been implemented and upwards of one thousand MapReduce jobs are executed on Google’s clusters every day.

My highlights:

  1. a large cluster of commodity machines
  2. who is taking care of the details of partitioning the input data, schedule the program's excution across a set of machines, ... 
  3. Google implementation of MapReduce - ? 
Over the past five years, the authors and many others at Google have implemented hundreds of special-purpose computations that process large amounts of raw data, such as crawled documents, web request logs, etc., to compute various kinds of derived data, such as inverted indices, various representations of the graph structure of web documents, summaries of the number of pages crawled per host, the set of most frequent queries in a given day, etc. Most such computations are conceptually straightforward. However, the input data is usually large and the computations have to be distributed across hundreds or thousands of machines in order to finish in a reasonable amount of time. The issues of how to parallelize the computation, distribute the data, and handle failures conspire to obscure the original simple computation with large amounts of complex code to deal with these issues.

As a reaction to this complexity, we designed a new abstraction that allows us to express the simple computations we were trying to perform but hides the messy details of parallelization, fault-tolerance, data distribution and load balancing in a library. Our abstraction is inspired by the map and reduce primitives present in Lisp and many other functional languages. We realized that most of our computations involved applying a map operation to each logical “record” in our input in order to compute a set of intermediate key/value pairs, and then applying a reduce operation to all the values that shared the same key, in order to combine the derived data appropriately. Our use of a functional model with userspecified map and reduce operations allows us to parallelize large computations easily and to use re-execution as the primary mechanism for fault tolerance. The major contributions of this work are a simple and powerful interface that enables automatic parallelization and distribution of large-scale computations, combined with an implementation of this interface that achieves high performance on large clusters of commodity PCs. Section 2 describes the basic programming model and gives several examples. Section 3 describes an implementation of the MapReduce interface tailored towards our cluster-based computing environment. Section 4 describes several refinements of the programming model that we have found useful. Section 5 has performance measurements of our implementation for a variety of tasks. Section 6 explores the use of MapReduce within Google including our experiences in using it as the basis for a rewrite of our production indexing system. Section 7 discusses related and future work.

My notes - challenges: 
  1. Most such computations are conceptually straightforward. However, the input data is usually large and the computations have to be distributed across hundreds or thousands of machines in order to finish in a reasonable amount of time.
2 Programming Model 

The computation takes a set of input key/value pairs, and produces a set of output key/value pairs. The user of the MapReduce library expresses the computation as two functions: Map and Reduce. 

Map, written by the user, takes an input pair and produces a set of intermediate key/value pairs. The MapReduce library groups together all intermediate values associated with the same intermediate key I and passes them to the Reduce function. The Reduce function, also written by the user, accepts an intermediate key I and a set of values for that key. It merges together these values to form a possibly smaller set of values. Typically just zero or one output value is produced per Reduce invocation. The intermediate values are supplied to the user’s reduce function via an iterator. This allows us to handle lists of values that are too large to fit in memory. 

2.1 Example 

Consider the problem of counting the number of occurrences of each word in a large collection of documents. The user would write code similar to the following pseudo-code: 

map(String key, String value): 
// key: document name 
// value: document contents 
for each word w in value: 
    EmitIntermediate(w, "1"); 

reduce(String key, Iterator values): 
    // key: a word 
    // values: a list of counts 
int result = 0; 
for each v in values: 
    result += ParseInt(v); 
Emit(AsString(result)); 

The map function emits each word plus an associated count of occurrences (just ‘1’ in this simple example). The reduce function sums together all counts emitted for a particular word. 

In addition, the user writes code to fill in a mapreduce specification object with the names of the input and output files, and optional tuning parameters. The user then invokes the MapReduce function, passing it the specification object. The user’s code is linked together with the MapReduce library (implemented in C++). Appendix A contains the full program text for this example.

Actionable Items


It takes hours to finish reading the paper. I have to get used to read a lot of articles more often.