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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
@retoor mentions don’t work anymore here in JoyRant. I haven‘t looked into the details yet but I suspect it’s because your mentions service is also affected by the expired certificate?1
-
So, I guess it was only me still using the old old OLD official Android client, I guess, because the certificate expired and thus, web works by allowing you to skip check, but you can't in Android.
Can anyone else confirm it's the case for them?4 -
hello thx for applying to our startup :) we are looking to hire an engineer asap so let's get things in motion. We will only interview candidates that pass our custom take home challenge, which is designed to test your ability to solve real problems.
Anyone who passes our take home challenge immediately gets an interview with our CTO and thus has a high likelihood of being hired.
Vibe coding warning:
If you cannot write code without AI assistance, you will not pass our live technical interview so please do not waste your time now attempting this challenge; we won't hire you.
Here is the take home challenge:
Figure out how to programmatically send disappearing photos on Telegram web using a chrome extension.
What we measure with this take home challenge:
This challenge is designed to measure your resourcefulness and ability to quickly learn new things. Being an expert on chrome extensions or javascript won't help much.
More details:
Telegram on mobile allows you to send disappearing photos, but Telegram Web doesn't expose sending disappearing photos in the UI. You'll have to dig deeper.
Rules (!important):
Your submission will not count if it breaks any of these rules.
1) Your solution must be fully contained in a chrome extension. This means no other code (ie. localhost server) outside of the extension is allowed.
2) You are not allowed to bundle outside libraries (ie. gramjs, mtproto, mqtt, etc)
3) You must be on web.telegram .org/a which is version A of Telegram web, not web.telegram .org/k which is version K or others.
4) Your solution must be able to send photos programmatically and not require manually sending photos in the UI
Expectations:
Although a solution that just follows the rules will get you an interview, the quality of your submission will be a key factor in our hiring decision. We expect your code to be clean, production ready, and easy to review. This means removing all unused code and files you may have added during experimentation/testing.
Video guide:
Don't let the high view count on the video scare you, if you are seeing this we are still accepting submissions.
Please watch the video I made describing the challenge and showcasing the solution
Here is the job posting in case you lost it:
Here is the code for the challenge:
You are given a simple boilerplate chrome extension, feel free to change any file or add new files as needed
Submission:
Do NOT upload your submission to GitHub, you wouldn't want others stealing your work and submitting it. Please reply to this only with a public **Google Drive** link containing:
-Your chrome extension code as a **folder** (not as a zip or rar file), this makes it easier for us to review
-A short screen recording showing your solution works
Deadline:
Please try to finish by the end of day Friday (December 5); speed is one of the things we are measuring here too. We will not make hiring decisions before this date so please attempt the challenge if you are seeing this before the deadline.
Communication:
Please only reply to this message with your Google Drive link submission, otherwise I will ignore and assume you are an AI. If you have questions, please figure them out on your own as that is part of the challenge.
Good luck, and I hope to hear from you soon :)8 -
I've been thinking a lot about garbage collectors for compiled languages again
Funnily enough my idea for a multi threaded gc for Rust is basically how boehm does it too (well at least on linux): On a GC cycle you send a unix signal to all other threads to make them pause and then in the signal handler you save all regs, then walk the stack and regs upwards over 8 byte values. Any value that falls into the gc heap and is a valid allocation is assumed to be a ptr and that object gets marked
Pretty clever
Though I'm working on a single threaded GC for Rust now. That one actually has a real use case too: I don't have to use Rc<T> and .clone() them all over the place in my compiler! Just beautiful wrapped pointers with copy semantics 😌4 -
For people who need a https version of dR, it's here: https://dr.molodetz.nl.
Does not monitor, source code of proxy here: https://molodetz.nl/project/rproxy/....
It only counts amount of data.
Graphs are cool: https://dr.molodetz.nl/rproxy/...
It's actually a fun proxy to use in docker setups. The configuration is very easy (json file as described on page). But it does not forward based on path or something else. Only on host name. Maybe i'll implement it in the future for the sake of completeness.
The dashboard/reverse proxy is written because my friend had such nice dashboard and he said "Yeah, it's cool but heavy as fuck". And i was like: that does not make sense. So made a feather light one. Could be a bit lighter, i have to tweak sqlite a bit. After a few hundred gb, the server starts to boot slower, i store too much data. Does not affect operation tho.
Also has rate limiting (not much used in reality yet). Not sure how good it is.
Already quite some traffic goes trough it.
Sid, like always, fuck you and I hope your elephant dies. Idiot. Guy with PMS.10 -
Ah fuck my asshole of course it wasn't that easy
Great that my GC can detect any managed pointer off the stack et al. Yeah but what if a GC ptr is behind some random non-gc allocation, inside a future, etc.
fuckkkk
Best idea right now I replacing the global allocator. Then I know all allocations and can conservatively still traverse them (means way more checks... ugh). And if one allloc is a gc object then I know its vtable and can do precise analysis
Really not perfect. But guess what: boehm does the same lol
I should really stop being that dismissive of myself11 -
It's funny how retoor was in the leading member taking the responsibility of taking out the spam messages from this platform.
And now cut to, she being the one who posts spam now, babbling about how great she is, at AI, models and all that hooplah.
It all goes back to the saying - You either die a hero, or live long enough to see yourself become the villain.
Btw, this rant is posted from `https://dr.molodetz.nl/`. Cry about it.16 -
I had yesterday a meeting with the backend-dev/manager. He at least mentioned that GraphQL was not the way to go and that he has no idea how to tackle certain requirements. He is planning to sit together with the internal future users to check what data is truely needed (fyi, he started the project 11 months ago).
So yeah, the project is now on hold and he assigned me a 2h task for the rest of this week; fun.10 -
A Nature Methods paper found that even containerized ML code can produce different results on different hardware. Same code + same data + different GPU = different outcome.
They are even seeing this with containers. Because hardware, drivers, and libraries in actual machine differ.
See people arguing over determinism in code gen. I wonder how much hardware matters.12 -
Minecraft will yet again be changing how the version numbering works.
As a kid that always waited for major versions of the game to release and as a kid that identifies with specific versions of the game (1.6, 1.8 my BABIES), my heart aches and my confidence that the game has been fully ruined is continuing to grow.
At least I can just ignore all that and keep playing, the core mechanics are largely unchanged (except combat...)4 -
Just read somebody say "she climbs like a homesick angel" to a fighter jet flying straight up and I think that's one of the most beautiful ways to describe it4
-
Hello guys, Christmas is coming
I made a real-time chat for devRant.
Please check and tell how much it sucks
konple dot onrender dot com18 -
I just had the most retarded interview question ever.
"How many method does this specific API object have?
A. 4
B. 5
C. 8
D. 2
"
ffs14 -
Windows should have an equivalent to REISUB. My work laptop have Windows and I miss that feature a lot.1
-
Made this little example to show the difference in codegen quality using Gc smart pointers versus reference counted Rc's can make
Actually pretty crazy:
https://godbolt.org/z/vsTeGcz8M14 -
The PM of wallonia personally intervene ordering a dog shelter to release a specific dog to his owner.
The doggo was brought by locals because he looked starved and neglected. The sheltered issued a communication saying they disagreed and that the fucker shouldn't get the dog.
The dog is named Ruben :(6
