News for hackers. Stuff that matters.

kyberias

Re:The Design of Text Editors on Sunday September 29, 2024 @04:15AM (#41685742)
How are those Unicode characters typed in an editor with a normal keyboard?
Re:A C parser for CREATE and ALTER table SQLite statements on Tuesday August 15, 2023 @02:26AM (#37130844)
So this is more than just on parser for those statements. Very confusing.
Re:NASA mistakenly severs communication to Voyager 2 on Monday July 31, 2023 @08:30AM (#36941616)
I find it hilarious that they're refering to the speed of the spacecraft.
What is a 'video system'?
Why would a connection to internet need security updates?
Re:Forward Referencing in C on Monday June 05, 2023 @08:52AM (#36195515)
What is ANSI C or C99 then?
Re:SectorC: A C Compiler in 512 bytes on Thursday May 25, 2023 @12:04AM (#36066949)
What does Just In Time mean for an interpreter?
Re:Reverse-Engineering YouTube: Revisited on Saturday February 04, 2023 @03:04PM (#34657647)
Well that link to the introduction of Prolog video is not a really good starting point.
Re:Insulation: First the body, then the home (2011) on Tuesday January 31, 2023 @07:18AM (#34594156)
The standard to replace all air is about 2 hours which is 12 times longer than the 10 minutes you stated here.
Re:The benefits of everything (in Emacs) being a buffer on Tuesday January 31, 2023 @07:14AM (#34594113)
I'm not an Emacs user so what I'm about to say may be based on totally incorrect information.

Seems to be that Wdired is just a hack that represents file and directory metadata in a textual format (in a buffer in Emacs parlance). It's not obvious to anyone that editing a filename in this buffer actually goes to the file system and changes the name of the file. It's even less obvious that removing rows removes files or directories. It actually sounds rather dangerous to use.

This is not functionality that emerges from some elegant design of Emacs, it seems it's just a hack.

Re:You might not need an ORM on Wednesday January 25, 2023 @10:24AM (#34519290)
This is why Language Integrated Query (LINQ) is so powerful in .NET. You never need to learn any ORM specific query language or syntax since you've probably learned to use LINQ with objects already and then you just continue to use it with a database.
When I answer incorrectly, it tells me I selected some totally other country incorrectly.
Re:What’s so great about functional programming anyway? on Wednesday November 16, 2022 @05:40AM (#33621136)
Please fix the font used for code examples. Unreadable.
Re:Arca Noae brings OS/2 into the 21st Century on Friday October 07, 2022 @04:42AM (#33118800)
Is it not possible to cross-compile OS/2 software?
Re:Things I wish everyone knew about Git (Part I) on Wednesday June 29, 2022 @03:00PM (#31924333)
The definition of a branch here does not seem useful in any way.
Re:A Git Origin Story (2018) on Wednesday June 15, 2022 @11:00PM (#31762081)
Just watch the Linus Google talk. It's all there.
Seems like you want to get the count of "leaves" in a tree expressed as array of arrays.

  ```
  const lengthParam = (a) => {
    let count = 0;
    for(let c of a) {
        if(Array.isArray(c)) {
            count += lengthParam(c)
        }
        else {
            count++;
        }
    }
    return count;
  };
  ```
Am I hired?
Re:Finland will seek NATO membership immediately on Thursday May 12, 2022 @12:57PM (#31356737)
I guess it can be argued that Finland joining Nato is not very surprising (has been discussed in Finland for years) and therefore not very interesting. But Sweden joining Nato this quickly would be more of a surprise and therefore much more interesting.
Re:First look: adding type annotations to JavaScript on Thursday March 17, 2022 @02:47PM (#30714549)
You asked: "who are you to decide?". That's not questioning their opinion but rather their right to voice their opinion.
Re:First look: adding type annotations to JavaScript on Thursday March 10, 2022 @11:52AM (#30629088)
But didn't he merely express his opinion about this?
Re:First look: adding type annotations to JavaScript on Thursday March 10, 2022 @11:51AM (#30629064)
Imagine all the time and energy wasted having all these popular programming languages re-inventing and -implementing the same features over and over again and people discussing and arguing about them.
Re:How does database indexing work? (2008) on Tuesday March 08, 2022 @10:22AM (#30600833)
Does anyone know what an index card was?
Re:Russian forces invade Ukraine after Putin orders attack on Saturday March 05, 2022 @01:42PM (#30570530)
> I don't believe the US would immediately attack Russia even if Russia wiped Paris off the map, because doing so would guarantee we are all wiped off the map.

I think it is obvious that FRANCE would retaliate with nukes.

Re:Russian forces invade Ukraine after Putin orders attack on Thursday February 24, 2022 @10:58AM (#30456168)
You seem to be delusional.
Gist of it.
Re:Ant mill on Sunday January 23, 2022 @04:20AM (#30044798)
But tortoise and hare have much more complex brains!
Re:Pimiga - Raspberry Pi Powered Amiga on Sunday January 23, 2022 @03:04AM (#30044474)
This is about a small modern computer running an emulator for an old computer (Amiga). In order to run it, you need to purchase the ROM files.
Re:Excel as Code on Monday September 20, 2021 @12:12PM (#28595403)
> Because Excel is not a source file.

Well, it is a zip-archive with XML files, so it's close.

It's very easy for you to check this from his 1931 article.
Re:Rethinking the computer ‘desktop’ as a concept on Tuesday June 01, 2021 @03:13AM (#27351484)
It's a code editor, not an IDE. ;)

Older »