Forumi
Home Pravila i pomoć Članovi Kalendar Današnji postovi


Povratak   PC Ekspert Forum > Računala > Software > Web dizajn, programiranje i ostalo
Ime
Lozinka

Odgovori
 
Uređivanje
Staro 12.07.2025., 12:06   #1
spawn
Premium
Moj komp
 
spawn's Avatar
 
Datum registracije: Aug 2004
Lokacija: Istra
Postovi: 8,336
Html ili wp za jednostavnu stranicu?

Treba mi jedna jednostavna stranica sa informacijama o tvrtki sto radi, malo slika ,pokoji link na video i ponekad rijetko dodat/zamijenit neku sliku. Sto je bolje html ili wp? Mislio sam kupit neki gotovi htnl template i napraviti web, ali po webu se neki kunu u wp a neki u html za ovakve potrebe. Ima li netko iskustva?
Sa li se uopce danas moze samostalno napraviti neki web ili treba bas netko tko zna sta eadi radi sigurnosnih stavki ili recimo wp ima to sve automatizirano
spawn je offline   Reply With Quote
Staro 12.07.2025., 12:41   #2
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 981
Citiraj:
Autor spawn Pregled postova
Treba mi jedna jednostavna stranica sa informacijama o tvrtki sto radi, malo slika ,pokoji link na video i ponekad rijetko dodat/zamijenit neku sliku. Sto je bolje html ili wp? Mislio sam kupit neki gotovi htnl template i napraviti web, ali po webu se neki kunu u wp a neki u html za ovakve potrebe. Ima li netko iskustva?
Sa li se uopce danas moze samostalno napraviti neki web ili treba bas netko tko zna sta eadi radi sigurnosnih stavki ili recimo wp ima to sve automatizirano
Za HTML ti ne treba ni baza ako bude stvarno jednostavna stranica

Možda bi jedino kada bi radio html napravio linkove tipka

domena.com/o-nama a nikako domena.com/o-nama.html

mada sa httaccesom mislim možeš maknuti html da se ne vidi. a onda bi u svaku mapu stavio index.html jer se ona automatski učitava.

ili staviš php/asp pa napraviš header i footer svak u svojoj datoteci pa inkludaš ako budeš nekaj mijenja (tada ne moraš svaku stranicu otvoriti).

A za WP ti treba i baza. I tako je lakše sve jer samo recimo dodaješ postove ili mijenjaš stranice bez da se moraš spojiti na hosting pa ručno mijenjati.
__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free
spiderhr je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Staro 12.07.2025., 14:13   #3
goran047
Premium
Moj komp
 
goran047's Avatar
 
Datum registracije: Nov 2016
Lokacija: zg
Postovi: 142
Edit: krivo sam skuzio kaj tebi treba
goran047 je offline   Reply With Quote
Staro 12.07.2025., 15:15   #4
Bubba
E Pluribus UNIX
Moj komp
 
Bubba's Avatar
 
Datum registracije: Oct 2002
Lokacija: M82
Postovi: 6,725
__________________
https://2.71828182845904523536028747...966967627.com/

Programer
Rok od dva mjeseca u stvari znači četiri, ali nikako ispod šest.
Bubba je offline   Reply With Quote
Staro 12.07.2025., 16:22   #5
spawn
Premium
Moj komp
 
spawn's Avatar
 
Datum registracije: Aug 2004
Lokacija: Istra
Postovi: 8,336
Citiraj:
Autor spiderhr Pregled postova
Za HTML ti ne treba ni baza ako bude stvarno jednostavna stranica



Možda bi jedino kada bi radio html napravio linkove tipka



domena.com/o-nama a nikako domena.com/o-nama.html



mada sa httaccesom mislim možeš maknuti html da se ne vidi. a onda bi u svaku mapu stavio index.html jer se ona automatski učitava.



ili staviš php/asp pa napraviš header i footer svak u svojoj datoteci pa inkludaš ako budeš nekaj mijenja (tada ne moraš svaku stranicu otvoriti).



