skysight-inc/HackerNews huggingface dataset:
Do we really need a printer in there? What if it just connects to one of those Fuji Instax printers or something like a Canon Selphi printer.
> Java initializes variables to their zero values

I know, but that's not what I'm referring to here. I'm referring to someone writing:

type A struct {
A int
B int
}

a := A {A: 1, B: 2}

then modifying `A` by adding another field `C int`

The code continues to compile, with `C` being initialized to 0, which can be incorrect.

In Java or C#, you'd add a third value to the constructor, resulting in a compile time error for all constructor invocations.

As I said, I've seen this issue come up in production resulting in bugs.
I would perhaps agree that having to structure the code in such a way that TCO is "triggered" can be a hassle, but once you realize the pattern and learn it, it's not hard at all to refactor your code to trigger TCO. And it allows you to enjoy the semantics of an infinitely-deep stack without actually needing an infinitely-deep stack :)
Veritas completely misunderstands and twists what 'fairness' and 'cognitive bias' in AI is. AI can only learn what you feed it. Choices in what data is given to AI can bias the outputs, and then bias people who become blinded that the inputs are biased.

So for example, if I only ever feed an AI training data about doctors and nurses in which the male examples are only ever used for doctor, and the female examples are only ever used nurse, then when you or anyone else ask's what a doctor or nurse is, the output has a gender bias. This is Google Search becoming an unwitting amplifier in cognitive bias and stereotypes.

Now you might counter that "most" doctors are male, and "most" nurses are female and that's reality, but when I ask for the definition of what a doctor is and what it does, I'm not asking for demographics.

These guys are taking concerns that are openly discussed in AI conventions among experts and ethicists as a worry, and twisting it to fit their own scared political agenda.

We've had examples of this already with image classification networks classifying dark-skinned people are gorillas, which is clearly because the training dataset itself is unconsciously biased.

How do you detect when these biases occur? You need a diverse group of human evaluations to review the outcomes to make sure the AI hasn't learned the wrong biases. Or at the very least, you need that group of people to construct a good integration test set to look for misclassifications.

Seems what's going on, is someone taking complex technical issues, twisting them, and feeding them to politicians like Gohmert who clearly won't understand any nuance.

If Veritas wants government to regulate AI to protect conservative viewpoints, he may end up regretting getting the government involved.
I suspect some people think their JS code should be savored, and don't like learning it is mostly resented by almost everyone.
Treasury Department Launches Investigation into Delay of Harriet Tubman Bill
Spent time at FB, can confirm that you have to go through a few modals, your manager is notified via email, and the penalties are quite harsh. This was back in 2014
Alphabet’s development plan for Toronto waterfront
I have never actually used this feature but here goes:

The language standard library gives you hooks to relup the internal state of all of your processes: https://hexdocs.pm/elixir/GenServer.html#c:code_change/3

What it doesn't do is give you a hook to relup the messages that get passed between processes. If you do it right, you can pattern match against different versions of messages, and do the correct conversion function, but there are liable to be many, many, shapes of messages (including ones that you might not write yourself, e.g. coming from a library) and it might be difficult to catch them all.

To do it right, I would want to set up a lot of testing to make sure you can hot code reload safely. There is no specific guideline, and it probably hurts forward progress in developing guidelines, that generally, it's okay to have some downtime in any individual server node as erlang/elixir encourages you to think about failover anyways, and most elixir apps are relatively stateless webservers, so you've probably got robust load balancing and migration scheme in place in your cluster to begin with, making blue/green or rolling updates a "pretty much good enough" thing.

> Is this a consequence of lack of static typing

No.
With the wired headphones, Apple offered stock headphones and separately sold in-ear headphones for $79, the sound quality of which was actually pretty amazing. [1]

I'm super bummed we're at AirPods 2.0 and still no in-ear option. It's not just an aesthetic choice, it's literally a public health concern, as the article states.

I own Bose QC35's and they're great, but they're bulky so I don't always carry them with me the way I can small earphones. I really wish Apple would make in-ear AirPods... I even bought some generic Chinese ones [2] but although they kind of work, they quality isn't anywhere close (in sound quality, in Bluetooth reliability, and size and in construction generally).

[1] https://www.amazon.com/Apple-Ear-Headphones-Remote-Mic/dp/B0...

[2] https://www.amazon.com/gp/product/B07J2Z5DBM/ref=ppx_yo_dt_b...
That’s right now.
Remember that domains used to be free before 1997, before Network Solutions started charging $100/year.

The data a registrar stores for your domain is well under 1KB, including name server records, name, address, etc. This is highway robbery and pure profit to the registrar.
Product Management for AI
When I was at FB you had to go through two confirmation modals and at least from my team (biz intelligence on ads side) it said an email would be sent to my manager if I proceeded.

I never worked in a role that required me to go further, but the penalty of losing my job deterred me just fine.
It's a Nespresso Lattissima-- the old version where the buttons were physical push-to-press. We pulled the buttons off and soldered wires to the board inside via a 4-channel relay.
D have one thing going for it,
it has Walter Bright and Andrei Alexandrescu

Other than that, not so much

D is a language with no clear strategic advantage

D is language that doesn't have enough high level features to make it a top choice for application development

And is not low level enough to be a top choice for systems programming

D's failure is at a strategic level, it wont be solved by adding new features or even removing features
> Things are increasingly getting worse

General purpose headline for attracting views, tying into the seductiveness of a general perception of doom and gloom.

https://www.forbes.com/sites/stevedenning/2017/11/30/why-the...
This is an obvious mistake made by a steel company. The BGP "errors" that make tons of traffic go to Russia or China OFTEN WORK COMPLETELY. Some have worked so well no one noticed for months. That's far, far different than an error, that a large section of a country's traffic being successfully hijacked to another country. Accidents usually break things. What Russia and China are too successful to be accidents.
More than you want to know:
https://en.wikipedia.org/wiki/The_Funniest_Joke_in_the_World

Just the right amount:
https://www.youtube.com/watch?v=_yo9WHrTvks
There are a few companies that sell them, the cheapest ones I have seen are $500 and many are in the multiple thousands. And that's before paying the audiologist, though Ultimate Ears claims you can do the molding yourself at home and I have no idea if this is significantly worse or not.

Examples:

https://custom.ultimateears.com/products/earphones

https://nobleaudio.com/en/shop/custom/

https://www.64audio.com/store/audiophile#universal
> The solutions are out there if we put the money into it.

If you're suggesting with putting that money into research and solving the problems then yes, I 100% agree (not sure how this wasn't conveyed in my post. In fact every time I post something like this I'm surprised people still respond this way. What am I doing wrong?). If you're saying with existing technology well... maybe. But I'm assuming the former because of the moon analogy (where we had to invent a lot of stuff).
I disagree. Overall v3 will be more TS friendly as they’re working to make the lib more functional and less reliant on JS syntactic sugar like classes, hocs, and mixins.
They would lose business
Elite athletes' performance-enhancing microbe functions via lactate metabolism
> Miniflux is compiled statically without external dependencies, drop the binary on your server and you are done.

> Works only with Postgresql

There’s a serious need for a pure-go, static compile relational DB. If you’re thinking you can use SQLite you’ll be mistaken, because it can’t be statically compiled.
Cloudflare's bet is essentially that they can control so much of the internet infrastructure that they can behave however they like and we all simply have to deal with it.
Reminds me of The Republic, where Plato describes an ideal government of selfless, enlightened rulers that would over time devolve down into democracy, which then would end up in tyranny, because the people would choose a tyrant to get rid of the chaos.

Unrelated, I was unaware of the dictatorship of the proletariat, but that explains to me why communism ends up as a system of control: because it started out as a system of control in the first place. And why it's liberal (at least in the 1910s) intellectuals that were attracted to it: they were the ones ruling society in that system, which, as every intellectual knows, is The Way It Ought To Be. Of course, it got co-opted by the political sorts because control in the real world requires weapons not ideas.
Even better than that, if you create a new infix operator:

