wloczykij, to linux Polish

Ten post głównie zainteresuje adminów linuksowych, ale inni użytkownicy Linuksa także będą zadowoleni.

Wczoraj odkryłem ciekawy program, którego szukałem od lat :). Mowa o programie . Z wyglądu i funkcjonalności przypomina program na desktopa o nazwie .

Z opisu wynika, że obsługuje także inne platformy:

Written in - for , , *BSD, (termux) and

Ja mam odhaczone wszystkie 3 punkty z ich listy, czemu warto używać tego programu :)

  • You're debugging on a remote machine and need to study a pcap.
  • You don't want to copy it back to your desktop.
  • You're familiar with Wireshark. 😃

Poniżej link do strony:
https://termshark.io/

Co do pakietów, na ubuntu 22.04 jest dostępna wersja w repo, choć stara, bo wersja z 2021 roku.

@linux_pl





















poppastring, to VisualStudio
@poppastring@dotnet.social avatar

A post from the archive 📫:
Find the address of an object in Visual Studio

https://www.poppastring.com/blog/find-the-address-of-an-object-in-visual-studio

wrstscrnnm6, to programming
@wrstscrnnm6@mastodon.social avatar

I was getting an error "failed to allocate XXXXXX b"

I copy the number into wolfram alpha to see how much data that really is.

5.3 Zettabytes.

How the hell is this program trying to allocate the equivalent of ... all of the data sent over the internet in a year, five times over?

Somewhere between my terminal and the browser the string of numbers got doubled.

Never have I been so relieved to find out my program was only trying to allocate 53Gb of ram.

poppastring, to VisualStudio
@poppastring@dotnet.social avatar

A post from the archive 📫:
Favorite features in Visual Studio 2022 so far

https://www.poppastring.com/blog/favorite-features-in-visual-studio-2022-so-far
#diagnostics #visualstudio #debugging

caspar, to llm
@caspar@hachyderm.io avatar

I find that one great use for LLMs is for something a bit like rubber duck debugging, but for any topic.

You ask the LLM for its thoughts on a topic and respond. The LLM probably has no real insights to give you, since these things necessarily live in the world of cliché, but the process can help you to clarify your thoughts.

Then you can talk with a thoughtful and intelligent person to find the real errors in your thinking.

frankel, to random
@frankel@mastodon.top avatar
poppastring, to random
@poppastring@dotnet.social avatar

A post from the archive 📫:
Collecting dumps anywhere with dotnet-monitor

https://www.poppastring.com/blog/collecting-dumps-anywhere-with-dotnetmonitor

floe, to voyager
@floe@hci.social avatar

Okay, I think what the Voyager 1 team pulled off is one of the greatest feats of debugging in the history of computing 👌

46 years old hardware, 22.5 hours of light delay, and zero tolerance for mistakes. I'm getting nervous tics just thinking about it 😵‍💫

poppastring, to VisualStudio
@poppastring@dotnet.social avatar

A post from the archive 📫:
Building debugging context for Copilot Chat

https://www.poppastring.com/blog/building-debugging-context-for-copilot-chat
#copilot #debugging #visualstudio

mattst88, to random
@mattst88@fosstodon.org avatar

Another fun adventure, this time with a happy ending.