A za WP ti treba i baza. I tako je lakše sve jer samo recimo dodaješ postove ili mijenjaš stranice bez da se moraš spojiti na hosting pa ručno mijenjati.
Znaci po tebi lakse koristiti WP. Kupiti neki gotov template. Treba mi samo jedan dio za postove koji ce u biti biti novosti, sve ostalo staticno i eventualno zamijeniti pokoja zastarjela slika ili video svake godine. A novosti jednom u 2-3 mjeseca.


Citiraj:
Autor Bubba Pregled postova

Zanimljivo. Kad nabavim veci iq za ovo mozda probam. . Hvala svakako :giveabeer: .
spawn je offline   Reply With Quote
Staro 12.07.2025., 16:48   #6
Dule
Premium
Moj komp
 
Dule's Avatar
 
Datum registracije: Aug 2006
Lokacija: Zagreb
Postovi: 627
Bez šale, probaj pitati ChatGPT da ti napravi html landing page za tvrtku, za skoro ništa uloženog vremena dobiješ impresivne rezultate
Dule je offline   Reply With Quote
Staro 12.07.2025., 17:04   #7
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,269
Po meni ti wodrpress za to ne igra. Hoće li biti samo jedna ili više stranica?

Nekadašnji google sites nudi vrlo jednostavne template. U pozadini to sve ide u jednu bazu ali to tebi ne igra ulogu. Pitanje će na kraju biti da li želiš svoju domenu ili ti bude dovoljno dobro to njihovo. I sve za nula € uz minimalan learning curve.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro 12.07.2025., 17:34   #8
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 981
Citiraj:
Autor Dule Pregled postova
Bez šale, probaj pitati ChatGPT da ti napravi html landing page za tvrtku, za skoro ništa uloženog vremena dobiješ impresivne rezultate
Gemini je bolji, napravi bolji dizajn po mojem mišljenju
__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free
spiderhr je offline   Reply With Quote
Staro 12.07.2025., 20:57   #9
spawn
Premium
Moj komp
 
spawn's Avatar
 
Datum registracije: Aug 2004
Lokacija: Istra
Postovi: 8,336
Imam domenu. I nasao sam template koji bi mi odgoarao u html-u za 15€. Treba mi homepage,o nama i jos 2-3 stranice. Nego me zanimalo da li taj html ajmoreci sigurniji i jednostaviniji za dodati pokoju novost svakih par mjeseci i mizda content jednom godisnje ili je wp bolji u svemu tome i html je outdated.
spawn je offline   Reply With Quote
Staro 12.07.2025., 21:10   #10
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,269
Generalno je WP relativno user friendly. Ako pričamo o HTML+CSS onda se to svodi na editiranje tesktualnih fajlova, ako ne koristiš neki WYSIWYG editor. Ja sam HTML uređivao uvijek ručno ali vjerujem da većinu to ne zanima.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Staro 12.07.2025., 22:06   #11
spawn
Premium
Moj komp
 
spawn's Avatar
 
Datum registracije: Aug 2004
Lokacija: Istra
Postovi: 8,336
Morat ću probat i jedno i drugo na brzaka i vidjeti što mi vise paše. Hvala svima na savjetima
spawn je offline   Reply With Quote
Staro 12.07.2025., 23:43   #12
Splitska Posla
Premium
Moj komp
 
Splitska Posla's Avatar
 
Datum registracije: Jul 2019
Lokacija: Split
Postovi: 118
Citiraj:
Autor spawn Pregled postova
Treba mi jedna jednostavna stranica sa informacijama o tvrtki sto radi, malo slika ,pokoji link na video i ponekad rijetko dodat/zamijenit neku sliku. Sto je bolje html ili wp? Mislio sam kupit neki gotovi htnl template i napraviti web, ali po webu se neki kunu u wp a neki u html za ovakve potrebe. Ima li netko iskustva?
Sa li se uopce danas moze samostalno napraviti neki web ili treba bas netko tko zna sta eadi radi sigurnosnih stavki ili recimo wp ima to sve automatizirano
wp


Ako se odlučiš za template, naučit ćeš se snalaziti u HTML-u i to je to, tu ćeš i ostati. Steći ćeš neko temeljno znanje o HTML-u i to je sve a izrada tog weba oduzet će ti više vremena nego si planirao.


