skysight-inc/HackerNews huggingface dataset:
Yes!

Lots of little fun stuff on micro controllers and mini computers.

The most fun was doing one for the 2600, VCS. 128 bytes of RAM, 6502 at a little over 1Mhz, 4K ROM.

https://pdroms.de/wp-content/uploads/2007/03/20110402_ooze!....

Site is down, but there is a screenshot. Someone wanted to distribute it as a homebrew cart for collectors. I agreed and asked for a cart and have not cared what else happened.

I wanted my own cart as a kid, got one and the collectors have something to collect. Win win.

Wrote it in Batari Basic. Amazingly, that is a compiled BASIC for the VCS and now other Atari systems. Was fast, fun, lean, mean.

Was for a minigame compo. Those are a lot of fun too. Everyone writes something, gets feedback, there is voting.

This one is simple. The ooze comes down, you have to keep it at bay with your laser. There are levels where the game dynamics change for a different strategy to get through.

I learned something on this lark, and that is where the available options are limited, one can focus on the game, have some fun.

There is nothing special in the game design sense. But it was a lot of fun to make that old, limited system do something.
Yes and no. Starlink is definitely a solution for very small village or remote cabins, but economy of scale kicks in pretty fast.

Doing napkin math, the village has 2k people, so let's assume 400 households. If each of those wants 100 Mbit/s, we'd need a 40 Gbit/s link. Maybe 10 Gbit/s with over-provisioning. So that's basically a satellite only for this village. Not to mention that satellites have their own set of vulnerabilities.

Probably easier to just lay a redundant fiber liner and use star link for emergencies, in case the robotic beavers take over :)
Yes you're right. Supabase uses PostgREST behind the scenes. You can read about how the roles work here: https://postgrest.org/en/stable/auth.html

Basically, you have a role which is an "authenticator" - this is the one you connect to in the database with. This has basically no privileges except to "change into" a new role.

When an API route is called, PostgREST checks the headers to see if there is a JWT then gets the "role" out of the JWT. This JWT maps to a PostgreSQL role, which will have slightly higher privileges. Inside the JWT is the User ID too - so you can use this inside your RLS policies.

So in summary:

> 1. Avoid having a postgres user for each application user, and

You only need 2 roles - an "autheticator" role, and an "authenticated" role

> 2. Ensure that the right user is passed to RLS.

It's encoded int he JWT.

> I guess a similar approach would work with Postgraphile,

Definitely. Postgraphile works with RLS and JWT too, so it should be achievable
The substance of the issues will not be of any importance. They will be used as a tool to alter the course of Mars colonization. Just like every other topic of geopolitical importance, it will be distorted by special interests in a hell-storm of irrational dogma. And just as always, people will lap it up and the truth will die a brutal death. The amazing thing is that it hasn’t started yet. People in the government don’t understand what’s going on. But eventually they will catch on.
I expect the same thing or worse with “self-driving” cars.
In MPEG-DASH codec is specified at the representation level so with a compliant packager and a compliant player the player should be able to switch down to the "fast h.264" rendition that exists before they start trying to create VP9 renditions.
If it was sufficiently cheap, perhaps 1 cent per view, you wouldn’t really have to think about it.
I have no way of knowing whether this true in aggregate, but personally the existence of ride sharing has led to me dropping my car, since it covers some tail-end last mile problems that public transit cannot. Maybe there was only a 1 percent drop in car ownership, but if public transit were improved I think ride sharing would still be solving important last mile problems.
That sounds like par for the course, sadly.
Strategy:

Leak CAD model, get other people to do simulations for free!
Creating astronomy visualizations often involves all sorts of fun tricks. I work in a planetarium as a 3D animator and each day has interesting unique challenges. Indeed we have to remain mindful of not pushing Maya too hard when it comes to series of scale.

We use fluids as a way to create 3D nebulae that can be flown through.
https://thefulldomeblog.com/2013/08/20/the-nebula-challenge/

Or if you constrain the fluid into a sphere, then you have a dynamic volumetric sun.
https://thefulldomeblog.com/2013/07/30/customizing-a-close-u...

When needing to fly through a star field, relying on particle sprites is an easy way to quickly render thousands of stars.
https://thefulldomeblog.com/2013/07/03/creating-a-star-field...

Background stars are achieved by point-constraining a poly sphere to the camera. Having a poly sphere allows for easy manipulation to create realistic diurnal motion.
https://thefulldomeblog.com/2013/11/13/background-stars-v2/

Flying through a galaxy field can be achieved with loads of galaxy images mapped to poly planes. For galaxies that are seen edge on, we sometimes add more detail by emitting fluid from the image colors.
https://thefulldomeblog.com/2013/07/16/flying-through-a-gala...

Simulating the bands of Jupiter is tricky but I've done some experiments with 2D fluids.
https://thefulldomeblog.com/2014/01/30/jupiter-bands-simulat...

And of course since the visuals are rendered for a planetarium dome, we gotta render using a fisheye camera. These days all render engines support fisheye, but 10 years ago it was a different story.
https://thefulldomeblog.com/2019/09/07/exploring-render-engi...
https://thefulldomeblog.com/2013/06/28/fisheye-lens-shader-o...
https://thefulldomeblog.com/2013/07/23/stitching-hemicube-re...
That makes sense. Congestion-wise, if you’re not carpooling, it’s no different than the case where every single Uber rider chose to drive their own car instead. It does alleviate parking issues, which is certainly nice in downtown.
These are some very strange locations. Many of them are way out on country roads, some in places where I’m imagining they had to spent some money to get power service. Check out Panaca, NV, near the Utah border. I’ve been right through here and it’s super desolate. I’ve also been near the one in Evanston, WY and the one outside of Hutchinson, KS. There ain’t nothin’ out there!

What’s the reasoning for these locations? Low RF noise floor maybe? On some major transcon fiber route perhaps?
Just got back from a trip to the Bay Area and BART was closing at 9pm! Even during normal hours it closes far too early, forcing people to find alternatives, and strongly bolstering the case for ride share companies. But this was extra ridiculous and forced me to take Uber/Lyft when I would have preferrer to take public transit.

Now imagine how it works in the next 50 largest US cities that have worse public transit than the Bay Area.

Then think about how it works in the thousands of small cities and towns where many bars and restaurants are a 20 minute driver and public transit barely exists.
> Take the Southwest Chief from Flagstaff to Colorado routes and you'd be amazed at how pretty New Mexico is, the deserts of Arizona and the mountains in Colorado.

I think it leaves Flagstaff really early in the morning - and it's not worth mentioning Flagstaff to LA or LA to Flagstaff because those trips are only scheduled for the middle of the night.
Control Flow Integrity, https://en.wikipedia.org/wiki/Control-flow_integrity
Is that limitation to reduce the cost of competing for those who don't have big GPU farms?
America is stockpiling Covid vaccines that it does not need
Until you need to shop for groceries and boat repair supplies, of course.
I wonder how this contrasts with any added throughput.

If we move away from being bound by available parking, would we not increase congestion but also throughput?
Sure, with a performance penalty. Some GPUs do support double precision, though again at a performance penalty. You might run into issues with the fixed function parts of the GPU being single precision even on GPUs that support double precision types in shaders, depending on how you do things. Also, shading languages probably don't have nice libraries for double single precision so you'd have to roll your own, and probably without niceties like operator overloading.

It's not required for space rendering, as once everything is in camera coordinates you no longer have any visible precision issues (as long as you are using a float reverse Z buffer). You just have to be careful to make sure your world to camera transforms are done on the CPU, and you break large objects like planets into small LOD chunks with their own local coordinate systems, which you need to do anyway.
The most memorable video games of my childhood were Final Fantasy 2 (aka FF4 in Japan), and FF7. And the most memorable moments from those games are when they killed off playable characters that I had become quite fond of. Those 16 bit graphics on the SNES, combined with the right musical score, could create a pretty moving experience.

