edu

Equinor has reduced 2020 costs by $3 billion and is prepared to do more, CEO says

Eldar Sætre, CEO of Equinor, discusses the company's first-quarter earnings.




edu

Chegg CEO on Q1 results, future of higher education post-pandemic

Chegg CEO Dan Rosensweig discussed subscriber growth the education technology provider saw amid a coronavirus pandemic.




edu

Franklin India Liquid Fund - Unclaimed Redemption Investor Education Plan - Growth

Category Debt Scheme - Liquid Fund
NAV 10.0000
Repurchase Price
Sale Price
Date 08-May-2020




edu

Franklin India Liquid Fund - Unclaimed Dividend Investor Education Plan - Growth

Category Debt Scheme - Liquid Fund
NAV 10.0000
Repurchase Price
Sale Price
Date 08-May-2020




edu

Relaxations relating to procedural matters – Issues and Listing

Securities and Exchange Broad of IndiaCIRCULARSEBI/HO/CFD/DIL2/CIR/P/2020/78May 06, 2020ToAll Registered Merchant Bankers




edu

Seeks to make amendments to special procedure for corporate debtors undergoing the corporate insolvency resolution process under the Insolvency and Bankruptcy Code, 2016

[To be published in the Gazette of India, Extraordinary, Part II, Section 3, Sub-section (i)] Government of India Ministry of Finance




edu

LIC MF ULIS (15 Yrs. Regular Premium Reducing Cover Yearly)-Regular Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 15.7106
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (15 Yrs. Regular Premium Reducing Cover Yearly)-Direct Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 16.6333
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (15 Yrs. Regular Premium Reducing Cover Quarterly)-Regular Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 15.7106
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (15 Yrs. Regular Premium Reducing Cover Quarterly)-Direct Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 16.6333
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (15 Yrs. Regular Premium Reducing Cover Monthly)-Regular Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 15.7106
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (15 Yrs. Regular Premium Reducing Cover Monthly)-Direct Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 16.6333
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (15 Yrs. Regular Premium Reducing Cover Half-Yearly)-Regular Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 15.7106
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (15 Yrs. Regular Premium Reducing Cover Half-Yearly)-Direct Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 16.6333
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (10 Yrs. Regular Premium Reducing Cover Yearly)-Regular Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 15.7106
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (10 Yrs. Regular Premium Reducing Cover Yearly)-Direct Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 16.6333
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (10 Yrs. Regular Premium Reducing Cover Quarterly)-Regular Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 15.7106
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (10 Yrs. Regular Premium Reducing Cover Quarterly)-Direct Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 16.6333
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (10 Yrs. Regular Premium Reducing Cover Monthly)-Regular Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 15.7106
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (10 Yrs. Regular Premium Reducing Cover Monthly)-Direct Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 16.6333
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (10 Yrs. Regular Premium Reducing Cover Half-Yearly)-Regular Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 15.7106
Repurchase Price
Sale Price
Date 08-May-2020




edu

LIC MF ULIS (10 Yrs. Regular Premium Reducing Cover Half-Yearly)-Direct Plan-Dividend Reinvestment

Category Equity Scheme - ELSS
NAV 16.6333
Repurchase Price
Sale Price
Date 08-May-2020




edu

Deduction under 80E

Can I claim deduction of interest of two educational loans in same financial year under 80E?




edu

TDS Deducted U/s194N

How to file income tax return in case of tds deducted under section 194 N




edu

ICICI Prudential Liquid Fund - Unclaimed Redemption Investor Education

Category Debt Scheme - Liquid Fund
NAV 100.0000
Repurchase Price
Sale Price
Date 08-May-2020




edu

ICICI Prudential Liquid Fund - Unclaimed Dividend Investor Education

Category Debt Scheme - Liquid Fund
NAV 100.0000
Repurchase Price
Sale Price
Date 08-May-2020




edu

Taurus Investor Education Pool - Unclaimed Redemption - Growth

Category Money Market
NAV 10.0000
Repurchase Price
Sale Price
Date 08-May-2020




edu

Taurus Investor Education Pool - Unclaimed Dividend - Growth

Category Money Market
NAV 10.0000
Repurchase Price
Sale Price
Date 08-May-2020




edu

Education Crisis: From Pre-K to Higher Ed, Students Face Unequal Access During Coronavirus Shutdown

We look at the impact of the pandemic on schools, universities, students, parents, teachers and professors — and who is at the table to shape what happens next. "We now have an economic crisis on top of the public health crisis, and the ways that we're choosing to educate children is simply unequal and is going to lead to an educational crisis,” says education scholar and Cornell University professor Noliwe Rooks, author of "Cutting School: Privatization, Segregation, and the End of Public Education."




edu

CBDT amends rule 44G to invoke mutual agreement procedure

CBDT amends rule 44G to invoke mutual agreement procedure...




edu

ICAI releases schedule for Mock Test Papers

ICAI releases schedule for Mock Test Papers...




edu

CBDT defers new registration procedure of trusts and charitable Institutions to October

New procedure for registration, approval, etc. of certain entities deferred to 1st October, 2020...




edu

EXTREMELY TOUGH QUESTIONS FROM ASSESSMENT PROCEDURE.

Section 115BBE ONE OF THE MOST DANGEROUS SECTION OF THE IT ACT.

My story belongs to Sec 115BBE one of the most dangerous section of the Income Tax Act 1961, and my story belongs to Appeal to Income Tax Applleate Tribunal against an order of CIT appeals.

