skysight-inc/HackerNews huggingface dataset:
Do you still hire college grads or just anyone? Sure the grads don't have any experience but it's better than anyone off the street that knows less than nothing.
> A Smalltalk message is a function call that has to return.

Yes, but, that does not mean "async messaging" is not supported.

A Smalltalk "message" can return "nil" immediately in other words return nothing. A message-argument can be a "block" which is an executable function-like object, in fact very close to JavaScript function-closures.

So the recipient of a message carrying a block can at any time in the future ask the block to execute itself, with arguments, and thus produce async "replies", again much like with JavaScript "callbacks".

The arguments of a block can be blocks as well thus providing multi-way message passing.

What Smalltalk does not support out of the box is Distributed Programming, i.e. multiple machines communicating and working together passing messages among themselves. You will have to create your own servers and communications protocols to do that.
Religious and national flamewar are not allowed here. Please don't post like this to HN again.

https://news.ycombinator.com/newsguidelines.html
> A lot of people take a lot of pride and interest in their culture. How is that "fucking creepy"?

Because it's not her culture. She's American, not Italian.
Some of these I wouldn't want to use outside of a one-off scripting environment.

The double edged sword of Groovy is that on the one hand the kitchen sink approach means just about anything you want to do is built in. But the downside is, achieving a comprehensive knowledge of all its capabilities is almost impossible, and relying on everyone in your team
understanding the magic inherent in these methods generates huge amounts of quirky bugs, wasted time and frustration.

I do like Groovy a lot, but I prefer to stick to its core for these reasons and rarely use the exotic enhancements.
Non-native speaker but probably tried 20 times? I had to force it to make it work.

I'm very very sure I can do the first tone.

Would love it if this thing did work reliably though. Also would be nice to have one Cantonese.
The diligent volunteers working as part of the Archive Team collective manually joined tens of thousands of accounts and were able to pull a lot, but no, it was not resolved with any help from Yahoo/Verizon, and they ended up having to pull messages via a painfully slow API. A ton of files, photos and databases were saved, though.

The only solace I can take from the thousands of CAPTCHAs I solved that crazy week is that the image tagging is now so polluted that it’s going to be worthless for Google’s Waymo. Example: it insisted that the rumble strips (“drunk bumps”) on the side of the highway were actually crosswalks. I came to accept this in order to get on with joining groups. Also, an extremely broad definition of fire hydrant, by which I mean things that are absolutely not fire hydrants, but enough people bulk-solving CAPTCHAs in places that possibly don’t have traditional North American-style fire hydrants thought might be.
Hasn't been true for awhile. We are dealing with a population implosion now.
I often see this sentiment here. And part of me, of course, agrees.

Of course, it would also mean the total upheaval of human society. Not just in terms of our environment and physical space, but all of our customs and culture. What's the point of any rite of passage if the group you enter is ever-expanding, never diminishing?

How would we even look back at what we've done, our own past, and have it matter if our future is essentially infinite? Death provides us with a context to make our lives meaningful. I cannot for the life of me even begin to imagine the sort of society that would emerge if humans didn't die.
Very interesting and now I understand the concept of how bump mapping works better.

But there seems to be an error: the first example that shows it applying to a sphere:

https://cdnb.artstation.com/p/media_assets/images/images/000...

The hard-transition version on the left shows the outline of the sphere with clear line segments, but the smooth-transition one on the right shows a perfectly circular outline. (The clearest comparison can be seen in the darkest section, the bottom-left edge.)

So smoothing groups are clearly doing something in addition to changing how light reflects and this is not the full story.

Does anyone know how the perfectly smooth, non-polygonal outline (silhouette) is achieved? This post is clearly not providing the full story.
Please don't reply to an egregious comment on HN. That only feeds it. Instead, flag it (assuming you have karma > 30) or email us at hn@ycombinator.com. This is in the site guidelines: https://news.ycombinator.com/newsguidelines.html
Definitely a need for some kind of open standard for EMR federation and exchange as well as some kind of universal registry for patients to pin their data to.

