Details
-
AboutScript kiddie. For now.
-
Skillsjs. vanilla.
-
LocationMunich, Europe
Joined devRant on 12/7/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
On the topic of dialect: I've lived in Munich my whole life and almost never hear someone speak Bavarian, also a majority here can't speak Bavarian, thus you won't really need it. Might be different for some of the older neighborhoods (e.g. Lehel, I guess) though.
-
@gathurian More likely, they didn't even bother to notice it might be a problem.
-
@UltraJason nah, that one is bad, it needs js to load the css. Otherwise it is several full-page logos. WHY?
-
ordered back when I read this rant, arrived today.
Finally :-) -
.
-
@kosimst Thank you!
-
What font is that?
-
Wait, this *isn't* a tree?
-
@-xlf (Sorry for spamming comments, but it seems like its always taking me 6 minutes to edit)
looks like there is a vanilla Drag-and-Drop API: https://developer.mozilla.org/en-US...
(one used to need a library/self-coded solution for that, I think)
Doesn't work on mobile, apparently: https://caniuse.com/#feat=dragndrop , though the site links a polyfill. (only one feature, thus lighter than a whole framework) -
@-xlf (Can't edit anymore)
Also, much stuff jquery started out with is now built-in, also it fixes some quirks of older browsers, but if you don't need to support ie8, you should definitely be fine. (Probably even if.)
To clarify the WebAssembly thing: half as fast as native means a lot faster than js (or any js-library/framework).
Also, if you haven't heard about it: The Mozilla docs are great for vanilla front-end. (developer.mozilla.org) -
on the topic of tables: If it actually *is* tabular data, like you mentioned in a comment, *do* use <table>s, that's what they're for. Just don't use them for layout.
(Main reason, afaik, is to tell everything non-visual (screenreaders, search bots, ...) what stuff is meant to be, as they can't judge by what you tweaked it to look like. I read, for example, that screenreaders repeat the first line, so that one knows what column one is actually in, which might turn out to be the menu, if you use <table>s for layout.)
EDIT:
on the topic of performance: I recall seeing some measurements indicating that using vanilla js tends to be 2-10 times faster than e.g. jquery. If you want to do really heavy computations, you can use Emscripten, which compiles C (and others) to WebAssembly, a binary format, which is said to be about half as fast as a native implementation. Works in recent browsers only however. -
.
-
@electrineer Actually, doesn't appear to be *that* uncommon:
e.g.: I never hear anybody say
"age tea em el", instead, we say "ha te em el" (html)
or, with names: I don't think English people say "Louis quatorze", in German, we actually also translate the name, too, he's called "Ludwig der Vierzehnte" in history class here. I do admit that this isn't done for contemporary names, still non-pronounceable parts of the written names are still translated, such as "Elizabeth the second / die Zweite" -
sounds lethal even if played with water instead of alcohol...
-
@Hammster C-Fis, however, in German, would translate to C-F-sharp.
I think I'm going to call it Cis (musical translation of C sharp) when talking German.
German speaking people here, any better suggestion? -
@coderme I think rather a production dependency. DevDependency would mean his parents needed coffee back when....
-
@Julien00859 me too.
-
@cuidas Dumb minds think alike. (not talking about you)
Also, there they say what I meant with "enough". (Which makes the whole thing not actually feasible, I know.) -
I guess one would have to organize and/or automate in order to be successful. Last thing might be difficult as this is about captchas. Any ideas?
-
now this is a *real* dark theme.
-
@leanrob For Dash, there's Zealdocs.org for Win and Linux, feeds from the same source.
For the rest I don't know. -
@rEaL-jAsE be sure to write this down and read it off some note every time with the exact same wording.
-
@gamingfail123 Definitely.
-
@gamingfail123 have you read / listened to "Die Känguru-Offenbarung" by Marc-Uwe Kling? There, in one chapter, the protagonist calls the NSA who then helps him out of being lost in New York...
[It's the 3rd part of a trilogy btw, but who cares]
{yes, I checked first that you are from Germany.} -
we really need some sort of indentation preserving code block here in devRant...
-
var obj;
obj.forEach((c,i,a)=>{
c.forEach((c2,i2,a2)=>{
for(p in c2){
c2.p.forEach((c3,i3,a3)=>{
for(p2 in c3){
...
}
});
}
});
}); -
@bahua I believe that Javascript will be the only language to survive till then (besides Flash perhaps :-( ), as in web dev you don't have full control: For switching from, idk, Fortran to C, you'll have to rewrite your code and exchange the compiler, all on your own system. To switch away from js, you'll have to make everyone update/exchange their browsers...
-
3rd tag: wait what?? Why would they?
-
@jschmold this does seem to work:
function Sum(num) {
this.Result = this.Result || 0;
this.Result += num;
this.Sum = Sum;
this.Sum.Result = this.Result;
this.Sum.valueOf = function(){
return this.Result;
}
return this.Sum;
}
--> returns a Function, but whenever you try to use it as a primitive, it will act as if it was a number:, e.g.
Sum(1)(2)(3)(4) * 1
> 10 -
@tbodt aah that's the reference in firefox' about:robots