... Qwen/Qwen2.5-3B-Instruct")
# gemerate r1 prompt with a prefix for the model to already start with the thinking process
def generate_r1_prompt(numbers, target):
r1_prefix = [{
"role": "system",
"content": "You are a helpful assistant. You first thinks about the reasoning process in the mind ...
Search found 1061 matches: numbers
Searched query: numbers
- Wed Feb 05, 2025 3:51 am
- Forum: latest AI news
- Topic: reproduced DeepSeek R1-Zero for < $30 !!!
- Replies: 9
- Views: 12905
- Tue Jan 28, 2025 3:04 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: new Class TDeepSeek in next FWH 24.12
- Replies: 16
- Views: 36616
Re: new Class TDeepSeek in next FWH 24.12
... users can still log in normally. To mitigate the attack, DeepSeek has temporarily restricted registration methods for non-Chinese mainland phone numbers (+86).
2.Background of the Attack
The attack occurred after DeepSeek released its new AI models, Janus-Pro and JanusFlow, which demonstrated ...
2.Background of the Attack
The attack occurred after DeepSeek released its new AI models, Janus-Pro and JanusFlow, which demonstrated ...
- Fri Jan 24, 2025 10:28 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 5078
Re: Using new Class TDeepSeek for documenting
... content_copy
download
Use code with caution.
Harbour
6. SetRecSelSl( nType )
Description: Sets the record selector to display either record numbers or key numbers.
Parameters:
nType: NUMERIC - 1 to display record numbers (RecNo), 2 to display key numbers (KeyNo), or any other value to ...
download
Use code with caution.
Harbour
6. SetRecSelSl( nType )
Description: Sets the record selector to display either record numbers or key numbers.
Parameters:
nType: NUMERIC - 1 to display record numbers (RecNo), 2 to display key numbers (KeyNo), or any other value to ...
- Wed Jan 08, 2025 3:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xbrowse, bkeydown and number
- Replies: 2
- Views: 721
xbrowse, bkeydown and number
... FWBrowseKey( xDlg, xControl, nKey, ... ) }
CASE IsRange( nKey, 32, 127 )
cFilter += Upper( Chr( nKey ) )
If type letters ok
if type numbers from normal keyboard ok
if type numbers from numeric keyboard not
Is it expected ?
Note:
1 from normal keyboard returns 49
1 from numeric ...
CASE IsRange( nKey, 32, 127 )
cFilter += Upper( Chr( nKey ) )
If type letters ok
if type numbers from normal keyboard ok
if type numbers from numeric keyboard not
Is it expected ?
Note:
1 from normal keyboard returns 49
1 from numeric ...
- Tue Jan 07, 2025 12:10 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: GetDesktopWindow() on dual monitor system.
- Replies: 10
- Views: 1460
Re: GetDesktopWindow() on dual monitor system.
I think I got it, I needed to refer to the hash variables h["nMonitor"] instead of h:nMonitor. Now I got my numbers. And life is good again.
Thanks again Antonio.
Thanks again Antonio.
- Mon Dec 16, 2024 5:58 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Stuck - Database update via .csv file
- Replies: 8
- Views: 949
Re: Stuck - Database update via .csv file
Hi Otto :)
I can't just do an append.
I am updating a database with new ID numbers.
In the csv file, there is the old ID, new ID and name (22000 of them).
The csv file will only show 1 entry for each "old ID" however, there can be multiple entries in my database for the same "old ID".
I need to ...
I can't just do an append.
I am updating a database with new ID numbers.
In the csv file, there is the old ID, new ID and name (22000 of them).
The csv file will only show 1 entry for each "old ID" however, there can be multiple entries in my database for the same "old ID".
I need to ...
- Tue Nov 19, 2024 11:36 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xbrowser header
- Replies: 0
- Views: 995
xbrowser header
... aCols, { |o| o:cGrpHdr := cTitle }, nIni, nIni+4 )
AEval( oBrw:aCols, { |o| o:nGrpHeight := 25 } )
Now I wish erase the line wher eis the numbers from 1 to 5 so I tried to change the cheader in ""
oBrw:aCols[nIni]:cHeader := ""
oBrw:aCols[nIni+1]:cHeader := ""
oBrw:aCols[nIni+2 ...
AEval( oBrw:aCols, { |o| o:nGrpHeight := 25 } )
Now I wish erase the line wher eis the numbers from 1 to 5 so I tried to change the cheader in ""
oBrw:aCols[nIni]:cHeader := ""
oBrw:aCols[nIni+1]:cHeader := ""
oBrw:aCols[nIni+2 ...
- Fri Nov 01, 2024 9:24 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Think Bigger - Think on Future
- Replies: 0
- Views: 978
Think Bigger - Think on Future
... the usual advice on SQL here.
This topic should not cover that. For our purposes in an RDP or web server environment with small to medium access numbers, SQL databases are often outdated and come with unnecessary overhead. Modern file systems can efficiently handle large amounts of data, and a ...
This topic should not cover that. For our purposes in an RDP or web server environment with small to medium access numbers, SQL databases are often outdated and come with unnecessary overhead. Modern file systems can efficiently handle large amounts of data, and a ...
- Thu Oct 31, 2024 8:39 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xbrowse cell on two sections
- Replies: 7
- Views: 1741
Re: xbrowse cell on two sections
Perhaps...
https://i.postimg.cc/DZVVt8GK/ll.png
why the line (red) is more big than line of numbers ?
I made
FOR i := 1 TO LEN(:aCols)
oCol := :aCols[ i ]
if i >1 .and. hb_bitand(i,1)>0
oCol:bClrStd := {|| { CLR_WHITE, RGB(255,0,0) } }
oCol:bClrSelFocus := {|| { CLR_BLACK, { { 1, RGB( 252 ...
https://i.postimg.cc/DZVVt8GK/ll.png
why the line (red) is more big than line of numbers ?
I made
FOR i := 1 TO LEN(:aCols)
oCol := :aCols[ i ]
if i >1 .and. hb_bitand(i,1)>0
oCol:bClrStd := {|| { CLR_WHITE, RGB(255,0,0) } }
oCol:bClrSelFocus := {|| { CLR_BLACK, { { 1, RGB( 252 ...
- Tue Oct 29, 2024 1:45 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ins with tab on xbrowse
- Replies: 1
- Views: 391
Re: Ins with tab on xbrowse
insert numbers using the tab key,
TAB key is never used to insert (write) data.
If you mean navigating cells....
Arrow keys move the cursor to right or left.
If you want to use TAB key to move to next right cell for editing, the same way as in Excel, then use
oBrw:lTabLikeExcel := .t.
If you set ...
TAB key is never used to insert (write) data.
If you mean navigating cells....
Arrow keys move the cursor to right or left.
If you want to use TAB key to move to next right cell for editing, the same way as in Excel, then use
oBrw:lTabLikeExcel := .t.
If you set ...
- Tue Oct 29, 2024 12:41 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ins with tab on xbrowse
- Replies: 1
- Views: 391
Ins with tab on xbrowse
I have this xbrowse

I need to insert numbers using the tab key, but I saw that it doesn't work and I have to change cells with the mouse spending a lot of time
How can I use the tab key for quick data entry?

I need to insert numbers using the tab key, but I saw that it doesn't work and I have to change cells with the mouse spending a lot of time
How can I use the tab key for quick data entry?
- Mon Oct 28, 2024 6:26 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Edit cell on xbrowse
- Replies: 5
- Views: 858
Edit cell on xbrowse
on a xbrowse I use

:nEditTypes := EDIT_GET
the user can insert numbers But I wish the use can insert only number of two digit from 1 to 90
How I can resolve ?

:nEditTypes := EDIT_GET
the user can insert numbers But I wish the use can insert only number of two digit from 1 to 90
How I can resolve ?
- Sat Oct 19, 2024 3:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Extending SetScope()
- Replies: 15
- Views: 2499
Re: Extending SetScope()
... one will display in the xBrowse control. It all works perfectly.
Now I have a client who wants that same ability, but he wants to have the numbers "searchable" which would be accomplished by placing them in partnumber order.
Does anyone have a suggestion on how to do this without messing up ...
Now I have a client who wants that same ability, but he wants to have the numbers "searchable" which would be accomplished by placing them in partnumber order.
Does anyone have a suggestion on how to do this without messing up ...
- Fri Oct 18, 2024 10:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Extending SetScope()
- Replies: 15
- Views: 2499
Extending SetScope()
... one will display in the xBrowse control. It all works perfectly.
Now I have a client who wants that same ability, but he wants to have the numbers "searchable" which would be accomplished by placing them in partnumber order.
Does anyone have a suggestion on how to do this without messing up ...
Now I have a client who wants that same ability, but he wants to have the numbers "searchable" which would be accomplished by placing them in partnumber order.
Does anyone have a suggestion on how to do this without messing up ...
- Wed Oct 16, 2024 10:41 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: a math formula - RESOLVED -
- Replies: 8
- Views: 1390
Re: a math formula
... percentage of profit
local nUtileFisso:= 50 // the fixed profit
local nPuntataIniziale := 1.00 // initial bet
local nTotaleEnumeri:= 1 // total numbers to play
local nSorteGioco:= 1 // is the type of game luck (ambata, ambo, terno, etc.)
local nRuote:= 1
local nColpiGioco:= 10 // the number of ...
local nUtileFisso:= 50 // the fixed profit
local nPuntataIniziale := 1.00 // initial bet
local nTotaleEnumeri:= 1 // total numbers to play
local nSorteGioco:= 1 // is the type of game luck (ambata, ambo, terno, etc.)
local nRuote:= 1
local nColpiGioco:= 10 // the number of ...