If your hospital is running Epic/MyChart, full records can be exchanged with other hospitals electronically. No? Faxes.
I rode motorcycles for 30 years so this is something I've thought about. Any maintenance I chose to do myself was always because I couldn't afford to pay a professional.

If you wanted a custom suit made, would you do it yourself or would you find a great tailor to hire? I'd certainly hire the tailor not because he cares more but because he knows what he's doing.

What companies were you thinking about in your last sentence?
There is one presidential candidate who is saying the same thing. Yang. Maybe he read Stiglitz's book.
To supplement your comment; all the things in being alleged may well be true, but none of it seems unusual or particularly unexpected. It does seem quite likely that it has only become an issue because Huawei is out-competing US companies.

Although I suspect the US will discover their treatment of Meng Wanzhou is crossing a line. The idea that the US can regulate commerce between a Chinese company and an Iranian country is breathtakingly audacious and the idea that the US can go after individuals on this pretext is outrageous. If someone pulled this stunt on them and black-bagged Tim Cook for violating labour laws they might start to realise they've opened a can of worms.
TypeScript and C#. Both are grade AAA language efforts IMO.
In some advanced economies yes, yet, world pop keeps climbing. At some point it will level off and decline, but it's not there yet.
I wouldn't have chosen "The Machine Stops". The movie "Network", (1976) is rather close to "Fox and Friends".[1]
"The Space Merchants" (C. M. Kornbluth, 1952) is more about the advertising business but has aspects of that.

[1] https://youtu.be/2FOD1jZr-S4
How many gov-isssued phones have TikTok? Instagram? If they want to make posts on official accounts shouldn't they do it in a more secure way anyway?
As the person who was involved in Scala on Android (and particular in creating the website), I'll chime in with this:

What sunk Scala on Android was largely the completely lack of interest from the core team.

Everything that Scala on Android achieved was pretty much _despite_ the actions of Scala's upper echelon.

- It's hard to get a good message out, when core members spread FUD by bringing up problems that were solved year ago (like the big std lib issue).

- The core team's perception of Scala was always inward – new platforms existed such that Scala developers could run their code in more places, not because it could attract new developers from these existing ecosystems to Scala.

(Scala.js partially overcame this by herculean efforts of individual members of the Scala.js community that got the word out to the JavaScript world about Scala.js.)

- Core Scala pulled the plug from Android support in the backend. So Scala on Android was pretty much left to die on an outdated Scala version.

- Something like TASTY (an interchange format that can be recompiled on the fly to target new backends), which could have dealt with the problem above – was promised for years, but still hasn't shipped.

- The core team was against even acknowledging the existence of Scala on Android on the website – good luck in convincing that Scala on Android works, if the official website/documentation doesn't mention it with a single word.

- Core Scala treated the main contributor with so much public disrespect, that I'm still surprised he didn't outright quit back then. It takes balls to publicly blame the main contributor of Scala-on-Android for not working on the project full-time, but also conveniently managing not to tell him this crucial "requirement" for half a decade. And with "full-time" I mean "unpaid full-time".

It's a sad story, because Scala-on-Android shipped with some amazing features like hot-code-replacement years before Google managed to ship it. The typed resources stuff was also pretty impressive.
> Even with the words where stress does carry meaning (content, object, etc.), I would identify them as a single word where context changes the pronunciation and meaning rather than two different words that happen to be written the same way.

Ah, this is where we disagree. In my view, the fact that strawBERry doesn't exist is just a coincidence. It's helpful in resolving what somebody meant by strawBERry, but not meaningful. The structure of English is compatible with a word pronounced strawBERry that means "barstool".

When I was a teacher in an English immersion school, I once asked a student if classes would be happening during a... holiday? I forgot why I thought they might not.

