Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elcritch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
691.
▲
by
elcritch
2y ago
I've wanted to try writing a Linux driver in Nim for fun. I've ported and used Nim in a couple of RTOS'es and it's pretty straightforward. Of course there wouldn't be official support or anything, but it wouldn'
692.
▲
by
elcritch
2y ago
The Linux kernel only compiles with GCC the last I heard though. Also the libc is probably different, so I suspect it'd be trickier than expected.
693.
▲
by
elcritch
2y ago
> so it seems unlikely that Android phones are secretly monitoring what you say without anyone noticing the data being transmitted or the battery drain. Ah! So that’s why Androids always have bigger batteries than iPhones. ;)
694.
▲
by
elcritch
2y ago
WiFi 6 does ok for VR. The current limitations IMHO are the hardware on glasses / headsets in terms of compute and power. Not too dissimilar to how wireless earbuds just weren’t practical til what 5 years ago?
695.
▲
by
elcritch
2y ago
That's fascinating about charge density of a particle being a dirac delta function. Is that a mathematical convenience or something deeper in the theory?
696.
▲
by
elcritch
2y ago
I've been enjoying the improvements in Nim's effect system lately. The Nim LSP recently added the ability to see the exceptions any function can result in. It's been pretty handy. Well when the LSP isn't crashing like a
697.
▲
by
elcritch
2y ago
Thanks! I've been wanting to automate my home. I'd prefer something like these with backup and without proprietary hubs. Any that you'd recommend in particular?
698.
▲
by
elcritch
2y ago
I don't quite follow what the author is saying. Perhaps I'm missing something about Go. Also, I'm not aware if Go has a way to make stack-only structs which aren't pointers. To me it seems more like they're just ind
699.
▲
by
elcritch
2y ago
Change your interface to the LLM to email. Then you're just sending emails and get your answer back in 15 min. For many cases that'd be useful.
700.
▲
by
elcritch
2y ago
Bit of a pity now that the most advanced process nodes would be available via TSMC. Solaris seemed to be much more solid than linux overall.
701.
▲
by
elcritch
2y ago
If you're brave!
702.
▲
by
elcritch
2y ago
Second that. My job before last moved to a locally hosted enterprise Github instance, which promptly ate itself. The specs required to run it were also impressive, something like 64gb minimum to boot but more was strongly recommended.
703.
▲
by
elcritch
2y ago
I've been a Mac guy for a long time. Guess calling it alt instead of option is just a hard habit to break. ;)
704.
▲
by
elcritch
2y ago
On macs you can do `alt` and `-` to get a –. Even on a phone a proper emdash can add effect over a regular dash.
705.
▲
by
elcritch
2y ago
I have a friend who's a pastor. As a basic rule of a good sermon he always quoted the old addage: "Tell them what you’re going to tell them, tell them and tell them what you’ve told them".
706.
▲
by
elcritch
2y ago
> I think you're moving the goalposts. You invoked deaths directly attributable to industrial process. Directly or indirectly, industrial processes are always going to be somewhat dangerous. TFA is discussing indirect deaths due to
707.
▲
by
elcritch
2y ago
No, we can't. Not every material or chemical has an entirely safe replacement. PPE isn't perfect. Let's say all industrial workers wore air-tight safety suits, then the suits themselves would still be somewhat toxic.
708.
▲
by
elcritch
2y ago
Available IPv4 address space running out in many regions of the world seems like a good business case.
709.
▲
by
elcritch
2y ago
There’s more support for doing some various JS events locally without waiting for the server. It also improves the offline connection support as well AFAICT. The `JS.push` stuff was new to me and makes it easy to do simple functionality lik
710.
▲
by
elcritch
2y ago
Well Erlang and Elixir both have a type checker, dialyzer, which has a type specification not to far from what you proposed. Well excluding the variable or function captures. Elixir’s syntax for declaring type-specs can be found at https:&
711.
▲
by
elcritch
2y ago
Wiring up the tracks shouldn't be expensive. See there's two metal tracks, just use one for the positive line and one for the negative line. ;)
712.
▲
by
elcritch
2y ago
> I've started caring about semantics a lot more than syntax, which is why I also haven't looked at Zig, Nim, Odin, etc: I am no longer interested in "a better C". Well the post rambles a fair bit, IMHO. The whole bit
713.
▲
by
elcritch
2y ago
Should Russia’s military really be included among the most powerful in the world? They haven’t been able to defeat Ukraine which is much smaller and weaker. On paper Russia is a dominant military power but in reality their equipment is poor
714.
▲
by
elcritch
2y ago
Code reloading on embedded Nerves devices is fantastic. If you have non-trivial hardware or state you can just hot load new code to test a fix live. Great for integration testing. I literally used hot code reloading a few weeks back to fix
715.
▲
by
elcritch
2y ago
And functions are just numbers combined with if/else's and a pretty name at the end of the day. If this number, jump to numberA otherwise jump to this numberB. Also if numberC store numberD at numberE. ;)
716.
▲
by
elcritch
2y ago
Yeah all of the complex chemical reactions our bodies do are handled by structures which self-repair when damaged. Our technology level isn't that advanced yet. Any in body system would almost certainly need to be replaced more often t
717.
▲
by
elcritch
2y ago
I suspect a lot of it could be related to ISP bandwidth. I streamed it on my phone without issue. Another friend put their TV on their phone’s WiFi which also worked. Could be partly that phone hotspots lower video bandwidth by default. I s
718.
▲
by
elcritch
2y ago
Yet there are places which have been geologically stable for 100's of millions of years or more. Change does happen but the risks can be made negligible compared to the various risks associated with other sources of energy. The damages
719.
▲
by
elcritch
2y ago
Handy site! Next I want one to explain some of Rust’s more cryptic pointer gibberish. Usually I just hit “use suggested fix X” until the compiler’s happy.
720.
▲
by
elcritch
2y ago
Or AI tools will be used to pad out the reports making the author look prolific while knowing everyone will summarize the report to important parts.
More ›