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

My flashcart's GB emulator doesn't have a color palette that matched perfectly, but works well enough! https://i.imgur.com/ePtY5Jf.jpg

Found a GBC implementation as well: https://github.com/bbbbbr/gb-wordle


The linked GBC version is my fork with some improvements (and more in the works).

The current published release uses a similar compression approach by zeta_two, but in current builds I've switched to the compression by arpruss since total data + decompression code size is now a couple hundred bytes smaller.

I did some profiling and code size measurements before switching over. https://github.com/bbbbbr/gb-wordle/blob/compress_arpruss/wo...

Speed (and code size somewhat) have improved more since then.


Not sure how big the word dict is in your latest version, but you can do much better simply by reordering how you create your index.

With alphabet in order, assembling letters ABCDE: 17345.00 bytes With alphabet in order, assembling letters EDCBA: 16949.00 bytes With alphabet order tweaked, assembling letters EDCBA: 16309.00 bytes

Where tweaked means you build your offset as if each position was ordered like this ([::-1] means reverse if you're unfamiliar with Python).

``` alpha1 = "abcdestfghijklmnopqruvwxyz"[::-1] alpha2 = "eaioustrbcdfghjklmnpqvwxyz" alpha3 = "aeioustrbcdfghjklmnpqvwxyz" alpha4 = "eaiousthrbcdfgjklmnpqvwxyz" alpha5 = "aeioustryhkbcdfgjlmnpqvwxz" ```

You can also use a prefix rather than variable length encoding, this means you can use 2 bits to represent a number bigger than 2^14, rather than 3. This might hurt your ability to decode though, as you'll have bits that cross byte boundaries.

  breaksv = [2**7, 2**14, 2**21]
  prefixesv = [[0], [1, 0], [1, 1]]
You can get much smaller using length 3 varints rather than 7 (13,110 bytes), but I presume that would perform worse on GB hardware than staying byte aligned.


Not sure what technique you're using for the answers list, but the compress5.py suggests it's doing a basic bitmap.

Base bitmap is 12972 bits, or 1622 bytes (your file lists 1619, not sure why it's 3 bytes smaller, but all the same). You can "skip encode" (I don't know the formal name for this technique) into 1232 bytes by encoding runs of three [0, 0, 0] as [0], and anything else as [1, X, X, X], saving another 390 bytes.

I tried all combinations of runs between 1 and 7, and 3 is optimal.


There's an 'official' highlights list[1] and a community built spreadsheet[2] with details including type, platforms, genres and more.

[1] https://itch.io/c/891735/bundle-for-racial-justice-and-equal...

[2] https://docs.google.com/spreadsheets/d/1cbOqO6rq0YYWPKmci8Pg...


I haven't personally toyed with either, but I've seen these used with increasing frequency.

https://commento.io/

https://utteranc.es/


Personally, yes. I'm sitting around 50% right now, but have no reservations upgrading if/when I reach the need to. It's something you'll have to play with yourself to see if you can get it working in a way that makes sense for you - I know a few people who felt it didn't provide enough structure for them.


Chrome and Safari (the only browsers enforcing CT logs at the moment) can both be configured to disable enforcement for certain URLs.

https://twitter.com/sleevi_/status/1102306640072716288


But you can't stop Let's Encrypt from publishing CT records for your internal-only certificates.


Already public info? Indifferent. It's already scraped (and then leaked) by so many parties as is.


"With respect to your complaint that Cox intercepts and injects our own data in order to display alerts, etc, we note that browser alerts are a method Cox utilizes to bring customers’ attention to important information that may affect their Internet experience."

They'll also appear if you're nearing your data allowance or if their email service (that you probably don't use) is undergoing maintenance. When I last asked, there is no possible way to opt-out or disable these.


about:config

I enjoy having the ability to tweak some tiny little settings that help my workflow here and there.


I use Astral to filter/search through my starred repos

http://astralapp.com/


Postman has native apps out for Win/Mac & Linux "soon" https://www.getpostman.com/apps


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

Search: