skysight-inc/HackerNews huggingface dataset:
Ask HN: Creative way to onboard new employee?
Has anyone had a great experience with an onboarding?

How do your companies onboard new employees?
"...a ban on strollers over a certain size."

You're not allowed to walk if you're too big? Explain this one for me.
Apple produced a pretty wild video about their iPhone-recycling robot. “True innovation means considering what happens to a product at every stage of its life cycle.” Even has a name, Liam.

It would do a lot to put my mind at ease if Apple produced a similar video showing how AirPods get torn down, although it's early enough in their history that Apple is probably just throwing expired AirPods in a shipping container to wait until the numbers make sense.

(Apple accepts all their old products back for recycling; I take most of my used electronics to Staples, but Apple stuff always goes back to Apple, as I assume they can do the best job of getting every ounce of meat out of the pig.)
Yep. For this reason I override the standard UNIX tools on macOS with Nix + home-manager. E.g.:

~ % which grep
/Users/daniel/.nix-profile/bin/grep
~ % which sed
/Users/daniel/.nix-profile/bin/sed
~ % which ls
/Users/daniel/.nix-profile/bin/ls
Like I said- not only is this website not linked in the article, this website also does not describe what (exactly) the company sells, how it sells, who it sells it to, or how any purchasing company would continue to bring in revenue post purchase- NONE of this being covered while talking about how the business was valued and ultimately bought.
What is the important of distinguishing between the first file and files that follow it?

Why not FindFile()?
yes, agreed, ruby is a much friendlier language to start with, but javascript is more accessible since everyone has a browser or three.

while gmail brought a nicer ui/ux, i still credit ms owa for showing the world what js could be when it grew up.
It shows the input output pairs you would use to train the network. Projection is simply your fully connected layer of dimension the embedding size you want (e.g., something like 300). The output column is what is being predicted by the model, for which you have the true data and you'll calculate a loss and backprop as usual. In the BOW case you take multiple context words and predict the middle word (as shown in your diagram) and skip gram is the opposite approach.
Disney's Park Rules Text Can't Be Selected by Mouse
There's a (unofficial) FUSE file system for Google Drive written in OCaml: https://github.com/astrada/google-drive-ocamlfuse
Lyft, Inc. (Lyft) IPO
There is actually a pretty simple device that deals directly with this sort of interference. It actually works by constraining the signal to a medium that isn't easily modified by air interference. PM me if you want to know more.
+1 for ripgrep. It's crazy fast
I think it would be helpful if you gave a better example of a time where you struggled to collaborate.

The examples you've given serve well to demonstrate that you prefer manuals and documentation while this person prefers examples and videos, but they are not really examples of attempts to collaborate nor of a struggle.

Folks here have been critical of these examples, but a more generous interpretation would be to acknowledge that of course it can be difficult to mentor or work with someone with a very different approach.

Sounds like this could be Python. Since this person remembers things better see the effect, I think an improvement over videos would be exploring new material in ipython or a Jupyter notebook, where they can discover through autocompletion and get immediate visual feedback. Another would be to pull up specific bits of documentation through an IDE. Maybe you could show them how to do those things, so that they can get the information they need efficiently but in a way that they are comfortable with. But this would only be an avenue to help you depending on the actual things you and this person are struggling with.
I don't think it is going to help the issue, and will most likely make things harder for everyone.

I have yet to hear of an alternative to a free market for domains that would work. What do you suggest? A committee decides who gets each domain?

If you owned a domain that you planned to use in the future, or that you tried but failed to build on, and someone offered you $1M - would you refuse?
Just in case anybody wants to look at the code, I think these two files [0, 1] contain the main logic when it comes to searching. Please correct me if these files aren't the right ones:

[0] https://git.savannah.gnu.org/cgit/grep.git/tree/src/kwset.c

[1] https://git.savannah.gnu.org/cgit/grep.git/tree/src/kwsearch...
> I'm not a 737 pilot, so I don't know what runaway stab trim normally looks like; maybe it's usually constant?

Yes, exactly.

The problem (well, one of the problems) is that during normal operations the trim wheels are constantly moving intermittently, so additional intermittent motion isn't immediately seen as unusual.

(Disclaimer: I am not a 737 pilot either, but I am a pilot, I fly a plane with an electric trim (Cirrus SR22) and the info above came from a very experienced 737 pilot named Juan Browne who hosts an excellent channel on YouTube called Blancolirio.)
Prams / baby dollies.
I play with Pharo about once a month. Love but no real amount of time spent with it anymore. Good language and platform, very energetic community but it is a small community.
Considering that Apple will send you prepaid shipping label to recycle your devices, I don't expect they would just toss them in the landfill.
Exactly. For example, the person could be emitting an extremely high-pitched tone before the seizure that is inaudible to the Human ear yet can be heard by the dog. Sort of like a camera flashbulb.
Lyft pops 21% on its first day of trading
Like, how do you decide which apps to trust on your PC? While Windows does have a store, I'd wager the majority of installs are still done by downloading .exe files off the software's homepages. Executable binaries that run with full privileges, with minimal permission granularity, no less.

Somehow we're not discussing prohibiting filesystem access for personal computers? Why is this an issue for smartphones, a.k.a. a pocket-sized personal computer?
Unfortunately, a lot of those big strollers are still going to be allowed in! "Stroller wagons and strollers over 31 inches wide or 52 inches long won’t be allowed in the parks." So a 2 foot by 4 foot stroller fits by several inches in both dimensions.
I wouldn't hold fighter jets up as an example of safety. They spend more time broken then they do operational. Require a an entire team of engineers for each airframe, and the number of pilot deaths/flight time is pretty atrocious. But since it's 1-2 pilot deaths rather than >100 passengers we put up with it.

A well designed aircraft should not have a single point of failure, including the software.
Show HN: A Colorized Hexdump Tool
I have the same issue in semi-congested Seattle — it's the biggest downside to the AirPods, imo. I'm very interested in how the new ones perform.

I've heard anecdotally that the problem is not only interference, but physical surroundings: http://www.iphonehacks.com/2018/04/heres-why-your-airpods-or...
Oh yes—I should have mentioned the glossary. Thanks for calling that out—it is absolutely necessary in making it an enjoyable read. Once you get a grasp on it though, it's pretty easy to infer meaning of new words as you go.
“Among other things, this map really demonstrates the degree to which the Spanish state dominated the world in the 1580s.”

It’s worth mentioning it was the crown, and not the state, the actual ruler.
Another option to consider is Blazor:

https://blazor.net/

https://www.youtube.com/watch?v=0RfUPr0KrSM&t=836s

I didn't try it yet, but it looks very promising and I hope I will be able to use C# or F# for client side programming, because it's hard to master a new JS framework every 3 months or so and I already have JS fatigue.
Well, I’m a working robotics engineer in the Silicon Valley area and I am trying to design robotics for a post scarcity collectivist utopia. At home I do research in to functional 3D printed robotics and I operate a YouTube channel and discussion website [1] to pull people together so we can discuss collectively owned automated communities. I’m a fan of Murray Bookchin and want to live in a collectively owned automated farming commune. I’ve just taken a new job on an actual farm as a robotics engineer, and we’re going to try to build automation for farming.

I’m also a writer and I study the intersection of automation and society.

So while it’s true that most automation engineers don’t think this way, some of us do. :-)

[1] http://reboot.love
The Su-57 definitely isn't at a disadvantage compared to the F-35. Also, let's face it, Russia hardly projects power. Any conflict with the west would likely be the US attacking Russia. Hence why Russia is putting so much effort into systems like the S-500.
You just made a great point for wired headphones that I have never considered...
You can get good knockoffs ("i12 TWS") for ~$25 delivered from China, these days.

If it's the combination of non-repairability and price that bothers you, a 6x price warp sure softens the blow.
While they're not conceptually hierarchical, it's not fair to say that they are opaque strings either. "////" is not a valid HTTP 1.1 path, for example, and "" means "/"
They don't believe they're f'ed up because they have effective control of the American government and FAA in regards to this issue. The only way this is really going to hurt them is if foreign air regulators don't go along with the FAA in rubber-stamping whatever lame fix Boeing comes up with.
I like Dakine's Mission. Similar size, but the one large front organizer pocket is great. Side pockets for a small charger and mouse. Main compartment can handle my 15" gaming laptop fine. Jacket can easily be strapped to the back using the skateboard straps. Has waist straps for when your kit is really heavy (15" mac + Surface Pro + Chargers + notebooks?) I own two, one for work, one for the gym. They handle washing extremely well too.
https://mirage.io/
There is not a mention of memory safety in this post. It's very confusing term in this context. I wouldn't call running a binary with syscall interception (with qemu for example) as "memory safe".
Yeah, but please let me just do the filtering myself and don't force me to allocate a new string to append a silly pattern that makes me wonder if matching things without a dot in their name is supported.

Yes, "sometimes" the API consumer just wants to match XML files. For example, when creating one of these silly file dialogs that never show what I'm looking for.

> Why do you consider this a poor API and what would you consider a better API?

POSIX gets that just right. No fuss, expose the technical reality in straightforward abstractions. You call opendir() and get an DIR* handle (representing an open directory). Then you call readdir() with that handle in a loop to get all the files in a directory.

I'm not saying I'm strictly against bells and whistles, but often these only work for a first prototype, and if API designers don't offer a straightforward way so I can simply do what needs to be done, they really failed at their job.
No, you did have access without OS level permissions. That is why those apps currently exist. That is exactly what is changing.
>Logging a lot of flight time with the actual hardware is a really bad idea, sort of like "testing in production."

That's a fascinating fact. A lot of work must have gone into a testing environment that can do so much of the work via simulation.
Why reddit allows jokes like this but HN is so unforgiving?
Luc Vincent, VP Engineering at Lyft, talks about how he sets goals for his team
The SM0512G in this machine is capable of over 1.5GB/s in sequential read.

It's also possible that the file is cached in memory (I ran grep a few times through the file before I carried out the specific measurements).
One solution would be to create a registrar account for each legal entity or incorporated business you own. I admit, they likely need to refine the limitations if it were to be applied to all TLD's. e.g. typo-squatting has to be accommodated for.

I've been offered decent money for some domains I've held on to that were just catchy names, but I passed. AFAIK, this would not prevent me from selling one of my domains.
What year was this? BIOS settings on PCs sold the last few years complicate booting from USB. Were you fiddling with BIOS settings on strangers' machines?

Also, in the case of public computers, the risk of keyloggers means you cannot trust the computer even if you boot your own OS.
I received some first-gen Airpods as a gift recently.

I haven't really had problems downtown Toronto. I have had the odd blip, but no real cutting out or anything like that.
If printing the money results in commensurate levels of increased productivity, then printing the money will not cause price inflation.

That’s why most nations grow their money supply over time, after all :)
Is there such a thing? What does it do? I can only find a perl implementation that seems to use FindFirstFile() / FindNextFile().
Refrigeration Based on Plastic Crystals
> and I’m convinced we could have done this in the developed world starting 100 years ago

I'm interested in reading more about this. Do you have books/research papers you recommend?
Freedom is a state of mind, not a ban on head coverings.
It's all about selecting the right tool for the job. You use the F-35's, F-22's and your long range stand off weapons from bombers to clear Surface to air threats and then use your F-15's, F-16's and F-18's which in some configurations can carry up to two dozen AA missles to clean up the low tech adversaries. If you're interested in getting a hang of how to deploy these weapons I recommend the Korean Missle Crisis scenario in Command. http://www.matrixgames.com/products/681/details/Command.Live...

