Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pkolaczk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
pkolaczk
2y ago
If I send the same audio over 2 or more parallel radio channels, that’s essentially the same as taking multiple shots of the same subject. Substitute a pixel with an audio sample. The transmission noise being uncorrelated between channels w
92.
▲
by
pkolaczk
2y ago
If you AM modulate the carrier f0 by a single tone f1, you get a spectrum with only three tones: f0 - f1, f0, f0 + f1. If you FM modulate it, well the thing gets much more complex - depending on the depth of modulation you can get a much wi
93.
▲
by
pkolaczk
2y ago
Interesting. However, if one of those stations runs on a slightly different frequency, I guess its output would be garbled, correct? Like I guess SSB receiver just shifts down the band by a constant?
94.
▲
by
pkolaczk
2y ago
Noise power increases twice but signal power increases 4x. Noise amplitude increases sqrt(2) times, signal amplitude increases 2x.
95.
▲
by
pkolaczk
2y ago
Averaging two noisy signals increases SNR. That’s not even a thought experiment, that’s a reality. This is a technique used by probably all modern smartphone cameras to do night photos, as well as a common technique used by astrophotographe
96.
▲
by
pkolaczk
2y ago
Where did I say AM and FM are close to 100% efficiency? I was only replying to an obviously incorrect statement that by using more bandwidth you decrease SNR. If it were the case, Shannon theorem would not work. It doesn’t matter how close
97.
▲
by
pkolaczk
2y ago
Shannon theorem disagrees with you. The wider the channel, the MORE noise you can tolerate when transmitting signal at a given data rate. In audio, the amount of information you need to transmit is naturally limited by the audio bandwidth (
98.
▲
by
pkolaczk
2y ago
I don’t buy this explanation. The FM modulation uses a much higher bandwidth than AM. The distance between channels on FM radio is 200 kHz compared to only 9 kHz on AM. That’s more than 20x more bandwidth for FM. On AM, no matter how deepl
99.
▲
by
pkolaczk
2y ago
So you can see that the fact you can invoke unsafe code is not a good distinguishing factor. It is the other, safe part. Rust, Java and Python all have huge memory safe subsets that are practical for general purpose programming - almost all
100.
▲
by
pkolaczk
2y ago
Standard library is an inherent part of the language. There is no difference for the end user, whether the call to `unsafe` is a language builtin or a standard library call. The end result is, all of those languages have large safe subsets
101.
▲
by
pkolaczk
2y ago
You can’t in Poland if you don’t own a resistered business. I tried and nope, they won’t sell it to individuals. But thanks for letting me know, maybe it was just a local problem of the particular store, but a EU policy.
102.
▲
by
pkolaczk
2y ago
Yes, Rust is a language with safe and unsafe features. So is Java and Python (and you admitted that in your comments). So Rust is not any less safe than Java or a Python but that logic, and the original point you’ve made in the first commen
103.
▲
by
pkolaczk
2y ago
What makes you think Rust is any less safe than Java or Java less safe than Python?
104.
▲
by
pkolaczk
2y ago
Managing off heap memory in Java is pain even worse than manual memory management in C. Unlike C++ and Rust, Java offers no tools for manual memory management, and its idioms like frequent use of exceptions make writing such code extremely
105.
▲
by
pkolaczk
2y ago
Maybe it’s just me but I find SMT easier and faster to prototype with than THT. Apply paste, place all components on the board with tweezers, reflow, done. With THT I have to bend / cut the legs of most components, and solder each poin
106.
▲
by
pkolaczk
2y ago
> but I think it started as something way more manageable than what it has become. Hard disagree here. Rust team is continuously making the language easier to work with by removing limitations and making features more orthogonal. A notab
107.
▲
by
pkolaczk
2y ago
I found that brass wool works better at keeping tips tinned. A sponge removes all the solder and you have to quickly tin the tip immediately after wiping, otherwise it oxidizes. Wiping with brass wool leaves a thin layer of solder on the ti
108.
▲
by
pkolaczk
2y ago
For affordable, semi-professional grade equipment, it is hard to beat Quick. I have Quick 202d + Quick 861dw. The tips on 202d are integrated with thermocouples and heating is indirect but inductive, which strikes a nice balance between th
109.
▲
by
pkolaczk
2y ago
Hakko fx888 is a good quality iron but quite outdated tech. The biggest downside is it doesn’t measure the temperature at the tip, but at the heater.
110.
▲
by
pkolaczk
2y ago
The problem happens when the version that works with all the other libraries in the project does not exist. And btw: you can force any transitive version in gradle/maven/npm/cargo as well, that’s not a feature unique to Go.
111.
▲
by
pkolaczk
2y ago
> And no, you resolve conflicts by not having conflicts in the first place. That means you can't use library A and unrelated library B together in the same project, even though you can use A alone and can use B alone. That's la
112.
▲
by
pkolaczk
2y ago
No one asked about Go here. And no, it didn’t, it’s the same PITA as in Java or maybe even worse because there are no workarounds like classloading or shading. You have no control over the transitive dependencies. The only thing you can do
113.
▲
by
pkolaczk
2y ago
That’s nowhere near as terrible as not being able to resolve a conflict between incompatible versions. Like half of your project can’t use Guava X but another half can’t use Guava Y, and there is no common version that works. We ran into co
114.
▲
by
pkolaczk
2y ago
I can’t see how Go feature list is any more curated or more coherent than in other languages. Seriously to me it feels like many Go features were rushed and some added despite the evidence they are a bad idea. Like, why an unused import &#x
115.
▲
by
pkolaczk
2y ago
I feel the same, but for me Rust is currently my hammer ;) Checks all of the checkboxes.
116.
▲
by
pkolaczk
2y ago
Suburbs near Warsaw are almost all connected to the gas network. I have many friends who own a house (and I also own a house at the border of the city) and I know nobody who would heat with coal. However the major problem is that gas is exp
117.
▲
by
pkolaczk
2y ago
It counts pollution particles in the air by highlighting them with a ray of laser light and counting the reflections. Air cleaners usually come with a device of this kind. Or you can build one yourself by buying the sensor separately (eg. P
118.
▲
by
pkolaczk
2y ago
That depends heavily on the exact place you live. Warsaw has central heating and central natural gas distribution network, so almost no one uses coal or wood here. My air pollution meter shows very low levels of P2.5 and P10 (< 20 p/
119.
▲
by
pkolaczk
2y ago
Async is not for webdev only.
120.
▲
by
pkolaczk
2y ago
Compared to many other ICE cars, Toyota hybrid drivechain is relatively simple. There is no turbocharger, no double-mass wheel, no starter engine, no DPF, the transmission has no other moving parts than just a few rotating planetary gears (
More ›