[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Archived threads in /g/ - Technology - 5271. page

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

File: opengl_logo.png (11KB, 440x192px) Image search: [Google]
opengl_logo.png
11KB, 440x192px
Hello, /g/!

I'm currently having fun with OpenGL in C++, making squares, triangles, making a point take the coords of my mouse and shit like that.

Currently, all the coords of the stuff I draw are hardcoded, so I'd like to implement some sort of input in the window that can retrieve data for the rendering part.

What library do you recommend? I'm working on Linux, btw.
6 posts and 2 images submitted.
>>
File: screencast_00000.webm (288KB, 1362x733px) Image search: [Google]
screencast_00000.webm
288KB, 1362x733px
current progress

using freeglut and glew
>>
>>58156532
post code OP, also I recommend OpenAL for sound, maybe SDL, just post code and progress
>>
>>58156991
here's the whole file

#include <cstdio>

#include <GL/glew.h>
#include <GL/freeglut.h>

double mouse_x = 0,
mouse_y = 0;

void mouseMove( int x, int y ) {
mouse_x = x;
mouse_y = y;
}

void renderScene( ) {

glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );

double x = ( mouse_x / 320 - 1 ),
y = -( mouse_y / 140 - 1 );

glBegin( GL_TRIANGLES );
glVertex3f( 0, 0, 1 );
glVertex3f( 1, -1, 0 );
glVertex3f( x, y, 0 );
glEnd();

glutSwapBuffers();
}

int main ( int argc, char** argv ) {
glutInit ( &argc, argv );
glutInitDisplayMode ( GLUT_SINGLE | GLUT_RGB );
glutInitWindowPosition ( 1100, 100 );
glutInitWindowSize ( 640, 280 );
glutCreateWindow ( "GL_VERSION" );

glutDisplayFunc( renderScene );
glutPassiveMotionFunc( mouseMove );

glutIdleFunc( renderScene ) ;

glewInit();
printf( "OpenGL version supported by this platform: (%s) \n", glGetString( GL_VERSION ) );
printf( "GLSL version supported by this platform: (%s) \n", glGetString(GL_SHADING_LANGUAGE_VERSION ) );

glutMainLoop ( );

return 0;
}


currently looking into SDL, but I don't think it will help that much. Gonna look into GUI libs later

File: Kuvakaappaus 2016-12-25 00:54:19.png (606KB, 1280x1024px) Image search: [Google]
Kuvakaappaus 2016-12-25 00:54:19.png
606KB, 1280x1024px
I boot this computer about once a year when I'm visiting my folks for christmas

This is the /g/ that was cached in firefox (also tabs)

rate
9 posts and 3 images submitted.
>>
I remember the first thread.
>>
File: LOL.jpg (413KB, 936x1386px) Image search: [Google]
LOL.jpg
413KB, 936x1386px
>>58156475
Maki fags have already been here for a year
>>
>>58157498
Source?

>manufactured on 10nm Samsung process
>40% performance improvement over Snapdragon 821
>30% longer battery life over Snapdragon 821
>HTC 11 will be the first Snapdragon 835 device to ship

How do you feel about this?
72 posts and 13 images submitted.
>>
File: anticipated-last-man-on-earth.gif (2MB, 299x224px) Image search: [Google]
anticipated-last-man-on-earth.gif
2MB, 299x224px
>>58156274
>30% longer battery life
Which somehow makes companies think 30% smaller batteries
>>
If they make it to 10nm before Intel I will be impressed.
>>
>>58157209
But 1.3^–1 = 0.77, anon. That's only a 23% smaller battery.

>I'm SO poor I think buying a fruity toddler toy from Apple on a $29/mo plan is a symbol of "wealth"
47 posts and 13 images submitted.
>>
>>58156213

Must suck being poor and angry and not being able to afford to pay for nice things in full.
>>
File: applefanboynerd_t.jpg (45KB, 453x604px) Image search: [Google]
applefanboynerd_t.jpg
45KB, 453x604px
>>58156659(You)
>>
File: 1460870194339.jpg (268KB, 876x758px) Image search: [Google]
1460870194339.jpg
268KB, 876x758px
>>58156659
>t. mactoddler

Does anybody unironically use hybrid drives? If so, wha are they good for?
43 posts and 3 images submitted.
>>
absolutely nothing
>>
do they let you pick whether files go onto the hdd or ssd?
>>
>all of the problems with both HDDs and SSDs
>none of the speeds
>none of the reliability
>none of the great price/Gb

File: 1481093466214.jpg (304KB, 1214x584px) Image search: [Google]
1481093466214.jpg
304KB, 1214x584px
So if Fedora were to re-brand, what would they call them selves?

PS I don't work for redhat
23 posts and 4 images submitted.
>>
>>58156116
memehat
>>
Trilby
>>
>>58156116
Snapbacks OS

File: jpg.jpg.jpg.jpg (3KB, 500x374px) Image search: [Google]
jpg.jpg.jpg.jpg
3KB, 500x374px
>man...I really want an S7. They're only $40 a month at verizon and I'm up for an upgrade.
you know there are great budget Android phones that you can just buy outright for $350 or less?
>I don't know man...
I do know. It's basically my hobby and interest to know. I use a oneplus 2 and I'm just fine. The oneplus 3 and zaxon 7 have the same specs as the s7 if not better.
>yeah but that s7, man.

Yeah?... yeah!?
61 posts and 14 images submitted.
>>
S7 takes better photos famalam
That's all normies care about
>>
File: 1456690970036.png (112KB, 193x236px) Image search: [Google]
1456690970036.png
112KB, 193x236px
I just let my dumb friends waste their money

Not my fucking problem
>>
File: uglyfucker.jpg (613KB, 3200x1680px) Image search: [Google]
uglyfucker.jpg
613KB, 3200x1680px
I know a retard who owns an iphone 7 and he doesn't even have a job. The fucking faggot gets all his news from John Oliver and the daily show and wont shut the hell up about his liberal douchebag arguments.

File: cms.jpg (123KB, 600x480px) Image search: [Google]
cms.jpg
123KB, 600x480px
Christmas edition

Old Thread: >>58151380

>Not sure what private trackers are all about?
The mission of /ptg/ is to promote the highest possible standards of tracker service by providing members with opportunities for professional development, by recognizing technical competence through examinations and by advancing the interests of its members.

>Have a question?
FAQ http://pastebin.com/LQxkS1mU
WIKI https://wiki.installgentoo.com/index.php/Private_trackers
MORE https://gitla.in/ptgGuide/ptgGuide/tree/master

Use >>>/g/ptg as a link to find the /ptg/ thread.

Remember the following:
>Staff occasionally read these generals and have posted here before.
>This is a thread for educational purposes only don't offer or ask for invites.
>Staff may pretend to be normal users asking for invites and when you invite them, they ban you for inviting strangers.
>Have a very merry Christmas indeed
335 posts and 59 images submitted.
>>
>hes not on pth
>>
first for PTH
>>
File: 1482615958794.jpg (544KB, 960x1280px) Image search: [Google]
1482615958794.jpg
544KB, 960x1280px
third for ourgirl

File: 1Y6A1774.jpg (1MB, 1600x1067px) Image search: [Google]
1Y6A1774.jpg
1MB, 1600x1067px
What did /g/ get for Christmas?
193 posts and 42 images submitted.
>>
>>58155982
nothing as always
>>
>>58155982
Nothing. I wished I had a gf.
>>
>>58155996
a gf isn't even good to have. you're with her to be happy, she's with you for any other reason, because girls know how to make themselves happy and don't need you.
get over it, be happy alone, fuck a prostitute if you need to get laid, you will never find happiness in a lady because they don't get into relationships like guys do.

File: IMG_0247.jpg (128KB, 714x1065px) Image search: [Google]
IMG_0247.jpg
128KB, 714x1065px
So now that Zen is confirmed to be an overhyped pile of shit in an Indian street, Skylake EP when?
19 posts and 2 images submitted.
>>
>>58155971
Hollywood needs to be nuked. Nothing could be a worse idea than that.
>>
>>58155971
>Skylake EP
What?
>>
>>58155997
>trump elected emperor
>nothing is worse than a cartoon

you sure are delusional

File: AMD.png (101KB, 471x951px) Image search: [Google]
AMD.png
101KB, 471x951px
>AMD's reputation since their 2xx series is so terrible that the majority of AMD's GPU market share are still 7xxx owners.

Really makes you think.
33 posts and 2 images submitted.
>>
I own a Sapphire HD 7950. I have no need to upgrade, yet.

