Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
2012-r2
- Page 1
OpenAI o3 vs Anthropic Claude 4 for Text Classification & Summarization
Programming
Computer Science
6 Days Ago
by usmanmalik57
[OpenAI](https://openai.com/) and [Anthropic](https://www.anthropic.com/) are two AI giants delivering state-of-the-art large language models for various tasks. In a [previous article](https://www.daniweb.com/programming/computer-science/tutorials/542132/comparing-gpt-4o-vs-claude-3-5-sonnet-for-zero-shot-text-classification), I compared OpenAI GPT…
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
1 Day Ago
by Inamullah_1
Great tutorial—thanks for sharing! Just a few quick additions: Starting with Android 13 (API 33), apps must request permission for POST_NOTIFICATIONS at runtime, while older versions allow notifications by default. It’s best to check the Android version before requesting this permission to avoid unnecessary prompts. Also, remember to handle the …
Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks
Programming
Computer Science
2 Months Ago
by usmanmalik57
On April 14, 2025, OpenAI released [GPT-4.1](https://openai.com/index/gpt-4-1/) — a model touted as the new state-of-the-art, outperforming GPT-4o on all major benchmarks. As always, I like to evaluate new LLMs on simple tasks like text classification and summarization to see how they compare with current leading models. In this article, I will…
Re: Fujitsu Windows Server 2019 Servers Rebooting at 11pm every day
Hardware and Software
Microsoft Windows
1 Month Ago
by rproffitt
Try a focused area like on Reddit such as https://www.reddit.com/r/homelab/comments/740ap2/the_unofficial_fujitsu_server_guide/ If these were mine I'd move to Linux or BSD.
Re: Designers, Where Do You Get Your Visuals?
Digital Media
UI / UX Design
1 Month Ago
by jkon
We make a vertical distinction between visuals for UI (which are under the R&D department) and visuals for content management / site promotion (which are under the S&D department). In the first case, which covers every visual within the scaffolding of an app / site, we normally create them ourselves. These are typically SVG files, and …
Re: Need Coding Help With A Project
Programming
Software Development
1 Month Ago
by Enzo_3
I was working on a similar assignment where I had to compute the average of numbers from a text file using higher-order functions like map() and reduce(). I was really stuck on how to incorporate them meaningfully, but I finally figured it out. Here's how I approached it using Python: from functools import reduce with open('…
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
1 Month Ago
by Erussuhsh
Hi I'm new android app development can you teach me
Re: How to open an Excel Document in VB.NET
Programming
Software Development
2 Months Ago
by JamesMichaelm
I see it's been a while since you posted, but I'm curious if anyone here has tried using the Open XML SDK instead of Interop or OleDb for reading Excel files. I found it faster and doesn't require Excel to be installed, though it can be more complex for writing. Wondering how others handle big Excel files or ones with tricky formatting?
Re: How to open an Excel Document in VB.NET
Programming
Software Development
2 Months Ago
by PitSterw
I've worked on something similar and found that using Microsoft.Office.Interop.Excel lets you open the file and loop through cells easily.
Re: How to open an Excel Document in VB.NET
Programming
Software Development
2 Months Ago
by Pelorus_1
A Microsoft Excel document can be opened in VB.NET using the Microsoft.Office.Interop.Excel library. Using Workbooks.Open(), open the workbook, and then display the Excel window. Reference the Excel COM object in your project.
R.E.S.P.E.C.T
Community Center
Geeks' Lounge
15 Years Ago
by camdaddy09
R.E.S.P.E.C.T First lets establish the definition of the word respect: due regard for the feelings, wishes, rights, or traditions of others. Its come to my attention that some members of this board do NOT regard the feelings of others as any importance at all when considering a reply. This is contradictory to the point of a forum, a forums …
R
Programming
Software Development
13 Years Ago
by sofia85
Hi, I'm pretty new with the R language. I'm just trying to get familiar with R and wrote a script in gedit (should I use emacs instead?), [CODE] x <- [10.4 5.6 3.1 6.4 21.7] y <- [12,5.6, 7.2, 1.0, 9.3] plot(x,y) [/CODE] then I went to the command window in the terminal (I'm using unix) to run this with source("name_of_file"), …
Re: R.E.S.P.E.C.T
Community Center
Geeks' Lounge
15 Years Ago
by lllllIllIlllI
[QUOTE]R.E.S.P.E.C.T[/QUOTE] Quit being patronising, we are not children. [QUOTE]Its come to my attention that some members of this board do NOT regard the feelings of others as any importance at all when considering a reply[/QUOTE] Boo hoo, looking at your posts there has been some reason why people would be annoyed. You asked for them to do an …
Re: R.E.S.P.E.C.T
Community Center
Geeks' Lounge
15 Years Ago
by WaltP
[QUOTE=camdaddy09;]First lets establish the definition of the word respect:[/QUOTE] Sure, as it pertains to the site: [B]R[/B]ead the Site Rules [B]E[/B]mail addresses must not be posted [B]S[/B]nippets of Code (sorry) are [I]not[/I] help requests [B]P[/B]osts should not be just an assignment description [B]E[/B]xcess code needs to be …
R-rated films not as popular
Community Center
Geeks' Lounge
17 Years Ago
by The Dude
We all know how R rated movies are being replaced... [url]http://www.usatoday.com/money/media/2003-03-05-family-in_x.htm[/url] [quote]Of the top 20 films released in 2002, not one was rated R. 8 Mile, the Eminem movie, just missed at No. 21.[/quote]Yea well most those movies on that list are crapola in my opinion :D (I like #70 and #42) […
R/C++ interface
Programming
Software Development
14 Years Ago
by p.jeet
Hello all, I am using R for my analysis and require C++ code to access in R. I used Rcpp package in R to accesss C++ code. But when I use the function given as an example: [CODE]const char* hello( std::string who ){ std::string result( "hello " ) ; result += who ; return result.c_str() ; } RCPP_MODULE(yada){ using namespace Rcpp ; …
Re: R-rated films not as popular
Community Center
Geeks' Lounge
17 Years Ago
by Ancient Dragon
Many films contain sex scenes just to get the R rating and those scenes do nothing to enhance the movie. And as for the hack-and-slash movies -- they are sooo boring. I thought the first Freddy Krueger movie was funny but they got boring after awhile. And I hate the filthy mouths in many R rated movies -- their mother's should have washed their …
Re: R-rated films not as popular
Community Center
Geeks' Lounge
17 Years Ago
by scru
On the contrary, I do think a lot of R rated films are rubbish. Some have excessive swearing or nude scenes just for the sake of being vulgar. No substance. And don't get me started about some of those slashers...utter rubbish. I wonder how they did this year?
Re: R-rated films not as popular
Community Center
Geeks' Lounge
17 Years Ago
by twomers
I dunno... when I was a kid (R are like 18+, right), I used to like watching those films cause I thought it made me ... more ... cooler, or something. Then when I became old enough to watch them ... meh. They lost their appeal. Now I just watch movies if I think I'll enjoy them. Regardless of their rating.
Re: R-rated films not as popular
Community Center
Geeks' Lounge
17 Years Ago
by scru
[QUOTE=twomers;500364]I dunno... when I was a kid (R are like 18+, right), I used to like watching those films cause I thought it made me ... more ... cooler, or something. Then when I became old enough to watch them ... meh. They lost their appeal. Now I just watch movies if I think I'll enjoy them. Regardless of their rating.[/QUOTE] Huh...that…
Re: R - Listing prime numbers
Programming
Databases
7 Years Ago
by AssertNull
A positive integer >= 2 is prime if and only if it has no prime factors less than or equal to its square root. This is the same in C or R or Java or any other language. DDanbe provided the C code, which I already knew, so I figured I'd learn R as I'd learned nothing else and you're supposedly supposed to learn at least one new thing each day…
\r\n\ output
Programming
Web Development
14 Years Ago
by valonesal
When we make a post to our site it looks fine but when we view the post we see a bunch of \r\n. We are told that we should use something like [CODE]str_replace("\r\n","<br/>",$YOUR_VAR)[/CODE] in order to stop this. Here is my question is the above correct? If so how would we right it out and where would we put it.…
R in python
Programming
Software Development
13 Years Ago
by sofia85
Hi, I have python script where I've extracted many p-values. The next step is to calculate the ROC-curve, or i.e. the AUC (the area under the curve), for these p-values. I'm not excactly sure on how to calculate the ROC (e.g. exactly what it takes as input) and I'm also not sure how to do it in Python. I looked into r.py, but I still have no idea …
R - Listing prime numbers
Programming
Databases
7 Years Ago
by yaldoo
Hello everyone, I am having trouble with my code to list all the prime numbers in R. This is what I have thus far: prime = 0:100 for(val in prime){ if (val == 0){ next } else if (val == 1){ next } else if(val == 2){ val = 2 } else if (val %% 2 == 0){ next } else…
r programmin language
Programming
Computer Science
5 Years Ago
by Ilda_1
Hello! Can someone help me with coding in R ? I am new to R and I need to solve this project. It has been so many days I dont find a solution. This is the problem : You are an online movie and concert ticket service. Visitors go to the service’s website, read reviews, watch cinema schedules, choose a show they like and buy tickets. …
Re: r programmin language
Programming
Computer Science
5 Years Ago
by rproffitt
That project should be attempted over a few days if you are a seasoned R programmer. If you are new to R then you would allocate time to complete courses then begin the work. Is this homework? If so then review the classwork to this point as your class should build up to this assignment.
Re: \r\n\ output
Programming
Web Development
14 Years Ago
by blocblue
A nicer alternative might be to use the [URL="http://uk2.php.net/manual/en/function.nl2br.php"]nl2br[/URL] php function. R.
Re: \r\n\ output
Programming
Web Development
14 Years Ago
by valonesal
To further clarify we dont want to replace the \r\n with something else we simple do not want it to display anything.
Re: \r\n\ output
Programming
Web Development
14 Years Ago
by rajarajan2017
Then try this [CODE]str_replace("\r\n"," ",$YOUR_VAR)[/CODE]
Re: R - Listing prime numbers
Programming
Databases
7 Years Ago
by ddanbe
Know very little about R. But I guess you have a for loop with prime going from 0 to 50 and want to test if val is prime, correct?
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC