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
Search - "set"
-
Dear everyone,
I am never late to meetings you set up with me, so please stop being late to meetings I set up with you.5 -
So was first day at new job ... Boss takes me around meeting everyone. One employee stuck editing file by typing in new records data, calls boss for help.
Boss to me: "I like to get handsy with data from time to time. "
*me smiling, watch how he copies and paste the new records*
ME to boss:"why don't you just write the script to update all the records?"
Boss:"I don't trust the automation of input. "
Me:" what about human error?"
*crowd of other employees gather around awaiting answer*
Boss:"we include margin of errors in our disclaimer to the client... "
*He hears himself*
Boss:"... and we bill by the hour why would we work faster for less money?"
*me grinning, going to remember that line next time I need extension of deadline*
Me*murmurs*:" Master has presented dobby with a sock"
*Girl in next cubicle snickers clearly caught the reference "
Going to love it here.3 -
So this client wanted a very specific layout, with a very specific keycaps set. And an ALT function that would print the "shrug" text emoji.
Say hello to this
64 key, full CNC aluminum case
Gateron Ink Black switches (lubed)
Super thiccc 2.5 mm brass plate,
Keycaps set
MT3 profile Susuwatari set.
Love the profile and how they keycaps hug your finger up while typing.
I think it might be time for me to gather pieces to build my own as a gift in the future23 -
Me: "Hey siri, set a timer for 6 minutes"
Siri (OSX): "I can't set timers here. Would you like a reminder instead?"
-_-6 -
Elixir:
solution = problem |> process |> process_more |> finalize |> format
Java:
New class() implements quantum mechanics; get(); set(); get(); set(); super.fuckshitup(); throw new nonsense 300 line error and crash6 -
Linux set up on laptop day 2: can't make the screen lock after resume from suspend, can't connect to my VPN, can't set key bindings in i3wm... But I did successfully set my wallpaper.10
-
I was looking through old entries in my keepass, and I happened across this bit from when I worked in places that still had unix servers. I was so angry at the impossible input issues they had that I put this into my 'handy commands' section.2
-
Today,I found this gem:
static function getConfig(){
$cacheKey = 'foobar';
try {
$config = $this->repository->getConfig();
$this->cache->set($cacheKey, $config);
}
catch(Exception $e){
try{
$config = $this->repository->getConfig();
$this->cache->set($cacheKey, $config);
}
catch(Exception $e){}
}
}
I don't want to live on this planet anymore...!7 -
Customer: can you set my forgotten password to "1"?
Me: there's a six signs limit in your domain. You have to use upper case letters, lower case letters and at least one symbol
Customer: "123Aa+"?
We have to set such passwords to avoid customers cancelling contracts.... -
>Partners grandad gets new phone
>Partner calls me at work to tell me she's going to set it up
>I finish work
>Partner hasn't managed to set it up (2hours later)
>I go and set phone up
>Grandparents provide free pizza and beer.
Yesterday was a good day. -
ALMOST HALF AN HOUR SPENT TRYING TO LOG INTO MY FUCKING RASPBERRY PI OVER SSH.
you know what the problem is?
I’m not gonna tell you because I want you to feel the agony too.
> be me
> want to set up a nextcloud instance on pi to play with
> boot up
> ssh pi
*enter password*
*password incorrect*
^tries like 60 more times with different things
> pulls HDMI out of PC
> connect to pi direct
*please login*
*enter password*
Hackerman_voice_im_in.mp3
Wtf.xml
> check the logs
>try login from phone
Fuckyou.jpg
>Tries resetting password
Fuckyou-final.jpg
>tried logging into other pi
Fuckyou-final2.jpg
>*wtf’s harder*
Andthenithitme.png
>type @ sign
Pi: “
> OHHHHHHH6 -
Today a tester asked me to make a modal smaller. I read the code and saw modal size was explicitly set to "large". So I was about to set its size to default but I asked myself "what if I enter a random string there?" and I set it to "not-so-big". UI framework handled it well and actually set its size to default. I'm keeping the code that way for future laughters.8
-
Once upon a time, received a call whose intro was "I have a new production machine and I want to set up the Exchange server."
Person wanted to set up Outlook on a new personal computer.
Terminology can be dangerous.2 -
-Active hours set
-Update regularly
-No programs that interfere with the normal update process
5:30pm (INSIDE SET ACTIVE HOURS) my computer reboots IN THE MIDDLE OF ME USING IT with NO WARNING OR PROMPT
Windows you dork -
Here's an even meaner prank. Make it just a tad more difficult on them.
Set chrome in kiosk mode, so they can't switch out of the browser.
Unfortunately 'Alt + F4' still works, but they'd have to know that ahead of time.
And then kill off `explorer.exe` so they can't press the windows key.
You can either set this up as a bat, or you can do all of this from the Task Manager.
```
chrome --chrome-frame --kiosk "http://fakeupdate.net/win10/"
taskkill /f /im explorer.exe
```
And to really piss them off, set it up such that every time they reboot it just goes straight to the update screen
You can set Chrome to run as the Windows shell instead of explorer.exe. Just set the registry
```
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell =
[chrome path]
```5 -
Kotlin makes the development experience so much better. Humans are creatures of habit. Some don't want to change what they already know. RIP to those who still start their project in Java and do not want to adapt in this competitive world. :/8
-
Set a key on my keyboard to open the task manager and as I’m streaming I set the controller on said button and boom my laptop crashed from the task manager1
-
Here is way to find the element with maximum frequency in a list in Python:
a = [1,2,3,4,1,2,3,4,1,2,3,1]
print(max(set(a), key = a.count))5 -
#10 year challenge is basically data set father for new ai which will predict how X looks after 10 years
Data mining at its best2 -
Did anyone else notice how setting up a letsencrypt.org certificate for a domain became a lot easier as this year went on? Certbot + automatic renewal was set up in four commands on my RasPi, I remember it being more difficult to set everything up 🤔1
-
Taken partly from an article I just read.
Russels paradox is a problem discovered by Bertrand Russel in 1901 when studying set theory.
He describes a set that contains all sets which do not contain themselves. The set of all pornstars does not contain itself for example, so it can be include in Russel's set, as well as many others.
But what about Russel's set itself? It doesnt contain itself so shouldnt it be included as well? But that would mean it DOES include itself which means it DOESNT belong to the set. And it would keep switching like this, monotonically, forever. Hence the paradox.
If it is monotonic then where we begin in the sequence doesnt matter. So lets do away with that bugbear.
Now if russels set IS the set of all sets that dont contain themselves then we get a paradox.
However if russels set merely *has* as a single subset, all sets that dont contain themselves, then shouldnt russel's set with one level of indirection, contain itself?15 -
Soo why the fuck am I receiving notifications about someone from my contacts is available on messenger, when you don't fucking have the permissions to read my contacts? I'm looking at you Facebook Messenger.
That's some new level of ignorance. "Oh I see you didn't gave me the permissions to read your contacts. Worry not my friend just let me take a secret peek of it. I will be discreet, I promise!"... Well FUCK YOU!
P.S.: I only use that piece of garbage because unfortunately some of my friends are only available there... Time to convince them to switch.6 -
Girlfriend to Siri: Set my alarm to 05:30
Siri (with the man voice): ok, I have set your alarm to 05:03
Girlfriend (absolutely satisfied): Ok but I don't want this
*manually turns wrong alarm off and the correct one on* -
That moment you ordered a "starter set" for arduino just for the cables, servo and sensors, buy an arduino uno because it wasn't listed in the set description and now you have two...
Never thought it would be so cheap (25€ for the set apparently including a arduino uno)9 -
I am sad, I am not getting paid for last month's work as it was some "mis-communication" and my contract was available till August! 2 options
> set opacity of the website in such a manner it partially shows anything
> set the website on fire9 -
I love the mix of people’s setups. There are those with actual monitors set up in a nice curved way, and then there are people with like 10 random laptops set up on their desks like they hoard electronics3
-
Work set up. As you can see we are blessed with lockable storage. Blurred bits give away the company name
I'll post my home set up later.2 -
I've been trying to get my job to start using Git cause they currently don't use any version control. So today I told my supervisor that I was going to set us up our server so we can host our own repositories and he was like no need we will just set your computer up so you can vpn in from home. I'm like wtf? why go through so much trouble to set that up? That still doesn't solve the problem of accidental file overwriting.-_-3
-
I took the screenshot of the desktop and set it as wallpaper and removed all the icons, set the taskbar to autohide. Noob guy scratched his head for 5 mins wondering what was wrong. 😂✌😛4
-
This is my understanding of "Machine Learning" in general
There are two sets of data:
1. In first data set, all the properties are known
2. In the second set, some properties are not known.
The goal of the machine learning is to find the value of the unknown properties of the second data set.
We do this by finding (or training) a suitable machine learning model (mathematical, logical or any combination of), that in the first data set, computes the value of the properties, which are unknown in second data set, with minimum error since we already know the real value of those properties.
Now, use this model to predict the unknown properties from the second data set.3 -
** me setting up GitLab CI **
- run pipeline
- FAIL
- env variable not passed to one of the shell scripts
- set -x, rerun
- FAIL
- same reason. env variable is OK in the `set -x` output
- comment out `set -x`, rerun
- still FAIL
- same reason
- find a `set +x` left in one of the scripts
- comment that out
- rerun
- PASS
- WTF?!?!?!?
- continue on swearing for wasted better half of the day debugging my scripts12 -
@RazorSh4rk -> @BindView for personal security reasons, also now u can quickly set behavior to your replies :^)6
-
PM: I want the product to support this set of features.
Me: Which product?
PM: The one that will support this set of features.
Me: ...
PM: Also add some user login. -
"Knock knock"
Who's there?
"Sanitisation"
Sanitisation who?
"Sanitisation'Update Users Set Admin = 1 where name = 'STester'--
#IsItFridayYet?1 -
Just got my Linux dev environment set up, even got an alias working that would launch all the software I needed to test my code. Then today decided to change primary drives. At least I know how to set it back up next time, right?2
-
Code in index.php: if(!isset($_COCKIE['access'] == '123') {
echo 'Denied'; die;
}
And then there was the access.php which set the cookie.
So you had to go to foo.com/access.php which displayed a white page and set the cookie. Then navigate back to foo.com for access2 -
Fucking hell the AWS IAM documentation is confusing as fuck. Trying to set up a fucking role is harder than cutting a rock with a fucking spoon.
And who the fuck thought it would be a good idea to allow a CLI user to run any command he's allowed to without any form of authentication??
Oh, set up MFA for the CLI you say? Good fucking luck with that, if you ever manage to figure out how to set that shit up!
Fuck this shit!3 -
I'm staring at the setter portion of a legacy VB property I came across.
This is crazy... right?
Set(value As String)
_firstName = value.Substring(0, value.Length)
End Set4 -
While setting up a node app while sitting behind draconian proxies:
- first, set $http_proxy & $https_proxy
- set git proxy
- then, npm proxy, jspm proxy and bower proxy
- followed by strictSSL to false.....
After moving to home network/VPN, change all of these proxies again. It is a never ending vicious circle :(1 -
when you're in /etc/apache2/sites-available, you want to set up a second domain so you duplicate the config but you type mv instead of cp and discover it after you set up the 'second' domain
fuuuuuuuck1 -
when VS thinks it doesn't have OpenTK references but your project compiles fine and references are well set.3
-
I usually start with a MindMap where I try to write down every bit of the idea.
I then try to set requirements and set the tools/frameworks I want to use.
Next step would be data model and then git started ;)2 -
Got engaged to set up the CI for a project. Worked with the main developer to set up the dev environment only to find out that he deleted 80% of the migration files because he didn't know what they were
-
"When you set up the new app instance, can you set an easier password for our account? No special characters or numbers"
Sure. It's not like having a strong password prevented unauthorized access in the first place. BECAUSE YOU GAVE THE FUCKING LOGIN DETAILS TO AN UNAUTHORIZED 3rd PARTY! Which incidentally is why I now have to set up a new app instance... -
Finally started to learn Node.js and actually set up a small server with node and express and ejs, it honestly works nice but requires so many small things that take a bit to set up, while an apache server running PHP and Mysql would take me 5 minutes max to set up, but either way still trying to make that transition.5
-
Open for all.
Below are 4 sets of numeric data. Each set carries two numeric strings. Each occur in a pattern and each set below are n'th terms of the pattern. Each set equals to the value 50. The value of 50 can be obtained from either the first or the second string or even both.
Find a next term or even a n'th term of the pattern.
sets -
{ 738548109958, 633449000001000435 } , { 667833743011, 65173000001000838 } , { 314763556877, 652173000001000685 } , { 332455491545 , 65216100000100411 }
You will be rewarded
You will not fail5 -
For me:
> The programming playlist on Spotify produced by Johan Brook while wearing over ear headphones
> A cup of tea produced by my wife in my large cup
> Keyboard lighting set to dark purple
> Monitor back lighting set to dark purple1 -
Spent all week 40+ hours attempting to get my companies application up and running using the documentation written by one of the developers. Mind you, 20+ hours pulling and replacing files. Get to the end and nothing works, contact the developer that wrote the set up guide, and he has no idea how to fix and at some point admits her forgot some steps in the documentation and doesn't know what they are. Spent over 6 hours in troubleshooting meetings with that dev and another dev and made no progress. The documentation devs answer to try and fix it every five minutes, "do an iisreset". Fuck you and the camel you rode in on.3
-
When client for past few days tells you how important that new feature he wants is, and you should get to it asap.
But then when you actually start working on it after discussing it, specification creation and preparations, with mind set and focused, he tells you:
- 'Know what? I will need that change in the old feature before that. You can postpone the new feature by one day.'
So... How was it the most important thing in the universe again? -
Just found this javascript one-liner gem:
array.sort((a, b) => ([...new Set([...this.strip(a.name), ...a.tags])].filter(x => inKeywords.includes(x))).length == ([...new Set([...this.strip(b.name), ...b.tags])].filter(x => inKeywords.includes(x))).length ? 0 : (([...new Set([...this.strip(a.name), ...a.tags])].filter(x => inKeywords.includes(x))).length < ([...new Set([...this.strip(b.name), ...b.tags])].filter(x => inKeywords.includes(x))).length ? 1 : -1))
If that doesn't make you angry you might be in a coma11 -
People have to realize that people are unique no matter the skill set. You can replace the skill set but not the person.1
-
Technology is like fashion. Disentangle ?
The kind of question computer lecturers in Nigeria set in exam1 -
object fucking reference fucking not set to an instance of a fucking object....WHYYYYYYYYYYYYYYYYYY!!!!!!!!!1
-
AHH!!! PM talk is melting my brain...nodes are...collapsing...
"We need to post-mortem our lessons learned and level set our expectations so we can define quick resolutions and set tollgate approvals, at a very high level."
# clear my head of beastly things
def cls():
print ('\n' * 666)
cls()1 -
I find goals for developers to be pure busy work and almost impossible set meaningful ones.
You can't set ticket based goals, because one ticket may take a week or an hour. You can't really set learning goals, because how do you measure 'learning Svelte'? And if that was your goal, what'd be the point of the outcome?
You can set goals like, ensure all tickets have at least one unit test... but then you get tickets that need to get out yesterday and you get people knocking on your door while you're trying to create meaningful tests.
But we often have a meeting to teach everyone how to set goals, then we have to sit and invent goals that satisfy someone in the org, then twist our usual daily work into some BS about how we're working towards the goals in 1:1s and then the whole thing is forgotten by H2, if not sooner. Just to be resurrected in Jan/Feb of next year.2 -
While everyone is hating proper programming languages... Let's talk about quotes in batch files.
What the actual fuck did Bill smoke while developing this boolshit?2 -
Actually I'm writing a Facebook Messenger Bot. Characters limit for each sending message is 320, so I made simple function to split messages on parts. I set the limit to 315, 5 characters less than Facebook.
Spend 3 days on finding solutio why messenger is sending only last part of message.
Today I made a change, set my character limit to 316 and what? It's working! Set it to 320? Working!
Messenger has problem only when it's 315!
Piece of shit...4 -
!Rant
One cool thing with owning my MSI(24G of ram, 8 core I7 6th generation) is that when one tab crashes on chrome and uses by itself 4Gig of ram. Well the other tabs still work like nothing is happening.
Only 1 or 2 core are at 100% but nothing else breaks.
I love it!!! <35 -
What's in your opinion the best way to back up/clone video files from an sd card on to 3 external usb harddisks, simultaneously?
I have to assist in a video shoot and I don't see doing this back up work manually.4 -
Coolest project must have been a mandelbrot set application we made in school. Where one could zoom in and out, and change color for different locations of the set. Just a fascinating thing!1
-
I think today might be the day I'll bring ubuntu onto my big laptop. It had only windows for many years now and I did all my dev work on my smaller laptop that I carry around with me. Since I leave the small one at the office now - i got tired of carrying. Lol. - but want to continue my dev work at home, it might be time.
It's going to be a pain to setup everything though, although I got rid of the part that was making the setup really painful. We'll see.
Maybe I'll rant about the setup in a few hours. Lol. Wish me luck.3 -
Hello. I desperately need someones help to help me set up python flask starting template website with apache on digital ocean server. Over teamviewer please.
I promise you there is not a lot to set up cause i have been configuring it for days. If i waste too much of your time trying to set it up, i will pay you.
Thank u. Anyone interested leave me your discord. -
Hello dev-fellas.
A cousin of mine is a craftswoman.
She wants to set up an online store that she can manage.
Which tech is the best/easiest today to set up that?
Prestashop? Shopify? WordPress with any plugin?
Thanks6 -
Either the horrible devil lady on my last project or the Mormon nepotism on my first project.
To clarify, the horrible devil lady set my career back a year. The Mormons just cost me job satisfaction. The job in Utah probably set me back though. -
About ready to murder Xdebug...debugging an issue on a Drupal site and the debugger catches fine if I set a breakpoint in index.php, but breakpoints in any other file do not catch, even though die statements show that code is being executed where the breakpoint is set.3
-
I have just set up PiVPN on a Raspberry Pi that I have left over.
I'm going to install it next weekend at my parents home so that I'm able to use their IPTV.
I'm really impressed on how easy it is to set up.
Wish me luck1 -
What's the best way to set username password for DB?
I currently set them as system env variables and then have placeholers in the properties files. This helps in avoiding a bad commit to GitHub.6 -
What absolute fucking legend set the converted_from_user_type field to a fucking TEXT field. Fucking Christ.1
-
Thank you weed.
I finally spent around 1 hour to set uo perfect levels. (for me at least).
Why, why I alays need to set up everything ? Why can't I just thing be....1 -
I'm thinking I know why the approximation graph of my ML goes sideways.
It can never reach the solution set completely because the solution set has decimal places to the 1x10^(-12)2 -
Re-instantiating the interesting bits from the other thing:
Time complexity of unsorted array equality operations. Go!23 -
😤 So I just got a flat tire at night and have incomplete set of tools to change a tire. Good thing my father helped me. It was tiring and gruesome. I suspected someone intentionally did it in the parking lot beside the mall.😡
I'll buy tomorrow a crocodile jack and complete set of tools. Also, I will practice more on changing tires because my father did not teach me and I just learned through self study. But self study isn't enough, gotta practice some more. I hope you will get some lesson to my mistakes. -
Every time I see SQL scripts with cursors...
C'mon man. Set based operations are way more efficient.2 -
Found next to a TypeScript definition set of 16 overloads, written for all combinations of 4 bivariants.1
-
A compiler and assembler set for bootstrapping the whole gcc Code tree and cross compiling each level1
-
I'm trying to set value of a kendo js property using value from dB. I would like to do something similar to
template : "#= dataItem.Item1 #"
But I can't use template for what I'm trying to set -
Not quite sure I followed the logic of the tech lead when he explained. I've never felt this "idk wtf in coding" feeling before.
-
Why, the , fuck , can I not set Chrome to use MRU when switching tabs on Linux!
The extensions don't work, and trying to set in in the shortcuts is impossible, because when capturing keys , the tab key is not suppressed! -
Back in college I was writing a parser for a personal project in python. I was adding nodes to a set, but somewhere down the pipeline, some of the items I added to this set mysteriously disappeared!
I never removed anything from this set, nor did I replace it, so it baffled me that I couldn't find some items in the set.
It turned out the problem was I updated fields in these nodes that were used for taking the node's __hash__, which would prevent them from being found in the set
:|1 -
!rant
Can anyone point me to some resources about scheduling/planning problems and in general date manipulation in Amswer Set Programming (clingo)? -
I hate AWS ec2 instanced with it shitty handling of environment variables...Why in hell it is so hard to set an environment variable which will be re-set in case the instance will be restarted? For hours I'm fighting through manuals and non of the described procedures work2
-
That the equivalence of sets isn't a relation is the dumbest aspect of mathematics I've encountered so far.
-
Fucking "Change Set did not reach desired state". You can be a change set that's not reaching desired state! Yeah, take that SLS!
-
Q1.
What is the easiest way to set up auto restart & deploy web app on git push..? I have tried one that requires hooks/post-receive (server-side) and a make file (local)...but I don’t know how to continue writing the make file after git-push.
Q2.
Can I set up auto deployment if my repo is in bitbucket? Bitbucket allows set up Webhooks - they ask for a url..how should the url look like? Is it like “user@server.com:myrepo/hooks/post-receive”. ?4 -
I wonder if an AI is trained with a set of requirements and a corresponding set of commits, would it be able to add by itself some simple functionality?4
-
Learning Tip:
While learning some new tool/technology never just go and start looking at the handbooks and/or tutorials. Always set small goals for yourself first or ask someone proficient in that tool/technology set these goals for you so you can follow along and make real progress while learning. -
I want to develop a Web App for fun, but can't quite get my mind set on something interesting.
Any app suggestions I could try to make?
--This just for training purposes.2 -
Aliases set up in bashrc don’t work unless I source them using a dot. That’s why I set up my aliases and paths in bash_profile. Bashrc is f##king useless.3
-
@highlight
disabled: Set<string> = new Set();
@highlight
<input
class="form-control"
id="pushBack"
type="text"
[attr.disabled]="disabled.has('pushBack') ? ' ' : null"
[(ngModel)]="local.pushBack"
/>
---
Do you know what's wrong with this code? If you know and you are a junior how would you tell this to your super boss without hurting his feelings?7 -
Just set up a job-interview for a junior development position for a good friend of mine. She showed me the application problem set afterwards, and turned down the job offer... I'm glad I wasn't asked to solve that problem when I got a job in the company!
-
I need to add 44,000 image to git repo. I try to use git-lfs but it's too slow when I run "git add ." command. Is there any faster solution?
Extra Information : The image are the data set for my AI model. The reason I use git is because I wanted to manage my data set easier since I am going to add/remove images to that data set.18 -
echo -e "\ntext\n" >> spaghetti.js
Also cross platform (you set flags in win via a / but whatever)1 -
Linux: sudo apt-get install IDE dev-libs etc
Windows: install wxMSW, extract compressed binaries, set environment variables, set preprocessor/project settings in VS2017, set search directories, etc.
Why is it so ANNOYING to set up a simple GUI development library for C++ on Windows? -
Does someone know how to set up plugins for airflow?
In particular do you know how I set the PYTHONPATH env var for the docker container to Import my custom airflow plugin? -
Hello, I am stuck working on a project built on top of CakePHP 1.3 and I have some custom helpers, one of them named Order; for my views, I need to set a variable $order to contain the order data.
My problem is that if I set the variable in the controller ( $this->set(compact('order)); ) it overwrites the helper instance ( $this->Order ), and if I set it with a different name in the controller (say $_order) and reassign it in the view file ( $order = $_order ), the helprr instance ( $this->Order ) is also overwritten...
I really need to have the namings as described in order for my code to be clean and logical.
FML...