-  [WT]  [PS]  [Home] [Manage]

  1.   (new thread)
  2. [ No File]
  3. (for post and file deletion)
/pr/ - Programming
  • Supported file types are: C, CSS, DOC, DOCX, GIF, H, JAVA, JPG, PDF, PNG, SVG, SWF, TXT, WEBM
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 396 unique user posts. View catalog

  • Blotter updated: 2018-08-24 Show/Hide Show All

We are in the process of fixing long-standing bugs with the thread reader. This will probably cause more bugs for a short period of time. Buckle up.

There's a new /777/ up, it's /Moldy Memes/ Check it out. Suggest new /777/s here.

Movies & TV 24/7 via Channel7: Web Player, .m3u file. Music via Radio7: Web Player, .m3u file.

WebM is now available sitewide! Please check this thread for more info.

Linux Revolt? Underground 18/10/01(Mon)23:38 No. 5146 [Reply]
5146

File 153842991556.jpg - (2.54KB , 259x194 , x.jpg )

4chan Deleted my Post damn them
oh well,

is the Linux Revolt Real?
what's happening?
did the SJW Culture Invaded the Programming space ?

(USER WAS BANNED FOR THIS POST)


>>
Neckbearded Basement Dweller 18/10/02(Tue)03:54 No. 5147

For right now it sounds like some nerd drama but overall something of little actual consequence. I hope I'm right and it's just a flash in the pan, because if it turns into a flamewar it could break one of the most productive communities out there.
https://motherboard.vice.com/en_us/article/yw43kj/what-happens-if-linux-developers-remove-their-code




Mobile Advertising Company Hacked. All Code and Data Leak. Neckbearded Basement Dweller 18/09/30(Sun)01:10 No. 5145 [Reply]

InMobi Hacked
AerServ Hacked
All Aerserv Intellectual Property and Data Leaked

https://paste.drhack.net/?c6ce53d3373971a2#WeRYFDRJPrMaR+wJftzXPKCjqucCDQNJ6z6LpIuOpfs=
https://0bin.net/paste/zFSnKrR6dhRPCwdm#YJwbCe6V0M+dV8Cfs-Cr7YWk6g5GX00w3RBfG4AEhDj
http://pasted.co/216f4d76
https://hastebin.com/jogiqujota.rb
https://pastebin.com/uvW2EC5r




PY Lord of the sneks 18/09/25(Tue)22:59 No. 5139 [Reply]
5139

File 153790916925.jpg - (96.23KB , 690x678 , 1537307044830.jpg )

Python general bread, all are welcome, lets revive this board boys


1 post omitted. Click Reply to view.
>>
Lord+of+the+sneks 18/09/26(Wed)21:22 No. 5142

>>5140
Hey, I'm currently learning python too, the two best resources I know of that are available for free are w3 schools and codeacademy, they're both great for learning.

On another note, was wondering if anyone could give me a hand, I'm trying to make it so that the variables "name" "year" and "age" are logged in a text file, with a timestamp of when they where saved.

name = input("Please enter your name: ")
year = int(input("Please input the year that you were born: "))


age = 2018 - year
#print(age)

while age == 0:
x = int(input("Age is incorrect, please try again."))
age = 0
Message too long. Click here to view the full text.


>>
Lord+of+the+sneks 18/09/26(Wed)23:30 No. 5143

>>5142
I've found the solution to this problem, for those wondering, it looks something like this:

with open("details.txt","a") as output:
output.write("Age: {} Name: {} Year: {} Timestamp: {}".format(age,name,year,datetime.datetime.now()))
output.write("\n")


>>
Neckbearded Basement Dweller 18/09/30(Sun)00:45 No. 5144

>>5143
This is tight. I honestly didn't know an answer to your request (though your original code was pretty fluid) how'd you find the answer? Lack of sleep and caffeine until 5pm like the rest of us?




New Kernel Patch Submission Process Linus Torvalds 18/09/26(Wed)14:49 No. 5141 [Reply]
5141

File 153796616641.png - (85.52KB , 610x590 , 610px-tux-g2-svg-svg.png )

FromLinus Torvalds <>
DateWed, 26 Sep 2018 11:05:24 -0700
Subject New Kernel Patch Submission Process

I am back from my break feeling _refreshed and ready_ to focus on kernel development again. 4.19 looks like an exciting release and includes more Spectre migration work for IBM power processors and a bunch of good stuff for 64-bit ARM.

Now that the CoC is in place our community finally knows how to act and communicate appropriately. However - I realized I have not done much to address how our development process *needs* to change.

Starting with 4.20 all changesets will be evaluated to ensure diversity in the kernel development process. I've extended git to support new author metadata, including ethnicity, sex characteristics, gender identity / expression and sexual orientation. I will be sharing my work on this soon.

Proposed kernel changesets will now be rated in IP (Inclusivity Points). Patches sent without author metadata will be rejected.

Subsystem maintainers will be required to calculate IP for changesets before submitting them upstream. They are tallied like this:

- ethnicity:
Message too long. Click here to view the full text.




MIT/ HW anon 18/06/19(Tue)04:48 No. 5119 [Reply]
5119

File MIT6_0001F16_ps1.pdf - (673.41KB )

im trying to do the first part of the problem and i wrote it in python, but im getting the wrong outcome.......


annual_salary = float(input("enter your annual salary: " ))
portion_saved = float(input("enter your portion of salary your going to save: "))
total_cost = float(input("enter cost of dream house: "))
r = 0.04
months = 0
i = 0
down_payment = total_cost*0.25
savings = (annual_salary /12) * portion_saved
current_savings = 0.0
#print("annual salary: " +str(annual_salary))
#i=0
while (current_savings <= down_payment):
Message too long. Click here to view the full text.


>>
Steve Jobs 18/09/23(Sun)21:17 No. 5138

>>5119
What version of python are you running?




C# Beginner Neckbearded Basement Dweller 18/07/20(Fri)13:21 No. 5126 [Reply]
5126

File 153208567035.gif - (265.65KB , 200x178 , 1530523907658.gif )

Hello.
I want to learn C# and I was wondering if there are any good books on C#. I preferably want to download an e-book, so that I don't have to waste time on the Internet learning C#
I am a beginner in coding. So far, I have an electronic textbook on just C, but nothing else.
Help is greatly appreciated, thanks.


>>
Neckbearded Basement Dweller 18/08/28(Tue)06:00 No. 5132

The actual Microsoft Press C# books aren't too bad if you are new to it.


>>
Neckbearded Basement Dweller 18/09/14(Fri)08:36 No. 5136

>>5126
UTube that's what I've been using.




N00b .x7 18/07/29(Sun)02:47 No. 5129 [Reply]
5129

File 153282527617.png - (56.64KB , 301x301 , Azzlackz.png )

stay anonym cuz its just a proof!




REQ: C/C++ Programming Podcasts Neckbearded Basement Dweller 18/07/10(Tue)02:45 No. 5124 [Reply]
5124

File 153118355932.jpg - (13.30KB , 255x218 , cartoon22.jpg )

Hi all,

I really enjoy the embedded.fm podcasts and I was looking for some others. Basically podcasts that would be relevant or interesting to a c programmer. C++ is ok too, but no windows centric crap please.




Java Noah 17/07/31(Mon)01:09 No. 5058 [Reply]
5058

File 150145619578.jpg - (106.68KB , 1280x768 , background.jpg )

What does /pr/ think of Java? Is it still worth learning?

I want to get into software development and I'm not sure what language to pickup.


4 posts and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 17/11/14(Tue)06:34 No. 5085
5085

File 15106376494.jpg - (8.38KB , 205x246 , CvsJAVA.jpg )

Not sure where I saw this picture, but this summarize what I think JAVA is.

On a more serious note, while C being the "elite" language (also the linux kernel language), there seems to me that JAVA has more job oportunity than C.


>>
Neckbearded Basement Dweller 18/01/24(Wed)05:29 No. 5095

>>5058
It depends on where you want to use programming.
The tool is used in a lot of fields, so look at what people are using and learn that.
A good alternative is to ask someone from your local college what they are taught as colleges usually talk to the industry they are preparing for.

In my area, we use C++ for robotics, C# for user applications, javascript for web stuff and java for legacy stuff.
But don't let language slow you down. Just get started and learn programming. Changing language does not mean you start over from scratch.
I was tutoring a couple of students in programming (c++) and I found that they didn't have much problem with the actual c++ parts of the programming, they had problems with all the things nobody taught them. Where do you find documentation, how do you include libraries, how to write cmake, how to create modules, how to write graphical interfaces etc.
I basically threw 3 large libraries at them in a Linux environment and then had them interface it with what they previously knew.
I was never taught these things myself, but learned things out of need and interest.
If I am going to do this again, I will write it down in a more concise way, I think a language overview would be nice to have for each language.


>>
Neckbearded Basement Dweller 18/05/19(Sat)12:21 No. 5118
5118

File 152672530517.jpg - (51.70KB , 500x600 , minimalism.jpg )

>>5085
Here's a bigger one.




HELP Neckbearded Basement Dweller 18/03/25(Sun)17:31 No. 5109 [Reply]
5109

File 152199187872.jpg - (83.77KB , 600x600 , 20992938_1977716625579352_9086097263622168837_n.jpg )

how to create and develop chan websites for a specific region..
STEP BY STEP


1 post omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 18/04/19(Thu)01:11 No. 5112

yup same here, would be fun to play around with the image board concept


>>
Neckbearded Basement Dweller 18/04/19(Thu)18:39 No. 5114

>>5109
try darkchan?

personally im looking for textboards if you guys want to trade?


>>
. 18/04/29(Sun)02:28 No. 5115

It's a pretty simple concept, you should be able to figure it out.





Delete post []
Password  
Report post
Reason