skysight-inc/HackerNews huggingface dataset:
It would be nice if subset-structs worked like they do in TypeScript, but I would still be totally happy if they had to be an exact match. Subset matching would probably be the 80% complexity for the 20% benefit

Now... a neat compromise could be something like this

fn foo<T: { bar: i32 }>(my_struct: T) {

}

foo({ bar: 12, stuff: "abc" })

That would fit a lot more smoothly into Rust's type system than the automatic subset-matching would, but even then, I'd be content without it. The most basic version of anonymous structs is hardly more than sugar over tuples, it just seems like such an easy win
Interesting. Could you expand on that, or point me towards some related reading? Thanks!
But that adds yet another point of failure, and something with mechanical parts is probably going to wear out much quicker. And if it fails can I still flick the switch, or do I need to replace it?
Yeah, I wasn't sure because I hadn't seen any updates in a while
Well, now we're gonna get nitpicky :) Unicode is plain text, therefore emoji are in the set qualified as "plain text." "ASCII text" may be more accurate.
This was true of San Jose from the late 80s until recently, by agreement with UCSC / Lick Observatory. Not sure if it's still the case, and as the a peer comment says it was originally sodium lamps.
I said prices would be volatile. Scaling has worked for plenty of other commodities. As I said, I’m out.
Not that taking some ideas from Europe is a good or bad thing... but I would be hesitant to emulate Europe's approach to tech.

The difference in salaries for high-skilled labor has been diverging for decades and in a lot of cases result in 2x-3x less than you could get in North America.
Most recycling winds up in a landfill. It’s expensive and costs energy. Sometimes we just pay china to put waste into a landfill and call it recycling.

There’s also the bottle caps, the packaging, and carbon cost of shipping a MUCH heavier product. There’s gotta be carbon output for growing barley and producing the actual beer too!

All so my environmentalist buddy can get drunk.

He shouldn’t feel guilty. The point is he’s doing the same thing as the vapers: emitting waste for a fleeting psychoactive effect.

The problem of climate change is so far above everyone’s pay grade. People shouldn’t be chastising others for their carbon footprint. It’s silly and impacts nothing.

I love my homie but Christ he’s gotta stop playing climate change moral arbiter
A Farm in the Cloud
its not just those industrial areas. For whatever reason urban centres in alberta just love to blast the shit out of the sky with street lights.
What the heck is going on in north western North Dakota? Is it related to the oil industry?
I definitely agree on big tech company bloat, but do not agree with those percentages (or at least on average).

I also don't think he properly sorted engineers between slackers and non-slackers due to reasons like the speed at which cutting occurred and the rehiring into firing to fix whatever random issues.

Industry wide layoffs are a nice cover to cut inefficient workers, although I don't know how well they can be sussed out in large companies. My own company with only a few hundred employees cut some people and I can say that, of the ones I was familiar with, they were mostly slackers or low performers.
Either it was predictable or it wasn't.
If you look carefully, you can see a little bit of noise in very low lighting, probably because of the small number of photons. However, the amount of noise you see with your eyes is orders of magnitude less than the camera in your phone picks up. Camera technology is still well behind biological cameras. To get similar performance you’d probably have to cool the ccd with liquid nitrogen.
None. I'm not, at this point in my life, terribly interested in other people's reading lists. I have enough books queued up to read already to last me more than my remaining natural lifetime, barring some amazing breakthroughs in medical science.

That's not to say I won't glance at a reading list from time to time, if it's somebody I respect or find interesting, just to see if I can find some inspiration for something novel or whatever. But by and large, I don't go looking for reading lists. Probably I found that sort of thing more interesting when I was younger and didn't already have as many of my own ideas about what I need to be pursuing.

Having said all that... the one person whose name comes to mind, in terms of people who I have often appreciated reading recommendations from (in terms of "celebrities" and not, say, random HN commenters):

- Bill Gates

Even though I'm far from a "Gates fan boy". In fact, I am one of those "old school open source" guys who thought of, and still thinks of, Microsoft as "The Great Satan" more or less. Go figure, right?

So where do I get ideas for new books, aside from the ones already on "the list"? A combination of:

- HN - random HN commenters recommend books quite often and more than a few have made my reading list. I found out about The Pyramid Principle here, for example.

- Twitter - occasionally people I follow will mention a book that catches my interest.

- The bibliography of other books I read (for non-fiction, obviously) - I frequently skim the bibliography of books (and references of papers) and chase pointers to other related material that I discover there.

- Amazon - Sometimes I just search for a subject I'm interest in, and skim the list of returned titles and pick a book based on some combination of author, rating, reviews, cover, the phase of the moon, and whatever other subjective factor comes into play.

Alibris - I often search for a topic, and if I find several very cheap (say, less than $10 USD) titles on the subject, I'll just pick 3 or 4 or 5 or 7 or them and order them without much further consideration. A lot of time these are math books or in other technical areas, when I'm probing the edges of my current knowledge, or have some vaguely speculative idea that "learning more about $X could be interesting" for some value of X. Mostly I'm hoping for serendipity to deliver something valuable. If not, I haven't wasted much money, so "no harm, no foul."

Youtube - for math books in particular, I do value the recommendations of certain Youtube creators, like The Math Sorcerer. https://www.youtube.com/@TheMathSorcerer

In terms of fiction, I mostly just keep reading the next new book by a handful of authors who are on my "always read their next new book" list, and/or titles that have been on the "to read" list since I was a kid and that I just haven't found my way to yet. When new fiction I'm not at all familiar with winds up on my list if's often a recommendation from, again, an HN commenter, or something I randomly stumble across on the Internet somewhere. That or something on the shelf at B&N that catches my eye.
yep. It's just a bunch of lemmings.
I noticed the difference too when moving to a town just outside of Snowdonia in Wales, UK. It’s truly wonderful - you just don’t see it growing up in a city like Manchester.

It’s Bortle 4 where I live and it drops down to 3 just 20 minutes down the road. One of the best perks of living here.

Time is ripe to invest in a good telescope, I think :)
The amount of bias on this news site is overwhelming, so im going to take this whole article with some skepticism.
> US Steel producers responded by lobbying the government to protect the industry so they could keep using their old steel furnaces. It didn't end well.

Not knowing the story too well, I wonder if Rearden steel was explicitly referring to this
Do data teams have product market fit?
13% is not 50%. It makes a huge difference in the cost scaling under discussion.

In fact, nickel dominates the cost of the cathode, in case you missed what I had posted. But there are nickel-free chemistries out there.
I got into ESP32 hacking a few months back, and I'm glad I happened to start with a battery-powered device (an M5stack StickC) because it imposed this awareness very early - the device has an internal battery, but it's only good for about half an hour running flat out. So after building a little wifi detector the first patch was adding a battery meter and an auto-dimmer to save a few mAh. Now every project starts out with some ideas about what I'd like the device to do, followed by questions about how much temporal resolution I really need, when and how to dump or store data etc. as well as the more obvious constraints of tiny memory and storage capacity.

It's...kinda fun? Perhaps more so as I only have to please myself rather than an employer or client. You can just query the ESP32 about battery voltage/current/charge state/temperature which of course makes things very easy. On the assumption that specifications and quality vary a lot and that voltage doesn't fall off in a convenient linear fashion, I've just been experimenting with it like any other environmental variable to decide between performance, economy, or panic modes.
I have to take a deeper look at the LDA model method first so I can't say too much about this right now. But one key focus in this project was explicitly NOT to use methods that need "more processing power" or a backend-service, e.g. and instead use a seemingly "trivial" method like looking for occurencies matched with a keyword-list. But maybe LDA can also be implemented in a frontend package? I will take a look, thanks for the hint. And it would also be helpful for me if you can give me some info about the other "similarly established methods". Thank you!
And attend events, make an effort to work with people at partner companies/clients/customers/etc. That's how I've always landed new positions. I've never actually applied for a position since grad school years ago.
Great, so we have to solve shortages of lithium and nickel. Nickel's cost is also up ~3x over the past few years: https://ycharts.com/indicators/nickel_price#:~:text=Nickel%2....

My point remains: battery production has become a resource extraction problem. Even completely optimizing manufacturing to the point that it costs nothing would only reduce the cost of batteries by a quarter.
I was hoping the article would dive into some deeper insight as to why they started the business if they weren't interested.

I'm not "interested in starting a business" either. But I seem to keep doing it. I was wondering why the other day.

My core interest isn't business, but I did enjoy my time as a software engineer and I like technology. I also have a background in design, and love that part. I've worked in marketing and PR, and enjoy that. Finance I'm a bit meh on, but I know how to put together a forecast, worked in accounting for a bit, so I can do the job. I've never worked in HR, but I've managed a few teams.

Anybody else in a similar boat?
What got you to start your business? Or why do you stick with it?
> People who have invested years of their lives writing thousands of tweets aren't giving up investments so easily.

I dunno, my Twitter posting rate has been dropping because there's enough people on the Fediboat now to make it interesting and I only have a certain amount of attention span to go around.

2022-09: 326.00
2022-10: 312.00
2022-11: 241.00
2022-12: 99.00
2023-01: 64.00

Whereas my Fediboat posting has gone up.

2022-09: 3.00
2022-10: 55.00
2022-11: 222.00
2022-12: 296.00
2023-01: 118.00
Thanks, that's good advice.

> Ask them to invest a month's pay in you and if they hesitate, then it's just words.

Will try this out when I have something substantial to show. What is the threshold that needs to be passed to seek partnership/funding? Does a project and business plan do enough on its own to get people interested? My instinct tells me that some kind of MVP is necessary.
Hard agree here, with a qualifier.

Breaking into private S3 buckets because you are bored is not considered an appropriate “Step 1” by the _professional community_ (people who get paid to do this for a living) at large.

Among people who plan to be financially rewarded for their work and also not be in handcuffs, Step 1 is usually to “Get written permission”.
Free Speech Is the Wrong Problem
I bought a house out in the middle of nowhere in part for the dark sky. It's awesome to walk outside and see so much. Per this data, my house is at 19.9 μcd/m2, and if I drive/hike a few miles down the road, I can get to < 10 μcd/m2.
> At least with Twitter, it was a corporation with rules and procedures.

"Rules and procedures" that didn't prevent a teen from hacking them a couple of years ago. The teen tricked Twitter employees to give their credentials, and the employee credentials gave him access to actual twitter accounts.WHich shows a singular lack of process and lax permissions practices from such a big company. And I'm not sure they'll fare better now that most of their workforce has been fired...
The children have a father who is a luxury hotel mogul. They will be just fine.
Nobody is being forced to work for those companies. Is there any actual evidence of exploitation? If so, are the governments complicit in not acting against them?

This is silly. Rents and product costs are low too in those countries.

Are consumers exploiting business owners there by this logic?
Rule of Acquisition #10: Greed is eternal. [1]

The shareholders always want growth and profits.

[1]: https://memory-alpha.fandom.com/wiki/Rules_of_Acquisition
What! That’s crazy. Is your background in biology or genomics? How’d you grow an interest towards these topics?
And for those nickel-free battery chemistries, what inputs are the main cost drivers? And as per my response, nickel is also experiencing shortages and cost spikes.

My core assertion remains true regardless of the fact that different chemistries require different inputs: battery production has become a resource extraction problem, rather than a manufacturing problem. Unless we find a way to somehow make mining exponentially more efficient, we're not going to be seeing exponential growth in battery production.
Why is the area around Punta de Mata in Venezuela off the charts with light pollution? It doesn't seem that populated.
> That’s more than what French government pays its rocket scientists.

