skysight-inc/HackerNews huggingface dataset:
> scientific socialism

But it’s also how capitalist governments work. And businesses. And every scientific advancement, including how we decided which of the covid vaccines to give the OK to and which ones to reject. It’s also how the chemistry of the synthetic fibres in your clothes and the plastic in your computer were learned, how the machines which made each component of the latter and assembled them into the finished products became reliable enough. It’s how we even know there’s a rise in obesity levels, how we learned which things are good SSRIs and which have unfortunate side effects, how we learned not to let everyone have as much alcohol as they (or their bartender) felt like, and why various countries allow tobacco to be sold but only with graphic depictions of the consequences (consequences which we only know because of statistics and science). Online advertising is nothing but statistical aggregations; algorithmic timelines and personalised search results and recommend products/content are basically the exact same statistics but used to sell the recommender itself rather than a 3rd party. The politicians in a democracy also do statistics to figure out how well they’re selling their ideas and if they need to change tactics or entirely switch their message (or even messenger).

And, as I said, literal flight, that’s also science and statistics.
I remember that an older machine, a core 2 duo laptop that I had could stay in deep sleep for weeks and it’d function just fine after.

Modern laptops don’t seem to have this capability unfortunately. Both my Mac and Linux machine (even with windows) doesn’t seem to last as long these days.
> But if I turn the machine entirely off and turn it back on later, it does a good job loading all my apps back the way they were.

...If you don't really use the terminal at all, and don't mind a really slow "resume".
During the last 10 years, the Java ecosystem has heavily invested in reactive APIs, so it's not like if Java devs have no option.

And IMO, the semantics of any reactive APIs is better than just providing await.

Await serializes the async calls instead of running them concurrently.
And too few C# devs are aware of/using the Task API.
Well, obviously, we're discussing facts right? In a world of fantasy pigs might fly, but I don't know what is the point of bringing this up in this discussion.
For the record: I am not recommending people to adapt a toxic culture.

What I would like people to take away from these discussions is the curiosity to question established practices and processes and re-evaluate the cost-benefit ratio of process steps just like the manufacturing people I write software for continue to optimize their working mode again and again
Biden reveals White House plan for living on the moon and mining its resources
I've heard Yarrow is psychoactive, causing a pleasant sedative effect.
> The main reason the US has such high salaries is not that we stopped skilled workers coming here - around 50% of Fortune 500 companies were started here by imiigrants

Well, its also not because of immigration, at least not mainly. Europe has plenty of immigration and salaries are much lower.
In my non expert view its the U.S world hegemony and dollar's status as reserve currency that do the trick. U.S can stop immigration tomorrow and still salaries will be very high for decades.
> when implemented without stack probing.

I dunno how to probe the stack in standard C, and so I never used VLAs, nor allowed them because (I thought that) there was no way to determine if a VLA declaration would cause a stack overflow.
San Francisco and Lisbon are the same city (in two different fonts)
Well, I think your second example has problems (already noted by others), but also: get out of here with your sensible and boring practicalities! This is a great article and a worthy quest!
Pretty much every JSON parser in java does this by default. Why? Because they were all written before Optional existed.

I have to agree with the Optional hate. I loved it in Scala but after a few months on Kotlin I don't think I can go back.
A lot of people aren't interested in programming a CNC machine for their projects.
I think I understand you -- just a single number can never capture the richness and complexity of a life. But it's not about just using numbers, it's about doing all the useful stuff, including putting numbers (which is indeed often very important). We can't feel the pain of a billion people -- we can only look at statistics in disbelief that so many beings are suffering so much, and try to make their lives better if we can (and indeed we can :) ).

> Which didn't stop people from trying and creating unimaginable suffering.

Aren't we already creating immense amounts of suffering by the conditions of animals (which often have terrible living conditions), preventable diseases and poverty? Why putting a number on it is more evil than doing nothing?
It's 2022, why do we still have to use Jira...
Hard mode? Yes. Possible? Absolutely.

Many factors come into play from your spouse to your cofounders and team. Your personal time management, organization skills, and support groups become even more critical.

There is no simple/single answer to your question, just like how to have a successful marriage or founder relationship, if you commit, you will find a way.
Why should the Ukrainians want to concede?
Thank you for your work!
I was in a panic when Snips was bought up. After some research I landed on Rhasspy as my new local-first digital assistant, and it's been fantastic. Been using it for a few years now with satellites around the house with the 'brain' running on a VM. Even have a Siri shortcut which transcripts my speech input then makes an HTTP request to 'brain' instance so that I can use Rhasspy even if not around a satellite instance. This even works over my VPN!
Agreed. My previous reply just pointed out that 1 is not "how many full years have elapsed since you were born?". The answer to this question is still 0.
And you could probably say the same for JavaScript and Python, that, together with Java, make up the current topmost tier of super-popular programming languages, which is why I think your conclusion is wrong.

