News for hackers. Stuff that matters.

deweyair

Rule of thumb is you'll do 85% of your sentence in the actual federal prison, 15% can be served in a community corrections center. These are usually halfway houses, or county jail if no halfway house in the area contracts with the fed.
Re:Show HN: Responsecodes.xyz on Sunday July 03, 2022 @07:56PM (#31972051)
The biggest thing for me was that I needed to use subdomains. I needed to test a dependency that let the consumer pass in a domain, but no path. Subdomains fit the bill for that. It's the only thing I can think of offhand :-)

If you'd like, feel free to email me at [email protected] and we can collab

Re:Show HN: Responsecodes.xyz on Sunday July 03, 2022 @11:26AM (#31968410)
Cool! I think there's a lot of neat stuff that could be added here. Funny how a little event project can be so useful!
Re:Show HN: Responsecodes.xyz on Saturday July 02, 2022 @11:21AM (#31959773)
This is the service I was trying to find but couldn't remember, thanks
Re:Show HN: Responsecodes.xyz on Saturday July 02, 2022 @10:44AM (#31959405)
This is slick - thanks for sharing! I like how they list what the response codes are for
Re:Show HN: Responsecodes.xyz on Saturday July 02, 2022 @12:53AM (#31956364)
Adding a clicky link https://responsecodes.xyz, and for a 200 https://200.responsecodes.xyz

Show HN: Responsecodes.xyz

responsecodes.xyz returns response status codes based on the subdomain.https://222.responsecodes.xyz returns a response with a status code of 222.https://999.responsecodes.xyz returns a response with a status code of 999.Non-numeric subdomains will return a 400.I built this because I needed it and I couldn't find one after searching around for a few minutes.

( Read More... | 15 comments | 25 points | on HN )
Re:Show HN: GearSlots, Polygon NFT with tradable attributes on Sunday December 12, 2021 @03:37PM (#29533369)
Hi! I had a lot of fun building this - I think the idea of NFTs with tradable attributes is something we'll see more of in the future.

Initially, I deployed to eth. Gas fees made it unusable there - setting prices on a piece of gear was upwards of $90. I guess that's the downside to storing everything onchain!

Show HN: GearSlots, Polygon NFT with tradable attributes

Hello. I made Gear Slots. It's a loot-inspired NFT, with tradable attributes. Deployed on Polygon.I really liked the idea behind loot - to have game data stored on chain. However, not having solid randomness in the generation of the gear, as well as static bags of gear (not being able to trade for different gear) was a downside. So, I made Gear Slots.Gear Slots is built completely on-chain -...

( Read More... | 4 comments | 25 points | on HN )
Re:Show HN: Givemeguid.com – CLI/curl friendly GUIDs on Tuesday June 16, 2020 @08:33AM (#23538361)
Thanks!
Re:Show HN: Givemeguid.com – CLI/curl friendly GUIDs on Tuesday June 16, 2020 @08:32AM (#23538354)
I spend a fair amount of my day in Visual Studio and didn't know this, thanks!
Re:Show HN: Givemeguid.com – CLI/curl friendly GUIDs on Tuesday June 16, 2020 @08:32AM (#23538345)
Understandable! I made it for the few times I'm manually testing an API using Swagger or something similar and need a valid(ish) GUID to stand in for some field being sent to the api.

There's no shortage of ways to generate GUIDs, that's for sure!

Re:Show HN: Givemeguid.com – CLI/curl friendly GUIDs on Tuesday June 16, 2020 @01:34AM (#23536216)
Instructions are in the headers. Query string params for returning multiple GUIDs, and optionally returning JSON.
According to the article, a big increase in California's state prison system is for salary and medical of the guards. I'm not sure if they're union guards over there, but the prison guard union is pretty powerful in the federal system and many states.

As far as other costs go, I'm not sure where they're getting up to 75k/year/offender. My experience has been mostly in the federal and midwest, where average cost of housing an offender for a year in a low/medium security facility is around 20k-25k.

It would be interesting to look at their books!

'The prison contracts everything from security to mopping.'

In the vast majority of American prisons, the prisoners do the mopping. Security is still done by guards, but nearly every other job in the prison is done by the offenders. It's much cheaper this way - for state prisons average starting wage for non-industrial jobs is $0.25/hr. Industrial jobs don't start much higher, but they tend to have a higher cap around $2.50/hr instead of the standard cap of $1.00/hr. There are a few cases of offenders making minimum wage, but these are the exception rather than the norm.

Prisons are run by the offenders - it's cheaper this way.