skysight-inc/HackerNews huggingface dataset:
Adding to sibling comment: structural typing vs traits is kind of a game changer. The way I use them is very different. TS still feels like OOP (since it's just a formalization over JS's implicit native typing). Rust and Haskell feel mostly the same to me wrt how I think about my code (abstraction through capabilities).

Intersection types are very different. In Haskell/Rust it means "this generic type implements traits A, B and C". In TS again it's about structure "it has at least the properties shared by types A, B and C". This means the intersection of A, B and C is all of A, B and C in Rust/Haskell, while in TS it can be a completely different type that only has their shared props, which makes no sense in Haskell/Rust since traits/typeclasses are disjoint (their intersection is always empty).

All of them have recursive types (though in Rust the recursion must be boxed explicitly to make the type sized) and union types.

Neither Rust nor Haskell have conditional types. This is really cool from TS: types are functions! Rust/Haskell are purely nominal.
Angular Life Cycle Hooks
Not a Python fan (like, at all) but can't say I'm surprised. I'm doing still lots of Java development as freelancer to pay the bills, but the Java9+ "update" has just deprecated too much of the Java ecosystem. World-class backward compat was the one thing that Java got right, but lifting a couple years old Java apps to Java 8 and 9 was such a painful experience (with Spring 3->4, idiotic deprecated "REST" frameworks, and old netty servlet and jspc maven conflicts, none of which had a reason to exist in the first place IMO). Ironically, as we're moving to a world of closed language ecosystems, and nobody produces regular shared or static libs anymore in favor of the respective language's own little package manager, the Java ecosystem could have played to Java's strength. It's depressing to loose a whole generation's work of love who saw Java as the go-to language for such a long time with two world-class IDEs to choose from, but I guess Java has run its course as a language that started as a bytecode format for set-top boxes. Will Python (started as the ABC language for non-technical users) take its place? I highly doubt it.

Update: do you have a recommendation for a Java exit strategy? Like, using a language that can compile to JVM byte codes to integrate with existing code bases, yet can also be compiled into native code on x86/64 and ARM/64 for linking against?
This is really fun. I just spent ten minutes looking through zip codes I've lived in and the "interesting" ones you linked.

Do you make money from it? I don't see any ads or information on payment.
The times have changed. This website now needs pinch to zoom to be readable on smaller screens. Also the text is centered across the entire page, reducing legibility.

What I remember from that era is Flash, living through the shit show that was browser quirks and dealing with a front-end stack with no foundation in computer science.
Well there’s docker. You’d have to expose X to the container ( http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-d... )

Or https://www.flatpak.org/

Edit: hmm apparently there’s also https://firejail.wordpress.com/
I know it's fashionable to hate on Adam right now, but without him THERE WOULD BE NO COMPANY TO SUE. People tend to forget that.
The cost of solar panels themselves is proportional to the surface area, but the cost of installation has to take into account the administrative units because they impact wiring and other equipment. Residential rooftops are thus the ideal surface area if reducing cost is your main metric. There are other reasons, such as decentralization, for which this kind of deployment is interesting.
Cmon. Does anybody use Apache anymore? We should send them a care package if so, poor bastards.

Ingress routers are something else. They balance load for cloud traffic, but can they act just as reverse proxies, right? Linkerd and Traefik are a different tool than haproxy.
Ftfy (Python) Fixes mojibake and other glitches in Unicode text, after the fact
That's an interesting comparison. But one difference is that bombs and guns can be used against any target (any human, animal, building), as well as non-violent targets such as for practice, competition, entertainment, or for intimidation (e.g. mutually assured destruction).

Whereas Pegasus was designed to exploit a specific WhatsApp vulnerability, and to interact specifically with WhatsApp's servers. And NSO had paid support relationships with the organizations doing the attacking.

Another difference is that NSO employees themselves had to reverse engineer and exploit the vulnerability during development (possibly illegal under the CFAA). This action also violated WhatsApp's terms of service. There's no parallel to this with guns and bombs.

Another difference is that according to the complaint, NSO-operated servers talked to the exploited devices. So this wasn't just a tool that NSO handed over to governments to be used (like guns and bombs) and then was uninvolved in, it was a service that NSO operated, and governments issued commands to the service telling it who to attack.
Presumably there's more to this than comes across in your comment.

After all, you don't avoid the unconscious bias of a single mind by adding more minds. That just gives you three sets of unconscious bias and adds biases caused by group dynamics.

Do you have a link? I may be googling the wrong terms.
This reminds me of the time someone tried to convince the fan community for Inspector Gadget of the existence of an entire Gadget animated series that never aired in America that centered around a romantic relationship between Gadget and another character of her own creation. She went to great lengths to forge evidence of the obscure cartoon's existence, including creating screen shots in Photoshop, inventing fictitious voice actors with fictitious résumés involving voice work on other fictitious shows, and creating a large number of sockpuppet accounts supposedly of people who had seen or were fans of the fictitious show. Wikipedia and IMDB had listings for the series, before the hoax was exposed.

Oddly enough the "Gadget hoax" once had its own Wikipedia article, but that was deleted long ago, presumably for non-notability.
Working on D is fun, too!
Also, the software part of it (NNs and their algorithms) have been so widely researched and published that competitive advantages here are harder to come by than in hardware RD.

Also, vendor lock-in is a huge challenge in the cloud space. I don’t think Tesla would be comfortable with the fact that all their training data sits on a potential competitor’s datacenter.
I’m from the US. My legal name since birth is not 1 word nor my last name. My first name also includes an é.

My birth certificate has all of these as well as my passport. My drivers license doesn’t have the é.

Truncating my name is how I get mail from people states away who have never lived here. One of them being my dad. He’s never lived in this state so it’s not due to an old address.

That’s also how I commit felonies by opening those letters thinking their for me.
> I treat the comments like cliff notes and sometimes there are competing view points which adds to the fervor.

They're often the same competing viewpoints, though. Especially on easy to understand, divisive topics.
Understanding and Implementing Linked Lists in JavaScript with ES6 and Impl
It reminds me of Conquest's 1st law:

> Everyone is conservative about what he knows best.
Many services and businesses will not do business with you if you do not have a phone number. The most common example would be delivery services, but there are many others.

Have people been able to get around these limitations? and how is it done? I hate having a phone as much as anyone else.
The better the tool the less you learn from it. There was an experiment, I don't have a link, read about it someplace, about a task two groups of people had to solve on a computer. In one case the tool was merely checking the final answer; in another it was also offering helpful visual clues during the solving. Both groups solved the problem, but a follow-up check revealed that the first one has built a somewhat better understanding of the task, a better mental model of it.

I think this is same with today's maps: it's very easy to find a road with a navigator, but it doesn't leave any lasting impression. Fine if it's a one-time task, but not that good if you want to become an expert on local roads.

With a PDF about data structures you do have the executable environment: the compiler or the interpreter the PDF uses to give examples. The compiler has no manual on data structures, but you have the PDF instead. This is the real thing, by the way, that compiler. An medium that combines both instructions and some interactive thingie that shows the data structure will be much farther from the actual compiler than that poor PDF.
Even if they were, which seems unlikely, the question of economic viability would come into play.
It's a long time ago but I'm sure I remember 256k brackets being a thing. Maybe not as big as 64k intros but still.

And you're right, there's nothing really that you could do in 256k but not 64k, it's just much easier to fit your assets and code into the limit so you can spend more time on the demo itself and less time on space optimisation, so it's more casual-friendly.
> Meanwhile I think Delta will be bringing the A220 to Seattle

They‘re on the SEA-SJC route now, at the least. Great planes.
Just to add since I find it an interesting nitpick: Rust has subtype polymorphism in lifetimes.
You are thinking about this wrong. When I need to learn stuff professionally, I do what you do; which is to google the topic and try to find a solution for problems I have. However, there's another thing I do which is to explore new things and be curious. When I'm not working I'm absorbing all sorts of information and some of it inspires me to do things. Knowing about a lot of different things enables me to be more creative when I need to solve a concrete problem.

