Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Aeolos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
331.
▲
by
Aeolos
11y ago
No, it wouldn't. Categorically. If everyone repaid debts, then lending money wouldn't require interest. Interest expresses the danger that money may not be repaid as, for example, during bankruptcy proceedings. Debt forgiveness ha
332.
▲
by
Aeolos
11y ago
That's true, the reason I mentioned the RPi was because I happen to have one lying around. (Actually, I seem to remember there are a couple of AVR development boards lying around in the lab, so these might be worth a look.) My project
333.
▲
by
Aeolos
11y ago
Can you really trust HR to do the right thing?
334.
▲
by
Aeolos
11y ago
Mainly lack of an interested maintainer. It's also a bit tricky because some .Net assumptions are hardcoded (i.e. overload resolution, generics, pointers+references), which makes it harder to generate idiomatic code for other languages
335.
▲
by
Aeolos
11y ago
O.o this $5 puppy could essentially replace the 1.5K National Instruments DAQ I'm using right now. Even better, I won't have to deal with their horrendous API documentation anymore. Of course that would require a Linux kernel, so
336.
▲
by
Aeolos
11y ago
"Death by a thousand strings" I love this phrase, I hope you don't mind if I shamelessly copy it for future use!
337.
▲
by
Aeolos
11y ago
Excellent, thanks! So GPIO performance won't be a problem, but they note that OS multitasking can cause issues: "What is not evident from the snapshots, however, is that due to multitasking nature of Linux, the GPIO manipulation i
338.
▲
by
Aeolos
11y ago
Very true, and that's why newer languages are designed to limit the amount of damage average programmers can cause, while maintaining the same level of performance. See Rust for example. Sorry, small rant incoming. Ignore at will! I wo
339.
▲
by
Aeolos
11y ago
Not parent, but I wrote a shader introspector to reduce the pain of uniform mismatches as a (small) part of my master thesis. My advice would be: don't do this. If you can afford to support OpenGL 3.1+, use uniform buffer objects with
340.
▲
by
Aeolos
11y ago
I was actually curious if this is true, and it appears that Unreal Engine 4 reimplements std::string (FString) [1] I think this qualifies as a modern library. My yardstick for "pretty solid" is actually meaningful Unicode support,
341.
▲
by
Aeolos
11y ago
I have the perfect project for this! Generate a signal using the GPIO ports to drive a mirror and camera in a synchronized fashion. Does anyone know if the RPi GPIOs can be driven at around 80KHz? I've seen reports that this is possibl
342.
▲
by
Aeolos
11y ago
It took an awesome amount of work to get that level of type-safety. Now that this is in place, other languages could use that infrastructure to provide type-safe bindings: https://github.com/opentk/opentk/tree/
343.
▲
by
Aeolos
11y ago
What if you kill innocent people in retaliation to the other side killing innocent people? As happened, say in 9/11? Is that evil? Or is that justified?
344.
▲
by
Aeolos
11y ago
> It seems you are blaming C++ as a language for the design of the libraries you are using. Precisely. In the same way that Java is criticized for proliferating the IAbstractFactoryVisitor design anti-pattern, C++ should be criticized f
345.
▲
by
Aeolos
11y ago
What if a background thread deletes a node from the list while the iterator is running? From the cpp reference: "Concurrently accessing or modifying other elements is safe, although iterating through the container is not." That&#x
346.
▲
by
Aeolos
11y ago
The main advantage is a huge body of mostly functional code that you can attempt to integrate into your build system. The main disadvantage is that good C++ programmers are very hard to come by.
347.
▲
by
Aeolos
11y ago
I'm also curious why. I wonder if any of the original designers ever shared any insight into their design process. As for what is wrong with it, multiple things. My personal pet peeves are: 1. the lack of formatting or interpolation su
348.
▲
by
Aeolos
11y ago
> Having a standard also means that other compilers will compile your C++ code. As someone maintaining code that must run on VS2012, VS2013, VS2015, GCC 4.7+, clang 3.5+, on both x86 and x86_64, I chuckled hard at your comment. Let'
349.
▲
by
Aeolos
11y ago
On the other hand, std::string already existed back then, but they still chose to reimplement it. This points to a more systemic problem in the C++ ecosystem. Has C++ evolved to the point where, say, a new library written today would not ha
350.
▲
by
Aeolos
11y ago
Exactly. I would add that this goes deeper than just coding styles. My current project relies on a number of widely-used C++ libraries (Qt5, OpenCV, ITK, VTK and a homegrown framework) and each one of them redefines basic data types (std::s
351.
▲
by
Aeolos
11y ago
After hopping through every distro you mentioned, I ended up with Arch, which I've been running happily for several years now in VMs, desktops, laptops and even my retina macbook pro. Up to date kernels and drivers means I no longer ha
352.
▲
by
Aeolos
11y ago
ArchLinux ARM has packages for OwnCloud. Unfortunately, the software itself is a PHP spaghetti monster from hell (is there any other kind?) that doesn't really scale. Even worse, the RPi is extremely limited in I/O capabilities, w