HNHacker News
TopNewBestAskShowJobs

Kristine1975

2,687 karma · joined October 2, 2015

submissionscomments
Kristine1975··on On the wikileak-ed emails from Tanden on Lessig
Wikileaks can only publish what they are given. If nobody gives them leaks on Putin, Sanders etc. they can't publish any.
Kristine1975··on A Study of 4chan’s Politically Incorrect Forum and its Effect on the Web
If you like Pepe you'll like this download with 1250 Pepes: https://mega.nz/#!mUEkUABB!hawhAN8hV-tZI_5khyNkYiBKfhuryoE0C... (via https://www.reddit.com/r/megalinks/comments/54umk3/memez_15k...)
Kristine1975··on A Study of 4chan’s Politically Incorrect Forum and its Effect on the Web
The visual novel (think "Choose your own adventure with graphics") Katawa Shoujo, while not made by anons, has its origins on 4chan: https://en.wikipedia.org/wiki/Katawa_Shoujo#Creation
Kristine1975··on LuaTeX 1.0.0
> I don't know enough about TeX to know much about its internal representation post-parsing.

IIRC it's a stream of tokens. A token can be a character, a built-in command, a macro etc. During processing of this token stream macros are "expanded", i.e. replaced with their definition (recursively). It is possible to control this expansion process using built-in commands.

Kristine1975··on Lesser-known C coding styles
Nice. At least if your compiler implements tail call optimization, otherwise sooner or later you'll get a stack overflow.
Kristine1975··on CouchDB 2.0
The first thing I think upon hearing CouchDB is "perform like a pr0n star"...
Kristine1975··on Mark Zuckerberg accused of abusing power after row over 'napalm girl' photo
Her name is Phan Thị Kim Phúc, and her Wikipedia article has a bit of information about her current health: https://en.wikipedia.org/wiki/Phan_Thi_Kim_Phuc

I doubt Facebook removed the picture because of hurt feelings though. I'd wager it's more that they have a "nudity is not allowed" policy, and they apply that policy without thinking for even one second. In other words: Zero tolerance.

Kristine1975··on How Quaternions encode rotations: derivation and sample code
>And quaternions are made of two complex numbers.

I don't pretend to grok quaternions (I only use them), but I'm fairly sure a quaternion consists of three imaginary numbers plus a real number.

Kristine1975··on FDA Orders Antibacterials Removed from Consumer Soaps
>Which suggests that the scrubbing actually liberates bacteria found at the margin of the stratum corneum.

Wouldn't that mean that after scrubbing the bacteria are no longer there?

Kristine1975··on The Relation of Toxoplasma Infection and Sexual Attraction to Fear, Danger, Pain
> and the idea of a cat parasite controlling or influencing my behavior (and the behavior of others) is both fascinating and frightening.

More frightening than the idea of a cat controlling or influencing your behavior (by being oh so adorable)? ;-)

Kristine1975··on My Letter to the Tor Project
>lynching

Last I heard Appelbaum is still alive, though?

Kristine1975··on A Conflict-Free Replicated JSON Datatype
LaTeX is also hierarchical, though. Some is explicit (environments) and some is implicit (\chapter, \section etc).
Kristine1975··on Snowden: Hack of an NSA server is not unprecedented, publication of the take is
What about http://pastebin.com or http://www.twitlonger.com (latter requires sign-in, though)?
Kristine1975··on The New Science of Morality (2010)
Have you tried a proxy? http://proxylist.hidemyass.com/ (pass as "--proxy <proxy>" to youtube-dl)
Kristine1975··on By 2030, 56 countries will have more people aged 65+ than children under 15
Title was changed to "More Old Than Young: A Demographic Shock Sweeps the Globe". Guess someone realized that calling old people a plague wasn't the best choice of words.
Kristine1975··on WikiLeaks offers $20,000 for information on former DNC staffer's murder
Indeed. You might be interested in this article about Wikileak's recent activities: https://theintercept.com/2016/08/06/accusing-wikileaks-bias-...
Kristine1975··on Classic Shell hacked with compromised update that erases your partition table
Twitter account of the hackers: https://twitter.com/CultOfRazer
Kristine1975··on Proceedings of ACM SIGGRAPH 2016 (Open Access for Limited Time)
Additional Siggraph 2016 content: http://www.siggraph.org/learn/conference-content
Kristine1975··on The Inner Json Effect
JDSL sounds like a capital idea, but obviously Subversion is much too slow, and Javascript/JSON is not enterprise-compatible. Someone should re-implement it using EJB's, XML and an Oracle backend to store the functions in.

