A keen observer of changes that can also relay change events reliably to interested parties. Provides useful infrastructure for building eventually consistent data sources and systems.
It currently has support to listen events from mysql events (from binlog), hbase events, transform & relay them to mysql, hbase, elasticsearch.
Sorry but it is. You want to say that it is practiced - sure I agree but it is illegal. Bonded labor has long been abolished in India.
Section 27 of the Indian Contract Act clearly says one sided contracts are void. Most contracts in these companies are one sided in nature and of the type - if you quit, then you pay X but if we fire you then we do not pay anything. The Supreme Court of India has clarified this Superintendence Company Of India ... vs Krishan Murgai on 9 May, 1980 [0].
In fact, Section 383 of the Indian Penal Code even makes the illegal to use the common coercive tactics by firms (TCS in the article) to withhold documents [1]. The tactic amounts to "extortion" and carries a punishment of 3 years of prison or fine or both [2]
TL;DR - Bonds are illegal and so is the practice of withholding ANY valuable to enforce vulnerability. The latter is a criminal offense.
> India's economy is the 10th largest in the world, but millions of the country's workers are thought to be held in conditions little better than slavery. [...]
> "There are deep-rooted problems of business-related human rights abuse in India," says Peter Frankental, Economic Relations Programme Director of Amnesty International UK. "Much of that involves the way business is conducted, an unwillingness to enforce laws against companies, and fabricated charges and false imprisonment against activists who try to bring these issues to light."
> In India, our work focused on freeing the millions of men, women and children forced to work as bonded labourers. Regardless of their age, they work long hours labouring in quarries, brick kilns, agriculture and as domestics, receiving little or no pay in return for a loan needed for survival.
> In spite of the encompassing and seemingly progressive legislative framework, the use and abuse of Dalit bonded labourers in India remains endemic within a range of occupations and branches, both rural and urban, such as agriculture, forestry, fishing, domestic work, and cleaning. A report by Anti-Slavery International in 2008, revealed that dalit bonded labourers are employed to carry out the most physically straining and menial types of work in industries such as silk farms, rice mills, salt pans, fisheries, quarries and mines, tea and spice farming, brick-kilns, textile and domestic work(2).
> sure I agree but it is illegal. Constitutionally, Bonded labor has long been abolished in India.
I am aware of the prevalence of bonded labor in India. However, it is not the law but the law enforcement which is the issue. One of your links also mentions it
> In spite of the encompassing and seemingly progressive legislative framework,
My previous reply was to a comment who was trying to suggest that a bond or a one-sided contract was legal. It is a very common misconception in India and particularly in the IT workforce. The reason I took the liberty to omit the word because I thought it would be implicit that HN users would refer to bonded labor in technology companies. After all, that is what the original submission is about.
The analogy I would use for thread-pool is to insert a waiter in front of the chefs in the kitchen.
It doesn't make sense for all workloads, but I have found thread pool to be useful in cases where application servers can overload database servers (either via misconfigured connection pooling, or no pooling).
An example where it might make less sense: a dedicated worker queue running in N threads connecting to MySQL.
Isn't this entire discussion a false dichotomy? It seems from this thread the only two options for everyone is to donate to things that Gates does vs. things that Musk does.
The same thing happened when India launched its Mars mission, with people saying they should take care of their poverty first. But, the discussion around that time on HN was in favor of India exploring space.
That's interesting and immediately obvious how it could both be useful and valuable in the right domain. Logging what people are doing on modern event-driven websites definitely is a problem worth solving. My let's-made-a-complicated-version-first mindset would have extended jQuery's .bind or .on prototype in case the site is using event.stopPropagation(), and that's why I never finish anything. Thanks for sharing.
This is rocksolid basic script..one quick question..if you post on every event then dont you think so that it will generate huge traffic..how did you handle that
Is there an extension/app for HN that categorizes the posts into topics (based on some text analysis) & enables the user to filter them out from the feed? Feature akin to what lobste.rs provides.
This will basically enable me to filter out fluff stories that manage to rise up.
I saw a comment on HN sometime back and can't seem to find it now, but thought it had some merit. The gist of it was that enabling posts from mobile might lead to lower content quality as typing on phones is tougher and we tend to focus on a quick reply rather than a thought out discussion.
I personally use http://hn.premii.com on mobile & it has a good reading experience.
It's an orthogonal issue. I would like the official site to be vaguely readable on mobile. Whether they then choose to discourage posting from mobile is a different question.
(My personal view is that 'mobile' is very difficult to define. If I connect a bluetooth keyboard to a Galaxy Note then why the hell should I be discouraged from posting on the grounds I might post lower quality comments?)
Even on my 7-inch tablet, mobile sites are mostly just a pain in the neck. I'll almost always prefer to be served the desktop version served to me (exceptions for sites that expect me to hover my mouse over their content.) In my view mobile sites should mostly be "small display" sites, and they should be served to desktop people with small browser windows, too.
Worst of all are sites that don't provide a "Full site" link, and don't cooperate with my browser's "View desktop site" option. And don't get me started on "Try our mobile app"...
I used to use hn.premii.com since sharing articles from there shares the hn.premii.com link which seems to steal the page view from the authors post - I may be wrong though.
I use the HN Enchancement Suite chrome extension[1] now instead on my desktop and cheeaun.github.io/hackerweb on my mobile.
It currently has support to listen events from mysql events (from binlog), hbase events, transform & relay them to mysql, hbase, elasticsearch.