Details
-
AboutI'm a fast typer and a slow eater. I enjoy long walks off short piers. I am the Florida Man.
-
SkillsJavaScript, HTML, CSS, Python, Lua, C#, c, c++, Java, XML/ XAML, VB.net, MySQL, php, Android, Node, Linux, Windows, Scratch.
-
LocationAmerica (38.8976074, -77.0365946)
-
Website
-
Github
Joined devRant on 1/8/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
-
Team Leader, once again, wagered I was wrong on a technical thing
I, once again, accepted his wager
Team Leader, once again, lost the bet.
That's 3-0 now.2 -
Boi does it feel good to just take a weekend off and not to worry about anything, not to think about anything,... Just be and go do whatever your body tells to.
Feels like charging w/ a dedicated 120W charger, compared to a shared 10W one4 -
For awhile now, my hopes for humanity just being in a rut, soon to receive some motivational kick in the rear or the helicopter parent trend, skyrocketing over the past ~20yrs giving rise to snowflakes and seemingly imminent social\financial doom, keep going steeper downhill.
The overuse and\or reliance on, both term and tech, AI has been particularly disturbing and painfully ironic...
Seems it's overwhelmed my, typically instant, reslisations of severe head-scratchers that have nothing to do with AI and even, apparently, denote actual honesty and effort employed.
today, within moments, quickly scrolling on eBay i found 2, new to me... which is quite rare, perplexing 'wtf's.
1. a laptop clearly stating, multiple times, reiterated, not copy\paste... that not only was it lacking a hard drive... but "no hard drive cable"...
my mind briefly tried to figure that one out
... even considered searching yheir several other lots to see if they typically included the "hard drive cable" or if they were often denying customers of this clearly standard component.
2- see pic
it was so soon after the 1st find that i briefly considered that i was missing something... aside from faith in humanity, nope.
that said, i do respect their blunt, bold\capslock committee to transparent honesty.7 -
I've made the json protocol. It's a protocol containing only json. No http or anything.
To parse an json object from a stream, you need a function that returns the length of the first object/array of all your received data. The result of that function is to get the right chunk of the json to deserialize.
For such function, json needs to be parsed, so I wrote that function in C to be used with my C server and Python client. I finally implemented a C function into python function that has a real benefit / use case. Else you had to validate but by bit by the python json parser and that's slow while streaming. Some messages are quite big.
Advantage of this protocol is that it's full duplex.
I'm very happy!36 -
Potential client once asked for a clone of Amazon, for $5000, in one month. I did not take the project.6
-
Just sat through a demo of some clicky-draggy data visualisation stuff.
The guy showed us how you can write a custom script that takes a user input and pokes it into a sql command using string concatenation, so a very obvious injection vulnerability.
Ok, so it's only a demo. But you wouldn't do a demo with an example user called Captain Cock, so why do a demo with a screamingly obvious security hole?
Whole thing was basically pivot tables in a short skirt anyway.5 -
Agile Product Owner: How long do you think this task will take?
Me: Probably 13 points.
APO: That is too many can you break it down into separate tasks?
Me: Sure its probably an 8 and an 8. Since i need to work on them sequentially and one depends on the other, the second task will take longer if i need to make changes after the first one is merged.
~ Turned 104 (8 tasks * 13) points into 128 (16 tasks * 8 points) points.
A 13 represents a whole 2 week sprint.
An 8 represents a week and a half.
We cannot fit 2 8 point tasks in the same sprint, so now it takes 2 whole sprints to complete 2, 8 point tasks.
We have no smaller tickets so we don't work for the rest of the sprint.
Anyone else been here?5 -
Why do I program everything myself in C, even a rest service? By writing everything yourself in C you make simple things complex to make complex things simple.
Writing a rest service for example learns you a part of http protocol, how sockets work, how to create a parser (in this case json). Three thing's you would miss if I used python.
On top, your rest service uses WAY lesser resource than written in python for example. Especially for CPU usage.
Allocating and free-ing still often have issues there, but I consider it a skill problem / discipline issue. Not blaming C for that. The rules are clear.12 -
Update to my "I broke prod" rant:
- I managed to unfuck it on the same evening.
- Worked fine for one day
- Crashed today morning
- Can't fix it because I had surgery yesterday and am on sick leave currently
=> Probably gonna result in me VPNing into the comp network and RDPing into the prod instance to analyse the failure
Yep, ladies and gents, more open heart surgery on the menu!11 -
Im trying to fix a sass build in my current project and it’s just hell. I got 65k lines of output and 2 errors. Where those errors are coming from is impossible to find out since the terminal only displays 10k lines. Aaargh i’ve tried everything!14
-
I made test library a bit happier. Rainbows, fires and happy faces. Before the happy faces i had traditional dots. This is more cancer. I like it. My applications looks much more modern now.
The emoticon list is made by gpt but i've added a simple search function that finds an emoticon if you put a part of the description. It doesn't have to be exact. printf("%s",remo_get("books")) for example.
I need a life10 -
I did it.
I finally fucked prod.
And had to do open heart surgery on the service to get it unfucked.
Shit happens. Luckily its internal prod only...9 -
Fuck,
I've been charging everything with the oculus quest 2 charger because it's very powerful but it just blew up my headphones. I did this often before but this time was a whole night.
I hope I can still get this great headphones, it had such good volume & bass. It's the cheapest Fresh & Rebel but the sound quality and battery is great22 -
Managers gettin horny when they realize that AI doesn't even need a free pizza party once a year to stay motivated6
-
Being helpful and a c++ programmer has led me to trying to add a (tiny) feature to cpython.
The file I'm currently looking at is 2,000 lines long.
I have regrets...10 -
Why is American culture so money-centric?
Instead of “he's not believing me” they say “he's not buying it”. Also, “put your money where your mouth is” and “don't let your mouth write checks your ass can't cash.”22 -
Amazing! My joke functionality worked and the server delivered it's content successfully to the client. The joke: malloc is wrapped to give that message and retry IMMEDIATELY. Expectation is that the computer that was already in panic mode gets even fucked up more because it's out of memory. My malloc is literally while((ptr=malloc()} == NULL) { show_warning()
;malloc();}. Imagine if it didn't give that warning, I would've never known that a malloc failed. Who checks their freaking malloc result? You should, but i do not see much people doing it.
The previous crash on screen is what happens if you're doing a get instead of a post. I just declare my server app indestructible btw. Ffs!5 -
Making python 2x faster by replacing enums with literal values.
Pros, it's faster, cons, it's unreadable.
God I miss compiled languages. At least optimizing them requires intelligent problem solving.
It's a text parser state machine transition so it's a code hot spot, so this kind of optimization is worthwhile. But it's kinda annoying.
Next is get rid of any semblance of readability and replace the match with an array index...31 -
For the people who can't sleep. It looks easy, but there's smth in it what makes it hard. Sooner or later you'll fail. Not even generated with my advanced sudoku generator. This one is generated by my sudoku js widget what does a bare minimal of complexity in its generated puzzles. Let me know if you're able to solve it8