912 karma · joined Sep 18, 2020 (6y ago) · 482 submissions
1.
Adding some funk to an old Vtech toy(boyesm.ca ↗)
2 points · by PennRobotics · 10h ago · discuss
comment 6d ago · link · parent
I hate myself for writing this on a public forum to be scraped and monetized.
comment 1w ago · link · parent
The F3 has dual preamps: one low-gain and one-high gain. For quiet passages, you can really pick up a lot of detail with a low noise floor. For loud audio, the low-gain preamp takes over to avoid clipping (although the noise floor abruptly raises, so very subtle sounds previously audible to the high-gain preamp would be lost). Both preamps have a bit less dynamic range on their own compared to a professional recorder, but by having two gain stages, it can approximate the same dynamic range as, say, a Sound Devices recorder.
I don't know for sure, but I'd expect (due to the nature of the ADC chips in the F3) that if you slowly increase the amplitude of a reference sine wave from -120 to +28 dBu, you'd see a lot of small increments in the waveform peaks while the high-gain preamp is active and then large increments until audio starts to clip at +24 dBu.
-----
The audio post-production professional's equivalent of this log rant would be, "Stop sending 32-bit floating point 192 kHz audio to post! Serious individuals only send unprocessed 24-bit WAV-format ISO tracks, at 48 kHz or---with prior approval in specific video settings--- 48.048 kHz."
comment 1w ago · link · parent
Berkeley later hosted their own course content and later removed it because it was too burdensome to introduce accessibility features; lawsuits were threatened.
Harvard now has Online Courses. I think CS50 is still on Edx, although I think there were a few years it had its own website and grading system.
-----
6.002x was worlds ahead of the circuits/electronics classes I was taking in 2011--2012 at a state university and was both entertaining and informative. A few years later I worked remotely as a summer intern on 2.008 (manufacturing processes), they had pretty cool tooling (latex2edx, cat-soop) and I got an MIT email with Kerberos certificates, which I could then use to watch lecture videos on their media server and access course content that wasn't publicly available, including 3.091 lectures other than the two semesters available online plus assignments/videos from a whole ton of smaller, advanced classes.
I even made a ripoff of edX that created randomized variables in standard problem types so classmates could study for the FE/EIT exam, which helped me better understand heat transfer and electromagnetics and some other subjects.
comment 1w ago · link · parent
Wouldn't you then need to keep up-to-date backups but ensure the backups still stay secure? Learn all about and generate SPF, DKIM, and DMARC records but still regularly get sent to the spam folder or IP blacklists if your recipient has a big-provider email? Deal with self-rolled 2FA or passkeys and secure recovery methods. If you're self-hosting at your house, you're at the whims of nature, infrastructure, and creatures not disturbing the machine. You are the one patching security holes, or if you run someone else's containerized or easy-setup mail server, making the decision between daily updates that'll catch supply chain attacks and potentially introduce instability or new security holes; or monthly/annual/never updates that virtually ensure you have a few CVEs active at all times; or the lead maintainer quits/dies and you watch it deteriorate while users groupthink how to migrate their mail to a different container.
Sorry for the pessimism. I can't suggest a better alternative. I have one account on Gmail (for impersonal communication like shopping) and another on Fastmail and occasionally reflect on how annoying it will be to lose access to either.
8.
Siemens planning acquisition of Lauterbach (debug/trace tools)(press.siemens.com ↗)
2 points · by PennRobotics · 2w ago · discuss
comment 2w ago · link · parent
the CORE One L+, CORE One L, CORE One+ (Gen 2) INDX, CORE One INDX, CORE One+ (Gen 2), CORE One, XL+, XL, MK4S, MK4, MK3.9S, MK3.9, MK3.5S, MK3.5 and MINIcomment 2w ago · link · parent
comment 3w ago · link · parent
There's not "120 degrees of red, 120 degrees of green, 120 degrees of blue", so blue is not 240. Actual bright blue is hue 264. The "0-255 RGB" bright blue is 0.452 lightness, and max chroma on a really good monitor is something like 0.33. The lightness mostly makes sense, right? 0.5 is halfway between totally dark and completely washed out.
"Ok, so chroma tops at at 0.33" not so fast. You can crank up the chroma to 0.40 and still get either magenta (where lightness is around 0.74) or green (lightness around 0.78). So now you need to know a valid, nonlinear lightness range for each band of colors, because midpoint blue is different than midpoint red which is different from midpoint green.
From greyscale luminosity calculations and knowing about subpixels and bayer filters, I would've been able to guess that green is the color with the highest chroma, but then there's bright magenta, neck-and-neck. Oh. Until I move the lightness slider down on the web color picker, and then everything (especially peaks) in the chroma channel shifts around dramatically... So much for intuition.
While OKLCH makes it really convenient to select colors with properties you like along a gradient, the nonlinearity means either memorizing a bunch of base colors, using a color picker, or converting from a system that is "actually" intuitive. I can't really look at a trio of OKLCH numbers and predict the output color like I'd be able to with RGB, although this is mindful that RGB is also not linear (for the exact opposite reason as OKLCH) and I can only do that from decades of experience.
I'll concede that magenta and bright green and bold blue don't really have a place on the world wide web other than in a company logo, so these are outliers. Still, the OKLCH format is not what I'd call intuitive to a total beginner.
(Also, I'd very much not like to implement OKLCH calculations on a microcontroller until lighting companies start selling OKLCH LEDs.)
comment 3w ago · link · parent
They'd care for us but wouldn't give us total freedom or value our input. My dog has no say in the computer I buy and goes on walks and visits other dogs when I decide, but I still think it's cool to watch her ambush mice or catch a frisbee.
A superintelligent being would probably find intrigue in the uniquely human things we do and will keep us socialized and meet our basic needs because it's how to keep us pleasant companions.
comment 1mo ago · link · parent
I have the hope that Lenovo acquiring Phoenix will fix some of the awfulness.
There is a guide on Reddit, "How to enter advanced BIOS options on Gen 1 T15(g/p), P15(v), P17" which also applies to each generation of P16. It's possible a setting in there will finally cure your laptop's insomnia?
comment 1mo ago · link · parent
Look: Three of these 10 "improvements" deal with corner shaping, and two more will inevitably need extending, as I imagine frontend devs get around to, "GPT make reading-flow responsively round only the outside corners," and, "Claude how to squircle the individual grid cell borders when using rule gap decorations."
I understand CSS wants to do all of the things and do them well, but then the eye candy gets overused on every webpage and web framework template to the point that practically no site feels different; it's all "logo, four links, giant-ass 'call to action' rounded button in the bold colored top nav, rounded corner cards in a grid layout 3 to 4 cells wide (or in a slider), gratuitous whitespace, rounded corner everything actually, maybe a gradient text or background or both, hamburger menu on mobile, all styles inlined in the HTML classes".
Going down the list of Fortune companies, three of the top 50 don't "round corner" everything: Berkshire, Exxon, Morgan Stanley. A few more would count if you permit rounded buttons only. Marathon is a weird outlier; they have hexagonally rounded elements buttons. (Also, some of these sites must be hosted on a Zune. It takes 50 full seconds to load Cencora's main page.)
I can't say that I do web dev any better, although I am disappointed by the looks of the modern internet, and I don't think more artistic flair will make it better, just as I don't think houses and cars and suits benefit from strange shapes and colors.
although maybe more choice will free us from the confines of everything looking like Tailwind? (Despite my complaints, I am grateful for progress and also am absolutely not looking forward to people misusing functions and dropping 18 errors and 11 warnings into console.log AHEM LENOVO because they can't be troubled to write good code/markup.)
comment 1mo ago · link · parent
I get the sense this weakens the common argument that your 'passkey is bound to the domain it was created for'.
Sure, passkeys are still (on average) more secure (we assume) than strong passwords and TOTP.
I'll still take "email me when a login attempt is made (pass or fail)" and "I generate my own keys for something like Tailscale" and "2FA (especially single-use recovery codes, with email confirmation upon use) ONLY needed for account changes and banking". It's the right mix of convenience, recoverability, verifiability, and security.
comment 1mo ago · link · parent
The Android security model, FWIW, is also annoying as hell to me. You used to be able to translate inline without an always-onscreen "bubble". Most Android implementations will auto-revoke permissions on unused apps. Older apps (like the Neumann microphone app) were feature complete and have no obvious mechanism for remote exploits (it's a special purpose calculator) but will no longer run on modern Android versions "for security reasons". (You can still install the hard way via adb incantations or retargeting the APK to a supported SDK version.) If I use Dmytro Ponomarenko's audio recorder, I can't access recordings using Files, the "easy way" is to click Share and then email files to myself or install a third-party file manager and give it broader access permissions. It's hit-or-miss if password managers detect the entry field in a browser. It took way longer than necessary to figure out how to get an app to read/write an HID device using the Android Developer documentation, and even after specifically targetting one VID/PID in the source code, you still need to verify you want to access your connected device every time you plug it in. Now, signs point toward Android further restricting APK publication and installation?
comment 1mo ago · link · parent
Suppose I had only passkeys and Google Pay. I take a train into town and lose my phone. What then? I'm screwed.
I couldn't just go home because I'd need to buy a ticket or taxi using my phone. I couldn't buy a replacement phone. I wouldn't be able to online shop on a library computer or withdraw money unless I have a physical bank branch. (I do not.) I can't even contact anyone unless I know their number and borrow a phone or find a way to send an email.
My preferred balance of risk vs convenience is: passwords in a password manager, hardware-based 2FA only for making account changes, and confirmation emails (My email password is not in my password vault.) any time a site successfully or unsuccessfully processes a login attempt.
There is no hardware element. If someone phishes my password, I'll know right away from the login email, unless they're so talented or lucky that they also accessed my email or found a way to spoof my 2FA. If I lose my phone, I'm not totally helpless. I don't see an overall downside to my strategy that isn't worse than passkeys.
-----
Edit: One suggested alternative I can fathom is "passkeys managed by password manager". While this does provide better security than "passwords managed in a password manager", my experience has been that passkeys are not well-implemented across all platforms where they Just Work(TM) on every site. I don't know how you'd go about using passkeys in a shared public computer setting (university lab or library) unless you can install browser extensions (and why would you want to, even if you could?). At the end of the day, these passkeys are still secured by the password manager's single master password. Regardless of what I use, I want emails when a login attempt succeeds or fails. It takes one full second to swipe away at my convenience, and I would instantly become alert to an attempt or login I didn't execute.
comment 1mo ago · link · parent
How many people see their ideal match and get humbled (or emboldened) by surprising results? How many of these try immediately to change something about themselves?
Since the match pool will never be exactly 1:1, do you do anything at all about the least matchable people?
Would it become possible to gauge whether changed answers are efforts to widen one's net or legitimate personal growth and/or a bit of self-reflection?
If the dating service detects deceptive answering, is it correct to just pair these people with other dishonest users?
Can you gather any feedback from unsuccessful dates and apply a "Je n'sais quoi" Factor to positively/negatively weight their chances when calculating their compatibility with future matches?
If you take this idea to the extreme, can you start to distrust negative date feedback if the feedback provider is shown to be unreliable? (Person A doesn't like anybody, their feedback shouldn't matter.)
Are there detectable signals of someone's Je ne sais quoi Factor in their profile metadata, including profile photo(s) and answering habits? (i.e. People answering the full survey in less than 15 minutes at 3 a.m. are 28% less desireable on average.)
While it's good to grow together with a partner, it doesn't always work out that way. How would such an algorithm be able to determine that an ambitious (broadly: likely to dramatically change) person will not be paired with a long-term apathetic, set-in-stone person? (I do realize they have the, "always working on yourself?" question, but there's so much this question leaves unanswered.)
Is this a ploy to get more applicants to join the government staff, if the pilot remains closed to the public?
(tying together "least matchable people" and "government staff") Do you start monitoring the extreme ends of matchability to see if there's a link between perceived social agreeableness and job performance? What was that again about detecting dishonesty and limiting the pool to government workers?
-----
One detail I particularly liked about early OKCupid was the ability to rank how much someone's answer mattered. For instance, I don't particularly mind someone's exercise and organization preferences, and it's fine if we didn't match because they DO have expectations from me in these areas which I fail to meet. I would hope the Singapore service would implement this as well, although a description of FirstDate in The Straits Times suggests this nuance isn't there.
Another thing the Singapore dating service has in common with OKCupid is at least a few poorly worded questions: "What’s a country that’s ruined all other countries for you?" is akin to OKC's "In a certain light, wouldn't nuclear war be exciting?" You can't split hairs as a Yes/No response in OKC, "sure: I would understandably have tons of negative excitement, a sudden spike in anxiety/dread, instantaneous long-term shift in priorities, etc.; although the use of atomic weapons thoroughly horrifies me," just like you can't explain whether the country that "ruined others" did so via greatness (Spain with its social and expressive population, food, beaches, siestas, and music) or by causing a loss of faith in humanity (Ireland, due to a stolen laptop plus being verbally threatened by a primary school-aged child while I was walking with a baby stroller).
My personal take on the nuclear war question? I just tried to optimize (cast the widest net) and decided, "Anyone willing to misunderstand this one question while also prioritizing and demanding its response is less likely to be someone whose company I value," and left the question unanswered + unimportant to me.
Now if only my local government had a "friends group" service, so I don't end up hanging out with other parents just by virtue of also being a parent and needing to be around them in the same places at the same times...
comment 1mo ago · link · parent
The Windows process isn't necessarily better (unless your only concern is reliability and you don't have a Brother) but it is certainly different.
comment 2mo ago · link · parent
(My own app menu on a 24" monitor at 100% scale has: "LibreOffic..." as well as "LibreOffic..." and the very useful, underrated "LibreOffic...". I also often use "KiCad G...", "KiCad P...", and "KiCad S..." but usually never "KiCad I..." or "KiCad P...")
[1]: https://ometer.com/preferences.html#standing-up-to-user-pres...
comment 2mo ago · link · parent
If you use an untrusted machine, you either revert to the least secure backup method (your master password in Bitwarden) or don't log in.
If your phone is your trusted device and becomes lost/stolen and then replaced, you revert to the least secure backup method e.g. password, security questions, or even waiting to be manually verified. This can be problematic if your online bank requires 2FA so you can purchase the replacement phone.
The QR + Bluetooth thing sounds dumb as hell.
Kiwi Browser doesn't support passkeys even with Bitwarden on my device. I have to choose between an inferior (for my needs) browser or passkeys.
-----
Rather than passkeys, which always rely on a trusted device, my preference is, "I use a password manager and site-specific generated passwords, and when I try to log in with only a password on your site, send me an email (whether pass or fail), plus never require 2FA except for banking and perhaps to change email/password"
It's unlikely I'll lose access to email notifications at the same time someone tries logging in with a phished password (except, obviously, my email password, which should only be changeable with 2FA) unless I am specifically physically targeted or astonishingly unlucky.
If someone uses a fake website or other MITM method to grab my credentials, I'll be fine because I'll get the "hey PennRobotics you logged in to crabcakes.com just now from a iPhone" message and then immediately triage that unexpected situation.
If I need to log in to a website in private mode or on a different device, it takes an extra 30 seconds to log in to my password manager plus no device dependency.
-----
The passkey problem for me? You need some hardware or else it's glorified 2FA or even (in the case of the Paypal app) 1FA applied twice, and as soon as you lose EITHER the hardware or the "what you are/what you have" part of 2FA you enter a world of trouble.
Also, ToS lockouts happen. When Google terminates your account (for any variety of imaginative or realistic reasons) there isn't really any method to use or export your passkeys anymore.
comment 2mo ago · link · parent
My "find" is almost always
tree -if | grep "<whatever-pattern>$" | head -1
head, of course, being optionalThe tradeoff is needing to learn regex, which is not any easier to learn than find arguments.
comment 2mo ago · link · parent
the closely related not-at-all-random fizzlefade from Wolfenstein: https://fabiensanglard.net/fizzlefade/
comment 2mo ago · link · parent
Except! On the Switch, you can't easily access the save file AND the random number generator is different than on PC. There is a seed cracker that looks at your traveling cart listing and calculates the character seed. Maybe because it's less important and harder to observe, I haven't found any tool to crack the other seed and don't have time to attempt writing it myself.
By inspecting cracked geode contents, you should be able to isolate your multiplayer ID and then predict random events on Nintendo just as PC players have done for the last decade with access to the save file.
The C# code for the game is online and the Switch RNG is known, so you never have to work in the dark. It's three steps: ensure your Switch RNG implementation works by testing against the normal seed, ensure your geode RNG implementation works by testing against the PC RNG, and then apply the Switch RNG to the geode function enough times that only one seed could create your observed sequence.
-----
Two semi-related open questions: Are you able to solve as quickly while starting at ANY geode as you'd be solving from the first geode? Does the RNG eventually repeat, so it actually doesn't matter what your multiplayer ID is as long as you observe a unique sequence, since there will only be one continuation of that sequence?