skysight-inc/HackerNews huggingface dataset:
I was fascinated with this paper when it came out and reached out to the author to get access to the source. I subsequently re-implemented the python in JS for fun and to learn how it works. This is the best post I have found that covers in detail how the algorithm works.

https://medium.com/@jaiyamsharma/efficient-nearest-neighbors...

The really interesting thing from this research imho is that it is an algorithm derived from observed neural activity as opposed to most ANNs that are merely inspired by neural structure.

From Saket Navlakha's page https://snl.salk.edu/~navlakha/

"We work at the interface of theoretical computer science, machine learning, and systems biology. We primarily study "algorithms in nature", i.e., how collections of molecules, cells, and organisms process information and solve computational problems."

The whole range of neural nets feel like they came out of a process of random recipes that got thrown at the wall and we all celebrate the things that stick. It does not feel like this approach is going to lead to AGI. I am far more interested in the "algorithms in nature" kind of research where we will eventually (given the right tools) find some really interesting new advances in neural net based algorithms and potentially completely new architectures.
There's a paywall, so im missing some context, but seeing what I see every day from cyclists, which can best be surmised as "I'm a car when it's convenient, I'm a person when it's convenient," I'm hesitant to chalk cyclist incidents up to something more than hubris.
Tether: The Story So Far
Kubernetes? It's All Greek to Me
That works when you're a rich and powerful country, but not so much when more powerful countries are willing to inflict economic sanctions on you for disrespecting the IP of their corporations.
May I ask what’s your background in law enforcement or the intelligence community, or in counter-intelligence specifically?
The concept of action types inferred from module types is something we use in Warhol’s code a lot. It also fits nicely with the architecture of Conceptual Components as I described in my blog post here: https://drublic.de/blog/conceptual-components/
We Can’t Tell the Truth About Aging
Edit: this first paragraph is wrong, see child comment. Leaving for posterity. The second paragraph I stand by.

