skysight-inc/HackerNews huggingface dataset:
PowerShell helped me a lot in my earlier career, bash always felt like banging rocks together in comparison.
The problem with de-aging our megastars
> If you believe that what we describe as "consciousness" is emergent from the ideas a material brain develops about itself, then it's in fact not logically possible to have a world that is physically identical to ours yet does not contain consciousness.

This sneaks in an implicit axiom: that the brain is not only necessary, but is also sufficient, necessarily, for consciousness (implicitly ruling out some unknown outside, non-materialistic force(s)).
Why is automatic array flattening a good thing? This has caused more bugs than I can count. Every time I make an array I have to check if it has a length of 1 and do something special with it or else the script blows up. Best I can tell this is a huge foot gun anti-feature. What am I missing?
I try to make sure my pre-ride meals and in-ride fueling and hydration are adequate after I faded badly on my first 100K ride but this is more than one step beyond. I'm sure I could do better but it wouldn't have the effort vs. results that pro riders demand. I'm just happy to be able to ride.
There's an option to turn off the inactive tabs feature.

Trying to "share" all of them will crash Firefox, so I manually select 100 and share those, then close those, repeat 20 times (which is how I know how many tabs I had open).
Love my Bosch heat pump. I noticed when I got rid of solo heater coils for this new air handler and pump was that it managed to keep the air temperature more consistent.

What has helped the most however was adding in a humidifier. Dry desert air is unforgiving and adding in water to the air made a huge difference in comfort. 68* F with 40% humidity is much more comfortable than the same with 5%.
Python is popular precisely because non-programmers are able to rearrange snippets and write rudimentary programs without a huge time investment in learning the language or tooling. It’s a very high level language with syntactic sugar that has a lot of data science libraries which can call C code for performance, which makes it great for data scientists.

It would be a huge detriment and time sink for these data scientist to take the time to learn to write an equivalent C program if their ultimate goal is to do data science.
People use platforms because it would be very silly to have an app on the play store for each driver.
Heat in F chill in C, et voilà! free energy.
> up-to-date Debian

OP has a perverse sense of humor :)

----

But, not to waste space on this mindless joke, here's my (or, more precisely, my wife's) success story.

So, I've had it with a laptop and built myself a PC. Money wasn't really a problem, I just wanted to make sure I will have enough of everything, and spares, if necessary. So, I've got a be quiet case with eight caddies and a place for a SATA SSD. It's expensive... but it doubles as my main workstation, so I don't have any regrets about spending more on it! It has a ton of room for installing fans. It has like ten of them at this point, plus liquid cooling. The wifi modem that was built into the mobo that I bought doesn't have a good Linux driver... but the case has a ton of space, and so I could stick an external PCIe wifi modem. And I still have plenty of room left.

Anyways. My wife was given some space for her research in the institute she works for. And they get this space through some unknown company with vanishing IT support, where, in the end, all the company does is putting a fancy HTML front-end on Azure cloud services, sometimes mismanaging the underlying infrastructure. While the usage was uncomfortable but palatable, she continued using it. Then the bill came, and oh dear! And then she needed to use a piece of software that really, absolutely, unquestionably needs to be able to create symlinks. And the unknown company with vanishing IT has put together their research environment in such a way that NAS is connected via SMB, and... no symlinks.

So... I bought a bunch of 4T hard-drives, and now she has all the space she needs for her research. She doesn't even pay for electricity :(
Exactly. Have you seen US debt to GDP ratio lately?
We already have "superintelligences" in the world; Nature and other humans treated as a collective is far more powerful than any individual. We manage these risks by not trusting them completely, and restricting their dominance over us. I don't see that we can't adapt to superintelligent machines as long as we don't surrender all decision making to them; the risk comes from the same old, where a group possesses overwhelming power that is then used to regiment and oppress a less powerful group. In which case, possession of AI is far from unique.
Something that is under-appreciated is that if you need to write your own command-line tool with a "proper" programming language such as C/C++ or whatever, then there is a vast difference in productivity between writing for traditional shells or PowerShell.

I've never been able to make a generally useful CLI tool in under a few thousand lines of messy code. You typically have to deal with: pipeline inputs, optional parameters, parameters with values, defaults with overrides, "dry run" mode, and the various output formatting requirements, and so on. You end up with 90% fluff and 10% action.

With PowerShell, a C# module is basically 20 lines or so of overhead, and the rest is all action. It's mindblowing how productive this is! You get parameter validation, parameter name tab-complete, pipeline input, pipeline output, formatting, strong typing, globbing, etc... all for free.
Thanks! We will be updating the repo soon with screenshots and additional documentation :)
I switched from IDEs to vim in school. That was not much of a challenge for my productivity. I didn't spend a ton of time configuring it or anything like that, and because it was vim instead of vi, I was able to ease in to the controls instead of being force to use hjkl movement right away. Eventually I did learn hjkl as well as lots of other bindings. I have actually lost a lot of my vim muscle memory though.

I don't think the transition to vim was a very conscious decision. I just started using it more and more until it fully replaced my IDE usage. Switching to Emacs was a conscious decision, and one that I took on during work, after college. I wanted to switch because I was interested in learning Lisp, and that seemed like the gateway to me.

I tried switching to Emacs a few times, and it did not stick with me one less than a few times. One of the ways I was able to make it work for me fairly early on in my transition was to use the Spacemacs distribution. I was working on a Flutter / Dart application at the time, and that came with a more IDE-like environment that was more convenient than using vim. What made it really stick for me though was eventually learning Scheme through the OCW SICP lectures with the intent of getting into GNU Guix. Right now Guix is my primary distro of choice, and I use it very heavily in conjunction with Emacs (I use Guix to manage all of my Emacs packages and config). The SystemCrafters YouTube channel, website, and git repos were a huge resource for me for my current configuration.
Earlier HR had two main functions viz. recruitment of candidates and secondly, act as a shield for top management and save them from embarrassment (of firing peeps without giving them any reason, for example).

In the last 1-2 decades, the first function has gradually been eroded as social media made finding folks very easy on linkedin, etc. Now only this second function stays in most companies.
We've had four: May, Johnson, Truss and Sunak.
Norway is effectively in the EU but without a vote; it's subject to ~all EU laws but does not participate in making them. Switzerland is messier, but it is subject to most EU rules via a series of treaties. The EC considers the Switzerland situation unsatisfactory and messy and would probably be reluctant to do another one (and Swiss business are still significantly disadvantaged vs European ones in trade with Europe).

I can't _really_ see people in the UK opting for a Norway type arrangement vs EU membership, though I suppose to some extent I suppose it does depend on how it's sold; per the Brexit referendum the public is not _that_ interested in the actual facts of the matter vs the marketing.
What do you mean by "godlike powers"?

We flatten mountains to get at the rocks under them. We fly far above the clouds to reach our holiday destinations.

We have in our pockets devices made from metal purified out of sand, lightly poisoned, covered in arcane glyphs that so small they can never be seen by our eyes and so numerous that you would die of old age before being able to count them all, which are used to signal across the world in the blink of an eye (never mind (Shakespeare's) Puck's boast of putting a girdle around the earth in 40 minutes, the one we actually build and placed across the oceans sends information around it in 400 milliseconds), used to search through libraries grander than any from the time when Zeus was worshiped, and used to invent new images and words from prompts alone.

We power our sufficiently advanced technology with condensed sunlight and wind, and with the primordial energies bound into rocks and tides; and we have put new πλανῆται (planētai, "wandering" star) in the heavens to do the job of the god Mercurius better than he ever could in any myth or legend. And those homes themselves are made from νέος λίθος ("neolithic", new rock).

We've seen the moon from the far side, both in person and by גּוֹלֶם (golem, for what else are our mechanised servants?); and likewise to the bottom of the ocean, deep enough that スサノオ (Susanoo, god of sea and storms) could not cast harm our way; we have passed the need for prayer to Τηθύς (Tethys) for fresh water as we can purify the oceans; and Ἄρης (Ares) would tremble before us as we have made individual weapons powered by the same process that gives the sun its light and warmth that can devastate areas larger than some of the entire kingdoms of old.

By the same means do our homes, our pockets, have within them small works of artifice that act as húsvættir (house spirits) that bring us light and music whenever we simply ask for them, and stop when we ask them to stop.

We've cured (some forms of) blindness, deafness, lameness; we have cured leprosy and the plague; we have utterly eliminated smallpox, the disease for which शीतला (Seetla, Hindu goddess for curing various things) is most directly linked; we can take someone's heart out and put a new one in without them dying — if Sekhmet (Egyptian goddess of medicine) or Ninkarrak (Mesopotamian, ditto) could do that, I've not heard the tales; we have scanners which look inside the body without the need to cut, and some which can even give a rough idea of what images the subjects are imagining.

"We are close to gods, and on the far side", as Banks put it.
Cloud storage isn't a backup any more than RAID 1 is.
To save someone else the time spent looking:

The data recording setup they are typically using only works for air-to-water heat pumps, like you might use to heat water for radiators. They rely on a 'heat meter' that measures the water flow rate and temperature.

Typical setup: https://shop.openenergymonitor.com/level-3-heat-pump-monitor...

If your system is a typical US air-to-air 'split' system, you probably have a long loop of refrigerant in a pressurized tube to carry the heat. To measure efficiency, I think you either need to measure air flow accurately inside or outside, or measure refrigerant flow rate. Either one harder than the commercial meter for hot water.

So, no easy drop-in COP measurement for me.
It’s important to be able to see where the async function might pause execution.

For example, if you’re holding a mutex lock, you probably want to avoid holding it “across” an await point so that it’s not locked for longer than necessary if the function is paused.
In what way is it buggy? I was eyeing the A1S.
I've been using it for years with high bursty loads from users. Never had an issue with network stuff between my user and hetzner....
I find it remarkable that, if it really is an existential crisis, it'll be because the Lib Dems outnumber them. Just a decade ago it was a terrible alliance with the Lib Dems that put the Tories in power in the first place, setting up Brexit.

All they got in exchange was a failed referendum on alternative voting. They proceeded to get crushed and almost vanished.

But here they are, potentially taking over from the Tories. There's some nine dimensional chess for you.
You should try the quest3. Virtually no setup
Cloudflare 1.1.1.1 incident on June 27, 2024
Show HN: Tailwind Shades Generator
Powershell wasn't awful when I wrote it but I never understood why arrays of length 1 removed the array and become the contained type. This caused a huge # of bugs as you suddenly had to care how many items could potentially be in the array and check each time you modified vs. handling them generically. Does anyone know WHY they did this?
I've been writing React for a long time, and I loved it for the first few years. I thought ui=f(state) was brilliant. But over time I've come to realize that what I really loved was JSX, and I was merely putting up with React's rendering model so that I could use it.

As I see it, React has the following problems:

1. The web is inherently imperative. Using things like setTimeout or autofocus is a real pain with React.
2. The state of your application is orthogonal to the structure of your UI, and coupling the two causes a ton of headaches.
3. React takes complete control over your UI, so adding UI plugins usually requires specific integrations. The google maps SDK comes to mind.
4. By taking complete control over the rendering process, React creates a barrier between you and the DOM. You stop thinking about the web platform, and you start "thinking in React." This degrades your quality as a professional engineer and causes your platform expertise to deteriorate over time.
There have been regressions even. PowerShell 7 isn't backwards compatible with PowerShell 5 and some features that used to exist are just gone with no plan for a return, due to (surprise) fights between .NET and Windows teams over API metadata formats or something. Most incredibly Microsoft situation ever.

Say what you want about bash, at least it doesn't pull stunts like that.
Structexplorer: Go struct inspection web service
What do you mean by custom maps? What do you include/exclude from them, and how do you make them?
Pragmatic Engineer – The Trimodal Nature of Tech Compensation Revisited
MediaWiki on Kubernetes
Sorry, yes, my meaning was that it seems as though the number OP used to arrive at the conclusion is incorrect, either because OP made an error, or because of some reason that leads folks to under-report (as you suggest above), or because the data is wrong for some other reason.
> most users wouldn't want alternate routes

I wouldn't be so sure about that. I have seen many different users intentionally deviate from the suggested route because they know more than Google about what is best for them (or at least they think they do).
I don't mind how the view part of react works, but I don't like how it gets so complicated managing state. With a lot of state libraries for it now just providing lots of hooks you end up with so much in the view. Like you'll have more than half the component be hook code managing state. While I prefer functional view components, there was something said for the encapsulation class components gave you.

We've got our own state framework for react that adds controller classes: it makes it easier to write imperative code, but with ours for the business logic rather than the view. It works a lot like mobx but class based. https://github.com/aha-app/mvc unfortunately we haven't put as much love into the oss library as we should have. We use it extensively in our apps.

I find it makes writing react code much more like writing classical UI desktop UI code, with wired up controllers and models.
Hilarious. Do you think that there was an obvious replacement when previous international reserve currencies fell out of favor?

>the dollar will never disappear

Wow, you think highly indebted empires just go on forever, eh? You must have paid a lot of attention in history class!
Let's not be reductionist. It affects how we find out, what we remember about it, and perhaps to some extent what we will do. I'm highlighting an issue more endemic in mainstream media.
How come companies don't care about encrypting their users' data in their databases?

It's been possible for a very long time now.

Yet, companies keep leaking. And people keep sleeping.
I think lsp integration[0] can get you pretty far, but also if you use LLM features a la Copilot, I use ellama[1] for that. If there are other features you think you will miss, maybe I can ease your mind about those as well :)

[0] https://github.com/emacs-lsp/lsp-mode

[1] https://github.com/s-kostyaev/ellama
What have you moved on to? I don't think I could go back to bash after learning PowerShell and no longer parsing string output.
The EU would let the UK back in in a heartbeat; the current situation really is good for nobody. It would likely lose the special treatment it had under its previous membership, however.
> already succeeded with 99% of the alignment task and only failed at the last 1% of making it care in a way we'd prefer.

Who is we? Humanity does not think with one unified head. I'm talking about a scenario where someone makes the AI which serves their goals, but in doing so harms others.

AGI won't just happen on its own. Someone builds it. That someone has some goals in mind (they want to be rich, they want to protect themselves from their enemies, whatever). They will fiddle with it until they think the AGI shares those goals. If they think they didn't manage to do it they will strangle the AGI in its cradle and retry. This can go terribly wrong and kill us all (x-risk). Or it can succeed where the people making the AGI aligned it with their goals. The jump you are making is to assume that if the people making the AGI aligned it with their goals that AGI will also align with all of humanity's goals. I don't see why that would be the case.

You are saying that doing one is 99% of the work and the rest is 1%. Why do you think so?

> Of course we can always imagine some "movie plot" scenarios that happen to get some low-probability outcome by mere chance.

Definitions are not based on probabilities. sanxiyn wrote "AI is safe if it does not cause extinction of humanity." To show my disagreement I described a scenairo where the condition is true (that is the AI does not cause extinction of humanity), but I would not describe as "safe AI". I do not have to show that this scenario is likely to show the issue with the statement. Merely that it is possible.

> focusing one's worry on winning an anti-lottery rather than allocating resources to the more common failure modes.

You state that one is more common without arguing why. Stuff which "plainly doesn't work and harmful for everybody" is discontinued. Stuff which "kinda works and makes the owners/creators happy but has side effects on others" is the norm, not the exception.

Just think of the currently existing superinteligences: corporations. They make their owners fabulously rich and well protected, while they corrupt and endanger the society around them in various ways. Just look at all the wealth oil companies accumulated for a few while unintentionally geo-engineering the planet and systematically suppressing knowledge about climate change. That's not a movie plot. That's the reality you live in. Why do you think AGI will be different?
A clear case of adverse selection in the old pricing model.

From a game-theoretic perspective in a gig marketplace you don’t want jobs that are strictly better, else sophisticated market participants (workers) will select the best ones leaving chaff - and a worse experience - for the less sophisticated participants.

What you are looking for is preference optionality, eg one Uber driver might prefer not to do very long trips, another might prefer it, and you ideally get paid fairly for either.

In this case as others have noted, it doesn’t actually sound like an unfair change. Perhaps communications could have been better though.
The math is correct, I am referring to your comment:
>>
R² is a measure like any other. In this case it measures the relative reduction in MSE - which is low because the prediction of individual votes remains quite bad even if the state is taken into account.

I may be reading too much from your comment, but it seems that you relate R^2 to the reduction in the prediction error in each state, so it seems you are thinking about the formula of computing the R^2 as the (average variance in each state)/(total variance), that I think is not correct in general since at least it should require the total variance to be the sum of the variances in each state. If you based your ideas in that formula then your intuition is not correct, that is my point. When I apply R^2 I am thinking in a multivariable linear model with continuous variables, and this is not the case. I should measure this problem by how the entropy change when we apply the information about the state, something like the cross entropy using the total distribution and the distribution by states.
Does this article still hold up after 11 years?
Coursera’s functional programming course (in Scala) includes a pretty similar Huffman coding assignment with autograder if anybody wants to take a stab at it themselves.

https://www.coursera.org/learn/scala-functional-programming?...
> VAT cannot be levied on private school fees under EU law.

Given the long history of people the in the UK spouting absolute nonsense about what is or is not possible under EU law, do you have a reliable source for that claim?
Your favorite web search engine is your friend here.
How else are they going to track people with a hard-to-change identifier?
This data is super interesting to us as we are operating a large network across AWS and Cloudflare.

Is there any specific data you would like us to include next time?
We know, but my point was that Brexit voters don't know that Swiss and Norwegian deals are basically EU membership fees and obligations on most things but without the voting rights.
"A society grows great when old men plant trees whose shade they know they shall never sit in"
LMDB: Lightning Memory-Mapped Database Manager (LMDB)
I disagree, the support is very responsive. Try to let them know in advance about your plans and you will be fine.
PowerShell, is still the best way to scale your workload, administering a Windows server environment on premise. For Azure, there were features that were present in the Graph API that were not in PowerShell.

I haven't checked back in a while, but I think most new features in PowerShell are just pointing back to the Graph API.
> around-the-world

Not to dimish their perfomance, but still worth noting that they are taking the curves as tightly as anyhow possible. Which is okay, I guess, it's a race after all.

https://www.vendeeglobe.org/themes/custom/front/dist/assets/112114cd193fee4caebf.webp
https://www.vendeeglobe.org/en/what-vendee-globe

edit for those on screen readers: The links show the route of that race, which is from France down to south pole, around it, and back up to France. This race is not "along the equator" as some might read "around the globe".
Most of the fireworks use stuff that disperses quickly.

It's the BBQ grills that are putting aerosolized greases into the air, the stuff that floats and clings and stays around.

That's where those lovely delicious smells that linger live.
Doesn't Google Maps somewhat have this - it often suggests multiple routes, some of which have a green leaf.