Readit News logoReadit News
zck commented on What sets great managers apart   hellmayr.com/blog/2025-08... · Posted by u/shellmayr
lvspiff · 12 days ago
one of the most annoying things to me are managers who pull the "here's what I'm evaluating you on...now write up this self eval what you've done over the last year that fits these items and I'll copy paste it into your eval." Why even become a manager if you can't capture these yourself? A self evaluation should be a reflection of what a person gained over the past year and not an exercise to fill out a form for a manager to remind them of such.

As a manager I take notes throughout the year WITH my staff to capture what they worked on, how they grew, and all that stuff. If there are stumbles along the way we capture those too. It just makes it easier to then show the higher ups how consistently good a person is (or not in some cases). The self eval is less of an exercise in futility of reminding the boss what you did but an opportunity for staff to reflect on their growth.

zck · 11 days ago
> one of the most annoying things to me are managers who pull the "here's what I'm evaluating you on...now write up this self eval what you've done over the last year that fits these items and I'll copy paste it into your eval."

Every Friday morning, my company has a meeting for the teams to explain what they've worked on that week. Every Thursday afternoon, my manager asks me what I've worked on that week.

So when I do something, I have to explain that I did it at least three times:

1. In Jira. 2. In daily standup. 3. Every Thursday to my manager. 4. Sometimes in Slack, because no one reads Jira comments unless they're pointed to in Slack.

zck commented on Lisp project of the day   40ants.com/lisp-project-o... · Posted by u/perihelions
z_open · a month ago
printf("x = %6d\ny = %.8E\n", x, y) ;

What's the equivalent lisp?

zck · a month ago
Someone else has given you the Common Lisp version. Here's one for Clojure:

  (printf "x = %6d\ny = %.8E\n" x y)
If I've understood everything right, and your example is in C, the format string in Clojure is identical to the one in your comment.

zck commented on Mathematicians hunting prime numbers discover infinite new pattern   scientificamerican.com/ar... · Posted by u/georgecmu
ysofunny · 2 months ago
I hope the twin prime conjecture will become a theorem during the remainder of my lifetime

that's why I already got the double twin prime conjecture ready:

there exists an infinite number of consecutive twin primes. 3 examples: 11,13; 17,19. 101,103;107,109, AND 191,193;197,199... I know of another example near the 800s

there's also the dubious, or trivial, or dunno (gotta generalize this pattern as well) of the first "consecutive" twin prime but they overlap which is 3,5 and 5,7.... which reminds me of how only 2 and 3 are both primes off by one; again, I need to generalize this pattern of "last time ever primes did that"

zck · 2 months ago
> there's also the dubious, or trivial, or dunno (gotta generalize this pattern as well) of the first "consecutive" twin prime but they overlap which is 3,5 and 5,7.... which reminds me of how only 2 and 3 are both primes off by one; again, I need to generalize this pattern of "last time ever primes did that"

For the triplet n, n+2, n+4, exactly one of those numbers is divisible by 3. So the only triplet n, n+2, n+4 where all numbers are prime contains 3: 3, 5, 7.

zck commented on Literal Fuck Hats Saved the Peregrine Falcon   theawl.com/2017/10/how-li... · Posted by u/daverol
zck · 3 months ago
Weirdly, the hats remind me of things used for the opposite purpose -- diaphragm birth control (c.f. https://healthjade.com/wp-content/uploads/2018/06/coil-sprin...), or rolled condoms.
zck commented on Binary Wordle   wordle.chengeric.com/... · Posted by u/eh8
zck · 3 months ago
I also made some number-based wordle-variants, which I call "numberdle". I found that it was hard to come up with good ways of guessing because wordle has the restriction that most combinations are invalid. You won't ever have to guess xwqqf, because that's not an English word. And more importantly, guessing some letters gives you information about the other letters. If you find out three letters, and have the target as _a_ts, you can use that to figure out the other two letters.

But if you need to guess a number, and you know it's _5_34, having three correct digits don't help you figure it out.

So I made some variants where guessed values do help you figure out the correct answer.

In rationerdle (https://zck.org/numberdle/?variant=rationerdle), you have to guess a rational number x/y, where both x and y are between 1 and 99, inclusive. It displays the rational number you actually guessed, and whether x and y separately are too high or too low.

In factordle (https://zck.org/numberdle/?variant=factordle), the player has to guess the factors of a target number.

In formuladle (https://zck.org/numberdle/?variant=formuladle), there is a graphed straight line, and the player has to guess the mx+b formula that graphs that line.

I would like to make more, but didn't have any other great ideas when I ran out of interest.

zck commented on In the US, a rotating detonation rocket engine takes flight   arstechnica.com/space/202... · Posted by u/LorenDB
numpad0 · 3 months ago
The most fundamental idea of a detonation engine is that, if you substitute fuel "burning" process with subsonic propagation used in every conventional engines with fuel "explosion" process with supersonic wavefront, the reactions will become more instantaneous and energetic and that improves efficiency. This is the detonation part of detonation engine concept.

The rotating part is a solution to the problem that forcing a continuous sustained explosion inside an engine can be complicated. By letting the explosion constantly happening, expanding, and traveling radially across a thin cylindrical gap, it solves such problems as sustained combus-^H^H^H detonation, fuel supply, etc. It's not the only possible type of an engine based on detonation principle, but so far the most promising. Detonating piston engines for cars, for example, are much less promising.

Engine part is just regular reaction rocket. It shoots the gas out the back. The faster and heavier the gas, the more reaction force it creates.

This isn't the first RDE ever to have been built, fired, or fired in a freefall, but it's finicky and experimental enough that it warrants a news story like this.

zck · 3 months ago
>...if you substitute fuel "burning" process with subsonic propagation used in every conventional engines with fuel "explosion" process with supersonic wavefront...

This fragment confused me, because it looks like there are three substitutions. There aren't; there's only one. Read it as:

If you substitute fuel burning (which has subsonic propagation, and is used in every conventional engine) with fuel explosion (which has a supersonic wavefront)...

The first and third "with" link a noun (the respective process) with a property (how fast it shoots gas out the back). The second "with" is the substitution.

English is hard! I'm a native speaker, and I had to take a look at a few webpages to understand just this part! And I'm still left with questions, like why subsonic is described as having "propagation", but supersonic is described as having a "wavefront". Is this a distinction with a difference? I don't know.

zck commented on Moving Forth: a series on writing Forth kernels   bradrodriguez.com/papers/... · Posted by u/todsacerdoti
crq-yml · 3 months ago
It took me a few tries(over a few years) to properly approach the task of writing a Forth, and when I approached it, I made my Forth in Lua, and all I really did was implement the wordlist in FORTH-83 as the spec indicated, and rewrite every time my model assumptions were off. No diving into assembly listings. Eventually I hit the metaprogramming words and those were where I grasped the ways in which the parser and evaluator overlap in a modal way - that aspect is the beating heart of a bootstrappable Forth system and once you have it, the rest is relatively trivial to build when starting from a high level environment.

The thing is, pretty much every modern high level language tends to feel a bit clumsy as a Forth because the emphasis of the execution model is different - under everything with an Algol-like runtime, there's a structured hierarchy of function calls with named parameters describing subprograms. Those are provisions of the compiler that automate a ton of bookkeeping and shape the direction of the code.

It's easier to see what's going on when starting from the metaphor of a line-number BASIC (as on most 8-bit micros) where program execution is still spatial in nature and there usually aren't function calls and sometimes not even structured loops, so GOTO and global temporaries are used heavily instead. That style of coding maps well to assembly, and the Forth interpreter adds just a bit of glue logic over it.

When I try to understand new systems, now, I will look for the SEE word and use that to tear things down word by word. But I still usually don't need to go down to the assembly(although some systems like GForth do print out an assembly listing if asked about their core wordset).

zck · 3 months ago
I understand implementing words as you think they should be. However, you need the core first, and that's where I'm working right now. I'm trying to get the central loop, dictionary, and threading model functional.

Which brings up another complication -- the threading model. There are multiple, of course. But sometimes I want to figure out, for example, what the `w` variable does. Is it different between indirect threading and subroutine threading? Maybe!

zck commented on Moving Forth: a series on writing Forth kernels   bradrodriguez.com/papers/... · Posted by u/todsacerdoti
zck · 3 months ago
Writing a Forth myself, I find it somewhat frustrating that I have relatively different design restrictions than these guides. I don't need to be incredibly low-power, so I'm using C, not assembly. I'm not a great C coder, and I've never done assembly, so I find it hard (but not impossible) to learn from assembly. Also, because it's not assembly, I can't just JUMP to code the same way assembly can.

It's also frustrating trying to understand some of the lowest-level information. For example, a few systems have a very fundamental `w` variable -- but what is is used for? You can't search for it. Or just using registers and having to remember that %esi is the program counter (aka instruction pointer).

I keep wanting to make a series of diagrams to really understand Forth's program flow. It makes sense in concept, but when I go to program it, there are a lot of nuances I keep missing.

zck commented on UTC is Enough for Everyone, Right? (2018)   zachholman.com/talk/utc-i... · Posted by u/Tomte
michael1999 · 3 months ago
I think your problem is higher up the stack. Try running this SQL

create table tz_test ( comment varchar, ts timestamp, ts_tz timestamptz );

insert into tz_test (comment, ts, ts_tz) values ( 'in "local"', TIMESTAMP WITH TIME ZONE '2003-04-12 04:05:06 America/New_York', TIMESTAMP WITH TIME zone '2003-04-12 04:05:06 America/New_York'), ( 'flattened to UTC', (TIMESTAMP WITH TIME ZONE '2003-04-12 04:05:06 America/New_York') at time zone 'UTC', TIMESTAMP WITH TIME zone '2003-04-12 04:05:06 America/New_York'), ( 'in "local" no types', TIMESTAMP WITH TIME ZONE '2003-04-12 04:05:06 America/New_York', '2003-04-12 04:05:06 America/New_York'), ( 'flattened to UTC no types', (TIMESTAMP WITH TIME ZONE '2003-04-12 04:05:06 America/New_York') at time zone 'UTC', '2003-04-12 04:05:06 America/New_York');

select comment, ts, ts AT TIME ZONE 'UTC' as ts_utc, ts_tz, ts_tz AT TIME ZONE 'UTC' as ts_tz_utc, case when ts < ts_tz then 'less' when ts>ts_tz then 'greater' else 'equal' end from tz_test;

zck · 3 months ago
I'm not sure this exactly is what I'm thinking about. Yes, `at time zone "UTC"` does the proper conversion, so all times will represent the exact instant they should. But in no cases do you know what time zone the data came in as -- that information is thrown away.

When you look at your data, what is the time a user's watch said when the data was input? What time zone was the data input as?

Here's some queries:

  create table tz_test ( comment varchar, ts_tz timestamptz );
  
  insert into tz_test (comment, ts_tz) values 
  ('midnight US Eastern', timestamp with time zone '2025-05-13 00:00:00-4'),
  ('4am UTC', timestamp with time zone '2025-05-13 04:00:00+0');

  select comment, 
         ts_tz
  from tz_test;
I would expect that one row comes out as midnight, and the other row comes out as 4am. But they both come out as midnight. That's what I don't like.

u/zck

KarmaCake day3185September 24, 2008
About
Emacs, Lisp, guitars, improv, keyboards.

http://zck.org

http://twitter.com/zckzck

email:zkanfer@Google's eMAIL

meet.hn/city/42.3554334,-71.060511/Boston

View Original