    'Grammar': lambda n, c: {k: v for k, v in filter(bool, c)},
    'Definition': lambda n, c: (c[0].value, c[2]),
    'Expression': lambda n, c: Choice(list(c[::2])),
    'Sequence': lambda n, c: Sequence(c),
    'Prefix': lambda n, c: (c[0] if len(c) == 1 else
                            c[0](c[1])),
    'Suffix': lambda n, c: (c[0] if len(c) == 1 else
                            c[1](c[0])),
    'Primary': lambda n, c: (c[1] if c[0] is None else
                             c[0]),
    'Identifier': lambda n, c: Identifier(str(b''.join(c[:-1]),
                                              encoding='utf-8')),
    'IdentStart': lambda n, c: c[0],
    'IdentCont': lambda n, c: c[0],
    'Literal': lambda n, c: Literal(bytes(c[1:-2])),
    'Class': lambda n, c: Class(c[1:-2]),
    'Range': lambda n, c: (c[0] if len(c) == 1 else
                           (c[0], c[2])),
    'Char': lambda n, c: (c[0][0] if c[0]!= b'\\' else
                          ord('\n') if c[1] == b'n' else
                          ord('\r') if c[1] == b'r' else
                          ord('\t') if c[1] == b't' else
                          ord("'") if c[1] == b"'" else
                          ord('"') if c[1] == b'"' else
                          ord('[') if c[1] == b'[' else
                          ord(']') if c[1] == b']' else
                          ord('\\') if c[1] == b'\\' else
                          int(b''.join(c[2:]), 16)),
    'Hex': lambda n, c: c[0],
    'AND': lambda n, c: And,
    'NOT': lambda n, c: Not,
    'QUESTION': lambda n, c: Optional,
    'STAR': lambda n, c: ZeroOrMore,
    'PLUS': lambda n, c: OneOrMore,
    'DOT': lambda n, c: Dot()
}
Laws to protect public interest journalism should be beefed up and a culture of transparency promoted, a senate committee report on press freedom has recommended.
Media companies told the inquiry that press freedom and the protection of whistleblowers is essential to democracy and must be balanced with national security issues.
Tabled in parliament on Wednesday, the report has 17 recommendations, including improving the freedom of information laws which often produce documents so redacted they are useless and amending the criminal code to reverse the onus on journalists to prove their stories are in the public interest.
Chaired by Greens senator Sarah Hanson-Young, the inquiry was sparked by the Australian federal police raid in 2019 of the home of a News Corp reporter seeking information about the publication of classified material, shortly followed by a raid on the ABC headquarters over reporting of alleged war crimes in Afghanistan.
Last year the AFP ruled out pursuing charges against the journalist, Annika Smethurst, or anyone else for her story revealing plans to extend the Australian Signals Directorate’s spying powers.
Commonwealth prosecutors also declined to charge the ABC journalist, Dan Oakes, due to “public interest” considerations.
National and international outrage followed the raids, which were seen as an attack on press freedom, and resulted in assurances journalists will not be prosecuted without the attorney general’s consent.
“The 17 recommendations in this report show we do need to change some of our laws to make sure we protect Australians’ right to know,” Hanson-Young said.
“Covid-19 has shown access to accurate and comprehensive news has never been more important. Yet at the same time, we have also witnessed less information being available to the public under the guise of Covid and national security.
The senate report follows the release in August of the report from another inquiry sparked by the raids: the parliamentary joint committee on intelligence and security (PJCIS).
The parliamentary joint committee said media companies should be left in the dark before warrants are executed, but a public interest advocate should make the case for press freedom in warrant hearings.
For offences where national security encroached on press freedom, warrants should be issued by a judge of a superior court of record, responding to concerns that the ABC warrant was issued by a registrar of a local court.
Constitutional law scholar Rebecca Ananian-Welsh, a senior lecturer at the University of Queensland, said the recommendations go further than the PJCIS did last year.
“It says, in more powerful language, that press freedom and openness are really important; that government accountability and transparency are really important and we need to do more to promote those things,” Ananian-Welsh told Guardian Australia.
In a dissenting report, government senators said they couldn’t agree to all the committee’s recommendations because some overlapped with PJCIS’s, some were already in train and some were contradictory.
In a minority report the Greens called for a Media Freedom Act to enshrine protections for public interest journalism.
The Media, Entertainment & Arts Alliance said the recommendations would help to curb the growing culture of government secrecy, stop the persecution of whistleblowers and prevent journalists being prosecuted for simply doing their jobs.
Meaa media president Marcus Strom said the report went a long way to clawing back the overreach of national security laws.
“After almost two decades of increased secrecy, culminating in prosecution of journalists for doing their jobs, these recommendations would restore confidence for journalists that they can report on national security issues without the threat of prosecution,” Strom said.
Strom welcomed the recommendations to amend the Asio Act, the Criminal Code Act and the use of coercive powers to prosecute journalists under the Crimes Act.
The Human Rights Law Centre’s senior lawyer Kieran Pender said the public had the right to know what our government does in our name and protecting whistleblowers is vital to our democracy.
“As recommended by the committee, the government should urgently reform whistleblowing law, overhaul draconian secrecy law and legislate better protections for journalists,” Pender told Guardian Australia.
Home Deals Say Goodbye To The Dead Spots & Buffering With This Discounted eero...
Amazon’s is now offering’s its eero 6 dual-band mesh Wi-Fi 6 extender for $71. Today’s special offer allows you to save directly $18 without applying any special discount code at the checkout.
An eero 6 extender extends your existing eero mesh wifi system’s Wi-Fi 6 coverage by up to 1,500 sq. ft. A pre-existing eero network is required for eero 6 extenders. To maximize coverage throughout your home, you can add as many eero 6 extenders as you need.
The eero app guides you through the process of adding an eero 6 extender and is backward compatible with previous Wi-Fi generations. In addition, free customer support is available seven days a week.
TrueMesh technology is used by eero to intelligently route traffic and reduce drop-offs, allowing you to confidently stream 4K video, games, and video conferences.
Automatic updates provide the most up-to-date wifi technology while also keeping your network safe and secure. Don’t miss this wifi extender for your home today at an affordable price before it sells out.
Q: PHP upload_max_filesize not obeyed PHP /etc/php.ini is not obeying upload_max_filesize
Details:
using <?php echo phpinfo();?> I can see that the 'Loaded Configuration file' is /etc/php.ini
Within this file I have the values:
file_uploads = On
upload_max_filesize = 12M
post_max_size = 12M

BUT 
the phpinfo(); shows upload_max_filesize 2M   
After restarting Apache serveral times this value is never obeyed whatever I change the upload_max_filesize and max_post_size.
I have worked around this issue by using a.htaccess directive
php_value upload_max_filesize 12M
php_value post_max_size 12M

This has allowed the upload value to be changed and the PHPINFO() now shows the value correctly.
Directive            Local Value    Master Value
upload_max_filesize  12M            2M

The question is: why is the /etc/php.ini file not being obeyed in the first place?
Running CentOs 5.4, php 5.3.29
Searched (grep -inr '2M' *) in /etc/php.d/* with nothing found.
Why is it not listening to the main php.ini file which it says it's using?
Already looked at
PHP upload_max_filesize
and
Changing upload_max