Actually one of My case lying with an ITO regarding Cash on Demonitisation.
QUESTION NO 1) Should i proceed to ITAT against an order of CIT APPEALS for vacate of any demand arising under section 115BBE or not for a cash on demonitisation case and why ?
QUESTION NO 2) Should i move to CIT APPEALS AGAINST AN ORDER OF ITO for charging of penalty with tax under sec 115BBE during a Cash on demonitisarion case ? or Should i pay the whole amount of tax with fine which an ITO demands with penalty as tax on regular assessment and Why ?
QUESTION NO 3) What is the latest update of Sec 115BBE ?
QUESTION NO 4) Is there any probability of Special Audit during a cash on demonitisation case lying with CIT APPEALS and why ?
QUESTION NO 5 ) Is there any probability of relief of tax, if i move to CIT APPEALS OR EVEN to ITAT for vacate any demand arising out of Cash on demonitisation case Sec 115BBE ?

Disclaimer :- Only A qualified CA & CMA can answer to this query ( based on his/her practical approach ).

Regards





edu

Copyright Violation Redux: The Internet Archive's National Emergency Library


Posted by Victoria Strauss for Writer Beware®

The enormous digital archive that is the Internet Archive encompasses many different initiatives and projects. One of these is the Open Library Project, a huge repository of scanned print books available for borrowing in various digital formats.

Unlike a regular library, the IA does not purchase these books, but relies on donations to build the collection. Nor are permissions sought from copyright holders before creating the new digital editions. And although the IA claims that the project includes primarily 20th century books that are no longer widely available either physically or digitally, the collection in fact includes large numbers of 21st century books that are in-copyright and commercially available--and whose sales the Open Library's unpermissioned versions have the potential to harm.

Most professional writers' groups consider the Open Library to be not library lending, but massive copyright violation. Many have issued alerts and warnings (you can see SFWA's alert here), and many authors have contacted the IA with takedown requests (to which the IA was not always terrific at responding; you can see my account of my own frustrating experience here).

In the fall of 2018, a novel (and disputed) legal theory was created to justify the Open Library and similar initiatives, called Controlled Digital Lending (CDL). CDL's adherents present it as "a good faith interpretation of US copyright law for American libraries" seeking to conduct mass digitization projects, and invoke as support the "exhaustion" principle of the first sale doctrine (the idea that an authorized transfer of a copyrighted work "exhausts" a copyright holder's ability to subsequently control the use and distribution of  that copy; this is what allows used book sales, for example) and the fair use doctrine (a complex principle that permits the copying of a copyrighted work as long as the copying is limited and transformative). As long as the library restricts its lending in ways similar to restrictions on the lending of physical books (for instance, allowing only one user at a time to access each digital format), CDL holds that creating new digital editions of in-copyright books and lending them out is fair use, and copyright holders' permission isn't necessary.

Libraries in particular have embraced CDL. Publishers' and writers' groups...not so much, especially in light of a recent legal decision that rejected both the first sale doctrine and fair use as basis for re-selling digital content. Here's the Authors Guild:
CDL relies on an incorrect interpretation of copyright’s “fair use” doctrine to give legal cover to Open Library and potentially other CDL users’ outright piracy—scanning books without permission and lending those copies via the internet. By restricting access to one user at a time for each copy that the library owns, the proponents analogize scanning and creating digital copies to physically lending a legally purchased book. Although it sounds like an appealing argument, the CDL concept is based on a faulty legal argument that has already been rejected by the U.S. courts.

In Capitol Records v. ReDigi, the Second Circuit held that reselling a digital file without the copyright holder’s permission is not fair use because the resales competed with the legitimate copyright holder’s sales. It found that market harm was likely because the lower-priced resales were sold to the same customers who would have otherwise purchased new licenses. In this regard, the court emphasized a crucial distinction between resales of physical media and resales of digital content, noting that unlike physical copies, digital content does not deteriorate from use and thus directly substitutes new licensed digital copies.

The same rationale applies to the unauthorized resale or lending of ebooks. Allowing libraries to digitize and circulate copies made from physical books in their collection without authorization, when the same books are available or potentially available on the market, directly competes with the market for legitimate ebook licenses, ultimately usurping a valuable piece of the market from authors and copyright holders.
For a more detailed deconstruction of CDL's arguments, see this statement from the Association of American Publishers.

Flash forward to 2020, and the coronavirus pandemic crisis. Last week, the IA announced the debut of the National Emergency Library--really just the Open Library, but with some new provisions.
To address our unprecedented global and immediate need for access to reading and research materials, as of today, March 24, 2020, the Internet Archive will suspend waitlists for the 1.4 million (and growing) books in our lending library by creating a National Emergency Library to serve the nation’s displaced learners. This suspension will run through June 30, 2020, or the end of the US national emergency, whichever is later.

During the waitlist suspension, users will be able to borrow books from the National Emergency Library without joining a waitlist, ensuring that students will have access to assigned readings and library materials that the Internet Archive has digitized for the remainder of the US academic calendar, and that people who cannot physically access their local libraries because of closure or self-quarantine can continue to read and thrive during this time of crisis, keeping themselves and others safe.
What this boils down to, under all the high-flying verbiage: the IA is ditching the one-user-at-a-time restriction that is one of the key justifications for the theory of controlled digital lending, and allowing unlimited numbers of users to access any digitized book in its collection.

