skysight-inc/HackerNews huggingface dataset:
The reason they are tilted is to maximize irradiance hitting the panel. At a 0 degree angle (flat on the ground) you get a a lot around noon and then very little.

This approach surely reduces land usage but what is the output per acre?

I’d be really surprised if it’s higher than with tilted modules.
> you need extra power to run the AC because of the sloped windshield

My impression was the the complaint about the sloped windshield was primarily about snow; the air conditioning complaint had more to do with the enormous size. It's a big glass greenhouse.
Good to see this project here! Have you added support for permissions already? Would love to integrate this in https://github.com/ossillate-inc/packj
Ah the interrupt handling a bunch of unnecessary things... Z80 has IM 2, you set a page-aligned 256 byte buffer, point the I register, enter Interrupt Mode 2, then you have your own custom interrupt handler instead of the one provided by the ROM.
I've noticed a very big difference between comments about rust on general programming sites like here and /r/programming and comments in rust specific spaces. I find people in rust-centric spaces to be calm, reasonable, kind and pragmatic. Some of the worst rust evangelism I've seen comes from posters who I'm not even sure have written serious amount of it.

I agree with you that it can be really off-putting. From my perspective what you are seeing could be more of a comment on some of the know-it-all dilettante types who fawn over trendy tech in comment sections than the rust community itself. I've always had great experiences when reaching out for help in discords, user forums or other spaces. I've seen similar patterns with other trendy technologies in the past too.
Rust has a well designed macro feature that can make it easy to add custom domain-specific syntax for use in Rust programs. We shouldn't underestimate the impact of that as a productivity enhancer, it's getting a lot of use already in Rust web-backend stacks.
> I work adjacent to truck drivers in the US...

Likewise. And you're correct.
What is this council? Isn’t Elon just making all these decisions by the seat of his pants now?
So what's your point? That Twitter's mission statement has always been purely empty PR?
Has nothing to do with the body shape. 2 simple examples:

1. I don't think I've heard anyone (who doesn't work at Tesla) ever say anything positive about the driving yoke.

2. Using touch screens for everything. Obviously touchscreens have the benefit of allowing the UI to be reconfigurable, but other companies have done a much better job of having important physical buttons/controls where it makes sense.
This is a free "equiz" I wrote, which is like an ebook except you have to go through the quiz once with any score, then it unlocks the 'book version' you can review. I hadn't seen anything like this before, but thought it would be a creative way to get my points across, for my niche audience...

It all runs client side in 500 LOC of TS/javascript. I'm a backend programmer which you can probably tell.

Although I like hacking on computers, I find hacking human brains with logic to be even more satisfying.
The displays have downward-facing cameras covering what looks like the blind spots next to the cab
Which means more cabin room, which means more comfort for resting/sleeping/relaxing in addition to driving for folks that literally live in these vehicles for days or weeks at a time.

> For this reason I don't expect to see the Tesla Semi in Europe soon

I'm not expecting to see the Tesla Semi in the US soon either... it's a product in search of a problem.
Actually zstd makes that worse too, somewhat paradoxically. At least in this case, because Zig uses xz for their tarballs. (If they used gzip, it would be the other way around.)

The reason is that compression algorithms usually can't make further reductions when re-compressing already-compressed files. And xz has a higher compression ratio than zstd, so when you stick zig1.wasm.zst into a tar.xz file, xz is deprived of the opportunity to work its more powerful magic.

As a test, I got zig-0.11.0-dev.638+5c67f9ce7.tar.xz from https://ziglang.org/download/ , extracted it, and rebuilt the tar.xz myself. Then I replaced stage1/zig1.wasm.zst with stage/zig1.wasm and rebuilt the tar.xz again.

Results:

$ du -sk *tar*
168136 zig.new.tar
14500 zig.new.tar.xz
166416 zig.orig.tar
14568 zig.orig.tar.xz

So, zig.orig.tar is the uncompressed tarball that contains zig1.wasm.zst, and it is indeed smaller than zig.new.tar. But the .tar.xz files are the other way around.

Not using zstd saves 68K.

=-=-=

Also, in the process, I accidentally discovered something else that makes a bigger difference.

Since I knew the order of files within a tar archive can affect the compression ratio (due to data locality), while doing my test, I used "tar tf" to list my tar file's contents and compare it with what I downloaded. It didn't match, so I knew I wasn't doing an apples to apples comparison.

So I added "--sort=name" to my tar commands. And both of my tar files ended up smaller than the one I downloaded:

$ du -sk zig-0.11.0-dev.638+5c67f9ce7.tar.xz
15152 zig-0.11.0-dev.638+5c67f9ce7.tar.xz

Just adding the "--sort=name" option to tar saves 584K! That's around 4% of the entire tar file. Locality matters more than I thought.
> make a seat that can slide to the side

I wonder if that would even be sufficient. The sloped sides mean that even if the driver can sit directly next to the window, there's still a hard limit on how close he can get to whatever he is next to.
> it, I'd have to look up what the name means first or what it actually requires.

Nobody says, "implement fizzbuzz." If they did want a fizzbuzz program, they will explain "write something that counts consecutively til 100 and prints fizz if the number is a multiple of three, and buzz if it is a multiple of five."

More importantly, few places ask for literally the fizzbuzz function; it stands as an example of "something trivial with loops and conditionals." It is not measuring competencies, it is weeding out those who would def not be able to code from coming onsite and wasting everyone's time.

If the interview question is missing context you don't have, let the interviewer know. It is either a bad question or intentionally missing info to encourage you to ask clarifying questions.

As for the style of question, people realized that fizzbuzz was too easy and so leetcode problems were born. In reality, companies should instead strive to make Work Sample questions, those that are very similar to the work that will be done.

To do this, I recommend taking a recent problem the team solved and minimize the scope and required institutional knowledge down to something that can be coded up by an existing teammate in N minutes and give the candidate 3N minute to solve it (15 min/45min works well enough). My last two questions from this method included debugging a buggy nightly-ran script and some malformed sql data that "customers noticed something was wrong" and the other was focused more on implementing a cache in a way to allow easier testing and metrics.
TBH, the Semi was designed with that thought in mind, for better and worse. I'm sure its a very different market from the owner operator.

I can't imagine a single case where this would be practical for an owner operator at the moment, but I'd love to be corrected.
> I know there was a lot of competition inside Apple between the AppleII and Mac divisions, and I suspect the IIGS was hobbled so that it didn't eclipse the entry level Macs.

That's exactly why. Apple didn't want the GS cutting into Mac sales.
Given that Alexey Leonov had to partially manually deflate his suit in order to get back in the capsule, and hypoxic death is actually euphoric, a suicide pill doesn't seem to make much sense.

So many questions: did he tape the pill to the inside of his helmet some place he could reach it with his tongue? I presume it's impossible or nearly impossible to pull your arm out of the sleeve of a Soviet space suit without remove part of the suit. Was the plan that he could remove his space suit helmet in the middle of space, so that he could place the pill in his mouth? Was he expected to hold the suicide pill in his mouth for the duration of the spacewalk and be very careful to not accidentally swallow it or choke on it?
These criticisms all miss the point, assuming that this vehicle was designed for drivers to use to ship actual goods instead of investors to view and throw money at.

I suspect this design is quite good at that.
Good riddance. If the EU wants to outlaw that business model, then that's their prerogative. I wish the jurisdiction I lived in would do the same and more.
Why not create an HTML file with 4 side-by-side IFRAMEs, each containing one of these 4 sites?

That sounds like it would achieve both your aims (including refreshing them all at once).

(Unless one or more of the sites doesn't like being in an IFRAME)
The other electric semis have half the range.

https://twitter.com/TheEVuniverse/status/1599487909156880384
What rumors are you talking about?
I mean wasn't there evidence back in 2016 of Russian campaigns making various Twitter accounts on both sides of the political spectrum pushing and shifting the conversation?
> "The angled windscreen means [...] cab overheating [...] You can solve it with A/C of course. Which will use even more power, shortening your range."

He is explicitly claiming that the angled windshield will increase power consumption and shorten range. I think it's pretty clear that the opposite is true even in the worst case.
Seems like a strange vanity project then. The new roadster would be a lot more fun!
Cost-per-mile is cheaper from electricity than from diesel, and it's expected to have lower maintenance costs too (fewer moving parts, no oil changes, etc)
It's a little slow. Any way you can speed it up?

Always a fan of splitgraph.
> How discredited is VAM actually?

Diane Ravitch has an entire book about this. If you read the two chapters about the epistemology of the statistics behind VAM, you can see it's actually pretty similar to Theranos, an idea that can't even work on principle regardless of the technology or how it's implemented:

https://www.amazon.com/Death-Great-American-School-System/dp...
Following that site, I find https://www.gnu.org/software/mes/

> GNU Mes is a Scheme interpreter and C compiler for bootstrapping the GNU System.

https://guix.gnu.org/en/blog/2020/guix-further-reduces-boots...

> The Scheme interpreter is written in ~5,000 LOC of simple C, and the C compiler written in Scheme and these are mutual self-hosting. Mes can now be bootstrapped from M2-Planet and Mescc-Tools.

This is important work these folks are doing. I'd love to see some distros pick it up and periodically show that they can start with some files on disk and a ten-key. USB drive and a UEFI console?
I'm guessing that this author is European. Just a guess because a lot of the criticism seem more applicable to Europe, as most of the complaints are ones that I have heard comparing a European cab over engine truck versus an American conventional truck. Also, there tend to be fewer situations where American drivers need to get out, except at rest stops and weigh stations. Weigh stations (from what I understand, not an expert in this field) are automated in the USA, while rest stops require disembarking.

Cab over versus "Standard" almost always come down to the maximum length of a truck being determined with the cab in Europe, and without in the USA. The vastly shorter trip duty length is also a factor - you get in and out much more frequently in Europe.
power outage is a common condition of modern institutional planning exercises.
Elon Musk's image is built on the prestige of creating products that fit a specific niche. The entire product is the toy, not the individual object.
If a person makes an argument, and you rebut it with a bunch of unrelated arguments, the original arguer isn't obligated to address the unrelated arguments. You think they are, but in fact, that's the coercive argument, not mine.

The assumptive close might sell a used car, but "you just won't admit it" isn't especially persuasive on a message board.

If I wanted to control the debate (or however you'd choose to put it) on this benighted subject, all I'd have to do is keep posting on the thread, which immediately and thankfully got yanked off the front page by the flamewar detector. Oh, wait. You caught me! :)
The Tesla cars have strange things in them too where it seems like they were designed by people who don't use the cars for work.

The prime example being the lack of coat hangers in the car. People who use their car for work often have to carry dry cleaning or uniforms or other hanging items in the car. They eventually made one you can buy as an add on, but it was strange that it didn't have them.

Also the whole tablets thing (also mentioned here). The cars have the same problem -- it's really hard to do anything by touch and they are always glowing at you. This sucks for everyone but especially people who use their car for work and most likely are trying to make a call or do other things they probably shouldn't be doing while driving.
It all comes down to the economic tradeoffs. Panels are cheap and everything else is expensive.

If you can get 75% efficiency for half the cost, your return on investment is 50% higher
Didn't it use the 80 column screen? It was my experience that the C128's 80 column screen was an absolute dog. I was pretty handy with 6502 assembly language but trying to get anything onto that screen was just disappointingly slow. Maybe I was doing it wrong, but it seemed like you had to put every last screen address into that display controller, and that controller itself required you to select register numbers before putting the values in.

So just to write one character onto the actual screen required six writes into the controller chip. Adress-low-register-number into D600, screen address LSB into D601. Then address-high-register-number into D600, then screen address MSB into D601. Now you're ready to write 'A' into the actual screen buffer! So, write-data-register-number into D600 and 0x41 into D601!

Do you want to put a 'B' on the screen right after that 'A'? Repeat the above - six more writes to get the 'B' showing! Why they didn't embed an auto-incrementing screen address counter in the controller is beyond reckoning. At least that way you'd only have need to set the address once, and could then leave the select register (D600) parked on the write-and-increment register, and merrily stuffed your display string into D601 with a relatively tight loop.

Presumably the Z80 had to put up with the same annoying 80 column controller. That can't have helped.
Facebook didn't have a leg to stand on. Their justification was utterly ridiculous. The only insane thing is that they made it this long.
Besides the fact that other electric trucks already exist, I question the roadworthiness of a design that doesn't have any instrumentation directly in front of the driver (like a speedometer...) and that puts the driver several paces and a corner away from a door, which seems like a distinct disadvantage in the event of a crash or a fire.
For whatever it’s worth, I’m an advocate of Montessori and I’m not left wing in the slightest. The things I like most about the Montessori approach are the focus on fostering independence at a young age and (some) freedom to focus on what the student is interested in.

I don’t think of either of those concepts as mapping particularly well to any left-wing ideology I’m familiar with except, perhaps, the back-to-the-land hippie movement.

Contrary to some of the BS in this thread, the kids do, in fact, learn to read and do math.
I mean, a lot of car buyers value form over function
If you work with kids you can get some gross classification benefits from those temperaments which appear to be drawn from Vedic roots which go back much further.

Are they pseudoscientific? Maybe. They predate science in origin, and so far afaik science hasn’t demonstrably improved on them in a way that can be reliably reproduced.
> This one seems like the worst one of all these criticisms.

Weird that so many people can't figure out what was meant here.

I know the literal English is ambiguous but it should be obvious what was the intended reading.
Didn't the guy in the video point out that there are already a few electric European trucks? So we don't even really need to speculate about efficiency, cabover design, and all that, we should be able to find real numbers somewhere. At least pretty soon if not already.
Oh, I get it now. This complaint goes back to the whole sleeper cab problem. Its not a sleeper cab, so differentiating a dirty section from a clean section like that seems less important to me.

I get his point if he doesn't want his dirty boots near his bed in the back, but that's impossible with this setup anyway.
If you want industry buy-in, you generally need the industry to be on-board with what you are doing.

Building some product in a dark warehouse, then thrusting it onto the industry is a recipe for rejection and failure.
The cost per mile will be radically lower IF (big if) customers can actually achieve the wholesale electric rates that Tesla estimates are possible. Like, dramatically lower. The cost of diesel over 1 million miles is going to be north of $600k easily. At Elon's "guaranteed" 7¢/kwh the cost to run a Tesla Semi over the same mileage is about 1/3rd.

This truck is designed to be an efficient workhorse for short routes with owned fleets.
Buy a trickle charger, they cost under $20. :-) That being said, leaving a car sitting for many months is not great without fuel stabilizer IIRC.
Would it not contribute to flooding as well, unless drainage is somehow improved around each panel.
I haven't read many people who actually have a car with the yolk have anything negative to say about it. Most of the comments I've seen are "yeah it was weird to get used to, now I like it" with a couple "I returned the car".

Agreed it could use a few physical buttons (but not many, voice control + the steering wheel controls are the majority of my usage). They also really need a new lead UI designer.
Past discussion of this bug: https://news.ycombinator.com/item?id=16082861
Do you still think index funds like Vanguard Total World is good to invest in now, as you watch stock market slowly losing steam this year?
It's possible to have that same hardware headlight and control distribution patterns/behavior in software
That's a slightly high standing-wave ratio; they need to tune their antenna better...
I'll concede ill-positioned, but the 128 was the logical upgrade for 64 owners, not the Amiga. CP/M was always a tack-on to deal with the incompatibility of the CP/M 2.2 cartridge, which is why the Z80 was on the logic board in the first place (Bil Herd has explained this in detail). Your post basically says the 128 sucks because its CP/M implementation does (which I won't dispute), but the 128's native mode is a lot stronger than CP/M and you got nearly perfect 64 compatibility to boot. That wasn't "bad" as a follow-on to a stratospherically popular home computer.
Same.

