AboutThis is why I drink.
SkillsC#, Python, Java, COBOL, Ruby, HTML, CSS, Brainfuck (yes, really), SQL
Joined devRant on 1/11/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Oh for crying out loud. Master/Slave has been the defacto way to describe dependent interactions between electronics since the birth of the silicon chip. Even IDE used to implement it as a standard for running multiple devices over a single cable. Just because a handful of fresh faced 18 year old kids think the world owes them a soap box and a rock to hang themselves over, it does not mean the world has to bend to this oversaturated retribution complex that seems to be affecting every college student lately. Grow the fuck up.5
I just totted up how much I've made this year so far. Its fucking depressing.
I really need to get this saas stuff on the go.
I tried to reach myself Ruby a while ago, but ran into a plethora of issues just trying to get a stable running version of the compiler going. There's like, three different sites claiming to be the official site, which is which?
Does anyone even use Ruby anymore? Is it even worth learning?11
Are there any freelancers from the UK around here? I'm going it alone and I could do with some advice on finding filler projects whilst I wait for a client to look at funding
I was getting some state support whilst I start my business. I was told this would last for two years, so I planned out my first year largely growing my network rather than looking specifically for paying clients. With a month left in the first year, I was told that no. I only have a year. Now, four months later, I'm about four days away from being completely out of everything. I am so annoyed at being misinformed, but perhaps even more annoyed that I relied on a civil servant to give me honest, fact-checked advice and didn't do my own research.
What the fuck do I do now?4
I went out tonight. Before I knew it, all the songs being played were far beyond my youth, and I'm now sitting outside smoking cigarettes. Is this normal adulthood?2
Back at <biginternationalorg> I witnessed a developer deliberately build an xss vuln into a company web application, so that he could plug a JS file in with all of his passwords hardcoded. Bear in mind, this is an org that provides services to both the UK and US military, and if you have access to some stuff you have access to the tools you need to impersonate high-ranking military folks.
I know its like, twenty different passwords, but that's what a goddamn keychain is for! If you don't trust windows keychains, do what I did and run a VM with a Foss keychain installed! Don't build a vuln right into a public facing web app, that's just stupidity.
Back when SharePoint was still foreign to me, and I didn't know the pain of administrating it, I had the idea that files were copied to my local machine. I saw no need to preserve backups from before I started, especially since they already existed on the server, so I got rid of them.
Also hooked up to SharePoint was an email handler. Whenever a case was created or deleted, an email went out to the entire department. Guess what happened when I deleted 250,000 records?
Fortunately, SharePoint has a recycle bin. Unfortunately, restoring those files generated another 250,000 emails. To the whole department.
I bought many donuts to appease the crowd baying for my blood.2
Stupid question time:
Why is sticky broken on the scroll/navi bar? I've tried making both the header and the bar itself sticky and it still isn't sticky.4
Suggestion: make notifications updateable objects, so that they can be condensed. For example, "xyz and x other people commented on your rant". That way we don't have 60+ motifs and its easier to distinguish them.7
I wish the internet would drop support for emoji. Its fucking impossible to tell what anyone means anymore.28
Its always on client demonstration day that I find a shitload of bugs. Why do I do this to myself?2
My client meeting was cancelled because of the snow, and the rescheduled meeting is in a weeks time. Meanwhile I have about two quid to my name. What sort of a project can I do that will take me less than a day or two and pay out instantly?5
I feel a whole lot better. The project that I was so incredibly stressed out over has finally been invoiced for, albeit two months late, and my client has been understanding throughout the process. I now realise that although pressure is great for working to a deadline, too much pressure is heavily impacting on my thought processes and extends my deadlines more than I can manage at the moment.
The words of encouragement in the comments on my last "rant" really spurred me on, and the criticism made me reflect very much on how little squeeze time I'd given myself. I'm very grateful to this community for those inciteful fragments, and I promise to do my bet to take all of them on board.
Thank you devrant community, for giving me a leg up when I needed it.
I wish I could do what I used to do, and get lost in programming. I used to be able to go for hours without stopping, but now I'm having trouble keeping focus for more than an hour at a time. Its making everything take far longer than it should, like this project I'm just about done with that should have been done a month ago.
It doesn't help that I'm two months behind on my rent, there's nowt but a couple of sausages left in the freezer, and I'm fast running out of coffee and cigarettes. If I could find out what the fuck is wrong with me at the moment, that'd be great.9
Now that this drama shite is calming down, here's my tuppence on how connections management should be implemented.
We really need something that is in between blocking and doing nothing. This, in my opinion, is temporary silencing. Having the ability to mute a person or rant, or notifications altogether, for a set period of time would be very useful when a situation needs de-escalating. As this social network (let's not beat around the bush, this is a social network) grows in size, this will be a handy tool for calming storms without burning bridges permanently.
To sum up, I think it would be a good idea to have three available options for notification muting:
- mute notifications/this person/rant for 24 hours
- mute notifications/this person/rant for 7 days
- mute this person/rant forever
As for implementation, I'd wrap up the call to the user's notification assembly like so:
And use a date field in the DB to handle timescales.
Also, I suggest the addition of this tag specifically for suggestions, just so we're not all using different tags
I'm just about done with this asp project and I feel like I've spent at least twice as long on JQuery as I have C#.
Who the fuck thought methods as string options was a good idea?1
My old employer used to used a highly complex people management system, made up of around fifteen or so different tools and packages. Apparently this had been the case for decades, so in my spare time, I wrote an entirely bespoke, extensible HR web application that could be easily modified without changing the code. It even supported the weird spider web management structure.
I took it to my area manager, who pushed it up the chain. Apparently the country representative liked it a lot, so decided to bring me on board for an implementation and test case. Fast forward a few months, and people are singing praises. I get a huge promotion, with a sizeable pay bump to match.
Sadly, most of my country was sold out to another org, who decided pretty much straight off to make 90% of us redundant. Last I heard, though, my app is now in use in almost every operating country around the world. Not bad for something I wrote in my spare time.
I'm waiting for them to need modifications, because I never had time to complete the documentation...4
@lazyDev reminded me of the time my bid for a project was rejected because I'm a white man. Never mind the fact that I have built my career around data management, visualisation and modelling and the only other competing bid was from someone who had experience in mobile development and little else. I checked up on the company and the project just now, and they've posted the project up again. I've made a bid just like I did before, only this time I've tripled my price. Let's see if they change their minds.3
When I was 7, I got my hands on an Amstrad CPC-464. This was my first exposure to code, copying examples out of the handbook. Shortly after that my school got their first IT suite, with thirty machines running Windows 98. I remember lunchtimes spent playing ZipZaps, a game that shamelessly capitalised on the first Fast and Furious films. I learned how to create macros in Office, and after getting a machine at home with Windows 3.1 I also learned some basic DOS. When I was 12 we got our first XP machine, which I spent hours on with MSN messenger and mucking around with scripts. That machine eventually succumbed to my brother repeatedly powering it on/off, something I still kind of hold against my mother to this day.
After going into care, I bought an old XP laptop from a friend, a machine that I used extensively. I mined my first bitcoin on that machine, bitcoin that could have made me a rich man today if I had only taken backups seriously.
My next machine came with Vista, which was upgraded to 7 shortly afterwards. This is when I got a bit more seriously into code, contributing to a game written in C++ (Armagetron Advanced, if you're interested). I also learned a great deal about automation using this machine, and when I got my second desktop machine at 18 (which at the time was still extremely out of date), I built my first working web server with IIS. I've been through four desktops since then, one of which just about survived a house fire.
Now I run a company of my own, doing development work at a lower cost for social enterprises, and developing a SaaS platform that will eventually make me a living all on its own. This year I hope to finally stop having to worry about debt, income, where I'm getting my next meal from and when I can finally be self sufficient, almost seven years since the care system spit me out after conveniently forgetting to tell me I could have stayed there until after Uni.
I am proud, though, of coming so far with no college or university degree. I'm by no means an expert, but I'd call myself proficient enough in a couple of languages to be capable of making a career of it.
Assuming I have the following:
<a href= "address" class="hovermod">
<i class="fa fa-sign-out-alt" aria-hidden="true"></I>
How can I apply the hover event to the i element when the user hovers over the a element? The only success I have had thus far is when the user hovers specifically over the i element.10
I want to defenestrate the bright spark who came up with JQuery.
Not really, but its fucking hard to use without a proper debugger. A pox on Visual Studio.
I'm sending an email to the office of the high commissioner on human rights regarding the actions in Cameroon. I knew it was bad, but this morning I read stories of military gunships being used against civilians.
My email will have a hell of a lot more weight behind it if it comes not only from me, but from a number of like-minded people. Will you join me, those of you with your own email domain, and be copied into the message?
Either put your email down in a comment here, or send me an email at email@example.com letting me know that you're happy to take part.3
So, I did the silly and tried Freelancer.com. The chat is really fucking buggy, my client has paid me but I can't see the payment in my account, and their live chat system has a timestamping problem that means you can't actually ask for help. What do I do? The money in there was ideally supposed to pay my bills this month...2
Mine was quite recent. I discovered that there's no real pre-existing way to create an SQL statement in C# when the number of targeted columns and the number of conditions is not predefined, so I custom built a reusable class that I now keep in my collection of tidbits.
Of course, someone here is going to tell me that there is something already.4
@dfox I'm not sure if this is entirely kosher, but if you added an option in a menu somewhere to watch a video or two to support Devrant, I'd partake every day or two.5