skysight-inc/HackerNews huggingface dataset:
Temperament is irrelevant to most music, even if you're talking about western music using the 12 tone scale. The exceptions are keyboards and electronic music.

The simple reason is that most instruments can't even be played consistently in tune, to the point where you could figure out if they're playing in any temperament at all. String instruments are tuned by pure intervals across the open strings, then the player has to figure out how the other notes should sound. They will push notes up and down to make them sound more "right" in the immediate context. Wind instruments are a bag of compromises.

A large percentage of musician jokes are about intonation.

Early keyboard instruments were tuned in simple temperaments that a musician could learn how to do quickly. A harpsichord had to be tuned before every performance. Equal temperament required an instrument that stayed in tune long enough to make it worth hiring an expert to tune it.
Java Interview Questions Kindle Free Unlimited
Roadmap?
FPGA based CPU designs from the 90s, PART I
I have one tall friend who drives here in the UK, and he has a Honda Jazz, because it's the only sensible right-hand drive car he can fit in comfortably.

I would be interested to know what models are popular in the Netherlands, where people are famously tall (and where, despite the propaganda you may have heard, people certainly do drive cars, especially in the more rural areas).
Everything I learned from (finally) completing The Artist’s Way
Since when did Western = US only?

Here in Norway it's been on the news and in the papers daily for several days.

Some random links:

https://www.vg.no/nyheter/utenriks/i/pLmjl6/voldelige-opptoe...

https://www.vg.no/nyheter/utenriks/i/EWEnLG/varsler-store-de...

https://www.vg.no/nyheter/utenriks/i/awkBqa/demonstranter-ti...

https://www.nrk.no/norge/nye-sammenstot-i-barcelona-i-kveld-...

https://www.nrk.no/urix/catalonias-leder_-_-volden-ma-stoppe...

https://www.nrk.no/norge/nye-sammenstot-i-barcelona-1.147467...

https://www.nrk.no/urix/flere-hundre-tusen-demonstrerer-i-ba...

https://www.dagbladet.no/nyheter/opptoyer-i-barcelona-frykte...

https://www.dagbladet.no/kultur/dom-over-politikkens-nederla...

https://www.dagbladet.no/nyheter/opptoyer-pa-flyplass-i-barc...
https://web.archive.org/web/20191019141048/https://harpers.o...
Right. But the battery pack is the most important component, not the motor. Motors are relatively easy in comparison. It’s unlikely your mechanic is building battery packs, battery management systems, and then providing a long-term warranty for the entire system.

A superior value proposition would be a company selling battery packs that are easily configurable for any vehicle’s internal physical layout, along with support and a warranty.
Learn Your Standard Library
No Really, I do care.
My opinion: just use steel cans.

Steel has a 80%+ recycling rate, and even if thrown in the garbage... steel is one of the easiest materials to "mine" out of a garbage pit. Just shove everything into a blast furnace, and the things that don't burn is probably steel.

Obviously a bit simplified: but that's the secret to glass, aluminum, and steel recycling. The high-temperature "purification" process of these materials makes for a very easy recycling process, even if there are contaminants in the material. In contrast, paper and plastic becomes useless due to contamination very easily.

-------------

The amount of food available in steel cans is quite significant. Tuna, Salmon, Chicken, Peas, Carrots, Corn, Apricots, Peaches, Spinach, Pineapples, Beans, Potatoes, tomato paste... to name a few.

Subsisting on canned food is boring, but doable. You've got meats, every major veggie, starches and fruits. Mix it up with some grains (ex: Rice, Flour), fresh starches (Potatoes keep well and don't really need to be in a can), fresh veggies (Onions keep well).

---------

A combination of fresh fruits + cans manages to keep my trips to the grocery store down to once-per-week. Most fresh foods don't keep for a whole week (ex: Fresh Peppers, Fresh Basil, only stays good for a few days... while fresh ground beef / fresh chicken only stays for about 2 or 3 days).

----------

The counterargument to steel is that it is heavier than plastic. So it arguably takes more energy to ship steel cans than plastic containers. I haven't done the math however, but I assume steel is overall better for the environment.
> not near residential housing mostly

Maybe not in America but there are plenty of motorways in the UK that go right next to houses. For example:

https://www.google.co.uk/maps/place/Port+Talbot/@51.5978766,...

That's obviously a pretty insane road to build (60s were a different time I guess!), so I guess this doesn't really invalidate your point.

Anyway I think the noise won't be too bad. How many drone based deliveries are people going to get? Maybe one a week on average? I can live with that.
If the law prohibits 256 axles, it should really prohibit any multiple of 256. A 512-axle train would similarly be erroneously detected as having zero axles.
Click the “web” link above.
European point of view is that Americans are just wallowing in huge excess.
They go quite a ways up river. I think all the way to Willamette Falls near Oregon City. I live in Downtown Portland and see them in the river regularly. Sometimes they climb up onto the floating docks just north of Downtown to sun themselves.
Because we pretty much solved all the acute illnesses so we are left with self-inflicted chronic conditions.

Pretty much all non-genetic chronic conditions are a result of diet and exercise. You can drastically reduce your chances of cancer, stroke, heart attack, alzeihmers, T2 diabetes, Parkinson’s.... you name it, with diet and exercise.

You can even cure most of them with diet and exercise.

I’ll be downvoted to oblivion, but you should know that illness is a choice.
maybe we do have an instinctual aversion to disposable culture? :)
Motivated reasoning, then?
I'm pretty sure it goes back way farther than that.

"$NewThing changes $allthestuff in $notsogood ways, so we should go back to $oldthings from $previousbettertimes."

Is a perennial journalism favorite.
Trains are typically made up of multiple carriages. The axle counters ensure that all the carriages which enter a section of track leave that section of track, and that none have detached and been left behind for the next train to run into.
The simulators themselves are generally quite thorough, wherever feasible they run the same software as the plane on simulated instrument input (which can also be broken for simulation purposes).

Newer planes are more and more often fly-by-wire with shakers and motors to provide the "feel" of the controls. This only makes the simulators more realistic. Note that the engineer wasn't jumping to the conclusion that there was a simulator bug, and trusted that the simulation represented the real handling (as was borne out in reality).

Here is a 747 simulator on eBay to give you an idea of what's in the box:

https://www.ebay.com/i/293183009463
I don't have the correct screwdriver.
The submitted title, "Linear Regression from Scratch", was misleading. We've replaced it with the title on the page.

From-scratchness is relative I guess.
So Murph the surf led to point break which led to fast and the furious franchise the total gross revenue of which dwarfs the original crimes
I tried the popular Machine Learning course on Coursera, and found myself spending tons of time debugging Octave code because to me it was such an unfamiliar way of expressing things. A widely accepted alternative in a more popular programming language would be a nice thing to exist.
One of the primary uses of these kinds of devices is in lieu of track circuits: for a given rail block, they count the number of axles currently present by subtracting the number of axles that exited from the number that exited. Another use is to detect trains that have a failed coupling, disconnecting several cars which no longer have a powered locomotive attached to them to move them.
> reduces waste of all of material, energy, and labor

Not necessarily. How much labor goes into one smartphone or other mass-produced thing? I suspect in many cases the incremental labor required to make another one is minimal compared to the significant effort required for one-off repairs.
Required Reading
Can't you bootstrap older openJDK with (now discontinued) GCJ?
Boeing is a 100 year old company in the business of building airplanes that transports hundreds of millions of passengers annually. Rushing to introduce this plane was absolutely unacceptable. It took Boeing decades to build its stellar reputation, but after something like this, their reputation is ruined in a matter of days.
"Early talks" probably isn't substantive enough to count as significant new information. Did I miss something?

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
Is TDD a Gimmick?
CTO Quarterly Winter 2019 [pdf]
They aren't separate issues! Plastics production produces a lot of greenhouse gas emissions. And both are concerned with pollution.
Tapping the Source, a surf/crime/noir novel, is widely considered to be a source of inspiration for Point Break as well.

https://www.avclub.com/kem-nunn-inspired-point-break-and-exp...
If everyone avoided doing hard things, our world would be a lot worse off.
Love the restored and electrified Morris Minor!
I find myself doing the opposite, since I write stuff once (at most, since there is auto-complete and copy & paste), but read it a lot more often. I find reading long variable names takes exactly as long as reading short words, but with less mental overhead. So instead of something like srv_mem_max, I have stuff like "server__max_allocated_memory". It doesn't affect the output or the compiled result, after all.
I assume he means https://cloud.google.com/blog/products/gcp/introducing-googl...

but there are a plethora of online IDE's that can integrate well with GCP.

I miss Bespin, it later became skywriter, and was eventually integrated into the ACE online editor. For the few times I needed to edit something on the go, and didn't have my laptop, it worked wonderfully. I was not a big fan of the direction it took, moving away from what I would consider a fully opensource platform, to a paid one, but it does its job, and it does it well.

GCP cloud editor uses Eclipse Orion. I am excited to see the expansion of the project, and the direction it takes. Cloud IDE's have always been badass.
I agree. A Tesla makes a great starting point for experimenting.

However, I see the point that the grand parent comment is making.
It would be nice to see this crate fit into more cars.

However,
There is no need to reinvent the wheel.
I'd say for most cars, the batteries belong underneath the seats.

But as far as I remember, Tesla had to put a thick sheet of steel or something (titanium?) under the battery for safety in case you drove over something?

When we take the battery into consideration, I agree this rapidly becomes out of DIY territory.
Now we need custom batteries and custom metal sheets to protect them

but the idea of a common electric crate motor is still appealing
because the motor becomes a commodity
and it should help lower prices

I'm thinking someone should do this for a popular make and model that sold in large numbers like an old toyota camry.

In any case, I am happy to see progress in EV.
Hah. I only ever encountered the last sentence of that quote and I thought it was an imperative.
There was something posted on HN years ago about a mainframe that ran the French railway pension system. There was something funny about different pay rates for rates going uphill or downhill, whether the engineer was a military veteran, etc. Does anyone have a link? I can’t find it now. Thanks.
A 15.5 gallon tank is 58.5 liters. A Tesla S/X module[1] is 15.84 liters for ~5.3 kWh. If you could cram every inch of space with batteries it would come to just under 20 kWh. Not that much, and it will degrade quicker because you'll deeply discharge it more often.

That said, you can generally just line your trunk with batteries. You can jam 5 in the trunk of most cars while only losing ~3.5" of vertical space. Its a good idea to leave several inches for the crumple zone, but it's relatively safe if they are properly secured.

The best thing to do would really be to raise the floor and get low-profile sliders for your seats, but that's a real hassle.

[1]: https://www.evwest.com/catalog/product_info.php?products_id=...
Also reminds me of the maximum amount of coins you can have in runescape: 2.147B. They even created silver coins worth 1000 normal coins as a workaround for people who get to a “max cash stack”.

(Max value in java, even though the game is non longer written in Java)
Lived as in, you never left the lab or actually lived?? I spent more time in that building than almost anyone during my day, so 'lived there' is a loaded term :)
I read it (well, parts) on a long plane ride recently. It's an interesting book—very 1970s and very much looking back to the existential psychotherapists and psychoanalysts of the mid-20th century. I do not say that as a bad thing, on the contrary.

What surprised me most is how big a role Otto Rank plays in it. I only knew of Rank as the originator of the birth trauma theory and thought he was a minor disciple of Freud. Becker regards Rank as the greatest figure in the tradition after Freud if not greater. It made me want to learn more about Rank's work.
To elaborate on this, I think what is going on is a section has a "counter-upper" on one side, and a "counter-downer" on the other side.

So while the train is within that segment, the value of the counter is non-zero. Once they exit, all the axles should get counted again in the opposite direction and reset the count to zero.

The problem with 256 is that the count would be at zero while you were in the track segment.
The thing is Switzerland is also the only country where I could imagine someone might know such a rule. Say you are working on connecting some trains, and you happen to be one car away from 256 axles. Well, if the org you're working for is SBB/CFF/FFS I could totally imagine the foreman saying "oh wait, there's a rule about this". Any other country, no way.

From personal experience people there seem to follow the rules very meticulously.
Related to this, I saw an interesting graph where money spent on food is inversely correlated to money spent on health care. So spending more to eat healthier food will save you money on health care in the future. Or you can eat cheap food and accumulate health debt.
From the previous thread, some countries specific a little below 256 for a margin of safety:

https://news.ycombinator.com/item?id=12071686
Well according to that theory things like nation states or big economic interests or religions exist because of death anxiety. So yeah, going to a political rally or protesting civil rights abuses even if you're not abused, participating in wars, etc. is triggered by death anxiety and the need to do "something more".

"We go out of our course to make ourselves uncomfortable; the cup of life is not bitter enough to our palate, and we distill superfluous poison to put into it, or conjure up hideous things to frighten ourselves at, which would never exist if we did not make them."

Extraordinary Popular Delusions and the Madness of Crowds, Charles Mackay, 1841
Ask HN: Dedicated GPU Server Providers?
I am looking for a GPU dedicated server provider under $150/month. Looking for at least a 2070 or better.
It's also common in Bolivia, and for personal vehicles as well.

The reason we don't have it in the US, from what I've heard, is because it doesn't meet our safety standards.
What is this, a Malcolm Gladwell article?
Much like Stack Overflow I think HN could actually be more useful if it lightened up a little. It needn’t instantly degenerate to reddit if a joke or feelings are allowed.
I was alive for the .com bust but kind of forgot the scale. I looked up Pets.com. When they IPO'd they were valued at $290 million (about $294 million in inflation adjusted numbers).

They raised $110.5 million in private capital and $82.5 million at IPO [0].

WeWork has raised $14.2 billion in capital to date[1].

In other words, pets.com only raised a mere 1% of the current total that WeWork has raised.

If pets.com was the poster child for the dot com debacles then this new era of irrational startup exuberance exemplified by WeWork is another beast entirely.

[0] https://www.marketwatch.com/story/sock-puppet-kills-petscom
[1] https://craft.co/wework/funding-rounds
Show HN: Oneliner.me – Get a one-liner about you
I'm curious to know what other freedoms do citizens in other countries have that you don't. What freedoms are you fighting for?
To Antarctica and Beyond
I love it, I was wondering when someone would come along with something like this. It looks like it's pretty well thought out. I am imagining a 356 speedster kit with one of these in it would be a ton of fun!
This assumes standards themselves stop evolving entirely once implemented, to address needs that were not present at the time; just like USB (didn't).
Chronic inflammation worsens chronic illness.

Acute inflammation is generally good. Ice should only be applied when the swelling is cutting off blood flow
What people forget is that not all choice is equally easy.

The choice to "diet and exercise" is easier for a rich guy with a personal chef and trainer.

It's much more difficult for a poorer person working 2 stressful jobs, having to go back in a home late in the day exhausted and deal with whatever family/personal issues lurking around.

And while there's a spectrum between one and the other extreme, more lower middle class, working class people are closer to the second case. (And there are circumstances in the first case, like stress, addiction, psychological history, that can make it hard to diet/exercise, even if you could easily afford a personal chef/trainer).

So, yeah, it's a choice.

But what (budgetary, stress-wise, family, expert, time, etc) support a person has in making that choice and sticking to it is not the same in all case, and can vary widely pro and against.
They should do what the Norwegian Navy does, and put barcodes on the cars.

Why does Norway do it? When their ships pull into home port, they Scandinavian. ;)
Go to EV west and look at what they are doing. California hot rod culture is alive and well.
As I indicated, I am no longer a Buddhist; one reason is that the karma/rebirth story was completely unconvincing to me (karma makes no sense without rebirth).

I am convinced by the multiple experimental demonstrations that decisions seem to occur before any cerebral "act of will" can be detected; and the baseball batter story is a nice thought experiment. It's deeply counter-intuitive; the only way I can grok it is that most of what seems to be free will is just observation of "what you were just thinking". But the belief that we have some measure of control is very hard to get rid of.

I like the "nonlinear" characterization.
Not OP, but this is the error I'm getting in Safari: https://imgur.com/a/bIHP8I5
> Biologists determined that not one of them was hatchery-born—they were all wild fish, whose robust natural paternity and hardy stream upbringing had given them a distinct advantage in surviving the return trip to Idaho. The hatchery fish were weaker, raised in tubs and selected from a narrow genetic slice that lowered their adaptability to a changing climate. Even though they outnumbered the natural-born salmon by millions, the failure rate in this case was so high that the vast sums of money spent in upper Idaho had not purchased a single hatchery success.

That's a pretty good metaphor for the cost of coddling our children that Jonathan Haidt goes on about. By valuing our offsprings' safety so highly we're effectively raising hatchlings in tubs, as opposed to wild fish gifted with a hardy stream upbringing.
First you need to create a universe...
Thanks for taking the time to reply. Is there really a 32 bit mode without segments ? I missed that last time I looked at assambly - I thought it was the other way around - you didn't escape them until you went 64bit.

As for needing needing 32bit in 64bit - I guess it would depend a bit on if you could settle for a "all 64bit all the time" subset or not (ie: no 32bit integers)?

Now, for mnemonics - I certainly don't know. I suppose I see why they're generally implied in most assemblers...

I think add_i is still a lot more readable than 0x83 or whatever. Is there a system to the numbers? Could one "mask" immediate etc (eg ADD|I MEDIATE, MUL|IMMEDIATE or some such? Where the pipe implies xor or something (forgive me, I haven't touched shifts etc in years)).

I generally prefer descriptive names to terse names - but for an assembler I don't think it fits to go overboard - not unless you expect to end up with a Forth-like quick ascent to abstraction (like building a macro/substitution that abstract away the add_immediate back to just add).

I guess I'm starting to see why primitive text macros a la m4 made its way into no just C (the C preprocessor), but also in various forms in various assemblers...

Anyway, as your system needs to to some parsing and expansion (eg: strings to binary numbers, loops, label computation) - would not exposing that as a macro/meta facility make sense?

Maybe it's more of a level 2 thing in your design?
I'm still a bit iffy on the safety when it comes to the trunk. As far as I've understood, Teslas and the like have pretty good protection between the battery and you in case something bad happens. But there's not really that much of a separation between the interior and the trunk, like there is with the engine compartment with its firewall.
The fact that there's no widely used metric to assess patent quality doesn't mean that no such metric is possible.

Covered devices, total licensing revenue, enabled market sector, energy throughput (after Leslie White's societal metric), would be possibilities. Assessing those could still pose challenges.

Though the attempt might reveal that patents aren't actually all that useful.
one of the best ‘from scratch’ articles ive read on LR
The problem with metrics is a big problem for AI
This highlights the commoditization of parts that will be part of EV market changes as well as the plug and play nature of EV assemblies. Massive changes to the current ways we build and maintain vehicles.
Rule based systems
Even in infections, it can be the inflammatory response which causes the damage. I had myocarditis following a flu infection, but it wasn't the influenza virus that screwed up my heart muscle, it was the white blood cells going apeshit trying to kill it.
Experienced modern game programmers would never write a "Duck" class though. For instance, in Unity, it would be a set of small components representing narrow behaviors attached to a generic scene graph object. So the "Duck" would only exist as a data object that happens to have maybe a unique Quack component, along with a lot of common non-duck components like MeshRenderer, AudioSource, Collider, RigidBody, etc. You would see similar things in something like Unreal, or even in-house engines. The implementation is likely also to be way more interested in acting on aggregate data streams rather than enforcing strict encapsulation and object boundaries and such.

It's still very OOP, but not in the sense of representing real-world taxonomies.

I know there's an argument that this real-world metaphor is good for beginners, but at least in my personal experience I don't think that's the case. I remember when I was a kid, my dad tried to teach me coding with a lot of object oriented examples with like Cats and Dogs and stuff. He was really well meaning, but it never really made sense to me. I only kind of "got it" when I did something nobody would recommend anymore, and learned QBasic, and wrote a bunch of ghastly code with goto's all over the place and practically everything being a global. Awful code, but 10 year old me was able to reason about that a lot easier than polymorphism/encapsulation/scoping/etc.