Anyway, the question was whether classes would be happening, and the student understood me correctly and responded "poss", leaving me confused.

He meant that classes were suspended, and he meant to say "pause", and he was aggrieved that the difference between the /z/ in "pause" and the /s/ in *poss meant so much to me when he thought it should be unimportant. But it was unimportant. The real problem was that the single word "pause" is not a valid response to that question in idiomatic American English. If it had been, I would have had no trouble understanding -- after all, there is no word "poss" to get in the way.

I see tone and stress the same way. Consonant choice / tone / stress are all parts of the word, and changing them gets you a different word.
I was Googling some creatures that caught my eye, including the Megamouth Shark at 4600 meters. The sources I read put it at 1000 meters at the deepest, but preferring much shallower waters. Am I overlooking something?

Regardless, fun and interesting webpage!
Hey no problem! Every feature on this site is usable without registration and registration doesn't require an email let alone a confirmed email. It's just user friendly design, I agree, thanks for the input!
I think this is wrong but I am not a biologist. Fish do not contain air, which is the compressible fluid which limits our ability to go to great depths unprotected. Water is very incompressible, and is most of what fish are. So I don't think depth is the issue.

I would hazard a guess that it has to do with where food is.
>would be a non-Apple-employee seeing Tim Cook trip and fall somewhere in Cupertino and then buying Apple puts.

this isn't really a good analogy either, because the people who got "discovered" the information had no relationship with Cook or Apple. In this case, the company who's providing the information had a relationship with the BOE because they were contracted to provide the stream.

>The information shouldn't have been leaked, but if it wasn't illegal to do so, then I don't see how the funds who traded on the info could be liable in any way.

depends on the jurisdiction:

>In the United States and many other jurisdictions, however, "insiders" are not just limited to corporate officials and major shareholders where illegal insider trading is concerned but can include any individual who trades shares based on material non-public information in violation of some duty of trust. This duty may be imputed; for example, in many jurisdictions, in cases of where a corporate insider "tips" a friend about non-public information likely to have an effect on the company's share price, the duty the corporate insider owes the company is now imputed to the friend and the friend violates a duty to the company if he trades on the basis of this information.

https://en.wikipedia.org/wiki/Insider_trading
I just went to Dubai for the first time ... one thing about Dubai is they can still build fast. All of Downtown Dubai was built in about a decade and it is really something. Tallest building in the world, largest mall in the world, multiple huge public spaces and many luxury hotels and residential buildings. All built in the 2000s in the shadow of the financial crisis.

And what they're doing for the upcoming 2020 Dubai Expo is equally mind blowing.

Before the downvotes come: I know it's an autocracy and the building labor practices are questionable. But many achievements on the list are subject to those caveats so it deserves mentioning.
Elephant Seals dive to 2400 meters and Cuviers Whales to 3000 meters? That's incredible for a mammal.
Remotely Exploiting IoT Pet Feeders
I've always wondered why physics is given primacy here - what is the point if your space travel is plausible but your biology is full of magical thinking? Beyond that lots of 'hard SF' is full very unsophisticated thinking about economies, social constructs, politics, etc.

I think this doesn't reflect poorly on the authors so much as on how difficult it is to get all of this stuff right, even with a ton of research. One advantage mainstream fiction has in this regard is that by relying on a backdrop of "real world" events they will at least pass a sniff test even if you as the author haven't put much thought into it. Not that spec. fiction. authors don't crib extensively from history etc., also - but the desire to demonstrate the alien nature of things often unravels quickly as an author reaches the limits of their expertise/time/research abilities.

I think it is one of the weaknesses of novel (let alone series) length work in this area that you can't help but expose the holes in the artifice. It's ok, readers have suspension of disbelief, but a strength of short fiction here is that you don't end up building in implausible or contradictory content in background material.

