fabiochiu/medium-articles huggingface dataset:
4 simple ways to refresh your home, when starting from scratch isn’t an option.
Tags: Home Decor, Furniture Online, Home Improvement, Interior Design, Saving Money

© Photo by Amy Bartlam. Design by Katie Hodges Design.

We’ve all been there – wishing our home looked more like our Pinterest board and less like…well, what it actually looks like. Narrowing in on where to start and what to do can be overwhelming and intimidating.

We sat down (virtually) with an expert in the field – Principal Designer and Creative Director, Katie Hodges, of Katie Hodges Design – and asked her what small design adjustments she would recommend to make the biggest impact on the overall look and feel of a space. She broke it down into 4 simple swaps or additions that can give your room a fresh new look.

Switch up your side chairs — they make a big difference!

Put a sculptural chair in the corner or a pair of chairs next to your main foundation sofa. Accent chairs can really change an entire look. You can take more of a risk and get a little more funky with them, too, since they are easy to change out.

© Photo by Haris Kenjar. Design by Katie Hodges Design.

2. Add a plant with a substantial leaf.

Plants make great décor. Go for a fiddle leaf fig, or something that has that shape and structure. A common mistake is to pick something too small and fussy. If you have multiple plants, aim for variety in your leaf sizes.

© Photo by Amy Bartlam. Design by Katie Hodges Design.

3. Swap out your lighting.

If you’re keeping your foundation pieces (i.e. your sectional or sofa), lights are a small piece that pack a big punch and add sculptural elements. Change your table lamps, add a floor lamp, or at the very least, try swapping a white lampshade for a black one — it can do wonders!

© Photo by Amy Bartlam. Design by Katie Hodges Design.

4. Add a rug(s) to balance your room.

Rugs probably cover more ground than anything else – but picking a color or style can be tough. Try this approach – think of them as a way to either amp up or mellow out a room. Do you want to add pattern and texture to a room with lots of neutral furniture and décor, or do you need to mute a loud room with a calming, neutral rug?

© Photo by Amy Bartlam. Design by Katie Hodges Design.

Bonus tip:

Keep your vertical real estate in mind – your walls are a great asset. Try juxtaposing a small space with an oversized piece of art or a large hanging lamp or chandelier for added drama.
Eating vegan is expensive!. “Eating vegan is so expensive”….. says…
By: Vegan Chef Ash
Tags: Affordable Melas, Vegan, Meal Planning, Saving Money

“Eating vegan is so expensive”….. says everyone that has tried a vegan diet and didn’t last. I started my vegan journey almost five years ago and I can’t lie it was a struggle in the beginning, and like most I almost gave up. As time went on I found ways to enjoy plant based meals on a budget.

Vegan pre-packaged foods like proteins, cheeses and even mayo are super convenient. Some of these items are very delicious however, the price can add up, if that’s all you’re eating. When transitioning to a plant based diet you should make it fun. Get creative with meals make your own veggie burgers and freeze them! You do not need to buy every vegan cheese or meat substitute on the market.

Would you eat Filet mignon everyday? …. I’m sure the answer is no, why? Because it can get expensive. If you’re on a plant based diet and you eat a “Beyond burger” with “Follow your heart” cheese everyday it can get expensive too.

Here are a few tips to help you save money by eating vegan meals.

Buy fresh produce weekly

Fresh is always best! Fresh produce is less expensive remember They do not all have to be organic just the ones that have soft skins that you may eat whole like strawberries and tomatoes. Your body is a temple and you should treat it that way. Fuel your body with fresh fruits and veggies.

Be sure to clean your produce before storing. Apple cider vinegar is great for cleaning fruits and veggies. Add 2tbs of ACV to 1 cup of water. The ACV will also preserve the freshness of fruits like strawberries.

Prep all veggies

Vegan meals a super easy to make especially when you have your produce prepped already. I am a mom on the go and I can make a full plant based dinner in 20 mins as long as the veggies are prepped. Tip: on the day you shop for groceries be sure to wash and pre cut enough produce for at least three days.

Photo by Ella Olsson on Unsplash

Meal plan

Proper planing prevents poor performance! (say that 3x fast).

Plan your meals out for the week and if your feeling spicy do the whole month. Need help? I can help you plan out meals for you and your family for the month. Follow me on Instagram Vegan Chef Ash .

Snacks are your best friend

It’s a hectic day, you have 5 errands to run before family game night , it’s 1 pm and you haven’t even had breakfast. You decide to stop at the local juice bar and grab a veggie patty and a smoothie your total is $20 (huh?) Save your cash and plan ahead!

Prep your own smoothies in freezer bags they will last in the freezer for 3 weeks. All you have to do is add to blender with your favorite plant based milk.

I always keep trail mix in my bag and a cooler in my trunk to store fruits and water if I know I’ll be out all day.

Planning ahead will save you money!
Swift-紀錄(1) - Map的應用. 從以前到現在我好像常常用到map所以做一點經驗分享，會用一些我自己喜歡的作法不見…
By: Irving Huang
Tags: iOS App Development, Maps, Swift

從以前到現在我好像常常用到map所以做一點經驗分享，會用一些我自己喜歡的作法不見得是最好的做法，歡迎大家一起討論。

一。使用者座標(User Location)

我覺得處理上有很多坑的就是起始要導引到使用者位置，畢竟取得使用者位置是需要授權的，多數地圖相關的服務應該都會是起始就是以整個地圖作為開頭的，那麼在一開始的起始畫面如果沒特別設置的話就會看到一整個台灣(會視使用者而變化)。

沒有設定初始位置，看到整個台灣

