Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mozey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
mozey
4y ago
Yeah, I used Bootstrap for a long time, and got used to how it works. I wanted to like Tailwind, but it seems a bit disingenuous. It's like using inline style tags, just with shorter names. From time to time I've made an effort to
32.
▲
by
mozey
4y ago
> I tend to use the 'questioning level of thoughtfulness' (QLOT) of my discussion partner as the signal That's easier to do if participants have aligned interests and desires. Harder when communicating with someone that is
33.
▲
by
mozey
4y ago
> philosophers never change their minds: they occasionally do. But not as a result of arguing! It's usually more self-correction than other-correction So, as a rational philosopher you're not trying to express an absolute truth
34.
▲
by
mozey
4y ago
"People mistakenly see optimism as an excuse for inaction. They think that it’s pessimism that drives change, and optimism that keeps us where we are. The opposite is true. Optimists are the ones that move us forward" Exactly, it&
35.
▲
by
mozey
4y ago
Few people attempt this... Here is one: Ladybird https://awesomekling.github.io/Ladybird-a-new-cross-platform...
36.
▲
by
mozey
4y ago
Requires tight coupling and dependency injection
37.
▲
by
mozey
4y ago
Congrats on getting this far, your time tracking tool looks slick and marketable! I also like keeping text with tasks and time-tacking. My approach is to use a vim plugin and markdown files. Keyboard shortcuts let me start a timer, and calc
38.
▲
by
mozey
4y ago
The "cross platform" part, which is maybe less of an issue these days?
39.
▲
by
mozey
4y ago
> they're intentionally making me wait for their convenience Lol, it's definitely possible to do this with text too "typing..."
40.
▲
by
mozey
5y ago
Because it's not so easy to setup and manage? Maybe it will become more popular with tools like https://github.com/gravitational/teleport
41.
▲
by
mozey
5y ago
Highly recommend the "Alternative finger positioning" as mentioned here: https://typingsoft.com/typing.htm . It works with any qwerty keyboard! Simple solution, don't bend you wrists, change your home position
42.
▲
by
mozey
5y ago
For an app that displays positive or negative, wouldn't it be cheaper/easier to use image processing to detect lines on the test?
43.
▲
by
mozey
5y ago
Years ago I wrote some VBA that exports all the VBA in an Excel file. I ran this script manually from time to time so I could add my code to version control. Excel should make it easier to separate the code from the data. For the former you
44.
▲
by
mozey
5y ago
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
45.
▲
by
mozey
5y ago
Funny, couple of years ago I thought someone should create something for JSON similar to what [XSLT]( https://en.wikipedia.org/wiki/XSLT ) is for XML. See example here https://www.w3schools.com/xml/x
46.
▲
by
mozey
5y ago
> Shipping a Python application is an exercise in itself This, good cross platform support and single file executables. I use https://www.py2exe.org , and it works great once you've figured out how to set it up. However,
47.
▲
by
mozey
5y ago
Doing it the other way around makes more sense, i.e. write SQL to generate code. See https://github.com/kyleconroy/sqlc , why aren't more people following this approach?
48.
▲
by
mozey
5y ago
> At boundaries between our code and calls out to external packages, make an effort to always wrap the result with xerrors.Errorf. This ensures that we always capture a stack trace at the most proximate location of an error being generat
49.
▲
by
mozey
5y ago
Maybe, but I regularly go two days on battery now. That's something I've never experienced with a laptop before. Notwithstanding inefficient software
50.
▲
by
mozey
5y ago
I was using the ARM version, by slow I mean I can see the splash screen for a couple of seconds. Whereas VSCode starts up instantly. I've got `alias c='code .'`, typically I open the editor from iTerm2 the same way I would us
51.
▲
by
mozey
5y ago
Recently switched to VSCode from Jetbrains IDEs on MacBook Air M1, amazed at how much faster my editor boots up, and generally also more responsive. Haven't noticed any memory issues either, I only have 8GB RAM
52.
▲
by
mozey
5y ago
> And ORMs have the advantage of abstracting this SQL away for you allowing that you to work across databases if you need to In theory, in practise my experience is the oppose. It's easier to understand and tweak the SQL to work acr
53.
▲
by
mozey
5y ago
Lambda because pricing, I don't have to pay the per hour fee if the service is not used every hour/day/etc. By using apex/gateway I can easily move the code to ECS if that becomes the better option.
54.
▲
by
mozey
5y ago
I've been using the same IDE for the last 10 years because that is what my colleagues use. Over the last decade the UI has changed significantly. Not only that, the keyboard shortcuts also change, and often don't work the same acr
55.
▲
by
mozey
5y ago
I write Lambda functions in golang. In dev I run the function as local http server. In prod I map a custom domain to the lambda, routing is done internally to the function. API Gateway is only used for the top level route. This workflow is
56.
▲
by
mozey
6y ago
One thing that really annoys me about the GUI mindset is that developers think it's ok to just change stuff. With CLIs they expect people are using it for automation so changes are done with care. Often when I update my GUI I have to l
57.
▲
by
mozey
6y ago
> dependencies between containers This is the part I don't understand. I use Docker as a light weight alternative to say VMWare or Virtual Box, just Dockerfiles work well for this use case. The point is to not have dependencies
58.
▲
by
mozey
6y ago
Docker is not for production (most of the time), it's a dev tool. Ignore docker compose (and swarm and whatever else), because you don't need it. The basic Dockerfile format is simple, it reads like a bash script without logic, ba
59.
▲
by
mozey
6y ago
Oh wow, never thought of that before. Now I'm feeling a little creeped out. Kind of makes me think of the difference between disk and RAM when rebooting a computer
60.
▲
by
mozey
6y ago
If it's only this that is shared, "whether you communicate with a business by phone, email, or WhatsApp, it can see what you’re saying and may use that information for its own marketing purposes, which may include advertising on F
More ›