Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rkangel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
421.
▲
by
rkangel
4y ago
I'm a big fan of LiveView, but when you get to a very high degree of interactivity or anything that needs to work well offline or with bad signal quality then LiveView is not the right choice.
422.
▲
by
rkangel
4y ago
> Also the BEAM bytecode compiler and runtime are incredibly slow and unoptimized Can you provide any citations for the BEAM runtime being unoptimised? In my experience it has been very carefully optimised over many years, generally prio
423.
▲
by
rkangel
4y ago
> These days dreamwidth.org is harder to view and interact with than facebook.com if you don't have an account. We really need to stop linking to it and link instead to an archive.is copy or the like. It just opened like a static HT
424.
▲
by
rkangel
4y ago
The main advantage should be proper base station handoff. If you have a house that can't be covered by a single wifi access point (or an office), then the normal approach is multiple APs with the same SSID. It's a bit of a hack
425.
▲
by
rkangel
4y ago
> What’s also interesting was that the processor was actually a 32 bit processor iirc (at least the later ones). The 16 bit variant is purely the VM mode they run “application” code on which emulates the environment of an old CPU (my gu
426.
▲
by
rkangel
4y ago
That's interesting. I didn't actually know the definition of uintXX_t. I was actually doing this with C90 most of the time, and using types we had defined (rather than from stdint.h). Sounds like they were more equivalent to int_l
427.
▲
by
rkangel
4y ago
It turns out you're right, and that's how I've actually written these examples in the past. A sibling comment provided a citation, and that I should really have been writing uint_leastXX_t: https://en.cppreference.
428.
▲
by
rkangel
4y ago
I can't remember the precise wording in the standard , but sizeof() is effectively "how many of the minimum addressable thing do you need to store this thing". The "minimum addressable thing" is called a byte, and o
429.
▲
by
rkangel
4y ago
Is it? Cool! I haven't done anything with an Arduino for a while, and only used larger AVRs.
430.
▲
by
rkangel
4y ago
> #elif SIZEOF_SIZE_T == 2 // LOL Fun fact - for a while, this was true for the third most popular processor architecture in the world, one that most people haven't heard of. CSR (the bluetooth chip maker) was originally a
431.
▲
by
rkangel
4y ago
Yeah, the only time I've done it, it was an ARM based chip that didn't actually have a full MMU (i.e. full virtual addressing), but did have an IOMMU.
432.
▲
by
rkangel
4y ago
I believe (without supporting data) that most altnets that are expanding coverage to people with poor broadband are government funded. The economics in London are quite different than that of a rural village.
433.
▲
by
rkangel
4y ago
I'm guessing the virtual memory trick it to set up a page mapping so that the next bit of virtual address space after your hash table, is the same physical memory of the hash table again. The power of 2 restriction is needed to make th
434.
▲
by
rkangel
4y ago
This is a reasonable argument for higher cost and lower capacity. It is not a good argument for unreliability in a service that should be fairly mature by now.
435.
▲
by
rkangel
4y ago
The UK was a bit slow to get going but is going in the right direction at a reasonable pace now. Openreach has been doing a rollout covering most people and the DCMS voucher scheme is funding independents to fill in the gaps. I believe ther
436.
▲
by
rkangel
4y ago
Bluetooth from an regulations point of view has the same power limits as wifi (it's in the same 2.4 Ghz ISM band). In practice Bluetooth devices are small which limits both antenna size and desired power consumption so they tend to ope
437.
▲
by
rkangel
4y ago
Are you definitely using GPT4? The normal chat.openai.com does not use GPT4.
438.
▲
by
rkangel
4y ago
One of the more impressive developers of open source graphics drivers posts her youtube videos using an anime avatar and a voice changer ( https://www.youtube.com/watch?v=XG9xUxIf73o ). The world changes, and your signals for
439.
▲
by
rkangel
4y ago
I have a close friend who lives in Edinburgh (Scotland) who has an electric cargo bike. Edinburgh is full of very steep roads, lots of them cobbles rather than tarmac. It's also cold and wet in the winter (although nowhere near as snow
440.
▲
by
rkangel
4y ago
I think "self-limiting" is a key point here. People who are moderately drunk are not very dangerous, and people who are very drunk are just not capable of cycling - it requires a certain degree of coordination.
441.
▲
by
rkangel
4y ago
> They don't reduce housing supply They don't reduce housing supply for living , but they do reduce housing supply for owning . Normal people being able to own the house that they live in seems like a reasonable societal goal
442.
▲
by
rkangel
4y ago
I tried my friend's cargo e-bike for 20 minutes in Edinburgh - I didn't even notice that lag. As i turned up the dial for the motor, it just felt like I was turning down the physics! Everything just got magically easier.
443.
▲
by
rkangel
4y ago
That would work to a point. There is still a hole based on your trust of the underlying implementation. If you haven't read "Reflections on trusting trust" I recommend it ( https://www.cs.cmu.edu/~rdriley/
444.
▲
by
rkangel
4y ago
The old truism is that "in the short term things change less than you expect, and in the long term things change more than you expect". I'm wondering if we're going to get into a circular problem of information "pur
445.
▲
by
rkangel
4y ago
No, but you have to look for (and talk in terms of) actual level of capability rather than just "you've done it for a while".
446.
▲
by
rkangel
4y ago
As an aside, in the UK and EU you also can't discriminate based on age, but that means that you can't do anything based on length of service . For example, it is illegal to place a job advert requiring "x years of experience
447.
▲
by
rkangel
4y ago
What did you feel you needed to change on your project because the default template had changed? If the code works, then it keeps working. I've run into this with the Phoenix generators a bit because you need to make changes to your pr
448.
▲
by
rkangel
4y ago
If you do go this route, this blog post might be useful: https://xeiaso.net/blog/how-i-start-nix-2020-03-08 I found it yesterday (via another HN post), which shows the steps needed for exactly your use case.
449.
▲
by
rkangel
4y ago
There is an extra superpower here that isn't mentioned - you can then trivially turn this into a CI job. This is a valid complete .gitlab-ci.yml file for the setup in this blog post: image: nixos/nix:latest before_scrip
450.
▲
by
rkangel
4y ago
Until the Nix team is happy to even enable flakes by default in releases, I don't think it is reasonable to expect people to use them by default.
More ›