Notices tagged with javascript, page 16
-
La Guía Linux (laguialinux@gnusocial.net)'s status on Monday, 15-Jan-2018 05:25:58 EST La Guía Linux
El plugin/complemento para #firefox que permite solo ejecutar #Javascript libre (bloquea el cerrado) necesita mantenedores.
Actualmente no se encuentra para firefox #Quantum.
¿Conoces alguna #alternativa para la misma función?
Información oficial:
https://www.gnu.org/software/librejs/
#laguialinux #lgl #linux #fsf #js #gnu -
lnxw48a1 (lnxw48a1@nu.federati.net)'s status on Sunday, 14-Jan-2018 23:47:13 EST lnxw48a1
@xahlee One reason they do all those things is because the browsers' implementation support is so scattered. I'm not saying they are right, but the alternatives are either 1997-era "this site works best in Internet Explorer 4" buttons or limit functionality to #JavaScript subsets that are broadly supported.
Or, you know, create sites that mostly work without relying on JS. Has the industry forgotten "progressive enhancement" again? -
∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 14-Jan-2018 23:39:34 EST ∑ XahLee
yesterday, i took half a day to convert #javascript object to es2015 Map, for much more proper code. Today, i had to revert it back, cuz apparently lots browser still can't do Map. So i got more angry at these js "compilers" namely #TypeScript etc really fake compilers.
of course, the industry monkeys will say u should “polyfill”. fill them hindquarters. If u do, the import/require syntax is not even valid es2015 code. Dragging in complex fancy packagers. WTF is comp sci when u need it?
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 14-Jan-2018 22:56:27 EST ∑ XahLee
it's super annoying, that the #javascript compilers out there, including @typescriptlang @babeljs they do nothing to new functions such as Map/Set. So, they are not really compilers, just transform syntax.
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 14-Jan-2018 17:09:41 EST ∑ XahLee
understand #JavaScript Closure in 3 minutes
http://xahlee.info/js/javascript_closure.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 14-Jan-2018 06:26:14 EST ∑ XahLee
the utter confusion of of the concept “Operator” in Computer Languages
http://xahlee.info/comp/whats_operator_in_comp_lang.html
#JavaScript -
∑ XahLee (xahlee@noagendasocial.com)'s status on Saturday, 13-Jan-2018 20:50:34 EST ∑ XahLee
#JavaScript tip:
clear array by
「ar.splice(0)」
better than 「ar=[]」
because the latter assingns a new value.
Is a problem if the variable is a constant.
JS: Array.prototype.splice
http://xahlee.info/js/js_array_splice.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Saturday, 13-Jan-2018 18:28:50 EST ∑ XahLee
ask me question on patreon this weekend. emacs, #JavaScript, keyboard, or any tech stuff on my site.
https://www.patreon.com/posts/16282546if you like my work, put money there. Thanks.
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Saturday, 13-Jan-2018 16:07:14 EST ∑ XahLee
#JavaScript the JSON[Symbol.toStringTag] is interesting one, new in ES2015.
To understand it fully, see
http://xahlee.info/js/js_determine_object_type.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 12-Jan-2018 22:11:20 EST ∑ XahLee
here's my superb #JavaScript incarnation.
The BEST Unicode/Emoji Search on the web, period.
http://xahlee.info/comp/unicode_search.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 12-Jan-2018 21:27:39 EST ∑ XahLee
learn advanced #JavaScript .every() and .some()
Array.prototype.every
http://xahlee.info/js/js_array_every.htmlArray.prototype.some
http://xahlee.info/js/js_Array.prototype.some.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 12-Jan-2018 20:53:29 EST ∑ XahLee
new #JavaScript insight. Do not use .every() or .some() for the purpose of loop with break, just cuz you like functional programing. In js, every and some semantics is loop anyway. But the syntax makes it 10 times harder to read.
-
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 12-Jan-2018 12:14:32 EST ∑ XahLee
more #JavaScript in Depth update:
Function.prototype
http://xahlee.info/js/js_Function_prototype_properties.htmlSet an Object's Prototype
http://xahlee.info/js/js_set_objects_prototype.html -
Bob Jonkman (bobjonkman@gs.jonkman.ca)'s status on Friday, 12-Jan-2018 10:59:33 EST Bob Jonkman
Worst case of a #Javascrippled site I have ever seen, misleading the naive user to think that running without #Javascript is a security problem. #JSDR (Javascrippled, Didn't Read) https://gs.jonkman.ca/attachment/42428 -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 12-Jan-2018 10:08:47 EST ∑ XahLee
☯ ⚡ ∑ ♥ 😄.
Best unicode/emoji search there is.
http://xahlee.info/comp/unicode_index.html
Brand new sparkling #JavaScript code. -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 12-Jan-2018 09:51:27 EST ∑ XahLee
#JavaScript impossible to combine these into 1 line. Can you?
const unicodedata = {};
(data_str.split("\n")) . forEach ((x) => { ((y) => {unicodedata[ parseInt( y[0], 16 )] = y[1];}) (x.split(";")) }); -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 12-Jan-2018 09:23:51 EST ∑ XahLee
#javascript in depth, understand the most confusing thing property key named "prototype" in 10 minutes
http://xahlee.info/js/javascript_object_prototype_property.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 12-Jan-2018 00:49:54 EST ∑ XahLee
#JavaScript #semicolonwar all over again. See @BrendanEich has to say. But Douglas Crockford will probably disagree.
https://twitter.com/xah_lee/status/951677715840512000
if you are not familiar with #javascript semicolon issues, see
http://xahlee.info/js/js_semicolon.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 11-Jan-2018 17:31:08 EST ∑ XahLee
#JavaScript In Depth update today.
Function.prototype.constructor
http://xahlee.info/js/js_Function.prototype.constructor.htmlSet.prototype
http://xahlee.info/js/js_set_prototype.htmlSet.prototype.values
http://xahlee.info/js/js_Set.prototype.values.html -
∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 10-Jan-2018 17:24:39 EST ∑ XahLee
To many programer idiots, when they learned about x = y or 3, they think, “omg, this is cool!”, cuz it is not intuitive and short, to them, they learned a fancy trick! And they proceed to tell everyone to use it as “idiom”. #python #JavaScript #haskell #lisp