skysight-inc/HackerNews huggingface dataset:
Videos are embedded in the book text. For people that prefer videos only, this is the playlist:

https://www.youtube.com/playlist?list=PLre5AT9JnKShBOPeuiD9b...
Show HN: NAppGUI – A Cross platform C GUI library
I was told that redbean is a similar software, but I had not known it before. Always good to know alternatives. :-)
I'm sort of hoping I'll get another chance to try it. Obviously, I'd prefer another scotoma without the rest of the migraine, though!
You can be called engineer in Canada.

You can’t offer engineering services to the public without being licensed.

Non-PEO licensed software engineers exist in large quantities in Canada without any issues. They provide services to a company, not the public.
I live in a suburb of Delhi and to be honest it is not just the occasional days that it stays that high.
This year it has consistently been above 40C since late March. Summer has just started and the hottest months are generally May and June. So, it is going stay like this for more than three months this year in all.
Even worse is that unlike desert regions, even the night temperatures here stay above 30C many times during this part of the year. Sometimes you open the window at night expecting it to be better only to realize that a hot "breeze" is blowing.

Owing to the pandemic, I had spent the last couple of years in the foothills of the Himalaya where the temperature rarely went beyond 30C. It has been really hard coping up with the heat as it literally sucks the life out of you.

Ref: https://www.accuweather.com/en/in/delhi/202396/april-weather...
Good luck with the Beethoven. I really love his sonatas, but they're usually beyond my skill-level.
It was weird how they brought in a climate change quote from a normal Chennai resident. I would have expected an expert to be quoted on that. I have no idea whether she is right or wrong, this year has seen a lot of anomaly, including both the poles heating up by 30C at the same time[1], and the researchers just called it anomaly and did not blame it on climate change. Probably just that kind of year, although you can never be sure.

[1]https://phys.org/news/2022-03-hot-poles-antarctica-arctic-de...
I personally like and use DaisyUI for such "components" type of things: https://daisyui.com/

Does its job, gets out of my and helpful docs as well.
gzip is remarkably efficient to reduce duplicate repeating strings.

You could have 10 classes or raw styles repeated 50 times and all instances of those might condense down to 1 string of WWUElinMSS1J1TQwMFFISi7KtsMiZAuVKU.
It says that he just transcribed Shewhart, but he also afterwards studied academically under Fisher and Neymann, two foundational figures in the world of statistics.
And if you don't want the last argument but the nth one, press Alt-n before Alt-. (n starts at 0, so Alt-0 Alt-. in the above situation would get you "mkdir").

There are several other ways to do this sort of thing too. See e.g. https://stackoverflow.com/questions/4009412/how-to-use-argum...
If it can be called fame, heh.
> I recommend "Can a Scientist Believe in Miracles?" by Ian Hutchinson […]

Books by (Brother) Guy Consolmagno, the Director of the Vatican Observatory, are also worth checking out:

* https://en.wikipedia.org/wiki/Guy_Consolmagno

Perhaps specifically God's Mechanics: How Scientists and Engineers Make Sense of Religion. Interview:

* https://www.youtube.com/watch?v=Z0DAKaR16cY
The Navy builds its ships with steel, and the grades of steel used in the construction can experience rust.

Solutions:

Switch to 100% stainless steel. Stainless steel is an alloy and contains a minimum of 11% chromium. This allows the formation of a protective film of chromium oxide which acts as a shield against rust. The protective film will re-form if damaged. Corrosion resistance can be further enhanced with the addition of nickel.

Use a weathering steel, also known as “COR-TEN” steel which contains up to 21% of alloying elements such as chromium, copper, nickel, and phosphorous. The alloys form a protective rust patina which reduces the corrosion rate with time. COR-TEN steel tends to be cheaper than stainless steel.

