on-internet

Hostinger elimina los archivos almacenados en public/uploads al realizar un nuevo despliegue desde GitHub

Estoy trabajando en un sistema web alojado en Hostinger, el cual está conectado a un repositorio de GitHub, para realizar despliegues automáticos cada vez que subo nuevos cambios. Dentro de mi proyecto tengo una estructura de directorios similar a la siguiente: public/ ├── uploads/ │ ├── productos/ │ ├── usuarios/ │ ├── categorias/ │ └── ... ├── css/ ├── js/ └── index.php La carpeta public/uploads se utiliza para almacenar archivos que los usuarios suben desde el sistema, principalmente imágenes y fotografías. El problema: Cada vez que realizo cambios en el código, hago push a GitHub y Hosting

Join the discussion →

NavigationSplitView on iPhone Duo

I've got a basic NavigationSplitView: NavigationSplitView { Color.blue .toolbarVisibility(.hidden, for: .navigationBar) .toolbar(removing: .sidebarToggle) } detail: { Color.orange } When running it on the iPhone Duo simulator, I notice extra white space on top of the sidebar. This extra space will only appear when the iPhone is open and both the sidebar and detail view are visible together, if the app was first launched in the closed position. But, if the app was first launched when the iPhone is already open, then the sidebar appears as expected, even if you close and reopen the iPhone. Addin

Join the discussion →

How do I find the VS Code keybindings for a different OS?

My friend's helping me with VS Code, but when they read the documentation, the keybindings are different. For example for JSON "Format Document", they're seeing Shift+Alt+F on Windows, but I'm seeing Ctrl+Shift+I on Linux. You can format your JSON document using Ctrl+Shift+I or Format Document from the context menu. How do we view the keybinding for the other OS in the documentation? And what about Mac OS? This is because of the OS, right? It seems unlikely that it's reading our configs, but that's the only other option I can think of. This is intended to be a self-answered question. I'm not g

Join the discussion →

How to stretch shapes with the CodeHS brython?

I have planned out a series of steps I want to do to draw a shape for an assignment. It requires using ovals to work, and I thought stretching circles to get them would be a simplistic task. However, looking up the commands required to stretch shapes in brython, I quickly got confused. I have heard that libraries like python turtle allows it to happen, and that you can quickly import it into your brython workspace, but as I have seen it would require using an entire other system to place and modify shapes into the canvas that I am not familiar with. Are there any commands native to brython, or

Join the discussion →

How to set a custom cursor shape when handling WM_NCHITTEST?

I have a winform that has it's BorderStyle set to FormBorderStyle.None, and I've implemented a bottom right corner scaling system using the following system: protected override void WndProc(ref Message m) { if (m.Msg == 0x84) { // WM_NCHITTEST Point pos = new Point(m.LParam.ToInt32()); pos = this.PointToClient(pos); if (pos.X >= this.ClientSize.Width - cGrip && pos.Y >= this.ClientSize.Height - cGrip) { m.Result = (IntPtr)17; // HTBOTTOMRIGHT return; } } base.WndProc(ref m); } This system seems to be changing my mouse sprite when it's within range: (A visual example can be observed in the 1st

Join the discussion →

When was the last time you used a floppy disk?

submitted by QuentinCallaghan to asklemmy 55 points | 62 comments For me, it must have been 20 years ago in 2005. I got Kingston’s 512MB flash drive for a Christmas present and oh my how great it felt to hold so much of memory in my pocket. After that it was clear to me that there is no use for floppies to me anymore.

Join the discussion →

Jak epoka lodowcowa wpływa na współczesną mapę zanieczyszczeń?

Lądolody, które sunęły przez obszar dzisiejszej Polski, ukształtowały pagórki, jeziora i torfowiska. Jak wykazali geolodzy z UW, ta polodowcowa rzeźba terenu zdradza również, gdzie w glebie zatrzymują się kadm i ołów a więc które miejsca są najbardziej narażone na kumulację metali ciężkich.

Join the discussion →

I created a Lemmy community for Sexual Assault Survivors. Now, I need advice. What are the rules and ressources you want to see in my community, Lemmings ?

submitted by jeannoelhurpeau to asklemmy 148 points | 67 comments Link : vger.to/lemmy.world/c/rape I’m a french feminist guy. I created a safe space for all Survivors and their loved ones, exactly like r/rape on Reddit. BUT, btw, not EXACLTY. r/rape is pretty wild and had bad moderation. r/SexualAsssault is ALSO weird and sometimes wild. r/MenGetRapedToo is too little to become one day a first-class resource on Reddit. So, I want make my Lemmy community useful for all users. What are the things you want to see in it ? I’ve already decided to add links and ressources redirecting to RAINN.org,

Join the discussion →

Argument is not consteval in a 'if consteval' branch? [duplicate]

I am designing a class similar to an std::array. I have a constructor that receives an iterator and a size. My idea is fail if the size is bigger than N. N being a size_t class template parameter. My idea is to fail if the count parameter is bigger than N. In a consteval context at least, at runtime I can reduce the counter. Code: constexpr vector_stack_base(const_iterator source, size_type count) { if consteval { static_assert(N <= count); } else { if (count > N) { count = N; } } This codes fails in MSVC 2026, in C++23 in the static_assert, saying: "error C2131: expression did not evaluate to

Join the discussion →

意思決定だけで週100コミット積むAI開発手法

こんにちは。KingYoSunと申します。 kukuriというP2P SNSを開発しています。Webからも使えます。 何を考えて作ったのか、どうすれば始められるのかはnoteに書きました。 kukuriの技術的な話はこの記事に書きましたので気になる方は是非 この記事ではAIコーディングによっていかにしてこのプロダクトを開発しているか解説します。 1. 人間がやること 私はこのkukuriを開発するにあたって、 以下の作業しかしていません AIに要望を伝える・壁打ち(AIにIssueを立てさせる) 「後方互換性・受け入れ条件・ユーザー体験」へ影響する変更を加える場合にのみAIから質...

Join the discussion →

¿Qué diferencias existen entre los componentes, páginas y ciclos de vida de Ionic y Angular?

Estoy revisando algunos conceptos técnicos relacionados con el desarrollo de aplicaciones móviles utilizando Ionic con Angular y Capacitor, pero tengo cierta confucion con la terminología y las responsabilidades que corresponden a cada uno. Por ejemplo, en Angular tenemos Component, Service, ngOnInit() y ngOnDestroy(), mientras que al trabajar con Ionic aparecen otros conceptos como ion-router-outlet, ionViewWillEnter() y ionViewDidEnter(). Por lo que he entendido, Ionic utiliza los componentes de Angular para construir las pantallas, pero también incorpora sus propios mecanismos para gestiona

Join the discussion →

Where to add the --enable-native-access=ALL-UNNAMED?

I was upgrading some code that helps changing an HTML project to an APK. All is working, but I keep getting the following warning: WARNING: A restricted method in java.lang.System has been called WARNING: java.lang.System::loadLibrary has been called by org.conscrypt.NativeLibraryUtil in an unnamed module (file:/home/user/.android/sdk/build-tools/37.0.0/lib/apksigner.jar) WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module WARNING: Restricted methods will be blocked in a future release unless native access is enabled The code has the following steps :

Join the discussion →

仕事、ドパ越えて利益 - オイオイオイ書くわアイツ

AI 使って楽し~ ここ半年くらいで、AI に任せられる仕事がかなり増えた。 障害対応なら、Datadog のログやメトリクスを調べてもらう。 必要なら AWS や Kubernetes の情報も渡す。 大量の調査が短時間で終わって、対応案が出てくる。 依存更新やリファクタリングなら、コードとドキュメントを読ませて、先にテストを増...

Join the discussion →

¿Cómo se relacionan los conceptos de Widget, State y setState de Flutter con Component y Signals de Angular?

Estoy revisando algunos conceptos de Flutter y Angular, principalmente los relacionados con la arquitectura de componentes y el manejo de estado, pero tengo una confusión con la terminología que utiliza cada framework. Por ejemplo, en Flutter encuentro conceptos como Widget, StatefulWidget, State y setState(), mientras que en Angular aparecen Component, Service, Signal y detección de cambios. Por lo que he entendido, StatefulWidget sería algo parecido a un componente de Angular que administra su propio estado, mientras que setState() y Signal permiten actualizar los datos que se muestran en pa

Join the discussion →
Older stories