Better HN
topnewbestaskshowjobs
Log inSign up

devnonymous

2,757 karma · joined Dec 2, 2013 (12y ago) · 829 submissions

Just your run of the mill anonymous developer named Steve. github, can ? https://github.com/lonetwin
Submissions

comment 11y ago · link · parent

It's nice to automate stuff. Since you use vim, here's a different approach to the same problem -- use a vim skeleton file -- http://vim.wikia.com/wiki/Use_eval_to_create_dynamic_templat...

comment 11y ago · link · parent

Reminds me of Alan Downey's Green Tea Press effort:

http://greenteapress.com/wp/

http://greenteapress.com/manifesto.html

http://greenteapress.com/easy.html

http://greenteapress.com/free_books.html

693.

The patent office of India tries (again) to make software patentable in India(economictimes.indiatimes.com ↗)

1 points · by devnonymous · 11y ago · discuss

comment 11y ago · link · parent

Sure looks interesting. It seems like a good idea for specific use cases, like for instance backup storage. The SQLite usage for the inode table is a neat hack. Implementation details here: http://www.rath.org/s3ql-docs/impl_details.html

comment 11y ago · link · parent

As a sysadmin in a prior life, I see this as the equivalent of a non-developer (for instance, a sysadmin) asking can I create a site scraper using google, curl/sed/awk/..bash, copy/paste and a little bit of of brain between my ears ? Yes. As a developer you know there is a lot my subtlety to programming than that.

I think what @scurvy was driving at is there is a lot more subtlety to network ops than developers would be willing to acknowledge.

comment 11y ago · link · parent

  > If you like books for the"feel", you are missing the point of reading. 
Heh, you made me smile :-) ..like a big wide grin. I'm missing the ^point^ of reading ?? Because, I like to hold the book as I read it ? Seriously ?

Nobody told me there was a point to it, I always thought reading is its own joy. To feel the flavor of the words and to hear the rhythm of the sentence was supposed to be point, if there was one.

The 'feel' of flipping pages is just a nostalgia worth holding onto, for me. Especially so when the words are actually typeset in a manner where page breaks provide transition. You know what else I like besides holding the book and flipping the pages ? I like bookmarks. I enjoy placing them and taking the time to pause, to enjoy. I like the smell of fresh print. I like leather bound, hardcover and paperback in that order. Is all of that missing the point of reading as well ? Am I not a ^serious reader^ because I cling to the physical manifestation ? Poor me, the amateur reader.

comment 11y ago · link · parent

You could easily put dozens or even hundreds of digital book on your iPad ...but do you really read them ? Personally, I have completed reading more dead-tree books than ebooks. I don't really know why, maybe it's just the habit and the 'feel' of actually 'moving' through the book. I used to be a huge proponent of ebooks and I still maintain a digital copy, if possible, of all the dead-tree books I own and have read but I now prefer doing my 'primary' serious reading on dead-tree.

698.

I am shutting down my bookstore in New Delhi(dailyo.in ↗)

166 points · by devnonymous · 11y ago · 123 comments

comment 11y ago · link · parent

According to the only comment (currently) on the original blog post, the code part is not that of a boeing 777: http://blog-peuravion.fr/2015/07/a-t-on-retrouve-les-premier...

comment 11y ago · link · parent

To add to that

