munkkey

joined 2 years ago
MODERATOR OF
[–] munkkey@monyet.cc 1 points 4 months ago

Gonna be the Year of the Snake. I heard those born in year of Monkey will be one of the better zodiacs. Despite my username, I'm not a "monkey".

[–] munkkey@monyet.cc 1 points 4 months ago

Hey. I'm also crawling back here after a while. How's everyone?

[–] munkkey@monyet.cc 2 points 1 year ago

Those who seldom travel overseas only realise the elevated living costs when stepping out of the Malaysian bubble. That also applies to most Hajj applicants, who are on a waiting list and when it's their turn, suddenly find themselves paying much more than they initially thought.

[–] munkkey@monyet.cc 2 points 1 year ago

They should mess with the pigeons, though. /s

[–] munkkey@monyet.cc 1 points 1 year ago

Maybe that's why I became a monkey, or munk-key.

[–] munkkey@monyet.cc 1 points 1 year ago

As if I'm a public figure, yes.

[–] munkkey@monyet.cc 1 points 1 year ago (4 children)

It's like quoting something about yourself in office gossips, that you did not reveal in person, but is easily searchable online.

[–] munkkey@monyet.cc 1 points 1 year ago (6 children)

Recently realized my colleagues do check what I say online. It's creepy but I can handle this.

[–] munkkey@monyet.cc 1 points 1 year ago

Glad you liked this café. Do explore our other communities!

[–] munkkey@monyet.cc 1 points 1 year ago

Good morning. Getting to 12pm but it's still morning.

How are things?

[–] munkkey@monyet.cc 1 points 1 year ago* (last edited 1 year ago)

Our projects and tasks are tracked weekly for good reasons. It's an optimal measure of time for planning purposes; not too long, not too short.

 

Bil air naik lebih 2 kali ganda selepas 30 tahun.

Gaji ada naik banyak ini ka? 🥲

 

RFI了还要RFP,就一步一步重新来过。希望有心分子别无缘无故喊停这项工程。

 

Northern pins zoomed in below. 🐘 indicates parked water containers nicknamed "elephants" with a capacity of 24000 L. Emoji not shown in header image and first image below.

Pins indicate static water tanks with at least 2500 L capacity, with ⁑ symbol meaning two of these water tanks in close proximity. Coordinates supplied here.

I must say the mapping service I use (Bing Maps) don't display the pin labels well relative to other labels on the map. OSM and Here might be better. Not using Google on purpose.

 

Note they don't say "KL people are litterbugs", but "Malaysians" in general.

 

"Nanti depa pi rampas kerja kita, rampas ayaq kita, rampas barang kita macam mana?"

2
submitted 1 year ago* (last edited 1 year ago) by munkkey@monyet.cc to c/berita@monyet.cc
 

Wayang kecil kalau dibandingkan Wayang Dubai.

 

... I want to try the response time for this channel.

@Naomikho@monyet.cc @Annoyed_Crabby@monyet.cc The bot is dead again.

 

A continuation of this post on GTFS Static.

The files involved in GTFS Static are basically plain text. In GTFS Realtime though, if you attempt to load the protobuf file, you'll get something like the snapshot picture attached to this post.

Took me a while, but I finally got a Python IDE, fixed some code bugs and got the output I wanted. There may or may not be a Part 3 to this, depending on how much free time I have.

If you don't already have a general-purpose or Python-specific IDE, you can install PyCharm Community Edition. Set up a new project, then install and update the following packages: gtfs-realtime-bindings, pandas, requests. That should be sufficient for your IDE to recognize the code header given in their sample code.

from google.transit import gtfs_realtime_pb2
from google.protobuf.json_format import MessageToDict
import pandas as pd
from requests import get

The rest of the code is actually fine, although at first I wondered why print(df) produced a truncated table, as shown below.

Later I found out pandas (that did the work converting JSON into a flat table) has options to set how you want the table displayed. Full documentation available here, but the ones relevant to this code are pd.set_option('display.max_rows', ###), display.max_cols and display.width. Once the correct values are entered, I got the console to display what I wanted.

Yeah, I'm being very succinct on purpose. If you tried the above steps yourself and got stuck anywhere, feel free to ask me in the comment section. The next step for me would be to visualize this data. I've seen snapshots around but not a web interface to load the protobuf or GTFS-R (and static info) source to easily digest the live transport data. This looks like another free-time project for me queued up.

 

务必先补救数据认证的漏洞啊。

 

Aduhai, tak sabar betul nak rampas kerusi kerajaan.

 

试试另一个新闻来源。

 

记得1月2日起查看个人资料,以便日后能顺利获得应有的政府补贴。

view more: next ›