Better HN
topnewbestaskshowjobs
Log inSign up

ii

526 karma · joined May 23, 2008 (18y ago) · 175 submissions

Submissions

comment 10y ago · link · parent

If I made a formula that is more generalized, patents still apply?

Here it is in complex numbers:

    p = (r1*cos(ph1 + th) + 1.0*I*r2*sin(ph2 + th))*
   (Abs(cos(m*th/4)/a)**n2 + Abs(sin(m*th/4)/b)**n3)**(-1/n1)
This can produce a number of interesting shapes that original Gielis transforms can't.

comment 12y ago · link · parent

To fold Julia fractal you only need to treat it like something simple and two-dimensional, project it onto a square grid, transform that grid, and then interpolate every cell using simple affine transformations.

EDIT: Removed unneeded emotional junk

EDIT 2: Affine transformations are just simple arithmetic operations between complex and dual numbers but nevertherless matrices are simpler!

3.

Wondlan Wireless Follow Focus(youtube.com ↗)

1 points · by ii · 12y ago · discuss

comment 12y ago · link · parent

When an average right-handed person points at something his hand has a very similar shape. Imaging a large screen with some kind of a presentation and you are explaining something to the public and pointing at some object on the screen. The shape of your hand in this moment is the most natural thing for a pointer, immediately understandable by anyone.

comment 12y ago · link · parent

All developers I know of, including myself, do have this unawareness of simple things, but I prefer to call it for what it is: simple human laziness.

comment 12y ago · link · parent

Flat is inevitable. Flat is practical. But, yeah, you can not make money on it yet, because you know people love what they used to look at. They don't like change.

Kazimir Malevich 100 years ago tried to tell the world about it but the world is slow.

comment 12y ago · link · parent

Sorry, I haven't read your reply and replied with almost the same thought. It is not hard to do and many developers already do this, Triple Town by Spry Fox is doing exactly that for example.

comment 12y ago · link · parent

Solution: make a game free with a small number of free levels and sell unlimited levels for a fee as a one-time in-app purchase.

comment 12y ago · link · parent

There still is a sane solution: make a game free with a small number of free levels and sell unlimited levels for a fee as a one-time in-app purchase.

comment 12y ago · link · parent

Is it really hard for anyone in 2014 to get the type of a card from the first 2 digits of a card number and add a field to an INSERT query?

comment 12y ago · link · parent

All that is needed is a standalone "interpreter" with a REPL that can do some basic OS tasks and a pretty good way of starting simple web servers. Yes, small web services that can interop with larger systems, nothing more.

comment 12y ago · link · parent

Can it be used to resurrect Aldus/Macromedia/Adobe FreeHand? I still can't use anything but it and I keep a windows VM on my Mac almost only for it.

comment 12y ago · link · parent

Our PM is really into crypto-currencies and when we talk about dogecoins it always makes me smile and feel better. I don't own any dogecoin yet but they surely make me healthier and more productive!

comment 12y ago · link · parent

We really need a monkey version of nodejs and node-webkit. Mozilla's engine looks more solid for universal use, there are more interesting features and experimentation. The only problem is that it's harder to embed in another software, but it looks that it is changing and I really hope it will change.

comment 12y ago · link · parent

"optimized for use in browsers" means that collection of C++ cross-platform libraries can segfault a production server simply because it was not enough tested in other environments.

comment 12y ago · link · parent

Chromium, Gecko and Webkit codebases are huge, they are hard to compile. They are optimised for use in the browsers and nothing else. They are not universal runtimes yet! I like that idea but please don't make it sound like chromium runtime is ready for everybody to use for their projects.

comment 12y ago · link · parent

You know you can't get in jail for twitter jokes in Russia, whatever they are. In fact you can do almost whatever you want here. I'm so tired of that negative image of Russia in the Western media...

18.

ZeniMax Media buys Id Software(latimes.com ↗)

1 points · by ii · 17y ago · discuss

comment 17y ago · link · parent

Oracle will kill MySQL, but the code behind it under the different name will kill Oracle sometime in the future. You can't fight the weather, working open source is unkillable.

comment 17y ago · link · parent

Most big companies I know just hire a right person who knows a few FSB generals and create their very own "defense" departments to solve these problems. They pay only salaries to people who know what to do. No bribes or "taxes" whatsoever.

comment 17y ago · link · parent

Criminal "protection" "taxes" were common 15 years ago and even then it was nothing like "20%" for everybody, it varied greatly from place to place and from business to business and depended on who you know and where are you from.

Small-to-medium businesses are free from anything like that by now AFAIK.

To conduct a "serious" business in most fields you still have to know the right people though, if you don't want it to be taken from you.

comment 17y ago · link · parent

> That was 6 years ago

Things have changed. Such encounters were very common 10 years ago, less so 6 years ago, there's nothing like this now, I think that the most of those OMON guys are either dead or in prison.

The level of corruption is still very high, but things are getting better. Slowly. Because those who care do something to change the status quo. The problems like those can't be solved quickly.

comment 17y ago · link · parent

> Evil, mean bastards every one.

I know few guys who are not like that and who actually fight crime. But they are overshadowed by overly corrupted minority (I know other guys among them who sell drugs for example).

Things in Russia are not that simple and you exaggerate the problems. In general, you just have to know the right people to conduct business there. C'est la vie.

comment 17y ago · link · parent

I'd say it was a girl who moved closer to the dancing guys just after guy #3 showed up.

comment 17y ago · link · parent

You can monkey-patch your interactive interpreter BTW:

  >>> type(exit).__repr__ = lambda self: exit()
It will exit then the way you want :)

Nobody do it for the sake of overall consistency. Yet you are free to change it with the one line of code.

comment 17y ago · link · parent

I find Ruby + C combination the most enjoyable for non-web things.

But for web I prefer Python/Django.

comment 17y ago · link · parent

  >>> class ExitFunc:
  ...   def __call__(self): __builtins__.exit()
  ...   def __repr__(self): return "That's how!"
  ...
  >>> exit = ExitFunc()
  >>> exit
  That's how!
  >>> exit()

comment 17y ago · link · parent

> The only way to then exit is Ctrl-D

Nope.

  >>> __builtins__.exit()
123456