skysight-inc/HackerNews huggingface dataset:
Show HN: Play Solhopper – A Minimalist Game In ~500 Lines of HTML/CSS/JS
Hi HN!

I'm excited to share SOLHOPPER, a minimalist game I'm building in just ~500 lines of HTML/CSS/JS. Here's a breakdown of the development process and some fun quirks of the game:

Challenges and Fun Facts:

- World Building & Math: Crafting the initial world and refining the game mechanics to keep it simple and compact was the toughest part. The back story is that you play as a Solhopper captain traveling away from earth at 10% the speed of light to capture solar flairs which unlock endowments (bottom left) to develop that star system. These endowments were setup by benefactors centuries ago! I was playing around with Compound Interest and Galactic Timescales.

- HTML: Remembering how to implement the initial popup screen with plain CSS was a bit of a refresher. The HTML is only 20 lines of code.

- CSS: Styling without frameworks was a refreshing and enjoyable experience! I was able to design with around 100 lines of CSS. How refreshing is that!

- JS: This is my first game in a while, and I aimed to use plain JS. The entire game runs on 398 lines of code, and I think there's still room for optimization.

- Deployment: I'm using the free tier of Netlify to host the game.

- Bugs: My favorite bug so far is when you leave the tab and come back a few minutes later, all the stars appear at once in a donut shape. It's oddly satisfying, so I'm keeping it in for now.

- Grid: I almost forgot the grid! pressing the G key enables both square grid and then concentric circle grid. I had so much fun designing the circle grid and think it helps with high scores as the gameplay get's harder!

- Game Stats:

- Top Right: Current orbit (based on Earth years, starting from 1665 AD)

- Bottom Right: Current radius of the "civilsphere" (a concept from the book the game is based on)

- Top Left: Ultimate high score

- Bottom Left: Current value of each star system endowment

- Top Center: Total stars captured by you, the Solhopper captain

- Origins: The game evolved from a sci-fi book I'm writing, which combines the concepts of compound interest and galactic time scales. The book is about 60 pages long and still in editing. You can find it hidden in the code (it's a bit rough and unedited).

- High Score: It would be fun to use the comments as a leaderboard! My highest score so far is 157 stars captured, with a total endowment value of $Infinity.

Check out SOLHOPPER and let me know what you think! Any feedback or high scores would be greatly appreciated.

Play SOLHOPPER here: https://www.solhopper.com/
Yes, absolutely, the Soviet Union and its Secret Police were an active threat to Ukrainians every day. Adolf Hitler was not.

Though Bandera did work with the Nazis, he later worked against them. They weren't ideologically into Nazism.

Even Karaite Jews in Ukraine joined SS regiments at some points. They didn't love Hitler, everyone knew Hitler was a stinker. They were just more immediately concerned with the immediate threat of forced starvation or torture in a gulag.
Given the goal of mitigating self-proliferation risks, have you observed a decrease in the model's ability to do things like help a user setup a local LLM with local or cloud software?

How much is pre-training dataset changes, how much is tuning?

How do you think about this problem, how do you solve it?

Seems tricky to me.
Where you so convinced these people don’t exist? They do. They organize annual conferences. They spend their free time posting incessantly in the nasaspaceflight forums. It is a subculture that is out there.

I don’t get mad that there are companies targeting niches that don’t involve me. But when SpaceX does it…
40% of people with student loans didn't graduate. Lots of those people probably aren't the "smartest and most privileged" you're thinking about.

This video "What everyone gets wrong about student loans" really taught me a lot of things. https://www.youtube.com/watch?v=wzY-b2Vj9Ug
> While Evolve is perhaps best known as the bank partner of now-bankrupt Synapse, it supports numerous other high-profile fintech partners, including: Mercury, Stripe, Affirm, Airwallex, Alloy, Bond (now part of FIS), Branch, Dave, EarnIn, TabaPay, and numerous others. It has previously worked with Wise and Rho, though both have since migrated to other bank partners.