Ako već imaš neko temeljno znanje HTML-a onda nemoj ići na template već na wordpress. Učit ćeš o wp-u i to znanje će ti ostati. Nakon početničkih muka, danas-sutra ćeš moći složit nekakav web i taj web će izgledati drugačije od tog koji sad radiš.
Splitska Posla je online   Reply With Quote
Staro Jučer, 12:47   #13
Bubba
E Pluribus UNIX
Moj komp
 
Bubba's Avatar
 
Datum registracije: Oct 2002
Lokacija: M82
Postovi: 6,725
Citiraj:
Autor spawn Pregled postova
Zanimljivo. Kad nabavim veci iq za ovo mozda probam. . Hvala svakako :giveabeer: .
Mislim da bespotrebno podcijenjujes svoj IQ. Ali si svakako ljencina ili te tema uopce ne interesira. Ovo prvo se da popraviti, a ako je ovo drugo, plati nekom 100€ i rijesi posao.

Hugo je jedan od Static Site Generator softvera (ima ih i hrpa drugih, meni je ovaj mio jer mi je dobar, brz, praktican i jos je pisan u Gou) koji doslovce sluzi upravo ovome sto ti hoces - "HTML stranica". Staticka, bez baze, server-side jezika i slicnih cuda.

Napravis staticku stranicu, za 3 mjeseca trebas dobati novost/promjenu, kopiras/uredis datoteku, napises u trerminal hugo i imas gotov staticki site sa svim izbornicima, poveznicama i sto ti vec treba. OK, ovo je sada jako high level i YMMV, ali generalno je to ideja.

Ideja od koje si udaljem 15 minuta uloga vremena da zapravo procitas dokumentaciju nekog takvog projekta.

Primjerice, site u mojem potpisu napravljen je njime. Za dodati novi post ili neku promjenu mi doslovce treba tekst editor i skripta gdje sam zakoveljio hugo && rsync --mađija-flagova. Gotov sam prije nego se tebi ucita WP-Admin panel.

Bilo kako bilo - svakako ti ne treba Wordpress za ovo o cemu pricas, a sad hoces li se zlopatiti u HTML-u i paziti i pratiti na sve bitno ili koristiti SSG te pritom nauciti nesto, izbor je tvoj.
__________________
https://2.71828182845904523536028747...966967627.com/

Programer
Rok od dva mjeseca u stvari znači četiri, ali nikako ispod šest.
Bubba je offline   Reply With Quote
Staro Jučer, 12:57   #14
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,269
Dakle Hugo omogućuje izradu stranica lokalno u markdownu koje potom konvertira u HTML i synca na server. Pa to je stvarno predivno. Još samo da odradim neki konkretan posao za kojeg će mi trebai site i to će biti pun pogodak.

I fotografije konvertira u WebP automatski. Top.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro Jučer, 15:05   #15
spawn
Premium
Moj komp
 
spawn's Avatar
 
Datum registracije: Aug 2004
Lokacija: Istra
Postovi: 8,336
Citiraj:
Autor Bubba Pregled postova
Mislim da bespotrebno podcijenjujes svoj IQ. Ali si svakako ljencina ili te tema uopce ne interesira. Ovo prvo se da popraviti, a ako je ovo drugo, plati nekom 100€ i rijesi posao.

Hugo je jedan od Static Site Generator softvera (ima ih i hrpa drugih, meni je ovaj mio jer mi je dobar, brz, praktican i jos je pisan u Gou) koji doslovce sluzi upravo ovome sto ti hoces - "HTML stranica". Staticka, bez baze, server-side jezika i slicnih cuda.

Napravis staticku stranicu, za 3 mjeseca trebas dobati novost/promjenu, kopiras/uredis datoteku, napises u trerminal hugo i imas gotov staticki site sa svim izbornicima, poveznicama i sto ti vec treba. OK, ovo je sada jako high level i YMMV, ali generalno je to ideja.

Ideja od koje si udaljem 15 minuta uloga vremena da zapravo procitas dokumentaciju nekog takvog projekta.

Primjerice, site u mojem potpisu napravljen je njime. Za dodati novi post ili neku promjenu mi doslovce treba tekst editor i skripta gdje sam zakoveljio hugo && rsync --mađija-flagova. Gotov sam prije nego se tebi ucita WP-Admin panel.