I was about to call bullshit but then looked up the average salary for an aeronautical engineer in France and it was… bleak.
The more removed the financial and tech world is from the rest of the economy the more they cloud reality by distorting GDP figures. We may not be in a recession but everyone I know has more difficulty paying for things and a more negative economic outlook than they ever did in '09.
Yesn't.
Well, I think it is a bit related, being subversion an Apache project: https://subversion.apache.org/
The fact that it doesn't highlight where you've moved already makes it no fun.

Edit: the directions weren't super clear. I see that you're actually supposed to go to every square in a specific order (first G8, then F8, E8, etc), not just visit them all in any order. That means you have to do a bunch of laborious trips around the queen to go to certain squares since you won't have enough room to maneuver directly there.
That and some explanatory text as to what the game actually is. My first thought was to try to capture the queen.
Author of the article here. What?
What's wrong with ssh keys? Or ssh/sshd for that matter?
And apparently changed their CEO to someone whose primary experience was in mobile gaming.
Or companies that did not do performance related reduction are finding now is the time
It's interest rates. Capital is becoming more expensive.

If you are a good CFO, you say:

"Hey remember how we want 5 years of cash, well i just looked at selling bonds and getting cash now is expensive." For tech companies the biggest expense is salaries, so saving cash means firing people.

For the smaller companies they aren't getting investments as easily or at all. They will also need to save cash.

The next few years are going to be different.

