« first day (4840 days earlier)      last day (21 days later) » 

12:14 AM
 
 
2 hours later…
2:06 AM
@noodleman u need 30 downvotes
 
Can this be solved in seconds for N=50? I know it's NPC but 50 allows some NPC
8
Q: How secure are my locks?

PurkkaKoodariYou have been assigned the task of installing new locks to the company's building. However, the locks you use are quite unusual: they require some combination of keys to open. Now, you want to figure out which locks are the most secure, so you can prioritize the most important locations. The key...

 
2:47 AM
13
Q: A game of locks and keys

ghosts_in_the_codeThere are n boxes, numbered 1-n. Each box is locked, such that it can be opened by only one corresponding type of key (also numbered 1-n). These keys are randomly scattered in the boxes (one box may have any number of keys, one key may have any number of duplicates), and then all boxes are shut. ...

Wrong question copied.
 
3:26 AM
@Seggan …
it’s not my account btw if that wasn’t clear, just some SO user i clicked on
 
4:04 AM
@l4m2 First calculate which treasures you will get by picking each box (O(VE) time). Now this is a set cover problem, so plug it into your favorite SAT or MIP solver. Should handle N~100 in a fraction of second I believe
 
 
3 hours later…
 
3 hours later…
Remove everything after the ? for it to onebox
 
**CMC** Given a,b,c,d,e, detect if pattern
```
a b
. c
d e
``` exist inside
@mousetail Removing resultin "This content is no longer available."
 
Adding &.gif to the end seems to also work
 
 
3 hours later…
12:55 PM
@RydwolfPrograms a TypeScript song? :p
 
 
2 hours later…
2:50 PM
Just when I thought I had all the movement bugs fixed lol
 
3:01 PM
Even games with budget constantly have physics bugs
 
 
1 hour later…
4:06 PM
@noodleman ah
 
4:19 PM
@l4m2 discord cdn links just expire after a while now
reminder that you can also upload to sechat through pasting links :P
 
Are there two same ◇s?
 
 
1 hour later…
5:47 PM
@Ginger TypeError: 'CruelSummer' does not implement interface 'HeavyMetal'
 
6:03 PM
heh
 
6:42 PM
iheh
 
7:20 PM
@DannyuNDos whenever SE unblocks my server
if you don't like it, tell them to hurry up :p
 
 
4 hours later…
11:02 PM
Well, movement is now fully working in my game, and I did it the hard way
(calculating the exact distance you can go in your current direction before hitting something, and moving exactly that far, rather than just moving in small increments until you're inside something)
And I also have the hard part I've never tried before, deflecting off surfaces (so if you walk diagonally into a wall along the x-axis, you'll move along it at 1/sqrt(2) speed)
I kinda cheated for circular objects for now tho
You'll just deflect off linearly, rather than wrapping around it in a perfectly circular arc, meaning that technically there can be non-floating-point-error differences in the physics depending on framerate, but that's not a huge deal
 

« first day (4840 days earlier)      last day (21 days later) »