Details
Joined devRant on 8/23/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
-
@jestdotty
If your endpoints are protected with authentication, you can not just hit them, you will have to provide Cookie/ Bearer token / API token, or whatever auth requires, those things have timed life, with variables you don't have to edit each endpoint, as you can get temporarily keys, save them as variables and use in every endpoint automatically.
Some endpoints require Body. It could be a several hundred lines JSON. Postman has separate tab for the body, while with curl, you will have it inline, cluttering the workspace.
It is impossible to use GUI tools for unit tests, we are talking about manual testing endpoints during development. -
@jestdotty
It is not question about what it does vs doesn't. It is about how much time does that take.
Postman has collections, easy way to edit headers/cookies/body, variables.
Your colleague just gives you a collection of e.g. 500+ endpoints to thoroughly test the API you are working on, you go to collection variables, replace the API key variable with your personal key, and you are good to go.
I can not even imagine how many days will you spend to do the same with pure curl. It is light a lightweight tool for primitive tasks, not a full-scale instrument. The same as coding in notepad++ vs IDE -
@jestdotty
curl is a small tool to download smth, or do quick checks, it obviously can not replace postman -
Found some working links for v9 which fuckers didn't remove yet
Windows: https://dl.pstmn.io/download/...
macOS (Intel): https://dl.pstmn.io/download/...
macOS (Apple Silicon): https://dl.pstmn.io/download/...
Linux: https://dl.pstmn.io/download/...
Also did this (MacOS) to prevent their shit from updating itself
`sudo chflags uchg /Applications/Postman.app`
Sure there should be smth similar for Win/Linux -
@BordedDev
thanks, will look into it -
@retoor
swagger is nice, but you can not e.g. share collections between your teams with it. -
@BordedDev
but insomnia is another payware shit, isn't it? -
Oh the fucknig morons have turned down their shit CDN do download working versions also, any links where you can still get the working version?
-
@kiki u have not so much time left to finish it, lol
-
@Lensflare
I see that you are a 20iq dumbass, that can not calculate time from timestamp to current date (and probably even don't know what current date is) but lucky not all people are like you -
@Lensflare
bullshit are people and projects that utilize this useless garbage -
@Lensflare
"A relative timespan is easier to process" - for whom does the fuck it is easier? For 20iq monkeys maybe, and even with that I am not sure. -
@ScriptCoded
They would never become obsolete if those retarded fucks dont close the thread and it can be UPDATED! -
go to russia then, moron, but don't forget that the police will beat the shit out of you there
-
@Parzi
mac does that natively with no problem, look my comment above -
If anyone is interested, there are tools for showing folder sizes in
Windows - FolderSize free tool that works intuitively perfectly
Linux - Krusader free tool that has calculate size (ctrl+q) option for currently open directory
Mac - surprisingly has native support for that in finder View->Show view options->Calculate all sizes
Calculating all folder sizes for root of 256gb ssd takes around 1 minute, which is fast. Try to use them and you will be able to delete gigabytes of cache, logs and other garbage that any OS/app stores in mass on your drive. -
@Lensflare
3rd party malware sponsored by OS makers -
@fullstackclown
I once used next and will never do that again. Their routing was made by a person even more insane than react-router suckers -
@fullstackclown
Your examples are not a router at all, just a couple of navigation functions.
If you ever try to build a web application using React that has at leas 50+ pages, some of which require authorization to be visited, some are displayed under nested routes, some use parametrized routes - you will see why it is absolutely necessary to have a routing library.
Also the big apps require lazy loading, that is technically possible to implement without a routing library, but you will not be able to efficiently manage it, especially when the app will grow larger. -
Btw I've drilled their shit documentation as well as useless github examples and found the only place where they explain how nested routes work in new shit version of their shit library.
It could be found only in the migration guide. Absolutely retarded.
https://reactrouter.com/en/main/... -
@retoor
"Ask chatGPT"
I've tried, even chatGPT is not possible to understand their shit documentation. It messes v5, v6 and who knows what else.
https://linkpicture.com/q/... -
@lorentz
Does React Navigation work only with React Native? What about web apps? -
I also remember those stupid cocksuckers writing a blog post where they were happily introducing nested routes only inside child route's component.
Thus breaking v4 compatibility.
Now in v5 to v6 migration guide they proudly say that there is no need in that, and you can again define all routes in one place, what a perfect example of self-fuck. -
@electrineer
I see, looks like you either use laptop olny for watching movies or a mutant that has 7 fingers instead of 5. There is nothing good in additional button if it brings pain instead of usability. ;D -
@fraktalisman
I use 3 languages to type. And code a lot. And still see no use in that useless bullshit button that decreases shift length.
So people that were "optimizing" this are just fucking morons, this is actually counter-optimization. -
@Burgundxyz
Yeah that hook looks ugly, but it is required for functional components to be able to use Ref on them. With class components code looks better.
This is of course a "+" for the first method
But my question is more about the idea of calling child method from parent, not the implementation. -
@hjk101
"a.site loads a script from b.site or runs otherwise injected js than it runs on a.site and thus has access and can send it wherever"
- oh my... I didn't thought about that, that would definitely break the isolation! Thank you for the explanation, a lot. -
I wanna say thx to you all guys for the talk esppecially for
@Fast-Nop and @arekxv
Now I understand that it should be called SOP (and CORS is a mechanism to bypass SOP if needed) and its main idea is that legit browser and legit server can protect the data of a user, that visits "bad" webpage running malicious scripts, from being acessed.
And scripts are possible to do such harm because cookies work like shit. SameSite cookie property can help that as well, but it arrived later than SOP. -
@Fast-Nop
Damn ads are pain indeed -
@hjk101
"One can encode your session cookie for example in POST data, get parameters, and even path"
- How can he do that? Is it possible to access cookies from a.site, for a script running on b.site domain? I think no, how then?