Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "advent"
Friend gave this self made "pocket advent calendar" to me (has 24 m&m's in it)
*me to her: aww thank you thats so sweet!
*OCD to me: but she could have aligned that numbers...
*me to me: and that's one more reason you're single12
Top 3 worst events in human history
3. Black death
2. World war 2
Some say we could have colonized mars by now if not for the number of years society has been (and still is being) set back by this atrocious pile of slug13
None of my awkward party stories are thoroughly dev-related, but here goes
So my high school friends and I gather for an annual Christmas Party (technically it's Advent Party if my trad brain is to go by) and we invite special guests from the rest of the class.
Two, maybe five years ago, it was this classmate of ours who went home to Manila from New Zealand for the holidays. She came over.
We have this custom called the exchange gift where we would buy each other gifts. I picked her. Her wishlist indicated that she would love to read some fiction. She didn't indicate any specific titles.
I am also such a fan of Tom Clancy's books that I have nearly all of his books, games, and movies. I was certain that she has not read a single Tom Clancy book since her titles usually are Twilight, Fifty Shades of Gray, and Stephen King type of books.
So I went to the nearest secondhand book store to buy her several Tom Clancy books. I also picked a brand new random romance title just to sweeten the gift. I wanted her to read as many books as possible.
Then the time came to give each other gifts.
She opened my gift for her and she pasted the fakest glee ever. I didn't mind.
But when it was time for her to go, she went for the door only to be stopped by a friend of ours saying that she forgot my gift of her.
She gave it a leering look before seemingly grudgingly taking it to her arms and leaving. Whether she didn't like my gift because most of them were secondhands is anyone's guess. It was awkward as hecc.
You should have specified titles you know. Also bitch I love Tom Clancy.
2) family reunions. The usual member of the extended family, usually a boomer aunt, asking you the following tactless questions and making the following assessments:
>"Tumaba ka na ah!" (Wow [Jenny] you've grown fat!)
>"Kumusta na yung chekwa mong jowa?" (How's your ching chong boyfriend? Chekwa is a much more offensive slur than ching chong if you account Tagalog culture)
>"So when are you getting married? You know if you've been dating for more than a year you should either marry your boyfriend or dump him."
>"Why did you choose an agnostic as your new boyfriend? What happened to the trad one? He's so ugly!"
>"So have you worked in HP yet? Why don't you apply as a dev in Microsoft/Facebook/Google? Your cousin Jordan earns 80K (in philippine pesos) a month in Accenture you know."
>"Remember to help your siblings [financially] every step of the way."
Tita I am not in the mood.3
I just remembered something I experienced when I only started learning to code.
I had a classmate in school who challenged me to earning more stars in Advent of Code. I accepted. We both just started learning and struggled. I learned a lot during this time and painstakingly researched some LINQ stuff and experimented with bits of code to use in my solutions. After a day, I managed to solve a few Part 1 questions and some Part 2 questions while he was stuck solving Part 1 of the first question.
I wasn't satisfied with some of my solutions (because they were slow) and I was struggling to solve stuff with large inputs (I didn't know about reading from files yet) so I printed out some bits to ask my teacher how I could improve upon it the next day. (We weren't allowed to use our gadgets in school.)
I was looking over it in the morning when he approached me and snatched the piece of paper from my hands. He asked what it was and I told him honestly that it was for Advent of Code as I tried to get it back. He refused to give it back and kept reading it and running away from me. I was furious and really frustrated and sad at that time. He only gave it back after around 30 minutes. I don't know if he ever used my solution because I avoided him for a long time since. I did learn later that he managed to solve the first two questions.3
This year I'm remaking my chatbot, a new improved chatbot.
I mean it's not new. But it's something I've always wanted to do personally since the advent of my original Chatbot (poorly written in batch).
If you know me at all, then you know that the actual reason for me getting into programming was because I made my own chatbot using windows batch (I was 14 and didn't know a lick about programming or available programming languages...)
Anyways, I'm wanting to dive back to my roots and build something from the ground up, but this time build it with all the knowledge I've accumulated since I've designed my first program.3
1. It's gonna be more and more specialized - to the point where we'll equal or even outdo the medical profession. Even today, you can put 100 techs/devs into a room and not find two doing the same job - that number will rise with the advent of even more new fields, languages and frameworks.
2. As most end users enjoy ignoring all security instructions, software and hardware will be locked down. This will be the disadvantage of developers, makers and hackers equally. The importance of social engineering means the platform development will focus on protecting the users from themselves, locking out legitimate tinkerers in the process.
3. With the EU getting into the backdoor game with eTLS (only 20 years after everyone else realized it's shit), informational security will reach an all-time low as criminals exploit the vulnerabilities that the standard will certainly have.
4. While good old-fashioned police work still applies to the internet, people will accept more and more mass surveillance as the voices of reason will be silenced. Devs will probably hear more and more about implementing these or joining the resistance.
5. We'll see major leaks, both as a consequence of mass-surveillance (done incompetently and thus, insecurely) and as activist retaliation.
6. As the political correctness morons continue invading our communities and projects, productivity will drop. A small group of more assertive devs will form - not pretty or presentable, but they - we - get shit done for the rest.
7. With IT becoming more and more public, pseudo-knowledge, FUD and sales bullshit will take over and, much like we're already seeing it in the financial sector, drown out any attempt of useful education. There will be a new silver-bullet, it will be useless. Like the rest. Stick to brass (as in IDS/IPS, Firewall, AV, Education), less expensive and more effective.
8. With the internet becoming a part of the real life without most people realizing it and/or acting accordingly, security issues will have more financial damages and potentially lethal consequences. We've already seen insulin pumps being hacked remotely and pacemakers' firmware being replaced without proper authentication. This will reach other areas.
9. After marijuana is legalized, dev productivity will either plummet or skyrocket. Or be entirely unaffected. Who cares, I'll roll the next one.
10. There will be new JS frameworks. The world will turn, it will rain.1
Missed launch of Advent of code yesterday and so no score for me but.
I have started 1 hour ago and all 2 days finished in that 1 hour in fucking C.
And yes i will try to finish entire AoC in C. Crazy ? Possibly, Dont know yet.
But if the inputs dont go crazy and i dont have to parse them in some weird method then i think it will be fine.
Also just look at the sub reddit. The languages people solve this in is crazy. Rockstar. Thats language where you write a fucking poem as code. Jeeez. One guy did it in UE4.
My classmates say im crazy. This is beyond me.8
Meanwhile I was sitting in my Python class.
Suddenly she starts teaching about CGI Scripts and how widely they are used in these days' web interfaces.
Being a web dev myself, this felt so sad.
Considering the advent of so many web frameworks that make it so much easier for the developer to ship a website, who'd use CGI scripts until it's a total nessecary.
Now , what's much worse is she wants us to write a CGI Script for making a resume generator?
I don't know what to do with her..!
On the first day of Christmas my true love gave to me!!!!
An error in PHP!!!
You'll get your next one on the second so you can rant at me!4
Its christmass and im writing code for Advent of Code 2019 and Playing elite dangerous.
Yes thats the way i like it.
(Yes we already gave gifts to each other so no worries).
And well since this is Haxk20 it woudlnt be me without compiling something.
Last year it was kernel. Now its full android ROM on server. YAY.
I read the pragmatic programmer a few months ago. The book advised learning a different programming language every month or so. I was doing Advent of Code so I decided to try out Elm because functional programming is all the rage these days.
It took me one hour to convert a string of numbers to an array of numbers! And when I finally finished with that I couldn't understand how to compare each element with the next one in an array using map or filter.
On a positive note: The first time I tried Elm I didn't understand jack shit, now I understood a few things.5
Finished my first Advent of Code! ☃️ Pretty excited about that. Used Rust this year. Day 18 and 20 were brutal! Especially 18: it was the last one I finished just now.
Anyway, Happy Holidays everyone! 🎄2
Our company got bought over from a global private entity 3 months back (advent international) and the reciew process started and it turns out, im part of the bunch that may be getting retrenched as per the meeting we just had, our positions being redundant and just last week had a over the top performance review.. Now i need to figure out what to tell the family when i get home. This Fucking sucks im not going to lie2
I see a major shift coming up im regards of how we continue to evolve the way our applications work in regards to web based solutions. Http was not meant to do the shit that we are doing today, yeah it works, but it continues to feel like a hack. The advent of A.I and WebAssembly will probably make developers more mindful about compilers and truly optimized code. Languages such as Rust are pointing in the right direction in terms of speed and safety and as our computers become more powerful so will our way to communicate with them. Eventually damn near every web based solution will include A.I even when it is not needed at all.
With the advent of everything being a service (read AWS, GCP, Azure) do you think it's time for our education curriculum to incorporate these services at a an earlier stage (say undergrad) since in the industry, this is kind of enough to make a decent living (speaking more from a devops perspective, programmers are still needed I feel)??2
"I keep randomly shouting out 'Broccoli' and 'Cauliflower' - I think I might have florets". - voted funniest joke at the Edinburgh Fringe this year.
Personally I liked one of the runners up:
"I've got an Eton-themed advent calendar, where all the doors are opened for me by my dad's contacts"
BBC News - Vegetable joke is funniest gag at the Edinburgh Fringe
Advent of Code day 13 !
Fucking amazing day. Oh boy i love this one.
We got a fucking breakout in intcode (Which is code for VM we finished in day 9).
And we had to beat the game.
At first i was like uhmmmmmmm im supposed to play the game ? (Which is actually a possibility you can do)
But just tracking the ball X position and comparing it to padle X position and then outputing left or right.
That was enough. Sad that i had to go to school and had to finish it just now. But still a good one.
Day 9 Advent of code.
Easy as fuck one.
Literally took me 10 minutes. If it wasnt for fucking school i would have gotten at least the 90th place. Dammit. Will wake up fucking early tomorrow. I will fucking get to leaderboard at least fucking once.
What do i hear ?
I have no chance with my bloody C against those python guys ?
Well i would like to disagree. Some of them have worse implementation of our amazing intcode computer.
Mine is 150 lines of code and probably can make it even smaller with little bit of time. Saw implementation in python that was over 300 lines of code. IDK how they did that but jeeez.
Day 10 here i come for leaderboard.
Have private one with classmate where im way ahead but oh well. public one is more fun.
Advent of code day 11 done. And holy shit this was a very very nice one. I was slow to this one. (Noooo i totally didnt overslept and came late to school at 9am. Noooo)
And well at first i thought this will be a hard one again but no. It was actually quite easy when you figure out what needs to be done.
And the story about the AoC is just wonderful. I mean WOW.
Day 11 was basically "Space police stopped you when you are on your way to jupiter and you dont have license plate on your ship" and you basically have to generate it from the program for your intcode VM you have created for earlier levels. Then output each pixel in grid and boom.1
Writing PHP code for advent of code (https://adventofcode.com):
I'll use camel case for that function and snake case for the second one and why not just use all lowercase (what is that called anyway?) for the third function. Variables: $input, $inputs, $a, $count2, $xord, $yord. Why do I have no consistent naming scheme?!?!
My Advent of Code solution is calculating and calculating, which means I clearly did it wrong. But I already spent 4 hours trying to code it in Clojure (OMG, why can't tail call optimization just work there?!?!)