modulus

joined 2 years ago
MODERATOR OF
[–] modulus@lemmy.ml 23 points 9 months ago (4 children)

It's interesting how NATO is "forced" to take action by Chinese military build-up, doesn't leave any room for China being forced to take action by NATO's military build-up. Reminds me of that recent video of previous NATO's head complaining about China placing bases close to NATO, when any NATO country is thousands of km away and China is deploying near its own coast.

[–] modulus@lemmy.ml 53 points 10 months ago (24 children)

I kept giving Mozilla the benefit of the doubt and telling myself things weren't so bad.

I was wrong.

I'll continue using Firefox because it's the least bad option, but I can't advocate for it in good faith anymore, and I don't expect it to last long with this orientation.

So it goes.

[–] modulus@lemmy.ml 5 points 10 months ago

Unfortunately this came conveniently too late.

[–] modulus@lemmy.ml 13 points 10 months ago* (last edited 10 months ago) (1 children)

There's a very good report to the UN Human Rights Council on the human rights situation in the Palestinian occupied territories, numbered as A/HRC/55/73, which has a very good section on human shields.

58. IHL strictly prohibits the use of human shields. 188 Their use constitutes a war crime, 189 as it violates the duty to protect the civilian population from dangers arising from military operations. 190 When human shields are used, the attacking party must take into account the risk to civilians. 191 Indiscriminate or disproportionate harm to civilians remains unlawful and the civilian population can never be targeted.

59. Israel has accused Palestinian armed groups of deliberately using civilians as human shields in previous aggressions on Gaza (including in 2008-09, 192 2012, 193 2014, 194 2021 195 and 2022 196 ). It also used it to justify high civilian casualties and attacks against paramedics, journalists and others during the 2018–2019 ‘Great March of Return’. 197 UN independent fact-finding missions 198 and reputable human rights organizations 199 have consistently challenged these allegations, sometimes concluding that evidence of human shields had been fabricated. 200 Nevertheless, Israel has used these accusations – sometimes then retracted to justify widespread and systematic killing of Palestinian civilians in its ongoing assault. 202

60. After 7 October, this macro-characterization of Gaza’s civilians as a population of human shields has reached unprecedented levels, with Israel’s top-ranking political and military leaders consistently framing civilians as either Hamas operatives, “accomplices”, or human shields among whom Hamas is “embedded”. 203 In November, Israel’s Ministry of Foreign Affairs defined “the residents of the Gaza Strip as human shields” and accused Hamas of using “the civilian population as human shields”. 204 The Ministry defines armed groups fighting from urban areas as deliberately “embedded” in the population to such an extent that it “cannot be concluded from the mere fact that seeming ‘civilians’ or ‘civilian objects’ have been targeted, that an attack was unlawful”. 205 Two rhetorical elements of this key legal policy document indicate the intention to transform the entire Gaza population and its infrastructures of life into a ‘legitimate’ targetable shield: the use of the all-encompassing the combined with the quotation marks to qualify civilians and civilian objects. Israel has thus sought to camouflage genocidal intent with humanitarian law jargon.

61. International law does not permit the blanket claim that an opposing force is using the entire population as human shields en bloc. Any such usage must be assessed and established on a case-by-case basis before each individual attack. 206 The crime of using human shields occurs when the use of civilians or civilian objects to impede attacks on lawful targets is the result of a deliberate tactical choice, not merely arising from the nature of the battlefield, such as hostilities in densely populated urban terrain. 207

62. Nevertheless, Israeli authorities have characterized churches, 208 mosques, 209 schools, 210 UN facilities, 211 universities, 212 hospitals and ambulances 213 as connected with Hamas to reinforce the perception of a population characterized as broadly ‘complicit’ and therefore killable. Significant numbers of Palestinian civilians are defined as human shields simply by being in “proximity to” potential Israeli targets. 214 Israel has thus transformed Gaza into a “world without civilians” in which “everything from taking shelter in hospitals to fleeing for safety is declared a form of human shielding”. 215 The accusation of using human shields has thus become a pretext, justifying the killing of civilians under a cloak of purported legality, whose all-enveloping pervasiveness admits only of genocidal intent.

[–] modulus@lemmy.ml 6 points 1 year ago (1 children)

I do not think it is a very good analogy. I do not see how this would turn into a broadcast medium. Though I do agree it can feel less accessible and there is a risk of building echo chambers.

Not so concerned on that--people being able to establish their tolerances for whom they want to talk to is fine with me. But if the system goes towards allowlists, it becomes more cliquish and finding a way in is more difficult. It would tend towards centralisation just because of the popularity of certain posters/instances and how scale-free networks behave when they're not handled another way.

It’s most likely a death sentence for one-persone instances. Which is not ideal. On the other hand, I’ve seen people managing their own instance give up on the idea when they realized how little control they have over what gets replicated on their instance and how much work is required to moderate replies and such. In short, the tooling is not quite there.

I run my instance and that's definitely not my experience. Which is of course not to say it can't be someone else's. But something, in my opinion not unimportant, is lost when it becomes harder to find a way in.

[–] modulus@lemmy.ml 9 points 1 year ago (3 children)

I'm concerned that people are already eager to bury the fediverse and unwilling to consider what would be lost. The solutions I keep hearing in this space all seem to hinge on making the place less equal, more of a broadcast medium, and less accessible to unconnected individuals and small groups.

How does an instance get into one of these archipelagos if they use allowlists?

Same thing with reply policies. I can see the reason why people want them, but a major advantage on the fedi is the sense that there is little difference between posters. I think a lot of this would just recreate structures of power and influence, just without doing so formally--after all the nature of scale-free networks is large inequality.

[–] modulus@lemmy.ml 6 points 1 year ago

It's possible FF wouldn't get away with something like integrating ad blocking by default, but in no reasonable universe were they required to do the PPA stuff and turn it on by default. Nor is it clear that it will lead to websites caring about FF compatibility--unfortunately many already don't.

[–] modulus@lemmy.ml 15 points 1 year ago (2 children)

The usual pro-advertising take. "It's ok that we're going to experiment without your consent on how to manipulate you, because we only use aggregated data so it's not personal, it's business."

[–] modulus@lemmy.ml 4 points 1 year ago (1 children)

So it would still help optimising persuasion at scale (also known as lying to people to best et them to act against their interest). Why is this a good thing again?

[–] modulus@lemmy.ml 8 points 1 year ago (3 children)

what do I think the history is? A record of the sites I visited.

What do I think the history isn't? A correlated record of which advertisements I've been exposed to, and which conversions I've made, that gets sent to people who are not me.

Pretty relevant distinction. One thing is me tracking myself, another thing is this tracking being sent to others, no matter how purportedly trustworthy.

[–] modulus@lemmy.ml 21 points 1 year ago* (last edited 1 year ago) (7 children)

I'd like people to STOP PRETENDING that the only plausible reason why someone doesn't agree with this is that we don't understand it. Yes, I understand what this does. The browser tracks which advertisements have been visited, the advertiser indicates to the browser when a conversion action happens, and the browser sends this information to a third-party aggregator which uses differential techniques to make it infeasible to deanonymise specific users. Do I get a pass?

Yes, this is actively collaborating with advertising. It is, in the words of Mozilla, useful to advertisers. It involves going down a level from being tracked by remote sites to being tracked by my own browser, running on my own machine. Setting aside the issues of institutional design and the possibility for data leaks, it's still helping people whose business is to convince me to do things against my interest, to do so more effectively.

[–] modulus@lemmy.ml 11 points 1 year ago (9 children)

I don't blame Mozilla for not single-handedly ending advertising online. That's too much to expect from anyone. But they could at least avoid active collaboration with the enterprise. And if they're going to engage in it, they should at the very least warn their users.

 

I have a struct that looks like this:

pub struct Game {
    /// A HashSet with the players waiting to play as account strings.
    lobby: HashSet<String>,
    /// capacity determines  how many people a match contains.
    capacity: u8,
    /// A vector of ongoing matches.
    matches: Vec<Match>,
    /// HashSet indicating for each player which match they are in.
    players: HashMap<String, usize>,
}

I realised that this won't work because if there are 3 matches (0, 1, 2) and I remove 1 because it ends, the players that used to point at 2 will be pointing outside the vector or to an incorrect match.

So I thought the obvious solution was to use a reference to the match: players: HashMap<String, &Match>. But this makes lifetimes very complicated.

