明-3 NOMAD

Freedom is a synthetic enterprise, not a natural gift.

50

  • 171 Posts
  • 668 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.


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.


Ahh, it had its name written in a different way.



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.


Maybe you could add it? I don’t know how it works.


Yeah, I know, I know, also people who are not tech savvy, you change the smallest thing to their GUI and they get lost, you need to do some training stuff.



I agree there are cases where you need specific software and in that cases it might be hard, but also there are a shit ton of other cases where everything you need is simply a word processor and spreadsheet.


I know you can pirate it, I doubt a government will decide to launch a national scale campaign to pirate every machine with Windows, it would probably be easier to install Linux any way since you have a lot of older machines.


How is the government going to handle the use of public computers if Microsoft is getting out of Russia? I mean, I’m sure they already have a lot of pirated copies and old versions of Windows, as any (at least third world) country does, but at some point I don’t see any option to either pirate every copy of Windows or start using Linux.


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


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.


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’re Usonians they’re probably guilty of at least 5 crimes against humanity.



Nice, maybe they’ll release it for 2032.



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



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.


whats wrong with adjusting your seat you fucking sychopath, i hope someone stabs you you bastard



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.


Canadian Media Is Happy to Arm Neo-Nazis in Ukraine

I fixed the title. ; )












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



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





There really is nothing nice about USA You go to the hospital you have to pay The dollar is the language that they all speak They don't really bother about the radiation leak
fedilink


Alt-right want war, well that's fine then B¡tch niggas in the way, well, that's common White boys getting mad 'cause of my content Y'all brave on the web, keep it in the comments Sock it to a nigga like Mankind And motherfuck that flag, nigga, we dying CAC! B¡tch! Pussy! Fuck outta here
fedilink


Have you heard of it? Do you know anything about how they handle encryption and if it's any good?
fedilink



Do you think is there going to be some lawsuits to Twitch for their GPL violations?
Or do you think they're going to liberate some parts of its code?
fedilink



[Meta] Could be please not transform this community into another shithole for Usonian news?
For fucks sake, lately it seems /c/worldnews is just like /r/worldnews, every stupid insignificant thing that happens in the US gets a shitty post here. Could you think twice about posting anything US/Europe related thing? I'm not saying there shouldn't be any news regarding these places but some times it's really stupid. [Why should I care if republicans win over there?](https://lemmy.ml/post/84150?scrollToComments=true) I dont fuckig care. [Why should I give a flying fuck if Trump gets his fucking Twitter account back?](https://lemmy.ml/post/84034?scrollToComments=true) I honestly couldn't care less what fascist shit Usonian politicans post on that proprietary network. [Why should I care that the UK pigs are one of the worst repressive organs in the world?](https://lemmy.ml/post/83773?scrollToComments=true) I could go on, the thing is that if you want to post shit about the US, do it in a community regarding the US, *unless* that news could be of interest to the rest of the world. For example if the US creates a new war or participates in a coup d'etat (and they do it pretty often), that could be of interest to the rest of the world, if not, post it somewhere else. Try to think it this way, would you care to know something similar to what you're going to post if that would be happening in an African country? Or in a Latin American country? If the answer is no, then don't do it. Please let's try and make Lemmy a place that's not Reddit, we don't need to be so Usocentric/Eurocentric, even if it's hard.
fedilink