Better HN
topnewbestaskshowjobs
Log inSign up

panic

29,749 karma · joined Sep 16, 2009 (17y ago) · 3,593 submissions

Submissions

1801.

Seemingly impossible functional programs (2007)(math.andrej.com ↗)

1 points · by panic · 9y ago · discuss

comment 9y ago · link · parent

Here are a bunch of blogs from my RSS reader that I think are worth reading. Some of them haven't updated in a while, but the archives may be worth a look anyway.

* Blogs with a math focus:

http://blog.sigfpe.com

http://bit-player.org

http://mathr.co.uk/blog/

https://www.johndcook.com/blog/

* Blogs with a programming languages focus:

https://existentialtype.wordpress.com

https://bluishcoder.co.nz

http://blog.ezyang.com

http://akkartik.name

http://lambda-the-ultimate.org

http://mrale.ph

* Blogs with a UI design focus:

http://www.brandonwalkin.com/blog/

http://ignorethecode.net/blog/

http://interuserface.net

* Blogs with a graphics / 3D rendering focus:

http://c0de517e.blogspot.com

http://diaryofagraphicsprogrammer.blogspot.com

https://directtovideo.wordpress.com

http://graphicrants.blogspot.com

http://www.reedbeta.com

http://www.realtimerendering.com/blog/

https://blog.demofox.org

http://eelpi.gotdns.org/blog.wiki.html

* Other interesting / more general programming blogs (many of these have a "systems" focus):

http://danluu.com

http://ewontfix.com

http://chneukirchen.org/blog/

http://neverworkintheory.org

http://apenwarr.ca/log/

https://www.snellman.net/blog/

https://www.pvk.ca

http://psy-lob-saw.blogspot.com

https://randomascii.wordpress.com

http://fastcompression.blogspot.com

https://fgiesen.wordpress.com

http://blog.plover.com

http://chneukirchen.org/trivium/

http://rachelbythebay.com/w/

1803.

This Is How Your Fear and Outrage Are Being Sold for Profit(medium.com ↗)

3 points · by panic · 9y ago · discuss

comment 9y ago · link · parent

The first problem isn't really a problem, since ligatures are provided by fonts, not character encodings. From the Unicode FAQ on ligatures and digraphs (http://unicode.org/faq/ligature_digraph.html):

"The existing ligatures exist basically for compatibility and round-tripping with non-Unicode character sets. Their use is discouraged. No more will be encoded in any circumstances.

"Ligaturing is a behavior encoded in fonts: if a modern font is asked to display “h” followed by “r”, and the font has an “hr” ligature in it, it can display the ligature. Some fonts have no ligatures, some (especially for non-Latin scripts) have hundreds. It does not make sense to assign Unicode code points to all these font-specific possibilities."

The second problem still stands, though, especially since these sequences of characters can be tokenized differently in different programming languages. IMO, if you're going to have character replacement like this, it should be a configurable editor feature like syntax highlighting.

comment 9y ago · link · parent

If 20 million far right fundamentalist christians showed up at the Netherlands tomorrow, nobody would be able to throw them out, "closed borders" or not.

comment 9y ago · link · parent

It's worth remembering that before the 20th century, the US had more or less completely open borders. And we turned out OK, didn't we?

comment 9y ago · link · parent

musl libc also uses base-1000000000 bignums for float formatting: https://git.musl-libc.org/cgit/musl/tree/src/stdio/vfprintf....

comment 9y ago · link · parent

Yeah, the people doing the work usually know the most about how it should be done. Even without UBI, collective ownership is a strategy worth considering.

1809.

How Checkers Was Solved(theatlantic.com ↗)

158 points · by panic · 9y ago · 35 comments

comment 9y ago · link · parent

Would they even be considering this change without the pressure to increase graduation rates? Even if changing the requirements is the right thing to do, this seems like the wrong reason to do it.

1811.

One Draw Call UI(ourmachinery.com ↗)

3 points · by panic · 9y ago · discuss

1812.

What Happened to John Carmack After the Book Masters of Doom?(blog.habrador.com ↗)

4 points · by panic · 9y ago · 1 comment

comment 9y ago · link · parent

While people's life situation is always a factor, the drug makers ought to take some responsibility for lying about their drugs to make them seem safer. Purdue Pharma in particular: http://theweek.com/articles/541564/how-american-opiate-epide...

comment 9y ago · link · parent

At least by my reading, 0xFFC's comment wasn't particularly nationalistic. He or she wasn't putting Iran above other nations or expressing loyalty or devotion to the Iranian state (in fact by calling out "the regime" I'd say it was the opposite of that). I understand wanting to avoid flamewars, but I think you're putting the blame on the wrong person here.

1815.

Why electric cars are always green (and how they could get greener)(thecorrespondent.com ↗)

1 points · by panic · 9y ago · discuss

1816.

The language of choice(codewords.recurse.com ↗)

150 points · by panic · 9y ago · 9 comments

1817.

Science and the Compulsive Programmer (1976)(sac.edu ↗)

1 points · by panic · 9y ago · discuss

comment 9y ago · link · parent

I think it's natural for a site about American politics to be America-centric. Adding "American" everywhere would make the site read better to people outside the country, but it would weaken its message to the people it's trying to reach -- we love to believe that the entire internet revolves around America, as you can see in the other replies to your comment.

1819.

A Philosopher’s Take on Global Basic Income(knowitwall.com ↗)

2 points · by panic · 9y ago · discuss

comment 9y ago · link · parent

What I'm saying is that depends on the nature of the code that's being written. Many small improvements can be made with a simple code change that has clear meaning on its own -- a long approval process would just make these changes less likely to happen.

comment 9y ago · link · parent

I don't think this is an argument for requiring plans, though: you can always encourage them, but in the end it should be up to the person doing the design. Otherwise you end up with the absurdity of having to write a detailed plan and wait a month for approval just to change the positioning of a button slightly.

comment 9y ago · link · parent

Wow, that really is a terrible name -- especially now that "hash array mapped tries" are a popular implementation of persistent hash maps. I wonder if there's any way to justify changing the article name on Wikipedia.

1823.

Exotic Data Structures (2011)(concatenative.org ↗)

293 points · by panic · 9y ago · 24 comments

1824.

Virus, the Beauty of the Beast(viruspatterns.com ↗)

9 points · by panic · 9y ago · 1 comment

comment 9y ago · link · parent

> The browser can and should do the same with its CSS compositor. There's no reason why the CSS compositor should run on the main thread (and, in fact, no modern browser works this way).

You still have to swap buffers from your background thread and then composite the buffer instead of compositing the animating layer directly. It's a small advantage, but it is an advantage.

> If you're talking about CSS filters, there's no way that I know of in CSS to say "filter the stuff behind me" in the first place. You can only filter elements' contents.

https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-fi... (yes, it's an experimental property, but it's the one I was thinking about)

comment 9y ago · link · parent

> There is absolutely no reason why browsers have to use the native compositor for CSS. It's a bad fit, and browsers should stop doing it.

Here are a few:

- On some platforms, animations on native layers are applied every frame, even if the application that owns the layer is busy. This means fewer opportunities to drop frames.

- Sometimes web rendering engines are embedded in apps. Your app may want to draw web content that filters some other content that's behind it. This content may not be available to the browser engine (it may be in a separate process, for example). A native layer can apply this filter in the compositor process, where the content is available.

- Using the native compositor makes it easier to embed components (like video) that are provided by the system as native layers.

comment 9y ago · link · parent

An analysis of possible solutions: http://www.drawdown.org/solutions-summary-by-rank

comment 9y ago · link · parent

Music downloads are largely DRM-free these days, but piracy is still as low as ever. It really is just powerful media companies abusing their power to make a little more money.

1829.

Survey of Rounding Implementations in Go(cockroachlabs.com ↗)

1 points · by panic · 9y ago · discuss

1
606162
120