ii
ii on Hacker News
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.
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!
Posted by
ii on Friday June 06, 2014 @05:45PM
from the youtube.com dept.
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.
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.
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.
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.
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.
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.
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?
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.
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.
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!
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.
"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.
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.
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...
Posted by
ii on Thursday June 25, 2009 @07:18AM
from the latimes.com dept.
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.
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.
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.
> 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.
> 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.
I'd say it was a girl who moved closer to the dancing guys just after guy #3 showed up.
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.
I find Ruby + C combination the most enjoyable for non-web things.
But for web I prefer Python/Django.
>>> class ExitFunc:
... def __call__(self): __builtins__.exit()
... def __repr__(self): return "That's how!"
...
>>> exit = ExitFunc()
>>> exit
That's how!
>>> exit()
> The only way to then exit is Ctrl-D
Nope.
>>> __builtins__.exit()
Just to be even more pedantic, "orthogonal" means more than perpendicular.
It means at least:
1. having a zero inner product
2. (a square matrix) that is the inverse of its transpose
3. linear transformation that preserves angles
4. statistically independent
Interesting. A good example that illustrates why C is the top language is _why's shoes -- it's written mostly in C, but still belongs to Ruby-land.