skysight-inc/HackerNews huggingface dataset:
Hi all! Here is the latest Rust side project I’ve been working on for the past couple of weeks: Lifeee, an implementation of John Conway’s Game of Life.

It was the opportunity for me to continue my Rust learning journey, and I think I’m finally starting to feel a bit comfortable with the language, especially ownership :). I also wanted to discover what was possible when using Rust for frontend development, and I must say I was so impressed by Yew! I didn’t think it would be so nice to use, especially since I have quite some experience with React.

A big difference compared to the various implementations you can find (often in Rust and Yew tutorials) is that the grid is infinite. This means that you can drag it to move in all directions, but also zoom in and out. This was probably the most challenging part of my project and involved a lot of calculus and doodles in my notebook! Also, since I used a canvas to draw the grid (and not DOM elements), the simulation is pretty fast even when a lot of cells are displayed :D

What I learned during this project:

- Use Yew [1] for frontend development: not very different from writing React components, with the advantages of Rust as a plus!

- Serialize/deserialize data: the available Game of Life patterns are extracted from the official Lexicon [2]; I parsed the text version to generate a serialized version (separate library: [3]) that I then import and deserialize in the app.

- Build the web app using GitHub actions and deploy it using Netlify: pretty straightforward using Trunk [4] as a bundler (also used for development).

You can find the source code of the app on GitHub [5]. Please tell me what you think of it! ;)

[1] https://yew.rs/
[2] https://bitstorm.org/gameoflife/lexicon/
[3] https://github.com/scastiel/lexicon-rs
[4] https://trunkrs.dev/
[5] https://github.com/scastiel/lifeee-rs
Can Martin point to _any_ major successful project that he's influenced with his ideas?

If not, then that's clearly a astronomically enormous red flag. If his ideas are that good he should be shipping successful stuff left, right, and centre. I don't think he is.

I'd listen to someone who's shipped great things. I don't think he's shipped anything substantial at all, let alone anything great.
The sun's luminosity is increasing over time.

"In about one billion years, the solar luminosity will be 10% higher than at present. This will cause the atmosphere to become a "moist greenhouse", resulting in a runaway evaporation of the oceans."[2]

1. https://en.wikipedia.org/wiki/Faint_young_Sun_paradox

2. https://en.wikipedia.org/wiki/Future_of_Earth
What options are available for current E-2 visa holders to get a green card?

I thought it wasn't possible but I saw you mention here that it can be done.

I've had an E2 for the past 7 years if that helps any
Less momentum than the rapidity with which momentum can change (power output vs weight, i.e., energy output).
I love succinct analogies like this. Anybody could understand that.
The successor is there: Sile

https://sile-typesetter.org
The fact that an individual can bring production down is 1000% a problem in the process; outages should not attributed to single commits but to a series of problems in the process.
Just saying this since the number of times someone being production down should not be cause of shame or firing
You'll never learn how to do that, nobody ever does.

Those who are successful are just good at trying many times as the conversion ratio is very low.

So the answer to that would be: Want to learn how to pickup girls? Learn on how to be unfazed by failure
I think most stalls are actually shared so when your neighboring stall is occupied you'll get less power. Stations are more crowded these days so it's getting common. Anyway, it doesn't actually diminish your argument, especially as 16-pod+ supercharging stations exist.

https://en.wikipedia.org/wiki/Tesla_Supercharger
"When both pairs of Tesla Supercharger station stalls (A and B) are occupied, they share the available power of up to 150 kW."
The lambda thing is not about whitespace indentation. It is a purposeful decision that if you need more than one line to do it, it should have a name.

At first I disliked this, but it does nudge you towards readability, which winds up to be a good thing. And if you look at it, there is very little space difference between an unnamed lambda and an embedded function:

def lambda_version():
a = lambda x:
line one
line two # note: this sort-of requires the idea of implicit return, which Python does not have outside of lambda
a()

