News for hackers. Stuff that matters.

lukeramsden

Re:Show HN: Llama 3.3 70B Sparse Autoencoders with API access on Tuesday December 24, 2024 @05:38AM (#42501046)
Why are AI researchers constantly handicapping everything they do under the guise of ""safety""? It's a bag of data and some math algorithms that generate text....
Re:Updates to H-1B on Wednesday December 18, 2024 @03:43PM (#42454933)
Can't read the full article due to paywall but ostensibly it's due to bias rules on race and not visa rules? Sounds like visas being abused and then backstopped by unrelated rules does not mean the visa rules shouldn't be fixed.
You joke but I have seen this far too many times... in very highly valued startups...

100% line coverage though!

Not really. Do you think that this is trivial at AWS scale? What do you do when people hit their hard spend limits, start shutting down their EC2 instances and deleting their data? I can see the argument that just because its "hard" doesn't mean they shouldn't do it, but it's disingenuous to say they're shady because they don't.
Re:DJI ban passes the House and moves on to the Senate on Monday June 17, 2024 @02:19PM (#40709108)
Can start with the number of unicorns in USA vs Europe, especially when you take population in to account https://www.failory.com/unicorns
Re:Why new hires often get paid more than existing employees on Tuesday January 16, 2024 @02:48AM (#39010602)
If you can’t afford to pay the current employees that raise, you certainly can’t afford new people - the market rate is the market rate.
The best way to do this is message passing. My current way of doing it is using Aeron[0] + SBE[1] to pass messages very efficiently between "services" - you can then configure it to either be using local shared memory (/dev/shm) or to replicate the log buffer over the network to another machine.

[0]: https://aeroncookbook.com/aeron/overview/ [1]: https://aeroncookbook.com/simple-binary-encoding/overview/

Re:The Big TDD Misunderstanding on Sunday November 19, 2023 @06:42AM (#38331712)
Part of test-driven design is using the tests to drive out a sensible and easy to use interface for the system under test, and to make it testable from the get-go (not too much non-determinism, threading issues, whatever it is). It's well known that you should likely _delete these tests_ once you've written higher level ones that are more testing behaviour than implementation! But the best and quickest way to get to having high quality _behaviour_ tests is to start by using "implementation tests" to make sure you have an easily testable system, and then go from there.
Re:Why Scalpers Can Get Olivia Rodrigo Tickets and You Can't on Sunday September 24, 2023 @09:57AM (#37633168)
I did some research in to this this year in the context of maybe trying to start a business to solve this - and this was the conclusion I came to. There’s lots of threads here on HN about it too. It’s a structural, market-wide issue where the primary service Ticketmaster provide is reputation laundering, and in return, large agents and promoters agree to continue to use Ticketmaster despite their reputation.

I don’t know what the solution is.

> There are many instances I've encountered where two pieces of code coincided to look similar at a certain point in time. As the codebase evolved, so did the two pieces of code, their usage and their dependencies, until the similarity was almost gone

https://connascence.io/

Re:Opening the Codebase Up to Everyone on Tuesday July 18, 2023 @11:50AM (#36774429)
Learning to program does not equate to learning to architect and evolve over many years a non-trivial system, operate it, document it, train others on it, scale it, etc. - “unmotivated” is a bit reductive. In the same way I might enjoy some DIY here and there but don’t want to and shouldn’t be trusted to build new houses, the same goes for non-trivial systems - sometimes you really do just need professionals.

That’s not to say you can’t give areas with guardrails to non-software-engineering-professionals if you can teach them git.

The difference is that nobody has to actually accept updates that the core team make - and this has happened a few times, resulting in forks, although those cases were for things the core team refused to do - how can you “fork” a security? What is the common enterprise when forking a PoW chain?
> Even if this leads to humourously Java-esque code, it's worth it

Some people seem to get mad about the verbose naming common in Java - but it’s one of the biggest blessings I’ve ever experienced. If you name things after what they do, and that name is stupid, then it’s the quickest indicator of bad design I’ve ever seen. Good design is where every name is patently obvious and encompasses the entire purpose of the class / record / method / whatever.

Re:Container Shipping Has Cratered on Wednesday May 24, 2023 @09:35AM (#36057836)
Then the price has to go up. This sounds like… regular market dynamics? It’s still not clear why that’s a crisis?
Works absolutely fine with git, you just have to take the time to keep the pre-commit checks reasonably quick
Re:GPT-4 on Tuesday March 14, 2023 @01:07PM (#35154725)
> Should Microsoft be forced to rename itself to Microsoftandhard because they make hardware?

I and I suspect many others would not be averse to this

Re:The moral case against equity language on Friday March 03, 2023 @03:51AM (#35007291)
> and what everyone wanted most was a stable relationship, a job they enjoyed and to be able to afford a modest house. > It's reassuring that in a seemingly insane world, the kids who are coming up seem have their heads screwed on straight.

One might say that the reason is because this is seemingly becoming harder than ever in Western countries.

Re:Keep your AI claims in check on Tuesday February 28, 2023 @02:34AM (#34966653)
> spend 4 hours putting a webflow site on top of GPT APIs

GPT _is_ AI though, no? I would think that this would count. Might violate "a re you exaggerating what your AI product can do" or "are you aware of the risks" instead though.

Re:How much can you get out of a $4 VPS? on Monday February 06, 2023 @07:43AM (#34676500)
You still have to do all that with cloud though - instead of firewalls and IP tables it’s VPCs, IAM, security groups, auto scaling groups, etc etc. The reason I think it’s still probably better for Sprocket Masters to go cloud is purely because those skills are easier to hire for.
Re:Databases in 2022: A Year in Review on Monday January 02, 2023 @06:11PM (#34225047)
that's actually a very interesting idea. you could probably generate a proto schema from your edgedb schema...
Re:Databases in 2022: A Year in Review on Monday January 02, 2023 @04:55PM (#34224203)
> What I want is a new database that defines tables in terms of rich structures like proto, like Spanner.

Do you mean like https://www.edgedb.com/? Or something more... rich?

> Does this mean we could fragment an application into, say, a low-level "engine" or "kernel" in C or Rust, an application server to handle requests to it, and the view be any of a React Native mobile app, desktop app, or convenience web API?

Let me present: Kotlin Multiplatform Mobile[0] (or KMM, a real mouthful I'll grant you). Something I'm very excited about, because you could do exactly that. Seems like an interesting thing to keep an eye on.

[0] https://kotlinlang.org/lp/mobile/

(note: I agree with your approach, just making a point)

> that uses the latest Angular

But what's the migration plan for the next time Angular goes through a massive ecosystem migration and suddenly you're staring down the barrel of being massively out of date, or investing anywhere from days to months of work running just to stay in place? This is what actually seems to be the problem to me, not just in frontend either: very little is stable, and you end up piling hacks upon hacks just to try and stay up to date. People also pick new tech after being burned by previous tech doing these massive ecosystem-wide migrations and seeing how painful it is.

I wish I knew the solution :)

I’d love to know more about how one gets to be in the second group at all as a non-Googler - might make working at a FAANG worth it.
Re:WebAssembly for the Java Geek on Friday December 23, 2022 @07:19AM (#34104997)
Object pooling, mutable objects, flyweight encoding[0], and being allocation-free on the steady state are all alive and well in latency-sensitive areas like financial trading, plenty of which is written in Java

[0] https://github.com/real-logic/simple-binary-encoding/wiki/De...

Re:Staging is dead: The rise of preview environments on Thursday December 22, 2022 @01:27PM (#34096643)
Only works if you actually do pull requests. I wonder what startups like Coherence think of Trunk-based Development and Dave Farley-style CI/CD?
Re:Why Picnic Picked Java on Tuesday December 20, 2022 @02:19PM (#34070958)
In my experience (and our experience at TransFICC building middleware for financial trading systems, which is extremely throughput and latency sensitive), Java is the fastest language to work with simply because the tooling support is second to none.
Re:Devpod: Remote Development at Uber on Monday December 19, 2022 @03:50AM (#34049930)
I agree with the other commenter - in my view, a monorepo is the _best_ choice for a small company. I guess this depends on what tooling is available for your language / ecosystem of choice though. In my experience of TypeScript and Java with monorepos, you definitely need to know how to configure the tooling properly (which is certainly "overhead"), but it massively reduces the maintenance cost and increases the consistency of your tooling config. Spreading out over loads of repos means you need to share artefacts, which means package managers and package manager hosts, and a whole suite of release CI/CD which gets out of sync almost immediately.

It's also getting a lot better, gradle works amazingly well for a monorepo even with dozens of developers committing to it every day with shared caching, nx/turborepo/others are making the story for front-end/TS much better too.

Older »