HNHacker News
TopNewBestAskShowJobs

mustardo

281 karma · joined February 10, 2017

submissionscomments
mustardo··on U.S. used 'virtually all' of its long-range precision missiles during Iran war
> failed their strategic objective

copium

> It's their relentless deindustrialization that will eventually do them in

Agree, China has already won, at this point a lot of the world sees them as a more sane option than USA as well which is a nuts timeline

mustardo··on Why We Don't Trust the Database with Authentication
Anecdotal but we certainly run flyway migrations with a high privelage user not the regular low privelage "app" user who can only SELECT UPDATE and sometimes DELETE. The fact that nobody does this doesn't mean it's a bad idea just a reflection on poor industry practice (add it to the list)
mustardo··on Anthropic flies staff to D.C. to clean up White House fight
Mighty fine AI you have there, be a shame if something were to happen to it...
mustardo··on Cleaning up after AI rockstar developers
This! I've worked with a few developers I would consider net negative to their team and product, in that their removal would have increased 3-4 other team members productivity by say 20% each. Coincidently these developers were almost exclusively Indian immigrants. In organisation with poor corporate culture and the ZIRP (Zero Interest Rate Policy) days of hiring to signal growth and managers hiring to increase the number of reports (to signal importance) compounded the problem
mustardo··on GitHub is investigating unauthorized access to their internal repositories
Built with packages hosted on Microslop's NPM
mustardo··on Canonical/Ubuntu have been under DDoS
I thought copy.fail is a privelage escalation exploit, become root from a regular user? Am I missing something?

How would "node architecture" make people vulnerable to this?

You have to have shell access to a victim first right? Or am I missing something?

mustardo··on I am directing the Department of War to designate Anthropic a supply-chain risk
In an interview with Zelinsky Trump asks "why haven't you had an election? " Zelensky : "because we are at war" you can see the idea percolating then. People think I'm a nutter for suggesting there just won't be another election but that's where my money is. I'm waiting for his version of the Gestapo, ICE seems to be a proving ground
mustardo··on Ask HN: What did you find out or explore today?
For machine tools I just use an oil can with a finer than normal tapered tip, this will depress the ball bearing in zerk / grease nipple fittings no problems, this also works with the ball oilers typically found on lathes etc. You can cut a tiny slit in the end too if that helps get oil in https://www.wentztech.com/metalworking/projects/convert-a-ch...
mustardo··on Ask HN: How do you choose a hostname for personal devices?
One place I worked at used Red Dwarf characters, Hollister, Cat, Toaster, Rimmer etc

TV show characters can be good

I normally use Greek gods for snowflake servers

A concatenation of owner / location and device for LAN devices. JohnsPixel4, LoungeTV,

mustardo··on Redis' license change and forking are a mess that everybody can feel bad about
This has aged well https://news.ycombinator.com/item?id=17818647
mustardo··on NotepadNext – a cross-platform reimplementation of Notepad++
LSP (Language Server Protocol) a way for editors to talk to language tools to provide auto complete, warnings errors etc. this means the language tools can be written once and then any editor that has LSP support can use it https://en.m.wikipedia.org/wiki/Language_Server_Protocol
mustardo··on Client did not pay? Add opacity and decrease it until their site fades away
Not even particularly elegant code, for example, opacity is clamped between 0 and 1 in in the very next line a bounds check is made anyway.

  opacity = (opacity < 0) ? 0 : opacity;
  opacity = (opacity > 1) ? 1 : opacity;
  if(opacity >= 0 && opacity <= 1) {
      document.getElementsByTagName("BODY")[0].style.opacity = opacity;
  }
mustardo··on Kids with cats have double the risk of developing schizophrenia
> these religious institutions help stabilize society

I'm not sure this is true, there are plenty of conflicts because of religion. I would argue the most stable would for nobody to be religious

mustardo··on Mailpit – An email and SMTP testing tool with API
A couple others

Mail Catcher https://mailcatcher.me/

Lunatic SMTP https://github.com/anlar/lunaticsmtp

Green Mail https://greenmail-mail-test.github.io/greenmail/

mustardo··on Show HN: 77 Year old launches SaaS platform today. Seeks feedback
Auctions generally perform better in a seller's market (strong buyer demand), with interest rate rises prices have been dropping lately here (NZ)
mustardo··on An open-source alternative to QuickBooks
Banks don't give out access to this API easily. Unfortunately it's not some OAuth thing that a new upstart accounting software could easily hook into, therefore the banks gate keep feeds to major accounting providers and no doubt charge excessively for the privelage. We need regulation to open feeds to anyone willing to consume them, or a bank to add it as a feature but why would they when they can charge Xero and MYOB to access proprietary feeds
mustardo··on I was wrong. The ChatGPT code interpreter is OP
Over Powered
mustardo··on Developers should be force-fed state machines (2011)
A Hungarian notation but as a suffix?

Ignoring variable name shadowing a static type system helps a lot

https://en.m.wikipedia.org/wiki/Hungarian_notation

mustardo··on Developers should be force-fed state machines (2011)
100% this! One of the worst projects to reason about I have ever worked on (and I have worked on a lot of trash) was when a colleague insisted on implementing a state machine in a system that tracked voucher (offer) redemptions. State machines do have their place but coordinating business logic with one is a bad idea IMHO

This same colleague had implemented a similar FSM (flying spaghetti monster as known by the team) in an FX (foreign exchange) platform at a previous company. Which after a job change I got the pleasure of experiencing, nobody in the team knew how it worked and everyone was petrified of making changes

mustardo··on New Zealand passes legislation banning cigarettes for future generations
"dairy" is Kiwi for a convenience store, Off License, Superette. I remember being surprised moving overseas and calling it a dairy nobody knew what I was talking about https://en.m.wikipedia.org/wiki/Dairy_(store)
mustardo··on Software horror show: SAP Concur
> Never ending warnings you can't turn off and many other small things lead me to skipping small expenses and just eating them, because I can't be bothered to fight Concur.

Sometimes I wonder if this is a "feature not a bug" the company wins and saves money (in the short term)

It probably costs them via reduced employee happiness turnover etc etc indirectly but there is no KPI for that

mustardo··on Unreal Tournament 99 running on WASM (2017)
UT99 GOTY always amazed me with how well it runs and plays on abysmal hardware, can lan party it on pretty much any PC
mustardo··on New Zealand's plan to prepare for inevitable climate change impacts
What about living things other than humans?
mustardo··on $55 board turns a Raspberry Pi CM4 into a router
A common configuration is to pair a router with a managed switch that can handle VLANs and have a trunk port between the switch and router such a setup is called a "router on a stick" https://en.m.wikipedia.org/wiki/Router_on_a_stick
mustardo··on $55 board turns a Raspberry Pi CM4 into a router
You might want two or more routers (or network cards) on the same layer 2 (physical) network, if you buy two devices with the same MAC ARP (address resolution protocol) for example can't work. Typically the chip manufacturer "buys" MAC address ranges from IEEE, some cheap chip manufacturers won't. You can sometimes work around this in software by allocating a new random address to the interface
mustardo··on Heroku: We’ve Heard Your Feedback
MS teams is proof slack could get a lot worse yet :-)
mustardo··on Inside the longest Atlassian outage
Using separate databases or schemas per tenant comes with the following problems

* Managing schema migrations across every DB

* You cant query across the DB, want to know some cross tenant thing for ops? That's now a lot harder

* Connection pooling and resource usage can be harder to manage

Most systems I've worked on use a single DB with a `tenant_id` col on every relevant table, it's easy to have your query builder slap in the auth'd tenant I'd. This approach does come with issues like saving and restoring an individual tenants data

Like a lot of things in life, it's a trade off

mustardo··on Ask HN: How to make server side code atomic?
For your "maybe slightly better is" what happens when the db commit fails? FK constraint or some such, now you have sent an email (called the API) and have no record in your DB

Without two phase commits I would

1) Write to the DB in the original POST request a record indicating that an email should be sent 2) Process that record outside of the original request and mark it as sent

mustardo··on You need to turn that system off. Right now. This isn't a request.
Every single Russian citizen is in a position to protest the war, they are just too spineless
mustardo··on Ask HN: Passive income with 1 Gb/s and 10 TB storage?
StoreJ (formerly Tardigrade) https://www.storj.io/how-it-works

From https://www.storj.io/node

Average Payout Per Month...

Egress Bandwidth $20/TB

Repair Egress Bandwidth $10/TB

Disk Space $1.50/TB

Audit Bandwidth $10/TB

I have never tried to use it and have no affiliation

Page 1 of 5Next →