Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
macgyverismo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
macgyverismo
14d ago
I have come to think of this in the context of 'you can lead a horse to water (but can't make it drink)'. Good therapy is exactly that. There is surprisingly little personal knowledge needed to help someone. It's mostly
2.
▲
by
macgyverismo
3mo ago
That explains it. I guess my actual question was, why would you prefer submodules over fetchcontent :)
3.
▲
by
macgyverismo
3mo ago
Why use git submodule, when the repo already use CMakes Fetchcontent?
4.
▲
by
macgyverismo
6mo ago
honest question, do you not care about/take into account the negative externalities such as animal suffering and/or environmental impact?
5.
▲
by
macgyverismo
6mo ago
I have to say, since CMakes FetchContent module has been available I have not had a need for a dependency manager outside of CMake itself. What exactly is it you do/need that can't be reasonably solved using the FetchContent modul
6.
▲
The kenopsia of dead software [video]
(youtube.com)
2 points
by
macgyverismo
6mo ago
|
1 comments
7.
▲
by
macgyverismo
6mo ago
I think this video nicely articulates something modern software has lost. Modern software does not feel like it was meant for you. No longer a tool for you to use. I am hopefull we will bring some of that back.
8.
▲
by
macgyverismo
7mo ago
It's not criminal as the power usage is (assumed to be) paid for. It is criminal or at least problematic that the cost of power does not include (negative) externalities, we should strive to change that.
9.
▲
Datacenters behaving like acoustic weapons [video]
(youtube.com)
2 points
by
macgyverismo
7mo ago
|
0 comments
10.
▲
by
macgyverismo
10mo ago
Lovely article, I am amazed at the lengths compilers go through to get the best performance. Thanks for writing this! Reading the part about pure functions (including the extension [[gnu::pure]]) made me feel that this is a part where the C
11.
▲
by
macgyverismo
2y ago
I can see how the author came to the conclusion that libmodem written in rust would have prevented the issue, but isn't it simply pushing the problem further down the stack? The author needed to use unsafe in order to pass his pointer
12.
▲
by
macgyverismo
2y ago
I'm sure, but could you point me in the direction of these tools? I would love to supply GDB with some aliases for much used templates so I can have less verbose outputs
13.
▲
by
macgyverismo
2y ago
I love it too, it tends to bend to my will, for better or worse. It feels like it doesn't stand in my way, and that further translates to feeling like there is nothing between my program and the hardware it runs on. No need to school m
14.
▲
by
macgyverismo
2y ago
This is what keeps tripping me up, it is very difficult to be both general and not opinionated. C++ is general, you can use it however you want. Especially in many unsafe ways. Like it or not, this is great news for a general low-level lang
15.
▲
by
macgyverismo
2y ago
The comment in your frobulate code suggests one is to forbulate, yet reading The code it is very clear that there will only be frobulation happening in the outlined proceedings. Perhaps a minor revision is required.
16.
▲
by
macgyverismo
2y ago
That matches the 'static_assert' portion of my sample code. The implied claim of the parent I replied to was that rust could do this even for runtime values, such as the one I am using in the main of my sample. In c++ it is the sa
17.
▲
by
macgyverismo
2y ago
can you show me how rust does this? I'm genuinely curious. I've made a toy example to show how c++ checks for undefined behavior at compile time, I am unaware of rust being able to do the same without runtime costs (however small
18.
▲
by
macgyverismo
2y ago
This borrow checker runs at runtime, which I find not as interesting. Everything starts to look a lot like std::unique_ptr which I think is mostly unneeded as it ads pointer indirection. Could someone explain to me when one would use this?
19.
▲
by
macgyverismo
3y ago
I feel your pain. For me the biggest hurdle was taken away once I realized the following 3 things: - everything in Rust-land is named differently. They are not different, but use different names. - nothing wants to be a value - nothing is i
20.
▲
by
macgyverismo
3y ago
I've had an electric one (heater in the base) for more than 15 years and it recently broke in a way that was not repairable. I really want to buy a new electric one with a reasonable volume, but they seem to be very rare. I'm thin
21.
▲
by
macgyverismo
3y ago
I started using this library last week. It was easy to get started and running. When I wanted to do stuff beyond the provided example I found nothing worked as I had expected. For example, you supply a user pointer when you create a lws_co
22.
▲
by
macgyverismo
3y ago
I have played with this idea on and off over the last few years. For c++ mind you. I have started a few times writing such a thing and each time ended up concluding I was making it way too complex. I wholehartedly agree with the idea/c
23.
▲
by
macgyverismo
3y ago
There is work done one this. search for: software defined microwave (SDC)
24.
▲
by
macgyverismo
3y ago
This was very much in line with my own thinking, or at least that is what I suspect and can’t know for sure. With the recent AI buzz I got to think, maybe the keep from the story are higher level concepts that exist only after the underlayi
25.
▲
by
macgyverismo
3y ago
I’ve been using this technique as well, but I found that debugging static_asserts is quite hard. I often fall back to calling the failing test at runtime and stepping through. Any suggestions for a different workflow?
26.
▲
by
macgyverismo
4y ago
They need atomic operations which can still stall most of your massivly parallel machine.
27.
▲
by
macgyverismo
4y ago
I love the creative use of the rolling shutter, instead of seeing it as a downside, they turned the line-by-line nature of the sensor into sample rate multiplier.
28.
▲
Lead Acid Alternative Battery
(gelion.com)
1 points
by
macgyverismo
4y ago
|
1 comments
29.
▲
by
macgyverismo
4y ago
earnest question; why would I use this instead of graphviz?
30.
▲
by
macgyverismo
5y ago
Let’s play devils advocate; does it return a filtered list, does it change itself or both? As clear as it may look at first, I still would have to look in the docs to find out.
More ›