skysight-inc/HackerNews huggingface dataset:
>Avoid bugs related to mutable state.

And generate a lot of overhead both in execution time and memory. Which is unacceptable in games where every ms counts.

>Games tend to define update() functions which mutate some state each tick. We can avoid mutation by taking game state as an argument and returning new state. Now our game is much easier to test too! We simply call update with some game state and assert that the result is what we expect. Imagine how hard it would be test the imperative update function!

As a game dev I kinda cringe on the idea of copying WHOLE world state just to update it (and if I understand correctly we copy the state EVERY TIME we want to update i.e: from every actor instance?).
Ask HN: What does your battle station look like?
It’s fine to describe it, pictures if you are willing.
Moving to Mars is analogous to a full app re-write.

Instead of dealing with the "technical debt" that we've built on earth over the past couple thousand years, the proposal is that we start off with a clean slate.

I'm not saying it can't work, but if software engineering has thought us anything at all it's that full app re-writes are generally a terrible idea. The sheer complexity and vast amount of unknown unknowns is what generally kills these projects and what would also kill any attempt at re-building civilisation in a foreign planet.

Don't re-write, refactor and fix the bugs on earth.
rather, ipfs sounds just like bittorrent
This depends entirely where (under which rules) they are farmed.

Here in the EU, farmed fish from the Americas comes with the lowest health and safety ratings (and is maybe barely sold because of that), but EU farmed salmon is rated safest, better than wild, especially for babies.
How about... do both?
Apple’s high end desktop strategy has been confusing to me for several years now. They made a big deal out of the iMac Pro, even though that seemed like an obvious quick fix for power users since the new Mac Pro wasn’t ready at the time. However, I never understood why Pros would want to pay more for an an all-in-one they couldn’t self service or upgrade when they probably already had monitors they preferred using.

Then they finally released the 2019 Mac Pro at a cost that I thought was prohibitive to all but the highest end professionals. I don’t remember previous Mac Pros being targeted this exclusively; heck, somebody in my freshman dorm in 2006 had the cheese grater Pro at the time for music production.

When they unveiled the Studio, I thought that they were replacing the Pro line with that product…but then they confirmed the Pro is still coming. I really do not know what differentiation there will be between the Studio and the new Pro. I’m curious to see what they do with expansion and dedicated GPUs, but considering they don’t play ball with Nvidia anymore it’s probably still going to be a niche product
What is the biggest hurdle for the M2 Mac Pro? Is it connectivity that isn't suppported by the chip? E.g. when they want external DRAM and GPU, the M2 SoCs simply don't have that capability so a whole new SoC would be required, with features that would only be used in the Pro, making it a questionable investment?

Or is there a more technical hurdle, e.g. that supporting external Dram and third party GPU would require more fundamental changes than merely building a new SoC?
I would recommend looking into depth map of the source material then generating off of the resulting depth map. That will keep the structure the same so things don’t pop in and out. Then the suggestions of dreambooth or textual inversion to get the colors etc right.
> This tells me that Apple could fit 32 performance cores in a laptop CPU

I'm not too sure about that. The current 20-core CPU from Apple is inside the Mac Studio, and it has quite a monster of an air cooler. It's obviously going to be much harder to put that (or something more powerful) inside a laptop, even with all the chip improvements...
I've been always talking that grades are irrelevant because there's too much external factors (easy/difficult profs, biases) and standardized tests are the way to go

Grades could at best be proxy for effort, but still grades talk about the past, not what's now.

If somebody takes grades seriously then for me that's huge red flag and I think that person is naive and focuses on not really important things.

I wish there were standardized exams after graduation, so you could compare students from top schools and bottom more easily, that would allow students from bottom schools to bootstrap themselves purely on their skills and knowledge
Looks like he has discovered the "electric body" that tells cells what lifeform to create. It's an impressive milestone in science, but I hope he grows his cute xenobots in a bulletproof box. He should try to grow xenobots in very different environments and locations.
salmon gets unpleasantly fishy if you overcook it. a little browning round the edges while leaving the centre raw but warmed can be amazing

