News for hackers. Stuff that matters.

AbhyudayaSharma

Re:JavaScript Macros in Bun on Friday June 30, 2023 @09:02PM (#36545039)
Babel has macros too! My super small npm package gets git commit hashes using the babel-plugin-macros.

https://www.npmjs.com/package/babel-plugin-macros

https://github.com/AbhyudayaSharma/react-git-info

Re:GitHub Actions was having an outage on Wednesday June 01, 2022 @06:56AM (#31580165)
Jenkinsfile Runner is exactly that!

https://github.com/jenkinsci/jenkinsfile-runner/

This reminds me of something I did a few years ago. I had an old printer for which the drivers did not work properly on Windows. Connected the printer to a Zero W and it became accessible to every device on my network through CUPS. I even made it print PDF attachments from emails (https://github.com/AbhyudayaSharma/MailPrinter)
Re:Show HN: Transform a CSV into a JSON and vice versa on Friday June 04, 2021 @04:29AM (#27391737)
You can do this in Powershell

    cat file.csv | ConvertFrom-Csv | ConvertTo-Json
Re:Security Issues with LastPass on Android on Sunday May 30, 2021 @01:23AM (#27330825)
Bitwarden and Dashlane
Re:Security Issues with LastPass on Android on Saturday May 29, 2021 @08:27AM (#27324815)
Hi! I am the author of this post. Thanks a lot for your feedback! I hope to make it public very soon.
Re:Security Issues with LastPass on Android on Saturday May 29, 2021 @08:20AM (#27324790)
Hi! I am the author of this post. I think that taking the user to `www.foobar.com` when he/she typed `foobar` does violate the expectations for most users. All browsers which I've used take the user to their selected search engine. Most people outside of HN do not know that what they type in that search bar would be visible to anyone listening on the wire.
Re:Google admits Kubernetes container tech is too complex on Friday February 26, 2021 @01:54AM (#26272022)
Cloud run is great. I'm using an Nginx image to serve my static website. However, if I remember correctly, you can only respond to HTTP(S). So though it may be enough for most usecases, it is not essentially equal to running any container on the cloud.
These 'anti-cheat' softwares don't actually prevent cheating. One of my teachers tried to use one called MyPerfectice (thankfully we persuaded her to switch). I think most of these are built without any understanding of the constraints set up by the browser. I don't know about the others but MyPerfectice gives you 4 or 5 window going out of focus events before making your attempt invalid. The funny thing is that they allow students to upload files from their system and allow focus to be lost during that. So if you click the upload button, it opens the OS file selection window and you are then free from all the checks they set up. Open a new window and cheat as much as you like.

I'm wondering if it's possible to just do a custom build of Firefox/Chrome that does not trigger these out of focus events.

Coming to the video streams, just record a 1-2 minute video of yourself staring into your screen from your webcam and loop it through OBS. No one will notice anything. For MyPerfectice, it is even easier, they have their camera controls exposed as unobfuscated global objects. So you can essentially do something like `camera.stop()` and the webcam light turns off.