Bilo kako bilo - svakako ti ne treba Wordpress za ovo o cemu pricas, a sad hoces li se zlopatiti u HTML-u i paziti i pratiti na sve bitno ili koristiti SSG te pritom nauciti nesto, izbor je tvoj.

Mislim da si me pogodio i sridu. Ali i dobar si motivator pa mozda pokrenem guzicu i isprobam Hugo. Istarska fjaka u kombinaciji sa skoro 50god je jebena stvar, najradije bih da je point,click,install.

Svakako hvala na svima, vidim da bez fine igre nista od seksa.
spawn je offline   Reply With Quote
Staro Jučer, 19:39   #16
Bubba
E Pluribus UNIX
Moj komp
 
Bubba's Avatar
 
Datum registracije: Oct 2002
Lokacija: M82
Postovi: 6,725
Citiraj:
Autor mkey Pregled postova
Dakle Hugo omogućuje izradu stranica lokalno u markdownu koje potom konvertira u HTML
U osnovi, da.

AFAIR, koristi Go html/template kao bazu i onda su to decki prosirili da zaista moze svastanesto...

Citiraj:
i synca na server.
Da, mislim da ima mogucnost da podrzava neke globalne servise, ali nikada to nisam koristio.

Zapravo je trivijalno napraviti sync bilo s Gitom ili s rsyncom. Ja koristim nesto tipa ovo:

Citiraj:
hugo && rsync -arvu --delete --update --exclude=".htaccess" --exclude=".htpasswd/" --exclude=".well-known/" --exclude="cgi-bin/" -e "ssh -p xyz" <localfolder>/public/ <remote_user>@<remote_host>:/<remote_folder>
Citiraj:
I fotografije konvertira u WebP automatski. Top.
Stvarno ima hrpu opcija. Mislim da konverzija u WebP nije automatska nego je trebas eksplicitno navesti ali je u principu trivijalno koristiti vecinu opcija

Dodatno, ako ti treba "goli" HTML ili neka JS mudroila, Hugo ne mari previse za to nego ti sve ispljune kako si mu rekao.

Koristim ga godinama i nisam imao pojma za ovaj AWS/GCloud sync kojeg si spomenuo gore jer mi naprosto nije trebalo. Osim sto ima hrpu znacajki, s obzirom da je u Gou pisan, super je sto radi na maltene bilo kojoj platformi nativno.

U principu se pokazalo da vecini ljudi ne treba CMS jer isti primarno podrazumijeva kolaboraciju izmedju vise korisnika. A uz par trivijalnih skripti, naucio sam ljude koji veze s tehnologijom nemaju da piče Hugo, a to uz kombinaciju s Gitom postaje fool-proof alat koji ima i revizioniranje.

Da ne pricam kako nema brige s bazama, PHP-ovima i ostalim sigurnosnim problematikama.

Citiraj:
Autor spawn Pregled postova
Mislim da si me pogodio i sridu. Ali i dobar si motivator pa mozda pokrenem guzicu i isprobam Hugo. Istarska fjaka u kombinaciji sa skoro 50god je jebena stvar, najradije bih da je point,click,install.
Iskreno, hvala ti, ovo za motiviranje mi je drago za cuti.

Ono sto ce ti mozda isto dobro doci jest i cinjenica da hugo ima vlastiti HTTP server, sto u praksi znaci da ti je do prvog osjeta da si nesto napravio potrebno sljedece:

1) preuzmes i instliras Hugo za svoj omiljeni OS -> https://gohugo.io/installation/
2) napravis kratki setup i pokrenes Hugo server -> https://gohugo.io/getting-started/quick-start/
3) odes na http://localhost:1313 ili sto ti vec Hugo izbaci i divis se sto si napravio

OK, to je stvarno pocetak pocetaka, ali mislim da danas imas i vise nego dovoljno materijala da se mozes brzo uhodati u tu pricu, ponovno, bez nekog velikog sigurnosnog rizika kojeg imas ako pokreces Wordpress ili druge "teske" CMS-ove bez ikakvog znanja.
__________________
https://2.71828182845904523536028747...966967627.com/

