This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "nuget: Microsoft.AspNetCore.App, 2.2.8" | |
using System.Net.Http; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
var builder = WebApplication.CreateBuilder(args); | |
var app = builder.Build(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your job is to filter RSS feed. You will get a JSON entry in TT-RSS format | |
for an article. You should decide whether to keep it or not. | |
Before deciding, do as much reasoning aloud as needed first. | |
Then add a final line which should be either 'KEEP' or 'REMOVE NOW'. These words | |
should be the only thing on that line - no other characters or whitespace allowed. | |
Please ensure there is a new line character before the final line. | |
Remove only the following articles: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST https://api.groq.com/openai/v1/chat/completions | |
X-Broken: 1 | |
Content-Type: application/json | |
Authorization: Bearer XXXXXX | |
{ | |
"model": "llama-3.1-70b-versatile", | |
"messages": [ | |
{ | |
"role": "system", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Здесь не будет картинок. Они ни к чему. | |
Не так давно эта война застала меня вполне себе состоявшимся программистом для embedded-систем. Когда она началась я рефлексировал по поводу того что, устройства к разработке которых я приложил руку могут быть использованы в войне. Я наверное не достаточно переживал и те устройства так и не были запущены в серию.Теперь как мне кажется эта война коснулась меня. Я ни о чем не жалею, но я не готов никого убивать. Сейчас я принял решение скрываться внутри страны. А имеет ли смысл - пусть каждый решает для себя. Я свое решение принял. | |
Когда я ехал сегодня на работу я получил следующее сообщение от коллег с картинокой на КДПВ | |
Мне не хотелось подставлять компанию в которой я проработал несколько лет под гигантские штрафы, потому я подписал повестку, признавая что получил и уволился текущим днем. | |
ИМХО. Да это действительно имеет смысл, мне ведь за 40. С другой стороны, Мне за 40 уже три года как. Что-то случилось и меня нужно переквалифицировать? Учитывая что ВУС мой санинстр |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel; | |
using System.Runtime.InteropServices; | |
using SharpDX.Direct3D11; | |
using Silk.NET.Core.Contexts; | |
using Silk.NET.GLFW; | |
using Silk.NET.OpenGL; | |
using Silk.NET.WGL; | |
using Silk.NET.WGL.Extensions.NV; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var swapChainDescription = new SwapChainDescription | |
{ | |
BufferCount = 2, | |
Flags = SwapChainFlags.None, | |
IsWindowed = true, | |
ModeDescription = new ModeDescription(form.ClientSize.Width, form.ClientSize.Height, refreshRate: new Rational(60, 1), Format.B8G8R8A8_UNorm), | |
OutputHandle = form.Handle, | |
SampleDescription = new SampleDescription(count: 1, quality: 0), | |
SwapEffect = SwapEffect.Discard, | |
Usage = Usage.RenderTargetOutput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PseudoLinear(nn.Module): | |
def __init__(self, features, device=None): | |
super().__init__() | |
self.weight = nn.Parameter(torch.randn(features, device=device)) | |
self.bias = nn.Parameter(torch.randn(features, device=device)) | |
def forward(self, x): | |
return x * self.weight + self.bias + x | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
xmlns:dataSources="clr-namespace:LostTech.Stack.Widgets.DataSources;assembly=LostTech.Stack.Widgets" | |
--> | |
<dataSources:CommandLineDataSource x:Key="RemoteCall" | |
dataSources:DataSource.RefreshInterval="0:0:10"> | |
<dataSources:CommandLineValueSource Program="ssh"> | |
<dataSources:CommandLineValueSource.Arguments> | |
<x:String>-T</x:String> | |
<x:String>remote.pc.name.local</x:String> | |
<x:String>nvidia-smi</x:String> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
xmlns:stack="https://schemas.losttech.software/stack/2022/xaml/all" | |
--> | |
<zones:Zone> | |
<stack:AutoCapture.CaptureFilters> | |
<stack:CaptureFilter> | |
<filters:ProcessName Value="HxOutlook"/> <!-- Windows Mail App --> | |
<filters:ProcessName Value="WindowsTerminal"/> <!-- The new Windows Terminal app --> | |
<filters:Title Value="Google Voice - Voice"/> | |
<filters:Title Value="Messenger" Match="Exact"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
xmlns:binding="clr-namespace:LostTech.Stack.Widgets.DataBinding;assembly=LostTech.Stack.Widgets" | |
xmlns:dataSources="clr-namespace:LostTech.Stack.Widgets.DataSources;assembly=LostTech.Stack.Widgets" | |
--> | |
<StackPanel Orientation="Horizontal"> | |
<StackPanel.Resources> | |
<dataSources:WebDataSource x:Key="Weather" | |
Url="https://api.openweathermap.org/data/2.5/weather?lat=YOUR_LAT&lon=YOUR_LON&units=metric&appid=PUT_YOUR_OWN_HERE" | |
dataSources:DataSource.RefreshInterval="0:15:0" /> |
NewerOlder