News for hackers. Stuff that matters.

alaaalawi

Re:Postgres 19 is late, and it's AI's fault on Monday November 02, 2026 @11:30AM (#50339303)
I'm curiuos on what is going on with Oracle database how many bugs the clanker are surfacing
YMMV but an LLM can hullicinate bug in programmed medical devices which may kill people in unexpected ways
Re:PHP's Oddities on Saturday May 23, 2026 @09:04PM (#48253262)
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
Re:Programming Still Sucks on Thursday May 07, 2026 @05:00AM (#48047110)
it is that not that they will take, as they do not have will of their own. greed does put them to work
Re:Programming Still Sucks on Thursday May 07, 2026 @04:57AM (#48047086)
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
you can check also XDS modula2/oberon-2 programming system. is an optimizing complier https://github.com/excelsior-oss/xds
Re:Writing a Game Boy Emulator in OCaml on Sunday July 06, 2025 @09:34PM (#44485851)
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.
Re:Writing a Game Boy Emulator in OCaml on Friday July 04, 2025 @06:13PM (#44468314)
Also another option for fun in the browser Elm. check out similar older project https://github.com/Malax/elmboy
Re:Writing a Game Boy Emulator in OCaml on Friday July 04, 2025 @01:48PM (#44466501)
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.
Re:LLMs as Compilers on Thursday July 03, 2025 @02:21AM (#44452181)
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
Re:Soda Can Stove on Sunday May 25, 2025 @04:21AM (#44086383)
Re:You should write "without bugs" on Friday January 24, 2025 @12:49PM (#42815554)
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

Re:GitHub cuts AI deals with Google, Anthropic on Thursday October 31, 2024 @12:26PM (#42008451)
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 ;)
Re:My insulin pump controller has a bug on Friday December 01, 2023 @09:33AM (#38487093)
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.
Re:milliForth on Wednesday November 08, 2023 @04:46AM (#38188379)
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.
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?
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
Re:The State of the Awk (2020) on Friday January 20, 2023 @10:14AM (#34454167)
i. missed up the code

  digits = '0123456789'
  patt = "foo=" SPAN(digits) . num
  while line = INPUT
      if  line ? patt
          OUTPUT = num
      endif
   end
Re:The State of the Awk (2020) on Friday January 20, 2023 @10:10AM (#34454111)
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.

Re:The beauty of CGI and simple design on Sunday January 08, 2023 @05:25AM (#34297827)
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.
Re:The APL Programming Language Source Code (2012) on Tuesday December 20, 2022 @08:41AM (#34065711)
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
Re:Vim Foot Pedal on Monday December 19, 2022 @10:21AM (#34053077)
I did and still comfortable with the following YMMV. Alt -> Ctrl Ctrl -> Alt Caps -> Esc Esc -> Caps
Re:You can watch how much I rewrite here on Monday September 19, 2022 @12:29PM (#32900519)
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
Re:Paradigms of Artificial Intelligence Programming (1992) on Sunday August 14, 2022 @10:11AM (#32459381)
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
YMMV but either way its for the owners. The rest are more or less in a job
Re:Are modules without imports “considered harmful”? on Wednesday February 09, 2022 @11:47AM (#30274820)
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.)
Alsi it has more debugging formats
Re:The APL Orchard on Thursday February 04, 2021 @02:08PM (#26028666)
This may be not colorful, but was definitely fun for me

https://youtu.be/tcix3IxaX3g

Older »