<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: glassx</title><link>https://news.ycombinator.com/user?id=glassx</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 10 Oct 2026 05:18:54 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=glassx" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by glassx in "Firefox 51.0"]]></title><description><![CDATA[
<p>Unreal Engine also does it right:<p><a href="https://www.unrealengine.com/blog/unreal-engine-4-14-released" rel="nofollow">https://www.unrealengine.com/blog/unreal-engine-4-14-release...</a></p>
]]></description><pubDate>Tue, 24 Jan 2017 21:13:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=13475520</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=13475520</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13475520</guid></item><item><title><![CDATA[New comment by glassx in "MacBook Pro"]]></title><description><![CDATA[
<p>Well, there are many kinds of "professionals".<p>Designers, photographers or people working with audio/video production don't really need touch-typing.<p>And those are arguably the kind of "Pro" users Apple is targeting, not coders.</p>
]]></description><pubDate>Thu, 27 Oct 2016 18:33:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=12807968</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=12807968</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=12807968</guid></item><item><title><![CDATA[New comment by glassx in "The “432 Hz vs. 440 Hz” conspiracy theory"]]></title><description><![CDATA[
<p>> in which case nylon strings would be a bit strange ;)<p>Not at all, there are nylon wrapped strings for electric now too! [1]<p>[1] <a href="http://www.daddario.com/DADProductFamily.Page?ActiveID=3768&familyid=20" rel="nofollow">http://www.daddario.com/DADProductFamily.Page?ActiveID=3768&...</a></p>
]]></description><pubDate>Mon, 24 Oct 2016 18:56:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=12781716</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=12781716</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=12781716</guid></item><item><title><![CDATA[New comment by glassx in "Probabilistic Programming"]]></title><description><![CDATA[
<p>It seems that their definition of "language" encompasses more than general-purpose PLs and includes DSLs, libraries and code-generators.<p>In their list there are libraries for Scala, .NET, Python, C, OCaml and Javascript.</p>
]]></description><pubDate>Sun, 23 Oct 2016 20:50:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=12775358</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=12775358</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=12775358</guid></item><item><title><![CDATA[Synth Pioneer Don Buchla Has Died at 79]]></title><description><![CDATA[
<p>Article URL: <a href="http://www.synthtopia.com/content/2016/09/16/don-buchla-has-died-at-79/">http://www.synthtopia.com/content/2016/09/16/don-buchla-has-died-at-79/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=12517952">https://news.ycombinator.com/item?id=12517952</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 16 Sep 2016 22:51:14 +0000</pubDate><link>http://www.synthtopia.com/content/2016/09/16/don-buchla-has-died-at-79/</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=12517952</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=12517952</guid></item><item><title><![CDATA[New comment by glassx in "The Web We Want"]]></title><description><![CDATA[
<p>> I think I have a better solution. How about keeping HTML/JS and lose the bidirectional protocols used to track you.<p>Is it that common for trackers to have Websocket/WebRTC as a requirement? Pretty much any trackers I see in the wild is using regular Ajax calls. And if you're a tracking service, it's not exactly hard to fallback to Ajax if Websockets aren't available...<p>EDIT: My mistake, I misread the first mention of HTTP as HTML.</p>
]]></description><pubDate>Fri, 10 Jun 2016 17:13:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=11877894</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=11877894</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11877894</guid></item><item><title><![CDATA[New comment by glassx in "Macbook charger teardown: surprising complexity inside Apple's power adapter"]]></title><description><![CDATA[
<p>Yeah, I already lost three chargers because of my cats. I ended up wrapping the cord with one of those "Cable Organizer" things (I don't know their real name), which also helps with strain relief.<p><a href="http://i.imgur.com/WCbGRZx.jpg" rel="nofollow">http://i.imgur.com/WCbGRZx.jpg</a><p>It looks terrible but at least it will last as long as the laptop.</p>
]]></description><pubDate>Wed, 25 Nov 2015 22:04:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=10630063</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=10630063</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10630063</guid></item><item><title><![CDATA[New comment by glassx in "Updates to Chrome platform support"]]></title><description><![CDATA[
<p>> In particular, Mac OS X don't even run well with only 4GB of RAM anymore<p>It actually runs great. I'm using a 2011 Air w/2GB (cheapest back then) and El Capitan and it's almost as fast as my 24GB Mac Pro.<p>I push it a bit with Logic Pro X + drum samples (for my V-Drums), but it handles that without complaints. But for web, videos and programming there isn't much of a difference.</p>
]]></description><pubDate>Tue, 10 Nov 2015 23:04:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=10543300</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=10543300</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10543300</guid></item><item><title><![CDATA[New comment by glassx in "The Guide to Cuba, a Ruby Micro Framework"]]></title><description><![CDATA[
<p>> I've re-implemented Rails functionality, poorly, way too many times.<p>It's been a looooong time since I last touched Rails, but I never really missed it when using Sinatra, mainly because of plugins/gems... I even wrote a few. (Currently I'm mostly using Go and C#, though).<p>Honest question, just so I know what I'm missing: what kind of functionality did you have to reimplement yourself?</p>
]]></description><pubDate>Sun, 01 Nov 2015 03:11:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=10485277</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=10485277</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10485277</guid></item><item><title><![CDATA[New comment by glassx in "C99 tricks"]]></title><description><![CDATA[
<p>I like Zed Shaw's Debug Macros. Actually his whole book is great.<p><a href="http://c.learncodethehardway.org/book/ex20.html" rel="nofollow">http://c.learncodethehardway.org/book/ex20.html</a></p>
]]></description><pubDate>Fri, 13 Feb 2015 19:58:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=9046821</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=9046821</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9046821</guid></item><item><title><![CDATA[New comment by glassx in "C99 tricks"]]></title><description><![CDATA[
<p>Another useful OpenGL macro, at least for me, is this one:<p><pre><code>    #define GLSL(str) (char*)"#version 330\n" #str
</code></pre>
It basically enables you to embed quick snippets of GLSL inside your C code, instead of using concatenated strings. Example:<p><pre><code>    char* fragShader = GLSL(
      in vec3 uv;
      out vec4 color;
      uniform sampler2DArray tex;
      void main()
      {
        // Comments work too
        color = texture(tex, uv);
      }
    );
</code></pre>
In Sublime Text you even get code completion and color highlighting, since GLSL and C look so alike.<p>I believe it might work for OpenCL Kernels too.<p>The only downside is that it doesn't add line breaks by itself (hence the "#version 330\n", which requires a line break), so GLSL Compilation errors aren't as useful.<p>(Source: <a href="https://open.gl/geometry" rel="nofollow">https://open.gl/geometry</a> )</p>
]]></description><pubDate>Fri, 13 Feb 2015 19:29:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=9046617</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=9046617</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9046617</guid></item><item><title><![CDATA[New comment by glassx in "C99 tricks"]]></title><description><![CDATA[
<p>I'm currently writing a game in C99.<p>Compilation times, no need for inheritance and the fact that most libraries I'm using are written in C were the reasons I chose C over C++ or something else.</p>
]]></description><pubDate>Fri, 13 Feb 2015 19:20:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=9046556</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=9046556</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9046556</guid></item><item><title><![CDATA[New comment by glassx in "Erik Meijer: Duality and the End of Reactive [video]"]]></title><description><![CDATA[
<p>When you say that he's mocking Microsoft engineers, is that because of the Visual Basic comments? Because Erik actually enjoys VB and was responsible for adding some features to it. He's a former employee, so there's context...<p>And I don't think he's being dismissive of reactive programming, he's dismissive of that definition, which is too broad. He was one of the main proponents of Reactive programming inside Microsoft.</p>
]]></description><pubDate>Fri, 13 Jun 2014 08:47:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=7887900</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=7887900</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7887900</guid></item><item><title><![CDATA[New comment by glassx in "How my school rejected an app made for students"]]></title><description><![CDATA[
<p>It's been a while since I last had to parse ASP.NET pages, but AFAIK, the viewstate isn't meant to be parsed by clients, you just have to re-send it during postbacks. It's more like a cookie, or Rails' authenticity_token [1].<p>[1] <a href="http://stackoverflow.com/questions/941594/understand-rails-authenticity-token" rel="nofollow">http://stackoverflow.com/questions/941594/understand-rails-a...</a><p>EDIT: Oh, ok. Re-reading the article, he was parsing the ViewState because there was some data hidden in there (a serious flaw actually), instead of scraping the site normally! Clever!</p>
]]></description><pubDate>Thu, 05 Jun 2014 04:09:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=7850171</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=7850171</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7850171</guid></item><item><title><![CDATA[New comment by glassx in "Tail Calls, Optimization, and ES6"]]></title><description><![CDATA[
<p>>> you don't need mutable local variables to track the state of the loop.<p>> Erm, that's not really true is it? Isn't the main way which TCO is done by introducing a counter/accumulator?<p>Yes, but accumulators aren't mutable. You're just passing something like acc*n or acc+1 to the tail call... acc is still the same.<p>Also, accumulators are not analogous to loop counters, they're more like the "sum" variable in this example (also mutable):<p><pre><code>   var list = [0,1,2,3];
   var sum = 0;
   for (var i = 0; i < list.length; i++)
     sum += list[i];
</code></pre>
> Anyway, if all you want is a safe loop construct, recursion isn't the only option.<p>I agree! The point of having TCO in a language isn't replacing every for/while loop with recursion. TCO is just an optimization. The right way (at least IMO and IME) is using better abstractions, like you mentioned. Recursion is just a way of easily building those abstractions, as are loops.<p>Btw, I probably write way more recursive functions in C than I do in Haskell, because in Haskell I have folds and catamorphisms.<p>I mean, the idiomatic way of summing those numbers as I did above in functional style is probably this:<p><pre><code>    [0,1,2,3].reduce(function(a,b){return a+b;}, 0);
</code></pre>
Or:<p><pre><code>    sum [0,1,2,3]
</code></pre>
in haskell ;)</p>
]]></description><pubDate>Sun, 25 May 2014 07:36:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=7795758</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=7795758</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7795758</guid></item><item><title><![CDATA[New comment by glassx in "Tail Calls, Optimization, and ES6"]]></title><description><![CDATA[
<p>By continuations I believe Jules means Continuation-passing style, a popular optimization/intermediate format in compilers:<p><a href="http://en.wikipedia.org/wiki/Continuation-passing_style" rel="nofollow">http://en.wikipedia.org/wiki/Continuation-passing_style</a></p>
]]></description><pubDate>Sun, 25 May 2014 07:00:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=7795706</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=7795706</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7795706</guid></item><item><title><![CDATA[New comment by glassx in "Tail Calls, Optimization, and ES6"]]></title><description><![CDATA[
<p>> A tail call is basically goto with arguments.<p>In the lowest level, yes, but you could say the same about regular function calls, return statements, and even loops and conditionals, break and continue, etc.<p>The main selling point of using recursion for looping, IMO, is immutability. As jacquesm said, you don't need mutable local variables to track the state of the loop.<p>And in the real world functional programming you rarely use recursion to replace a loop, you mostly use abstractions like map/reduce/etc along with lambdas, etc.</p>
]]></description><pubDate>Sat, 24 May 2014 21:10:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=7794422</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=7794422</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7794422</guid></item><item><title><![CDATA[New comment by glassx in "Programming Language Breakdown for the HealthCare.gov Website"]]></title><description><![CDATA[
<p>Yep. In the same Reddit thread, someone ran cloc on the Linux Kernel, and it even reported one ASP.NET file in there too (just like it did with the Healthcare.gov source):<p><a href="http://www.reddit.com/r/dataisbeautiful/comments/265yns/million_lines_of_code/chogad9" rel="nofollow">http://www.reddit.com/r/dataisbeautiful/comments/265yns/mill...</a></p>
]]></description><pubDate>Thu, 22 May 2014 20:00:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=7786099</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=7786099</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7786099</guid></item><item><title><![CDATA[New comment by glassx in "Only 90s Web Developers Remember This"]]></title><description><![CDATA[
<p>Does anyone else remember those amazingly epic flash sites? I even learned Flash 3 because of those... wow...<p>- <a href="http://www.thefwa.com/flash10/gabo.html" rel="nofollow">http://www.thefwa.com/flash10/gabo.html</a>
 - <a href="http://www.eye4u.com/home/" rel="nofollow">http://www.eye4u.com/home/</a><p>There are others (manoone) but I can't find archived copies.</p>
]]></description><pubDate>Wed, 26 Feb 2014 02:33:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=7302428</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=7302428</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7302428</guid></item><item><title><![CDATA[New comment by glassx in "Software in 2014"]]></title><description><![CDATA[
<p>There's an App Showcase on Xamarin's website: <a href="http://xamarin.com/apps" rel="nofollow">http://xamarin.com/apps</a><p>Out of those, I use Rdio daily and played Bastion a lot and they work great. I didn't know they were made with Mono until now.</p>
]]></description><pubDate>Thu, 09 Jan 2014 10:30:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=7029695</link><dc:creator>glassx</dc:creator><comments>https://news.ycombinator.com/item?id=7029695</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7029695</guid></item></channel></rss>