Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codehero
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
codehero
1mo ago
I looked at your site again and see you made changes. Stop working so fast, it's actually hurting your presentation pretty badly. I see "We make PCBs fast". I suppose it may mean something to the layman, but to me it just mea
2.
▲
by
codehero
1mo ago
Love the energy, but I can hardly believe the title "Proven Metals" because your website does not stand up to basic scrutiny: 1) First issue: I do not know what your manufacturing constraints are for PCBs...the number of layers is
3.
▲
by
codehero
4mo ago
I run in LAN/Developer Mode on the X1C and P1S and I sync filaments just fine. I don't monitor my prints with my phone but if I wanted to I wouldn't complain about the lack of Bambu support on the DEVELOPER MODE! I think the
4.
▲
by
codehero
6mo ago
Depends on the quality of the solder joint. Poor quality solder joints do not survive mechanical shock. If you are fighting a GND pin that sinks a lot of heat, using leadfree solder and you aren't that skilled...don't trim that le
5.
▲
by
codehero
3y ago
Pipes and named FIFOs are easy and great. I say this after implementing various IPC methods (unix domain sockets with fd passing, POSIX message queues, 0MQ, XML RPC, local TCP sockets, just to name a few). Use a simple line oriented protoco
6.
▲
by
codehero
3y ago
Can anyone explain to me the advantages of Pikchr over dotfiles?
7.
▲
by
codehero
5y ago
Any reason why the first example (subtracted sphere) is rotating off axis or possibly has bad geometry?
8.
▲
by
codehero
7y ago
Safe string manipulation never exceeds the bounds of the buffer. So negative values are dangerous, as all as any additions that would exceed the maximum size. Negative lengths are not compatible with unsigned representation. A system implem
9.
▲
by
codehero
7y ago
You're explanation is not inconsistent with my proposal, but you don't seem to grasp VALIDITY.
10.
▲
by
codehero
7y ago
If you have studied Computer Science, you should know that the null string is quite a valid string. Let's take strstr, which finds a matching substring needle in a haystack string. -returns a NULL string if the needle is not in the hay
11.
▲
by
codehero
7y ago
Is it more sensible to cat 2 strings, but cut off the second one, then pass off the result as valid? I would say let an INVALID string be length 0. Then accept that catting a valid and invalid string would result in a shorter length. Which
12.
▲
by
codehero
7y ago
I don't understand the fallibility. Clearly misuse of string functions is epidemic. A propagating INVALID string result makes it very clear there is a logic error and not an exploit. I understand how one could shoot down implementation
13.
▲
by
codehero
7y ago
Please support your argument against correctness by providing an example where an INVALID string as input to a suitable modified generic string function would result in a valid string.
14.
▲
by
codehero
7y ago
NULL is the lack of any string. If one view a string as a result of an operation, then an INVALID string is the consequence of bad input to an operation.
15.
▲
by
codehero
7y ago
Propagating NAN is an elegant method in floating point and makes sense for well defined string encodings like UTF-8. memcpy and company are strictly for raw unencoded buffers.
16.
▲
by
codehero
7y ago
Efficiency looks past current deficiency. We have the empty string: "\0" We have the null string: NULL There is no concept of an INVALID string, as float has NAN. This would be the result of trying to copy a string to a buffer tha
17.
▲
by
codehero
8y ago
I tried really hard to find a main() function browsing the demo source code, but I could not. I also find it interesting that code boilerplating is called out as a problem, but I run into code like this: #include "Protocol.h"
18.
▲
by
codehero
8y ago
Choose the size representation that bests fits your use case: // Put this in header to help user calculate allocation needs but hide size from user size_t LIBNAME_alloc_size(param1, param2, ...); // Put this in
19.
▲
by
codehero
8y ago
If your strings are > 65535 bytes in length, consider buffering the string data or using another data structure.
20.
▲
by
codehero
10y ago
Pet pig owner here. Pigs are problem solvers. Pigs are optimizers. The following videos of my pig demonstrate this. Video 2: Pig is first learning the task. Video 3: Pig has slightly optimized the task. Video 1: Pig has mastered the task.
21.
▲
by
codehero
10y ago
Why use this library when similar libraries implemented in C have been in production for decades?
22.
▲
by
codehero
10y ago
Ever used OpenSCAD? Try doing CSG operations with CGAL on complex STL surfaces. Then take those same surfaces with vtk, use their boolean operations. Faster but with significantly more errors.
23.
▲
by
codehero
10y ago
Sell me: I am a crusty old C++ programmer who started numerical and geometric programming on an SGI machine at the turn of the century. I have seen many academic and commercial 3D libraries come, go or perform poorly (vcollide, RAPID, CGAL
24.
▲
by
codehero
11y ago
Yeah your intuition is correct here. On an MSP430 (which is were I use it) the producer is in interrupt context but as a savvy redditor pointed out, I will need to enable/disable interrupts in the consumer function as well.
25.
▲
by
codehero
11y ago
I'm running it on a system with 512 bytes of RAM and multiple queues...saving 1 byte helps. I do not need extra space for synchronization; I can enable/disable interrupts without extra RAM required.
26.
▲
Show HN: Revring, a circular buffer with zero memory waste
(analog10.com)
12 points
by
codehero
11y ago
|
12 comments
27.
▲
by
codehero
12y ago
I see a war here: the endeavor to reprocess spent waste as fully as possible and the industries that would create expensive burial chambers for them instead.
28.
▲
by
codehero
12y ago
Making a kernel by community is difficult and has no precedent to directly follow. The model-view-culture community should really take the failings of Linux as an opportunity to make a new kernel that does follow fairness and diversity prin
29.
▲
by
codehero
12y ago
No story about early Makerbot is complete without mentioning their commitment to open source (which this puff piece deftly avoids). The open source story has been conveniently dropped. Here's an excerpt from an Bre Pettis interview in
30.
▲
by
codehero
12y ago
Would a donation also stop small companies and 1 man operations from violating the GPL?
More ›