I never had a Tamagotchi, but I can understand how the loss of a digital pet could have been quite traumatic.

I wonder if modern graphics and voice acting might actually be making games less immersive, by asking less of players' imaginations when it comes to completing the characters. Or it may just be that I'm older now.
I don't know why you're trying to defend Greg so vehemently when all of the facts show that he slandered Aditya - Greg's own words, factual accounts of reality.

Most of Aditya's patches were legitimate. Multiple upstream developers have confirmed this:

> https://lore.kernel.org/lkml/CACRpkdbw_sF2FO0jjq47KStUjvhKvW...

Other kernel maintainers have already picked up on this.

>
You, and your group, have publicly admitted to sending known-buggy
patches to see how the kernel community would react to them, and
published a paper based on that work.

Here is a direct quote from Greg where he falsely alleges that Aditya is responsible for the previous work.

> Now you submit a new series of obviously-incorrect patches again,

Many of the patches are correct - see the above link where one maintainer points this out.

> So what am I supposed to think here, other than that you and your
group are continuing to experiment on the kernel community developers by
sending such nonsense patches?

Another false allegation that Aditya is experimenting on the kernel, attributing malice.

> You were not asking for help, you were claiming that these were
legitimate fixes, which you KNEW to be incorrect.

Many were legitimate. Again, a false accusation from Greg.

Then Greg goes on to attack him some more, instead of just explaining things to him, like "Hey, in the future can you add 'found by tool xyz'". In other mailing lists kernel maintainers point out that that would have been the sane response, not going to bother to link that.

> Our community welcomes developers who wish to help and enhance Linux.
That is NOT what you are attempting to do here, so please do not try to
frame it that way.

In fact, that is exactly what Aditya was trying to do.

>
Our community does not appreciate being experimented on, and being
"tested" by submitting known patches that are either do nothing on
purpose, or introduce bugs on purpose.

Aditya did no such thing.

Greg's response is indefensible. It's just littered with insults and attacks, and factually incorrect allegations against a legitimate security researcher.
Well yeah I can see their ass circling the block like vultures constantly looking for a pickup in the app.
In my area public transportation is over funded. Watching all the near empty busses going from stop to stop is disgusting.
So the tech (or the person writing this up) mixed up "static" and "flea power"[1].

I believe the idea of "draining charge that shouldn't be there" has been properly conveyed nevertheless.

[1] https://en.everybodywiki.com/Flea_Power
"Unlicensed taxi" is a stock phrase from anti-Uber scaremongering, but my Uber is licensed by the Taxi and Limousine Commission. (Well, these days it's more an occasional Lyft, but still.)
I wonder if this could be used for a better matrix bridge. The current one is super heavy because it's basically the full desktop client with a bunch of hooks to extract the information.
Dr. Lu’s research is asking dangerous, thoughtful questions. The answers are sort of unsurprising. It’s not ethical.

As I read the discussion archive carefully:
1) A submits patch
2) G suggests a particular patch was “wasting his time”, and that he’s suspicious of this kind of submission from Dr. Lu and UofM.
3) Nearly a day later, A accuses G of ‘wild accusations, bordering on slander’.

In fact, no one denies that what G claimed is in fact true - that Dr. Lu and his students had a history of submitting “hypocrite” patches. They published about it!

But according to A, it’s G that is being ‘unwelcoming’ and ‘intimidating’, due to ‘preconceived biases’. To me, this is where it starts feeling dramatically personal in nature.

4) I don’t see the language in G’s response to (3) as nearly so personal as (3) itself. It does question A’s professionalism. I’m sympathetic. What was A thinking?
> If the nightly heat cycle fails to complete for one of a dozen reasons the machine locks out. Those unaware of the process usually end up calling for service even if it’s a operations error(not enough product to boil successfully)