I do love salmon sashimi though
>>> Community moderation works

Meh. Community moderation upholds the values and standards of the community. So a community of neo-nazis will moderate themselves and protect their values and standards.

As will community of flat earthers etc etc

And this is why it's really hard to have any sort of "truth based ML moderation" - because in the extreme and obvious cases "the earth is actually round" directly threatens the community.

And in the middle case "excluding Mary simply because you'all don't like her or her family is unfair" also threatens the community.

In between those two is a spectrum of truth and decency that threatens every community

Humans are rubbish
Well, its the gate to the Asteroid belt & even has two asteroids full of resources in low orbit! Not to mention having and a (thin) atmosphere and usable gravity, that also opens a lot of opportunities (aerocapture, no micrometeoroids, easier thermal control, etc.).
Yes, but the problem in my view is that for each of those small things we find useful they introduce tons of other features no one needs ...
It was designed to have curved glassy surfaces. Both curves and glass are used a lot in modern architecture, for many reasons and "because it focuses the sun" isn't one of them.

Combining glass and curves has been rare because it's technically difficult to build large curved glass. They were hardly ever combined until 1850, and it's still difficult today, 170 years after Crystal Palace. It's done though.

Buildings go through review, which is rather like code review, and the review finds problems, and some slip through. In the case of this building the architect ordered a second review, where the bug was spotted and its consequences computed and found to be acceptable. (This is something engineers do all the time. When I had a hole made in a wall at home, a structural engineer computed how much the floor would sag and found it to be acceptable.)

I'm guessing that the second review was carried out precisely because the architect wanted to be careful about those curved surfaces.

Of course you can pretend that the curves were built in order to focus light and blame people for it. In that case you should accept that people blame you, too.
Should open source sniff the geopolitical wind and ban itself?
>2 is not the only even number for this.

No, but it's a very common number in more advanced organisms, and the smallest possible that satisfies bilaterality/symmetry.
I've been laid off so I'll learn skills that'll get me a job:

- Leetcode

- Rust (not sure it'll help but it'll keep me sane)

- DDD (started today because of another HN thread)

- Brush up on React
You can still find original SID chips selling on eBay, it's just that they're expensive now.

Another strategy is buying cheap faulty C64 boards and ripping the SID from them, but it's risky. The SID might be dead (or not there at all).
Too bad there are a lot of clues in the video portion of clips. Also, the first challenge I got was obvious japanese (and there was anime art in the video), but none of the answers was 'japanese', so it got me confused. Turns out it was a mistake.

Overall, very enjoyable, but I think that whole video should be blurred, maybe even completely disabled.
"Haven't needed to try the WiFi on it yet. Only use one screen, not sure why I'd need two."

If you never use WiFi or two screens then maybe you shouldn't dismiss other people's issues with Linux as being unusual.
You know what, I think I'll pass.
Fonts that will be popular with designers in 2023
This is not comparing like for like, as we have yet to see how x86 does on those device fabbing nodes. And other ARM vendors are not really in the same space, but within the mobile form factor they're hitting comparable performance numbers.
Because humanity is the only known intelligent species in the observable universe.
If the functions are not built into the objects, that's not object-oriented programming.
If we're going to be pedantic, all people have two eyes, some are just not functional. If you mean losing the organ entirely, this usually happens after birth.
> Such anecdotal evidence is cherry picked

Citation needed. Desperately.
Decoding the Gurus pod nailed it with their most recent episode on a Musk interview where he hammers this point home. He's the techno-shaman — by demonstrating how different he is to the rest of us mortals and how he has unique knowledge of beyond the cutting edge of tech, he gives people license to believe in whatever he's selling. Just like a traditional shaman does but it's work 120 hours a week sleeping on the factory floor + intimately familiar with every aspect of design, engineering and production (and routinely solve problems none of his brilliant engineers can), instead of going into trances with a direct line to a deity.
The norwegian salmon farming indsutry is endelssy facinating. Such a young industry has grown from the invention of floating open net pen cages in western norway in the 50s to a 1,4 million tonne export in 2020 worth approximately 7 billion dollars.

Due to the technical and biological challenges of food production in the sea as well as the environmental and social pressures to transform the industry, it is now one of the most innovative food production sectors in the world.

Digitalization and AI counting of parasites [0], lasers to remove lice [1] and huge offshore installations to minimize coastal impact [2] and crispr sterilized fish [3] are some examples of innovation happening right now in the sector.

[0]: https://aquabyte.ai/
[1]: https://www.stingray.no/delousing-with-laser/?lang=en
[2]: https://www.salmar.no/havbasert-fiskeoppdrett-en-ny-aera/
[3]: https://www.hi.no/en/hi/temasider/aquaculture/editing-the-ge...
I agree with most but don’t see how it would lower school shootings (source for your statement?). Also there are definitely other ways to prevent that.
I personally would, yes
> Nothing prevents bootcamps from having those classes though.

Time.

They don't have time for things like that. If they took the time to teach low level programming, data structures and algorithms, security, operating systems, networking and so on, they'd need to teach students for 3 years instead of 3 months. And then you may as well get a degree.

The sales pitch for bootcamps is that they can teach you enough to get started in a career in CS in 12 weeks. Then you can get a job and learn the rest while working. This breaks down when you don't learn things that you'll need. And it breaks down around areas you'll probably never pick up on the job, like (for me) learning how page fault handlers work in the kernel by implementing my own. Or how you can use gdb to reverse engineer C programs.

There's only so much you can learn in 12 weeks. And there's only so much your job will take the time to teach you.
In what way is it not surprising to you?
Useful developer resources for building the Internet of Cash
Warning: only 500,000,000 years.
Sounds like we just need to check every day or so. Fingers crossed you manage to get one!
What's needed to complete the Apple Silicon transition is TSMC's recent start to 3nm volume production.

Originally, TSMC projected 3nm risk production to start at the tail end of 2021, so Apple would have had chips for multiple product lines that were designed to be fabbed at 3nm in 2022.
Why nothing is working out? need your guidance
It's been a month, no products working out. as a designer i need your guidance... what should i do? no money + heavy debt. i tried launching templates and other services but it's very hard to sell or get clients. Can you give me some inputs?
Unless it was trolling I saw evidence it was trained on Russian texts, how else it could do convincing style transfer from Russian poets for example.

