Hacker Newsnew | past | comments | ask | show | jobs | submit | jammaloo's commentslogin

A tool that uses face-api to find the movie character you look the most like. Everything runs in browser, without any data being sent to the server.

https://movie.jammaloo.com/


Moore's Law roughly states that we get a doubling of speed every 2 years.

If we're 6 orders of magnitude off, then we need to double our speed 20 times (2^20 = 1,048,576), which would give us speeds approximately in line with 40 years ago. Unless my understanding is completely off.


It seems to me that it comes down to how the day of the week was picked.

If they picked a random day of the week, and there was only one boy, then there is only a 1/7 chance of a boy being born on that day.

If they have one boy, who was born on a Tuesday, and that is why they picked the day, then there is a 100% chance of a boy being born on that day, so no additional information is conferred.


Hell yeah, this is great. I made a similar, but much worse, thing a while back

https://jammaloo.com/DealWithIt/

It uses face-api.js to find the face, and then move the sunglasses over it. It's about a 5 meg model, so it's pretty slow to load. You can customize with a URL, or drag and drop an image on. Resizing the browser also moves the glasses around.

Very happy to see someone take the idea way way way further!


Heck yeah! Love the touches like resize handling or rotation support! Contributions are more than welcome... hint hint ;)

> It uses face-api.js to find the face

Yeah, I'm using Google AI's Face Detector [1]. There's Tensorflow's Face Landmarks Detection [2] that looked most promising and accurate. But it had two bugs [3][4] that are blockers. The first one got fixed recently, but the other one is still pending.

[1] https://ai.google.dev/edge/mediapipe/solutions/vision/face_d...

[2] https://github.com/tensorflow/tfjs-models/tree/master/face-l...

[3] https://github.com/tensorflow/tfjs/issues/7905

[4] https://github.com/tensorflow/tfjs/issues/8290


Add the -n flag to echo

echo -n "To begin with, for example, and to make sure your SHA-256 hash function is working, the hash value or checksum of this sentence, from capital 'T' to concluding colon, expressed in hexadecimal, is:" | sha256sum

Echo is automatically adding a newline


Editors like vi also add automatically add newlines to the end. You can check with hexdump if you have a newline or not:

    $ echo "To begin with, for example, and to make sure your SHA-256 hash function is working, the hash value or checksum of this sentence, from capital 'T' to concluding colon, expressed in hexadecimal, is:" | hexdump -C
    00000000  54 6f 20 62 65 67 69 6e  20 77 69 74 68 2c 20 66  |To begin with, f|
    00000010  6f 72 20 65 78 61 6d 70  6c 65 2c 20 61 6e 64 20  |or example, and |
    00000020  74 6f 20 6d 61 6b 65 20  73 75 72 65 20 79 6f 75  |to make sure you|
    00000030  72 20 53 48 41 2d 32 35  36 20 68 61 73 68 20 66  |r SHA-256 hash f|
    00000040  75 6e 63 74 69 6f 6e 20  69 73 20 77 6f 72 6b 69  |unction is worki|
    00000050  6e 67 2c 20 74 68 65 20  68 61 73 68 20 76 61 6c  |ng, the hash val|
    00000060  75 65 20 6f 72 20 63 68  65 63 6b 73 75 6d 20 6f  |ue or checksum o|
    00000070  66 20 74 68 69 73 20 73  65 6e 74 65 6e 63 65 2c  |f this sentence,|
    00000080  20 66 72 6f 6d 20 63 61  70 69 74 61 6c 20 27 54  | from capital 'T|
    00000090  27 20 74 6f 20 63 6f 6e  63 6c 75 64 69 6e 67 20  |' to concluding |
    000000a0  63 6f 6c 6f 6e 2c 20 65  78 70 72 65 73 73 65 64  |colon, expressed|
    000000b0  20 69 6e 20 68 65 78 61  64 65 63 69 6d 61 6c 2c  | in hexadecimal,|
    000000c0  20 69 73 3a 0a                                    | is:.|
    000000c5
If the string or file ends in `0a` you have a newline


Not disclosing it to postfix is the biggest issue I'm seeing people talk about. From the article they reached out to three of the biggest individual vendors, but there's no indication of them disclosing it to postfix or any of the other providers of mail server software.

In the article they even mention that postfix is affected, and show it as being the most used mail server online, by a large margin.


Worth noting, that the myhouse.wad file, at least for me, does not contain the full level. You instead need to use the myhouse.pk3 file.


Oh yeah? I'm at the 4th level already, not sure how deep it goes.


If you've reached MAP03 - The Gantlet at any point then you're not playing the right version.


Oh I must try the pk3 then, thanks for the heads up.


As a heads up, the download links to the technical preview builds of Docker seem to be incorrect on that page https://docs.docker.com/desktop/wasm/. The Windows, Mac OS Intel and Silicon each point to https://www.docker.com/download/wasm-preview/linuxamd64deb which is the linux build.

The article linked by the OP has the correct links.


There is a great youtube channel that tests out different energy storage and harvesting setups, a lot of them focused around water.

This is one where they use solar to pump water to the roof, and then use the potential energy overnight: https://www.youtube.com/watch?v=CMR9z9Xr8GM


A top comment on that video puts it into perspective well. That whole setup can store the energy of a single AA battery.

He would be so much better off just charging a cheap battery. All the money wasted on pumps, wood, barrel, pipes....


The icon isn't the photos app icon, although the general shape is similar.

>Add details cautiously. If the content or shape is overly complex, details can be hard to discern. Icons at all three sizes should generally match in appearance, although you can explore subtle, richer, or more detailed additions at 48×48 pixel size.

I believe that example is meant to be an example of a bad icon, as it has a complex shape with lots of different textures.


> The icon isn't the photos app icon, although the general shape is similar.

are you sure? I'm holding up my iPhone side-by-side, an to me there's no doubt this is attempting to represent that. To represent the different colors, the pixel version uses a unique pattern for each "feather". It seems as 1:1 as a 48x48 pixel version could be.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: