Better HN
topnewbestaskshowjobs
Log inSign up

agarv

28 karma · joined Sep 3, 2018 (8y ago) · 22 submissions

Front-end and full-stack web developer in NYC area

allengarvey.com

github.com/allen-garvey

Submissions

comment 4mo ago · link · parent

I just tried Yliluoma 1&2 on video it right now, and it does about as well as Bayer ordered dithering, since it is a variation on ordered dithering. You can try it yourself, since I built an app[1] that includes the Yliluoma 1&2 dithering algorithms, and supports video.

[1] https://app.dithermark.com

comment 4mo ago · link · parent

For anyone that wants to try Yliluoma's dithers for themselves, I have created the only interactive version that I am aware of, as well as the only GPU accelerated version at https://app.dithermark.com

comment 11mo ago · link · parent

The Paper Menagerie and Other Stories and The Hidden Girl and Other Stories by Ken Liu

The Bug by Ellen Ullman

Radicalized by Corey Doctrow

Valuable Humans in Transit and Other Stories by qntm

comment 1y ago · link · parent

I don't know if it's exactly what you're looking for but I made a free tool https://app.dithermark.com . It only allows 18 colors max, but it has a lot of options, including the ability to determine what color palette to use.

comment 1y ago · link · parent

Color dithering is very similar black and white dithering, the difference is that instead of 2 colors (black and white), you have n colors, and you want to find the one that has the shortest distance to the current pixel. There are various formulas[1] to determine which color is closest, and which formula you choose will have an effect on the results. I built a dithering app[2] that lets you choose the distance formula, so you can see for yourself.

[1] https://en.wikipedia.org/wiki/Color_difference [2] https://dithermark.com

comment 1y ago · link · parent

Since I see you're using Vue, I created an MIT licensed dithering web app with Vue. I've never tried to embed it in anything, but you're welcome to give it a shot.

https://github.com/allen-garvey/dithermark

comment 1y ago · link · parent

Studio One has a lyrics track https://www.youtube.com/watch?v=E_XPEXE1HHQ

comment 4y ago · link · parent

It's not a phone app, but I made a web app[1] that can get pretty close[2]. From looking at the images I think the reason why other other apps don't look the same is that they try to emulate it use an ordered dither, while it looks like the Gameboy camera is either adding some randomness or noise as well. I have a Bayer (R) algorithm that adds randomness and it seems to get closer to the Gameboy camera output.

[1]https://app.dithermark.com/ [2]https://imgur.com/a/AiQa14B

9.

Show HN: WebAssembly Error Diffusion Dither Performance Comparison(wasm.dithermark.com ↗)

2 points · by agarv · 4y ago · discuss

comment 5y ago · link · parent

It is common for Chinese people to drink hot water if they don't feel like tea, so you can still have hot drinks.

comment 5y ago · link · parent

I was thinking about that recently, and I'm not so sure either. The profit margin for Google Services which YouTube is a part of is 30%, but that also contains the ads division, which is hugely profitable. Also, you would expect if YouTube's profit margin was 30% as well they would disclose it, so you have to imagine it must be significantly less.

https://www.fool.com/investing/2021/02/03/google-revenue-pro...

comment 5y ago · link · parent

If you are a professional, it means you have a business. Large companies can give away things for free, and this is called marketing, and no one has a problem with this. If small or one person businesses want to give away labor for free, also for marketing purposes, why is this unethical?

comment 5y ago · link · parent

An increasing number people do do this now, just at the start of their messages. "As a cis white male..."

comment 5y ago · link · parent

Something that I don't see mentioned is that this emoji opens the door to accidental racism because you are assuming the other person's race when you use it, since presumably one of the hands belongs to the person you are speaking to. This contrasts with something like the thumbs up emoji, where it is meant to represent your own hand, and so you can make it any color you want. It is also not clear if you use it, which hand is supposed to be yours- I am the hand on the left or the hand on the right?

comment 6y ago · link · parent

Not meant to be snarky, but PG seems to have rediscovered the big five personality traits https://en.wikipedia.org/wiki/Big_Five_personality_traits specifically agreeableness and openness. For people that want to learn more, Jordan Peterson has a great video lecture series about it https://www.youtube.com/playlist?list=PL22J3VaeABQApSdW8X71I...

comment 6y ago · link · parent

Matthew Sadler https://en.wikipedia.org/wiki/Matthew_Sadler

comment 6y ago · link · parent

Mikhail Botvinnik https://en.wikipedia.org/wiki/Mikhail_Botvinnik

comment 7y ago · link · parent

Not the parent, but I assume people do it so they don't have to use Oracle anymore (for either cost or ethical reasons).

comment 7y ago · link · parent

Disclaimer: I am not a professional photographer nor formally studied photography, and have never used a DSLR, but I have been using mirrorless cameras (Sony NEX series) since 2011.

While there are generally less "native" camera lenses for mirrorless systems, one less well known/publicized advantage of using them is that you can use film camera lenses. While you do not get autofocus and there might be vignetting at the corners (which I personally like anyway), you can get a good quality lens for a good price by doing this. It also can be cool if you are trying to recreate a "vintage" look, or just going for something weird or unusual. All that is required is a cheap adapter that you costs around $5 on ebay. Two of my personal favorite lenses to use are the Jupiter 9 (the whole Jupiter series are Soviet copies of Carl Zeiss lenses) that I got for $175, and the SLR magic 3517E which I got for $37. This video has a general overview: https://www.youtube.com/watch?v=aQLi4g-wyDA

comment 7y ago · link · parent

While there can be UX benefits to using SPAs, something I have not often seen expressed, but which I believe is that the main advantages of SPAs are for business rather than technical reasons.

1. Clear separation of concerns for front-end and back-end teams. With SPAs, the work is clearly divided into front-end and back-end parts, with the back-end team working on the server side code and the front-end team working on the static assets (HTML, JS, CSS). Both sides only communicate through a clearly defined API (e.g. REST, GraphQL, SOAP) which allows both teams to work independently of each other, and means that if there are bugs or problems, there is less confusion on which team is causing them and thus which team needs to fix them. Compare that with server side rendering using an MVC framework such as Rails. The migration and model code "obviously" belongs to the back-end team, and the static assets (JS, CSS) and views/templates belong to the front-end team, but what about the controllers and routing? Both teams are going to need to work on those parts of the codebase, and that's going to increase the need for inter-team communication and confusion on which team owns what. For example, I interviewed at a company where the front-end team was US based and the back-end team was outsourced to India, and they were moving to a SPA so the teams could work more independently. Previously they had used JSP, which meant the front-end team had to write HTML and then send it to the back-end team and then they had to coordinate how the back-end team was going to re-write the HTML as a JSP template.

2. Cheaper mobile and desktop apps. While it seems HN is very negative about non-native apps, it's not hard to see the business case of quickly and cheaply converting your website into a mobile or desktop app using something like Electron, Cordova or a web view. Even if you do plan to make a native app, the SPA and native app can reuse the same APIs, reducing the amount of work for your back-end and QA teams.

3. Flexibility in changing back-ends. While less common than the other two cases, if you decide to change your back-end code (such as Twitter moving from Ruby to Scala) if your app is an SPA you only need to recreate the APIs and don't have to rewrite all your templating code (this is less of a problem if you use a more "neutral" cross-platform template language like Handlebars). For me personally, I'm moving all my personal projects to Elixir/Phoenix from PHP, Rails or Java, and because I used server side rendering I had to convert all my templating code to EEX.

comment 8y ago · link · parent

Scott Johnson's John Somebody from 1982 is another good one

https://en.wikipedia.org/wiki/Scott_Johnson_(composer)#John_... https://www.youtube.com/watch?v=IPlY4X5hrYk

22.

Show HN: Transform your photos into pixel art with dither algorithms(dithermark.com ↗)

2 points · by agarv · 8y ago · discuss