Hacker Newsnew | past | comments | ask | show | jobs | submit | cesarvarela's commentslogin

If you buy an autonomous killing robot and ask it to kill someone, who's responsible?

Yup, and most are dying and getting bought by Chinese capital.

Uber spent billions trying to make self-driving work, until they gave up. Not "by design".

This cover has been going viral for some time:

https://www.youtube.com/watch?v=JSH0fXp4LoI

First ai-generated song that I had on repeat. I don't know the level of effort it required, but I don't care, honestly, it's very good.


You should also compare risk, not just returns.


There are a couple of GitHub actions that let you do this.


do you mean https://github.com/nektos/act or there is something else ?


No. Act is for running actions locally. What was mentioned is a way to insert an SSH step at some well-chosen point of a workflow so you can login at the runner and understand what is wrong and why it's not working. I have written one such thing, it relies on cloudflare free tunnels. https://github.com/efrecon/sshd-cloudflared. There are other solutions around to achieve more or less the same goal.


The industry also didn't keep up with the trackpad, which should be simpler.


Apple trackpads are so good that I prefer that over a full mouse for work


Since I switched to a macbook from a (proper) thinkpad I just carry a trackball with me when I expect to do longer stuff that requires mousing - the track pad isn't bad, but gets annoying over time. That also finalized my switch away from mice - before that I had both a mouse and a trackball on my desk, and while I still have that I can't remember when I last touched the mouse.


I actually looked for a desktop trackpad for my desktop pc that is on par with my macbook trackpad. Didn't find one available.


Apple sells an external trackpad. But AFAIK it requires the computer to have Bluetooth. Not sure how well it works with a non-apple os, though.


I suspect it does not work well outside Apple world. And that's kind of the thing with "I want Apple hardware but with Linux software": Software is actually important in the user experience with the hardware.


Maybe, but also Apple trackpads are physically better


The Apple Magic TrackPad works well on Linux, both via Bluetooth and USB-C. I used one for a few years.


Interesting. Are multi-touch gestures supported ?

(like these: https://support.apple.com/en-us/102482 )


I don't know about the magic trackpad specifically, but on my HP Elitebook I can use gestures. I'm running i3 and it doesn't support much out of the box, but I was able to configure stuff using libinput-gestures.

More info: https://wiki.archlinux.org/title/Libinput#Gestures


Just from the pictures you can tell it doesn't feel like a MacBook's unibody.


tradeoffs :)


I've found it to be at least twice as fast with practically no compat issues.


Twice as fast at executing JavaScript? There's absolutely zero chance this is true. A JavaScript engine that's twice as fast as V8 in general doesn't exist. There may be 5 or 10 percent difference, but nothing really meaningful.


You might want to revise what you consider to be "absolutely zero chance". Bun has an insanely fast startup time, so it definitely can be true for small workloads. A classic example of this was on Bun's website for a while[1] - it was "Running 266 React SSR tests faster than Jest can print its version number".

[1]: https://x.com/jarredsumner/status/1542824445810642946


I only claimed there is absolutely zero chance that Bun is twice as fast at executing general JavaScript as Deno. The example doesn't give any insight into the relative speeds of Bun and Deno, as fast as I can tell.


    johnfn@mac ~ % time  deno eval 'console.log("hello world")'
    hello world
    deno eval 'console.log("hello world")'  0.04s user 0.02s system 87% cpu 0.074 total
    johnfn@mac ~ % time   bun -e 'console.log("hello world")'
    hello world
    bun -e 'console.log("hello world")'  0.01s user 0.00s system 84% cpu 0.013 total
That's about 560% faster. Yes, it's a microbenchmark. But you said "absolutely zero chance", not "a very small chance".


That's as far from being a general JS executing speed benchmark as it could be. It essentially just times the startup speed.


Keep in mind that it's not just a matter of comparing the JS engine. The runtime that is built around the engine can have a far greater impact on performance than the choice of v8 vs. JSC vs. anything else. In many microbenchmarks, Bun routinely outperforms Node.js and Deno in most tasks by a wide margin.


The claim I responded to is that Bun is "at least twice as fast" as Deno. This sounds a lot more general than Bun being twice as fast in cherry-picked microbenchmarks. I wasn't able to find any benchmark that found meaningful differences between the two runtimes for real-world workloads. (Example: https://hackernoon.com/myth-vs-reality-real-world-runtime-pe...)


Real world benchmarks include database queries and http requests? That’d quickly obviate any differences between runtimes.

Lol, yeah, this person is running a performance test on postgres, and attributing the times to JS frameworks.


We are in the "system engineering territory" and as such it might have more to do with the way the runtime is designed and how the javascript native runtime does things than the compiler optimizations. You have to measure syscalls, memory access, cpu cache locality and a bunch of design decisions that in the end contribute a lot to the running time. So depending on the decisions taken, it can easily happen.


It depends on what. Bun has some major optimisations. You’ll have to read into them if you don’t believe me. The graphs don’t come from nowhere


I think Claude Code is the best because it is not agnostic.


Vertical integration pretty much, they if they need a feature in CLI the model doesn't support, they can just re-train the next model version.


exactly!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: