skysight-inc/HackerNews huggingface dataset:
Right. The problem is that functional purity always comes with overhead; data structures like Clojure's help a whole lot, but there's still a cost.

But one of the primary motivators for functional purity is to avoid unintended side-effects.

In pure FP, You never even have to bother your mind with unexpected side-effects because there are no side-effects.

Rust instead gives you the vocabulary to carefully articulate intended side-effects, preventing all other, unexpected side-effects at the same time. So you can colonize the wilderness, instead of avoiding it altogether, and for that you get to skip the overhead of treating everything as immutable. Not that this is an indisputable improvement for every use-case, but it's a novel tradeoff and one that is definitely preferable in many domains.
> Only if a1, a2, a3 are also freed at once.

Yes exactly. This is meant to be illustrative of the case suggested in the parent comment, where all required runtime objects are known and can be initialized together at the beginning of execution.

edit: it may be possible to program around some of the worst performance pitfalls of RAII in many cases, but you will end up with very non-idiomatic code, which I would take as evidence that RAII is not ideal for memory performance.
Secretly, that's actually what bothers everyone else, too.

People aren't stupid. Everyone knows that unless you are dirt poor, kicking a ~$100/mo habit in isolation doesn't do much, because personal finance is more complicated than that. Likewise, kicking a coffee habit won't necessarily make you much healthier, especially if you partake in many of the habits people don't generally find terribly detestable that are equally poor, like sucking down a liter of coke each day, overeating nearly every meal, hardly exercising, or drinking booze after work.

But humans are humans, and boy does the smug superiority of telling the entitled millennial that their bank accounts are empty because of the lattes and not the surprise medical bills, crushing student loans, car insurance, high rents, etc. seem to appeal to personal finance gurus.
advert and illusion of popularity.
Up to 4M people are leaking secrets through browser extensions
The native mobile apps are good which is Reddit’s only saving grace.

It’s so easy to design something for designs sake while ignoring the fundamental reasons people use the site - first and foremost the content, not the site looking visually good or some clever card pattern or other UI concept.

The whole reason Digg got blasted was how it lost information density and jumped on the ‘web 2.0’ bandwagon without improving the user experience.
Its difficult for all programmers. The tooling still isn't there.

Try verifying the correctness of a JavaScript program with model checking. It won't work. Or try verifying correctness with abstract interpretation. For any sound system the output will just be "Top".

We have very deliberately developed technologies that enable rapid development. For "make it so a little message appears on the screen saying what day it is" features this works very well but it means even our formal analysis methods fall over on dynamic languages with heavy framework use.

This isn't just laziness. I'm a hardcore PL person and even I think that soundness is largely a mistake when making real analysis engines.
You brought an interesting point. Maybe we should differentiate 10x engineers (if we should keep this term alive) into two camps:

1. Super hardcore engineers like Fabrice Bellard, John Carmack or Linus Torvalds,
2. Engineers who bring insane amount of value to society, like Satoshi Nakamoto (if they were one person), and Markus Persson (founder of Minecraft).
Yeah, let's talk about literally nothing else on HN until everyone is satisfied we've sufficiently dealt with the diversity issue.
I was working on something sorta like this, but I thought it'd be cool to make a proxy that takes all requests and runs them through the wayback machine, so you could browse the old web in an old browser whilst maintaining the original URLs
>except that FaceApp is a Russian company?

Well, I mean, nothing. Except that FaceApp is a Russian company.

What was different about Huawei? Except that it was a Chinese company.

And here's the thing, I don't even necessarily disagree with the worry around these foreign companies. They are outside of our jurisdiction and these countries have been known to use companies on the behalf of their governments to perform intelligence/psy-op activities.

Why is this different than the US? It's not. But it's like nuclear weapons, yeah? We are the only ones who can be trusted with them. Therein lies the rub, as they say.

Either you buy into post WWI America runs the world and our military prevented an apocalypse and got every American a car and garage by rigging the world markets and protecting the world with our Navy and every country has to go through us to technologically advance, or you are un-American? Tongue and cheek here, but this is seriously the proposition.

This is the exact decision that was made and accelerated by our military during wartime. This is our playbook.
You should really update your stereotypes.
I am totally in favor of this 14 day return policy, there are good reasons why it exists. But behind every law there is also an intention and the intention behind this law was certainly not to allow you to order an expensive suit or dress, wear it at one event, and then return it without ever having had the intention to keep it. At the very best this is an gray area and it certainly is abuse because it is against the intention of the law.
I think I am reasonably good at math compared to the average person and really loved it growing up and I would also agree that coding is not that similar to it. Coding is a lot more "tactile". It feels much closer to the arts than to math. The idea that we can treat computing as something purely abstract has never come to fruition for me because there are a lot of details in CS and some details matter a lot.