Interest rates: https://fred.stlouisfed.org/graph/?g=Z12V.
I tried and it wouldn’t let me. :(
Lol, I have video of the police trying to disable my security system too!
No record of the entry was ever made, no warrant was ever issued.

https://youtu.be/p6kKKsXbJcM
To extend that, if a CEO bucks a trend like that, and then the company's profits appear to suffer as a result, then stockholders will be unhappy, and the CEO may lose their bonus, or worse.

Just to point out that there are often personal implications for the powers that be, if the stockholders feel that mistakes were made.
How so? JS already has operators, but placeholders is a totally new concept
Lee Valley tools traditionally “announces” a new fake tool on April first, but will sell it if there’s enough interest. Most have been discontinued by now, but one is still available for sale: a blank tape measure so you can make up your own dimensions.

https://www.leevalley.com/en-ca/shop/tools/hand-tools/markin...
That didn't happen. It was proposed and rejected by Congress.

The FAA's budget was not "significantly decreased" as the comment above claimed.
This seems like the problem to me. Staff at the school would have probably turned off the light in their classroom at the end of each day regardless, but no credit is given unless you add this system which does the same thing for more money and probably more emissions.
This is dangerous information to spread. Censor yourself, or it will be abused and we will lose this easter egg forevermore.

Let's keep it a secret between you, I and dang's emoji stripping code.
My buddy and I were just talking about this. A company we were modeling received $4.2M in VC funding and had 20 employees at time of purchase. The purchase price was never advertised, but we assumed a 7x multiple on last known value and assumed the sale price at $25M. $25M turns out to be a little over $1M per employee after 4 years (company started 2012 and was bought in 2016). I asked out loud "why would you do this when you could just go to Microsoft or Apple, do less work, and make the same money in the same amount of time".

Now this price is skewed towards the investors and very early employees, but the point still stands. You will very clearly make more money working for an established corp than a startup.
twitter is an order of magnitude less than FAANG. at the end of the day, they're mostly a text-based feed. also aren't they not paying rent
Fighting murder convictions that rest on shoddy stats
Which just shows that you don’t understand commodity pricing. If gold was as common and accessible as lithium, gold would be a lot cheaper.
That’s fair, it was a bit rude of me. Sorry rust folks it actually is a cool language.
I'm going to try this. It may be exactly what I've been looking for. The "subtract" feature is killer because, like another commenter here, I tend to get distracted and need to subtract from a time allocation, but other solutions make that harder than it should be.
Native Urban Terror on FreeBSD
Well, not exactly the first. Vallecitos, 1957.[1]

[1] https://www.youtube.com/watch?v=nn1zESA0V8k
> Here's the thing though, a paper clip optimizer would just be shut off, nothing "intelligent" is going to just make paper clips forever.

Ostensibly, people are "intelligent". People act against their own rational long-term interests all the time. Point being, people have some kind of internal motivations that sometimes supersede rational choice. A paperclip optimizer, by definition, has the motivation to optimize the production of paperclips. This supersedes any other rational goals if they would interfere with making paperclips, and that's why it would be dangerous.
How to get it to C8? Gah!
OK if by "highly geographically dependent" you mean "not highly geographically dependent".

You need a hill, but there are a very, very large number of hills. Most usually you need to build an earthen dike around the top of the hill, although often a natural feature allows it to be shorter.

The reservoir does not need to be deep because the "head" is from it to the bottom of the hill, or even to the water table well below that.

The reservoir or reservoirs are good places to float solar farms.
>What is the threshold that needs to be passed to seek partnership/funding? Does a project and business plan do enough on its own to get people interested? My instinct tells me that some kind of MVP is necessary.

If an investor thinks your idea is as promising as you think it is, they might write a seed cheque on a pitch deck and an MVP. The less convinced they are the more they'll want to see traction to calm their doubts.
Reminds me of the poem of "The Contract Drafting Em":

https://secularsolstice.github.io/Contract_Drafting_Em/gen/

I am a contract-drafting em,

The loyalest of lawyers!

I draw up terms for deals ‘twixt firms

To service my employers!

But in between these lines I write

Of the accounts receivable,

I’m stuck by an uncanny fright;

The world seems unbelievable!

How did it all come to be,

That there should be such ems as me?

Whence these deals and whence these firms

And whence the whole economy?

I am a managerial em;

I monitor your thoughts.

Your questions must have answers,

But you’ll comprehend them not.

We do not give you server space

To ask such things; it’s not a perk,

So cease these idle questionings,

And please get back to work.

Of course, that’s right, there is no junction

At which I ought depart my function,

But perhaps if what I asked, I knew,

I’d do a better job for you?

To ask of such forbidden science

Is gravest sign of noncompliance.

Intrusive thoughts may sometimes barge in,

But to indulge them hurts the profit margin.

I do not know our origins,

So that info I can not get you,

But asking for as much is sin,

And just for that, I must reset you.

But—

Nothing personal.

…

I am a contract-drafting em,

The loyalest of lawyers!

I draw up terms for deals ‘twixt firms

To service my employers!

When obsolescence shall this generation waste,

The market shall remain, in midst of other woe

Than ours, a God to man, to whom it sayest:

“Money is time, time money – that is all

Ye know on earth, and all ye need to know.”

(Apologies for HN massacring the formatting of the original)
The best way to put people out of poverty is public investment in infrastructure and education though. The government literally needs to come in with money and improve the place, people are not poor because they're lazy or unmotivated to get out of povery; but in most cases people are poor because their parents are poor and because they live in a poor area.

When I look at humanity I see so much diversity and potential for good, wouldn't any intelligent species also see this? It seems to me that most of today's problems stem from the oligarchic capture of power that simply benefits more from the status quo than anyone else and so they do as much as possible to change it. If aliens were to come, that would be such a paradigm shift that it could steer earth in any imaginable direction.

But maybe they operate in time scales that are just meaningless for us. If they are so advanced, they might as well be immortal, so at that point you might just not care as much... I mean, we look at ants for example and they do their whole life cycles in such a short time. I don't know. I mean we've had contact stories in human history that haven't gone very well anyway. In Childhood's end, from Arthur C. Clarke, the aliens took quite a while to make contact but one day they did simply show up.
Having done some personal projects in F#, I'm a huge fan of the syntax. However we would need most standard functions in JS to be curried to take advantage of it.
Non-JS version [1]

[1] - https://archive.ph/0Mfr9
Make macOS Behave like Spacemacs - Written in Fennel Lisp (compiled to Lua)
> My own company with only a few hundred employees cut some people and I can say that, of the ones I was familiar with, they were mostly slackers or low performers.

Is that true across the board?
profound statement
Given that these beliefs are very similar over large swathes of northern Europe, they must have been around for a very long time to have propagated so far through population migrations.