on-internet

Improving EF Core SQLite queries and seeding (AnyAsync, AddRangeAsync) and understanding DbContext

I'm using an SQlite database and I wanted to know if there is a better or shorter way to do this. I made the following code as practice example. In ServersGet, I currently check db.ServerNodes.Count() > 0 before calling ToArrayAsync(), and in SeedPost I call Add(node) inside a loop. Should I use AnyAsync() instead of Count() > 0 and AddRangeAsync() for seeding, and are there other EF Core improvements I should make here? This is my Program.cs using Microsoft.AspNetCore.Hosting.Server; using Microsoft.EntityFrameworkCore; namespace ServerMS { public class Program { public static void Main(strin

Join the discussion →

Super Bowl Is Coming To IMAX Screens

The NFL and Disney's ESPN have partnered with IMAX to broadcast Super Bowl LXI live in hundreds of theaters on February 14, 2027, marking the first Super Bowl shown in the format and the largest live event in IMAX's history. "Watching the Super Bowl with your fellow fans is one of the great shared experiences in sports, and this first-of-its-kind collaboration with the NFL and IMAX takes it to a historic new scale," said Ken Potrock, president of major event integration for The Walt Disney Co. CNBC reports: The four-hour event on Feb. 14 will include ESPN's main Super Bowl game telecast, as we

Join the discussion →

Яндекс Браузер официально отменил анонимность. Спойлер: похоже, её и не было

Я тут наткнулся на новость в CNews: мол, Яндекс тихо выпилил из лицензионного соглашения своего браузера слово «анонимность». Все пять штук. И оба упоминания «обезличивания» прихватил до кучи. Думаю — да ладно, не может быть всё так топорно, пошел сам почитать актуальную лицензию... Ёлки‑метёлки, какие же там бездны открываются! Таких юридических кульбитов я давно не видел. Для начала имеем факт, что пресс‑служба Яндекса на вопросы журналистов CNews решила всех успокоить: «Изменения чисто технические, больше данных мы не собираем, новой привязки к юзерам не появилось». Стоп. Следите за руками.

Join the discussion →

Anthropic 직원들이 ‘세계 장악’을 공개적으로 이야기한다고 Max Tegmark가 주장

MIT 교수 Max Tegmark는 Anthropic 직원들과 술을 몇 잔 마신 뒤 대화하면 미국 정부 전복과 세계 장악에 관한 이야기가 자주 나온다고 주장함 Tegmark에 따르면 직원들은 쿠데타나 정부 전복이라는 말 대신 ‘통제 없는 정렬(alignment without control)’이라는 표현을 사용하며, 이는 인간의 직접 통제 대신 특정 가치를 주입해 AI를 제어하는 구상임 그는 이런 구상이 Anthropic의 ‘기계 신’이 지구를 운영하고 나머지 사람들은 그 존재가 선하기만을 바라야 하는 미래로 이어질 수 있다고 경고함 Tegmark는 AI 기업들이 정부 감독 …

Join the discussion →

Jetty Pro - macOS Dock을 보완하거나 대체하는 맞춤형 팔레트 앱

Jetty Pro는 Mac 화면 가장자리에 Dock과 비슷한 부동 팔레트를 만드는 앱으로, 파일, 폴더, 앱, 볼륨, 단축어, 휴지통 등을 원하는 조합으로 배치할 수 있음 팔레트의 모양과 아이콘뿐 아니라 클릭 동작, 실행 중인 앱과 알림 배지의 표시 여부를 조정할 수 있으며, 디스플레이별 배치도 설정 가능함 Mac App Store 밖에서 배포하는 비샌드박스 앱으로, 비공개 API와 여러 특별 권한을 활용하지만 Dock만 가능한 기능도 남아 있음 AI 코딩 에이전트로 하루 이틀 만에 개인용 폴더 팔레트를 만들려던 작업이 3개월 반의 개발로 이어지며 …

Join the discussion →

Sentinel: CLI extremamente rápida

Por que Sentinel? Scanner de dependências, licenças e vulnerabilidades, rápido e multiplataforma, escrito em Rust. Principais Recursos Rápido e leve: Binário Rust nativo, sem runtime exte...

Join the discussion →

[Перевод] Подключил Super Nintendo к Wi-Fi через порт джойстика: синхронизация сейвов с телефоном и диалоги от LLM

