Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dljsjr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
dljsjr
5y ago
Nova has a JS-based extension API as well.
62.
▲
by
dljsjr
5y ago
Apple's ARM chips can process a metric ton of ops per cycle due to the architecture of the chip: https://news.ycombinator.com/item?id=25257932
63.
▲
by
dljsjr
5y ago
For those of us that don't follow Premier League Football, what's the context here?
64.
▲
by
dljsjr
5y ago
A lot of people also miss that in ECS, "System" is part of the "noun triple" and not a description of the first two nouns. Put another way, there's a difference between an "Entity Component" architecture a
65.
▲
by
dljsjr
5y ago
I believe that they actually meant more like NIST/FIPS compliance type stuff so that big orgs that have to meet certain certifications will know if they can use your product or not. EDIT: for example: https://auth0.com/
66.
▲
by
dljsjr
5y ago
The difference is that cxx is doing codegen to create a C ABI compatible bridge. So the same thing most people already do when they want to interact w/ C++ over FFI. I believe that TFA is actually saying that the Swift compiler speak
67.
▲
by
dljsjr
5y ago
I worked in a laser lab w/ an optical table in college and I believe it's called a beam probe mount. If you're referring to the black powder coated aluminum block w/ the through-hole and the tightening screw.
68.
▲
by
dljsjr
5y ago
"Support" refers not to the ability to make the installation, but rather whether or not Microsoft is going to spend energy making sure their OS works well on the given configuration. The fact that they straight up say that these c
69.
▲
by
dljsjr
5y ago
Windows 11 has made a lot of questionable choices that are leading to a lot of people staying on Windows 10 voluntarily. Windows 11 has additionally made a lot of questionable choices that are forcing a lot of people to stay on Windows 10 i
70.
▲
by
dljsjr
5y ago
That's exactly what `git commit --fixup` and `git rebase --autosquash` does then.
71.
▲
by
dljsjr
5y ago
Sure. I do that as well. But this article was advocating for using a soft reset to replicate what is ostensibly the built-in fixup mechanisms from interactive rebasing.
72.
▲
by
dljsjr
5y ago
I would reject a merge from a branch that does more than one thing at a time as you've described during code review. It's okay to have a branch that does a bunch of things at the same time, but come time to merge back to `main` th
73.
▲
by
dljsjr
5y ago
lazygit is also great. VS Code also makes it easy to stage hunks in the editor if you like to stay in your editor; in the diff viewer from the Git view you can highlight the lines you want to stage and right click -> stage selected range
74.
▲
by
dljsjr
5y ago
1. `git rebase -i` to the commit before the one you want to split 2. mark the commit you want to split as an `edit` 3. remove the file(s) you want to edit from the index so that it's part of your working tree 4. use `git add -p` to sta
75.
▲
by
dljsjr
5y ago
After learning about fixup and squash commits, I started typing `git rebase -i --autosquash` so frequently that I made an alias for it. It has totally changed the way that I work. You get to have the best of both worlds; commit early, commi
76.
▲
by
dljsjr
5y ago
The reset part seem superfluous, most of this can be handled via rebasing. In fact, this is exactly what we do at <day job>. Much like the thesis of this article, the goal is to have a set of well organized commits so that when it com
77.
▲
by
dljsjr
5y ago
No this is not idiomatic Rust code and it's a problem I personally have with a lot of Rust example code. In practice most people would say that you should avoid using unwrap unless there is absolutely no other way, and in this example
78.
▲
by
dljsjr
5y ago
They mention in the article that auth is handled by reusing the existing row level security you'd already use to secure the DB (i.e. `CREATE POLICY`).
79.
▲
by
dljsjr
5y ago
This is the release that rolls out their new rendering engine that they've been working on for a while: https://www.phoronix.com/scan.php?page=news_item&px=Blender-...
80.
▲
by
dljsjr
5y ago
Most modern browsers throttle or suspend JS execution in tabs that don't have focus anyway.
81.
▲
by
dljsjr
5y ago
A common interface with all of the required functionality exposed as interface methods. A Java person would argue that if you have a function that takes an object that can be two totally disparate things with no shared functionality then th
82.
▲
by
dljsjr
5y ago
That’s fair. Although I think the characterization of doing RPC over Redis’s built-in pubsub is a little uncharitable. You’d just fire off a PUBLISH command w/ the channel and payload, and you’d receive the response to the RPC request
83.
▲
by
dljsjr
5y ago
I actually did understand that and I think it’s super cool from a technical perspective. I was just curious as to the use case where this was a strong contender to beat out the built-in stuff you can get from Redis server. It’s a “small” im
84.
▲
by
dljsjr
5y ago
The fact that a certain demographic might be more likely to respond to the LEO with violence doesn’t matter because this isn’t a discussion about causation and correlation, it’s just a discussion about the fact that non-white people are mor
85.
▲
by
dljsjr
5y ago
That’s correct but my point was that Redis has an out-of-the-box solution for “message passing arbitrary data using the Redis protocol over TCP to named endpoints”, and Redis Server is a very lightweight piece of software. Even if you aren’
86.
▲
by
dljsjr
5y ago
I’m not 100% sure I’m understanding but if the idea is to implement a “traditional”/synchronous RPC mechanism you can do that using the PubSub functionality trivially and I’m not sure which additional moving parts it adds unless you’re
87.
▲
by
dljsjr
5y ago
If the idea is to leverage the Redis protocol for an “API”, what are the benefits to this approach over using the built-in `pub-sub` and the regular old C implementation of Redis Server? I could maybe see some really specific use-cases for
88.
▲
by
dljsjr
5y ago
You’ve still completely ignored the peer-reviewed Harvard study. Also I don’t know what left or right social politics has to do with any of this.
89.
▲
by
dljsjr
5y ago
That tweet you referenced is heavily cherry-picked: it talks about the results of violent-crime calls, and it doesn’t discuss location. There are two issues with this: 1. Civilians are also murdered by police who are responding to non-viole
90.
▲
by
dljsjr
5y ago
I stand corrected, that's a useful template project. Thanks for linking!
More ›