5. Github as a commercial entity is pretty unlikely to abuse their (indeed worrying, but not scary yet) ability to censor unless some suits decide that they are big enough to not worry about the very community that made them big (IOW, I won't worry until they do a reddit).

comment 11y ago · link · parent

My advice would be to start small. Don't quit your day job but spend some time learning more and if you feel you are ready, try getting some one off / part time gigs to apply your knowledge in a real world setting if possible. If you can afford to offer your part time efforts for free, I'd recommend volunteering to open source projects.[1] These days most popular oss projects have no trouble finding development contributions but sysadmin / infrastructure help is hard to find. Once you have done some real world work and made contacts, switching carreers should not be hard. Hang in there and keep working at what you feel you should do. I personally know a number of people who have switched carreers successfully. Don't despair.

[1] For instance: https://fedoraproject.org/wiki/Infrastructure

comment 11y ago · link · parent

Of interest to the HN crowd -- When APJ Kalam was president he advocated for the use of Open Source Software[1]. He was one the very few intellectual leaders India has seen.

[1] http://www.cnet.com/news/india-leader-advocates-open-source/

comment 11y ago · link · parent

...and it's not just databases. OS capabilities (eg: vm tuning, bumping up the default sysctl limits, etc) are ignored and the problems arising of such disregard are then dealt with by adding layers to the application like distributed caches and other ^scaling^ solutions.

comment 11y ago · link · parent

While the warning appears to be well intentioned and the paranoia understandable to me, I didn't quite understand this bit:

  > Lastly, it’s well known that AWS utilises and hosts a wide range of open
  > source code which could include viral OSS licences that might further
  > extend the reach of the IP non-assert in unforeseen and unpredictable ways.
Could someone who understood explain this ? Is that last bit just FUD ? If it is, then is the entire article FUD ?

comment 11y ago · link · parent

I'm just going to leave this here:

https://gist.github.com/lonetwin/9636897

comment 11y ago · link · parent

I didn't mean to contrast coerced or mandatory labor against working for the love of it.

Far from it. I wanted to highlight the fact that certain things that we do require a certain level of skill acquired over time via practice and persistence. These have value (for others) and will be traded (in return for value) and that's what comes to be known as work.

Replace sherpa with doctor if you may and Mt. Everest with heart surgery. Yeah, I could possibly find some talented medical practitioners who study the human body for the love of it (that's how the field of medicine was born to begin with). However, if I needed a heart surgery, what would be (a) my motive to go with one specific individual among them and (b) their motive to operate on me ?

Yeah, open source exists. So does indie music, underground/unpublished books/comics, art, etc etc but the argument I was making is that the product of all of these (ie: knowledge of medicine, software, music, art..etc etc) also holds 'value' to those who are not skilled at these and this value will be traded and that does become work -- 'the doing what you love doing and getting paid for it' type of work. At the end of the day, I will differentiate between 2 cooks who indulge in cooking for the love of it and offer some sort of 'trade-in' so that the better one prepares food for me, in return for something that I love doing (although maybe, possibly, not as well as a peer).

You see what I am getting at ? Work is a consequence of acquiring something (a.k.a skill) not the reason behind acquisition of something (money/relaxation/lifestyle...blah blah).

comment 11y ago · link · parent

I find these sort of arguments very naive. They limit the definition of ^work^ and then discard it as being unnecessary. Let me give you an example of work that would still exist in the narrowly utopian no-need-to-work world -- No, I don't mean the type that might eventually be taken over by machines, like picking up the garbage, cleaning your apartments, farming and making sure all the machines that pick up the garbage, clean your apartments and farm are still working.

No, let's assume we get there as well and everybody is free to choose whatever the hell they want to do with all their free time -- that kind of world. Assume that you wake up in that kind of a world and decide that today you will climb Mt. Everest, because well, you know, you can !

So you train virtually, buy all the needed supplies and get them delivered to your house with no human intervention automatically, book your flights, get on a plane that flies itself and land at the base camp. Now what ? well you have to find a sherpa and hire him ...why ? because you just can't do something for the first time all by yourself even if you have all the tech in the world. Work (although not as we normally define it) is simply another way to say 'having experience with a certain skill for a sufficiently long amount of time and doing it at a sufficiently reasonable level of proficiency that it is of value others that do not have the experience'.

The sherpa example is just for making a point but even if we limit the discussion of machines doing all 'work' -- who will build the machines that build the machines ? who will look after the machines that look after the machines ? who will teach those who build and look after the machines ? ...and why would any of these people to do any of these things that obviously don't come naturally but require time, patience and perhaps some skill to master ?

708.

Why ‘Don’t Worry About Money, Just Travel’ Is the Worst Advice of All Time(time.com ↗)

2 points · by devnonymous · 11y ago · discuss

comment 11y ago · link · parent

Just in case, like me, you're on a smartphone and wondering what this is about, slide around the player...

comment 11y ago · link · parent

Not bug tracking, but I've use a combination of todo lists and 'life logging' software (there are tons of apps available).

I used to be a compulsive todo list maker but overtime I'm moved into a workflow that uses todo lists only for tasks that absolutely need to be done on the one hand (ie: calendaring stuff), and recording tasks that I really ought to be doing or doing more of, on the other hand. (tools: Gtasks[1] and aTimeTracker[2]).

I've realized that, for me, to ^fix bugs^ in my lifestyle, the goal setting type of approach (which would fall in-line with the bug-tracking, todo, GTG ...etc) does not work as well as recording an action when I do something about it and then looking at that record as a motivation to do better.

Maybe not what you were asking for but thought I'd pitch in since I've had this question before mysel.

[1] https://play.google.com/store/apps/details?id=org.dayup.gtas... [2] https://play.google.com/store/apps/details?id=com.aloggers.a...

comment 11y ago · link · parent

Nice, but I am assuming the author did not know about fortune[1] ?

[1] https://en.wikipedia.org/wiki/Fortune_%28Unix%29

comment 11y ago · link · parent

One of the more sensible ^rants^ I've read against systemd (it is KISS for some weirdly convoluted definition of KISS). Too bad these naysayers are not/will not be taken seriously.

713.

Indian techie gets legal threats for exposing js scipt injection by mobile ISP(thewire.in ↗)

14 points · by devnonymous · 11y ago · discuss

comment 11y ago · link · parent

Umm, it is pseudoscience inasmuch no real study has been conducted (it isn't 'exciting' enough ...yet). So, yeah this is anecdotal but that doesn't make it false. A number of people I know have been through the vipasanna course and express the same sentiment. I wonder why it is popular now to expect ^someone^ to do the research and present ^evidence^ before they can even begin to become curious about something.

Does scientific curiosity these days hinge on someone else having done the tests ?

Does it automatically qualify as hogwash because there isn't and evidence yet ? or because we have a tendency to doubt things not deeply rooted in numbers and double blind tests, /even if/ the reason for that is a simple -- nobody has bothered to do this yet.

comment 11y ago · link · parent

This is pretty neat. I've not taken a close look at the implementation but I'll definitely do that (if it isn't a whole lot of effort could you please describe/document the design and approach taken ?)

I've had thoughts about solving this problem previously but never acted on it. My thoughts on this however were along the lines of providing the ability to re-define the keywords and builtins as part of the interpreter itself in such a way that even the prompt could accept non-english input.

Thinking about this is natural when one is Indian[1] and ends up working with some really talented people who have weak English skills simply because their primary education was conducted entirely in a non-English medium.

A lot of words used to express programming ideas are difficult for non-native English speakers to remember even if the ideas themselves are not (think abstraction, encapsulation, introspection, reentrant, idempotent ...etc) and the effort required to remember and use them correctly when communicating with other devs is higher (IMHO) for non-native English developers. Of course this is non an India specific issue, and of course English is the lingua franca of technology but that shouldn't be the barrier to entry for learning programming.

kudos on the effort once again !

[1] one country, and a multitude (22 according to http://en.wikipedia.org/wiki/List_of_languages_by_number_of_... ) of 'official languages'

comment 11y ago · link · parent

Thanks for the comment @RMarcus.

  > I'd be interested to know what kind of policies there were to control the
  > cache size (will it just expand to fill up Redis / memcached?), as well as
  > how cache TTL is handled.
Currently, there are no policies. Yes, the cache size will expand to as much data you put into it (without expiring). The nice thing about the way I wrote this is that any options passed to the decorator that are not handled by supycache itself are handed over to the `backend` (ie: your memcached or redis connection object), so that is one way to pass on configuribles to the backend.

  > Being able to determine which parameters "matter" is an interesting feature.
  > It doesn't immediately seem useful (if the value of the parameter won't
  > change the return value of a function, why does it matter?).
So, the thing is that it is not the 'parameter' that 'matters' it is the value of the parameter that makes this interesting. Actually, this use case came out of necessity -- I felt the need to add an `lru_cache` for a method that operated on some parameters but instead of caching the return value to a key created by the hash of all the parameters, I needed to create a new key on just one parameter (actually, one attribute of one parameter -- kinda similar to the ^user^ object example in the readme).

  > It'd be interesting to see some kind of dynamic support for the keys. For
  > example, having a cached value for if parameter `a` is larger than parameter
  > `b`, or for if the first argument of a function is "None".
Sorry, the docs have not been clear about it but the 'cache_key' can also be a callable which is only called at run_time (with the args/kwargs) passed to the decorated function. That'll allow you to define your own cache-key-creation rule ! I'll update the docs to mention this.

Thanks for your comments ! Glad you like it.

717.

Show HN: Supycache – Simple yet capable caching decorator for Python(github.com ↗)

5 points · by devnonymous · 11y ago · 2 comments

718.

India’s Snapdeal Says the Country Doesn’t Have the Programmers It Needs(blogs.wsj.com ↗)

26 points · by devnonymous · 11y ago · 42 comments

comment 11y ago · link · parent

B. B. King was not only the the king of the blues but was know to be a great person as well. His story is inspiring for everyone (not just (blues) musicians). He never blamed his background for any faults he might've had rather he channeled it to create the unique 'value' of his music -- or more correctly, his 'brand' of music. Maybe I'm just muttering nonsense ...he had a profound impact on not just my music sensibilities but on a lot of aspects in life.

Just take a look at each of these and it'll draw you a picture of the king: http://www.brainyquote.com/quotes/authors/b/b_b_king.html

1
232425
28