|
i have an exe that looks like it might be a "Wise Installer", is the a way to extract its contents? im on a maccode:
|
# ? Aug 14, 2020 06:39 |
|
|
# ? Oct 5, 2024 07:57 |
|
Plorkyeran posted:there's no inherent reason why async/await can't give useful stack traces. i don't know if it doesn't in js because the spec is poo poo and accidentally made it impossible or if v8 just doesn't give a gently caress. probably both. In chrome dev tools you can't add variables to the watch window or see their value in the console for source-mapped JS code. You can mouse-over them though. I don't know how people put up with it. Maybe part of why JS devs are so obsessed with filesystem watchers that auto-rebuild and restart their app.
|
# ? Aug 14, 2020 06:52 |
|
js tooling is so bad
|
# ? Aug 14, 2020 07:50 |
|
feels like js devs should be angrier. maybe they become so when they try any other setup and realize it doesn't have to be that bad
|
# ? Aug 14, 2020 07:55 |
|
pokeyman posted:js devs... they try any other setup javascript "devs" are the same people who started writing webservers in javascripts so people "don't have to know two languages"
|
# ? Aug 14, 2020 12:18 |
|
who was the js devs that were writing thier own version control system for the same reason
|
# ? Aug 14, 2020 13:33 |
|
CRIP EATIN BREAD posted:who was the js devs that were writing thier own version control system for the same reason i know js devs are a special bunch but their own version control?
|
# ? Aug 14, 2020 15:28 |
|
sh doesn't even have promises how can i contribute to git
|
# ? Aug 14, 2020 15:36 |
|
Boiled Water posted:i know js devs are a special bunch but their own version control? i guess it beats blowing up your free paycheck by writing your own js bitcoin miner
|
# ? Aug 14, 2020 15:37 |
|
what about the guy who got fired from reddit because he spent all his time on the grand project of re-implementing bitcoin in js (instead of doing his job)
|
# ? Aug 14, 2020 15:58 |
|
RPATDO_LAMD posted:what about the guy who got fired from reddit because he spent all his time on the grand project of re-implementing bitcoin in js (instead of doing his job) yeah that guy he didnt have a job, they forgot him in a shuffle & he had no boss but still got paid he probably couldve skated under the for a good while on good faith except he decided to do that & hosed it all up
|
# ? Aug 14, 2020 16:04 |
|
just do nominal maintenance poo poo so you stay in the git log & fart around the rest of the time would be p nice
|
# ? Aug 14, 2020 16:07 |
|
CRIP EATIN BREAD posted:who was the js devs that were writing thier own version control system for the same reason yessss inject that terrible programming straight into my veins
|
# ? Aug 15, 2020 00:17 |
|
i write lots of javascript and not javascript. and the javascript would be fine if npm didn't blow so much
|
# ? Aug 15, 2020 00:27 |
|
akadajet posted:i write lots of javascript and not javascript. and the javascript would be fine if npm didn't blow so much have you tried yarn? I mean, I usually just use npm and accept the shittiness, but yarn seems to be a better take
|
# ? Aug 15, 2020 00:32 |
|
akadajet posted:i write lots of javascript and not javascript. and the javascript would be fine if npm didn't blow so much Let me put it this way, Javascript is a good language under the == sense but not the === sense
|
# ? Aug 15, 2020 00:34 |
|
piratepilates posted:have you tried yarn? I mean, I usually just use npm and accept the shittiness, but yarn seems to be a better take yarn and npm share the same ecosystem unfortunately
|
# ? Aug 15, 2020 00:38 |
|
akadajet posted:yarn and npm share the same ecosystem unfortunately ah the javascript issue, yeah you're boned there
|
# ? Aug 15, 2020 00:40 |
|
piratepilates posted:have you tried yarn? I mean, I usually just use npm and accept the shittiness, but yarn seems to be a better take yarn was really great (compared to npm) a few years ago but npm eventually added all the missing functionality and now is sometimes faster than yarn too
|
# ? Aug 15, 2020 06:45 |
|
piratepilates posted:have you tried yarn? I mean, I usually just use npm and accept the shittiness, but yarn seems to be a better take thankfully there's a very brief migration guide
|
# ? Aug 15, 2020 08:44 |
|
I like pnpm because I don't have to wait five minutes to run 'npm i' every time I want up quickly check out a hundred-long sample project from hitting, and it feels like it's got a slightly more sane idea of dependency management in general shame it only works like half the time with my weenie fp frontend languages though
|
# ? Aug 15, 2020 13:57 |
|
am i correct in thinking "yarn dlx" stands for download and execute because lol at making curl http://github.com/some/random/bullshit | bash a key part of your dev experience
|
# ? Aug 15, 2020 14:06 |
|
Sagacity posted:yarn has fully embraced the js ecosystem and have decided that v2.0 will be mostly incompatible. "very brief migration guide": the scariest four word term in software development
|
# ? Aug 15, 2020 15:26 |
|
quote:Important note: This isn't a step-by-step guide. The best way to migrate is just to upgrade Yarn and see whether everything works. oh okay then
|
# ? Aug 15, 2020 15:29 |
|
and to reiterate, people consider yarn to be the sanest package management option
|
# ? Aug 15, 2020 16:02 |
|
Sagacity posted:and to reiterate, people consider yarn to be the sanest package management option Its kind of like React or Kubernetes where a big company made a terrible mistake but people aren't able to separate that from their success, so they just cargo cult everything megacorps do with no critical thinking. Nobody anywhere thinks yarn is sane, the two viewpoints are "I don't use this because it's dumb" or "I use this because Facebook made it."
|
# ? Aug 15, 2020 16:04 |
|
yes it seems like whenever bigcorps release some open source tooling people lose all capability for critical thinking "react hooks? so depending on the order in which I invoke magic functions I might get different results? SIGN ME UP"
|
# ? Aug 15, 2020 17:33 |
|
all the devs who talk endlessly about pure functions and avoiding mutable state buying wholesale into react hooks instead of mapstatetoprops is the funniest thing to see in real time
|
# ? Aug 15, 2020 17:40 |
|
mapstatetoprops is loving horrid and so is redux in general. hooks are pretty bad but they were almost a decent concept. if they made it so that a function component took a second "env" parameter and the hook primitives took that env as an argument and extracted named pieces of state from it then it would actually be pretty good and i'd absolutely use it.
|
# ? Aug 15, 2020 17:50 |
|
mapstatetoprops in my (minimal) experience seemed no more annoyingly verbose than anything else in redux, but i guess that's a really load bearing "no more"
|
# ? Aug 15, 2020 17:54 |
|
Use context instead if you really must. Why do you need every single nontrivial component of your application to be a function of the entire universe? Instead of this thunk, action, reducer self-flaggelation it's much better to just put an async method into your component directly and move on with your life. Put the API calls in an outer component, do the rendering in an inner component, avoid having to explicitly deallocate global-variable state and making your component into a function of the entire universe in the process. Of course, the problem there is that you end up writing a different kind of boilerplace this way: less boilerplate, but boilerplate nonetheless. code:
I made a nice HOC (insofar as an HOC can at all be described as "nice") for wrapping components such that you can pass promises into the HOC and it passes equivalent current-state-of-async-operation objects through to whatever component it is wrapping. I did it using TypeScript so it even defines a mapped type for props that automatically derives the inner Props type as well, thanks to some recently-added TypeScript language features. anyway yeah javascript delenda est et cetera et cetera.
|
# ? Aug 15, 2020 18:12 |
|
Sapozhnik posted:mapstatetoprops is loving horrid and so is redux in general. I like the concept of hooks and I've bought on to using them pretty widely in react (when I write react instead of just doing more fun back-end stuff), but I really don't understand why they didn't do something like your `env` idea. I don't get what was more appealing about hiding how the state works behind the curtain and having to tell people learning hooks to just trust it, instead of making it very obvious.
|
# ? Aug 15, 2020 19:22 |
|
I don't think there's anything inherently wrong with hooks but I also find it sort of dumb that React felt the need to take a step in the direction of FRP just because they were bored of MVU or whatever.
|
# ? Aug 15, 2020 19:28 |
|
ctps: fffffffffffffffffffff why am I having to touch gradle every time I have to touch gradle I want to punch the people who made it in the face, repeatedly why does every single loving question get answered with “oh just paste this bit of magic code into the spaghetti heap you call your main build file” why does anyone think this is good or sane aaaaaaaaaaaaaaaaaaa
|
# ? Aug 15, 2020 22:27 |
|
I feel for you I attended a presentation last year where they were announcing Gradle 6 and even a basic project with some dependencies that need a few exclusions was wildly complicated This is version six, at least yarn is only up to two Sagacity fucked around with this message at 22:48 on Aug 15, 2020 |
# ? Aug 15, 2020 22:45 |
|
xtal posted:Its kind of like React or Kubernetes where a big company made a terrible mistake but people aren't able to separate that from their success, so they just cargo cult everything megacorps do with no critical thinking. Nobody anywhere thinks yarn is sane, the two viewpoints are "I don't use this because it's dumb" or "I use this because Facebook made it." when it first came out yarn fixed some major problems with npm like npm install not having deterministic version selection even with a lockfile listing the exact versions to install and it was absurdly faster
|
# ? Aug 16, 2020 00:59 |
|
the basic and not really fixable problem is that npm is a for profit vc backed company and they expect their main revenue source to be npm. which is fuckin stupid.
|
# ? Aug 16, 2020 01:02 |
|
Soricidus posted:ctps: fffffffffffffffffffff switch to maven. gradle is a terrible pile of poo poo by and for the dumbest possible people
|
# ? Aug 16, 2020 01:49 |
|
bob dobbs is dead posted:the basic and not really fixable problem is that npm is a for profit vc backed company and they expect their main revenue source to be npm. which is fuckin stupid. you must have missed that this problem was solved https://thenewstack.io/github-acquires-npm-buying-microsoft-a-presence-in-the-node-javascript-community/
|
# ? Aug 16, 2020 05:57 |
|
|
# ? Oct 5, 2024 07:57 |
|
huh, so i did
|
# ? Aug 16, 2020 08:06 |