skysight-inc/HackerNews huggingface dataset:
I only looked this up based on the comment, and I am not versed in this, beyond standard undergrad physics an eon ago. Reader beware.

The GP is wrong; it's not because molecules are closer or further apart, it's because we have introduced potential energy into the spring. The spring would gain mass regardless if it is compressed (molecules closer together?) or extended (molecules further apart?).

I used question marks there because a coil spring is a wound wire. The coil-to-coil proximity is not happening at a molecular level and is irrelevant. It is the stretching of the bonds in the [circular] direction of the winding where they get closer/further. Being helical, when deformed one side is in tension and one side in compression, so there's a net zero molecular proximity. So I'm not convinced that spring compression is molecules getting closer, and that spring extension is molecules getting further.

There's also a torsion spring, which is a bar with the ends fixed in place, that is twisted axially for the spring effect. Often used in formula car applications, but widely elsewhere as well. Here it is clear to see that compression and extension have the exact same effect, and that "closer" and "further" both occur.

The introduced potential energy is equivalent to mass, hence the spring has gained mass (and the compressing/extending object has lost mass).

https://www.physicsforums.com/threads/a-compressed-spring-ha...
Rust Lets Us Monitor 30k API calls/min
Health insurance premiums to increase in 2021 – Four things to know
This seems like a good place to ask. I saw this comment[1] few weeks back

> This is one of the superior aspects of FreeBSD: no parsing of human-readable strings to get back machine-readable information about the process table. It's available directly in machine-readable form via sysctl().

And started wondering how deep does that go in (Free)BSD? Is all info available in neat strucured format programmatically, or are there other places where you'd need to do Linux-like parsing of special files? Is there some good reading material of this aspect of the system?

I hope this isn't too inflammatory Linux vs BSD question, I did not intend value judgement on either approach.

[1] https://news.ycombinator.com/item?id=23425867
It's easy to underestimate just how deep the "humans are social creatures" thing goes. Your mind has capabilities that more or less only work in the context of an interaction. Communication orders your thoughts in a way that rumination doesn't. Cues from others calibrate your level of certainty.

The better question is why do you need a such an expensive, highly trained listener? It seems to me that some people (particularly women) get what amounts to therapy from very close and secure friendships. Universities also sometimes have programs to facilitate a similar kind of communication with lightly trained volunteers from your peer group. You may still get a decent proportion of the benefit from something like this. But it stands to reason that a pro is better at it.
Here's some generic code I wrote in Rust recently. I had two unrelated iterators/collections and I needed to flatten and sort them into a single buffer.

struct Data {
idx: usize
// ...
}

struct Foo {
stuff: Vec<Vec<Data>>
}

struct Bar {
stuff: Vec<Data>
}

fn flatten_and_sort (foo:Foo, bar:Bar) -> Vec<Data> {
let mut output =
foo.stuff.into_iter()
.flat_map(|v| v.into_iter())
.chain(bar.stuff.into_iter())
.collect::<Vec<_>>();

output.sort_by(|lhs, rhs| lhs.idx.cmp(&rhs.idx));
output
}

Now you could argue that this is just "generics for collections" but the way those iterator combinators are written make heavy use of generics/traits that aren't immediately applicable for collections. Those same combinator techniques can be applied to a whole host of other abstractions that allow for that kind of user code, but it's only possible if the type system empowers library authors to do it.
"we’re now able to drop jQuery as a dependency", interesting
I have actually never seen any proof double-blind study is the best way to do the audio comparison. I mean, yeah placebo effect does exist, but knowing what to look for in certain type equipment makes it a lot easier to find the phenomenon. Double-blind study, IMO has to be applied only after extensive amount of non-blind tests, Yes the final verdict has to be produced after the blind test, but people need to know what to look for. In any case, I was referring to long term listening fatigue, which has very little relation to loudness, and I'd argue the louder sounds should make you tired quicker.

> This may be related to the sound card. I use an external DAC, not a soundcard, as most soundcards that come with computers are not up to par.

For simplicity, I did not talk about them separately, BTW, following your logic there is no point in bying DAC, unless there was a double-blind study, comparing these DACs to cheaper sound-cards. Both are 16-bit/48000, are not they?

> Changing 16 bits to 24 bits should not change the audio in a way that is discernible to the human ear.

This a bold statement, which begs a proof itself.
I'd be worried about pinch points or babby stickin fingers into sensors
Super cool! If by some chance the creator of this is reading these comments, The Toronto drive brought up "WNED Classical" which isn't a Toronto station, it's out of Buffalo.
I think a better analogy would be like a world class chef not wanting to feed their kids McDonald's.
I'd love for this to get more mainstream attention! J, Futhark, Accelerate all have very neat stuff under the hood.
Breaking ECDSA (not so broken) with LLL
A small recent thread: https://news.ycombinator.com/item?id=22972812
It would be hard to argue--given this presentation of Basecamp's plight--that Apple's behavior here is not rent-seeking. Combined with Apple's massive earnings and cash holdings, this is not a good look for Apple.
#FFFFFF'ing wash. :)
I didn't know the algorithm: https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing
I did this in a previous version of Findka. I had integrations for Last.fm, Spotify, Youtube, Goodreads, Pocket, RSS and a couple others I think. I did a "reset" on Findka in February, removing most of the features in order to make it simpler. Eventually I would like to add integrations back in. I'm working on some social networking features right now--hopefully that'll work as a reliable user acquisition channel. Once I've figured out a way to keep getting new users, I'll be able to spend more time on things like integrations and improving the algorithm.

Also I hadn't heard of letterboxd or RYM. I'll check those out more when the time comes.
Global Foundries is hardly an "American" company...it's owned by the Emirate of Abu Dhabi.
Weather Underground has a questionable track record with respect to foreclosing public access to weather data. Leadership at both the Weather Company and Accuweather are good friends with Trump. Shortly after Trump appointed Barry Myers head of NOAA (former CEO of Accuweather), NOAA dramatically curtailed its public data access in lieu of exclusive access to large companies like Weather Underground. For more on this, check out Michael Lewis's The Fifth Risk.
EU Commission opens antitrust investigations into Apple's App Store rules
I use rclone to sync a onedrive with an ubuntu host and it works. It is also a single binary, with one configuration file, which allows you to sync on your terms.
They Cancelled Money, Art Is the Future of Currency
Comments moved to https://news.ycombinator.com/item?id=23542937
>Even iTunes, I think, would treat files differently[...]

Yes, because it's Apple (of course) who started using non-standard .m4a, .m4b and .m4r extensions, instead of the standard .mp4.
"Don't move the ancient barriers" is an old proverb that cautions us towards careful consideration before we thoughtless tear down the walls around us before considering their core purpose. What has changed in the heart of humans that no longer necessitates these controls? Why do we discourage cheating? Why do attempt violence prevention within our schools? Why do we train personal responsibility as a guiding force of character?

Fair enough, if you have more effective methods of achieving these goals, then describe how they better meet the need and let us evaluate them on their merits and try them.

But let's not tear down what we don't understand
Go is huge in the Kubernetes world... mainly because both are Google inventions. But almost all of the third-party integration I've seen in k8s has involved Go.
> Open source, on the other hand, is generally adapted to the needs of whoever wants to do some unpaid work on it.

Ironically, even commercial software has headed in the direction of "unpaid work", with its ad-based monetization.
We started using Cockroach DB at an employment that I was at and people could not get date ordered queries working quickly. In the end they switched to Postgres, but it did give me pause, that while I'm sure Cockroach is fantastic, maybe for most people's use cases they should stick to Postgres until really they need to switch.
> but I've really moved away from Haskell

Eh? Some sort of ML (or maybe Lisp) is going to be at the cutting edge in something like this where you have JIT-compilers and such.

> Lately it's PyTorch or PySpark

There's some GPU stuff you can do in Python via Futhark. It's very cool.
Evolution is dumb. What dictates evolution is who survives. People wish to live 100 years old and be like 20, but that would be very complex, and eventually, humans exist as a species just fine without it, that is, the DNA keeps existing and replicating without that advantage. If conditions dictated that the humans who are young for 100 years leave more of their DNA than those who do not, then eventually that is the path we would have taken - maybe that is the path we WILL take, if conditions allow. But it's just a selfish wish. It's like saying an ant worker should live decades. Good for itself, maybe, but adds little value to the survival of the species, the job gets done as it is.
The population of students taking calculus in high school is already skewed more proficient than the general population just by that fact. (Obviously, the causality runs in the other direction, but the skew is there.)
> It's also incredibly unsafe and why generics aren't enough. C++, Java, and so on have had generics for ages and with types like the one above, null pointer exceptions are incredibly common.

uh, you'd never get a null-pointer exception in C++ given the type that OP mentioned. Value types in C++ cannot be null (and most things are value types by a large margin).
I've recently been working on a greenfield project with Bootstrap and I've been really pleased with the development velocity by the core team. They're beginning to implement a icon library too, which will complement nicely with the built-in components they already have. They're quite responsive to issues as well, giving me confidence I need to build on top of this framework for the long haul.
I would be curious to see this for Firefox extensions as well.
For me, and this is entirely anecdotal, I was typically overindulging in alcohol when I was upset about something and wanted to get my mind off of it. Which is great in theory except of course you end up stewing instead, but stopping the drinking didn't actually fix the root problem either, just a particular expression of it.

Ultimately I ended up adjusting my environment by both accepting it was OK to end some relationships with some angry people in my life (not angry at me, but angry generally) and adjusting how I approach work.
“A type parameter with the comparable constraint accepts as a type argument any comparable type. It permits the use of == and != with values of that type parameter”

I think that’s an unfortunate choice. Quite a few other languages use the term equatable for that, and have comparable for types that have =, ≤ and similar defined. Using comparable here closes the door for adding that later.

I also find it unfortunate that they chose

type SignedInteger interface {
type int, int8, int16, int32, int64
}

as that means other libraries cannot extend the set of types satisfying the constraint.

One couldn’t, for example, have one’s biginteger class reuse a generic gcd or lcm function.
... by replacing large parts with a native jquery-like implementation.
Two widely deployed things were created over 7 days. Life, and JavaScript. Both turned out to be a huge mess.
At 30lb payload, it's not carrying any welder or compressor I've ever worked with. More like fetching a socket from the toolbox that's not quite in reach, but to accomplish those sorts of small and somewhat random tasks is going to require quite a bit more NLP than we've been able to do so far.
I have not seen any data to indicate that server-side developers (outside of your circle) are more excited about Swift than Go.
I am talking about listening fatigue, first of all, which is a long-term effect. Second, I think double-blind test are worthless, if they are done in isolation; first, you need to run non-blind tests, let people play with audio equipment as much as they want, in any combination, completely open; only after that, when people have figured out what to look for, run the double blind test. Forcing unprepared people to go through very subtle test surely won't give useful results.
No, that's entirely player-specific and has nothing to do with the MP4 format at all.
Abandon Facebook
Can you articulate why? it seems to me that 'feel' should not be part of the discussion.
Reminds me of the old saying "The only difficult part is to get started". So when I am struggling with starting a huge task, I tell myself that this task consists of parts "a+b+c+d..." but I am only going to do part 'a' today/now. And the surpising part is that when I am finished with part 'a', I am eager to keep on going! You don't have to but you just might.
Show HN: Commute to work in this retro browser-based game
There is a lot of beauty in go’s simplicity. Very straightforward to reason about what’s going on.

I find it much easier on the eyes than java.
What are some of the coolest bootstrap projects you all have seen? I haven't used Bootstrap in years, but would love to see some of the creativity.
Well, in their defense, it was a single exclamation point not exclamation points, so if we're getting technical you should wrap your guidelines text to read "exclamation point(s)"
That's a shame.

I'd like to see some sort of mash-up between it and radio.garden.

https://news.ycombinator.com/item?id=23477771
I experienced a much minuscule version recently when I accidentally closed a browser window full of tabs. It was like letting go. It felt cleansing.
Ah, this is a really useful topic, following on from the previous post about DIY weatherstations. I'm currently adding my data to wunderground, but I'm not getting a huge amount of value out of it.

Really happy to see other options.
Existence is table stakes. All interesting things happen on top of it.
Synching but with cloud storage support like B2 or S3 compatibility is what I need.
He still commits code and responds to Github issues occasionally, and
I think it's safe to assume that he's still participating in the
internal discussions about the design. But most decisions about
language changes these days are made by Russ Cox, Ian Lance Taylor, and
Robert Griesemer. At least, that's the impression I'm getting.
The only time I get frustrated by the lack of generics in go in trying to get keys from a map... I can't have a single `keys(map[string]T) []string` function.
Is this true? I have taken the strongest steroids topical, oral and by injection (undiagnosed DH) and never had any side effects except small time relieve of my symptoms that could have been fixed by a strict diet
Most of the Ivies are pretty generous when it comes to financial aid
https://news.ycombinator.com/item?id=23538903
A birdwatchers’ app inspires a field-guide to protesters’ symbols
My understanding is that the quoted statement was explaining why they moved away from WebRTC.
Street noise is way too loud.
Are you Rick Sanchez?

I moved to another country some time ago. To me, it was difficult. Starting your social life from scratch is difficult. Learning a new culture, a new language and a new bureaucracy is difficult. Buying everything again is difficult. Upping the difficulty level doesn't solve your procrastination problem, it exacerbates it.

To me, this sounds more like running away from your problems than solving them.
So, uh, general relativity makes all of this stuff really complicated.

First off, the gravitational energy is not a direct component in the stress-energy tensor that serves as a "source" for gravitational curvature. So it is formally incorrect to say that the gravitational potential energy is a source for gravity. However, the Einstein equations are not linear the way the Maxwell equations are, and you can maybe interpret these nonlinearities as a self-interaction of the gravitational field, causing gravity to be a source of gravity. But the analogy does not seem to be as easy as just saying "here is the gravitational potential energy and by E = mc² ..." [1]

Secondly, I cannot reiterate enough that general relativity does not in its usual formulations conserve energy. General relativity does not generally give you a good way over a non-infinitesimal part of spacetime to define a volume and sum up all of the energy in that volume, so it makes it very hard to define energy. And then when you try to define it in some obvious ways, you run into some weird paradoxes -- for example due to the expansion of space light from distant stars is redshifted when it arrives at us; one can either do a complicated argument from classical electromagnetic theory or a weaker but more straightforward argument from quantum theory (just track a collection of photons of definite number!) to conclude that this redshift must correspond to a loss of energy.

This broader idea that the entire universe has zero net "energy" for some definition of energy does exist in some sparse literature, notably Krauss's pop-sci book A Universe from Nothing, but generally those treatments have not made a very robust case for this[2] and I don't think if I asked professional cosmologists that they would regard it as an established fact of modern cosmology, moreso than maybe just a way of speculating that maybe the universe is closed or asymptotically flat or so. (Asymptotical flatness is one way to try to give yourself an "out" so that you can again define mass, either by the ADM or Bondi methods[3].)

Finally, there is indeed a correlation given by thermodynamics and stellar evolution that due to the virial theorem, "the total internal energy of the star is simply −(1/2) of its gravitational binding energy." [4]

[1] Baez says a lot of this more eloquently at http://math.ucr.edu/home/baez/physics/Relativity/GR/energy_g...

[2] e.g. https://arxiv.org/abs/1405.6091 as critical of that particular book, some further history at https://en.wikipedia.org/wiki/Zero-energy_universe . Note that the wikipedia article's claim has a very nice formulation of "could a quantum fluctuation create a star given that it apparently has no net energy?" and like I would view the lack of experimental evidence for this as perhaps experimental disconfirmation, but perhaps there is a more detailed calculation which confirms it as rare or some other excuse that means that you can't do it with a star but only a whole universe.

[3] This topic is adequately mentioned at https://en.wikipedia.org/wiki/Mass_in_general_relativity .

[4] PDF warning, https://websites.pmc.ucsc.edu/~glatz/astr_112/lectures/notes...
Currently I just want some form of genericity, regardless which one, but I fear we will go through yet another cycle of community feedback and by August 2021 still not there.

However not to be just negative, I will certainly take the opportunity to provide my positive feedback as well, so looking forward to play with go2go.
OP here - Miss traffic?? I do! Check out Traffic City to relive your frenetic commuting experience.

This is a gameplay test. If it gets sufficient usage I might build a higher fidelity version.

Let me know what you think :D

Features

- Drive through a retro “3D” cityscape

- Weave through traffic with keyboard controls

- Get points when you pass sedans, SUVs, and semis

- Save your top score

Tech

- HTML5 Canvas parallax 3D rendering engine

- Pre-rendering with OffscreenCanvas and module Worker threads

- Procedural traffic and map generation

- 2-quadrant draw order sorting

- MongoDB, Node, Express, Vanilla JS

NOTE - Only works on desktop & requires Chrome 80+ or similar

Code is not open sourced but I’m happy to do so given enough interest.
Missed an opportunity for "Sorry, won't happen again!" there I think.
Wellnest beta: journaling made easy
When I first encountered Go in 2015, it was exciting because it made concurrent programming accessible and easy compared to the competition. Fast forward to 2020, and many languages have either caught up or improved on the advances Go made (e.g. Kotlin, Rust, Elixir, Scala, etc.). That being said, I think you might be in a bubble if you don't know anyone using Go. It's everywhere nowadays, for better or worse.

I agree with you that I think they're slow to improve. I'm not sure if innovation is necessary though, since most people rely on the language being stable going forward.

Personally I struggle with deciding when to use Go for a new project. With so many languages now supporting different concurrency paradigms, and containers abstracting away prior deployment pain points, I'm not sure why I'd reach for Go over any of the others.
Very cool.

FYI the whole page breaks if you accidentally delete the "shares" value or type 0, requiring a refresh to revive it.
I've never edited or even had a wpa_supplicant.conf file under openbsd.
Comments moved to https://news.ycombinator.com/item?id=23542937.
Which version of CockroachDB was that? A few years ago it had a rudimentary heuristic optimizer that made plenty of poor choices. Today it has a quickly improving cost-based optimizer that makes much better choices. Each release now has significant jumps in which kinds of queries it can produce fast plans for.
SpaceX’s Starship program returns to its roots with a new rocket ‘test tank’
Indeed, that was my point.
Thanks, that was a good read. Perelman is actually one of the examples I had at the back of my mind.
There is also mencoder, which is derived from mplayer.
Are you seriously contending that "leftist statements on encouraging illegal immigration" don't exist? Like at all? No extremists on your side, huh? Pull the other one, man.
Its hilarious that the first picture on an article of "Everyday Life" is a dude sleeping like there's no tomorrow!
> we’ve dropped support for Internet Explorer.

This is probably more of a mental thing for me than anything, but it's hard to separate myself as an old-school developer from the idea of supporting IE because of it's historical market share. As much of a PITA it was for so long. I suppose, though, I'm happy to see it go.
Yeah, it is correct. The electromagnetic interaction is mediated by the photon. An electron is just one of the fundamental particles that interacts electromagnetically. We use free electrons in metals for the conduction of electricity, but in the end all the interactions between the electrons, protons, etc are governed by photons.

If you want to learn more, something to google would be quantum electrodynamics. There are some nice introductory talks about it, but be warned. In order to really understand this, you'll need to study physics, more specifically quantum field theory.
Wonder if they could simply offer it for purchase in AppStore, at a 30% markup, clearly presented as “Apple’s cut”.

Users can then choose where to buy and they will obey the rules...
> Apple should really only deserve the 30% if they referred users to HEY via the App Store

Might be true that they deserve a cut if the app store wasn’t a monopoly. You’re not opting into a relationship with apple, they’re holding everybody with an iPhone hostage for 30% of your revenue.