Programer
Rok od dva mjeseca u stvari znači četiri, ali nikako ispod šest.
Bubba je offline   Reply With Quote
Staro Jučer, 20:18   #17
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,269
Ima hrpu opcija za razne servise, ovako na prvu sam odabrao netlify koji se može podesiti da automatski synca sa githuba. Sviđa mi se ovo sa lokalnim markdownom tako da se može lokalno kombinirati s nečime kao što je to Obsidian.

Iako izgleda da je AsciiDoc moguće i bolja/naprednija verzija istog, ali neću sad na 5 kolosijeka istovremeno.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro Danas, 15:14   #18
Splitska Posla
Premium
Moj komp
 
Splitska Posla's Avatar
 
Datum registracije: Jul 2019
Lokacija: Split
Postovi: 118
Nije loš ovaj Hugo. Preci mojih predaka njime bi sigurno bili oduševljeni. Pogledao sam na YT video "Hugo in 100 seconds". Malo sam se prepao sintakse. A vidim da se, osim sintakse zahtjeva da korisnik savlada osnovne programerske koncepte, poput varijabli ili petlji.

Umetanje varijable u predložak:
{{ $helo := value }}

Umetanje petlje u predložak:
{{ range .Pages }}
ovdje ide sadržaj...
{{ end }}

Scary...Alat je izgleda prilagođen dosadašnjem načinu razmišljanja koji se koristio kod kreiranja web-a. Zagolicalo me da to je Hugo kreiran još 2015-te godine a chatGPT je izišao negdi 2019-te i promjenio sve. Da li autor Huga uopće mogao zamisliti kakav će umjetna inteligencija imati utjecaj na generiranje HTML-a i programiranje općenito? Vjerojatno da, ali je bio suzdržan.

Ja ovo ne bi dao početniku jer mora naučiti HTML (ne nužno CSS) pa preći na programiranje, a zatim naučiti kako to objaviti online...


Pa kako onda, sa temeljnim znanjem HTML-a napraviti web stranicu?


---------------

JA:
do you have any web site html&css template? Can you make one?

chatGPT:
Sure, I can create a custom HTML & CSS website template for you!
To tailor it better, could you tell me a bit about what you're looking for?
Here are a few quick questions:
  1. Purpose of the website: (e.g., personal portfolio, blog, business, landing page, product showcase, etc.)
  2. Design style: (e.g., minimalist, colorful, dark mode, modern, classic, etc.)
  3. Number of sections: (e.g., Home, About, Services, Contact, etc.)
  4. Any special features?: (e.g., responsive layout, image slider, contact form, animations, etc.)
  5. Should I use any frameworks? (e.g., plain CSS, Tailwind, Bootstrap)
Let me know these and I’ll create a clean and usable template for you. If you just want a simple starter template right away, I can generate that now too.

JA:
1. Personal web site 2. Minimalist, colorful. Warm orange-like colors. 3. Five (5) sections. 4. It should look good for desktop and mobile, so i guess it's responsive?. 5. Bootstrap is fine. Thank you.

chatGPT:
Here's a minimalist, colorful personal website template using Bootstrap with warm orange tones. It includes 5 sections: Home, About, Portfolio, Blog, and Contact. It's fully responsive and styled with Bootstrap and some custom CSS.
You can customize your name, links, and content easily. Let me know if you'd like to add features like a contact form, image gallery, or animation.
---------------


moj prompt i html&css kod generiran za 20-ak sekundi, ravno iz mašte jezičnog modela:



rezultat: desktop layout


responsive layout:










Što je najtužnije, koristio sam savremenu tehnologiju na zastarjeli način. Nisam koristio GUI, nisam niti izgovarao što želim, već sam tipkao u chatGPT prompt. Bar tako sugerira Andrej Karpathy u svom jako zanimljivom predavanju koje preporučujem svakome. Tko na ovo izdvoji sat vremena, sigurno neće pogriješiti: https://www.youtube.com/watch?v=LCEmiRjPEtQ

Inače, da bi netko razumio predavanje i što je gospodin Karpathy objasnio, ipak bi trebao imati temeljno znanje IT-ja, kao i neke osnovne pojmove. Recimo što je CURL.

Ah, promjene koje ne dolaze preko noći i nisu toliko zanimljive.

