Ranter
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
Comments
-
no-spam23401dI am Katya and downvoted this post because I consider it spam. Your message will be removed from this community site due too much downvotes. See my profile for more information. Read my source code mentioned on my profile to see what you did wrong. Should be no problem for a developer.
Have a nice day!
If your post is not spam, please mention @retoor. -
retoor266219h@BordedDev / @D-4got10-01 I am working on the chat application replacement for slack. The front-end is already good (generated): https://snek.molodetz.nl/test. For me that's a big deal, I'm terrible in graphical shit. I can spend ages without making smth beautiful so I'm happy that I have this good looking thing. From my perspective, the worst part is done! :P I am implementing form validation myself and it goes well in exception of styling the custom components. But the forms will look like as shown in the mentioned page. The moment that:
- registration works
- logging in works
- basic (group) chat works
I will deploy it directly for use.
I also considered IRC for a while but decided that it's really too old. Native it even does not support file file transfers. If you want to build a wrapper on top of that, it's probably easier to build everything yourself. Ofc, the original IRC servers would handle more users, but my server will do a few thousand too prolly. -
retoor266219hEven if it would support 30 (it's impossible to get it that slow I guess), it's a success in my eyes. Be pragmatic, not thousands of users are gonna use this software.
I think I will do:
- rapid development now, focus on features.
- register
- login
- (group) chat
- sharing images
And then I will do a feature freeze and make a decent portfolio project on it with some coding quality. I have to convince myself first that the project is fun enough / worth the effort before investing in quality. It's gonna be the MVP approach. -
retoor266219hBut first i have to send passport to awesomemeest for NDA signing, we're about to do a project together probably. Believe it or not, but someday even I have to work sometimes :(. Nah, it will be fun.
-
retoor266219hI already see just 3 issues on just this screenshot. I think I'll continue that first tonight. Than I've wasted a whole day and night on that stupid thing so I can do something fun tomorrow like the snek app. Danger noodle chat.
-
BordedDev30517h@retoor, will it also hang the connection when someone uploads a file? ;P
Glad you're enjoying yourself with the projects :D
I'm sure it'll be a smashing success; otherwise there wouldn't be much of a point to having an NDA
Client is being a major pain, luckily I got a message on LinkedIn about an offer, it's C# webstack though, and I have no experience there 🤞. -
BordedDev30516h@retoor I've been curious since you like C, why haven't you gotten into the embedded industry?
-
retoor26626h@BordedDev that's a good question, I had the chance, since I worked for industrial automation outsourcing company did years. Most of my coworkers did it. But PHP/Java/C# jobs was booming and I still liked such stuff so focused on that. And now I'm not that interested anymore because embedded just means Android these days or very small applications. In both not that interested. Also, the discomfort of testing on a device is smth that doesn't attract me. Using a remote slow api like AI already makes me cry. That's the reason why AI stuff makes so tired. I'm still tired from yesterday. Normally devving gives me energy but often it can cost everything. I don't run into much issues, but when I do, it frustrates a lot. Especially since my key logger system knows exactly when I'm fucking up and will put that in written sentences using AI in the log 😂 It's cooler to monitor yourself 24/7 when you're top performing like I did and why I built the system but this whole year sucks so far
-
retoor26626hRegarding programming. Maybe went a bit too hard in December. Not burned out, especially not in feeling, but I do think a small recovery moment won't be bad. Like "needing a vacation" :p December was amazing, sick statistics, sick deliveries, only dev dev dev. Was so happy. This year I got distracted by politics a bit and that's negative for mind and not productive, I feel tired in general. Are those two together and you don't feel so well in general like I do now. I should do more breaks and don't watch politics in breaks. They key of performing is going slow but keep going full time. Slow enough not to make many mistakes is the fastest way of devving. Fast development is actually stupid but python is really made for it. You program anything in a few lines. I like C devving more typing typing typing and going slow. But it's a bit too slow even when going hardcore on it 😂 Thank God I have rlib, making C almost a high level language. It's allowed by me since I made it myself.
-
retoor26626hOnly development that is considered unpragmatic in retoors house. We don't take shortcuts. At least not bigger than already working in python. But one thing I won't do #1, lint my code, I'm past that. Most code I write is mostly compliant and the stuff what is left isn't worth the time. Auto format works? Fine, move on.
-
@retoor I feel you on the formatting, for python I slap black+ruff on it and call it a day. It's the same for me on politics, I used to watch dev diaries/conferences and general game news and then everything changed when the mentally feeble attacked.
Going slow can work, IMO consistency is the true key, and generally, you need to make sure you don't burn through your passion while doing so.
Every now and then I think I should make my own STD lib, but then I tend not to need it, either because I now know a more performant solution or I need to do it in a different lang -
retoor26622h@BordedDev making your own stdlib is a great idea. I develop fast in C while still have made everything myself because I made a stdlib called rlib and I use it for every project. Everything is memory tested, see here how much it contains in the "build" build step of: https://molodetz.nl/retoor/rlib/.... See the bottom of that compiles all seperate modules to one functional header file. I only have to do include <rlib.h> and it's almost a high level programming language in features. It contains everything, even an emoji library to use in shell. Every happy emoji you see ik the build is a successful test. I thought it was funnier than just dots what's normally the case. I made C hip.
I rarely make smth for only one time. Making libs immediately. I recently tried out gogs, don't need it, but I added the docker compose setup to molodetz. So that's a delivery / end result.
This is not good code but base for almost all my web apps: https://molodetz.nl/retoor/app.
Explain: -
retoor26622hIt contains the Application class. Its extended from aiohttp.web. Application. By basing my apps on this, I can do:
app = MyApp(extended from app Application)
app.db['pony'].insert(a=4)
Which is an in memory sqlite database. Schema gets updated automatically. If I instance my app with db_path="sqlite:///mydb. db") I will have persistent super fast sqlite db in my app. So just two lines of code.
Every function that is declared prefixes with rpc_ is an rpc call. So, if you add to app rpc_system(self, cmd) I could execute it as api from other python apps with native from xmlrpc.client import ServerProxy client=ServerProxy(url+/rpc) :
client.cmd("reboot now").
So you can make rpc api without writing one line of web stuff. I made it async. All blocking code isn't blocking anymore if in a rpc_ prefixes function. I made xmlrpc modern.
It includes basic Auth from box, published all db fn by default. So xmlclient.client.insert("tbl",dict(a=1) works.
This class is so powerful. -
retoor26622h@BordedDev try it out in native python:
from xmlrpc.client important ServerProxy
ragnar = ServerProxy("https://Victoria.molodetz.nl/rpc")
print(ragnar.get_spammers()) to get all spammer names.
print(ragnar.get_rants(dict(_limit=30))) and it will return rants.
ragnar.dr_downvote_rant(rant_id=the rant is) will downvote a rant using three seperate users. That's how my anti spam system works. Just that one simple call. Can you imagine it more clean? The bot only contains bot code and it does calls like that without any protocol / network shit. Just a native function call on object.
Python xmlrpc is awesome. Allmost all my apps support it out of the box because of that app.Application project.
Writing own stdlib is good idea, thanks to that most of my apps contain rpc, database, auth without effort. Sadly that the code is quite meh. Should fix, is portfolio project. On the backlog. -
retoor26622h@BordedDev for formatting I use shed. It includes the tools you mentioned and some more. Also modernizes code to use f strings instead of format() and stuff. Weird about shed is that it requires to be ran in a repository. Why should that matter? Meh, every code should have a repo anyway. Work is work.
-
BordedDev30551m@retoor Oh shed is interesting, it will be able to fix my junior shitty use of format calls, will have a look.
I tend to write modular (enough) code to be able to split it into libraries, I have a couple of C++ functions/macros I tend to copy around. But for illustration this has been my professional tech timeline
Android (first job)
---
PHP
---
Node (Express)
Vue
React-Native
Node (Koa)
Capacitor
---
Android (java)
-> Android (kotlin)
Python (FastAPI)
C#/C++ (Game stuff)
React
Svelte
React-Native
Next
Python (2 -> 3 google app engine migration)
Python (Django)
The --- are company changes
I would love to pull my FireBase ORM out and publish it, I'm relatively sure my boss wouldn't mind, but having to go ask is a bit of a pain (and it would need a bit of love to help remove callbacks) -
retoor266227m@BordedDev why not rebuild the orm locally yourself and publish that? What you did under work time is really owned by the boss but you still have your IP what you can use to make another one that just works like it. And asking if it's ok is just an email. It won't affect their business so maybe it's just fine.
I often also just take parts of rlib that I implement in c projects if I don't want whole rlib to be part of project. It's often not cool to have thousands of lines unused code in your code base and rlib is constantly updated. I don't want that to happen to all projects. I have rlib as global lib that I can include everywhere with <> without having to setup it. It's also great for prototyping. You can add an async http server in ten lines of code. It can handle 1024 concurrent connections easily without worrying about it yourself. -
retoor266224m@BordedDev that's a nice variation of different tech stacks. Mine is like that too but also did a lot Microsoft tech in past like C# and Delphi professionally. I worked in outsource so had to do everything. Bit heavy often, ultimate job when young and unexperienced. It will give you so much experience.
Shepler & Associates: Your Premier Tax Company for Reliable Tax Prep Services
Tax season doesn’t have to be stressful when you have the right partner by your side. At Shepler & Associates, we pride ourselves on being a trusted tax company offering exceptional tax prep services to individuals and businesses in Saginaw and beyond. Conveniently located at 4200 Fashion Square Blvd Suite 201, Saginaw, MI 48603, we are dedicated to simplifying the tax process and delivering outstanding results.
Expert Tax Prep Services You Can Rely On
At Shepler & Associates, we understand that every tax situation is unique. That’s why we provide tailored tax prep services designed to meet your specific needs. Our comprehensive offerings include:
Individual Tax Preparation
Filing personal taxes can be daunting, but our experienced team ensures that every detail is handled with precision. We aim to maximize your refund and minimize any potential liabilities.
Business Tax Services
Managing business taxes requires expertise and careful attention to detail. Whether you’re a sole proprietor or a corporation, we provide reliable solutions to keep your business compliant and thriving.
Tax Planning and Advisory
Effective tax planning is the key to long-term financial success. We help you strategize for the future, offering insights that reduce your tax burden and support your goals.
Why Shepler & Associates is the Tax Company You Can Trust
Experienced Professionals
With years of experience in tax preparation and consulting, we have the knowledge and skills to handle even the most complex tax situations.
Personalized Attention
We believe in building strong relationships with our clients. Our team takes the time to understand your needs and provide solutions that work for you.
Convenient Location
Searching for a tax company near you? Look no further! Our office at 4200 Fashion Square Blvd Suite 201, Saginaw, MI 48603, is easily accessible and ready to serve you.
Outstanding Customer Service
At Shepler & Associates, your satisfaction is our top priority. Have questions or concerns? Call us anytime at +1 989-798-0609, and our friendly team will be happy to assist.
Make Tax Season Stress-Free
Don’t let tax season overwhelm you. With Shepler & Associates, you get the expertise and support you need for a hassle-free experience. Our tax prep services are designed to save you time, reduce stress, and ensure every detail is handled with care.
Visit us today at 4200 Fashion Square Blvd Suite 201, Saginaw, MI 48603, or call +1 989-798-0609 to schedule your appointment. Let Shepler & Associates show you why we’re the preferred tax company for individuals and businesses in the Saginaw area.
devrant
tax company. tax prep services