HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mrspuratic

no profile record

comments

mrspuratic
·24 giorni fa·discuss
This feature has been part of bash since 5.1 (ca 2020), though it may not be enabled in all distros.

  cd src/bash-5.3/examples/loadables
  make accept
  enable -f ./accept accept
  (accept -r RHOST -v SOCKETFD -b 127.0.0.1 8000; 
    read -u $SOCKETFD SOCKETDATA; 
    printf "%s: %s\n" "$RHOST" "$SOCKETDATA";
    printf "goodbye, world\n" 1>&${SOCKETFD} ) &
  nc 127.0.0.1 8000 <<< "hello, world"
For real use you may need to add "exec {SOCKETFD}<&-" to close the FD.

Edit: https://news.ycombinator.com/item?id=39369749 (2024)
mrspuratic
·30 giorni fa·discuss
Plus /actual/ flywheels to compensate for non-synchronous generation: https://www.esbinternational.ie/case-studies/details/moneypo...
mrspuratic
·mese scorso·discuss
Land grab strategy 101.
mrspuratic
·2 mesi fa·discuss
Not as long as there's money to be made schilling and selling "qualifications" in prompt engineering.
mrspuratic
·2 mesi fa·discuss
This is how it works. Ireland was a net beneficiary until 2018, and now it is a net contributor (one of only 10 net contributors). These are decades long investments, Poland joined in 2004. Per capita Poland is not the "greatest" beneficiary but I don't think that will help win any arguments for those already resistant to facts or reasoning. https://www.euronews.com/business/2024/12/09/eu-budget-who-p...
mrspuratic
·2 mesi fa·discuss
\usepackage{comicsans}
mrspuratic
·2 mesi fa·discuss
"updoc" is still my favourite joke name. A long time ago (predating E lang's updoc afaict) I wrote a toy markup for semi-technical docs, named so with the specific intention of dropping it casually into conversation. Still funny :D
mrspuratic
·3 mesi fa·discuss
showdead=no in user settings hides flagged & moderator killed posts
mrspuratic
·4 mesi fa·discuss
Smoke yes, but you're also turning a carbon sink into a carbon source. At ~16% of the island's surface area, peatland stores an estimated 53% of soil based carbon. (source: Irish Peatland Conservation Council)
mrspuratic
·5 mesi fa·discuss
[dupe^2], previously: https://news.ycombinator.com/item?id=46897340
mrspuratic
·5 mesi fa·discuss
Robert Frank Tinney, artist for over 100 Byte magazine covers 1975-1990, passed away peacefully on February 1st, 2026, at the age of 78.

Also: https://news.ycombinator.com/item?id=28607038
mrspuratic
·5 mesi fa·discuss
I grind my teeth every time I hear "I need an urgent DNS change" :/
mrspuratic
·5 mesi fa·discuss
Hydro can help a lot with that. Grid stability is a big issue with non-synchronous power sources (SNSP).
mrspuratic
·6 mesi fa·discuss
> I couldn't quickly find a way to decompress them

    pdftk in.pdf output out.pdf decompress
mrspuratic
·6 mesi fa·discuss
Although it's not mentioned in those, it's going away at the end of the month: https://news.ycombinator.com/item?id=46701733 https://news.ycombinator.com/item?id=46678710
mrspuratic
·6 mesi fa·discuss
I got a Foxydry (Italy) wall-mounted rack a few years back, best €100 I spent that year. Bottom rack folds up flush to the wall, top rack raises nearly to the ceiling. Towels dry fine spread over extra bar or three to allow for better air circulation.
mrspuratic
·6 mesi fa·discuss
No fridge? That's a heat pump.
mrspuratic
·6 mesi fa·discuss
This. I have that type (regenerative MHVR) installed in the attic for upstairs, and a synced pair of in-wall ceramic (recuperative) types on opposite sides of main living area downstairs (eliminating ducting, albeit with reduced efficiency). I haven't attempted any energy/ROI calculations but fresh filtered air, lower humidity and good nights sleep are well worth the claimed single-digit watt power usage to me.
mrspuratic
·7 mesi fa·discuss
In old school FORTRAN (I only recall WATFOR/F77, my uni's computers were quite ancient) subroutine (aka "subprogram") parameters are call-by-reference. If you passed a literal constant it would be treated as a variable in order to be aliased/passed by reference. Due to "constant pooling", modifications to a variable that aliased a constant could then propagate throughout the rest of the program where that constant[sic] was used.

"Passing constants to a subprogram" https://www.ibiblio.org/pub/languages/fortran/ch1-8.html
mrspuratic
·7 mesi fa·discuss
Ireland is lucky enough to have several suitable sites, but just one operational: Turlough Hill, which has been running for over 50 years and is in use daily. It's at least as useful in terms of grid stability and (relatively) rapid dispatch as capacity. Output ~0.7% of total daily (~120GWh), ~5% of daily peak (~6GW), wintertime figures. For comparison electricity usage has increased about 8-fold since it was deployed in 1974.