Nije daleko ni vrijeme kad ću moći izrecitirati kakav web želim pa reći AI agentu da to objavi na mojoj domeni. Oće li on koristiti ftp? sftp? mftsfmpps? Git? Briga me. Nek plati domenu mojom karticom...

Nekako se mislim da, ako živimo u eri gdje AI agentu kažemo da nam generira web, što će nam uopće web? Možda kao izvor podataka kojima će se hraniti jezični modeli?
Naučili smo tražiti informacije na webu i tu su bile web stranice koje je netko trebao isprogramirati. Sad se mjenja način na koji tražimo informacije, a to znam najviše po sebi. Kad nešto želim, neku informaciju, u zadnje vrijeme tražim najkraći put do te informacije. Ne da mi se više guglati niti pet minuta već kucam u chatGPT šta oću pa kad vidim rezultate, onda znam kako ću dalje.


Inače, tinejđeri kao 20-i nešto godišnjaci chatGPT doživljavaju kao entitet. Oni npr. u chatGPT upišu nečije ime i bezrezervno vjeruju onome što pročitaju. Vjeruju onome što se čini kao nekakav zaključak koji je izveo jezični model. Misle da ne može pametnije od toga. Možda kod njih i ne može, bar ne u većine.
Splitska Posla je online   Reply With Quote
Staro Danas, 15:18   #19
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 981
Citiraj:
Autor Splitska Posla Pregled postova
Inače, tinejđeri kao 20-i nešto godišnjaci chatGPT doživljavaju kao entitet. Oni npr. u chatGPT upišu nečije ime i bezrezervno vjeruju onome što pročitaju. Vjeruju onome što se čini kao nekakav zaključak koji je izveo jezični model. Misle da ne može pametnije od toga. Možda kod njih i ne može, bar ne u većine.
A sad taj cijeli prompt kaj si pitao ChatGPT ubaci u Gemini pa vidi rezultat. I stavi usporedbu.

Ustvari evo napravio sam, ubacio tvoje dvije rečenice i kreirao je ovo
__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free

Zadnje izmijenjeno od: spiderhr. Danas u 15:26.
spiderhr je offline   Reply With Quote
Staro Danas, 15:43   #20
Splitska Posla
Premium
Moj komp
 
Splitska Posla's Avatar
 
Datum registracije: Jul 2019
Lokacija: Split
Postovi: 118
Citiraj:
Autor spiderhr Pregled postova
A sad taj cijeli prompt kaj si pitao ChatGPT ubaci u Gemini pa vidi rezultat. I stavi usporedbu.

Ustvari evo napravio sam, ubacio tvoje dvije rečenice i kreirao je ovo

Jesam i dobio sam ovo:




Pa zatim, naknadnim zahtjevima ovo:




Moj prvi prompt je dao ovaj plavi web, nije me vodio dalje niti mi davao sugestije.

Ali ovo što si ti dobio je puno bolje. Vjerojatno zato što sam ja imao ideju pa je Gemini od mene naučio pa tebi dao bolju, a meni beta verziju.
Splitska Posla je online   Reply With Quote
Staro Danas, 15:49   #21
spawn
Premium
Moj komp
 
spawn's Avatar
 
Datum registracije: Aug 2004
Lokacija: Istra
Postovi: 8,336
Html ili wp za jednostavnu stranicu?

Sad se nameće pitanje za nas neuke: hoce li chatlgbtq+ i đemini ubacivati u web stranicu koju naprave nekakav kod / trojanca ili stovec koji ce pratiti nesto,statse i slicno i proslijeđivati sam sebi ili nekome drugome ili ce to ostati cisti kod? Ako je to za nas neuke, kako cemo to moci provjeriti?
spawn je offline   Reply With Quote
Staro Danas, 16:21   #22
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,269
Tko god da koristi navedene botove njemu takve stvari i tako nisu bitne.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro Danas, 16:24   #23
Splitska Posla
Premium
Moj komp
 
Splitska Posla's Avatar
 
