HNHacker News
TopNewBestAskShowJobs

cjp

75 karma · joined February 17, 2008

submissionscomments
cjp··on Bend 2 and the Vibe-Coding Trap
Speed.

> The checker file records 0.295 seconds for Bend and 36.177 for Lean on its 12,800-definition fixture. https://bend2.dev/notes/what-is-bend2/

cjp··on Astral to Join OpenAI
direnv, .envrc, "layout uv"

https://github.com/direnv/direnv/wiki/Python#uv

cjp··on Claude's new constitution
Judging by the responses here, it's functionally a nerd snipe.
cjp··on Show HN: Webctl – Browser automation for agents based on CLI instead of MCP
Have a look at code mode mcp. https://github.com/universal-tool-calling-protocol/code-mode
cjp··on Fnox, a secret manager that pairs well with mise
https://github.com/jdx/mise

It's a generic version manager (replacing nvm/pyenv/etc). It also does direnv and tasks.

cjp··on The Lesson to Unlearn
Of course, no one can understand everything, but he said, "pick a subject". Just one, not everything. I'm reminded of this description of a PhD:

http://matt.might.net/articles/phd-school-in-pictures/

cjp··on Show HN: Fossa-cli – Fast and reliable dependency analysis for any codebase
> for any codebase

> Supports over 15+ languages & environments (JavaScript, Java, Ruby, Golang, PHP, etc...)

The title here is overly broad, bordering on click bait. I suggest it be edited to "for several popular languages".

cjp··on Stop Using Excel, Finance Chiefs Tell Staffs
A hilarious pun at Accenture's expense.
cjp··on Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
The Git Parable: http://tom.preston-werner.com/2009/05/19/the-git-parable.htm...
cjp··on Pokemon Go is a huge security risk
Same here. I recall a "give pokemon go access to your google contacts" dialog (or similar), which I denied.
cjp··on Global Task Exchange Protocol
> So any task with `Parent-Id` will be a sub-task. If User owns the tasks he can see the subtasks tree also. but if you own the sub task alone, for you it is like a normal task with an out of scope parent.

That should work.

> Recursive tasks works exactly like recursive calendar events.

I'm not sure what a recursive calendar event is. Are you reading "recurring" instead of recursive?

> I have not thought about Sub-Projects, any suggestions?

The same `Parent-Id` solution as subtasks should also work here.

cjp··on Global Task Exchange Protocol
An ambitious idea. Some questions immediately spring to mind.

> Task is owned by a Project. Project belongs to a User. User is a member of Domain.

Can Tasks have subtasks? Recursively? To an arbitrary depth?

Can Projects have subprojects? (see above)

I assume since a "User" is just an email address, a group email address would implement a "Group" at the "User" level?

In a company setting, Users (Contractors, Employees) come and go during the life of a Project. What happens to Tasks assigned to a User who leaves the (company|Domain|Project)?

cjp··on SourceForge and Slashdot Have Been Sold
All your base!

Those were some good times.

cjp··on I have no idea what I'm doing
http://en.wikipedia.org/wiki/North_American_beaver#Behaviour

Beavers are best known for their dam-building. They maintain their pond-habitat by reacting quickly to the sound of running water, and damming it up with tree branches and mud. Early ecologists believed that this dam-building was an amazing feat of architectural planning, indicative of the beaver's high intellect. This theory was tested when a recording of running water was played in a field near a beaver pond. Despite the fact that it was on dry land, the beaver covered the tape player with branches and mud.

-- Richard P.B. (1983). "Mechanisms and adaptation in the constructive behaviour of the beaver (C. fiber L.)". Acta Zoologica Fennica 174: 105–108.

cjp··on Stop Changing UIs for No Good Reason
No you can't. Tapping on the month shows you the days in the month, not your calendar events for the month.
cjp··on Stop Changing UIs for No Good Reason
Nope. The three dot menu has Schedule, Day, 5 Day, Search and Refresh. There is no Month there.

By the way, limiting to 5 days is at best inflexible. Many people want to look at 7 days because, you know, that's a week.

cjp··on Why Microsoft's engineering changes will be the real Windows Threshold story
> To me this is a major flaw in the design of Windows.

As much as possible, I use PortableApps on Windows. When I migrate to a new machine, all I need to do is copy the PortableApps folder.

I don't see this as a flaw in Windows. If every application developer/packager built portable apps, there wouldn't be a problem.

cjp··on Bzr is dying; Emacs needs to move
Here [1] is a good but necessarily incomplete summary of version control tool history, written by ESR.

Tom Lord does deserve much credit for DVCS concepts, but so do Larry McVoy (Bitkeeper) and Graydon Hoare (Monotone).

[1] http://www.catb.org/esr/writings/version-control/version-con...

cjp··on Gitless: an experimental version control system built on top of Git
You can split hunks down to individual lines.

Also git-gui can stage individual lines.

cjp··on SQRL - Replacement for usernames and passwords
A front facing camera already flips the image so that the user sees what they usually see when they look in a mirror. So one mirror would end up being right. Except when you open the camera app, the mobile site is no longer displaying the QR code.
cjp··on Tarsnap logo contest
Or Tars Tarkas sleeping.
cjp··on Docker: Git for deployment
Each docker RUN command is like a git commit. See those cache keys? Those are the commit sha1sums.

According to the article, you can roll back to a (any?) cache key and branch off into a new direction. I wonder about merges though.

cjp··on Soylent now accepting Bitcoin for preorders
What is it that you think sowhatquestion means by "sugar rush"? My guess is you think he means hyperactivity.

What is the difference between a diabetic glycemic excursion (what you said) and a postprandial glycemic excursion (what I linked)?

cjp··on Soylent now accepting Bitcoin for preorders
https://www.ncbi.nlm.nih.gov/pubmed/11858448

Wouldn't want to actually stfw or anything.

cjp··on Grep too slow? Use git-grep
In a packed repo, git grep can mmap the pack file once and search through it in one fell swoop. If the pack file isn't already in the filesystem buffer, mmap will get it there quickly. The number of system calls is O(1).

The limitation, as others have said, is git grep won't match files that are not already checked in.

In a regular directory tree, recursive grep has to open and read directories, stat files, and read (or mmap?) each individual file. The number of system calls is O(N) on the number of directory entries.

cjp··on Tools For Treason
http://en.wikipedia.org/wiki/Vitamin_C#Overdose
cjp··on Parsley.js: never write a single JavaScript line to validate your forms
An honest mistake: Your form has 3 required fields but the user only filled out 2. This shouldn't require a trip to the server.

A hack attempt may be a direct POST circumventing any client side checks.

cjp··on 60 minutes: Is sugar toxic?
When in ketosis, excess ketones are expelled in the urine.
cjp··on AIDE - Java IDE for Android
TerminalIDE includes git. https://play.google.com/store/apps/details?id=com.spartacusr...

AGit is a standalone git client ($2.50). https://play.google.com/store/apps/details?id=com.madgag.agi...

The source for AGit is on github. https://github.com/rtyley/agit

cjp··on All your metaphors about computers are wrong
"There are 2 hard problems in computer science: caching, naming, and off-by-1 errors."

Is there a better name for "programming language" that avoids the problem of association with natural language?

Page 1 of 2Next →