skysight-inc/HackerNews huggingface dataset:
something is going on, I registered for the free service, clicking system requirements or any other link gets me to a microsoftonline login, probably some internal service that shouldn't be exposed, https://login.microsoftonline.com/43083d15-variousnumbers-39...

"Selected user account does not exist in tenant 'NVIDIA Corporation' and cannot access the application 'https://preview.nvidia.com' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account."
> ... but that statement there doesn’t say anything about the heap size, including the size and count of live objects (i.e., not garbage).

Not sure why you got downvoted, you're actually right, I'm wrong: I misread that and/or assumed one meant the other.

That said, this is a case that should be ideal for generational GC, which Go specifically eschewed at one point. I'm not sure this is still the case, however--I have yet to wade through this[1] to update my knowledge here.

[1] https://blog.golang.org/ismmkeynote
> which is why we hash it first and then encode it in base64 before transmitting it.

This made me chuckle. "As per the rules, we'll put on a boxing glove before we punch your lights out". You wont get privacy, but at least there is some security!
With C# 8 you can also write it as:

public static double ComputeArea(object shape) =>
shape switch
{
Square s => s.Side * s.Side,
Circle c => c.Radius * c.Radius * Math.PI,
Rectangle r => r.Height * r.Length
_ => throw new ArgumentException(
message: "shape is not recognized",
paramName: nameof(shape))
};
I'd say this is probably a bad example of usage for the feature. I use pattern matching in a few places in my own code-base, and it's almost always on interfaces that have a large set of extension methods applied. It's kind of like an entity-component architecture, except the components are added at compile-time, rather than run-time.

Unfortunately, real-life use scenarios are verbose and involved and require a lot of background context that detracts from just demonstrating the syntax. This is just demonstrating the syntax. Standard patterns of software design still apply.
I think we are getting to an age where reboots could be near instant.
What about running Chrome inside a container?
This subthread explains why it's more memory efficient to use a tree-based structure: https://news.ycombinator.com/item?id=22239393. Short version is that in order to get good performance out of a hashtable based structure, you want to have more than n slots in order to achieve good performance.

Which brings me to my second point: hashtable based data structures are not worst-case O(1). They are worst-case O(n), because in the worst case, you will either have to scan every entry in your table (open addressing) or walk a list of size n (separate chaining). Of course, good hashtable implementations will not allow a situation with so many collisions, but in order to avoid that, they will need to allocate a new table and copy over the contents of the old, which is also a O(n) operation.

Given two kinds of data structures, one which is average-case O(1), but worst-case O(n) versus best- and worst-case O(log n), which one you choose depends on what kinds of performance you're optimizing for, and how bad the constants are that we've been ignoring. If you care more about throughput, then you usually want average-case O(1), as the occasional latency spikes aren't important to you. But if you care more about latency, then you'll probably want to choose worst-case O(log n), assuming that its implementations constants aren't too bad.
Wait till you get to work in some complex code bases and you'll understand why jamming all kinds of idioms into one language can become a disaster. It's a tool after all, if you know how to use it properly you don't paint yourself into a corner. However, too much flexibility can lead to many problems in larger teams. Good luck!
From /u/DiscordJesse on reddit:

> We tried upgrading a few times. 1.8, 1.9, and 1.10. None of it helped. We made this change in May 2019. Just getting around to the blog post now since we've been busy.

https://www.reddit.com/r/programming/comments/eyuebc/why_dis...
I had a friend show me this when I was a kid and I did it for a while. That engineer was probably raised that way and thought it was as normal as buttering toast.
I was surprised to see it mention this 1962 book:

https://en.wikipedia.org/wiki/The_Image:_A_Guide_to_Pseudo-e...

certainly you find many books in history circa the 1960s that take it for granted that American culture has been full of BS from the very beginning, but that book clearly dates before the surge in French Theory, TV News as we know it, ...
Where did you get the idea that records can't use annotations, have methods, or implement interfaces?:

"Beyond the restrictions above, records behave like normal classes: they can be declared top level or nested, they can be generic, they can implement interfaces, and they are instantiated via the new keyword. The record's body may declare static methods, static fields, static initializers, constructors, instance methods, and nested types. The record, and the individual components in a state description, may be annotated."

https://openjdk.java.net/jeps/359
> The JVM world tends to solve this problem by using off-heap caches. See Apache Ignite [0] or Ehcache [1].

For those who care, I was interested how off-heap caching works in Java and I did some quick searching around the Apache Ignite code.

The meat is here:

- GridUnsafeMemory, an implementation of access to entries allocated off-heap. This appears to implement some common Ignite interface, and invokes calls to a “GridUnsafe” class https://github.com/apache/ignite/blob/53e47e9191d717b3eec495...

- This class is the closest to the JVM’s native memory, and wraps sun.misc.Unsafe: https://github.com/apache/ignite/blob/53e47e9191d717b3eec495...

- And this, sun.misc.Unsafe, is what it’s all about: http://www.docjar.com/docs/api/sun/misc/Unsafe.html

It’s very interesting because I did my fair share of JNI work, and context switches between JVM and native code are typically fairly expensive. My guess is that this class was likely one of the reasons why Sun ended up implementing their (undocumented) JavaCritical* etc functions and the likes.
And there are way more games available on Linux, plus many more Linux PCs will have a strong graphics card. Probably a smaller market. Add to that the strained relationship between Nvidia and the Linux community and Now not being on Linux is really not surprising. A pity, I was about to test this.
Octopus Energy | Software Engineer | Soho, London, UK | ONSITE, FULL TIME

We are a tech-centric green energy supplier building a global energy platform to help foster renewable energy adoption around the world. We’re looking for diligent and thoughtful software engineers to join us. If you want to use your technical skills to help fight climate change, this is a great opportunity.

We deliberately choose simple, trusted technologies like Python, Django, Postgres and RabbitMQ. We have a culture of high quality software engineering, using pair programming, code review and continuous deployment to deliver effective software.

Further details on the role and how to apply here:
https://octopus.energy/careers/back-end-developer/
Bitcoin SV: Genesis activation successful, hard fork upgrade complete
https://bitcoinsv.io/2020/02/04/genesis-activation-successful/
Google admits it sent private videos in Google Photos to strangers
Theres two approaches to solving this. If there is more than one of you, or you have kids, then the person who cooks doesn't clean. The other (more sensible approach) is once you enter the kitchen, you don't leave it until the meal is done. If a meal takes 30 minutes from prep to plate, chances are a lot of that time is waiting. Cleaning during that time is how you minimise that cost. I cook every other night (and we have leftovers in between) and we have food on the table, with everything but serving dishes within an hour from when I get home most evenings.
Hm, I think that’s a good observation. Likely rooted in how a lot of our opinions are consensus based rather than reason based. If a weird person says something you’ll write it off as them being them. If a normal (or god forbid a popular person) says it, you’ll probably assimilate it into your beliefs. No particular bigotry required.

I kind of hate this about human behavior. It’s not easy to suppress. We’re very eager to parrot opinions on whether things are good or bad based on who gave the opinion.
Whether consent is legally required or not, as a user I want that service, whatever it is, to not work until I consent to the exposure of my personal data. Given that it apparently has something to do with DRM, I would be disabling the service anyway.
I think everything you're complaining about is a good thing to be honest.
> While Rust does not have a discrete runtime GC process, it does utilize reference counting for dynamic memory cleanup.

That's so misleading as to essentially be a lie.

Rust uses reference counting if and only if you opt into it via reference-counted pointers. Using Rc or Arc is not the normal or default course of action, and I'm not aware of any situation where it is ubiquitous.

> So you could argue [nonsense]

No, you really could not.
nunchuck skills, bowhunting skills, computer hacking skills
Thank you! I tried using internet archive but somehow it wasn't loading the page properly. I was going a bit insane, but remembered it's just the internet and moved on.
Best Alien 3D Models You Can Print at Home
“When not working full time as a Cloud Architect for the little software company Microsoft, Walter devotes his time to writing about intelligent design for Evolution News and Views”

A Discovery Institute blog
No. Resonableness is a concept in law and in this specific law that prescribes sane limits.

There is also the "reasonable person" test which has been the basis for a huge amount of the body of law that we have already.

Please, read the law or the excerpts that have been posted in this comment thread -- it is not an onerous law. The crap the cities and states pile up on top to make things harder (ie: requiring a building to be up to code before allowing an ADA accommodation building permit to be issued) are half the problem. The business owners are the other half for sticking their fingers in their ears.

See also this link and the links embedded regarding "readily achievable": https://www.law.cornell.edu/uscode/text/42/12182
Why are you being downvoted?
The functionality is the functionality: it targets the header to Google sites. If there's a legal issue it really stands or falls there, not on the presence of another company's domain in the tests. There's nothing Yahoo-specific about what Chrome is actually doing.
public static double ComputeArea(object shape) =>
shape switch {
Square s => s.Side * s.Side,
Circle c => c.Radius * c.Radius * Math.PI,
Rectangle r => r.Height * r.Length,
_ => throw new ArgumentException( message: "shape is not recognized", paramName: nameof(shape));
}
Erlang's basically solved it (and, arguably, solved it decades ago); relevant as discord uses erlang VM in places.
That's not fair considering the two longest lines are for logging into dockerhub and parsing input arguments.
I would definitely support making Lenses an officially-integrated part of the language, since for the most part they do somewhat address my complaints. If they could make the syntax for it feel a little less hackey I think I wouldn't whine at all about records.

I'm not super familiar with Purescript, so I can't comment on the row types; are they more-pleasant than Haskell's?
I’m gonna break a rule, but, honestly, HN confuses me. I asked a genuine question and I’m being downvoted for it because (I assume) some people mistake it as trolling.

Anyways, I never said they didn’t do anything. I said, “here’s what I thought: x. Was I wrong?” My use of “(read: modify)” was to clarify that when I said meddle in that instance, I meant actual modification; I was referencing what the parent comment had said.
I think the op was asking because you had their interest and they wanted to know directions they could go in.

Your post seems to assume people know of the different directions they could study
He was installing Chrome over a modem connection.
And renters have no choice but cough up the money because.. sleeping in parks, streets and under bridges ain't pleasant at all. It's a growing problem that slowly is becoming something impossible to fix. I personally don't see this getting fixed but getting worse over time.
They do?

Rippletoe teaches low-bar squats (because of reasons), most people do high-bar squats.
I don't know, what's easier to understand? Sorting a list with an IComparer instance that you have to implement in a concrete data type somewhere, or just tossing it a lambda expression? Just because it's new syntax doesn't mean it's automatically more difficult to understand the language.
I think the team of academics thought they had a good fit, but after gathering the data realised they didn't. It was unintentional and an unexpected result.
It seems you aren't aware of what was happening at the time:

2003 Colin Powell's speech in the UN Security Council:

https://en.wikipedia.org/wiki/United_Nations_Security_Counci...

A presentation with all the "proofs" which, only after the war started, were proven to be fakes.

Only in 2005, he admits:

https://www.nytimes.com/2005/09/09/politics/powell-calls-his...

"Powell Calls His U.N. Speech a Lasting Blot on His Record"

In between, there were a lot who wanted to believe. Including most of the politicians. And not only in the U.S.

Britain was more than willing to help and contributed with its own fake proofs, e.g. the February 2003 dossier:

https://en.wikipedia.org/wiki/Iraq_Dossier

"much of the work in the Iraq Dossier had been plagiarised from various unattributed sources including a 13-year-old thesis produced by a student at California State University"

The thing is, J.D. Maddox is right when he writes:

"I’m struck by the power of our national momentum toward going to war — especially unnecessary ones — and alarmed that this momentum seems nearly impossible to halt."

It was true then, it's true now.

Edit, to answer LatteLazy's: ""UN Chief Inspector Hans Blix" rebutting the Powell speech. That's before the invasion and after the speech of course..."

Yes, that rebuttal surely existed (and some others too!), but has it influenced the politics of U.S. and allies in any way? Or the media? It effectively hasn't. Therefore: "the power of our national momentum toward going to war — especially unnecessary ones... seems nearly impossible to halt."

There were also the protests, in vain: https://en.wikipedia.org/wiki/Protests_against_the_Iraq_War
The DNC doesn't run the Iowa Caucuses.
I think "weirdness points" is a subset of a larger idea.

For example Martin Luther King Jr. had great success when he was pushing for one idea, racial equality. Then a year before he was assassinated, he publicly turned to a wider range of causes. He came out against the Vietnam War at a time when most were supporting it. He announced his support for economic equality. History judged him right, but his timing might have been wrong.

Because of his early stance against the war, he lost many of his mainstream supporters. His fight for racial equality started to sputter.

Maybe this is an exact application of weirdness points? But it seems like something bigger is at work here, and weirdness points are a subset of this bigger idea.
"which means hardcore gamers, who would want to spend money on gaming, will never be customers"

I mean, either you're paying nvidia $5 per month, or odds are you're paying them many hundreds of dollars for a GPU every two years. I don't think they're really seeing the downside. Nor does your economic case actually make sense (nvidia is filling their own data center full of their own cards -- they can provide a much higher performance per dollar than they can feeding the same through retail channels).

It's also worth noting that the quality offered by this service easily matches or beats a PS4 or Xbox One X. Not sure why you felt the need to squeeze console gamers in when defining "hardcore" gamers. Quite the contrary for people with a console but who have a desktop or laptop that wouldn't normally be able to give a good experience, this service is wonderful to bridge their experience.

"Just look in this thread, the people who are impressed are casual gamers who have no interest in building a gaming PC"

This is nonsensical gatekeeping. I love the service. I normally game on a pretty beefy "gaming PC" and had fed many thousands of dollars to nvidia over the years. Do I not count because you disagree?

But that's irrelevant. People who talk about their "gaming PC" or try to gate-keep who counts as real gamers are a minority. In no universe is that the make or break market.
>It was fast at multitasking for a while, but that advantage has been claimed by several other runtimes in 2020.

Such as?
I think this boils down to the premise that the more complex you make a system the easier it is to break that system
This is one of the main reasons I've been doing the entrepreneurial race almost all my adult life. I need to prove myself enough, by accumulating professional success and wealth, to get enough weirdness points to spend so that I can just be myself! It's a sad state of things.
Google Fiber kills its traditional TV service for new customers
Show HN: Kaleidoscope
Yeah, I guess Republicans can never use Drupal, because a lot of Democratic money went towards it. Can anyone use Windows anymore? Certainly no cloud service can ever be used.
Stuff like https://github.com/p8952/bocker/blob/master/bocker#L94 is super dense.

I might write that something like:

cid="$(
ps o ppid,pid |
grep "^$(
ps o pid,cmd |
grep -E "^\ *[0-9]+ unshare.*$1" |
awk '{print $1}'
)" |
awk '{print $2}'
)"
Legally, they can't, but the fact that you were out for months for an unspecified medical issue suggests you're likely to have more medical issues and thus would be a reason to be less likely to hire you.
Thank you. As to the downvoting -- it takes just one angry guy mad that something doesn't conform with their bias. It's all good.
Ask HN: Is it technically possible to create Log Me Out for 3rd party services?
I have a very important project to finish and for the next 4 hours I would like to focus on it. For the next 4 hours, I would like to be logged out from Facebook (for example) without the option to log in. Is it possible to create software that will keep me logged out from Facebook for a scheduled amount of time?
You're telling me Discord is patching itself on every single launch and this somehow a valid excuse for slow startup performance?

Almost every single app I run auto-updates itself in some form.
I'm a salaried employee, I don't get paid extra if I stay an hour later and get a takeaway on my way home, and I still have to pay for the takeaway. I get the idea, but you can't work 24/7
A flat wing at 45 degrees produces massive turbulence above and behind the wing, which in turn greatly increases the drag-to-lift ratio compared to a standard airplane wing. Also I suspect that ailerons and other control surfaces become much less useful in turbulent flow.
That would be surprising considering Apple didnt know about this processor and had to be convinced to even give 2GS a chance, according to computer history museum Oral History of William David "Bill" Mensch. Not to mention wikis "Steve Wozniak said in January 1985 that Apple was investigating the 65816".
Sorry, I couldn't figure out how to write a code block.
Records are great. If sealed classes become a thing (https://openjdk.java.net/jeps/360) I'll be absolutely elated. And it would be just the cherry on top if the two could be used together (along with a private constructor). Scala has this, i.e. `sealed abstract case class`, Kotlin does not, i.e. `sealed data class` is not valid.

I am thrilled that algebraic datatypes (effectively the combination of records and sealed classes) are finally entering mainstream consciousness and that statically typed languages all over the place are starting to adopt them.
but, will interest rates ever become more reasonable again? the US fed and the feds across the world seem to be hell-bent on creating very high inflation. even now that we've had 2.1 and 2.4% inflation, apparrently that's not high enough even though they're supposed to keep it at 2.
I can save you the trouble. There is no such feature. Using Wireshark FOR advanced malware analysis is a thing, but it has no special feature built in with that name.

It's almost like the author was given some short hand notes and wrote them up wrong.

We use Wireshark day in, day out at my work place and many of us picked up on that statement.
I used to eat out almost every meal as well. It wasn't because I didn't know how to cook, and I even like cooking. The economics (monetary and time) just didn't work out for one person. I can't buy in bulk (at least not fresh produce) because there is only one of me, so the cost is about the same as eating out. It also takes me a while to cook, clean etc, which takes more time than just eating out some where or getting takeout.

However, when I'm in a relationship, we tend to cook a lot more. The economics works out better, lower incremental cost of 2 vs 1 at home but double the cost (nearly) eating out. Also with 2 people cooking / cleaning, the time it takes for 1 person reduces quite a bit.
Wonderful city, what did you do there? University by any chance?
Newton's law doesn't do a good job of explaining why airplane wings have the shape they do. Why not just use a flat wing at a 45 degree angle?
Iowa Caucus App Developer Was Deeply Embedded in Democratic Establishment
Wizard Labs | Santa Monica, CA | iOS Engineer, ML Engineer

Wizard Labs is a venture-backed company working in the area of game content creation, curation and distribution utilizing cutting edge AI and ML technology. The company was started in 2019 by the founder and lead engineer of Mobcrush (mobile game live streaming).

We are looking for an iOS engineer and a ML engineer to join our 4 person engineering-centric team.

If interested, please contact us directly ss@wizardlabs.gg.
Working my way down that list!
Modern C++ is the right choice if you have an existing code base in C++, or you need to use features that only exist in a third party C++ library - there is a large collection of C++ libraries to choose from.

Their use case doesn't seem to have either consideration (note that even when these are considerations a hybrid of languages is often a good idea) so there isn't a compelling reason to choose C++. That doesn't mean C++ is wrong, just that there is nothing wrong with rust. Maybe a great C++ programmer can get a few tenths of a percent faster code (mostly because compiler writers spend more effort figuring out how to optimize C++ - rust uses the same llvm optimizer but it might sometimes do something less optimal because it assumed C++ input), but in general if the difference matters in your environment you are too close to the edge and need to scale.

Rust might be easier/faster to write than modern C++. If so that is a point in favor of rust. They seem to have people who know rust, which is important. There might be more people who know C++, but I can take any great programmer and make them good in any programming language in a few weeks in the worst case (worst case would be writing a large program in intercal or some such intentionally hard language) - not to be confused with expert which takes more experience.
These pseudo-events are almost necessary in our first-past-the-post system, to build consensus among two wings and avoid the spoiler effect. With its air of legitimacy it creates a schelling point (or two) so that a bunch of strangers can cooperate in a very strange game. It doesn't really matter what schelling point you choose, just that you're able to choose the same one, and your expected payoff will be higher.