skysight-inc/HackerNews huggingface dataset:
> I think it's not well advised to use a type system as reason not to write unit tests. It seems to be a common misconception that static types are a replacement for testing.

Of course they are: whatever your acceptable defect rate, both types and tests are ways to spend effort towards achieving it. The more defects you can eliminate via one, the less you need to catch via the other.

> I think it's still worthwhile because, like I said, you can have code where all the type constraints are satisfied but become violated by ingested data.

Most languages won't allow that to propagate through the system, and if you get an error at the boundary then it's obvious what the error is. (Admittedly a compile-to-Javascript language is the example here and may be the exception).

Fundamentally you decide how likely certain classes of errors are and look at the cost/benefit of the various measures available to you. In my experience types can, when you commit to them and work with them, reduce the defect rate very close to zero, and more cheaply than any other measure; I only feel the need to supplement them with tests very occasionally, and only for the very core parts of the code where defects would be most expensive.

> I think it's a stretch to say a static analyzer is "a type system". It doesn't obviate runtime type checking and implicit type conversion.

In terms of the mechanics of what it does, it's a type system. I don't see any value in having two type systems for the same code - type systems work better if they're part of the language so that all of the tools understand the same types the same way - so I prefer to use a language where the language type system covers all the use cases that a static analyzer might be helpful for.
> And for the record, if there is one area that I really want machine learning and "AI" to fall flat on its face with, it's music. It's a shame technophiles want to strip the people out of art and its consumption.

Already advocating affirmative action for people in arts? That must mean a lot for "deep art" researchers.
First world problems...
Amazon sent a “Baby Registry” email to lots of people by mistake
How Long Should a Business Plan Be for a Big or Small Business?
Which is no more or less arbitrary than saying that PEDs ought to be banned because they are unnatural. So it's a moral issue, not something that can be settled by logic. The question becomes, where do we draw the line? Most people seem to agree that "play the hand you're dealt in life" is acceptable.
Also note the "perhaps."
Given the level of concern, I will change the default and release a new version right away.
the ability to cavalierly invite the CEO, world leader, whomever, to play golf.

"There is no door in this entire country that cannot be opened by a Choate graduate." - Choate fund-raising director.[1]

[1] https://books.google.com/books?id=Fw4nkhf_6lMC&pg=PA109&lpg=...
The distinction between micro and macro evolution is a typical strawman. Everything one can't deny anymore without looking incredible stupid is called "microevolution", the rest "macroevolution".

There are still many areas where we don't know the exact machanics, but evolution in itself is a fact.
Not just Leibniz, others too, so don't try to claim it for Leibniz.
I've heard first hand stories from friends who did their undergrad at Harvard that spoke to favoritism. One is: while playing rugby, a friend tackles another student. The coach pulls my friend aside and tells him to stop "hitting so hard" (my friend is an average to below average sized guy). Puzzled, my friend asks why, to which the coach replies, "think about the kid's name."

He was a Kennedy.
The World's Soaring CO2 Levels, Visualized as Skyscrapers
I canceled mine because they use outbrain but it hasn't expired yet.
The Figure 5 in that article pretty much summarizes the main point - if you show that to the original (hypothetical?) student, then this should be sufficient to make them understand the downsides of their design.
The reason I personally prefer sum() to Σ is I can google "what is a sum". If I Google "what is Σ" I get answers about the greek letter Sigma. If I Google "what is Σ math" it incorrectly says "Standard Deviation". Also if I don't know what Sigma is, it's very hard to ask someone else what the weird uppercase E means.
My commute is a little longer (~60 minutes), and my rent is 1.6k a month with most utilities included.
Yes, databases and filesystems are global mutable state (at least if you do anything other than append to them). And they also require vastly more care. For instance, if you store a JSON blob in your database, you have to be VERY careful with how you change it over time. If you make a backwards-incompatible change to the schema without realizing it, you break. A likely response is to advocate better testing, but you need a special kind of testing to detect this problem. Plain old unit tests won't cut it because it's not about whether your parsing and rendering code at any given point in time is correct. It's about whether the parsing code from today's commit is compatible with the rendering code from the previously deployed commit!

