News for hackers. Stuff that matters.

DoomHotel

Re:Consciousness and the Laws of Physics on Saturday July 17, 2021 @11:25AM (#27866421)
Peter Watts covered the possibility of "zombie" intelligences pretty well in his novel Blindsight. One thing I took from it is that such an intelligence could not possibly behave exactly like a human being, because a lot of what we do as humans involves interaction with other humans where we have a mental model of their consciousness being much like our own. Expressing sympathy toward another person, for example, would be inconceivable without consciousness.
Re:Generating JSON Directly from Postgres on Thursday July 15, 2021 @04:08PM (#27849485)
Postgres (>11) also implements the SQL/JSON path language that lets you extract table data from JSON.
Re:TypeScript's Type System Is Turing Complete (2017) on Wednesday July 14, 2021 @04:56AM (#27831015)
Using the type system to implement a Natural Numbers Object[1] is pretty clever. Doing math with it is not exactly efficient, but it does prove it works.

[1] https://en.wikipedia.org/wiki/Natural_numbers_object

Re:PostgreSQL, Memory and the Cloud on Saturday July 10, 2021 @07:11PM (#27797125)
The kernel uses the sysctl vm.vfs_cache_pressure to determine whether to evict cache vs. process memory.
Re:Being Poor (2005) on Saturday May 22, 2021 @06:30AM (#27245221)
Sam Vimes's $10 boots have become the 800 dollar cars in that article.

But cars are optional if you live somewhere with working mass transportation.

Re:Ampere switching to in-house CPU designs on Thursday May 20, 2021 @07:01AM (#27219627)
RISC-V International's plan to give away 1,000 boards to developers seems like a good idea. I like some of the products I've seen but the cheap ones are just toys and the decent ones are way overpriced.
Re:U.S. has almost 500k job openings in cybersecurity on Thursday May 20, 2021 @06:47AM (#27219540)
The US government's official numbers for 2019 [1] only show 131k jobs for "information security analysts" and they project 171k by 2029. The total for computer, network and database administrators is only around 500k.

[1] https://www.bls.gov/emp/tables/emp-by-detailed-occupation.ht...

Re:Getting Started with Org Mode (2016) on Saturday May 15, 2021 @10:00AM (#27165313)
Nobody likes Monty Python references?

I guess I shoulda known, my Simpsons one got downvoted too. Well, lessons learned, I guess.

Re:Getting Started with Org Mode (2016) on Saturday May 15, 2021 @06:27AM (#27163997)
I think it'd be more appropriate if the post bore a great red label: 'WARNING: EMACS!!!'
Re:Overcoming Tab Overload on Friday May 14, 2021 @03:07PM (#27158449)
Yes, same here. "Close Tabs to the Right" gets used a lot. If there's anything I want to keep I either pin it or drag it all the way to the left first.
I negotiated a deal at a former employer where I worked 4 x 9.5 hour days with Wednesdays off. I took a 5% pay cut and lost a proportional amount of vacation time. I kept my benefits but had to pay a slightly higher share for my contribution to the health care plan. It worked out very well—I especially liked having Wednesdays to run errands when government offices and banks etc. were open.
> unrestricted immigration

I'm in the USA and this polemical strawman is standard fare on Murdoch's Fox News. It's just a lazy way of dismissing the issue without real discussion.

You should be very glad you did not move to the UK. The Home Office has a backlog of 320,000 unprocessed applications for residency status, according to a recent Guardian article. [1] These people will be in legal limbo with no right to remain in the UK after June 30th if the backlog is not cleared.

[1] https://www.theguardian.com/politics/2021/may/10/eu-citizens...

This week's Brexit & Beyond [1] mentioned this and I forgot to follow up on the link, so thank you. Performative cruelty for the masses while the Government talks up the great and wonderful success that is Brexit is only to be expected, I guess.

[1] https://chrisgreybrexitblog.blogspot.com/2021/05/parallel-un...

Wow, it didn't work at all on my desktop. It thinks I have 23 apps from its list installed, on both Firefox and Chrome. Pretty funny seeing that on a Linux box running CentOS 7. Even better, it detects a different app on each as the only one missing: on Firefox it says I don't have Skype installed, while on Chrome it says I don't have Hotspot Shield installed.
Re:A pair of memory-allocation improvements in Linux 5.13 on Thursday May 13, 2021 @03:14AM (#27139289)
The Sun RPC code had a loop where it allocated one page at a time and filled an array with the returned pointers. The article says there was a 500% performance improvement after replacing the loop with a single call to the batch allocator. (While RPC can be thought of as networking code, it is more than just network packet flow.)

There are probably other places where this will help. Now that the interface is available, developers can start trying it.

Re:Fuck the Bread. The Bread Is Over (2020) on Thursday May 13, 2021 @02:57AM (#27139206)
Do you hate your feelings and try to run away from them?
My inherent cynicism leads me to believe the real reason they shut down the pipeline was because the attackers took down the accounting system.
Re:No, pi is wrong: The Tau Manifesto on Sunday May 09, 2021 @07:35AM (#27095173)
Is this title trying to riff on "No, it is the children who are wrong"?
Re:No, pi is wrong: The Tau Manifesto on Sunday May 09, 2021 @05:23AM (#27094501)
Figure 2 in that article, illustrating a constant-width figure with three sides (a Reuleaux triangle), reminded me of a science fiction story from long ago. I finally found the title: it's "The Three-Cornered Wheel" by Poul Anderson. A spaceship crew on an alien planet needs to transport something heavy but the natives worship circles and won't let them use cylindrical rollers. They eventually find a solution that satisfies everyone.
That Washington Post story is dated May 3, 2016 and now I'm wondering if that justifies flagging the post.
Re:Ursula Le Guin Books on Saturday May 08, 2021 @11:52AM (#27088234)
The 1980 film The Lathe of Heaven is wonderfully done, especially when you consider it was made as a PBS project for $250,000.

https://en.wikipedia.org/wiki/The_Lathe_of_Heaven_(film)

Use Firefox Focus on mobile.

On desktop, set Firefox to purge everything when closing the browser. Use Chrome only when necessary to do strictly Google-related things.

Re:A Historical Perspective on COBOL (2020) on Friday May 07, 2021 @11:12PM (#27083457)
We had some coding rules to help prevent that:

1. No unnecessary periods in the code

2. Required periods (ending paragraphs and if/then/else) go on a line by themselves

Re:A Historical Perspective on COBOL (2020) on Friday May 07, 2021 @09:48PM (#27082874)
I learned structured programming using COBOL in the 1970s on a Xerox Sigma 6 and went on to use it on Burroughs Medium Systems (B3500/B4800).
Re:A Historical Perspective on COBOL (2020) on Friday May 07, 2021 @02:11PM (#27078918)
We used PERFORM to implement calls. Whether or not implemented with a stack, it acts the same as any call/return. So to implement a simple loop to count records in a file:

PERFORM COUNT-ROWS VARYING COUNT FROM 1 BY 1 UNTIL EOF.

And the callee did:

READ INPUT-FILE AT END MOVE 1 TO EOF-FLAG.

Re:A Historical Perspective on COBOL (2020) on Friday May 07, 2021 @02:04PM (#27078843)
IBM mainframes also do/did hardware BCD arithmetic, starting with System/360.

And as for COBOL not lending itself to structure, how did Structured COBOL exist, then? I wrote lots of COBOL without a single GO TO anywhere in the code.

Older »