News for hackers. Stuff that matters.
[dead]
Re:The Ant Design Christmas Egg That Went Wrong by jdietrich on Tuesday December 25, 2018 @06:26PM (#18759612)
"Third world" is a nonsense term that gives a completely misleading picture of global wealth distribution and helps to perpetuate negative stereotypes [0]. China's PPP GDP per capita is almost exactly the global average and higher than many Eastern European countries. They are practically the definition of a middle-income country.

How would American companies react if their website suddenly started showing messages celebrating Eid al-Fitr for no apparent reason? Would you expect them to blithely laugh it off as harmless festive high-jinks?

[0] https://www.gapminder.org/videos/hans-rosling-ted-2006-debun...

Re:The Ant Design Christmas Egg That Went Wrong by crooked-v on Tuesday December 25, 2018 @06:07PM (#18759549)
I know the US and various western European countries have been having all kinds of trouble lately, but I don't think they're "third world" quite yet.
Re:The Ant Design Christmas Egg That Went Wrong by seniorsassycat on Tuesday December 25, 2018 @07:14PM (#18759755)
First and third world country refers to cold war alegiences not development status, the first world is The US and it's allies, second world is USSR and it's allies, and the rest of countries are third world.
Re:The Ant Design Christmas Egg That Went Wrong by crooked-v on Thursday December 27, 2018 @04:46PM (#18772894)
You missed the point of the joke.
Re:The Ant Design Christmas Egg That Went Wrong by jmvoodoo on Tuesday December 25, 2018 @06:54PM (#18759691)
US, Western EU countries, and even China are by definition not third world.
Re:The Ant Design Christmas Egg That Went Wrong by crooked-v on Thursday December 27, 2018 @04:46PM (#18772895)
You missed the point of the joke.
Re:The Ant Design Christmas Egg That Went Wrong by delinka on Tuesday December 25, 2018 @06:12PM (#18759562)
To answer your question: if you want your project used by others, it's best not to rock the boat. Which leads me to ask why anyone would muck about with something that could affect other projects' production code?

My response to this little fiasco: why is anyone relying on externally-hosted, malleable code in a production environment? Run a repo, package it with your app ... whatever it takes to have a stable release.

Re:The Ant Design Christmas Egg That Went Wrong by mp3k on Tuesday December 25, 2018 @06:53PM (#18759685)
The code was there for months, there was just time trigger for 25th of Dec.

I'm loving ant, but this was stupid. At least it's free advertising so the project's user base can grow.

Re:The Ant Design Christmas Egg That Went Wrong by crooked-v on Tuesday December 25, 2018 @06:14PM (#18759569)
It sounds from the description like this "feature" was added in an earlier version, not something literally released on Christmas.
Re:The Ant Design Christmas Egg That Went Wrong by c22 on Tuesday December 25, 2018 @06:56PM (#18759704)
The point still stands. If open source code is vital to your business you should probably at the very least audit it.
Re:The Ant Design Christmas Egg That Went Wrong by mp3k on Tuesday December 25, 2018 @07:10PM (#18759747)
Good advice. Funny thing is, from May I'm working on a big project, where we use ant extensively. We pushed the limits of almost all the available components, found several issues, enhanced it in our custom wrappers. In that time, I was going through the sources of components several times, not only of the ant itself but also through sources of react-components on which the ant is built.

YET I HAVEN'T EVER INSPECTED THE BUTTON COMPONENT. Would be super funny if I would have found that christmas egg this summer...

Now as I'm thinking about it, we have EnhancedButton, which gets 'block' boolean prop to make it full-width. I was used to that from react-bootstrap and even had the idea to open feature request on antd... In that case I would certainly open the button.tsx...

Anyway, great episode in the frontend world.

Re:The Ant Design Christmas Egg That Went Wrong by PhasmaFelis on Tuesday December 25, 2018 @09:27PM (#18760094)
"Third-world countries" is both inaccurate and misses the point. A much better question is, should we cater to autocracies trying to suppress their citizens' religious freedom? I'd say the answer is no, whether it's China, the actual third world, or the USA or Europe. https://www.theguardian.com/world/2018/dec/24/china-cracks-d...
Re:The Ant Design Christmas Egg That Went Wrong by ars on Tuesday December 25, 2018 @06:21PM (#18759595)
Obviously they should try.

And since when is not wanting a Christian holiday displayed on your site a third world country thing?

Re:The Ant Design Christmas Egg That Went Wrong by monochromatic on Tuesday December 25, 2018 @07:22PM (#18759779)
Why is that obvious?