News for hackers. Stuff that matters.

dgivney

Re:Show HN: A terminal emulator in pure PHP on Friday March 21, 2025 @03:38PM (#43440040)
> The issue isn’t what can be done in PHP, it's what PHP encourages by default:

Lets break this done.

> global state,

PHP is stateless.

> poor encapsulation,

Encapsulation in PHP is mostly consistent with Java.

> inconsistent APIs,

PHP is written in C and an original design decision by those C programmers was to make the APIs consistent with libc.

> and difficult-to-enforce discipline.

Its very easy to enforce. All modern projects would run tools like Pint, Phpcs & Phpcbf to enforce their code standards and preferred style in their CI Pipeline.

Re:We are investigating reports of degraded performance on Friday November 03, 2023 @03:57PM (#38134167)
I'm a little confused, Gitlab is a publically traded corporation?

https://www.google.com/finance/quote/GTLB:NASDAQ

They jump in front of speeding cars at night
Re:Railway Oriented Programming on Friday August 18, 2023 @07:59AM (#37174462)
Or Rail, the programming language

https://esolangs.org/wiki/Rail

Re:Show HN: Easyful – A Free Gumroad Alternative on Tuesday August 08, 2023 @04:33PM (#37055091)
I'm pretty sure they do with Stripe Checkout? https://stripe.com/en-au/payments/checkout
Re:Show HN: Glo Dollar – the antipoverty stablecoin on Thursday August 03, 2023 @04:41PM (#36991534)
Thanks for following up with those great answers - you've got a very interesting product. Best of luck!..
Re:Show HN: Glo Dollar – the antipoverty stablecoin on Wednesday August 02, 2023 @06:01PM (#36978289)
Hey guys, I have a couple of questions.

1. When you say 'Our Partners' invest the money - who are they? Are they US entities and/or how often are you and your partners audited? Will you and your partners make those audits public? I think that would be a selling point over the other stable coins.

2. You say that I can _always_ redeem my $1 Glo Dollar for $1 USD again. But if you're buying US Treasuries - only a few can redeem it when they want no? Others will have to wait for the bond to mature to get their money out. What percentage of reserves are kept in cash vs assets?

3. You don't mention how much basic income my $1 USD in your example above will generate. How much _good_ can I expect to generate with my $1?

4. Swapping $1 USD for a unit share of some US Treasuries seems like a simple transaction that would get played out millions of times everyday. Where does the crypto play fit into this?

> Brale initially retains 100% of the earnings on the first $2M of assets backing the Glo Dollar.

While trying to find these answers I noticed this statement at the bottom of your website. That's quite murky and I think you should mention that up front.

OMG madness! What's next? A Turbo button that actually slows down the CPU!?
Re:Microsoft's AI Bing also generated factual errors at launch on Tuesday February 14, 2023 @08:07PM (#34798681)
Move fast and hallucinate things.
Re:Binance to Suspend US Dollar Bank Transfers on Monday February 06, 2023 @03:03PM (#34683472)
It means Binance is running low on USD reserves and is buying more by preventing large USD outflows while continuing to allow USD inflows.

It's worth noting that Binance operates BUSD, a stable coin pegged to USD which according to their website saw a 25% reduction in net asset reserves between Nov 2022 to Dec 2022 (https://www.binance.com/en/busd) - if that trend has continued that may be why they need a short-term supply of USD.

Re:SBF Arrested by Bahamian Authorities on Monday December 12, 2022 @07:52PM (#33963011)
> It didn’t all go to him buying Lamborghinis

He cashed out $300M at Series B and took a $1B loan from FTX. So yeah, ~10% went to Lambos and the rest of the $10B to his gambling habit.

I agree, in a 90s system design meeting - security through obscurity is reasonably secure.
Sharing your key seems like the most 90s approach to system design.

"Only you and the search engines should know the key.. so obviously, we want you to host it in plain text, in the root directory."

The article is no longer available (since 2017 according to the Wayback Machine) so he probably did.

https://www.theage.com.au/articles/2004/06/17/1087245041025....

Re:Becoming a Full-Time Creator as a Software Engineer on Tuesday July 26, 2022 @12:16AM (#32234186)
He's not advocating for a passive investment income.

> You could use these savings to invest in stock markets, day trade with them, and - hopefully - make a profit.

I wouldn't recommend his advice..

Bankwest is a 2nd tier Australian Bank that controls bankwest.com - so I suspect this domain may have been used for a phishing campaign.

https://bankwest.com.au

It sounds like you might benefit from AWS Beanstalk which feels like a configuration widget built on top of CloudFormation - https://aws.amazon.com/elasticbeanstalk/

Choose your stack and beanstalk deploys to a load balanced, autoscaling group in your VPC. You can attach a RDS when you choose your stack. And all resources can be managed separately or through CloudFormation. Beanstalk also supports container deployments.

From the website > "You can simply upload your code and Elastic Beanstalk automatically handles the deployment, from capacity provisioning, load balancing, auto-scaling to application health monitoring. At the same time, you retain full control over the AWS resources powering your application and can access the underlying resources at any time. There is no additional charge for Elastic Beanstalk - you pay only for the AWS resources needed to store and run your applications."

Re:My attempted cult recruitment on Wednesday April 06, 2022 @03:25AM (#30929386)
You should have stood up like "Dammit, I'm looking to join a cult. Sorry for wasting your time."
Re:Show HN: Search Engine for Blogs on Tuesday March 29, 2022 @06:12PM (#30849038)
There are currently 900 blogs in the index. Every blog is manually reviewed, so this number will grow slowly and steadily over time, until I maybe automate things.

https://blogsurf.io/about

It is the left side in my country. Which creates a problem when people from right-sided countries visit my city.

I noticed this in China, a densely populated mostly right-sided country. Whenever a British engineering firm would install escalators they would set the direction opposite to the flow of human traffic. You would walk up to it on the path on the right side and be forced to cross the path of oncoming people to use the escalator on the left before having to cross over again once at the top.

Re:A Wordle clone in 50 lines of Bash on Wednesday February 02, 2022 @03:03AM (#30174969)
Always cleam your inputs!
I had a quick look at the departure charts and they seem to be avoiding an airforce base.
Re:The UX on this small child is terrible on Tuesday January 04, 2022 @06:10PM (#29802244)
Ah yes, I can see the regression tests are failing so it's likely a developer error.
Re:Assembly Nights on Sunday January 02, 2022 @05:05PM (#29774498)
It's so nice to find something you wrote 10+ years ago still being enjoyed in the wild (under the sheets no less).

Kudos to Dave for a great read, he's inspired me to dust off my own EeePC!..

Re:The Politics of Wine in 18th-century England on Tuesday December 21, 2021 @02:56PM (#29641369)
Can confirm, Australian Wine is now almost entirely screw tops.
In the February 2017 S3 outage, AWS was unable to move status icons to the red icon because those images happened to be stored on the servers that went down.

https://twitter.com/awscloud/status/836656664635846656

Re:Show HN: Honest Math – Simulate Your Financial Future on Monday December 06, 2021 @08:32PM (#29468163)
Hi Concrete

Congratulations on the launch - I just had some thoughts that I wanted to pass on.

I signed up with a disposal email. Once I was logged in, the process seemed very intuitive and straight forward. However my experience was that this is something that really should have been a free calculator accessible on your website and not something that should require the hassle of signup & email verification. In fact, it took longer to register an account than my total session time using the product.

Once I had generated a plan, I clicked on the logo at the top and I was taken back to the public website and had to login again. On login, all my changes had been reset to the default which made me wonder why have an account in the first place?

Your mission sounds noble and I wish you well on its execution. I also liked your name and branding. It's a product I would trust in that regard.

Re:In 1930 the Indiana Bell building was rotated 90° on Saturday December 04, 2021 @07:43PM (#29445720)
The context is that John, the father posting that tweet, is a well known hacker and lead programmer on Wolfenstein 3D, Doom & Quake. He is still lauded today for his legendary optimizations to 3D graphics & network programming techniques.

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

We can agree on that, yes =)

I was thinking about this and when you look at the top keyword searches on Google, it's dominated by people searching brands each year, so I think Google is just naturally optimised for this. I think any Search Engine designed for the masses would probably have to behave like this too. https://www.siegemedia.com/seo/most-popular-keywords

I agree, I think the early web was used more for general information rather than specific brand information (and was more useful for people like myself). I'm not sure what is needed to get more results such as university papers or personal web-sites as I think that people use the internet differently now and that the link structure reflects that.

It's interesting that Google isn't used to search for people anymore (I couldn't see any people in the recent top 100 keyword search data).

Older »