Hacker News new | past | comments | ask | show | jobs | submit | esrh's comments login

Yeah, i wish more programs worked like this.

I wrote something similar on a smaller scale for the keihin-kyuukou line in japan: https://rail.esrh.me. Now I live in tokyo and there's several transit options closeby so I would love to have some always on display like this in my room.

Unfortunately, while public transit in the US and Europe seem to be tracked by services with developer friendly APIs, this is not the case in Japan as far as i know -- not that much of a problem back then, i just needed to do some light web scraping.

I wrote all of the scraping/data and processing/frontend code in clojure and clojurescript, and wrote a small blog post about it here: https://esrh.me/posts/2023-03-23-clojure


One thing is that CL has a huge ecosystem and a wide variety of compilers for every purpose you might have. Quicklisp probably beats racket and scheme in this regard, but today clojure might have an edge.

When you use racket and clojure specifically, you're kind of walling yourself into one compiler and ecosystem (two, for clj/cljs). This is a significant disadvantage compared to scheme and CL.

CL the way most people write it is way too imperative and OO for me; it reads like untyped java with metaprogramming constructs. Clojure and scheme in my opinion guide you towards the more correct and principled approaches.

Out of all the lisps, regardless of which ones I like the most, I objectively write emacs lisp the most. This is has definitely influenced my opinions on CL syntax; like my weird love hate relationship with the loop macro: on one hand it's a cool, tacit construct that's impossible in a non-lisp, but on the other hand it hides a lot of complexity and is sometimes hard to get right.


> Smile 3.x Avoided due to licensing

> Smile 3.x is GPL-licensed, which poses some potential conflicts for some end users...The community consensus is converging around moving away from Smile due to the GPL-relicensing issue, focusing instead on Tribuo...

(tribuo is developed by oracle)

It's a really great thing that the java community has a high performance and well accepted (~5x stars than tribuo) ML package that's GPL. CF python where the top two libraries are developed by google and facebook. The GPL protects individual, independent developers.

I don't think it's right to recommend that new users move away from the package because of licensing issues; the fact that it's GPL now is a good thing for everyone except corporate users (probably a great part of readers). The people who might have GPL problems already know themselves when they'll have a problem.


> I don't think it's right to recommend that new users move away from the package because of licensing issues

I was going to chime in to agree but then I saw how this was done - a completely innocuous looking commit:

https://github.com/haifengl/smile/commit/6f22097b233a3436519...

And literally no mention in the release notes:

https://github.com/haifengl/smile/releases/tag/v3.0.0

I think if you are going to change license, especially in a way that makes it less permissive, you need to be super open and clear about both the fact you are doing it and your reasons for that. This is done so silently as to look like it is intentionally trying to mislead and trick people.

So maybe I wouldn't say to move away because of the specific license, but it's legitimate to avoid something when it's so clearly driven by a single entity and that entity acts in a way that isn't trustworthy.


Yeah.. I have all the respect in the world for Haifeng's talent and I totally understand (and agree!) that open source developers need to be compensated one way or another, and I don't want to get into a debate that could lead to accusations by people who don't know the full story, but there are definitely some sour grapes over the whole situation and some of the pull away from smile has more to do with feelings that not everyone involved is acting in good faith more than issues about GPL exactly.


I don't disagree at all, but unfortunately it's mostly out of the hands of any community to recommend or enforce usage of a given library. There are many valid concerns around GPL licensing (not that I necessarily agree with them), but ultimately ignoring the requirement of many orgs to not use GPL-licensed code would just harm the ecosystem.


It's also not visible on mobile


True, I removed it there without Louis noticing :)

Why do you want to filter posts by type?


Very cool!

I also like these hand drawn 3d illustrations of stations: https://architizer.com/blog/inspiration/industry/x-ray-visio...


After visiting your link I've been looking for a while to see newer drawings from Tanaka, but they've lost the domain for their architecture studio site, and he has the same name than Godzilla's creator, so it took me a while but here's his updated studio site, where you can find more drawings on the "works" section.