1. Ask chatgpt to write the code

2. Debug the obvious errors

3. Ask stack overflow to find the non-obvious errors

4. Repeat

You accidentally become a better programmer like the old days when people would learn by typing in listings from compute.
>The opinion of someone who has actually driven a Tesla Semi through a weigh station would be infinitely more relevant than anything you, I or the OP have to say.

Thank you for quickly dismissing the opinion of someone who has experience driving semi-trucks and currently works adjacent to that industry, interacting with truck drivers on a daily basis.

I see a massive, massive flaw in this design based on my own experience but, "Nope, shut up, you haven't driven the new one, your opinion is invalid". Got it.
that was a thing with openid but it pretty much died out.
A Makefile to compile a Maven/Gradle-style project layout using a custom JDK
Millions of kids have seen mall Santas over decades, it's very rarely problematic.
I think this is the big difference. The tone in comments about /r/rust is dramatically different than the tone in /r/programming. I often see some pretty crazy RIIR evangelism in /r/programming.

I don't know if this is a comment about rust the language or reddit commenters.
Ask HN: Effective strategies for retaining and reusing knowledge from books
If you read any non-fiction recently, what methods did you use to retain the knowledge you gained from the book? Taking notes, making a summary...?

How do you apply what you have learned in daily life? And how will you remember doing it six months or a year from now?
- Re-reading the book?
- Browse your notes/summary?

I often have trouble retaining the knowledge I gain from reading books and am interested how other HN members do this.
One hopes that between boondoggles like this, the roadster, cybertruck, yoke, FSD, not to mention Twitter, that people will become more skeptical and realistic instead of swallowing everything Elon says without any critical thought.
https://www.reddit.com/r/java/comments/zgc50m/a_makefile_to_...
> According to Lafargue, wage labour is tantamount to slavery

It does seem to be quite useless way to look at the world.

It seems that they are unaware of what slavery actually means or deliberately mislead. Or Wikipedia is inaccurate.
Love this. I tend to be lazy at least every Thursday+Friday. I did a little work during that Argentina WC game just now and am now logged off for the day after two hours of distracted work.

Luckily, I'm stretching some work from Wednesday with sawdust ;) so no worries

Remote work really has been a game-changer this last decade. I've gotten effectively paid to have fun more than to work.

I think I'll go work on an art project I've been putting off now..
You think that drivers won't be asked to do 3 trips a day, or that the truck will never break down miles from anywhere?
A screen reader is replaced by the audio, and otherwise for you to use the webpage you’re looking at it so you can see. What’s missing? I guess if you rely on braille because you’re deaf and blind?
Still can’t hand papers out the window, which happens to all trucks (weigh stations aren’t optional, etc).

Still getting mud all over the inside with the door behind the seat. Even if you aren’t sleeping in it, you’re spending time there.
Exactly 6 times. What's happening is if the result is 1e<something>, a roundtrip to the clipboard results in 1<something>. I.e. 1e20 becomes 120.
Eclipse Vert.x 4.3.6 Released
Here he goes through some of the steps to making this (1:20)

https://vimeo.com/771406693
> how would it reduce costs

https://youtu.be/BiJ45_hXJe0?t=69
Nazex is a saline solution nasal spray. If your Nazex is a powder, it's so old that it has evaporated, cold enough to freeze, or it's not Nazex.
Rc/Arc requires allocation, which limits its usefulness for embedded programming. It may become more useful once local allocators get stabilized, which would mean allocations can be made even absent a general heap.
I'm not a designer but one principle I've adopted in most things I purchase is to minimize complexity. My goal is always to optimize for "least willpower consumed". Because I know that if its not easy to do, I'll just skip it after a long day.

If I was making something for professionals who might use the tool for long, tiring hours, I'd probably want to give them the least bit of complexity possible. At the end of an 8 hour shift, how many truckers will have the energy (or rather, spare willpower) to press a button, wait for the mirrors to retract, clean it, and press the button to get it back into its original position? Compare that to the much simpler single-step current process (grab cloth, clean mirror).

The fewer clicks, the fewer steps, the fewer movements something takes, usually, the better.
You mean Ukraine ?