This example is covered in the video. ;) The thing is, at least according to the reporting, even these operations errors are not clearly defined by the messages given by the machine. So, according to franchisees they talked to, all roads lead to the service technician, even if the problem doesn’t need one. That obviously leads to more downtime.

It’s part of the problem because Taylor is incentivized to keep people calling in technicians, which means they deliberately update the machines with error codes even more difficult to understand. (Examples covered in the video too)

Additionally, the video covers that many other chains, such as Wendy’s, use machines from Taylor with no problems. Supposedly, this is something specifically wrong with the model given to McDonald’s, because franchises don’t have a choice to use other models.

When the video came out, about 14% of machines in the US were “broken”, which is pretty terrible for an industry application regardless of the cause!
Where people still follow old SysAdmin vs Dev silos. If you have follow checklists, open tickets, follow up on slack you are not really working on a platform, thus not a platform engineer either.
Hi, I wrote this. I'm very surprised it made the front page and I'm a bit embarrassed. People pointing out you can just hash the seed for different "streams" are completely correct, and in video games, people generally don't care about whether two PRNGs are correlated.

I originally found PCG32 because I needed to implement a pure-Swift, cross-platform PRNG for a game jam so my game would run on Linux as well as Mac. For that purpose, it was great.
Yes, the x264 params are all useful. It's selecting the optimal combination for a given use case that presents a challenge. Vimeo's video quality (and therefore filesize) is much higher than FBs, because their use cases are completely different.
a pidgin (libpurple) plugin actually exists already: https://github.com/hoehermann/libpurple-signald

I'd like to improve the website to better showcase the clients
There's an ancient map here that shows a dogleg in the NV cable that may run by Panaca.

https://personalpages.manchester.ac.uk/staff/m.dodge/cyberge...

There is also an article that shows a few(?) cables in that area

https://www.smithsonianmag.com/smart-news/first-detailed-pub...
Ask HN: Career jump from Google to a SaaS founder
How do you jump from a big tech job (Google) to be a SaaS founder? Has anyone done it successfully recently?

Look for advice from anyone who have done is successfully.
That doesn't use signald. It uses the full desktop client in nodejs and as such uses a lot of memory :(
You're right, it's trivial, and I was dramatically overthinking it when I wrote this article. I expect my blog traffic to be about zero, so sometimes things end up half-baked.
There is no direct connectivity between the satellites at this point, so starlink can't be expected to have global reach yet - you go up, and you come down within a certain distance of where you are.

They will need ground stations all over the earth soon.
This is not new, there have been other studies that pointed this out. An economic engine like ride sharing will not be stopped because of congestion. Unfortunately, there is going to be a lot of noise year over year. Delivery robots are going to be ubiquitous and are going to swarm streets to the extent that it will be a pest in cities and crowded areas. Remains to be seen what the lawmakers do about it.
> Please actually read the whole post and try to understand the situation.

I'm aware of what has happened, I personally think they should've banned the University last year. And the quote in your post only tells one side of the story. This latest incident was just the trigger for the response and as usual the internet ends up confusing the trigger and the original issue (in Greg's original email he simply said to not accept patches because of the previous research which was being run by the same supervisor -- only later did he get into the argument with the researcher where he said they were either incompetent or malicious.)

I agree that a lot of people have assumed that the current patches were malicious when they are not, though they were submitted in a way that isn't in line with how automated tool patches are usually submitted. But that's the internet for you, they manage to misinterpret even the most basic situations.

> Malice implies that the intent was to cause harm, which there was not.

How is submitting patches which you know have bugs to a review process where they may end up being merged not count as "intending to cause harm"? If the patches had not been blocked by the review process, what would have the end result have been?

More importantly, as a reviewer there is no difference to me whether the person really is a an attacker or a researcher cosplaying as an attacker -- the end result is that I'm being asked to review patches that are known by the author to contain security bugs and were submitted under false pretenses.
> Judges aren't kings.

Neither are executives and legislators at any level.

> In the United States there is a separation of powers for a reason.

Yes, and the reason is to mitigate failure in any one branch.

> Skid Row is a failure of the executive and legislative branches in California.

More particularly, it's a failure of the executive and legislative branches in LA. But it's, among other things, a failure of them to obey the equal protection and due process clauses of the 14th Amendment to the federal Constitution, which is remediable by federal judicial intervention.
the signal matrix bridge currently listed on matrix.org (https://github.com/tulir/mautrix-signal) uses signald
I think for last mile, the bike is a great solution, if the infrastructure would be there. Bike lanes separate from car roads etc.
I think it is fair to point out that it requires a comparatively high degree of skill and experience to use C++ well relative to many other languages. Most people do not use C++ well because doing so is quite difficult and requires a large investment of time. This is not helped by the fact that it has an enormous amount of legacy baggage that is technically valid code that no one should ever use — there is an entire anti-language you have to learn too. Its standard library has many flaws such that many experienced programmers eventually write and use their own alternatives to many parts of it. These are all legitimate hurdles and criticisms, it is neither a pretty nor easy language.

The major benefit of C++ is that with sufficient mastery you can do complex things strictly, safely, and concisely that are difficult-to-impossible in any other systems language due to its flexibility and metaprogramming facilities. Its flaws are very real, but so are its strengths.
Might be because I live in silicon valley and lots of people have EVs. One tricky thing about the 2013 smart car is that I had to pick it up, which means I had to live at most ~30-40 miles away. And when I sell it, I'll have the same problem, someone within the same radius has to want it. I comparison shopped before buying this, and at the time it didn't seem like an insane deal or anything.
I always had access to a Taylor manual and a Taylor technician via phone at no cost. Even with machines that were far out of warranty. Troubleshooting was never an issue for me.

I never worked anywhere else with a Taylor machine. Perhaps other companies have better deals or easier to use equipment. I would like to know if Wendy's and others machines operate using the same food safety standards.
In London, public transportation is usually faster than driving (except during early morning or late night) for most journeys. You can get close to most places you'd want to go, without needing a car for the last mile.

In Beijing, cars are faster for many journeys, and public transportation doesn't quite reach everywhere you'd want to go, without a lot of changes. But the reach and density of public transportation (particularly the subway system) is growing fast. And the last mile is served by ubiquitous shared bikes.

In San Francisco, which has a fraction of the population (maybe 10% of London's, and <5% of Beijing's), almost all journeys seem to be faster by car, than they are by public transport. A small section of the city is served by BART but, even then, wait times are a significant proportion of total journey times for short journeys.

I prefer to walk, cycle or take public transport, than to drive. But I'll drive if it cuts the journey time in half, which it often does.

For example, my son's preschool is 10 mins' drive away. 2 return trips per day is 40 minutes. Switching to Muni (bus) would add an extra 90 minutes each day.

Perhaps it's the low population density, perhaps it's lack of funding, perhaps mismanagement. Or perhaps we're stuck in a suboptimal equilibrium in which people don't use public transport for $good_reasons, and the lack of ridership means that improvements cannot be justified.
Using data from the Kepler mission to scientifically imagine star systems (2019)
If all you need is power and fiber, and you have to maintain the site indefinitely, it makes sense to go as cheap as possible I guess.

I imagine there are also some minor security benefits from being way out in the middle of nowhere.

I'm super glad for starlink in general as it allows me personally to just need power and water (and a clear view of the sky) and opens up a bunch of extremely cheap land options for viable places to build a house.
Whatever You Want syntax for rewriting code
I'd submit that the kind of code that's difficult to translate - that is, code where it's not clear where the responsibility for the lifecycle of a given piece of memory lies - is already a bug factory.