Leaked account holder info: name & address, email, phone, unencrypted SSN/TIN, DOB, fintech platform

Leaked account info: status, type, balance, last activity, opened date, account number, daily limits
That’s not comparable, that analogy is like saying I have a backyard so there’s no government monopoly on parks. It’s not like saying there’s a private tennis club and public tennis courts, or whatever other typical park amenities.

That flawed analogy is like saying I have a baton so police aren’t a monopoly on protection, when my analogy actually was private security companies.
I think it's a fallacy to believe to that simplicity has a rather obvious form. From the view point of a SaaS developer, at some point you have to add a bunch of business logic that is determined by what's needed to satisfy requirements. Those requirements can be pretty complex.
Do you have an example of what you mean to make this a bit less abstract?
My problem with the "truck as a vibe" concept is that it's also "inconveniencing other people as a vibe" too. I don't mind work trucks, but the lifted, massive, shiny emotional support truck is:

* Blocking other drivers' view
* Has a deadly amount of kinetic energy
* Takes up tremendous amount of parking space
* Has an outsize environmental footprint
If the hardware has no bugs...
They should have their wages garnished until the end of time.
That's funny. Because I initially implemented much more control but decided to go with lighter version.

Font color change is there next to font family if you click on it on customize. The tab will open up on top.

Thanks, that was a first draft. I'm improving the idea
Well, it's a bankruptcy, so anyone can file a claim. The states have, but so have the victims and their families directly (as a class).
The past. At least pre-Spotify, before that particular rot essentially took the business model of piracy and added a veneer of legitimacy which eroded the already tenuous economics of recorded music into afterthoughts in the common case and fractional microtransactions in the best.

Or since copyright & the arts tend to make tech discourse stupid, we could turn our attention to the vampiric nature of food delivery and rideshares where we can also observe the tendency to not merely build platforms and work on experience but also look for places where labor/service costs can be opaquely externalized and investment can be used to subsidize anticompetitive pricing and lower wages.

Once that die was cast, of course it was inevitable that most platforms were going to go digital vampire on creators.

The other place we could go is law & policy -- really, the idea that training is "fair use" is wrong. High scale automated training can't be fair use, fair use was created well before HSAT was even conceptualized let alone possible. The law should be that every training use should require explicit use-specific opt-in, with consideration. Every other training use of a copyright claimed work should be an infringement.

Without that, there is no place to go that doesn't surrender everything to digital vampirism, and there never will be.
The law surrounding Chapter 11 reorganisation plans only covers the relationships and responsibilities between debtors and creditors. It doesn't say anything about third parties.

But it does include a term saying a plan "may" also "include any other appropriate provision not inconsistent with the applicable provisions of this title" - subject to the approval of a judge.

Applying the broadest possible interpretation of this catch-all wording would produce absurd results - a bankruptcy plan would be more powerful than the constitution itself. So courts have to figure out just how broad an interpretation to apply.
I don't know if native excel should be the benchmark. It seems to me that it has been ever slower over excel versions.
Is there a recommended dosage and timing from the tobacco industry?
A friend of mine recently died from cancer. I had looked up some particular things about it while he was still alive, and apparently some cookies got crossed and I was marked as an oncologist. I've had some ads on Facebook or Instagram telling me, the "oncologist," about particular cancer drugs. Of course, everyone in the US has probably seen regular ads for various cancer drugs.

Doctors pretty much need to be intelligent and hard working to get through med school and residency. After that, they might not necessarily keep up with things. You'd think oncologists would know the best treatments for each patient, but if that were true those ads would be worthless - and I doubt those companies like to throw money away.
If this were a common sentiment or rooted in reality I would imagine their stock would not be at an all time high...
It's not BlueZ's license that is the problem, it's readline's license which BlueZ unconditionally pulls in. I wonder if they considered just stubbing out the functions, or if any of the more liberally licensed libraries (editline, tecla) have compatibility headers?
All of those things take you away from their platforms. They don't want you to leave, period.
Also Purdue themselves were pushing pain management as an outcome to manage, to sell more Oxy.

