明-3 NOMAD

Freedom is a synthetic enterprise, not a natural gift.

50

  • 145 Posts
  • 456 Comments
Joined 2Y ago
cake
Cake day: Nov 25, 2020

help-circle
rss
#Funcion promedio
def promedio(a):
    suma=0
    cant=len(a)
    for i in range(cant):
        suma=suma + a[i]
    promedio=suma/cant
    return promedio

#Funcion mayores de promedio
def mayores(calificacion,promedio,alumno):
    cant=len(calificacion)
    for i in range(cant):
        if calificacion[i] > promedio:
            print(alumno[i], "-", calificacion[i])

#Ingreso de datos
notas=[]
nombres=[]
for i in range(2):
    nombre=input("Ingrese nombre del alumno")
    nombres.append(nombre)
    nota=float(input("Ingres nota"))
    notas.append(nota)

resultado=promedio(notas)
mayores(notas,resultado,nombres)


//Rellenar grilla 
	f=3
	c=3
	dimension matriz(f,c)
	Para f = 0 hasta 2 Hacer
		Para c = 0 hasta 2 Hacer
			matriz(f,c)=azar(1000)
		FinPara
	FinPara
	
	//Mostrar grilla
	Para f = 0 hasta 2 Hacer
		Para c = 0 hasta 2 Hacer
			Escribir "Fila " f " columna " c
			Escribir "Valor de fila ", matriz(f,c)
		FinPara
		
		Escribir ""
	FinPara
	
	//Suma filas
	suma=0
	Para f = 0 hasta 2 Hacer
		Para c = 0 hasta 2 Hacer 
			suma=suma+matriz(f,c)
		Fin para
		Escribir "Suma de fila" f "-->" suma
	FinPara
	
	//Suma columna
	suma=0
	Para c = 0 hasta 2 Hacer
		Para f = 0 hasta 2 Hacer 
			suma=suma+matriz(f,c)
		Fin para
		Escribir "Suma de fila" f "-->" suma
	FinPara
	
FinAlgoritmo



IMO if you’re starting with your project is understandable, they seem to have a shit ton of money put on it, thought, so that may make it a bit unforgivable, but things can change.


Yeah, the Web3 shit is a bit fishy but maybe they are doing it because it attracks customers, the IPFS thing is a nice addition although the MetaMask shit is not, ultimately, if they provide a good and free e-mail service and the rest does not interfere I am good with it though.

Regarding the PDF thing I think that is optional for inputting it, since I was able to copy the code to my password manager.


Is this a bittorrent client or for a tracker web site?



I think he could be at a gymnasium so he could be winning and losing against himself in order to level up a lot of accounts, or maybe there was an event for a rare pokémon and he could have it on different accounts and sell the account or pokémon or something.


The only places I can think of are torrenting sites, otherwise you have to get lucky a find a web site that streams it, but not the best option in terms of quality and security and such.

nyaa.si is a good one


Joe Rogan said some shit like “geTa A VVork!! u LaZyyy miLLen1als!!1!!” and he is with that mindset whereas years back he was telling his fans to quit their jobs and pursue their dreams and stuff like that. I think there has to be a few other kind of things, basically he becoming more right wing, which could be the expression of him getting quite a lot of money for basically being in front of a camera saying stupid shit and money transforming him into a piece of reactionary shit.


Yeah, I know, I didn’t saw that on their readme, still I don’t understand them not wanting to release the server code.




What do you mean they don’t exist? I know they have since long gotten away from the hardware market but I’ve seen multiple video game releases over the years either as publishers or developers. Granted most are remakes or sequels of old games, though.


IMO this should get state funding dude, it is Japan’s historical heritage at this point. I honestly can’t believe they weren’t doing ends meet or something, in a country like theirs where video game culture is so strong.



Looks amazing, I have doubts how they are going to handle killing NPCs, though, since the films were so “if we kill the others we are like the badies” like, but here there were some times when it’s hard to believe an enemy could resist those attacks and not die.


I hope they do, anything that makes the Windows experience shittier is a win for Linux somewhere.


Nice and mature response, a lot better than shitty Linus’s video.


I have to do a poll, but it will most likely be that way.

Regarding the politics, I feel you, and I agree everything is political and such, but I think there’s a middle point where most people can agree it’s bearable, and other times not. For example, I really hate seeing liberal memes, and I’m sure liberals hate seeing Leninists memes here but there are gray places when it’s hard. I think I will leave it like this for now.


cross-posted from: https://lemmygrad.ml/post/142315 > >On March 2, Chinese regulators published a new draft of rules on notifications and pop-ups. The rules hope to stop Chinese apps’ excessive use of the tools and control what content gets shared in the notifications. > > > >Why it matters: Chinese tech companies widely use notifications and pop-ups to promote their services. New rules curtailing their use could hurt service providers such as Baidu, Tencent, and Meituan, which rely on such methods to promote their products and generate profit from advertisements.
fedilink


It would be nice to do a poll, though, and see what people think.


I was thinking the same regarding comics, since a lot of people post them here and they are not memes, may be a good idea to do the same with everything that’s not a meme.

I was also thinking the same as @morrowind@lemmy.ml and maybe having separate communities for political memes may be a good idea, and leave /c/memes just for plain humour, although this can be harder to do since a lot of stuff ends up having politics in one way or another.

I don’t know if I should take this decision by myself just because I’m a mod, though, so maybe hearing out what the rest have to say is a nice idea.


If it were up to me I’d go with Rust because it’s fast and nice, but it’s going to be harder to do since not many people know it, but if you think you can keep the project alive enough until you get help it would be ideal.

I think this is something super useful because what happens to me is that there’s not a really good way to organize images unless you keep two copies of the same file. Let’s say I have a meme about chess that also involves politics, should I store in my “Politics” folder or in my “Chess” folder? With a tag based system you only add a tag which makes it appear on both places, so I wish you the best of luck.

Regarding music I wouldn’t care to use it because I’d rather have a music player that does the same that what you’re proposing but and has a music player integrated into it, which is not something you should add to this software unless you make it really bloaty, at least with e-books and images you generally have another software which just opens it and that’s it.

Also I think some level of hierarchy is needed, so that you can keep stuff within stuff. For example I could have an “Image” tag, and withing it, different tags like “Memes,” “Video Games,” and so on. At least for me, I wouldn’t want to have video memes along with image memes, for example.


Yeah westerners are so “civilized”, you fucking Usonians are the biggest beasts I’ve seen in the world so shut the fuck up when speaking shit about third world countries your people has been annihilating for the last hundred years.






If they would have added a scene with real actors instead of a black screen and text they would have totally improved the film.


To be fair there’s a difference when the adaptation is not true to the original and the same product being modified to adapt to a narrative.

As a good example A Fistful of Dollars by Sergio Leone is an adaptation of Yojimbo by Akira Kurosawa; they are totally different films that deal with totally different topics from totally different points of view, yet both are good. There are things that could have been improved in Fincher’s adaptation but I think at the same time it achieves a lot of other things.

What there’s truly of hypocrite here is that the media is making China look like the devil in red, whereas in reality the amount of countries that modify, censor or ban films or other types of media is pretty common.


If they’re Usonians they’re probably guilty of at least 5 crimes against humanity.





Anything that contains “for America” in its name reminds me of genocide.


Yeah, I agree, I only disagree with the flyer being over simplistic on what it’s necessary to bring a phone to a protest, it’s not simply deactivate face app shit.


Well yeah, but that’s pretty far from bring your phone with faceapp deactivated, knowing how to desolder all that shit, install another os and stuff is hard and most people wouldnt know how to do it


is the comic being sarcastic, though? it says transportation for america which is a bad sign



Bringing your phone at all is stupid IMO, if you live in a country with a massive surveillance State like the US, they can know who you are only with your GPS location and can therefore know if you’ve been there.


Done! Sorry I wasn’t active during the raid.



Yes, I tend to read the most boring kind of books I can find, they’re fun.




Adding upper case letters to addresses would indeed increase what the “_” does, I don’t think we should add them. Your method also requires manual intervention which is just not a good idea.











cross-posted from: https://lemmy.ml/post/152291 > > The right has meant to create intrigues among us and they will not be able to. I believe in this new time, it is worth it to build a new action mechanism with the people. The constitution of 2022: A new system of 1-10 of a new government. > > > >We are working on our technology articulation, so that the people have direct participation and communication with all govt instances, from the popular power to municipalities, to regional and to the national power, [this is] the first line, 2022 - 2030. > > > >Second line: the construction of a problem and solution map that would allow them to build construction agendas to majors, governors, popular councils and national government. > > > >Third line of action: the establishment of an action agenda of community action to every base of popular power in the country. A concrete action agenda. AKA to provide order of direct communications of action and solutions to our people. These are three elements that together should give us a new organizational way, technological, for the solution of national issues of the real problems of the people. A 1-to-10 of the new govt, map solutions, and they can create action agendas for the popular power. We should integrate there. Those that do not integrate with the new times will become dinosaurs. Times pass by and if you do not formulate policies to go with the times you end up as a dinosaur. Maduro dinosaur. Bolivarian revolution dinosaur. That's never gonna happen. > > > >I set this plan with the goal of eight years (2030). True to the wonderful legacy of commander Chavez and this bicentennial stage that should finish victorious when we are celebrate our 200 of the physical disappearance of Bolivar in 2030. > > > >''Our commander Chavez fixated 2030 irreversible character of the Bolivarian revolution. 2030, irreversible character of the socialist revolution of the 21st century. And that's what I set, today. The goal of medium-term period of all of our revolution, building new methods, for a new time of transition to socialism, that's how I declare it. A new stage of transition towards socialism: 2030, irreversible.
fedilink




Low Disk Space on “boot”
So I've been trying to update/upgrade my system/applications for the last few days and it has been erroring, I ignored it and now when I try to `sudo apt upgrade` it tells me that I have "Low Disk Space on "boot" The volume "boot" has only 0 bytes disk space remaining." What happens when I run `sudo apt upgrade`: ``` user@user:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up initramfs-tools (0.136ubuntu6.6) ... update-initramfs: deferring update (trigger activated) Setting up linux-firmware (1.187.25) ... update-initramfs: Generating /boot/initrd.img-5.11.0-43-generic I: The initramfs will attempt to resume from /dev/dm-2 I: (/dev/mapper/data-swap) I: Set the RESUME variable to override this. Error 24 : Write error : cannot write compressed block E: mkinitramfs failure cpio 141 lz4 -9 -l 24 update-initramfs: failed for /boot/initrd.img-5.11.0-43-generic with 1. dpkg: error processing package linux-firmware (--configure): installed linux-firmware package post-installation script subprocess returned error exit status 1 Setting up linux-image-5.11.0-44-generic (5.11.0-44.48~20.04.2) ... I: /boot/initrd.img.old is now a symlink to initrd.img-5.11.0-44-generic Setting up linux-image-5.11.0-46-generic (5.11.0-46.51~20.04.1) ... I: /boot/initrd.img is now a symlink to initrd.img-5.11.0-46-generic Processing triggers for initramfs-tools (0.136ubuntu6.6) ... update-initramfs: Generating /boot/initrd.img-5.11.0-43-generic I: The initramfs will attempt to resume from /dev/dm-2 I: (/dev/mapper/data-swap) I: Set the RESUME variable to override this. Error 24 : Write error : cannot write compressed block E: mkinitramfs failure cpio 141 lz4 -9 -l 24 update-initramfs: failed for /boot/initrd.img-5.11.0-43-generic with 1. dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Processing triggers for linux-image-5.11.0-44-generic (5.11.0-44.48~20.04.2) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.11.0-44-generic I: The initramfs will attempt to resume from /dev/dm-2 I: (/dev/mapper/data-swap) I: Set the RESUME variable to override this. Error 24 : Write error : cannot write compressed block E: mkinitramfs failure cpio 141 lz4 -9 -l 24 update-initramfs: failed for /boot/initrd.img-5.11.0-44-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-5.11.0-44-generic (--configure): installed linux-image-5.11.0-44-generic package post-installation script subprocess returned error exit status 1 Processing triggers for linux-image-5.11.0-46-generic (5.11.0-46.51~20.04.1) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.11.0-46-generic I: The initramfs will attempt to resume from /dev/dm-2 I: (/dev/mapper/data-swap) I: Set the RESUME variable to override this. Error 24 : Write error : cannot write compressed block E: mkinitramfs failure cpio 141 lz4 -9 -l 24 update-initramfs: failed for /boot/initrd.img-5.11.0-46-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-5.11.0-46-generic (--configure): installed linux-image-5.11.0-46-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-firmware initramfs-tools linux-image-5.11.0-44-generic linux-image-5.11.0-46-generic E: Sub-process /usr/bin/dpkg returned an error code (1) ``` Screenshot of /boot: ![](https://lemmy.ml/pictrs/image/2c647b73-424a-481d-9c5b-ff26389abad1.png) I am running elementary OS 6.1 Jólnir, built on Ubuntu 20.04.3 LTS using the Linux kernel 5.11.0-43-generic.
fedilink



cross-posted from: https://lemmygrad.ml/post/96826
fedilink





How mature is GameHub?
I would really like to ditch Steam in favour of a native GTK application which integrates better with my system and which is also libre software. Does anyone know how well it works? Can I truly replace the Steam client with this or does it still have a lot of lacking features?
fedilink





Anyone else thinks that “_” in community addresses should be gone?
In my opinion the only good thing it does is to create copies of already existing communities, so basically people tend to follow one community or the other and it divides the people who could be active. If you want to create a community that's similar to one and for some reason you don't want to be a part of it, find another name, if you can't find another name, create your own instance. So if Lemmy is federating now we could have /c/worldnews, /c/world_news, and the same applies to every other instance that decides to do the same. In my opinion this only segregates people. The same applies to uppercase letters, which Reddit uses but luckily Lemmy does not, imagine how many copies of a community could be created if you use both.
fedilink