Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BorisTheBrave
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
BorisTheBrave
6y ago
> the official APIs and be done with it Ah, you mean the official API that hasn't been released yet, will take even longer to roll out, and won't be available on older models? Great idea. Not to mention the fact that Google
92.
▲
by
BorisTheBrave
6y ago
Great article. This seems like a pretty ringing endorsement - the app seems likely to work despite iOS restrictions, gets a more or less clean bill of health privacy wise, and was released earlier than Apple's own product. It's su
93.
▲
by
BorisTheBrave
6y ago
I suspect in legal terms, if you feed copyrighted images into a computer program, the output is a derivative work, AI or no. As you say, some of the output images are clearly of specific characters, which turns this from "legally grey
94.
▲
by
BorisTheBrave
6y ago
Is that right? My understanding is that given someone else's daily key, it can tell you whether you were in contact with that specific key. So anonymity relies on not knowing who had that key. But the (as yet unspecified) authority col
95.
▲
Constraint Solving and Wave Function Collapse Explained
(boristhebrave.com)
4 points
by
BorisTheBrave
7y ago
|
0 comments
96.
▲
by
BorisTheBrave
7y ago
"Later he applied his extravagant principle to the other numbers. In place of seven thousand thirteen, he would say (for example) Maximo Perez; in place of seven thousand fourteen, The Train; other numbers were Luis Melian Lafinur,
97.
▲
by
BorisTheBrave
7y ago
This article contains a logical error. The premise is JITs are hard to benchmark and keep good performance on. That's true. But the alternative is bad performance all the time (the JITS fall back to interpretation, after all). What
98.
▲
by
BorisTheBrave
7y ago
This is not true, bytecode stores fields and classes as fully qualified strings: https://stackoverflow.com/a/17406592
99.
▲
by
BorisTheBrave
7y ago
I've found it's surprisingly hard to get a satisfactory recording setup - noise, volume, echoes.
100.
▲
by
BorisTheBrave
7y ago
And the X also stands for extended.
101.
▲
by
BorisTheBrave
7y ago
All the major arrays are named after mathematical constructs you can find defined elsewhere. There's examples of them in the docs, and the describe function dumps them out for you. The hairiest parts of the code and where he deviates f
102.
▲
by
BorisTheBrave
7y ago
Are we looking at the same file? It has masses of high quality comments. I think calling this stringly typed is unfair. Basis names appear to be strings with some densly coded information in them, and can sometimes take the values "-1&
103.
▲
by
BorisTheBrave
7y ago
Devs should enjoy writing trivial tests? Heaven forbid businesses might care how quickly something is delivered? Let us know when you are willing join the rest of us in the real world.
104.
▲
by
BorisTheBrave
7y ago
Note that the implementation described above uses the Arc Consistency 3 algorithm for the propagate step. It's often an order of magnitude faster to use AC4, as is done in the original WFC repo and in my implementation ( https:/&#
105.
▲
by
BorisTheBrave
7y ago
So, Sonos optionally lets you brick your own device, as part of their Trade Up program that gives a discount on your next device. It's named Recycle mode as, presumably, all the bricked devices are good for is recycling. There doesn&#x
106.
▲
by
BorisTheBrave
7y ago
Actually no. Thin, quickly rotating objects are an area where a lot of collision detections libraries fall down - the simpler algorithms just look at the position of the objects each frame, and two swords can easily pass through each other
107.
▲
by
BorisTheBrave
7y ago
I used dotPeek to decompile the source (it wasn't obfuscated), and Unity Asset Bundle Extractor to browse the game objects. A lot of the game logic was written in coroutines, which dotPeek exposes as state machines, so I had to do some
108.
▲
by
BorisTheBrave
7y ago
Charging $3 dollars will mean you $2 of profit with 50% of your customers, and $0 with the rest (as they won't buy it). The coupon strategy will make you $3 with 50% and $1 with the rest. The cost of issuing the coupons themselves is s
109.
▲
Procedural Level Generation in Enter the Gungeon
(boristhebrave.com)
2 points
by
BorisTheBrave
7y ago
|
0 comments
110.
▲
by
BorisTheBrave
7y ago
I'm not sure what you are expecting. I'm describing the algorithm used, so yes, I used the terminology of the algorithm. Wang tiles doesn't say anything specific about the arrangment of tiles as there are many tilesets that h
111.
▲
by
BorisTheBrave
7y ago
I called it marching squares because that is what it is. It takes an array of bits, and for each group of 4 of them, finds one of 16 cases. It's not wang tiles - Wang tiles do not actually specify how you pick them, and the diablo tile
112.
▲
by
BorisTheBrave
7y ago
They treat addons as GPL'd. The same issue comes up with Blender Game Engine, requiring the whole game to be GPL.
113.
▲
by
BorisTheBrave
8y ago
You might want to try my project DeBroglie ( https://boristhebrave.github.io/DeBroglie/ ). It comes with a console application that runs WFC based on JSON config files, so you can experiment with generation without writi
114.
▲
by
BorisTheBrave
8y ago
It's really not. There's no probability field (unless you count booleans as a scalar), no complex numbers, and no entanglement. It's just constraint propogation, optimized for certain conditions and given a fancy name. I gues
115.
▲
by
BorisTheBrave
8y ago
WFC collapse is an awesome algorithm, but I think this demo really illustrates that to get nice looking output with procedural generation also requires an excellent eye for design. I've played around a bit with WFC and wrote a library
116.
▲
by
BorisTheBrave
8y ago
Have you ever written a Sudoku solver. It works like that. You start with an array where every tile is possible in every location. Then you pick a random cell and assign a tile to it. That tile implies some choices are impossible, so you se
117.
▲
by
BorisTheBrave
8y ago
Author here. No. I saw some neat stuff from the author of WFC[1], and realized it combined perfectly with another proc gen algorithm I'd designed earlier[2]. Hence why this is the only implementation I've seen with non-local const