SwiftUI is not in beta. It may be beta-quality, but they shipped it and encouraged devs to use it. Yes, it has undergone significant breaking changes since WWDC (and that's to be expected), but it's not described as beta anywhere in their docs about it. (See https://developer.apple.com/xcode/swiftui/ and https://developer.apple.com/documentation/swiftui/ for what the docs actually say!) My point is that if they want to say "This is ready for you to adopt" they need to back that up by documenting it. Even at an early stage.

Facebook manages this for React, even for stuff that is in "experimental" mode! It's possible! It just has to be prioritized. (I'm no FB partisan and don't use React; the point is independent of those.)
I have discovered that the previous documentation is still available in a “documentation archive” complete with banner warnings about how it is out of date and unsupported. It is almost impossible to find topics except by using google search. Newer functionality is missing and some of it is no longer accurate, but it is better than nothing.
Because of Norvig's spelling corrector, my measure for good code is whether or not I can understand what it's supposed to be doing, and how it's supposed to work, from reading it in one pass.

This code passes that test. Before reading it I would have never thought that could be a goal— I couldn't imagine it was possible to know what a program does without comments and documentation.

When I heard the word "readable" from others, I understood it as "parsable". From an OO context, I thought readable meant neatly formatted lines that let you say "ah, yes, this is an if statement", "this is a constructor", and so on, but with no idea what the code actually does or means to do.

Norvig's spelling corrector is better read without comments. The names of the functions tell you what you need to know— their purpose, and their implementations tell you exactly what the author thinks they mean.

It's "declarative": "def correction(word):..." means exactly "the correction of a word is ___", "def candidates(word):..." means exactly "the candidate corrections of a word are ___". There's a strong functional/LISP influence here, which I only learned later.

Because this code demonstrated it was possible, my standard for all code is that it should tell you what it does from one reading. Most code (including my own!) doesn't come close, but aiming for that goal has tons of good effects on difficult code.
>> because you can't invert a binary tree in 20 secs in leetcode

> It's a simple recursion. why wouldn't I be able to do it? I fully expect to solve algorithms & data structures questions into my 60s faster than the average 20yo can (because of my background. Point is, it doesn't correlate with age, if you can't do it at 40 you probably weren't great at it at 20).

My main problem is that I look like an idiot while writing code. I pointy-clicky navigate too much for many's taste—doubly so when someone's watching because I start second-guessing every keystroke and so avoid keyboard navigation—and tend not to remember much about languages I haven't written a ton of within the last 48hrs, and even then if it's some feature or function I haven't used in a couple weeks I'll either look it up or poke and prod my way to the correct syntax ("it's either this way or that way... OK, red squigglies, must be that way" or "I think null can just be used as falsy but undefined is gonna throw in this language? Yep, there it is, cool, I'll guard it then" or I'll not be 100% sure about the order of arguments for a "map" function even if I used it ten times yesterday and I'll look at the IDE's hint to get it right, stuff like that). I'm much better at the "what" and "why" than the "how", without support from tools and the freedom to faff about a bit, unselfconsciously.

All that's even worse on a whiteboard, of course. If someone bet me $100 I couldn't write a solution to fizzbuzz on a whiteboard in any language of my choice, that'd compile if input verbatim, without looking up some stuff in the couple minutes before doing it, I would not take that bet. There's a decent chance I'd manage, but I quite literally would not bet on it.

I mean I've been (technically) designing & shipping software for pay for a long time and everyone's always told me I'm pretty friggin' good at it. I've often been the go-to guy for weird crap and "hard" problems. But I look like a total dipshit who doesn't know anything and probably wrote my first "hello world" last week, if you watch me do it in interview conditions. I pretty much only have a career in software at all because not every place does those.
> AWS is using proprietary cloud services to lock in customers. Future increases in AWS's prices will be passed down to the end users.

That is true of every cloud, certainly of Azure and GCP.

Building a "cloud independent" infrastructure is certainly possible, but it puts you at a huge disadvantage - you can't take advantage of any of the value-added services of the cloud provider.
NASA Apollo 15 Astronaut's Confession: 'Can't do anything to me now'
That's just a solid senior engineer, though. You don't need a Senior Distinguished Technical Fellow to come to your house for some electrical work. That's the person you have designing the electrical grid for a city of 5 million people.

I guess if you have a lot of title inflation things might be different. I've definitely seen places where a senior developer is pretty much anyone 2-3 years out of school who does a decent job but still requires supervision and oversight.
Yeah, I developed software for a platform that isn't documented anywhere at all on the internet, and the documentation it comes with is sketchy. Discovering a new widget and spending time messing around with it was the norm.
Yep, this is exactly what happened. The OP didn't stop to consider the purpose of the exercise or what the interviewer was trying to get out of it.

The details of the exercise aren't the point...and I'm sure the reason the interviewer likely gave off mixed signals about the extensive documentation is because time is limited and a good interviewer makes sure to keep the candidate on track so that there's enough time.
True.

It's just more "in their pocket" than "at home"
I think it’s hard to say that without knowing what’s going on in that companies and how many internal disagreements had been there.

And even if Apple now talks about user-Mode drivers - do we even know what percentage they aim for?
My Samsung keyboard on my S6 does this.
IMO this is because Scrabble is a terrible game. Knowledge of the breadth of your language will only get you so far in the game: the winner will be the person who can put the greatest amount of short words with 'X' and 'Z' in triple-word panels.

If I were to re-invent the game I would remove the triple tiles and half the point value from most letters. This way you can give advantage to people who put longer and nicer words instead of that guy who knows that "qi" and "hext" are words in modern English dictionaries.
They would also hesitate to build an app that only works in iOS 13+ when iOS 13 is the current iOS
> The ramp up time for a new dev on a framework that isn't widely adopted yet will be way higher

What, like a couple more weeks? I find it hard to believe that an experienced React/Vue/Angular dev would take a long time to pick up Svelte.
More discussion on HN, 4 years ago:

https://news.ycombinator.com/item?id=9927760
It's not too much to expect an article entitled "What is a ket?" to explain what a Ket is.

Your point is arguable if it was instead "How to implement a Ket in Rust", and even then it's a bit vague. I left with the same feeling that it was a bit barebones in terms of definition.
Literally, _throwing_ a Promise.

React will catch promises thrown during rendering, and treat that as a request to "suspend" the component and come back to it later once the promise has resolved.
Python equivalent:

return a or b
Because Amazon uses the profits from AWS to keep running their retail business at a loss and suffocate all competition in that space. It's not hard to understand why retail companies don't want to spend cash on their own destruction.
I wonder if the people who worked on it don't work there anymore.
I think we have to give it to the human brain. It's not just about memorizing but also finding patterns and then putting the right word there.
Maybe Tcl does recursion poorly — those all seem to be tiny recursive functions.

Maybe there was something Tcl did well?

https://web.archive.org/web/20060924085254/http://shootout.a...
Design Systems: Embedding UI Design Patterns in React Components
A cyclist is neither a car or a pedestrian. They are a cyclist. There are more than 2 kinds of things.
These tutorials are great (when they're working! That's been a bit spotty)—genuinely great. But they don't make up for everything that isn't present. Take a step off that beaten path and you're in for a world of pain today.
Sounds like this genre of video games isn't really for you then.
Redis was originally in Tcl!

https://gist.github.com/antirez/6ca04dd191bdb82aad9fb241013e...
Because if you can run websites on any cloud, then they don't want you to run them on the one that funds their rival's expansion.
For the people complaing about closed firmware, remember that obtaining FSF certifcation can be achieved by e.g. cutting off the hardware pins to make upgrading it impossible, turning the "firmware" into "hardware". This is what the OpenMoko project did https://www.fsf.org/blogs/community/task2-openmoko. Is this what you would prefer?
I've been watching this series as well. Can definitely recommend.
Opportunity cost. Had you worked a traditional job for those 6 months, you would have got at least $40k
> In corporate jobs, this is rarely the way in. Most likely, you'll have to convince your current manager (and maybe theirs) that you're ready to be a manager and look for a manager opening elsewhere in the company.

Also, get ready for a lot of gatekeeping. “Oh, you don’t really want to be a manager! It’s so much more responsibility and work. You should be happy to be a foot soldier for the rest of your career! Management is not all it’s cracked up to be. As you can see I’m stressed all the time! Now excuse me, I have to go close on my second vacation home in Hawaii.”
Thanks, I understand that. Of course access-to-surface is another constrained resource which is no doubt already optimized for existing operations.
Why not both. They want to hear you talk through the solution. And they have unhelpful biases about what they want to see in the solution.
Does the game in other languages assign the same point values to letters? Is the distribution of letters the same?

It seems like a different language would have more or less frequencies of any particular letter which should influence the amount of available tiles and what they are worth.
That is very cool, but does it produce no branches?
13th Key (Puzzle)
Tcl: No significant difference to Python or Perl

It matters even less for Tcl, as it's supposed to tie pieces written in more performant languages together. See "Ousterhout's dichotomy"[1].
Sadly that also moved it closer to something like Rexx (or Lua these days), and thus no proper module/package community ever arose in time.

[1]: https://en.wikipedia.org/wiki/Ousterhout%27s_dichotomy
The current title answers a question, it should instead raise a question. [Currently: Developing slightly fewer medicines is OK if it means lower prices]

Suggestion: Congress debates if developing slightly fewer medicines is OK if it means lower prices
Who is "you"? A public policy change along these lines would be better for some individuals and worse for others.
Learned this in the book Ultra learning. In short, the game does not have much to do with the language understanding anyway. They only overlap in that you do need to memorize certain words. But the brain behavior process are then largely different between understanding the language and playing the scramble game.
The companies are using our services, which indirectly benefits these investors. Media companies for example benefit from US enforcement of copyright law. Similarly enforcement of contracts and private property, plus all the little things that allow the US to be such a prosperous society.
AI avatars to ‘champion your purpose’ for 1000s of years, claims AI Foundation
Yes.

I confirm that everyone that worked on my team worked out well. Some had more challenges than others, but we got the job done. The team worked well together, and we worked with our overseas compatriots in exemplary fashion.

I was very fortunate. It was a small, high-functioning, C++ team of experienced engineers. All family people, with decades of programming experience.

I'm quite aware that this was a luxury. I'm grateful for that.
The "non-competitive" thing they're doing with AWS is using it as a profit center so they can do anti-competitive things with all of their other businesses. If they weren't making so much money on AWS, they wouldn't be able to squeeze Netflix or other retailers as effectively.

It's not to say it's entirely rational to boycott AWS like this, but I can understand the origin of it, and it's not like you can easily say no to a Walmart if you're some SaaS startup and they're offering you a massive contract if you can get off of AWS.
At many companies rolling out a new kernel in a month would be an outright miracle.
CMake Error at CMakeLists.txt:6 (add_link_options):
Unknown CMake command "add_link_options".
'Duck-and-Cover' Drills Channeled America's Cold War Anxiety
How many Harpoons does a Type 45 have though? I could see details online of how many launchers they have but not how many missiles are actually carried.
I agree, basically it should either not be allowed or strictly controlled how to advertise politics online. Targeted political advertisement should be banned completely. Then there is twitter, which also basically serves as a direct marketing channel for political parties. In Germany this is a huge problem especially with the AFD, they can publish lots of nonsense there, more or less unchallenged by facts or reason.
I live in a sun belt city. It's terrifying. People routinely run red lights and blast through turns even when pedestrians have the crosswalk with a green light. I am nearly hit at least a few times a month.
that depends on the exec, but on average? sigh.
Maybe I'm the only one, but when I start looking into a project, I start at the API docs and work from there. I really need to know if key features I want are viable on the platform or not. If I want to use an accessibility API to, in a supported way, read all of the items in every menu in the menu bar, how do I do that? Is it supported? Is there a set of best practices I should follow?

The problem with not documenting things is that developers like me are turned off before we start. I don't want to bend the platform so far that it breaks. I want the limits. I'm tired of reading stories about apps being pulled for using private APIs, or breaking in future versions because they're removed. I want to do things in a supported way so I can make everyone happy.

Right now, I can't even see the boundaries of what's possible, because nothing is documented. I don't even want to try to write for Apple platforms, because it's entirely inscrutable and unpredictable.
Maybe because roads are designed without cyclists in mind, so sometimes you’re forced to be a car, and sometimes you’re forced to be a pedestrian.

I bike. Not every day, but enough. I obey lights, I signal, I don’t do anything overtly stupid. At the end of the day, I weigh maybe 170 and I’m moving next to objects that weigh maybe one to two tons moving anywhere from five to 45 miles per hour. In any bad interaction, I’m the one who’s probably ending up dead. So I’m really sick and tired of this goddamn bickering back and forth. Everyone should follow laws, yes, but roads should be designed to be not deadly for cyclists, and drivers (which includes me) should understand that they’re moving a very heavy object very quickly, and the onus is on them to do it safely. If that’s not possible, maybe fewer people should be allowed to drive.
Yeah, people on here don't seem to understand that you read the New Yorker for narrative and literary craft, not for getting information as fast as possible.
324 page book originating from 1 line of code! Amazing.
I’ve faced the typical deadlock that first time job seekers encounter: you need management experience to get hired as a manager, but nobody will give you a chance to get management experience because you’ve never managed before.
1 - yes.

2 - I did not think it was an argument - just putting some considerations out there. I don't know you and your experiences, it appears to that me pointing out some things was more intended for other audiences though. Would be great if everyone knew 'duh... ...there are many other contributing factors' -

sadly though, I find more and more people influenced by their LED screens to determine the reality of America out there. Whether it's people from other countries reading this thread or other 'news' - or school kids that have not traveled this large diverse country - even people I have engaged with living in the cities - there are things spouted out, and believed, that are not a 'large percentage' - yet it's touted as being true.

I believe you, I, and others in much of the USA are more likely to be viewed with suspicion, followed, harassed or whatever based upon socio-economic 'signals' - than color, or even voice accent.

Yes, there are 'many other contributing factors you didn't mention' - I am glad you realize that, I am hoping that other people who read similar things are also presented this information - those who already know seem to understand it - yet they often fail to mention it when sharing with others that may not know the full scope of how things really are.

It may not change the end result for you and me, but it certainly can change other people's perception who don't have the same understanding as you seem to have, which could be many other people being influenced / affected by such public statements.
The actual paper, where their TLS certificate is not yet expired, is https://storage.googleapis.com/pub-tools-public-publication-...
Do you not consider overall product quality to be a product decision?
A slightly more nuanced proposal:

1. Detect the first time a site (domain? URL?) attempts to copy something that's not visible. Algorithm TBD but we can start by warning too frequently.

2. Ask the user if this is a trusted site and deny, allow once, allow always. Users presumably select allow-always for apps like Google sheets.

3. (advanced) detect if enough people over long enough time select allow-always and then allow users to go with the herd. I'm talking 10+mm users not 10k, i.e. hard to cheat.

4. (Advanced) option to see what's in the proposed copy buffer.

(Obviously this all assumes that publishing sites have web security measures in place e.g. no raw HTML...)
> in games as a scripting engine (going back to 2003)

you are think of lua, luajit is a different beast.

http://luajit.org/changes.html

LuaJIT 1.0.3 — 2005-09-08

This is the first public release of LuaJIT.
Not downplaying your valid point, but I doubt a guy like bwk cares about NYT best selling list at all. It’s the history of Unix, which to us folks are basically the Old Testament, props to him for writing it. I look forward to having a physical copy of it and praying to it occasionally
Amazon has made it their business to clone 10,000s of items and software's just as easy to copy, they have already cloned multiple open source products and even commercial stuff they saw hosted on AWS.

The only thing stopping them from routinely cloning stuff they see on AWS is nothing. They are accused of using vendor sales data to decide which products to clone, well that front-row seat watching you scale infers revenue too. Whenever Bezos wants Amazon will assign thousands of developers to cherry-picking SaaS and software to clone.

https://www.theregister.co.uk/2013/03/08/amazon_copies_partn...
A Zumwalt-class destroyer would have violated the treaty-era [1] restrictions for heavy cruiser, and is larger than many pre-deadnought battleships [2]. Size inflation is very real in naval terms; the size of modern naval craft is often much, much larger than their historical counterparts.

[1] 1920s and early 1930s, for those who don't know their naval history.

[2] HMS Dreadnought being launched in 1906 and essentially making all existing battleships obsolete on launch.
This has been a "bug" for a long time with exactly the same behavior that is described here. Copy&paste from a news article or a blog and have something like "read more at <URL>" inserted.

It's also not Firefox-specific. Same behavior happens in Safari and Chrome.

But yeah, it makes total sense to point this out that hijacking the clipboard is probably not a good idea and this might be a security issue.
That will effectively prohibit all issue-based advertising. Maybe that's a good thing, but consider the scope and impact before advocating for such a sweeping change.
Nice.

I get the feeling that PostScript is close in spirit, they were also into pimping Forth using Lisp as inspiration. I think some of the HP-calculators also had similar languages, but never used them myself.

For me, generic methods (or words in Forth lingo) is the biggest deal. Followed by scopes and compound literals such as stacks and scopes.
The conservative movement keeps insisting than making decent healthcare and education affordable is socialism.

That almost never convince anyone that those are bad ideas, but it does a lot to make socialism looks good again!
my impl if anyone cares
https://github.com/andrewluetgers/flylsh