tal

joined 2 years ago
[–] tal@lemmy.today 1 points 3 months ago (12 children)

Yes I have Ollama on my windows rig.

TBH, im not sure if librechat has a web ui.

Okay, gotcha. I don't know if Ollama has a native Web UI itself; if so, I haven't used it myself. I know that it can act as a backend for various front-end chat-based applications. I do know that kobold.cpp can operate both as an LLM backend and run a limited Web UI, so at least some backends do have Web UIs built in. You said that you've already used Ollama successfully. Was this via some Web-based UI that you would like to use on your phone, or just some other program (LibreChat?) running natively on the Windows machine?

[–] tal@lemmy.today 6 points 3 months ago* (last edited 3 months ago)

The suspects "likely used a Croatian telephone line" that was traced crossing the French-Belgian border on Tuesday morning, "after the crimes were committed," the prosecutor's office said.

Obviously, given the circumstances, France wants to tamp down on potential for induced upset, but I kind of think that maybe they should have sat on this unless they're certain that the phone has already been dumped. There was a chance that the suspects might have hung onto the phone. Once this is in the news, I imagine that they'll be separating themselves from it, reducing the chances of finding them.

[–] tal@lemmy.today 2 points 3 months ago (14 children)

Oh! Also, I’m using windows on my PC. And my phone is an iPhone.

Okay, that's a starting place. So if this is Windows, and if you only care about access on the wireless network, then I suppose that it's probably easiest to just expose the stuff directly to other machines on the wireless network, rather than tunneling through SSH.

You said that you have ollama running on the Windows PC. I'm not familiar with LibreChat, but it has a Web-based interface? Are you wanting to access that from a web browser on the phone?

[–] tal@lemmy.today 0 points 3 months ago* (last edited 3 months ago) (1 children)

ssh -L 0.0.0.0:3000:YOURPUBLICIP:3000

If you can SSH to the LLM machine, I'd probably recommend ssh -L127.0.0.1:11434:127.0.0.1:11434 <remote hostname>. If for some reason you don't have or inadvertently bring down a firewall on your portable device, you don't want to be punching a tunnel from whatever can talk to your portable device to the LLM machine.

(Using 11434 instead of 3000, as it looks like that's ollama's port.)

EDIT: OP, it's going to be hard to give a reliable step-by-step, because I have no idea what your network looks like. So, for example, it's possible to have your wireless access point set up so that devices can't talk to each other at all. You might have some kind of firewall on your LLM machine, so that if they can talk to each other from the WAP's standpoint, the firewall will block traffic from your phone; you'd need to punch a hole in that. At least something (sshd for the example here, or ollama itself to the network) needs to be listening on a routable address. As DrDystopia points out, we don't even know what OS the LLM machine is running (Linux?) so giving any kind of step-by-step is going to be hard there.

I have had absolutely no luck.

Problem is, that doesn't say much. Like, doesn't say what you've seen.

Do you know what the LAN IP address of your LLM machine is? Can you ping that IP address from Termux on your phone when both are on the same WiFi network ($ ping <ip-address>?) What OS is the LLM machine? If Linux, do you have sshd installed? It sounds like you do have ollama on it and that it's working if you use it from the LLM machine? When you said that it didn't work, what did you try and what errors or behavior did you see?

[–] tal@lemmy.today 1 points 3 months ago (1 children)
  • If your problem is brief brownouts or similar

my experience is that some consumer broadband routers have cheap power supplies that leaves them in bad states when PCs will pull through


you could put them on a UPS.

  • If your problem is that your router is unstable, you could just replace your router. Like, if you need remote access and you have a flaky router, that seems like a prime choice.

  • You could have a power control device or something and have another machine on your network set up so that if it loses Internet connectivity for some sustained period of time, it power-cycles the router.

  • If this is for when you're a long ways away, do you have a friend who you'd trust with a key and flipping a switch?

  • I expect that there are business-oriented routers that will have integrated watchdog features that will auto-reboot if they hang. I have not gone looking, though.

  • Possibly, if it's compatible with your use case, and uptime is critical enough here, having a second, backup server elsewhere, possibly not self-hosted. I mean, your connectivity is always going to be bounded by the reliability of your residential Internet connection otherwise.

[–] tal@lemmy.today 6 points 3 months ago (1 children)

The bug was fixed by another ex-Microsoft engineer, Raymond Chen. Speaking on Plummer's other YouTube channel, Dave's Garage, Chen fondly remembers adding a frame rate limiter, thereby reigning the game in to a 100 fps maximum.

And now that we have monitors running at over 100 Hz, that's too low...

[–] tal@lemmy.today 3 points 3 months ago* (last edited 3 months ago) (3 children)

Not the law in BC, where this happened e scooters are also not legal to be ridden on roads or sidewalks.

Wait, seriously? So you can't use an e-scooter at all for transportation around a city?

kagis

It sounds like they started a pilot project last year, and in a number of cities, it is now permitted:

https://www2.gov.bc.ca/gov/content/transportation/driving-and-cycling/cycling/electric-kick-scooter-rules