It is interesting when a SF author chooses to try and get some other part of the world "right": e.g. Vinge, Butler, Stross, etc.
I don’t understand the rationale behind throwing an exception if you provide a regular expression which lacks the g modifier. This seems really counter intuitive. I would expect replaceAll to replace all occurrences no matter if the regular expression is global or not.
Data on 267M Facebook users exposed
Why big business can count on courts to keep its deadly secrets
>If blacksmiths were academics they would produce a large number of faulty nails

Are papers nails in this analogy? I wonder when there was last a nail of sufficient novelty?
https://news.ycombinator.com/item?id=21843574

https://news.ycombinator.com/item?id=21841813
https://news.ycombinator.com/item?id=21842423
Mmmmm...syntactic sugar...
"...it's going to carry on..."

Perhaps. For a year? Maybe two? Then what? What happens when the party is over? How much of a drop? And finally, aside from The Fed, who else is in on this charade?
So, no, Scala 3 won't help. Most people who cared left years ago.
> Rank 3: Asynchronous messaging. When sending an outgoing message, it might be placed in a queue

Arguments of a Smalltalk message can be "blocks" which are function-like objects. The receiver of a message carrying a block as argument can put the block into a list/queue and evaluate it any time in the future.

So that would seem to qualify as "asynchronous messaging" to me.
What’s New in Kubernetes 1.17?
Visibility Without Borders – Netscout
Friend, I'm not saying you were wrong or trying to argue with you. Just pointing out that different people learn differently, and it's good to have different ways to illustrate and explain things.

You never know when one kind of explanation may give someone an "aha" moment that they didn't get somewhere else. And sometimes it's good to do things like this just for fun.

For example, my very favorite visualizations of sorting algorithms are the Hungarian dancers:

https://www.youtube.com/watch?v=ywWBy6J5gz8

(Turn the sound up to enjoy the music!)
Most Historic Bridges in America That Still Retain Their Stands Till Today
Father and son
The CIA did the same with an entire soviet spacecraft.
I have the VM seemingly working through the NixOS package, and if I run the Pharo image downloaded from there, it seems to show a window with nothing on it but a menu item labelled "Pharo" that does nothing.

Perhaps I'm missing something but I doubt the Linux VM download on that page will help me. Ordinary binaries don't tend to run on NixOS without at least some ELF patching due to the Nix store architecture.
Do you think that they wouldn't be taking a hard look at them otherwise? It seems like scrutiny and suspicion goes back over a decade, but it could all be pretext.

I assume we both agree that fully open hardware and software is better here, but given that I guess it's just a matter of which country you're most okay with giving a backdoor into your private life.

I guess I still trust the US in this regard more than China, even with the NSA leaks. But I definitely think that if I was individually targeted they'd get whatever they want. Well, either country really.
I hate those and always turn them off haha
Unfortunately I don't think this is particularly complete advice, because it totally ignores the question of scope.

Yes, variable names serve to disambiguate. But at what level -- function? File? Component? Business process? There's no clear rule here. And are they disambiguating merely between other variables that have already been defined, or from the wider scope of potential variables that a programmer might likely otherwise accidentally confuse them with?

If I have 20 different functions that all deal internally with only a single "price" variable, it may be legitimately helpful in preventing bugs to explicitly name these "priceWithTax" and "priceWithoutTax", or "priceLocalCurrency" and "priceForeignCurrency", or "priceList" and "priceSold". Or even use "priceWithTax" even if I never once use or define a "priceWithoutTax", because I know from experience that people are going to make a mistake otherwise.

In the end we're all trying to balance brevity with descriptiveness that prevents someone from accidentally misinterpreting and therefore misusing the variable when calling or modifying later on.

Sometimes I agree that yes variable names seem too long... but then I realize it may well be worth the peace of mind knowing that it's reducing chances of mistakes and bugs.
When we got my son tested to see if there was a genetic cause for his hearing loss, there was an incidental finding that he had a mutation that could lead to Long QT Syndrome (an arrhythmia that can cause cardiac arrest during exercise or emotional stress).