http://tassaa.html.xdomain.jp/index.html


I used to use par before I switched to far (https://cgdct.moe/blog/far/) which produces better looking paragraphs in my opinion by minimizing the variance between lines while using the fewest number of lines possible.

There is a native emacs version as well, at https://github.com/eshrh/far.el (i wrote it)


The cli tool qalc is usually bundled with libqalculate


https://esrh.me

Not a whole lot, some mix of japanese, emacs and lisp. Static site made with hakyll.


Thanks for the tip! Anyone wanna be my cofounder?


Haha my first thought as well. The issue I see is what’s the moat?


It's to be freer than china


"If we extend unlimited tolerance even to those who are intolerant, if we are not prepared to defend a tolerant society against the onslaught of the intolerant, then the tolerant will be destroyed, and tolerance with them"


"Saying something is true doesn't make it true, but if you say it enough times it can literally make it seem true."

https://en.m.wikipedia.org/wiki/Illusory_truth_effect

Tolerance is an important social/psychological phenomenon, but perception is even more important. Teaching people to think in memes is dangerous imho.


Combine this with "lies spread faster than truth," and you can see why advancements in communication technology proceed periods of social upheaval, at least until inoculating social technologies are developed to moderate the synergy of these two effects.


> Combine this with "lies spread faster than truth,"....

Even more complicated:

- this applies to all piecs of information, including mainstream "truths" that are not actually true

- there is an important distinction between lies, speaking untruthfully, speaking misinformatively, etc

- most people are not just bad at epistemology (and related fields), they think they are good (because it seems that way, and "seems true equals true" in our culture) - epistemology is highly counter-intuitive


Yep, the critique of social facts on HN gas gotten me some of the most extreme responses. It's also frankly, delightful to frame personal opinion in the language of social fact and have folks wires get fried not knowing how to respond. Espistomology can have it's entertaining and playful side too. :)


Espistomology is awesome, I have soooo much fun with it....I think of it as the Achilles Heel of:

- Normies

- The Man

They are both utterly defenceless against it (yet: don't have any realization of it), it's almost like a weapon from another dimension of reality.


On top of that, maybe we shouldn't put tolerance itself as a goal? It's a tool. And a tool that can be greatly abused. But nowadays it seems to be a goal by itself. Which both opens up a lot of abuse and seems a wee meaningless as a goal by itself.


Why flag intolerance selectively?


China is an existential threat for western block. She is buying almost all mines of raw materials needed for batteries and green economy, generally speaking, she's going to buy russian gas at great discount, she's undermining western established institutions. Maybe it's a good thing for the world to be more balanced towards a so big autocracy, it seems majority of people don't care about democracy. But I'm egoist, I live in the west and I care about the future of my country.


I've been hearing this for years, possibly decades. If China is such an existential threat, why didn't we (the wealthiest country in the world) buy up those mines ourselves?

Why is TikTok of all things where we're making our stand? I don't buy it.


The US Government has very little interest in becoming the employer of mines overseas... and rightfully so. The accusations of colonialism when applied to the United States are quite appropriate.

Having arbitrary companies buy the mines is something that they occasionally do - however, that comes with the risk of exposing themselves to the corruption and issues of the country where the mines are located. The FCPA https://www.trade.gov/us-foreign-corrupt-practices-act makes it difficult for companies that aren't going to use bribery to compete against other companies and countries where corruption isn't seen as an issue.

These can make it rather difficult for the United States government or a company based in the United States to try to "buy up" the raw materials of other countries.

TikTok, however, is a way for one government that the US has a strained relationship with to potentially direct the public discourse in the US or use it to track / identify individuals. The spying that was mentioned is https://www.theguardian.com/technology/2022/dec/22/tiktok-by...

> TikTok has admitted that it used its own app to spy on reporters as part of an attempt to track down the journalists’ sources, according to an internal email.

> The data was accessed by employees of ByteDance, TikTok’s Chinese parent company and was used to track the reporters’ physical movements. The company’s chief internal auditor Chris Lepitak, who led the team involved in the operation, has been fired, while his China-based manager Song Ye has resigned.

> ...

> ByteDance and TikTok had initially issued categorical denials of the allegations when they were first reported. The company claimed it “could not monitor US users in the way the article suggested”, and added that TikTok had never been used to “target” any “members of the US government, activists, public figures or journalists”. Those claims are now acknowledged to be false.


"The US Government has very little interest in becoming the employer of mines overseas... "

US does this for Oil rather. It isn't so sophisticated in mining. But it has occupied the Syrian oil fields and uses them to supply military bases.

Crickets in the media - because it wouldn't look good.


> But it has occupied the Syrian oil fields

As a consequence of the US war with the Islamic State across Iraq and Syria; IS had previously occupied Eastern Syria where the oil fields now controlled by the US are located.

> Crickets in the media - because it wouldn’t look good.

Crickets in the news media largely because the news media covers news and static situations aren’t news (same reason whey the occupation of Crimea got intense coverage for a short time in 2014 and then critics until 2022, which wasn’t because Russian aggression and occupation looks bad for the US.)

The news media covers events related the US presence in Syria, but the ongoing fact just isn’t news.


"The news media covers events related the US presence in Syria, but the ongoing fact just isn’t news."

I hard disagree - smuggling out oil in multiple large convoys by the US military from a region just after a significant natural disaster is most certainly news. But the US media will never cover something like this.


(From 2021) https://www.polygraph.info/a/fact-check-syria-false-claim-th...

> In 2020, a U.S. firm called Delta Crescent Energy LLC secured a deal with the Kurdish authorities under an authorization from the U.S. government. The firm’s partners include former U.S. ambassador to Denmark James Cain, also a Republican campaign donor; James Reese, a former U.S. special forces officer; and an experience oil executive, John Dorrier Jr.

> The Daily Beast reported that Delta was to earn $1 per barrel of oil exported from Syria, according to government filings. Dorrier, the firm’s CEO, had worked with a U.K. oil company with offices in Syria. He told the Military Times that Delta “had some $2 billion in contracts to sell oil into the international market that will benefit American allies in northeast Syria that have helped in the fight against the Islamic State group.”

> The Assad foreign ministry called it all a U.S. plot to “steal Syria’s crude oil.” The ministry described the Kurdish forces as “terrorist militias,” and predicted they would be defeated by the government.

> Delta Crescent Energy was the only firm licensed by the U.S. government to work in Syria. The license was permitted despite U.S. Treasury sanctions aimed at punishing the Assad regime.

> Things changed when the new Biden administration did not renew Delta’s sanctions waiver this year.

> In February, Pentagon spokesman John Kirby said that the 900 American troops then in Syria were there to resist IS and “are not authorized to provide assistance to any other private company, including its employees or agents, seeking to develop oil resources in Syria.”

---

Do you have any additional sources that support the US is using Syrian oil fields for supplying US Bases?


You have to look at non MSM and non US media sources. What is declared "formally" by the US is not what goes on under the hood. US is generally famous for underhanded stuff like this in the middle-east.

https://www.thecitizen.in/opinion/us-continues-to-occupy-syr...

https://www.tasnimnews.com/en/news/2023/03/05/2863033/us-con...

https://thecradle.co/article-view/22945/us-resumes-theft-of-...

Smuggling out and plundering valuable resources from a region that has undergone a disaster is what I call "evil" by any definition.

Also, you may wish to find and talk to some savvy educated Syrians. They will laugh if you suggest the US is doing nothing of the sort. Of-course, usually, there will be no American citizen doing this - it will be all done by third parties. They made a mistake here by explicitly involving the US Army and thus this got extensively publicised (in the non Western media).


What do you mean by existential threat? Walk me through the scenario that starts with the US not banning TikTok and ends with the non-existence of the US.


America should unconditionally extend freedom to its own citizens, but not to agents of foreign governments that don't reciprocate in kind.


You're restricting the rights of the American citizens!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: