Hacker Newsnew | past | comments | ask | show | jobs | submit | jchoelt's commentslogin

No, unfortunately it's not possible to set a custom URL... OpenAI is either hard coded or using a configuration option that isn't exposed.


It is exposed from Advanced tab under "URL for AI API". You do have to change the model name from the preselected and offered OpenAI GPT model names. Otherwise this AI API URL isn't used. Haven't yet tested with local OAI compatible model yet, though, but did manage to break it using bad address :)


How do you change the model name from the preselected and offered OpenAI GPT model names? I don't see the option to do so.


click the name instead of the dropdown arrow

Note that to make use of ollama, you'll have to wait for the next release or upgrade to a beta release --- while you can change the API right now it's using a newer format for the payload, that's fixed in the beta/next release.


Advanced settings -> "URL for AI API"


It's a shame their "OpenAI" integration doesn't let you specify the Base URL and model. Then it could have worked locally with ollama (or with any other OpenAI compatible API if that matters: mistral, groq, ...)

It's a bit of a shame to see an open source product makes an "OpenAI" only integration when they could have make it work with minimal effort with the free and open alternatives (ignorance maybe). Hopefully I can contribute that.


Settings > Advanced > Experimental Features > URL for AI API

https://gitlab.com/gnachman/iterm2/-/blob/master/sources/iTe...


It literally does exactly that, what made you think it doesn't? Or did you just assume and type a comment based on nothing?


I actually searched advanced options for "openai" but nothing there, honestly it should be a primary options.

Anyway, it doesn't work with ollama's openai compatibility API.


it will work with the next release (and already works with the beta)


Yeah, take something proportional to how big (population) AND rich a country is. Divide this by a metric that grows with how rich a country is. This way poorer but bigger countries score better. But that doesn't tell much.


It's a measure of economic power. These are the resources which could be corraled collectively by all of China, Russia, US, etc.


The US is a country with rich people in it, it’s not a rich country.

( I live in New Orleans, 35% of kids don’t have enough calories per days to have a proper brain development. And New Orleans is fine compared to the rest or Louisiana )


> in New Orleans, 35% of kids don’t have enough calories per days to have a proper brain development

Source? I find that hard to believe, considering how cheap and plentiful calories are and how numerous the various public assistance programs exist relating to feeding the poor.


I know it’s intense. Those people must be stupid. Or it’s their fault and they deserve it. ( :s ! )

My bad for the figure, I had a third in mind. It’s less. Can’t find a general population figure in the short amount of time. 20 ish % of black kids is enough or it’s fine ?

Source :

https://www.cpex.org/blog/stateofhunger

What was eye opening to me was volonteering in a random school. And noticing how the breakfast was a important and respected steps. Like.. not everyone had dinner last night.

Oh well, right ?


Been to new orleans. Didn't see anyone with 'caloric deficit' issues.

And you have it backwards. Louisiana has a problem with an overabundance of calories, not a lack of calories. Louisiana is one of most obese states in the country after all.

https://www.cdc.gov/obesity/data/prevalence-maps.html

There are legitimate issues with economic disparity in the country. Not sure why you are trying to tie it to calories?


Yeah calorie is probably not the right terms

Looking up what I had in mind the proper way to reference it is “food insecurity”

Source :

https://www.cpex.org/blog/stateofhunger

Or “no kid hungry Louisiana”, that the one I noticed here. Giving breakfast out in school. My first reaction was to wonder why. Digging I realized that a fair amount of kids were coming to school on a empty belly.

That’s it.

Also “been to New Orleans” is a funny statement! Congratulations on seeing Jackson square and the French quarter. It’s a city, not 10 historical blocks.


I find it utterly bizarre that this kind of ignorant hand-wringing is so pervasive. The US median household income is ~6x the global median. The average US household in the bottom income quintile has an income above global median before accounting for 10s of thousands of dollars in in-kind transfers (i.e. welfare).

> 35% of kids don’t have enough calories per days to have a proper brain development.

Utter nonsense.


Oh yeah their is so much rich folks in the US.

Yet, I never seen that much poverty before moving here. I guess it’s just more visible.

Gini index would be a good addition to your figures.

Regarding a third of kids being hungry on a regular basis. I had it wrong indeed. It’s more 20% of black kids. Wee!

Source : https://www.cpex.org/blog/stateofhunger


The article says nothing about children lacking the calories required for brain development. It says 23% of black households self-reported "not having enough food in the past week". Which is weird, because when I go looking for objective data that might support the assertion that a significant percentage of the population isn't getting enough calories, I don't find anything. I did find an article that obtained weight data on both whites and blacks nationwide, and broke them down in Underweight, Normal, Overweight, and Obese categories... but the number of underweight individuals was so low that it rolled them into the 'Normal' category, and didn't even report the Underweight category. It's almost like everyone is getting more than enough to eat!

Neither your anecdata on "visible poverty" nor the US Gini index contradict the obvious fact that the USA is, by any serious measure, a rich country.


So everything is fine and my experience is anecdotal.

It truly makes me feel better.

I should do the same exercise you did with Swiss data. That what come to my personal mind when I think of “rich country” not the lower 9th ward, or New Orleans East.

But since the US is rich like demonstrated.

I should actively start to reframe those place into “rich”. And look more at all those fat people in the street.


Now let's imagine the same scene but with the car stopping right next to thugs breaking into another car :-D


Now that you mention it, robbing a self driving car would be easy. Just stand in front of it and it'll stop for you.


Except if the car decide to drive you (the thug) to the nearest police station, bypassing human input.


I was imagining a self driving car drive by shooting but the car stopped slowed down in an inopportune moment, awkwardly


Inputs like what the humans inside the car are saying should be part of the decision making process. Like everyone inside shooting "DRIVE! DRIVE! DON'T STOP THE Fxxx CAR!". That should lower some thresholds for deciding to stop the car, as with a real human driver.


"wp" and "wiki" are both unclear... Which "wiki"?

Just call this "wikipedia".


But what if support for other wikis gets added?


But what if it starts supporting other webpages too, not just wikis?

Let's just name stuff for what their stated purpose is, instead of trying to invent "maybes" and name it after that.


Then call it weboob.

I am already out --> []


What about `wget` then? (wiki* + get)


Yep, definitely no clash there. ;-)


Yes, that was my first thought: I'd better not install that, surely it'll conflict with something...


> First, Putin is likely to carry this war to its conclusion. The reputational cost of turning back now, with blood already shed, would be catastrophic. Putin’s only way out is through, unfortunately.

I don't totally agree, Putin called this a "special operation": this is vague enough so he can claim "mission accomplished" cherry picking any "war accomplishment" he wants. To people claiming he failed his invasion, he can just say "you called it an invasion, it was never an invasion, I said it wasn't an invasion from the beginning."


For someone who likes to keep everything so vague in words to cover his ass, that simply doesn’t sound strong enough, I think.


He can also easily lie, Trump style, manufacture facts etc. Doesn't have much of restraints. And that's in the case he wants to talk to you at all - usually that's reserved for political appearances for the people, via TV.


Putin turning back now, saying "actually I never intended to take Kiev", would be a clear admission of defeat. Everyone outside Russia would understand that, which matters because fear of Russia is an important goal for him.


> the idea that Ukraine has a Nazi government is a farce; for all of its considerable problems with corruption, Ukraine’s current government was democratically elected...

So were the Nazis, though.

I'm not arguing that Ukraine's government are "Nazis", just that despots and extremists can be elected too...


> So were the Nazis, though.

That is not an actual full truth there. First, there was considerable threat of violence and violence in an attempts to prevent wrong people from voting in those elections.

Second, the actual takeover of power after election did not respected German constitution at the time. And that vote was done with brownshirts lining up around the room, ready to physically attack.


Well, the first election was as legit as any other election before when measured by Weimar Republic standards. As was the process of forming a coalition government. The second election so was a total power grab and the opposite of legitimate.

When you visit the Reichstag in Berlin you can see all the postboxes of past members of parliament, including people like Göring and Hitler. Because the first time they were elected legitimately. After that, and until the formation of the BRD, those boxes show a gap for obvious reasons.

We would all do ourselves a favor by acknowledging the fact that the Nazis were, at one point, a legitimate political party in a legitimate democracy. Because there are a lot of lessons to be drawn from that very fact.


They were legal political party that got to parlament. They got 30% votes roughly.

One of their tactics was considerable amount of street violence, both during elections to prevent wrong people from voting and to make them afraid of voting for wrong party. And also considerable violence to create chaose that would need order. People like to pretend those were normal elections to make a point about fragility of democracy. But, the real point is maybe that parties that are violent before getting power continue to be violent after.

And maybe that another point is that threats and violence around election day and toward voters matter - and makes those elections not really free.

Afaik, there was no similar violence and threats in Ukraine. Their elections and Nazi elections were not comparable. Weinmar with all its political violence for years (and not just from nazi) is not comparable to Ukraine before Russian invasion either.


Sure, they used violence. As I said, the first time the elections wasn't any special compared to others in the Weimar republic. And sure, violent people and organizations only become more violent the power they have and the more shit they get away with.

The true violence campaign happened during the second election so. Which is the reason this election isn't considered legitimate anymore. And 30 % would make them a contender to form a coalition government in modern day Germany, just for perspective.


> As I said, the first time the elections wasn't any special compared to others in the Weimar republic.

I don't really think this is true. Nazi party itself behaved differently in different elections.


Ukraina president is Russian speaking Jew so this Nazi rhetoric is just stupid.


Yeah. And it is not like Russia did not had its own considerable white supremacist movements - more successful then those in Ukraine.


“Nazi” is often used as a general slur against nationalists.


No, it usually isn't. It is usually used to talk about white supremacists of a particular ideological bent.


The only time when it isn’t, it’s when it is used to mean anything vaguely bad.


"White supremacist" is also a slur against nationalists...


It is possible to be a white nationalist and not be a white supremacist, but there is considerable overlap between these groups.


Unless the nation happens to be majority non-white.


This argument can only be made in good faith if you completely ignore the events of the past 5 years, where anyone who was outspoken but didn’t tow the CNN/neolib line on just about any of the big issues was either directly or indirectly called a fascist or a neo-Nazi. Regularly.


It's perfectly possible to be a fascist without being a neo-Nazi.

And CNN doesn't set policy or make people say fascist things.


There is nationalist party in Ukraine and they got 1% in elections. The elections were free and every term somebody else is in the government. Surprisingly never the nationalists tho.

Also they want to join EU (as all nazis do of course).

Meanwhile actually nationalist and imperialist Putin invaded 3 different countries during his 22 years of governing Russia. And he hasn't held fair elections there for a long time.

So yeah Ukraine is nazi.


I didn’t say that Ukraine is Nazi.


yadda

    used to emphasize the polite response indicated by an acknowledgment of a situation being discussed or acted on
    "she left after the yadda, and I wasn't ready to tell someone"


I actually built this for my own usage: https://github.com/j3k0/ledger-guesser

Works quite well


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

Search: