Trying to write a very basic payroll program in python, and feel like a fucking retard right now.
Just want the fucker to run until I tell it to stop, but it never runs. Code is latest I've tried thinking of.name = 0
if name != 0:
name = input('Enter employee name: ')
rateofpay = int(input('Enter employee hourly rate: '))
hours = int(input('Enter total hours: '))
overtimerop = (int(hours * 1.5))
othours = int(input('Enter total hours beyond 40: '))
grosspay = (hours * rateofpay) + (othours * overtimerop)
print()
print('Employee: ', name)
print('EE rate of pay: ', rateofpay)
print('EE total hours: ', hours + othours)
print('EE total gross wages: ', grosspay)
else:
name == 0
print('You are now exiting the program.')
>>55625214
OP, I wrote the equivalent of this in QBASIC, with no formal training, no google and no help other than the built-in help, when I was 9 years old.
If you're struggling with this, maybe you should give up programming.
>>55625267
I find that hard to believe
Also, don't be a gigantic faggot, don't respond if you don't have an answer.
>>55625312
>I find that hard to believe
You don't need to, I still have the program :^)
https://0x0.st/mVv.txt
Anon, what's your desktop like? Need inspiration for new PC
is this the new desktop thread
>>55625072
yeah, post ur best ones/ur own
WOW glad u asked
here it is
What are some essential Android phone apps?
f-droid
>>55624929
Clover
Web browsers:
Firefox Beta
Lightning
Naked Browser
Lubuntu will be on LXQt since version 16.10
that means in ~3 months
is your body ready to say goodbye to xfce, mate, lxde, and openbox?
>>55624887
>If only it had thumbnails like KDE
>>55624887
about fucking time
>>55624887
>say goodbye to openbox
You can still use openbox in lxqt
Gpu's that require 2 8x pin power connectors?
>>55624790
Your mothers butthole. The slut.
my R9 380 did
the gigabyte 1080 extreme.
Why do we hate CS degrees again?
>>55624726
Because everyone here has a code camp degree and all they know is how to do basic algorithms in Python. That's the same reason people here hate C++.
>>55624744
/g/ is mostly freshman CS majors (at best.) Thus the obsession with cool meme languages like Haskell and their general comfort with Java.
Because I, as a biology major, can code, use algos, and design software better than most of the comp sci majors that have come through our office.
>he actually uses Google Chrome
>>55624725
>implying that Google hasn't been doing this all along
>>55624725
KDE/Qupzilla master race
>>55624725
literally my face when I saw your pic
Are they still allowed
The ones on /w/ and /wg/ are always so dead
>>55624669
If you include the words "desktop thread" it autosages immediately
>>55624676
why they allow homescreen threads
>>55624701
I like your wallpaper
Hey /g/ I'm usually a /fa/ browser but I find myself in need of a new smartphone. I've been lurking but couldn't find an exact answer to my question, and I'm working on somewhat limited knowledge of tech. What would /g/ recommend for a /fa/ggot that blends both a good smartphone that is also nice looking?
>limited max budget of $450
>would like 10+MP primary camera
>good battery life preferred
>efficiently able to run usual apps
>decent storage
pic related: currently considering moto x pure
>want's a /fa/ phone
>anything but an iPhone
no
Get a rose hold iphone you hopeless faggot
but what if not an iPhone fan?
Well I bought the memedows 10 and now my hard drive locked.
Win10 hate thread is in order.
>He paid to be the product
>>55624631
>He actually fell for the WinPOO meme
hahahahahaha
They locked it for your own safety.
Old Thread: >>55616675
Post your simple/small/stupid questions here
take at least 10 seconds to google first
Hey /g/.
I'm looking for software that will lock down a phone, and let me teamviewer (Or otherwise remote control it, or start an app) whenever I want. It's a BDSM thing, my sub's been asking me to set up something to control their phone. Any advice? It's abit of a hassle to keep on restarting TV
>>55624687
A-........Are you sure I cannot interest you in some pepe images instead
>>55624687
>It's a BDSM thing, my sub's been asking me to set up something to control their phone.
https://browserprint.info/
https://panopticlick.eff.org/
http://ip-check.info
http://browserleaks.com/
Fingerprinting is the newest way of tracking you across websites.
It's being done right now by companies like Google.
Because unlike cookie based tracking you can't defeat it just by disabling cookies.
In the Panopticlick study 83.6% of fingerprints were unique, even when JavaScript and/or Flash was disabled, and this is before canvas fingerprinting was invented.
There is currently NO FOOLPROOF DEFENCE against fingerprinting (except quitting the Internet).
Google's privacy policy states
>Other technologies are used for similar purposes as a cookie on other platforms where cookies are not available or applicable
https://www.google.com/intl/en/policies/privacy/key-terms/#toc-terms-cookie
ReCAPTCHA probably still contains fingerprinting code:
https://archive.is/9K5gs
This means that the majority of 4chan users could be being fingerprinted, and Google might know about your shitposting habits even if cookies are disabled.
Google releases limited hangout of how much they know about you:
https://news.slashdot.org/story/16/06/29/2038257/googles-my-activity-reveals-how-much-it-knows-about-you
Daily reminder to do all your Amazon / eBay / LinkedIn / botnet shit in a completely separate browser to your Googling or buying shit.
It's currently the ONLY way to truly defend against fingerprint tracking.
Double points if you have each browser running in a different VM with a different OS.
Triple if you have each browser's VM configured with a different VPN connection.
Could the FP-Block browser extension be what we're looking for?
http://satoss.uni.lu/software/fp-block/
Adds randomness to canvases, generates random HTTP headers, randomises timezone, etc.
Bggy, and it doesn't seem to play well with other extensions, but very promising.
If only it was under active development.
Another extension you may want to check out:
https://addons.mozilla.org/en-US/firefox/addon/canvasblocker
You forgot
>quadruple points if you have one computer for personal things using your home connection and one for shitposting using an anonymously purchased VPN connection
Fingerprinting is irrelevant once the data can no longer be associated with your physical location. Use a VPN.
is 2 monitors a meme?
a monitor is like 300 dollars. are you really that poor
Depends on what you're doing.
>>55624410
>$300
More like $20-$50 on craigslist
I cant afford a fanless gaming pc but I'll just dream on. I believe fanless computers are the future. The only sound I like is the one coming out of my speakers. Also I think fan noise has a bad influence on my psychological state. Feel free to post anything about fanless pc's, tell me it's not cost efficient, that you like noise, etc. It's not a fucking fridge. Also i think it's a conspiracy that they make computer cases which look so much different than fridges. If pc cases are supposed to be cool inside they could just contain all the isolation material but they dont. All air cooled computers are noisy pieces of shit. All that r&d and they still dont eliminate fan noise. because they dont care about your experience. they want you to be depressed by constant stupid noise you have inside your home, being annoyed as fuck and playing games to be able to ignore it.
>>55624306
That heatsink isn't nearly big enough.
>>55624306
>Also I think fan noise has a bad influence on my psychological state.
... What?
So does the g in /g/ stands for gentoo?
Yes.
No.
Perhaps