His particular variant was marked as "unknown significance," but the doctors recommended he go on beta blockers immediately. We wanted to hold off and examine if there was actually a problem, since his EKG was perfectly normal and we had no family history of issues.

My husband and I both got tested, and it turned out I also carry the mutation. I did a stress test which turned out normal, and based on that info, the variant was reclassified to "likely benign."

It seems like there's a tendency to jump to conclusions that any variant in a gene where pathogenic mutations have been found is going to also be pathogenic, but that's just not the case. I think the more people who get this testing done, the clearer this will be. For a long time, people have only been tested if they already have symptoms, which means they will be biased to identify pathogenic mutations.
> When using a Java library in Clojure, many times its just better to just write some Java for your Clojure program specifically for the purpose of calling it from Clojure.

What? Calling Java from Clojure couldn't be any easier. The same as calling JavasScript from ClojureScript
But the object responding to a message can also "reply later" if one or more of the arguments of the message are "blocks" which are function-like objects created by the sender, having access to variables in the context of the sender. The recipient of a block can call it any time in the future, including multiple times.
One would think this problem could be easily resolved with carriers publishing version numbers and checksums.

I don't feel like this would be an unreasonable request, and possibly something that should be mandated by law.
> What a language makes easy is usually more important than what it makes possible.

very well said
It's absurd that _any_ non-sanctioned software was ever allowed on US Navy phones, let alone apps developed by a major adversary known for pervasive metadata collection. WTF kind of total and utter incompetence is this? Sounds to me like a major house cleaning is needed.
This would be nice, using RegEx's for such simple cases is ugly, especially if the replace string is dynamic (so can't be done with a literal).

I find myself using a combination of split and join a lot to avoid that.
Cool, but the SmallTalk example requires a lot less squinting which is nice.
That is the case today because of regulation. I’m implying that phones and iPads and laptops etc. could be turned into UWB-locating relay stations which report nearby UWB beacons directly to Apple via satellite even if they are “offline”
Wikipedia: Shoe-Fitting Fluoroscope
Great reply, thanks very much!
That would be literally my worst nightmare.
Let's see.

I pointed you at an author who is a reporter for the BBC. I am not sure which of his books it is in, but that shouldn't be too hard to find out. (My guess is Armed Madhouse.) He lays out the interviews and documents that were sufficient for the BBC to report the story as fact. This is all verifiable.

According to you, this is "just innuendo". And therefore you have dismissed it out of hand.

The BBC is not in the habit of publishing as fact what is "just innuendo".
May be it's gone supernova already.
Hedge Funds Hacked into Bank of England Briefings to Gain Financial Advantage
Battlesnake Winter Classic – Day 3 (Live)
I was thinking it was a transit of some other celestial object in front of our vision.
It absolutely does not.

It removes a few things and adds a whole lot of new stuff to it.

It's a bigger, more complex language, even if you credit all the cleanups that were already in Scala 2 to Scala 3.
With Akka.NET as the .NET counterpart.
> The assumption is that we made a mistake and should switch to .replace() if we really only want to replace the first occurrence.

Unlike the string case, the regexp case has a way of communicating that you want to match every instance versus only the first
Not sure what you mean? This doesn't add or use any new syntax, let alone syntactic sugar. It's a new builtin method.
The book Dragnet Nation, from ~5 yrs ag, did a great job (then) on this subject. That along with Chaos Monkeys help escalate my fear and paranoia. Anyone I engage on the subject? They're oblivious.

https://www.amazon.com/Dragnet-Nation-Security-Relentless-Su...
please don't submit misleading headlines like this.

also a duplicate: https://news.ycombinator.com/item?id=21851820
Swift seems to have taken a number of its early ideas from Scala, particularly around some of its functional concepts.
Core team didn't care about Android. Simple as that. :-)
Show HN: Lock and start your Ford car with Python and ford-prefect