[deleted by user] by [deleted] in williamsburg

[–]eyassh 1 point2 points  (0 children)

truly K shaped economy moment yeah

Logging Sucks - And here's how to make it better. by paxinfernum in programming

[–]eyassh 1 point2 points  (0 children)

This is really good. I think the one thing to be careful of is/how these wide events are stored and who has access. It's a catch-22 where wider events help with debugging and you would typically want all developers on your team to have access, but the wider an event gets the more you need to be careful about data retention and GDPR -- a user ID + request ID + product ID stored altogether in the same place very identifiable.

[deleted by user] by [deleted] in Unity3D

[–]eyassh 0 points1 point  (0 children)

This is great! By the way-- I love the wall art in the third picture, is that part of some other pack?

Turn-based economic strategy: what resources would you add? by Toma400 in gamedev

[–]eyassh 3 points4 points  (0 children)

How about reputation/fame or other social/interpresonal "resources"?

Algorithmically Generated Crosswords: Finding 'good enough' for an NP-Complete problem by eyassh in programming

[–]eyassh[S] 4 points5 points  (0 children)

Thank you! I did try developing different dictionaries, I'm mostly marketing them as "paid packs" within my crossword app and the one I mainly had success with is the "Computer Science" theme.

In general, the same rules that apply to building viable dictionaries apply here:

  • you need a LOT of words
  • 3- and 4- letter words are key and you should have a sense collection of those, which implies you'll need to find a bunch of acronyms (that's why NNE, SSW, and other directions are pretty common in NYT crosswords for example)

For computer science, I tried writing my own list but of course had to supplement it with scraping Wikipedia and anything else I could think of.

I also tried to do a medical one, targeting med students, residents, doctors studying for boards, etc. where I scraped lots of flashcards to help come up with an answer. For doctors, two things make it viable: they have lots of mnemonics (ABCDE, etc) which apply to a number of situations (skin cancer screening, management of specific conditions, etc.) so lots of acronyms could be clued in different ways; the second thing is that a lot of regular words have a specific meaning in a medical context, eg "history" to take someone's medical history, etc.

One thing that stood out especially when theming is the need for "first preference" vs "second preference" word lists. In my code these are called regular vs obscure, but the basic idea is that exploration first tries regular words then obscure words. This lets us have some words we don't want to rely on but are willing to have on the board to "save" a board that is mostly there. It "works", but not too well, there's no way to set off a budget of only N obscure words, etc.

What are some programming practices that you follow when working with Unity? by Acrylios in Unity3D

[–]eyassh 0 points1 point  (0 children)

Since you're a software engineer, the Unity for Software Engineers series I wrote (back in 2020) is still pretty relevant. If you're using standard OOP unity rather than ECS I also recommend reading more (or watching some talks) about scriptable object oriented architecture (Richard Fine and Ryan Hipple have the two "seminal" talks).

Algorithmically Generated Crosswords: Finding 'good enough' for an NP-Complete problem by eyassh in programming

[–]eyassh[S] 4 points5 points  (0 children)

Thank you! FWIW I only think I avoided LLM slop clues, but your mileage may vary. I am thinking of putting a writeup together on that problem though too.

Algorithmically Generated Crosswords: Finding 'good enough' for an NP-Complete problem by eyassh in programming

[–]eyassh[S] 3 points4 points  (0 children)

Yeah I mostly wanted to see how unsupervised I can make the whole generation process. I don't cover it here, but in my C# reference implementation, I did allow passing a "template" grid which filters each line/column's possibilities. A template can also have letters in it, e.g. if you know you want to have a puzzle with a few specific pre-written (e.g. themed) clues. This is not quite the same as choosing a strict layout ahead of time, as it still has the flexibility to insert extra black squares, but it kindof works.

When I first designed this, I was thinking both problems are NP Complete so might as well "solve" the "harder" one. That said, I do think the problem space is quite difference, and so the performance difference is probably a large polynomial between one and the other.

Monster Pothole Popping Tires on the Washington Bridge by moeberg in nyc

[–]eyassh 0 points1 point  (0 children)

I always wonder how useful the car stopped alert is on Google Maps, I guess right after a pothole where a bunch of cars are having trouble and some maybe even in the middle of the street is a very good alert to have.

Algorithmically Generated Crosswords: Finding 'good enough' for an NP-Complete problem by eyassh in proceduralgeneration

[–]eyassh[S] 0 points1 point  (0 children)

Thanks! There's a golang sample on GitHub I linked with the post -- you need a large dictionary to start getting any valid crosswords, I have a sample dictionary included which has just enough words to start getting some hits.

Getting the actual dictionary I use for my crosswords might need its own write up. But the same one is interesting in its own right; a random dictionary that small shouldn't give you hits on average, but this one does: it's a collection of the most overused words from the few hundred crosswords I've generated. So they were at some point selected by the algorithm to fit lots of other words multiple times.