sub infix:<OP> ( $a, $b ) {…}

You get `OP=` for free:

$x OP= $y; # $x = $x OP $y

That is because `=` is actually a meta operator. (It takes an infix operator as a sort-of argument.)

$x [OP]= $y; # more explicit that `OP` is an argument to `=`

---

You could also just use a regular subroutine as if it was an infix operator:

sub foo ( $a, $b ) {…}

$x [&foo] $y; # foo( $x, $y )

So you can also use it with the `=` meta operator:

$x [&foo]= $y; # $x = foo( $x, $y )
I do think there's a difference between researching and holding an opinion and researching and holding an opinion that can be used to form accurate predictions about the future. I think that one of the things that's happening to us with social networks and such is that we're realizing that it is not always the case that more and freer information leads to better decisions. People have plenty of time and opportunity to do research now. They do not have the time and opportunity to learn to do good research.
We actually don't need morality for this one (or much of anything).

"Although the company called the event an “act of God” that was unprecedented, the study said a similar event happened during Hurricane Camille in 1969. Eleven years later, a report commissioned by the Interior Department identified areas in the gulf that were susceptible to mudslides. Mississippi Canyon 20, the site of Taylor Energy’s platform, was one of those areas."

So they chose to build in an area susceptible to mudslides, and then their platform was knocked down by a mudslide. No morality here, just a factual observation.