我會覺得不是很合理，在我常常使用的地圖服務中通常都會有特定的使用需求。譬如說今天要做台北的YouBike APP，那我的使用需求就是在台北，所以我會先預設一個台北的中心座標(101或台北車站)在APP裡，這樣APP初始的時候就先把位置定位過去，也可以確保使用者如果完全不肯給予你座標權限時，你仍然可以給使用者一定程度的使用體驗。

let defaultLocation = CLLocationCoordinate2D(latitude: 25.033167, longitude: 121.564389) let span = MKCoordinateSpan(latitudeDelta: 0.005, longitudeDelta: 0.005)

let region = MKCoordinateRegion(center: defaultLocation, span: span)

map.region = region

大概像上述這樣把起始點設定到地圖之中。

二。時機點

我自己在工作上，因為地圖上的資訊較多為了降低負擔，會根據地圖的可視範圍來取得位置，那麼根據地圖的初始化與移動的一些時機，有時候就會發生一些重複讀取的問題，若是需要搭配到API就更容易需要仔細處理。

在這裡大概有幾個我會去注意的。

1. loadView(viewDidLoad)2. Authorization(同意, 詢問, 拒絕)

3. viewDidAppear

4. regionDidChange

基本上user location在地圖viewDidApear之前是取得不到的（如果你的地圖不是初始頁面，且在之前就已經先取得好授權的話就另當別論），這邊就會產生在何時去進行第一次讀取的問題了。接下來直接看code。

override func loadView() {

super.loadView()

setup()

requestLocation() //詢問使用者授權

} override func viewDidAppear(_ animated: Bool) {

super.viewDidAppear(animated)

setUserRegion() //設定到使用者位置

} func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {

getDataFromAPI() //取得API資料

} var count = 0

private func getDataFromAPI() {

count += 1

print("API called \(count) times.")

}

在我常用的設計中，、我都會在移動地圖時去重新去得範圍內的資料，上述code會去進行詢問使用者授權、顯示畫面後移動到使用者位置、移動地圖重新搜尋。 此時我們一看輸出畫面。

一口氣跑了3次

一瞬間我們就呼叫了3次API，而且這時我們還沒獲得使用者授權呢。唯一的優點就是至少我們可以看到畫面是恰恰好的位於台北101這邊呢。

主要的原因在於我為了避免一次讀取太多資料，所以在每次移動地圖的時call API，造成在初始化跟移動的過程會有過多不必要的呼叫。在比較理想的狀況用流程圖展示一下我預期的結果。

左半部是Life cycle再進行的過程，右半部是程式在運作的流程。

解釋一下這張圖的三個情況

1. 還沒有被授權

在這個情況我會先設置到預設位置再跳出詢問視窗。若是允許的情況就移動到user location反之則維持在預設位置，移動到default & user location都會呼叫到API，所以在這個情況有可能會呼叫到兩次API，這是我覺得可以接受的也可以擋掉這個行為就是了。 2. 允許授權

在這個情況就直接設置到使用者位置就好 3. 拒絕授權

這也是直接到預設位置就好

那麼為了達成這個情況我會加入一個Boolean(isViewDidApear)做簡單的判斷，在真正進入viewDidAppear之前不要發生任何的API行為即可(但是移動位置的行為還是會發生)。

/// 判斷是否進入viewDidAppear

var isViewDidAppear = false override func viewDidAppear(_ animated: Bool) {

super.viewDidAppear(animated)

if !isViewDidAppear {

isViewDidAppear = true

setUserRegion() //設定到使用者位置

}

} func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {

if isViewDidAppear {

getDataFromAPI()

}

}

然後我們再跑一次程式碼看看。

只有一開始到default一次，然後允許後設定到使用者位置又一次

大致上這樣就符合我的預期了，允許後的移動是在didUpdateLocations裡面定義的，可以到範例裡面查看。至於還有viewDidBecomeActive從背景回來後的行為等等，這些也可以根據邏輯類推。

三。地圖類型

至於要使用Google的地圖服務還是使用內建的地圖我覺得就見仁見智，如果只是透過第三方的API取得座標然後放上地圖做成群聚(Cluster)的效果的話，google地圖可以非常快的達成。但是印象中做成群聚這個行為是會消耗掉流量的，譬如說之前有人做的口罩地圖就因大量使用者而爆了流量。

我不會推薦大家自己做群聚的功能，雖然說自己做也不困難，且網路上的教學也很多，不過有別人做好的精美Library為何不用呢~，這邊推薦一個我自己在用的Cluster。

四。結語

以上就是本次的分享了，我將完整的範例放在我的Github之上，裡面是我常用的一個模板，有些並未在本篇內介紹。

如果有什麼錯誤歡迎來信留言指教。

Download example code
NextStrain: Tracking the spread of COVID-19 before social distancing
Tags: Covid 19, Maps, Built With Mapbox

By: Eric Gundersen

NextStrain is tracking the spread of SARS-CoV-2 by sampling 3,170 genomes between December 2019 and April 2020 and open-sourcing the data to increase epidemiological understanding and improve public health responses. Historically, this platform has been used by the World Health Organization’s Global Influenza Surveillance and Response System (GISRS) to aid in vaccine strain selection for seasonal influenza viruses.

The tool helps us understand today’s discovery that the first coronavirus death in the United States occurred in California in early February, signaling the virus may have been spreading — and claiming its first victims— in the United States weeks earlier than previously thought.

“The fact that there were deaths related to COVID back in early February is very significant, because it means the virus was around for a lot longer than was initially realized. It’s been around for a while, and it’s probably been spreading in the community for quite some time.”

— Jeff Smith, physician and county executive in Santa Clara, CA, as quoted in The Washington Post

Trevor Bedford, a scientist at the Fred Hutchinson Cancer Research Institute who studies the spread and evolution of viruses, co-developed NextStrain. Here’s his analysis of today’s news (read the full thread here):

Maps are helping the global research community tell the stories behind their charts and graphs. This more detailed understanding of COVID’s spread — and how we can stop it — allows policymakers to target their restrictions on day-to-day activities more narrowly, minimizing the economic and psychological toll of social distancing.

Are you building with NextStrain’s open-source data? Share what you build with us using #BuiltWithMapbox. We’re proud to support builders of COVID-19 apps.
eXXpedition to end ocean plastic pollution
Tags: Maps, Bathymetry, Community, Oceans, STEM

To add context to the ocean voyage, the map also includes data layers for bathymetry (ocean depth), currents, wind, and models of ocean plastic gyres (vast areas where swirls of currents concentrate a massive volume of floating debris.) We drew styling inspiration from striking data visualizations made by Dumpark and National Geographic and the tracking map that Mapbox built with the Rebelle Rally. On top of these data layers, each crew will be adding points to share updates and photos so people can engage further with the science and stories of eXXpedition. We will continue to add to and refine the map as it grows over the two years of the voyage.

The most interesting part for me so far has been connecting with researchers who are modeling marine plastic accumulation including Laurent Lebreton (whose data we use in the tracking map), Marcus Eriksen, and Nikolai Maximenko. These models use data from samples collected by past ocean expeditions.

eXXpedition will advance this research by collecting further samples of microplastics, polymer concentrations in the water and coastal sediments, and the distribution of plastics by depth. To do this, the ship must navigate to and through gyres — and coastal waters alike to examine ocean plastic pollution from source to sea. Marine navigation is one aspect of the voyage that I am most excited to learn about, so stay tuned for my report back on how we navigate from Antigua to Bonaire and Aruba.
A gentle introduction to GIS
By: Preethi Raj
Tags: Geography, Smart Cities, Maps, Decision Support, GIS

Crime Distribution

Maps are one of the greatest inventions of mankind. Map making technology (also known as Cartography) traces its origin back to 14,500 BC. Throughout history humans have had an unquenchable thirst to explore the unknown. Initially started as a dot map carved on the cave walls of constellations, present day maps integrate various technologies such as Remote Sensing & Photogrammetry, Cartography, Data Science, Computer programming etc. Hence maps have acquired the power to store, manage, analyse and visualize data across various fields like urban planning, medical science research, agriculture, geology etc.

Map can be used as a pictorial representation of a geographical area or region to visualize relationships between various parameters and area. Maps leveraging latest advancements in technology, commonly called as Geographic Information System(GIS), can be used as spatial data infrastructure (SDI). SDI gave way to a new era in GIS technology as it paved way to share and exchange GIS data across various departments from government to other organizations globally. This helped in creating an inter-operable mechanism to work efficiently across organizations. Inter-operability is the ability of different systems, devices or applications to connect, in a coordinated manner, across organizational boundaries to access, exchange and cooperatively use data among stakeholders.

For community-based professionals like architects, environmentalists, geologists and transportation engineers, it is essential to be aware and use appropriate data in decision making process rather than simply rely on existing practices or anecdotal data. With the advent of the availability of data in the present era, the expectation is that all decisions are data driven. This is where GIS can be a savior and can also help communicate to stakeholders and higher management.

What can GIS do for me?

✔ GIS can use existing data to improvise, analyse and visualize the output.

✔ GIS is the technology to be transparent with the decision making process.

✔ GIS can use all the available information to identify high level of risk parameters in a community which may not be so obvious in existing practices.

✔ GIS can identify and investigate spatial patterns which creates maps to emphasize their spatial relationships. These spatial relations can in turn improve in planning and implementation of process.

Hence we can summarize GIS (Geographic Information System) as a system devised to gather, manage, analyse and visualize the spatial data. This integrates Spatial data with mathematical and scientific methods to capture, store, monitor, analyse, manipulate, manage and present on geographically area. In short, GIS is used to create “INTER-OPERABLE/ INTELLIGENT MAPS”.

You can find more details on how maps can be used for crime mapping

http://ecospatialgis.com/Crimemapping.html
Mapping With Folium in Python
By: Djuwita Carney
Tags: Maps

Mapping With Folium in Python

Growing up in only one house and not having many chances to travel, reading maps became an obsession to me as a child. One of the best things my family ever owned was a big old map book. Exploring that book was definitely our best rainy day entertainment.

When I was introduced for the first time to Python, my first inquiry was: “Can we map with Python?”. Yes, we can. That was how I became convinced to choose Python as my new programming language.

For some of you who have not done any mapping in Python with Folium, this blog might be an easy starting point. Enjoy, and I hope this will help you start your mapping journey.

Folium installation

Before you start creating your map, you need to install Folium in your system. Choose any installation method you like. I used the following:

$ pip install folium

Preparing a map placeholder

Now that you have installed Folium, you can start building your map. The only thing you need to know to initiate your map, is the location of the place you want to map, presented in its longitude and latitude. Below is a simple Python code to display Key West, Florida.

# Display Key West, Florida with Folium

import folium x = 24.612938286173442 # latitude

y = -81.76405380908645 # longitude my_map = folium.Map((x, y))

my_map

Basic Folium Map Display

You can choose the type of maps you want to display and the extend of the area by including extra arguments as follows:

my_map = folium.Map((x, y), zoom_start = 12, tiles='OpenStreetMap')

