我只是記得nginx ingress會預設就自動302了
是說這東西也是stateful的 所以我也只能開一個container
let errors = {
s1: ({}),
s2: ({})
};
let result = [];
while (line = liner.next()) {
if (count < 100) {
let processed = line.toString();
for (const i of s1pp) {
errors.s1[i] = 0;
為甚麼這裡的 errors.s1[i] = 0 會報 TypeError: Cannot set property '0' of undefined
那你要不要 console.log(errors.s1)
啊不是 我又不知道 stage-1-pre-processor 是什麼
然後為什麼你會知道啊(?)
我覺得我接了的話只是在搞我自己,我就說我們不參加ㄌ
可以丟個完整 (可以刪掉其他東西,反正就是要理論上能動的) code 嗎
server.file-preprocessor.js
@seadog007 認為 @lekous 的意思是: .js 的 bug
你為什麼要先懷疑那麼多人在用的東西而不是你自己寫的code
我 console.log(errors.s1) 是 {} 喔
[file input] -> s1pp[0] -> s1pp[1] -> s1pp[n] -> s1_to_s2 -> s2pp[0] -> s2pp[1] -> s2pp[n] -> combiner -> inserter
他說 Cannot set property '0' of undefined
微軟ㄉ產品 部過我看不出來他跟 Linux 比的優勢是啥
发现搬到新家后,scrolling变得更smooth了
....... 你是不是沒做 authentication
Your reaction time will begin lagging around hour 18; after a full night without sleep, it will nearly triple—which, for context, is about the same as being legally drunk. Your ability to form memories will start deteriorating, and after a while, your capacity to create any new memories at all will shut off entirely.
std::string hash_s256(std::string text);
bool is_equal(std::string hash1, std::string hash2) {
for (int i = 0; i < hash1.length; i++) {
if (i == 48+1) return true;
if (hash1[i] != hash2[i]) return false;
which, for context, is about the same as being legally drunk.
根據上下文,可得知大概就跟(法定)喝醉一樣
我沒有查到任何一個地方的「legally drunk」是指不含酒精的醉
我覺得「不含酒精的醉」是 is about the same as being legally drunk 整句的大意
「法定酒醉」有精準定義醉的程度
但是「醉」本身有一定的模糊性
奇怪 (adj) weird
very strange and unusual, unexpected, or not natural
不不不 做為一篇類科普文章,他寫了 legally drunk 指的就是法定喝醉
而且 C++ 沒有 Java 那嚴格到恐怖的 OOP 和 package sturcture
問問,假如三個 character a, b, c
若要產生如下的字串列表
[
"a"
"b"
"c"
"aa"
"ab"
"ac"
"ba"
"bb"
"bc"
"ca"
"cb"
"cc"
]
假如一個字串長度 5, "abcde"
然後把他轉成 5 位二進位,分別對應到每個字元
abcde
00000
這樣:
00001
-> e
00011
-> de
``
10011
-> ade
``
let t = [[]] ++ map (\s -> [s:[]]) "abc" in do { (m:[]) <- t ; d <- t ; return (join $ m:d) }
>>> for i in range(1 << length, 1, -1):
... print(str(bin(i))[2:])
...
10000
1111
1110
1101
(略)
11
10
可以sort 每個 binary 並且排除重複的呀
例如 'abc' 再變成 'abc' 'bca' 'cab'?
因為我實際上只是先用 Python 做大概ㄉ樣子,再改寫到 C++
def get_permutations(clst):
if len(clst)==1:
return [clst[0]]
results = []
for idx, c in enumerate(clst):
results += [c+substr for substr in get_permutations(clst[:idx] + clst[idx+1:])]
return results
$(function(){
$('#Mzone1').click(function(){
$('html,body').animate({scrollTop:$('#info').offset().top}, 800);
});
});
原來立刻使用ㄉ下滑特效是這樣實作的呀
f' x n 就代表長度是 n 的,字元從 x 拿出來的所有組合
然後把 n 從 1 代到 length x 的結果合在一起
Routing Information Protocol
是說TG打了ssh tunnel才能用是哪招._.
想說連 stat.php 也一起改好了 正要 push 就被 merge ㄌ :(
話說 108 課綱跟 99 課綱的用心程度真的差很多欸
@seadog007 如果你想弄查詢訂閱狀態跟取消訂閱的功能 那已訂閱又訂閱的那個測試信是不是該拿掉
不然我 R340 那台原本是 8 顆 MX500 500G
Intel你個**
DC產品用不到一個week掉盤是什麼東西
這在氣象學當中稱作「反暮光」,主要是因為颱風的雲層很厚,導致波長較短的綠、藍、靛、紫光都因折射角度大,而偏折到地平線以下;而波長較長的紅、橙、黃色光,則因為折射角度較小,而能折射到地平線以上。
我們比較常會看到「火燒雲」,則是因為空氣中的塵埃少且水氣越多,受到太陽光照射所導致的。
有點類似,但主要還是受到颱風的底層外圍雲系影響居多。
天空為什麼是藍的?
A. 作者心情不好
B. 瑞利散射
改 wp_options 的 site_url 與 home_url
以及 wp_posts 內 content 的網址