Hacker Newsnew | past | comments | ask | show | jobs | submit | ximm's commentslogin

100% this. When I reached the end of that page I felt pranked because the obvious question was never answered. How are these cases resolved? Is it possible to fix some inputs and only update others? What if I sometimes want to change input A, and other times I want to update input B? All this should be explained as early as possible.

You can do it and it is explained, actually. Use # as a prefix to indicate a constant, e.g.: #50 will be a constant and not a variable.

In the future I'd like to support more user input constraints, in particular domain constraints for variables. So you could tell the solver that this cell must remain in some interval, and it would respect that interval instead of assigning any real value.


IMO constant should be the default and variables should be annotated.

Last time I checked hyprland was pretty much despised in the wider linux developer community. See for example https://drewdevault.com/2023/09/17/Hyprland-toxicity.html. Has anything about that changed?


Yes. Hyprland has burnt bridges with many of the classic/pre-existing Linux dev communities. Amongst other things, the main developer was banned from freedesktop.

But they have a very, very large user base, which means lots of contributors - especially young, first-time-FOSS/Linux contributors. In a way, Hyprland has partially done what Linus was hoping to do by adding Rust to the kernel (attract the next-generation of young developers). And they have an active BDFL - no "led by committee" issues.


the linux developer community is not a monolith and drew devault is an extremist activist gatekeeper.


i don’t care, hyprland is great software and much better than whatever the ‘non-toxic as labeled by drew devault’ communities have come up with for WMs


Linking a know pedo's personal blog... Wow. If pedos hate hyprland, it's likely because hyprland is doing something right.


Nah it's just the people who don't like them are really loud.


Drew Devault is a left wing nutjob. He's done nothing but cause drama and attack people for years now.

Vaxry is an immature ~20 year old Polish dude. That means a bit of angst, Eastern European humour, more conservative opinions than most US tech workers.

Yeah, Vaxry is considered abrasive to some of the ultra-privileged leftwing US tech sphere. Most people don't care, just as people don't care about DD's views when using Sway, Miguel de Icaza's views when using Gnome, etc...


The linux developer community has quite a diverse set of opinions so it would be unfair to say that they despise hyprland. At most it's just a small number of developers who hold such an extreme position.


I don't think despised is correct. Drew made an argument for more mature and responsible behavior and leadership but some people just want to write code and not manage a community. I think that can be a lot to expect from some young programer thrown into the public eye, Hyprland is a well regarded implementation amongst tiling wms but the category always has and in my opinion always will have limited appeal for good reason.


There is no real difference between ratio and difference. It is just scaled with a logarithm. See https://blog.ce9e.org/posts/2022-09-10-contrast-algorithms/ for details.


Your link itself admits the 0.05 makes it a different formula. Both Y and L* go to zero for hard black which is a very common color (the most common for me) and would be infinite with black in there. I disagree this is all "not real".

The 2x2 table in that contrast experiments link I sent enumerates some differences along the edge cases { even with just |diff|s. }. Just empirically if you change that 0.05 to 0.02 or 0.10 things change "a lot" in terms of all the edge cases. You can try fiddling with running that Python script yourself and see.

Also, I believe the project of an actual "contrast measurement" - not merely threshold checking - is a worthy goal. I think it would be good to be able to say how bad, and for that the specific monotonic transformation absolutely matters, and again, I expect the color space designer people have opinions on this very worth listening to. I think they are targeting differences in the numbers being the most meaningful thing.

All that said, I did like your George Box quote. :-) I just don't think dismissing the problem is a great solution here. I'm not sure there is a great solution. But you & anyone are always free to find any problem uninteresting. I mean, you could also find all the color space distinctions of TFA similarly "no real difference".


Any reference to APCA has been removed from the WCAG 3 drafts in 2023 (see https://github.com/w3c/silver/commit/d5b364de1004d76caa7ddc4...).

I am not sure what the status is.


Oh, interesting, I’d missed that. Good info, thanks!


> Hundreds of thousands of cars physically move along roads and have to break, accelerate and change lanes in traffic to safely get to their destination. Future work: Other modes of transport (pedestrians, light & heavy rail, airports, etc.). Multi-modal pathfinding (combining walking, public transport, taxis and driving to reach destinations).

So this is a US simulator.


It would be a US simulator if it also required at least two parking spaces for each of the hundreds of thousands of cars.


If your only mode of transport is cars you can hardly call what you're building a "city".


Because cars?


Because only cars, and treating everything else as an afterthought.


Those videos show suburbia with huge roads - that does not sound like 'City'.


Eh. What they really show is a tech demo. It has simple houses and stores instead of a single apartment building with both in them because it needs to test the path finding and traffic simulation. It also needs to test the agent simulation, where each agent goes somewhere that satisfies a need. If everything were in a single building then there would be no way to find bugs in those systems.


I hated all the heavy traffic in SimCity, so I created the Church of PacMania, which worships PacBot: a gargantuan yellow road following car devouring PacMan.

The Church of PacMania generates a mobile traffic-seeking PacBot agent, plus a whole lot of traffic, the point of which is to attract the PacBot to the church, to sacrificially feed its followers to god, in contrast to the Catholic tradition of worshipers devouring the flesh and blood their god.

Kind of like an automotive version of PKD's "Rautavaara’s Case":

https://philipdick.com/mirror/websites/pkdweb/short_stories/...

Micropolis Online (SimCity) Web Demo:

https://youtu.be/8snnqQSI0GE?t=56

https://news.ycombinator.com/item?id=22849908

DonHopkins on April 12, 2020 | parent | context | favorite | on: Enemy AI: chasing a player without Navigation2D or...

In Micropolis, the open source version of SimCity, I scripted a "PacBot" agent in Python: a giant PacMan who follows the roads around, looking for traffic to eat, always turning in the direction of the most traffic.

The PacBot only has a limited local view down the roads a few cells, and can't see around corners.

Even though they're extremely simple and stupid and short-sighted, they still have interesting emergent behavior when multiple PacBots are competing for the same traffic, like how PacBot will give up and turn around when its competitors eat the cars it was wok-a-wok-a-ing towards.

There is a good example of lots of competing PacBots around 0:55:

https://www.youtube.com/watch?v=8snnqQSI0GE

>Now you have some good, uuh, there's some traffic here. There's this thing called a PacBot. It's this PacMan that follows the road around looking for traffic. And then he eats it. So that's good for your city. And you can have a lot of different PacMans on the thing, and you know, just editing the road gives the PacMan somewhere to go. So their score is how many cars they've eaten. So it's an "agent", and it woks all around, and he follows roads. And you can put a lot of them on the map to keep the traffic low.

MicropolisRobot.scanRoads looks down the road in a given direction for a given distance, and counts the number of cars (in the traffic density layer), attenuated by distance (further away cars don't count as much).

https://github.com/SimHacker/micropolis/blob/b0c5a3f495ebabb...

Then the PacBot simulator calls scanRoads in all possible different directions to get a score, and moves in the direction of the best score.

https://github.com/SimHacker/micropolis/blob/b0c5a3f495ebabb...

As it turns out, the PacBot is actually the God of the Church of PacMania (each Polytheistic PacMania Church spawns up to four PacBot God Agents, if it's connected to a road), and the church zone itself generates a LOT of traffic, in the hopes of attracting the PacBots. The emergent behavior is that followers of the Church of PacMania happily drive back and forth between church, home, work, and shopping, again and again, in the hopes of sacrificing themselves to their God, PacBot. And the PacBot Gods hang out around the Church of PacMania, eating their followers, and raising their scores -- everybody's happy!

class MicropolisZone: def generateRobots(self):

https://github.com/SimHacker/micropolis/blob/b0c5a3f495ebabb...

class MicropolisZone_ChurchOfPacMania(MicropolisZone):

https://github.com/SimHacker/micropolis/blob/b0c5a3f495ebabb...


What are the UN Open Source Principles? Can anyone share a link to the original document? I could not find anything relevant on Google.


Damn, I had planned to go shopping on that day!


Client must provide a proof-of-work. There is no standard for that, so the only way is to implement the client-side code in javascript.

It would be great if there was a standard for that so that all kinds of clients knew how to provide a proof of work, e.g. like this:

  WWW-Authenticate: Proof-Of-Work difficulty=5 challenge=XYZ
  Authorization: Proof-Of-Work abc
Where sha256(abcXYZ) would have to start with at least 5 zeros.


Write an RFC draft, toss it at the IETF.

Seriously.


Then have the server error response vend the Anubis JS as a fallback?


Webauthn always requires a user presence check though.


Seems the whole proposal exists solely because they are unwilling to add a "silence" option to webauthn. I am confused about the decision though.

https://github.com/w3c/webauthn/issues/199#issuecomment-2669...


There was the "Do Not Track" header, but I don't think any sites that actually honored it. And it is deprecated now.

On Firefox we still have webRequestBlocking, so it is quite simple to block cookies. See for example https://addons.mozilla.org/en-US/firefox/addon/ximatrix/


> There was the "Do Not Track" header, but I don't think any sites that actually honored it. And it is deprecated now.

Sites used that header to fingerprint and track users.


Source?


As it wasn't widely implemented, and few people turned it on, Safari removed it in 12.1 as a potential fingerprinting variable: https://developer.apple.com/documentation/safari-release-not...

I think I remember a larger article about this, but can't find it now


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: