Details
Joined devRant on 7/15/2022
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
"The future is the present of the past"
-
@Lensflare Yep, part of the USB-C 3.1 standard
Otherwise, you'd burn your house down running 100W through a cheap USB cable. (AFAIK if it's missing it only operates at some "safe" capacity, probably same as USB2 5v 2A)
Quoting from wikipedia:
Full-featured USB-C 3.1 cables contain a full set of wires and are "electronically marked" (E-marked): they contain a "eMarker" chip that responds to the USB Power Delivery Discover Identity command, a kind of vendor-defined message (VDM) sent over the configuration data channel (CC). Using this command, the cable reports its current capacities, maximum speed, and other parameters.[31]: §4.9 Full-Featured USB Type-C devices are a mechanic prerequisite for multi-lane operation (USB 3.2 Gen 1x2, USB 3.2 Gen 2x2, USB4 2x2, USB4 3x2, USB Gen 4 Asymmetric).[31] -
@retoor I wish websites went more into the Japanese way of website design instead of overly simple slop of having to go through 20 menus...
https://youtube.com/watch/...
https://youtube.com/watch/...
+ https://youtube.com/watch/... -
@Demolishun When a battery is charging it's usually disengaged, he's laptop is most likely browning out/PC limiting the wattage
@Lensflare I'm assuming the laptop can exceed the rated limit of the charger (which it knows because of the chips in the cable) e.g. boost to 200W which is the limit and then throttles, 2 chargers = >200W capacity -
@retoor Yep, DevOps has IMO become a lolcow (looks over at terraform) since "everyone" needs to have super scaling. Like no Bob, you and your 50 customers don't need a super mega cloud, here is Raspberry Pi, hope you do something more than host your website on it since that still leaves a lot of capacity
-
Thanks :D
Doing bookkeeping this weekend but will look at it soon™️ -
@NoMad Do it. I'm in a similar position. If it sucks now it's not going to get better by doing nothing
-
@retoor Yep, for some work PRs I need to create some tests because of the holy coverage. I think I'm literally going to pass it to copilot and tell it to make tests
-
@Wisecrack I enjoy doing rewrites/simplification, how else do you get better wheels. I do try to minimize my own code, after all, there is less chance of bugs that way.
If you want an easier time, try reading decompiled java it's a bit easier to grok. Looking for patterns and knowing what certain combinations do makes things a lot easier. (I also enjoy the Zachtronics games)
I got onto the decompiled code for hacking old MMOs since sometimes they would encrypt even the localisation/server config so I can switch it to a private server.
I'd say be careful with the long nights, since the caffeine is just binding with your adenosine receptors, and the sugar and vitamines give you an energy boost (so your body is still as tired as before). Then again I tend to work best with about 1 beer in me -
@retoor If no one else can figure out how long it should take, it's very easy to be lazy about it. I'd say smart people would get too frustrated having to constantly research stuff that should be obvious.
-
@lorentz It gets better, my current PM likes putting all the meetings in the afternoon. I have days with more meeting than work time :(
-
@retoor I know people who do it for a living...
-
@antigermgerm That explains quantum physics
-
I remember a conversation that we should stop calling the code from the previous developers as "their" code, I think my brain paused for a solid 20 seconds (I was complaining about fundamental issues with the codebase)
-
@Lensflare I'm just referencing the meme phrase of "Me Studying X History So I Can Be Racist More Accurately".
You can find something disgusting doesn't mean you can't have an interest in subjects around it, e.g. I need to unclog my sink, and well, the gunk in the pipes disgusts me -
@Lensflare If you're not interested in foreign culture, how can you be a good racist?
-
@jestdotty Orca's stay away from humans because we hunted them so much, but with them, it's actually socially communicated 🤯 (orphaned or otherwise estranged orcas will still attack humans)
For me, I can be the same if there isn't an easy click (same hobbies). What helped for me was doing some research on the topic, I'm also a "we must meet 3 times before I'll properly talk to you" person. 101 possible reasons really ¯\_(ツ)_/¯ Hope it gets better for you -
@retoor Until you get the "managers"/PMs "hey we were thinking about this feature"
It also functions as a morning roll call to see who's late (yes, I've seen people get in trouble because of stand-up missing/being late for it). It's not meant to wait for anyone, damn it! (had 1 client do them properly, and I miss working with/for her)
I tend to page out pretty quickly once they start prattling -
A good chunk of my dev career was updating legacy shit + recompiling decompiled code 🦹(I cracked my universities apps to get the PDFs/EPUBs)
I don't think I've ever not been able to figure out what I've written before, but I have called myself an imbecile before.
The best advice I can give, is figure out your mind state and how you imagined data would flow in that scenario. It could also be an aspect of code style, I can still easily understand my hand written firebase ORM...
Wait you said 3 days, I'm pretty sure that fucks with your memories -
@retoor It's 2am which is my soft, I-really-should-be-in-bed-time. I've created an account and dropped a message, but I'll leave it open tonight/tomorrow
I just like the unified feeling of having it all on my machine + less places that I need to update my card on in the future -
Become the disaster they need to recover from.
At least they have one sane dev -
@CoreFusionX Interesting, that does sound like a better option, especially since it would allow the load balancers to keep the sessions in memory, which is even faster than Redis (and removes the pain of Boost + modules 🤞). I'm trying to create a UDP (QUIC) load balancer/router that also enriches the message with session info, since it's the entrance into the service.
The current flow I had mapped out was, the web backend does the auth -> sends the session info to Redis with a TTL on the key. The load balancer, whenever a stream comes through, would grab the session info from Redis, enrich the message with the data and forward it to the relevant backend server. -
@CoreFusionX What happens when one of the scales (mainly the reader side)? Can you set it to re-emit all the messages in the last X minutes?
-
@retoor Agreed, especially since _ has meant private since the C days I'm pretty sure (if not before then)
Thanks, I've been working on the review slowly, going through it in chunks, been dealing with a blocked sink unfortunately, so I haven't gotten to it today
Interesting on the google/pocketsphinx, does it just give you a direct transcript or does it also give timestamps or multiple speakers? I'm not super surprised that they aren't that good with Dutch since I don't imagine there is a huge (premade) dataset for it. -
@jiraTicket It's also so that google has more words to match against when crawling. Gotta get that SEO juice
-
@Ranchonyx map, filter and reduce are all full list traversals (as in each independently does a for loop)
With rxjs it's only a single loop, you're splitting out the bits inside into functions
Created a pastebin for indention; otherwise it's below https://pastebin.com/2BBaWi50
let data = [...]
for (const i = 0; i < data.length; i++) {
data[i] = mapper(data[i])
}
let newData = []
for (const i = 0; i < data.length; i++) {
if (filter(data[i])) {
newData.push(data[i])
}
}
vs
let data = [...]
let newData = []
for (const i = 0; i < data.length; i++) {
const newVal = mapper(data)
if (filter(newVal)) {
newData.push(newVal)
}
} -
You can't escape it by doing
.pipe(switchMap(async (...) => {
sanity
}))
?
Still it sounds but inane and insane to make it a requirement in a web framework
OKAY I'm never touching angular (just looked up the syntax) 🤮 -
2nded on the oath2, especially with the new spec where they removed user/pw auth.
TTS/STT is something I've been struggling with for ages, that's why I wanted to use the whisperS2T model. I've used the simpler whisper model before as well, they're generally not a problem, but their output can be a bit limited. And StyleTTS for the output.
Either way, you managed to get further than me when it came to setting them up the TTS/STT on a new project -
@IHateForALiving 100% agree
-
@IHateForALiving It is, strange you need to rx for that, to the point I don't see a benefit other than if it's your style of coding.
I see it as a replacement for [...].map(...).filter(...).reduce(...)
or dealing with websockets
Also since I'm familiar with pipelining it's rather intuitive for me and I work faster with it ¯\_(ツ)_/¯