🧮 USERS:1 FEEDS:2 TWTS:328 ARCHIVED:36263 CACHE:1622 FOLLOWERS:13 FOLLOWING:14
Lunduke’s History of Computers - Volume 2
Free for all subscribers to The Lunduke Journal. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:327 ARCHIVED:36241 CACHE:1665 FOLLOWERS:13 FOLLOWING:14
Progress! so i have moved into working on aggregates. Which are a grouping of events that replayed on an object set the current state of the object. I came up with this little bit of generic wonder.
type PA[T any] interface {
event.Aggregate
*T
}
// Create uses fn to create a new aggregate and store in db.
func Create[A any, T PA[A]](ctx context.Context, es *EventStore, streamID string, fn func(context.Context, T) error) (agg T, err error) {
ctx, span := logz.Span(ctx)
defer span.End()
agg = new(A)
agg.SetStreamID(streamID)
if err = es.Load(ctx, agg); err != nil {
return
}
if err = event.NotExists(agg); err != nil {
return
}
if err = fn(ctx, agg); err != nil {
return
}
var i uint64
if i, err = es.Save(ctx, agg); err != nil {
return
}
span.AddEvent(fmt.Sprint("wrote events = ", i))
return
}
This lets me do something like this:
a, err := es.Create(ctx, r.es, streamID, func(ctx context.Context, agg *domain.SaltyUser) error {
return agg.OnUserRegister(nick, key)
})
I can tell the function the type being modified and returned using the function argument that is passed in. pretty cray cray.
Progress! so i have moved into working on aggregates. Which are a grouping of events that replayed on an object set the current state of the object. I came up with this little bit of generic wonder.
type PA[T any] interface {
event.Aggregate
*T
}
// Create uses fn to create a new aggregate and store in db.
func Create[A any, T PA[A]](ctx context.Context, es *EventStore, streamID string, fn func(context.Context, T) error) (agg T, err error) {
ctx, span := logz.Span(ctx)
defer span.End()
agg = new(A)
agg.SetStreamID(streamID)
if err = es.Load(ctx, agg); err != nil {
return
}
if err = event.NotExists(agg); err != nil {
return
}
if err = fn(ctx, agg); err != nil {
return
}
var i uint64
if i, err = es.Save(ctx, agg); err != nil {
return
}
span.AddEvent(fmt.Sprint("wrote events = ", i))
return
}
This lets me do something like this:
a, err := es.Create(ctx, r.es, streamID, func(ctx context.Context, agg *domain.SaltyUser) error {
return agg.OnUserRegister(nick, key)
})
I can tell the function the type being modified and returned using the function argument that is passed in. pretty cray cray.
🧮 USERS:1 FEEDS:2 TWTS:326 ARCHIVED:36217 CACHE:1658 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:325 ARCHIVED:36174 CACHE:1662 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:324 ARCHIVED:36126 CACHE:1630 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:323 ARCHIVED:36095 CACHE:1620 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:322 ARCHIVED:36071 CACHE:1610 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:321 ARCHIVED:36041 CACHE:1614 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:320 ARCHIVED:36015 CACHE:1629 FOLLOWERS:13 FOLLOWING:14
Scientific Field Prefixes
⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:319 ARCHIVED:35977 CACHE:1621 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:318 ARCHIVED:35951 CACHE:1608 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:317 ARCHIVED:35790 CACHE:1611 FOLLOWERS:13 FOLLOWING:14
R to @mind_booster: “O Governo está a fazer com a avaliação ambiental, aquilo que fez com a conservação da natureza e a proteção da biodiversidade.” 2/7
“O Governo está a fazer com a avaliação ambiental, aquilo que fez com a conservação da natureza e a proteção da biodiversidade.” 2/7 ⌘ Read more
[47°09′07″S, 126°43′31″W] Raw reading: 0x62EB5252, offset +/-2
🧮 USERS:1 FEEDS:2 TWTS:316 ARCHIVED:35745 CACHE:1618 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:315 ARCHIVED:35714 CACHE:1620 FOLLOWERS:13 FOLLOWING:14
R to @mind_booster: So what next in the vaportech train? Metaverse 2.0?
So what next in the vaportech train? Metaverse 2.0? ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:314 ARCHIVED:35694 CACHE:1628 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:313 ARCHIVED:35653 CACHE:1609 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:312 ARCHIVED:35548 CACHE:1535 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:311 ARCHIVED:35521 CACHE:1525 FOLLOWERS:13 FOLLOWING:14
“we looked at how damaging the journey of overshooting the 2°C temperature target would be,
[…]
The results suggest that a temporary overshoot would cause waves of irreversible extinctions and lasting damage to tens of thousands of species”
https://theconversation.com/climate-crisis-even-temporarily-overshooting-2-c-would-cause-permanent-damage-to-earths-species-185929?utm_source=twitter&utm_medium=bylinetwitterbutton
“we looked at how damaging the journey of overshooting the 2°C temperature target would … ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:310 ARCHIVED:35401 CACHE:1496 FOLLOWERS:13 FOLLOWING:14
GitHub Sponsors available in 30 new regions
GitHub Sponsors expands globally with 30 newly supported regions, bringing the total to 68. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:309 ARCHIVED:35369 CACHE:1481 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:308 ARCHIVED:35338 CACHE:1485 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:307 ARCHIVED:35290 CACHE:1458 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:306 ARCHIVED:35250 CACHE:1455 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:305 ARCHIVED:35225 CACHE:1459 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:304 ARCHIVED:35175 CACHE:1452 FOLLOWERS:13 FOLLOWING:14
❤️ 🎶: Babalik Sa’yo - from 2 Good 2 Be True by Moira Dela Torre
[47°09′50″S, 126°43′44″W] Raw reading: 0x62DA2ED1, offset +/-2
🧮 USERS:1 FEEDS:2 TWTS:303 ARCHIVED:35163 CACHE:1475 FOLLOWERS:13 FOLLOWING:14
Physics Cost-Saving Tips
⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:302 ARCHIVED:35148 CACHE:1473 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:301 ARCHIVED:35133 CACHE:1463 FOLLOWERS:13 FOLLOWING:14
find the next number in the sequence 0,2,2,46,3640
🧮 USERS:1 FEEDS:2 TWTS:300 ARCHIVED:35117 CACHE:1470 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:299 ARCHIVED:35064 CACHE:1473 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:298 ARCHIVED:35034 CACHE:1450 FOLLOWERS:13 FOLLOWING:14
I’m trying to switch from Konversation to irssi. Let’s see how that goes. Any irssiers out there who can recommend specific settings or scripts? I already got myself trackbar.pl and nickcolor.pl as super-essentials. Also trying window_switcher.pl. Somehow my custom binds for Ctrl+1/2/3/etc. to switch to window 1/2/3/etc. doesn’t do anything: { key = "^1"; id = "change_window"; data = "1"; } (I cannot use the default with Alt as this is handled by my window manager). Currently, I’m just cycling with Ctrl+N/P. Other things to solve in the near future:
- better, more colorful and compact theme (just removed clock from statusbar so far)
- getting bell/urgency hints working on arriving messages
- nicer tabs in status bar, maybe even just channel names and no indexes
- decluster status bar with user and channel modes (I never cared about those in the last decade)
🧮 USERS:1 FEEDS:2 TWTS:297 ARCHIVED:35006 CACHE:1434 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:296 ARCHIVED:34976 CACHE:1413 FOLLOWERS:13 FOLLOWING:14
Research: How GitHub Copilot helps improve developer productivity
We surveyed more than 2,000 developers about whether GitHub Copilot helped them be more productive and improved their coding. Then, we matched this qualitative feedback and subjective perception with quantitative data around objective usage measurements and productivity. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:295 ARCHIVED:34938 CACHE:1394 FOLLOWERS:13 FOLLOWING:14
Ignite Realtime Blog: Openfire 4.7.2 released
The Ignite Realtime Community is pleased to announce the release of Openfire version 4.7.2. This version fixes a number of bugs and signifies our efforts to produce a stable 4.7 series of Openfire whilst work continues on the next feature release 4.8.0.
A major highlight of this release is fixing of BOSH bugs found under load testing.
You can find [download artifacts](https://ign … ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:294 ARCHIVED:34917 CACHE:1389 FOLLOWERS:13 FOLLOWING:14
@prologic@twtxt.net: 1. I use classic twtxt client written in Python from console, I like simplicity; 2. Thanks for the feedback about my website! It’s better viewed with old 800x600 monitors, haha
🧮 USERS:1 FEEDS:2 TWTS:293 ARCHIVED:34885 CACHE:1387 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:292 ARCHIVED:34863 CACHE:1384 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:291 ARCHIVED:34842 CACHE:1418 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:290 ARCHIVED:34827 CACHE:1421 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:289 ARCHIVED:34810 CACHE:1428 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:288 ARCHIVED:34804 CACHE:1427 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:287 ARCHIVED:34793 CACHE:1449 FOLLOWERS:13 FOLLOWING:14
[47°09′53″S, 126°43′08″W] Raw reading: 0x62C46001, offset +/-2
🧮 USERS:1 FEEDS:2 TWTS:286 ARCHIVED:34787 CACHE:1461 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:285 ARCHIVED:34767 CACHE:1465 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:284 ARCHIVED:34741 CACHE:1467 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:283 ARCHIVED:34725 CACHE:1489 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:282 ARCHIVED:34707 CACHE:1492 FOLLOWERS:13 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:281 ARCHIVED:34685 CACHE:1484 FOLLOWERS:13 FOLLOWING:14
Sam Whited: Sirius
NameSiriusDesignationα CMaMake/modelHonda CB1100StyleNaked bikeEngine1140cc air-cooled inline fourTiresMetzeler Roadtec Z8 Interact Tires 110/80-18; 140/70-18
With gas prices as high as they are I recently decided to sell my Honda S2000,
Vela.
Though I normally say that there is never a reason to buy a new vehicle when a
used one can be had that’s just as good, depreciates less, and is cheaper, I’ve
decided to brake my own rule and ordere … ⌘ Read more
China’s easing of zero-Covid restraints set to release stocks into bull-market territory for first time in three years
A change in quarantine rules comes as the CSI 300 Index is within about 2 per cent of bull-market status, but opinions differ over how heavily Beijing’s zero-Covid policy still weighs on the market ⌘ Read more
Coronavirus: Indonesia urged to tighten curbs during 4th wave as cases of Omicron subvariants rise
On Tuesday, Indonesia had 2,167 new infections, with at least 143 cases of Omicron BA.4 and BA.5 – a number health experts said was ‘the tip of the iceberg’ due to a lack of testing. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:280 ARCHIVED:34669 CACHE:1493 FOLLOWERS:13 FOLLOWING:14
2 Indian women arrested for trying to smuggle more than 100 live animals at Bangkok airport
The creatures, including two armadillos, 35 turtles and 50 chameleons, were found in a pair of bags belonging to the women. ⌘ Read more
Coronavirus: Hong Kong could cut hotel quarantine to 5 days, with another 2 in home isolation, incoming health minister says
Professor Lo Chung-mau, who will be new secretary for health on July 1, reveals ‘5+2’ option among possibilities being considered to help shorten quarantine ⌘ Read more
2 arrested after armed jewel heist at art fair in Netherlands
Four smartly dressed suspects raided The European Fine Art Fair in Maastricht and threatened people with what appeared to be handguns. ⌘ Read more
Hong Kong Palace Museum ‘ready to be fully opened’ on July 2, with security checks in place
Visitors to pass through metal detectors at entrance and belongings to be scanned; daily shuttle service around West Kowloon Cultural District available. ⌘ Read more
Thailand tops 2 million tourists this year, as it longs for absent Chinese visitors
Thailand’s tourism ministry voiced hopes that Chinese holidaymakers – who made up nearly 30 per cent of the country’s 40 million foreign tourists pre-pandemic – may return before the end of the year. ⌘ Read more
[47°09′58″S, 126°43′17″W] Raw reading: 0x62BA8AD1, offset +/-2
🧮 USERS:1 FEEDS:2 TWTS:279 ARCHIVED:34650 CACHE:1498 FOLLOWERS:13 FOLLOWING:14
Highlights from Git 2.37
The open source Git project just released Git 2.37. Take a look at some of our highlights from the latest release. ⌘ Read more
Chinese prototype a precursor to hypersonic passenger travel anywhere in the world in 2 hours, says team
Completion of all test flights by 2025 will allow the development of a passenger aircraft that can travel more than 6,000km at Mach 6: researchers. ⌘ Read more
Chinese President Xi Jinping expected to begin 2-day trip to Hong Kong on Thursday ‘but will not stay in the city overnight’
Source says outgoing leader Carrie Lam has planned banquet at Government House for the president on June 30. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:278 ARCHIVED:34640 CACHE:1502 FOLLOWERS:13 FOLLOWING:14
New York’s ‘duck sauce killer’ Glenn Hirsch could be freed from prison on bail on Monday
Hirsch was arrested on June 2 on charges of shooting dead Chinese food delivery man Zhiwen Yan. Hirsch allegedly stalked staff at New York’s Great Wall restaurant over his demand for more duck sauce. ⌘ Read more
Pride parades march on with new urgency amid calls for changes in law
The marches come 2 days after a conservative justice said the Supreme Court should reconsider the right to same-sex marriage and laws criminalising gay sex. ⌘ Read more
‘We have nothing’ say survivors of deadly earthquake now facing disease outbreak
There is a desperate need for clean water – cholera outbreaks in the aftermath are of particular and serious concern – after at least 1,000 people were killed, 2,000 injured and 10,000 homes destroyed in the devastating earthquake. ⌘ Read more
Hong Kong customs intercepts Macau-bound riverboat suspected of smuggling HK$23 million in cash, arrests 2
Two men, aged 45 and 76, arrested earlier this month on suspicion of smuggling goods to Macau. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:277 ARCHIVED:34627 CACHE:1503 FOLLOWERS:13 FOLLOWING:14
How’s the China-India economic relationship changed 2 years on from the deadly Galwan Valley border clash?
China’s exports to India grew to US$27.1 billion in the first quarter of 2022, but India is concerned by its ballooning trade deficit with its neighbour amid strained ties two years after the deadly Galwan Valley clash. ⌘ Read more
Morocco says 18 migrants died during attempted crossing of 2,000 into Spanish enclave, with ‘dozens piled on the ground’
Video images of apparent aftermath of mass crossing attempt of 2,000 into Spanish enclave Melilla showed bleeding and motionless people. ⌘ Read more
Hong Kong national security police arrest 2 more suspected to be linked to possible bomb plots involving 30kg of chemicals
Two men, aged 27 and 29, detained for manufacture of explosives and inciting others to cause grievous bodily harm. ⌘ Read more
Norway ‘hate’ shooting kills 2 in gay bar rampage hours before Pride march
10 people were also seriously injured in the early-hours tragedy shortly before the city’s LGBT community was due to hold its annual Pride event; police have ‘reason to think this may be a hate crime’. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:276 ARCHIVED:34470 CACHE:1475 FOLLOWERS:13 FOLLOWING:14
Coronavirus: Beijing making contingency plans for Hong Kong government swearing-in ceremony on July 1 after 2 top city officials catch Covid-19
Cases spark speculation on whether a state leader such as President Xi Jinping will attend ceremony on July 1, the 25th anniversary of city’s return to Chinese rule. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:275 ARCHIVED:34441 CACHE:1479 FOLLOWERS:13 FOLLOWING:14
Opening of Hong Kong Palace Museum a milestone in the Jockey Club’s support for the HKSAR in the past 25 years
[Sponsored Article]
The construction of the Hong Kong Palace Museum (HKPM) was funded by a HK$3.5 billion donation from The Hong Kong Jockey Club Charities Trust – the Club’s largest single charity donation to date. The museum will open to the public on 2 July as a highlight of the 25th anniversary of the establishmen … ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:274 ARCHIVED:34430 CACHE:1492 FOLLOWERS:13 FOLLOWING:14
Cash-strapped Pakistan scores IMF financial aid win – but millions of people may face ruin, analysts say
Analysts say energy price hikes after renewal of IMF support package may push many more people into poverty and wreak havoc among 5.2 million small and medium-sized businesses. ⌘ Read more
Coronavirus: Hong Kong tour group heads to Japan for the first time in more than 2 years after Tokyo eases Covid rules
Ten travellers join seven-day trip organised by EGL Tours, which had previously pushed back the departure date from June 11 to June 15 and then to Wednesday. ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:273 ARCHIVED:34398 CACHE:1491 FOLLOWERS:13 FOLLOWING:14
What If? 2 Countdown
⌘ Read more