skysight-inc/HackerNews huggingface dataset:
I do not think an advice like this is applicable to any programming language out there. For example, I find it hard to apply to languages which have long history and change a lot over time, like Python or Java (or C++ as mentioned in other comments). I can easily imagine parts of the standard library being written long time ago, with many modern features not available back then.

For example, I do not think it is possible to learn modern Java by reading Java Collections code. You won't see Optional<T> being used there. Instead, your takeaway might be that it is perfectly fine to return nulls all over the place.
CloudI – A Cloud at the Lowest Level
I both love and hate this comment.

But yeah, people overuse the phrase "all natural" when they mean something a lot more specific.
That's a bit too far. The Guardian, Reuters, AP, FT, The Economist, among others are real journalism. Some of them have their biases ( e.g. some FT writers' views skew positively towards the UK), some of them have opinion pieces from all sorts of people which can range from shit to interesting, but they are generally good quality journalism. If they make a mistake, they admit it; they don't outright lie and double down like US cable opinion pieces sold as "news".
I think the comment simply stated that when learning a language you should focus on idiomatic code and not optimizations. The latter which is probably present and justified in a standard library.
To the best of my knowledge the first COVID vaccine dose immune response is not short-term, except in the sense that it is weaker and therefore will fade below an effective level in a smaller amount of time. But it fades at the same rate as the second dose. The second dose just "raises" the response level higher than the first dose got it.
>> Most maintenance is basically going to be replacing tires, topping up some fluids

The only think that might be any different is the engine/fuel system. It still has a drivetrain. It has plenty of bearings, rods, suspension and brake elements that need exactly as much servicing as in any other vehicle. Go to any general mechanic shop (not a dedicated engine/trans facility). They are working on suspension. They are replacing broken broken glass/plastic bits and pieces. They are chasing electrical gremlins (intermittent faults). They are fixing fluid leaks. None of that is anything to do with the type of engine under the hood.
I'm not bullish on Tesla's or Waymos approach. A Tesla may be able to predict other drivers, but how can the planner handle a situation like i.e a cop directing traffic in a particular way, or a complicated /non-standard sign that hasn't been seen before? I know these are edge cases but even one disengagement is a big fail if your car doesn't have a steering wheel (Elon's hope)
Better have an emergency parachute for when power fails. Doubt autorotation is an option here.
Not necessarily. "delivering code" is not the same as "writing code" after all. It's very likely that half the meetings are with product, and higher ups, to discuss what the dev team can deliver, and the other half are with the dev team to discuss what they're going to deliver.

The way to avoid those meetings is to write documents instead, but you'd still not be writing code.
That's a whole other discussion. Having a good stock price does not equate to profitability. Vast amounts of money are pumped into loss making companies in the hope of future returns, either when other people pump money in to raise the price, or a profit is eventually returned. Uber has yet to post a profitable quarter, let alone year. Doordash has had one quarter in the black. This is during a pandemic, when use of these services has skyrocketed.

By some analysis, food delivery companies have a potential margin of about 2% from delivery alone. Which is why these companies are trying to find other ways to take in more per order and hopefully one day make a profit.
I've been again dabbling with this for my own amusement, deploying to a local raspi cluster and maintaining some local services that need to have repeated tasks (cron) and such.

The lack of documentation is a true struggle if you want to accomplish something but then again the source code is very easy to read and get the hang of how the thing actually works.

I can recommend this tool for anyone that is interested in making services that can be trivially distributed and made fault resistant by using the built in services such as queues and byzantine.
Looks like "Keycode" is the term for the edge markings on the film strips

https://en.wikipedia.org/wiki/Keykode
Don't think I'd drop $90k based on a spec sheet like that. I assume all this is at sea level? What if I live in Denver?
Original article says "My friends over at reddit.com rewrote their site" and seven years later it was changed to "Over at reddit.com, we rewrote the site".
Java doesn't help against exploits, there are plenty in Android phones as well.
1) This is a powered lift craft, not a plane, so it doesn't even fall under CS-23.

2) There are classes where you're allowed less in exchange for easier certification. If the craft isn't operated commercially and doesn't need to leave national airspace, certification is typically far easier (at least for anything not heavier than a medium SUV).
I assume that doesn't work for closed-source software.
> chasing electrical gremlins

Can't think in a better description for this. Thanks for this jewel.
Ask HN: Simple Linux program for making YouTube music video?
Hi,

Already have the audio track, so now want to make a really simple music video that is basically just the song lyrics (with synchronised transitions from one paragraph to the next).

The easier / simpler it is the better. Don't need anything fancy.

Thanks! :-)
There's one (and a half) last scheduled sleeper train in Japan (as distinct from luxury cruise trains), the Sunrise Izumo / Sunrise Seto, which has fairly reasonable prices, although as you say it's a conventional train and much slower than the Shinkansen.
It makes me think back to Macromedia Flash 2 - a simple vector animation system. Remember the demo of the baby on the beach with a ball. Let's get that made again, but then stop at that!
It does (everything is saved as json), but it's a bit of a hassle. Scripts are saved to a single line, so you really need a plugin that breaks them up. It's really pretty silly that isn't the default.

The other huge PITA is that touching a node in the UI causes the json to update even if you didn't do anything, and changes will often cause nodes in the json to reorder. That makes git commits very cluttered.

Merging is also very hit-or-miss and duplicate nodes are common. You can mostly fix this with another plugin that saves flows to individual files instead of one big file (default). As long as you split your flows and subflows up enough, team members will usually not step on each others toes.

I used this at work. Not a fan. If you only touched the system once every 4 months I can see the usefulness- It's easier to see the overall structure than wading through code, particularly if you're a visual person. It makes it relatively easy to pick something up that you have mostly forgotten.

It is a huge PITA if you are trying to build API features quickly with a team. Especially if there's nobody to tell you to use the plugins.
That's an explanation that only makes sense from the perspective of pure math. Many of us engineers are wholly incapable of caring about the resolution of theoretical problems. Learning how to take a real world problem and map it into the domain of theory is a special skill that is not required for pure math, because it has an intrinsically messy interface into the real world.

I suspect that a pure mathematician would look scornfully at that as a waste of time, as the whole point is the math doesn't depend on the particular instance. An applied mathematician / engineer on the other hand sees no point in the mathematics unless it is manifested in the form of physical problems.
Sadly it's not just Irn Bru they ruined. Many soft drinks now taste completely off because of the sugar tax thing here. Another favourite treat was "Old Jamaica Ginger Beer" and that's now undrinkable. Sad days for those of us who enjoyed these things as an occasional pleasure and not as part of our daily diet.
Simple isn't always better. Reusable patterns are. WhatsApp followed pretty standard erlang design patterns.

Rails and Django to some extent force a standard pattern, they're not really low dependency systems(although they are compared to most node projects). But that pattern to some extent makes sure that you can hand over the project to the next dev and he'll be able to make sense of it.

Somehow node.js has become what PHP used to be.

Whatever happened to interoperability? How are there hundreds of queuing system that use redis and rabbitmq under the hood, but you can only process things in python, javascript or ruby? The data structures are considered private.

So if you want to process your code in python you have to use the python message queue, if you want to process it in javascript you have to find a node mq. How does that make sense?

Want to do business intelligence on your javascript based system now? Gotta write javascript code. Welcome to debugging the same kind of memory leak and processing issues every other queuing system has had to go through.
i doubt 99.9% of people only eat at restaurants that only have smartphone menus
The Race Is On: NRL Argon Fluoride Laser to Advance Fusion Energy
> This is not bad advice

I was going to say this article was a bad advice.

I second the solving problems approach. It's pretty mainstream opinion really, at least among math/phys students. You can try to follow the article and feel you "understand" the topic. And still unable to solve any of the homework problems, let alone exams.
That's not the point - try having 2 or 3 way diff, pull request with just var. It's =awful=. I know most of the standard APIs (incl. overloaded methods and what not) by heart but not every little function and class in a million lines of code project.

To me var adding is mosttly an anti-feature - when using an IDE, I dont even bother to declare the stuff, it gets auto completed. When I read code outside the IDE - well it sucks. It's not the level of 'perl - write only', but at least it aspires to be.
Probably a good place to promote https://electricsheep.org/ which is a "crowdsourced evolving art" which has been running for easily 20 years.

The "sheep" (https://electricsheep.org/#/sheep) show what this idea can evolve into.
https://www.gnu.org/gnu/gnu-linux-faq.html#allsmall
Companies to Watch in Emerging Markets
Sigh… I updated the plugin, and it seems to have borked.

Thanks. I’ll get on it. I may need to do a fairly significant site upgrade. I’ve been avoiding it.
The site says this can fly with one motor out.
Negative zero doesn't exist for integers either.

(Note also that -0 is an additive identity, and +0 isn't.)
Ask HN: I keep forgetting the new habits I'm trying to form
This is something I have been struggling with: Let's say the habit I want to form is daily meditation

- research the topic a bit why this habit would beneficial

- make a plan to meditate for 10 min every day

- set up a daily reminder on my phone

- first day: do a 10 min session

- second day: do a 10 min session

- third day: something happens and I skip the session

- fourth day: I skip the session

- fifth day: I skip the session etc. (and ignore the daily reminder on my phone)

- a few weeks later: I am suddenly reminded of the habit I tried to form

Any ideas how I can prevent losing track of the new habit after skipping once or twice?
Or how I could regain my focus faster than after a few weeks?
You know what else is PITA? People complaining about open source and not contributing changes.
For the first quote maybe. But for the second ("I'm also responsible for delivering code and 50-75% of my day is meetings"), not really.

Technical Managers and Tech Leads need to participate in meetings but some also need/want to keep their coding skills and codebase knowledge sharp. A compromise is spending only 25%-50% of the time coding.

Some people are good with both and prefer to keep doing it.

There's no one-size-fits-all solution.
"generally offers way too many ways of doing the same thing"

Such as?

"Java, by virtue of being more verbose, requires writing everything out explicitly, so you really have to expend some extra effort to make your code unreadable."

Boilerplate is what makes code unreadable. Getters, setters, backing fields, all that noise, takes lots of space getting in the way of grasping the meaning of the code. Java is too much about how instead of what.
> it's lost too much ground and MS seems to be losing interest in it

wat

> our goal isn't to adopt the strategy of less successful products

This sounds like "we don't care if some other languages have great quality of life improvements, we pretend that success (for some unknown definition of success) is the only thing that matters, so we'll keep implementing one or two features every 10 years that don't work with half the language and standard lib, and still require hundreds of lines of boilerplate to work with."

In a sibling comment you're pretending that withers is a thing that will ever happen. It won't, not for another ten years. Meanwhile we're left with a language that has to resort things like Lombok to try and cut down on the ridiculous amounts of code one still has to write for even the simplest things. Or almost but not quite incompatible lists and collections (none of which have even a pretence of a DX for easy construction). Or value types that have been a proposal for 9 years, and generics with primitive types that has been a proposal for 7. And the list (or collection? or stream? or?...) just goes on and on and on.

Thank god we finally got multiline text blocks and some form of pattern matching. Wait. Those come from less successful languages. How could you?
Free Software:

https://frappeframework.com/
Yes, for signed integer division of any bit-width this is the only case that results in overflow (division by zero is another exceptional case).
" We were arguing about what the name of the company should be when Richard walked in, saluted, and said, "Richard Feynman reporting for duty. OK, boss, what's my assignment?"

""That sounds like a bunch of baloney," he said. "Give me something real to do.""

To me this strikes me as someone willing to be humble and forgo ego from time to time, which is counter to the "big ego" persona I get from reading other sources about him. Maybe I read this passage too literally.
My advice would be: to learn a new language, simply start writing some non-trivial projects in it (a few thousand lines of code or so). In some languages (like Python), the standard library is the actually important feature, in other languages (like C), it's better to mostly ignore the stdlib. Example: I started learning Zig by writing a Pacman clone (https://github.com/floooh/pacman.zig) and a home computer emulator (https://github.com/floooh/kc85.zig), the Pacman clone doesn't use any Zig stdlib features at all, and the emulator only minimally for memory allocation, parsing command line args and loading data from files.

Zig's stdlib is much more useful than C's, but it's still entirely possible to write useful programs without it and instead focus on learning Zig's language features first.

But on the other extreme, the whole reason why I learned Python was its "batteries included" standard library.
In fact Google even attempts to detect "soft 404s" and will not index those either. That's when it thinks the content wasn't found but the server still returned a 200 response. This can happen in any application but I think they developed it with SPAs in mind
> Servicing and repairing electric cars is not going to be in demand as much as repairing ICE cars ever was.

Let's test this theory with some data.

From 2016[1]:

"Last year, according to a Reuters analysis of data provided in the company’s annual report, Tesla spent $1,043 per vehicle on actual repairs and set aside $2,036 in warranty accruals to cover future repairs on the vehicles it sold in 2015. It trimmed warranty expenses by 17 percent from 2014 and cut warranty accruals by 34 percent.

Meanwhile, GM spent just $400 last year for every vehicle it sold on warranty repairs and set aside $332 for future work. Ford spent $429 per vehicle and set aside $308. Daimler spent $970 per vehicle and set aside $1,294."

Let's fast forward to 2020[2]:

" in 2020, GM accrued just over $3.4 billion and sold just over 6.8 million vehicles, so its accrual per vehicle was just under $500[...] in 2020, Tesla accrued only 1.3 times as much per vehicle as Ford, and only 2.5 as much as GM. It's still in third place, but remember, this metric is based on what a company believes will happen."

So Tesla is certainly setting aside more for warranty repairs than what would be needed for topping up fluids.

Now what could possibly require a repair in an EV, given that the drivetrain is so much simpler?

Here's Car and Driver's road test[3]:

"One of the pitches we hear often on the switch to EV ownership is that electric vehicles are cheaper to maintain. But, as we close in on 40,000 miles in a Tesla Model 3, the actual savings in service costs is turning out to be quite minimal."[3]

And loading the car up with complex electronics also creates repair pain points:

"Tesla has been ordered to recall roughly 159,000 vehicles to fix a problem in the Media Control Unit.[...] Many vehicle controls in a Tesla are accessed via touch screen, and the NHTSA (National Highway Traffic Safety Administration) began an investigation after over 500 complaints were filed about the issue.[...] Once its onboard NAND fails, the touch screen stops working, freezing the end-user out of climate controls and from using the rear backup camera. It also is said to impact “audible chimes related to ADAS, Autopilot, and turn signals.”[4]

[1]https://www.reuters.com/article/us-tesla-warranty/high-warra...

[2]https://www.warrantyweek.com/archive/ww20210218.html

[3]https://www.caranddriver.com/reviews/a30209598/2019-tesla-mo...

[4]https://www.extremetech.com/extreme/319170-tesla-ordered-to-...
Wow, this looks great -- I normally use a local plaintext file but this seems like a must-try. Will be using it this week, thanks for sharing!
That's true, but the main argument made by the website is about the space advantage, so it's very relevant that that space advantage is basically nullified by the widespread use of compression.

If your worry is parsing speed, then JSON not only has battle-tested parsers, but also has SIMD-assisted parsers which can process gigabytes a second on a single core (e.g. https://github.com/simdjson/simdjson). It would take Internet Object years to develop parsers as performant as that, even if it did, by some miracle, achieve wide uptake. So the notional advantage afforded by not having keys on each row is neither here nor there.

And incidentally, as someone who's written a handful of parsers, I suspect that this scheme would not be particularly easy to parse. You need lookahead because of optional fields, as well as maintaining state and a lookup table for mapping positions to keys, etc. I can draw up a quick parser in pseudocode or Python to explain, if you disagree.
It does. The projects feature has a visual diff editor that makes it very easy to see what is going on, and uses git as a back-end.
Important Milestones in ECommerce CRM Development
So is your point that what Microsoft is doing is in fact spyware and not technically "telemetry", since what I linked to is what they are actually doing? In that case, to avoid confusion, we should stop referring to it as telemetry.
It's Fx, not FF.
The perceived the need to keep the camera off during a meeting is a good indication there is something wrong with the meeting, not that it's a good thing to keep the camera off.

We had some recurring meetings where people consistently didn't show up. The managers first impulse was to make the meeting mandatory. But the first thought should be: why are people not showing up? Engineers hate being unproductive, it should be a signal that there's something wrong with the meeting if nobody show's up.

Turning the camera off is just a socially acceptable way of not showing up. There are exceptions of course, some being just don't like being seen or have an issue being filmed out of privacy considerations.
Can one boot the latest Windows server versions in a text mode and get something similar? (And probably more compatible as well?)
This first one entertains me greatly; how'd that go? Sounds like a pain!
Fx, not FF.
Here’s a video with more about why biking in the cold and snow isn’t as bad as we make it out to be: https://youtu.be/Uhx-26GfCBU

The gist is, like usual, biking in the snow is fine when the infrastructure is equipped to make it an effective mode of transportation. It would suck most places in North America because there is next to no dedicated bike infrastructure besides painted gutters. Those obviously don’t get plowed correctly, so it’s terrible. When the major problems like that are handled, it’s fine.
Yeah see this isn't going to work. Currently, something tiny like 20% of the price of coal and non renewable base power comes from the cost of the actual fuel. The rest is just base costs (the price of the wires, infrastructure and the actual coal plant itself).

The government charging by KWh is a market distortion that only works when everyone is paying. As long as people want power all the time, including at night and when it is cloudy or not windy, those fixed costs will need to be paid. Currently, those costs are being paid by the poor who can't afford solar panels. They are subsidizing the base power for the rich who do have solar panels but also have access to base power without actually paying for it.

What is going to happen once everyone owns solar panels and there is no one left to subsidize base power? Well prices will keep going up and up until they reach a singularity and the whole system will collapse. Then prices will have to be recalibrated to fit the actual market price. Which means people will no longer pay for base power by the KWh but instead by fixed costs no matter how much they use....

Then everyone will find they have these useless solar panels that offer no real cost advantages. Everyone will stop using them, and we will be back at square one with everyone preferring cheap, non renewable power....

Of course there is a supply of renewable, clean, cheap base power that everyone could use that would totally remove the need for destructive wind turbines or poisonous solar panels... but no one seems interested.
Where do Tesla's motors fit in on that scale? They don't (afaik) wholesale them, but used drive units are purchasable.
What makes C somewhat hard to learn is pointers and strings. Apart from that it's so small that most fulltime C developers will touch upon the entire language on a regular basis.
If the memory serves me right, Quebec has the largest number of people with genetical alterations in mitochondrial DNA. Normally 1/50000, Quebec 1/1000.

Not sure how close New Brunswick to this statistics, but this can be a contributing factor to disease onset.

The defect causes the malfunction of electron transport chain in respiratory tract of mitochondria that leads to reduced ATP production and starving tissues as the result.

mtDNA sequencing and transketolase tests may be give good hints.

I wonder if those people receive the adequate assistance? I may be mistaken, but I can imagine those patients are mostly ignored as those tests cannot be conceived at the regional labs - this is a higher level and more expensive thing.

The tests would be super helpful:

- if transketolase is bad and mtDNA is bad - this may be well a genetical disease

- if transketolase is bad and mtDNA is good - it can be an environmental thing such as long-term poisoning or malnutrition

- if both transketolase and mtDNA are good - we should look somewhere else (prions, unknown infection, neurotoxins).