<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: tokyodude</title><link>https://news.ycombinator.com/user?id=tokyodude</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 09 Apr 2026 21:44:14 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=tokyodude" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by tokyodude in "Can Uber ever make money?"]]></title><description><![CDATA[
<p>if there is a demand I'd expect something to come up<p>Note that Uber/Lyft do something the taxi companies can not. They scale to meet demand. If 1000 drivers are needed between 6pm and 8pm then they'll likely get 1000 drivers. Taxi companies can't do this as they'd lose money on drivers and cars when all of them are not in use.</p>
]]></description><pubDate>Fri, 26 Apr 2019 21:46:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=19762045</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19762045</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19762045</guid></item><item><title><![CDATA[New comment by tokyodude in "Immediate Mode GUI"]]></title><description><![CDATA[
<p>And yet the WinAPI is not actually preformant for types of apps that an ImGUI excels at<p>There's best case for Retained mode GUIs and best case for ImGUIs.  ImGUIs excel when lots is changing. In a scrolling mobile app the entire page is being re-rendered constantly as the user moves the page up and down. GUI widgets get created and deleted, data gets marshalled in and out, various algorithms are applied to try to minimize re-creating stuff, all code that doesn't need to be executed in ImGUI mode code.<p>There are tons of cases where ImGUIs win in perf. In fact the reason they are so popular with for game dev is exactly because they vastly out perform retained mode guis. There's a reason there are 100s of books and 1000s of blog posts and articles trying to get retained mode guis to run smoothly. They almost always fail without lots and lots of specialized client side code to try to minimize GUI widget object creation/deletion, reuse objects, minimize state changes, etc, all that code disappears in an ImGUI and they run at 60fps where as all the retained mode guis struggle to get even 20fps consistently as they hiccup and sputter.</p>
]]></description><pubDate>Thu, 25 Apr 2019 22:37:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=19753150</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19753150</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19753150</guid></item><item><title><![CDATA[New comment by tokyodude in "Tesla Posts Big Quarterly Loss as Its Electric-Car Sales Lag"]]></title><description><![CDATA[
<p>The title of the article is that sales are lagging but sales are provably not lagging</p>
]]></description><pubDate>Thu, 25 Apr 2019 22:09:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=19752960</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19752960</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19752960</guid></item><item><title><![CDATA[New comment by tokyodude in "Immediate Mode GUI"]]></title><description><![CDATA[
<p>I disagree with your disagreement :)<p>Electron (and nearly all retained mode GUIs) will execute 10x more code trying not to execute the rendering code. Just skipping all that checking and jumping to the rendering code is arguably a win in many many cases.<p>To put some empirical data on it, game devs use ImGUIs because they keep up with perf where as that 10x overhead of retained mode guis creating gui objects, deleting gui objects, marshaling data into and out of gui objects, adding and removing event handlers and callbacks, and then trying to write a bunch more code to optimize all of that never leads to a GUI that is performant enough for the GUIs needed for game dev.<p>I think if you check actual apps, especially phone apps, you'll find it's not so clear which one wins. Phone apps almost always move in relation to the users fingers meaning the screen is being re-rendered. Usually new GUI elements are moving on and off the top/bottom of the screen. The overhead of creating/deleting/managing those objects is arguably greater than just re-rendering. The screen is already going to be re-rendered. At best you're getting a few cached textures from your retained mode gui all at the expensive of managing GUI objects.<p>For desktop apps it really depends on the app. It's got nothing to do with the complexity of the UI and everything to do with what the app does. A text editor might be a win for a retained mode GUI. Photoshop/Maya it's less clear. For example Unity is ImGUI and has very complex UI. Much of the UI has to respond in realtime to the state of the user's document that is changing constantly.</p>
]]></description><pubDate>Thu, 25 Apr 2019 11:36:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=19746988</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19746988</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19746988</guid></item><item><title><![CDATA[New comment by tokyodude in "Immediate Mode GUI"]]></title><description><![CDATA[
<p>Here's another<p><a href="https://greggman.github.io/doodles/glfw-imgui/out/glfw-imgui.html" rel="nofollow">https://greggman.github.io/doodles/glfw-imgui/out/glfw-imgui...</a><p>In the "ImGUI Demo" window start expanding the collapsed items or from the menus pick "Examples"<p>Note that no effort has been spent to actually make the demo web browser friendly so there are rough edges.</p>
]]></description><pubDate>Thu, 25 Apr 2019 11:12:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=19746883</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19746883</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19746883</guid></item><item><title><![CDATA[New comment by tokyodude in "Immediate Mode GUI"]]></title><description><![CDATA[
<p>I think you have it exactly backwards. Most ImGUI use cases are extremely complex UIs and that's where they excel.<p>One of the most complex apps out there, Unity, is entirely ImGUI based for the app itself and often has 1000s of controls visible. Going though the screenshots of typical ImGUI usage most of them are on the complex side.<p><a href="https://cloud.githubusercontent.com/assets/8225057/20628927/33e14cac-b329-11e6-80f6-9524e93b048a.png" rel="nofollow">https://cloud.githubusercontent.com/assets/8225057/20628927/...</a><p><a href="https://raw.githubusercontent.com/wiki/ocornut/imgui/web/v160/editor_white.png" rel="nofollow">https://raw.githubusercontent.com/wiki/ocornut/imgui/web/v16...</a><p><a href="https://user-images.githubusercontent.com/16171743/50757906-f2bace80-1260-11e9-9ce5-4173b68cd9a2.jpg" rel="nofollow">https://user-images.githubusercontent.com/16171743/50757906-...</a><p><a href="https://user-images.githubusercontent.com/8225057/51042368-65f37600-15bc-11e9-99cf-36e9f9822610.jpg" rel="nofollow">https://user-images.githubusercontent.com/8225057/51042368-6...</a><p><a href="https://user-images.githubusercontent.com/870320/51073482-ba0c6200-1671-11e9-9b44-0c573ab0fae5.png" rel="nofollow">https://user-images.githubusercontent.com/870320/51073482-ba...</a><p>See <a href="https://github.com/ocornut/imgui#Gallery" rel="nofollow">https://github.com/ocornut/imgui#Gallery</a> for more</p>
]]></description><pubDate>Thu, 25 Apr 2019 11:06:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=19746859</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19746859</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19746859</guid></item><item><title><![CDATA[New comment by tokyodude in "Bad Habits Creeping into Your Writing?"]]></title><description><![CDATA[
<p>I have the same cringe. I think it comes from feeling inserted as a pretense to authority by writing style. Other examples I cringe at: The use of the word "titular", the phrase "abc cum def", ... For whatever reason they sound pretentious like the author is using them to show off, not to actually inform.<p>Some others are "I've said it once and I'll say it again", "as I said/wrote/posted/blogged before". Those seem to suggest the author is assuming they are famous/popular enough that their previous content has been read. Of course you could look at it as they are just suggesting you go read their previous post but for whatever reason that specific way of saying it comes across less as info and more as "of course you read my previous post".<p>I'm aware this is a personal opinion with no basis in reality.</p>
]]></description><pubDate>Thu, 25 Apr 2019 09:44:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=19746460</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19746460</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19746460</guid></item><item><title><![CDATA[New comment by tokyodude in "Tesla Posts Big Quarterly Loss as Its Electric-Car Sales Lag"]]></title><description><![CDATA[
<p>Sounds like what you're doing is proving the NYTimes is part of the fake news problem. I wonder given your data above if the NYTimes could be sued for liable for reporting something easily provably false.</p>
]]></description><pubDate>Thu, 25 Apr 2019 09:25:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=19746376</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19746376</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19746376</guid></item><item><title><![CDATA[New comment by tokyodude in "Immediate Mode GUI"]]></title><description><![CDATA[
<p>I'd argue an ImGUI does't mix anything. It's just a library. If you want MVC it's up to you to implement your MVC and use your ImGUI as a library. Retained mode GUIs don't magically make your code MVC and ImGUIs don't magically make your code not MVC. That's entirely up to you.<p>Also ImGUIs are not multiple pass. That's in implementation detail. Unity's ImGUI is multi-pass. One of the most popular ImGUIs (Dear ImGUI) is single pass<p><a href="https://github.com/ocornut/imgui" rel="nofollow">https://github.com/ocornut/imgui</a></p>
]]></description><pubDate>Thu, 25 Apr 2019 09:18:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=19746358</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19746358</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19746358</guid></item><item><title><![CDATA[New comment by tokyodude in "Immediate Mode GUI"]]></title><description><![CDATA[
<p>I think you're mis-understanding why Unity switched. They only switched their in game GUI system. The entire app of Unity itself uses an ImGUI system and it is massively more complex than any Game UI and runs just fine.<p>The reasons they switched the in game system are many but they have nothing to do with performance.</p>
]]></description><pubDate>Thu, 25 Apr 2019 07:57:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=19745967</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19745967</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19745967</guid></item><item><title><![CDATA[New comment by tokyodude in "Immediate Mode GUI"]]></title><description><![CDATA[
<p>I don't believe this is a proven. The amount of code being run to cache objects, create and destroy objects, try not to create and destroy objects, marshal data into and out of GUI objects, manage and respond to events, etc. is easily 10x that of an ImGUI, maybe more. Many GUIs now a days are moved almost constantly. Pretty much all phone apps where the user scrolls through a feed of data. A static GUI doesn't need to be re-rendered in an ImGUI, only if something changes. Sure in some ideal test case the Retained mode GUI wins but I suspect it's far less clear what happens in the real world.</p>
]]></description><pubDate>Thu, 25 Apr 2019 07:54:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=19745950</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19745950</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19745950</guid></item><item><title><![CDATA[New comment by tokyodude in "Immediate Mode GUI"]]></title><description><![CDATA[
<p>What a rude comment. It's not a specialized term. It's a common term. Immediate mode GUI as a concept is well known. Tens of thousands of programmers use Immediate Mode GUIs. There are several well known Immediate Mode GUI libraries used by tens of thousands of projects.<p>When I don't know a term I google it. I don't assume the entire world revolves around me and that it's the author job to make their article more verbose because everyone reading it might not know every term.<p>Here's are galleries of some from one of the more popular libraries<p><a href="https://github.com/ocornut/imgui/issues/2265" rel="nofollow">https://github.com/ocornut/imgui/issues/2265</a>
<a href="https://github.com/ocornut/imgui/issues/1902" rel="nofollow">https://github.com/ocornut/imgui/issues/1902</a>
<a href="https://github.com/ocornut/imgui/issues/1607" rel="nofollow">https://github.com/ocornut/imgui/issues/1607</a>
<a href="https://github.com/ocornut/imgui/issues/1269" rel="nofollow">https://github.com/ocornut/imgui/issues/1269</a></p>
]]></description><pubDate>Thu, 25 Apr 2019 07:46:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=19745908</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19745908</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19745908</guid></item><item><title><![CDATA[Could ImGUI Be the Future of GUIs?]]></title><description><![CDATA[
<p>Article URL: <a href="https://games.greggman.com/game/imgui-future/">https://games.greggman.com/game/imgui-future/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=19745809">https://news.ycombinator.com/item?id=19745809</a></p>
<p>Points: 224</p>
<p># Comments: 124</p>
]]></description><pubDate>Thu, 25 Apr 2019 07:27:36 +0000</pubDate><link>https://games.greggman.com/game/imgui-future/</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19745809</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19745809</guid></item><item><title><![CDATA[New comment by tokyodude in "Show HN: WAPM – Package Manager for WebAssembly"]]></title><description><![CDATA[
<p>does that mean everything installs globallu by default. if there is one thing I love about npm it's that it's local by default and global is the exception.</p>
]]></description><pubDate>Wed, 24 Apr 2019 06:54:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=19736160</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19736160</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19736160</guid></item><item><title><![CDATA[New comment by tokyodude in "Amazon customers will be able to return purchases to any Kohl’s store in July"]]></title><description><![CDATA[
<p>Kohl's started spamming me with no way to opt out / unsubscribe many years ago. I had never done any business with them at the time nor ever given them my contact info. Had never been to one of their stores. Had no idea what they even sold.<p>Since that time I vowed never to do business wirh them ever. Not happy that Amazon is partnering with such a bad company</p>
]]></description><pubDate>Tue, 23 Apr 2019 20:34:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=19732554</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19732554</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19732554</guid></item><item><title><![CDATA[New comment by tokyodude in "Downsized dwellings: Inside Tokyo's tiny living spaces"]]></title><description><![CDATA[
<p>Japan has a similar setup but without the age restriction. they are called Social Apartments.<p><a href="https://www.social-apartment.com/eng" rel="nofollow">https://www.social-apartment.com/eng</a><p>I've considered living in one but the prices are not any lower and sometimes even higher than renting my own apartment. Maybe if I knew they had a community organizer that planned activities most days I'd consider paying the premium.<p>Some apparently have a theme like "musicians" so you have people the jam with and they have practice rooms.</p>
]]></description><pubDate>Tue, 23 Apr 2019 08:53:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=19726679</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19726679</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19726679</guid></item><item><title><![CDATA[New comment by tokyodude in "Why OO Sucks by Joe Armstrong (2000)"]]></title><description><![CDATA[
<p>what does late binding by you? That sounds like an argument for non-strictly typed languages. Isn't in the strict typing that prevents late binding? The compiler wants to know at compile time the types of all the messages and whether or not an object can handle that message hence all messages must be typed and all object must declare which messages they accept.</p>
]]></description><pubDate>Mon, 22 Apr 2019 09:39:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=19717602</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19717602</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19717602</guid></item><item><title><![CDATA[New comment by tokyodude in "Why Ford and Other American Cars Don’t Sell in Japan [video]"]]></title><description><![CDATA[
<p>pre model 3 cars are too big. won't fit in most parking spaces and even some roads</p>
]]></description><pubDate>Mon, 22 Apr 2019 09:33:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=19717580</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19717580</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19717580</guid></item><item><title><![CDATA[New comment by tokyodude in "Downsized dwellings: Inside Tokyo's tiny living spaces"]]></title><description><![CDATA[
<p>it may be my Western sensibilities but I find those small apartments dehumanizing. Like living in a prison cell or some kind of distopian sci-fi novel.<p>note I've lived in Tokyo on and over the last 21 years. I've lived in college dorm sized apartments and visited friends in smaller. I get it's partly culture but isn't there some limit? Would living in a capsule hotel be ok to some? Is it 100% personal preference or is there some limit?</p>
]]></description><pubDate>Mon, 22 Apr 2019 09:25:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=19717553</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19717553</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19717553</guid></item><item><title><![CDATA[New comment by tokyodude in "JavaScript debuggers are broken"]]></title><description><![CDATA[
<p>I guess I must not know what I'm missing. I've used Visual Studio for 15 years. gdb for 10. I have zero issues using the Chrome's debugger. I don't no what's different about the breakpoints in Chrome. The seem to offer the same features.</p>
]]></description><pubDate>Mon, 22 Apr 2019 09:17:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=19717529</link><dc:creator>tokyodude</dc:creator><comments>https://news.ycombinator.com/item?id=19717529</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19717529</guid></item></channel></rss>