投稿時間:2023-01-15 21:12:47 RSSフィード2023-01-15 21:00 分まとめ(13件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Techable(テッカブル) 三越伊勢丹のVRアプリで、人気催事「サロン・デュ・ショコラ」がバーチャルイベント開催 https://techable.jp/archives/190551 revworlds 2023-01-15 11:00:26
python Pythonタグが付けられた新着投稿 - Qiita 変数の値を含んだ文字列を作成したいときはf文字列を使うとよい https://qiita.com/Masanori_T/items/48ab9b0bd8c7f2d85614 結論 2023-01-15 20:45:50
js JavaScriptタグが付けられた新着投稿 - Qiita p5.js と ml5.js の組み合わせでブラウザ上でのリアルタイム物体検出を試す(COCO-SSD を利用) https://qiita.com/youtoy/items/57623faa9f39f4a3a64b cocossd 2023-01-15 20:42:28
js JavaScriptタグが付けられた新着投稿 - Qiita 初心者質問ですみません」をやめてみよう! https://qiita.com/luckynoona_back/items/1d3dd3eea624fdf2d2cf 質問 2023-01-15 20:33:58
js JavaScriptタグが付けられた新着投稿 - Qiita 文字列の類似度を計算するアルゴリズムを実装した https://qiita.com/gomaoaji/items/603904e31f965d759293 類似 2023-01-15 20:27:25
AWS AWSタグが付けられた新着投稿 - Qiita AWS Cognitoのカスタム属性を使ってセキュリティ診断会社の指摘に対応した https://qiita.com/kurodenwa/items/64f121b356bf27516208 javascript 2023-01-15 20:41:58
Docker dockerタグが付けられた新着投稿 - Qiita dockerでNFSサーバー構築 https://qiita.com/motimotinoyamayama/items/ffd1ec4b1f036b2d6674 gitclonecdnfsserverdocke 2023-01-15 20:59:32
Git Gitタグが付けられた新着投稿 - Qiita gitkraken https://qiita.com/kita3003/items/3c3ab12a0637bd71544c gitkraken 2023-01-15 20:26:53
海外TECH MakeUseOf How to Install Docker on a Mac https://www.makeuseof.com/how-to-install-docker-mac/ easiest 2023-01-15 11:15:15
海外TECH DEV Community Lemmy Server 0.16.7 on OpenBSD 7.2: Install https://dev.to/nabbisen/lemmy-server-0167-on-openbsd-72-install-1gk1 Lemmy Server on OpenBSD Install SummaryThis post is a part of Lemmy on OpenBSD about Lemmy PremiseThe server is OpenBSD and Rust rustlang is installed Also there is lemmy user whose home directory is var lemmy EnvironmentOS OpenBSD Database PostgreSQL released on Aug AppLemmy based on Rust Actix Actix Web Tutorial Lemmy serverSuppose directories will be created as below var lemmy lemmy lemmy ui pict rs Prepare Rust packages doas pkg add rustThe output was quirks signed on T Zrust p libssh p okrust p ok Add a Lemmy userRun doas useradd d var lemmy m lemmyThen act as the user doas su lemmyThe login shell is perhaps ksh You must be in the home directory pwd var lemmy Build Lemmy serverFirst get the source of lemmy server git clone recursive branch single branchThe output was Cloning into lemmy remote Enumerating objects done remote Counting objects done remote Compressing objects done remote Total delta reused delta pack reused Receiving objects MiB MiB s done Resolving deltas done Note switching to ebecbeeaecda You are in detached HEAD state You can look around make experimentalchanges and commit them and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch Submodule crates utils translations registered for path crates utils translations Cloning into var lemmy lemmy crates utils translations remote Enumerating objects done remote Counting objects done remote Compressing objects done Receiving objects KiB MiB s done remote Total delta reused delta pack reused Resolving deltas done Submodule path crates utils translations checked out debaedeccacfeabfcfdafaec Go inside cd lemmyYou are now in var lemmy lemmy and have lemmy server code written in Rust Wait please You cannot compile it on OpenBSD soon There are two or three problems to be fixed beforehand Fix cargo build failed due to sslFirst you have to modify Cargo lock nvim Cargo lockto delete the lines about three packages They were in lines in my case package name openssl package name openssl probe package name openssl sys dependencies Otherwise the error below will occur in running cargo build error failed to run custom build command for openssl sys v Caused by process didn t exit successfully var lemmy lemmy target release build openssl sys eefbee build script main exit status stdout cargo rustc cfg const fn cargo rerun if env changed X UNKNOWN OPENBSD OPENSSL LIB DIR X UNKNOWN OPENBSD OPENSSL LIB DIR unset cargo rerun if env changed OPENSSL LIB DIR OPENSSL LIB DIR unset cargo rerun if env changed X UNKNOWN OPENBSD OPENSSL INCLUDE DIR X UNKNOWN OPENBSD OPENSSL INCLUDE DIR unset cargo rerun if env changed OPENSSL INCLUDE DIR OPENSSL INCLUDE DIR unset cargo rerun if env changed X UNKNOWN OPENBSD OPENSSL DIR X UNKNOWN OPENBSD OPENSSL DIR unset cargo rerun if env changed OPENSSL DIR OPENSSL DIR unset cargo rerun if env changed OPENSSL NO PKG CONFIG cargo rerun if env changed PKG CONFIG ALL DYNAMIC cargo rustc link lib ssl cargo rerun if env changed PKG CONFIG x unknown openbsd cargo rustc link lib crypto cargo rerun if env changed PKG CONFIG SYSROOT DIR cargo rerun if changed build expando c OPT LEVEL Some TARGET Some x unknown openbsd HOST Some x unknown openbsd CC x unknown openbsd None CC x unknown openbsd None HOST CC None CC None CFLAGS x unknown openbsd None CFLAGS x unknown openbsd None HOST CFLAGS None CFLAGS None CRATE CC NO DEFAULTS None DEBUG Some false CARGO CFG TARGET FEATURE Some fxsr sse sse running cc O ffunction sections fdata sections fPIC m Wall Wextra E build expando c exit status cargo rustc cfg osslconf OPENSSL NO BUF FREELISTS cargo rustc cfg osslconf OPENSSL NO SEED cargo conf OPENSSL NO BUF FREELISTS OPENSSL NO COMP OPENSSL NO KRB OPENSSL NO PSK OPENSSL NO SRP OPENSSL NO SSL METHOD OPENSSL NO SEED cargo rustc cfg libressl cargo rustc cfg libressl cargo rustc cfg libressl cargo libressl version number f stderr thread main panicked at This crate is only compatible with OpenSSL version through or or LibreSSL through but a different version of OpenSSL was found The build is now aborting due to this version mismatch home nabbisen cargo registry src github com eccdbec openssl sys build main rs note run with RUST BACKTRACE environment variable to display a backtracewarning build failed waiting for other jobs to finish Fix cargo build failed due to rust fmtNext switch back to you own user and install the package exit doas pkg add rust rustfmtThe output was quirks signed on T Zrust rustfmt p okThen switch to lemmy again doas su lemmy cd lemmyand edit Cargo toml nvim Cargo tomlto add the dependency to rustfmt dependencies rustfmt Besides in my case the actual version was Otherwise rustfmt doesn t work in compiling translations in lemmy utils Therefore you will meet the error below in running cargo build error failed to run custom build command for lemmy utils v var lemmy lemmy crates utils Caused by process didn t exit successfully var lemmy lemmy target release build lemmy utils cfbcbffb build script build exit status stdout cargo rerun if changed translations email en json cargo rerun if changed translations email ko json cargo rerun if changed translations email fi json cargo rerun if changed translations email pt json stderr Error Fmt Os code kind NotFound message No such file or directory warning build failed waiting for other jobs to finish Fix cargo build failed due to PostgreSQL libraries exit doas pkg add postgresql client postgresql contribThe output was quirks signed on T Zpostgresql client okpostgresql contrib okBesides as to postgresql client possibly it has been already installed Then switch to lemmy again doas su lemmy cd lemmyWell here are supplementary descriptions If postgresql client is not installed you will probably meet the error below The lack of libpg causes it cargo build release Compiling lemmy server v var lemmy lemmy error linking with cc failed exit status note cc m tmp rustcSracqC symbols o Wl gc sections pie Wl zrelro znow Wl O nodefaultlibs note ld error unable to find library lpq cc error linker command failed with exit code use v to see invocation error could not compile lemmy server due to previous errorIf postgresql contrib is not installed it will print the error below cargo run release Finished release optimized target s in s Running target release lemmy server Error LemmyError message None inner Failed with could not open extension control file usr local share postgresql extension pgcrypto control No such file or directory context SpanTrace Compile the serverNow cargo build is ready Let s run cargo build releaseIt will work and end with success Compiling pq sys v Compiling diesel v Compiling lemmy server v var lemmy lemmy Finished release optimized target s in m s In case of failure on missing PostgreSQL libraries Optional I have met error which seemed to have something to do with missing PostgreSQL libraries In case that you doubt you meet the same error using env to specify the location might solve it env PQ LIB DIR usr local lib cargo build release Configure Optional cp p config config hjson config config hjson orgEdit as needed nvim config config hjsonFor example overwrite host FQDN database connection and pict rs server host lemmy alpha host lt your fqdn gt bind port database Username to connect to postgres user lemmy Password to connect to postgres password lemmy Host where postgres is running host Port where postgres can be accessed port Name of the postgres database for lemmy database lemmy Maximum number of active sql connections pool size pictrs url Too few pool size may cause server failure due to SpanTraceBe careful you may have to set or greater at at pool size in above When I set the server couldn t return response to client of curl and I got the error below cargo run release Finished release optimized target s in s Running target release lemmy server T Z INFO blocking operation lemmy server code migrations Running user updates T Z INFO lemmy server scheduled tasks Updating active site and community aggregates Starting http server at T Z INFO lemmy server scheduled tasks Done T Z INFO lemmy server scheduled tasks Updating banned column if it expires T Z INFO lemmy server scheduled tasks Reindexing table concurrently post aggregates T Z WARN background jobs actix server Not restarting ticker arbiter is dead T Z INFO Worker worker id efdfd ffb a fdadc worker queue default worker operation id dd b c bde edcaa worker operation name closing background jobs actix worker Worker closing T Z INFO Worker worker id bad bc ba abcfb worker queue default worker operation id facee edc c bbf dfaa worker operation name closing background jobs actix worker Worker closing T Z WARN background jobs actix worker Not restarting worker Arbiter is dead T Z INFO Worker worker id ccc a ac b cbbcb worker queue default worker operation id dfb cea fad bdeb ffebfb worker operation name closing background jobs actix worker Worker closing T Z WARN background jobs actix worker Not restarting worker Arbiter is deadError LemmyError message None inner timed out waiting for connection context SpanTrace Run Lemmy serverNow you are ready to start the server Let s run cargo run releaseIn my case it started with T Z INFO blocking operation lemmy server code migrations Running user updates It was followed by Starting http server at T Z INFO lemmy server scheduled tasks Updating active site and community aggregates Starting http server at T Z INFO actix server builder Starting workers T Z INFO actix server server Actix runtime found starting in Actix runtimefederation enabled host is lemmy alpha T Z INFO lemmy server scheduled tasks Done Yay Building Lemmy server is completed ConclusionWell done Go on to the next step Return 2023-01-15 11:17:32
ニュース BBC News - Home Nepal crash: Dozens killed as plane crashes near Pokhara airport https://www.bbc.co.uk/news/world-asia-64280480?at_medium=RSS&at_campaign=KARANGA media 2023-01-15 11:54:09
ニュース BBC News - Home Euston shooting: Car appeal after six injured at London church https://www.bbc.co.uk/news/uk-england-london-64281091?at_medium=RSS&at_campaign=KARANGA euston 2023-01-15 11:54:08
ニュース BBC News - Home Keir Starmer: The NHS must reform to survive https://www.bbc.co.uk/news/uk-64279654?at_medium=RSS&at_campaign=KARANGA health 2023-01-15 11:35:19

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)