my_map

Folium Map Display with “OpenStreetMap” Option

Check Folium documentation for more mapping arguments.

Place markers on your map

Once you have your map placeholder, you can do more mapping activities such as placing markers on selected locations, as follows:

# Place markers on the map

import pandas as pd



# Make a data frame with latitude & longitude to show on the map

data = pd.DataFrame({

'lat':[24.55289444, 24.55523889, 24.55421667],

'lon':[-81.79544722, -81.80397222, -81.79168056],

'name':['Lady of Lourde', 'Route 1 Start', 'Key West']

}) for i in range(0,len(data)):

folium.Marker([data.iloc[i]['lat'], data.iloc[i]['lon']], popup=data.iloc[i]['name']).add_to(my_map)



my_map

Map showing three marked places

Let’s explore

Some locations have very detailed maps. Let’s see what New York city map looks like using the following simple code.

# New York City new_york = [40.70877222, -73.99930833

new_york = folium.Map(location=new_york, zoom_start=16) new_york

Very detailed map of New York City

Let’s add tiles = “Stamen Terrain” to our code and see how the map changes.

new_york = folium.Map(location=new_york, zoom_start=16, tiles="Stamen Terrain") new_york

New York City map with tiles = “Stamen Terrain”

Try other tiles such as “Mapbox Bright”, “Stamen Toner” and “OpenStreetMap” and see the differences.

I hope you enjoy mapping as much as Ido. I would like to share some more mapping tricks, including creating elevation contour using digital elevation model.
MarcoPolo Protocol open source technology community discussion selected-November 27
By: Map Protocol
Tags: Marcopolo, Map, Blockchain

MarcoPolo Protocol technology open source community has recently conducted extensive discussions on the APoS consensus mechanism. Blockchain technology researchers from various countries have expressed their profound views on the feasibility of the Asset-based Proof of Stake consensus mechanism.

An Australian blockchain researcher Seabook expressed his opinion: “The APoS mechanism allows users to participate in staking without holding MAP token, which can attract more mainstream asset holders to participate”

Researcher SilasZhr said: “The APoS consensus solves the problem of assets concentration in traditional PoS mechanisms by allowing cross-chain assets to participate in staking, and eases the formation of Cartel.”

A developer from Brazil asked: “Could you explain how chain governance would work?”.

The developers from Cosmos discussed with us regarding “The difference between the APoS consensus mechanism and ChainX’s multi-asset staking mechanism”.

The MarcoPolo Protocol open source community is a technology community for global developers. It has attracted developers from well-known blockchain projects such as Cosmos, Ethereum to participate in the research and development of MarcoPolo protocol.

MarcoPolo OpenSource Official Technical Community

Discord: https://discordapp.com/invite/U9uxDx3

Riot: https://riot.im/app/#/room/#marcopolo:matrix.org
Four Hours in Line: Diary of a Georgia Voter
By: Sarah Lashinsky
Tags: Election 2020, Mapbox, Elections, Maps, Electionmapping

Four Hours in Line: Diary of a Georgia Voter

It took me four hours to vote in the June primaries, so I made a map Sarah Lashinsky Nov 2, 2020·2 min read

Screencapture from “Diary of a Georgia Voter” Storymap

🍑 You can view the Storymap here.

Background

When I tell people I waited four hours to vote, it immediately sounds like a hyperbole. To describe the experience, I wanted to create a geospatial representation of what it actually feels like to move at just .05 mph for 4 hours. As a designer and a visual storyteller, I immediately whipped up this static map of my experience, in the hopes that it might make be a good resource for organizations like Fair Fight, who collected my story as part of their initiative to account for and document instances of voter suppression.

Static map made immediately after the election

Next, I took Mapbox’s Election Mapping Challenge as my invitation to make my static map into something interactive and to level up my rookie engineer skills. I also thought it would be interesting to interpret a singular, personal story on a map.

The Making Of

This is the first map I ever made, so it was a tremendous learning experience. When I first started on this endeavor, I did not even know how to find longitude and latitude for a specific location! Feeling ambitious, I toyed with the idea of an AR game where you arrowed through the four-hour wait with me (maybe in real time, if I wanted it to be tortuous.) After realizing I was way out of my depths, I returned to the drawing board. Fortunately, I had my static map to work from, and I used that as my MVP.

I settled on a “Scrollytelling” style of building the map after toying around with a few different formats for sharing the map I had in mind. I found this tutorial by Lo Bénichou to be invaluable.

Here is the raw mapping data, with custom iconography. To make the map, I created two folders: one with the path that I traveled, and one with key points of interest along my route. In the Scrollytelling template, I assigned a card to each point of interest, and added a title, photo, and description to each card.

🍑 You can view the Storymap here.
Support for wildfire season. Technical help and coupons for projects…
Tags: Maps, Wildfires, Community, Disaster Response, Air Quality

Wildfire season is here in the western US. Fires across California are forcing evacuations and severe air quality warnings, made all the more challenging by the COVID-19 pandemic. If you are using maps, imagery, or location data to support wildfire response and recovery, we’re here to help.

Maps are a critical communication tool during natural disasters and emergency response situations. Some of the projects we are watching closely are the LA Times wildfires map, the Pyregence fire forecasts, and Sparetheair.org’s air quality forecast for the Bay Area.

Location tools also support wildfire preparedness, such as the US Forest Service’s Wildfire Risk to Communities portal which helps households and communities across the country understand and reduce their risk.

When it is time to recover and learn from past wildfires, maps also help put data and stories into context, as illustrated by the newly released investigation ‘Older and Overlooked’ by KQED and CalMatters.

