Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
h0l0cube
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
811.
▲
by
h0l0cube
4y ago
If I were you, I'd go out and talk to people. Talk to friends in the industry. Go to tech meet ups. Even your neighbors might know someone who knows someone. If you can be adaptable, and self-promote, you might even find opportunit
812.
▲
by
h0l0cube
4y ago
Whenever I've seen a situation with low supply/high demand, networks trump credentials
813.
▲
by
h0l0cube
4y ago
> millions of people regularly die on the other end of the desertification caused by that desert This is speculation, not argument. Regardless, also in the article you’ll find how solar farms are cordoned off areas, razed clear of vegeta
814.
▲
by
h0l0cube
4y ago
> most hostile parts of the planet It seems like you missed the point of my comment, and maybe didn’t read the article very closely. Whether one leans towards conservation of culture and ecology or not, it’s fair to say that reducing lan
815.
▲
by
h0l0cube
4y ago
> Deserts and nomadism are romantic in literature and movies only The inhabitants of the land defend their way of life, which is more an existential concern for their culture, not so much romanticism. From TFA: > Salime says “8,000 vi
816.
▲
by
h0l0cube
4y ago
It's a little unfair categorization of why people are averse to nuclear energy. It really doesn't help that both government controlled and commercial operations have traded-off costs for safety leading to high-profile incidents.
817.
▲
by
h0l0cube
4y ago
> Putting solar panels in the desert is good for the environment Instead of altering unique grassland and desert ecosystems, and displacing nomadic tribes, the better option for 'the environment' and its peoples would be to bui
818.
▲
by
h0l0cube
4y ago
That's odd. I downgraded with asdf to 1.12.2 tried the same thing and it worked on my M1. You could try upgrading either Erlang/Elixir. Failing that, there's a lot of helpful people on elixirforum.com (which now features l
819.
▲
by
h0l0cube
4y ago
> where is ecto even installed? For Mix.install you can optionally specify the cache directory. For regular projects they are in the deps folder. > The location of the cache directory can be controlled using the MIX_INSTALL_DIR envir
820.
▲
by
h0l0cube
4y ago
You could adapt this script and replace Postgrex with the ecto_sqlite3 adapter: https://github.com/wojtekmach/mix_install_examples/blob/main... https://github.com/elixir-sqlite/ecto_sqlit
821.
▲
by
h0l0cube
4y ago
Insect hotels can also be useful for attracting solitary bees, wasps, and butterflies https://en.wikipedia.org/wiki/Insect_hotel
822.
▲
by
h0l0cube
4y ago
> switching track is difficult [...] (And I say this having recently sucessfully made the switch from React to Svelte) Having developed with Angular and React, and dabbling with Vue, I have to say that Svelte has the best ergonomics of t
823.
▲
by
h0l0cube
4y ago
> unfortunately many governments have proven incapable of responsibly handling the money The system that GP described forces people to put their money into superannuation funds (not government) that invest on their behalf, which I'd
824.
▲
by
h0l0cube
4y ago
> "different" platform with it's own unique patterns and quirks Much of what OP listed was a criticism directed at LiveView , the 'Live App' functionality, not Phoenix , the web framework. Live Apps are not ex
825.
▲
by
h0l0cube
4y ago
Agreed. I think the OPs criticism of LiveView is also a bit overblown. You have blocking latency issues in CRUD apps too, and in general UI changes pair with data updates, and as you say, where they don't you can still do client-side
826.
▲
by
h0l0cube
4y ago
Ah yeah sorry, you're right. It was actually the GGP talking about OTP that inspired me to write the comment, but it is actually relevant to the immutable aspect of Elixir (which is something you don't really see outside FP) as
827.
▲
by
h0l0cube
4y ago
I agree. As I said it’s those programmers coming in from non-functional languages (likely the majority). When you’re conditioned to using for loops with mutation, it can feel strange to use these new patterns. I think comprehensions, map,
828.
▲
by
h0l0cube
4y ago
> the OTP library is often treated as a core part of the language and that did take a fair amount of learning before it clicked. For me, probably the 2 most foreign concepts coming in with a non-functional mindset were GenServers and tai
829.
▲
by
h0l0cube
4y ago
> informative [...] of the issues with this famous web framework The conflation of LiveView with Phoenix web framework is dangerous misinformation. LiveView is just a subset of Phoenix, with very specific trade-offs and unfamiliar progr
830.
▲
by
h0l0cube
4y ago
> Phoenix is bad in environments with bad wi-fi I think people conflate LiveView with Phoenix . I think the former is a little over-hyped, has a high learning curve, has an impedance mismatch with usual web developer tooling and libr
831.
▲
by
h0l0cube
4y ago
> Meanwhile, developers are siphoned from real projects like, gee, I don't know, getting Python 3.10 out on Lambda? Why isn't competition putting pressure on AWS? A cursory googling around seems to show that Google Cloud Functi
832.
▲
by
h0l0cube
4y ago
> In fact a lot of politicians come from consultancies (like McKenzie) and the ties are blatent. The phenomenon is so pervasive in governments it has a name: https://en.m.wikipedia.org/wiki/Revolving_door_(politics)
833.
▲
by
h0l0cube
4y ago
> That’s not free market, that’s government trying to help out. I figure you’re making reference to the US healthcare system, which is an anomaly in a world of public health systems that function cost effectively
834.
▲
by
h0l0cube
4y ago
> won't work if you (just) want conciseness I think Jose's example provides the best of both worlds, conciseness and readability. > you have more room to comment what the intention of the code/call is There's nothi
835.
▲
by
h0l0cube
4y ago
No downvotes from me btw, but I think the author and just about most people using Elixir (which tends to not be a first language for most in the community) have used the classic-style of temporary variables for lack of any other option. Cer
836.
▲
by
h0l0cube
4y ago
> "we can make things faster" I said they are fast now for the reasons specified. > "Well, things are fast enough for me!" Which ... OK. They're 60+ fps. Fast enough for everybody.
837.
▲
by
h0l0cube
4y ago
Of course the best thing to do when you have an unwinnable argument is to change the argument, but I'll move with you. > converting that markup into a tree The web is indeed dynamic. It means any cache-misses for webpages will requ
838.
▲
by
h0l0cube
4y ago
> I'm having a hard time squaring this statement Would you like to point out where I'm mistaken? Or are you just feigning superiority? DOM objects can have exactly one parent, many children, and cannot have cycles (i.e, no par
839.
▲
by
h0l0cube
4y ago
Okay, I might be making an appeal to authority here, but I've been a mobile developer for 10 years, a web developer for 2-3 years, and I've done perf with C++/Asm for years of my career, so know that I'm not coming from
840.
▲
by
h0l0cube
4y ago
Certainly that’s a fallacious argument of a different kind. > specific performance tradeoffs But you don’t specify. Android is built upon the JVM which is affected by GC pauses much the same as JavaScript, but the performance issues are
More ›