<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: localhostdotdev</title><link>https://news.ycombinator.com/user?id=localhostdotdev</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 10 Jun 2026 05:37:03 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=localhostdotdev" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by localhostdotdev in "YTMND is down for temporary maintenance"]]></title><description><![CDATA[
<p>to be fair, i went there, saw rip and didn't read further :)</p>
]]></description><pubDate>Wed, 15 May 2019 20:33:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=19923469</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19923469</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19923469</guid></item><item><title><![CDATA[New comment by localhostdotdev in "The Problem of Thinking Too Much (2003) [pdf]"]]></title><description><![CDATA[
<p>oh nice, i didn't know where the coin flipping quote came from: <a href="https://en.wikiquote.org/wiki/Piet_Hein" rel="nofollow">https://en.wikiquote.org/wiki/Piet_Hein</a></p>
]]></description><pubDate>Wed, 15 May 2019 17:51:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=19921944</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19921944</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19921944</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Material Design Guidelines for Dark Mode"]]></title><description><![CDATA[
<p>you were programming in text, a very popular programming language that i'm using right now :)<p>here is a peg grammar:<p><pre><code>    text = $.*
</code></pre>
you can try it at <a href="https://pegjs.org/online" rel="nofollow">https://pegjs.org/online</a> :)<p>edit: sry to disappoint but this matches binary files too :(</p>
]]></description><pubDate>Wed, 15 May 2019 14:17:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=19919581</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19919581</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19919581</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Unlimited Google Drive storage by splitting binary files into base64"]]></title><description><![CDATA[
<p>already better than s3 :) makes me think of <a href="https://www.reddit.com/r/DataHoarder/" rel="nofollow">https://www.reddit.com/r/DataHoarder/</a></p>
]]></description><pubDate>Wed, 15 May 2019 09:57:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=19917837</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19917837</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19917837</guid></item><item><title><![CDATA[New comment by localhostdotdev in "A Norwegian town built a giant mirror to deflect the sun (2017)"]]></title><description><![CDATA[
<p>wow that's quite amazing! could be worth it even at 10k+<p>here is a direct link so people don't have to copy/paste <a href="https://innerscene.com/products" rel="nofollow">https://innerscene.com/products</a></p>
]]></description><pubDate>Wed, 15 May 2019 02:15:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=19915827</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19915827</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19915827</guid></item><item><title><![CDATA[New comment by localhostdotdev in "The boring front-end developer (2014)"]]></title><description><![CDATA[
<p>this is my definition of a boring programmer:<p>- makes code that works<p>- solves people's problems<p>- doesn't care what other programmers think<p>edit: the truth is a boring programmer won't even read this, just doesn't care, doesn't read hn, just does stuff</p>
]]></description><pubDate>Tue, 14 May 2019 00:45:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=19905664</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19905664</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19905664</guid></item><item><title><![CDATA[Peg.js – Parser Generator for JavaScript]]></title><description><![CDATA[
<p>Article URL: <a href="https://pegjs.org/">https://pegjs.org/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=19892480">https://news.ycombinator.com/item?id=19892480</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 12 May 2019 15:30:28 +0000</pubDate><link>https://pegjs.org/</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19892480</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19892480</guid></item><item><title><![CDATA[New comment by localhostdotdev in "GitHub Package Registry"]]></title><description><![CDATA[
<p>debian packages are also supported it seems: <a href="https://github.com/git-lfs/git-lfs/packages/5789" rel="nofollow">https://github.com/git-lfs/git-lfs/packages/5789</a> and <a href="https://github.com/alteregofun/firsty/packages/2953" rel="nofollow">https://github.com/alteregofun/firsty/packages/2953</a><p>found a ruby one: <a href="https://github.com/wintron/hola/packages/4057" rel="nofollow">https://github.com/wintron/hola/packages/4057</a> (yes! got it working)</p>
]]></description><pubDate>Fri, 10 May 2019 21:32:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=19882442</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19882442</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19882442</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Database IDs Have No Place in URIs (2008)"]]></title><description><![CDATA[
<p>pretty cool how the urls stayed the same:<p><a href="http://stackoverflow.com/questions/13204/why-doesnt-my-cron-job-work-properly" rel="nofollow">http://stackoverflow.com/questions/13204/why-doesnt-my-cron-...</a> (still works)<p><a href="http://stackoverflow.com/questions/21064/massive-reputation-jump" rel="nofollow">http://stackoverflow.com/questions/21064/massive-reputation-...</a> ("this question was removed from stack overflow for reasons of moderation", still available: <a href="https://i.imgur.com/Csy94IL.png" rel="nofollow">https://i.imgur.com/Csy94IL.png</a>)</p>
]]></description><pubDate>Fri, 10 May 2019 12:47:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=19877198</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19877198</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19877198</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Estimating Number of Jupyter Notebooks on Github"]]></title><description><![CDATA[
<p>thanks for linking there, tried to make some ruby notebooks and works quite well <a href="https://nbviewer.jupyter.org/github/localhostdotdev/notebooks/blob/master/list%20of%20github%20repositories.ipynb" rel="nofollow">https://nbviewer.jupyter.org/github/localhostdotdev/notebook...</a> (very similar to the github interface though)</p>
]]></description><pubDate>Wed, 08 May 2019 16:23:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=19860370</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19860370</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19860370</guid></item><item><title><![CDATA[New comment by localhostdotdev in "To ORM or Not to ORM"]]></title><description><![CDATA[
<p>I stayed close to what the author did.<p>adding an index:<p><pre><code>    add_index :tags, :name
</code></pre>
adding a null constraint:<p><pre><code>    change_column :tags, :name, :string, null: false
    validates :name, presence: true # for proper validations
</code></pre>
<a href="https://github.com/localhostdotdev/bug/commit/3765237008c36c539b30cbc8ad4127c14b0e546b" rel="nofollow">https://github.com/localhostdotdev/bug/commit/3765237008c36c...</a></p>
]]></description><pubDate>Tue, 07 May 2019 17:52:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=19851775</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19851775</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19851775</guid></item><item><title><![CDATA[New comment by localhostdotdev in "To ORM or Not to ORM"]]></title><description><![CDATA[
<p><p><pre><code>    rails g model Post published_at:datetime title content:text
    rails g model Comment post:references author published_at:datetime content:text
    rails g model Tag name
    rails g model PostTag post:references tag:references

    class Post < ApplicationRecord
      has_many :comments
      has_many :post_tags
      has_many :tags, through: :post_tags
    end

    class Tag < ApplicationRecord
      has_many :post_tags
      has_many :posts, through: :post_tags
    end
</code></pre>
from there it's just regular rails:<p><pre><code>    Tag.find_by(name: "something").posts
    Post.joins(:tags).where(tags: { name: "something" })
    Tag.create(name: "something")
    Post.create(...)
    Tag.first.posts << Post.all.sample(2)
</code></pre>
made a little repo if people want to play with it: <a href="https://github.com/localhostdotdev/bug/tree/orm-or-not-orm" rel="nofollow">https://github.com/localhostdotdev/bug/tree/orm-or-not-orm</a></p>
]]></description><pubDate>Tue, 07 May 2019 17:42:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=19851673</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19851673</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19851673</guid></item><item><title><![CDATA[New comment by localhostdotdev in "What we know about Lockheed Martin's mysterious SR-72"]]></title><description><![CDATA[
<p>> for intelligence, surveillance and reconnaissance (ISR) and strike missions (wikipedia)<p>for the strike part, wouldn't it be better to use a satellite-based system, I would think it could reach any place on earth much faster given the initial velocity of being in orbit.<p>e.g. missiles/drones would be launched from a satellite at 8000m/s (17000 mph, 3/4 times faster than the SR-72), and they could be distributed globally. I'm just unsure about the descent phase but sounds like it would work out.</p>
]]></description><pubDate>Mon, 06 May 2019 03:00:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=19836517</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19836517</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19836517</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Repositories held for ransom by using valid credentials"]]></title><description><![CDATA[
<p>kinda hoping "testing weak passwords on your existing user's passwords" becomes standard practice at some point.</p>
]]></description><pubDate>Sat, 04 May 2019 13:04:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=19826167</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19826167</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19826167</guid></item><item><title><![CDATA[New comment by localhostdotdev in "A New Way of Voting That Makes Zealotry Expensive"]]></title><description><![CDATA[
<p>there is a democracy index: <a href="https://en.wikipedia.org/wiki/Democracy_Index" rel="nofollow">https://en.wikipedia.org/wiki/Democracy_Index</a><p>there is something similar for voting systems but it isn't as elegant: <a href="https://en.wikipedia.org/wiki/Comparison_of_electoral_systems" rel="nofollow">https://en.wikipedia.org/wiki/Comparison_of_electoral_system...</a></p>
]]></description><pubDate>Fri, 03 May 2019 15:11:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=19819107</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19819107</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19819107</guid></item><item><title><![CDATA[New comment by localhostdotdev in "A New Way of Voting That Makes Zealotry Expensive"]]></title><description><![CDATA[
<p>> An intriguing new tool of democracy just had its first test in the real world of politics, and it passed with flying colors.<p>how can you even measure if a voting system is a success?</p>
]]></description><pubDate>Fri, 03 May 2019 14:25:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=19818716</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19818716</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19818716</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Common mistakes in PostgreSQL"]]></title><description><![CDATA[
<p>discussion on lobsters where I posted it recently: <a href="https://lobste.rs/s/m4f2ke/don_t_do_this" rel="nofollow">https://lobste.rs/s/m4f2ke/don_t_do_this</a></p>
]]></description><pubDate>Fri, 03 May 2019 12:22:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=19817736</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19817736</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19817736</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Bento – An Android UI Framework"]]></title><description><![CDATA[
<p>works fine for me™️ here is a copy: <a href="https://outline.com/jHJzzZ" rel="nofollow">https://outline.com/jHJzzZ</a></p>
]]></description><pubDate>Fri, 03 May 2019 00:43:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=19814450</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19814450</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19814450</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Newest coworking space costs just $2.25 an hour, because it is a parking spot"]]></title><description><![CDATA[
<p>the website: <a href="https://www.wepark.us" rel="nofollow">https://www.wepark.us</a><p>the original twitter thread (first test drive): <a href="https://twitter.com/VictorPontis/status/1121521771633500160" rel="nofollow">https://twitter.com/VictorPontis/status/1121521771633500160</a></p>
]]></description><pubDate>Wed, 01 May 2019 13:43:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=19796892</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19796892</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19796892</guid></item><item><title><![CDATA[New comment by localhostdotdev in "Newest coworking space costs just $2.25 an hour, because it is a parking spot"]]></title><description><![CDATA[
<p>exactly what I was thinking, e.g. "need a working space anywhere? just use the app and rent a one of our free spaces or share one"<p>I could definitely see VC money going into this, maybe even an existing company doing it.<p>the parking spots could have temporary structures to make it more like an office, have plugs, internet, etc.<p>then it could expand globally and it's no issue if it's outlawed in one city/country, just go to the next city/country.</p>
]]></description><pubDate>Wed, 01 May 2019 13:39:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=19796866</link><dc:creator>localhostdotdev</dc:creator><comments>https://news.ycombinator.com/item?id=19796866</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19796866</guid></item></channel></rss>