Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
datenwolf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
datenwolf
7y ago
Here's something to ponder on: What are the proper semantics for copying a thread? What is it you want to express by doing that? You'll find that usually the copy constructor has been deleted only for those classes where the sem
92.
▲
by
datenwolf
7y ago
> std::thread has its copy constructor deleted and for good reason > your only option if you have to mix it with other types that don't handle moving properly It's not the only option. The other option is to implement move s
93.
▲
by
datenwolf
7y ago
Comment on my mentioning on move semantics, because I feel that this really ought to be pointed out: In all the C++ standard library implementations of std::thread the only member variable of that class is the native handle to the system th
94.
▲
by
datenwolf
7y ago
> This is with tonnes of available memory (hence not a mapping error) and no exceptions thrown. Could be a memory fragmentation issue EDIT: Also since you're using C++ threads: You should really use move semantics, because right n
95.
▲
by
datenwolf
7y ago
> Users expect their programs to give them up-to-the-minute information from the internet, with slick animation and nuanced typography. Did you ever watch an average Joe, who has zero understanding what involves programming a computer ac
96.
▲
by
datenwolf
7y ago
It could also be a tagged value. These are quite common in code created by "high reliability" languages (Ada, OCaml). The high bits are used to carry some metadata. E.g. you might want to set a certain bit if the value went outsid
97.
▲
by
datenwolf
7y ago
> irrigating deserts profitable Irrigating deserts doesn't really work that well. The main problem is, that undistilled water always contains some ions, i.e. salts (it's got electrolytes!). If the main process for loss of water
98.
▲
by
datenwolf
7y ago
Simple speculation: The software makes heavy use of 80286 protected mode and its quirks, which in an embedded hi-rel environment is fine. An areospace 80386 doesn't necessarily have higher throughput (remember, these are in-order-execu
99.
▲
by
datenwolf
7y ago
> What, you've never taped over a VHS before? Well, actually… I think I have only one or two VHS tapes, being the equivalent of /tmp. yes "have"; I still have all the tapes I recorded neatly organized and mothballed i
100.
▲
by
datenwolf
7y ago
If I had a lot of money (which I don't) I'd have started my very own analog semiconductor design and fab company years ago, with the intent aim to be a direct competitor in the market of high speed and precision analog and signal
101.
▲
by
datenwolf
7y ago
Byte ordering issues are easily addressed by still emitting text, but not converting to a base that differs in a prime factor. Just emit the mantissa and exponent in – say – hexadecimal form and the negative sign bit as a `-`. It avoids all
102.
▲
by
datenwolf
7y ago
I'm still royally $EXPLETIVE_HERE about Analog Devices buying Linear Technology a couple of months ago. AD and LTC used to be the mutual second source suppliers for critical components in lots of my projects. For almost every part AD h
103.
▲
by
datenwolf
7y ago
> For the rest, there are curtains. I want to be woken up by the light of the rising sun. Curtains that keep up street lighting also keep out the sun. IMHO there's far too much street illumination anyway.
104.
▲
by
datenwolf
7y ago
Not all of these sources come through the Internet. Think GPS, GSM, radio time signals (DCF-77 or the likes).
105.
▲
by
datenwolf
7y ago
My personally favorite "roundabout" is this one here: https://www.google.com/maps/@48.4324714,13.0948723,637m It was built about 20 years ago, and I was living in the area back then. Before the "roundabo
106.
▲
by
datenwolf
7y ago
What is it with all those reduced font/background contrast styles? To me these are terribly hard to read. As a matter of fact a large part of my Stylish/Greasemonkey sets are just there to get back decent contrast on text.
107.
▲
by
datenwolf
8y ago
If I were to review this paper, my critique would focus on this little paragraph: > We note that, although Bell’s mathematical machinery [9] is used to show the result, the set of assumptions considered here — and therefore the conclusio
108.
▲
by
datenwolf
8y ago
> If you figure out a way to solve this problem, please let me know - as someone who works from home, internet distractions are the biggest thing that stand between me and success. I second that request and opinion. Nostalgia isn't
109.
▲
by
datenwolf
8y ago
> (I don't think cable TV is broadcasting all their channels either, I don't know how they do it in practice) Actually they do. Just a whole lot of MPEG-PS, several of which multiplexed into a single frequency channel (sometime
110.
▲
by
datenwolf
8y ago
The whole intention of my little test hack in the first place was to show, that without being able to define layout with device native unit precision, the end result becomes unpredictable. The idea was to apply a checkerboard background i
111.
▲
by
datenwolf
8y ago
Browsers do wrong a lot of things. Some time ago I hacked this little test: https://datenwolf.net/rndrchk/ EDIT: If everything is done correctly, the text in the upper div will remain unreadable. If browsers were doi
112.
▲
by
datenwolf
8y ago
> Also, there are cheap analog to digital converters which use voltage comparison, which basically linearly "search" for the voltage they should be encoding. Integration type ADCs are not necessarily cheap. And you always put a
113.
▲
by
datenwolf
8y ago
> Norway You do realize, that Norway is not a member of the EU. So in the context of Europe and the EU, it's more like Canada vs. USA.
114.
▲
by
datenwolf
8y ago
Resolution is not really the problem. When it comes to that, assuming the RGB horizontal rectilinear subpixel arrangement that dominated the lanscape, having higher resolution just means you could pack more text onto a given screen. But i
115.
▲
by
datenwolf
8y ago
Hospitals being a place where sleep is hard to get is the premise of one of German animation's cult classics: https://www.youtube.com/watch?v=SYc6r7JRh9s
116.
▲
by
datenwolf
8y ago
Outside of purposeful oscillators, positive feedback loops rarely are a desireable thing.
117.
▲
by
datenwolf
8y ago
One picture is mistitled. The "Westfriedhof" Station is located in Munich, not Stockholm (also it's the station closest to where I used to live in Munich for almost 30 years). It's a very popular place among photographer
118.
▲
by
datenwolf
8y ago
Invalidating the caches is kind of a cringe inducing approach on this (actual) problem. Especially in HPC radiation related single event upsets have become a real problem. If you do the math, all the silicon area devoted to memory (DRAM, ca
119.
▲
The Potentiometer Handbook (1975) [pdf]
(bourns.com)
78 points
by
datenwolf
8y ago
|
20 comments
120.
▲
by
datenwolf
8y ago
> First off, thanks for engaging in a bit of debate. I came off a bit needly when I was trying to allude to a technical point. Totally got that, no worries. And yes, I do see where you're coming from. But I base my argument not on t
More ›