News for hackers. Stuff that matters.

vvnraman

Re: on Sunday January 23, 2022 @02:26PM (#30049498)
Apologies ! And thank you. I submitted it again since I cannot edit the title - https://news.ycombinator.com/item?id=30049441
Re: on Sunday January 23, 2022 @02:23PM (#30049455)
Damn it ! My `v` key has a travel and things are being pasted twice !

Fixed here - https://news.ycombinator.com/item?id=30049441 since I cannot edit the link.

Re:Futures for C++11 at Facebook on Friday June 19, 2015 @02:43PM (#9746800)
Excellent library and writeup !!

This is very similar to HPX, the general purpose C++ runtime system for parallel and distributed applications by the Stellar Group - https://github.com/STEllAR-GROUP/hpx.

I recently saw the excellent video presentation by Hartmut Kaiser on this https://www.youtube.com/watch?v=5xyztU__yys and a lot of concepts in folly futures are quite similar. However the most striking thing in HPX was that all the building blocks are serializable, and the presenter mentioned that it is so because you could serialize and move a thread to a different machine and run it there.

Re:Can C++ become your new scripting language? on Sunday May 17, 2015 @03:47PM (#9561449)
Although still in use, it has already been deprecated.

This is what is being used now: https://root.cern.ch/drupal/content/cling.

Re:The truth about the Bitcoin Foundation on Saturday April 04, 2015 @10:33AM (#9320920)
At the risk of being reprimanded by the man himself, here is the tweet storm in text:

https://twitter.com/patio11/status/583696870704152576 1/I follow Bitcoin like some people follow Nascar crashes. Some quick thoughts in tweetstorm format:

https://twitter.com/patio11/status/583697092306014208 2/ It is an open secret in the Bitcoin community that merchants who adopt it see virtually no meaningful transaction volume.

https://twitter.com/patio11/status/583697371378257920 3/ Western Union spends roughly 1/2 of revenue on local offices by both ends of the transactions. Bitcoin remittances don't solve this.

https://twitter.com/patio11/status/583697585719746560 4/ Bitcoin presently costs on the order of $6.5k per megabyte of data added to the block chain.

https://twitter.com/patio11/status/583697812438691841 5/ The entire market cap of Bitcoin as of 4/1/2015 is a fee paid to someone for work already done between 2009 and 4/1/2015.

https://twitter.com/patio11/status/583698553614143488 6/ Most advantages of Bitcoin which matter are captured by, and improved upon by, a LAMP app which simply holds account balances.

https://twitter.com/patio11/status/583699554563784704 7/ Bitcoin's Internet cheering squad is a spontaneously organized boiler room. This is Bitcoin's #1 engineering and marketing achievement.

https://twitter.com/patio11/status/583699782624911361 8/ The cheering squad improves upon techniques used to make Ross Perot and Rand Paul seem like serious contenders for the US presidency.

https://twitter.com/patio11/status/583700634764910592 9/ Bitcoin is not a protocol in any meaningful sense of word. It is a single C++ codebase that you have to be bug-for-bug compatible with.

https://twitter.com/patio11/status/583701008754147329 10/ Bitcoin's disaster recovery plan is a) get a cabal of people together in IRC, b) shut down the entire payment network, c) sort things.

https://twitter.com/patio11/status/583701441866371073 11/ No, seriously, the decentralized nobody-needs-to-trust-anybody payments network was shut down by an IRC channel's consensus for 8 hrs.

https://twitter.com/patio11/status/583702513469104128 12/ Time between Bitcoin blocks is not guaranteed (follows a Poisson distribution). Sometimes all pending transactions just stop for a while

https://twitter.com/patio11/status/583702865098604544 13/ The media following Bitcoin, both enthusiast press and tech rags, are so incompetent at their jobs that it beggars belief.

https://twitter.com/patio11/status/583703396231716864 14/ One example of many: a single phone call or letter in Japanese would have sufficed to verify that Mt. Gox was insolvent in summer 2013.

https://twitter.com/patio11/status/583706966553276417 15/ A good portion of geek enthusiasm for Bitcoins comes from the fact that it is programmable money. But: Money is also programmable money.

https://twitter.com/patio11/status/583707625210060800 16/ This concludes my mini-rant on Bitcoin. I have a longer, more technical rant but will do it some other time.

It would have been good to put a disclaimer in there that the rant applies only to the currency aspect of Bitcoin, and not the Bitcoin Protocol.

Re:Facebook is using D in production starting today on Friday October 11, 2013 @10:36AM (#6533351)
For an excellent discussion between the philosophies that went into the design of D and how they compare to Go, visit

  https://groups.google.com/forum/#!topic/golang-nuts/8k59RgkeJ6s
The discussion between Andrei Alexandrescu (Facebook) and Ian Lance Taylor (Google) is highly intellectual, especially the part about how each language addresses concurrency.

EDIT: Removed dot at the end of the URL

This really removes any hurdle I might have of inspecting the assembly code due to sheer laziness of opening up my Visual Studio and start debugging. Awesome work. If you add some type of interactivity to the generated assembly, it can be made more visual.
No. You need to own a Kindle whose serial no. is used by Calibre to convert to any other format.
Re:WebRTC is almost here, and it will change the web on Monday August 13, 2012 @04:56PM (#4378108)
Actually you can use it in IE right now using Chrome Frame. Read this for more detailed info - https://groups.google.com/forum/#!msg/discuss-webrtc/tKoh1wr....
Re:Amazing Apple Turnaround: Allows book with Amazon links on Thursday August 02, 2012 @11:21PM (#4332356)
It appears that Apple has been deciding to partner Amazon in order best Google's Play strategy. I say this as Amazon Prime Videos is now available to be consumed on iPad officially. Also both these developments have taken place after Google launched the Nexus 7. Maybe the talks have been going on for a long time, but I would say this definitely pushed them into making a decision.
Re:Vim, you complete me on Thursday July 12, 2012 @01:02PM (#4235461)
It wasn't like this but I would say my start was quite similar. I had just heard/read people being so productive with Vim and I always wanted to start but never could take the jump.

One time I had to do a college project in a language I had not used before, JESS (JRE cousin of CLIPS). Though its similar to Scheme in which I had coded a few years before, it has a few of its own syntactic idioms. I planned to do the project in VIM. As there was no baggage of using JESS with any IDE before, there was no such thing as a hindrance or inhibition which I used to have while trying to using VIM for coding C/C++, etc.

Within the next 2-3 weeks I learned the basics and a few intermediate use-cases of VIM (refactoring using registers, etc...). After finishing the project, I shifted to code in C/C++ using VIM has my primary editor and have never looked back since. I basically piggybacked my experience with VIM in JESS and the it took less than a day to translate all that and use it with C/C++ code :)

With regards to ViEMU, my use case is to open the same file in both VIM and Visual Studio quite sometimes as they both can detect changes made to the file outside of the editor. So far its worked without any issues :)

Re:Where Digital Mars (language D) gone? on Friday June 01, 2012 @06:03AM (#4052700)
The submitted link goes to "index0.html". The link "http://dlang.org/index.html still works.
Re:Show HN: Firebase, a scalable real-time backend on Thursday April 12, 2012 @04:41PM (#3834064)
Wow !! As a movie buff myself I think I'll be vising you site almost everyday now. This is what I used to do before:

  - Go to www.imdb.com
  - Click on 'See more movie showtimes' at the right.
  - On the next page, click on the 'Favorites' tab to choose a theater.
  - Go to maps.google.com and plan the route to the theater.
This is definitely going to save me at least a few hours every week while I check which movie is playing at what location.

And its got TRAILERS too !!! I'm addicted !!

Re:Notepad++ 6.0 Released on Sunday March 25, 2012 @11:23PM (#3754827)
Notepad++ is one of the fastest and the best editors out there.

Products like these show that over a given period of time, people being to notice the subtle differences between the speed of simple things, like the time taken for the context menu to appear, or the drop-down for word completion to appear. This is primarily why my use of IDEs has decreased over time. It just takes a little too long for doing stuff in them, and hinders your natural flow.

By the way, their word completion (Settings -> Preferences -> Backup/Auto-completion -> Word Completion) is simply their killer feature and has spoiled me for any other editors.

Re:The Last Question - Isaac Asimov on Sunday March 11, 2012 @05:43PM (#3691382)
You can edit your post and make it recursive by adding the current link, so that the next time this story is re-posted, yours is the only post to be copied. Here is the link to this one: http://news.ycombinator.com/item?id=3691113
http://www.sendgrid.com/ which provides email services to a lot of clients perhaps uses this by default. I don't think people in this business look at it as an attack. Websites use various techniques to track people's activities, and this is just another one of them.
Re:Hacked: commit to rails master on GitHub on Sunday March 04, 2012 @04:19PM (#3664044)
I don't think he can be blamed too much though. As per the bug filed here - https://github.com/rails/rails/issues/5228, the bug was being closed by others after being given a cursory look, and was being reopened again for consideration. Maybe a little immature, but there was a mild provocation.
Re:Lthread - C coroutine lib with multicore support on Saturday March 03, 2012 @06:50PM (#3661472)
I would like to know something here. Since there is only 1 stack for a pThread and the stack state is swapped on a context switch for a co-routine within a pThread, wouldn't this be quite expensive if there are a lot of variables on stack for that co-routine? Or is the swapping being carried out in a different manner, eg. caching, pre-allocated stacks, etc..
Re:Dear Boss: For a programmer, 10 minutes = 3 hours on Friday February 03, 2012 @04:04PM (#3548992)
Good compilation. You have captured almost every scenario I used to go through a while back !!
Can you also reveal the details of the hosting you are using? Hacker News generates a lot of traffic and your site looks quite responsive !!!

Older »