Warning: Command is less of a game and more of a battlefield simulator and has a very steep learning curve if you're not used to the systems and tactics required to deploy modern combat power. I've been 'playing' it for years and without my background I'd have a very tough time. I can still only really play NATO scenarios as I'm not familiar enough with Chinese or Russian systems to use them effectively.
> I think removing smoking sections is more frustrating, as it actively harms the public's health

This sentence reads (to me) like removing the smoking sections actively harms the public's health. Did you mean that, or did you mean smoking actively harms the public's health? Or am I somehow reading this wrong?
Users are wrong, and more importantly, lazy. No non-geek users actually want to spend their time organizing all their files into a well-thought-out hierarchical directory structure. Even worse, now users have been trained that it's simply not necessary, because "I can just search for whatever I'm looking for".
For a good guide and background on Anki, this piece by Michael Nielsen is great: http://augmentingcognition.com/ltm.html
That's a really badass trick when you look at how it is implemented. Another cool thing to look at is Obverse.
https://code.jsoftware.com/wiki/Vocabulary/Inverses

There's a lot of material on their website, though it's not well organized and some of it is out of date.

https://code.jsoftware.com/wiki/Main_Page

I find it rewarding to screw around with, though the only jobs you're gonna get are K/Kx related.
Ever since the SR-71 piece a few days ago (in which there are some disparaging F-35 comments), there have been a few submissions on the F-35 that appear to attempt to bolster its reputation.
1. create a checklist

2. onboard an employee and see where s/he has questions and/or issues

3. revise the checklist

4. repeat
A Guide to FORTRAN Programming by Daniel McCracken
If you want Reddit, post on reddit. Not every site has to devolve into a meme cesspit.
Robots on the Run
This isn't a "Canadian" bill, as much as a specific provincial government bill. It has already received condemnation from the leaders of every major Federal party which is probably the only thing they've agreed on in the last several years. Several public sector organizations such as the Montreal public school board have already stated that they will not enforce it.

So we'll see what happens but the headline would be like saying some sort of insane law passed by a state is an "American Law". The provincial government, voted in by ~38% of the population (thanks FPTP!) in a single province has proposed a law that will likely not be standing when the government changes in a few years time. This does not represent the views of a major or even significant minority of Canadians.
I think that would open up a different safety issue. Suppose you're in a tight turn for some reason, pulling back hard on the yoke, as you have to do in a tight turn. The aircraft is at fairly high angle of attack, but not yet quite enough to enable MCAS. You've got quite a high column load, and you blip the trim upwards to relieve it a bit. If you blip the trim just as MCAS kicks in, and it disables, then you're now flying at high AoA without MCAS protection. You've not trained for that, and your chances of an accelerated stall just went up significantly as the plane no longer flies quite like you trained.
How would FindFile() work then?

As far as I can see, either you have some separate call to initialize the find handle (just like FindFirstFile does), or you pass the directory/filename mask redundantly over and over again, introducing the potential for suddenly calling it with an already initialized find handle but with a different directory.
Why Do Garfield Phones Keep Washing Up on This Beach
Is that the same rabid, uncritical 47% who spent the last couple of years screaming about Russian collusion? I wonder what slate.com has to say about that.
Thanks for sharing this. "To overturn the March 12 result, she would need at least 75 lawmakers to change their minds." I don't see Theresa May achieving that.
Steps to Reduce Your Cloud Bill – Webinar
Speaking of LiveView, this is freaking impressive:

https://twitter.com/i/web/status/1111641314955849728
adding the crucifix ban is a ridiculous fig leaf, as there's no obligation to wear an enormous crucifix in any Christian sect that I know of. whereas there is clearly an actual obligation to wear a kippah, headscarf, or turban. the bill is obviously targeted at Jews, Muslims, and Sikhs. if there were any special dress requirements for mainstream Christian groups, these bills would never have been proposed.
Ladder (ladderlife.com) is written entirely Clojure(Script). We feel it was worth it - having a single language that can stretch from frontend to ETL code is pretty powerful. The fact that parallelism in Clojure is real (and not 16 separate processes) is pretty great too. Some of the downsides are: the slow startup time and fat(ish) JavaScript payloads because of the extra runtime libraries. The community can also be a bit unwelcoming of new ideas sometimes.

If you’re thinking of migrating - especially if it’s just a rest API - just start with Ring (& maybe bidi for routing). It’s not really a framework - you can pick and choose what else fits into your stack well after that. Clojure libraries tend to be very stateless and end up composing surprisingly well. I think Fulcro is a bit more useful if you’re building a frontend from scratch with React.

In terms of hiring - it’s very similar to a niche language. You get less folks that are specialists in Clojure like people are specialists in Node or Ruby. It’s also an easy to teach the language so you can bring most people up to speed in a month or so. Our hiring process favors generalists - and Clojure fits in well for that role. I don’t think specialists would have a good time with Clojure though - it’s not the kind of language that is easy to use as a means to an end.
So what, plausibly, do you think they might be doing?

I generally operate under the belief that companies avoid outright lying, particularly major ones like Apple. But, they may be stretching the truth, such as by salvaging a neglible amount of material and then chucking the rest. I'm not seeing a clear process on how they could do more than that.

Also, even if Apple is able to extract and reuse the metals or some such, the complete inability to swap out the batteries without destroying the device, combined with reports that battery capacity reaches unusable levels within a couple years, is of great concern.
Peer to Peer – The Commons Manifesto
With the history of ^O bracketed paste handling exploits and the more recent spectre/meltdown exploits, I'm not sure serialized GPU rendering is such a bright idea.

If the concern is the speed of the scrollback on device rendering the content, wouldn't adding GPU support to say mlterm be enough?

Anyway, if someone has a desperate need of graphical output inside a terminal, this is an actual solution working with little risks and default tools: I only recompiled gnuplot with the proper compile-time flag, exported the GNUTERM variable, and voila!!
Have you actually tried these?

interesting that these knockoffs claim Bluetooth 5.
Why wouldn't pinning to start of line help for some patterns/data? You do still have to find the next newline, but you don't have to make other, additional comparisons once ^x is false, for that line.

Or, roughly, grepping for '^x' instead of 'x' should result in less work if the line does not contain x in the first character. One fewer comparison for each character after the first.
Replying to myself: the "roles" seem to exist as the "default Photo Manager app" and "default Music app", as documented here:
https://developer.android.com/preview/privacy/scoped-storage...
It should let me choose which buffer I want to use next, from a pool of buffers that I provide.

There is no point in having a 1:1 relationship between buffers and read handles.
Why China Doesn’t Want Your Trash Anymore [video]
"The undated EASA certification document, available online, was issued in February 2016, an agency spokesman said.

It specifically noted that at speeds greater than 230 knots (265mph, 425kph) with flaps retracted, pilots might have to use the wheel in the cockpit’s center console rather than an electric thumb switch on the control yoke. "

So, yes and no. It gives SOME control over the trim, but if the trim keeps getting bumpped progressively higher by the MCAS, it will eventually outstrip the yoke control.

My guess is that that change you mentioned is the threshold at which their yoke trim control became insufficient.
On this topic, one of my favorite HN comments compares magic tricks to hacking someone's brain:

Magic tricks are hacking! You are hacking someone's mind, particularly their assumptions and attention. The exploits to human psychology and attention are just as sure as the exploits to crack or unlock a smartphone and many other software exploits. The difference is that software can be patched but the evolved behaviors that are the root of the exploits used by magicians are very hard to "patch"...

Full comment: https://news.ycombinator.com/item?id=4992826
AWS EKS now supports K8S 1.12 and updates via cloudformation
I just did this for an internal admin site for the first time. Really enjoy how it's going.
Interestingly, there's a print button on the top right which, when clicked, brings up another window that you can print from. I was able to copy the text from that.
Thank you for this! Finally.

I can only hope that Microsoft "every random binary has full systemwide r/w access" Windows will follow shortly!