Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidhyde
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
davidhyde
2y ago
This is an excellent read. I was expecting a Rust rant but was instead treated to a very well thought out article about how to write more defensive code in Rust. Highly recommended.
32.
▲
by
davidhyde
2y ago
I won’t be stupid and buy a dishwasher that connects to your clever cloud. /s
33.
▲
by
davidhyde
2y ago
When writing codecs in Rust I found the Iterator trait (and all its provided methods) to be very useful for avoiding panics relating to out of bounds indexing into arrays. It also tends to generate very efficient code since bounds checks ar
34.
▲
by
davidhyde
2y ago
During The Plague of 1665 in London they culled 200,000 cats thinking that they were the root cause. It turned out that the rats were the cause and cats were their natural predator at the time. So they made things worse. https://
35.
▲
by
davidhyde
2y ago
I have also recently been through the same steep learning curve you have and the following worked for me. Reading spec sheets is fine but nothing beats measurement if its feasible. I built a custom PCB with all the power pins for all the pe
36.
▲
by
davidhyde
2y ago
It’s CRITAAS proliferation. Copyright infringement takedown as a service. It only feels unfair because right now it’s asymmetric. Wait until there is an automatic SAAS to counter balance it and let the bots duel it out whilst laws eventuall
37.
▲
by
davidhyde
2y ago
And yet it disappeared off Hacker News almost immediately. I kind-of feel lucky to have stumbled upon it, what a gem of a video.
38.
▲
by
davidhyde
2y ago
There are many cheap ultra low power microcontrollers that can keep a time clock going and a small amount (say 32KB) of ram. 30 years on a coin cell. Pair that with a Bluetooth low energy transceiver to automatically transfer the data when
39.
▲
by
davidhyde
2y ago
Admittedly I ended up building a board with a microcontroller rather than a microprocessor because I could interface with the modem over spi too. However, this YouTube channel was great to work through: http://www.youtube.com
40.
▲
by
davidhyde
2y ago
As someone who spent many months designing a product around CM4 and then waiting for more than 2 years for modules to arrive over the parts shortage era (eta kept being pushed out by the distributor) I will never put myself in that position
41.
▲
by
davidhyde
2y ago
Gross. > “The new company is building a service that leverages the enormous corpus of data in large AI systems and newly ubiquitous headphones. Then it’s adding the capabilities of a smartphone to surface relevant local information as a
42.
▲
by
davidhyde
2y ago
Knee jerk reaction about the ambulance service behaviour and general cyclist safety aside, 100k in medical expenses and a 1m lawsuit for a broken nose and other “unspecified” injuries is just mental.
43.
▲
by
davidhyde
2y ago
What an absolute goldmine of a website. So many varied topics. Just amazing.
44.
▲
by
davidhyde
2y ago
If you learned Rust first but find yourself reading a lot of C then this is also a good thing to read because of the parallels it draws with the languages.
45.
▲
by
davidhyde
2y ago
Very impressive! Looks like it could be used to practice hair cutting and to perhaps come up with some new styles. It’s a shame that safari on iPhone is so crippled. Webgpu support in combination with the depth camera could turn the casual
46.
▲
by
davidhyde
2y ago
I believe that you would use dotnet nano for something like that. I used it (or some previous version of it) once many years ago and was very impressed with the productivity and ease of use it offered. Ultimately the lack of community surro
47.
▲
by
davidhyde
2y ago
Imagine an experience like that but on mars or the moon. With real footage. Now that would be something!
48.
▲
by
davidhyde
2y ago
I found this to be a great resource when I was learning PCB design: https://www.youtube.com/@PhilsLab I watched all his KiCad videos and tried to build them as I went along. Then you can use a cheap PCB manufacturer like JL
49.
▲
by
davidhyde
2y ago
You’re right, whether or not the integers are signed has nothing to do with the issue above. Unsigned integers have the same issue. Here is an example for signed integers. These represent zero time but have different representations in memo
50.
▲
by
davidhyde
2y ago
I think it’s important to be explicit about whether or not signed integers are used. From reading the document it seems that they may be signed but they could not be. If they are signed then you could have multiple bit strings that represen
51.
▲
by
davidhyde
2y ago
My personal take on this subject is that Rust turns experts back into beginners and some devs react with hatred because of the fear this induces. For me it was the opposite. I was getting bored with my industry and thinking of a move to som
52.
▲
by
davidhyde
2y ago
> “They really gag me, that’s what I think of them” When asked about a new product line, what a quote!
53.
▲
by
davidhyde
2y ago
OP said less than 40MB. You can build Slint binaries targeting embedded devices. So a few hundred KB for a small application. Still arguably too much space but gui frameworks like slint use a domain specific language that generates more ver
54.
▲
by
davidhyde
2y ago
It could be a periodic spin change caused by a large, unseen, object orbiting it. Alternatively, the angle of the cone of radiation coming from the poles might be tightening and enlarging on a cyclical basis and we may see the glancing blow
55.
▲
by
davidhyde
2y ago
It occurred to me that the neutron star may be wobble spinning and we only catch it flashing by now and again when it gets round to pointing in our direction. Does anyone here know if this even a possibility for such an object or would it’s
56.
▲
by
davidhyde
2y ago
Thanks, I probably shouldn’t be commenting on an LLM article if I don’t even know what a gold answer is! Oh well.
57.
▲
by
davidhyde
2y ago
It’s problematic because the LLM is describing another person’s scan and not the one presented to it. It should at least present the other scan as workings and the percentage difference between the two. Finding a similar looking scan is ver
58.
▲
by
davidhyde
2y ago
> “ Question: Write a detailed radiology note based on the chest X-ray. Gold Answer: AP upright and lateral views of the chest were provided. Left chest wall pacer pack is again seen with leads extending into the right heart. ” The bit
59.
▲
by
davidhyde
2y ago
An even bigger issue is educating people that plastics (that can be recycled) can only ever be recycled once and not over and over again like glass and tin. https://www.plasticexpert.co.uk/how-many-times-can-plastic-b... On
60.
▲
by
davidhyde
2y ago
A natural key is what I would normally call unique index. Say first, surname and date of birth in an employee table as a bad (poor design) example. As opposed to a surrogate key like personId being an auto incrementing ID which is the norm
More ›