P.S: Dear Eris, please let me never turn into Tom!

Kristine1975··on The Inner Json Effect
>which this article's title seems to be a reference to

The first mention of JDSL is a link to an article about it: http://thedailywtf.com/articles/The_Inner-Platform_Effect

Kristine1975··on Assange Timed WikiLeaks Release of Democratic Emails to Harm Hillary Clinton
Trump is pretty open about the bad things he wants to do, though. Although I'm still hoping he's just a loudmouth.

P.S: Not a Killary supporter (just making sure I'm not misunderstood ;-)

Kristine1975··on Assange Timed WikiLeaks Release of Democratic Emails to Harm Hillary Clinton
I'm not a Trump supporter.
Kristine1975··on Assange Timed WikiLeaks Release of Democratic Emails to Harm Hillary Clinton
"Putin did it", "Assange wants to harm HRC"... anything to avoid talking about the actual contents of the emails.
Kristine1975··on The tessellate polygon drawing algorithm
This one seems to do (did a test recently): http://www.geeksforgeeks.org/minimum-cost-polygon-triangulat... Uses O(n^3) time and O(n^2) space though, and only works for convex polygons.

It's also fairly easy to implement an algorithm that creates the exact same tesselation for a circle that Humus describes in his article:

  static unsigned int moduloToZero(unsigned int const a, unsigned int const b)
  {
    // If the vertex is outside the valid range start again at the beginning
    return a >= b ? 0 : a;
  }
  
  template <typename VerticesT>
  static void fillVertexRangeHelper(Mesh& inOutMesh, VerticesT const vertices)
  {
    unsigned int const  vertexCount = vertices.size();
    if (vertexCount >= 3)
    {
      unsigned int    stepSize = 2U;
      
      // C.f. http://www.humus.name/index.php?page=News&ID=228
      //
      // Create triangles from vertices 0-1-2, 2-3-4, 4-5-6, 6-7-8, 8-9-10, 10-11-12, 12-13-14, 14-15-16, ...
      // then from vertices 0-2-4, 4-6-8, 8-10-12, 12-14-16, ...
      // then from vertices 0-4-8, 8-12-16, ...
      // then from vertices 0-8-16, ...
      // until no more triangles can be created.
      // When the final vertex of a triangle is bigger than the number of vertices, use vertex 0 instead
      while (vertexCount >= stepSize)
      {
        for (unsigned int i = 0; i < vertexCount; i += stepSize)
        {
          // Check if there are at least three vertices left to create a triangle with (including vertex 0 in case of
          // wrap-around)
          unsigned int const  v0 = vertices[i];
          unsigned int const  v1 = vertices[moduloToZero(i + stepSize / 2U, vertexCount)];
          unsigned int const  v2 = vertices[moduloToZero(i + stepSize, vertexCount)];
          if (v0 != v1 && v0 != v2 && v1 != v2)
            makeTri(inOutMesh, v0, v1, v2);
        }
        
        stepSize *= 2U;
      }
    }
  }
"VerticesT" is an array of vertex numbers, e.g. an std::vector<unsigned int>. Just add a function "makeTri" that adds a single indexed triangle to the mesh, and you should be good to go.
Kristine1975··on Code behaving differently in C90, C99, C11, C++98, and C++11
And http://ioccc.org/2015/yang/spoiler.html contains a Javascript-based replay of the author writing the program. From an empty editor window to non-obfuscated code to the ASCII art face.
Kristine1975··on France orders Microsoft to stop tracking Windows 10 users
>They must disclose and inisist on the risks of a product.

By giving me a 50+ pages brochure. Just like EULA's hide the nasty stuff among huge amounts of text.

Sure it's better than nothing, but still far from perfect IMO.

Kristine1975··on Why I’m Suing the US Government
"Just" pass a law that makes these EULA's null and void.
Kristine1975··on Notorious Hacker ‘Phineas Fisher’ Says He Hacked the Turkish Government
Phineas Fisher has more information about the hack on his Twitter account: https://twitter.com/GammaGroupPR
Kristine1975··on Git for Windows accidentally creates NTFS alternate data streams
>It was originally just meant to handle localizable resources

Not quite. An application's executable code was also stored in the resource fork, as CODE resources (one or several, so parts of the code could be loaded and unloaded as needed; initially there was also a size limit of 64k per CODE resource).

When Apple switched to PPC, the PPC code was stored in the data fork and the 68k code in CODE resources.

Kristine1975··on How Japan came to believe in depression
Subtitles ;-)
← PreviousPage 2 of 26Next →