I thought that to until I looked it up. The reason is because we're used to seeing it drawn in logarithmic scale on spectrum analyzers.
Btw, those are some neat ascii graphs. What tool do you use for that?
Also, good explanation :)
1,944 karma · joined August 12, 2019
I thought that to until I looked it up. The reason is because we're used to seeing it drawn in logarithmic scale on spectrum analyzers.
Btw, those are some neat ascii graphs. What tool do you use for that?
Also, good explanation :)
> You can very much capture an audible signal with a single sample, but that signal will be limited (by hardware, by Nyquist, etc).
This makes no sense to me, but it's obviously true because this exists: https://en.wikipedia.org/wiki/1-bit_DAC
I think where you're lost is that the FFT sample size determines the number (and therefore size) of the bins, while nyquist determines the maximum frequency that can be binned.
If you have a window of 8192 samples, for example, that gets you 4096 bins. If you're sampling at 44100hz, those 4096 bins gets you bin sizes of around ~5.38Hz per bin. So your lowest frequency range that you can identify would be 0-5.38hz, then 5.38hz-10.76hz, etc, up until 22044hz-22050hz. So if you're sliding a window of 8192 samples with a sample rate of 44100, that's about 18.5ms per FFT window. That means you can draw a spectrum with a resolution 4096 bins per 18.5ms of audio. If you wanted to plot a spectrum with a finer time resolution, you'll have to give up some frequency resolution by having smaller bins.
The actual results vary by FFT implementation, and it's common to have windowing inside the FFT that I don't really understand, but has something to do with the accuracy of those bins by preventing leakage of one bin into another. "Hamming Window" is probably the most common and usually happens by default, but that's a different window than the window you're sliding through the time domain to take FFTs on and plot.
As a user of FFT, at least for audio stuff (RF might be different), you mostly just think in terms of bin size.
edit: I did it wrong, fixed the numbers (I think)
Sometimes people in the audio world use "frame" to mean "set of PCM samples per channel". So a typical stereo audio signal at 44100hz would be 44100 "frames" per second, even though it's really 88200 samples per second. The author seems to be using it that way, but it's confusing because he's also talking about sliding a FFT window over by frames.
> If the raw data is just measures of amplitude at a set frequency
LPCM is literally amplitude samples at a rate. Thinking of the sample rate as a 'set frequency' will lead to confusion (even though it obviously is a frequency). When you're thinking of samples as sequential amplitudes, you're thinking in the "time domain". For oscillations of the signal, that's the called the "frequency domain". Fourier transform is how you convert from time domain to frequency domain.
> don't you have to pick an arbitrary time slice to examine (and so risk losing lower-frequency sounds)?
You need at least 2 samples to make an audible frequency. If you only had 1 sample, you wouldn't hear anything, because nothing would be moving. So at 44100hz of sampling frequency, you can capture 0hz to 22050hz of audio frequency. That's called the Nyquist frequency, and it's always half of the sample rate.
One hop away from that page: https://en.wikipedia.org/wiki/Prisoner%27s_cinema
> Others have noted a connection between the form the lights take and neolithic cave paintings.
That's a really great way to explain it. https://en.wikipedia.org/wiki/Cave_painting#/media/File:(1)J... is pretty accurate for me
The eye pressure one is a different effect though. What I'm talking about are geometric effects like gears or fractals with definite edges. The eye pressure thing is more of a blob.
Me too, and it's definitely a result of taking psychedelics. I quite like it. I suspect that I could have always made those CEVs appear, but I didn't "know how" until taking psychedelics.
In other words, I have the distinct impression that it's a new skill I learned by psychedelics, but not a forced change caused by the drugs. Maybe I'm wrong, but that's what it feels like.
When I'm falling asleep, I know if I'm fully relaxed and ready to drift off to sleep when I can just "accept" the visuals without trying to process them. Somehow "letting go" of psychedelic visuals makes them more prominent, and for some reason, that leads to good sleep.
I also notice floaters way more, and I know those were always there, but now I notice them.
And I need way less weed to get as high as I want to be. I think before taking psychedelics, I felt like I was smoking weed to try to achieve something. After achieving whatever that mental goal was on psychedelics, I just don't need to smoke as much anymore.
Weird drugs for sure, but I don't regret taking them.
As adults, I can understand the appeal of being car free, but I can't help but be struck by how dangerous it seems to commute on a bike pregnant with a toddler onboard.
I'm imagining biking down Market St, 8 months pregnant, with a toddler seat and two kids in tow. That's a lot of faith that nobody's going to open a car door at the wrong time or pull out into traffic without looking. I know fit dudes in their 20s that have had accidents and been seriously injured. I've never thought of myself as particularly risk adverse, but wow that seems risky.
It's pretty amusing to me that I used to be the weird one connected to the internet all the time because I pretty much couldn't do anything else, and now that's a shared experience with the entire new generation.
I generally follow your strategy myself as long as it's something small, but I think there's this meme out there that having merge commits in your branch is somehow shameful, when in reality it should celebrated as an accurate history.
What you're thinking of as a "simple linear history" is actually not. Notice that when you rebase there are new hashes for each of your commits.
If you're rebasing your branch with master and resolving merge conflicts along the way, you're going to get bit eventually. Even if you're somehow not dealing with merge conflicts, you're losing your ability to look at the git log and figure out when the last time you synced up with master was.
Rebase definitely satisfies my OCD and makes everything look pretty, but it's actually worse.
I would like you to consider making checkr less evil.
I understand and respect that you run a successful business by eliminating friction for compliance, but you don't have to do it the way you're doing it.
Have you ever considered what it's like to have a conviction and need to get a job? I have a misdemeanor state conviction, and I'm nervous every time I take new employment. When I was last hired, I had to use checkr and it was a terrible experience.
Let me tell you what sucks when you find yourself on the wrong side of this, and give you some tips on how to become a more ethical player here:
* Present your legal agreements in a better way. When I had to sign up for checkr, there were a lot of terms I had to accept. It was the kind of thing I'd normally hire a lawyer to review, but it was sprung on me during a tense job negotiation. I just had to accept it, but it was not good. Consider making a summary similar to tosdr.org for the people you're enrolling. You're pressuring people into signing unexpected legal documents, so try to at least have a little class about it.
* Tell me what databases you're checking. I have a conviction in a different state than I'm employed, and I had no way to know if your service was even looking at that state's records. If I knew what you were actually searching, I would have known that I was going to pass and it would have saved me a lot of stress.
* Give me a heads up. I understand that I'm not your client, my potential employer is, but why not give me a day to figure out how to handle the situation if you're going to flag me? I'd much rather get an email that says "here's what we found. we're going to automatically tell your potential employer in 24hours. if you'd like them to receive the results immediately click here. if you feel like we screwed up and this isn't your conviction, tell us here so we can have a human verify". If you do that, the public will feel like you're on their side, and your client will be happy to have a buffer to deal with "that background check is false!".
* Show a status page with each database as it comes back. Right now there are people who are terrified that they're about to miss out on a big opportunity because of something stupid they did years ago. They're waiting for their checkr report to come back. Do what you can to help those people.
* Help HR be ethical too. I was not informed that I was going to have a background check before I quit my previous job. Please encourage the HR people you're working with to be very upfront about it when sending out offers. It would take no effort to add to your training materials as a helpful HR tip. Maybe encourage them to use your company logo as part of their offer letter with an "Checkr Verified Employer" badge or something. It's branding for you and it's useful for applicants to know what they're getting into.
Companies like yours are setting a new standard for what's ethically acceptable. You're probably going to eat the market and be worth billions, so maybe consider setting a good example on the way there.
And remember that decision makers will go through your service too.
When a team is not functioning well, all the estimation in the world won't fix it. It'll probably just make it worse. And if management decides to use estimates as a measuring stick, engineers are right to dig in, over-estimate, and push back on management in the exact same way they're being pushed by management.
Here's my advice to you: stop caring about politics and get a remote job.
Forget all the social justice stuff and poor government regulations. It sucks, but you can't do anything about it unless you have a lot of money, which you don't.
You have good experience and your written english is fine. Be flexible with your working hours. You're about 12 hours offset from the Bay Area, so you might end up working the night shift. If you have an accent that would make it hard for Americans to work with you, that's probably the highest value thing you can improve. Indian accents are notoriously difficult and one of the reasons people in the US don't like Indian outsourcing (even if they won't admit it).
Use the HN job listings, angel, remotejobs, etc. Find yourself good paying work. Understand the situation and figure out how to exploit it. Maybe you can live comfortably on 50k/yr in India? Hiring you in the bay area would be $100k/yr minimum for someone with 7 years of experience of full-stack dev. Exploit the difference. Let companies know that you're willing to travel, that you're steeped in SV culture from the internet, that you're a hard worker, that you have lots of experience, that you're willing to work for half the price of US counterparts, and that you're willing to work on any timezone.
Save your money, invest, continually try to increase your salary. Once you have good cashflow, you might want to stay in India due to the cost of living, but you'll also have the means to relocate globally.
Just to be crystal clear: You're not failing at code or interviews, you're failing at selling yourself, and you're distracted by political issues. This is a skill you can learn and a problem you can fix.
I wanted to give you an example, but it all seems so easy, I'm not sure where you're getting stuck.
There's no question to me that early exposure and encouragement makes all the difference in educating kids. I can't understand why we're not engineering experiences in all these different fields for kids to build real stuff that can eventually turn into a trade. If you're a kid, even today, and you want to learn an adult trade young, your options are still pretty much just artist or programmer.
If there was a way to start doctors or lawyers young, maybe it'd make a difference. As a kid, I knew one girl that was a hospital volunteer, and she ended up going to Africa as an adult to try and make the world a better place by helping others. People don't realize how activities in formative years really stick with kids.
Instead of giving kids meaningful work, we're raising a generation that's going to be great at self-promotion and fortnite.
The idea that everything that touches China is toxic seems reasonable, but it still doesn't explain why are we suddenly drawing the line at censorship in entertainment. Everything is made in China, and Apple is no stranger to the Chinese market.
I don't know how it worked with the nazis, but I'd guess at some point it became unacceptable for US companies to do business with them. Maybe that's where this is headed.
The bigger the organization, the more likely you're going to find some bad stuff. Apple's got worker suicides. China has probably harvested organs from prisoners.
None of it's great, but I don't really know how to judge how bad China is proportionally. How many organs would they have to harvest to be comparable to how many children were forced to harvest oil for PepsiCo?
Isn't the thing to be offended about that you're consuming media that you think is an artistic work, but it's got some propaganda mixed in with it?
If you're doing business with Pepsi and your workers are publicly trashing Pepsi, it makes sense that you'd put a stop to it. That's what Apple (and the rest) are doing with China.