Details
-
AboutJust a guy that loves making things work. Also I like foxes
-
SkillsJS, C#, HTML + LESS, c++, and some other stuff
-
LocationDenamearc
-
Website
Joined devRant on 1/22/2018
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
-
@SortOfTested Returning early tho
-
@yellow-dog "Hey company that uses this really big framework. I have this really cool project that uses this framework (or at least one similar)"
Vue is also incredibly nice to use. Like it's almost stupid how simple yet still powerful things are. Not only that but with Quasar or Nuxt Vue can be server side rendered as well -
@netikras "not navicat is the best" - person who hasn't used navicat
-
Navicat
-
2010 Fedora
2011 Ubuntu
2012 Fedora
2014 Ubuntu GNOME
2015 Manjaro
2016 Kubuntu
2018 Kde Neon
2018 Arch
These are all the ones I've tried for the longest time. I have tried others, like Xubuntu or Mint. And funnily enough out of all the ones I've used, Arch is the most stable :v -
You kinda answered the question without knowing it. You spend way more time not talking about why it would be needed than you did reasons to use it.
-
The Messenger
-
idk depends on weather or not your head of stem is one of those old "i've been in the industry for 30 years" kinda people who still peck type (and generally don't know much outside of the few things they know) kinda programmers
-
Time to try Vue or Nuxt
-
@nitwhiz Navicat works perfectly under linux. Heck their own linux version is just the windows version distributed through wine.
-
@PublicByte no but you see you have to open and use the terminal and that's so scary and complicated!!!111!
-
No you have to use どうぞ in order to transition this shitty cyberpunk future to a slightly less shitty cyberpunk future
-
@bioDan > fries can be too salty
ill foken fite u bro -
Alternatives to media queries? Sounds like something that'll end up being really messy.
Really it's impossible to say because we have no idea how you actually use media queries -
just cheat lmao https://repl.it/repls/...
-
@Pogromist in javascripts arrays are basically just objects wiht a length property and then number properties with their __proto__ set to Array.prototype (and of course a little bit more syntactic sugar) IE
const arr = { length: 2, "0": "Foo", "1": "Bar", "__proto__": Array.prototype };
And since accessing properties with [] gives you undefined you get undefined when something doesn't exist. This is why you can also do
const arr = [];
arr["foo"] = "bar"
console.log(arr.foo)
Bascially, but ofc there's a lot more to arrays than just that. None of it really that important for every day use tbh -
@craig939393 "might" is all well and good but why are you actually doing it? How are you getting the object? Since you're using typescript you have the ability to force something to be either something or null, so you wouldn't have to check for undefined anyway, and if you're getting it from some list why not just use some then?
-
Unless you show why you would use a double not I'm just gonna agree with the rest of the thread and say fucking don't
-
@Pogromist If a variable doesn't exist in JS you get a ReferenceError thrown. If it has only been declared you get undefined
-
@DubbaThony > In meaning, if you call function, ofc you dont derrive scope, but when you include file, its internally treated one way or another like function call, but derrives scope.
You're stating this like it's something surprising when, again, this is exactly what the documentation says happens. And regarding your example, none of the languages I've used (barring php) would allow you to do that because you can't redeclare an already declared variable. -
@DubbaThony Yes that is exactly what calling a function does but it has nothing to do with what you're talking about and it doesn't demonstrate whatever side effect you think might be happening.
-
@DubbaThony You should read your example again. You declare the variable foo, then, and this here is important, _you import the file you use foo in in the same scope you declared foo in_. It is not a consequence as it is stated in the documentation. Again, from the docs:
> When a file is included, the code it contains inherits the variable scope of the line on which the include occurs. Any variables available at that line in the calling file will be available within the called file, from that point forward. However, all functions and classes defined in the included file have the global scope.
https://php.net/manual/en/... -
@DubbaThony It doesn't have any actual use cases though. You example shows proper scoping in action since, as pr the docs: _When a file is included, the code it contains inherits the variable scope of the line on which the include occurs._
-
@thatguyatwork I have by now gotten used to it and I can't really hear it during the day, well only if I think about it.
-
@Marl3x and more importantly, css variables are ugly af
-
worse is i have it on my right ear and my right ear only
-
i got it from one of the 7 ear infections i had in 2017 and it fucking suuucks since I'm one of those people that really love the quiet :<
-
@Codex404 i don't really see a reason as to why you would waste your time doing eslints' job. But if that's what gets you off then 🤷 good for you I guess
-
The best way imo is using Vue and Vue router. That shit's just so good to work with
-
@Codex404 actually there weren't a ton of flat earthers back in Columbus' time, or rather, the opposition he faced wasn't because of flat earthers but rather that he thought the globe was too small.
And when you look at the maps of his voyages you don't really get the sense of a brilliant navigator but rather your buddy being sure he knows where to go