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 - "switch"
-
Two minutes of silence to all Microsoft employees who were looking to switch jobs through Linkedin. 😂😂1
-
Looking at my code for 10 minutes. The switch case is always going to default. Almost about to break my head.
I FORGOT TO PUT FUCKING BREAK AFTER EACH CASE. WWWWWWWHHHHHHHHYYYYYYYYY12 -
Colleague was doing something with a switch, wasn't working, he went to get another one:
C: hmm, this one isn't working, I'm gonna get another one.
Me: so you're gonna SWITCH them?
C: 😑😬
😅5 -
Just noticed the date format mm/dd/yy. Can we switch (or give an option to switch) to a superior to format like dd.mm.yy or iso 8601
@dfox20 -
Dear devRanters,
If you're going to screenshot any part of your feed or notifications: PLEASE switch to dark theme first. My optometrist has already advised me that my sight is starting to deteriorate because of these screenshots.
Thanks,
A very concerned ranter.7 -
Pop (onomatopoeia) : The sound your managed gigabit switch makes when you accidentally plug it into the power supply of your 48-volt power-over-Ethernet switch instead of its usual 9-volt supply.13
-
When you work too late and can't mentally switch off so you just start the next day without any sleep5
-
"Oh haha I found out why your PC isn't turning on, you forgot to turn on the power switch!"
*flick*25 -
The new IT lady of my previous company told me this:
"Hi, the Internet is not working"
"ok, did you make any recent changes to the router?"
"I didn't touch the router. I removed the switch in between so the internet should still work"
"You removed the switch"
"yeah but I didn't touch the router so what's the problem blah blah blah"
🙄7 -
What's your favorite console ? I love my switch, it is portable, has great games and HOMEBREWS.
I've been wanting to start making stuff on it for a while but didn't want to get banned, finally it's possible so here it is my first project : a Devrant client for switch !
It took me a bit cause i was unexperienced with the platform and there are a few technical issues i had to workaround ( like no support for ssl rn and devrant api is only https :/ ) but nevertheless it's here. I'm happy now.13 -
My first post................... from firefox.
Chrome has made me to switch to firefox completely.13 -
I fucking hate paperwork. I can't switch to the network team for probably 5 more months because it got lost somewhere. I want to put my degree use!! I'm not doing a damn thing with it at the moment 😭😭😭22
-
One day, this ex-boss of mine dropped the following bomb:
“Stop using switch statements, the switch statement is archaic.”
The if statement should be even more archaic, right? So, should we stop using ifs as well?12 -
When the last dev wrote code and you dared to read it....switch on a Boolean, what even is your life legacy dev?2
-
TL;DR; I unfucked a micro sd used by a nintendo switch with one command: fsck
I had noticed that the nintendo switch displayed way more storage usage then it should. I didn't mind at first, but at some point I couldn't download any games. When I checked I saw some ridiculous storage usage.
According to the system, all games summed up ~20Gb, but >100Gb was in use? Sounds retarded, so I did the following:
* Plugged it into laptop
* Spend one our searching for a way to to access this seemingly unknown filesystem
* Find out this filesystem is actually exFAT
* Find out that 2/3 sd adapters suck
* check filesystem with dust (A visually more pleasing version of du)
* Find 20Gb of files, nothing hidden or whatever
* run fsck
* "File system contains some errors want me to fix then?"
* "Sure"
* check usage
* 17%
As for the reason why this happened in the first place, my guess is that the switch labels the whole segment of the card as used before downloading a game and it something goes wrong, it shits itself.
Anyways, fsck is a pretty useful command.1 -
Me: I have to switch to linux, this windows sucks. *click restart
Windows: where are you going baby3 -
Finally did the switch to Firefox and migrated my passwords to a proper password manager. Bye chrome!14
-
Finally resigned.
I didn't hate my work but I need to grow. I was 4 years experienced and I was working on entry level positions. That's because for getting promoted I need to work like I'm on the next level for a year consistently, I don't know if I was working on next level but I felt confident that I can, so I switched companies finally. I don't know if work will be a lot what will I do but I have enough hard skills, my soft skills might not be that good but I'm finally doing something to achieve growth in that area. I'll be scared, anxious, helpless and all but let it be. I'll sprint, rest and repeat.8 -
Switched jobs one month ago.
Used to work overtime on complex features, every engineer was 10x, learned a bunch, worked my ass of everyday. Switch due to overtime and because I wanted more personal time.
Anyways, at the new job I’ve completed two tickets in a month, code is shit, no one cares about the quality, scalability, etc. I’m payed 2x more and I currently work max 3 hours a day. Feels weird AF. I guess I got what I wanted, but didn’t know back then that professionally I’m going to degrade. Didn’t happen yet, but I can see that in the future.
🤷🏻♂️8 -
Me: *Sends link to mate about netgear vulns because he just bought a netgear thingy*
Mate: Doesn't affect me, I ordered a switch, not a router!
Me: Ohhh so you're going to 'switch' away from routers!
Mate: Ba
Mate: Dum
Mate: I'm not even going to finish this *sigh*
I was enjoying this way too much :P1 -
1. Browse devRant mobile app
2. Open a rant
3. Switch to browser to check something quickly
4. Switch back to devRant after like 3 seconds
5. Previously opened rant is gone and I'm back at latest rants feed3 -
That's it, the Nintendo Switch got fully exploited. Any firmware!
And only after about a year. nVidia absolutely screwed up with their security.
https://fail0verflow.com/blog/2018/...4 -
Me: yo DEV2 parse this string into a hashmap. Use regex, 2 rows of code are enough for the job
DEV2: implemented 40 rows of switch/if cases into nested for loop.
Please kill me 🔫🔫🔫🔫🔫🔫🇮🇹3 -
Age++;
I'm gonna flex and tell that I've got a new Switch. My family and friends are really the best.
Thanks to them I also got to know that thief that stole my original Switch is named Stephan.
So I also want to thank you, Stephan, you thieving fuck. I hope you'll have fun with my console. I know that the police won't do shit since you are living in different country, so you can feel safe.
I've lost most of my games along with the console, cause I'm an idiot, but if anyone want to add me to their friend list here's my code:
SW-4095-0455-223210 -
Any recommendation for a decent mechanical number pad? It seems either too expensive or using knock-off keys...39
-
i should be writing some unit tests for a customer project, but i brought my new nintendo switch to work and there is nobody else in this room... :D4
-
Quick question:
Apache or Nginx?
Currenly I'm using Apache in Ubuntu server running in Virtual box but I was wondering if it's worth switching to Nginx :)32 -
Quick maffs:
git checkout -
will switch to a branch you previously checked out. So you can quickly switch between branches8 -
dev "no no no, you're overengineering it. You just need one class for that"
Me "but ... Those are different object that share a common interface. The internal logic is not the same, only their output is. You know ... That's the purpose of interfaces"
Him "no no, as i said, you don't need that. Listen, you can put ALL the fields and methods in a single class and then you can use a switch with different cases .."1 -
Finally removing all mysqli references and make the pdo statements, so we can finally switch to PHP 7.25
-
Switch your tech stack or programming language or development framework to something that you enjoy more.
If it requires to switch the company, do it!
If it requires to learn something new and you think that you don‘t want to, then it‘s probably the wrong goal.4 -
Secure boot -_-. I can't install Linux from live USB boot. And I can't switch off this secure boot...11
-
One of my main hobbies is composing music. I had been in a creative funk for almost half a year when, during my vacation, I randomly discovered this little music production program for Nintendo Switch called Korg Gadget.
So far I've created 6 finished tracks, and this latest one I took a step further by giving some extra time and care.
I'm really glad to have the creative juices flowing again, especially since work has not been great lately...
Give it a listen, if you like. The other tracks are available as well :-)
New track. Sort of Synthwave. Composed with Korg Gadget on Nintendo Switch, mixed on a pc.
https://soundcloud.com/anders-bliru...
https://cloudbounce.com/zitilites/...8 -
I had code waiting in review for ten days, blocking other work. On the eleventh day, the final reviewer (who was standing behind me as I wrote it) says "I'm not sure that I agree with the design, here."
I get you, man, I can re-write the algorithm, but I am so not in that context anymore and you've just delayed release of the feature by at least a week. Ugggh.5 -
Converting an int to a string for use in a switch statement... And nothing else.
Who the HELL wrote this crap?! -
Watch a privacy video. See how Google use all your datas. Switch on DuckDuckGo. Feel private. Can't find how to go home drunk. Switch to google.7
-
So it's.... Not a switch.
Poor marketing. Just don't call it a switch and it's not a bad handheld!5 -
Being able to make THE game I've wanted to make for 4 years. I have a team of people who wants to participate (dev, artist, etc) and I even started building my engine from scratch.
But most importantly, my dream for this game is to have it published on the Nintendo Switch (also PC, OSX and Linux of course)
But right now I must focus on finishing my degree and doing contracts to make enough money to hopefully work full time on my game.
I'll see you in 2 years Albi4 -
Been really bored with programming-as-a-hobby lately, so I decided to give that a break and switch to physics for a while.
Man I've forgotten so much, time to revisit the Feynman Lectures books.4 -
So they are back, wanting another quick PR approved.
The PR:
```
let isDisabled = switch quantity > 0 {
| true =>
switch value !== "" {
| true => false
| false =>
switch inputStatus {
| Valid =>
switch inputData {
| Ok(a) => a !== 0.0 ? false : true
| Error(_) => true
}
| _ => true
}
}
| false => true
}
```6 -
Today I took an empty Whoppers carton and put Hersheys kisses in there.
The shear hate and discontent has been a great source of entertainment for me and my office mate.
One guy picked up the carton, looked inside, and threw it down on the table and stormed out. He has been telling me to f-off since then.4 -
UBUNTU 16.04 VS ELEMENTARY OS
I'm Currently running Ubuntu 16.04 for all things dev related, is it worth the time to switch to elementary OS?
Or is there any other distro you would suggest me to switch to?17 -
What does it take to develop apps/games for the Nintendo switch? For exemple something where you can browse a remote storage and stream videos/look at pics.2
-
Me: Are you hacker?
Him: Yes, of course!
Me: Which Linux do you use?
Him: Wtf is Linux?
"Hacker", you said enought... -_-1 -
I want to switch from Windows to KDE Neon. Do you have some tips? Because it's my first Linux installation and i don't want to make something wrong :)6
-
I'm very frustrated at my job. Nobody gives a shit to work and don't have technical knowledge. My colleague keeps on battering the peers. And colleagues are discussing everything without me.
So trying to switch company but no luck in a year. And I have stopped working at my job. Gives me serious anxiety.6 -
Somehow, a continue instead of break in a switch-case looks weird. Although it makes perfectly sense with regard to the outer for loop.8
-
In january this year i convinced my whole team to switch from Skype to Stride. And now Stride announced that they are teaming up with Slack... I am going to look like complete idiot because we have to switch once again ... 😥5
-
))| THE BEST AND WORST WAY|((
))| TO DELETE A LINE IN BASH |((
(Think you can do better? Vote
now on your phones!)
WORST: Hold backspace until satisfied
BEST: Using a pen or other pointing device capable of causing semi or permanent damage to your screen, count how many characters the line in question consists of. Write this down on a piece of paper (after all, your terminal is occupied) and using long division, or any other means, divide this number by two, rounding as you please. Press the "right arrow" key as many times as necessary to reach the end of the line. This might be 0 - if so, congratulations, you may skip this step! Once complete, refer to your piece of paper, and taking your newly calculated number, press the "left arrow" key exactly that many times. If you have a short attention span or are worried you will lose count, take a tally or use some other primitive count recording method. Once the key has been pressed the correct number of times, hold down either control key on your keyboard and take a deep breath - there's no going back now (!) - press the "k" key (you should still be holding a control key!) and take a sigh of relief. You're halfway there! If you need a break, take one. When you're ready to finish the task, hold a control key again and take another deep breath. When you are ready to complete the task (don't hold your breath too long!) press the "w" key. Congratulations!! Your line has been deleted!! Some may call you a fucking idiot for not just pressing ctrl-w at the start, but don't listen to those people! They probably delete stuff by accident all the time! Now, take a lie down, and give a moment's silence for the poor poor line you just brutally dissected and murdered.
Think you can do better? Vote now on your phones!9 -
"Today was a good day, I didn't have to context switch between three different frameworks." -- Ice Cube2
-
Continued from https://devrant.io/rants/918357
Made the switch
I think I'll be saying bye to Atom. VSCode seems to be far more snappier.
The transition was pretty painless too. Vim and eslint integration seems to work just fine.3 -
Just noticed that, at my school, the "sysadmin" forgot to put the password on one of the switches. That means I'm gonna have some fun, nothing that will get me in trouble, I'm just gonna mess up with the config a little bit so that he understands he fucked up.
I'm pretty surprised that none of the students discovered this, but I mean, none likes IT at my school. And guess who likes it but didn't take that "course"? Me.
In Italy, we don't have courses, you decide what you gonna do for the next 5 years, and changing isn't very easy. All and all I'm happy with what I chose, I'll have a better resume than them.6 -
I soo want to use Linux (maybe Arch) on my main desktop but I got some programs like FL Studio which only run on Windows.
A Windows VM feels so not snappy :(7 -
After being on devrant for a while, I've been inspired to move to Linux, and my desire to learn is making me consider Arch. My only issue is that I don't have a computer to swap OS', because there are some people who depend on my laptop when I'm not home (more on that another time, maybe), and they will have a fit if I switch. 😥
Anyone have any experience on booting from a external HDD (and not a stick)?8 -
Dev: Please let us know when will be a good time to make a DNS switch for launching the site?
Client: ok
...
....
Client: one hour later, hey I did a DNS switch to your server but the site is not there?!
Dev: (Fuck me running!!) fuck fuck fuck fuck and fuck my life! -
Had an AI course in my 3rd year at uni.
Well turns out, we learnt how to reproduce a switch case in prolog.
Hated it. Felt raped by stupidity. Missed 3/4 of classes but was still better than most at reproducing switch lol.1 -
"If you would just switch to a Mac!" is a valid argument to solve local development environment complaints.
-
My Laptop decided to switch the ethernal off switch. Literally while i was typing something.
Luckily the drives are fine tho.
Guess it's time for a new one..1 -
Sudden changes in requirements. Business now wants a switch for this whole fucking project. They knew this fucking months ago and decided to tell us now. What the frikkity truck I just can't even2
-
Which browser do you guys prefer ?
(currently switch between opera, vivaldi and firefox quantum(beta).)16 -
Question for those that worked alone with a project manager, and were you covered multiple parts, frontend, backend, mobile and you basically have good friendship with the project owner/manager but the job got bored or wanted to switch jobs because you wanted to change environment.
What was the period you informed your employer/project manager in advance about your resignation and leaving? 2 weeks, a month? more? And was it enough time for the manager to find replacement? Did you leave in good terms?3 -
const ifs = i => {
if (i === 1) return '2'
// (a lot more ifs)
}
const switches = i => {
switch (i) {
case 1: return '2'
// (a lot more cases)
}
}
console.time('time')
for (let i = 0; i < 1_000_000_000; i++) ifs(i)
console.timeEnd('time')
// time: 637ms
console.time('time')
for (let i = 0; i < 1_000_000_000; i++) switches(i)
console.timeEnd('time')
// time: 949.524ms25 -
How to switch from linux to windows?
There is a lot of discussion online how to switch in a opposite way, but none on my case. As I am switching jobs, I will have to work using a windows machine. Any tips on how to feel more at home?5 -
Trying to switch from 2 finger bird-view typing to 10 finger no-view. Fuck this is hard! I'm just veeery slowly getting used to it, although I tend to fall back automatically when I don't focus on it and just want to type in a few characters.
I keep doing several typos and often forget where a key was exactly or confuse the position of some character, even though I typed it fairly often before. Also typing any number or non-alphabetic letter is mostly a wild guess of finger position.
Either I'm a very slow learner or smth's wrong.😪5 -
@dfox you need to create a site and app like stack overflow and keep this app, so that we can solve problems here and have fun too.. :D6
-
I enjoy watching her 3-second processing mental context switch gaze when I ask my girlfriend a question while she's on the phone scrollin' or chattin',
*goes to hardware store to purxhase some RAM*4 -
Fucking Mediamarkt. I ordered a Switch and Animal Crossing which supposedly were in stock, immediately deliverable. Not only did they not arrive on time (which was already a week later) I still don't even have a purchase confirmation email. As you might have guessed now all Switch Lite models and Animal Crossing New Horizons are out of stock
For fuck sake, don't sell things you don't have! >:(6 -
Considering to switch jobs but too scared of the big world outside of this comfortable little cage.2
-
Am I the only one who likes to see milion variables? Like I assign variables for everything. :) If yes, is that normal?3
-
When you are able to switch jobs easily and clear interviews in good companies without sweating much.2
-
I am currently running a heavily modded version of Ubuntu 18.04. I remove gnome applications, installed xfce with sddm for my login manager, plus removed a bunch of their pre-installed applications. I mostly use AppImages and snaps for installations with occasionally using apt for packages I am too lazy to build or are not in snap form.
I have been contemplating switching to Arch/Antegros/Manjaro. Mostly because I am crazy and heard that I could get a performance boost and I like being more in control of my own software.
My question is this, does it make sense for me to switch distros? Also, I'd like to have a close to the metal Arch install, but last time I did that I got annoyed with configuring too much from the bare bone, took me like close to an hour of setup, it was not hard, just really tedious.... Is Antegros/Manjaro have options to be really close to the bare-metal? Is there maybe a really good install script that I can just tweak some basic settings for?3 -
Just got reminded wgy switch statements are usually frowned upon.
Forgot the breaks; i spent quite possibly, an hour trying to figure out why my button wouldn't update with my state properly 😭😭2 -
Well ...
switch(priority)
{
default:
DoSomething();
break;
}
... I'm not sure if this switch is really necessary 😂 -
_"...An army of open source evangelists regularly preaches the Gospel of Saint Linus in response to even the most vaguely related bit of news about other platforms."_
The accuracy of the quote4 -
Making the switch from SublimeText 2 to Vim. Any tips?
Also, because this is devRant, rant freely.12 -
Add-on signing is censorship in disguise.
Imagine Google could remotely delete YouTube videos you downloaded, to "keep you safe" from the "bad content". Well, Google and Mozilla can remotely disable extensions you installed using their pre-installed trojan horse called "add-on signing".
Always remember, whenever a corporation cites "for your protection", consider it synonymous with "so we can control you more".12 -
Stop making students program a specific way
Example:
Requiring 20 if-statements instead of a switch statement1 -
!rant
Although I wouldn't change my main os (os x), I'd like to have a linux VM ready on my machine.
Which distro would you guys recommend?
To give you a quick description of how advanced I am with operating systems, I have used windows for the majority of my life (I'm 19), have recently switched to osx (when the new mbp came out) and have spent about 3-4 months using only ubuntu in between my windows/osx switch. Besides that, I've only done some minor projects with a raspberry pi.4 -
Hello everyone, Currently I am working as Lead Developer at one Local Company. I am from Nepal.
The salary here and overall position is quite fascinating but there is no growth of mine here technically because there is no one to judge,teach or mentor you get my point.
So i thought for a switch and applied and got selected as SR. MERN Stack Dev at one UK Based Company. The salary of both companies is quite similar for me. But now it is like starting again from bottom.
Leaving my comfort zone, the hunger of growth. What you think, did i made right decision or not. please let me know. And also please leave few tips on how should i go forward in my remote work because i don't have quite experience in remote work like how time should be managed. What are your tips on that.
Thank you and Cheers :)4 -
I wonder if am the only one who feels like using another language/framework would magically fix my inability to think outside the box.6
-
Technical issues......Had to switch to Ubuntu,
Do me a favour guys, those who'll put Ubuntu over any os provide me some motiv@tion..
Having to change the os, terrible thing for a begginner. 😕18 -
Today i quit Edge and i'm back on firefox.
Why ? Edge is very good but i like to change my default browser frequently to make my own idea of their quality.
Next step I will probably go to vivaldi or come back to chrome.
Have you an advice for a browser to test ?6 -
Constantly switch to new projects, gaining motivation while simultaneously never finishing anything.
Demotivating myself further, a vicious cycle. -
Yo anyone recommend a software KVM switch between mac and linux??? The switcheroo is getting annooyinng.....2
-
How are Macs preferred for web dev? You can't even easily switch between chrome and the inspector tab.9
-
To get unstuck, do a brief context switch. Let your brain process the problem in the background.
My preferred mode of context switch? Gossip over snacks. -
!!!rant // gotta be unique
So upon thorough consideration, I've decided to switch to Linux. I had to use an old laptop which took 2 minutes to get to the desktop with Windows, so I did what every other person would do and installed Linux on it (Ubuntu 17). Although it was incomparable with my dev mashine, it was snappy enough for me and for my web development tools and needs. (git, vscode, slack and chrome)
Cutting to the point, I've heard that thebl next Ubuntu is coming out next month. Should I wait and switch to that or can you guys recommend something better, perhaps Mint or sth else?9 -
Im done wih you "switch"
I have a viewpager and have its on page change listener from it i change some ui stuff like reseting previous page icon and color the new one and set the page title .
Inside of the code i used "switch" to change the stuff depending on the position.
The color did changed but the title stucked at last switch case for every page so i spent hours to find why its doing that ...
The input was ok .
So i just said lets try "if" instead and it worked ._.
Defaq switch ?
Why to use something that has a big chance to fail and theres not much to debug there ?
Whats your comment about it .
Do you ever faced something similar ?2 -
As somebody who is used to Ubuntu (I just love the simplicity of just running an apt-get to download packages), should I switch to Arch?
Please only give factual reasons, not just "yes, cus it's arch"6 -
Why didn't I setup macOS like touchpad gestures on my Plasma to switch workspaces before? So awesome!2
-
Clearly I don't know enough linux yet to make the switch to archlinux. I'm having trouble installing it....6
-
"Hello world"
Which mechanical keyboard do you recommend me to use for coding?
And what about mechanical switch ?question frontend javascript key coding programming helloworld cherry keyboard backend developer code13 -
Actually there are some things:
- Knowing when to stop or switch off from work;
- Too many video calls and meetings;
- No lunch time with team mates;
And many more that I'm sure that I'm forgetting 😅 -
Belts are nice and all, but I've always found them to be particularly unfriendly towards laptops.
Buttons aren't much better, which I try to explain to people, but for some reason I still get strange looks when I go bottomless in the public library.
Fucking noobs.undefined stupidnormals itscalledalaptopnotabelttop scrubs itscalledalaptopnotaboxerstop itscalledalaptopnotatrouserstop4 -
so I have been trying to make migrations on centos 7 for a while now on my virtual env i keep getting this error
## Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/base.py", line 327, in execute
self.check()
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/srv/switch/env/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/checks/urls.py", line 16, in check_url_config
return check_resolver(resolver)
File "/srv/switch/env/lib/python2.7/site-packages/django/core/checks/urls.py", line 26, in check_resolver
return check_method()
File "/srv/switch/env/lib/python2.7/site-packages/django/urls/resolvers.py", line 254, in check
for pattern in self.url_patterns:
File "/srv/switch/env/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/srv/switch/env/lib/python2.7/site-packages/django/urls/resolvers.py", line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/srv/switch/env/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/srv/switch/env/lib/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/srv/switch/app/switch/urls.py", line 10, in <module>
url(r'^administration/', include('primary.core.administration.urls')),
File "/srv/switch/env/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/srv/switch/app/primary/core/administration/urls.py", line 2, in <module>
from primary.core.administration.views import *
File "/srv/switch/app/primary/core/administration/views.py", line 5, in <module>
from primary.core.api.views import *
File "/srv/switch/app/primary/core/api/views.py", line 8, in <module>
from primary.core.bridge.views import *
File "/srv/switch/app/primary/core/bridge/views.py", line 11, in <module>
from primary.core.bridge.backend.loggers import Loggers
File "/srv/switch/app/primary/core/bridge/backend/loggers.py", line 2, in <module>
from primary.core.bridge.backend.wrappers import Wrappers
File "/srv/switch/app/primary/core/bridge/backend/wrappers.py", line 6, in <module>
import pytz, time, json, pycurl
ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)
even after uninstalling pycurl and exporting the pycurl variable to my environment can I get any help4 -
Ok I know this is stupid question and not rant, but I just finished school and need to go to the high school and want do build some projects. So I'm pretty good with HTML, CSS, PHP, MySQLI, and in high school I want to learn python. I already know some stuff with python I built programs for 'hacking' but I don't know what programs do I need to learn to build if I want to work somewhere... Sorry if my English is bad.. :)9
-
Shall I switch to vs code?
I have been using sublime text for years and the sublime merge works well with it. And I did buy license since I love it. Idk if I should switch or not7 -
to me, "var a" is unorthodox. i'd rather use switch(expectedOutput){case 1:a=1;break;case 2:a=2;break;case 3:a=3;break;case 4:a=4;break;case 5:a=5;break;case 6:a=6;break;case 7:a=7;break;case 8:a=8;break;case 9:a=9;break;case 10:a=10;break;case 11:a=11;break;case 12:a=12;break;case 13:a=13;break;case 14:a=14;break;case 15:a=15;break;case 16:a=16;break;case 17:a=17;break;case 18:a=18;break;case 19:a=19;break;case 20:a=20}1
-
What are your thoughts on jumping ships often to get higher salary?
I feel it doesn't make sense if you are really into learning. From what I've seen, when you become senior or have more responsibilities, the work that needs to be implemented takes more time. Because these responsibilities include aligning multiple teams in the company. Jumping ships won't let anyone experience the work.
I'm not against getting higher salary. But is jumping purely for that reason sustainable in the long run?2 -
//In the code block below. What are both self methods refering to? do both self methods refer to the Suit enum because it is inside the enum block? I am trying to better understand self. Please see link for expanded question.
enum Suit {
case spades, hearts, diamonds, clubs
var rank: Int {
switch self {
case .spades: return 4
case .hearts: return 3
case .diamonds: return 2
case .clubs: return 1
}
}
func beats(_ otherSuit: Suit) -> Bool {
return self.rank > otherSuit.rank
}
}
https://code.sololearn.com/c9KIG0ab... -
Should I switch from windows to Linux? I'm a college student doing CS and most stuff I've seen on GitHub and such mainly have installation instructions on Linux.
I've heard a bunch of my friends go "dude if you code, consider switching to linux"
Is it worth making the switch? Should I dual boot my laptop or completely switch? Or could I make do with a bootable USB drive?9 -
I was arguing with some folks regarding the fact that the switch is the one that stores mac addresses and they are telling me no, it's the computer that stores the mac addresses... anyone can respond to this?6
-
Currently using Ubuntu Gnome. i would like to switch to a new distro. which one should i choose?
Personally, i would like to switch to Manjaro, it looks good : P8 -
Does it make sense to buy a Nintendo Switch second hand? What should I look for, besides that the console is clean and the screen has no burn-ins or dead spots?6
-
Any networking guru's here? I have a practical question regarding network controllers (SDN)
Help please. Stackoverflow is not helping 😫 -
Really want to switch away from bootstrap any recommendation for a light weight grid or flex framework7
-
I just want to find out how single code that isn't changed can work but after that don't... :/ Hate that
-
NOT A RANT
Any of you guys and gals on DevRant bought a Nintendo Switch?
If Yes, what's your verdict on the console/handheld hybrid? And how's Zelda BoTW?? -
does anyone here into blockchain? hows it going.. Is it good to switch from Full stack dev to blockchain . I have covered the basic.. don't know whether or not should I go into this field .. Its just am getting free learning .. but not sure whether or not I have to switch into this5
-
[ not rant ]
Hello everyone, so I just finished school and I need to start high school. But between we have summer. So im interested if you know some sources where I can get job [15 years old] if I can get job bc I think I'm a decent programmer [HTML, CSS, JS, PHP, MYSQLI]. Thank you -
After more 3 years developing for the web I’m considering to learn Swift and Objective-C and then switch to iOS hoping to find a job which involves less multitasking (now I’m split between front-end, back-end, DevOps and other), what’s do you think about a switch like this?3
-
Should I switch to Chrome Headless/Puppeteer for webpage header+footer scraping or stick with Express+Cheerio?1