What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

Just figured out what was causing an illumos Valgrind test failure. I was getting invalid reads/writes when functions with large locals were being called. I spent a long time digging through the Valgrind new/die stack mechanisms and then the code for creating the stack.

Then I noticed that with stack logging turned on that there was a new current_stack with id 1.

Hang on a sec, this is a monothread test and stack id 0 should be the only stack.

Some digging turned up Solaris "set_stack" that gets called from the syscall wrapper for getsetcontext with flag set to SETUSTACK. That gets called from ld.so for the main thread. That also means the main stack.

That results in a second stack registration for the main stack, with the stack range coming from Solaris rather than the one that we crafted at statup. These values are "wrong" compared to what Valgrind is expecting. Stack registration doesn't check for overlaps it just inserts the stack at the head of a list.

Some time after that there are stack writes and it's this 'new' main stack that gets used for accessibility checks. These accesses trigger false positive errors.

0

"The idea of a computer library dates back to the first computers created by Charles Babbage.

An 1888 paper on his Analytical Engine suggested that computer operations could be punched on separate cards from numerical input. If these operation punch cards were saved for reuse then "by degrees the engine would have a library of its own.""

en.wikipedia.org/wiki/Library_

An aged 1951 black-and-white photo of a woman using a keyboard perforator (device designed to make holes) to "punch a program tape".

Next to her is a filing cabinet containing reels of punched tape.
0

New powers would let Ministers pick and choose what should be restricted, as well as impose curfews on access.

All without having to prove sites are harmful for children.

They don’t just cover social media, but all 'Internet services’ – blogs, websites, online games and more.

This is overreach.

lbc.co.uk/article/under-16-soc

0
0
0
0

32일차 일단 왜 틀렸는진 이해했습니다... 이전 코드에선 이미 remove로 뒤로 옮긴 영역까지 결국 순회를 돌게 되니까 결국 끝 부분에만 머물게 되어서 그렇게 되는거였어. 그래서 순회 돌 때 마다 remove로 뒤로 넘긴 원소들은 보지 않도록 end를 옮겼는데..? ..테스트케이스 1번만 틀리는건 또 처음보네요

0
0
0
0
9
0
0
1

Dear French-speaking Fedi friends,

I have a favor to ask you:

Could you please complete this survey by @cercleReseauCulture.fr - the test fediverse instance set up by the French Ministry of Culture?

🔗 : framaforms.org/mastodonfediver

It would help them understand what are your wishes and expectations when it comes to fediverse accounts run by cultural institutions.

The survey is totally anonymous and takes a few minutes to fill out.

Thanks!

And please boost 🚀

0
23
0
1
0
1
0
0
0

🚨 What kind of GDPR simplification do European businesses actually need? 📋 noyb conducted a survey among privacy professionals working in companies to find out!

Turns out, most of them don’t want protections to be cut back, but to reduce paperwork.

Full survey here 👇
noyb.eu/en/gdpr-omnibus-eu-sim

0
0
0
0
3
0
0
0
0
0
0
0
0
0

Reminder:

There's no such thing as being a little bit traitorous, a little bit anti-human, a little bit genocidal, a little bit Nazi.

You commit certain acts and there's no going back. Yes, you may conceivably make reparations, take steps towards never doing it again, even denounce it in others, but there's no undoing the harm.

Does this make me some kind of absolutist? Maybe. Do I care? Watch me, assholes.

0
0
0
0
0
0
1
1
0
0
2
0

考慮下半年要不要換 MacBook Air M5
要換打算還是自己買
懶得用公司買
自己電腦自己買感覺就不一樣
我的 M2 還是蠻好用
除了在外頭工作電池不太給力
其他都還頭好壯壯 XD
這台 Air M2 也陪我快 4 年
去了好多地方工作、經歷許許多多
臺東一週多、臺南與高雄數次、桃園 long stay
🥹

0
0
0
1
0
0
0
0
0
0
4
0
0
0
영양의 관점에서 이야기할 때 당류당질 or 탄수화물을 분리해서 이야기 합니다.
당류는 단당류,다당류 할 때 말하는 것 = 설탕,포도당
당질은 보통 우리가 아는 탄수화물에 포함되는 것
탄수화물은 여기에 특수당+비수용성을 포함합니다.
당류/당질/탄수화물이 분리되어 표기되어 있다면 탄수화물은 거의 섬유질 표기이며
한국에서 표기되는 탄수화물섬유질이 따로 표기되어 있으면 당질, 섬유질 표기가 없으면 당류를 제외한 나머지라고 생각하시면 됩니다.
지금껏 알려진 가장 현실적인(하지만 한국인에게 가혹한) 식단이 당질제한식인데, 밥/면을 거의 먹지말라는 의미입니다(?!?!?!)
0
0
1