Older and Overlooked storytelling map

We are on standby to support anyone building for wildfire preparedness, response, and recovery. Whether you have an existing project or are just getting started, connect with our Community team.
Skyblock Map for Minecraft PE
By: Robert Weide
Tags: Minecraft, Maps, Minecraft Pocket Edition, Skyblock

Do you like playing maps like Skyblocks? If yes, then the new SkyBlock map is what you will definitely like. This is a new map with unique new skins and new features. We also draw your attention to the fact that the nearest blocks will not be visible to you, in order for you to get to them you should move directly placing blocks under your feet, the further you pass the closer the islands will be.

Players will also have a good opportunity to receive a small reward. This bonus is given to players after completing a certain challenge, namely after passing certain obstacles. You have to overcome various obstacles and kill different hostile mobs.

On your way, you can face obstacles such as:

1. Create a shelter, namely a house that will serve you as your reliable fortress;

2. Visit all the islands;

3. Find villagers and trade with them;

4. Kill hostile mobs on the island of monsters;

5. Craft a stone generator;

6. As always, plant a tree;

7. Create your own small farm by planting a tree, building a house and taking care of animals;

8. Each player has the opportunity to invite a friend and go through all the challenges together;

9. And the last thing is to create a trap for the mobs.

This is a wonderful experience for both experienced players and beginners.

Below you can see screenshots of the new map:
Talking Maps
By: Oxford University
Tags: Research, Exhibition, Maps, Cartography, Life In Oxford

The theme for Talking Maps struck myself and Jerry as being a ready-made vehicle to transport us through a selection of maps which we felt compelled to share with those attending the exhibition, whilst at the same time permitting us to place some massively varied maps in conversation alongside cartography with which there was otherwise no apparent link. Thus we have been able to show maps produced on screen, skin, and sticks, or on paper, silver, and wool. We have endeavoured to explore how maps are neither transparent objects of scientific communication, nor tools of ideology, but proposals about the world that help people to understand who they are by describing where they are.

At 1pm on every Monday, Wednesday and Friday throughout the duration of Talking Maps, 30-minute gallery tours highlighting specific maps or themes are being offered to Weston Library visitors. A broad selection of guides have volunteered their time and expertise. No need to book, and these sessions are free of charge.

Talking Maps (£35), by Jerry Brotton and Nick Millea, is published by Bodleian Library Publishing. Other maps books being published to coincide with the exhibition include Fifty Maps and the Stories they Tell (£12) by Millea and Brotton and Why North is Up (£20, out in August) by Mick Ashworth. All three titles are available from www.bodleianshop.co.uk
How to install On The Go Map App for iOS and Android
By: On The Go Map
Tags: Apps, Maps, Running

How to install On The Go Map App for iOS and Android

On The Go Map app for Android and iOS

To install On The Go Map on iPhone or iPad

Navigate to onthegomap.com in Safari Tap the “Share” button Tap “Add to Home Screen” Launch the app from the On The Go Map icon on your home screen

Installing On The Go Map App on an iOS Device

To install On The Go Map on Android

Go to onthegomap.com in your browser Choose “Add to Home Screen” from the menu Launch the app from the icon on your home screen

Installing On The Go Map App on an Android Device

When launched from the home screen, the app has its own data sandbox it uses to store the route you are working on. Unlike an app installed from the app store, you can install multiple copies of On The Go Map with different names to your home screen. Each copy has its own sandbox, so you can save a different route in each one. This is not ideal, but full support for saving routes is the next thing I plan to add. If you are interested in helping shape that feature, please reach out to info@onthegomap.com or fill out this anonymous form to share your use-case.

— Mike Barry @msb5014
Javascript 복수형자료 다루기
Tags: Foreach, Map, Filter, For, JavaScript

안녕하세요 Humanscape 개발자 Jake입니다.

Javascript 개발시 복수형 자료를 다루시나요? 복수형 자료를 다룰때 효율적으로 사용할 수 있는 함수 몇가지( for, for in, for of, forEach, filter, reduce)에 대해서 알아보도록 하겠습니다.

for

for 문은 세미콜론으로 구분한 초기화, 조건문, 증감식과 반복 수행문으로 이루어져 있습니다.

for in

for in 문은 객체의 enumerable properties, object inherits from its constructor’s prototype를 반복합니다.

for in 은 객체반복에 적합하며 배열 반복에는 적합하지 않습니다. 배열의 반복순서는 구현에 따라 다르기 때문에 for in 을 사용할시에 순차적으로 index에 접근한다는 보장이 없습니다.

for in 사용시 object inherits from its constructor’s prototype 에 접근할 수 있는데 객채 스스로 정의한 프로퍼티만를 확인하고 싶다면obj.hasOwnProperty(value)를 사용합니다.

for of

for of 문은 반복가능한 객체(Array, Map, Set, String, TypedArray 등)에 대해서 반복하고 각 개별 속성 값을 다룹니다.

forEach

forEach는 함수형태로 배열요소에 대해 순환합니다.

forEach 구문 callback은 각 요소에 대해 오름차순으로 한번씩 실행되며 삭제되거나 초기화하지 않은 인덱스 속성에 대해서는 실행하지 않습니다.

callback은 요소값, 요소 인덱스, 순회중인 배열과 함께 호출되며 callback은 배열을 변경할 수 있습니다. ( forEach 구문은 배열을 변경할 수 없고 return 또한 undefined를 반환합니다 )

array전체를 순회한다고 했을때 for구문을 작성하는것 보다 심플하고 가독성이 좋다는 점이 있습니다.

