Jim
Jim
Explore posts from servers
CDCloudflare Developers
Created by Jim on 4/19/2024 in #general-help
Detecting bot activity by email servers
Thanks for the headsup, yeah not ideal, probably dont want landing pages to have challenges from PPC campaigns haha
6 replies
CDCloudflare Developers
Created by Jim on 4/19/2024 in #general-help
Detecting bot activity by email servers
Thanks again!
6 replies
CDCloudflare Developers
Created by Jim on 4/19/2024 in #general-help
Detecting bot activity by email servers
Thanks for the considered response, yeah I was probably being too hopeful for a simple solution haha. theres a lot of mitigations we could build by timing the responses and/or adding invisible links .etc. for now i think the simplest approach is to identify the majority consumer emails (match gmail, hotmail, yahoo .etc) and serve them actionable links in the mail. Give corporate emails a two step process. I'm going to give the CF bot fighting mode a shot next week, but I'll keep my expectations low haha.
6 replies
DTDrizzle Team
Created by Ghostman on 3/8/2024 in #help
How to remove the space between timestamp and precision?
8 replies
DTDrizzle Team
Created by Ghostman on 3/8/2024 in #help
How to remove the space between timestamp and precision?
Unfortunalty not, I will let you know if I find a workaround without converting to string
8 replies
DTDrizzle Team
Created by Ghostman on 3/8/2024 in #help
How to remove the space between timestamp and precision?
@Ghostman hey ghostman sorry i missed this!
8 replies
RRailway
Created by Jim on 4/1/2024 in #✋|help
Redeploying service doesnt use updated Source Repo URL
thanks for checking!
14 replies
RRailway
Created by Jim on 4/1/2024 in #✋|help
Redeploying service doesnt use updated Source Repo URL
ok on the new service, autodeployments are working 👌
14 replies
RRailway
Created by Jim on 4/1/2024 in #✋|help
Redeploying service doesnt use updated Source Repo URL
I will try just making a new service, maybe the template service bugged out
14 replies
RRailway
Created by Jim on 4/1/2024 in #✋|help
Redeploying service doesnt use updated Source Repo URL
https://railway.app/template/zC7eOq this is the template I started with
14 replies
RRailway
Created by Jim on 4/1/2024 in #✋|help
Redeploying service doesnt use updated Source Repo URL
nope, no attempts to redeploy
14 replies
RRailway
Created by Jim on 4/1/2024 in #✋|help
Redeploying service doesnt use updated Source Repo URL
yeah it is, when I click the source repo link, it redirects me to the repo with new commits
14 replies
RRailway
Created by Jim on 4/1/2024 in #✋|help
Redeploying service doesnt use updated Source Repo URL
I will check lol
14 replies
RRailway
Created by Jim on 4/1/2024 in #✋|help
Redeploying service doesnt use updated Source Repo URL
2ae24313-cba8-400b-9fa8-81ac72c87641
14 replies
TTCTheo's Typesafe Cult
Created by Jim on 3/28/2024 in #questions
typescript globals: @types/web overrides fetch
ok.. I can force ts to read from the dom library by prefixing the file with
/// <reference lib="dom" />
/// <reference lib="dom" />
4 replies
TTCTheo's Typesafe Cult
Created by Jim on 3/28/2024 in #questions
typescript globals: @types/web overrides fetch
so basically, typescript is using the fetch from @types/node
4 replies
DTDrizzle Team
Created by Ghostman on 3/8/2024 in #help
How to remove the space between timestamp and precision?
fixed by setting the timestamp to a sting e.g.
createdAt: timestamp("created_at", {precision: 3, mode: 'string' }).defaultNow().notNull()
createdAt: timestamp("created_at", {precision: 3, mode: 'string' }).defaultNow().notNull()
8 replies
DTDrizzle Team
Created by Ghostman on 3/8/2024 in #help
How to remove the space between timestamp and precision?
hey @Ghostman facing the same issue, did you find a workaround?
8 replies
DTDrizzle Team
Created by Jim on 3/19/2024 in #help
Defining websocket for NeonDB connection
The Singleton pattern for the neonConfig threw me through a loop
4 replies
DTDrizzle Team
Created by Jim on 3/19/2024 in #help
Defining websocket for NeonDB connection
should of just followed the instructions:
import { drizzle } from 'drizzle-orm/neon-serverless';
import { Pool, neonConfig } from '@neondatabase/serverless';
import dotenv from "dotenv";
import * as schema from "./schema";
import ws from 'ws';

dotenv.config({ path: ".env.local" });
neonConfig.webSocketConstructor = ws; // here
const pool = new Pool({ connectionString: process.env.DB_URL });

export const db = drizzle(pool, { schema })
import { drizzle } from 'drizzle-orm/neon-serverless';
import { Pool, neonConfig } from '@neondatabase/serverless';
import dotenv from "dotenv";
import * as schema from "./schema";
import ws from 'ws';

dotenv.config({ path: ".env.local" });
neonConfig.webSocketConstructor = ws; // here
const pool = new Pool({ connectionString: process.env.DB_URL });

export const db = drizzle(pool, { schema })
4 replies