Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
halfcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
541.
▲
by
halfcat
3y ago
How does one get “legal smart”? Or do you mean you become a lawyer?
542.
▲
by
halfcat
3y ago
> those good at mental math might see a chalkboard like image of the problem with all the detail Experiments with chess players and memorization shed some light on this. DeGroot’s research showed the average person is quite poor at recal
543.
▲
by
halfcat
3y ago
> Are China and Russia gonna be like, what, UFOS?! Let's waste money studying something we have no evidence for! Yes. That’s exactly what happens. [1] “In 1970 United States intelligence sources believed that the Soviet Union was sp
544.
▲
by
halfcat
3y ago
There is wisdom in the saying, “it’s not whether you win or lose, it’s how you play the game”. The goal shouldn’t be to win at any single game. The goal should be to play in such a way that you are invited back to play more games. This maxi
545.
▲
by
halfcat
3y ago
HTMX and Alpine pair well together. Generally, Alpine would handle pure client-side functionality, like toggling classes, expanding a drop-down multi-select, etc. HTMX for server interactions, fetching, posting updates, etc. One can accompl
546.
▲
by
halfcat
3y ago
The same can be said of a React frontend that talks to a JSON API. There is some structure, organization, and convention to the API endpoints, one-way data flow, and so on. Otherwise it’s chaos. On our most recent project we do the same wit
547.
▲
by
halfcat
3y ago
> React is being challenged but still has the biggest community jQuery and PHP have entered the chat
548.
▲
by
halfcat
3y ago
> a major selling point of Node was running JS on both the client and server so you can write the code once But we don’t have JS devs. We have a team of Python/PHP/Elixir/Ruby/whatever devs and are incredibly producti
549.
▲
by
halfcat
3y ago
Is a JSON response smaller here? With HTMX I can return the text `Bart` to be swapped into the innerHTML of the appropriate element. With JSON, the actual text is longer, and I need `Content-Type: application/json` and possibly other h
550.
▲
by
halfcat
4y ago
Sales guy last week: “We don’t use OCR. That’s 20-year old tech. We use Amazon Textract” Annoyance of sales/marketing tactics aside, the problem is when you are the plug-in. They can screw you at any moment, raise the price, change the
551.
▲
by
halfcat
4y ago
One idea to explore, is using analog-looking timers instead of the digital-looking ones. I’ve heard this recommended by a number of “time blind” folks.
552.
▲
by
halfcat
4y ago
There’s something to this. I had a period where I’d play old episodes of Mr. Rogers while working. When one of my kids was an infant, the only thing that would get him back to sleep in the middle of the night was watching shows like House H
553.
▲
by
halfcat
4y ago
You can hope, but it’s nowhere within your circle of control. Every non-parent says “my kid will never…”, which is comical. The most surprising part of parenting to me was how wildly different each child’s personality and temperament are, a
554.
▲
by
halfcat
4y ago
I’ve found the HTMX community to fit this, and not in a nostalgic way. It’s a very useful and functional option if you’re wanting to build a reactive site while shipping less JavaScript.
555.
▲
by
halfcat
4y ago
Relevant “Bill Gates vs Excel dates” story from 1992 [1]: > “I don’t know, you guys,” Bill said, “Is anyone really looking into all the details of how to do this? Like, all those date and time functions. Excel has so many date and time f
556.
▲
by
halfcat
4y ago
Sure, “if”, but no one said anything about breaking laws of physics. There’s no claim of perfectly efficient energy transfer. It’s just regular inefficient energy transfer, like US dollars or an electrical power grid, but available to more
557.
▲
by
halfcat
4y ago
Increasing the energy requirement of mining doesn’t discourage mining. It encourages more widespread use of untapped renewable energy sources. A river in an impoverished country in the middle of nowhere, which is too far from a population c
558.
▲
by
halfcat
4y ago
Short term, Bitcoin may plummet, but it changes long term prospects very little. 1929 didn’t end the stock market. It wiped out a lot of value, and changed nothing long term except timelines. It’s possible we see 3-digit BTCUSD in the futur
559.
▲
by
halfcat
4y ago
Here is how I have come to think of this: Understanding progress vs activity, and 3 types of effort. Rock metaphor: The goal is to deliver a big, shiny rock to the top of the mountain. You can (1) move the rock, (2) polish the rock, and (3)
560.
▲
by
halfcat
4y ago
Perhaps they are better equipped to write more Python, less JavaScript.
561.
▲
by
halfcat
4y ago
What if combined with this? https://htmx.org/examples/lazy-load/
562.
▲
by
halfcat
6y ago
> beat builtin Bayesian inference That’s exactly what tools like the scientific method do. Systems of law enforcement could be similarly redesigned to sidestep many cognitive biases.
563.
▲
by
halfcat
6y ago
> My biggest problem is just having work thoughts come up I remember an interview with David Allen of GTD, and he was asked what he had planned for the afternoon, and he said, “I don’t know. I’ll find out then”. At the time, I hadn’t use
564.
▲
by
halfcat
6y ago
I’d say your question is too generic, but here’s some general advice. * Your choice of initial project probably doesn’t matter. Whatever you start with will probably fail, and whatever eventually succeeds will probably be after many iterati
565.
▲
by
halfcat
6y ago
> Surely you should be backing up in an append only fashion initiated from the backup server The key idea is assuming everything is compromised. Whether you use append or whatever, is not helpful if the functionality to change that confi
566.
▲
by
halfcat
6y ago
Probably through Active Directory, which has the ability to deploy software. If a domain controller was compromised, the payload could be pushed out across the board. Endpoints like PCs and servers check in with domain controllers at recur
567.
▲
by
halfcat
6y ago
Yes! This is so much more precise and productive, and stands in stark contrast to a blunt stereotyping heuristic. You're engaging in discussion, analysis, and identification of cognitive biases and memetic complex traps. Then applying
568.
▲
by
halfcat
6y ago
> if someone was a ___ or a ___ I would be really uninterested in their opinions on pretty much anything because they're obviously ___ Dismissing one’s ideas based on group membership is a terrible strategy for truth-seeking. It’s a
569.
▲
by
halfcat
6y ago
The skill of energy. Energy is the one metric to optimize for by default. Energy to me has been health and excitement. Health is sleep, nutrition, movement, mindset, and relationships. Excitement is doing something that I enjoy, often seemi
570.
▲
by
halfcat
6y ago
> Unfortunately my phone is literally the first thing I do when I wake up If this is true, like if you use your phone as an alarm clock, you’re screwing yourself. BJ Fogg’s book Tiny Habits walks through this exact example, and spoiler:
More ›