skysight-inc/HackerNews huggingface dataset:
Conversely as a parent I prefer daylight early in the morning so that I can enjoy it alone without the hindrance and distraction of my kid.

Which illustrates the difficulty of finding a compromise even for a simple example as that.
Google has built the world’s most advanced quantum chip
I think symbolic execution is quite an "academic subject".

Things could change as I think symbolic execution would very well fit when analyzing and verifying the correctness of smart contracts in blockchain.
Uber returns to Finland following taxi deregulation
In practice, use cases don't justify strings precalculating their number of code points or grapheme clusters. Pixel width isn't a property of a string alone, since it depends on font and the container to render it in (for line breaks).

So a string should know its number of code units. Validity information should be part of the type system and not runtime flags. I.e. you have a different type for arbitrary bytes and for valid UTF-8. (See IDNA for why normalization guarantee in infra over time is problematic.)
The actual bullet dodged is PayPal's tendency to freeze your account and the funds within for six months without warning, explanation or appeal. That'll kill a startup real quick.
The good thing about podcasts is that they can still be consumed while your hands or eyes are busy, when reading wouldn't be an option.
Why does modern India need Feminism?
Ask HN: What are some best micro web framework?
Who would have thought that an utterly unaccountable, monopolistic centrally-planned market could turn out poorly.
http://www.jollyrogertelco.com/
Ask HN: What are some good ORM?
I am tried by the lack the of ORM in GoLang, what other languages offer nice ORM which works with PostGres?
This is what I do writing Go. gofmt comes around and cleans up my mess when I save.
When frequency is dangerously high, overfrequency protection relays at generating stations will trip, bringing the system toward balance. When it is dangerously low, loads will be tripped by the under-frequency load shedding system, again bringing the system back toward balance.
Tell that to the Linux guy with vision impairment complaining here in the comments about slack.

Making software accessible just on Windows is complete bullshit and should be downright illegal.
Prettier is great. It's one less thing to think about, especially in teams of people with different opinions on code formatting.

I also love just banging out code without worrying about the formatting then hitting save and having my editor run prettier automatically.

