☆ Yσɠƚԋσʂ ☆
- 11.2K Posts
- 10.8K Comments
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto World News@lemmy.ml•Left-ruled Indian state of Kerala achieves lower infant mortality rate than US and developed countries7·22 hours agoThe current right wing government will implode eventually, and communism being incubated in Kerala will be very valuable when that happens.
☆ Yσɠƚԋσʂ ☆@lemmy.mlto World News@lemmy.ml•Romania becomes second Nato country to report Russian drone in its airspace7·2 days agoThe drones don’t even have the range to go from Russia to Romania last I looked.
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto Technology@lemmy.ml•Africa Just Launched Its Own Internet — And Google Should Be Terrified1·2 days agoPeople in Africa are largely using phones from China which don’t run Android. For example, Huawei has its own HarmonyOS now, that was forked from Android a while back and it’s no longer compatible with it.
I do think that Linux based phones would be great, but it doesn’t seem like there are any viable options in the foreseeable future.
☆ Yσɠƚԋσʂ ☆@lemmy.mlto Communism@lemmy.ml•From a Marxist perspective, why would the US Republican Party aim to deport undocumented immigrants?9·3 days agoTo discipline labour. It makes those who weren’t deported more scared, and thus more open to accepting increased exploitation.
☆ Yσɠƚԋσʂ ☆@lemmy.mlto Asklemmy@lemmy.ml•have you found a good use case for generative AI?1·3 days agoThat’s not a lot by LLM standards. :)
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto Programmer Humor@lemmy.ml•When people encounter Lisp syntax for the first time1·3 days agoAgain, it’s very weird to single out one type of control character. You have to compare syntax trade offs holistically. However, even when you straight up compare parens, there isn’t a significant difference. Pretty much every language, except those using whitespace, will have two parens for arguments and curlies for the function body, or a statement. This is roughly the same number of parens you end up with in Clojure, minus all the other characters. The difference is just not that dramatic in practice.
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPtoShare Funny Videos, Images, Memes, Quotes and more @lemmy.ml•Modern Phones10·3 days agoI really don’t understand the obsession with making the phone ever thinner. I completely agree it should be as thick as the thickest component all the way through, and you can always just use that space to make a bigger battery.
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto World News@lemmy.ml•Von der Leyen’s GPS scare gripped Europe. The Russia allegations are starting to unravel.4·3 days agoIt’s incredible to see how Europeans are looking at what happened to Ukraine and thinking yeah we want some of that at home too.
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto Technology@lemmy.ml•China Reportedly Advances to 5nm AI Chips as Domestic Firms Tape Out Two New Solutions For Model Training & AI PC Workloads1·3 days agoThey’re not doing that, they’re using an alternative approach to EUV
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto Programmer Humor@lemmy.ml•When people encounter Lisp syntax for the first time1·3 days agoYou said that “Lisp” is actually a family of languages, that Clojure uses fewer parens than other Lisps (I object: still more than non-Lisps), that there are macros for infix expression syntax (I object: non-standard/3rd-party solutions that only help with operators), that parens don’t even matter because of structural editing tools (I object: irrelevant, the discussion was about the number of parens, not whether they “matter”).
Clojure, uses different types of syntax to denote different types types of data structures, and thus different types of operations, such as statement declaration. I even gave you examples showing that you get the exact same amount of visual information as you do in other languages.
Meanwhile, you object to the very nature of how Lisp works. The whole point Lisps is that you allow the user to easily create whatever semantics they want using macros. This is something that’s not possible to do in most languages. If you want some new semantics or syntax you have to wait for the language committee to agree on that.
The big advantage here is that the core language can stay small and focused without having to grow over time. This is what you see happening in practically all mainstream languages. Usage patterns change, applications of the language change, and as a result new syntax continues being bolted on which makes the language ever bigger and harder to learn.
On the other hand, with Lisp approach, you have a small language that’s simple and consistent while libraries express different semantics that happen to be needed at the time. As a user you only have to learn the semantics of the libraries used in the project you’re working on. As different patterns fall out of use, they don’t accrete within the core language. New users don’t need to know about random quirks that were popular a decade ago.
Your second objection is also nonsensical because these is how the language used in practice. Pretty much nobody would write code without syntax highlighting, and similarly you wouldn’t use s-expressions based language without structural editing. This is a made up argument that’s a complete non sequitur. I’ve even showed you sweet expression alternative syntax that exists and literally nobody uses. If your argument had any merit to it, then that’s what Lispers would use.
I also disagree with “the total number of parens in your examples is about the same”. This is a micro-example, so when the original Lisp (Clojure) code has 4 pairs of parens and the C-style (JavaScript, Perl) version has 2, that’s twice the parentheses to me, not “about the same”.
const hypot = (x, y) => Math.sqrt(x ** 2 + y ** 2);
4 parens, 1
,
,1=
, 1;
, 1=>
, 1=
(defn hypot [x y] (infix sqrt(x ** 2 + y ** 2)))
6 parens, 1
[
Clojure version is more consistent with less noise. Ignoring all the other noise you have to add is frankly intellectually dishonest. Whether it’s a paren or a comma, or a semicolon, an arrow or an equals sign, it’s still syntax. Clojure version has less syntax. That’s literally less stuff I need to parse visually and worry about when writing code.
Let’s take a look at your JavaScript version more closely, and it immediately becomes obvious that you’re not actually saving anything here. You just end up sprinkling more types of control characters in it:
9
{
, 15(
, 12=
(for assignment), 16;
3,
, 1?
,That’s about a factor of 3. Now, you can argue that I shouldn’t care about the parentheses, but my point is simply that they’re there and you can’t really avoid them if you write in anything resembling idiomatic Lisp.
Yeah if you just ignore all the other control characters you had to add instead then you sure saved on parens. Bravo!
Your whole argument is basically treating parens as something different from other syntax characters, which is a nonsensical argument. If you’re going to compare syntax then you have to compare all the syntax you have. The only type of syntax that will give you significant reduction would be white space based syntax as seen in Python or Haskell, but that adds its own problems hence why most languages avoid it.
☆ Yσɠƚԋσʂ ☆@lemmy.mlto Asklemmy@lemmy.ml•have you found a good use case for generative AI?1·3 days agothe 3B version should need fairly modest hardware
☆ Yσɠƚԋσʂ ☆@lemmy.mlto Asklemmy@lemmy.ml•have you found a good use case for generative AI?4·3 days agothis might be of interest, it’s a model that generates svgs that work really great for stuff like icons https://github.com/OmniSVG/OmniSVG
☆ Yσɠƚԋσʂ ☆@lemmy.mlto Asklemmy@lemmy.ml•have you found a good use case for generative AI?3·3 days agoI’ve found lots of great uses. I find LLMs are great for grammar and spellchecking, acting as a sounding board, doing translations, writing shell scripts, digging through unfamiliar code bases, figuring out configurations for tools, finding relevant stuff in large documents, and they can be helpful for coding in languages I’m not well versed in.
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto Technology@lemmy.ml•Africa Just Launched Its Own Internet — And Google Should Be Terrified4·4 days agoCorrect, they built their own infrastructure and aren’t dependent on US big tech by design. Other countries can do this too.
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto World News@lemmy.ml•Nepali protesters use ChatGPT to pick their new leader9·4 days agowelcome to the resitance
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto Technology@lemmy.ml•Africa Just Launched Its Own Internet — And Google Should Be Terrified16·4 days agoThe African Internet Exchange System project was launched by the African Union Commission to promote the exchange of intra-African internet traffic within the continent. Before the project, Africa was paying overseas carriers to handle this traffic, which was both costly and inefficient. The project is a key part of the Program on Infrastructure Development in Africa, which aims to establish an intra-African broadband infrastructure and has highlighted the importance of Internet Exchange Points.
The main difference between the AXIS project’s proposed system and the global internet is the way internet traffic is routed. The global internet often routes intra-African traffic through overseas carriers. The AXIS project’s goal is to keep this traffic within the continent by exchanging it locally or regionally through IXPs. This eliminates the need for international transit, which reduces latency and saves costs.
there’s some more info here
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto World News@lemmy.ml•‘China Is the Engine’ Driving Nations Away From Fossil Fuels, Report Says4·4 days agoTry to keep up.
- China’s carbon emissions have been in a structural decline since 2023 https://www.theguardian.com/business/2023/nov/13/chinas-carbon-emissions-set-for-structural-decline-from-next-year
- Clean energy was top driver of China’s economic growth in 2023 https://www.carbonbrief.org/analysis-clean-energy-was-top-driver-of-chinas-economic-growth-in-2023/
- China installed more solar in 2025 than rest of the world combined https://electrek.co/2025/09/02/h1-2025-china-installs-more-solar-than-rest-of-the-world-combined/
- China’s solar capacity surges; predicted to top 1 TW by 2026 https://www.rystadenergy.com/news/china-s-solar-capacity-surges-expected-to-top-1-tw-by-2026
- China is also building out nuclear at a breakneck pace https://www.economist.com/china/2023/11/30/china-is-building-nuclear-reactors-faster-than-any-other-country
- New energy vehicles account for 77.6% of China’s public transport system https://www.shine.cn/news/nation/2403089981/
Finally, it’s also worth noting that China has a concrete plan for becoming carbon neutral, and short term coal usage has been found to be in line with China’s climate pledges
☆ Yσɠƚԋσʂ ☆@lemmy.mlOPto Technology@lemmy.ml•Africa Just Launched Its Own Internet — And Google Should Be Terrified51·4 days agoYou don’t see google doing much in China or Russia nowadays.
reminds me of this gem https://elpidio.org/2018/02/12/citigroups-plutonomy-memo-there-are-rich-consumers-and-there-are-the-rest/