Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xobs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
xobs
3y ago
Completely unrelated, but Google Maps seems to have (or had) a rule in place to expand "Int" to "Interchange". Meaning here in Singapore there are a lot of local bus interchanges that get labels like "Bedok Internat
32.
▲
by
xobs
3y ago
In software, you pass configuration on the command line or in environment variables. In hardware, you "strap" pins to a particular value when the chip powers on. You can strap them high (tie them to the power source), strap them l
33.
▲
by
xobs
3y ago
I've had very good luck with Seafile
34.
▲
by
xobs
3y ago
I absolutely would use this for workshops I give, where users bring a variety of oddball hardware and want to do things like run FPGA synthesis or run software that pokes USB packets to communicate with debug endpoints. In the past I'v
35.
▲
by
xobs
3y ago
I haven't ever seen a controller that does the BPSK modulation required for A ports. I suspect the standard was defined, but everyone just decided to do signalling over the CC pins on USB-C and ignore the USB-A standard. If you know of
36.
▲
by
xobs
3y ago
.my is Malaysia. It's .mm for Myanmar.
37.
▲
by
xobs
3y ago
As far as I can tell, it's because the configuration comes from EAP-SIM ( https://datatracker.ietf.org/doc/html/RFC4186 ) which gets refreshed on every reboot. This cannot be controlled - it will always regener
38.
▲
by
xobs
3y ago
The implementation here is rather annoying, because as soon as you enter the tunnel the wifi cuts off. But there's a 10-15 second latency where network connections just fail as the phone decides the AP is actually gone before it cuts o
39.
▲
by
xobs
3y ago
I've most definitely run into issues with others in that list, and my reports to the companies never generated an errata. One fun one was that when accessing the External Memory Interface module (think: parallel ROM) and switching from
40.
▲
by
xobs
3y ago
Yeah, and I like I mentioned in the earlier comment, omitting the frame pointer reduces code size by 10% on RISC-V targets, which is huge when dealing with embedded flash: https://github.com/tock/tock/pull/166
41.
▲
by
xobs
4y ago
As others have noted, the issue isn't execution speed. Rather it's the fact that the memory and disk requirements increase by 10% which has a measurable effect on cost. We currently load the entire program into RAM to make things
42.
▲
by
xobs
4y ago
Unfortunately, it increases the code size by 10%. I was looking into this just last week, and can confirm that it's still a problem on the latest version of Rust nightly: https://github.com/tock/tock/pull/
43.
▲
by
xobs
4y ago
Surprisingly, seems like it's reasonably good! There's a section in this blog post about characterizing it and comparing it to a hardware implementation: https://www.bunniestudios.com/blog/?p=6521 Since it&#x
44.
▲
by
xobs
4y ago
We solved this by porting ring to rust using c2rust, and the resulting code seems to work well even on our bespoke architecture. It's possible to use the generated code and cross compile from any major platform to riscv32imac-unknown-x
45.
▲
by
xobs
4y ago
It's probably Nucleus, which is what Mediatek uses a lot on their low-end phones: https://en.wikipedia.org/wiki/Nucleus_RTOS It's not open source per se, but the phones themselves tend to have very little mod
46.
▲
by
xobs
4y ago
That's it exactly. "要" means "want", and "不要" means "not want".
47.
▲
by
xobs
4y ago
You can do that! But you may run into a problem where one of the crates you use detects that you're using nightly, and then opts in to nightly-only features. Except it may be using features that are only available on the latest version
48.
▲
by
xobs
4y ago
This is still a problem with the latest version of Rust: https://play.rust-lang.org/?version=stable&mode=debug&editio... If you set the array size to 32, then it works. You can get around this by using a macro, inst
49.
▲
by
xobs
4y ago
This is correct. When you tell someone to install Rust, they go to rustup.rs and install the latest version. Therefore, we need to have a libstd port for the latest version. Which effectively means we need to release libstd as soon as possi
50.
▲
by
xobs
7y ago
This design does actually have a second external FPGA chip, which is in the "Untrusted" domain. It's running an ICE40UP5K, and acts more as the power management IC that turns the secure domain on and off.
51.
▲
by
xobs
7y ago
It looks like there are two Laotian payment providers -- BCEL OnePay and LDB Trust -- and two Chinese payment providers -- WeChat (which has two signs there) and AliPay. Here in Southeast Asia, many payment providers are springing up and th
52.
▲
by
xobs
7y ago
I've had reasonable luck with ext2fsd ( https://sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.68/ ). I've never gotten the latest version -- 0.69 -- to work, because I don't think i
53.
▲
by
xobs
8y ago
Copper tape on cardboard. Cardboard is a fantastic material. You can draw the schematic on, and then run copper tape along the schematic. It's easy to annotate, since you just need to use a pen. It's able to handle much more cu
54.
▲
by
xobs
8y ago
They provided an itemized, timestamped receipt. (Source: Bunnie is a colleague of mine.)
55.
▲
by
xobs
8y ago
Many of those /are/ programmable. Here's the code we used to get code execution on an SD card bought at the markets in Shenzhen (the project I did with bunnie, referenced above): https://github.com/xobs/a
56.
▲
by
xobs
8y ago
Microsoft's Surface connector is Magsafe-ish, with USB and DP lines running through it as well. When I get to the office I put my laptop vaguely near the connector and it snaps into place, giving me two extra monitors, an external key
57.
▲
by
xobs
8y ago
Web-View ( https://github.com/Boscop/web-view ) and Tether ( https://github.com/quadrupleslap/tether/ ) are two examples of what you're looking for. Web-View is built for Go, but has bindin
58.
▲
by
xobs
9y ago
WhatsApp used to do this [1], and WhatsApp is owned by Facebook. They've since stopped. [1] https://www.androidpolice.com/2016/09/09/whatsapp-is-blockin...
59.
▲
by
xobs
10y ago
The trains communicate wirelessly. The system is entirely underground, do theoretically interference shouldn't have been an issue. They shut off the mobile networks for a while to try and isolate the issue. It's interesting to rea
60.
▲
by
xobs
10y ago
The Chinese language family is a pretty big one, at least in terms of population. They all start numbering with Day One as Monday.
More ›