When I was starting out in my career, I worked at a hedge fund. The fund had a bunch of physicists and mathematicians working on models and they actually wrote the code for those models. They wrote some of the worst code I've ever seen. For example, rather than structuring their code properly, they would use exceptions to pass messages around. If function A needed some information from many levels deep in the stack, they would just throw an exception with the message inside. Function A would catch the exception. These aren't actual exceptions but they didn't to refactor their code. As you can imagine their code had horrific performance.

If you abstract away all the details a lot of concepts and constructs in CS look very similar but some of those details that were abstracted away are going to matter a lot when the code is actually run.
"The natural language which has been effectively used for thinking about computation, for thousands of years, is mathematics."

I'm not sure if this is true. Harold Abelson creates the distinction[1] between Mathematics being the study of truth and Computing being the study of process. It seems to me that these really are different things and Mathematics isn't the "natural language" to discuss computations, but rather truth and patterns. But of course process (computing) can only happen within the boundaries of mathematical truths and patterns.

[1] https://www.youtube.com/watch?v=2Op3QLzMgSY the first few minutes
This is getting semantically thorny, but I would not interpret memory protections as memory safety. The borrow checker just makes it easier to establish bounds on data flow, for which there are a number of benefits beyond preventing use-after-free and unintended aliasing.
Ouch :) Thanks for that, nice one :)
This has to be provided by a botnet or some other malware, right?

They claim 30M residential IP addresses.. How would this be done otherwise?

There's no info on the site about "signing up" to be a proxy, just about using them..
Absolutely! In addition, if you've spent a full day on a single commit, it'll show in these stats as a single data point at the end of the day - the fact that you were working for the 8 hours leading up to the commit as well is lost.
> since "foo = 5" does not evaluate to a boolean

In most C-like languages, this expression is valid: the whole thing evaluates to "5", which has a truthiness. Some "clever" programmers use this pattern intentionally in loops to save a line of code, especially in the C/C++ world. For example:

while(currentNode = currentNode.next) {
...
}

When currentNode becomes null, the expression/statement becomes falsy, and the loop terminates. I absolutely love the way Rust systematically disallows shaky syntax tricks like this.
I can meet my neighbour, but what if my neighbour doesn't want to meet me? What if my neighbour is more of a problem than a solution? What if attempts to be friendly are counterproductive (usually because some bad motive is assumed) and dangerous (because you make yourself vulnerable, e.g. to sexual predators)?
"Fast inverse square root is genius but it would just be way-too-clever technical debt if Carmack hadn’t written it and others didn’t learn from him."

I think the difference here is that Carmack was working in a space where fast inverse square root was the difference between the program working and it not working. At that point, it doesn't really how matter "clever" in any bad sense of the term the code is.

Carmack works in 3D engines, which even today is a space where people are trying to wring every last cycle out of them. It's perfectly appropriate when programming in a space where every last cycle counts to program as if you're in a space where every last cycle counts.

I don't work in such a space, so I don't program that way. But while I haven't got anything as "clever" as FISR, I have got some things like non-obvious database schemas for certain performance reasons that if my successors don't find and read the comments I've left about why the schemas are that way, they could well get themselves into some trouble if they try to "fix" it.
Goodbye, Alan Moore: the king of comics bows out
Turns out that as long as the all powerful companies spying on you are located in California then it's totally fine.
The article is most flawed because Microsoft has been using Rust for a long time already.

The MSRC article says:

>in a new blog series we will highlight Microsoft’s exploration of safer system programming languages, starting with Rust

so it appears the zdnet author misinterpreted this to mean it hasn't started using it yet.

As an example, https://github.com/Azure/iotedge had its first Rust code checked in in February 2018.

MS has also already been contributing to Rust and LLVM to get it working on Windows ARM32 and ARM64.
But it doesn't just stop with flat earth theory: the conspiracy mindset is contagious and spreads to other aspects of life, such as health, where obviously false information becomes dangerous because suddenly people aren't getting the medication they need.
So, LISP machines?
Thats the high risk strategy... After sending 50 letters and court summonses to your fake address, they finally get a court to order your ISP to give the real details, and suddenly you have a $10k claim with the added charge of fraud...
Oban Recipes Part 1: Unique Jobs
Leaving aside the question of right or wrong, I have always thought that the pride people take when they "beat" a large corporation is one of the most fundamentally American things there is.

How many times has someone given you a tip on what lie to tell to a customer service agent to get what you want? How many websites are there devoted to jumping on airline ticket pricing errors? How many times can you think of someone telling you their insurance paid out more than their loss was worth?

In some circles this even extends into taxes. People brag about how they minimize their tax burden even though that means the person you're bragging to will be the one receiving less govt. services. We have a president now who brags about not paying much in taxes, even though his current job would be meaningless without them!

I think in a purely capitalistic society, this is all rational behavior. But it's also the reason we have such antagonistic relationships with corporations. Both sides look to screw each other at the slightest hint of weakness.

This is the internet so I am sure I will be told which side is right, but that's really not what I am getting at. I just find the dynamic so interesting.
Radio 4's 'Feedback' [1] bills itself as "The programme that holds the BBC to account on behalf of the radio audience" and frequently interviews BBC employees.

Obviously there are fraught incentives from them paying for their own criticism. Not sure cancelling the program would improve the situation though.

[1] https://www.bbc.co.uk/programmes/b006slnx/episodes/downloads
> Stay in your job for 15 years because you like the people, the work itself or some particular perk? When you finally leave, your next job will pay less than if you had hopped around each 2 years. That's if someone wants to hire you.

This is so true, and the weirdest thing in the world to me. Especially in tech, you get really heavily punished for staying at a job more than a few years. To the point where, in interviews, you are asked why you stayed so long. Why would you penalize someone who might make a long-term commitment to your company? You're basically flushing all the training and institutional knowledge they hold down the drain.

I've been at my current job 13 years (although I have advanced through multiple titles in that time). I may be slightly underpaid, though last time I looked a few years ago it was about average for the area. I've considered leaving occasionally, but I like the people I work with and the work most days is interesting and engaging.

Moreover, I'm content. Maybe I could get more money if I job-hopped or moved to a place like the Bay Area. But why? I'm comfortable now, all my needs are met, I have plenty of disposable income, and my family is happy. We never want for anything.

We have this weird aversion to people being content. There's a lot to be said for stability.
Interesting; I don’t consider what I said extreme or radical at all. I’ll rephrase it into a question: what do you claim that commit time demonstrates, considering that commit times can and do in practice very often change immediately prior to push?
But what if you have a total of 3000 engineers. What will all of them do? Perhaps a handful of them can investigate and try new things?
The FAA safety bulletin: http://rgl.faa.gov/Regulatory_and_Guidance_Library/rgad.nsf/...

> The cause of the unsafe condition stated in the Discussion section of this AD [airworthiness directive] is a known
susceptibility of the [Honeywell] Phase 3 DUs [display units] to RF transmissions inside and outside of the airplane. This
susceptibility has been verified to exist in a range of RF spectrum (mobile satellite communications,
cell phones, air surveillance and weather radar, and other systems), and is not limited to WiFi
transmissions.

> The phase 3 DUs provide primary flight information
including airspeed, altitude, pitch and roll attitude, heading, and navigation information to the
flightcrew. The NPRM proposed to require replacing the existing phase 3 DUs with new phase 3A
DUs and installing new DU database software. We are issuing this AD to prevent loss of flightcritical information displayed to the flightcrew during a critical phase of flight, such as an approach
or takeoff, which could result in loss of airplane control at an altitude insufficient for recovery, or
controlled flight into terrain.

And in response to a list of various airlines saying they were unable to replicate the issue, the FAA wrote:

> We do not agree with the commenters' requests. We do not agree to share the underlying data in
the AD. An AD is not an appropriate vehicle for sharing proprietary data.
The susceptibility of phase 3 DUs to RF transmissions was initially identified during a WiFi STC
installation by an operator and a WiFi vendor and reported to the FAA. As a result of this discovery,
we performed a risk assessment for in-service airplanes equipped with phase 3 DUs using our
established COS process, which determined that an AD action was warranted for this issue. In
6
addition, Boeing did an independent safety review and also determined that the DU blanking was a
safety issue using its own risk assessment process.

This is pretty ridiculous - and scary - stuff. It's 2019 and Airplane Mode still might be necessary.
Take China for example, I don't think it is a country of religion...

You say this, but then go on to describe what is generally understood as a system of ancestor worship.

Religion isn’t mostly — or even necessarily — about theology or beliefs. One of the first realizations of comparative religion scholars was that codified beliefs are a relative rarity.
5000 is still the blink of an eye. Homo Sapiens as a species is something like 300,000 years old and arose from prior species that were already more advanced than any other animal living today.
Netflix is losing beloved shows, subscribers, and confidence
My ex-Navy middle school science teacher apparently used to work on submarine DC systems.

Per him, you worked with your right hand only and your right foot bare. Better to crisp your right side than send current through your left.
I use Twitter differently. I don't comment, rarely retweet something, and mostly just follow about 100 selected accounts. I care to know what certain people are up to in my field.

What I hate about it is that you can't rest your mouse on anything. Everything is clickable, everything must be touched with care. I like 90% of the content to be plain text.
We used to all hand-edit binaries in the 90s when we were cracking copy protection by passing around text files indicating which hex codes to swap between JE/JZ and JNE/JNZ...
Interesting article and interesting opinion. I particularly like this quote: "Employers can get away with paying workers less when those workers don’t talk about money." I find it to be very true.
Few points:

I don't assume Microsoft was innovating at any point since the 90s, wasn't WPF a response to Mac OS X compositing layer ?

Also I didn't mean to glorify the web. But I really think that it was the main driver of new mainstream desires in terms of UI (not to my taste). Even more than native iphone/ipad application no matter how sleek and sophisticated because of how few dev and users they had compared to web apps.
Those are some stunningly untrue sweeping generalizations.
This is possibly the best example of the ambiguity of language I've ever seen. Two contradictory meanings expressed in the exact same phrase, and both of them are valid in the broader context.
Completely true.

The issue was that the prime was a $99 charge and I just paid rent. Their $99 made my account go negative and I got an overdraft fee.

So I told Amazon I wanted a convenice fee for my time having to call them and to pay me the overdraft fee.

The guy put me on hold for a few minutes - then came back and agreed. and I got my $99 plus $25 that I asked for.
Solid is a MIT project aiming to improve privacy and data ownership, founded with Prof. Tim Berners-Lee, inventor of the World Wide Web. Perhaps this kind of initiatives and blockchain will remind people what valuable data they are sharing.

Information Economy should directly incentivize those who share their identity, I couldnt imagine some stanger in the street asking me for all this information, and me giving it without a doubt. It is scary but it's normalized.
It's not about "moral expectations". When customers buy from a respected retailer they expect pricing mistakes in the customer's favour to be honoured because it is an industry norm among respected retailers.

If Amazon wants to market its self as a respected retailer they will act the way customers expect a respected retailer to act.
Some commentors point out that though they never put their faces into the app, their family and friends did upload their faces without consent. Literally nothing is stopping anyone from just fishing through public DBs and uploading just about anything into the app.

There are issues of consent, of what is 'personal' data, of who 'owns' that data, of public vs. private, etc.

We've all been on this ride for a while now and it's not getting any more clear. If anything, it's getting more and more murky. Deepfakes are now able to be done on a laptop, essentially. EULAs are basically ghosts, the public cannot understand/see them but is terrorized by them at random. Privacy is meaningless despite it's proven requirement for proper adolescent/human development.

I think we're in a time now where we need a new idea and a new way of doing things and thinking about our world, where a paradigm shift is required.

Our ideas of personal data, of public data, of private data, of consent, and of ownership are no long going to work. The ethics aside, the old ways of doing things are not workable anymore.

What does a flawed, yet workable, solution look like?
I don't think it's fair to compare random people in a community pool (even though some can be really good) with engineers with work experience.
100 Fastest Growing Companies in Toronto for 2019
Is this the company that offers a free VPN extension and pays for it selling those people machines bandwidth? I always thought their business model is way too shady to be legal.
I think you're giving people too much credit, I doubt the people were thinking about Amazons HR policies, or any moral or otherwise nuanced socio-economic arguments. That's not to say they're horrible people, well.. maybe just a little greedy and/or without any shame. I know a lot of people that are very religious (or non-religious but 'principled') who will still lie on their resume. Its just a human thing I guess..
Exactly: you may not be able to fully understand the OS you're working with, but you can abstract it away and use it anyway. This isn't "technical debt", it's something you need to actually get your job done: without the OS, you simply would not be able to actually create the thing you're making.

Similarly, whatever you're building likely uses a microprocessor somewhere. You probably don't really understand how that works, and would not be able to build one from scratch. But without that CPU, you wouldn't be doing your job at all.

The phrase "standing on the shoulders of giants" comes to mind here.
I did too but they kept changing it back.
At least in SF it feels like there is a grey area between work and friend relationships. I don't necessarily think relationships that start at work can't be meaningful, though there's certainly a much greater chance a work relationship is transactional even if you fool yourself into thinking they could be a friend.
I imagine they intended 'hyped' there (& not as a pejorative).
My twitter followers have confirmed that this works!
> Sure, because they have 0.09% of the world's population.

Why does it matter their percentage of the world population? Are you defending that we should reward nations where people don't care about birth control and explode their demographics while arguing in favor of climate action?
I agree with some of your sentiment, but this argument isn't cut-n-dried.

> It's ironic that many people still believe the narrative that corporations are evil and would screw over their customers at any chance...Amazon wouldn't do that not because of benevolence or legal reasons, but because its not in their interest

That is not a counter-argument for them not being evil -- that's could be more along the line of lawful evil (pragmatically evil). If it is in their interest to screw people over and they don't is more a counter-example of not being evil.

I don't think all corporation are evil. I think corporations should be judged on their behavior towards people. If they carry out evil actions they are evil (or at least part of them is). If they carry out good actions then they are probably not evil (maybe it's just that interests align with being good).