Totally pain-free medical care is a bit misguided.
A more cynical take is that it isn't editorial incompetence, it's an editorial decision. Once you notice it, it's hard not to notice how often you aren't given the sources or ways to further confirm stories, especially those that might be controversial.
Belief in a higher power won't make you feel better about lying to boost stock prices. If your higher or is supportive of lying without feeling bad, find a new one.
Some of it is deliberate. The quickest thing to hit the current deadline often involves leaving complexity behind.

Some of it is incompetence.

Occasionally there are claims that it's deliberate attempts to make the author look more valuable though I haven't seen that in practice. Hopefully it's a myth.

Some of it is indifference. You're sufficiently beaten down by the environment that you no longer care about the product.

Also the underlying problems are sometimes very complicated in which case there may be no way to make the solution simple.
Sieg Heil originated in Germany around the 1900, etc

A broken analogy. The difference lies in the fact that these symbols were utterly obscure to German public before the Nazis introduced them in the early 1920s; though they had previous incarnations, in essence the Nazis reinvented them. In fact, they were so successful at it that most people are surprised to learn that these symbols had prior origins.

The situation with "Slava Ukraini" is entirely different. It first appeared in a poem of Shevchenko in 1840, and gained widespread traction during the War of Independence. It was then co-opted by the OUN, but the point is, by that time it had its own "legs" as a slogan rooted in Ukrainian national consciousness, completely independent of Bandera and his program.

And used today, it has no fascist connotations, and does not indicate support for Bandera or the OUN. That's just a simple fact. You obviously want the slogan to mean something different in the current context -- but we're talking about a country of 44 million people here, and if you have any interaction at all with this society, it's perfectly obvious and clear what they mean by it. I take their word over yours.

The Poles have long gotten over all this history too, of course. They know what happened in those years, but they know that what's happening in the current day is infinitely more important. They know there's a fascist aggressor to the East which threatens their survival as a people, and it isn't Ukraine.

Your attempts to conflate the slogan with a meaning it simply doesn't have are disingenuous. You're clearly not interested in what's historically accurate, or what describes the feelings and intents of people who use slogans like "Slava Ukraini" today.

You're only interested in this stuff as scare imagery -- as a way to push people's buttons.
That's true, I guess it's more the quality.

Were people publishing lossless PNG screenshots in 2001? My memory of screenshots of that time was that they were super compressed GIFs and JPEGs.
I've only seen a few stuff that warrants being a web app, and most of their primitives are already built-in, they just don't care to use it. The Document/Form model is ok for the majority of stuff on the internet. Anyone that tries to be fancier would better be served with a native app instead of contorting HTML.
There are two forces at odds with each other that are making things overly complicated.

1. A need for standards

2. The industry being too immature for standards to exist and those that are created rarely stand up to the test of time

Look at standards from the late 80s / early 90s, most of it was not prepared for what software has NEEDED to change to.

Look at most programming languages, designed to only run on one machine, when a vast amount of software is designed with high-availability in mind.

Look at most databases, designed to have only one writer which is a huge bottle neck.

Now we need software to coordinate all this software that was designed to run by itself...

Finally, in the pursuit of perfection, we test new ideas in the open, the latest UI framework, a new database, a new paradigm... We are doing the scientific method on NPM and your organization is a part of it :)
> WASHINGTON — The Supreme Court on Thursday blew up the massive bankruptcy reorganization of opioid maker Purdue Pharma, finding that the settlement inappropriately included legal protections for the Sackler family, meaning that billions of dollars secured for victims is now threatened.

Does anyone find it strange that this is described as a loss for the victims?
Look at how much small teams accomplished in the 80s and 90s. I don’t mean rockstar teams where you know the names of some of the developers on them, today—normal-ass boring line of business stuff, applications that you maybe know but with no famous names attached, that kind of thing.

