skysight-inc/HackerNews huggingface dataset:
> i feel like immigrating without having my degree will become a problem for me carrier-wise.

Depending on where you're immigrating to, it will be much harder to immigrate without a degree as well. Maybe look at what it would take to earn a degree where you want to live, as that can give points for immigration. But, like others said, you still need to jump through hoops if you want a degree, and having a certificate of hoop jumping is helpful for job hunting.

Re: mandatory military service. This is pretty common around the world, if your country is not in an active conflict (and even if it is), maybe you can use your degree/experience to get more technical work, but you'll likely need to show you can jump through hoops and follow instructions or you'll get selected for less desirable jobs.
Thanks for highlighting Bishop to me! I've self-taught through various resources esp. Goodfellow et al 2016. It's taken me a number of years to rebuild my math knowledge so that I feel comfortable with Goodfellow's treatment and look forward to learning from the Bishop book. Fwiw, I've found the math notation in the Goodfellow textbook to be among the best I've ever seen in terms of consistency and clarity. Some other books I enjoy, for example, do not seem to make any typographic indication of whether an object is a vector, scalar, or other. :(
A similar long-time bug in Dwarf Fortress: if you have a door or hatch marked as impassable by animals, but a stray tame critter (usually a cat) wants to get through, it will never give up trying to find a path to the other side. This can have a very noticeable effect on your fps, especially if there are several animals all trying to get past the impassable portal.

(Of course, one could argue that it's incredibly realistic behavior for a cat to very insistently demand to get past a closed door. It would be even more realistic if, once the door is finally opened, the cat would immediately change its mind and lose all interest in getting through!)
Japanese notebooks and ball point pens. Dedicated notebook for individual projects. Daily planner.

If I really want to focus and stay organized, nothing beats pen and paper. I’ve tried out note taking apps, writing on my iPad, using my husband’s remarkable tablet, and Obsidian. It’s fun and interesting at first but doesn’t scale. I will however type some notes up, when needed, in Obsidian just for the search functionality. I’m still pen and paper first.
Likely true, but the maintenance can also be done by employees or motivated volunteers. ISTM that providing services is what a hotel does well and what supportive housing for people who end up homeless often needs to do as well. It doesn't need to be luxurious or wasteful, but it seems sensible to take advantage of infrastructure and economies of scale that are already known to work.
Good find, thanks! I'll check if I prefer it to moar.

As for bat, according to https://github.com/sharkdp/bat#using-bat-on-windows, the Chocolatey package simply installs `less` alongside `bat`. Seems like a good idea, but I haven't tried it.
> Advanced branching/merging workflows become extremely painful if not impossible

That's really, really not true. First off, I used the word "inherent", which doesn't mean "immutable"; you can retain all the benefits of mutability if you so desire. Of course, Mercurial historically focused a lot heavier on immutable commits than Git did, but hg eventually found a different path that really makes using git feel antediluvian in comparison.

The second thing to note is that there's no requirement that the 'branch' property of a commit correspond to only one head. Actually, I don't think any of the mercurial repositories I've contributed to ever bothered with branches; there's just simply no need in mercurial to create multiple named branches, the way there is in git.

Finally, mercurial solves the workflow problem in another way, by essentially realizing that there is a dichotomy between public, immutable commits and work-in-progress draft commits. The problem with PRs is that you end up in a situation where you have the unenviable choice between making updates with 'address fixes' commits that pollute history or rebases that risk making comments go into the ether (especially on GitHub). You might have extra squashes or rebases that make PRs that depend on other PRs painful. Mercurial instead makes a rebase or other history edit simply mark the old commit as dead and link to the new version, so that any other commits that depend on it can know how to be updated to the new version. And this information is spread to anyone who pulls from your repo, but need not be retained when pushed to anyone who didn't know about the old dead versions!
Im working on a city builder[0] where you can see inside homes. Expanding on point 1...

1. The streets have their own graph, as does each individual building. There's an address book; each building stores the driveway tile connecting to the street graph here.

2. Pathing inside homes uses A*. In order to make this extra fast, I bake the 8-directional egress weights for each tile in the building/yard.

2b. This gets condensed down into a 16-bit bitmask (2 bit chunks, 8 directions) and then stored in a hash table

2c. Each bit-chunk has four possible states:

FULL_BLOCK (e.g. a wall)

HARD_BLOCK (e.g. a large object that prevents walking through the tile from any direction)

SOFT_BLOCK (e.g. a smaller object that prevents passage on one edge)

NO_BLOCK (e.g. an unoccupied tile, or a tile with a tiny object)

This way a unit pathing inside a building does not need to check for obstacles on every tile. This also allows units to pass through tiles with objects provided the object is not huge and is rotated in such a way that the exit and entrance edge is not blocked. Lastly, an agent can still walk through a wall if the player e.g. forgot to place a door, to prevent the simulation from breaking down.

3. I use a waypoint system (stored in a queue) for agents so they can traverse through the different graph hierarchies with ease. This is also used to e.g. tell the unit to walk to their car first if they are driving.

4. Pathing on the street uses a different method (though still utilizes a baked graph) that makes it extra zippy.

[0] https://store.steampowered.com/app/2287430/Metropolis_1998/
If I had a nickel for every story I read about a lawyer using AI to generate a filing only to have it fabricate cases and cites wholesale, I'd have two nickels.

Which isn't a lot but it's weird that it happened twice.

And by "weird" I mean terrifying, because you know if it happened twice, it happens all the time, and if it happens with lawyers, it happens with doctors, engineers, and any other profession where people want to cut costs on getting technical documents.

We are well and truly fucked as a species.
Google Slashes Diversity Programs After Big Promises
Thanks for the perspective.

I agree I’d like a world full of great art, and a decent fraction of human energy put into art-making seems good.

I grant that copyright plus free markets is one decent way of achieving this.

Now that I try to elaborate the downsides of copyright I fail, other than to say I want to keep legal barriers in the digital realm to an absolute minimum, so as to speed progress.

When I was younger I thought that great art was made by either starving artists or artists with wealthy patrons, but I guess much of the art I enjoy is made by professional artists participating in the copyright economy.

So I suppose agree, though I’d like to see more public dialog analyzing the issue, considering modifications (like you propose in another comment) or alternatives (such as public funding for the arts, tax breaks for patrons, etc.).

(I guess I let my contempt for the patent system bleed into my thinking on copyright.)
From my perspective they made streaming a vast catalogue of music legally a business. I’ve been a user for a long time and been able to discover a lot on their platform although I must admit quality of recommendations seems to be falling lately. Last.fm was great at that
US Pushed Dutch Maker of Chip Equipment to Block Chinese Sales Before Deadline
I think of it more like learning a language.
Yes, you have to put the effort in and learn your grammar and basic vocab yourself - but in conjunction you want to immerse yourself into hearing experts speak it.
Watching a film you fancy with subtitles or another audio stream is still mainly entertainment, but it's making you better.
Every person who's picked up an instrument has done so, so they can play something they heard and enjoyed.

Also - I don't need to master something. I like the messing about. Occasionally you'll later stumble across a problem you'd accidentally learnt the answer to - and that's gratifying, but it was never the point.
I love everything about fireworks. The explosions, the noises, the colors, the risk, the lighting-shit-on-fire...

But I recently moved to a high desert/ski town where fireworks are largely banned, and outright dangerous to the entire city for about half the year, and I'm willing to accept this tradeoff for access to forests, mountains and streams.

The local city launches the annual displays from the tallest butte in town, and there are neighborhood pools on which side of the butte will catch fire every year. The local FD uses that inevitable fire as a suppression exercise, which is nearly as entertaining as the fireworks display.

I'm perhaps jaded though, in being willing to make this tradeoff. I worked for a few years in the downtown Austin office of a major tech co. right on the river. We'd congregate in the cafeteria and in the rooftop garden for eye-level firework viewing. It was absolutely glorious.

Side anecdote: on NYE you could walk the garden perimeter and see fireworks at the horizon line in every direction. God Bless Texas.
Now of only youtube would ban the use of this crap. Or at the very least allow you filter those videos.
How do sites that have porn but not their main purpose respond, or do they have to? Reddit and Twitter come to mind, I've stumbled across a lot of weird stuff on both.
a concern I'm looking into for a private project (I use hn as a link saver) is fireworks impact on birds. specifically interested in songbirds. however i dont think its a key component in their decline (https://www.science.org/doi/10.1126/science.aaw1313) it is just a side issue to consider that perhaps there is something that can be done along side keeping domestic cats indoors and so forth. The key interest is overall the decline in songbirds and how this effects the tick population and thus lyme disease and other related illnesses. Perhaps banning fireworks would help, though it would be an uphill battle; yet probably easier than say banning neonicotinoids.
...or die even with them. That's the less pleasant half of triage: Don't waste resources on people who are going to die regardless of treatment.
I disagree with large parts of what you said, but if my and others’ anger towards fireworks (which I actually do quite enjoy) results in a small tax on firework sales to fund veteran causes, in which I am a staunch believer, then not gonna lie I’d be thrilled.
I have always changed my ssh port and I don't see any convincing argument in this rant not continuing to do so.

However, scanners have changed drastically during the last 5-10 years. I remember when you saw close to none login attempts when you used a port between 15000 and 20000. Nowdays there are 100s every day. I guess on 22 it's much worse, but I have not used 22 just for the sake of comparing.

For fail2ban it's the same: I know it's not a great solution (lightweight code base, better security gains and lower risk to affect legitimate users would be great), but there is no convincing argument and no better alternative in the submission. Good security for the whole installation is not an alternative, it's a precondition for connecting anything to the internet anyway.
With the excuse of there being a MOUNTAIN of high-quality content on YT, for someone like me who's never heard of nor watched Tom Scott: would anyone care to curate me a couple of his best videos to sample from?
strange move. shouldn't these programs be making roi for them?
The alternative is monitoring the water levels and stop pumping when they're under 80%.
Not specific-language related, but see also Canada's CanCon legislation on Canadian-made music quotas: https://en.wikipedia.org/wiki/Canadian_content
You can have something resembling a supermarket or food court as opposed to some Dickensian soup kitchen. People with mental health issues sometimes need autonomy and personal space, but also sometimes need to be sociable or have access to community.
The internet interprets censorship as damage, and routes around it.
Well it wouldn’t be stealing if the work was not covered by copyright. It also wouldn’t be “unfair” if the rules were changed. —- I’m asking that we imagine how else could our information economy look if we had some other legal foundation. Maybe, like markets, copyright is already close to an ideal, but perhaps there’s some economic innovation here yet undiscovered or unexplored?
Let's Encrypt has chosen not to support IP address in SAN: https://community.letsencrypt.org/t/planned-rfc-8738-support...

This is admittedly a rare use case, but is needed e.g. for setting up a DNS-over-HTTPS server.

ZeroSSL seems to support IPv4 SANs, but fails to validate IPv6 addresses; I tried emailing their support several times about this but they never replied. I finally got a working certificate via GeoCerts (https://www.geocerts.com/), a DigiCert reseller, but doing so required manual validation. For the record, GeoCerts support was fantastic.
Pornhub is one of the most visited websites on earth [1]. So, my question to this comment is how do you define value in this case?

[1] https://en.wikipedia.org/wiki/List_of_most-visited_websites
That's an important consideration, for sure.
Generally you get more of what you subsidize, so my bet is that this will lead to less porn consumption, an absolutely massive win.
Memory Slam 2.0
You've really internalized the 'I've got mine, FU' trope over time.
CEE is great!

Also: I Do Cars
> commonly held definition of open, in the context of "open source", it is not open

While this is very true, the context of "open source" can't be assumed.
i think they don't want to respond as to avoid being the crosshairs.

i'm surprised that the app stores let them on though since it isn't that hard to view it
shameless selfplug[0] but I've documented my notetaking process here. I don't follow it religiously but it's pretty much it, recently have been making more use of local llms to summarize things/reformat into forms that are useful but tedious to create manually etc. (which is not mentioned there in the linked page)

i am planning to add semantic search over my wiki and other places. Another major notetaking tool for me is pictures and screenshots, I've to figure out a way to make a better way to organize/search them in a more meaningful way

0: https://geekodour.org/docs/documents/notetaking/
Decision Tables are great. If they get too hairy, consider a suitable rules engine or bpmn.
I think the necessarily is clearly implied from context.
Ask HN: Remember a Physics Puzzle about Gas with Elegantly Diagrammed Solution?
Hi HN, I remember coming across a post or comment made here some time around 1-3 years ago describing a puzzle described roughly as follows: Consider a sealed chamber with a partition dividing it into two sides, one with Helium gas and the other empty, a vacuum. What happens to the average temperature of the particles in the chamber if the barrier is removed?

Straightforward application of the Ideal Gas law would suggest that the temperature of the gas would decrease since the removal of the barrier would increase the volume occupied. However, the puzzle was thoroughly answered by a wondrously animated/displayed blog illustrating with diagrams how depending on the type of gas, the size of the chambers and interactions between other molecular forces, the temperature could increase or even not change at all! I am probably inaccurately recalling to some degree, for example: I can't guarantee that the gas mentioned in the puzzle was specifically He (it may have been left ambiguous, along with the relative sizes of the sub-chambers) however I do remember a surprising tripartite conclusion to a seemingly straightforward application of the law accompanied by glorious (maybe even interactive) diagrams. I originally found the content through this lovely website and would like to pose the question: Does anyone know what the heck I may be talking about?!?

After a few hours of searching via google/algolia, I have resigned the link lost to me. To make matters more complicated, I believe the title of the solution blog or relevant post was ambiguously puzzling/curious and not overtly physics-y which is unlikely to appear amidst queries for 'gas tube temperature puzzle' and the like... If anyone could help reunite me with this puzzle or elegant solution I would be grateful, and I'm sure others would appreciate the surprising conclusion as well.
What if you had to show Government ID whenever you entered a grocery store, a library, a movie theater? What if you were tracked each time you consumed a video, a still image, an audio clip, or even a text message?

What if the government kept a record of any or all of those checks? What if they arranged for third parties to commercialize that data so they could 'legally' end-run any restriction on domestic spying with a small ad targeting data service fee?

This is the sort of dystopia that librarians and others focused on liberty have been fighting for what seems like forever.
Fair. Easily the best of the second tier.
My father in law sold solar in the 70s. His take is that it failed for the same reason it fails today. For most consumers in most environments, it makes no economic sense whatsoever, even with tax incentives. The short total lifespan, rapid aging of the cells, expensive maintenance, and risks of roof damage over time, altogether reveal costs that typically are not advertised but remain obvious to most consumers. That's aside from the unsightly appearance of the cells.
In environments with more expensive power grids and higher temperatures they appear to be a suitable economic solution for the consumer. E.g. Phoenix, AZ.
And France has the highest government expenditure as a percent of GDP among the developed world, at >58% as of last count[0].

[0]: https://en.wikipedia.org/wiki/List_of_countries_by_governmen...
Oh, yeah. Aluminum foil tape is an all-purpose wonder. It's often used for air ducts, although it isn't what you think of when you say "duct tape."
Reddit had a lot of dark subs and users for a very long time, and they kinda just swept it all under the rug.

/r/spaced*cks, ViolentaCruz, others I cant recall, and the infamous /r/cannibals controversy with a reddit founder and CEO.

Yeah, weird times - not its many bots - and interestingly, in the last year, a boatload of .in India subreddits for various aspects of their culture (like IdianMotorcycles, Weird train behavior, their version of /r/idiotsincars, lot of bollywood and movie and celeb gossip subs.

Maybe need a comment filter that hides anything that a non-sequitur or perhaps comments that have < (N) syllables, words or sentences?
Do you have a source for that? I don't see anything in the US constitution being remotely close to Intellectual Property protection. It does have several protection on property, but I'm pretty sure it's talking about the physical kind.
Well pathing in sc2 improved significantly, although some problems remain (ultralisks dieing before reaching their target).

In the case of SC1, the dragoon in particular was really bad because its speed would change significantly depending on which part of the animation it was in. That’s what made wheeled vehicles and tanks were less wonky. Their speed was constant as they moved.
It would only affect local businesses advertising on G-rated websites in porn-banned states if porn viewers in their state found it easier to just leave the VPN running all the time.

Is this a reasonable point?
That's what I was expecting too. I'm very happy with kagi...
> At least one RCE, admittedly with a non-default fail2ban config and a somewhat unlikely attack chain:

you had to manipulate answers from a whois server.

Sure, it increases attack surface (like any additional piece of code) but argueing to better let an IP hammer your mailserver with infinite stuffed credentials just to avoid possible bugs, is questionable at least.

fail2ban's CVE track record is quite good in comparision, if you take that as metric. It might be even more secure than using multiple different rate-limiting implementations that were written in C.
The panels on my house are 44V each but are connected with 11 in series. That means you can expect to see 484V in an open circuit situation with full sunlight.
https://archive.ph/OCuQK
I don't know that has anything to do with programming.

Arithmatic and writing proofs are very different skills. There is going to be a gap for everyone.
I think you’re right, I can’t edit tho unforch
It's not legal but it's allowed because regulators aren't equipped to handle so many violations. There have also been some pro-crypto (under the guise of "innovation") members of Congress who have encouraged a light touch.
Actually all of what SE has now has content on different sites
Show HN: Titled "Website"
This is an artwork intended to be about self-reflection, a window into myself using various digital environments. Inspired by Virgil Abloh’s PUBLIC DOMAIN. Try experimenting with it and let me know if you experience anything unique or have any specific feelings.

https://github.com/ericfzhu/website/
If the legislature wanted to protect IP differently, it is at their prerogative though.

For instance, if they think the value of IP to promoting the arts and sciences is reduced significantly by IP claimants committing perjury and abusing other people's freedom of expression, and that the situation needs a remedy.

There's nothing saying it has to be this way, merely that granting rights is a thing that can be done. Y'all can find this section of the constitution I'm sure, and it's dull but short! This is super up to the legislature, otherwise how would they have passed the DMCA in the first place? Of course they could make a law to revoke IP for any kind of thing they decide they need to -- like for national security:

"The Congress shall have Power To promote the Progress of Science and useful Arts, by securing for limited Times to Authors and Inventors the exclusive Right to their respective Writings and Discoveries."
I came to terms with procrastination, as if (or it could be) it is a core utility function of our consciousness.
It’s amazing that somebody could say this with a straight face. Spotify are so successfully innovative that they basically ended music piracy.
It's like a digital version of Tulipmania.
The bridges we still have are maintained. Bridges fail all the time, but we only repair the ones we want to keep. Your link to wikipedia as proof that bridges do not fail is a case of the observer fallacy. The wikipedia article tells us of some bridges that failed, not all bridges that failed.

Gumby's point that the Victorian era bridges we still have were over-engineered is I think a good point. However we might like to say that they were well-engineered, but I bet that even they have been in a state of on-and-off if not constant repair.
If it is happening all the time, providers of generative AI should be emphasizing a whole lot more that they can just make up information.

ChatGPT currently has this message in small text below the message prompt, but I'm not sure how long it has been there: "ChatGPT can make mistakes. Consider checking important information."

But I think that message is kind of underplaying it. The fact that it can make mistakes doesn't necessarily mean that the average person will think it is completely making something up.