Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geokon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
571.
▲
by
geokon
4y ago
I got kinda intimidated with the Asciidoc toolchain that I instead just wrote a bit of Clojure to call the Java AsciidocJ API. A tiny script that did what I want (make Reveal slides) and it's simple/straightforward and I guess cro
572.
▲
by
geokon
4y ago
But have any of the issues the article addresses been smoothed out? The guy basically built a whole macro layer to make inkscape less clunky
573.
▲
by
geokon
4y ago
okay, i think we understand each other. It's an interesting thought experiment. And you're right that probably the majority of Clojure libs do involve interop. Thanks for taking the time to write :)
574.
▲
by
geokon
5y ago
Thanks for the insight. It seems to match my understanding Correct me if I'm wrong, but you don't typically interact with the host directly when using core data structures. If you were to rewrite those for instance in terms of lis
575.
▲
by
geokon
5y ago
Maybe it's a bit naiive, but I'd imagine having a small-core interpreted Clojure and different host implementation would incrementally overload functionality and reimplement using the host's features. But the design (granted
576.
▲
by
geokon
5y ago
I'm surprised people have managed to port Clojure to so many platforms. Seems like a ton of work! :) From what I understand the vanilla JVM implementation isn't built around a small core. So it's not like porting a Scheme. Al
577.
▲
by
geokon
5y ago
I think you're just guessing In the link you provide the first picture "An unclipped siliqua" it's clearly not round and off center If anything the clipped ones are rounder and more symmetric
578.
▲
by
geokon
5y ago
Anyone know why they had so much trouble making the coins round? In fact I feel a lot of ancient metal work looks a bit non-symmetric (dare I say sloppy?) - though there doesn't seem to be any technical limitation at play
579.
▲
by
geokon
5y ago
Not my area of expertise, but in my limited experience DEM tiles are usually GeoTIFF. This can be 16bit greyscale. The catch is that these are actually signed... Elevation doesn't start at 0meters bc you have locations below sea level
580.
▲
by
geokon
5y ago
oh that's really cool. What's the driver situation with something like that? On Linux do I just write to some file and it's mapped to some hardware pins? Or it's more complicated than that?
581.
▲
by
geokon
5y ago
Is this on the ribbon cable? Okay with a breakout board, this would be really interesting and offer something quite unique It's actually open space right now in the market. It's an annoyance/limitation that the easiest curren
582.
▲
by
geokon
5y ago
As far as I can tell, it has no output pins. So it's not comparable to Raspberry Pi (or other ARM SBCs). More akin maybe to an Android TV box? Short of making something through USB - you can't make your own header boards or easily
583.
▲
by
geokon
5y ago
I don't understand your complaint. Are you regularly finding bugs in the runtime and in the core libraries? If you compiled to byte code how would that makes anything easier? Or you're just annoyed that stacks includes Java frames
584.
▲
by
geokon
5y ago
What do you feel the "choice" with vaccines was? So even if they overlooked the politics/"optics", I don't think they could go to the Western pharmaceutical companies and just ask for 3 billion doses. With boos
585.
▲
by
geokon
5y ago
So what is the difference between this and JNA? I assume it's not the same since it's taking a while to be added to the language
586.
▲
by
geokon
5y ago
If you are working with a crappy language then that's probably true. But it doesn't have to be a lot of boilerplate and it can be local in scope. In Clojure it's a one-liner. (extend-protocol libA/stringable
587.
▲
by
geokon
5y ago
I'm sorry, but this whole comment section is in some collective psychosis from 2010. You don't need to mangle variable names or create custom types (and then the insane machinery to have them all interact properly) Have none of yo
588.
▲
by
geokon
5y ago
"The fact these companies will have been audited in the same way .." Have they? Are you sure? The Huawei audit were not a routine audit. According to Wired it was done by the special British "Huawei Cyber Security Evaluation
589.
▲
by
geokon
5y ago
"But would it be significantly harder to do, easier to detect, and easier to resolve? Yes, and that makes them better suited to critical infrastructure. " But like what is that conclusion based on? I'm not saying you're
590.
▲
by
geokon
5y ago
A perfect situation for Hanlon's razor... Is this stuff not par for the course? Everything hardware/embedded in my experience is like a decade or two behind the current norms for c/c++ programming. What I never understood fro
591.
▲
by
geokon
5y ago
So then the question is.. why have R/Python/etc. reinvented the wheel with their own datatable structures instead of using SQL?
592.
▲
by
geokon
5y ago
Right! the dplyr functionality seems to match 1-to-1 to what a cursory look at SQL told me - hence my confusion as to why they reinvented the wheel instead of using an industry standard The async table access is an interesting angle - assum
593.
▲
by
geokon
5y ago
Oh the course starts today.. Is there way to view the lectures without enrolling? Just more generally, do you have some mental model when you move from using something like a dataframe to using SQL? For instance people working in R rarely t
594.
▲
by
geokon
5y ago
So uhh, when are you gunna use a dataframe and when will you stick to SQL? My understanding is that SQL can sorta do a very powerful (and standardized/fast) subset of what a dataframe can
595.
▲
by
geokon
5y ago
Piggybacking.. What's a good resource to learn SQL from scratch? Maybe out of ignorance, but in all the years I've programmed I've never had a situation when I said to myself "I need a database"! I either have data
596.
▲
by
geokon
5y ago
In Clojure you can use JavaFX through cljfx https://github.com/cljfx/cljfx/ I haven't used React, but I think it's very similar. You have a state atom and then a datastructure that represents the GUI and
597.
▲
by
geokon
5y ago
Oh right, I keep forgetting Nix has official stable channels :). I think they're pretty short lived though. 6 months from what I remember. Nonetheless definitely a leg up on GUIX. Thanks!
598.
▲
by
geokon
5y ago
You know the rollback aspect is something I really overlooked! Thanks for pointing that out
599.
▲
by
geokon
5y ago
I'm not a unix guru, but from my experience with C++ build systems I feel the reproducible build thing seems completely at odds with rolling releases. When I have a reproducible built with C++/CMake/Hunter, what I want is a s
600.
▲
by
geokon
5y ago
Oh okay, I see the distinction. The library would be interpreted and not compiled to JS - and I guess there would be a needless performance penalty. So it wouldn't be of much use outside of this particular scenario. Nonetheless it seem
More ›