Details
-
AboutJust a hobby coder
-
Skillspython, batch, javascript, html, css, bash, android
-
LocationSlovakia
-
Github
Joined devRant on 7/22/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'll go for Python everytime. It's a perfect and still lightweight language if you consider only the standard library. You can progress from simple scripts through powerful frameworks to creating C extensions and wrapping libs. Python is like a road with lights showing you pretty much every direction if you open your eyes.
It's like the "middle" ground for everything I'd say - backend, front, apps, scripts, wrapping, general glue with the easiest way to go step by step a level lower in the sense of languages.
I don't think there's any other lang with such possibilities. Java is too... too javaesque, C++ will slap you with the door and ran you over with a tricycle, Javascript is maybe usable out of the browser but personally I wouldn't give my life for it and Pascal, well, that lang seems more antique than ASM to me, but I still like it... sometimes. Neither of them can replace Python's community though. Wherever you go, there's a Python community. -
@Salmakis no, I make the code identical for all editors while using the keyboard effectively, not the other way around. :)
Arguments about space usage and "you can set your own tab width" I just ignore. -
@programmingTrtl It's rather sad that people start "demanding" the ads when you don't provide them. Do you actually know how much @dfox would get for a "let's have a button maybe someone will look at it and maybe even click"? Why other sites don't give you an option to choose an optional clicking or no ads at all?
I bet the amount of money would be so small he wouldn't be able to withdraw it at the end of a month. A better thing is having a donation website (and more efficient if you imagine how many people will tell you to fuck off w/ ads) such as patreon, paypal, or even sending money in an envelope
Once you allow the ads, it'll spread worse than an old fart in an empty corridor. Ads are useful and I don't mind then if there's like one or two ads in place where you can see it(almost never), but not accidentialy click it (in the feed). That's not the mentality of the ad providers.. Such websites will push the ads down your throat, because it's their money first and then maybe yours. -
@dev0 just a note, almost no one really pressed the spacebar X times just to use spaces. People use the TAB key, but they set their editor to convert it to spaces i.e. one TAB = 4 ' ' chars. Stop spreading misleading info :)
-
Look for Raymond Hettinger's talks and then find some project or framework to contribute to. Doing the real stuff will teach you a lot.
Then there's Cython and the extensions. Try to wrap some library with Cython, produce own wheels etc. -
This is why we need machines doing some jobs. People aren't made for X hours of continuous task.
-
@Gizmosoft Yep. I have to have at least a scrap of paper near me, otherwise I just write it over some text.
-
@devios1 nothing meaningful really. Also, if you don't have an english kb layout, it's hidden. So either you memorize which combination it is, or copypaste it. Sometimes I hate that char so much...
Also, ever heard of brackets?
string = (
"my "
"string"
) -
I've coded some apps during studying sooner than I'd do normally.
-
@Error cancer :)
-
@DarKneT I believe the problem never was about making and caching the image, but about loading it and/or removing/replacing the default presplash. Obviously devrant can't just replace the default presplash permanently (imagine losing the "premium") and you'd need to check for the membership at runtime and dynamically create the image (or store it somewhere safe), otherwise I could happily open the resources the app would use and place there my custom splash with rainbow tiger or whatever.
Not everything allows you to do that in a simple way (Windows boot, login, ... screen) and doing it "the hacky way" might be inefficient (that's why the official solutions in my post for Android) :) -
@CozyPlanes No! Just no.... no No NOOOO! NO!
-
It's mysterious, like a unicorn. If you look closely, you'll see the sparkles around @dfox :D
-
Nice stuff, but about the upvoting bots... meh. Instead of deleting the whole acc just check before if it's *just* a bot acc or if it's just some kiddo who discovered macros on Android. If it's the latter case, just punish it in some other way i.e. drop their posts in algo completely, hide their comments or something nastier for X period.
The point is that now you just cut off people, which means they'll just create another acc (go banning and they'll use proxy or tor) and for each deletion you'll most likely need to update db to remove their votes which will be expensive later, if more people will bot. The end result is bots: 1 devrant: 0. Ignoring people, however, shames them and preferably teaches manners. -
Search "Mango" manga reader. Thank me later. It's free.
-
I think it's just a presplash on Android, which you might be able to change dynamically like this: have some file(for example) with the av details (what images where) or even better - output from the character builder in presplash-sized JPG. Then call mActivity.removeLoadingScreen() and/or something in this sense: https://stackoverflow.com/a/... where you check is the user is a special snowflake and you show the appropriate image. :)
That's Android though and there is also iOS and webapp and there it might not be possible (dunno, guessing).
Also, if the initial loading speed would be an issue, just dump the data (e.g. premium bool + image, or just check for existency - root users alert :D) when saving the Builder output and when loading just check from local storage. -
Also, don't forget to try the url requests such as the incorrect one I tried a while ago:
http://foaas.com/off/Tom/...
to:
http://foaas.com/that/Tom/... -
doglock 😂
-
@tahnik Still it's a fat monster :(
-
Dunno what's the second thing, but sqlite is cool. If you want it fast, just create the tables with gui and dump the sql to string. It's not that time-consuming to make a class for handling sqlite omg...
And then there's always json. -
Vue seems more readable to me, especially more than Angular. Not sure about react, but that probably too.
-
Just shit on them like they shit on you when it comes to support. There's no fucking point of doing stuff their way and this will never end for you. You will be just a dumb puppy fetching sticks for your gf and your family will misuse you even later when you would actually work for them. In the end they'll just bash on you even more, because you are an easy target and gf will most likely cheat or leave you exactly because of that.
It's your life, don't waste it on crap. -
Nay, they have a crystal ball on the desk :D Why would you make something great and then didn't use it?
-
Use the docs, Luke
-
just backup the folder before such crap and you should be ok... or change permissions for project folder when you go drinking :D
-
go go power rangers 😉
-
@g-m-f just google it... and then burn the machine, pls.
-
Well...
-
Decentralization and better management for merges+conflicts. You don't need to watch the code everytime something is updated.
Also, atomic commits ftw, you can debug stuff easier this way i.e. you have an idea what parts of code were written together and how are they connected. -
@apisarenco Here, I'll read it for you as I'm a nice guy and you obviously aren't able to.
"I backuped my HTDOCS folder..." this folder has absolutely nothing to do with a database. It's for files! Those are the .html/.php/.js/.... if you still haven't realized.
"I realised I HAVENT BACKUPED MySQL database and lost all the data" this is the thing in <XAMPP folder>/mysql/data and contains tables as folders together with some logs if set so.
lobotomized rock captain flies away...