Galvanized steel. Galvanizing is a method of rust prevention. This is accomplished through hot-dip galvanizing or electroplating. The iron or steel object is coated in a thin layer of zinc. This stops oxygen and water from reaching the metal underneath but the zinc also acts as a sacrificial metal. Zinc is more reactive than iron, so it oxidizes in preference to the iron object. The zinc oxide layer prevents the formation of iron oxide, thus eliminating the possibility of rust forming.
What communities do you recommend?
I think this is a good lesson that can be applied to offices and data centres.

If you run your teams and equipment beyond the threshold, your equipment and team will suffer and degrade your abilities.

This is a failure of leadership, and it was avoidable!
Interesting. I always learned mean/median/mode were different things. The mean is the average, the median is the middle value, and the mode is the largest value. I wasn’t aware of this issue with conflating mean/median.

That being said, I remember learning that and always wondering why I needed to know what “mode” was haha
The disinformation they're emitting now has lost effectiveness, so they need to coordinate it better. I propose the head of this office have the title "Baghdad Bob"
Nice analysis, it's basically just an alternating series that uses the inclusion exclusion principle.

https://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_pr...
N. K. Jemisin wrote a triple Hugo winning trilogy[1] about what could happen to humanity with a sliiightly less stable crust, if you want some more unnerving ;)

[1] https://en.wikipedia.org/wiki/N._K._Jemisin#Broken_Earth_ser...
Different range of use cases, and different vibe.
You're being downvoted but this is pretty much what we should expect to happen (unless we take real action). A zero sum mess for livable spaces for some decades. I'm sure humanity will be awesome again in like 2300 once we get out of it and the wisdom of the mistakes are engrained in the new culture (it'd be wonderful to see).
I can't say that I agree. I got pretty thoroughly familiar with several psychedelics in the late 70s and early 80s, and although I value those experiences to this day, they didn't teach me anything especially relevant to the scotoma or sleep/wake experiences I've reported.
This can help understand the many approaches out there, many of which are terrible and the rest are generally suitable only to some cases and not others:

https://web.devopstopologies.com/

Note it shows anti types and useful types.
Computing skills :

- Solidify my overall programming skills. I'm still light on a lot of OOP concepts and on some data structures. On one hand I've never really taken to OOP, on the other I just don't program enough that concepts are really internalized.

- Get decent at the Go language. Nothing fancy, I just want to do some concurrency and message passing without getting my foot stuck in the carpet.

- Getting a better instinct for log aggregation/monitoring and process tracing. Dtrace has been on my list for at least a decade.

Other intellectual pursuits :

- I'd like to brush off my Latin and Ancient Greek. I honestly feel I should be able to speak Latin within a few months. But getting a sense for good Latin and appropriate style would take a few years.

- I want to pick up German in the near future.

- I want to go back to university part time (which you can do where I'm from) and finish a history degree. I love computing, but I love history more.
- Spanish (I'm halfway decent but still struggle especially with production and spoken comprehension)

- Japanese (I'm still rather bad, although I know a fair bit of Kanji, vocab and grammar by now)

- Mathematical Logic (very vast topic)

- Programming Language theory, Type theory, better understanding of functional programming language concepts, etc. I'd like, for example, to be able to be productive in Haskell.

- Distributed systems. I'm really bad at thinking about distributed computing (although I suspect that even most people who work on distributed systems are), so I'd like to improve. I'm currently reading "The Art of Immutable Architecture" which, maybe unexpectedly, is mostly about how immutability helps with distributed computing. It's definitely idiosyncratic though, so I'll also need to read some other stuff. I've had my eyes on "designing data-intensive applications" for a while now. I'd also like to learn some Erlang/Elixir at some point.

- History. I'm really interested in history and enjoy good podcasts, audiobooks etc. about it. Currently on the Russian Revolution and also listening to a lecture series on the middle ages.
Lol I mistyped that but generally agree with you
I’d be happy to never see another one of these procrastination fix articles.

There is no one size fits all solution, it’s a complex issue and is specific to the individual.
Small correction for the title (I know it's just copied from the source): it's the European Commission, not the entire EU. Saying that the EU joined would be like saying the USA joined after the White House does.
The Danish language still has remains of this. 60 is 'tres', from three 20's. 80 is 'firs' from four 20's. The odd tens are even weirder, since they count upwards, so 50 is 'halftreds', which is half of the third 20; 70 is 'halffirs'; and 90 is 'halffems', four whole and a half of the fifth 20. But 100 is 'hundred', so 'fems' alone is never used. Also, for larger numbers, the digit order get weird: 123 is hundredogtreogtyve, one hundred and three and twenty.
something that is counter intuitive is that although the mantle is often described as liquid, that description is only valid on large scales (both space and time). for comparison, the mantle is significantly less liquid than cold asfault. it's just subject to huge pressures.
Western efforts to avert climate change won’t succeed, certainly not in time to avoid the consequences of these heat waves, and India can’t afford to spend time or money on optical measures. Renewables are being phased in as they are cost effective, but India needs to invest in air conditioning now instead of uncertain mitigation efforts in the future.
This comment is almost totally incorrect.

12dB in either direction was standard issue in, like, the 70s. Plenty of modern eqs can do almost 40dB of damping.

Human ears are, in fact, way less sensitive at higher frequencies. Review the Fletcher Munson curve. Takes an order of magnitude more power to generate same perceived loudness at 10kHz as 1kHz.

This is a piezo speaker, which typically have really different driving requirements than a typical transducer, so it's probably not suited to work with most existing amplifiers anyway. Getting the EQ right is table stakes for getting this production ready.

Source: me, I have about a decade of experience in consumer audio.
Now can someone do the same for Common Lisp :D That would be amazing
Absolutely.

Another data point: I play the organ, which involves playing a large keyboard with your feet (https://en.m.wikipedia.org/wiki/Pedal_keyboard). The structure of black notes is crucial to being able to play without looking (which is important because you’re simultaneously doing various other things). Concretely, I couldn’t imagine playing the organ without being able to slam my foot into the right hand side of a B flat in order to know that my foot is on top of the B. If you watch an experienced organist’s feet you’ll see them do this all the time.

I also find C major horrible.
It will be called „Neural Harmonic Analysis“, it will cite one paper by a Russian and otherwise ignore any prior work which didn’t include the word neural network.
you can actually use pavucontrol for remote PA servers that have native-protocol-tcp running

$ PULSE_SERVER=192.168.1.21 pavucontrol
Open Swoole 4.11.1 released with multiple bug fixes
> we’ve been using Elixir in production since 2018. We switched over to LiveView in early 2020 and haven’t looked back.

What does "switched to LiveView" mean? I thought LiveView was some collaborative, live documentation / interactive tutorial tool. Or does it provide a whole programming environment and/or development process?
Perhaps you can add this CA only to a dedicated browser profile?
"Liquid" does not describe the Earth's mantle - https://en.wikipedia.org/wiki/Structure_of_Earth#Mantle It is more like cold pitch - https://en.wikipedia.org/wiki/Pitch_drop_experiment
2.: I desisted after about age 45.
I think we agree with each other. I’m not aware even of a plan that would enable timely decarbonization. If you know of one, I’d be interested to read it. But at present, the time targets are completely infeasible. That doesn’t mean amazing progress isn’t being made. For instance, Dubai will be 100% solar powered by 2050. But that’s not fast enough.

Let me know what you think of this article:
https://www.nytimes.com/interactive/2022/04/25/magazine/vacl...
I generally agree with the advice. It’s common that any feeling and noticing said feeling begets the same feeling. But do know there is a duality to these feelings. You can make positives out of negatives and vice-versa. This teaches you that one simply cannot exist without the other.

Although I’m a positive person in general, the negative balances us as human. I would argue that “cheerfulness” is the more ideal state of mind being this middle path between the two. It’s the idea of euthymia in which you live regularly without large shifts in mood.

This is often referred to as the professional mindset where you get what you need to get done because you are largely unaffected by how you feel on a given day. This is where many of the cliche “Master your thoughts, master your life” quotes come from because it’s largely true once you experience it. At least my experience with it.
I’m not that familiar with hot temperatures but intuitively I would think that a difference of 2-3 degrees (Celsius) when temperatures are already high at around 40-45 to be noticeable.

For example if you go from 40°C to 37-38 that’s a quite good improvement if you don’t have to spend energy for this. I don’t know if that also applies to more extreme temperatures like 47°C, I cannot really imagine how that feels like.
I think it’s fantastic your kids were able to drive to elementary school
A great Prolog project would be the implementation of Godel's logic language.
Spaceship man racist. Spaceship man bad.
I think it’s better than the Bakerloo (I think?) line where it’s an air cushion. If someone heavy sits down next to you a bit quickly, you risk being launched into the aisle.
Trinitite
what themes?
" If crews can’t use new types of paint, If crews are restricted from using OSPHO (a mild acid used to clean up rust stains) in port or bosuns chairs over the side if we don’t have enough supply ships or crew on those supply ships if crews are committing suicide and arson because of conditions at shipyards tasked with painting old ships if the Navy doesn’t seek out the advice of commercial professionals at companies that have solved the problem like Shell if the Army and Air Force continue to get all the attention in Ukraine despite the heaviest fighting taking place in the littorals and ports – I could go on – how can individual sailors “stand up and be ready” to combat rust?"

1. I hope I'm reading this wrong. I can guarantee Sailors arn't committing suicide, or arson, because of a fugly rusty ship.

2. If their is any real problem it's the way our Navy treats Sailors, and lies to them upon signing that contract, and tries to renig on any lofty promises upon signing.

I once heard the Navy will send you to school upon enlisting. Navy, "Become a Lawyer. We pay for it.". This commercial was around that movie with Tom Cruise
playing the spiffy lawyer in his whites going up against Jack Nicholson. "You can't handle the truth!". Forget the name.

I looked it up. The military at the time was picking up tuition for 8 enlisted men to go to law school.

The guys are angry because once they enlisted, it wasen't the opportunity they thought it would be. Period.
That's a good idea. Everyone knows chromium does not contain any Rust.

Joking aside: There are many ways to prevent rust, though I think environmental concerns are also an issue. Galvanising might leak heavy metals into the sea? And chrome is also a pollutant. Iron is not.
I guess you could design trams or electric trains that cannot catch fire. Without fuel and batteries you do not need to have that much flammable things on board.
Everybody always was the star in their show. That's almost certainly true for non-human creatures too.

To a degree, mass media undermined that foundation.
https://secuso.aifb.kit.edu/english/Pedometer.php

I have a Samsung phone, s10+. I've not tried this app yet, but I will.
However all apps I've tried so far got my steps wrong. I imagine because it's something that isn't documented by Samsung and they know exactly which values to use to calculate the steps and distance and speed.

So essentially you buy a product with the right sensors but there is no documentation for you on how to use those sensors to have near accurate conversion results if you're going to write software that uses those sensors.

If you know better, please let us know.
Living in Knoxville and loving it! Chattanooga is also great!

* Great Smoky Mountains National Park nearby

* Municipal internet being worked on in Knoxville, already running in Chattanooga

* University of Tennessee

* Oak Ridge National Lab - 2nd fastest supercomputer

* Elixir, Golang, Rust, Clojure if you know where to look

https://www.kub.org/about/about-kub/kub-service-areas/centur...

https://epb.com/fi-speed-internet/

https://en.wikipedia.org/wiki/Summit_(supercomputer)
Stainless steel is pretty expensive, but I suppose it would be no big deal for the US Navy. I thought they used sacrificial anodes to stop rust.
I find myself with an idea "oh that's right, I need to do X" and go to find the tab X in my browser with 100+ tabs open, and quite often forget what I was searching for before I find it.

I really ought to remember to write a list. Oh wait I have one, where is that tab again?
Filipino and Polynesian languages come from the same linguistic branch, and their numbers are similar for most and the same for some.
What history podcasts do you recommend?
Yeah it's a temporary effect and once the walls have heated up, it actually makes it worse since it retains the heat at nighttime as well.

You need to drill down to access the constant temperature in the ground, to be able to really counterbalance the differences in the air temperature. Once you've drilled down I guess you can make a passive or minimal energy circulation system that would be much more energy efficient than air conditioning.
Interesting. I wonder if that applies in SW dev though. In standard processes each correctly produced item satisfies a customer, but for sw dev individual tasks are internal and customers only care about the final outcome.
Also standard processes normally involve Gaussian distributions, so large deviations are rare and can be called outliers, but software estimation has fat tailed or bimodal distributions, so large deviations are part of the standard order of business.
Hacker News is interesting because I think it's also pretty troll resistant through virtue of... being boring to non-trolls, I think. The web 1.0 design scares off a lot of the teenagers.
It's likely enough these buses were in service for close to 5 years without a fire, from 2016:

https://insideevs.com/news/327483/bollore-introduces-12-mete...

Pulling them out of service while they try to figure out the cause of the fires isn't unreasonable.
Apparently this is already running on my Ubuntu 21.10, I wonder if they switched over from the default. I've had no problems with BT at all, it just works. I wonder if that's why.
It is very uncomfortable looking at these from the front as the cameras and illuminators look like spikes aiming for the eyes.
Doesn't the US have a fractional reserve banking system? For every $1 in bank reserves, the bank can loan out $9. So even if the special money of the Fed can't be used directly, it has the effect of allowing banks to have a larger base of reserves which means the banks can create money by loaning it out to others.
Manning problems have existed for a decade, if not more. The Navy holds the sad record of being the worst managed branch of service. Steep budget cuts in the 1990s and again during sequestration have had severe effects that the Navy hasn't yet recovered from. But I don't know whether that's the cause of the problem. The Navy is an especially unique branch given that it's the only service that revolves around a relatively small number of very large, very expensive assets. The Army doesn't revolve around its tanks, and the Air Force, while it revolves around planes, there are a lot more planes in the Air Force than ships in the Navy. Congress is not without blame for the Navy's problems either, apart from the budget cuts. Congress has the last word on all programs and procurement. The Littoral Combat Ships should never have seen the light of day for instance, but Congress pushed the program through, and now the ships are useless (and still being built!)

But there is hope on the horizon. The submarine construction programs (Virginia SSNs and Columbia SSBNs) are proceeding smoothly, as are the Flight III destroyers. DDG(X), the future replacement of the Arleigh-Burke class destroyers and Ticonderoga-class cruisers, is in development, and the first Constellation-class frigates will soon be laid down.
Blasting out Earth’s location with hope of reaching aliens is controversial idea
What is "anything serious"?
I don't think those anodes are 100% effective though? I've seen many ships that have them and still have signs of rusting.
I think you mean https://livebook.dev/ which is built on top of LiveView. LV can be used instead of "Dead View" which is a non diff-tracking view.
I'm quite fond of this classic for popcount [1]:

int popcnt(unsigned int n) {
int p = 0;

while (n) {
p++;
n &= n-1;
}

return p;
}

But it has a branch in it, so I don't know if it's competitive with the "simple" version of just counting the ones or this version, even though the loop should run fewer iterations. Obviously the real answer is to just use the compiler intrinsics for this, but what fun is that?

[1]: https://godbolt.org/z/b9rK3sYah
Tricky bit.. I can't send ePub over usb cable. It doesn't work on my kindle.
> Outside of the other comments here, I would also suggest considering the expected outcomes rather than just whether or not someone will live and die.

I take this to be obvious.
Where are the articles asking why men don't want to have children?
I was pretty skeptical of this and yes I'd rather not have null at all. In practice though I've found the boundary with Java for my scala projects to be very small. This is definitely a function of what you're building but there are a lot of great scala libraries so we rarely need to reach for java.