Better HN
topnewbestaskshowjobs
Log inSign up

polygot

670 karma · joined Jul 13, 2016 (10y ago) · 199 submissions

Email: identityinvisible@me.com
Submissions

comment 8y ago · link · parent

I can see where you're coming from. It is a hyper-niche product so it's hard to find the right audience. Unfortunately, I can't make it client side because the database to capitalize names and such would be unreasonably large for a user to download. However, it was very fun to build!

comment 8y ago · link · parent

Yeah, that would be a problem. I'm thinking it could just send the first part of the email address (before the @ sign) or instead just license an encrypted blob to the company which they can run.

123.

Ask HN: Validate whether my side-project could be profitable

2 points · by polygot · 8y ago · 5 comments

124.

Theia Interactive’s Harley Davidson AR Experience Showcases Real-Time VR(unrealengine.com ↗)

1 points · by polygot · 8y ago · discuss

comment 8y ago · link · parent

Are the notes tied to a specific commit, or is it per object?

comment 8y ago · link · parent

"The processor forwards the data to the Secure Enclave but can’t read it. It’s encrypted and authenticated with a session key that is negotiated using a shared key provisioned for each Touch ID sensor and its corresponding Secure Enclave at the factory."

> "at the factory"

I suppose the secret key is erased at the factory, however, what if it isn't? Or, is the secret key generated on-chip via a random number generator? If it were stored at the factory somewhere then it would be possible to link it to each iPhone. I'm not familiar with cryptography, so I think it's just a misunderstanding on my part, and I'm not sure if this would be a weakness in the Touch ID sensor.

comment 8y ago · link · parent

Out of curiosity, is this bug related to CPU cache? I don't know really anything about how CPU's work internally, however. It just "feels like" it's applying a bunch of instructions very quickly but ignoring the internal clock if that makes any sense.

For example, the CPU percentage counter in Activity Monitor was around 3,000,000. If there was a loop to increment the CPU usage counter, it sounds like it incremented it so fast that the thread that reset it didn't run since it wasn't scheduled to run (as it only runs every few seconds.) Again, this is just pure speculation and if anyone knows otherwise please let me know!

comment 8y ago · link · parent

On Mac OS 10.4 (tiger) when I left Activity Monitor going in the background for a few minutes and returned to it, sometimes it would all of a sudden refresh the values super super fast with historical data (appearing to catch up on the iterations that it did not display.)

On 10.6, when I ran Windows in a virtual machine while it was doing windows update, and left it running in the background for a few minutes and returned to it, sometimes I would get 60fps in the machine for a few seconds and it updated very very fast, and then it went back to 15fps (seemingly getting more CPU power.)

On 10.7 (if I recall) if I left Activity Monitor running in the background for a few minutes and returned to it, I would get nonsensical values for the CPU usage for a few seconds (e.g. 398423.34%) but then it would return to normal. Perhaps this error has been accumulating over the years.

comment 8y ago · link · parent

Here's the source code (PowerPoint compatibility will be added soon, but Google Slides works): https://github.com/Decagon/muto

comment 8y ago · link · parent

Sometimes clear; reset works but other times I can't see what I'm typing, and so when I type it and hit enter it might clear the screen, sometimes it runs the command but the bash prompt is completely messed up. I use tmux a lot, so I usually use the reset code from this answer: https://unix.stackexchange.com/questions/49886/tmux-status-b...

stty sane; printf '\033k%s\033\\\033]2;%s\007' "`basename "$SHELL"`" "`uname -n`"; tput reset; tmux refresh

comment 8y ago · link · parent

On the lines of "just working", it'd be cool to have a shell which if I could accidentally cat a binary file and not have the shell be completely in-operable or have to run this long archaic command to get it working again.

Maybe have something like "when I run the cat command, ignore all commands to the terminal until cat finishes".

comment 8y ago · link · parent

Cool idea! I think it's very useful for people who want to share slides but don't want to share the entire pptx file.

I wanted to make a GIF of another user's Google Slide, but with the webapp it looks like I only have access to my own slides, and only google slides. I whipped up a quick API to generate a GIF of any Google Slide URL or of any PPTX file available on the web: http://159.203.37.136/

You can use the API like this: http://159.203.37.136/?url=xyz&delay=100 which would make a GIF of the URL pptx file. For example, it could be https://docs.google.com/presentation/d/13838392jfdjkfsd/edit... or https://scholar.harvard.edu/files/torman_personal/files/samp... or any ppt or pptx url of your choosing. It works with any public google slides too.

