Details
-
Skillsjs, CSS, HTML, shell, lua
Joined devRant on 7/17/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
-
I agree. I personally like Vue though, because you get to pick your syntax, and their SFC syntax is basically just HTML with a modified structure, so much so that you can even skip translation altogether and let it walk the DOM to find vue-specific attributes and {{ variables }}
-
Sounds like what happened with neural networks. Genetic algorithms be like, just try stuff until it works. This is how an organic brain works, so it’s gotta work if we can just find the right parameters, right?
-
My pet peeve is when people tell me “it just works”. This is true to an extent, in the sense that things within the ecosystem just work together in most ways you can think of… some of the time… The new updates seem to have fixed most of my issues (with the occasional glitch here and there on Mac, but it’s still in beta), but the real reason I use Apple mobile devices is the cleaner, more fluid UI, home automation, Siri, and SideCar. Then, I use Mac OS because it’s close enough to Linux that I don’t feel lost in the command line, with many shared APIs and concepts, but with better commercial support and less fiddling with the OS, freeing me up to fiddle with my code instead (I have Asahi Linux, too, of course).
This last event may have been underwhelming, but it seems like they’re finally starting to iron things out before releasing them again, because that’s really the main reason they’re still relevant -
Why do you not like yarn? I personally love it and haven’t heard any arguments against it. Curious why some don’t like it
-
I would also look into TypeScript once you’ve got the basics down. Typescript is a superset that allows defining static types that get checked ahead of time. I wouldn’t touch JS with a 10 foot pole for a large-scale project if Typescript didn’t exist
-
@C0D4 This is what I often want to do, but even though they’re annoying, they provide more utility than annoyances, so I just have to suck it up and spend an hour trying to turn it off.
-
Thank you for this. I laughed so hard my family thought I was crazy for a moment… So true
-
@melezorus34 I’d suggest looking into Tauri… Now that IE is dead, the built-in web views do pretty well, and Tauri produces much smaller binaries, and uses Rust as a backend, which means much safer backend code and easier licensing with cargo-about.
-
Quick update on the situation:
It is by no means automated yet, but I have gotten gpg working via SSH on windows. Because windows does not have the concept of Unix sockets, gpg4win creates socket *descriptor* files, with the port on line 1, followed by a unix-style newline, and a nonce spanning the rest of the file. This nonce is sent first from the client upon connection in order to authenticate, and from there, it functions as a normal socket. Using this, I forward the localhost port that gpg4win is on, open the socket file in a hex editor (or xxd from wsl cause I had that on hand), copy the nonce as hex, and run socat, intercepting traffic to S.gpg-agent so it can run a script which then prepends the nonce onto the beginning, forwarding the data as usual. Need to find an automated solution for this, as it's quite tedious, but it works! -
@Lor-inc The battery should be removed regardless ASAP. That's what would cause it to fry itself. Any substance other than water I'd also check it for dried gunk (it could be conductive) and rinse it (again with all batteries out; don't forget CMOS if you have one)
-
@asgs Source control maybe? I don't reorder imports for that reason, but I wouldn't start a fight over it.
Also if they're incorrectly using the global scope it could also be an issue. Polyfills should also always come first, so if those get reordered it could be dangerous, but that depends on how they're implemented -
Devs: Here's what we *can* do...
Devs: <img src="newDesign.png" alt="Bad Leadership"> -
@hitko Except that this was posted minutes after your comment on my thread, and copies the same scenario. 🤔 Try being less provocative and keep your personal insults to yourself. Seriously. You can call somebody out on something, and I welcome it, but how about instead of immediately assuming somebody is an obese idiot, you take a minute to look at the situation and evidence objectively. I have pretty clear reasoning to believe that this was in response to mine, as outlined earlier so how about you take a look at *that* before calling me an idiot
-
@Omnisus That's actually a valid argument; fish does have the most unique syntax I've seen (as opposed to bash), but just about any system still has bash, and nobody's burying bash more by the day
-
This is pretty clearly in response to my rant. Dude, you seriously need to just brush it off. It was not a personal insult. Linux is definitely not without it's downsides; most notably less user-friendly UIs and lack of corporate support. However, being able to know exactly what my system is doing and control every aspect of it if I want to is very important to me. Also, I was not making Linux tools work. I was using Windows ports. My real complaint was that windows is severely lacking in the feature department, and lots of crazy workarounds have to be done to do simple things like making 2 apps talk to each other. I also replied to you there, because it seems you only read half my argument. Please don't bash people when you are unwilling to look at the situation objectively
-
@hitko Sheesh dude! Take a chill pill! I was just venting! No need to hurl personal insults. I found that very quickly. The problem was it didn't solve the issue. I needed to use Microsoft's ssh implementation, not WSL. Also, if you bothered to read the comments below, the complaint was mainly that no error was presented. The difference between Linux shells are usually minimal, and when there is one, it tells you you got it wrong
-
Also @dontbeevil she said before she's just messing with you. Linux users have valid reasons to dislike Windows. I'm sure she's just making double-edged comments like that to bug you :P
-
@SortOfTested Awesome, thanks! Don't know when I'll need that again, but I'll commit it to memory.
@dontbeevil My issue isn't that the syntax is different. My issue is that it didn't tell me there was a syntax error. If the set command in CMD sets an env variable, it should either work or throw an error in PS. Not pretend to work and then not. Therein lies my deepest issue with windows. It doesn't tell you when things go wrong, and when it does, there's no useful information for fixing it. "There was a problem." No s*** Sherlock! I can *see* /that/!
Also, I'm in the same court. No personal offense intended, and I'm sorry if it's interpreted that way. -
This is a long one...
I got my yubikey a couple days ago, and I now use it as an SSH and git signing key. I got gpg4win and made it work with putty, but not windows openssh. I need it to work with OpenSSH because that's all VSCode's remote extension supports. Scoured the internet for a few hours and found various issues on GitHub, all basically saying "yeah, you can't do that yet." Unfortunately, because Asus has locked me into windows, I can't just dual-boot. I got dual-boot working, but there were a fair number of issues that made the laptop unusable for anything but using it as a desktop. Anyway, back to the topic, I found a Go program that apparently makes it work with WSL from a blog post. Open GitHub and find out it works with WinOpenSSH too. Great! Since M$ is pushing powershell so heavily, that's what I use. It it doesn't work. After a couple hours, I try it in CMD, and it works! Great! So why didn't it work in powershell? There's different kinds of variables. I needed an env variable, but I *still* don't know how to use those in PS. I'm fine using CMD, but why would they change that, and if env variables work in powershell, why is the syntax different than LITERALLY EVERYWHERE ELSE IN THE OS?!?! Anyway, first issue down after 3 hours of research. (This is as simple as a config option and a .bashrc edit in Linux.) Now I want to be able to forward my gpg agent to my server so I can sign commits and connect to my git remote. 2 more hours of research yields nothing. I have a named pipe, but I can't forward it, and windows' path syntax isn't supported in the SSH config. -
@Vane Yeah, and it's definitely nice, but it's nothing compared to the real thing. When I can encrypt my drive, use any kind of FS I want, create containers that run like VMs but aren't, authenticate by UID through a domain socket, forward any agent/service anywhere, access arbitrary devices as readable files I can use in scripts, mount applications as hard drives, get the benefit of added security from a worldwide open-source community, etc, I'd say that's better than anything windows can do. The only thing windows has going for it is a remarkably user-friendly GUI and support.
-
@dufferz I just found out about fish today! It looks pretty great, actually. Already using Manjaro (Arch is great, but it just takes too long. Manjaro's a nice middle-ground), and I love it. I feel completely in control, and there's almost nothing I can't figure out how to do
-
@RagingCodeChimp In that scenario, it's useless. It *can* have merits for variables with multiple types, but is usually not necessary and looks bad. My opinion on this though, is that I hate tslint's strict-equals rule. Don't tell them not to use it, teach them when it is and isn't necessary
-
Doesn't mongo have a Unix socket? That would be an easy bind on your run command, unless your client doesn't support it.
-
@Gregozor212 Ok, I couldn't tell. Thanks for the clarification lol
-
@Gregozor2121 Please let that be sarcasm, and if it is, please make it clear. The tag *is* wrong, but when you mix truth and sarcasm, it looks rude. Even if it is an old joke, it's never ok to boo somebody for that unless it's spam, in which case it should be reported as such, and almost never ok to tell somebody they suck unless it's clearly a joke (even then, it's borderline)
-
@WIPocket Sure enough!
https://github.com/gustavo-depaula/... -
TimeCrackSort
... They never existed -
Literally had the exact same conversation with people on my FRC team. Then they all came back to me asking questions they forgot from the meeting later
-
@lazyDev it was a joke ragging on windows. It was more about Linux in general, not arch. That just happens to be what I use, cause I originally installed it to learn more about Linux, and never switched.
-
...
*Login screen appears immediately
*Clicks shutdown
*Installs arch
*Installs Android studio
*Opens Android studio
Better.