filter

filter는 사용자가 정의한 조건을 만족하는 요소를 반환합니다.

filter는 호출되는 배열을 변화시키지 않으며 조건에 만족하는 요소들로 새로운 배열을 반환합니다. 만약 조건을 만족하지 못한다면 빈배열을 return 합니다.

map

map은 배열 내의 모든 요소 각각에 대하여 주어진 함수를 호출한 결과를 모아 새로운 배열을 반환합니다.

reduce

reduce는 호출되는 배열에서 callback(리듀서함수)을 수행하며 accumulator(누산값)을 반환합니다.

지금까지 Javascript에서 복수형 자료를 다루는 방법에 대해서 알아보았습니다. 소개드린 내용외에도 문법, 성능등에 대해서도 공부해보시면 좋을것 같습니다. 감사합니다.

참고: https://developer.mozilla.org/ko/docs/Web/JavaScript

Get to know us better!

Join our official channels below.

Telegram(EN) : t.me/Humanscape

KakaoTalk(KR) : open.kakao.com/o/gqbUQEM

Website : humanscape.io

Medium : medium.com/humanscape-ico

Facebook : www.facebook.com/humanscape

Twitter : twitter.com/Humanscape_io

Reddit : https://www.reddit.com/r/Humanscape_official

Bitcointalk announcement : https://bit.ly/2rVsP4T

Email : support@humanscape.io
Ruby Iteration Methods
By: Zainab Omar
Tags: Iteration, Map, Collect, Each, Ruby

Ruby Iteration Methods

Iterators are the methods which are supported by collections (Arrays, or Hashes). Collections are objects which store a group of data members. Ruby iterators return all the elements of a collection one after another. For example, I have an array of numbers and I want to multiply each number in the array by 2. Array= [1,2,3,4] and I want to get Array= [2,4,6,8]. I can use ruby iterator methods to do that. There are many iterators in Ruby (each, collect, map, times, upto, downto, step, each_line).

I will talk about each and collect/map methods (map and collect are the same). Both each and collect are helpful methods for iterating through when you want to make changes that affect each element in an array or hash. Each method yields and returns the original array

Example:

array= [1,2,3,4]

def multiply (array)

array.each {|x| puts x*2}

end

prints 2,4,6,8 and returns [1,2,3,4] no matter what

If I want to change the return value of each method, I should tell it to do so.

Example:

array= [1,2,3,4]

def multiply (array)

new_array = []

array.each do |num|

new_array << num*2

end

new_array

end

this will return [2,4,6,8]

Collect/map method creates a new array and pushes the results of the block into it; then it returns this new array.

Example:

array= [1,2,3,4]

def multiply (array)

array.collect {|x| puts x*2}

end

prints 2,4,6,8 and returns [nil,nil,nil,nil]. It returns nil because of “puts” who is return value is always nil to avoid that I can do

Example:

array= [1,2,3,4]

def multiply (array)

array.collect {|x| x*2}

end

return value is [2,4,6,8].

If I need to use the result of my iteration method to write a code that depend on that result, it is better to use collect/map because it returns a new array in other word the array that passed a specific test, else I can just use each.
Terria is ending support for Internet Explorer 11
By: Emma Krantz
Tags: Open Source, Internet Explorer, Web Development, Maps, Geospatial

Photo by SpaceX on Unsplash

Today we’re announcing that from 1 November 2020, new versions of TerriaJS and its maps will no longer work in Internet Explorer 11 (IE11). This follows Twitter, YouTube, Microsoft 365 and the Javascript UI library Bootstrap ending support for IE11, as the world moves towards a more modern web.

Maintaining support for IE11 has been difficult and time consuming for us relative to the small number of people who are using it. According to Statcounter, only 1.15% of Australians and 1.17% worldwide used IE11 in the 12 months from July 2019 to July 2020. IE11’s developer tools are outdated, and this makes testing new functionality much harder than it is in other browsers. As Terria maps are updated over the coming months, users will start seeing warnings informing them of this change.

Ending support for IE11 will enable us to start using features that are only available in modern browsers. The Terria team are excited to be able to bring the majority of users a better experience with new versions of our maps.

As always, if this change impacts you, get in touch with us via gitter so we can have a chat.
Protect your map with passwords in 3 easy steps!
By: Mini World Dev Captain
Tags: Game Design, Developer, Lua, Mwba, Maps

Sometimes you don’t want that all players will be able to host your map but you want to still be able to test it in multiplayer.

Maybe because you didn’t finish yet that master piece or you just want to share your map with some buddy’s

Whichever is your case, today we are going to learn who to place a password in your map with scripts but in the easy way with World Guard 1.0!

World Guard 1.0 it’s going to allow a time for players to place the password, if they don’t do it on the specified time the match it’s will end. Also, will allow access some users that don’t need to place a password.

Video(embed) : https://youtu.be/_YitmK1Vk7U

Step 1: Prepare your map:

First, we need to create a new script, if you already now how to create and script jump to the step 2

How to create and script:

Switch to Edit Mode

Now tap on Developer tools section at the top right corner

Then, tap on scrip button on the menu of the right, once you are there tap on create a new script

Alright, we almost finish with the first step, now you are going to see a green text, delete all the text!

Step 2: Copy and paste World Guard 1.0:

Well done! Now that we already create and empty script its time add the real script. For this we are going to use World Guard 1.0, a premade script, that is ultra-easy to set up.

Go to this link and copy the string, or just simply copy the script here

Link World Guard 1.0 : (Linked)

Once you have World Guard 1.0 copied, open the blank script that we just create on step 2, and paste it there.

Step 3: Set Up:

We almost over! So, we only have to set up 5 variables here and we will be ready to go!

Scroll Down until you see the Set up section on the script

You are going to se a variable named AuthPlayer1, AuthPlayer2, AuthPlayer3. Those are the authorized users, those players that don’t need to place the password each time that want to play the game.

First, we are going to add our user name here, for do it change the text related to AuthPlayer1 for your username. Change “alf not me” you username, remember to keep the username inside the Quotation Marks “”

Important: your user name have to be the same, including caps, spaces, symbols and numbers. As an example: if your user is “YeyoCore” those user names are going give you an error: “yeyocore” “YeYoCore”, “Yeyo Core”, “yeyo Core”, “YeyoCore♣”

After you add you name to AuthPlayer1, you can add another two players. For do this, just change the parameters of Authplayer2 and Authplayer3 as you did with your username

Now, lets create a password, for do this simply change the parameter in password for the desired one

Good! we finish the set up! but if you want you can change the time that you allow for players that are not Authorized users to place the password! Just change the parameter AuthTimeUp, I recommend to set it up between 30 seconds to 60 seconds.

Now tap on the save button, and cogratulations! Now you add a password to your map!
Digital Map Market Size Worth $16.15 Billion By 2027
By: Gaurav Shah
Tags: Technology, Maps, USA, Digital, Gps

The global digital map market size is estimated to reach USD 16.15 billion by 2027, registering a CAGR of 13.0% from 2020 to 2027, according to a new study by Grand View Research, Inc. The market is expected to witness significant rise in demand from navigational application developers and Geographical Information System (GIS) providers, driven by a growing end-user base. The prolific rise in the number of smartphone and internet users has further augmented market growth. Moreover, growth in the number of connected and semi-autonomous cars and anticipated developments in self-driving and navigation technology, among others is expected to drive the demand for digital maps.

Digital cartography has been gaining increasing attention in recent years owing to a rapid growth in demand for geospatial information. Applications such as smart parking, location, traffic and congestion intelligence, and logistics management need routing and congestion updates in real time. As digital cartography has been developing at a rapid rate, it can support these applications with data feeds and information. In addition, the increasing number of businesses that are using location-based services for marketing and advertising is also estimated to accelerate the demand in the forthcoming years.

Digital mapping is also finding renewed demand in the government and public sector as the demand for environmental and topographical information systems is on the rise. Furthermore, the need to maintain an updated information system for law enforcement officials, defense forces, and local governing bodies in light of recent manmade and natural threats is anticipated to propel the demand for maps. Smooth interaction between maps and information systems is one of the most important criteria for product success in the market owing to which vendors are expected to focus more on data integration over the forecast period. As the digital map industry matures, key players are anticipated to indulge in mergers and acquisitions in order to keep abreast of the market developments and maintain a competitive edge in a rapidly evolving technological landscape.

Click the link below:

https://www.grandviewresearch.com/industry-analysis/digital-map-market

Further key findings from the study suggest:
My Map Is Not Your Map
By: Bethan Bishop
Tags: Business Founder, Maps, Life Lessons, Entrepreneurship, Business

Many of us have our own way of doing things, albeit they change over time and they are entirely influenced by our lived experiences, thoughts and what we believe to be true.

I personally like to introduce and use systems in my own business that support the way I think and work albeit with some inflexibility in areas of regulation and policy. For example, I use particular software for accounting, social media management, project management, image creation, maintaining lists and so on. These are all chosen and mapped to my way of working. I can advise, quite strongly at times, on what from my experience works in different scenarios but ultimately mentees have to take decisions.

If you work with me as a business mentor you are asking me for my insight and expertise and I will provide direction. I will give my opinion based on my experience and that's what you pay me to do. I will share the boundaries in which I work, where my expertise stops and starts and I will make onward introductions. Everything I advise is shaped by my map. What advice you choose to take from me or other mentors is therefore entirely up to you, you have the option to explore my solutions, they will be numerous, or to do something else. What works for you will be influenced by your own map.

“The past informs the present. Memory makes the map we carry, no matter how hard we try to erase it.” Cara Black

You should never feel guilty if you choose not to take someones advice, the key, however, is that you do choose. Don’t let inactivity or procrastination be the determinant of which option(s) to take, the ‘do nothing option’ is rarely the best way forward to an identified challenge. The reason not to feel guilty is that it is your role to take each piece of advice given, to process it in the full context in which you work and then to decide what comes next. No-one other than you is experiencing what you are experiencing.

Surround yourself in mentors and coaches, but if you are wanting someone to tell you precisely what you must do (aside from the legals), you may be waiting a long time. These are your decisions to make and what you choose to do will be influenced by your map. Your map is unique and your stored experiences, conscious and sub-conscious are the constituent parts. No two maps are the same. I make decisions based on my map and you will make decisions based on yours. No right and wrong but different.

“You have your way. I have my way. As for the right way, the correct way, and the only way, it does not exist.” Friedrich Wilhelm Nietzsche
Failed to Login in Arlo Account | How To Fix ?
By: Thomas Edison
Tags: News, Security Camera, Arlo, Tech, Arlo Login

We place in extraordinary attention and excitement for ensuring everything which you love, from the family to your enchanting little pets, and everybody can be kept secure with the highly active area of the system by Arlo. You can remotely monitor all areas within your house with the easy Arlo login procedure. You need to call our toll-free amount or talk live together. Our experts are proven to rather well to take care of all such troubles.

Myarlo login — Login into arlo accounts

You have to generate some device connections before you begin the Arlo login procedure. Follow the actions mentioned in the next section of this site:

First, connect your base station to your home network.

Next, you have to join the Arlo base channel to the power port. Plug the power adapter at the power socket and supply electricity to it.

Now, turn to the Base Station and then await the power LED to flip ‘Green.’

Next, you have to synchronize with the Arlo base channel together with all the Arlo Netgear camera.

You can get into the Arlo login page through two methods. One method is through a web browser, and another way is through Netgear Arlo App. To initiate the Arlo camera in the procedure, you need to have an Arlo account. To begin with, make an Arlo account and follow the additional measures.

Arlo Netgear login in your Smartphone.

First, you need to download the Arlo app into your smartphone device.

Now, tap the ‘Arlo’ icon onto your cell phone as well as also the Arlo camera on page appears on the monitor.

Now, make an Arlo signal in account in case you don’t possess one.

Now, handle the configurations of your camera even when you’re away from your property.

By completing the Arlo login, a customer opens a Way to an entirely different world of attributes. The attributes include and are not limited to:

Ability to discover people E911 ability Monitor the hottest places Wire-Free Night Vision In-depth notifications Ability to be commanded with a smart house device.

Are you unable to access my Arlo Login Page?

Try out the next Arlo troubleshooting hints:

Make sure that you are using correct login information to produce the Arlo login accounts.

Ensure that your current browser is compatible.

Consider clearing the clear cache and cookies.

You can use another browser into the log to the Arlo account.

These are the steps to log in to the Arlo security camera. If you want further Information regarding Arlo Login My Account, contact the Arlo security camera helpline team.
IP Camera Configuration method
Tags: Cctv Installation, Cctv, Cctv Security Cameras, Security Camera, Cctv Services

Technically, the major task for IP camera configuration is to get the right IP address of your camera which serves as the only clue to find it among various devices attached to the same network.

Note that the IP camera installation and configuration on the local area network (LAN) could be a little different from that in the wide area network (WAN). And whichever way you go with, the cameras should be on the network so that they can be accessed.

Step 1. Configure IP Camera Network

Before you start setting the IP camera configuration, make sure both your monitoring devices and CCTV cameras (and NVR) are connected to the home network. This could be done with or without router.

Here is a CCTV camera wire connection diagram for your reference

Step 2. IP Camera Configuration on LAN

To configure IP cameras on the LAN, like the typical home network, you need to find out the CCTV camera local IP address.

Previously we introduced 3 ways for you to do that.

And then you only need to input the IP address on the web search bar to get into the camera’s web UI, and then everything will appear.

Here is a CCTV camera configuration video tutorial on the LAN.

Step 3. CCTV Camera Configuration on WAN

As for IP camera configuration on the WAN, port forwarding is a typical way to go, which generally requires the camera local IP address, HTTP and RTMP port number, and the WAN IP address.

What is port forwarding?

Simply put, port forwarding transfers your local IP address into a public one which is used to access a specific camera in a wide area network (WAN), like crossing the neighborhoods or even countries.

Follow the detailed steps in our previous post for a quick IP camera configuration.

You shall get something like http://183.37.194.134:805 with the address format http://(wanip):(httpport). Input it on the browser, you can start video monitoring right away.
5 Tips to Secure Your Home Against Burglaries
Tags: Home Burglaries, Netvue, Security Camera

shop.netvue.com

Times have changed since the days of leaving your home unlocked or windows open when you’re away. Nowadays burglaries have become the main concern for homeowners. As it is a crime of opportunity, burglaries are largely preventable if you can eliminate the factors that make homes vulnerable to attack.

This guide will discuss 5 prevention ways to keep your home protected while you’re away.

Secure the doors

shop.netvue.com

According to PRWeb, the number one point of entry is straight through the front door. Inspect all of your exterior doors to make sure the door frames are strong, the hinges are protected, and — if your door has a mail slot — that someone can’t reach through it to unlock the door. Also remember to lock all exterior doors whenever you go out — even if you’ll just be gone a few minutes.

2. Eliminate hiding places

shop.netvue.com

Trees and bushes can be appealing, as well as dangerous, since they give burglars a handy place to hide.Trim down trees and plants near your home that can be utilized for cover. Choose little blooms and bushes instead. If you have got trees close windows, either expel them or strengthen those windows with additional security.

3. Add a security camera

shop.netvue.com

Your home should have a top rated home security camera, since it is one of the most useful ways to prevent home break-ins. When the burglars see one, they know you’re watching, so they won’t run the risk of triggering the camera sensor and being captured in the video footage. If they approach, you’ll be able to watch them in real time on your smartphone, or even review the recorded footage and send it to local law enforcement, if needed.

4. Keep your valuables out of sight

shop.netvue.com

Do not leave electronics, jewelry, cash or important personal documents on display or close to windows. If you buy expensive items, don’t leave the empty boxes outside your house, rip them up and put them in the recycling bin. Use window treatments like curtains or blinds to stop passers-by from casing your home.

5. Rely on your neighbours

shop.netvue.com

Your neighbors can be one of your best assets in home crime prevention because they offer extra eyes and an outside perspective. They help to alert you to any suspicious activity that may occur when you’re away. Make an effort to form good relationships with your neighbours so you’ll have people to rely on.

About Netvue:

Netvue is a technologically innovative company, and the creator of the world’s first AI Video doorbell-Netvue Belle. We’ve independently developed a series of smart home products, including ip cameras, smart doorbells, baby monitors, smart sockets, etc., enabling you to watch over your home from anywhere.Home security, done smart. We’re inviting you to join Netvue family today and make your home a smart home!