As a sample, you can try http://159.203.37.136/?url=https://scholar.harvard.edu/files...

133.

Hn-sonar: get notified for HN replies to your comments. No email address needed(github.com ↗)

3 points · by polygot · 8y ago · 1 comment

comment 8y ago · link · parent

There's a way to choose the business branch instead of the comsumer branch, which might delay some of the feature updates. Iirc there was an option to delay features by up to 180 days, but that doesn't actually stop the updates though.

comment 8y ago · link · parent

The title is a bit dense; a good example of what it does is available here: http://yknzhu.wixsite.com/mbweb (takes in a movie and its book form, and syncs them up and many other things.)

Abstract:

Books are a rich source of both fine-grained information, how a character, an object or a scene looks like, as well as high-level semantics, what someone is thinking, feeling and how these states evolve through a story. This work aims to align books to their movie releases in order to provide rich descriptive explanations for visual content that go semantically far beyond the captions available in current datasets. To align movies and books we propose a neural sentence embedding that is trained in an unsupervised way from a large corpus of books, as well as a video-text neural embedding for computing similarities between movie clips and sentences in the book. We propose a context-aware CNN to combine information from multiple sources. We demonstrate good quantitative performance for movie/book alignment and show several qualitative examples that showcase the diversity of tasks our model can be used for.

136.

Story-Like Visual Explanations by Watching Movies and Reading Books Using a CNN(arxiv.org ↗)

2 points · by polygot · 8y ago · 1 comment

comment 8y ago · link · parent

Sample check response confirmed--but I think I have to fix something

comment 8y ago · link · parent

Another sample reply after script modification to improve efficiency

comment 8y ago · link · parent

Get HN replies notifications without a centralized server or needing to provide your email: https://gist.github.com/Decagon/1ef31011d05bf71aa5570f2bddda...

Bit hacky, but uses the HN API to get a comment based on their ID (scraping the new comments page for ids), and then extracts the id from the comment and checks if the parent comment is the same as your username (by querying the API again), and if it is, then it sends a notification.

comment 8y ago · link · parent

I just whipped up a super hacky Python 2 script which will notify you if someone replies to your comment, without requiring your email, and can be self hosted (fill in your HN username in the variable): https://gist.github.com/Decagon/1ef31011d05bf71aa5570f2bddda...

Just run it with: while true; do python HNgetCommentReplies.py | mail -s "new hn reply" me@example.com; sleep 1m; done;

(e.g. check every minute for new comment replies and mail output.) It will output "Reply to comment: hn-url" if there is a reply, otherwise it will output nothing. Unfortunately it doesn't save any state, so it doesn't know if it already emailed you a reply. This can be easily fixed but I don't have too much time right now. Also, it makes one query at a time, which is a bit slow (as it takes around 20 seconds to check for replies.) This can be parallelized to make it much faster.

Benefits of this script is that if it were centralized, n users could be subscribed to get notifications (e.g. a million users) it would only use one query to the hacker news server every 30 seconds or so. It just looks to see if all recent comments have a parent whose name matches yours.

I'll dogfood it for a while and see if any replies to this comment works.

141.

Automatically format Python code so that it meets PEP8 standards(github.com ↗)

2 points · by polygot · 9y ago · discuss

comment 9y ago · link · parent

I'm not super familiar with python, but I've tried using a pep8 auto formatter and it seemed to reformat it to comply to standards https://github.com/hhatto/autopep8

Perhaps that could be useful when having to write pep8 compliant code but don't want to manually format everything.

143.

Amazon Macie: A machine learning service to discover and protect sensitive data(aws.amazon.com ↗)

117 points · by polygot · 9y ago · 29 comments

comment 9y ago · link · parent

I'm not sure why this redirects to Trello. However this is what appears to be the website: https://totalcloud.io/

145.

“Comments from Code Review” – GitHub Commit Search(github.com ↗)

1 points · by polygot · 9y ago · discuss

comment 9y ago · link · parent

What about YouTube? I'm sure they'll add an exception for it, but it technically does classify as automatically playing a video when you click on a link.

comment 9y ago · link · parent

This looks like a pretty cool project. How much research went into creating Titan? Why did Google decide to create a custom hardware-based solution (Titan) instead of using something off the shelf, like Intel's Secure Boot?
1234567