skysight-inc/HackerNews huggingface dataset:
Scala is more strict than D for this use case. In Scala, if you want a function to be available to a certain type as if it was a method call, you need to be explicit about it. You have to declare an "implicit class" that takes the base type as an argument, and define the function as a method of the implicit class. You also need to ensure the implicit class is in scope. Once these conditions are met, you can use it as a method.

val t1 = MyType()
def fun(t: MyType, argument: Int) = argument

// can't do this yet
// t1.fun(42)

// In Scala 2 you use an implicit class to add methods to a type
implicit class MyEnrichedType(t: MyType) {
def fun(argument: Int) = fun(t, argument)
}

// In Scala 3 you use an extension
extension (t: MyType)
def fun(argument: Int) = fun(t, argument)

// now it can be done
t.fun(42)

Regarding your question about the stdlib methods being able to be chained: they are not special. They are defined for the type the methods return, so they can be used.

Rejecting all kinds of implicits and then complaining about Scala missing features is a bit unfair. "Implicit"is a single keyword, but not a single feature. Implicit arguments, implicit conversions and implicit classes are not the same thing. Fortunately, Scala 3 will clear this misunderstanding.
I've checked ITER's details and it's a truly international project, just that the EU is a member rather than member states individually.

All major powers are members (EU, US, Russia, India, Japan) and it would be disturbing (at least to me) if the UK walked away...
Disclosure: Unlimited Chase Ultimate Rewards Points
Due to fear of retaliation I decided initially not to share this story, but enough time has passed, and I feel the security community should know how one of the largest banks treats security researchers.
It's the first hyperlink in the text of the linked-to article, going to http://www.sciencemag.org/careers/2016/01/how-read-scientifi... .
I think this is a fault of language ergonomics rather than static typing.

If you are gluing components together, then surely the components have a common interface that uses compatible types. And surely you need to tell the runtime what those types are in some way, even if that is simply by writing them to return appropriate values.

In theory, a statically typed language with ideal ergonomics would make that as easy to specify as a dynamic language, but would have the benefit of warning you of mistakes as early as possible.

Of course, many statically-typed languages trade-off some amount of ergonomics for other features.
so "you" is connected with the physical matter that makes you up? You are aware that that physical matter is completely replaced many times over during the course of your life time?
Or sort by both artist, and original release date.

But they also have a pretty good API with generous limits. Really need to find the effort to restart work on my "spotify shuffle/playlist" style app that uses your collection to build out a play session. Had a lot of momentum at the start of covid and just fell off.
Discogs is responsible for too many rare album purchases that I paid irresponsible amounts of money for. its awesome
Will Tesla stop selling in that state?
> Drag’n’drop Pivot Tables and Charts for Jupyter/IPython Notebook, care of PivotTable.js

-- https://github.com/nicolaskruchten/jupyter_pivottablejs
Discogs actually had this feature (called 'tracks'), but recently disabled it: https://www.discogs.com/forum/thread/803017
What you say seems to imply that every rich person is an evil and greedy. There are philantropists too.
Vim9 Script
I am used to hearing this from software engineers who are secure in the knowledge that when they want to try out a concept, hardware time to do so will be cheap and readily available. At some point, you are going to have to take all of your shiny materials science and turbulence simulations, and actually build a piece of apparatus to test it out on the scale that your chosen application (in this case, power generation) will require. The universe is under no obligation to make sure that it will cost less than billions to do so; hence ITER.

Having said that, there's been a lot of extremely promising recent progress in high field superconductors and fusion designs based on them (MIT ARC, Tokamak Energy, etc) that could shrink the necessary scale for a working reactor, so perhaps it will turn out we're lucky with the physics on this one after all.
That's almost 1% of US population employed by a single employer !
For me, it depends obviously on why I’m reading it. If it’s a matter of background, I read the abstract and look at the figures to see if they’re reasonable. Then I file it away.

If I need to design an experiment, I read the abstract and the methodology, then study the results to see if the methodology is any good. The references in the methodology often lead to other good papers. Here you find discrepancies in what they think they’re doing, what they tell you they’re doing, and what they’re actually doing. Reagents, for example, can be very specialized, and may not actually be available from the vendor they list. It’s a great way to “meet your neighbors”, asking them if they can help you find materials.

