投稿時間:2023-05-13 09:26:14 RSSフィード2023-05-13 09:00 分まとめ(32件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Techable(テッカブル) 在宅医療・介護事業所の空き情報をタイムリーに共有できる「ZEST MEET」 https://techable.jp/archives/206080 zestmeet 2023-05-12 23:00:12
js JavaScriptタグが付けられた新着投稿 - Qiita [Deno] Web標準Responseオブジェクトで様々なデータをやり取りする https://qiita.com/access3151fq/items/08fe6a9554a6f2f38fed denoweb 2023-05-13 08:24:08
Docker dockerタグが付けられた新着投稿 - Qiita SpringBootのアプリケーションをDockerコンテナで動かす https://qiita.com/ke_suke0215/items/1b0128c140dd051b5993 docker 2023-05-13 08:10:28
海外TECH DEV Community Swingland: Recreating Java Swing for Wayland https://dev.to/phlash/swingland-recreating-java-swing-for-wayland-2ah6 Swingland Recreating Java Swing for Wayland also published on my blog Irritation driven developmentBack in the past I wrote a couple of Java apps These were written using the Java Swing framework and have worked nicely on both Windows and Linux X desktops for a long time More recently I switched away from X amp Budgie to pure Wayland for my desktop on the assumption that it s over years old now and is the default technology underlying current Gnome and KDE desktops everything will be fine right Kind of It turns out Java GUI technology has been somewhat abandoned by Oracle in particular when running Swing or JavaFX applications on Wayland Java relies on the XWayland adpater to bodge X API calls back to Wayland proper This is not great read doesn t work out of the box so I wondered if someone had implemented a native Wayland backend for Swing and they have multiple times super but wait Oracle have not merged either project into mainline Openjdk and indeed the only way to make either of them work is by hideous bodging which also puts paid to any thoughts of writing my own backend as the hacks required to load it at run time read in every application are not sustainable Grrr So what to do I can of course switch back to an X desktop ie Budgie but this irritates me plus I have already ported OpenSceneGraph Flightgear to Wayland it wasn t that difficult Swing like most medium large frameworks has documented public API and internal implementations so I could choose to re write Swing retaining the public API thus existing applications can re compile against my library but rewrite Swing internals from the ground up on top of Wayland APIs Sounds sensible right However Swing and the earlier AWT it relies on have several hundred documented classes with many more undocumented internal classes and a fair amount of native code in C to connect to X Win or Cocoa macOS plus there are no Java bindings to Wayland only the libwayland C API How brave do I feel Looking at my existing apps see above I have only used a small number of Swing features so I should be able to create a spike that supports just the features I need to prove my proposal still seems pretty mad but I have time the glory of retirement so let s go Wayland API in mostly JavaGiven I will be using most of the Wayland protocol to achieve anything it s minimal and Wayland is well specified then the start at the bottom and build up design pattern fits Wayland has a wire protocol based on a Unix socket and usefully Java has supported Unix sockets since release so I can write everything in Java to de serialise messages This gets me going quickly providing positive feedback that I m on the right track Unfortunately Wayland also uses two Unix features that Java doesn t have SYS V shared memory buffers file descriptor passing over Unix sockets I then discover a bug or misunderstand the documentation Shared memory solutionHelpfully Java Native Interface JNI does allow memory buffers to be passed from native code back to Java and vice versa using DirectByteBuffer objects so I only have to write enough JNI C code to allocate and destroy shared memory which I can then efficiently access from the Java code Passing file descriptorsThis is a less obvious solution since Java does not provide public access to the native file descritor s for any operating system APIs however the source code is available identifying where a socket stores this native value which appears to be stable over many releases and from JNI C I can easily access the required object field without the security challenges of doing so in managed Java code I ll live with this slightly hacky solution for now until Java has accessors for native descriptors it s been proposed a few times Checking for inputWayland operates asynchronously between client and server there are only a couple of occasions when a client needs to wait for input and we can simply block in a read call at other times we need to poll for input using a check for data being available to read This should work via the java nio channels Selector mechanism but sadly it does not Thus I extend my JNI C a little to provide a working data availability check using the above hack to obtain the native file descriptor and calling ioctl FIONREAD which does work Testing ensues As soon as I have enough of the protocol implemented to connect and display something then testing ensues gotta see something on screen The test program will now evolve along with the protocol components as I add features Oh and it works nicely this is days in Swing API in many stepsWith the underlying Wayland protocol up and running I move on to a baby steps exploration of the Swing API working down from one of my simple applications the powermonitor and creating just enough code to pass the tests This takes considerably longer than I hoped as Swing is rather tightly coupled and small refactorings such as hoisting state to a super class result in a lot of changes to coupled code bah Along side the real application I create a Swing test application which provides scope for short cuts and internal testing during development without hacking my real app about always good to have something you can run after each change After another days work I get to see the first Swing app run with almost no useful features but API compatible with the real thing Neat Features then more featuresSo from here I start picking off features to add and working through the stack to make it so for each first up a single x MONOSPACED font that I steal borrow from The Ultimate Old Skool PC Font Pack the original IBM VGA text mode font Retro computing FTW This is followed up with input handling first keyboard then mouse both rather buggy then more high level components Dialog JLabel JButton over the next few days followed by improvements to Graphics primitives and lots of debugging particularly around the interaction with my tiling window manager sway and how it chooses to position new windows Cursor support bogs me down for a bit especially the interaction between an asynchronous protocol and the need to change the cursor on demand while the pointer is within a single Wayland window also the increasingly complex logic required to flow input events through the component stack which I refactor a couple of times Help arrives About a month into the project my eldest son arrives for a family visit and gets interested in the madness he pulls the repository builds the code and it runs first time on his Pinebook which is both an ARM not x and big endian by default I m almost impressed this just works He also find and fixes a couple of protocol bugs for me thanks Martin Dogfooding timeAt this point I decide to write an app that both uses Swingland and supports it a font editor for the custom file format I have created to store simple bitmap fonts this allows me to create a proper cursor font without hand editing in a hex editor which I have been doing until now The process of creating this real application finds more bugs of course Image supportThe next feature is the ImageIO library that allows bitmap images to be loaded Because I have contributed to it and I think it s cool I start with the Quite OK Image format then Portable Network Graphics as most images will be in PNGs Transparency and alpha blending follow as both image formats support alpha channels Window manager interactionSwitching an application to full screen and back under program control is explicitly supported in Swing and useful for games or similar so this goes in next and requires yet another refactor of the way Swing interacts with Wayland Menus At this point we re approaching the useful mark of the Pareto Principle Swingland is looking like an actually useful libray tm although it really needs application menus cue another round of refactoring popup window handling and event processing re design and we have it Looking good Getting braver with testingHaving exhausted my own applications as test beds I decide to move on to the Oracle provided Swing demo apps in particular the TopLevelDemo and ButtonDemo ones that should now work with a simple change of imports and a re compile well almost More debugging and fiddling with the detail of button processing ensues More fonts The latest feature to go in is support for X PCF font files which opens up a world of reasonable fonts for text I had looked at TrueType TTF fonts earlier and decided that they were far too much work for now a whole virtual machine and binary executable format to just fiddle with point positions during layout err nope Ongoing developmentI hope to maintain Swingland as an actually useful library for some time and would particularly welcome other contributors who need other Swing features that they could develop Come get some hot source 2023-05-12 23:24:42
金融 金融総合:経済レポート一覧 FX Daily(5月11日)~弱い米指標受け一時133円台まで押される http://www3.keizaireport.com/report.php/RID/537353/?rss fxdaily 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 景気減速と高インフレの併存が続く米国:経済の舞台裏 http://www3.keizaireport.com/report.php/RID/537355/?rss 景気減速 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 BOEも利上げ継続の可能性を示唆~今後の利上げ確度はFRB<BOE<ECB:Europe Trends http://www3.keizaireport.com/report.php/RID/537357/?rss frbboeecbeuropetrends 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 金融正常化への険しい道筋:岩田一政の万理一空 http://www3.keizaireport.com/report.php/RID/537366/?rss 万理一空 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 内外経済とマーケットの注目点(2023/5/12)~米国ではFRBの利下げ期待と景気悪化懸念が入り交じる可能性がある:金融・証券市場・資金調達 http://www3.keizaireport.com/report.php/RID/537380/?rss 大和総研 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 マーケットフォーカス(米ドル建債券市場)2023年5月号~米国国債利回りは小幅に低下。 http://www3.keizaireport.com/report.php/RID/537384/?rss 三井住友トラスト 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 英国金融政策(2023年5月)~12会合連続の利上げで政策金利は2008年以来の高水準に:マーケットレター http://www3.keizaireport.com/report.php/RID/537385/?rss 政策金利 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 高校で始まった投資教育から見るこれからの資産形成 http://www3.keizaireport.com/report.php/RID/537386/?rss 日本fp協会 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 ビーアンドピー(東証スタンダード)~業務用インクジェットプリンターによる出力サービスの大手。新型コロナ禍からの回復前提で、前期に続き23年10月期も増収増益の会社計画:アナリストレポート http://www3.keizaireport.com/report.php/RID/537387/?rss 増収増益 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 CaSy(東証グロース)~家事代行等の暮らし関連サービスのマッチング・プラットフォームを運営。家事代行のサービス 提供プロセスをDX化するビジネスモデルが特徴:アナリストレポート http://www3.keizaireport.com/report.php/RID/537388/?rss 家事代行 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 ASEAN諸国の金融包摂の進展をもたらす金融サービスの変化~オルタナティブ融資、オープンファイナンス、組み込み型金融:RIM 環太平洋ビジネス情報 Vol.23,No.89 http://www3.keizaireport.com/report.php/RID/537408/?rss asean 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 上昇する中国の潜在不良債権比率~企業の財務データからみた不良債権問題の現状と展望:RIM 環太平洋ビジネス情報 Vol.23,No.89 http://www3.keizaireport.com/report.php/RID/537409/?rss volno 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 家計調査報告(貯蓄・負債編)2022年(令和4年)平均結果(二人以上の世帯)~1世帯当たり貯蓄現在高は1901万円、前年に比べ1.1%増加、4年連続の増加。 http://www3.keizaireport.com/report.php/RID/537420/?rss 家計調査 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 利上げ休止であれ、政策転換であれ、注目すべき債券:アセットアロケーション展望 http://www3.keizaireport.com/report.php/RID/537427/?rss pimco 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 英国金融政策(5月MPC)~0.25%ポイント利上げ、金融不安の影響は限定的:経済・金融フラッシュ http://www3.keizaireport.com/report.php/RID/537430/?rss 金融政策 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 米国:銀行融資担当者調査(2023年1-3月期)~利上げと銀行破綻で融資厳格化が進行、調査対象外の中小行に要警戒:MRIデイリー・エコノミック・ポイント http://www3.keizaireport.com/report.php/RID/537439/?rss 三菱総合研究所 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 FX Weekly (2023年5月12日号)~来週の為替相場見通し(1)ドル円:バイデン大統領は来日するのか http://www3.keizaireport.com/report.php/RID/537440/?rss fxweekly 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 IPOを目指すスタートアップを取り巻く環境変化(前編) http://www3.keizaireport.com/report.php/RID/537462/?rss 発表 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 【BOE金融政策委員会(2023年5月)】BOEは12会合連続で利上げ ~利上げは次回で打ち止めと予想 http://www3.keizaireport.com/report.php/RID/537470/?rss 打ち止め 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 Kamiyama Reports:米インフレは峠を越えるだろう http://www3.keizaireport.com/report.php/RID/537476/?rss kamiyamareports 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 【注目検索キーワード】金融経済教育 http://search.keizaireport.com/search.php/-/keyword=金融経済教育/?rss 検索キーワード 2023-05-13 00:00:00
金融 金融総合:経済レポート一覧 【お薦め書籍】1300万件のクチコミでわかった超優良企業 https://www.amazon.co.jp/exec/obidos/ASIN/4492534628/keizaireport-22/ 転職 2023-05-13 00:00:00
海外ニュース Japan Times latest articles The fur is flying — for top dollar on private airlines https://www.japantimes.co.jp/life/2023/05/13/travel/dogs-cats-air-travel-vacations/ cargo 2023-05-13 08:05:01
海外ニュース Japan Times latest articles In the world of tatami, one Kyushu variety is a cut above https://www.japantimes.co.jp/life/2023/05/13/style/tatami-kunisaki-shichitoi-oita/ ingredient 2023-05-13 08:00:58
ニュース BBC News - Home Bellator 296: Fabian Edwards beats Gegard Mousasi in Paris to set up middleweight title shot https://www.bbc.co.uk/sport/mixed-martial-arts/65578527?at_medium=RSS&at_campaign=KARANGA Bellator Fabian Edwards beats Gegard Mousasi in Paris to set up middleweight title shotFabian Edwards fights for the world title in Dublin on September after beating Gegard Mousasi by unanimous decision at Bellator in Paris 2023-05-12 23:26:10
ニュース BBC News - Home Eurovision stars complete BBC quiz https://www.bbc.co.uk/news/entertainment-arts-65578337?at_medium=RSS&at_campaign=KARANGA eurovision 2023-05-12 23:41:54
ビジネス ダイヤモンド・オンライン - 新着記事 自動運転技術の米ルミナーCEO、フォーブス過半数株取得へ - WSJ発 https://diamond.jp/articles/-/322913 自動運転技術 2023-05-13 08:25:00
ビジネス 東洋経済オンライン 銭湯から定年力まで!これがユニークな検定だ 話のネタになり、自己アピールにもつながる | 週刊東洋経済(ビジネス) | 東洋経済オンライン https://toyokeizai.net/articles/-/667505?utm_source=rss&utm_medium=http&utm_campaign=link_back 国家資格 2023-05-13 08:30:00

コメント

このブログの人気の投稿

投稿時間: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件)