HNHacker News
TopNewBestAskShowJobs

oozcitak

491 karma · joined June 25, 2009

You can reach me at: oozcitak at gmail dot com
submissionscomments
oozcitak··on Poll: When did you start programming?
Same here. I vividly remember entering type-in MLX programs[1] to the C64. I later learned C64 BASIC.

[1]: http://en.wikipedia.org/wiki/File:ComputesGazetteProgramPage...

oozcitak··on Bjoern: A screamingly fast Python WSGI server written in C.
He did 3 benchmarks: gunicorn with 1 worker process, gunicorn with 4 worker processes, bjoern.
oozcitak··on Introducing Word Lens
This is amazing and has great potential. Imagine word-lens for conferences: record the presentation -> translate the slides with Word Lens -> publish the translated slides live to the conference audience. There are hundreds of ways of making money from this technology, the iOS app should only be the beginning.
oozcitak··on Julio Diaz remembers being robbed
Here is the transcript from npr if you can't listen to the story:

http://www.npr.org/templates/transcript/transcript.php?story...

oozcitak··on Prof Gives Lecture to Prove He Knows Students Cheated; Over 200 Students Confess
It was the same in my university and every other university I know of. Previous exam questions are widely available for all popular courses.

It would be foolish to think otherwise. What's to stop a student to write down questions after taking an exam and pass on to his juniors? Since this cannot be prevented, the faculty must assume that all students have all previous questions as part of their study material.

Sometimes a professor knowingly reuses his old questions. In that case, the students should warn him: not for the professor, but for their own good. Because otherwise, they will be evaluated on less questions (since almost all students will answer old questions correctly whether they really know the subject or not).

The students made only one mistake here, and it was taking that course from this particular professor.

oozcitak··on Video: 15 story Ark Hotel built in 6 days in Shanghai
This should have took considerable time for designing and manufacturing the modular parts taking into account not only the final state of the building but also hundreds of construction stages. The parts should have been manufactured and factory assembled with extreme detailing and with very low tolerances so that the final on-site assembly required as little work as possible. Also, the logistics should have been planned with excruciating detail and with more workers and site equipment than normally required. I think the total time from design to construction took many months or even more than a year and it cost more than conventional construction. Not that I mean to undermine the effort; this is a marvelous feat of engineering and logistics.
oozcitak··on Need a name for your startup? I wrote a domain name generator in Node.JS
Great work, thank you. Can you list the availability of the original domain (example.com) as well?
oozcitak··on Rollover image on your website? That will be $80,000 (please)
Here: A method for aiding transportation by erect ambulation using lower appendages. You can not only sue most humans, but primates and meerkats as well.

Seriously, how on earth do such patents get granted? I fail to see the invention in this patent claim. Is the patent office confused by the obscure language?

oozcitak··on Announcing Backbone.js: Models, Collections and Views in 2.4kb
This is not specifically about Backbone. How do you provide content for web crawlers/searchbots with a client framework?
oozcitak··on C# Hidden Optimizations
I don't think that would work. How would the compiler know the type of x and the return type of the lambda expression?
oozcitak··on C# Hidden Optimizations
I would say expression trees is one of the less well-known and under-appreciated features of C# 3.0:

    Expression<Func<int, int>> e = (x) => x + 1;
    Func<int, int> f = e.Compile();
    int b = f.Invoke(42);