These three languages are often first languages (or, at least, first professional languages), which is a necessary (though insufficient) condition for being super-popular. All of these languages more than make up for the loss of programmers who prefer richer languages with the programmers for whom it's a first (professional) language. Different programmers indeed prefer different languages, but that doesn't mean that the preferences are easily distributed. My rough personal estimate is a 90-10 split, where the 10% prefer more feature-rich, faster-moving languages. That's a very big minority, but Java addresses it by offering the Java language for the 90%, and supporting other languages on the Java platform for the 10%.

You can also see that while the market is becoming more fragmented, no language is currently threatening those top three (although TypeScript could threaten JS, I think), and no language is doing better than them. I.e. other strategies seem to be doing worse.

So knowing that for every X programmers you win you lose Y no matter what you do means that we try to carefully balance the evolution. I can tell you that we are more worried about teachers telling us that Java is getting too many features too quickly, and that it's harder to teach than Python (hence "Paving the Onramp [1] and other planned features) than the programmers asking for more features quicker. The former represent a much larger group than the latter. Also, moving more toward the latter group is both easier and less reversible, so it has to be done with great care.

[1]: https://openjdk.org/projects/amber/design-notes/on-ramp
Tiger Global’s Now-Worthless FTX Bet Had Bain’s Due Diligence
Avenue (YC W21) Is Hiring Software Engineers in NYC (React/TypeScript/TRPC)
I have a buddy who retired around the same time I did who turned his hobby into a retirement project on YouTube. Like Matthias, he also worked on low level code for devices (Philippe Kahn's Fullpower.) In this regard I think YouTube is great for providing retired people a good way to share the knowledge they've accumulated over a life time and make a little money in the process.

Ward's electrical and electronic repair

https://www.youtube.com/@WardCo
https://archive.ph/VDUJI
This is the sort of cargo-culty FUD criticism people often bring up about Rails. So many programmers would rather reinvent the wheel, badly, than learn how to use existing products and focusing on their USPs.

What would your successor prefer when they take over: Bob's ad-hoc framework built from the ground up where they don't know how anything works, or some app implemented on top of a framework they've used in 10 other jobs?

While I agree that using frameworks like rails/django/hanami/react has an upfront cost, it's so hard to justify doing your own thing if your usecase is fits within what they offer.
While we're on the topic, in Python there's a nice way to deal with this:

os.makedirs(path, exist_ok=True)
The reason I've found my niche in the EV sector is because there are no more Miata-type vehicles for sale in the US anymore that flip the range anxiety upside down. Most urban and suburban sprawl lives happen in low speed congestion. Smaller vehicles, if subsidized with parking advantages plus never needing to stop at a gas station again, also can maybe catch a break in the ghost-taxation of mandatory insurance. I think the most effective strategy is make people want to go electric because it's just way better, and I'm excited about the future. SEMA 2022 was apparently "electrify all the things!" with a healthy dose of restomod. Sounds great!
I've actually worked at a handful of startups founded by middle aged men with families. I would kill to have coffee with one of their wives or older kids though because there's no fucking way those guys contribute meaningfully to the family life. I know how much they work because I was right there.

Also in every case they were already wealthy, either from early career success or just the traditional path of inheriting it. That takes a lot of the risk out and lets you outsource the domestic labor, reducing some of the burden you're asking your family to carry.

Anyway I've seen that up close and it's not necessarily inspiring.
That's nothing. Someone trained a GPT-J 6B model on 4chan and then let the model loose on the forums for a day. It took about 15k messages until people suspected something was off, and even that was because the country flags, Seychelles, a rare flag on 4chan, were a giveaway.

video: https://www.youtube.com/watch?v=efPrtcLdcdM

model: https://huggingface.co/ykilcher/gpt-4chan
I'm used to hearing tall Os from Canadians, but I guess this was the first time I've ever heard a Canadian talk about a mouse. If I hadn't first seen the creature, it would have taken some time for me to realize what he was talking about :).
don’t.

by a motorbike, learn golf, acquire a language, - but don’t bet your family on your personal dreams.
Life in prison is so much of a harder sentence than death.
Physics Can Improve the Urinal
It is a separate asset class yes. But it ties to other markets in a number of ways.

In your example, there's two things you could do depending on your usecase:
1) You think inflation will go up and capitalize on it. Today, you might think that a good way to do that is to short SPY. That's good, not great - because it's a proxy: inflation could still go up, and you SPY could go up as well (correlation is not 1:1 for a number of reasons).

The best way to express that view is by buying inflation event contracts: more direct, no basis risk, cleaner.

This use-case was super common when I was at Goldman and Citadel, which is where we got the idea.

