Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 18 18:39
    mimi-uxui-dev commented #59
  • May 16 19:17
    serapath commented #59
  • May 16 18:47
    serapath commented #59
  • May 16 17:28
    serapath commented #59
  • May 16 08:03
    mimi-uxui-dev commented #59
  • May 16 07:59
    mimi-uxui-dev commented #59
  • May 16 07:58
    mimi-uxui-dev edited #59
  • May 15 20:44
    mimi-uxui-dev commented #59
  • May 15 05:10
    mimi-uxui-dev edited #69
  • May 15 05:03
    mimi-uxui-dev edited #69
  • May 15 05:02
    mimi-uxui-dev edited #69
  • May 15 05:02
    mimi-uxui-dev edited #69
  • May 15 05:02
    mimi-uxui-dev edited #69
  • May 15 05:01
    mimi-uxui-dev edited #69
  • May 15 05:00
    mimi-uxui-dev edited #69
  • May 15 05:00
    mimi-uxui-dev edited #69
  • May 15 04:57
    mimi-uxui-dev edited #96
  • May 15 04:57
    mimi-uxui-dev edited #96
  • May 15 04:57
    mimi-uxui-dev edited #59
  • May 15 04:56
    mimi-uxui-dev edited #59
Nina Breznik
@ninabreznik
We did a code camp in November in Chiang Mai/Thailand. Here's some videos if you want to see what kind of topics did we rotate there
https://www.youtube.com/channel/UChZtgbTp4PGDfyKKHcjpp1w/videos
@serapath also made this video for our remote team collaborator on How to build Web components (without React or any framework) with native Javascript ~ if you are interested
https://www.youtube.com/watch?v=RKI6ZoypAdU&t=3s
Ryan Lue
@rlue
Thank you @ninabreznik! Will check out these resources. Super exciting.
Nina Breznik
@ninabreznik
<3
diegodure
@diegodure
Hi guys, I'm writing this smart contract to record report cards, is it possible to verify that the reports are not duplicated?
my code is the following

pragma solidity >=0.4.22 <0.7.0;

contract ReportCard{

address owner;

event Status(string msg, address user);

struct Actas{
    uint numero;
    string codigo;
    string carrera;
    string materia;
    string curso;
    string periodo;
    string notas;
}

mapping(uint => Actas) Act;

constructor() public{
    owner = msg.sender;
    emit Status('Se ha creado el contrato exitosamente', owner);

}

function setActa(uint _numero, string memory _codigo, string memory _carrera, string memory _materia
, string memory _curso, string memory _periodo, string memory _notas)public onlyOwner{
    Act[_numero] = Actas({
        numero: _numero,
        codigo: _codigo,
        carrera: _carrera,
        materia: _materia,
        curso: _curso,
        periodo: _periodo,
        notas: _notas
    });
    emit Status('Se ha registrado la acta de calificaciones', msg.sender);
}

function getActa(uint _numero)public onlyOwner view returns(uint, string memory, string memory, string memory
, string memory, string memory, string memory){

    return (Act[_numero].numero, Act[_numero].codigo, Act[_numero].carrera, Act[_numero].materia, Act[_numero].curso,
    Act[_numero].periodo, Act[_numero].notas);

}


 modifier onlyOwner{
    if(msg.sender != owner){
        revert();
    }else{
        _;
    }
}

}

permitme-geek
@permitme-geek
Hello
Alexander Praetorius
@serapath
hello :-)
we teach web and blockchain, mainly javascript, currently we removed solidity from our curriculum :-)
achi55
@achi55
@achi55
am glad to be here
i have a very big challenge with node app that am developing with mysql database and express framework
Alexander Praetorius
@serapath
We only help with a very specific stack... P2P, vanilla JS, ... No express. No mysql
We help ppl who want to go to learn p2p/blockchain and generally a bleeding edge offline first way of programming. We dont help with legacy mainstream stacks
achi55
@achi55
ok
thanks
Alexander Praetorius
@serapath
A little cheatsheet for basic ES6 syntax
https://hackmd.io/yc9FDOW0S6C5DEvSg9PFIg?both
Alexander Praetorius
@serapath
Just finished a vanilla JS calendar component template with @fionataeyang and @ninabreznik if anyone wants to check it out https://codepen.io/serapath/pen/PoNyRrY?editors=0010
dinesh
@1532j0004kg
Guys, using react js will slow down the site?
jeffery.sac
@jefferysac
It’s a resource consuming monster, sure it will
A_step_below_classy
@kbventures
@jefferysac why is it so popular with start ups then?
Alexander Praetorius
@serapath
Because startups have different needs
They need developers which can be replaced and hired, so building an app in a standardized way that is advertised and learned by lots of people makes sense for startups
React gets a lot of marketing budget to advertise to developers
Beginners can learn some concepts and get hired quickly, but in the long run, you might wanna grow beyond the sandbox that was built for you by react folks :-)... There is more stuff you can build than just react web apps or web apps in general
Alexander Praetorius
@serapath

Hacked together a little helper function.
Given a string name, it always derives the same color scheme from it, so i can use it for logging messages and make it easier to identify which log belongs to which name.

https://codepen.io/serapath/pen/wvWMqqY?editors=0010

jaygeet
@jaygeet
anyone know how to create map/graph from the given list of words?
Alexander Praetorius
@serapath
What kind of graph? Visually connect them? What is the relation about?
jaygeet
@jaygeet
A kind of knowledge graph/mind map
relation is parent-children
& also siblings
@serapath
Alexander Praetorius
@serapath
Just search google for graph visualization libraries
Or tree visualization librariea
Add "javascript"
Alexander Praetorius
@serapath

@/all we are transitioning => https://discord.gg/BcvWkKGx4Z

from gitter to discord, which offers a much better web and also mobile community experience :-)
Would be happy to see you all there soon :-)
Olorunyomi Aleaxander Babatunde
@Yoursco1
Hello good morning
Matthew-web-dev
@Matthew-web-dev
Hello?
Alexander Praetorius
@serapath
cheers
can you join us on discord? :-)
whats up? @Yoursco1 @Matthew-web-dev
jaygeet
@jaygeet
hi all
Nina Breznik
@ninabreznik
Hey hey @jaygeet sorry for late response. We somehow moved a bit to the Discord chat and will soon sync the chat to Cabal p2p chat too. Maybe also Gitter. But if you want, you can also join on the Discord https://discord.gg/BcvWkKGx4Z
Nina Breznik
@ninabreznik

Magic time πŸ‘ΎπŸŒˆπŸ’«πŸ€©

Join Wizard Amigos for Mozilla open source conference viewing together.
Looots of interesting online talks: https://fosdem.org/2021/schedule/day/saturday/

Chat about the talks with wizards:
https://discord.gg/u3RZqrdSav

More about it: https://meetup.com/WizardAmigos/events/276167612/

gregorbizjak
@gregorbizjak
I am a complete beginner. I want to learn JavaScript. I installed Visual Studio Code. My question is how to set the console in a way that it colors the code accordingly like commandes are one color in the console comments another etc. I hope I structured the question correctly. Thank you for the help.
gregorbizjak
@gregorbizjak
And hi to you all.
git-ed
@ookangzheng
@gregorbizjak Any example ?
gregorbizjak
@gregorbizjak
I can't seem to be able to pass Lesson 4
I can't pass while-loop and the kithmaze on lesson 4
while-true loop
gregorbizjak
@gregorbizjak
I succeeded. Dear Lord.