News for hackers. Stuff that matters.

hougaard

Interesting, hacker News has truly become the new slashdot :)
Drove past the club yesterday, the sign is still up with the lake joke.
Tried it (the full version, using 120 GB RAM), wasn't impressed, gave it some defective code, and asked it to fix all errors. It kept looping around and around and digging itself deeper and deeper into a rabbit hole; eventually, it got into a "reasoning" discussion about whether a custom compiler was used that supported the wrong syntax...
Because the "UX" of Windows sucks, Microsoft will switch the "Kernel" to Linux?

I don't get the argument. There are parts of Windows I don't like, so I have chosen a 3rd-party (often open-source) replacement. The exact same process as I do on Linux. I don't see why I have to switch to Linux to have that freedom.

(and to be honest, I don't care where the taskbar is)

Re:I put sheet music into smart glasses [video] on Saturday May 03, 2025 @01:26AM (#43877046)
Fun, did that 8 years ago with the original Hololens https://www.youtube.com/watch?v=E6cBX4t2kX0
Re:Posting a 5x5 crossword every day on Wednesday September 04, 2024 @02:58AM (#41442647)
Sounds like an llm task.
Re:Blitz: A lightweight, modular, extensible web renderer on Monday August 12, 2024 @03:42AM (#41222072)
How about rendering with print specific CSS to images/pdf ?
Re:1989 Networking: NetWare 386 on Saturday July 20, 2024 @10:19AM (#41016680)
What warez dump?
Came here to say the same, kinda misleading :)
Re:DevToys–A Swiss army knife for developers on Tuesday August 29, 2023 @11:40AM (#37309550)
Been using it for a while, like it :)
Pointless with a 16:9 ratio display :(
Re:International Pascal Congress on Monday April 03, 2023 @12:08AM (#35418450)
I program in Pascal every day, and I still love it.

Microsoft Dynamics 365 Business Central has a built-in development environment with a language called AL. AL is a variant of Pascal.

A bit of background, Pascal was very popular in Denmark in the 80'ties and 90'ties (Turbo Pascal was created by a Dane, Anders Hejlsberg, later Delphi, c# and TypeScript fame). Business Central was a Danish piece of software created for IBM before Microsoft acquired it, so choosing Pascal as the base language was a very natural thing.

I got my first job because IBM needed Pascal developers for this new accounting system they got and I already knew Turbo Pascal.

Today the AL compiler is built on Roslyn (same as the c# compiler) and have a fully capable language server supporting all the fancy intellisence stuff in VS Code, also supported by GitHub CoPilot.

p.s. I even created my own AL compiler, written in AL https://www.hougaard.com/toolbox

Lo and Hi tom samples seem to be switched?
I wrote a fair amount of Modula-2 back in the mid 90'ties. Used the TopSpeed Modula-2 compiler and produced both DOS and OS/2 executables from the same source code.
Re:Why do arrays start at 0? on Wednesday August 24, 2022 @01:27PM (#32582763)
... but if you have something that's 150cm, that's not 151cm, that's 150cm?
Re:Why do arrays start at 0? on Wednesday August 24, 2022 @01:21PM (#32582678)
That depends on your language and culture, "floor" is not easily translated, some languages have a word describing all the layers added to the base layer, so "1. sal" (Danish as an example) actually means "the first layer added on top of the base house".

Again, this is more a spoken language/culture thing, and this goes back to what premises we use to communicate with the machines, ours or the machines...

Re:Why do arrays start at 0? on Wednesday August 24, 2022 @01:08PM (#32582480)
Yeah age is confusing even for non-computer-folks :)

If you have 4 classes in school today, you would never talk about the 1st class as number 0, the last one is the 4th, not the 3rd.

Re:Why do arrays start at 0? on Wednesday August 24, 2022 @01:02PM (#32582384)
An assembler spillover into C.
Re:Why do arrays start at 0? on Wednesday August 24, 2022 @12:56PM (#32582277)
It really comes down to a choice between a machine-focused (0) or human-focused (1) approach.

The 0 makes a lot of sense in a C pointer world where memcpy and other alike functions can be written very thight.

The 1 makes a lot of sense in a human world, when we count, we start at 1, we talk about the "1st", counting on finger starts with 1, etc.

I once were at a Lua (1 indexed language) conference where this was discussed, and Luis started explaining why Lua was 1-index with this sentence: "The 1st argument ...." :)

Re:The Problem with Speed Cubing [video] on Sunday July 24, 2022 @06:45PM (#32218551)
Showed the video to my speedcubing Son, and he agreed 100% with you.
Re:Inside the longest Atlassian outage on Wednesday April 13, 2022 @06:53PM (#31021309)
Always judge companies on how they handle a crysis, not on how they do when everything runs smoothly.
Re:Mystery GPS Tracker on a Supporter’s Car on Tuesday March 29, 2022 @12:43AM (#30838856)
Funny how a serial port is suddenly an exotic technology :)
Re:Microsoft GW-Basic Interpreter Source Code on Monday March 07, 2022 @11:01AM (#30589361)
... an 8080 emulator, not 8088 :)
Re:Why can't you reverse a string with a flag emoji? on Thursday January 27, 2022 @04:57PM (#30107362)
In other news, water is wet :)
Evé watched the tv series called 'Allo 'Allo?
Re:Build a 6502 Computer on Sunday September 15, 2019 @12:58AM (#20975652)
No, the half image problem showed in the video, is that the available low memory of the X16 is around 38K, only enough for half a vga image and "streaming" to the video chip from a storage device or the high memory is not supported yet.
Re:Show HN: Online family tree maker built with React on Tuesday July 25, 2017 @12:03PM (#14848809)
Hey, sounds cool, let me just upload my GED^ file...

Ups, no upload feature (yet) - That would make it much more usable.

(^) https://en.wikipedia.org/wiki/GEDCOM

Older »