A unit test in libXmu failed on x86-32 (https://gitlab.freedesktop.org/xorg/lib/libxmu/-/issues/2). I looked for the typical things first like bad casts but didn't see anything wrong.

I noticed that the unit test program runs two subtests and the log indicates that it completed the first successfully before crashing, but when I ran it under gdb the back trace showed it in the first unit test when the segfault occurred. Very strange.

maartenballiauw, to dotnet
@maartenballiauw@mastodon.online avatar

🫡 Farewell to #debugging headaches 🪲

Get Rider 2024.1 with the integrated power of #DataGrip to sort, filter, and explore your #dotnet collections!

Want to plot some #charts? We got you covered! 📊 And yes, it works seamlessly with #ADONET, too! 🤩
https://blog.jetbrains.com/dotnet/2024/04/15/exploring-collections-and-datatables/?utm_medium=social&utm_source=mastodon&utm_campaign=exploring-collections-and-datatables

poppastring, to vscode
@poppastring@dotnet.social avatar

A post from the archive 📫:
Hot Reload for C# Dev Kit

https://www.poppastring.com/blog/hot-reload-for-c-dev-kit
#debugging #vscode

ai6yr, to random

Successfully debugged my dishwasher. Had an issue (for more than a year) with dishes just not getting clean, and after re-doing the drainage tube so it had a lot smoother run between the air gap and the dishwasher disposal, the dishwasher now runs nicely! (there was a slight kink in the tube, but enough apparently to back up the drainage) #dishwasher #debugging

MSicc, to programming
@MSicc@dotnet.social avatar

2024.1: A Better Experience for , Performance Monitoring, and Game

https://blog.jetbrains.com/dotnet/2024/04/09/rider-2024-1/

poppastring, to VisualStudio
@poppastring@dotnet.social avatar

A post from the archive 📫:
View the origin of a repeating call stack

https://www.poppastring.com/blog/view-the-origin-of-a-repeating-call-stack

davidbisset, to webdev
@davidbisset@phpc.social avatar

"67 Weird Debugging Tricks Your #Browser Doesn't Want You to Know"

https://alan.norbauer.com/articles/browser-debugging-tricks #webdev #debugging

A list of useful, not-obvious hacks to get the most out of your browser’s1 debugger. Assumes an intermediate-level-or-higher understanding of the developer tools.

poppastring, to VisualStudio
@poppastring@dotnet.social avatar
amadeus, (edited ) to Blog
@amadeus@mstdn.social avatar
minioctt, (edited ) to webdev Italian

Sono praticamente 36 ore che non posto e lo so che siete in astinenza, ma avevo https://octospacc.altervista.org/2024/03/26/pwtorturaaaa/ di risolvere quel #problema con le #PWA una volta per tutte. E ora, nonostante un’altra frazione di sanità mentale sottrattami dagli spiritelli del silicio, dolori perché sto seduta per ore alla scrivania e tutta storta, e sonno perché ieri sera ho perso un sacco di tempo a debuggare un errore stupidissimo rimanendo sveglia fino alle 2 per poi arrendermi perché stavo veramente morendo, quantomeno ce l’ho fatta… 🤯️

Cercando con estrema #disperazione ieri mattina, mi accorgo di una cosa documentata alla bene e meglio, trovando prima una menzione su MDN ad un permesso webRequestFilterResponse.serviceWorkerScript, che servirebbe a regola per permettere alle #estensioni di intercettare i caricamenti dei Service Worker, e poi un thread bugzilla (#1636629) che pare abbia portato proprio all’introduzione di questa separazione di permessi. Ho scaricato il #codice dimostrativo per il bug, l’ho un attimo sistemato per tenere conto di questa misura di sicurezza poi introdotta e, certo abbastanza, il coso riusciva a fare quello che io volevo dall’inizio, senza ricorrere a bruttissime e fragilissime #hack (che a questo punto io nemmeno divulgo visto che non ho dovuto implementarle, per non sporcarmi la reputazione come developer, che già è molto bassa visto che prediligo il #webdev). 🔮️

A questo punto era quasi solo questione di rifiniture, un po’ creare il popup per le impostazioni della mia #estensione (che però mi ha richiesto diverse ore di design e implementazione fatti in contemporanea, perché volevo farle bene, non buttarci dentro bottoni a cazzo per il gusto di), e un po’ capire come #programmare il worker che gestisce #cache e richieste di rete #offline. Solo che qui ho sclerato perché… inizialmente con il codice preso da Chrome for Developers non andava, e pensavo fosse un problema mio, ma invece sembra proprio colpa loro, le loro demo non vanno proprio in #Firefox (ma non ho testato nemmeno in Chromium)… quindi ho provato quello offerto da MDN, ma anche qui nada, solo che ormai stavo crollando e quindi vado a mimir… stamattina vedo meglio e quest’ultima implementazione in effetti scopro che funziona, ma a me non andava perché, nel modo in cui iniettavo il #ServiceWorker trasformandolo da oggetto a stringa, una variabile che referenziavo non era accessibile nel contesto di esecuzione effettivo dello script, e quindi l’accesso alla cache falliva, ma io non me ne sono accorta subito perché già gli strumenti di #debugging del #browser sono mezzi scassati per questi casi speciali, ma io poi avevo pure un try-catch di mezzo che quindi sopprimeva gli errori alzati dall’interprete… la #pazzia. 😫️ 😩️

C’è un #casino di mezzo con la pubblicazione di #addon per #Mozilla, quindi praticamente ora il mio è in revisione, ma se tutto va bene dovrebbe prossimamente apparire sulla pagina https://addons.mozilla.org/en-US/firefox/addon/offline-caching/; in ogni caso, chi volesse usarlo da subito (come me sul telefono in primis) può scaricare da qui il file firmato da installare a mano. Edit: un’oretta dopo, l’estensione è approvata! 💖️

https://octospacc.altervista.org/wp-content/uploads/2024/03/img_20240328_1323201462313101815308817-960x1280.jpgBtw, mi serviva un’icona per l’add-on, perché tenere quella generica mi da fastidio (così come per quando creo app Android), e quindi ecco qui, letteralmente #OfflineCaching scritto a manina con uno stile un po’ buffo. Graphic design is my passion, ma non è roba mia, non son proprio capace. Penso comunque sia meglio di niente, quindi l’ho usata… (quella in basso sul foglio, che è stata la seconda; ho fatto prima quella in alto, ma poi non mi è piaciuta) 😬️https://octospacc.altervista.org/2024/03/28/pwgoduriaaaa/

#addon #browser #cache #casino #codice #debugging #disperazione #estensione #estensioni #Firefox #hack #Mozilla #offline #OfflineCaching #pazzia #problema #programmare #PWA #ServiceWorker #webdev

poppastring, to azure
@poppastring@dotnet.social avatar

A post from the archive 📫:
Invalid Access to memory location in KUDU App Services

https://www.poppastring.com/blog/invalid-access-to-memory-location-in-kudu-app-services
#azure #debugging

everythingopen, to linux
@everythingopen@fosstodon.org avatar

Continuing our Schedule Highlights, @mariadb Chief Innovation Officer Daniel Black @danblack takes us through - a tool for C and C++ applications.

In this tutorial, Daniel shows how rr records the entire state of the program, allowing it to be interrogated.

You will need to have bare metal with rr compiled, or a with rr proven to work, for this

🗓️ Schedule: https://2024.everythingopen.au/schedule/

🎟️ Register: https://2024.everythingopen.au/attend/tickets/

poppastring, to VisualStudio
@poppastring@dotnet.social avatar

A post from the archive 📫:
Debugging threads with the Parallel Stacks window

https://www.poppastring.com/blog/debugging-threads-with-the-parallel-stacks-window

dragfyre, to fediBots
@dragfyre@mastodon.sandwich.net avatar

OK, so I got this close 🤏🏾 to getting @videodreams posting again. It downloads images properly and assembles them into a webm video file. But it seems like Mastodon's updated something because now I'm getting the attached HTTP 422 error when trying to post the file.

Nice to know that the code still works, though! I'll have to come back and figure out how to play nice with Mastodon.

dragfyre,
@dragfyre@mastodon.sandwich.net avatar

Spent a little time going over @himawari_wpac 's error-checking after it went down for a bit. Not sure if I fixed everything, but at the very least it should notify me if something goes wrong now. #bots #debugging

dragfyre,
@dragfyre@mastodon.sandwich.net avatar

Hmm, seems like it crashed again. Back to the drawing board.

These intermittent bugs are a pain to squash, but at least it gets easier with each new bot (and writing more robust and maintainable code gets easier too, as you learn how not to make each successive project implode). #debugging #bots

dragfyre,
@dragfyre@mastodon.sandwich.net avatar

yoooooo
for the first time, @himawari_wpac recovered from a remote disconnect, relogged and kept on posting. looks like we have a good exception handling framework finally. #bots #debugging

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • vwfavf
  • InstantRegret
  • Youngstown
  • ngwrru68w68
  • slotface
  • Durango
  • cisconetworking
  • tacticalgear
  • rosin
  • provamag3
  • everett
  • cubers
  • khanakhh
  • osvaldo12
  • mdbf
  • ethstaker
  • normalnudes
  • modclub
  • Leos
  • GTA5RPClips
  • tester
  • anitta
  • JUstTest
  • All magazines