Powered by RND
PodcastsTechnologyHacker Public Radio
Listen to Hacker Public Radio in the App
Listen to Hacker Public Radio in the App
(524)(250,057)
Save favourites
Alarm
Sleep timer

Hacker Public Radio

Podcast Hacker Public Radio
Hacker Public Radio
Hacker Public Radio is an podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic...

Available Episodes

5 of 10
  • HPR4340: Playing Civilization IV, Part 7
    This show has been flagged as Clean by the host. Civilization IV added some new Victory types, and I decided to illustrate one of them, the Culture victory, by going through an example of achieving this, the Culture victory. Links: https://civilization.fandom.com/wiki/Speed_(Civ4) https://civilization.fandom.com/wiki/Cottage_(Civ4) https://www.palain.com/gaming/civilization-iv/playing-civilization-iv-part-7/ Provide feedback on this episode.
    --------  
  • HPR4339: Review of the YR01 smart lock
    This show has been flagged as Clean by the host. This episode gives a mini-review of the Yamiry YR01 Fingerprint Smart Knob. This key less entry system replaces your door handles and latch with a door handle and latch system that allows for multiple ways to 'keylessly' unlock your door via fingerprint, pin codes, bluetooth fobs, your phone's bluetooth, or your phone's wifi. References: Yamiry Fingerprint Smart Knob - Keyless Entry Digital Lock for Front Door (https://www.amazon.com/Smart-Door-Handle-Lock-Keypad/dp/B0C66NCTXX) NICE Digi (https://nice-digi.com/) Provide feedback on this episode.
    --------  
  • HPR4338: 328eforth
    This show has been flagged as Clean by the host. Review of the book the Arduino controlled by eforth by dr chen-hanson ting published in 2018 written by chen-hanson ting Late Dr. ting was a chemist turned engineer. he earned a phd in chemistry at the U of Chicago in 1965. taught chemistry in Taiwan until 1975. became a firmware engineer until hI retirement in 2000. he was a forth advocate for more than 50 years, especially a forth called eforth that has been ported to many devices, including the micro chip atmega 328 found on the arduino uno board. I found this book while searching for forths for the arduino uno boards. the source code and documentation for eforth is available in a lot of places I will put a few links in the show notes. I believe I mentioned this forth in an earlier hpr where I talked about choosing a forth. forth interest group https://forth.org https://wiki.forth-ev.de https://chochain.github.io (pdf) When I first encountered dr tings forth for arduino I was interested for one reason, it was easily assembled using avra, the gnu port of the atmel assembler. this was nice because using atmels (now microchips) assemblers on Linux required installing wine and installing wine, in the past, on a 64 bit Slackware meant installing 32 bit libraries to have a multI lib Slackware. ( that not an issue now). assembling the forth code in avra is quick, its only a little bit over 5k in size in the end. After playing with eforth for a while I became frustrated because I could create new words in the dictionary and the examples ran fine, but nothing persisted across reboot. so I dropped eforth and ended up using flashforth, which is a great, robust full featured forth. I still recommend flashforth if your starting out with forth on a microcontroller its solid software with good documentation. At the end of last year I thought it would be fun to write my own forth. and after looking into doing that I revisited 328eforth and thought, no how about I fix the problems with eforth on the arduino. so I dug out the book and began reading. Jones forth port at https://ratfactor.com/nasmjf The book has 6 parts. part 1 is dr tings musings on how he ended up creating 328eforth. part 2 explains installing eforth. the 3rd part begins exercising the arduino board using forth in the interactive interpreter. part 4 explains 328eforth implementation and design decisions. part 5 is the full commented source code of 328eforth and, this is the best part, dr tings explanation of what is going on in the code broken down by functional sections. a gold mine of information! part 6 conclusions The last part is his conclusions and examples to learn forth. This is a great free software project. nothing is hidden. it is accessible to anybody who would take the time to read and dig into the code. its makes assembly language much less dark and foreboding. I'll finish by reading a couple of paragraphs from dr tings book dr ting concludes: People using computers are trained to be slaves. You are taught to push certain buttons, and your are taught to push certain keys. Then, you get employed to push buttons and keys to work as slaves. Computers, programming languages, and operating systems are made complicated to enslave people. Computers are not complicated beyond comprehension. Programming languages and operating systems do not have to be complicated. If you get a sharp knife, you can be the master of your destination. 328eforth is a sharp knife. Go use it. The hacker ethos. The next podcast I produce will cover installing eforth on an arduino board and solving that pesky loss of words between boots problem. Provide feedback on this episode.
    --------  
  • HPR4337: Open Web UI
    This show has been flagged as Explicit by the host. OpenWebUI notes ... Open WebUI installer: https://github.com/freeload101/SCRIPTS/blob/master/Bash/OpenWebUI_Fast.bash Older Professor synapse prompt you can use: https://raw.githubusercontent.com/freeload101/SCRIPTS/refs/heads/master/Prof%20Synapse%20Old.txt Fabric prompts you can import into openwebui !!! ( https://github.com/danielmiessler/fabric/tree/main/patterns ) https://github.com/freeload101/SCRIPTS/blob/master/MISC/Fabric_Prompts_Open_WebUI_OpenWebUI_20241112.json Example AT windows task startup script to make it start and not die on boot https://github.com/freeload101/SCRIPTS/blob/master/MISC/StartKokoro.xml Open WebUI RAG fail sause ... https://youtu.be/CfnLrTcnPtY Open registration Model list / order NAME ID SIZE MODIFIED hf.co/mradermacher/L3-8B-Stheno-v3.2-i1-GGUF:Q4_K_S 017d7a278e7e 4.7 GB 2 days ago qwen2.5:32b 9f13ba1299af 19 GB 3 days ago deepsex:latest c83a52741a8a 20 GB 3 days ago HammerAI/openhermes-2.5-mistral:latest d98003b83e17 4.4 GB 2 weeks ago Sweaterdog/Andy-3.5:latest d3d9dc04b65a 4.7 GB 2 weeks ago nomic-embed-text:latest 0a109f422b47 274 MB 2 weeks ago deepseek-r1:32b 38056bbcbb2d 19 GB 4 weeks ago psyfighter2:latest c1b3d5e5be73 7.9 GB 2 months ago CognitiveComputations/dolphin-llama3.1:latest ed9503dedda9 4.7 GB 2 months ago Disable Arena models Documents WIP RAG is not good . Discord notes; https://discord.com/channels/1170866489302188073/1340112218808909875 Abhi Chaturvedi: @(Operat0r) try this To reduce latency and improve accuracy, modify the .env file: Enable RAG ENABLE_RAG=true Use Hybrid Mode (Retrieval + Reranking for better context) RAG_MODE=hybrid Reduce the number of retrieved documents (default: 5) RETRIEVAL_TOP_K=3 Use a Fast Embedding Model (instead of OpenAI's Ada-002) EMBEDDING_MODEL=all-MiniLM-L6-v2 # Faster and lightweight . Optimize the Vector Database VECTOR_DB_TYPE=chroma CHROMA_DB_IMPL=hnsw # Faster search CHROMA_DB_PATH=/root/open-webui/backend/data/vector_db. Optimize Backend Performance # Increase Uvicorn worker count (improves concurrency) UVICORN_WORKERS=4 Increase FastAPI request timeout (prevents RAG failures) FASTAPI_TIMEOUT=60 Optimize database connection pool (for better query performance) SQLALCHEMY_POOL_SIZE=10 So probably the first thing to do is increase the top K value in admin -> settings -> documents, or you could try the new "full context mode" for rag documents. You may also need to increase the context size on the model, but it will make it slower, so you probably don't want to do that unless you start seeing the "truncating input" warnings. @JamesK So probably the first thing to do is increase the top K value in admin -> settings -> documents, or you could try the new "full context mode" for rag documents. You may also need to increase the context size on the model, but it will make it slower, so you probably don't want to do that unless you start seeing the "truncating input" warnings. M] JamesK: Ah, I see. The rag didn't work great for you in this prompt. There are three hits and the first two are duplicates, so there isn't much data for the model to work with [9:12 PM] JamesK: context section I see a message warning that you are using the default 2048 context length, but not the message saying you've hit that limit (from my logs the warning looks like level=WARN source=runner.go:126 msg="truncating input prompt" limit=32768 prompt=33434 numKeep=5 [6:06 AM] JamesK: If you set the env var OLLAMA_DEBUG=1 before running ollama serve it will dump the full prompt being sent to the model, that should let you confirm what the rag has put in the prompt JamesK: Watch the console output from ollama and check for warnings about overflowing the context. If you have the default 2k context you may need to increase it until the warnings go away [8:58 PM] JamesK: But also, if you're using the default rag, it chunks the input into small fragments, then matches the fragments against your prompt and only inserts a few fragments into the context, not the entire document. So it's easily possible for the information you want to not be present. Auto updates echo '0,12 */4 * * * docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once open-webui' >> /etc/crontab Search red note for API keys Go to Google Developers, use Programmable Search Engine , and log on or create account. Go to control panel and click Add button Enter a search engine name, set the other properties to suit your needs, verify you're not a robot and click Create button. Generate API key and get the Search engine ID . (Available after the engine is created) With API key and Search engine ID , open Open WebUI Admin panel and click Settings tab, and then click Web Search Enable Web search and Set Web Search Engine to google_pse Fill Google PSE API Key with the API key and Google PSE Engine Id (# 4) Click Save Note ​ You have to enable Web search in the prompt field, using plus ( + ) button. Search the web ;-) Kokoro / Open Webui https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html https://github.com/remsky/Kokoro-FastAPI?tab=readme-ov-file apt update apt upgrade curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list sed -i -e '/experimental/ s/^#//g' /etc/apt/sources.list.d/nvidia-container-toolkit.list sudo apt-get update sudo apt-get install -y nvidia-container-toolkit apt install docker.io -y docker run --gpus all -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-gpu:v0.2.2 http://localhost:8880/v1 af_bella Import fabric prompts https://raw.githubusercontent.com/freeload101/Python/46317dee34ebb83b01c800ce70b0506352ae2f3c/Fabric_Prompts_Open_WebUI_OpenWebUI.py Provide feedback on this episode.
    --------  
  • HPR4336: The Everything-I-Know 20-minutes Show
    This show has been flagged as Clean by the host. In here: 1- Carrying weight more safely - When picking up weight in front of your body, embrace the core (tighten the abdomen); - it gives you more stability, so you are more capable to do the task. 2- Microphone types a) by connection i) USB: connects directly to the computer, in the universal serial bus port. Plug and use! ii) XLR: needs a USB audio interface , with XLR input, to connect to the computer. There are more options of microphones and, if you can spend on an interface, quality is generally better. XLR connectors: female (left) and male. ( Image by Michael Piotrowski / Wikimedia Commons – CC BY-SA 3.0 .) b) by diaphragm i) condenser: captures the voice in more detail, with deeper bass, more detailed treble… Most of the USB microphones uses this technology. As a disadvantage, they catch even minimal sound details of the environment, vibrating with little sound waves around, even distant. That’s why you might get as recording result the clear details of noise from the street, or reverberation (echo) of an untreated room if you use it without the best environment. (If it’s ok for you even in these situations, it’s a merit of other factors, not a merit of the condenser diaphragm) . Usage : A favorite of singers in studio, among several other applications. As you can see on videos of professionals singing, one don’t talk on top of it (which might produce a low and undesired muffled sound) but on the side — and on the correct side, because most models of microphones have a cardioid pollar pattern. A side-adress microphone (captures the sound from one specific side), condenser-type. (Image by Arthur Fox / https://mynewmicrophone.com/diaphragm.) ii) dynamic: responds to the audio source (voice, instrument) very close to the diaphragm, do not capture sound more than some centimeters (or some inches) away. It’s the best for amateur use, or in a room without acoustic treatment. Usage : Musicians performing live use dynamic microphones so the instruments (and crowd) around don’t get their sound amplified by this artist’s microphone. Radios prefer dynamic mics, because it goes to a more impactful voice, rejects eventual sounds from noisy mixers or keyboards nearby that the radio host might be operating. A top-adress microphone (captures the sound from the top), dynamic-type. (Image by Arthur Fox / https://mynewmicrophone.com/diaphragm.) The RE20 from Electro-Voice (not the photo above) is a favorite of radio stations, in part for being dynamic, in part for reducing the proximity effect (that is, the sound “exploding” when the source gets too near to the capsule) because of its technology, named Variable-D. A word about captation pattern (no, the name is polar pattern): it says about the directional response. For example, some are omnidirectional (captures sound equally from all the sides); most of them are cardioid, capturing the sound coming from the front (the speaker, the instrument directed to it), but rejects sound from the rear. 3- Microsoft Word (or Libreoffice Writer) “templates” - So, you do use templates for text archives, to facilitate the doing of commonly used documents. To know what to change, you highlight in yellow, right? Or do you put the text in red? - Well, my recommendation is to use, instead, * or {} : asterisk, curly brackets or any other symbol that you can type easily and not use as text in any document. . So you can easily find what is the part you have to change or write, and only delete the * when you do that part. At the end, you can check if there is any * remaining, if not, the document is ready. - So, isnt’ it the same with colors, to indicate what to change in the document? . No. For formatting you need to use your vision (and may lose something) and have to remove the formatting manually. It’s possible to use the Find tool, but not as easily as finding a character. To illustrate: print of an official document template for the bidding process for information and communication technology services. (Author: Brazil, Advocacia-Geral da União. Modelos da Lei 14.133/21 para bens e serviços de TIC. Link: https://www.gov.br/agu/pt-br/composicao/cgu/cgu/modelos/licitacoesecontratos/14133/bens-e-servicos-de-tic). Changes to be made were marked in red and italics, but brackets [] and “XXXX” were used also. - Ah: . there are forms, real templates you can use, but, hey, if you're part of the 90% that saves “templates” in the common format (.docx, .odt) and does not use the very special tools for the template kind of document, knowing and using some tips like this is ok and is satisfying. - Not on templates, but in editing, I have worked on the revision of books using this, to know where to come back later to check, or where I have stopped on some day, with good result. Extra: give a look on the comment options, they are easy to use and practical, see if you adapt with it for your necessities. 4- A recooording tip - Always record at least 3 seconds, totally quiet, before starting the show (that is, before talking). This “silence” is the room tone, which you may use: . as adequate silence in the editing proccess (in place of a cut part), or . you may take it for noise reduction profile IF needed, or . which you can only delete in the end if you don't find what to do with it. - Recording knowledge number 2 and final: save an uncompressed version of the raw of your recording, and keep it intact. Work on copies, keep the original saved as .wav (or, if prefered, .flac). 5- Permissions for apps Be careful with free apps. Don’t install any and everything. See their permissions. - Ads? Why more things being offered to you, trying to give insatisfaction? If there is an option without ads, you may prefer. . Also, the ad system of some apps uses more battery (downloading different ads, sending more information of you to personalize ads, using the notification system, meaning running in the background). - In-app purchases: with it, you’ll get angry with an app, because it’s not free to do what you thought it would do when you installed. And it may use recurring payments, pay for each feature, and worst, you don’t know beforehand. If it’s to pay, prefer the ones you buy (once) in the download and has no in-app purchases. - With apps in that you input your data (like e2ee, or “e2ee” communicating, or browsers): see permissions, what data they keep and share, or at least choose open source and well-renowed developers. - Please don't download any app that promises performance enhancement. The system (Android or iOS) is already optimized for what it is, third party apps can do little or, most commonly, nothing, and is more space and features loading your system. . Want speed? Delete the apps that are not absolutely necessary (I’m talking to you, solitaire game with access to internet and that notifies you to play from time to time), or disable notifications of every app and put them to deep sleep (so they don’t run in background, only when you open them). - So much said, let’s take it in one sentence: install only what needed, and see permissions and ads before choosing. 6- Mobile phone battery - You use your phone all day and still have more than 20% of battery? Or recharges 2 times a day? (or 3!) - If it’s the last option, and your phone is less than 3 years old and you never use uncertified chargers, you can try to have a worry-free all-day phone usage doing what said before: disabling apps that run in the background (uninstall, or put to deep sleep). It’s a one by one process, but once for all. . If it’s this way because of intense use, nothing to do; enjoy your product! ✶ Final word We did not enter on details: no explanations or reasons abounding, no. We didn’t even go to number 7 , which would be perfection ; because I have not a seventh good idea. Only the bits of what I think I know & that I value as precious. A hug! bye! Credits: sound used (author – sound) luvvoice.com , English (Nigeria), Abeo (Male) voice – tts “20 minutes show”. luvvoice.com , English (UK), Ryan (Male) voice – tts on the paragraph about polar pattern of microphones. Crab_Audio / Pixabay – My Style [Transitions] freesound_community / Pixabay – Dictaphone . Robinhood76 / Freesound.org – 01893 do it again spell (CC-BY-NC 4.0). attic13 / Pixabay – calm background piano [beautiful, thank you; I hope the simple use here honors your work, friend]. SieuAmThanh / Freesound.org – RớtĐônHổ [angry expression] (CC0 1.0). patchen / Freesound.org – Beautiful 85 (CC BY 4.0). Provide feedback on this episode.
    --------  

More Technology podcasts

About Hacker Public Radio

Hacker Public Radio is an podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic that are of interest to hackers and hobbyists.
Podcast website

Listen to Hacker Public Radio, Search Engine and many other podcasts from around the world with the radio.net app

Get the free radio.net app

  • Stations and podcasts to bookmark
  • Stream via Wi-Fi or Bluetooth
  • Supports Carplay & Android Auto
  • Many other app features
Social
v7.11.0 | © 2007-2025 radio.de GmbH
Generated: 3/21/2025 - 6:13:36 PM