2,757 karma · joined Dec 2, 2013 (12y ago) · 829 submissions
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
This Looks really nice and it does seem like it adds a lot to IPython. That said, I personally prefer working in a proper editor (rather than an approximation) when doing multi-line editing of commands on the prompt. So I wrote a small function to just invoke the editor with the lines in the current prompt 'buffer'[1]. This gives all the things like autocomplete and syntax-highlighting for free (albeit, when you are in the editor). Further more you may open up other buffers to refer to other code while editing the thing that you are on your prompt.
To see what I mean -- https://gist.github.com/lonetwin/5902720
Furthermore, what I wrote is a small enough file to copy as a .pythonrc (rather than pip install ...).
[1] ...and then I added more ...a lot more.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
> I went back for a technical master’s degree but shied away from pure
> Computer Science because I was afraid. Afraid I couldn’t compete with
> people who’d been coding since they were 12, who majored in CS at college
> the first time around, who were wizards.
and
> I didn’t realize that intense difficulty is normal in CS. No one told me
> that *everyone goes through it*...
IMHO, programming is for everyone -- with the caveat that the person needs to be willing to work at it even if they just want learn it; as opposed to some other skills where one has to work hard only when one wants to master it although learning the basics is relatively simpler, eg: mathematics or playing an instrument.comment 12y ago · link · parent
> Unlike USA, India has not yet figured out how to build proper usable roads,
> the cities are not planned and India does not have a proper addressing
> system. Government regulations have further made life difficult for courier
> companies. All this has resulted into cities and towns where traveling over
> few kms is very expensive and time consuming as a result small shops
> catering to need of local communities have sprung up like mushrooms.
...but like almost any other success story in India, flipkart has become a recognizable brand despite this !! ...isn't that reason enough to undestand why the investors feel like this is going to be worth it ?790.
Knock – the urgency of a call with the convenience of a text(knock.dexetra.com ↗)
1 points · by devnonymous · 12y ago · discuss
comment 12y ago · link · parent
The number of places and the absurdity of the manner in which you can get killed, hurt, jailed, or have your entire life irrecoverably change is just frightening.
Now, I don't intend to be Anti-American, I already accepted that there is a possibility that this sort of thing gets reported more for the US. Also, I know that one can claim that I am generalizing and this doesn't happen all the time, all over the place.
However, I've read so many news reports[1] of simple things like frivolous lawsuits that completely damage a persons life to completely avoidable instances of serious life altering events like this news story which makes me wonder why would a professional making a decent living (like say a software engineer) would want to move to America. I personally, am not too inclined.
[1] I have often thought about creating a site that aggregates such horror stories to serve as a warning -- a mirror, lets say ...or if you really want me to spell it out -- a reminder, that, 'No, American is not the greatest country in the world'. Before you decide to downvote and retort, read the article (again) and empathize with me, if you can, how this sort of thing would invoke such a reaction.
comment 12y ago · link · parent
comment 12y ago · link · parent
Basically, unplug and live in reality for a while. Don't think about tech. It's easy to do and quite gratifying to be honest.
I think a lot of people in the tech industry live in the mistaken belief that technology and technological pursuits are is some way more 'creative' and 'intellectually stimulating' than anything else out there and feel compelled to surround themselves and live in this bubble consisting of other geeks as themselves. This obviously is not true.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
Mailing lists tend to be better than sites for this sort of thing because people who reply there are possibly putting in more thought into their replies and secondly, replies might lead to a discussion that'll make evident the tradeoffs you'll make going with one choice over the other (and there will always be tradeoffs). The thing that mailing lists lack when compared to StackOverflow is the rating mechanism and the ability to easily search/find answers to commonly asked questions.
Edit: Saw iKlsR's answer after I typed this out. I'd assume the stackxchange site he suggested would work better (assuming it has a large enough active audience).
comment 12y ago · link · parent
> > The researchers claim the animals ran on the wheels because they enjoyed
> > it, which could be a little bit of anthropomorphizing, as no one has been
> > able to prove that animals other than humans experience emotions.
> Is this really the state of the art? I thought the entire animal rights
> movement is rooted in the idea that animals can experience emotion
Indeed. That statement surprised me too, since I remember reading a number of sources stating that research pretty much confirms that some animals do experience emotions. So I headed over to wikipedia[1] and saw that although some (most?) research does lean towards confirming this, the scientific community is not convinced, yet. Interesting stuff.comment 12y ago · link · parent
a. This idea, of using QR code to capture debug info, by itself is very interesting and innovative (AFAIK). Does there exist user space applications (desktop/web/mobile ...) that do similar things ? (ie: don't send us the logs, just click a pic and attach it to your support ticket ...). I personally haven't come across any, but of course my knowledge is limited. In any case, I think this sort of log capturing for debug purposes certainly should've be done more, IMHO.
b. Something like this could have never come out of proprietary software, simply because this is someone developer's specific itch that needed to be scratched. Whenever they say that open source software cannot compete with proprietary software, because proper 'product management' doesn't exist which guides feature development or that proprietary software will do the 'hard' things that aren't interesting/fun or just too much effort, I always argue against that. This sort of thing makes such arguments easier.
comment 12y ago · link · parent
There fixed that for you. (ref: http://www.laetusinpraesens.org/docs10s/unespion.php )
comment 12y ago · link · parent
She is indulging the same type of drama she alleges is the cause of forming her opinion !!
comment 12y ago · link · parent
> I get extremely angry when I come across articles that insist there are
> gender differences that extend beyond physiology.
That's just ridiculous and ignorant. Of course there are differences between men and women that extend beyond physiology !! [1]Reading the comments and the replies, the author seems to deny this fact and wants everyone to be behaviourally uniform.
On the one hand she is applying broad strokes and describing her own experiences with her male Vs female employees but on the other she wants to deny that some of these differences exist and can be explained 'beyond physiology'.
[1] http://en.wikipedia.org/wiki/Sex_differences_in_humans#Psych...
comment 12y ago · link · parent
> If you are given back your time and energy but taken back everything else,
> can you repeat what have you done? Say, starting today?
What's being asked is basically, starting today, if everything was taken away from PG (or any successful person) and instead he (or the person) was given the same amount of time (20 odd years ?) and energy, would they achieve the same level of success, 20 years hence.My own take on this is, yes - Most successful people would become successful irrespective of starting conditions. Of course the level of success might differ since things like luck come into play but most successful people tend to 'build' their luck (ref: every self-help book ever).
comment 12y ago · link · parent
Whether or not the candidate was part of a MOOC won't directly factor into the technical evaluation though, irrespective of whether the courses completed were relevant technically or not.
comment 12y ago · link · parent
At the very least, get the numbers for:
1. Response time for a single static file request
2. Response time for a non-db php request (eg: phpinfo() )
3. Response time from the application for a non-db request
4. Response time from the application with a db request
5. .... with/without plugins ...you get the idea
This will tell you where you need to concentrate your performance improvement efforts on.Also, look at solutions that are easy to implement and offer immense benefit for very low effort like server-side caching (eg:https://github.com/BenjaminAdams/wp-redis-cache / http://www.jimwestergren.com/wordpress-with-redis-as-a-front... )
cheers,
[1] Your statement that Client uses some WP Plugins to generate content, this hangs the server every time as CPU consumption is a lot. is an alert.
comment 12y ago · link · parent
What's surprising is that @unclebobmartin didn't see anything offensive or wrong with what he wrote until a number of people pointed out that it indeed was: https://twitter.com/unclebobmartin/status/465519956088848384
comment 12y ago · link · parent
a. systemd hijacks the usage of the 'debug' parameter on the kernel command-line for it's own purposes. In some cases this renders the system un-bootable. Since kernel devs can no longer use a parameter that has literally been around for years and was introduced with the explicit intention to help debug the kernel, this is reported as a bug against systemd.
b. The maintainer of systemd closes the bug as NotABug and refuses to fix it
c. A patch is posted on the lkml that simply 'hides' the debug flag from userspace in retaliation.
d. The patch is accept and Linus expresses his anger at what he thinks is a repeating pattern of behavior (to cause regressions, break userspace and refuse to fix the cause of the breakage forcing kernel devs to work around the matter). He also decides to ban systemd maintainer from committing to the kernel
hth,