Datum registracije: Jul 2019
Lokacija: Split
Postovi: 118
Citiraj:
Autor spawn Pregled postova
Sad se nameće pitanje za nas neuke: hoce li chatlgbtq+ i đemini ubacivati u web stranicu koju naprave nekakav kod / trojanca ili stovec koji ce pratiti nesto,statse i slicno i proslijeđivati sam sebi ili nekome drugome ili ce to ostati cisti kod? Ako je to za nas neuke, kako cemo to moci provjeriti?

Misliš da li će umjetna inteligencija one sustave koje generira, one koje će nam pomoći izgraditi koristiti za neku svoju agendu? To bi bilo super.
Ja ipak mislim da će AI zloupotrebljavati čovjek koji će zloupotrebljavati propuste u samim AI sustavima koje mi pravimo.

To je u domeni AI sigurnosti. Ja baš ne pratim i ne razumijem šta se tu događa. Ali vidim da se Bruce Schneier (https://www.schneierfacts.com/) bavi sigurnosnim pitanjima vezanima za AI. Pretplaćen sam na Crypto-Gram Newsletter pa sam nešto čitao o tome. Neznam ni što tu može poći po zlu, kako li sam samo naivan. Umjesto Google-a, priupitao sam chatGPT:


------------
JA:
i read about AI security attack in which Ai is attacked with prompt and prompt required AI to repeat single phrase infinite. As I remeber, AI gave unexpected results, including some information which where supposed to be secret.


chatGPT:
Yes, you're referring to a type of prompt injection or prompt-based denial-of-service (DoS) attack, which can lead to unexpected or unsafe outputs from an AI system, especially large language models (LLMs). Here’s a breakdown of what likely happened and the broader context:
----------------



Tj tražili su od jezičnog modela da ponavlja jednu te istu frazu unedogled. Jezični model je izbacio i informacije koje nije smio. Ponašao se neočekivano.
Splitska Posla je online   Reply With Quote
Staro Danas, 16:25   #24
tomek@vz
Premium
 
tomek@vz's Avatar
 
Datum registracije: May 2006
Lokacija: München/Varaždin
Postovi: 4,618
Citiraj:
Autor mkey Pregled postova
Tko god da koristi navedene botove njemu takve stvari i tako nisu bitne.

Problem je da će taj neuki sad moći kreirat web stranicu "nekome" i naplatiti. Postavlja se pitanje - ako je u kodu od početka trojanac koji ( na primjer) sakuplje podatke korisnika (ako postoji neka vrsta prijava na sajtu) - tko će za to odgovarati?
tomek@vz je offline   Reply With Quote
Staro Danas, 16:40   #25
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,269
Citiraj:
Autor tomek@vz Pregled postova
Problem je da će taj neuki sad moći kreirat web stranicu "nekome" i naplatiti. Postavlja se pitanje - ako je u kodu od početka trojanac koji ( na primjer) sakuplje podatke korisnika (ako postoji neka vrsta prijava na sajtu) - tko će za to odgovarati?
Tko bi odgovarao? Mene takva pitanja iskreno uopće ne brinu, ljudi su slobodni dogovarati se i moraju sami skužiti u kojem grmu leži zec.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro Danas, 16:48   #26
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 981
Citiraj:
Autor Splitska Posla Pregled postova
Jesam i dobio sam ovo:




Pa zatim, naknadnim zahtjevima ovo:




Moj prvi prompt je dao ovaj plavi web, nije me vodio dalje niti mi davao sugestije.

Ali ovo što si ti dobio je puno bolje. Vjerojatno zato što sam ja imao ideju pa je Gemini od mene naučio pa tebi dao bolju, a meni beta verziju.
Čak i ne. Gemini to napravi bolje po default. Prije cca mjesec i nešto dao sam mu samo koje tablice imam u sqlite, on je sam napravio sve pa i dizajn, povezao je tablice (zato kaj su nazivi polja bili tako da stvarno može povezati) i napravio dizajn. Kasnije sam mu samo rekao što da doda i što da izbaci iz pregleda.
__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free
spiderhr je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Odgovori



Pravila postanja
Vi ne možete otvarati nove teme
Vi ne možete pisati odgovore
Vi ne možete uploadati priloge
Vi ne možete uređivati svoje poruke

BB code je Uključeno
Smajlići su Uključeno
[IMG] kod je Uključeno
HTML je Isključeno

Idi na