Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rkangel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
151.
▲
by
rkangel
2y ago
This article makes a logical step that I think is incorrect - that message order from the server is the order that a client then displays them in. Surely that's a presentation issue - you should display messages chronologically, regard
152.
▲
by
rkangel
2y ago
Don't worry - this is an accurate and concise summary of what Nerves is. What I would add is: you do not have bash (or sh, or any other "conventional" shell). The BEAM is your userspace. You can SSH in, but what you end up
153.
▲
by
rkangel
2y ago
That page includes the text "Our search results also include anonymized API calls to all major search result providers worldwide". They source results from lots of places including Google. One way that you can confirm this is to s
154.
▲
Save the Web – Obsidian
(obsidian.md)
18 points
by
rkangel
2y ago
|
1 comments
155.
▲
by
rkangel
2y ago
> Git is weird and bizarre The core of Git is incredibly simple and elegant (content addressable database). It's an amazing approach to how to represent the data that needs representing. The UI is the challenging bit, and that'
156.
▲
by
rkangel
2y ago
Isn't the "cimport" stuff in Zig going away at some point? Making this somewhat less useful.
157.
▲
by
rkangel
2y ago
One suggestion for local branch logging - you can do `git log master..` and it will show you the log of commits on your branch, stopping when it gets to (the common ancestor with) master. I don't use many aliases, but I do use that com
158.
▲
by
rkangel
2y ago
I would love to hear any suggestions for how to remove all my stored passwords in Firefox. I used to use Firefox password manager but moved to Bitwarden. It has been surprisingly difficult to remove passwords completely as I'm using Fi
159.
▲
by
rkangel
2y ago
> modifying character accelerations based on a fixed frame constant is far more straightforward than the methods required to work with variable time deltas For those who don't know - the reason this is hard is because of the differ
160.
▲
by
rkangel
2y ago
I very quickly had no sympathy at all with the museum. It obtained funding to do the scans with the express purpose of providing to the public, and then decided not to.
161.
▲
by
rkangel
2y ago
> You've got to get comfortable telling users: "that thing that annoys you, isn't valuable right now for the broader user base. We've got 3 other things that will create WAY MORE value for you and everyone else. So we
162.
▲
by
rkangel
2y ago
I do agree on not letting nuclear reactors explode, but I did use the SpaceX example on purpose. Before SpaceX started to do it, the concept of iterating to that degree on rockets was unthinkable. There was a self reinforcing loop of "
163.
▲
by
rkangel
2y ago
I firmly believe that iteration is the key to good engineering. SpaceX has got where they are (partly) due to running flight after flight with incremental improvements each time. The problem with the massive reactors is that you get to buil
164.
▲
by
rkangel
2y ago
Yes, I've just discovered that in parallel. All I need for perfection is to be able to enable/disable that in the view dynamically (and the cursor stay in the same place). But what's there is actually useful and I've ins
165.
▲
by
rkangel
2y ago
tig seem pretty close. Does everything except toggling "first-parent". I might implement that bit.
166.
▲
by
rkangel
2y ago
All I want is a good TUI git log viewer. I'm perfectly happy to do all the operations on the command line, but navigating the log works well interactively (e.g. start as --first-parent, with single line entries and then be able to se
167.
▲
by
rkangel
2y ago
I'd love to point you at some code from work but it's all closed source unfortunately. One example that gets used is https://github.com/hexpm/hex which is the code behind the Elixir package management website
168.
▲
by
rkangel
2y ago
> The examples in Elixir all looked more complicated for me to understand, generally, although I understand the value brought that model. The cognitive load seemed fairly higher as well. I can see that might be the case with simple examp
169.
▲
by
rkangel
2y ago
It's a functional language with all the usual bits that entails, so writing pure code is right in its wheelhouse. It's a pragmatic, dynamic language, so very much an easy on-ramp to functional programming. The testing library (ExU
170.
▲
by
rkangel
2y ago
Indeed - that is the exact architecture that the book is talking you through. It maps it well on to the specific tools you have available in Elixir. Unsurprisingly, Elixir is an extremely good fit for this architecture.
171.
▲
by
rkangel
2y ago
It's not just codecs that are different between HFP and A2DP (although that is a big part of the issue). HFP uses an older way (SCO) of transferring the audio which gives much less bandwidth. What we need is a new profile that uses A2D
172.
▲
by
rkangel
2y ago
There are two bluetooth profiles in use here: "A2DP" (Advanced Audio Distribution Profile) and "HFP" (Hands Free Profile). A2DP is how you send high quality audio over standard Bluetooth. The basic codec is OK, and you c
173.
▲
by
rkangel
2y ago
Once you are familiar with either Erlang or Elixir I strongly recommend the book "Designing Elixir Systems with OTP" (the one with the bee and honeycomb on the front). It's not a programming tutorial, but it shows how to st
174.
▲
by
rkangel
2y ago
True, that's definitely possible. I was giving the habitual answer (that I occasionally need to explain to a client at work) why you need to spend $2m having an ASIC made when "it's just digital logic and we got the prototype
175.
▲
by
rkangel
2y ago
The power profile of an FPGA is very different (worse) than dedicated silicon. Both the background current and cost of a gate switch. There are a lot of situations where that isn't acceptable.
176.
▲
by
rkangel
2y ago
This question has an implicit assumption that you're talking about a US-style health system and the incentives that exist in a system of that structure. This is exactly why a structure like the UK NHS which is going for "what'
177.
▲
by
rkangel
2y ago
Worth noting that major languages seem to be moving away from this model. Rust and C# both concluded that the needs of your actual compiler are very different than the needs of an incremental tool that can run on partially written code.
178.
▲
by
rkangel
2y ago
The key superpower is a culture of refactoring when needed. I firmly believe you should design for the problem you've got now, and not worry too much about the future. You're usually wrong about it anyway! This is fine, as long as
179.
▲
by
rkangel
2y ago
> it's funny that many people mention boot time as a metric For the majority of deployments of systemd, that's probably true. Note that this is a musl port, and that the existing musl port is from OpenEmbedded. It's embedd
180.
▲
by
rkangel
2y ago
We expect people to have a labbook per project. They are logged when handed out, and signed back in at the end of the project. For a science/engineering firm, this sort of arrangement isn't uncommon, because stuff you do in the la
More ›