News for hackers. Stuff that matters.

cersa8

Re:Security through obscurity is underrated on Monday October 24, 2022 @10:07AM (#33316800)
Security through obscurity is fine if it's an additional layer in a well thought out security implementation. I've build a bespoke Node.js site/service where I sometimes have to kick out clients due to various reasons. I sometimes fear reprisal and have to consider a targeted attack on my infrastructure. And indeed I do get the occasional hack attempt with for instance hand crafted sql injection attempts (I receive an instant notification when this happens). The best approach in hardening your infrastructure I think is trying to hack your own service by trying a plethora of methods like sql injection attacks or denial of service attacks on your public api's.
Re:Project Wisdom for Red Hat Ansible on Friday October 21, 2022 @06:53AM (#33286671)
Pulumi could have filled this nicely but only supports a few cloud providers.
Canceled my PayPal account none the less.
Re:$570M worth of Binance’s BNB token stolen on Friday October 07, 2022 @09:52AM (#33121316)
These bridges seem to be the weakest links in crypto.
Not a Google fan but I don't want any other means than my 2fa to unlock my account.
Re:TypeScript is now the most-used language by CircleCI users on Monday September 19, 2022 @11:44AM (#32899894)
I disagree. My entire backend is written in Typescript and maintenance and feature development pace is incredible. It's been this way for years now and I cannot see myself switching to Go or Java anytime soon.
Re:Citibank may lock bank accounts for 45 days if breach suspected on Wednesday September 07, 2022 @05:05AM (#32748282)
Opening an N26, Revolut or Bunq account (in Europe) can be done from the couch. Maybe this is much different in the US.
Re:GraphQL kinda sucks on Saturday August 06, 2022 @11:17AM (#32368844)
I use GraphQL (postgraphile) for my admin backend crud. This allowed me to do some incredible fast development with only minimal customisation (couple of PostgreSQL functions). Anything outside the happy path is handled by a REST API. Maybe we shouldn't think in absolutes, eg: only use GraphQL. For the same reasons I use an ORM, and raw queries where it matters most. The cliché holds true: use the right tool for the job.
Re:My worst tech decision: A G Suite account for personal use on Wednesday August 03, 2022 @12:46PM (#32334039)
Swpapped my G suite custom domain accounts for mailcow and never looked back. Luckily I never used these accounts for paid apps or other Google specific services.
It would be insane to not question the narrative given the incentives.
I have a much different experience. I use Mollie, probably very similar to Stripe or any other modern payment service provider. I have the occasional failed SEPA transaction due to an invalid reference id but otherwise this is very smooth sailing. There is almost zero friction in the payment process. I might be a small fish with say 40 transactions a day but I guess my situation is not much different from bigger players. Maybe this is because most transactions are in the Euro zone and things go south fast when dealing with international payments.
Re:German Government Lied About Nuclear on Monday July 18, 2022 @04:34AM (#32135924)
I think it's the reverse. Not sanctioning Russia, letting them march forward will put Europe in grave danger.
Re:The 13-Inch MacBook Air on Sunday July 17, 2022 @04:49AM (#32125397)
They are not keen on becoming a hardware only vendor and I expect pushback when alternative OS's gain traction on Apple Silicon.
I think there are plenty, but this is just not a productive environment to discuss anything crypto related.
Sorry, you are correct, the fee is a percentage of the notional value.
Wow, that really brought home how fortunate I and probably many others on HN are.
The fee is a percentage of the contract size, so higher leverage allows for bigger orders is higher fees.
Re:Russian gas flows to Europe on Sunday July 10, 2022 @04:28PM (#32048659)
I find it deeply concerning we are still very much in bed with Putin. We should have taken drastic steps early and maybe be half way in tapping alternative sources. The fact Germany is happily closing nuclear power plants shows Europe is in for a rude awakening when Putin tightens the vice.
Indeed. I find it weird they did not foresee a crash, given the volatility nature of crypto.
Re:PostgreSQL upgrades are hard on Saturday June 25, 2022 @07:30AM (#31874359)
CockroachDB and others come with huge downsides in performance and features. I keep trying to see of these databases are a good fit for me but just the sheer time it takes to import my database makes me shudder. I've used the Aws cloud hosted free tier of CockroachDB but ran into transaction timeouts on very moderate loads. There is a reason these databases aren't seeing massive uptake despite their lofty promises.
Have considered and have been told many times this is costing me revenue (which I think might be true). But I've never had a customer ask for it. Which is an important signal for me to consider a feature. Online payments are very easy for my target audience (mostly Dutch retail customers) with iDEAL so the benefits of automatic renewal is low.
I like this a lot even though my primary reason is unexpected subscription renewal. I started a membership site and tried to use every single thing I would want as a customer. One of the things was a reminder that my yearly membership was about to expire, and by doing nothing this would indeed happen. No automatic renewal (but keeping the account in an inactive state). Confident customers can renew for 3 years with a discount, but nothing will automatically renew. Turns out, customers love this attitude and happily renew when it's time.
Re:Why the full stack engineer is problematic (2020) on Monday June 20, 2022 @09:14AM (#31809970)
As a solo dev/founder I had little choice but be a full stack engineer. As long as you don't go overboard with the complexity and enjoy learning, it is very feasible to master the entire stack sufficiently. For me keeping things simple is having a single repo, everything in TypeScript and using popular libraries and frameworks. No kubernetes but a single beefy server with a hot spare. I think being responsible for the entire stack is what makes it so interesting.
Re:Three Arrows Capital reportedly facing insolvency on Friday June 17, 2022 @06:20PM (#31785154)
I think every cycle has dramatic stories. To me this is just another downturn where I buy with confidence and wait till the tides shift. I maybe wrong and that's fine. But history often rhymes.
Thanks for highlighting this side of "Illegal drugs". For some time I had to order Naltrexone (LDN) for my partner with ME/CFS with bitcoin as it was impossible to find a doctor who could subscribe this, let alone know about this specific treatment. She benefited greatly and it would not have been possible without very spammy looking pharmacy sites and bitcoin. Luckily things have improved and this is now possible using regular channels.
I see it as a benefit. No bailouts means a proper cleansing of bad parties. It empowers good projects, vs rewarding bad behavior.
Re:Bringing Forward the End-of-Life Date for Node.js 16 on Sunday June 12, 2022 @03:21AM (#31712358)
I've yet to experience a painful Node.js update. Backwards compatibility has been very good.
Re:Monorepos in JavaScript and TypeScript on Friday June 03, 2022 @02:12AM (#31604838)
I had a similar realization that setting up a monorepo with lerna or workspaces was going to be challenging. For a Next.js + custom TypeScript / Node.js backend I decided to just add the backend in its own folder with a child tsconfig.json. This way you can have the backend compile to its own dist folder. No need to fiddle with the complex under the hood bundling that's going on in Next.js. It gives you a single git repo and backend and frontend share the same typings. To make things easier you can setup paths in tsconfig.json and use module-alias in package.json for things like

  import {IUser} from '@shared/interfaces/users/IUser'
I've experimented with migrating from PostgreSQL to CockroachDB and YugabyteDB. It makes sense that a newsql DB is slower but compared to to a local PostgreSQL cluster it was unacceptably slow. You lose features and are now dependent on a heavily VC funded startup that may not make it.

Older »