Might get an RX 480 sometime next year, June or July.
>>
>no RX 4xx
what the fuck
>>
File: amd2.png (102KB, 546x957px) Image search: [Google]
amd2.png
102KB, 546x957px
>>58155832
I wish I took the screenshot of that one AMD anon who said that 480RX is the best selling card of 2016.

File: images.duckduckgo.com.gif (5KB, 482x316px) Image search: [Google]
images.duckduckgo.com.gif
5KB, 482x316px
Everyday I hear the complaints.
>web has become so bloated
>so much waste and inneficientcy of web apps
Whatever happened to gopher?
>Gopher has been described by some enthusiasts as "faster and more efficient and so much more organised" than today's Web services. The Gopher protocol is still in use by enthusiasts, and although it has been almost entirely supplanted by the Web, a small population of actively maintained servers remains.

We need to bring back gopher
10 posts and 2 images submitted.
>>
>>58155784
The day 4chan gets into Gopher will be my last day in the Web.
>>
webassembly and websockets will be good maybe
>>
>>58155784
Web had always it's two sides: source of knowledge and other content (I call it "Gopher" side), more or less organized and indexed by search engines. The other side, called by me "interactive", allows to communicate within web pages or on special platforms or protocols. Both sides have their pros and cons. Interesting for me is the influence that virtual realm makes on people in the 'real' world. Sometimes it is no longer possible to make a border between them; it's both fascinating and horrible. That's why I think that "Gopher" side of Internet is less dangerous and more 'comfy' to me.

File: 869-4268.jpg (74KB, 321x480px) Image search: [Google]
869-4268.jpg
74KB, 321x480px
>Nokia expands patent litigation against Apple in Asia, Europe and the US

https://www.nokia.com/en_int/news/releases/2016/12/22/nokia-expands-patent-litigation-against-apple-in-asia-europe-and-the-us

Apple is such a hypocrite:

Rockstar Consortium Inc., originally named Rockstar Bidco, is a consortium formed to negotiate licensing for patents acquired from the bankrupt multinational telecommunications and data networking equipment manufacturer Nortel. Members of the consortium are Apple Inc., BlackBerry, Ericsson, Microsoft, and Sony.

In 2012, Business Insider listed Rockstar as number 3 on its list of the 8 most fearsome patent trolls in industry. Wired magazine notes that some call them a "straight-up patent troll".

In October 2013, Rockstar had initiated legal action against eight companies, including Google, Huawei and Samsung, as well as other makers of Android phones including Asustek, HTC, LG Electronics, Pantech, and ZTE.

source: https://en.wikipedia.org/wiki/Rockstar_Consortium
9 posts and 2 images submitted.
>>
Who cares I buy Samsung
>>
what's a withing?
>>
File: nokia-withings-260416.jpg (142KB, 1024x568px) Image search: [Google]
nokia-withings-260416.jpg
142KB, 1024x568px
>>58156915

www.withings.com

File: Clone hdd.jpg (25KB, 650x350px) Image search: [Google]
Clone hdd.jpg
25KB, 650x350px
What's the easiest, quickest, and most simple software to clone an hdd with and restore a clone with?
10 posts and 1 images submitted.
>>
>>58155749
clonezilla
>>
>>58155749
dd
>>
Clonezilla which is essentially a DD front end so both posters are right

My parents gave me a fitbit 2 for christmas, the thing is that it's completely useless to me! i do boxing so i will not be able to wear it (it would probably break); can i use it as a dressing accessory? will it look nerdy/retarded?
i am very grateful for the gift and i don't want to disappoint them by not wearing it.
20 posts and 2 images submitted.
>>
they are the latest fad

ebay it while people actually want to buy them
>>
>>58155647
Get a pebble 2
>>
they're tougher than they look and fitbit has great customer service. i got my fitbit for free by telling their customer support that mine broke and they sent me a new one no questions asked i wear mine everyday. I've slammed it into shit unintentionally and abused the fuck out of mine working, only has a few scratches otherwise great. good to measure hr, steps, timer, and looks fairly nice

t. charge hr user

Pages: [First page] [Previous page] [5261] [5262] [5263] [5264] [5265] [5266] [5267] [5268] [5269] [5270] [5271] [5272] [5273] [5274] [5275] [5276] [5277] [5278] [5279] [5280] [5281] [Next page] [Last page]

[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.