But as always only successful prompts are shared so I don't know how hit or miss it is
Yes I personally find those languages to be the sweet spot between very object structured like Java and C# (although I haven't used either for 15 years so I can't speak to how they're currently used) and FP languages. Javascript a little less so, it's just very flexible and Typescript adds the typing layer. Rust especially seems to take just enough of the FP style to get some nice benefits while also being a traditional imperative language. Just my personal opinion of course, I'm not an advocate for any particular style.
You can switch the chat bot (http://chat.petals.ml) to the "few-shot mode" and provide a couple of "task description & code" examples. Then you can add a new task description and it'll respond with code.

The underlying LM, BLOOM, had a few programming languages in its dataset, so it works at least with Python and C++.
>It is a matter of principle that no course or program should be easier than another.

It makes no sense and I don't think there's solid reasoning behind this concept

like... why?
The hidden underwater forests that could help tackle the climate crisis
Why should they have a vision? They have a business.

Vision is overrated. Thousands of startups with a "vision" went nowhere. Or the vision was discarded and their model ended up being "let's monetize with ads like everybody else".
> We have literally millions of years to prepare for that.

So do sea anemones. What are their chances of inhabiting Mars? ~0%.

You can have billions of years of spare time. If you only concern yourself with Earth and never move beyond it, you'll end up just like anemones

> Mars is a stretch goal.

If Mars is a stretch goal, we're fucked. By time of red giant sun Mars will also be toasted.

> climate change will do that first

It probably won't. Devastate and depopulate anything outside arctic circle? Yes.

Nuclear winter has a good chance but even that's not a certainty..

> societal collapse requires much less than that

I don't care about societies I care about totality of humans. All societies exist while their energy/work production can ballance the expanding complexity, or are knocked out of balance by another society.

Societies aren't immortal.
however soundly damning this appears, our species depends on exploration for survival

at some point in time, the costs/risks/futility will be close enough to zero to warrant such exploration

we left the sea, we left the trees, we left the caves, we will inevitably leave the planet
For consultancy, I've worked as freelancer on a few projects outside of my day job - most recently for the local government here on a recent expo.

For Engineering Management, I'm currently doing this within my current Senior Dev role. I'm basically responsible for developing our processes and software stack and advising on hiring and selection of tools/frameworks for our clients (I work in an agency.)

It's just that our main client does not a have specific title Eng Manager so the role is kind of not official in the job title.
The reason surveillance capitalism will always win out is because with direct payments people only have to pay for something once.

Even if (and I hope this never happens) we had some "perfect system" where every website was automatically paid some fee every time there was a page view, the companies behind those websites would lose money on that deal.

If I own example.com and you click a link to www.example.com/somepage.html and after I serve you that page your bank account automatically transfers some small fee to me, that's the end of the transaction. You'd be done paying! Why would I want that when with surveillance capitalism you will continue to pay for the rest of your life?

If I collect huge amounts of your personal information, then sure, I can make money by using it to push ads in your face (and I will), but after I do that I still have all your data. I can leverage that later in any way that benefits me. I can use it manipulate you into loading more pages on my website, I can use it to safely increase the prices of things you buy from me, I can sell and resell that same data, in whole or in part, over and over to anyone who wants it. Combined with data about others it becomes even more valuable too.

You. on the other hand, will deal with the consequences of that data being used against you for your entire life. It will be used by scammers to try to trick you. It will be used by the state to control and monitor you. It will be used by other companies to take more of your money. It will be used by advertisers to manipulate you. It will be used against you in courts. It will be used against you by employers. You will never stop paying. You'll pay in ways you never imagined and in ways that aren't possible now, since your data will still be there when they become possible later. When consumers spend the rest of their lives endlessly paying for everything they have and everything they do it means more wealth and power for the few at the top.

Unless your new universal micropayments system can do all that, why would corporations switch to it?
Guarantees are not orthogonal to realtime feedback, they are essential. If I write a query, it is not irrelevant whether it takes 1 second or 1 minute to return at any given moment.

You write that speed can be inferred, but the analogy that was used here is BitTorrent—and my experience with BitTorrent tells me that it certainly cannot be inferred.
Are you enabling avx2 for rust as well? What arguments are you using for rust?

Try this:

RUSTFLAGS="-C target-cpu=native" cargo run --release # or whatever

And:

clang++ -O3 -march=native fts_cpp_copy_bench.cpp -o test.exe

arch=native will also activate SSE, MMX, and all the other goodies that modern CPUs have to offer.
> I will let someone violate every rule on this list and will do my best to give them the conversation they want. I just won’t seek out more conversations in the future.

Call me weird, but for me this mindset is more rude than all the "rules" put together. You let the other person lead the conversation and invest into it only to never seek conversation with them again, leaving them wondering what went wrong. Wasting someone else's time aside, this is incredibly rude.
Yet this person puts themself on a pedestal high enough that they can definite "rules" of having conversations.
The first rule on the list should be to respect the person you're talking to. Otherwise there's no reason to continue engaging in a conversation.
Couldn't you connect external DRAM to a Mac Studio via Thunderbolt if you really wanted to? Or is that still missing the same memory coherence semantics as actual DRAM sticks?
I don't think he was trying to justify or excuse his way out of his bad qualities in the second part; It felt more like he was pinpointing the reason. I'd say it's okay for people to give reasons for bad actions as long as they they still admit to wrongdoing and don't use that reason as an excuse for it being okay.
Hopefully the point of university is to learn
> sprouting body parts in random places seemingly overnight, only incidentally producing anything valuable. Maybe you don't actually need a thumb in your forehead in the first place, especially since it bleeds into your eye whenever you try to use it

I've been using c++ for a while, and this comment is perhaps the best and funniest description of what I think about the language but was never able to put into words. Kudos for the laughs!
That's just what the demons want you to believe!
The same concern also exists for traditional snow chains.
ERMAC: https://en.m.wikipedia.org/wiki/Ermac

“ The character originated from rumors alleging he appeared in the original 1992 game as either a glitch or a hidden character, which were perpetuated by video game magazine Electronic Gaming Monthly (EGM). His name was derived from a diagnostics menu in the first game that displayed the text "error macro" as ERMACS. Although the rumors were false, growing interest led to him becoming an official playable character.”

So this reflects both the original “ermac” macro usage in the assembly code as well as the perpetuation of the rumors which led to an actual ERMAC character :)
I've pondered this for a while. One solution would be, imo:

1. Maintain a large set of questions that are mechanically markable (e.g. no room for bias/teacher choice in marking). You can expand this set by a small percentage each year.

2. Randomly assemble each student's exam every year by sampling questions without replacement.

3. Use trueskill to simultaneously estimate question difficulty and student skill.

4. Report skills as the primary metric.

I think this would work, although of course writing many questions is challenging.
I think this hits the nail on the head. Education seems to have two aims - educating students, and ranking them. I've always strongly believed that those aims are mutually defeating. I'd rather have external measurements of ability (such as the SATs or technical tests or whatever) and just let schools teach.
> Time also seems to be a pure function: current state of the universe -> next state of the universe, which is neat.

Certain interpretations of quantum mechanics would disagree that, if you put a given state of the universe into the "iterate the universe's state" function, you'll always get the same universe out the other end. The idea that quantum state transitions are truly random would foreclose on that.
What I mean is that the current signal-to-noise ratio is way too weak.

This created a lot of bubbles. NFTs are already down by a lot, now yield farming (https://www.bloomberg.com/news/articles/2022-04-25/sam-bankm...) just took a big hit from the FTX case. I see way too many "revolutionnary" projects from fresh graduates. There is no way that tens of thousands of inexperienced people with barely enough CS education to pass programming interviews would magically create innovation just because VCs put a ton of money on them.

Also, can you tell me more about where decentralized tech is today? BitTorrent was a revolution as a way of information sharing, Onion was a revolution for privacy and Bitcoin was a revolution for decentralized ledgers.

Starting from that, IPFS is the continuation of BitTorrent with more features and Ethereum is a more efficient (especially since The Merge) and customizable (smart contracts are advanced checkers for write operations) ledger.

But what are the real world applications of those technologies? What are concrete use cases of Ethereum and IPFS besides payments, records and file sharing?

Surely there are exciting progresses to be made on the technical side like zk-SNARKS but how useful will they be to society?

I think we already have all the technical blocks we need. If there is no real-world adoption maybe we should just wait another 10 years before pumping crazy amounts of money.
"macOS has much better colour handling than windows". How is that ? Do you just mean apple screens have a better color calibration when you get them ? Or the OS come with some tools to handles colors in some ways Windows can't ?
It doesn't mean any difference when you're trying to slow down downhill. As you're saying, "your tyres are going to make ALL the difference." Which is exactly what I said - 4x4 or AWD doesn't help anything with that.
Open AI is also working on this, they call it WebGPT.

https://openai.com/blog/webgpt/