We run it on our entire codebase (https://github.com/metabase/metabase), enforced by CI.

If you decide to migrate an existing codebase to use prettier here are some steps for merging existing branches after you've enabled prettier: https://gist.github.com/tlrobinson/6cad91b1203a7d2c174824a4d...

The only downside to migrating a codebase is it messes with `git blame` etc, but it's not too hard to follow changes back to before you ran prettier.
I know some people running for public office. Can't even get them to use Signal, much less a dongle.
I would welcome an Intro to Privacy for Campaigns MOOC though; maybe that would teach them? Are there any concise refernces for how to securely communicate yet remain flexible and welcoming?
> Heredity can be measured via twin studies - if twins are adopted into two different families or cultures: what commonalities can we still find, beyond random variability.

And how often does this happen? It is about as common as a sighting of the Higgs boson - and you need a large sample group. Of "identical" twins separated at birth (identical twins are not genetically identical) and sent to two culturally/class-based different families, with little contact.

The Pioneer Fund (you can read about them https://en.wikipedia.org/wiki/Pioneer_Fund ) funded studies like the Minnesota Twin Family Study, but it was found to have many deficiencies, such as what I noted. Often twins in the cohort were only raised apart for a few years and so forth.

On occasion I watch television, and see wealthy heirs like the Hilton heiresses or Kardashian heiresses, or watch documentaries like Born Rich with various heirs and heiresses, and it's quite obvious why such a class spends its money on endeavors that says nature rules over nurture. Like the heir Wickliffe Draper did with the Pioneer Fund. That they are born superior without having to work or do anything. For the past ten millennia they said the gods favored them, like Socrates noble lie ( https://en.wikipedia.org/wiki/Noble_lie#Plato's_Republic ). The popes crowned them king. In our post-enlightened age this does not work so now they say their superiority comes from chains of amino acids. Of course, history tends to depose of them any how, the God-ordained superior genetics of the Romanovs were not as well adapted as the Bolshevik soldiers who rid the earth of them (tangential note - their inbreeding caused hemophilia which brought in Rasputin and hastened their downfall). It's an argument for laziness and parasitism - to not look at people by their work, but by the genetic superiority which they were supposedly born with. It's pathetic and parasitic.
ah a perfect chance to get some Prettier+Typescript help! I am using Prettier+Typescript+React and when I do methods within classes, Prettier adds a semicolon for me at the end of each class which `tslint` doesnt like. As far as I can tell, there is no setting for Prettier to ignore ONLY semicolons WITHIN classes, its just a blanket on or off. And its somehow not respecting tslint's semicolon preference. Any idea how to fix this?

```

class Demo extends React.Component<{}, {}> {

someStuff() {
// some code
}; // prettier adds this ; for me, i have to tslint:disable-line every time

}

```
You don't need quantum computers for primality tests.

https://en.wikipedia.org/wiki/Primality_test
Prettier is such an awesome tool! The best part of it is formatting jsx code - being a mixture of xml and js code, formatting it manually is such a pain. Incidentally, the existence of prettier is also a major reason React stack is my goto choice in Ui works - although it seems prettier support for Vue is [coming](https://github.com/prettier/prettier/issues/2097)
In the video he says we are unwiser. That we are arrogant in our application of our limited scientific understanding. This type of statement by him is so vague that it cant really be a claim that is provable one way or another.
I understand that space "shrinking" is a perspective (which is why I originally placed it in double quotes) and that velocity is relative - my question was meant more as a thought experiment of taking the subjective experience of what things seem like as relative velocity increases and then extrapolate it to what they might seem like as relative velocity approaches the speed of light, i.e what would experience be like were it possible to ride on a photon. Since riding on a photon is not possible, perhaps this question is meaningless - it's just that since there is a pattern to how space is experienced with increasing relative velocities, the tendency is to extrapolate this to try and imagine how space/time would be experienced if it were possible.

That being said, I understand that a "universe of length zero" or "no time" is not relevant nor practical in the context of doing physics.
I think you're right. But, in a reversal of roles, Microsoft did the design well and Apple's copy was a poor, souless wannabe IMO. They sucked any semblance of "joy" (for lack of a better word) out of the Metro ideas and iOS.
5 types of questions to ask in a hotel survey
Thanks!! That is like the most honest take I have heard, it is almost like they are a bit ashamed and want to explain what happened.
Is there a way to look at the Python Notebook on mobile? All I see is the source code, which isn't very mobile-friendly.
Which Is Cheaper: AWS EC2 vs. GCP Compute vs. Azure VM
It makes sense in places where the UI is still based on a physical item, such as the calculator and calendar, and many icons. Apple took it too far by removing almost all gradients and shadows. It just looks boring. The icons of iOS default apps are particularly dull and ugly. Material Design is a nice balance, with the clean lines of a flat UI, but with just enough detail to give it depth.

The article also mentions the other area where skeumorphic design is missed, and that's in the playful details. Flawed as the app was in many ways, and as much as many people hated it, I loved the reel-to-reel tape animation in the iOS Podcasts app ( https://www.geeksofdoom.com/GoD/img/2012/12/2012-12-17-iOS_P... )
If you want to refute Pinker's arguments, you don't have to ramble on exaggeration and misrepresentation of actual facts, you just have to cite one broad metric in which humanity has worsened over the past decades.
A bit dry and long, and focused on journalists.

https://tcij.org/sites/default/files/u11/InfoSec%20for%20Jou...

Happy to put a free 30 min course together if one does not already exist.
You have to match each bulb with a resistor as each bulb has slightly different requirements.

Edit: The properties change over the lifetime of the bulb in a non-linear way to make things even harder.
I’m a lead architect at a major financial services organization in Europe. We’ve just completed a large SAS upgrade project. While we had no interest in SAS Viya, SAS legacy remains an important part of our landscape.

It’s not a tool for programmers. It’s a toolbox for people doing other jobs, who happen to know how to program.

Would we invest in SAS if we were starting today from scratch? No.

But none of SAS’s biggest customers are starting from scratch, and things like continuity, risk, and embedded institutional expertise are incredibly important to these customers, in a way that might not be obvious if you’re coming from the fast-paced world of startups who have the luxury of starting with nothing.

In the endgame though, I can’t see how SAS will be able to resist the cost pressure coming from the Python/R/Hadoop/FOSS-in-general ecosystem, as those tools continue to mature.

Even COBOL will die one day.
Yeah, all the the cool kids do prettier with husky. We do prettier with husky. New webstorm will have prettier integrated so I can throw away my external tool command for that. Well, probably if `eslint --fix` worked _properly_ (and all the plugins would implement their fix part) we would not need yet another tool, but whatever...

On the other hand my problem with modern frontend is that fifteen years ago compiling a fairly complicated desktop app and then commiting it to cvs took a couple of seconds (not that the two are related of course). Now webpack cold start is one minute, hot recompilation is between 5sec and 50sec, prepush hook tests a minute or two (and then it is still lightning fast, approx 2k tests in pure jsdom), add prettier, eslint, stylelint, ticket id check to precommit hook and then boom.

We tried to turn stuff off in feature branches, but it seemed to be a bad idea... also note that we're a mixed environment with win, osx, and linux machines and on windows webpack/mocha watchers tend to lock some files randomly, so there is a good chance that someone will choke on a locked file (the ide, git or webpack itself), so I gotta power down the whole thing for branch changes or test watchers.
This

> The laws of nature are the same if we reverse the direction of time.

and this

> To restate it in another way once again: The function mapping "state of the universe at time t" to "state of the universe at time t+dt" is a one-to-one map

are not the same. Even for deterministic theories, time-reversal invariance implies one-to-one mappings but the reverse is not true. And for a stochastic theory it breaks down completely; you can have time-reversal symmetry but still lose information about the past (e.g., each time step the system changes into a completely random state form the state space).

Whether quantum mechanics is considered fundamentally stochastic or deterministic depends on interpretation. (Roughly, Copenhagen is stochastic and Many Worlds is deterministic.)
I've fixed that, thanks!
I made it, you can make one too !
Why you'll hate your programmer (in about 41 days)
This is everyting that is wrong with the electoral system in the US and the attempt (often successful) of many people to buy elections. It's one thing when you live in an area, vote in it, and work at that level. It is another when you have no real connection to an area, have no real idea about what the struggles of the peole in that area face, or their local issues, but are willing to do anything you can do influence who they vote for because of your desire to change things nationally for your own interests.
There's a tool called cbindgen (https://github.com/eqrion/cbindgen) that generates header files from rust code . It's a bit experimental.

The reverse tool, bindgen (https://github.com/rust-lang-nursery/rust-bindgen/) is more mature -- generates rust bindings from header files.
'You may not create any more Booleans – this is two-valued logic'
> When I think of the 'burbs, I think of vast expanses of asphalt where only the poorest would consider walking and labyrinth enclaves of cul-de-sacs where taking the kid to play with a neighbor requires a half-mile drive to go 500 feet as the crow flies.

Modern design (and redesign, though that has less freedom) of low-density suburbs, while still avoiding street grids to limit residential traffic speeds, often embraces walking and bike paths that are more direct than roadways, and designs that improve transit serviceability, instead of using the branching, cul-de-sac dominated structure of, say, 1960s suburbs.
Is "people have improved over the last few decades" really the core of his argument though? I think you'd need to actually address the Enlightenment, or at least a longer period of time.
Exactly. Lint and code formatters are a must with big teams - now we can concentrate on the code and not on the style.
That's not always true.

struct X {
const int i{123};
const int j;

X(int j_) : j{j_} {}
};

// non-const object; x.i == 123; x.j == 111
X x{111};
x.i = 222; // compilation error
x.j = 333; // compilation error
So nice to see that attitude.
Exceptions, as implemented in C++, turn it into a dynamically typed language.
If working with code written by others (libraries, big project), it is really hard to reason about control flow if every function call is potential return statement.
It is not exactly easy to read top level error handling code either:

catch (Pig) { // now Grunk need find pig.

The amount of frame unwinding code generated can get really big,
etc.

I wish C++ provided means to preallocate memory for handling task (2 buffers for 4k, map for N objects of type T, ..., ok? then run this).
Instead, there is a russian roulette powered default allocator, that can out-of-mem at any time...
Obligatory reference/warning:

http://blogs.tedneward.com/post/the-vietnam-of-computer-scie...
Why Hire IT Outsourcing Companies Over In-House Teams?
Job board solely for those with a clearance already: https://www.clearancejobs.com/
Interesting article, shame to see the continuing pattern of demonising the DCCC for being pragmatic.

If someone could unlock a way for idealists and pragmatists anywhere to the left of fascism to work together better then the government would far better reflect the views of the population (which, polling tells us, are all in line with the Democrat platform). It's only gamesmanship from the Republicans, and apathy from everyone else that keeps them and their unpopular ideas in power.
You mean what a time to be single?
I use GitHub accounts to provide context, after triaging CVs. The first sentence of the article mentions data aggregation, which is very far from how I use GitHub when evaluating technical candidates.

If you have already somebody's resume, GitHub provide clues and maybe a bit of evidence for your assessment of the candidate. Older, busy working software developer? Expect not many projects, possibly an intermittent commit history. Most GitHub projects are just unfinished exercises, so a workng project is unusual, and a clue that the candidate is also unusual. It's not scientific, but it's evidence that you can use, alongside the resume, and any communication with the candidate.
Alibaba is investing huge sums in AI research and resources
For some reason I've always personally preferred Miss Marple to Poirot, but again there have been a fine series of adaptations of the Marple books by the BBC:

https://en.wikipedia.org/wiki/Miss_Marple_(TV_series)

When it comes to Poirot I suspect I'm biased, because I love Inspector Morse, both the original books and the excellent ITV adaptation:

https://en.wikipedia.org/wiki/Inspector_Morse_(TV_series)

For some reason I started watching Morse before I'd heard of Poirot, and the two styles are very different. I guess I preferred the one I'd seen first! (Although Morse has better music, so that's a win!)
Water power generated electricity
Yes, the preloading is a dirty trick. Google has the power to play dirty and noone dares to slap him in the face anymore.

Don't be evil -> do the right thing -> do what's right for Google.
CEO ramps up personal bets as WeWork balloons
Evolving Neural Network Controllers for a Team of Self-Organizing Robots (2010)
Make isn’t just for building executables; if your nitpick is about make not having intimate knowledge of header files, you have a long way to go on your road to mastery of make.

Make can be used for automation of many different tasks, for example web page rendering or database creation, to name a few. And, it has built in rules for handling header files correctly; you would do well to study and understand them.
We just turn off tslint formatting rules. There isn’t really a need for them if you are using prettier.
> If the same universe results from two paths, then they are the same path.

No, one could easily imagine fundamental laws of physics which map multiple states at one time step to the same state at the next. Indeed, the emergent laws of thermodynamics, which govern the accessible physical quantities of macroscopic systems, have this feature. It turns out in our universe that this apparent irreversibility is due to a special initial state and information being dumped into inaccessible microscopic degrees of freedom, so that statistical mechanics and atomic theory can be used to derive the appearance of thermodynamics. But there's nothing internally inconsistent about a fundamentally irreversible theory.
I prefer having my editor run prettier on save, so I get the benefits of prettier formatting my ugly code immediately.

Also, lint-staged doesn't handle partially staged files properly: https://github.com/okonet/lint-staged/issues/62
Kind of dooh: as we get better and higher DPI display, skeumorphic designs are too good at showing off how good the displays actually are to worth passing off :P

Thing with skeumorphic design is that people really don't know where to stop when they start doing it... so it will be a cycles thing: at some point all cargo-cult designers overdo it, everyone gets sick of it, and we're back to Metro. To be hones though, I like the "improved flat" phase of Material Design and I hope we stay on it as much as possible, so we can focus on things like UX more instead. Back in the days of full-skeumorphic fever, "good UX" was seen as worthless ammateurish crap unless dressed in tons of graphic desinger makeup...
If you're defining your APIs using Swagger/OpenAPI (https://swagger.io/specification/), you can autogenerate Rust client and server stubs using the standard Swagger code generators (https://github.com/swagger-api/swagger-codegen/).

In case you're not familiar with Swagger/OpenAPI, it's a format for specifying (generally REST-ful) HTTP APIs. The key benefit over just writing your API directly in Rocket is that you specify your API once and then generate client and server implementations that join up -
even if they're in different languages.

(I did a lot of the development work on the "rust-server" Swagger codegen, and blogged on it at https://www.metaswitch.com/blog/metaswitch-swagger-codegen-f...)
Maybe? I'll take a look at it!
Men in tech sharing salaries for International Women's Day
That engineer earned himself a nice bonus. Hope he'll get it
We work in a poorly scalable field. How do we go from $100k to $1m?
My partner and I have seen moderate success in our first year as a quasi-SaaS digital services company.

After startup expenses, taxes, and some advertising, we were able to take home a little over $100k in our first year. I am beyond ecstatic about this because neither thought we would be profitable in the first year (we’re bootstrapping and quit our jobs at a small tech firm to start this).

However, we basically provide services to SMBs via a subscription model. Fulfillment is difficult, but not totally unscalable. We’ve been onboarding freelancers and though it’s hard to find good fits, it’s possible.

I’m not happy with splitting $100k, however. We’d both like to get it to $1m.

Our problem right now is that we seem to have plateaued. It’s like we exhausted our network. Onboarded a couple dozen clients. And...that’s it.

Where do we go from here?

Paid ads have worked well for us but due to bootstrapping it, that’s money directly from our pockets. I don’t know if we could afford to drop $20k on ads, for example.

I’m sorry for being vague, but without giving too much private info away I’d still like to get your valuable feedback.

We want to go from $100k to $1m. How?
oh. unfortunately my team lead insists on having them. thanks anyway.
Does it work with Typescript? If not, is there a TS equivalent?
We don't know that from her blog post. Maybe the manager had negative feedback for others on her team stemming from this, and she just isn't aware (or didn't include it).

I would agree that the manager has done a poor job of managing to let things get to the point where this person felt the need to act as she did. Even if he didn't miss an opportunity from this, he seems to have missed many previously.
Totally agreed. The pre-commmit hooks do tend to have a lot of tests and enabling in feature branches will be a pain but these tools are needed in order to have stricter checks and ensuring that people of all experience levels continue working without destroying the code quality
725 Percent More Domains Now Running Crypto Mining Scripts
There is no such thing as a “decent C/C++ build system”; that’s a fallacy.

Master the compiler front-end’s -M option.
How about solving it by social rather than technical means? By that I mean that most suggested solutions focus on limiting the traffic, the HOW. The How is well known since many years, what is not working is WHEN.
Right now, traffic is blocked WHEN someone decides it is blocked. There is little automation for many reasons.
There are many technical proposals on the WHEN. Technical solutions include egress filtering or various types of filtering firewall devices.
A social proposal could be to form a trusted group of individuals or organizations that are allowed to publish a blacklist, which is updated and distributed across public channels such as twitter. Anyone running a router can then filter based on this blocklist. This solution would mimic the spam filters of the world but focus on routers rather than mail servers.
Edge routers makes very little difference here, and the situation is the same in the world of mail servers, where it makes a lot more impact to be filtered by outlook.com than by Jane Doe running exim in the garage.
Perhaps this type of social distributed solution is in place already and I just am unaware. Otherwise... I hope HN is well connected and makes the internet a better place.
He doesn’t even own a laptop or smartphone.

This is a definition of "progressive" with which I was previously unfamiliar.

Spencer doesn’t take PAC money.

How is Great Slate itself not a PAC, in the general sense?
North Korea Uses Cryptocurrency Operations to Us Sanctions: Priscilla Moriuchi