Better HN
topnewbestaskshowjobs
Log inSign up

alaaalawi

23 karma · joined Aug 10, 2019 (7y ago) · 36 submissions

Submissions

comment 3w ago · link · parent

I'm curiuos on what is going on with Oracle database how many bugs the clanker are surfacing

2.

Show HN: Q a REPL for LLM inside the terminal(github.com ↗)

1 points · by alaaalawi · 4mo ago · discuss

comment 5mo ago · link · parent

YMMV but an LLM can hullicinate bug in programmed medical devices which may kill people in unexpected ways

comment 6mo ago · link · parent

you may try https://github.com/nothings/stb/blob/master/stb_ds.h. a single header implementation for both dynamic array and string based hash table

comment 6mo ago · link · parent

it is that not that they will take, as they do not have will of their own. greed does put them to work

comment 6mo ago · link · parent

is it like society does not owe any body money for puting sand gravel cement and water. we are talking about products not their assembly

7.

Ask HN: GPTs, vs. Software Estimation

3 points · by alaaalawi · 6mo ago · 1 comment

comment 7mo ago · link · parent

you can check also XDS modula2/oberon-2 programming system. is an optimizing complier https://github.com/excelsior-oss/xds

comment 1y ago · link · parent

chill bro. spending some time on Elm is not the end of the world and not a serious issue! the question was about learning and not concerned about production and this was one of the available examples to maybe have a look at.

comment 1y ago · link · parent

Also another option for fun in the browser Elm. check out similar older project https://github.com/Malax/elmboy

comment 1y ago · link · parent

one of the options for fast iterations would be Forth. in its circles, it famous for generation targets and cross compiling between archs. seaech the net you shold find plenty.

comment 1y ago · link · parent

I concur. not intermediate code directly machine code, even no tests. It will take human specs internally understand them (maybe formal methods of reasoning) and keep chatting with the user asking about any gaps (you. mentioned a and c, what about b) or ask for clarification on inconsistencies (i.e. in point 16 you mentioned that and in point 50 you mentioned this, to my limited understanding doesn't this contradicts? for example if we have that based on point 16 and have that based point 50,how do you resolve it. in short will act as business analysis with no (imagined) ego or annoyance in the middle by the user. from talk to walk

comment 1y ago · link · parent

this looks similar

http://web.archive.org/web/20080211102811/http://www.pcthike...

comment 1y ago · link · parent

Achieving Correctness is really satisfying. however it is hard and difficult. IMOH this does in general polarize the scene (proving fanatics on one extreme and the other side who are not even testing the code) IMHO flushing out what you are designing does help and goes along the way of having fewer bugs. one old relatively yet easy and accessible formal toolkit which helpful in flushing out process is Z notation . one of the accessible books, old yet an easy read and rewarding is

"Software Development with Z. A practical approach to formal methods in software engineering"

https://archive.org/details/softwaredevelopm0000word/page/n1... .

there are other notations developed later. but its simplicity and easiness even while scribling on paper or word processor gets me back to using it every now and then

comment 2y ago · link · parent

MMV But for me at least i tend to use it for brain storming, aka intial sailing through a subject/topic/task, getting intial idea. the idea is to use as an admin who is guided by you throgh chatting. for example im given a task to translate a user description/requirement to pull something from the database. like (simplistic example) what are the top grossing films by category within each rating. so igive the AI the database tables schema and give it literally the user requirement. and see what it gave back and compare it with how I'll do it. ask it more for optimizations what else can be done more.... etc.. keep chating with the AI until I'm bored ;)

comment 2y ago · link · parent

for these critical applications which require reliable oprations as lives are at stack. formal verfication will help by reducing bugs more than traditional testing. they are not bullet proof but still better. z notation is one of many.

comment 3y ago · link · parent

i'd like to know the source. and the reasons i know long time ago are about more innovative work. like more compression, keyboard layout optimization, like having the code compiled in the source and utilizing the space to embed the meaning so there is no multiple parsing and compiling. even vars are living inthe code alive. and others i don't remember now.

comment 3y ago · link · parent

its really leads to all sorts of question. when markets for eggs and sperms to be sold directly to interested (the layman) are there and the buyer funds the rent of the artificial womb and the food/nutrition + bio conditions. will he be the father or the owner? if more over the buyer have a farm (so to speak) of wombs?

comment 3y ago · link · parent

this may be interseting (YMMV) read page 50 of "Compiler Construction for Digital Computers" 1971 which lists other reason some which are still valid and good to know

comment 3y ago · link · parent

i. missed up the code

  digits = '0123456789'
  patt = "foo=" SPAN(digits) . num
  while line = INPUT
      if  line ? patt
          OUTPUT = num
      endif
   end

comment 3y ago · link · parent

i like awk. but i hate Regexp (YMMV). but for different perspective check out SNOBOL or its speedier variant Spitbol. although not one liner, but i find patterns easier to compose like functions. $anchor = 0 digits = '0123456789' patt = "foo=" SPAN(digits) . num while line = INPUT if line ? patt OUTPUT = num endif end

end

NOTE1: reading variable INPUT. reads from input. assignment to OUTPUT writes to output. normally assigned to STDIN and SDTOUT, and can be configured.

NOTE2: there is no real while or if. flow is through labels and jumps (considered by some as power but i disagree). above example uses another script to transform while and if into labels and jumps. the point is that patterns composition and success match assignment.

comment 3y ago · link · parent

YMMV, but thats why i love Forth. it compiles the full app (not interpret) in ms. some think its dead or only for the embedded, but for me and my projects its a deadly combination + ultra fun.

comment 3y ago · link · parent

we need just the correct expectations. APL is like mathematics for me. i need to read it several time to understand dense unfamiliar terms and formulas. same goes for APL. it is not the typical language which i assume can be read while driving

comment 3y ago · link · parent

I did and still comfortable with the following YMMV. Alt -> Ctrl Ctrl -> Alt Caps -> Esc Esc -> Caps

comment 4y ago · link · parent

Sometimes FORTH shines here. Space is the delimiter. and consequently you can mumble the name on the keyboard without stopping at the moment. you have mix of all digits alphabet and symbols into one token. |alpha| x^y ~x #items [a-b] however YMMV

comment 4y ago · link · parent

Many people will fret when mentioning a commercial vendor. but IMHO and YMMV the leaset systems to get going with the least hassle would be either Lispworks or Allegro and both offer trial versions not getting in your way throughout the book (even though I'm Emacs SLIME user for long time). I'm interested in user minimzing unrelated side topics and spiral customization (I love them) and focusing on the book

comment 4y ago · link · parent

YMMV but either way its for the owners. The rest are more or less in a job

comment 4y ago · link · parent

Also check Oberon the language and its module system. and was used to create Oberon the system. all procedures/functions are called like this: M.F (Module name - it can be abbreviated but not removed, and F procedure/functions.)

comment 4y ago · link · parent

Alsi it has more debugging formats

comment 5y ago · link · parent

This may be not colorful, but was definitely fun for me

https://youtu.be/tcix3IxaX3g

12