These days I mostly read critically, as I’m a practitioner and not a researcher. In this case I read the abstract and introduction. If the introduction isn’t 100% stuff I already know, I go out to the references. This makes critical reading time consuming and causes a fractal explosion of the number of papers in the collection. However, it is also how you find bullshit. Often someone in a review will assert that a reference supports a statement. Lazy or mendacious writers will copy that statement complete with the reference into their own paper. The actual reference may say nothing of the sort. Sometimes, there are multiple levels to this telephone game and each level loses nuance while adding error. When you see a lot of this, you know that there’s a bullshit problem in the domain.

If the author seems prone to BS or plagiarism, the results are somewhat questionable.

If the introduction is fine, I read the results and compare bits to the method. In my field, we look a lot at statistical power and effect sizes. Significance tests are often used incorrectly as a proxy and it pays to understand their limitations.

It’s also important to know how close the result is to the real world (for me). A paper showing reduced mortality, faster recovery, less pain, etc., is much better than one that shows a change in a biochemical marker or cellular protein and RNA content. A study in the species of interest is usually better than one in a model.

Ioannidis is right, most studies are flawed, so it’s best to avoid putting too much stock in any single one. A lot of good research has been done by questioning the accepted wisdom, which usually means one or two studies that may have flaws.
Honestly? Maybe.

There is almost no anti-obesity stigma in the US. Everyone’s fat, so nobody cares.

If being obese was stigmatized I bet people would care a lot more about avoiding the stigma.
This is just feedback as a user and fellow maker - so you can calibrate your target audience (given that only people who care about being tracked are vocal on this):

I love your service because I can easily get rid of crappy newsletter but I don't care if a website is tracking me and I'd prefer if you'd spend more time on the product instead of this bike shedding.

I understand the marketing plan and getting traffic from HN and I respect that, but as a user, I'm slightly put off by this.

I hate crappy emails like I hate cookie banners. It's not because of privacy concerns, it's because it's a PITA.
U.S. Exits Paris Climate Accord
I think the awareness problem is that the majority of people in modern society have never trully experienced what it is to _not_ have light pollution. People just assume that the white/orange glow in the sky around a large city is normal and somehow unavoidable.

This is to me the best a-picture-is-worth-a-thousand-words explanation I found to make people realize the root-cause of light pollution both for public and private illumination:

http://cescos.fau.edu/observatory/Images/floodlight-angles-g...
There is a lot of misunderstanding about now-casts and probability in this thread, but for me this discussion between two quite able mathematically minded poeple comes down to the exact same thing as what idiots argue with Nate Silver about. Nate Silver has a model that predicts the likely outcome of the election based on poll data, economic data, and a few others factors. Taleb saw Clinton's predicted victory peaked at 90% and says that's wrong - because the uncertainty is so high that you can't be 90% confident.

Even if Clinton were ahead at that point in the election there was a greater than 10% chance of something changing before election day. But this is just the idiots critique - You said it was 90% would happen but the 10% happened! Well, yes, that happens 10% of the time, and if you're making lots of predictions it happens often.

But let's examine the critique, was Clinton a 90% favourite to win? Well probably, I mean in order for Trump to win from that position not only did he need a decent polling error in his favour he also needed the almost unique situation of the FBI director announcing he was re-opening an investigation into Clinton. We can actually see from the polls the effect this had. That sounds like something, in combination with a polling miss, and in combination with a favourable distribution of Trump's vote by state combined to give Trump a win. It seems reasonable to me to fit that firmly under a 10% probability of happening. If that was in your list of likely scenarios at the point the model was at 90% then you are massively over-estimating how often shocks like that happen.

The 90% criticism of 538 only works if you can provide a reasonable discussion of why you think that what happened between the 90% and the result had more than a 10% chance of happening.

In fact I think 90% of Nassim's problem is that he says things like "When someone says are event and its opposite are extremely possible I infer either 1) 50/50 or 2) the predictor is shamelessly hedging, in other words, BS."

He's totally wrong. Nate says "Extremely Possible" because when he says X is 75% people hear "X is 100%", and if Nassim had actually paid as much attention to 538 as he should before making that criticism, then he would know that. Every single election cycle 538 have struggled against the fact that people don't understand probabilities intuitively.
Will you try to explain why this is nonsense?
Prop 22 added minimum wage protection and benefits to gig drivers. Thinking that they need to be employees to receive it is conservative thinking.
Some speech synthesizers for blind people, particularly old versions of Eloquence, crashed when they tried to say specific pieces of text. They often took down the screen reader with them, so the only thing you could do was a hard reset. An example of such a crashword is the mistyping of wednesday, where n is replaced with h.

People were posting those crashwords in chats, on MUDs, or even as usernames. Some places where a lot of blind people hung out even contained specific filters for those.

There were also programs that didn't escape SAPI5 tags properly, so, by posting particularly clever bits of XML, you could change parameters like the pitch, speech rate, volume, or even the currently active voice, and make users, particularly younger users, scared of weird ghosts in their computers.
This isn't a 512 notice, so a counternotice is not possible.
TL;DR: Someone uploaded 3 (yes three) mp3s, which will be duly removed if they haven't been already. Torrentfreak bothered to tell the RIAA, to generate further drama and ad views, but even they weren't interested.

This has nothing to do with youtube-dl; it's just someone annoyed about it doing something completely pointless.
Does anyone here have good ways to monitor GCP cloud functions?

I feel the monitoring/instrumentation around errors/performance is not great, but could be.
By the time we get to this thought experiment we only really need to consider people that were fine with the initial upload process. Being transferred to a new computer is peanuts in comparison.
When Covid Ends I Will
> I follow your logic and see your point...but it still seems like a stretch to label this as coercion. Where do you draw the line?

Do you mean for Uber and Lyft, or for 19th-century factory workers?

I absolutely think the 19th century factory workers had it better than the 19th century plantation slaves. Exactly where we draw the line for "coercion" matters less to me than the recognition that such a lifestyle still wasn't "voluntary": they were forced into doing something nobody should be forced to do.

I don't really know whether Uber or Lyft reach the level of coercion at the moment; but unless there's something to prevent it, the same thing will happen eventually.

> You can always try to argue that the lowest income earners deserve more. Who is to judge their life is too deep in "survival mode?"

I like John Rawl's "Veil of Ignorance": https://fs.blog/2017/10/veil-ignorance/
Buy real estate in Vancouver, WA now. That 0% income tax is gonna look mighty nice.
Markets are about optimizing allocation of scarce resources. A post-scarcity society (if it were possible) would work differently.
My reply was inside a thread on direct subsidies. I still don’t understand what’s your problem.
The biggest issue is that if you run the command 'docker pull X', it counts as a pull even if you already have the up-to-date image, and so it doesn't do a download.
Theme song: https://www.youtube.com/watch?v=N9wsjroVlu8
This looks really useful for leaning a new language or framework. The basic idea of syncing commits with video timestamps and adding speech to text is brilliant.

I hope you make traction with the new tutorial format.
Uber and Lyft Drivers in California Will Remain Independent
ThuộC cung Cự GiảI chơI đá gà như thế nào để mang lạI kết quả tốt nhất?
A collection of datasets for the purpose of emotion recognition in speech
It's not a straight forward answer though. It changes day to day. Some days are very tough but others are amazing.
It was specifically the call-waiting beeps that interrupted the modem connection. I recall my 300 baud modem tolerating it, but 12/2400 (and higher) could not recover from the interruption.
The problem is that accessibility APIs are very limited and stagnated in every single OS (except maybe Apple).

For basic default widgets accessibility works out-of-the-box, but as soon as you want to do something more complex or do custom drawing like Dear ImGui does, you're forced to write WAY more code than anticipated.

In Windows, for example, you need significantly more code to get a11y than to draw a custom widget. If you're drawing to a framebuffer like Dear ImGui is doing, it's even worse. In some OSs have to use other APIs (like focus management) to take advantage of the a11y APIs, which is kind of "at odds" with the whole immediate-GUI paradigm.

This is amazing new for corporation-backed products like Flutter, React Native or even Qt, because it makes the barriers to entry way higher. On the other hand, open source project will lack the resources to do proper native a11y.

Asking OS vendors to have proper accessibility in their OSs is IMO the more appropriate step for accessibility advocates, rather than forcing dozens of Open Source projects to reimplement the same thing over and over.
I love that the funding is statewide. Most public schools are really weird in that parents are heavily incentivized to move to expensive school districts when their kids are school age ish, pay egregious income taxes while their kids actually attend school, then downsize somewhere cheaper when their kids leave. Those public schools get all the funding, and the schools in worse districts have rich parents fleeing them, leaving the less privileged behind with lower local taxes to work with. It’s a really non equitable system.
I did have two lines, but if I couldn't get on the chat board, they were both free to call-waste a few likely users. God, we were savages.
You know I've lived in a place with 0% income taxes and the people it attracts are wholly worth paying to move away from.
I remember forcing my dad to pack the car with my heavy computer and even heavier monitor back in the late 90s. He would drive me to large gyms where I would play with some other 100 people ego shooters. You had to be very careful back then not share any drives. You’d had instantly 20 people trying to login to you computer to browse your files. Fun times. My dad hated it though.
And without breeding blankets, yes you can capture the heat, but you rapidly run out of tritium. ITER will only be operate on DT for a few weeks, total over its lifetime, before the available tritium supply is exhausted (and its materials reach their neutron limits).

A "real" reactor will need to have tritium breeding blankets to regenerate the tritium. Otherwise, the cost of tritium alone, if made in fission reactors, for a 1 GW(e) DT fusion reactor would be $15B/year.
I don't think it's all-or-nothing issue. As a stay at home dad, there were times when I was so tired and depressed that I was on the verge of tears taking my toddlers to the playground.

Did I regret having them? If you asked me in that 5 minutes - I my have said yes. It complicates your life, makes things harder introduces additional stress into what could otherwise be a simple, uncomplicated life. It makes you worry more about - say - the outcome of elections.

Overall though? I share a house with two teenagers who I love deeply, who are lots of fun and I can't imagine being without.
https://www.latimes.com/business/story/2019-12-17/freelance-...
Looking at the typical blue/red state map would not allow you to know the outcome either. You might feel that way, but only because it’s always accompanied with a direct display of the outcome above or below it.

This is a better representation of the map part, not an attempt at conveying aggregated result.
That's really cool! I've read about the use of autorotation but only in the case of emergencies. I had no idea there were entire aircraft based around the concept.

Since the rotary wings are unpowered, the autogyro loses many of the properties that make the helicopter so valuable. It requires forward motion in order to move air through the unpowered rotary wings and maintain lift. Looks like they have propellers providing forward thrust just like fixed wing aircraft. The article also states that they're not capable of vertical take off and landing. They need a runway to accelerate just like fixed wing aircraft.
Haha, this guy build awesome stuff. But when I reading all the comment, most of them give a straight feedback . ouuchhh
Automated Microservices with ICOs
I don't think the car analogy works:

> Sure, the machine might be faster than your current one, but except for the rare few cases when you actually utilize all that power, it won't provide a profoundly different user experience compared to what an iMac will deliver at a fraction of the cost.

Same could be said for a stronger car. It still only gets you from A to B. Except for a few times where you are not stuck in traffic, there is any benefit to the engine. And if you talk about ergonomics of seats and comfort, well nobody stops you from investing in better office gear.
I use ImGui for gui in a user-facing app that is "large-ish" (~500k LOC maybe). When removing items from lists etc I used to keep drawing non-removed items in the list so the user would not see a "glitch". But I realized it is not necessary. Just cut it short. The user can only take one action per frame from mouse click or button press etc. It's totally fine to render one frame a bit "strange" when someone deletes or adds to a list.

There is no problem in redrawing everything from state every frame. There is no problems in having "half frame be old state" - even at 30 fps it is not noticeable.

We use a separate update() and gui() path though. So all entities will get an update opportunity even if the gui is hidden. And state is kept in a config that is beautiful to use... Maybe the issues here comes from not having those parts.
> What you see in K8S is the exception rather than the norm in Go - but is the norm in other languages.

I suggest that is because not many large applications have yet been built in Go and it is still relatively young. If Go was used more sparingly as a "domain-specific language for concurrent network services", then I might be inclined to agree with you, but it seems to be marketed and promoted as a general purpose language.
Please note. Dr. Sinclair is 51 years old. As you watch [1], really let that sink in.
Trump claims victory while votes are still being counted
There's a small problem with your comment- 538 didn't predict the 2016 election wrong. They gave Trump a roughly 30% chance of winning. 30% happens. That's all. People act like 538 said "Clinton will win!" but that's absolutely not what they did.
Given the legality of unionizing, I certainly don't see wages going up in the near future. It sounds like a lot of these employees weren't educated about their (lack of) rights.
Agreed! I would love for discogs to be used as a database of sorts for a streaming service.
In fact I started a sideproject couple years ago do do that.
It's called https://tubeplates.github.io and uses youtube as the music backend.
If you would call it pipe operator, like it's called in many (Elm, Elixir, F#, OCaml) other languages that have it, people would understand you faster IMHO. It is even discussed for inclusion into JavaScript.
Doesn’t this depend on how well the videos are transcribed? I imagine for some people it’s way easier and faster to record a video than to type.
Err, is the "casual use of the gig economy" good? These are jobs, not hobbies, and people need to eat. This certainly isn't going to make getting bread on the table any easier except in the extremely short term—and that's assuming a collective, vindictive, corporate withdrawal from the state.
Hey, Dang, Idk if this is allowed because this is politics, but I thought it was a noteworthy thing for a world leader to do. However, I understand if you want to delete it.