Jump to content

Dutch Talk

TheMail

trouwens,

http://www.minibois.byethost17.com/Javascript/

is fout

35 GB met een 1 Gbit verbinding zou 35*8=280 seconden moeten kosten, en volgens jou kost dat 35 seconden!

ja, die calculator klopt niet helemaal. had ik niet genoeg debugged. is ook slecht geprogrammeerd :P

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

Ben nu wel tevreden met wat ik nu heb van boter, kaas en eieren..

Hoe upload ik dit naar GitHub?

 

Het is nu zo dat er geen CPU in zit, je kan dus alleen nog maar lokaal tegen anderen spelen. Het werkt ook wel prima, er is een reset knop die je moet gebruiken om opnieuw te beginnen, etc.

 

Dacht ik even simpel boter, kaas en eieren te maken.. Nou, anderhalve week en meer dan 440 regels code later denk ik daar anders over :P

Als je geen zin heb om het zo van GitHub te downloaden dan hier een link: http://www.minibois.byethost17.com/BoterKaasEnEieren/ (pls iemand doneer een domein aan mij :()

 

EDIT: ik heb het trouwens nog niet helemaal bug free gemaakt. Ik weet ook nog niet of het in elke browser werkt (vanmiddag werkte het wel in Edge and Chrome, maar niet in FireFox), dus vertel me aub of het wel of niet werkt :D

Moet kruisje niet altijd beginnen?  :D

Link to comment
Share on other sites

Link to post
Share on other sites

Moet kruisje niet altijd beginnen?  :D

Ja, volgens mij wel, maar toen ik begon met programmeren begon om de ronde ander en dat vond ik wel een grappig concept ook dus liet ik het erin

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

pas gewoon de variabele aan en dan kun je het zelf ook

Nederlands graag? :P

PC SPECS: CPU: Intel Core i7 3770k @4.4GHz - Mobo: Asrock Extreme 4 (Z77) - GPU: MSI GeForce GTX 680 Twin Frozr 2GB - RAM: Crucial Ballistix 2x4GB (8GB) 1600MHz CL8 + 1x8GB - Storage: SSD: Sandisk Extreme II 120GB. HDD: Seagate Barracuda 1TB - PSU: be quiet! Pure Power L8 630W semi modular  - Case: Corsair Obsidian 450D  - OS: Windows 7

Link to comment
Share on other sites

Link to post
Share on other sites

pas gewoon de variabele aan en dan kun je het zelf ook

ayyy, niet cheaten pls.

 

(Ik snap trouwens nog steeds niks van dat GitHub.. Moet ik nou eerst een repo maken voor mijn game files en dat dan toevoegen aan de Dutch Talk groep ofzo?)

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

help je wel ff op skype of discord

na het eten :)

Volgens mij is het nu goed, ik heb mijn repository published naar Dutch Talk.

Zal later vanavond nog even een goede Readme maken en de code iets beter maken 

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

Volgens mij is het nu goed, ik heb mijn repository published naar Dutch Talk.

Zal later vanavond nog even een goede Readme maken en de code iets beter maken

html staat er niet op?

w8 ff, verander php in html :)

heb mijn js in checkwin.js geplaatst, kijk maar of je het goed vindt :)

winningScenarios = [  ["1","2","3"], //left to right  ["4","5","6"],  ["7","8","9"],  ["1","4","7"], //top to bottom  ["2","5","8"],  ["3","6","9"],  ["1","5","9"], //diagonal  ["3","5","7"]];function innertext(id) {  return document.getElementById(id).innerText;}function CheckWinners() {  for (a = 0; a < winningscenarios.length; a++) {      if (innertext(ButtonsArray[winningScenarios[a][0]]) ==      innertext(ButtonsArray[winningScenarios[a][1]]) &&      innertext(ButtonsArray[winningScenarios[a][0]]) ==      innertext(ButtonsArray[winningScenarios[a][2]])) {        Win(innertext(ButtonsArray[winningScenarios[a][0]]))      }  }}

edit: heb ff niet aan gedacht dat arrays bij 0 beginnen :///

edit 2: gefixt :)

Link to comment
Share on other sites

Link to post
Share on other sites

ok de site is gepubliceerd :D

als je iets wil publiceren, maak je een extra branch gebaseerd op gh-pages en dan doe je daar je commits in, dan mergen we je extra branch met gh-pages en dan staat het op de website :)

als je direct de website wilt bewerken, commit dan naar gh-pages :)

(heb de master branch verwijderd om verwarring te voorkomen)

als je meer info wilt dan zeg je het maar

@Minibois

de site werkt nu

http://dutchtalk.github.io/TicTacToe/

Link to comment
Share on other sites

Link to post
Share on other sites

Iemand help plox. Ik heb een fatsoenlijke naam voor mijn knex pc nodig. Knexinator klinkt zo kut.

