Details
-
AboutWeb programming
-
SkillsJs, css, html5, Python, sql, C#, Php, unity,
Joined devRant on 10/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
-
@ganjaman The problem comes with, for example, the functional features of Java 8, you have to use things like vavr to handle the exceptions there. And there are so many other places where this is only a fucking useless pain.
-
@l0om you are right jaja, sorry I forgot we are talking about php.
-
If you want to make sure you use server time (because js time can be affected by the user) it's not that bad...
-
@binop we'll probably my problem is that I used git for about 5 years and now I am using svn. If you sometimes get to use git you will know you always needed git and you didnt know it
-
If they wait until you leave to offer you a rise you should leave ASAP. They arent paying you more because you are better, they are paying you more because they don't want you to leave.
-
Where is ASM? You can't put anything below ASM.
-
@tomtom that's right.
-
@SHA-16384 it's really not so much money, in my country is a lot but in the international market no. Also I was hired only as a developer and I don't think they will hear my complaints.
-
@illusion466 i already use ioc and di with all the dependences of the class before rewriting it in order to ease the tests and class reutilization, besides the code decoupling. But I think for this matter in concrete the heritage's works better, i only override the methods that need some logic to add it and call the parent class after that.
-
What is the avg salary per hour of an outsourced Indian developer? I want to make a comparison with the salaries in Venezuela
-
@just-basic-user ohhhh I can't disagree with you more, the syntax in java is really really bloated in my opinion.
-
And that's the beauty of python, really simple implementation with powerful results, I think all languages should learn a couple of things about syntax and simplicity from python
-
Mark Zuckerberg owns a building of programmers who makes websites.
Elon musk owns a building of engineers/scientific who build rockets.
They are just businessman's with vision and revolutionary ideas, but other people build that ideas. -
@schwarmco because doesn't cover all use cases, for example I want to show a feed with my latest ig pictures, in order to do this I've to implement in my website a mechanism where I make a request to Instagram, log in, and then store a token (which expires).
I just want an endpoint to get my last pictures, I don't think it's a really weird thing.
Ive solved it using the embed api, but I have to change manually the pictures so it sucks a lot -
@schwarmco like any other API? They give you public and private keys and an enpoint to obtain a short time token. You can throttle the requests using this. The OAuth2 would make sense for accessing the user personal data, or private profiles followed by the user.
-
@Codex404 because the parenthesis, the indentation system in Python is really good k never had troubles using it
-
@Codex404 you can check PEP 8 to see style guidelines in Python, but let me try to write it here
def function(firstReallyLongArg,
secondReallyLongArg,
thirdReallyLongArg)
I hope the format doesn't get fucked up -
This must be insanely hard to create and modify but first nice to read java code ever...
The braces in all the languages are so useless and make the code painful to read, I've been using Python for 3 years now and never had a problem with indentation.
I don't know why al the language can't do the same -
@anyhus I worked on several project for adults, there are a lot of boobs everytime but after the first week you get used to it... One time I have to go to the recording studio to check a server problem and while I was checking the computer and they where recording on the room next to me, was curious at least.
-
@tahnik that's the problem, you have to be a pro to make relative good code, and there are so many frameworks and patterns and shit out there that it makes hard to know what's the right way.
Maybe you can give me some advices. -
@heyheni Im using type script now, and yes the syntax is better than JavaScript, but my main problem with the language (functions inside functions...) it's still there.
I don't know, I think that's the worst thing of js -
Ohhh men, Python 2 is far far away of being the worst language. I mean, in the head of that list we have PHP, JavaScript, Java...
-
@GitBug we use it in production in 4 medium size websites, we started on AWS but because of billing problems moved to a distributed container system between some dedicated servers.
Using some tools, like Rancher (web interface for Docker deployment) make the deployment and following really easy.
The only downside of Dockers in production (as far as I know) it's the little overhead added by the Docker daemon. But for us (and so many other cases in the web) isn't a problem -
@appmaker i live in Venezuela and here the coms don't work really well, so Docker has allowed us to bypass it, when someone doesn't have access to our Dev server it can use a Docker Compose and deploy all the system with only a few commands.
This doesn't replace versión control of course, in fact we created a Docker image that clone the code from our version control and everything. It solved a lot of problems -
@appmaker it's basically a virtualization engine with a little overhead, the power in Dockers is related to packaging all your environment in a simple thing called image.
You can create images easily and distribute across all your team so you are sure everyone uses the same version and the same libraries.
Also you can deploy easily, you can forget about long processes, with a well designed image Docker does everything for you.
And finally there is whole lot of images on Docker Hub so you can deploy a lot of common services only using 2 or 3 commands. -
If only more games support linux...
-
I know (something, not all) about low level programming in C and ASM, I also know a bit about Java, c#, PHP and js and I know a lot of Python. And after all this I think right now (in the most project, there are exceptions oc) the most important thing is not that your program runs fast, the most important thing is that your program go out fast to make money before the market time windows goes away, and there is where Python and js bright, in Python you can do almost anything faster than in any other language (In programming time) and also with the whole bunch of libraries out there most of the time you only have to get pieces together, js is a little bit the same but more code and less readable. Also, if your Python program needs a lot of optimization you could do a C library with Python's bindings. Just my opinion
-
@deMark but this can be solved without Docker, I mean, of course is more work to do but you can create an exact replica of the Docker image without using the Docker image and put it inside your production server.
At the end a Docker file is basically a bunch of bash instructions that can be used in any console. And when we do this we will be using the resources of the machine better because we don't need to have the extra Docker daemon and the repeated services.
I mean, of course is more work to IT people, but seems like the right thing to do in the cases when you wanna use all your computer power. -
@wbeauford so it's a thing of convenience? I mean, in your case you prefer to "lose" around 200 mb of ram instead doing 30 installs. It's a good point. Thanks!
-
I don't think your laptop needs any upgrade, with a similar setup I'm full stack developing hosting around 20 services, navigating a lot etc... Even in my computer (amd phenom 2 485 16 gb ram ddr3) sometimes I host all this services, play overwatch and have Firefox with 20 tabs or something like