oozcitak··on What is a safest way to set all bits of a variable to true in C?
When converting a signed value to an unsigned value (and if the value cannot be represented with the unsigned type), the standard says: Add UINT_MAX + 1 until you get a valid unsigned value. Adding UINT_MAX + 1 to -1 gives you UINT_MAX.
oozcitak··on Caught Spying on Student, FBI Demands GPS Tracker Back
Is giving back the device the right thing to do in this circumstance? Shouldn't FBI produce proof of ownership of the device? What if sometime after FBI leaves, CIA shows up and says it was their device and they want it back?
oozcitak··on How Good C# Habits can Encourage Bad JavaScript Habits
I don't see why a person with a C# background would have any of these (2) "bad habbits". On the contrary, someone with some C# experience would do his best to avoid global variables, and one of the first things he would search for would probably be how to do namespacing with javascript. The new keyword may be an issue at the beginning but as soon as you do some JSON, you automatically get the correct way of declaring arrays and objects.
oozcitak··on Corrected "real world analysis of Google’s webp versus jpg"
Metadata is most certainly the case here. The breakdown of metadata for the original image (http://fc07.deviantart.net/fs21/f/2007/275/f/4/f4e91d2565442...):

  EXIF (APP1) -> 5328 bytes
  Photoshop IRB (APP13) -> 5896 bytes
  Adobe XMP (APP1) -> 26284 bytes
  Adobe (APP14) -> 12 bytes 
  Total -> 37520 bytes (36.6 kB)
That's 36 kB of metadata, leaving only 8 kB for compressed image data. This explains the banding seen in the English Hard post. The BMW image on the other hand (http://fc01.deviantart.net/fs51/f/2009/313/1/c/Jesus_Mobile_...):

  Photoshop Ducky (APP12) -> 15 bytes 
  Adobe (APP14) -> 12 bytes
  Total -> 27 bytes
The existence of the "Ducky" section means that the image was "saved for web" in Photoshop.

EDIT: Added numbers for the BMW image.

oozcitak··on Mysql "Swap Insanity"
The article states that the default NUMA policy is to allocate memory in the same node the thread is going to run on. Which is logical considering non-local memory access is more costly than local memory access. The problem appears when one process requests more memory than a single node can provide. Can the Linux kernel detect this usage and adjust accordingly?
oozcitak··on A killer adversary for quicksort (pdf)
This needs to be presented at Fun With Algorithms [1]. Also somewhat related is the bogosort algorithm [2] which was designed to be awfully slow (average case performance O(n * n!)).

[1] http://fun2010.dia.unisa.it/

[2] http://www.tcs.ifi.lmu.de/~gruberh/data/fun07-final.pdf (pdf)

oozcitak··on Why God Did Not Create the Universe
Your last paragraph nails it. God is an alias and hence doesn't need proving or disproving. There is this huge closet containing the questions we do not have answers for. Some people name this closet God; scientists call it "TODO". You can call it whatever you like, as long as:

1. You accept that questions can be removed from and (more frequently) new questions can be added to the closet.

2. You do not add a question we already have an answer for into the closet.

3. You do not remove a question from the closet unless you have an answer.

oozcitak··on India's red rain may contain life not seen on Earth
Occam's Razor?
oozcitak··on AutoCAD Coming to Mac (and iOS) for First Time in Nearly 20 Years
It will probably be something similar to Autodesk Design Review:

http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112&...

oozcitak··on Build What Had Previously Not Been Possible
From a European/Asian perspective. Example: Barcode scanner/price comparer iPhone app. Although we have many local price comparison services; there is no such app to read (most of) the barcodes where I live.

    > people from other places might feel excluded anyway.
I apologize for narrowing this down to Europe/Asia, this should apply everywhere at least a couple months behind US in adopting technology.
oozcitak··on Build What Had Previously Not Been Possible
Also worth considering: Build what is possible today in US but not in Europe/Asia. i.e. Watch what your fellow US entrepreneurs are working on and adopt it to your local.
oozcitak··on MongoDB 1.6 stable released
Unlikely IMO. Update-in-place is one major feature of MongoDB. If you need MVCC you may be better off using CouchDB or Riak.
oozcitak··on Schneier on UAE to Ban BlackBerrys
This is from the BES Security Technical Overview [1 p.30] [pdf]:

    Before the BlackBerry device sends a message, it 
    compresses and encrypts the message using the device 
    transport key. When the BlackBerry Enterprise Server 
    receives a message from the BlackBerry device, the 
    BlackBerry Dispatcher decrypts the message using the 
    device transport key, and then decompresses the message.
Doesn't that mean that BES has the plaintext?

[1] http://docs.blackberry.com/en/admin/deliverables/16650/Black...

oozcitak··on Schneier on UAE to Ban BlackBerrys
Related: In 2009, Etisalat prompted its UAE BlackBerry users to install a surveillance application disguised as a performance update[1]. The update resulted in crashes and lowered battery life resulting in RIM to issue its own update to remove it.

[1]: http://news.bbc.co.uk/2/hi/8161190.stm

oozcitak··on Rapportive (YC S10): 10% of your emails aren't from real people
Awesome work with company info. But instead of looking up the home page I feel it may be more relevant to look up the about pages. For example for orders@dynadot.com Rapportive tells me:

    > Extends your domain by one year. 
      Time remaining on your domain will be added. 
      *Except .eu and .be. 3GB of bandwidth and 30MB of space. 
      Applies to new domain registrations only.
which happens to be the current offer for domain transfers on the Dynadot home page. I would prefer to see some info from the about page[1] though:

    > Dynadot is an ICANN accredited domain name registrar and web host
      located in San Mateo, California...
[1]: http://www.dynadot.com/company/about.html
oozcitak··on Brilliance of Haskell's Maybe type and the Value of Static Type Checking
> Languages like Java, Ruby, and C# all make the mistake of allowing any type at all to hold null.

Just a little nitpicking here. In C# integral types cannot hold null unless explicitly declared nullable [1], ie.

    int x = null; // won't compile
    int? x = null; // compiles fine, shorthand for Nullable<int> x = null;
I wish this was the default behavior for reference types, too.

[1]: http://msdn.microsoft.com/en-us/library/1t3y8s4s(VS.80).aspx

oozcitak··on SQLite 3.7.0 Released
WAL is quite exciting indeed. And most of the items listed as disadvantages of WAL [1] are probably non-issues for most people; except maybe:

> 5. It is not possible to open read-only WAL databases. The opening process must have write privileges for "-shm" wal-index shared memory file associated with the database, if that file exists, or else write access on the directory containing the database file if the "-shm" file does not exist.

> 7. There is an additional quasi-persistent "-wal" file and "-shm" shared memory file associated with each database, which can make SQLite less appealing for use as an application file-format.

And in Backwards Compatibility [1]:

> To prevent older versions of SQLite from trying to recover a WAL-mode database (and making matters worse) the database file format version numbers (bytes 18 and 19 in the database header) are increased from 1 to 2 in WAL mode. Thus, if an older version of SQLite attempts to connect to an SQLite database that is operating in WAL mode, it will report an error along the lines of "file is encrypted or is not a database".

[1] http://www.sqlite.org/wal.html

oozcitak··on The Dangerous Art of the Right Question
This is why the author says that they are dangerous:

> The right questions set you up for real success or failure. You never know whether a clue leads down a bunny trail or to genuine insight.

oozcitak··on Pirate Bay Hack Exposes User Booty
From the comments:

> I idled on TPB irc channel for probably 5 hours before I pasted those usernames/md5′d passwords. I also checked the major rainbow tables and available Md5 decryptor sites to make sure they weren’t easily reversible, before pasting them. I just wanted to get someone’s attention. I was told several times that no one was in charge, and then some admin started taunting me, saying he couldn’t believe I was a journalist b/c I couldn’t put two words together.

← PreviousPage 2 of 3Next →