Readit News logoReadit News
bluejekyll commented on Push Ifs Up and Fors Down   matklad.github.io/2023/11... · Posted by u/goranmoomin
bluejekyll · 3 months ago
I really like this advice, but aren’t these two examples the same, but yet different advice?

// Good? for walrus in walruses { walrus.frobnicate() }

Is essentially equivalent to

// BAD for walrus in walruses { frobnicate(walrus) }

And this is good,

// GOOD frobnicate_batch(walruses)

So should the first one really be something more like

// impl FrobicateAll for &[Walrus] walruses.frobicate_all()

bluejekyll commented on The San Francisco stadium that fog killed   sfgate.com/sports/article... · Posted by u/PaulHoule
deepsun · 6 months ago
It's typical now for half the quotes online. So it's easier to make it "As Mark Twain famously never said, ...".
bluejekyll · 6 months ago
I suspect that Mark Twain would even greatly appreciate the humor in referring to it that way.
bluejekyll commented on All Kindles can now be jailbroken   kindlemodding.org/jailbre... · Posted by u/lumerina
thaumasiotes · 6 months ago
More significantly, Collins just says "British a variant spelling of jail".

https://www.collinsdictionary.com/dictionary/english/gaol

I believe Collins is the standard dictionary that British people use, much like Merriam-Webster for Americans.

bluejekyll · 6 months ago
The American Heritage Dictionary is far better than Merriam-Webster in my experience.
bluejekyll commented on NASA has a list of 10 rules for software development   cs.otago.ac.nz/cosc345/re... · Posted by u/vyrotek
emorning3 · 6 months ago
Looking over the list I determined that I already regularly follow all the rules but the first three.

But, as a C#/C++/Typescript developer, I don't have the first clue how any I might go about implementing those rules.

Anybody know of patterns for this kind of safe programming that I can use?

Does just using a language like Zig automatically make my code 'safe'?

Anybody know if generating code from a proof checking language like Lean would satisfy all these rules?

bluejekyll · 6 months ago
Rust pretty much nails all of those.
bluejekyll commented on Commercial tea bags release microplastics, entering human cells   medicalxpress.com/news/20... · Posted by u/wglb
0-_-0 · 8 months ago
Where do you find plastic tea bags? I don't think I've ever seen one.
bluejekyll · 8 months ago
“The tea bags used for the research were made from the polymers nylon-6, polypropylene and cellulose.”

They aren’t pure plastic.

bluejekyll commented on The legacy of NeXT lives on in OS X (2012)   arstechnica.com/gadgets/2... · Posted by u/Bondi_Blue
Projectiboga · 8 months ago
The BeOS guy asked too much from what I recall. I think the BeOS thing fell through before Mr Jobs quietly returned in 1997.
bluejekyll · 8 months ago
As I recall, BeOS was asking on the order of $80 million, NeXT was acquired for $400 million.

I found this reference, so 80 valuation, Be wanted upwards of 200, “In 1996, Apple Computer decided to abandon Copland, the project to rewrite and modernize the Macintosh operating system. BeOS had many of the features Apple sought, and around Christmas time they offered to buy Be for $120 million, later raising their bid to $200 million. However, despite estimates of Be's total worth at approximately $80 million,[citation needed] Gassée held out for $275 million, and Apple balked. In a surprise move, Apple went on to purchase NeXT, the company their former co-founder Steve Jobs had earlier left Apple to found, for $429 million, with the high price justified by Apple getting Jobs and his NeXT engineers in tow. NeXTSTEP was used as the basis for their new operating system, Mac OS X.”

https://en.m.wikipedia.org/wiki/Jean-Louis_Gass%C3%A9e

bluejekyll commented on Decline in teen drug use continues, surprising experts   arstechnica.com/health/20... · Posted by u/pseudolus
jorvi · 8 months ago
I’m very much for legalizing and regulating (almost) all drugs, but watch out with the confirmation bias of “everyone in my social circle who used recreationally turned out fine.”

I can’t find it right now but I read a great comment on legalization that pointed out that a kid experimenting with weed and cocaine in college is doing so for a radically different reason than a kid doing it escape the daily misery of his ghetto neighborhood.

This is also why you’ll often see staunch opposition to legalization in the lower socio-economic classes, with them having seen people close to them destroyed by drug use.

And yes, legalization and regulation would of course also allow harm reduction. But it is good to be able to take the opposition’s perspective :)

bluejekyll · 8 months ago
The primary reason to legalize isn’t to make it easier to do drugs, it’s to not use the justice and court system for dealing with addiction problems.

Our goal should be to legalize use and then take the money saved from police enforcement and funnel that into programs that get people off drugs. In the US an issue is that the latter part is part of the healthcare system, and we all know that has a lot of issues in serving people who fall into the under-employed category.

bluejekyll commented on One of the last Navajo code-talkers died on October 19th, aged 107   economist.com/obituary/20... · Posted by u/helsinkiandrew
WalterBright · 9 months ago
That's why encrypted messages still use code words and code phrases. Although the US did crack the Japanese encryption, the use of code words stymied them. The inference that Midway was the target of the Japanese attack was guesswork on what the code word for Midway was.

Code words and phrases can be cracked once one gets enough context.

bluejekyll · 9 months ago
> was guesswork on what the code word for Midway

More specifically, it was active counter intelligence where the US sent a false report of a water issue on Midway broadcast in the clear that they then picked up the Japanese report of the issue. They used that to discern which codeword Japan used for Midway.

bluejekyll commented on Sixteen U.S. states still ban community-owned broadband networks   techdirt.com/2024/11/07/1... · Posted by u/speckx
plussed_reader · 10 months ago
And this won't change for at least the next 4 years. Regulatory capture is a bitch.
bluejekyll · 10 months ago
This debate about regulations is alway interesting. There are regulations which help protect the environment, like not being allowed to dump dangerous chemicals into your local stream or river.

Then there are regulations like these which are aimed at protecting the investment companies have made into infrastructure, effectively granting them a monopoly.

When people debate this, they often are thinking of the first class of protective regulations that are too onerous on companies, but I think most people like clean drinking water and rivers that no longer catch fire.

Whereas the second class of protection is really harmful to the consumer, and the powers-that-be have effectively been given a monopoly, and with that the money and power to protect their place in the market through continued influence on elections and other things to maintain these rent seeking businesses. We all hate the latter, but these companies have a lot of sway over politicians.

bluejekyll commented on Using Rust in non-Rust servers to improve performance   github.com/pretzelhammer/... · Posted by u/amatheus
evacchi · 10 months ago
Java 11+ :)
bluejekyll · 10 months ago
Perfect!

u/bluejekyll

KarmaCake day10383June 8, 2015
About
https://github.com/bluejekyll https://bluejekyll.github.io/blog/
View Original