Hij is van k'nex (duuuuh), heeft een 3770k, een gtx 970, een PCI-e SSD, een 840 evo, een WD caviar black, 16GB RAM, een sound blaster Z (geluidskaart) en een of andere wifi kaart. Heb alle fans op een centrale schakelaar met relay controllers en de leds zitten ook op een centrale schakelaar. Ook is alles wat enigszins overklokbaar is overklokt (CPU, GPU, RAM) en ik push regelmatig voor een hogere overklok. Hieronder wat money shots:

Spoiler
Ijq9Tr8.jpg

o7qPQrP.jpg

zw8rKqX.jpg

Als iemand wat weet, thx.

 

Duplo4Mannen?

Link to comment
Share on other sites

Link to post
Share on other sites

Ik zat zelf meer aan elemental te denken door het rood-blauwe thema, door het basis, down-to-earth design en door de open air case (vuur, water, aarde en lucht, de vier naties leefde in vrede samen, totdat de vuurnatie aanviel...).

Someone once said: "Having a rollercoaster on a PC would be epic"

So threw a rollercoaster on my K'nex PC: Project Dragon Khan- K'nex rollercoaster PC build

 

Link to comment
Share on other sites

Link to post
Share on other sites

ok de site is gepubliceerd :D

als je iets wil publiceren, maak je een extra branch gebaseerd op gh-pages en dan doe je daar je commits in, dan mergen we je extra branch met gh-pages en dan staat het op de website :)

als je direct de website wilt bewerken, commit dan naar gh-pages :)

(heb de master branch verwijderd om verwarring te voorkomen)

als je meer info wilt dan zeg je het maar

@Minibois

de site werkt nu

http://dutchtalk.github.io/TicTacToe/

Ik zit ook te denken.. Waarom heb ik voor elke button een if gemaakt in ChangeValue() met de gehele functie..

Kan beter dit doen:

//Function that gets triggered on every button press. value being what button is pressedfunction ChangeValue(value){	//Makes sure you can't play/change buttons when the game is over	if(InProgress)	{	if(value == "1:1")	{		//Fill the ButtonChange variable with the applicable button		ButtonToChange = ButtonsArray[0];	}	if(value == "1:2")	{		//Fill the ButtonChange variable with the applicable button		ButtonToChange = ButtonsArray[1];	}	//etc. etc. met alle andere values		//Fill ButtonValue with the value of the button	ButtonValue = document.getElementById(ButtonToChange).innerText;	//Check if ButtonValue is "-" (thus not a filled button yet)	if(ButtonValue == "-")	{		//If Turn equals true it's the X's turn		if(Turn)		{			//Change the button value to X			document.getElementById(ButtonToChange).innerText = "X";		}		//If Turn equals false it's the O's turn		else		{			//Change the button value to O			document.getElementById(ButtonToChange).innerText = "O";		}	}	else	{		//Do nothing		Turn = !Turn;	}		}	Turn = !Turn;	CheckWinners();}

Dat zou de code een stukje korter maken :P

En het checken of er een winnende combinatie is kan ook korter op een manier, die ga ik eerst proberen voordat ik jouw optie probeer.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

net eindelijk maar toch een AIO bracket op mn GPU geinstalleerd. de max temp tijdens witcher 3 op ultra was altijd 98 graden, nu dus 57graden.

ongelovelijk hoe slecht die standaard AMD koelers zijn :o

Link to comment
Share on other sites

Link to post
Share on other sites

gg bro :D

heb alleen nog steeds geen goede SSD replacement voor mn HDD gevonden, dus nou ligt mn HDD gewoon zonder support ergens onder in mn case. lijkt tot nu toe ook prima te werken :P

Link to comment
Share on other sites

Link to post
Share on other sites

die if (value="1:1") moet efficienter...

maak een array:

testarray = ["1:1","1:2"] //enz..for (a = 0; a < 9; a++) {  if (value=testarray[a]) {    ButtonToChange = ButtonsArray[a];  }}

Nog korter gemaakt:

//Function that gets triggered on every button press. value being what button is pressedfunction ChangeValue(value){	//Makes sure you can't play/change buttons when the game is over	if(InProgress)	{	ButtonToChange = value + "Button";		//Fill ButtonValue with the value of the button so you can check it in the following if statement	ButtonValue = document.getElementById(ButtonToChange).innerText;	//Check if ButtonValue is "-" (thus not a filled button yet)	if(ButtonValue == "-")	{		//If Turn equals true it's the X's turn		if(Turn)		{			//Change the button value to X			document.getElementById(ButtonToChange).innerText = "X";		}		//If Turn equals false it's the O's turn		else		{			//Change the button value to O			document.getElementById(ButtonToChange).innerText = "O";		}	}	else	{		//Do nothing		Turn = !Turn;	}	CheckWinners();	}	Turn = !Turn;}

In plaats van als die "if (value == 1:1)" zooi heb ik nu "ButtonToChange = value + "Button";"

 

Dan is je code toch ineens 200 regels korter :P

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

allemaal leuk en aardig, maar wel op github zetten!! da's veel makkelijker :)

(en sync klikken na het committen)

moet ik dan de file in mijn lokale github repository map doen ofzo? of ben ik te blind de knop te zien om dingen te uploaden/updaten in het github programma..

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×