def named_version():
def lambda_replacement():
line one
return line two
lambda_replacement()
For me, the priority is not open source, but rather the growth of my own creative invention. What I want is to get paid to grow my own vision, not that of someone else.

For me, creating software is an expression of Creativity. I to be able to explore my creative interests. Not those of someone else. I want to create things that interest primarily myself. I suppose the key to that success is to find a topic which has enough people are of interest that would be willing to give me revenue to work on that topic.
The first trans-atlantic telegraph message took 16 hours to send.
The real issue here is that this is evidence in a homicide trial where you need accurate evidence to prove beyond reasonable doubt that the events really happened the way they're argued by the parties and it's just not possible in some cases.

To try to answer the question, yes it does/could. Although it depends much on the interpolation algorithm used to enlarge the image or if there was another process that could produce significant alteration such as an AI assisted process.

If you use interpolation to "make it clearer" you're adding information to it and it stops being an accurate representation of the original. It might look clearer to you and it could help you gain more insight, but after the enhancement it's no longer an accurate representation of the original. The very meaning of the word interpolation is "the insertion of something of a different nature into something else."

As an example imagine there's a far away video of someone handing a phone to another person and you take the best frame you can for analysis. In the original it looks like that person blur is handing something to the other person but it's just a blackish line.

After processing with different algorithms in one it now looks like the person is pointing a gun, in the other shows an empty hand and the AI one for some reason shows it's a bag, and so on.

More specifically about the trial the expert witness declared that he does not actually know how the algorithms used work and that he didn't compare with the original. Which I personally find baffling because this is a laboratory that analyzes evidence that may decide the future of a lot of people's life. The technician needs to know how it works in order to be able to reach an objective conclusion that what they're presenting is accurate.
I do the same thing with obsidian and use the git plugin to keep it in sync (via gitlab) across everywhere that I use it. I know people who similar with .org emacs files. It works pretty well. I don't have the patience to maintain a wiki :)
Understood and appreciated. Thank you.
Thank you, I guess I just naively assumed the law would be more specific or would define the term more narrowly; but I suppose the courts will do that.
Wirecutter on VPN Services
Philosopher John Gray on Tarkovsky’s Solaris
So is lead, and it has a half-life of infinity.

You were clearly using "long half-life" to imply "super bad!" when in actuality "long half-life" means "not very radioactive at all".
As many have pointed out, this doesn't seem practically useful. However, if you add an "i" and flip the "n" and "o" on that messenger particle, I could see it being greatly useful.

Neutrino communications could travel into every nook and cranny, very fast and far indeed.
That's a false statement. Amazon plans your 4 years compensation when you join with the idea that you are paid pretty equally every year. The difference is that in year 1 & 2 TC is mostly cash while in year 3 & 4 a big component of the TC is RSUs which replace the cash bonuses from year 1 & 2 (it's called bonus but it's paid regularly and not in large sums; I think they do it to keep the base salary low). The reason whey TC is often higher in year 3 & 4 is stock appreciation, but that's not guaranteed. If the stock goes up 10% every year you wouldn't see much difference.

You can think about it this way. When you join, Amazon takes part of the money they need to pay you in year 3 & 4 and buy with it Amazon stock which you can sell only in year 3 & 4. (one difference is that you pay income tax on it when you receive it and not capital gain tax)
Sure, but the opteron doubled down on it. They added x86-64 to a server class chip for the first time and they moved the memory controller on chip, which made the AMD scale dramatically better under a variety of workloads.
EdgeDB employee here - happy to answer any questions. This is the second of three release candidates, followed by 1.0 in roughly a month.

Some previous HN discussions about EdgeDB and EdgeQL:

[0] We can do better than SQL https://news.ycombinator.com/item?id=24106608

[1] EdgeQL https://news.ycombinator.com/item?id=27793398
https://www.law.cornell.edu/rules/fre/rule_1001

Federal Rule of Evidence 1001 (e): A “duplicate” means a counterpart produced by a mechanical, photographic, chemical, electronic, or other equivalent process or technique that accurately reproduces the original.

