Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
theK
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
151.
▲
by
theK
3y ago
> Write a regex to find all the strict ISO8601-RFC3339 strings in a directory That is a weird edge case. I've had this before and the person proposing it hinged on some forensic practice which was based on analyzing human readable d
152.
▲
by
theK
3y ago
I like your premise but disagree with your guidance. You should not convert the integer early, you should actually wait until the very last moment. Nowadays a timestamp will be marshalled and demashalled by (at the very least) two runtimes
153.
▲
by
theK
3y ago
> If there’s an if condition inside a function, consider if it could be moved to the caller instead Haha, it is important to have logic where it is relevant. If performance is more relevant than semantics or maintainability do that. In a
154.
▲
by
theK
3y ago
Come on, any ICE drivetrain is magnitudes more complex than an electric one...
155.
▲
by
theK
3y ago
That is a nice theory but study after study finds out that people just aren't "plugging in" https://theicct.org/wp-content/uploads/2022/12/real-world-ph... As an anecdote, I know a handful
156.
▲
by
theK
3y ago
What is the benefit of PHEVs compared to BEVs again? Aren't they just as overcomplicated as normal hybrids?
157.
▲
by
theK
3y ago
Also a very good option. Ideally it should trigger immediately once a regression happens and at least 12 months prior to service eol (give users time to migrate)
158.
▲
by
theK
3y ago
I love how the time zone designator chapter on Wikipedia also illustrates a common complexity pitfall. > So the zone designation for New York (on standard time) would be "−05:00" Except for the other half of the year where it i
159.
▲
by
theK
3y ago
> That last reason is the main and really only reason why you would prefer it to a Unix timestamp. I think this sort of argument is a bit shortsighted. Using ISO timestamps brings with it the semantics of including UTC offsets in pretty
160.
▲
by
theK
3y ago
Badly, we manage badly. I have wasted hundreds of hours debugging. Other people's code and writing involved workarounds because the team couldn't resist using "standard" ISO timestamps instead of the much more "arro
161.
▲
by
theK
3y ago
I worked on a project like this. The biggest challenge we had was finding ux patterns that keep returning the user to interact with the app and fill context gaps as it becomes convenient. I wish those guys lots of luck but I'm not sign
162.
▲
by
theK
3y ago
I think putting any amount of tons of matter into stratospheric altitude is a hard challenge. Especially if we consider the fact that you would be putting upwards of 200t[0] of CO2 into roughly the same altitude Only to deliver maybe 5 tons
163.
▲
by
theK
3y ago
I agree, hiring law professionals with proven expertise in the relevant domains can be a valid (and costly) way to do get assurance. As the parent hints that there are documented ways to do this sort if thing with open source licenses I wou
164.
▲
by
theK
3y ago
Is there a documented best practice for doing this with the MPL?
165.
▲
by
theK
3y ago
Interesting approach, hopefully it works out because the problem they are addressing is an important one IMO. If the creators are still aligned with the open source ethos maybe it would help outlining what they consider a fair use fork. EDI
166.
▲
by
theK
3y ago
I have a pet theory about that. The theory is that it is not the facts or the topic of Eco-Things. I think generally we are at a point where it is too easy for normal people to be against things and eco friendly things are just the lowest h
167.
▲
by
theK
3y ago
> Unbreakable encryption All wired earphones I have ever used had a line connect which is analog and completely unencrypted. What wired earphones have you had that where encrypted?
168.
▲
by
theK
3y ago
That's all fine but the fact of the matter is that a lot of web3 content is built on IPFS and not on all those other technologies (partially because IPFS is truly permissionless), so the "just use another tech" argument is qu
169.
▲
by
theK
3y ago
What's not democratic in having the power to use and operate businesses? I think this is the ideal way. Instead of limiting "democracy" to the power users you also include consumers this way.
170.
▲
by
theK
3y ago
> However I'd suggest at least specifying a default value so developers don't need to mess with version-controlled .env That's a good point. Most of my projects tend to ship an `example.env` which documents each env var an
171.
▲
by
theK
3y ago
I'm having difficulty following this train of thought. How is any of this related to consumer level users wanting to keep IPFS data alive?
172.
▲
by
theK
3y ago
Seriously, don't put traefik in front of your localdev if.you don't explicitly have to. It is way too much complexity and introduces an added layer of noise to bedug. Also, does local host subdomain resolution work on all OSes OOB
173.
▲
by
theK
3y ago
Well, the idea is that your port mappings in the docker compose look roughly like this ``` ports: - "${PORT_PREFIX}01:80" ``` This means that devs can drive the port range that the project bind to by editing their .env file.
174.
▲
by
theK
3y ago
Compose overrides are quite cool but can get very involved. An easier way is to make the port range dynamic by adding a prefix variable in .env/example.env. So, once configured, the whole localdev binds to ports in the prefix range, eg
175.
▲
by
theK
3y ago
Apart from the obvious web3 stuff there are some interesting usecases for classical enterprise software. Caveat, my experience is limited to clusters below 100 nodes. You can run your private IPFS DHT if you want and the protocol has some c
176.
▲
by
theK
3y ago
> The advantage of IPFS is that it allows resources to remain accessible, e.g. if someone else cares enough to ho... I think there is a key point here. This exactly is the reason why incentives markets built around IPFS are so relevant.
177.
▲
by
theK
3y ago
I also was very active in the early IPFS days. I think two points really atributted to your experience 1. Success: IPFS got tons of usage early on so scaling the software (which back then was mostly a prototype) was challenging, especially
178.
▲
by
theK
3y ago
Ever made wheat milk? It tastes sweet because wheat naturally contains water soluble sugars. They are more than enough to make the bread rise. The problem with your medieval bakery experience probably rested with too coarse grinding, too li
179.
▲
by
theK
3y ago
This is not what I said. Sure you can use such tools or even just classical boilerplate scripts (like we used for a decade now) to get started with react fast. But building out a system that fails well when the underlying llm starts behavin
180.
▲
by
theK
3y ago
Agreed but lets keep in mind that graphical UIs involve significantly more effort than CLIs. In the case where you shoerhorn an ai to be your primary UI I would bet this is as hard if not harder since you typically have to code around signi
More ›