2) You hold SPY but worry about the exposure of your holdings to inflation: you can use event contracts to hedge that exposure very precisely... think of it as a precise, meticulous surgery on your portfolio to eliminate (or even take) risks that are very difficult to eliminate with traditional instruments.
Depends on what you mean by “startup”.

If you want to found a money-burning VC-backed play for world domination, that’s probably not something you can do while you raise your kids and pay your mortgage.

However, if you’re interested in starting a business, providing a valuable product or service that people need and will pay for, you can absolutely do that.

The real answer I think you’re looking for is that you need to put a lot of money in savings, starting now, and you need to be aiming for actual paying customers on day one, not on convincing someone to give you a billion dollars to screw around until you find product market fit.
Fixing a sudden 10-time increase in Pip's build time
> You may think that being on a project that will never ship and never have any or many customers is great because you’ll have a light schedule and can improve on some skills on the side...

Unfortunately, "bullshit project" and "highly visible project" are not mutually exclusive opposites.

Some of my biggest bullshit projects have been projects that had several prominent eyes watching them closely, demanding frequent status updates and demos (the subject of which was not always articulated).

Nothing worse than working on a project that you feel is doomed to fail or at least fail to meet overly lofty expectations, yet still feel entirely responsible to try to pull something, anything off.

Also, never doubt the ability of managers and even less skilled developer-leaders to concoct improperly defined software projects to solve poorly defined problems.

I've seen, multiple times, management say "I have problem {X}, and I think a project doing {Thing A} will solve it", only for the same management to have "problem drift" such that "problem {X}" morphs into loosely-related "problem {Y}", which "{Thing A}" won't actually solve, but too late -- management is now convinced that problems {X} and {Y} are virtually the same thing, and {Thing A} which was poorly conceived to begin with, can now definitely solve {X} AND {Y} if only you'd read their minds and connect whatever vague dots they have floating in their heads for them and built the proper {Thing} for it".

Wow... this comment turned out to be a rant.

tldr; I somewhat relate to this article.
Fake due diligence? :)

6. FTX didn't keep proper records of who they employed. Employees and contractors co-mingled throughout the different companies without proper documentation of how they spent their time.

Certain employees can't be located: Which could mean that some employees were fake.
https://www.linkedin.com/feed/update/urn:li:activity:6999050...
thank you my friend - hope you give it a spin and send feedback my way
I believe the general name of this trick is "carry save addition".

https://en.wikipedia.org/wiki/Carry-save_adder
This is my slightly-conspiracy guess: Apple has oodles of old hardware lying around that they would like to keep using but is either too old for macOS or they want to use it for backend services (prod or non-prod, doesn't matter). Think capital expense budget. So if Apple can run Linux on all that hardware, that's a lot of computing power still available for years to come. And if you can get the OSS community to do it for you for free - even better!
Personally I feel documentation wont be such hard thing to do if ppl are not very particular about formatting and making it look good.
I think that was an insulation problem and not a storage heater problem. The insulation in the UK is abysmal in average flats/houses.
I thought, when I remembered the joke, that i hadn't seen them for a while -- but I was still surprised to see, on the wiki page, that they've been off the market since 2018.
I've recently built Cobalt on Linux, here is how it looks: https://twitter.com/niu_tech/status/1592143515496206337
Congrats to you that you've made this work. I've made attempts at the "super efficient optimise every moment" thing and it always eventually collapses for me with severe mental exhaustion. I cannot be "on" that much. It just isn't in me.
Annotation. Colour correction including white balance picker. And so on
Show HN: CodeLink: create links to blocks of code in your IDE
Small team down here in South New Zealand just launched CodeLink. In short its an IDE (VSCode/JetBrains) plugin that lets you share blocks of code that link directly to the code inside your IDE or repo. We use it all the time and think its pretty nifty tech that lets you understand someone’s code in context very quickly. we’re hoping to keep refining it to make it better and more useful.
Thanks for all the great content!

I would be interested in a more meta piece about how you approach problems and how you regularly achieve that 100x thing.
You have 3 main options:

1. Do it on the side, while working.

2. Save up and then go full time.

3. Borrow money and go full time.

None of them are easy or stress free.

I went for option 2. I worked like crazy and was making roughly my old income after a year or so, so I never burnt too far into my savings. There is a bit about my journey here:

https://successfulsoftware.net/2013/11/06/lifestyle-programm...
Good questions and good points... something that bothers me is that networks are treated into micro when they actually relate to meso... connecting micro and macro.

Impossible to discern who would share the prize. Also, his network science is childish compared to nowadays econophysics multiplex approaches, but this was never a deterrent for the comittee.
There is too much heat yet we also have an energy crisis. Shouldn't there be some way to combine the two? Heat-pump from warmer areas to colder ones? A more uniform temperature all over the planet?

Just wondering
Dams aren't necessary, but yes, it probably was a problem before the dam was built. That's usually why dams are built. But I think it's better to just not build there.
> feel free to chime in

Pun intended?
To digress and talk about DirectStorage, reading their documentation and announcements still leaves me with an unanswered question. Maybe someone knows the answer.

Does DirectStorage only work for games, or can one use it for compute workloads?

Context: I've been learning some basic GPU programming (via rust-gpu though, not CUDA), and one of the things that sound easy to implement are offloading compute kernels to the GPU (e.g. arrow-rs).

Being able to load datasets via DirectStorage could be great, but as I'm still really learning the basics, I can't figure out whether I could leverage this for my work/learning.
Poor man’s blockchain it is, then :)
When crossing borders, I store all my data encrypted in the cloud and wipe the device. Many countries can request full access to your devices, and non-compliance can result in denied entry or possibly even arrest. Your devices may get confiscated.

In Australia for example: https://www.theguardian.com/australia-news/2022/jul/20/exper...

From memory if they gain access to the data they retain it for something ridiculous like 15 years, and are exempt from all data protection/privacy laws.

Even though the risk is small, having all my data leaked like this is unacceptable.

Another rule is that if my devices are taken out of my sight, I won’t use them any more; I’ll sell them and buy new devices. You don’t know what exploits are out there and again it just isn’t worth the risk.

I’d ask if you really need multiple laptops? You’re obviously concerned about this, so minimising your attack surface seems like something worth investigating.
I wanted to combine a few PDFs into 1 big one, and I noticed adobe.com offers that for free (but it requires user registration). Now I just remembered that Gimp can open PDFs, and each page would be its own layer. Probablt good enough for some light editing.
We have a decentralized web, right alongside the centralized web. It does't require any sort of crypto to function, and functions better without crypto added.

Crypto is just another variety of wall.
What's next-gen is the federation, as opposed to the centralization of the current-gen. HTTP has nothing to do with it, even the "semantic 3.0" didn't ditch it.
>Nobody else did it, including NASA.

This is just a misdirection. I could just as easily said, nobody did it by themselves, including Musk.

What is “it” in this case?

NASA (and the DoD) had vertically landing reusable rockets designed for orbital flights back in the early 1990s. They were being successfully tested but budget cuts killed the program. They weren’t doing “it” because it wasn’t the same priority in that era. NASA has been researching COPVs for decades, etc.

The SpaceAct agreement between NASA and SpaceX allows for sharing of this kind of information. If you think SpaceX has done all their great work alone, you are misinformed and likely making you data fit your conclusion instead of the other way around.

SpaceX has some competitive advantages, but I don’t think they are what you think they are.
> But, most importantly, the fundamental issue is that all classes are optional by default in Java (indeed, that's the problem at hand). Adding an Optional class doesn't really mean you can make any non-nullability assumptions about other classes, especially when using different libraries.

Perhaps it's just me, but I don't equate optional with nullable. An optional value is just the designer specifying that you may or many not specify that value, while nullable are objects which may or may not have been initialized yet.

Even though nullables have been used and abused to represent optional values, I'm not sure it's a good idea to conflate both. It would be like in C++ equating shared pointers with optional types.
You are correct. However, MS typically comes with spasticity and trouble swallowing: the former prevents operating a device with small parts, and the latter prevents effective oral delivery. A pipe is comparatively easy to use when your hands and legs don’t want to stay in any position.
My assumption is that they rounded it: 1,720,440 in base 8 is exactly 1/2 a million in base 10. Clearly this is what they were trying to convey.
> 2. Nuclear is not dispatchable.

This is not an intrinsic limitation. Naval nuclear reactors can power up to meet demand very rapidly. Civilian nuclear reactors aren't built like this for various reasons, including gas turbines just being cheaper for this purpose.
www.arcticheatpumps.com/

I've been scoping out this company for some time, my boiler is currently in good shape but would love to switch down the road.

They heat up water via HeatPumps to required temp during the day when outdoor temps are higher and electric is cheaper. Max water temp can change based off excepted nighttime temp.
Hehe, next time I'll try and make it a haiku
I was thinking about a similar idea. I couldn't find a suitable DC immersion heater to connect directly. An off the shelf on-grid or off-grid inverter wouldn't have made sense either. A massive variac wouldn't be cheap. A purpose built inverter/mppt would be good but I'm not an electrical engineer so I don't know how to make one.
Ask HN: Maximize Uber/Lyft Driver Profits
My 21 year old son is considering driving for uber/lyft while attending college.

Does there exist a "playbook" of tips/tricks the most profitable drivers have learned to maximize income?
(Rochester, NY and surrounding small(er) towns would be his market)
> And when the internet goes out I can locally control things from a laptop.

While an improvement I don't want a cloud-dependent system except where it's unavoidable: like having it read me news.