Better HN
topnewbestaskshowjobs
Log inSign up

itsamy

12 karma · joined Jan 28, 2020 (6y ago) · 12 submissions

Submissions

comment 3y ago · link · parent

I'll take the opportunity to self plug: I've been working on a solution to help bridge this gap of having to blindly trust VSCode extensions, planning to eventually also release it as open source

You're welcome to sign up for early access at https://coderguard.io/

As I'm currently mainly looking for user feedback

comment 3y ago · link · parent

Looks like a great project; happy to talk

comment 3y ago · link · parent

yeah there is! it's been in the works for a number of years, and they're talking about Q1 2023

but it will still leave all the vscode.* APIs open, so extensions can still do things like read any file in the filesystem, or run programs like they do today

it's a start and an important step, but definitely not a cure-all

4.

Show HN: Coder Guard – Protect Your IDE from Malicious Extensions

10 points · by itsamy · 3y ago · 5 comments

comment 3y ago · link · parent

Fast.ai courses are great resources for leaning how modern ML/DL models work under the hood

https://course.fast.ai/

6.

Vulnerability disclosure that saved $100M worth of crypto(twitter.com ↗)

2 points · by itsamy · 4y ago · discuss

comment 4y ago · link · parent

EVM optimization challenges posted on Twitter (Ethereum Virtual Machine)

comment 4y ago · link · parent

Where is the demoscene community active these days?

9.

Show HN: Corona Tycoon – a Covid-19 drugwars browser remake(coronatycoon.com ↗)

2 points · by itsamy · 6y ago · discuss

comment 6y ago · link · parent

It was built in a single day of running across the street between coding in a coffee shop, and testing the product on the microwave in seven-eleven.

It is actually just a mobile-first (mobile-only?) single page web app.

Built using no JS framework, has no build stage, or server side code. Uses Bootstrap for templating, and a lot of hacky vanilla JS code to quickly create this MVP.

We use the Web Audio JS API to listen for pops using device's microphone. The pop detection logic is as follows: if the current microphone sample volume is 10 times higher than the average of the last 6 samples of volume, it is a pop.

The logic on when to stop the microwave is as follows: first wait for 5 pops with less than 1 second in between them. We call this the "peak popping stage". Then we wait for either 3 pops with longer than 1.5 seconds in between. or 3 seconds without a single pop. We fine tuned the parameters with a lot of testing.

Hope this helps people avoid burnt or unpopped popcorn, and enjoy perfect microwaved popcorn every time.

11.

Show HN: Popco.bot – a smart microwave popcorn timer(popco.bot ↗)

1 points · by itsamy · 6y ago · 1 comment