SShortSingh.
Back to feed

Open Dataset of 3,266 Mark Six Lottery Draws Released With Free API

0
·8 views

A developer project has archived every published Macau and Hong Kong Mark Six draw, producing an open dataset of 3,266 results. The data is free to download in CSV and JSON formats under a CC BY 4.0 license and is also available through a public API requiring no registration. Each record includes the draw number, date, six main numbers, special number, and attributes such as zodiac sign, color wave, and five-element assignment. The authors compared several observed statistics, such as special-number frequencies and consecutive-number rates, against what pure randomness would predict, and found the results broadly consistent with chance.

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 ·

Termhint Brings IDE-Style Autocomplete with Descriptions to zsh on Mac

Termhint is a new native macOS app that adds IDE-style autocomplete to the zsh shell, showing a popup with subcommands and short descriptions as users type. It covers 3,272 commands and suggests items drawn from local sources such as Git branches, SSH hosts, Docker containers, Makefile targets, and package.json scripts, without running those tools. The app works across 22 Mac terminal applications, including Terminal, iTerm2, Ghostty, VS Code, and tmux, but not Warp, GNU screen, bash, or fish. It also offers a customizable prompt, terminal color schemes, tab titling, and verified runtime installs, with completions bundled in the app and typed input kept on the user's Mac. It requires macOS 14 or later on Apple silicon, offers a 7-day free trial, and then a one-time license starting at $11.99.

0
ProgrammingDEV Community ·

Public job-board APIs from Greenhouse, Lever and Ashby expose company postings

A developer guide explains how to pull open roles from Greenhouse, Lever and Ashby using their unauthenticated public job-board endpoints. The process starts by finding a company's hosted board name from its careers page URL. The article provides a Node.js 22+ script that fetches one example board per provider, including Stripe, Spotify and OpenAI, and prints up to ten postings as JSON Lines. The script reports HTTP errors separately and notes that Lever pagination and rate limits, including Retry-After headers, must be respected. Readers are also advised to store job keys so later fetches can be compared against earlier results.

0
ProgrammingDEV Community ·

Node.js Web Sessions: Opaque Tokens Versus JWTs for Instant Revocation

A gaming web app migrating off managed authentication must be able to cut off a banned player's access on their next protected request. The article argues that opaque sessions suit this requirement better than locally validated JWTs, because the server can check current access on every request. JWTs remain viable when avoiding a lookup matters more, provided the acceptable window of stale access is defined. The author's build log rehearses the migration by preserving internal player IDs, mapping verified external identities to existing accounts, and failing closed on unknown identities. The accompanying TypeScript model is a single-process demonstration and leaves social callback verification out of scope.

0
ProgrammingDEV Community ·

Site scored 99 on mobile PageSpeed, but audit still flagged two image issues

The author ran PageSpeed Insights on their Angular server-side rendered site in November under a throttled mobile connection. The home page scored 99 for performance and 100 for the other three categories, with Largest Contentful Paint at about one second. The audit still flagged the hero portrait, a 49 KB JPG, which was replaced with a 480-pixel WebP of 32.6 KB, while the larger JPG was kept only for social previews and structured data. Image caching was also extended from one day to seven days with stale-while-revalidate, but without the immutable directive because images are replaced in place. Neither change moved the score much, though both reduced bytes for every visitor.