Details
-
AboutPretentious asshole trying to make my brain write some cool code.
-
SkillsBecause I’m crazy, I try to learn a heck lot of things at the same time, but I’m a Python guy.
-
LocationSomewhere in the Matrix...
-
Website
-
Github
Joined devRant on 11/24/2017
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
-
> be me
> has some free time
> decides to practice rust skills
> logs on codewars
> finds challenge involving prime numbers
> passes 30 min skimming the Internet to implement the Sieve Of Atkin algorithm
> tries example tests
> passes
> submits answer
> “memory allocation of 18446744073709547402 bytes. failederror: process didn’t exit successfully”
> 18446744073709547402 bytes ~= 18 million petabytes
So yeah, I think it’s broken9 -
This has been said countless times before me, and way better than me that’s supper tired, but I need to rant out
And what I’m ranting out today, is Apple. Its essence, its core, the reason it still exists: the ECOSYSTEM!
The problem with Apple ecosystem is that it’s the ecosystem of a fucking PRISON!
People like it because it works well together , but it’s sure that in a prison, the path from your cell to the cantine is pretty optimized; you get forced there! And you might try to get your food elsewhere, but the walls of the prison are made to be difficult to cross. Especially on mobile, where they’re making it harder and harder to escape, to make a jailbreak (pun-intended). Keeping you the loyal little sheep, or the forcing you to it.
That prison is also made private, a little club, to attract people to it. They even got their own little system to talk to each other, but oh god protect them from their little messages to pass the walls of the prison.
And all that prison is guarded by the warden, watching from high in the cloud. Forcing you to report yourself to him to be part of that prison.
That prison, also, can only be entered with specific vehicles, provided by the prison, to ensure maximum compatibility and efficiency. Good luck entering with a disguised vehicle if you find the official ones too pricey for their parts.
They also provided pressure tubes to send things from one cell to another. While being only simple pressure tubes like any other, they’re acclaimed because they’re apparently easier to use than the other 3rd party pressure tubes that can send things to the outside. Why? Because, oh yes it’s already in everybody’s cells (of that prison, outside is dangerous) and the other tubes have been conveniently being placed somewhere harder to reach.
Another thing they have are those windows that can view the outside. While being maybe less clear than some other windows, they are ok. But if you ever consider going mobile to enjoy that safari with lions, then man do they love bringing you back to that window.
Ok so I’m done with the prison metaphor, or I won’t sleep.
The ecosystem is probably the major reason Apple is still there. You buy from there because you’re a prisoner (I guess I’m not finished with the metaphor after all).
This is a prime example of RMS’s quote “If the user doesn’t control the software, the software controls the user”
AirDrop isn’t some sort of revolutionary tech, it uses a well established protocol that other implementations use to do the same thing. They could really easily open source the protocol and allow everyone to profit, but they won’t, because that would mean you don’t have to buy Apple.
That’s why I militate for open source, decentralized and standardized protocols. Because that way, we control the software, and it doesn’t control us.
All the things I said aren’t so bad because when you buy Apple, you make a choice. But I don’t have a choice, I am typing this on an Apple device, because I need to (I won’t elaborate on that) because of that fucking *ecosystem*
I am really tired, so half the sentences probably don’t make sense, but thanks for coming to my stupid TED talk.12 -
ffmpeg...
I FUCKING LOVE YOU!!
I CAN JUST STACK THOSE FILTERS WITH NO RESTRICTIONS OVER AND OVER WITH DIFFERENT INPUTS AND OUTPUTS!!
Also: it fucking works with still images, AND IT’S FUCKING FAST!!
It’s around FOUR (4, DO YOU REALISE THE IMPROVEMENT) times faster to GAUSSIAN blur an image and then composite an image over it with ffmpeg, than to composite the image with imagemagick (no blurring)!!3 -
nVidia, fuck you
Just fuck you!
FUCK YOU!!
WHY CAN’T YOU JUST DO LIKE ALL THE OTHER MANUFACTURERS!!
WHY CAN’T YOU JUST PUBLISH OPEN SOURCE DRIVERS THAT WORK WITH MODERN TECHNOLOGICAL STANDARDS AND NOT YOUR OWN PROPRIETARY LITTLE PIECE OF SHIT SOLUTION!!!
ALL OTHER MANUFACTURERS HAVE OPEN SOURCE DRIVERS, AND SOME ARE EVEN MAINLINED IN THE KERNEL!!!
I JUST WANT WAYLAND TO WORK!! FUCK YOU
I’M BUYING AN AMD!!!
https://reddit.com/r/...
https://drewdevault.com/2017/10/...16 -
/* My Three Wishes */
1. Nvidia starts fucking supporting the linux community with open source mainlined drivers that support GBM.
2. All five eyes countries apply some proper privacy protection laws. Other countries would be appreciated.
3. 5G and other core future tech standards are implemented under open firmware/hardware that can be reviewed and reproduced.
Please monkey paw this3 -
Mojang released the minecraft official launcher for Gnu/linux, and they fucking have an Arch package! That’s right motherfuckers: AN ARCH PACKAGE!5
-
Ok so my thoughts on M$ officially buying github:
Honestly idk, it’s really up to them. I hope they think it really independent because otherwise they could abuse of the power they have over devs. So no added bonuses or free Azure if you develop for uwp or that kind of shit.
But it could also help GH get even better and include more the devs and all that stuff.
Lately, M$ has been becoming a little less evil and maybe they have a little of good will. What I think we need is a motto and clear guidelines for the development of gh. A community focused openness about development.
Anyway, I’m super tired and I should be sleeping, but I’m a dev and I don’t care. -
212 millions invested in programming education in Quebec!
Yes!
But wait a sec! What are those fucking screen! And it’s fucking windows 7 you piece of shit! Use fucking ltsp! Costs less money = More teaching!
Poor students, at least they are learning to program2 -
Making a simple 2d game in unity for a friend:
Never used unity or C#, but this looks easy. Gravity is already there, background is drag and drop, etc. That shit is fucking easy.
I think the hardest thing is going to be the textures, and inkscape got my back on that!
Anyway, I really need to sleep but I’m just reading the tutorial!
LET ME SLEEP FUCKING DEV BRAIN!2 -
Didn’t touch to my arch usb install in a month (didn’t have to use it)
Ran pacman -syu.
The Internet connection is not fast, it’s been ongoing for 1 hour and will probably last for another.
i3 semicrashed, can’t close/run programs, can’t do anything.
Anyway, just wasting my time on here.
Listening to “thoughts and prayers” from grandson because of santa fe:
May their gods be with them and their families and their friends. I wish the best of recovery for the ones wounded, physically and mentally.
And for the shooter:
Take a trip to the hell of js frameworks and just stay there, 🖕you for what you did! You’re a twisted tomato burried deep in the fucking ground of sadness and horror jambled with middle fingers crooked by bullets shot from your gut and mind. -
Shit! I knew buzzwords were overused, but I just saw an ad and it is fucking jesused jambled bananas in the ass.
Starts with a woman looking out the window and there’s a tornado (seems ok for now)
The tornado approaches and IT IS MADE OF FUCKING NON MONOSPACED IN MY ASS FONTED 0s AND 1s. Bonus point: they are green !!
Switches to lines of GREEN code (kill my fucking brain with a pistol attached to your dick right now)
Probably JS or something similar in syntax.
And then: A FUCKING GUY LEANING OVER POINTING SOMETHING ON THE SCREEN! HIS NAMETAG:
Logan Paul
Blockchain
👏👏👏👏
And then some other buzzing asses armagedon en d of the fucking world bleeding edge vibrator buzzwords shenanigans.
Finishes with drones shot flying between businesses building with 3d floating words like
Blockchain!
Artificial Intelligence
Deep learning
Etc.
KILLLLLL MMMEEEE FU748-KFJV ING 3I6HT N0W $)&(&($8#;&(&8 jeiebcrandom ad wtf prefer fake news for ads over that kill me right now why am i watching tv seriously buzzwords13 -
Apparently,some universities don’t understand it’s not a good idea to send passwords ove an unencrypted connection. And btw, post requests work the same as get ones, it’s not more secure.
Not going to put the website for privacy reasons, but 🖕 this university!🖕🖕3 -
So yesterday there was suppose to be a test of the AlertReady Canadian program. Didn’t work in Quebec.
Reason: a trailing space
🤦♂️ -
Waisting some times on codewars.com
~~~~
3 kyu challenge:
Given a string with mathematical operations like this: ‘3+5*7*(10-45)’, compute the result
~~~~~
*Does a quick and easy one liner in python using eval()*
*sees people actually writing some 100 lines parsing the string and calculating using priority of operation*
Poor them...
(Btw, passed to lvl 4 kyu thx to this)14 -
I LOST FAITH IN HUMANITY!
searched vim on ddg, found porn. Fuck me.
Looks like there’s no exception to the “3 letters rule”5 -
I started using dvorak ~2 months ago and I’m getting better and better, but I was still using qwerty for french. But today, I discovered bépo... bye bye short term productivity2
-
Fuck Arch wifi handling!!! Why can’t you fucking just have the needed software in the base package!!! Because when you take YOU FUCKING USB INSTALLATION SOMEWHERE THERE’S NO ETHERNET!!! You’re FUCKED!!! What’s the point! Now I need to boot from my lubuntu usb dual boot install, FUCKING INSTALL the Arch iso, VirtualBox and then the needed wifi packages!! Fuck!4
-
Logging into my school website when... WHY DO YOU USE 🤬 FRNCH FOR BOOLEAN IN THE URL M🤬F
Ok, I know this is a francophone college, but come on!4 -
DO NOT TEACH DIRECTLY HOW TO USE SOMETHING! TEACH THEM HOW TO LEARN BY THEMSELVES!!!! What they teach is outdated and unfit for most students2
-
USE F🤬 GNU/LINUX!!! After, make technology really available (there’s cheap but functional options like ltsp). Teach the f🤬 bases of programming! Use open source softwares! How Internet works and privacy thing! Learn to read f🤬 terms of contract and privacy things, teach that ie is fucking shit and also, the most important thing! Use dark theme, don’t hurt others like I was!
And also, use vim -
Trying to setup a ltsp server for fun. Neve done server things before.
The server and the thin client are in VMs. So I start, install openssh, and them when I try to ssh... WHY CAN’T I FUCKING CONNECT, I CHECKED THE IP WITH IFCONFIG, oh shit, forgot to configure the vm network... so ssh works! Then I setup dhcp (I really don’t know what I’m doing, just following the tutorial), the ltsp configs thing, build the client image and then, I HAVE NO FUCKING INTERNET CONNECTION. Continues, boot up the thin client... WHY CAN’T YPU FUCKING FIND THE SERVER!! Then I realise the vm is not an ubuntu one, so delete it and make a new one... WHY DOES IT STILL DOESN’T WORK!!!!!! Oh wait forgot to connect to the network! Goes to put the network adaptor, and: wait! I don’t need NAT! So I replace the NAT by the correct network, and: Wait it lets me choose the weird thingy intel/pce thingy, oh I remember now! It said we needed the “...III FAST...”! Activate it and... IT WORKS ! !!!! CONNECTS TO THE SERVER!!! GOT THE DHCP!!! WAIT!!!!! What is THAT 🤬 TFTP LOADING THING!!!:
TFTP open timeout
🤬 YOU!!!!!!!!>> -
$ python
Python 3.6.1 (default, Feb 2018, 42:06:66)
[GCC 4.8.2] on linux
>>> print(None)
None
>>> print("The ideas in my head are always better")
The ideas in my head are always better -
Just a quick rant on JavaScript,
So there’s a lot of people hating javascript, and while not a long time ago i was part of them, but I changed my opinion a little.
I think JavaScript is a great way to deal with website programming as it is quick and efficient, but I would not say to program directly on it, use a js-compilable language (CoffeScript, TypeScript, Kotlin(I think), etc.), but then you might say: “Well, no need for js then, compile it in byte code”. That would break the point of how I see web design/dev. The main intent behind webpages is to have an easy and fast way to send code to other computers to render them, that’s why it is interpreted: “Easy to send” and “*All* computers can handle it” with the proper browser. You need to be able to change the way the website is rendered and/or works sometimes, for diverse reasons like copy/pasting data, make it render properly or use plugins/add-ons to change that code to suit your needs.
I think js should be kept as a “readable byte-code”, so that means: {
Keep comments when compiling the js-compilable code,
Add standardized machine-readable comments that will indicate to smart code viewers how to show a particular thing (Like have a higher-end function compiled in js shown as a minimized code with explanations of the function)
Keep it nicely formated and don’t obfuscate (coz that’s annoying)
Etc.
}
So you bypass the quirks and all that pesky js stuff, while keeping it’s good sides.
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
Part 2:
Web design for non-web:
Ok so things like node.js, electron, react-native and all that stuff; I won’t say they’re bad but...
Why we have this is because web designers wanted to make desktop apps and were like “Hey! Making web pages is easy! Let’s port it to desktop”, the problem is: Web technologies were made to work on a restricted canvas, aka a browser. It’s good on web for reasons mention earlier and more. But it’s not on desktop! You’re trying to push it outside of those boundaries. It’s difficult to make it break that canvas and go outside, make something that really works! For social media clients and that kind of stuff that you want to make a little more inclusive, yes! it’s a great idea (hello devrantron ;), but not if it’s an exact same copy of the website, just use the website. But for things that are supposed to really make use of YOUR computer; no!
I see those PWA (progressive webapps aka mobile app, but it’s an offline website”), I stand for the same positions, social media and those sort of things: yes, great idea! Games? 🤢.
I have way more to say but I have difficulties to remember them while reading, so feel free to comment your thoughts
Lol, “just a quick rant”1 -
Ok so guys, I really love back-end, but sometimes I'd like to do a complete software to show off to friends in my free time, So question:
What programming language should I learn to make gui softwares?
I don’t want them to be pieces of art, just functional and with not too man " unintentional features".
I really love Python, but for gui heard it's meh, but may be wrong
I don't want web technologies
looking forward to learning C, but not necessarily for gui
could try c++ I guess
Don’t want .net (coz you know ms and their Java knockoff)
Ruby seems cool, but it seems to be annihilated by ruby on rails
Not Java but Kotlin seems really cool, could also go with scala, idk
Forgot the other things3 -
ARE YOU FUCKING KIDDING ME!!!!!
IT'S A FUCKING VPN AND THEY CAN'T FUCKING PROTECT IT'S CONFIG FILES FROM JS!!!!!
https://thehackernews.com/2018/02/...
ooh first rant with dvorak2 -
Decided to participate in @Michelle' s game, so like only one word to guess who I am
iMproved
Just changed of username, so made it easy4 -
I wanted to change my username, and them nobody was named vim...
Had to use -vim- because you need at least 4 chars1 -
I guess I’ll choose ok...
But seriously, come on! That’s why I love open source: if there’s that f🤬cking thing harrassing you, you can send it right in the void. 👌👈👆