frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Waiting for SQL:202y: Group by All

http://peter.eisentraut.org/blog/2025/11/11/waiting-for-sql-202y-group-by-all
25•ingve•5d ago

Comments

Exuma•1h ago
Also just let me reference the damn alias in a group by, FUCK
mberning•1h ago
Some do. It would also be nice to reference by ordinal number similar to order by. Very handy for quick and dirty queries. I can see the issue though that people start to lean on it too much.
sbuttgereit•1h ago
At least in PostgreSQL, both by alias and ordinal are possible:

  localhost(from SCB-MUSE-BOXX).postgres.scb.5432 [Sun Nov 16 12:02:15 PST 2025]
  > create table test (a_key integer primary key, a_group integer, a_val numeric);
  CREATE TABLE
  Time: 3.102 ms

  localhost(from SCB-MUSE-BOXX).postgres.scb.5432 [Sun Nov 16 12:02:25 PST 2025]
  > insert into test (a_key, a_group, a_val) values (1, 1, 5.5), (2, 1, 2.6), (3, 2, 1.1), (4, 2, 6.5);
  INSERT 0 4
  Time: 2.302 ms

  localhost(from SCB-MUSE-BOXX).postgres.scb.5432 [Sun Nov 16 12:02:58 PST 2025]
  > select a_group AS my_group, sum(a_val) from test group by my_group;
   my_group | sum
  ----------+-----
          2 | 7.6
          1 | 8.1
  (2 rows)
  
  Time: 4.124 ms
  localhost(from SCB-MUSE-BOXX).postgres.scb.5432 [Sun Nov 16 12:03:15 PST 2025]
  > select a_group AS my_group, sum(a_val) from test group by 1;
   my_group | sum
  ----------+-----
          2 | 7.6
          1 | 8.1
  (2 rows)
  
  Time: 0.360 ms
elygre•1h ago
Let me reference fields as I create them:

  select xxxxx as a
       , a * 2 as b
dorianmariecom•55m ago
would be nice

62 chapter open-source Zig book

https://www.zigbook.net
96•rudedogg•1h ago•34 comments

The fate of "small" open source

https://nolanlawson.com/2025/11/16/the-fate-of-small-open-source/
76•todsacerdoti•1h ago•36 comments

Tracking users with favicons, even in incognito mode

https://github.com/jonasstrehle/supercookie
45•vxvrs•1h ago•11 comments

Heretic: Automatic censorship removal for language models

https://github.com/p-e-w/heretic
304•melded•6h ago•99 comments

Z3 API in Python: From Sudoku to N-Queens in Under 20 Lines

https://ericpony.github.io/z3py-tutorial/guide-examples.htm
46•amit-bansil•2h ago•0 comments

Dark Pattern Games

https://www.darkpattern.games
19•robotnikman•1h ago•2 comments

Linux mode setting, from the comfort of OCaml

https://roscidus.com/blog/blog/2025/11/16/libdrm-ocaml/
23•ibobev•1h ago•2 comments

I have recordings proving Coinbase knew about breach months before disclosure

https://jonathanclark.com/posts/coinbase-breach-timeline.html
125•jclarkcom•59m ago•29 comments

FPGA Based IBM-PC-XT

https://bit-hack.net/2025/11/10/fpga-based-ibm-pc-xt/
111•andsoitis•5h ago•21 comments

I finally understand Cloudflare Zero Trust tunnels

https://david.coffee/cloudflare-zero-trust-tunnels
44•eustoria•3h ago•15 comments

Decoding Leibniz Notation (2024)

https://www.spakhm.com/leibniz
15•coffeemug•2h ago•0 comments

Fourier Transforms

https://www.continuummechanics.org/fourierxforms.html
72•o4c•1w ago•10 comments

What if you don't need MCP at all?

https://mariozechner.at/posts/2025-11-02-what-if-you-dont-need-mcp/
24•jdkee•2h ago•6 comments

Brimstone: ES2025 JavaScript engine written in Rust

https://github.com/Hans-Halverson/brimstone
174•ivankra•9h ago•84 comments

Your Land, My Land (Offrange) – Lithium vs. Lettuce in the Imperial Valley, CA

https://ambrook.com/offrange/photo-essay/lithium-v-lettuce
7•mfburnett•1d ago•0 comments

The Pragmatic Programmer: 20th Anniversary Edition

https://www.ahalbert.com/technology/2023/12/19/the_pragmatic_programmer.html
4•ahalbert2•31m ago•0 comments

Anthropic’s paper smells like bullshit

https://djnn.sh/posts/anthropic-s-paper-smells-like-bullshit/
735•vxvxvx•9h ago•225 comments

De Bruijn Numerals

https://text.marvinborner.de/2023-08-22-22.html
54•marvinborner•5h ago•7 comments

Garbage Collection Is Useful

https://dubroy.com/blog/garbage-collection-is-useful/
99•surprisetalk•7h ago•19 comments

Holes (1970) [pdf]

https://rintintin.colorado.edu/~vancecd/phil375/Lewis1.pdf
21•miobrien•2d ago•3 comments

Waiting for SQL:202y: Group by All

http://peter.eisentraut.org/blog/2025/11/11/waiting-for-sql-202y-group-by-all
25•ingve•5d ago•5 comments

The Man Who Keeps Predicting the Web's Death

https://tedium.co/2025/10/25/web-dead-predictions-george-colony/
20•thm•3h ago•2 comments

Shell Grotto, Margate

https://en.wikipedia.org/wiki/Shell_Grotto,_Margate
3•Michelangelo11•1w ago•0 comments

Measuring the doppler shift of WWVB during a flight

https://greatscottgadgets.com/2025/10-31-receiving-wwvb-with-hackrf-pro/
103•Jyaif•1w ago•0 comments

Vintage Large Language Models

https://owainevans.github.io/talk-transcript.html
53•pr337h4m•8h ago•14 comments

Adding an imaginary unit to a finite field

https://www.johndcook.com/blog/2025/11/16/finite-field-i/
5•ibobev•1h ago•1 comments

Running the "Reflections on Trusting Trust" Compiler (2023)

https://research.swtch.com/nih
100•naves•7h ago•4 comments

AirPods libreated from Apple's ecosystem

https://github.com/kavishdevar/librepods
1212•moonleay•21h ago•352 comments

Three kinds of AI products work

https://www.seangoedecke.com/ai-products/
96•emschwartz•4h ago•95 comments

Dissecting Flock Safety: The Cameras Tracking You Are a Security Nightmare [video]

https://www.youtube.com/watch?v=uB0gr7Fh6lY
111•emsign•5h ago•39 comments