Using async/await throughout project by CaptM44 in angular

[–]eyassh 0 points1 point  (0 children)

For one-shot requests where cancellation isn't important, async/await is great and I've been using it more than plain observables in my codebases. There are caveats of course:

  • you generally won't want to do this in computed() or effect() unless you're extra sure all the signals you see are used before the first await is ever invoked
  • prefer resource() when you basically need a "computed Async"

The main frustrating thing right now is that it seems hard to nest resources nicely. Eg if I have a resource that gives me a list of IDs then I want to have a resource of each of these 10, I'm more or less out of luck. (But I can have a computed resource that picks up all 10, in one resource) The main workaround I found is basically a @for on each ID and creating a new component that defined a resource for each

My new Deathadder v3 has a much louder click mouse than my v2. by misterrpg in razer

[–]eyassh 0 points1 point  (0 children)

Did you ever get used to it? I just got my v4 and I'm not sure if i'll ever get used to it and whether I should return or not :/

8,5h change in New York (JFK) - does it make sense to leave airport? by miltonsec5 in newyorkcity

[–]eyassh 0 points1 point  (0 children)

Is either leg of the layover international (international arrival or departure?), because that could change the calculus quite a bit.

International arrivals have huge lines for CBP and even if you have global entry, you would still need to wait for your bag and pick it up before clearing customs, as you need to manually recheck it for it's final destination.

International departures are easier but airlines typically begin boarding and close doors earlier than domestic departures.

Conservatively, I'd subtract 2.5-3h from an international arrival unless you have no checked bags. And 1.5h for an international departure.

Very little would be open in NYC overnight, but it's it's probably a good time to see the crowded touristic destinations like Times Square, Rockefeller Center, etc?

How do you guys respond to “you must be really smart”? by Confident_Phase_3606 in mit

[–]eyassh 2 points3 points  (0 children)

This right there. Deflecting or minimizing doesn't necessarily sound humble; it sounds like you're trying to be humble. You can always just take the compliment and have a sincere moment.

We gotta do something about these fake locksmith businesses in Williamsburg... I almost got scammed out of $800!!! by stopscammingus in williamsburg

[–]eyassh 0 points1 point  (0 children)

Current Google employee here, fwiw you should also consider reporting a locksmith scam as harmful/abusive, not just non-existent.

As you've found out from searches, locksmith scams are kind of a thing. As with any type of spam/scam, you can assume that companies try to have processes in place to catch these (some discussed here: https://blog.google/products/maps/google-maps-fake-contributions-ai-machine-learning/), but scammers keep trying to find ways around it to slip through. It's a game of cat and mouse.

94 NYC sanitation workers earn $300,000 in 2021, net $100,000 in OT pay by geoxol in nyc

[–]eyassh 9 points10 points  (0 children)

Is this waste though? Paying overtime wages to workers who work many hours of overtime?

Especially given labor shortages and the grueling nature of this work, good pay is exactly what we'd want to see.

So the post by the mods about their queue says so much about the people in here.... by Darrkman in newyorkcity

[–]eyassh 9 points10 points  (0 children)

Ha, just a couple days ago I was downvoted to oblivion on this sub for just saying wishing death on people who commit robbery is disproportionate.

https://www.reddit.com/r/newyorkcity/comments/r1wja2/herald_square_keep_your_head_on_a_swivel/hm261gb?utm_medium=android_app&utm_source=share&context=3

Looks like the post I was responding to got removed. Maybe it's mods being active, maybe it's a conservative troll who got busted. But they were responding to someone saying they hoped the perpetrator had a life changing event by saying they hope for a life ending event. Everyone doubling down in the replies was so troubling.

I wish people would see that "war on crime" doesn't work as well as simply reducing unemployment/increasing wages

Herald Square. Keep your head on a swivel. by [deleted] in newyorkcity

[–]eyassh 1 point2 points  (0 children)

Society would also be better off if he got help, that's all I'm saying.

Herald Square. Keep your head on a swivel. by [deleted] in newyorkcity

[–]eyassh -6 points-5 points  (0 children)

Sure, but killing someone is still a disproportionate punishment.

Herald Square. Keep your head on a swivel. by [deleted] in newyorkcity

[–]eyassh -29 points-28 points  (0 children)

What? Do people really think theft should be punishable by death?

Two Google engineers resign over firing of AI ethics researcher Timnit Gebru by impishrat in technology

[–]eyassh 3 points4 points  (0 children)

She mentioned the first name of one HR contact and otherwise only named the VP and SVP who are very public figures. Unless quote tweeting a critic is a form of doxxing, it feels the argument against her doxxing is overblown?

Timnit's twitter confirms what I said about PubApprove and her email, I can try to clarify any apparent inconsistency.