https://www.law.cornell.edu/rules/fre/rule_1002

Federal Rule of Evidence 1002: An original writing, recording, or photograph is required in order to prove its content unless these rules or a federal statute provides otherwise.

https://www.law.cornell.edu/rules/fre/rule_1003

Federal Rule of Evidence 1003: A duplicate is admissible to the same extent as the original unless a genuine question is raised about the original’s authenticity or the circumstances make it unfair to admit the duplicate.

The defense argued that a zoomed-in video is not a duplicate under the rules because the zooming algorithm changed the pixels. If that is true, then the zoomed-in video can't be used as evidence and you have to use the original. If it is false, then the zoomed-in video can be used as evidence.

That's a real argument and the prosecution was unprepared to defend it. If you are going to blame someone (hint hint), don't blame the judge.
WTF
No, this is how you kill a huge population with cancer at best and radiation sickness is still far more likely.
What is wrong with you?
Roads are way too biased toward cars and away from pedestrians, and if this is what it takes to reclaim them then I'm all for it.
Modern normally means either that it's an unattractive building/artwork/sculpture or that it's implemented in JavaScript.
Ahhh thank you this makes a lot more sense - the law doesn't need to define "contact" very closely, if there is a review board that decides whether to fine, rather than an automatic fine.
My mine problem with Clean Code is Uncle Bob technique for refactoring big functions into classes.

When you have a long pure function that has several local variables and changes them in several places - you can't trivially split it into smaller pure functions (because you would need to return several values from each of them).

You could return Pair<X,Y> or similar, but that's clumsy in Java. Sometimes these values form a single consistent type - then it's simple - make a class out of them and return that. But often they don't, they are just conceptually independent parts of the algorithm. For me that just means the function is cohesive, either change the algorithm or keep away.

Uncle Bob's advise is to make a new class out of that function, change the local variables into private fields and split the code into methods of that class with side effects modifying these variables all over the place.

This results in exactly the kind of code this article complains about, and I agree it's awful. We managed to change code that was explicit about what it does, with no side-effects and no easy way to break it accidentally - into a mess of small interlocking surprises. Whole classes of programming errors that were basically impossible previously are now easy to make.

Can this state even happen when I'm in this function? Should I check for it? Can I call this function after I called that other function? Can I change this variable in this function after requirements changed? The answer after the refactoring is "Dunno - solve this intricate puzzle to find out."
The thing about the AMD bitslice having too little memory seems odd. The Three Rivers/ICL Perq ran them with a few MB of RAM; they do seem to have been the way to do things just before the micro era.
I think my favourite one will always be the Canada Goose. So magnificent :)
> The bulk of the population though does want cops to show up with guns when people have broken into their house or their neighbors house. They don't want to be potentially raped/murdered and they don't want their shit stolen. The vast majority of people fall under this category, which is why even in my very progressive-leaning zip code in Seattle most of the houses are growing ring cameras these days.

There's an alternative to the Ring camera, thanks to the second amendment and the castle doctrine.
I'm with you up to that last paragraph, and wonder if I would agree with you more there if you explained what you mean by "powered by the written word."
Actual title: Evolution selects for 'loners' that hang back from collective behavior -- at least in slime molds. The article never directly draws a parallel to human society
> ...boss expects you to work more than the standard 8 hours and not be paid for it. In many many places you're shamed by co-workers if you leave on time (leaving earlier isn't even an option), or if you need to take days off for personal reasons. It's also not unusual to make it hard for people to take vacation days (we have 21 days of vacations per year), and even when you do take vacations you are expected to be available if needed.

You were describing US work culture perfectly until the 21 days of vacation part. In the US you are legally entitled to 0 vacation days (also, 0 days for maternity leave), though 10 is more standard. Our minimum wage is about the same ($7.25), and has not changed since 2009 ($7.25 today is equivalent to ~$5.50 in 2009).
Xmake adds Nim and Unity support
Just because you had no legitimate access to anything interesting doesn’t mean there was nothing interesting you could have accidentally or nefariously accessed.