Consider how much more efficient we should be with allegedly-better processes and allegedly much better tools.

Look at some of those and estimate the team size and time to complete it now. Consider whether you could even deliver the same thing (say, native applications on two or three platforms) with double the team size and thrice the time, or whether you’d have to compromise and deliver something worse to make that happen.

There’s your answer.

[edit] though actually I think part of this is also because we’re on-average worse at managing companies overall, too.
Careening into dystopia one questionably clean Uber at a time
It's been worse -- they've been caught setting up ghost kitchens in the name of real restaurants that didn't offer delivery or take-out service, and siphoning off order flow. One Michelin-star restaurateur found out about this when she got complaints about a delivery order placed to Seamless, which was pretending to offer delivery from her place, but was actually a ghost kitchen she'd never heard of ...

https://www.eater.com/2020/1/29/21113416/grubhub-seamless-ki...
It's a big help in interop if everyone uses the same GC. Otherwise it becomes a huge headache to do memory management across every module boundary, with different custom strategies in each.
Yes, and, with a handful of them being mouthpieces backed by cloud providers, they've actually convinced most people that complexity is the way.
I'm similar to you in many regards. I had no desire to learn math early in school due to the education system, how it is taught and lack of meaning for math portrayed early on. I coasted through high school like a zombie without meaning until 11th grade when I took Physics. Suddenly everything clicked, I magically became good at math despite not performing well at it before in my math classes. I ended up studying engineering and working in the EV industry. Now, I am studying pure math for the sake of my own curiosity and I'm passionate about developing AI tools to help people learn and see the why behind math as early as possible. I think I would have accomplished much more if I was exposed to Physics in elementary or middle school or at least a "History of Math" philosophy based class.
The Life Of Lithium
The compiler from Java to JS is J2CL:

https://github.com/google/j2cl/

And that now includes a Java to WasmGC compiler, called J2Wasm:

https://github.com/google/j2cl/blob/master/docs/getting-star...
I know the safe tensors are there, but I said GGUF 4-bit quantised, which is kinda the standard for useful local applications, a typical balanced sweet spot of performance and quality. It's makes it much easier to use, works in more places, be it personal devices or a server etc.
Fortunately it's now been approved, so it looks like they cleared that backlog quickly or it was overstated.
Ask HN: How do things get flagged?
I tried to submit a link and it seemed to be immediately flagged.