I would prefer Taylor Energy to participate in the cleanup of this spill, and provide some reassurance they are working to prevent future spills, because they are willing to do so. If they are unwilling, maybe there is some other way to get the same result. I've always thought that the U.S. could just start bribing these companies to take a long vacation: just send everyone home and keep paying for them to have the quality of life they desire, without releasing toxic material into the world ocean. I think such an endeavor would be worthwhile because the photosynthesizing organisms at the ocean surface provide two thirds of the oxygen we breathe and oxygen is something everyone requires to sustain life. The industrial chemical activities in the gulf and other places have created massive dead-zones where nothing can live, let alone produce the oxygen which we all need to live. Again, no morality here, just factual, concrete observations.
Hi OP! You should consider 3D printing the grouphead plastic cover!
If you use the GC (and don't go out of your way to hide pointers/references from it) it's as memory-safe as any GC'ed language. If you avoid the GC and do your memory management manually you at least have RAII so it shouldn't be any less safe than C++. D also includes some (experimental?) language features which aim to improve memory safety[1] but they're nowhere near as robust as Rust's type system.

[1] https://dlang.org/spec/memory-safe-d.html
But your volume level isn't your volume level.

Your OS-level volume level is the maximum permitted level.

The volume in your ears is that multiplied by the amplitude of what you're listening to.

It frustrates me that when I listen to soft passages in classical music, I literally cannot turn the volume up loud enough to hear it because it won't go any higher. But then I hear a system beep and it leaves my ears ringing it's so loud.

What I really wish is that dynamic volume equalization would be built in as an option to the OS itself. Then "maximum" might actually be something useful.
Apparently Verge said it "reportedly" struggles with 480p "Youtube videos". Which is doubly wrong, as who knows whether whatever mechanism was being used to play Youtube even supports the hardware decoding capabilities of the Pi.

I'm not sure that transcoding has anything to do with it, unless the transcoding was happening on the Pi itself (which would indeed be dumb). Most of the time people are transcoding things it's x264 -> x264 with Plex, just with a much lower bitrate (and probably 720p) because (as you say) their player's platform can't handle it and no one cares about video quality these days.
2 sets of twins, one set spent 3 weeks in prenatal and they went through a bad bout of jaundice that needed care and treatment.

total hospital bill: 0
It doesn't write individual orders to the chain. It could if we funded a wallet to pay the gas to write those records but right now it just does authentication of NFT ownership to grant access, which is conveniently free. The history logs are stored locally.
Why would you be cautious? Not saying there's no downsides, but if anything I consider it to be an "upside" that the device is simpler. Now I don't need to worry about linux, or making sure it's a read only filesystem with an image all setup, etc.

I look at it this way: If you want a remote device that measures or controls just one or two things, but does very little if any calculations - use a esp8366/32 (or anything with low power requirements). If you need to process data (video stream), or do other calculations, potentially while controlling many different sensors/things - you'll likely want a raspberrpi/similar
EC2 engineer here.

Pricing is definitely a hard topic, and we can do more to make it easier. However, with regards to your second comment, are you looking for something more than this page [1]

[1] https://aws.amazon.com/ec2/pricing/on-demand/
Those are all legitimate points.

I don't think anyone is concerned about Google trying to get past fake news (or rather, surely there are few voices there)

The issues are more disconcerting, like senior executives trying to make sure that 'Trump never happens again', the assumption being either 'voters were so deeply misinformed' or that 'Trump is illegitimate because of who he is'.

If the former, well, ok, possibly, but I feel that G will end up leaning on the bias to try to tell us 'how bad Trump' is. If it's the later, well, this would be deeply anti-democratic.

The new policy sheds light on how they'll go about this - in the article they reference to how, when people type 'Clinton emails' that there should be no reference to the ostensible scandal. This is possibly problematic as Hillary Clinton was asked to produce emails by the Feds and decided to delete most of them: this is a legit scandal. Arguably, G is suppressing this information because they don't deem it factual? Or newsworthy?

More extensively, they gave examples of how they are going to move from 'truth' to 'fair' in an intersectional manner by offering ups suggestions that 'balance historical injustice'.

Open google.com right how, if you type 'women can' you get suggestions such as 'vote, fly, do anything'. If you type 'men can' you'll get as a first suggestion 'have babies'.

While the former is uncontroversial (i.e of course women can vote and fly), is this really Google's place to start to suggest such things unless they are material to historical searches? And the male suggestion, doesn't really line up with the female example. 'Men can have babies'? Well, this a very narrow and specifically intersectional ideal, while maybe it's technically true, I don't see how bringing up that issue in the context of someone searching is relevant to anything at all (again, unless it fits some kind of algorithmic purpose i.e. it's a popular search).

The notion that Google, the manger of the world's information, is going to 'right historical wrongs' is in some ways very good, I mean, who doesn't want to make 'wrong things right'? But of course it's utterly Orwellian in practice, with a small group of ideologues deciding what we should see and not, based on their unique worldview.

The implications of this new 'right the wrongs of history' worldview on search results is beyond scary.

So yes: getting rid of fake news, trying to point out narrative, calling out lies - sure.

Problematic: trying to feed people content that Google deems 'more appropriate'.

Scary: modifying search results and suggestions to be consistent with their worldview and to 'right the wrongs of history'.

I don't trust the talent and overall goodwill of Google anymore, I think they need to be regulated and there needs to be more transparency.

I also think it would be ideal to end the monopoly and try on actual diversity, i.e. real competition.
Permission, Ownership, and Intra-Process Parallelism
I came across this sentence today on a page for a public swimming pool. "Recent ADA changes have required the installation of entry steps and a power lift." [0]
It reminded me of this thread.

Most of the value in government is setting standards so that society is more fair to those that have been ignored in the past. It struck me as odd in how they phrased this sentence. Now, I have to admit that the person that wrote the copy for this page has some kind of fetish for sharing building footprint measurements, but not height. So, I don't think copy editing is high on their list of skills.

The federal government was actually designed to be pretty inefficient in order to keep it small and out of people's hair. Government wasn't supposed to be good at making roads. It was supposed to be good at saying how wide those interstate highway lanes should be.

Don't even get me started on federal contract law and the FAR. I think it says somewhere around page 1312 in the FAR that government contracting should be as efficient as possible.

[0] https://www.bristoltn.org/202/Haynesfield-Aquatic-Center
Take a look at Hostifi if you want your own server at a reasonable cost without having to deal with the management.
Nanoparticles aren't inherently bad; after all a portion of the particle size distribution of clay sits down in the low nano range. Due to its inertness, I suspect gold is on the relatively safe end of the spectrum. However, whatever it's funcionalized with could certainly be an issue, and if the nanoparticles don't breakdown in the environment, multiple applications on the same field would lead to accumulation over time. There are plenty of nanoparticles that do degrade fairly rapidly, so might well be a safer alternative.
So if I paid off my loans do I get a check? Or does the dollar keep getting devalued because of policies that sound good?
TNG really had terrible, terrible writers. Any interesting idea was certain to be trivialized before it reached the soundstage.
I think in this case the point is that people are capable of doing research and knowing the facts, keeping up with an ever changing topic. Who's the coach, what are the key players, what happened at the last game, who's being transferred where, strengths and weaknesses of teams and individual players, etc.

It may very well be that the conclusions people reach starting from the facts are emotionally charged, but I'd say it's better than how it happens with politics at the moment: people start from ignorance or falsehoods, and then make emotionally charged conclusions based on that.
MikeAsh commented with an article he found saying Stephenson had sold 3 million books to date by 2013 [1], but I found another one saying Sanderson had sold 7 million to date by 2015 [2].

The really interesting part is that the article MikeAsh linked also lists Sanderson (as of 2013) with 2.5 million sales of his solo books, meaning that he sold at least another 4.5 million books in various languages in two years, basically eclipsing Stephenson's lifetime number.

Given the difference in their output and the times that the various books were available for sale, this really cements the difference between them sales-wise for me. My gut feeling here is that a lot of this is due to not only his writing and stories, but also to his constant enthusiastic fan engagement.

[1] https://news.ycombinator.com/item?id=20259853

[2] http://awfulagent.com/brandon-sanderson-sells-over-7-million...
So the article did not do a good job of explaining the study.

Also, why did they not go for a dose every 3-5 days like the anecdotes, but instead of went for every 7 days. And then say it might be different when done every few days. Were they trying to avoid testing on the weekends or something?
I have tried many types of earbuds and I like klipsch the best. They have an oval silicone seal that fits comfortably in your ear without pressure and seals very well.

The only other earbuds I've tried that have such a good seal are models with memory-foam type surrounds you compress before you insert, but they're a bit of work to put in.
If you look at debt between 1920 and 1945 you see that between 1940 and 1945 the war economy resulted in private and corporate debt replaced almost entirely by Federal government debt.

After 2008 the Chinese government dealt with falling demand and exports by building 10,000km of high speed rail network.

In either case despite dire predictions of economists the sky didn't fall in.

Also riddle this: The US spent about 2% of gdp to send a dozen men to the moon. And the sky didn't fall in either.

The US can certainly spend a couple of single digits worth of GDP on renewables without everything falling apart.
Does it work well over extended periods of time like that? I’ve just thought of using it temporarily for testing.
Because static methods/variables/things are hard to test code with because they're hard to replace. IME getting rid of static is the wrong solution though, the difficulty is only because of a limitation of current languages, unit test frameworks and build systems. If you can inject your substitutes at compile time (which I think you should be able to do at the test link step with java) then static isn't a problem.

There's also the issue of people seeing OO as the goal not the tool, which I think might be the case here too.
SmartBuyGlasses
Is SmartBuyGlasses a scam? https://www.smartbuyglasses.com/ I saw that their website is pretty decent and they sell designer sunglasses and eyeglasses that are cheaper than other retailers. I'm just afraid that they might scam me.
Did you need to do anything special to control the 24v solenoids?
I already use and pay for CircuitLab. (although I wish the free educator version applied to high school teachers)

I use it to design and test circuits for use in teaching physics. Simple stuff: ohm's law, series parallel, Kirchoff's laws.