duangsuse::Echo
722 subscribers
4.28K photos
130 videos
583 files
6.51K links
import this:
美而不丑、明而不暗、短而不凡、长而不乱,扁平不宽,读而后码,行之天下,勿托地上天国。
异常勿吞,难过勿过,叹一真理。效率是很重要,盲目最是低效。
简明是可靠的先验,不是可靠的祭品。
知其变,守其恒,为天下式;穷其变,知不穷,得地上势。知变守恒却穷变知新,我认真理,我不认真。

技术相干订阅~
另外有 throws 闲杂频道 @dsuset
转载频道 @dsusep
极小可能会有批评zf的消息 如有不适可退出
suse小站(面向运气编程): https://WOJS.org/#/
Download Telegram
#dev #emmm 🌚🌚🌚🌚
Forwarded from Programmer Jokes
QPhotorec 好像不错 #emmm #backend #Learn
Forwarded from iVanilla 自然科学 & 神秘学实验研究部 (iVanilla)
我使用的恢复方法是:https://daily.zhihu.com/story/7813372

(这软件的 Linux 版本的注册码或者破解版找不到,我考虑在 PE 下用 Windows 版来恢复数据)
Lime github.com/duangsuse/Lime vs. Lice github.com/lice-lang/lice

; lime standard library is loaded automatically
; print a string
(print "Hello " "World" "\n")
; in lime
(print 'Hello 'World '\n)
(puts "Hello world")

; travel through a range
(for-each i (.. 1 10) (print i "\n"))
; in lime
('(.. 1 10).each' (do (i)
(puts i)))

; define a call-by-name function
(defexpr fold ls init op
(for-each index-var ls
(-> init (op init index-var))))
; in lime
(def fold (ls init op)
(ls.each (do (index-var)
([]= LENV init (op init index-var)))))
; 你可能很好奇 def 里面的 init op 什么的是哪里来的,因为 Lime 没有作用域
; 在填充宏参数的时候他们会被内联到每个非 (# ...) (就是宏内部的宏,那应该在展开时填充) 里的引用中去
; 某次改正了一个东西

; invoke the function defined above
(fold (.. 1 4) 0 +)
; in lime
(fold (" a b c) 0 r)

; passing a call-by-value lambda to a call-by-value lambda
((lambda op (op 3 4)) (lambda a b (+ (* a a) (* b b))))

; to define a call-by-need lambda, use `lazy`.
duangsuse::Echo
Photo
😂 开了一个下午一个晚上 #life #emmm
duangsuse::Echo
内部定义的宏: -> define -? defined? -x undef <- read . send => hash # macro : as_symbol :< back_symbol :' as_sexp ' as_array " as_string_array ~ sequence ~~ must_sequence ` loop `` must_loop ? cond % typeof :: index ::= indexeq ext< loadext ext> unloadext require…
Lime 又双有新变化了....

新内部函数定义
~> let
= equal
extern extern
extern-query extern query
## object-id


常量
self
args
LSTACK
$^


* 可能又丢失了一些变化.. 没办法 记这些东西也不容易 🌑
* 类库文件结构还有变化
* 新特性是支持函数作用域, 为了解决以下问题被迫加入的(还有额外好处):

(def puts-in-stream (stream data)
(stream.puts data))

^ stream 会被计算为 nil, 原因是顶层作用域根本不存在那个符号,stream 参数实际上没有意义。

更严重的:
(class A
(attr simple)
(initialize
(self.simple= 'sss))
(def puts_sss
(@ self.simple)))
(-> a_obj A.new)
(a_obj.puts_sss) ;-> nil

^ self 根本不是 a_obj !!!!

(根本不能在 Symbol 里填充 self 的引用,即使这么做也是不应该的)
我的解决方案是完全加入基于函数展开的作用域 🌑, 具体就懒得说了吧
This media is not supported in your browser
VIEW IN TELEGRAM
#hardware #emmm orangePi 的硬件(好像)是开放的 🌚...
http://linux-sunxi.org/Orange_Pi_Zero
Forwarded from 永久封存 | Yuuta 台 | 😷 #Pray4Wuhan (Yuuta)
哦?树莓派硬件居然是不开放的
duangsuse::Echo
#hardware #emmm orangePi 的硬件(好像)是开放的 🌚... http://linux-sunxi.org/Orange_Pi_Zero
所以说开发板其实有很多,我有点不理解只看 RPi 的
感觉就和只看 iPhone 的差不多(
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
Forwarded from neoFelhz's Channel | 山雨欲来风满楼 (neo喵 | 鶸 | 蒟蒻 | 说我是大佬的人都是大佬 | 🐈)
我个人维护的一个 neoTerm(一个类似 Termux 的终端)的软件源:
https://mirror-neoterm.neofelhz.com
This media is not supported in your browser
VIEW IN TELEGRAM