There is going to be an event on X where a third party candidate will supposedly answer the debate questions in realtime. This seems relevant to HN because of the IP implications (CNN obviously doesn't want anyone taking any eyeballs off of their ads, but do they have any right to stop it?) as well as the technical challenge of pulling it off.
I blame the doctors too. I was a teen in the early/mid 2000s and even I knew about the addictiveness of oxycodone. It wasn't called hillbilly heroin for nothing.
Having read that, I still find it shocking when I see their names on various donor plaques in big British museums.
Do you find it frustrating that what people basically want is:

(1) you, for free

(2) develop all the functionality of RabbitMQ as a Postgres extension with the most permissive license

(3) in order to have it on RDS

(4) and never hear from you again?

This is a colorful exaggeration. But it’s true. It is playing out with the pgvecto-rs people too.

People don’t want Postgres because it is good. They want it because it is offered by RDS, which makes it good.
It’s hard to do anything on purpose. While certainly possible, people tend to spend time on what they view as actually important, and I suspect most people don’t view creating something intentionally overcomplex as being important. So I’d say it’s unlikely.
No I don't believe so. After a ridiculous amount of time thinking about this over the last couple of decades, I really think that it's just harder to see and think the simple, especially when corner cases start showing up. Combine this with the fact that we have (and continue to produce) abstraction layers over in order to "simplify" it to a manageable level, and you quickly get to high complexity even when you don't want to.

It takes more effort and time to produce simpler solutions, and generally speaking as an industry, we're way balacned toward speed over quality. We basically only care about "quality" as far as it has direct customer impact. It's relentless optimization for the short-term over the long-term, and it leads to complexity.
> Remember, the US is a federation of sovereign States and POTUS as Chief Executive of the Federal government represents and is chosen by the States thereof. Each State represents its citizens respectively.

This isn’t even accurate from the perspective of 1789. The articles of confederation created a model akin to what you’ve outlined. The constitution created a quasi blend of popular representation and state level representation in the federal government as a result of several different compromises in order to form a stable national government.

That isn’t how anything effectively works today though. The federal government has undergone numerous reforms both explicitly within the constitution and implicitly without any formal constitutional changes. These include the direct election of senators, income taxes, etc but also the effective binding of presidential electors to the outcome of the popular vote within a state.

Americans today don’t think of themselves as citizens of the state of California, they think of themselves as Americans solely, the former concept being absolutely foreign and strange to them.

Finally, the EC gives very little benefit to small states. The relative impact is consistently overstated. The only place that small state over representation effectively exists is in the senate.
I mean, what are the standards in Denmark in terms of land use? grass fed vs grain fed, etc. Since the article is referring to Denmark.
With working Starship, it's much easier to put industry on the Moon. The first product could be oxygen from the rocks, which could outcompete Earth-based oxygen for refueling on LEO.

We actually seem to have more and more need in the space-based industry. Not only unique products requiring microgravity to get produced. For example, right now we need a lot of data centers - and those could be placed in space, reducing load on Earth environment and power.

And all of that increase in activity is going to go through Starships initially. SpaceX is in a really unique position. In XIX century nobody thought they'll need to use railroads to travel far and often. But there were many railroad-building companies. Now we have problem figuring out why we need cheap massive access to space. Could it be that we won't find uses for it?
If someone doesn't trust the vaccine providers they shouldn't be forced to take it. You could have figured that out by analysing the specific meanings that the words have. That position on the topic of vaccines is neither rare nor subtle.

And the sentence still looks fine to me, I don't know why you think that phrase isn't kosher.
> Distribution of porn is illegal there and they do their best to block it from outside.

Good. Why should any country be a conduit for porn? Most sane countries frown upon and limit things like porn, gambling, drugs, etc. Like we used to until fairly recently.

> They are pretty big on cyber defamation and will go after people who make fun of government officials[0]

It's like that in most countries. Other countries can have their own values. Nothing wrong with it.

> They have a comparatively low internet freedom score because they do things like fine middle schoolers for having anti-government websites and the president pursues legal action against YouTubers[1].

Freedomhouse is apparently a state propaganda outfit.

'Most of the organization's funding comes from the U.S. State Department[4] and other government grants.'

https://en.wikipedia.org/wiki/Freedom_House

You are linking to a propaganda site created solely to push a political agenda. Germany has an amazing 'freedom' scores but you could go to jail in germany for espousing certain beliefs about certain events in ww2.

That south korea scores low in the freedomhouse index is a good thing. Though it is surprising given that south korea is a militarily occupied vassal of the US.

> It's pretty interesting when coming from the west where all the problems are often spoken about in the open.

Are they really? You are conflating 'the west' with the US. Most of 'the west' is not like america. In most of the west, you can go to jail or be punished for speech. Most of the west doesn't have free speech that we do in america.

What's with the neverending 'coming from the west' from foreigners here? So many foreigners here pretend to be americans here? Why?
With the exorbitant cost of changing out the batteries once they crap out, unless you planned to replace the car anyway by that point, it seems like leasing EVs would be the ideal solution. Drive it for the lease period, then when the time comes for the batteries to get replaced, someone else is footing that ~20k bill.
Pretraining on the Test Set Is All You Need

https://arxiv.org/abs/2309.08632
> would have done justice for the whole world's education system

This was not their objective though.