Details
-
Skillsnull
Joined devRant on 8/4/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
-
Maybe Rant
It's 1:30 AM and I finally finished implementing a simple function after more than an hour.
Not sure if I should be upset about my stupidity or glad that I solved it.
If anyone is interested in learning Haskell I totally recommend these exercises: https://github.com/data61/fp-course
filtering :: Applicative f => (a -> f Bool) -> List a -> f (List a)
filtering p = foldRight (\a -> lift2 (bool id (a:.)) (p a)) (pure Nil)1 -
I've just discovered by accident that the dumbest way of solving the Hash Code practice problem is way better than my previous solution.
(medium 49509, big 897164)4 -
A few days ago I decided to learn C by writing a simple Minecraft clone. Guess who has less than 26¼ hours to do university exercises for two weeks. And It's not like I had double that time because of Christmas Holidays.
-
Today was a good day. I finished all math exercises for the past week throughout the day and now I understand everything. For some reason algebra just makes me really happy.
AND THEN I FUCKING FAILED TO GIVE 2 EUROS AND 39 CENTS TO THE CASHIER!2 -
Today I fixed a minor bug that only occurred with Java 8 (10 was fine) by replacing part of a jar that was from January 2000 with a newer version from 2006.
-
It is 4:55.
I should sleep.
I've just created a GLSL shader on my phone which renders the Mandelbrot set in 4 bright flashing colors while zooming in.1 -
!rant
I just woke up a minute before one of my first neural networks finished training
!!rant
My laptops dual core cpu with 4 threads is slooooooooow3 -
A friend typed "rm -rf /" in the terminal on my phone and I hit enter because --preserve-root is default.
I was wrong.3