Furthermore, if you deploy incorrect code, it could add JSON blobs to the database with the new schema before it crashes on the old schema. Now you've got two incompatible versions of the JSON blob in the DB at the same time, so rolling back to the old code will still be broken!

Software engineers deploying production apps have been dealing with these issues since we started using databases, but that doesn't mean that it's any easier or less error prone. It just means that we have to be more careful. And that care has a cost.

This cost isn't unquestioned for larger systems. It's a big part of the motivation for append-only databases, for example.

http://thesoftwarelife.blogspot.com/2010/12/append-only-data...
I've submitted a PR to change the default behaviour: https://github.com/gnachman/iTerm2/pull/332
you might be right about the DNS lookup.

but i do distinctly remember getting alerts for this and being annoyed enough to go figure out how to disable the feature in iterm2 (it was at least a couple years ago, so my memory is hazy).

maybe someone with more recent experience can clear up the mystery for us. =)
Is t only 32 bit? Three years ago we’d already had 64 bit phones for a year.

Or is it some kind of API incompatibility?
When I was an undergrad, we were "taught" tools like Emacs and Vim by being dropped into a systems programming class where we were told to telnet into a university server to complete the assignments, and "oh, you'll need an editor. I think Emacs and vi are there. You'll figure it out."
>a point of view to lead readers to be left wing economists.

Oh come on, that's ridiculous. If you think Keynesianism is "left wing economics", you've got another thing coming: Marxian economics has been excluded from the discourse such that almost every university will describe its department as neoclassical or Keynesian. And this book isn't even a Marxist one. It contains no seething critiques of the capitalist mode of production. The beginning to left wing economics is Marx, even if you don't accept his theory of value. This text is not such a beginning.

If you want an opinionated guide to capitalism, read Capital Vol. I by Karl Marx (1867)[0].

[0] https://www.marxists.org/archive/marx/works/1867-c1/
Evolution doesn't work on species level, but on individual level. There's still an in-species competition.

Probability of gene A to fixate is roughly equal to 2s, where s is increased relative fitness. (e.g. 10% for gene that gives 5% increase). Such genes will spread even if species as a whole has a niche to populate.

I would recommend reading [1] - a series of essays on evolution and math behind it.

[1] https://wiki.lesswrong.com/wiki/Evolution#Blog_posts_.28sequ...
What a difference 20 years makes...

https://www.eff.org/cyberspace-independence
Movies are often shot on private lots. There is no requirement that a vehicle actually be registered and be using a real valid license plate unless it is driven on public roads. (at least in the US)

I would be curious if that database is public, though.
Undercover with the Alt-Right
I'm not surprised that software engineers find these concepts difficult to understand at first -- it's a very different way of thinking, and everyone has to start somewhere. But I do find it kind of odd that someone would jump straight into trying to use an HDL without already knowing what the underlying logic looks like. (My CS degree program included a bit of Verilog programming, but it only showed up after about half a semester of drawing gate diagrams, Karnaugh maps and state machines.)

Does this confusion typically happen to engineers who are trying to teach themselves hardware design, or is it just an indication of a terribly-designed curriculum?
A private company is NOT A STATE. DC is a right to work state. We fire people for any reasons. I had a pro PWC recruiter as employee #11. We were exemplary in practice. But nobody "gets jobs." That is unskillful thinking. People "make things." I need not argue. Go read "The McKinsey Way." That is a famous company where smart people like to work. They run an attrition hierarchy. They have a famous hierarchy of priorities: Customers 1st, McKinsey 2nd, Employees 3rd. Language deficits are never customer problems. Is this a support group for Matrix Neo Masters of Swift rewrite future? Too bad. Heroes write paychecks. They make the rule their customers need. Machines rust. Flesh rots. How philosophical do we have to make this?
The wild Internet is definitely still there. The problem is that it got too hostile for most users due to spam, viruses, malware, phishing, trolls, doxing, and so on. It will get worse, as attackers adopt machine learning techniques and automate social engineering at scale.

So users have a problem. Companies that solved it the right way became enormous, because protection from all that crap is something people want, and they want it to be easy to use. In the early days it was anti-spam (Gmail). More recently, Snapchat helped teens avoid creating a permanent record of things.

Sure, you can go outside the walls at any time, but how many people really want to? The way to win users is to provide better protection than before, including defenses against new privacy threats, not to somehow convince people they don't need to care about it.

Sometimes providing better protection results in more freedom (of a sort). For example, a well-maintained app store means users don't have to worry about malware and viruses, so they can download whatever games they want without worrying that they'll infect their machine. This wasn't true of Windows in the old days.

Ironically, the web started out pretty safe (or so we thought) and degraded as more adtech came along. These days you can hardly click on a link without getting ads in your face. There's opportunity for someone.
what bank?
In one of the recent books I read, I've heard that Newton didn't want his material accessible, as it would keep out the dilettantes. He wanted only a select few to understand a lot of what he wrote, which is part of the reason they're difficult.

(I think it was either Gleick's book on Information Theory, or the Drunkard's Walk, but it could have been any of the half dozen books I've been absorbed into lately)
Every bill has a serial number. Social graph exploration of paper currency is possible with bill readers at only a few points in the bill life cycle.

If the same nodes repeatedly 'touch' the same serial numbers you can infer a relation.
Interestingly, I think that story can be interpreted different ways. One interpretation is that the coach knew that if he actually caused an injury, it might come back at him in interesting ways. You can either interpret it as the coach protecting the elite, or the coach protecting the non-elite, depending on your view.
yes, i have dependencies that use both scss and coffeescript, so it's part of the deployment pipeline. i just don't like using them much myself =P
Connection pools, resource caches, file loads (a resource cache) have no need to be global. If you inject your dependencies (also known as partial application in functional languages) you will find it far easier to test things in isolation, to decouple modules, and to refactor your software.

The UI being global mutable state isn't actually true on all platforms (but is true on the web). And even then its possible to "hide" that to some degree in well designed frameworks.

Never say never, but half of your examples _shouldn't_ be globally mutable state.
But you don’t need to turn OFF WiFi for that, simply disconnecting (as the button does) will accomplish that too.
All of the major clouds already have good secrets management built in. We have a simple library that uses Google's Key Management Service in a standalone project to encrypt/decrypt files held in a private storage bucket. Access to keys and files are controlled by service account roles. Seamless, efficient, no-ops model with built-in auditing and fine-grained control that works everywhere.
I for one think that that's great. It helps encourage people to upgrade but it also makes things a lot easier to support. It's not friendly to the poor though. If you bought an older all aluminium macbook say in college and due to it being built like a tank you use it for 5+ years and it goes out of support what then if you're not making enough free cash to dole out on a 3k macbook?
Your Mind on Pugs – A story about depression
Guest appearance: AmigaOne X5000 in an ad for hair salons
"The reality is that no digital logic design can work 'without a clock'. "

This is not true.

"HDL based hardware loops are not like this at all. Instead, the HDL synthesis tool uses the loop description to make several copies of the logic all running in parallel."

This is not true as a general statement. There are for loops in HDLs that behave exactly like software loops. And there are generative for loops that make copies of logic.

Also, the "everything happens at once" is not true either. In fact with out the delay between two events happening, synchronous digital design would not work. (specifically flip-flops would not work).
No, the discoverability problem still exists. You find out by trying it and hoping you remember the answer.
How much of the positive is the result of British empire? And does it offset poverty caused by centuries of colonialism?
Dog-fooding my own SaaS for other things I'm building (https://browserless.io), so far just one!
Harvard CEO Says 8.1% Return Signals ‘Deep Structural Problems’
Man Who Saved the World from Nuclear Armageddon in 1983 Dies at 77
This is apple not microsoft. Move off of 32-bit, there's no reason to be on it. And corporations have the means (or there are third parties willing to help) to rewrite things to the new 64-bit mandate.
If in your case is a global mutable state then most probably there is a problem.
In my experience, most of the time, only a certain piece of code changes a certain table.
If in your case every module can indiscriminately mutate every table I warmly suggest to mutate your design.
In case of distributed applications in which you are mutating very frequently from multiple serves the same tables then don't forget to use transactions.
In case you need to do it by design and you don't explicitly need transactions then use some in-memory cache backed by a db, with distributed locks when necessary.
Someone already did the really hard work for you, no need to reinvent the wheel.
Good point. I'll fix both of those soon.
Digital Download: The Power of Influencer Referrals
Become II – From selling food in the street to working for top firms in tech
iPad-based grocery list syncs to the cloud so you always have it when you're at the store.
Aside from the correlation !=> causation issues, there's a ton of endogeneity and selection bias in this data.

The initial programming quiz has code snippets only in Javascript, Ruby, and C.

The interviewers are usually more familiar with more modern technologies. Indeed "enterprise" (C# or Java) developers tend to do poorly at TripleByte, and Java is highly correlated with Eclipse usage.

TripleByte also recruits primarily for startups which tend to use certain technologies. I'd say the final stage offer data is so biased by the selection process along the way that it's almost impossible to draw any conclusions from it.
Im fetching it from FB, Linkedin and Reddit
It is with the greatest obviousness that strategic important sectors — such as defence — can't trade with foreign countries without specific permission from the government. The tech sector is an sector of strategic importance and it can't both serve the Chinese communist party and the US democracy. The Chinese understands this.
yes, variables are nice. hopefully the glacially slow integration of them into css proper (css custom properties) will arrive soon: https://developer.mozilla.org/en-US/docs/Web/CSS/--*
You may need to have the German dictionary installed.
Somewhat relevant question: how do you handle a Tesla if you run it out of charge? Eg, in comparison to a gas burner which can be be partly refilled with a jerry can. Are there portable battery packs with enough capacity to partly recharge the car? Or do you just have to get it towed?
Climate Change Is Complex: Often-asked questions
(I'm not a ham.)
I suspect that I've got about negative three years of experience in Java 9, and a good negative five years of experience in C2022. To be honest, though, I don't expect to ever have positive years' experience in Perl 7.
Not sure your what your point is a laptop is a semi disposable device that you use if you have to code away from a properly set up multi monitor PC.

A good pc set up with multiple monitors with a proper mouse and your preferred key board is much better for working on and is more cost-effective use of your $
I've worked with a library in which the file currently being read/written was maintained in global state. Not fun at all.
In the US, yes, it is.

people from the ivy league run the US, so it's prestigious in the US. people from oxford and cambridge run the UK, so it's prestigious in the commonwealth. it's really not any more complicated than that.
There's favoritism, and then there's pragmatism. This seems like very sound advice.
It seems odd to me we've settled on the weirdly, well, misleading "trafficking" to describe prostitution. It sounds like people who don't like prostitution are trying to lump in a relatively small percentage of women who were forced into the trade with women who chose it over other options.
Is it normal for arstechnica.com to be taking up 30-60% CPU in Chrome whenever the tab is in focus? I don't have any extensions installed.

[1] http://instantshare.win/1b0agfj3j7xey.png
Uhhh. Sex trafficking != prostitution and involves forced sexual exploitation of unwilling or underage victims [1]. I'm not sure what you're going on about.

[1] https://en.wikipedia.org/wiki/Sex_trafficking
“Oh, we got both kinds. We got country and western.”
They switched the way you do it on the X, so I guess for ‘consistency’ they removed it.

It wasn’t a bad feature but I could never remember it was there. Too many years of muscle memory double-clicking the home button.
How is that 'affirmative action'?

I simply want "deep art" to fail. Big difference. A world dominated by AI-generated art will coalesce us all into one or a handful of dull, lowest-common-denominator aesthetics and rob the world of aesthetic vitality. Not to mention all the artists, many of whom are already scraping for work, that get shut out as peoples' artistic pursuits are gratified instantly.
https://www.bloomberg.com/news/articles/2016-04-28/russian-l...
I agree with you on that one, a scientific idea does not necessarily imply its correct, and a correct idea may not be scientific.

But what I'm saying it that evolution is neither scientific nor correct.
> Tying things to a phone number makes sense in order to reduce Sybil attacks, but I think that OWS could operate a phone-number-based identity service which would be relied upon by federated Signal servers, reducing the degree centralisation while still preserving Sybil resistance. This matters because without Sybil resistance it'd be pretty easy for a malicious party to send a Signal user 10,000,000 messages per second, saturating his data connexion and depleting his battery; tying identity to phone number makes it easier to limit & block such bad actors.

I think people who are for anonymous use of Signal don't understand that the bulk of Signals users don't want anyone who is anonymous to contact them. If I don't know who you are or I can not track you down, then you can't contact me.
> Even 1 on 1 an equally talented 6 foot 5 player could easily beat a 7 footer due to his superior speed and maneuverability.

Okay but even your shorter example, 6'5" is the top 0.5% of men by height - what about average height people?
I'm unable to believe that anyone running a product with over a billion active users has anything less than altruistic intentions. Who is to say any of us have free will? Who is to say any of us deserve free will after all the wars we've caused and damage to the environment? If your going to get theological don't bother, you are out of date.
Except the normal solar inverter can't do this. It doesn't see the grid, it doesn't produce power.
I believe you get it towed. There are random blog posts online of owners where they needed a tow because the car was a complete brick.

I doubt this has changed.
A simplified overview of what we know stated in simple language--the sort of thing to pass along to your uninformed friends and family. The section which suggests the "clean coal" and "fracking" are good things is questionable, IMHO.
Augment Is Hiring Full-Stack Engineers to Revolutionize Customer Experience
... from a handful of greek letters that usually already have agreed upon meaning or connotation within her subspecialty. So everyone reading it understands what is going on.

Unfortunately, it doesn't generalize across specialties.

By comparison, the programmer chooses names explicitly based her own understanding and modeling of the problem, which may confuse others.

both approaches have their strengths and weaknesses.
Thanks for your quick work on this. It's very much appreciated by security minded users of iTerm2. :)
"I've talked to John about this. His understanding of the subject is limited." - Elon Musk, probably.
I've actually seen similar things happen at public schools; I think students may also intuit that very little incentivizes profs to grade honestly: https://jakeseliger.com/2015/01/13/what-incentivizes-profess...
This is what I've been doing and I have to say its pretty great.

There's always a few things that drive you crazy of course, but helm+projectile, flymake, and such are just so damn useful over using vim's poor attempts at the same.
Presumably, tow trucks will eventually be equipped with generators or battery packs/supercapacitors that can dump 50 miles or so of charge into a stranded EV. But it will be a while. For now, you need to call for a tow.

Maybe the tow truck can just pull you along for a while until the regenerative system gets some juice back in the batteries? But I thought I read that EVs had to be towed on a flatbed not on their wheels.
What's out brain and what's wrong with it?
But its not exactly the same is the systems that you will deploy to - ideally you'd develop on identical hardware.

At BT we brought or dev test and live from the same production run so they where identical down to the particular rev of the MB our sysadmin guy also would have liked to make sure that any disks we brought where all from the same batch plus spares :-)
Why are you obligated to "explain"?
Pixel graphics in terminal with unicode braille characters