The Authors Guild again, on how this harms authors:
IA is using a global crisis to advance a copyright ideology that violates current federal law and hurts most authors. It has misrepresented the nature and legality of the project through a deceptive publicity campaign. Despite giving off the impression that it is expanding access to older and public domain books, a large proportion of the books on Open Library are in fact recent in-copyright books that publishers and authors rely on for critical revenue. Acting as a piracy site—of which there already are too many—the Internet Archive tramples on authors’ rights by giving away their books to the world.
Here's just one concrete example. Katherine Harbour's Nettle King is available for borrowing in the National Emergency Library as a scan, an EPUB, and a PDF (the IA's EPUB versions are OCR conversions full of errors). Published in 2016, it's also "in print" and available on Amazon and other online retailers as an ebook, in addition to other formats. The IA, which never bought a digital license to Ms. Harbour's book and scanned and uploaded it without permission, now is proposing to allow unlimited numbers of users to access it, potentially impacting her sales. How is this any different from a pirate site?

Announcement of the National Emergency Library has been greeted rapturously by the press and by libraries. Less regarded has been the flood of protest and criticism from authors and professional groups. In situations like these, authors and publishers tend to be dismissed as greedy money-grubbers who are putting profits ahead of the march of progress and the noble dream of universal access to content...despite the fact that authors' right to make money from their work--and, just as important, to control the use of it--springs directly from the US Constitution, and has been enshrined in law since 1790.

In response to the outcry over the National Emergency Library, the IA has issued a justification of it, citing the "tremendous and historic outage" of COVID-19-related library closures, with "books that tax-paying citizens have paid to access...sitting on shelves in closed libraries, inaccessible to them." This noble-sounding purpose conveniently ignores the fact that those libraries' (legally-acquired and paid-for) digital collections are still fully available.

If your book is included in the National Emergency Library, and you don't want it there, the IA will graciously allow you to opt out (another inversion of copyright, which is an opt-in system).


Hopefully they'll be more responsive than they were in 2018, when I sent them DMCA notices that they ignored. Or later, when they began rejecting writers' takedown requests by claiming that the IA "operates consistently with the Controlled Digital Lending protocol.”

******************

I've covered this question above, but I want to highlight it again, because it's such a persistent objection when this kind of infringement occurs: Brick-and-mortar libraries lend out books for free, so how are the IA's "library" projects any different?

A few reasons.

- Brick-and-mortar libraries buy the books they lend, a separate purchase for each format (hardcover, paperback, ebook, audiobook, etc.). The author gets a royalty on these purchases. The IA seeks donations, and lends those. Authors get nothing.

- Brick-and-mortar libraries lend only the books they purchase. They don't use those books to create new or additional, un-permissioned lending formats. That's exactly what the IA does. Moreover, one of its additional lending formats is riddled with OCR errors that make them a chore to read. Apart from permission issues, this is not how authors want their books to be represented to the public.

- People who advocate for looser copyright laws often paint copyright defenders as greedy or mercenary, as if defending copyright were only about money. It's worth remembering another important principle of copyright: control. Copyright gives authors not just the right to profit from their intellectual property, but to control its use. That, as much as or even more than money, is the principle the IA is violating with its library projects.

UPDATE: It appears that the IA--on its own initiative--is removing not just illegally-created digital editions in response to authors' takedown requests, but legally-created DAISY editions as well, even where authors don't ask for this (DAISY is a format for the visually impaired, and like Braille, is an exception in copyright law and is also permissioned in publishing contracts).


It did the same thing in 2018, even where the takedown requests specifically exempted DAISY editions. I don't know if the current removals reflect expediency or possibly are just a kind of FU to writers (and, indirectly, to disabled readers), but if you send a removal request to the IA, you might consider specifically asking them not to remove any editions for the blind and disabled (which, again, are legal for the IA to distribute).

UPDATE 4/2/20: The Authors Guild has issued a statement encouraging writers to demand that the Internet Archive remove their books from its National Emergency Library. The statement includes instructions on what to do, along with a sample DMCA notice in the proper legal form.

UPDATE 4/8/20: SFWA has issued a statement on the National Emergency Library, describing the legal theory of Controlled Digital Lending as "unproven and dubious". (A link to SFWA's DMCA notice generator is included.)
[U]sing the Coronavirus pandemic as an excuse, the Archive has created the “National Emergency Library” and removed virtually all controls from the digital copies so that they can be viewed and downloaded by an infinite number of readers. The uncontrolled distribution of copyrighted material is an additional blow to authors who are already facing long-term disruption of their income because of the pandemic. Uncontrolled Digital Lending lacks any legal argument or justification.
UPDATE 4/9/20: The Chairman of the US Senate Subcommittee on Intellectual Property, Thom Tillis, has sent a letter to the Internet Archive, pointing out the many voluntary initiatives by authors, publishers, and libraries to expand access to copyrighted materials, and expressing concern that this be done within the law. 
I am not aware of any measure under copyright law that permits a user of copyrighted works to unilaterally create an emergency copyright act. Indeed, I am deeply concerned that your "Library" is operating outside the boundaries of the copyright law that Congress has enacted and alone has the jurisdiction to amend.
The letter ends by punting "discussion" until "some point when the global pandemic is behind us." So, basically, carry on and maybe at some point we'll talk.

UPDATE 4/15/20: Internet Archive founder Brewster Kahle has responded to Sen. Tillis's letter, claiming that the National Library is needed because "the entire physical library system is offline and unavailable" (even though libaries' legally acquired digital collections are still fully available) and that "the fair use doctrine, codified in the Copyright Act, provides flexibility to libraries and others to adjust to changing circumstances" (there's no such language in the actual Fair Use statute).

Kahle also notes:
In an early analysis of the use we are seeing what we expected: 90% of the books borrowed were published more than ten years ago, two-thirds were published during the twentieth century. The number of books being checked out and read is comparable to that of a town of about 30,000 people. Further, about 90% of people borrowing the book only looked at it for 30 minutes. These usage patterns suggest that perhaps that patrons may be using the checked-out book for fact checking or research, but we suspect a large number of people are browsing the book in a way similar to browsing library shelves.
But this is hardly a compelling argument. Large numbers of these books are certainly still in copyright, and many are likely still "in print" and commercially available (in digital form as well as hardcopy). Just because a book was published more than ten years ago or prior to 2000 doesn't magically cause it to become so hard to find it must be digitized without permission in order to save it. "But they're older books" sidesteps, rather than addresses, the thorny copyright issues raised by the IA's unpermissioned scanning and digitizing.

This passage also tacitly confirms the IA's abandonment of the one-user-at-a-time restriction that is a key feature of the rationale for the Controlled Digital Lending theory. If the basis for your enterprise is a legal theory whose strictures can be jettisoned at will, how credible is that theory really?

Kahle also claims that "No books published in the last five years are in the National Emergency Library". As it happens, the example I provide above (Katherine Harbour's Nettle King) handily disproves this statement: it was published in 2016, and was digitized by the IA in 2018 (you can see the scan here). I seriously doubt it's the only instance. Either Kahle is being disingenuous, or he doesn't know his own collection.

As a sop to creators, Kahle reiterates that concerned authors "need only to send us an email" and their books will be removed. As I've pointed out above, this is yet another inversion of copyright law, which explicitly gives creators control over the use of their work. In other words, it's the IA, not authors, who should be the petitioners here.

UPDATE 4/16/20: This terrific, comprehensive article from the NWU's Edward Hasbrouck examines the multiple ways the Internet Archive is distributing the page images from its unpermissioned scanning of print books--"[o]nly one of [which] fits the Internet Archive’s and its supporters’ description of so-called Controlled Digital Lending (CDL)."




edu

I Asked the Department of Education to Fight for Black Girls. They Ignored Me.

Walking down the hallway at school, an administrator stopped me in my tracks. I felt her eyes glare from the top of my head, past my torso and down my legs. She told me that my shorts were too short and that she didn’t want to see me wearing them ever again. I felt embarrassed […]




edu

Bungo & Alchemist Anime's Episodes 5-7 Scheduled for Later This Month

Episode 4 was previously delayed to May 8




edu

Building Redux Middleware

After writing my post a few months ago on building your own redux app, I have been asked a couple times to write a guide on creating redux middleware and how it works. This will be a quick post on how you can acheive anything with your own middleware!

##Basic middleware


const customMiddleware = store => next => action => {
  if(action.type !== 'custom') return next(action)
  //do stuff!
}

Applying it:

import { createStore, applyMiddleware, } from 'redux'
import reducer from './reducer'
import customMiddleware from './customMiddleware'

const store = createStore(
  reducer,
  applyMiddleware(customMiddleware)
)

Whaaa? store => next => action => I know that looks confusing. Essentially you are building a chain of functions, it will look like this when it gets called:

//next looks something like this:
let dispatched = null
let next = actionAttempt => dispatched = actionAttempt 

const dispatch = customMiddleware(store)(next)

dispatch({
  type: 'custom',
  value: 'test'
})

All you are doing is chaining function calls and passing in the neccesary data. When I first saw this I was confused a little due to the long chain, but it made perfect sense after reading the article on writing redux tests.

So now that we understand how those chained functions work, let’s explain the first line of our middleware.

if(action.type !== 'custom') return next(action)

There should be some way to tell what actions should go through your middleware. In this example, we are saying if the action’s type is not custom call next, which will pass it to any other middleware and then to the reducer.

##Doing Cool stuff

The official guide on redux middleware covers a few examples on this, I’m going to try to explain it in a more simple way.

Say we want an action like this:

dispatch({
  type: 'ajax',
  url: 'http://api.com',
  method: 'POST',
  body: state => ({
    title: state.title
    description: state.description
  }),
  cb: response => console.log('finished!', response)
})

We want this to do a post request, and then call the cb function. It would look something like this:

import fetch from 'isomorphic-fetch'

const ajaxMiddleware = store => next => action => {
  if(action.type !== 'ajax') return next(action)
  
  fetch(action.url, {
    method: action.method,
    body: JSON.stringify(action.body(store.getState()))
  })
  .then(response => response.json())
  .then(json => action.cb(json))
}

It’s pretty simple really. You have access to every method redux offers in middleware. What if we wanted the cb function to have access to dispatching more actions? We could change that last line of the fetch function to this:

.then(json => action.cb(json, store.dispatch))

Now in the callback, we can do:

  cb: (response, dispatch) => dispatch(newAction(response))

As you can see, middleware is very easy to write in redux. You can pass store state back to actions, and so much more. If you need any help or if I didn’t go into detail enough, feel free to leave a comment below!




edu

Using Proxies with Redux Types

One of the most common problems that I run into when using Redux is trying to figure out why an action is not being captured by a reducer. For someone just getting starting with Redux, debugging this issue can be especially overwhelming because of how Redux manages data flow. So before you start pouring over configuration code, or the logic contained in your action creators and reducers, please, make sure your action types are defined and spelled correctly.

One of the most common problems that I run into when using Redux is trying to figure out why an action is not being captured by a reducer. For someone just getting starting with Redux, debugging this issue can be especially overwhelming because of how Redux manages data flow. So before you start pouring over configuration code, or the logic contained in your action creators and reducers, please, make sure your action types are defined and spelled correctly.

In any application that I have built, most bugs that I have run into are simply due to typos. However, the solution to this particular problem is harder to spot because no errors are raised when the application is run. Take a look at the snippet below.

// actionTypes.js

export const FETCH_FILE_REQUEST = 'fetch_file_request';
export const FETCH_FILE_SUCCESS = 'fetch_file_success';
export const FETCH_FILE_FAIL = 'fetch_file_fail';


// filesReducer.js

import {
  FETCH_FILE_REQUEST,
  FETCH_FILE_SUCESS,
  FETCH_FILE_FAIL
} from '../actions/actionTypes';

const filesReducer = (state = {}, action) => {
  switch (action.type) {
    case FETCH_FILE_SUCESS:
      return { ...state, file: action.payload };
    default:
      return state;
  }
}

export default filesReducer;

Assuming we dispatched an action with type FETCH_FILE_SUCCESS, the filesReducer should catch the action before the default case is returned. But what if that is not happening? Where do we start the debugging process. There does not appear to be anything wrong with the code in the reducer; the action type was imported and matches the case in the switch statement. There are no errors in the browser. Where is the issue?

You may have noticed that I misspelled SUCCESS in filesReducer.js, but the reason this can be hard to catch is because importing undefined types does not cause an error, so when we import FETCH_FILE_SUCESS, its value is actually undefined, so our reducer always hits the default case.

It would be nice if the existing import/export system could help us catch this. Unfortunately, since action types are just strings, validating their existence is challenging. Luckily, we have another option.

Enter Proxies

Proxies are a feature of ES2015 that allow us to customize operations on a object. They can be used in many different ways, and you can find some useful examples here and here. For our problem, this example from Mozilla looks promising:

let validator = {
  set: function(obj, prop, value) {
    if (prop === 'age') {
      if (!Number.isInteger(value)) {
        throw new TypeError('The age is not an integer');
      }
      if (value > 200) {
        throw new RangeError('The age seems invalid');
      }
    }

    // The default behavior to store the value
    obj[prop] = value;

    // Indicate success
    return true;
  }
};

let person = new Proxy({}, validator);

person.age = 100;
console.log(person.age); // 100
person.age = 'young'; // Throws an exception
person.age = 300; // Throws an exception

So if proxies can be used to validate that properties assigned to an object are of a certain type and value, we should definitely be able to ensure that our action types are never undefined, or else throw an error that will be easy for us to fix. Let’s refactor our actionTypes.js file.

// actionTypes.js

const types = {
  FETCH_FILE_REQUEST: 'fetch_file_request',
  FETCH_FILE_SUCCESS: 'fetch_file_success',
  FETCH_FILE_FAIL: 'fetch_file_fail'
}

const typeValidator = {
  get(obj, prop) {
    if (obj[prop]) {
      return prop;
    } else {
      throw new TypeError(`${prop} is not a valid action type`);
    }
  }
}

module.exports = new Proxy(types, typeValidator);

First, we define a object containing all our action types. Then we define our validator handler typeValidator. The get method inside our handler is called a trap, and provides access to the properties of a object. If the property we are looking for, an action type, in this case, exists in the types object, return that prop, unmodified. Otherwise, throw an error because the prop does not exist.

Finally, export a new proxy, passing the types object as the target and the typeValidator as the handler. However, it is important to note that the ES2015 module system does not work well with proxies, so module.exports and require() must be used for exporting and importing the types.

Barely any code needs to change in the reducer and action creator files, but in order for the action types to be imported successfully, we just need couple lines of code in a new file:

// actionTypesProxy.js

export const {
  FETCH_FILE_REQUEST,
  FETCH_FILE_SUCCESS,
  FETCH_FILE_FAIL,
} = require('./actionTypes');

// in the reducer and action creator files
// change '../actions/actionTypes' to
// '../actions/actionTypesProxy'

By creating a proxy to verify the existence of an action type, we no longer have to worry about correctly naming a property upon import because an error will be thrown in the browser console as soon as the application starts. So, reduce the number headaches you get when developing an application using Redux and start using proxies.

Interested in learning how to build applications using Redux with ReactJS. Check out this online course! Modern React with Redux




edu

Eduardo: Our adventure hasn’t ended yet

Ahead of the match for third place, Al Hilal skipper Carlos Eduardo spoke to FIFA.com about the reasons for his side’s defeat to Flamengo and the importance of their upcoming fixture against Monterrey.




edu

Eduardo VARGAS Post-Match Interview

Hear from the Chilean forward, Eduardo VARGAS, after his side drew 1-1 over Germany at the FIFA Confederations Cup 2017.




edu

From ambulances and education to pizza and asparagus




edu

Eating yogurt may help reduce the risk of arthritis and asthma, reveals a study



Eating yogurt may help reduce chronic inflammation, a factor in bowel disease, arthritis and asthma, according to a study. The research, published in the Journal of Nutrition, explored the hypothesis that yogurt may help reduce inflammation by improving the integrity of the intestinal lining. This could help prevent endotoxins - pro-inflammatory molecules produced by gut microbes - from crossing into the blood stream.

"I wanted to look at the mechanism more closely and look specifically at yogurt," said Brad Bolling, an assistant professor at the University of Wisconsin-Madison in the US. While anti-inflammatory medications like aspirin, naproxen, hydrocortisone and prednisone can help mitigate the effects of chronic inflammation, each comes with its own risks and side effects.

The study enrolled 120 premenopausal women, half obese and half non-obese. Half of the participants were assigned to eat 12 ounces of low-fat yogurt every day for nine weeks; a control group ate non-dairy pudding for nine weeks. Bolling and his team took fasting blood samples from participants and evaluated an assortment of biomarkers that scientists have used over the years to measure endotoxin exposure and inflammation.

The results showed that while some of the biomarkers remained steady over time, the yogurt-eaters experienced significant improvements in certain key markers, such as TNF, an important inflammation-activating protein. "The results indicate that ongoing consumption of yogurt may be having a general anti-inflammatory effect," said Bolling.

The research focuses on a different aspect of the study. Participants were also involved in a high-calorie meal challenge at the beginning and end of their nine-week dietary intervention. The challenge, meant to stress an individual's metabolism, started with either a serving of yogurt or non-dairy pudding followed by a large high-fat, high-carb breakfast meal. "It was two sausage muffins and two hash browns, for a total of 900 calories. But everybody managed it. They'd been fasting, and they were pretty hungry," Bolling said.

For both challenges, blood work showed that the yogurt "appetizer" helped improve some key biomarkers of endotoxin exposure and inflammation as participants digested the meal over the ensuing hours. It also helped improve glucose metabolism in obese participants, by speeding the reduction of post-meal blood glucose levels.

"Eating eight ounces of low-fat yogurt before a meal is a feasible strategy to improve post-meal metabolism and thus may help reduce the risk of cardiovascular and metabolic diseases," said Ruisong Pei, a postdoctoral researcher at UW-Madison.

Catch up on all the latest Mumbai news, crime news, current affairs, and also a complete guide on Mumbai from food to things to do and events across the city here. Also download the new mid-day Android and iOS apps to get latest updates

This story has been sourced from a third party syndicated feed, agencies. Mid-day accepts no responsibility or liability for its dependability, trustworthiness, reliability and data of the text. Mid-day management/mid-day.com reserves the sole right to alter, delete or remove (without notice) the content in its absolute discretion for any reason whatsoever





edu

Reducing job strain may lower risk of new mental illness cases



If your workplace is supporting its employees by reducing their job strain, it may boost in preventing new cases of common mental illness from occurring up to 14 per cent, a new study suggests.

The findings, published in the journal Lancet Psychiatry, confirm that high job strain is associated with an increased risk of developing common mental disorders such as depression and anxiety amongst middle-aged workers.

Job strain is a term used to describe the combination of high work pace, intensity, and conflicting demands, coupled with low control or decision-making capacity.

"The results indicate that if we were able to eliminate job strain situations in the workplace, up to 14 per cent of cases of common mental illness could be avoided," said lead author Samuel Harvey, Associate Professor at the Black Dog Institute in Australia.

"These findings serve as a wake-up call for the role workplace initiatives should play in our efforts to curb the rising costs of mental disorders," Harvey added.

To determine levels of job strain, 6,870 participants completed questionnaires at age 45 testing for factors including decision authority, skill discretion and questions about job pace, intensity and conflicting demands.

The researchers also accounted for non-workplace factors including divorce, financial problems, housing instability, and other stressful life events like death or illness.

The models developed in this study controlled for individual workers' temperament and personality, their IQ, level of education, prior mental health problems and a range of other factors from across their early lives.

The final modelling suggested that those experiencing higher job demands, lower job control and higher job strain were at greater odds of developing mental illness by age 50, regardless of sex or occupational class.

"Workplaces can adopt a range of measures to reduce job strain, and finding ways to increase workers' perceived control of their work is often a good practical first step. This can be achieved through initiatives that involve workers in as many decisions as possible," Harvey, who is also affiliated with the University of New South Wales in Australia, noted.

Catch up on all the latest Mumbai news, crime news, current affairs, and also a complete guide on Mumbai from food to things to do and events across the city here. Also download the new mid-day Android and iOS apps to get latest updates

This story has been sourced from a third party syndicated feed, agencies. Mid-day accepts no responsibility or liability for its dependability, trustworthiness, reliability and data of the text. Mid-day management/mid-day.com reserves the sole right to alter, delete or remove (without notice) the content in its absolute discretion for any reason whatsoever





edu

World Hypertension Day: Why and how you should reduce your salt intake


Representational Image

According to WHO, about 9.8 million people die every year due to hypertension-related complications. Hypertension is considered a silent killer producing heart disease, kidney failure and strokes. About 35 percent of world population above the age of 25 suffers from hypertension. One of the important strategies to lower hypertension in the population and its complications is reducing salt intake. Developed countries like Finland, United Kingdom, Australia and Canada have been actively campaigning for the reduction of salt intake in the population. In these countries, there has been a close association between government and NGO’s for this purpose. Finland was the first country to show an enormous health benefit by reducing salt in the diet. Not only the population’s health improves, there is also a great benefit in saving health expenditure related to heart revascularization and dialysis.

How does eating salt lead to or cause hypertension?

Eating salt increases the amount of salt in your blood, which ruins the balance of electrolytes and other vitamins and minerals in your body. This imbalance reduces your kidney's ability to filter out toxins from your body. It also reduces your kidney's ability to get rid of excess fluid from your body. This results in high blood pressure due to excess fluid in your body that exerts pressure on the blood vessels leading to the kidneys. 

How much is too much?

Dr Umesh Khanna, Senior Nephrologist and Secretary of Amar Gandhi Foundation said, “The WHO’s recommendation of salt intake from all sources is less than 5 grams per day. Salt or sodium is present in natural food, it is added while cooking and also used as a preservative for processed food. Considering the rapid economic growth that is happening in our country with urbanization and increased demand for processed food, it is imperative that we act at the earliest to control the salt intake of the Indian population.”

What happens when you reduce your salt intake?
“Salt or Sodium in various forms has been used as a preservative for several thousand years. It enhances the taste, prevents the growth of harmful microorganisms and can improve the texture of food, Taste is often a habit and high salt intake can saturate the taste buds. If you lower salt intake for 2 weeks you can start appreciating low salt intake and other tastes,” says Dr Umesh Khanna

What are the most common hidden sources of salt one should keep an eye out for?

Dr Umesh Khanna said, “Sodium in various forms is used as a flavouring, buffering, anticaking, leavening, thickening and stabilizing agent. The biggest culprit is in baked goods especially bread and instant noodles.”

How can a person start to reduce their salt intake?

Here are a few tips by Dr Umesh Khanna

Get used to low salt to allow the taste buds to recover: Not only does reducing your salt intake affect your blood pressure and other health parameters, it also helps you taste foods better.

Eat fresh food when possible: Since processed foods are packed with high levels of salt, switching to fresh and natural foods is the best way to reduce your daily salt intake.

Add less salt in cooking: With high amounts of salt added to food, your taste buds become immune to the level of salt and you will eventually need more salt in your food to bring out the taste you are looking for. Gradually reducing this amount will help you give up the high salt habit one step at a time. And since your taste buds will eventually become more sensitive to salt content in food, dishes made with low salt will start to taste as delicious as one with high salt content.

Do not add extra salt while at the table: A common practice in India is to provide a little bit of salt on the side of one’s plate while eating and to provide a salt shaker for one to spice up their soups. By stopping this practice, you can reduce your salt intake.

Use herbs and spices as flavouring agents: Ditch the salt and use herbs and other natural flavouring agents to your dishes that will help enhance the flavour while reducing your salt intake.

Dr Umesh Khanna, MD, DNB Nephrology, Lancelot Kidney & GI Center, Karuna Hospital & Asian Heart Institute. He is the Chairman, Mumbai Kidney Foundation, Trustee, Sapiens Health Foundation, Secretary, Mumbai Nephrology Group and the Secretary, Amar Gandhi Foundation

Catch up on all the latest Crime, National, International and Hatke news here. Also download the new mid-day Android and iOS apps to get latest updates

 




edu

Study finds way to reduce those food cravings

Representational picture

Washington D.C: Do you find it difficult to resist food cravings? Researchers have found that stimulating the brain with magnetic energy can help reduce food cravings in obese people. The technique has yielded positive results after just a single treatment session, revealing its potential to become a safer alternative to treat obesity, avoiding invasive surgery and drug side effects.

It has been reported that, in some obesity cases, the reward system in the brain may be altered, causing a greater reward response to food than in normal weight individuals. This can make patients more vulnerable to craving, and can lead to weight gain. This dysfunction in the reward system can also be seen in cases of addiction to substances, e.g. drugs or alcohol, or behaviours, e.g. gambling.

Deep Transcranial Magnetic Stimulation (dTMS) is a medical treatment that uses magnetic energy to stimulate neurons in specific areas of the brain. It is used to treat depression and addictive behaviours, and previous studies have suggested that dTMS could be a good option to reduce drug and food cravings. However, the potential mechanism driving these changes had not been investigated until now.

In this study, Professor Livio Luzi and colleagues, from the Istituto di Ricovero e Cura a Carattere Scientifico Policlinico San Donato, Italy, investigated the effects of dTMS on appetite and satiety in obese people.

They studied the effects of a single 30-minute session of dTMS, at a high or low frequency, on blood markers potentially associated with food reward in a group of 40 obese patients. They found that high-frequency dTMS significantly increased blood levels of beta-endorphins - neurotransmitters involved in producing heightened feelings of reward after food ingestion - compared to low-frequency dTMS or controls.

"For the first time, this study is able to suggest an explanation of how dTMS could alter food cravings in obese subjects" said Luzi. "We also found that some blood markers potentially associated with food reward, for example glucose, vary according to gender, suggesting male/female differences in how vulnerable patients are to food cravings, and their ability to lose weight."

"Given the distressing effects of obesity in patients, and the socioeconomic burden of the condition, it is increasingly urgent to identify new strategies to counteract the current obesity trends. dTMS could present a much safer and cheaper alternative to treat obesity compared to drugs or surgery", Professor Luzi adds.

The results of the study were presented in Barcelona at the European Society of Endocrinology annual meeting, ECE 2018.





edu

Buyers say tokens reduce wait time to get alcohol

At a time alcohol sales have been barred in Mumbai, its sales in 18 districts of Maharashtra on Wednesday yielded Rs 43.75 crore. A few buyers claimed the token system introduced to reduce crowds helped them get their tipple faster.

After seeing the crowds in Mumbai that gathered to buy their favourite drink without caring about social distancing, the State Excise Department had released a new set of guidelines for all liquor shops, which included a form that customers would have to fill in with their personal details and take a token. The excise department said not more than 50 tokens can be issued per hour. Assuming there will be 50 customers per hour, a wine shop can supply a maximum of 400 customers per day. If more customers come, they will be issued tokens for the next day.

All alcohol vendors have been asked to sell liquor only through this token system. mid-day spoke to a few buyers outside the BMC limits about their experience.Some of them said the system helped as they did not have to stand in queues for a long time.

Was asked to wait till 11 am
Suresh Jadhav from Thane, who bought liquor from J K Wine Shop on Bhiwandi-Kalyan Road, said he was asked to take a token. It was number 72 and he was asked to come at 11 am. Jadhav said, "When I reached the store at the given time, there was not much crowd. Due to the token, I did not have to stand in line for long."

Munna Pandey, another Thane resident, who went to the same shop, said he took a token and was asked to come at 1 pm. "When I reached the shop at 1 pm, there were 15 to 17 people standing in front of me. I wrote my name, the name of the brand and my mobile number in the form. I took a total of 4 bottles. It took me about half an hour to get my liquor," Pandey said.

Catch up on all the latest Mumbai news, crime news, current affairs, and a complete guide from food to things to do and events across Mumbai. Also download the new mid-day Android and iOS apps to get latest updates.

Mid-Day is now on Telegram. Click here to join our channel (@middayinfomedialtd) and stay updated with the latest news




edu

Nikki Bella wants a foot massage and tries to seduce her fiance Artem for it! See Photo

WWE former Diva and superstar Nikki Bella is quite an active sports star on Instagram. Nikki Bella is currently engaged to her Dancing With The Stars partner Artem Chigvintsev, who is a Russian professional dancer during season 25.

Nikki Bella went on to share a picture of her cosied up in bed watching some television along with Artem after she put on her make-up. Nikki also went on to say that she was trying her hardest to seduce Artem into giving her a foot massage. Take a look at the fun post below on Instagram.

Nikki Bella began dating Artem following her break-up from WWE superstar John Cena. John Cena and Nikki Bella got engaged in April 2017 but called off their wedding a year later in April, just a month prior to tying the knot.

Nikki Bella and Artem Chigvintsev began dating in January 2019 and a year later, the couple announced they were engaged. On 29 January, Nikki Bella announced that she and her twin sister Brie Bella were expecting a child, respectively.

Catch up on all the latest sports news and updates here. Also download the new mid-day Android and iOS apps to get latest updates.

Mid-Day is now on Telegram. Click here to join our channel (@middayinfomedialtd) and stay updated with the latest news




edu

Strong friendships in office among women may reduce conflicts

Attention women! It's time for you to make friends in your office as a study has found that strong friendships among women co-workers, especially in male dominated organisations, are less likely to experience conflicts.

Researchers from the Institute For Operations Research And The Management Sciences suggested that when employers foster an office environment that supports positive, social relationships between women coworkers, especially in primarily male dominated organisations, then they are less likely to experience conflict among women employees.

Study author Jenifer Merluzzi from George Washington University conducted the study. The team surveyed 145 management-level employees regarding workplace dynamics at two large U.S. firms that were primarily male-dominated environments, with women representing less than one-third of the workforce.

They found that while men and women are equally likely to cite having a difficult co-worker, compared to men, women are more likely to cite another woman as a difficult co-worker than they are to cite a man, or not cite anyone. However, this tendency is reduced among women who cite having more women coworkers for social support and friendship at work.

Knowing that unique gendered network characteristics such as the gender compositions of an employee's social support at work were associated with negative ties can help organisational leaders anticipate potential trouble spots within their firms where gendered conflict may erupt.

"Understanding the relational side of conflict also bears practical importance as companies increasingly organise using diverse teams, heightening the reliance on informal ties between and within gender to get work accomplished,' Merluzzi noted. The research appears in the journal of Organization Science.





edu

Coronavirus outbreak: Education bookshops, fan shops to be exempted from lockdown, says Home Ministry

The Union Home Ministry has extended relaxation to several agriculture and commercial industries from the lockdown restrictions. In the commercial sector, shops selling textbooks and establishments selling electric fans can also operate.

In the agricultural sector, the relaxation has been extended to facilities for export or import such as pack houses, inspection and treatment facilities for seeds and horticulture produce. It also includes relaxation to research establishments dealing with the agriculture and horticulture activities and the inter- and intra-state movement of planting materials and honey bee colonies, honey and other beehive products.

The Union Home Ministry also also ordered Standard Operating Procedure for the sign-on and sign-off of Indian seafarers (crew members) at Indian ports and their movement. According to the SOP laid down for sign-in of a Indian crew member, the ministry said that the seafarer will have to intimate their travel and contact history for the last 28 days to the ship owner or the recruitment and placement service.

The SOP can be followed through email, as per procedure laid down by the Director General of Shipping.

In a late development, the Home Ministry released a detailed SOP for disembarking and subsequent repatriation of seafarers stranded in ships and different ports-of-call across the world in view of the COVID-19 pandemic.

The development, which was welcomed by Goa Chief Minister Pramod Sawant late on Tuesday, comes on a day when more than 60 Goan crew-members onboard cruiseship Marella Discovery, anchored off Mumbai, had released a video urging Sawant to allow them to disembark urgently, with the ship scheduled to sail for Europe on Wednesday.

"I thank Prime Minister Narendra Modi and Home Minister Amit Shah for permitting the disembarking of seafarers at Indian ports. Goans stranded on the high seas will now soon be back home. I would request all the seafarers and their families to support the government in safe return of all our stranded brothers and sisters," Sawant said in a social media post on Tuesday.

According to government sources, the cruiseship currently has more than 100 Indian sailors, out of which more than sixty are from Goa. Earlier on Tuesday, after the video by the ship's Goan crew members went viral, the Opposition MLAs urged Sawant as well as Prime Minister Narendra Modi's urgent intervention in the issue.

"The crew member however will be tested for COVID-19 before boarding the ship and will be allowed to sign-in only if he is tested negative," the ministry said.

"For sign-off purposes, the Indian seafarer arriving on the vessel would undergo the COVID-19 test for confirmation that he/she is negative for COVID-19," it added. The crew member will be kept in a quarantine centre until the report arrives.

According to Goa CM Sawant, more than 8,000 seafarers of Goan origin, are stranded in various anchored ships and ports-of-call across the world. Sawant had said that the process for repatriation would only begin after the SOP was released by the MHA.

The SOP mandates testing of all sailors disembarking on Indian ports for Covid-19, followed by quarantine at a facility operated either by the port or by the respective state government where the port is located, until the test reports are received.

"If the seafarer is tested as positive for COVID-19, he/she will be dealt as per the procedures laid down by the Union Ministry of Health and Family Welfare," the SOP states.

"For the seafarers tested negative and signed off, the local authority in the area where the seafarer disembarks will be intimated about his/her clearance for sign-off and for issue of a transit pass from the place of disembarkation to the place of his/her residence," it also states.

Catch up on all the latest Crime, National, International and Hatke news here. Also download the new mid-day Android and iOS apps to get latest updates.

Mid-Day is now on Telegram. Click here to join our channel (@middayinfomedialtd) and stay updated with the latest news

This story has been sourced from a third party syndicated feed, agencies. Mid-day accepts no responsibility or liability for its dependability, trustworthiness, reliability and data of the text. Mid-day management/mid-day.com reserves the sole right to alter, delete or remove (without notice) the content in its absolute discretion for any reason whatsoever