SShortSingh.
Back to feed

주간 문의 리포트에서 접수일과 완료일을 분리해 집계하는 SQL 방법

0
·5 views

업무 메일로 주간 리포트를 보내기 전에 쿼리가 어떤 날짜 기준으로 행을 세는지 먼저 확인하라고 안내합니다. 접수량과 완료량에 같은 날짜 컬럼을 쓰면 지난주에 접수되어 이번 주에 끝난 문의가 누락될 수 있습니다. 글은 시작 시점은 포함하고 다음 날 자정은 제외하는 반열린 구간으로 기간을 잡는 예시 SQL을 제시합니다. 실제 저장소가 UTC라면 보고 기준 시간대의 경계를 UTC로 먼저 변환해야 한다는 점도 강조합니다. 또한 조회 시각과 함께 데이터 스냅샷을 남겨야 같은 결과를 재현할 수 있다고 덧붙입니다.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Pitfalls to avoid when using Instagram growth extensions for open-source projects

Many open-source projects and developer tools run Instagram accounts, often handled by maintainers or DevRel staff, and some turn to growth Chrome extensions when follower counts stall. The article argues that followers are only a rough proxy, so the account should first be tied to a concrete outcome such as clicks to the docs. It warns that aggressive automation can trigger warnings or blocks, since Instagram does not publish exact limits, and recommends slow pacing and treating any warning as a stop signal. It also advises narrowing targeting to people who would actually use the project rather than broad tech interest, and reviewing new followers and unfollowers regularly to judge whether tactics work. Finally, it notes that growth tools cannot compensate for weak content, and that tools mostly direct people toward valuable posts.

0
ProgrammingDEV Community ·

Guide Describes Running GGUF Models from External Thunderbolt NVMe on Apple Silicon Macs

A DEV Community post explains how Mac users with M1 to M4 chips can store large GGUF model files on an external APFS Thunderbolt NVMe drive. The author says the setup uses POSIX mmap() so weights map into unified memory without filling the internal boot drive. The post lists three Hugging Face model repositories with quantization options, file sizes, and recommended Mac memory tiers. It also includes a Python snippet that checks the pinned model metadata and reports the total verified size of about 42.3 GB. The article promotes its own installer and setup guide, and its performance and checksum claims come from the author rather than independent testing.

0
ProgrammingDEV Community ·

ZooKeeper Exposure Lead: ZoomEye Finds 93,739 Matches, Version and ACL Checks Still Needed

A ZoomEye query for the Apache ZooKeeper application signature returned 93,739 matches, but the count only shows that the software fingerprint is recognized, not its version or configuration. The article ties the concern to CVE-2026-100300, which affects certain 3.8.x and 3.9.x releases, and notes that default deployments leave the quota subtree world-writable. A malformed write could crash the request-processing thread and prevent the data directory from booting. The author recommends matching results to organization-owned assets, checking server versions, reviewing ACLs and authenticated clients, and restricting port 2181 from arbitrary networks. The broad match count is not treated as a vulnerable population, since many matches may run patched releases or lack the vulnerable configuration.

0
ProgrammingDEV Community ·

Cursor团队如何分层管理规则:Team Rules、项目规则与AGENTS.md

A team using Cursor's agents often ends up with rules scattered across individual settings and repositories, so the same codebase produces inconsistent agent behavior. Cursor's documentation, consulted in December 2026, describes four rule types: Team Rules set centrally for all members and can be made mandatory, project rules stored as .mdc files in .cursor/rules, AGENTS.md as a plain Markdown alternative that also works in subdirectories, and personal User Rules for individual preferences. The article recommends keeping Team Rules few, placing shared repository conventions in AGENTS.md since other tools like Claude Code and Codex also read it, and using path-scoped .mdc rules for file-specific guidance. It also stresses that rules are guidance in model context rather than enforced configuration, so hard requirements such as permitted agents, machine resources, and approval steps should be enforced by the platform instead.