Better HN
topnewbestaskshowjobs
Log inSign up

MobiusHorizons

2,481 karma · joined Aug 2, 2015 (11y ago) · 1,136 submissions

Submissions

comment 1d ago · link · parent

Ah, thanks for the clarification.

comment 1d ago · link · parent

I believe turso did build a sqlite clone in rust that they call libSQL. I think the test suite is proprietary, though, so I'm not sure if they were able to use that.

comment 2d ago · link · parent

> replacing the motor, differential and breaking systems with in-wheel combined brake/motor units.

There are a lot of drawbacks to this strategy btw. Unsprung weight gets a lot worse, and expensive high voltage parts become much more exposed to elements and shock loads. The benefits seem unlikely to outweigh the drawbacks for most applications.

comment 2d ago · link · parent

I think Tesla doesn’t have Android Auto or Apple CarPlay. I have never driven one, but that’s what I read.

comment 4d ago · link · parent

I’m not a big fan of ai coding, but have been using them because the expectations require it now. I had been using opus 5.5, but I’ve found hydrogen great for basic stuff and neon really blew me away. I’ve mostly been using them for prototype work, which many models do a good job at, but the speed and quality seem better than opus 5.5 at least for me. Genuinely impressed, and now I’m looking for projects I had been putting off that I might be able to have it just handle for me.

comment 4d ago · link · parent

Yeah fair enough. I’m not saying modchips should be illegal either, but the comment I was replying to seemed to think pirated games were low on the list of uses for modchips. It’s important to be honest to have a good faith argument.

comment 5d ago · link · parent

Sure you could do those things with a mod chip, and I’m sure there is someone doing that, but it’s not like it was a mystery what mod chips were for. There was a whole industry selling pirated games and the same people selling the games would modify your console for a fee.

comment 6d ago · link · parent

As sso providers go, I have to say I always found Id.me quite nice to use. It always seems to send the 2fa code faster than other providers, and has so far never caused me problems. I am slightly surprised to see the hate for them in the comments. Aside from being a private company, what is the problem with id.me?

comment 1w ago · link · parent

I don’t think Putin can. He certainly doesn’t believe that would be a better outcome than continuing to fight (although he’s definitely not being realistic about that). That would be complete defeat, and he can’t admit that.

comment 1w ago · link · parent

That sounds interesting. Could you elaborate what that would mean?

comment 1w ago · link · parent

I actually can in my 1995 Suzuki carry (kei truck). It’ll stick off the end of the bed because the bed is a bit over 6 feet not 8, but the bed is completely flat, no wheel arches. And the whole truck is no longer than a modern hatchback, it just packages it aggressively. It is truly an amazingly practical vehicle.

comment 1w ago · link · parent

Interesting TIL

comment 2w ago · link · parent

got it thanks.

comment 2w ago · link · parent

bitmap fonts were the norm on computers for many years, and are still the default if you are running a computer in text mode (ie not running X11 or Wayland on linux / BSD), or using basically any low powered device with a screen. I was surprised to hear that anyone had trouble reading these, since they were just what fonts looked like on screens with certain constraints. I can understand that some people have become so used to high DPI displays and antialiased truetype fonts that they consider fonts with visible pixels ugly. If anything I would expect them to be easier to read with poor vision, since there is not much subtlty to miss out on.

comment 2w ago · link · parent

It looks like a pretty standard bitmap font to me. Very legible to my eye. What’s wrong with bitmap fonts?

comment 2w ago · link · parent

> pkg_add pkgin

NetBSD noob question: what’s going on with this command? Is pkg_add not a package manager? If you already have pkg_add why do you need pkgin? I am familiar with `pkg` on FreeBSD, and `pkg_add` on OpenBSD, but they are both perfectly good enough on their own, I never wanted to install another package manager.

comment 2w ago · link · parent

I’m not sure what you hope to prove by bringing up ir. I am quite familiar with it, but I don’t see how it’s relevant. Chrome v8 will have inline assembly routines for specific architectures for various fast paths as is pretty much standard in most high performance code. Compilers are not as good as hand tuned assembly especially when SIMD is involved. Just as a basic example strlen or memcpy in a libc implementation work this way on most targets.

As for ir in the Jit compiler, that is an implementation detail as far as I’m concerned, because the V8 guys had to write the bit that goes from IR to target machine instructions. My point there is that compiler authors need to understand assembly, which is just as true with IR as not. IR is just more convenient for implementing optimizer passes that may be common across architectures (ie where the abstractions hold)

comment 2w ago · link · parent

You will note that timeline also maps quite well on when electric vehicles started to become viable in the market . Of course battery technology also had a lot to do with that, but efficient high voltage power electronics absolutely are an important part of the equation.

comment 2w ago · link · parent

I mean sure, motor control existed before solid state switching devices, but it was also much lower efficiency and used much lower voltages. Power electronics absolutely are critical for the efficiencies and handling characteristics of modern electric propulsion.

comment 2w ago · link · parent

It is a derivative work, isn’t that appropriate? Or are you saying it shouldn’t have blender in the name unless it’s owned or officially sanctioned by the company that owns the blender trademark?

comment 2w ago · link · parent

I believe you could only use this library if the whole resulting app is also GPL.

comment 2w ago · link · parent

I take your point that code organization in assembly is hard, and not worth the performance gains over higher level languages. It’s true, we don’t write much complex software completely in assembly.

However the point I was trying to make is still relevant I think, which is that machine instruction abstraction layer (whether it is serialized as binary machine code or as assembly text) remains a critical piece of what makes high performance software fast even today.

There is a recurring myth I see on HN that suggests abstraction layers are progressive, as though humanity had evolved past the assembly/machine instructions abstraction layer to C to higher level languages leaving lower abstraction layers behind completely. That is simply untrue, and a project like V8 is actually a great example of this, since it not only will have hand tuned assembly routines, but also needs to ship a bespoke compiler which will emit machine instructions.

So even though it’s true we don’t organize our software with assembly language, it remains a key to performance. It could be a custom JIT compiler, hand tuned SIMD code (eg to handle string parsing), or even just checking what the compiler emitted (eg in compiler explorer). Machine instructions remain key to high performance.

comment 2w ago · link · parent

I think the benchmark is for layout performance not JavaScript execution, but v8 is fast because it emits assembly more so than because of the language it is implemented in. That said, I would be very surprised if there is not hand tuned assembly routines for performance critical routines.

comment 3w ago · link · parent

Ah nice!

comment 1mo ago · link · parent

does this mean if you want to add some print statements for local debugging inside a pure function that you will have to remove pure from the whole callgraph? or is there a way to treat it as just a warning?

comment 1mo ago · link · parent

it seems like in this case SIMD is one of the biggest reasons libdeflate beats miniz-oxide. at that point you are either using assembly or a library of functions that maps in names and functionality to the assembly. I think C isn't really better than other languages in that regard. Its not like its using auto-vectorization to get that SIMD support.

comment 1mo ago · link · parent

I would argue the effect is more pronounced in non-public companies that have private investors. Private equity especially does this, but VC backed startups also display extreme return on capital seeking behavior (albeit through growth rather than hollowing)

comment 1mo ago · link · parent

> While the power itself is the perfect example of the opposite, where the market should (according to theory at least) be perfect.

Markets don’t seem to want to solve for outlier situations like extreme weather events or significant hardware malfunctions. Basically I’m talking about what happened in Texas. When it’s a safety issue, it can be hard to align incentives to make planning for outliers worthwhile to market actors.

comment 1mo ago · link · parent

That seems much more sensible than what is being discussed. Sure fair use offers some protections, but youtube the platform is not required to protect individual youtuber revenues for fair use. Fair use effectivly entails an exception to the normal rules, and as such, requires actual judgement on a case by case basis instead of being something that can be scaled like content id. If you actually got sued, you could use Fair Use as a defense in court, and the judge would decide if you are right or not. In the case you are discussing, no-one got sued because youtube handled it without a court, so fair use never really comes into play.

What is being discussed would be more like if a court tried to get Google to take down individual spam bot youtube accounts that had popped up that same morning. Its rediculous because the legal system doesn't move that fast (nor does DNS), so things that require that level of heavy-handedness are typically much slower processes taking months or years.

comment 1mo ago · link · parent

Most home computers from the 8bit era shipped with basic on the ROM, and people used it for memory mapped hardware access with peak and poke commands. It was basically the operating system for some of these computers.
12345
38