I had a clearance doing tech support, but never even saw actual classified materials. But because as IT support we also had to support SCIF facilities, high-ranking officials with potentially sloppy OpSec, etc we obviously still needed clearances.
Or an unreliable power supply or EM interference, if it's affecting multiple machines.
I like to point at the signal fire in lord of the rings. Absurdly elaborate communication system that can only one shot a single bit. But it's far far faster than any alternative. And if both sides understand the meaning of the message, it could be worth it.

I could see a regular pulse being a useful monitoring system for (whatever they care about). no pulse, send help.
I just don't understand how 100 lines comprising 10 or 20 functions in the same file (as in the cited example) is any different than 100 lines of a single function that does the same thing. Is it just that the former has one fewer tab per line?

This is the sort of advice that can quickly become a thought terminator because the writer has so much authority.
Ask HN: Anyone else tired of all your music?
I listen to music 8-10 hours per day while I work (mostly application development). I have about 2,400 songs saved on Spotify which I rotate through regularly, but I've become increasingly bored with my music.

Any suggestions on how to freshen it up? Should I do a music fast? Should I practice more active music appreciation?
Strange, I can remember things targeting 2020, but 2020 turned out to be a bust.
I'm not big on wiki's but almost everyone I know hosts one on something like vultr/digital ocean, backs up to home, and does what OP mentioned about updated it in the backgroung. Personally I use markdown files+gitlab+obsidian. there are a million ways. You might like like twiki for a "standard" wiki or tiddlyWiki for a more eccentric one :)
That's my favorite video of him. This one ties history, education, simple geometry, advanced abstractions in an entertaining script. Pretty high bar.
I love Stan Rogers, but it's worth pointing out this particular song was actually written by Nigel Russell. (Source: liner notes from Between the Breaks... Live!)
Vector Search
From code to podcast to billion-scale ANN challenge and statistics
I don't think it's extreme. Vandalism creates a slippery slope where criminals now know that the neighborhood "doesn't care".

Unless it's a prank by local teenagers of course.
I'm thinking about writing a small tool in Python to automate some ETL tasks.

Basically we have an ETL framework where we need to provide an avro schema and a yaml transformation file. Config-boy type of work is very boring so I plan to write a tool to consume a few JSONs and generate the two files, or at least the majority part of the files. It's somewhat tricky for complex JSONs but my script will simply pass any JSON array/object to manual work.
Why would the WSJ publish this. yes they are convenient compared to rakes, but leaf blowers impose externalities in the form of dust, noise, pollen and other problems. It's like secondhand smoke.
I'd give it another 2-5 years before the syntax settles. Some serious improvements have recently been pushed out and I wouldn't be surprised if further improvements are on the horizon.
JavaScript probably qualifies, too. It's not going anywhere for a very long time, if ever. Same with COBOL. COBOL will have to be killed with fire.

I'm assuming here that "eternal language" doesn't necessarily mean "good language". :-)
If you have

AB
CD

with A, B, C, D square blocks of 2^n×2^n pixels, it correctly moves the pixels in A to where those in B are, those in B to where those in D are, etc.

It doesn’t rotate A, B, C, and D, though. So, we have to rotate the four smaller blocks A, B, C, D.

Let’s assume the algorithm works. Then, we can recurse into each of the smaller blocks.

Eventually, you hit the case where A, B, C, and D are 1×1 pixels (and the image 2×2 pixels). Here, you cannot recurse anymore, but luckily, you notice that you can’t see the difference between a single pixel and that pixel rotated by 90 degrees. So, for sunblocks that small, you don’t have to rotate the pixels. Because of that, the 2×2 case works. Because of that, the 4×4 case works, etc.

You could also say it doesn’t work. If, say, your pixels had a wood grain running horizontally, that grain would still run horizontally after this set of shifts.
I spreadsheeted this out a few months back for a plane. It is absolutely not worth it.
why pi version?
Stability and Permanence
We provide RCM billing and credentialing solutions for ABA, ST, and MH therapy providers.
The main advantages of Ruby blocks over that approach are:

- they have special control flow that interacts with the method call or surrounding function. ie. calling `break` in `something` can early return from `someMethod`, or calling `return` will return from the function containing the `someMethod` call (blocks use `next` to return from them)

- due to using separate syntax / being a separate language construct, there is far better ergonomics in the presence of vargs or default values

Take this contrived example for instance:

def some_method(a = 42)
b = yield
puts "Hey #{a} #{b}"
end

some_method do
break
end

In JS you would have to something horrible like this:

const breakSomeMethod = {}; // Could alternatively use an exception

function someMethod(one, two) {
var f, a;
if (typeof one == 'function') {
f = one;
a = 42;
} else {
a = one;
f = two;
}

var b = f();
if (b === breakSomeMethod) {
return;
}

console.log(`Hey ${a} ${b}`)
}

someMethod(() => breakSomeMethod);
Even at 4.25w/kg I cannot hit 30mph without a tailwind or a downhill. I can push MAYBE 26mph, possibly 27. And that's going to be at something unsustainable for me, like 400-500w. (FTP of 350w).

At threshold power, I'm guessing more like 22-23mph.

And, not to toot my own horn, but that's a pretty damn fit experienced cyclist.
Wow I wouldn't have even thought about a pre-crash sound being beneficial. Really interesting, thanks for the link.
Maybe that could have been mentioned in a "why lisp" article.
First 6-engine static fire test of Starship
> A "bicycle" that can accelerate without the need to pedal at all is an electric motorcycle

Most pedal-assist-only ebikes can run without you pedaling (and without a throttle either). You just need to pedal fast at first, and then take your feet off the pedals. (You can rest them at the center of the frame for example.)

Usually, if there is some friction in the system (but not too much) the pedals will keep on turning, making the bike think actual pedaling is going on. And then the system is self-sustaining (battery permitting, of course).

It's quite funny to do; not very practical, or elegant, but fun.
Just speaking for myself - I agree the article is a good technical criticism. It's the timing of posting the article again that's suspect.

But maybe I should give the benefit of the doubt.
Cube Therapy Billing - Stability and permanence

Tailored RCM billing and credentialing solutions for ABA, ST, and MH therapy providers. Highly recommended to help you focus on your business and to accelerate your revenue by taking your business to higher ground. Our services include pre-service support, claims management, and insurance credentialing.

You can find us at: https://www.cubetherapybilling.com
Kamikatsu Zero Waste Center is built using waste materials
Au contraire, it's the first thing you should broadcast, unless you're trying to scam people out of their PII.
Sure, but do you think the formal automated testing could be integration tests and avoid unit tests altogether? Esp for microservices I think this could be the best way to go. So much simpler and confirms you're getting whats in the spec.
just make sure it's not "overly optimized" - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 (in this case it was gcc's builtin memcmp that was broken, not glibc's) :)
The collective has decided that MAAMA is a worse acronym, and I agree.

The reason that Netflix has been booted is because (a) it's not really a tech company and (b) Microsoft's stock has started to grow a lot since Nadella became CEO.
> You are indeed…

How puzzling that you do not spell-out exactly what you believe they are missing.
I think the main problem with LP is philosophical: it is used so you can deeply understand the whole program but most people want to understand a part and ignore the rest. So for example extracting how Tex renders math equations is almost impossible without understanding the whole (some people kindly did this and published a paper using SML). This actually is related to your comment because it's impossible to "navigate" or to "debug" the code, or at least I'm unaware of how could it be done in a simple way (that is, with existing tooling) and so if you want to learn how Tex is written you must proceed page by page of "TeX: The Program" instead of randomly jumping through code, hacking here and there. It's like learning mathematics axiom by axiom. I personally find it unproductive as learning for me is highly non sequential. If knowledge is a graph of concepts I want to explore as I wish, not following another's predefined serialization.
centralized profits, decentralized risk.