HNHacker News
TopNewBestAskShowJobs

Ingaz

209 karma · joined November 9, 2010

submissionscomments
Ingaz··on Apple fires Chinese supplier for using underage workers
>> What's the problem with underage workers? CO: They are underage.

>> As long as it's voluntary, the conditions are okay and the pay is fair, who does it hurt?

CO: They are underage. They can overestimate short-running goals over theirs long-running goals: better education, better health.

>>Should we work at fixing the root problems which drive children to work? Yes. Should we fire them and let them starve in the mean time?

As I understood, Apple doing exactly as you said. They are not just firing them, Apple guarantee their income wo work.

Can you propose the better way than Apple chose?

(excuse me for my Runglish)

Ingaz··on Deconstructing K&R C (2010)
>> One of the main attractions of K&R C is exactly its lack of verbosity, its extraordinarily high content-to-length ratio. In a very short space you learn to do a lot of sophisticated programming, and most if not all code examples fit on one page or less.

Funny.

The same goes for "Programming Erlang" by Armstrong.

On contrary: "Erlang and OTP in Action" is quite boring (in comparison with book by Armstrong). Definitely it's not a book for "enlightment" but for practice, sometimes dull: "Do it in such way, you don't need understand why, you'll get accustomed to it in future"

Ingaz··on Facebook, Google, Zynga Ask Courts To Reject Patents On Abstract Ideas
More significant: MapReduce.
Ingaz··on Windows 8 — Disappointing Usability for Both Novice and Power Users
Autohotkey is great, but I think it's overkill for remapping a CapsLock.

SharpKeys (if you're lazy) or registry hack (if you "smart"): https://sites.google.com/site/steveyegge2/effective-emacs are enough.

Ingaz··on Internal FBI risk assessment of Bitcoin network [pdf]
I am Russian. Years ago I had strange experience: my friend invited me as unofficial expert.

I was amazed: the guys whom I talked were "right guys". One of them told me: "From the call log I can tell more than a guy think himself" (Excuse me for bad English) M

Ingaz··on CodernityDB — pure Python, NoSQL, fast database
I'm an architect in my firm and I'm tired of: a) .NET-ters who will use something only if it is .NET or at least Microsoft b) Javers who think that everything non-java is universal evil.

(We have 45% of .NET-ters, 35% of javers, 20% : devDBAs, Js-ers, others)

My propaganda is always: "Be programmers, mazafakerz!" And python is excellent tool for explaining ideas between this groups. Javer will not be offended if I show him .NET-code and otherwise.

For them python is "executable pseudo-code".

It will be sad for me if pythonistas became a caste like .NET, Java ... and Haskel (they are not a caste but have all possibilities to became one)

Ingaz··on Quantum entanglement shows that reality can't be local
Correct if I'm wrong, but I think that Many Worlds Interpetation does not explain a thing. It's like religion - one can think it's possible, other - impossible. But it can't be proved or disproved
Ingaz··on Put Alan Turing on the next £10 note
Funny.

Imagine banknotes with Jack the Ripper, Batman, Terminator and others

Ingaz··on Python Development on Linux and Why You Should Too
Very strange. It completely contradicts with my experience. Almost everything that easy to do in Linux is someway distorted or missing completely in Windows.

Basic things: apache, nginx, supervisord - underpowered or completely missing. Ipython is my favorite shell in Windows, but in Linux it works better (just because console is better in Linux).

Have you tried to run Django under IIS? I assure you - it's pain.

Ingaz··on How Hacker News Completely Changed My Life
Is it really so?

In Moscow a humorous proverb exists: "There is no life outside MKAD(http://en.wikipedia.org/wiki/Moscow_Ring_Road)

When I read PG (and others) about "there is no opportunity for [startups ... interesting productive life] except SF" - I think it's the same. Not true

Ingaz··on Steve Yegge: Notes from the Mystery Machine Bus
"Architect" is highly overloaded term.

The only definition I personally find plausible is by Jonathan Alexander ("Codermetrics")

"Architects

Coders designated as “architects” are usually the more experienced members of the team. Their assignments may differ from other coders, with a higher percentage of complex tasks, including design tasks. They may also be expected to spend more time guiding and assisting other team members, to ensure that the software is well-designed and high-quality."

I think that I am architect-type programmer. I'm doing a lot of exploratory work but I'm not "sitting weeks without writing any code" - I'm writing prototypes. In my company the worst crap is born by our "thinkers". It is also well-specified crap.

Ingaz··on Iranian nuclear program hacked, made to play AC/DC
We do not know the real impact of stuxnet.

I can believe that some government idiots after looking Matrix sponsored "cyberwar".

I can believe that some smart guys really tried to write a first "cyberweapon".

I can believe that iranian intelligence service gladly playing this game.

I can't believe that a country with a lot of people with high education can have a problem with a worm.

Windows or not Windows - it does not matters. Sane persone can't overlook some strange process in OS.

Rootkits? Do you think that this kind of servers frequently rebooting?

And now it even plays AC/DC for "stupid iranians"!

Even lamerz can do nuclear physics! Process explorer for true genuises!

Ingaz··on Joe Armstrong: Why OO Sucks
>>But I do not think it's very useful to say that Erlang is object oriented, since it will confuse a lot of people

I find it useful to instill this kind of confusion in people around me.

"You talk about encapsulation? Look at erlang"

"Polymorphism? Haskel"

"OOP? Javascript, CLOS"

"Static/dynamic typing? Look here - your java code is in fact dynamic, if you're really want to taste real static - look at ML-family or something near"

Ingaz··on Ask HN: ETL - packaged tools or roll your own?
Use both.

"Execute OS command" task is the most powerful component in all ETLs. And every ETL-tool must have command-line utility to run it from scripts.

We have:

  a) ETL-packages that only coordinating a lot of small scripts

  b) And scripts that starts a lot of ETL-packages
Ingaz··on The trouble with Checked Exceptions (C# architect)
>> and (the worst case) basic control flow. I call it "java-way goto"

I can't agree about Class.objects.get - method must return exactly one row by known pk value.

So it perfectly sane to raise exception for zero rows.

Class.objects.filter is working the way you want.

Ingaz··on Rich Hickey: Reducers - A Library And Model For Collection Processing
I applaude your attempt to say that SQL is "real world FP".

But you made your claim too big.

SQL (even with recursive CTE) is still just a DSL for relational data. Even more: DSL for relational data only.

Ingaz··on Best Ultrabook for Linux?
I use 1215b with E450 and I can agree that it's a good product.

I'm also using 6Gb RAM in it, but I don't understand purpose to put SSD in such book.

If you put SSD in 1215b - price becomes comparable with ASUS UX21E. "True" ultrabook.

Ingaz··on A Guide to Python's Magic Methods
I like underscores for all magic methods.

And I think you're right about __init__ - constructors are not magic.

But in fact, I like "word" __init__ even more outside of python.

I use it to name directories for all new, incoming, uncategorized stuff.

For example: I have "music" with subdirectories named by artist, and I have __init__ where I put all artists I found recently. Same for "books", "docs", "work", etc.

I like it because "__init__" is always on top. Compare it with "new", "incoming", "now", "unclassified".

Ingaz··on Stop writing classes...
>> true encapsulation as he originally envisioned it

I suppose that "true" objects are Erlang processes. (I'm only partly joking)

OOP gone wrong when it became structs with methods.

Ingaz··on Stop writing classes...
The best "singleton" for me is python module. Import is the constructor of singleton. Python itself controls single initialization of object.
Ingaz··on Paul Graham Keynote at PyCon
>6. bring back the old moore’s law

I'm not an expert in this field by any means, but I think this idea is not so "frightening".

There was rumors in 2006 that AMD tried to develop "Reverse Hyperthreading". No official notes though.

Edit: Intel Anaphase: http://newsroom.intel.com/docs/DOC-1111

http://dl.acm.org/citation.cfm?id=1555754.1555813&coll=A...

Ingaz··on You Will Never Kill Piracy, and Piracy Will Never Kill You
>>It still hasn't sunk into the music industry Last.fm

It's not future of music industry - it's reality.

Most of new artists I'm interested in - available "free". Some of them - also listeners like me. Keef Baker, SE.

"Free" - in Russia it costs 5$/month.

It must be 0$ in US and Germany.

Ingaz··on ORM is an anti-pattern
>>you do sacrifice some performance You sacrifice not only performance. You sacrifice power over data.

ORMs - OK if CRUDs are your '90% uses cases'. ORMs - fail if you need something slightly more complicated.

Ingaz··on Clojure vs Scala - Anecdote
I think that 1.7x size reduction - is well enough.

Also I think that 5-7x is also valid numbers. But this reductions came from YAGNI, which is more idiomatic for python than java.

Ingaz··on Django 1.3 released
I really want downvote you.

Excuse me for arrogance, but it's not their fault that Django (or Pylons or Flask) can't work on Python 3.

Look at http://flask.pocoo.org/docs/foreword/

"Because of that we strongly recommend against using Python 3 for web development of any kind and wait until the WSGI situation is resolved. You will find a couple of frameworks and web libraries on PyPI that claim Python 3 support, but this support is based on the broken WSGI implementation provided by Python 3.0 and 3.1 which will most likely change in the near future.

Werkzeug and Flask will be ported to Python 3 as soon as a solution for WSGI is found, and we will provide helpful tips how to upgrade existing applications to Python 3. Until then, we strongly recommend using Python 2.6 and 2.7 with activated Python 3 warnings during development, as well as the Unicode literals __future__ feature."

Ingaz··on Unholy: _why's Ruby to Python compiler
Class methods are not so useful in python as in java and C#.

I think that classmethods was added only for java/C# folks.

In fact it's always better just to combine defs in module and use it as module.method.

I like the approach in Scala with "objects" (Scala-singletones).

About "self": I don't understand you. Can you show me a language with optional (not forced) OOP, that lets you bloody patch objects and classes that deals with this problem in better way?

Ingaz··on I finally understand why I'm not allowed to use Lisp
Hugunin made his farewell to Microsoft.

http://hugunin.net/microsoft_farewell.html

Ingaz··on Is Scheme Faster than C?
I'm not so enlightened as Anton. I think that closures are closures and objects are just syntax sugar over closures
Ingaz··on Ask HN: what's up with HN and Lisp?
I think of Lisp not as a concrete programming language as but essence of programming itself.

I think that main feature of Lisp - Lisp is "syntaxless". And I mean not CL or Scheme or Clojure. I mean some "abstract Lisp"

But syntax sugar is not so bad in itself - you can treat python and javascript as versions of "infix scheme", you can treat java as horrible lisp-macros library, you can treat Perl as especially horrible Lisp with some funny inclusions.

I think that Lisp is a start of the road, not the end

Ingaz··on Ask HN: How much time a week do you spend managing your FB pages?
I just do not have time and interest. I have Livejournal account but I wrote in it several years ago.

HN and one anonimous forum - is all I can do.

← PreviousPage 4 of 7Next →