What's a good way to deal with a case like these where data are interrelated in the same struct?

 

Hi there,

I'm trying to do some native windows rust programming. I'm using native-windows-gui and native-windows-derive to do it, but if I try to mix that with tokio, I get the following:

No entry point found error for GetWindowSubclass. On console, I get:

error: process didn't exit successfully: `C:\source\myprojectanem\target\debug\myprojectname.exe` (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)

If I change

#[tokio::main]
async fn main() {

to:

fn main() {

The problem goes away, but obviously I can't use tokio then.

Any clue what the problem is and how to fix it?

 

Hi there,

I'm working on a bot to do social games on the fedi, and using the mastodon-async crate for communicating with the ActivityPub server in question. At the moment I'm using tokio mt as a runtime, though I'm new at async so if you think I shouldn't let me know.

The pattern I want to implement is the following:

  • At any given time, a user sends a "play" message to the bot.
  • If the player list is empty, the player is added to it awaiting someone else.
  • Otherwise, the bot checks if there are enough players on its list (who have previously sent a play message). For some games, enough is 1, since it's a 2-player game, for some it's 3 or more.
  • If there are enough players, play commences. list is cloned for that match, then emptied so other players can get in.

What I'm not very clear is how to keep this list to assure that sequence will be respected. I.a., if two play messages come reasonably quick together, I want one to be processed, then entered on the list, or get the match to start; then the other to get processed.

My current thoughts:

  • I could use a channel that receives the player accounts. When a new player is added, it performs the logic.
  • I could use a mutex with a list (or an option player value for the degenerate case of 2-player games).

Any thoughts on what the reasonable thing to do is here? I'm very new to async and while I realise there's probably lots of ways to do this, they're not all equally ergonomic and I want to avoid myself future pain.

1
submitted 2 years ago* (last edited 2 years ago) by modulus@lemmy.ml to c/ius_hispaniarum@lemmy.ml
 

Buenos días. Vamos con el BOE del día de hoy.

  • Real Decreto 571/2023 en materia de inversiones exteriores: régimen jurídico, obligaciones de declaración, etc.

  • Revisión de precios de la moneda metálica de colección.

  • Real Decreto 572/2023 en materia de interoperabilidad sanitaria: incrementa el mínimo de datos exigible en los informes clínicos del sistema nacional de salud. Profundiza en la interoperabilidad tanto entre las autonomías como con otros países de la UE.

  • Orden que declara la finalización de la crisis sanitaria por Covid-19.

  • Real Decreto 573/2023: aprobación del reglamento de adopción internacional. No he podido hacer análisis pero si alguien tiene interés estaría bien ver algún comentario sobre el tema.

  • Procedimiento de ayudas para afectados por talidomida.

  • Recurso contencioso-administrativo contra resolución de servicios mínimos de la huelga de justicia.

  • Iniciación de negociaciones sobre controversias de constitucionalidad de un decreto legislativo de la Comunidad Valenciana en materia de cooperativas.

  • Ayudas a federaciones deportivas para tecnología y medios audiovisuales para digitalización del entrenamiento y detección de talentos deportivos, para mejora de los procedimientos de gestión, y ayudas a las asociaciones en el ámbito del deporte.

  • Convocatoria de subvenciones del Imserso para turismo y termalismo para personas con discapacidad.

Y hasta aquí llega el BOE de hoy.

 

Buenos días, fedi. Otro día, otro BOE. Vamos a ello.

  • La Comunidad de Madrid publica 3 leyes: 5/2023, creando el sistema integrado de protección civil, 6/2023, de archivos y documentos, y 7/2023, del libro, la lectura y el patrimonio bibliográfico.

  • Cese y nombramiento de la presidencia del gobierno de Cantabria.

  • Resoluciones que modifican las cuotas de pesca individuales en el Cantábrico y noroeste, y fijan cuotas en caladeros nacionales para determinadas especies.

  • Negociaciones sobre controversias de constitucionalidad de un decreto de las Islas Baleares en materia de reparación del daño de la borrasca Juliette, y en materia de la ley balear de cooperativas.

  • designación de jurados para los premios nacionales de artes plásticas, fotografía, restauración de bienes culturales y tauromaquia 2023.

  • Convocatoria de ayudas para las confederaciones y asociaciones de madres y padres.

  • Ayudas para entidades locales y sus entes dependientes para el mantenimiento de aulas de formación abierta, flexible y a distancia, en el marco de la FP.

  • Convocatoria de ayudas a universidades para equipamiento deportivo para los campeonatos internacionales universitarios 2023, 2024 y 2025.

  • Convocatoria del premio a la investigación en nutrición y salud de la Fundación Vicky Foods de la Comunidad Valenciana.

Y hasta aquí llega el BOE de hoy.

 

Buenos días. Una vez más me pongo con el BOE. Lamento que el sábado no me ha sido posible, aunque no traía mucho de interés. Había alguna que otra ayuda relevante. La semana que viene me voy de vacaciones hasta fin de mes y no creo que saque los resúmenes tampoco. Pero al día de hoy, que es lo que toca.

  • Ley 5/2023 del País Vasco, sobre autoconsumo, modificando la ley de urbanismo y facilitando la instalación de paneles solares y puntos de recarga de vehículos.

  • Ley 6/2023, del País Vasco, sobre obligaciones de comunicación de los operadores eléctricos del bono social térmico.

  • Ayudas para acciones de calidad en el sistema de FP.

  • Ayudas para la creación de una red de centros de capacitación digital.

  • Ayudas para formación, perfeccionamiento y movilidad del profesorado de FP.

  • Ayudas del plan de modernización del sistema de FP.

  • Ayudas para acciones en materia de prevención de riesgos laborales.

  • Negociaciones sobre controversias de constitucionalidad del decreto canario sobre cuantías máximas para las ayudas a las personas cuidadoras no profesionales en el ámbito de la dependencia (técnicamente autonomía personal).

  • Convocatoria del Premio Velázquez 2023.

  • Bases reguladoras de las becas de la CNMC.

Y hasta aquí llega el BOE de hoy.

 

Buenos días. Vamos con el BOE de hoy.

  • Orden sobre registro de las actividades de vigilancia de infraestructuras ferroviarias. Que sé que si me queda algo de trenes fuera la gente protesta.

  • Recursos contencioso-administrativos: deducción de haberes por la huelga de LAJs, y procesos selectivos.

  • Indicador de uso sostenible de antibióticos en especies animales y variedades zootécnicas.

  • Ayudas a las entidades locales para formación para el empleo.

  • Bases reguladoras de ayudas para instalaciones deportivas para fomentar el turismo deportivo sostenible.

  • Bases y convocatoria del distintivo "Igualdad en la Empresa" para 2023.

  • Comunicación de la CNMC sobre criterios para la imposición de la prohibición de contratar.

  • Convocatoria de ayudas a entidades locales para reactivación económica y lucha contra la despoblación.

  • Convoctoria de ayudas para empresas para la reactivación económica de zonas con dificultades demográficas.

  • Convocatoria de ayudas de I+D+i en líneas estratégicas.

  • Convocatoria de ayudas para la investigación biomédica de la Fundación Eugenio Rodríguez Pascual.

Y hasta aquí llega el BOE de hoy.

1
submitted 2 years ago* (last edited 2 years ago) by modulus@lemmy.ml to c/ius_hispaniarum@lemmy.ml
 

Buenos días. Vamos con el BOE de hoy.

  • Real Decreto-ley 5/2023: lo habréis visto en la prensa. Traspone una serie de normas europeas sobre modificaciones de sociedades mercantiles, permisos y conciliación en el trabajo, censura de contenidos terroristas, sistema de recuperación de puntos de tráfico, blanqueo de capitales, acceso a registros, y VTCs. Además prorroga medidas económicas como la ayuda a industrias electrointensivas, tope del gas, transports, agricultura, y establece otras nuevas sobre vehículos eléctricos, adquisición de primera vivienda, regula el olvido oncológico, etc. También tiene un paquete importante de modificaciones procesales en el ámbito penal, civil, contencioso-administrativo y social. Sólo este decreto-ley ya daba para un post, es enorme.

  • Autorización de trasvase Tajo-segura de 15 hm^3 para junio del 2023.

  • Tarifa de último recurso de gas natural.

  • Instrucción de la JEC en materia de dispensa de obligación de ser miembro de mesa electoral.

  • Recursos contencioso-administrativos: contra el impuesto a las energéticas y a las entidades de crédito, orden de modelos de presentación de IRPF e impuesto del patrimonio, y procesos selectivos.

  • Ayuda al vino, mediante destilación de crisis.

  • Iniciación de negociaciones sobre controversias de constitucionalidad de normas de Aragón en materia de agricultura, patrimonio, y tecnologías en la nube.

  • Interés de mora para las operaciones comerciales en el segundo semestre del año: 12%.

  • JEC: distribución de espacios publicitarios y toma de conocimiento del plan de cobertura de RTVE.

  • Subasta del metal de la desmonetización de moneda deteriorada y pesetas.

  • Convocatoria de ayudas para primera experiencia laboral de jóvenes demandantes de empleo en la Administración.

  • Convocatoria de ayudas para proyectos de cooperación de I+D+i empresarial.

  • Exhumaciones del cementerio de la Almudena por concesión vencida. (Esto no es de gran interés jurídico, pero lo pongo por curiosidad.)

Como veis hoy tenemos un BOE bastante cargado. Hasta aquí llegamos.

 

Buenos días. Vamos con el BOE de hoy.

  • Recursos de inconstitucionalidad: Vox contra la ley del aborto, PP contra la ley trans, y del gobierno central contra una norma de aprovechamiento de litio en Extremadura.

  • Subvención a la UNED para forma a profesionales culturales en capacidades digitales.

  • Circular de la AEPD sobre la aplicación del nuevo régimen de la ley de telecomunicaciones que prohíbe las llamadas comerciales sin consentimiento expreso.

  • Recursos ante la DGSJFP (antigua DGRN) contra actos de los registradores.

  • Convocatoria de 30 becas de 7000 EUR cada una para preparar oposiciones de cuerpos del Ministerio de Hacienda.

  • Convocatoria de ayudas para startups pymes en la Comunidad de Madrid.

  • Convocatorias para consorcios entre pymes y startups de la Comunidad Foral de Navarra.

  • Convocatoria de ayudas para federaciones deportivas.

Y hasta aquí llega el BOE de hoy.

 

Buenos días. Vamos con el BOE de hoy.

  • La JEC designa la Comisión de Radio y Televiisón para las elecciones generales.

  • Declaración de Fiesta de Interés Turístico Nacional para la Semana Santa de Córdoba.

  • Proclamación de candidatos al Congreso y al Senado.

  • Resueltas controversias constitucionales sobre la normativa vasca de garantía de ingresos en relación con las competencias estatales sobre el ingreso mínimo vital.

  • Inicio de negociaciones sobre controversias de constitucionalidad en materia de un decreto legislativo sobre ordenación del territorio y urbanismo de Castilla la Mancha.

  • Recurso contencioso-administrativo contra la resolución de deducción de haberes por la huelga de LAJ.

Y hasta aquí llegamos hoy.

 

Buenos días. Volvemos con el BOE, hoy que es lunes. El sábado también hubo BOE pero estuve liado así que no pude mirarlo.

  • Resueltas controversias sobre la constitucionalidad de la normativa andaluza en materia de familias numerosas.

  • Subvenciones por daños a infraestructuras y red viaria municipales por los incendios forestales de 2022.

  • Bases reguladoras para ayudas a la digitalización del deporte.

  • Bases reguladoras para ayudas al 5G en zonas con cobertura móvil inferior a 50 Mbps.

  • Convocatoria de unas 800000 plazas para el programa de turismo del IMSERSO.

Y hasta aquí llega el BOE de hoy.

 

Buenos días. Vamos con el BOE de hoy.

  • Orden completando el marco normativo de las asociaciones profesionales de la guardia civil.

  • Reales cartas de sucesión de títulos nobiliarios (que siempre me ponen de mala leche).

  • Cursos del INAP para administración local.

  • Homologaciones de planes de estudio de enseñanzas artísticas.

  • Ayudas para alumbrado municipal.

  • Bases reguladoras de ayudas para la compra pública innovadora.

  • Aprobación de las condiciones del programa de vacaciones para niños saharauis.

  • Bienes de interés cultural: yacimientos en la Comunidad Valenciana y Torre de los Moros.

Y hasta aquí llega el BOE de hoy.

view more: next ›