-  [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 419 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.

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.

Script stuff Noob 18/12/03(Mon)16:24 No. 5173 [Reply]
5173

File 154385065394.jpg - (13.67KB , 450x319 , 67808925-stock-vector-vector-thinking-guy-meme-fac.jpg )

Hi guys, i have this script that i run through chrome on tampermankey, but to run it 24/7 is quite expensive in electricity terms.
is there a free way to make it run on other devices or online or stuff like that that i dont know???


3 posts omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 19/01/04(Fri)01:35 No. 5193

>>5192
I assume what OP means is that it's costly to keep the computer running 24/7 just to keep the script running, not that the script by itself increases the power consumption.


>>
Neckbearded Basement Dweller 19/01/13(Sun)01:11 No. 5203

If it doesn't need to be in a browser you could probably port it to Node, which would be a little less wasteful than running it in Chrome.


>>
Neckbearded Basement Dweller 19/01/17(Thu)20:52 No. 5205

But why did you have to write it in Javashit in the first place, and why are you using a proprietary browser?




Neckbearded Basement Dweller 19/01/11(Fri)07:21 No. 5200 [Reply]

What is the best version of visual studio?


>>
Neckbearded Basement Dweller 19/01/14(Mon)19:49 No. 5204

In my opinion, it depends on the language you work on. If you work with C#, C++, use the IDE. If you work with various languages other than those, such as Python, HTML, CSS, Java, etc, use Code.




Create a "Personality" Quiz with detailed results Neckbearded Basement Dweller 18/12/01(Sat)00:40 No. 5166 [Reply]
5166

File 154362124725.jpg - (26.18KB , 751x483 , me.jpg )

Hello, I need a website where I can create a personality kind of test where the participant can see the detailed result for all the categories (in % or points). All the websites I found show only the one you fit the most and not all possible results and how much your answers fit these. Can also be a Pie chart or bar graph. Thanks in advance


1 post omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 18/12/01(Sat)01:35 No. 5169
5169

File 154362454462.png - (68.06KB , 1353x651 , Example.png )

>>5168
Sure. If you look at the image you can see different names with points listed. These are all the categories you can be sorted to. For every question you have been given more, less or none points to each category. In the end you can see how much you are associated to every category. It that would work on this internet site ( qfeast) thht would be great, BUT this view option vanishes when you take the test as a participant. I need a website where the participant can see all the options after taking the test. a view like this would be great, but a pie chart or something like in the opening post would be great too.


>>
Neckbearded Basement Dweller 18/12/01(Sat)02:27 No. 5171

>>5169
Alright, I can't promise I'll be fast, but tonight and tomorrow I'll do some digging and try to find something and either way I'll let you know.


>>
Neckbearded Basement Dweller 18/12/02(Sun)10:48 No. 5172

>>5171
I found the website gotoquiz . com but there I can only select a maximum of 10 categories : ( the search continues...




PL/SQL Issues Neckbearded Basement Dweller 18/11/27(Tue)08:09 No. 5160 [Reply]
5160

File 154330259383.jpg - (455.74KB , 2539x1459 , 1445728771441.jpg )

Why the fuck wont this run? it runs fine when i put in a number for the interval but not when i put in left or right input. they should just be numbers so whats the big deal?


SET serveroutput ON

ACCEPT leftLimitInput NUMBER PROMPT "Please enter the leftLimit in minutes: ";
ACCEPT rightLimitInput NUMBER PROMPT "Please enter the rightLimit in minutes: ";

DECLARE
leftLimit NUMBER;
rightLimit NUMBER;
BEGIN
leftLimit := &leftLimitInput;
rightLimit := &rightLimitInput;
SELECT flightno, fromAirport, toAirport, (arrives-depart) AS flightDuration FROM flights WHERE (arrives-depart) >= INTERVAL 'leftLimitInput' MINUTE AND (arrives-depart) <= INTERVAL 'rightLimitInput' MINUTE;
Message too long. Click here to view the full text.


>>
Neckbearded Basement Dweller 18/11/27(Tue)09:30 No. 5161

>>5160
also this select statement doesnt work and i dont know why that is either. im trying to get it to display stuff from within the last 61 days and this should do it but it isnt.

select BT, BP, AD, DATE_FORMAT(publDate, '%m/%d/%Y'), PN from auth, book, publ where (publDate BETWEEN NOW() - INTERVAL 61 DAY AND NOW())


>>
Neckbearded Basement Dweller 18/11/27(Tue)15:41 No. 5162

>>5161
Just kidding about this select statement. It does work but there are no dates within the 61 days. That took me far too long to realize




Stories from Developer Hell Neckbearded Basement Dweller 18/11/01(Thu)19:20 No. 5151 [Reply]
5151

File 154109645052.png - (36.83KB , 500x500 , 1332212036913-1.png )

Oh man, I’d never heard of hurd and because of a post on /b/ I went down the goddamn rabbit hole last night. Originally developed by a fucking Anglican friar who was kicked off the project and replaced by the head of the GNU Project Richard Stallman. And even though GNU has gone on to do cool shit, since the original goal was to develop a crowd-developed completely free operating system they can’t kill hurd since it’s the kernel, even though the damn thing has been in development since 1990. So hurd can’t be cancelled for ideological reasons and has been lumbering on as a zombie until today.

This story is amazing to me and I’d love to have more like it. So what are your stories, or stories you know of, that of developer hell? Projects far past their original due date, too vast or esoteric in scale to be practical, the craziest and weirdest shit that coding has to offer. Lay it on me /pr/ofessionals.


>>
Neckbearded Basement Dweller 18/11/09(Fri)20:39 No. 5154

Hurd's got nothing on Xanadu.
Xanadu is basically HTML but with two-way multilevel links (you can link to documents, paragraphs, and words) and version control. It's been in development since the sixties and all there to show for it is a wholly unimpressive "demo" where you can click on a document and jump around.
I suspect it may actually be a low profile scam.

https://en.wikipedia.org/wiki/Project_Xanadu

It's interesting how it somewhat parallels Hurd's history, though. Both projects wanted something revolutionary and ambitious, but their ambition made them make progress too slowly, and they were eventually overtaken by a less ambitious, more realistic project that achieved completion, success, and widespread popularity in a fraction of the time.


>>
Neckbearded Basement Dweller 18/11/10(Sat)01:51 No. 5155

>>5154
>wanted something revolutionary and ambitious, but their ambition made them make progress too slowly, and they were eventually overtaken by a less ambitious, more realistic project that achieved completion, success, and widespread popularity
So, in other words, Duke Nukem Forever.

Yet amazingly even less interesting (or entertaining).


>>
Neckbearded Basement Dweller 18/11/10(Sat)14:42 No. 5156
5156

File 15418573521.jpg - (241.87KB , 1312x2000 , stignucius.jpg )

>Originally developed by a fucking Anglican friar
Oh shit, that post was for real? I thought anon was making a joke about RMS (pic related). I'll have to go apologize for my newfaggotry.




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?





Delete post []
Password  
Report post
Reason