Also... a nitpick, but `new Symbol` always throws a TypeError. And Symbol.for() is a useful escape hatch.
1,606 karma · joined November 12, 2012
Also... a nitpick, but `new Symbol` always throws a TypeError. And Symbol.for() is a useful escape hatch.
I mean, in this scenario most Labor MPs keep their jobs, while thousands of people face an uncertain future as companies openly contemplate the risks of hiring Australians or doing business here, and perhaps millions risk their cybersecurity being covertly weakened. If you are subject to Australian law, you have just as much skin in this ‘game’ as the politicians themselves, if not more. After all, the law does apply to you.
> I wish the world were different, but it just isn't. Given a modest 1/10,000 possibility of some "terror" attack over Christmas, would a rational actor hang their political future on an issue that 99.99% of average Aussies don't understand?
Again, please define rational. Is Labor’s only rational plan to amass as much political power as possible at the least cost? To absolutely eliminate any risk of losing the next election by being as uncontroversial as possible? I’m not so cynical as to think there aren’t any technologically literate or principled people in the Labor Caucus, so I’m rather disappointed they simply went AWOL when they were needed most.
Labor just had an election in Victoria where News Corp went pretty hard after them on law and order for several months – yet they won. They weren’t going to lose federally in the next six months because of this bill.
> I hate this bill. I hate that we're moving in the direction of a world with mass surveillance, but realistically, if we take off our rose coloured glasses, and putting aside political idealism, would we expect Labor to do any different?
You’re sounding awfully defeatist. Labor didn’t have a gun to their head, either metaphorically or literally. They do actually have political power and they are allowed to use it. Be as cynical as you like, but opposition parties are still allowed to oppose things on principle.
I absolutely, as an Australian citizen, resident and voter, have skin in the game.
Labor losing the next election just because they refused to pass this specific bill is an extremely unlikely course of events. I don’t find it particularly rational – especially when the urgency to do so is blatantly manufactured and it was so widely opposed by public submissions – to pass a potentially disastrous, under scrutinised and widely criticised law, just because you’re worried a hypothetical scare campaign might work. It sounds a lot like paranoia or cowardice.
> Politics isn't like Internet armchair quarterbacking, you do what you can to ensure that a) your position is safe, and b) that you will lose the battle to eventually win the war.
What’s the war here? If you keep losing battles you’re certain to lose the war.
If the war is the election, Labor could certainly have afforded to lose this PR battle. If the war is cybersecurity policy in Australia, then I think the tech industry and tech users are getting quite sick of people trying to make excuses for yet another surrender.
> The privilege of never compromising on your values is reserved for the rest of us who have nothing to lose by criticizing the process.
A lot of people have a lot to lose if the process is abused or outright fails.
It’s legislative and electoral cowardice more than political pragmatism.
I mean a collections of components like Polymer. Unless you plan on maintaining everything yourself, both React and Web Components share the same problem here.
> This universal compatibility and better reliability makes Web Components a better choice today for creating reusable components, than React.
You can mix and match any and all frameworks and Web Components if you try want. And again: React and Web Components mostly solve different problems. One isn’t going to directly cannibalise the other. You can use both.
Modules have existed in JavaScript for several years now, and there are numerous solutions for dealing with global CSS (CSS Modules, Glamor, etc). There are many large production web applications using React, probably generating billions of dollars worth of business - I don’t think they’re “brittle”.
> You can implement the same element as a Web Component and now it will work in any application regardless of framework... you can just drop in and it will work.
Sure, you can just drop a Web Component into any framework. People use React for a lot more than just defining components - they use it for data fetching, animations, etc.
> If your application has conflicting css classes or element ids or javascript variables the Web Component will still work reliably.
If this is the case I think you’ve got much bigger problems with your app than choosing which JavaScript library you’re going to use. React apps will work despite conflicting element IDs as well, but they’re still a bug in your app. Web Components don’t magically get rid of JavaScript variables. CSS classes still matter unless your whole app is going to live in the Shadow DOM, which isn’t really what the Shadow DOM is for.
> That’s hot! React components will feel a bit cold as cross-framework Web Components take over.
Again - you can use both. They solve different problems.
“Master” vs “mister” is annoying because technically there are a lot of rules about the use of one or the other, but these rules differ considerably between countries. Apparently in parts of the US it would be rude to refer to anyone over 12 as “master”, but in other situations I’ve been told it’s perfectly acceptable until early adulthood, or until one becomes a father or marries. I generally hope forms only give me “Mr.” as an option.
* I regularly get letters addressed to my first name and my middle name, missing my surname.
* Banks and airlines always seem to try a different way of dealing my middle name, from only using an initial to abbreviating it to anywhere from three to six characters.
* A friend once got issued travel documents where all of their given names were concatenated together (no spaces) and printed after their last name.
* Many websites still require you to pick an honourific from a drop down menu, but the options vary considerably (and usage is different in every country, even with a common language). Just make it a text field and be done with it.
I really don’t think it’s too difficult nowadays, especially if you’re writing something from scratch, to just accept really long Unicode strings and store given names and surnames separately. And it’s not like testing this is difficult - you can find datasets of a few hundred names in different languages and scripts fairly easily.
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[0] https://docs.google.com/presentation/d/1jPsw7EGsS6BW59_BDRu9...
[1] https://github.com/tc39/proposals/blob/master/stage-0-propos...
[2] https://github.com/rwaldron/tc39-notes/blob/b8da60318b564f13...
But yes, time is complicated, especially when multiple jurisdictions are involved.
"month" means a period beginning at the start of any day of one of the calendar months and ending—
(a) immediately before the start of the corresponding day of the next calendar month; or
(b) if there is no such corresponding day—at the end of the next calendar month.
Examples
1 The period beginning at the start of 8 May 2014 and ending at midnight on 7 June 2014 is a month.
2 The period beginning at the start of 30 January 2014 and ending at midnight on 28 February 2014 is a month. The month ends on the last day of February because in that year, February does not have a day corresponding to 29 January (because 2014 is not a leap year). If the period began at the start of 30 January 2016 (ie a leap year), the month would end at midnight on 29 February 2016.
Note: An example is part of the Act, is not exhaustive and may extend, but does not limit, the meaning of the provision in which it appears (see Legislation Act, s 126 and s 132).
Example 2 is extremely relevant.[0] http://www.austlii.edu.au/cgi-bin/viewdoc/au/legis/act/conso...
I’m not too familiar with how all the various serverless platforms work, but a decent bundler would surely improve the cold start times of most JavaScript functions. Deploying dozens of megabytes of dependencies across dozens and dozens of files is obviously going to result in a longer start up time than uploading a single bundle generated by webpack or Rollup.
Enforcing a single <1MB file [0] seems to have at least partly allowed drastically improved cold start times for Cloudflare Workers in comparison with AWS Lambda, Azure Functions and Google Cloud Functions (although Cloudflare Workers also a much smaller feature set).
[0] https://developers.cloudflare.com/workers/writing-workers/st...
www.sparational.com seems to have gone down since I started writing this comment, but when I clicked on the link, it seemed to have quite a considerable wait until anything appeared on the screen.
Panera Bread is a company with over 2000 locations, almost 50,000 employees and more than $2 billion in revenue. They let highly sensitive information about millions of customers -- such as dietary requirements, contact details, credit card numbers -- remain publicly accessible for eight months, despite being alerted to it and accepting that it was a legitimate report. Then, once the media found out, they were misleading about the extent of the problem and didn’t even fix it properly.
There are not excuses for a company of Panera Bread's size, with someone actually employed as an 'Information Security Director', to be this incompetent.