789 karma · joined Jul 21, 2015 (11y ago) · 381 submissions
comment 8y ago · link · parent
There are also native language-specific wrappers for that API, for example in python[1], which lets you write a bot in 5 lines:
import zulip
client = zulip.Client()
def onmsg(m):
print ("at %d, %s said: %s" %
(m['timestamp'],
m['sender_email'],
m['content']))
client.call_on_each_message(callback=onmsg)
[1] https://pypi.org/project/zulip/comment 8y ago · link · parent
> apt-get update/upgrade every week
Have a look at: https://wiki.debian.org/UnattendedUpgradescomment 8y ago · link · parent
$ ping 0
PING 0 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.032 ms
Of course, don't expect this to work universally. A lot of software will try to be clever with input validation, and fail.Tangentially related: https://fosdem.org/2018/schedule/event/email_address_quiz/
comment 8y ago · link · parent
UFS/eUFS cards keep (sort of) same form-factor [1] but bring significant speed boost. [2]
[0] Technically, it is incorrect to say "eMMC chip", as there are typically two (or more) silicon chips inside the same plastic BGA package. One of them is controller.
[1] https://www.dpreview.com/news/6387181333/samsung-launches-fi...
[2] https://en.wikipedia.org/wiki/Universal_Flash_Storage#Versio...
comment 8y ago · link · parent
Since no external RAM is required this makes for some very compact WiFi repeaters [2,3]. But all of them ship with VxWorks. I've tried to tinker with OpenWrt on this chip, but with 2-3MB free RAM after kernel boots (and that's before wifi modules are loaded), it doesn't look too good. With XIP, on the other hand, MT7688KN can potentially become a useful OpenWRT platform.
[1] https://www.mediatek.com/products/smartHome/mt7688k
[2] https://fccid.io/2AK8V-WF8300
[3] Xaiomi Mi Wifi+
comment 8y ago · link · parent
http://downloads.lede-project.org/releases/17.01.4/targets/i...
13.
Privacy expectations and the connected home(mjg59.dreamwidth.org ↗)
2 points · by aexaey · 8y ago · discuss
comment 8y ago · link · parent
On the other hand - yes, hammerhead is stuck on Linux kernel 3.4, which is no longer maintained, and current best effort to forward-port to mainline kernel [2] is far from complete.
Among other things this means that there is no workaround for Meltdown on this hardware, which it is likely vulnerable to. [3]
[1] https://download.lineageos.org/hammerhead
[2] https://wiki.postmarketos.org/wiki/Google_Nexus_5_(lg-hammer...
[3] "11 stage integer pipeline with 3-way decode and 4-way out-of-order speculative issue superscalar execution" - from https://en.wikipedia.org/wiki/Krait_(CPU)
comment 8y ago · link · parent
There is no dedicated key on computer keyboard for it, but you are supposed to remember it's a unit when capitalizing, for example IJmuiden.