У Super Nintendo никогда не было сетевого порта, поэтому самодельный адаптер SNET подключается туда же, куда джойстик. Приставка программно дёргает линии порта, и такой протокол, по оценке автора, упирается примерно в 30 КБ/с; RP2350 держит эту связь, а ESP32-C3 выходит в Wi-Fi. Пропатчив игры, автор научил SNES синхронизировать сохранения с RetroArch на телефоне через WebDAV (по порту контроллера идут только изменившиеся блоки, при конфликте ничего не перезаписывается), а в A Link to the Past подменил реплики жителей на ответы языковой модели: дешёвые модели выходили из образа, поэтому автор

Join the discussion →

[NAS] 使用 Hyper-V 运行黑群晖 DSM7.4 并使用虚拟 VHDX 硬盘存储数据

各家引导器其实在很早以前就支持 Hyper-V 了,但由于 storvsc 不支持 DSM 所需的 syno_block_info ,所以群晖一直认不到硬盘。之前有人通过直通 LSI 控制器的旁门左道来实现使用 Hyper-V 跑 DSM,但这通用性太差了,像我这种拿笔记本跑黑裙的完全没办法这么搞。 刚才突发奇想,让 Codex 自己去改内核 storvsc 驱动加入 vmbus 的 syno_block_info 回报支持 然后群晖就支持 hyperv vhdx 了,再让 Arc 的 disks.sh 认识 VMBus,用相同的 VMBus 控制器标识和 SCSI 端口生成盘位 结果真成了。 以下是 Patch: https://gist.github.com/kenvix/4a28d003f02e9f9a9342aff75fec526c

Join the discussion →

More information needed on non-Gregorian calendars implemented in Apple OSs [closed]

This is going to be different. Usually when discussing programming, we love to talk about cool things we can create. I’m going to ask about a big hole in the documentation that no one seems to have realized was there but programmers around the planet should be able to at least partially fill in. I have a personal programming project, Date-O-Rama, is a date/time program which does things which Apple’s code doesn’t. One of the major issues is that Apple assumes that every calendar system starts every day at midnight, and one of the earliest things I did was coerce the Hebrew calendar to start th

Join the discussion →

What do I do about a change in my employment contract requiring a new 200 km round trip?

submitted by g8phcon2 to asklemmy 4 points | 1 comments I began employment through a contracting house in 2020 as a remote worker. A year later my car died and I didn’t buy a new one as I figured with me working remotley and her homeschooling our kids full time it would be okay as one car family. '25 summer they announced that all remote workers would be required to go to office 4 days. I bought a used car but after that I was informed that I wouldn’t be required as my contractor did not require on site work and even If I ever was offered a direct position there would be exception for people w

Join the discussion →

Як я вишив Touch Bar та зробив живу українську вишиванку для MacBook Pro

У мене MacBook Pro з Touch Bar. Ця смужка над клавіатурою завжди здавалася мені нереалізованою ідеєю: чорна, з однаковими сірими кнопками, яких ніхто не помічає. А це ж маленький кольоровий екран, який весь час перед очима. Тож я «вишив» його. Так з’явилася VYSHYVKA BAR — безкоштовна програма з відкритим кодом, яка перетворює Touch Bar на одну суцільну живу вишивку з веселковим тризубом у центрі. Нитки повільно переплітаються, троянди розквітають, хрестик проступає — а всі потрібні кнопки вбудовані просто у візерунок. Що вміє Вишивка, що «дихає». Векторний орнамент — нитки, троянди, ромби, хре

Join the discussion →

Google Alternative Kagi Launches An Email Service

Kagi, the company behind the paid Google Search alternative and Orion web browser, has launched a public beta of Kagi Mail, an email service promising "no surveillance, no ads, open standards, and no lock-in." "Does the world need another email service? We asked ourselves that question more than once," Kagi says. "There are great ones out there, and we're fans of what Fastmail and Tuta are doing. We still built our own, for the same reason we build everything at Kagi: technology should do its job and then get out of your way." The Verge reports: With Kagi Mail, you get an @kagimail.com address

Join the discussion →

Синхронизация iPod Nano 7G с Linux: формат .itdb, HASHAB/CBK и podlib

Если у вас на полке до сих пор живёт iPod, а на десктопе — Linux, вы, скорее всего, проходили через этот сюжет. Лет десять назад связка libgpod + gtkpod решала всё: подключил плеер по USB, перетащил альбомы, синхронизировал, отключил — и слушаешь. Классический воркфлоу «закинуть музыку с компа на iPod», без iTunes, без Windows-машины и без костылей. Потом этот воркфлоу тихо умер. Инструменты по-прежнему запускались, файлы вроде бы писались, но iPod после отключения просто не видел библиотеку — пустой экран, ни трека. Стек libgpod + gtkpod, больше десяти лет тянувший синхронизацию старых iPod,

Join the discussion →
Older stories