Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elcritch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
961.
▲
by
elcritch
3y ago
Random web apps that aren't the worse offenders. Heck, half of web apps use bootstrap and at least make buttons buttons. It's the big "professional" players like Apple, Microsoft, Google, etc which appear to think that t
962.
▲
by
elcritch
3y ago
Part of me wants to ignore that it's a constructed image and go on imagining entangled particles forming yin / yang images. Perhaps I can't critique the media too much for implying the same. Though the actual research seems i
963.
▲
Fast constant-time pairing or elliptic curve based cryptography (Nim/C)
(github.com)
4 points
by
elcritch
3y ago
|
0 comments
964.
▲
by
elcritch
3y ago
In general I’ve preferred Firefox’s lower memory usage than pure speed.
965.
▲
by
elcritch
3y ago
Bummer, Zedeus just got Nitter fixed up like 2 weeks ago. Seems they keep turning off apis.
966.
▲
by
elcritch
3y ago
I've used Nim as a C/C++ "successor" language too with its new default memory management in the 2.0 release. It's handy to interface with opencv or other C++ code bases: https://nim-lang.org/docs
967.
▲
by
elcritch
3y ago
Impressive work! You give me hope that we'll be able to continue scaling computing in domains which require it. Also makes me wonder if Google's DWave could be more similar to this method rather than true quantum computing.
968.
▲
by
elcritch
3y ago
Right and assembling things by hand will probably become a niche hobby like retro computing. For small scale startups assembling things by hand may still even be a valuable skill in some cases. Thoygh with the way AI is progressing we may s
969.
▲
by
elcritch
3y ago
The BBC article mentions this. UPS reported they'd post lower profits.
970.
▲
by
elcritch
3y ago
It's unclear why the techempower gives low performance for elixir / phoenix. But from what I've heard is that in real world applications the performance tends to scale much better than Python or Ruby.
971.
▲
by
elcritch
3y ago
My guess would be that it'd be similar to silicon wafer production and just require lots work to industrialize the process and hone production. Graphene is just particularly difficult due to its 2-d nature, but lk-99 looks to a regular
972.
▲
by
elcritch
3y ago
> one that the 4th amendment doesn't apply because you haven't proved its yours. the text says "The right of the people to be secure in their" so it applies after you prove it is something you have the right to be sec
973.
▲
by
elcritch
3y ago
Everytime this comes up I'm utterly shocked how such blatant violation of the fourth amendment hasn't been struck down by the supreme court. Especially for conservatives it should be a clear case of governmental overreach. For the
974.
▲
by
elcritch
3y ago
Really? Sounds like it could be fun to play with my nieces. It'd be fun to show them how to play with "programming".
975.
▲
by
elcritch
3y ago
1.6 should have a few years of support. Though 2.0 is largely compatible with older Nim code.
976.
▲
by
elcritch
3y ago
With 2.0 out and ORC being default it compiles and works just fine. There's not too many libraries specializing for wasm stuff though, so you gotta use emscriptens or similar.
977.
▲
by
elcritch
3y ago
Yep! https://github.com/EmbeddedNim
978.
▲
by
elcritch
3y ago
Yah it's annoying, but I just rename one. Beff331 made a lib that uses tuples and avoids the naming issue: https://github.com/beef331/fungus
979.
▲
by
elcritch
3y ago
Most of those libraries are written in C++ or C, which Nim has excellent support for. I've used opencv c++ library with Nim. It's just that opencv is so massive it'd take a lot of work to wrap well, so I haven't yet. Som
980.
▲
by
elcritch
3y ago
> And I don't understand _why_ it has to infer anything, as the type is explicitly declared. The seq declaration doesn’t need to be inferred. However the right side does need to be inferred from the declaration. > I mean, there a
981.
▲
by
elcritch
3y ago
> Imagine writing Python style pseudoocode for ESP32 and it being super efficient without trying, and with bare metal control when you want. To be fair, I did have to spend like 2 hours tuning my ESP32 code for handling a 22 kSPS ADC whe
982.
▲
by
elcritch
3y ago
It looks simple but in a typed language it's actually somewhat tricky. The compiler needs to infer that the 1 is a float type, 2 is a byte, and compile it appropriately. Previously Nim didn't do any "reverse" type infere
983.
▲
by
elcritch
3y ago
Ugh, I just got done spending months fighting CMake before moving back to a position using Nim! You can also compile C projects with Nim like bearssl [1]. Nim takes care to compile the C files and recompile them when config flags change. It
984.
▲
Nimbus – A Lighter Ethereum Client (Nim)
(nimbus.team)
2 points
by
elcritch
3y ago
|
0 comments
985.
▲
by
elcritch
3y ago
The lack of recursive imports can be annoying, but I found I don't mind it. It keeps your module tree into a DAG. Chronos is probably the most feature rich and uses async. Mummy is newer and uses a threading model. Both are used in pro
986.
▲
by
elcritch
3y ago
They've improved the compiler analysis for them significantly, including exhaustivity checks and field checks.
987.
▲
by
elcritch
3y ago
You might like Patty. It makes case types more ergonomic: https://github.com/andreaferretti/patty
988.
▲
by
elcritch
3y ago
Not just stretched, but convoluted beyond recognition. The prohibitionists were a bit fanatical but at least they did it properly and passed an amendment for it.
989.
▲
by
elcritch
3y ago
A more cynical interpretation is that normally non-enforced laws are a great way for the government to provide extra pressure when desired. It's not just stodgy politicians, but massive federal agencies with vested interest keeping the
990.
▲
by
elcritch
3y ago
> To be fair, mass misery is very real: starvation, thirst, poverty, forced migration, etc. It's just a "local" problem and internal so "doesn't count" to the popbomb deniers. Those have all been problems ev
More ›