Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shhsshs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
shhsshs
2y ago
The author mentions UUIDs are hard to copy/paste because of the hyphens.
32.
▲
by
shhsshs
2y ago
The example in the EnforcePlayerTurns section is kind of buggy. Make an attempt to place two Xs in a row in different cells, then place an O in a third cell - the second X you attempted to place will magically show up at the same time as t
33.
▲
by
shhsshs
3y ago
I think we would all agree you have to REALLY let your guard down to accidentally open a file like that. But you would be surprised how much you drop your defenses when you are convinced you just got an email from a friend/business par
34.
▲
by
shhsshs
3y ago
Many FPS games move the camera by listening to relative mouse movements and moving your camera a corresponding amount, while keeping your cursor hidden and in the center of the screen. Absolute movements cause different issues depending on
35.
▲
by
shhsshs
3y ago
That is not quite a true "slot" behavior because the containing pages have to have a reference to the main layout via `{{ define "main" }}`
36.
▲
by
shhsshs
3y ago
I have been using a catch-all for about 2 years now with great results. I hadn't thought of hashing/obfuscating the emails though. I think since I use a password manager anyway, I could just generate a random 6-8 character prefi
37.
▲
by
shhsshs
3y ago
Shapez.io is a great introduction to factory building games. It’s basic and visual enough to be immediately understandable but there’s a lot of room for advanced builds. It is getting a sequel soon, too.
38.
▲
by
shhsshs
3y ago
That is a result of texture healing. The page explains how it works.
39.
▲
by
shhsshs
3y ago
The code uses `//go:embed` which actually embeds a fake filesystem into the binary. It’s really easy to miss that part, but it truly is one single binary, despite seeming to reference files by paths.
40.
▲
by
shhsshs
3y ago
I was surprised to see what looked like my username on the front page… not quite!
41.
▲
by
shhsshs
3y ago
There are several methods of 2FA available that do not require a cell phone. I use KeePassXC for all of my 2FA codes, including GitHub.
42.
▲
by
shhsshs
3y ago
It does not change in any substantial way, but you do get a boost to various stats in subsequent universes. You can also get "artifacts" by navigating the different universes which give some other significant stat boosts.
43.
▲
by
shhsshs
3y ago
This site is nearly unreadable on mobile because of the following CSS rule: body { padding: 50px 150px; }
44.
▲
by
shhsshs
3y ago
> Easier to build using imperative code than functional. I am a bit confused about this. The following code is pure and I can't think of an easier way to do it imperatively: function triangle(n) { if (n <= 1) {
45.
▲
by
shhsshs
3y ago
One massive thing you lose with multiple cursors versus macros is you lose the ability to perform the same action across multiple files. Like you said, some multi cursor stuff is more useful to developers more focused on large-scale rewrit
46.
▲
by
shhsshs
3y ago
In theory this does not require software developers (other than Apple's) to do anything special to support it either. visionOS has windows and kb/mouse support which means there is potentially no barrier to entry. I'm guessi
47.
▲
by
shhsshs
3y ago
const randomPermutation = arr => intSequence(0, arr.length - 1).map(i => arr[i]) console.log(randomPermutation(['a', 'b', 'c'])
48.
▲
by
shhsshs
3y ago
I have been enjoying Strongbox for passwords plus Mobius Sync (a Syncthing implementation) to keep the password file synced. I am on iOS. Mobius Sync can sync a file to iOS’ built in file store, and Strongbox can read that. So they work p
49.
▲
by
shhsshs
3y ago
Then you are not using enough quotes in your shell scripts.
50.
▲
by
shhsshs
3y ago
I am guessing something like the device knows its owner is under 18, and websites can query “is the user under 18” to disable itself.
51.
▲
by
shhsshs
3y ago
You can emulate a Steam Deck easily on any computer. Just boot up the ISO: https://store.steampowered.com/steamos/download/?ver=custom
52.
▲
by
shhsshs
4y ago
In this example, why use YAML at all?... const thingies = ["a", "b"]; const config = [ "foo", "bar", "baz", { thingies: thingies.map(thing => ({
53.
▲
by
shhsshs
4y ago
In this case - the thing I personally value in the template version is I don't have to name the parameters and specify them in a separate place. It's especially useful in larger queries. var result = await query( &#
54.
▲
by
shhsshs
4y ago
There is a much more civil way to word that. > as Google retiring for on being Google I can't tell what this phrase is supposed to mean. Can you explain/edit your comment? It seems like they meant "as Google retiring from
55.
▲
by
shhsshs
4y ago
You would probably need a much larger sample set to give a "true" indication of relative LoC between different languages. Right now it's probably a good indicator of relative LoC between languages when writing a Game Boy em
56.
▲
by
shhsshs
4y ago
What about special key sequences like Ctrl+Alt+Delete on Windows, or Ctrl+Alt+F-key on most Linux distros? Or even more crazy special commands like Alt+PrintScreen+REISUB?
57.
▲
by
shhsshs
4y ago
LogicCircuit is my personal favorite digital logic sim tool. You can build reusable components with custom inputs/outputs: https://www.logiccircuit.org/ Also worth mentioning NandGame: https://nandgame.com&
58.
▲
by
shhsshs
4y ago
If they're proxying /.well-known/acme-challenge/, you should be able to get a TLS certificate in their name through Lets Encrypt.
59.
▲
by
shhsshs
4y ago
The radius of the sun is not exactly 695,700 km. The radius of the sun is approximately 695,700 km. The nominal solar radius , which is and is intended to be an approximation, is defined to be exactly 695,700 km.
60.
▲
by
shhsshs
4y ago
I agree, though you can make this argument for any other programming language. circle 444 or circle(444) Named parameters are sometimes nice. circle r=444 or circle(r=444)
More ›