poxrud
Re:Vim Language, Motions, and Modes Explained (2023)
on Thursday April 24, 2025 @10:21AM (#43783164)
I’d recommend taking it even further and mapping capslock to escape when pressed by itself and CTRL when held in sequence with another key.
Re:Writing Composable SQL Using Knex and Pipelines
on Thursday November 28, 2024 @01:55PM (#42267692)
I've used Knex, ActiveRecord and many other ORM's and query builders. At some point, beyond basic queries you start wasting time coming up with SQL statements and then having to convert them to your ORM/builder's syntax. I've reached the point now where it's just easier to stick with writing SQL and having a library that removes the possibility of sql injections. My current stack is postgres.js and dbmate for migrations.
Re:Hacking Kia: Remotely Controlling Cars with Just a License Plate
on Thursday September 26, 2024 @10:13PM (#41665625)
That is incorrect, as per the article Kia ties the VIN number to the car’s functionality. The author used a 3rd party service to convert the license plate number to VIN.
Re:Supabase Storage: now supports the S3 protocol
on Friday April 19, 2024 @10:11AM (#40087058)
Do you support S3 event notifications?
Re:Anthropic launches Tool Use (function calling)
on Friday April 05, 2024 @08:44AM (#39941701)
It’s much more than just generating structured schema. It also understands user intent and assigns the correct functions to solve a query. So for example if we give it two functions getWeather(city) and getTime(city) and ask “what’s the weather in New York?” It will decide on the correct function to use. It will also know to use both functions if we ask it “what’s the time and weather in New York?”.
Re:TV Station Launches Multiple 4K Broadcasts OTA on ATSC 1.0 [video]
on Sunday March 17, 2024 @11:09AM (#39734947)
ATSC is a North American modulation standard for transmission of Transport Streams over RF signals. Transport streams can carry any kind of a payload, including data. When the spec came out it was mandatory to use mpeg-2 for video encoding because that was the popular codec at the time. However there is nothing in the spec preventing broadcasters using other video/audio codecs (many already do). This is what this tv station did. You have approximately 19mbps of bandwidth to pack in as much payload in there as you can fit. ATSC3 brings about other features such as higher bandwidth, improved RF signals transmission efficiency (lower costs), error correction, etc…
Re:IAM Is the Worst
on Friday March 15, 2024 @10:27AM (#39716138)
IAM is complicated but it doesn’t have to be, as long as you keep things organized.
- Use AWS Organizations to organize your teams into Organizational Units
- use SCP to limit permissions of the OUs.
- let the OUs create new aws accounts for every project/workload
- now you have permissions and costs organized per project/workload
Don’t be afraid to create many AWS accounts, this is encouraged and considered best practice.
Re:JIT WireGuard
on Wednesday March 13, 2024 @01:58PM (#39694962)
This is the best way to connect to your instances. However you still need the SSM agent installed and the right IAM permissions.
Re:Ask HN: Got a /22, cool things to do with it?
on Friday January 12, 2024 @09:16AM (#38968174)
It’s a way to represent a range of IP addresses. Using CIDR notation. https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
OP is saying that they have control of 1022 public IP addresses.
Re:Retrieval Augmented Generation for New Orleans City Council Transpa...
on Wednesday January 03, 2024 @02:14PM (#38858438)
For many cases yes. With llm based embeddings you get “semantic search”, so for example if someone searches for “pets” they will most likely get results that include “dogs” and “cats”. This is not the case for regular text search.
Re:Stop using JSON Web Tokens for user sessions
on Saturday November 25, 2023 @10:09AM (#38413971)
You do need a database if you want the ability to log users out server side. This is usually done through a second refresh token.
Re:Wait, What's a Bookmarklet?
on Wednesday October 25, 2023 @01:27PM (#38015472)
I made one that uses openai api to summarize the current page that I’m on.
Re:Farewell EC2-Classic, it’s been swell
on Friday September 01, 2023 @09:55PM (#37357958)
I know it’s not the same but you can setup billing alarms and budget alerts.
Re:EV Chargers Should Be Dumber
on Wednesday August 30, 2023 @03:00PM (#37327193)
In Canada the supercharger experience is great. In 3 years I’ve never had to wait for a spot. The superchargers are usually located in convenient locations in mall marking lots or next to coffee shops or restaurants. I’d love to switch try a different EV but the lack of a supercharger network prevents that.
Re:Cleaning Up Dead Bodies in AWS IAM
on Monday August 28, 2023 @05:05PM (#37300383)
I've made it a habit to only create IAM roles/users/policies using CloudFormation. This way they can be easily removed, are version controlled and you can see why they were created in the first place.
Re:As I get older, I just don't care about new technology
on Saturday August 26, 2023 @09:17AM (#37272616)
As a counter example, I love learning new languages and frameworks. Reading a “Getting Started” tutorial is as interesting to me as picking up a new book. That’s what I like about public cloud, with hundreds of services there is always something to learn.
Re:LlamaIndex: Unleash the power of LLMs over your data
on Saturday July 08, 2023 @09:13AM (#36644058)
Is this an alternative/competitor to langchain? If so which one is easier to use?
Re:AI for AWS Documentation
on Friday July 07, 2023 @09:24AM (#36631380)
It’s still the fastest and most common way to get aws cli working on a local dev machine.
Re:The NixOS Foundation’s Call to Action: S3 Costs Require Community S...
on Friday June 02, 2023 @11:31PM (#36173426)
“That would incur a fixed cost of around $32k for the migration.”
They should consider Backblaze b2 if they want s3 api compatibility. Backblaze currently offers to cover the migration costs assuming some spend commitment.
Re:Reflections on Ten Years Past the Snowden Revelations
on Friday June 02, 2023 @11:20PM (#36173378)
You have made a lot of incorrect assumptions about me, so I will stop participating in this discussion. For anyone else reading this please know that if you visit Ukraine you can bring with you a book in Russian or in any other language. Furthermore feel free to walk into a local bookstore and purchase a book in Russian.
Re:Reflections on Ten Years Past the Snowden Revelations
on Friday June 02, 2023 @10:40PM (#36173203)
Please don’t make assumptions. I am Ukrainian and do not speculate but speak of things that I know of. You are being disingenuous and are spreading typical Russian propaganda taking points.
Re:Reflections on Ten Years Past the Snowden Revelations
on Friday June 02, 2023 @09:05AM (#36164533)
What does “suppressed in the public sphere” mean in this context? The books are either banned or not. People are free in Ukraine to read and posses Russian books. You can sit in a coffee shop in Kyiv with a Russian book, while speaking Russian to a friend and be perfectly fine.
Re:Do Any Startups Still Use WordPress After 20 Years?
on Thursday June 01, 2023 @08:30PM (#36159328)
Unless we’re talking about real-time data, it’s fairly easy to add a caching plugin + CDN and have it scale infinitely.
Re:Reflections on Ten Years Past the Snowden Revelations
on Monday May 29, 2023 @03:44PM (#36117295)
"as well as Ukraine say banning Russian language books"
Russian language, and Russian books are not banned in Ukraine. Some anti Ukraine books were removed from public libraries.
Re:Cloudflare Workers Introduces Connect() API to Create TCP Sockets
on Monday May 29, 2023 @11:32AM (#36114918)
This used to be an option in Chrome when running in an extension. Sadly sockets were removed in manifest v3.
Re:Reflections on Ten Years Past the Snowden Revelations
on Saturday May 27, 2023 @07:54PM (#36099671)
“Meanwhile Lyman remains under Kremlin control”
Lyman is under Ukrainian control
Re:Potentially millions of Android TVs and phones come with malware pr...
on Tuesday May 23, 2023 @10:51AM (#36045160)
Sorry I use the default launcher. I don’t see ads but that’s probably because I have pihole installed on the network.
Re:Potentially millions of Android TVs and phones come with malware pr...
on Sunday May 21, 2023 @10:49AM (#36021493)
Another good option and one that I’ve been using for years is a FireTV box (or stick). It can do Netflix and allows you to sideload apps like Kodi.
Re:An Anxious Asia Arms for a War It Hopes to Prevent
on Sunday March 26, 2023 @04:31PM (#35319249)
USSR won because of American lend lease and Germany having to fight on two fronts. Modern wars are won with equipment and technology, not human wave attacks (see Russia Ukraine war)
Re:Update to Kagi Search Pricing
on Thursday March 09, 2023 @09:27PM (#35089704)
Everyone is entitled to their opinion but I thought that their summarizer tool was amazing. I was using it multiple times a day to get summaries of long articles and pdfs.