News for hackers. Stuff that matters.

oxplot

Re:Your users will do what you make easy on Monday November 08, 2021 @04:10AM (#29147430)
On a related topic, I found the Badass users book to be very insightful and practical: https://www.amazon.com/Badass-Making-Awesome-Kathy-Sierra/dp...
Re:Why SQLite does not use Git (2018) on Saturday November 06, 2021 @04:20AM (#29128366)
Anyone using patch SCMs like pijul?
> they will only investigate if they "see a trend".

That's your answer right there. It's awful what's happened to you and your car but if this issue affects one in XXX (some large number) customers, it doesn't warrant the NHSTA's time which I'm sure has a large existing backlog of issues to investigate.

Re:They don't even know the fundamentals on Monday November 01, 2021 @09:55AM (#29066644)
Yeh, um, no thanks. I've had to deal with too many race conditions, random data loss and week-long-debugging of locks to brush off the "fundamentals" as nice-to-have.

It doesn't matter if you're a frontender or writing a shell script to automate something. If you don't understand atomicity, race condition, locking, etc., not only are you going to shoot yourself in the foot and tear your hair out when shit breaks randomly, but you're going to subject the poor souls who come after you, to unnecessary suffering.

One doesn't get good at these fundamentals by getting a Comp. Sci. degree. All of it can be learnt in a few days. What's important is to keep evaluating your code and design all the time against it to ensure you're not building on crooked foundation.

Re:Starship is still not understood on Thursday October 28, 2021 @12:25PM (#29027863)
> How do you know what answer the people who voted for the question wanted to hear?

Interesting point. My intuition tells me that most people who are looking to get paid are the ones asking the question.

Re:Starship is still not understood on Thursday October 28, 2021 @12:18PM (#29027781)
That’s not apple to apple comparison. Try other vehicle manufacturers and see where your numbers end up. Ramping up a multi thousand part product with hundreds of suppliers is a whole different ball game than scaling an online website.
Re:Starship is still not understood on Thursday October 28, 2021 @11:09AM (#29027009)
> spend so much money on it

If you actually look at $$$ going into space development, it's minuscule compared with say, just marketing cost of Windows Vista ($500 million whereas development of Falcon 9 rocket was in $400 million range).

Re:Starship is still not understood on Thursday October 28, 2021 @11:00AM (#29026886)
Even if a religion, sure as heck the best out there, by a large margin:

1. Got the best miracles (two building sized Falcon 9 boosters landing side by side after an orbital launch).

2. Promises exciting future, full of explosions, adventures and memes.

3. Doesn't require you to believe it based on bad evidence (already delivers the cheapest and slickest rides to space).

Re:Starship is still not understood on Thursday October 28, 2021 @10:52AM (#29026770)
I'm no financial guru, even enthusiast, but my impression is that your average investor is interested in very short term profit. If you listened to last Telsa's shareholder meeting, one of the top questions was whether Tesla was going to pay dividends! People expect a company that's ramping up faster than any other in the history, building largest factories left and right, to pay dividends to its share holders! I'm in awe how they didn't just laugh the question off and didn't take back the shares from those shareholders (only if they could).
Re:Starship is still not understood on Thursday October 28, 2021 @10:44AM (#29026689)
Bezos is a household joke even in Elon's household. Elon is a nightmare in Bezos'es. That's where the difference is.
Re:Raspberry Pi Zero 2 W on Thursday October 28, 2021 @04:58AM (#29023898)
As for the RAM limitation, zswap is a great way to get some more RAM at cost of some CPU cycles which on the new Pi won't be an issue.
Re:Feature comparison of ack, ag, Git-grep, grep and ripgrep on Sunday October 24, 2021 @08:39PM (#28983341)
Hmm — there is a project that allows you to compile a single binary that is cross platform across Linux, Mac and Windows. Wondering if ripgrep can be compiled in such a way and that would make it very close to the portability you have with ack.
YMMV quite a bit depending on OS, usage, etc. I have a 6 yr old Thinkpad (which btw was gonna replace with a framework and didn’t).

It’s plugged in 99% of time, so battery health is not a problem. I think it lasts 2 hours now. I’ve nodded the charging port to USB-C so I can keep it running on an external battery in rare occasions when I need to.

It has 16GB of RAM which is still plenty on Linux and with the kind of apps I run and my dev setup. But when time comes that I need more, I’m gonna trade some CPU cycles and compress the memory and get maybe several more GBs out of it. SSD is infinitely upgradable as it’s a 2.5” drive, so is the WiFi and it also has a M2 slot which I can use for another SSD or a LTE modem.

Linux support is perfect. With cheap cloud computing, I don’t think I’ll update the laptop for next several years.

Keep in mind that Skydio currently manufactures and sells affordable drones ($1000 USD) that can fly autonomously through pretty much any environment, including forests.

Disclaimer: I don't work for them nor affiliated - just been following their progress from a few years back and can't wait until they start selling to consumers in Australia.

[1]: https://www.youtube.com/results?search_query=skydio+2+forest

[2]: https://www.youtube.com/watch?v=UQlyV0XqoSs

Re:Tesla’s headquarters will move to Austin on Thursday October 07, 2021 @09:49PM (#28794766)
> it always bothers me what happens to the employees

In this particular case, not much. They are expanding their factory in California. They are not moving all their operations.

Re:Tesla’s headquarters will move to Austin on Thursday October 07, 2021 @09:48PM (#28794756)
> Now that Elon has extracted a bunch of subsidies from California

to move towards a sustainable future, he's moving on to Texas. Hell of a great use of subsidies.

Re:Why didn’t auto-braking stop these crashes? on Thursday October 07, 2021 @09:45PM (#28794726)
Damn it — fell for this again.

All that matters is whether you are more likely to get into an accident/get injured in a Tesla vs other cars in the same price bracket. That's it! All these slice and dice reporting is of little value.

Re:Why didn’t auto-braking stop these crashes? on Thursday October 07, 2021 @09:16PM (#28794506)
Has journalism been this lousy forever or is it just recently? Quoting numbers of complaints per manufacturer is meaningless.

How many cars with the given feature turned on exist from each manufacturer?

How many miles driven with the given feature on?

What speed were these cars at?

That’s just from top of my head.

Oh wait? Complaints? How is that a measure of safety? Let me add some more:

How many people were injured/killed?

What was the cost of repair from the accidents?

Re:The naughty username checking system used by Twitch on Wednesday October 06, 2021 @10:00PM (#28780927)
This is pretty much the same problem as Email spam. There needs to be a service/collaborative project to filter these, instead of each app hacking up an ad-hoc way of doing it.
Re:Effective Go on Sunday October 03, 2021 @07:57PM (#28741616)
Re error propagation: look at standard library’s JSON encoding source code. They use panic internally to bubble up errors from recursive calls and have a recover at the API boundary which turns it into an error value. I thought it was a neat trick, until error handling matures further.
Oh wow! 4000 people and still hasn’t reached orbit? WTH are these people doing?!!! I didn’t actually realize how large a workforce they had.
Re:Rivian S-1 on Sunday October 03, 2021 @09:44AM (#28737093)
> I care for human centered design. I care about technology with responsibility without data exploitation. I care about privacy and transparency.

That is idealism, definitely necessary in small quantities but what moves things forward is pragmatism. The former is more of a guide than a prescription. E.g. human centered design is costly - when you're pushing the envelope, you can't have everything in utmost polish (and a mere glance at any part of history of new tech should make that obvious).

Responsibility without data exploitation: again, pragmatism - if Tesla is still doing this in 10 years, then ye, I'd find it questionable, but right now, Tesla is the only entity on which to build hope on, if you actually believe and care about what they're trying to achieve. If you don't or think it's all for Elon's pocket, then you're mistaken (with plenty of proof around) and I hope you spend some time to challenge your beliefs.

Privacy: this one's actually a balancing act. You want perfect privacy, go in the woods and hunt. In SaaS case, you trade some privacy for time and money saved.

> Your arguments are apologetic in my view.

I'm not sure how to express it without it sounding that way!

> Faster? For what? May be tomorrow you will rationalize mass control with chip implants, because it is "progress" and this will get you faster toward the ultimate life goal : corporate profits.

Pick 10 things your life depends on today (some hints: medicine and medical tech, transport, ...) and you'd be hard pressed to find any of them that don't trace back to so called "corporate profits" in capitalist nations. It's not the ultimate goal as you put it. It's the requirements to be in the game. If you wanna make large scale impact, you need capital, which comes from investors whom you need to keep happy. That's not to say no one goes in for the money, but if you spot a smart person who's earning it the hard way, it should be a good signal that they're not doing it for the money (hint: leading the first publicly traded car company in over half a century where every other ones in the country have gone bankrupt - many easier paths to making butt load of money faster).

Re:Effective Go on Sunday October 03, 2021 @06:33AM (#28736044)
A bunch of other docs I've looked up number of times and found handy:

- Slice tricks: https://github.com/golang/go/wiki/SliceTricks

- Rest of the Golang Github Wiki: https://github.com/golang/go/wiki#additional-go-programming-...

- Spec - very approachable: https://golang.org/ref/spec

- Standard library source code - clean code with lots of idioms to learn from: https://cs.opensource.google/go/go/+/refs/tags/go1.17.1:src/

Re:Rivian S-1 on Sunday October 03, 2021 @03:44AM (#28735325)
> And those were your "good" examples.

That was me searching for a minute. If you actually care to learn something, you'd spend a few hours of your own time looking for what's actually true. If I was to go out of my way to show good examples (which I'm not going to do, for your lazy ass), you would say something like "oh great, my 10 year old nephew can do that".

So I'm not gonna bother with you pal — I'll convince people on the fence, they'll take care of convincing you.

Enjoy your video games.

Re:Tesla Q3 2021 Vehicle Production and Deliveries on Saturday October 02, 2021 @09:45PM (#28733849)
Not sure where I read this but Tesla seems to rely a lot more on software than specialized chips so they can swap them out for another one that's available, with lot less effort than other manufacturers.
Re:Rivian S-1 on Saturday October 02, 2021 @09:33PM (#28733785)
You are literally confirming what my grandparent post said:

Where do you hear about all the time Teslas saved lives? You don't, because even throwing evidence in people's face, they only list the fuck-ups.

I rest my case.

Re:Rivian S-1 on Saturday October 02, 2021 @09:31PM (#28733780)
> Testing autonomous vehicles on the public road is dangerous and non productive in any way or form

Where are the accidents after many months? None, so nope, not dangerous just because you think it is.

> Exactly. Last time I checked R&D is corporate responsibility not public data exploit or "free work". People don't get it at all. If you will use my driving data, you must pay me or give me some incentive. I work for money, you are selling expensive product so how about half the price?

Oh so it's money problem now. If Tesla paid people for Beta testing, it'd be fine? So you're ok for people to allegedly (which I don't agree with anyway, but most of the rest of you do) risk each other's lives as long as they get paid.

Well, you can say the same about Apple, Google and pretty much any other company that runs Beta testing. People rush to do it for free and wait in line. They are compensated by having access to latest and greatest without waiting.

You think getting paid means they are not exploited? How about paying you for you kidney. That's OK? You don't seem to understand what being exploited means.

> The technology must be produced and tested to death, before is introduced to public roads. Touch interfaces implemented without any concern of ergonomic prerequisite are proven distraction and risk.

Stop with the blanket statements. Where are you numbers that shows Tesla's are getting into more accidents? You don't have it because it's not only there but it's the opposite. Tesla's get into far less accidents that general fleet (those numbers on Tesla's report).

> You can check the sales stat of NAS servers in recent years or resurrection of the flip phone.

You look at a jump in NAS servers and flip phones and conclude that they're going to take over SaaS and slabs? Go look at the relative jump and magnitude of SaaS increases too.

> Yes, some people got madly rich on marketing Cloud and AI scams and "user generated content", so what?

Ye, the fact that a one person with a few bucks can now access what was only available to few multi-nationsal a decade ago is a scam. Do you also think the Earth is flat and COVID is a hoax?

> Moving everything to SaaS model is clear madness.

If you're actually trying to do something of value, and someone takes off a huge payload off your shoulder so you can get there faster, you'd be a fool to not do it. Time is the ultimate currency here and anything that buys you time is a win. So in principle, SaaS, IaaS and any other XaaS is a win.

The only time it's not a win is if one is either mandated to keep sensitive data in-house, or runs such a large/custom workload that no other provider can economically meet.

Re:Rivian S-1 on Saturday October 02, 2021 @10:30AM (#28728837)
These are FSD Beta videos — I posted the saves videos in a sibling reply.
Re:Rivian S-1 on Saturday October 02, 2021 @10:30AM (#28728835)
Oh whoops, I posted the wrong list of videos (those are FSD Beta ones). For emergency braking and "maneuvering" out of the way, Whaam Baam Tesla Cam channel has you covered. Here are a few videos with some examples (and no, they do not go viral - no accident and no drama does not sell ads):

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

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

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

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

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

Oh and I have personally avoided an accident so far when a whole bunch of cars on the highway slammed on the break and autopilot sounded an alarm and braked. So there you go.

Older »