I watch Youtube mainly to relax. I watch more Youtube than Netflix at this point. A lot of the content I enjoy appears to be teaching about stuff.

Some of the stuff I watch sticks. E.g. I'm baking a sourdough bread right now. In recent months that has become a Sunday morning routine for me. I learned how to bake bread by stumbling on some people explaining how to do this on Youtube. Since I enjoy eating bread, my mind went from "hmm tasty" to "hmm, I could do this". And then I had a lot of fun doing it. In the same way my cooking has improved dramatically since I figured out that implementing a recipe is vastly simpler than implementing an algorithm and infinitely more tasty. I have dozens of youtube cooks in my subscription feed. Most of what I see I never cook but some of it I do try out.

I just gravitate to that kind of channels and I subscribe a lot of youtubers that inform me on a wide range of topics on a daily basis. E.g. I find it very relaxing to watch Adam Savage (of Myth Busters) go about doing some stuff in his workshop to build all sorts of wacky stuff. But I'm hardly a maker myself. I rarely use what little tools I have (i.e. non programmer tools). But when I do, I find I know that I seem to know what I'm doing.
> “as a statement of opinion, rather than a statement of fact”

I think your prior statement about ‘nuances’ discounts this as a fact. Perhaps your strong opinions are not entirely facts?
Nah. You want an example of a textbook Narcissist? Well, we're all very familiar with one these days. Very different from Steve Jobs, though. Jobs' overt "narcissism" was an act, something he conciously cultivated as part of playing the "game" of creating a successful business. You can see this in many ways if you look carefully.
Does DNSSEC upgrade http:// to https:// ? If not, then it doesn't solve the specific problem Troy and I were talking about (namely MITMs snooping on http:// traffic).

What's the primary attack that DANE attempts to protect against? CAs issuing certs to entities they shouldn't? Troy doesn't seem to be worried about those attacks.
> Are you sure that was because you were designing airplanes on the hardware and not video games?

I didn't want the sysop who let me in to be sorry he did so. Besides, I was engrossed in my models.

When I got my own 11, I wrote a game for it:

https://github.com/DigitalMars/Empire-for-PDP-11

> I recognize your user name

Is that 11 still in operation? Wow! DEC sure makes a tank for a computer!
Cash-Strapped Small Businesses Turn to GoFundMe
Jeff Bezos on Medium
I guess that's true, everyone coming to the site will then see it featured and buy it.

Nothing prevents him from doing it in the future though, when he already have enough customers to make a recurring cost profitable.
The M65 and the Davy Crocket were designed to stop a Soviet tank invasion through the Fulda Gap[1]. NATO knew the Soviet army had a numbers advantage. Tactical nukes were developed to stop a mechanized invasion with a smaller force. The idea was that a hot war could start and both sides would avoid the use of strategic nukes, since this would be a civilization ending event.

1. https://en.m.wikipedia.org/wiki/Fulda_Gap
Since we aren't going to burn coal forever acid rain won't make any country uninhabitable.
Statically linked binaries aren’t exactly a “thing” on Windows... https://reverseengineering.stackexchange.com/questions/2070/... It appears to patch the SSDT table to intercept system calls to the kernel, and based on forum thread titles, has been caught by PatchGuard in Windows before, but I haven’t investigated myself.

From what I can tell, once a privileged process like a kernel driver, starts messing with memory it doesn’t own, like SSDT tables and loaded user-land DLLs, well, game’s over as far as system integrity’s concerned. PatchGuard does integrity checking, but I presume given how common it is, there are known ways to fool it or disable it, perhaps by poisoning whatever it uses to check the SSDT memory.

Interesting variations on this technique might be https://github.com/tandasat/DdiMon and https://github.com/tandasat/SimpleSvmHook

In terms of defense, there’s https://github.com/IgorKorkin/MemoryRanger

And for an organized list of far too many examples for me to feel safe, there’s https://github.com/ExpLife0011/awesome-windows-kernel-securi... (Note: over half of the links I clicked at random had Chinese github commit text or readmes, presumably the list author is either searching Github by function calls or understands Chinese...) Less organized for obvious reasons, but this list of 199 starred projects might also be worth a look https://github.com/dmaynor?tab=stars which in turn pointed me to https://github.com/Hack-with-Github/Awesome-Hacking

And if you like this, you’ll probably also like: https://news.ycombinator.com/item?id=21481598
Ok. Three of those are forks of the others.

Several of those are ingress routers, and I’ve seen no claims of those being able to run standalone (ie without specifically k8tes) so they are technically load balancer, except they can’t operate standalone. Say I wanted to run one per server instead of NodeJS cluster mode. I could not substitute those, right?

One is F5 which nobody says anything nice about anymore, and was positioned as a hardware solution for most of its good years.

I’d also note that a number of these are pretty young, indicating that there was a power vacuum that is now filling in.
Any idea on why would a company keep some features as a secret and not use them as a competitive advantage against competitors? Was this to protect another (costlier) line of products?
>“to restrict citizenship by birth within the United States to the children of parents who are of a race which is eligible for citizenship”—i.e., whites

White was also not considered a race in the 20's. There were Nordics, Jews, Irish, Eastern Europeans, and Southern Europeans. American eugenicists also were very much into "building" a race. They would have family breed competitions at fairs where families would compete like dogs or livestock for who were the best breeding stock. It wasnt a white vs colored, it was a tall, intelligent, hard-working, disease-free, group of mostly northern europeans vs anyone short, stalky, diseased, epileptic, mentally deficient, criminal, promiscuous, obsessed with art, etc. For instance, Irish were considered a problem because they didnt work hard, were obsessed with art and music, were short, and susceptible to tuberculosis. Mind you, this is not scientific fact, this is just the nonsense they spouted at the time. They also believed in a thing called "Germplasm" which roughly translated to gene pool, but of course even today we're not exactly clear on what's genetically inheritable and what isnt.

I should also mention, this is the deeply disturbing origin of the progressive movement in america. Using what they thought was superior scientific understanding of the natural world, the IQ test, birth control, the gifted student program, the use of performance metrics in school and workplaces to justify glass ceilings, firings, mass deportation, and mass sterilizations of anyone deemed deficient in any way by society. The work americans did to create a legal framework for eugenics would be borrowed by the Nazis to create their own legal framework for the deportation and final solution of the jews.
Tim Berners-Lee Published a Document Called HTML Tags (1991)
I have had this talk many times and it usually went something like: "You don't realize how serious it is. We discover issue#13270 during the validation of the FCDC. If it occurs after the primary flight computer had a hardware failure and the pilot is landing with heavy side winds and the thunder strikes, there is a heightened probability of hard landing. Most dangerous aircraft ever. By the way, this weekend I'm taking an Avro RJ100 to go to Brussels; no problem there."
Exposing NSMutableArray
This guy was achieving a peak that few of us will ever experience:

https://youtu.be/9xoHbBkUGSQ?t=200

The music in that video is incredible. I love the whole thing, haha.
If you get rejected just edit 10 words on your resume and then resubmit. Do this a 100hz and you'll get in eventually :)
And I don't understand people that don't make this very valid point rather than making fools of themselves by denying the dangers of nuclear power and refuting arguments no one ever used.
I’m dealing with some people that have some sort of existential dread of haproxy and I can’t get them to admit why they won’t use it. I’d send them to a therapist but I’m not their boss.
Most people commenting here seem to be missing Joel's point that the Hungarian notation makes it possible to read the code without having to continually search elsewhere for information about what it means. I'm pretty sure that he would be all in favour of declaring sub-types in languages that support it but an awful lot don't or don't make it convenient.
They might be related to the internal workings. A modern x86_64 CPU has hundreds of internal registers. Not all are available to programmers.
Position: Software Engineer

Location: Palo Alto, CA

Remote: Possible (USA)

Willing to relocate: California, Nevada, Arizona, Hawaii.

Technologies: Python(Django, Scrapy, Django REST Framework), Swift, PHP (Yii, Laravel, Zend), MySql, PostgreSQL, JavaScript, jQuery, Ajax, HTML 5, CSS 3, Bootstrap 4, git, LAMP, Node.js(Express) and ModgoDB

Résumé/CV: https://www.linkedin.com/in/alekseilevin/

Check my iOS app in AppStore: https://apps.apple.com/us/app/coinschecker/id1484761290
A thousandth subscribers outweigh the ad model
What does Netflix do with NNs?
Some interesting old tags:

<ISINDEX> "This tag informs the reader that the document is an index document."

<LISTING> "These styles allow text of fixed-width characters to be embedded absolutely as is into the document."

<HP1> "Highlighting. The highlighted phrase tags may occur in normal text, and may be nested."
Can you explain what you mean by nuclear's "negative learning curve?" That's not an argument I've heard before.
Excellent read, nice to see such an interesting post on languages
I agree that the technical requirements for transmission are very different than in a professional audio context. What I meant is that, once the signal has been acquired, there could be some additional processing to make it "sound better" (is: increase speech legibility), independently from the transport method.
What about the costs of a broken solar or wind turbine. Easy replaceable. But calculate the cost of a nuclear fallout...
Extending Backpropagation to Functional Programs
To really be a measurable improvement over humans, and especially an improvement that is statistically distinguishable from just letting the safety tech of 2019 percolate into the average car, self-driving needs to achieve fatality rates around 0.1 per billion miles.

Current averages for the US are around 10 per billion miles and decreasing; best countries in Europe are already below 5 per billion miles.

There's some really interesting progress both on vehicles monitoring driver attention, and on monitoring for alcohol in the air, that would yield substantial improvements even beyond 2019 tech. I have no doubt we'll see fatality rates below 1 per billion miles in Western Europe within a decade.

The corollary of the statistics quoted above is that you need to observe your self-driving vehicle system over tens of billions of miles before you even know if you're safer or not.
How do we currently regulate and put behind bars the human drivers that drives the metal torpedoes like idiots ? Specifically the ones that are not caught.
These days, when I start a new project, I think of my code as a tree. I start at the trunk and write the branches.

Each kind of state change needs to flow through the code in a consistent direction to avoid unexpected state mutations (like sap flows through a tree).

Another developer should be able to understand all the main parts of my program just by looking at the main entry point/file (the trunk of the tree).

Also, no dependency injection should be used; all dependencies need to be listed explicitly and be trackable to its source file. Dependencies need to either be explicitly imported where they are used or passed down through the branches explicitly via method or constructor arguments. Traceability is very important.

About classes/abstractions, they should be easy to explain to a non-technical person. If you can't explain a class or module to a non-technical person, it shouldn't exist because it is a poor abstraction.
How to create professional, eye catching videos in a minute
See BubbleWrap, FireJail, as well as the pre-packaged platforms such as FlatPak / AppImage which run in a container.
Not the best, but not the worst. It's pretty simple as it is.
This paper titled "Backpropagation in the Simply Typed Lambda-calculus with Linear Negation" describes how to generalize the backpropagation algorithm used for computational graphs (like in PyTorch or TF) to the simply-typed lambda calculus augmented with a notion of linear negation.

By relying on conceptual tools originating from Linear Logic, the authors prove the correctness of the transformation and its time efficiency.
Well they're primarily a Haskell shop IIRC so it makes sense?

Also making content for getting clients absolutely works, it's the same concept behind big/small company engineering blogs.
Xifrem – Client-Side Encrypted Chat with Asymmetric Encryption
the difference being?