Honestly, I'm still surprised, though. Huh.

[–] tal@lemmy.today 85 points 3 months ago* (last edited 3 months ago) (4 children)

Note that invoking Article 4 is basically calling a conference among NATO members on a security problem. It's not a "situation normal" sort of thing, but it's Article 5 that deals with conflict.

https://www.nato.int/cps/en/natohq/official_texts_17120.htm

Article 4

The Parties will consult together whenever, in the opinion of any of them, the territorial integrity, political independence or security of any of the Parties is threatened.

Article 5

The Parties agree that an armed attack against one or more of them in Europe or North America shall be considered an attack against them all and consequently they agree that, if such an armed attack occurs, each of them, in exercise of the right of individual or collective self-defence recognised by Article 51 of the Charter of the United Nations, will assist the Party or Parties so attacked by taking forthwith, individually and in concert with the other Parties, such action as it deems necessary, including the use of armed force, to restore and maintain the security of the North Atlantic area.

Any such armed attack and all measures taken as a result thereof shall immediately be reported to the Security Council. Such measures shall be terminated when the Security Council has taken the measures necessary to restore and maintain international peace and security .

EDIT: Article 4 has been invoked seven times in NATO's history prior to this, mostly by Turkey:

https://cepa.org/article/a-neglected-younger-sibling-natos-article-4/

[–] tal@lemmy.today 1 points 3 months ago* (last edited 3 months ago)

Programmers in particular seem averse to putting punctuation on the inside where it usually belongs.

Some of us need to write technical documents where the punctuation is not clearly a metacharacter.

I've intentionally stuck punctuation outside quotes for decades.

https://en.wiktionary.org/wiki/logical_quotation

Logical quotation is similar to but stricter than the common British style of quotation which is based on the sense of the punctuation in the context of the writing in which the quotation is being used (which permits limited insertions of additional punctuation, or alteration of original punctuation, in the quoted content, which logical quotation does not). Some sources (chiefly American) conflate the two terms and styles (e.g., Yagoda 2011).

https://en.wikipedia.org/wiki/Quotation_marks_in_English

The purpose of language is to convey meaning. Logical quoting is more effective at doing so.

[–] tal@lemmy.today 4 points 3 months ago

Especially if it had Milkdrop Visualizer.

I wouldn't be suprised if there's a ProjectM port. It's in Debian.

checks

Yup. Not on F-Droid, though.

https://play.google.com/store/apps/details?id=com.psperl.prjM&hl=en_US

https://github.com/projectM-visualizer/projectm

projectM is an open-source project that reimplements the esteemed Winamp Milkdrop by Geiss in a more modern, cross-platform reusable library.

[–] tal@lemmy.today 16 points 3 months ago* (last edited 3 months ago) (2 children)

opus can’t be tagged

I'm pretty sure that it supports tagging.

goes to try it out

$ yt-dlp -x https://www.youtube.com/shorts/syF8M3aeiWs >/dev/null
$ opustags beep\ sound\ effect\ \[syF8M3aeiWs\].opus |grep -v ^METADATA
language=eng
encoder=Lavf61.7.100
title=beep sound effect
date=20230316
purl=https://www.youtube.com/watch?v=syF8M3aeiWs
synopsis=beep
DESCRIPTION=https://www.youtube.com/watch?v=syF8M3aeiWs
artist=Seth's old channel 
$

If you mean that this MusicBrainz Picard thing doesn't support tagging Opus, it sounds like it does:

https://community.metabrainz.org/t/musicbrainz-picard-doesnt-support-opus-files/467209

I have been having trouble tagging .opus files. Every time I try to edit .opus files I get:

(error: read b'\x1aE\xdf\xa3', expected b'OggS', at 0x0)

Looks like this is not a valid Ogg Opus file. Opus is just an audio codec, not a file format. Files with the file extension .opus are supposed to be inside an Ogg container, and that’s what Picard supports.

Your’s seems to be a Matroska file, and Picard does not support Matroska files yet.

And looking at the output of yt-dlp -x, it looks like it's Opus in an Ogg container:

$ file beep\ sound\ effect\ \[syF8M3aeiWs\].opus
beep sound effect [syF8M3aeiWs].opus: Ogg data, Opus audio, version 0.1, stereo, 48000 Hz (Input Sample Rate)
$

EDIT: Note that my ~/.config/yt-dlp/config file is:

--embed-subs
--write-auto-subs
--embed-metadata
--embed-chapters
--embed-thumbnail
--sponsorblock-mark=all

It may be that one needs --embed-metadata on the yt-dlp command-line if one isn't setting it in their yt-dlp config file to get the above tags; it might be that none normally get set.

[–] tal@lemmy.today 3 points 3 months ago* (last edited 3 months ago) (1 children)

France probably doesn't have any practical means of enforcing anything against a counterfeiter in China, so it's probably the buyer or nothing.

EDIT: That being said, at least as per the article, it sounds like the counterfeiters in China are principally targeting US buyers, not French buyers, so I don't know how much impact it'll have anyway; this law won't affect US buyers unless they travel to France or something.

view more: ‹ prev next ›