skysight-inc/HackerNews huggingface dataset:
> Republicans have threatened to strip Planned Parenthood of its tax-exempt status

What on earth has that to do with public assembly?
Yup, all Thunderbolt 3 docks support two 4K displays @ 60 Hz.
My favorite part of hardware development is that you learn the true meaning of "bricking". People often use the term when something is recoverable, having never felt the pain of 1-2 engineer years worth of assets turning into paperweights in an instant.

How on earth did you blow something up from software? I'm guessing you were touching power delivery from software for some reason?
It is confusing, as evidenced by people frequently being confused by it.
Peeding up model with fusing batch normalization and convolution
That's still not anything close to "perfect execution".
Intellij only succeeds due to open source community editions.
The point isn't to approximate a solid object as several spheres, but to approximate it with one enclosing sphere. If two objects aren't close enough for their bounding spheres to touch, then you don't need to do a collision detection using the more complicated geometry.
I'm not sure what these are examples of. Is Android "open-source"? Is macOS?

I tried to compile Android from source this year, and spent weeks reading about it, finding distributions and tools to help, downloading packages, verifying signatures, and eventually running an enormous build command. I was ultimately unsuccessful. No matter what I fixed, there was something else that didn't work. Everything had the classic open-source excuses: it's being fixed soon, that's the wrong branch, you need to upgrade your tools, the docs are out of date, ...

Android today is not anything like Andy Rubin's "the definition of open" from 2010. As far as I can tell, it's basically SAAS for smartphones. A corporation gets the benefits of open-source, but users don't.
A thread from last year: https://news.ycombinator.com/item?id=18758290

Discussed at the time: https://news.ycombinator.com/item?id=6971693

Edit: not implying that this is a dupe—I just mention these links for the curious. On HN, reposts don't count as dupes if a year or so has gone by: https://news.ycombinator.com/newsfaq.html.
That's the point. We pay, it should anger us, so we hold the authorities to accountability
While there have been some serious breaches of trust, US companies have a track record of fighting governments openly in court to avoid sharing data with them.

Chinese companies absolutely do not have this track record. Chinese companies are essentially an extension of the heavy hand of the Chinese Communist Party.
Since 1986, the Emergency Medical Treatment and Active Labor Act (EMTALA) requires any hospital emergency room to treat an injury like a broken elbow regardless of ability to pay or whether you were insured. So in the richest country on earth you do not in fact, neither before nor after obamacare, need to use duct tape for a fracture.
> You need telemetry

Lemme stop you right there.
They realized there's a lot of technical people who like open-source software, so they found a way to insert themselves into the middle of that.
anyone interested in this group is the target audience. therefore I'm in the target audience.
You deformed his “humble opinion” into something completely different. There are other ways to expose your views, this one just looks like you have an axe to grind.
Why would you not even bother getting basic functionality working before showing it to everyone?
Appreciate the comment, but I want stress that the problem really is the computational complexity. (Or at least, computational complexity really is a serious problem.)

If everything in your world behaves like a bullet, physics is simple. If everything in your world behaves like a sword, physics is a nightmare. A lot of games with swords literally pretend that swords are made of bullets to get around this. No kidding.

To spoil my deep explanation: in the sense games are concerned with, a bullet is a non-rotating length-0 inertially-controlled sword. That doesn’t generalize cheaply.
Pulling the terrorist card is pretty cheap and probably why the downvotes. LEO cannot be expected to be prescient of every crime or we will become a surveillance state much worse than we already are.

I agree that common courtesy would dictate that you inform the public, but it's not a requirement and not something that should become law.
Isn’t this part of the (awful) GeForce experience app? You can still just download drivers directly from the Nvidia webpage without logging in.
For network programming, you might consider asynchronous programming with coroutines. C++20 has them and they're already supported in LLVM. For C, there are a number of implementations of coroutines: https://en.wikipedia.org/wiki/Coroutine#Implementations_for_...

> Once a second call stack has been obtained with one of the methods listed above, the setjmp and longjmp functions in the standard C library can then be used to implement the switches between coroutines. These functions save and restore, respectively, the stack pointer, program counter, callee-saved registers, and any other internal state as required by the ABI, such that returning to a coroutine after having yielded restores all the state that would be restored upon returning from a function call. Minimalist implementations, which do not piggyback off the setjmp and longjmp functions, may achieve the same result via a small block of inline assembly which swaps merely the stack pointer and program counter, and clobbers all other registers. This can be significantly faster, as setjmp and longjmp must conservatively store all registers which may be in use according to the ABI, whereas the clobber method allows the compiler to store (by spilling to the stack) only what it knows is actually in use.

CPython's asyncio implementation (originally codenamed 'tulip') is written in C and IMHO much easier to use than callbacks like Twisted and JS before Promises and the inclusion of tulip-like async/await keywords in ECMAscript. Uvloop - based on libuv, like Node - is apparently the fastest asyncio event loop.
CPython Asyncio C module source: https://github.com/python/cpython/blob/master/Modules/_async...
Asyncio docs: https://docs.python.org/3/library/asyncio.html

(When things like file or network I/O are I/O bound, the program can yield to allow other asynchronous coroutines ('async') to run on that core. With network programming, we're typically waiting for things to send or reply.)

Return-oriented-programming > Return-into-library technique is an interesting read regarding system programming :)
https://en.wikipedia.org/wiki/Return-oriented_programming#Re...
Direct link to PDF https://www.nature.com/articles/s41598-019-51330-6.pdf
It's best handled case by case as with most decisions.

Should one build their own database? Probably not. That introduces more complexity.

What about an npm package to pad strings? It's simpler to write that logic than to deal with one more dependency.

Giving two extreme examples to illustrate that "minimalism" may not be a useful criteria.

So seems like we're in agreement :)
I'm not sure, but I do know the court ruled that defunding Planned Parenthood was a violation of their first amendment rights. But I don't think assembly was it?
I tried to drag the bookmarklet, but didn't seem to work in Google Chrome?
Fair nitpick - "haven't noticed the difference yet" would be more accurate - but I don't see how that changes the argument; if I haven't noticed a difference, what's the point?
I simply don't agree.

Without telemetry, at least in the early stages where you don't get 1000000 issues every day, you have no idea what your users are actually finding useful.

This may lead to you developing features which nobody cares about, wasting precious time you could spend creating actually useful stuff.

It's a win-win, as long as nobodies privacy is violated. And that part is basically what this whole question is about. How to do telemetry in a way that won't feel privacy-violating to users (and won't actually be privacy-violating, as opposed to "good feelings by privacy violation obfuscation").
This looks very nice!
It’s not mentioned in the README, so I’m wondering how persistence is handled?
EDIT: To be clear, I see backups is mentioned, but I’m wondering if it’s a database file like sqlite3 or something else.
Also, she's in Hallmark Christmas movies.
We have similar going on in Annapolis Maryland. You can see the lights, particularly the red/green on either side.

They seem to just loiter for several hours at a time.
Best Christmas ever, HN! Seasons Greetings to all!
Well the first amendment also includes freedom of the press, which inherently involves the amplification of speech to reach the masses. So I think the Internet is easily covered.
Grow weed. You can stop smoking it but you will never stop growing it.
Thank you for your feedback! We will update this by the weekend.

Our main reason to show was to validate if people would like to pen down their feelings, so we wanted to confirm this! We have also thought a lot of ideas and are keeping them on hold. We basically wanted to know if the core functionality is useful or not!
Well, as far as my understanding of hooks go, and please do correct me if I'm wrong, hooks are not just about giving functional component an option to use state and lifecycle methods. They are also a much more powerful and flexible replacement of mixins and offer an (arguably better) alternative to use certain design patterns, like render props.

I did assume that hooks were not supported in classes because it would be too complex to support that use-case, but the linked article specifically has an "Absorb the Complexity" principle, so it seemed a bit weird to me. Also, I understand the decision to try to motivate the community to use function components more, but is this the trend that we can expect to continue seeing in React? Certain APIs being phased out until they finally become deprecated. I know it has happened a few times already in React, but not on the level of something like a class API.
Now if only they’d vet the drivers in Windows Update and block these enormous bloatware turds that have become fashionable.
Using tab/space to navigate dialog buttons (like you're describing in your comment) is not a default setting in macOS. You have to explicitly enable it.

This is why it's complicated: it's not aimed at regular users, only at people who need it for accessibility reasons, or power users.
Show HN: VREST NG v1.1.0 Release
* vREST NG v1.1.0 release
With added support of OpenAPI 3 makes you easily validate your tests
against OpenAPI 3 schema. With this release, you will be able to
import OpenAPI 3 schema files and it makes Data Driven Testing more
easy. [Contact us](https://ng.vrest.io/contact) for your enterprise
testing needs, come up with feature requests and you will find it in our
upcoming releases. Stay tuned.

New Features
- OpenAPI 3 Import option has been added.
- OpenAPI 3 schema validation has been added. For more information, please
read our [guide link](https://ng.vrest.io/docs/app/advanced-response-validation/schema.html).

Bug Fixes
- Select custom Environment and then change project related bug fixed.
- During Swagger import, request body related bug fixed.

Improvements
- Disabled option `Generate data driven tests` from community edition to
remove ambiguity.
- Command execution errors are now shown in the Results tab. Detailed command
execution logs can be seen in the Logs tab.
I do wonder if consciousness will turn out to be a strange emergent property of existence. If we can make new consciouses comparable to our own should we? Will we treat them worse than immigrants and poor people? Will they be our slaves? I need to read more sci-fi...
What fun! Nice work!
You're not wrong about Rust, but Rust was in beta for so long that Fortnite and Rust had their full release in the same year.
We've adjusted the title to try to express that. If anyone can suggest a better title (i.e. more accurate and neutral) we can change it again.
Its an important change, but not huge, at least not yet: it's not yet integrated in the GC, which means you have to explicitly request it. And most of the fragmentation comes anyway from the allocations heap. That being said, I think this will improve in the coming releases.
Billionaire VC: Bitcoin Price to Skyrocket to $250k After May 2020
I don't think there's universal agreement about terminology, but to many of us who work in the area, Monte Carlo (MC) means specifically using random sampling to estimate a deterministic quantity. For example, MC methods can be used to compute the ground state energy of atoms and molecules. This in principle can also be done by solving the many-body Schroedinger equation, but direct numerical solution is simply not feasiable except for systems with very few degrees of freedom. In contrast, the term "simulation" often (but not always) means to simulate to take a look.

As is usual with these things, the boundary is not sharp. One selling point of sampling is that with greater expense you also get more information about the "energy landscape," can do uncertainty quantification, etc.
For most intents and purposes the world doesn't differentiate between hackers and script kiddies.

The world cares about individuals breaking into systems and stealing or breaking their stuff. They aren't particularly concerned about the technical sophistication of said individuals.
Can you elaborate on this? I've never heard of such a phenomenon. What aspect of the holidays is rough for some?

edit: This is a legitimate question, in case it wasn't obvious.

edit 2: Got it, no questions allowed. Apologies.
> cdb went with Go but their storage layer ended up being rewritten with C,

The storage layer was not rewritten in C, it's just RocksDB. There's ongoing work to use a custom built LSM store instead: https://github.com/cockroachdb/pebble
I know the reason for it! But the fact remains that it's two actions that are superficially the same (press an affirmative sort of key to trigger a highlighted button), and users who choose wrong lose data. That's... pretty much a one-sentence definition of bad UX :D

The same system would make perfect sense if it only had one focus target. Dialog comes up, the "main" action is focused, tab cycles the focus, space/enter select it, and escape cancels the dialog. There'd be nothing to learn and nothing to remember.
Brave is the most disruptive thing to happen on the web in 15 years. The discussion about tracking is almost irrelevant - adblocking is the bait that brave uses which will take us from google's web to a web where every visitor can directly pay the creator to read anything on the web. It's almost comical to watch HN melting against brave because it's threatening the profits of their bosses. I personally hope the best for them and i 'll be doing my best to promote it.
That’s exactly my point. Be courteous and tell people what you are doing so they don’t have to be concerned. It’s this kind of behavior that triggers creation of laws because some people are jerks that push things too far. I watched this with camera drones in national parks. First they were fun but then idiots had to fly them all the time, over crowded areas, lose them in protected areas, wild fires and airports and now we have restrictive laws.

I doesn’t seem to be acceptable that somebody is flying pretty heavy drones every night without anybody knowing who or why.
This is so ripe for abuse. I would not want my daughter going to a school that implemented such a program.
Small hitboxes are just small hitboxes. "Grazing" specifically means closely approaching things that are harmful to touch, usually because the game rewards it in some way. This makes the game more fun by encouraging the player to take risks. It's been around for a long time, but AFAIK the first game to use it as a core mechanic was Psyvariar (2000), where it's used to power up your ship.
People silly enough to give their address out to randomness on the internet?
My New Year's resolution is to start a lifestyle business. I got a head start last week and the website and user dashboard is up, and I already have a few customers.
A christmas gift for all the gophers out there
To me offline is more important than open source for an app like this.

Sustainability without being another app that demands monthly payments is also important to me (there are some really nice examples of apps that play their freemium game excellently out there. Agenda on iOS come to mind as an example as does Manic Time on PC. I own both.)
This one [0][1] is probably my favourite variation.

[0] https://community.wolfram.com/c/portal/getImageAttachment?fi...

[1] Silvia Hao's reply at https://community.wolfram.com/groups/-/m/t/175891 (Also, why doesn't it have id attributes for individual replies?)
Frontend issues aside.

>Feel free to support a user whose problem is similar to yours. With 5 supports, you guys can unlock discussion!

Is a interesting model to me. I think the next generation social network will have to come up with clever rules to foster discussion like this.

What stack are you using?
I mean both the probability that they are happy in their position and stay, and the probability that they are an acceptable candidate. These are two very different things though probably quite correlated.
You're making even less sense in this post and you ask him/her to chill?
Ted Chiang’s new collection of short stories, Exhalation, has a story called The Lifecycle of Software Objects with a compelling take on this. I really enjoyed it.
mDNS has been around forever (2002/macOS 10.2) but probably best known in the Apple ecosystem as Bonjour [1,2]. Much of Apple's big software and hardware products integrate it in some way.

[1] https://developer.apple.com/bonjour/

[2] https://en.wikipedia.org/wiki/Bonjour_(software)
Vim Filters, External Commands, and the Shell
I say yes because, as others have pointed out, C is at the base of nearly everything. If not C then you should learn some systems level language, be it C, D, rust or whatever. If you want to know how modern computing actually works then that's the way to do it.

You'll learn lessons that will teach you how to avoid common pitfall mistakes in higher level languages. And you'll be able to interop with C/C++ libraries which can be quite useful. And your code will run faster than most other languages can achieve. There are lots of reasons to learn C even today.
What would your conclusion be if it doesn't emerge?
My friend and I have been working on eris for a while and we’re very excited to get feedback from fellow gophers.

Eris provides a better way to handle, trace, and log errors in Go. More info here github.com/rotisserie/eris and godoc.org/github.com/rotisserie/eris

You can reach out to us on slack (gorotisserie.slack.com/archives/CS13EC3T6) for additional comments and feedback.
For reference, secure boot is pretty easy if you have a kernel with a combined initramfs, command line, and efi stub loader. You just sign the kernel with your EFI key, and you’re good to go.

You don’t even need to build your own kernel to do this. You can use your distro’s kernel and patch it with objcopy.
Evernote and reliable doesn't seem like something that shoumd be in the same sentence or am I seriously mistaken?
I agree, especially when words like idiomatic are used it usually is very one sided perspectives. I know popular startups that use their own in house Go frameworks, and many of the devs there worked at Google, some on Go. They would use packages and make them appear like classes to other callers, etc... basically mimicking long proven design patterns in their frameworks.

Also, lots of dependency injection patterns everywhere, which is actually a great way when dealing with larger projects.
Reading further: the increased embodied energy for the Leaf is one tone of carbon. The Tesla is six tons.

The fact that the Tesla retains the same emission reduction is because it’s a much larger vehicle. The same sedan would burn much more gas. So what I’d want to know is what’s the footprint of the 2019 extended range Leaf? 2 tons? Five? What’s the lifetime efficiency profile there?

(Also I didn’t realize that power in the Midwest was quite that dirty. That’s nuts and it drags the profile down for everyone else. Apparently EVs in the West are a slam dunk, and also on parts of the eastern seaboard. Iowa? Not much of an improvement)
The sooner you can validate it as a product the better -- minimum remarkable product and try and get some customers. If people really need it (solving a problem many have, but few can solve) you will found out fast.
Assuming the Federal Reserve has only announced plans to continue pumping money into the system through April, This would be a reasonable bet. Unless the Federal Reserve does the same thing that Abe has done in Japan and keeps the market floating even though growth gets killed, the market won't fall. So BTC only has a shot if the Fed allows a MASSIVE market correction, but they are doing a new QE and will continue to do so because that is the only tool they have to help the market.
For what it's worth, I did launch a side-project into a full-time company the same year my first kid was born. I would contend that if you have difficulty managing all the competing interests in your life between work family and side-projects now, it will not likely improve when you launch your former side project into a full time gig. Elon Musk is notorious for not taking vacations and sleeping on the factory floor when exciting shit is going down. His partner knows this and is ok with that. If yours isn't, then frankly, yeah it's going to be a major uphill battle and stressor on your relationship to try and pull that off.

It's totally ok to not be in a position to do this. In fact, it's arguably a healthier way of living. But it may still be an indication of failing that level zero test because you just aren't into it enough. Business is not the make-a-wish foundation.
You're not banned here.
Strange to use the word "most" without much effort to compare to other rights.

And it also doesn't really define "underappreciated" very well.
Ghost in the Shell had a very vivid image of a similar nature in manga -- think it was also connected with nanowire networks. Predicted the future?
Merry Christmas, dang. <3
PDrive
Domain Names Without a Location
mDNS is intented for local development, not production usage. It simply enables one to develop without installing a more production-worthy solution like Consul.
I don't know, but let's not fly too close to the black hole of gender flamewar.
People who lost someone, people who are separated from their loved ones, people who are introvert but must act sociable, people who are depressed but must act chipper or else be asked questions, people who are alone but see all other people getting together for parties, people that hate their families but cannot escape the obligatory gathering, people who are poor but feel pressure to give gifts and have a lavish meal.

The list is endless.
If only all my lawmakers weren't busy in flamewars with bots on twitter, we could maybe get this done!
It wasn't a snark; I have yet to witness a liberal definition of totalitarian state that's not a sand castle. A liberal state is a schizo state that has no positive theory of state so it doesn't have a theory of totalitarian state. It's delusions about how oppressive monarchy was, slightly before they started bloodshedding in the name of raison raisonnante, do not apply here.

What the Chinese have is a formal system, and I can't quite tell if the informal liberal system isn't worse. This was a point of contemplation for Andrei Navrozov as an emigrant from USSR to US in the 1970s in his book "The Gingerbread Race" [1]

> [1] https://archive.org/details/NavrozovAndreiTheGingerbreadRace...
Genuine question, are those edits usable in another app though? I.e. even if the XMP notes that I used a range mask with some color filter, if capture one or DT aren't capable of this or aren't capable of reading the sidecar files, isn't this a de-facto lock-in?
Oh, my bad, I misread the datasheet, read "A9" where it says "ARM9". Thanks for the correction.