skysight-inc/HackerNews huggingface dataset:
I actually wrote a testing framework with the idea that specification, tests and documentation should all be the derived from the same source:

https://hitchdev.com/hitchstory/using/alpha/generate-documen...

The same YAML files that are used to regression test the software are used to generate markdown docs for the website.
Bhagavad Gita

https://en.wikipedia.org/wiki/Bhagavad_Gita
I think you are in a startup echo chamber/bubble. Most of the world doesn't have any negative connotations with that word. You cannot cater to everyone...
Big species have fewer tumours than small ones
> Agreed, there's a lot of FUD, but a lot of it is coming from sources that give me a lot of hesitation to doubt (lots of public health leaders, tobacco control groups, WHO people)

None of these sources are saying that vaping is comparable to smoking in terms of harms caused.

They're saying that some harm is caused, and that we don't know what harms are caused, and so the precautionary principle means we should make sure that non-smokers do not take up vaping, and that smokers should use other nicotine replacement methods.
IoT Security Risks: Drones, Vibrators, and Kids Toys Still Vulnerable to Hacking
Learn the 4 Phases of RPA Implementation
> What is high? Unless you've defined what that means, and everyone involved understands and agrees what that means, it's just a word.

Yes, this is the right question. I think the reason there is no generic definition is because it's subjective. The most generally applicable part of this is the differences in hiring practices at large-scale vs tiny-scale (there was an article on HN previously explaining this particular area):

The main points were google-scale can afford high salaries and can afford to cut out good candidates from the hiring process in the name of automation, so easy to automate and standardise empirical testing works for them, but not for small-scale, because you wont be able to afford the same candidate. Instead small-scale either hire for the people who fall through the cracks of large corporate structures or they hire for potential.

In answer to your question, this difference affects (or should affect) the qualities being measured... for large scale it's whatever the job requirements are, measured there and then; for small-scale it's the potential for whatever the job requirements are e.g enthusiasm, drive, domain specific interest. That's just one dimension of a company, there are all kinds of other aspects that will also affect qualitative measurement of a candidate.
Data centres in China set to consume more energy than the whole of Australia
A typical flyer is not concerned about the pay of pilots. He's concerned about his price to fly. Those that are concerned about pay do so regardless of whether they're flying. They do it because they root for the little guy, or they hate corporations, or they respect pilots. But the point is the two groups are different. They do overlap somewhat, but it's meaningless.
The irony is that it never occurs to our elites that perhaps they are incompetent. No, the narrative is always that the ignorant masses are going to burn the house down, despite the heroic efforts of the educated, level-headed elite. Newsflash: preventing the masses from burning the house down is the primary job of the elite. When a fire nevertheless starts, that means that it’s time for the elites to be replaced by those who can prevent fires.
I don't know if the author was intending to be hyperbolic -- I for one prefer Python 2's print. I would've preferred keeping print the way it was and using a new keyword for the new functionality.
Yes, mathematics has ethics - in the sense that as soon as you start talking about something being "right", while other understandings are "wrong" you're making an ethical choice. That doesn't just imply right/wrong in a logical sense. It also implies that you may be choosing use an analogous process - possibly automated - to find right/wrong values in decisions of all kinds.

Philosophy is about understanding patterns, habits, and traditions of thought. You can look at the patterns from different angles, one of which is ethical.

If you don't think at this level, math just "seems right because it is" - obviously and self-evidently.

But that's exactly why you need philosophy - to understand why that's a superficial misunderstanding of how math works, how the foundations of math aren't as stable as they seem to be (see also Hilbert's Project), why empiricism cannot possibly be genuinely objective and only works up to a certain point, and why even something "obvious" like the concept of True/False is contingent and questionable.

Philosophically, any sentence that starts with "Obviously..." or "It's completely clear that..." turns out to be the product of a cultural habit of thought, not the absolute and immutable objective truth that it pretends to be.

If you have no experience of this you're going to find this hard to understand, and you may even deny it outright.

But that may be taken to suggest that you haven't learned to think outside the usual socially-defined norms, and therefore can't imagine anything outside of them - which is not in any way the same as having infallible knowledge that there is nothing outside of them.
Buried Power Lines Make Memory Faster IEEE Spectrum
Why surrogacy got banned in India?
Yes, I've used it only for prototyping. Didn't realise this is a production grade solution.
ProtonMail, from SUSY to the Boardroom
"christine.website", what are the chances it's actually a guy?
That's a pretty low bar. I still think that move by Apple was pretty terrible. Especially given that it's 100% impossible to downgrade iOS (your last point).
Which maths are you doing? Unless you’re talking about already well defined formalizations.
Nah, if you've read Marcus Aurelius, you'd definitely come across him
The exponential function is a miracle
It strikes me as bizarre dissonance to write a blog post sharing the work you have done to avoid sharing your work.
The German series "Babylon Berlin" [1] is a fictive series about the Weimar Republic before the Nazis got to power.

Berlin Alexanderplatz is apparently also about Berlin the 1920s. It is from 1980, by famous director Rainer Werner Fassbinder. The entire miniseries is ~15,5 hours long. I have yet to see it before my death...

[1] https://en.wikipedia.org/wiki/Babylon_Berlin

[2] https://en.wikipedia.org/wiki/Berlin_Alexanderplatz_(miniser...
"There was a long debate over the use of 14-bit (Philips) or 16-bit (Sony) quantization, and 44,056 or 44,100 samples/s (Sony) or approximately 44,000 samples/s (Philips). When the Sony/Philips task force designed the Compact Disc, Philips had already developed a 14-bit D/A converter (DAC), but Sony insisted on 16-bit. In the end, 16 bits and 44.1 kilosamples per second prevailed. Philips found a way to produce 16-bit quality using its 14-bit DAC by using four times oversampling.[9]"

https://en.wikipedia.org/wiki/Compact_Disc_Digital_Audio#Aud...
It doesn't, but after the disaster, the basement areas were eventually filled with a lot more concrete. It's not just the very thick concrete pad between it and the groundwater, and it no longer generates enough heat to threaten to melt through.
It's essentially the Chesterton's Fence principle.
For those that haven't worked in a more traditional engineering /factory setting.

This "overtime is where workers make extra $" is the rule in the west as well.
Now imagine how hard it is for executives that don't know anything about technology to aid in making long-term strategic decisions that depends on this!
I’m using Hyper-V at the moment, I’ll check out your suggestions - thanks
For books, I'd say Herodotus and also Plutarchs Lives of the Great Greeks and Romans.
I grow more and more convinced that we’re going to need to geoengineer our way out of this on a massive, massive scale. Even if we went zero emissions tomorrow, the cascade of secondary and further effects from what we’ve already done is going to need to be undone. Project Vesta still seems by far the most promising to me: low tech, moderately low energy, and actually addresses the root cause, unlike approaches that aim to cool the planet by shading or tweaking albedo. Check them out if you haven’t already.
You have to distinguish between the different levels of parsing.

Regexes are appropriate for tokenization, which is the task of recognizing lexical units like start tags, end tags, comments and so on. The SO question is about selecting such tokens, so this can be solved with a regex.

If you have more complex use cases like matching start tags to end tags, you might need a proper parser on top. But you still need tokenization as a stage in that parser! I don't see what you would gain by using something other than regexes for tokenization? I guess in some extreme cases a hand written lexer could be more performant, but in the typical case a regex engine would probably be a lot faster than the alternatives and certainly more maintainable.

I know it is possible to write a parser without a clear tokenization/parsing separation - but it is not clear to me this would be beneficial in any way.
It's typical for web application devs. There is a huge ecosystem of software developers outside of web services who are much less fad-happy and much more focused on using established tools to produce useful, reliable systems.
Dev Breakfast Newsletter
The article we're discussing argues for removing features, not merely their UI indicators.

As for the justification for keeping rarely used features somewhere in the UI anyway, a minimally familiar user will be able to ignore currently unused features faster than they'll be able to find hidden features when they're needed. Human vision has an amazing ability to filter and focus.
> Are you sure vaping is actually reducing potential harm?

Yep. I quit smoking via 3 years of vaping and tapering down on nicotine. I've referred and seen no less than a half-dozen people I know do the same - some of the hardest smokers i've known (including my own fathers 40 year+ pack a day habit)

If anybody asks i'll always turn people onto vaping - even if they don't ask i'll push them towards it, nothing has gotten even close to working like vaping has a a quit mechanism

I really strongly believe that this is an area where regulations lag real-world experience and there are a ton of vested interests in preserving the existing regimes of either smoke tobacco or nothing at all
Do we even know what we're looking for? Maybe some expected geologic features are the fossils of the first life?

How do we know if the tell-tale signs produced by modern simple life couldn't be also produced by proto-life? Maybe they used some of the same processes without all the other stuff modern life does?

Maybe life was bound to one location before it invented cells, and we just never checked that location? Maybe that location is now thousands meters below some ocean?
Yup. That was my inspiration, and sadly, I have been on the side as well where things started from scratch, and ended up blowing up couple of months later.
Hi,

If you want to be a generalist, you may want to learn things which are useful independently of the programming language.

Some books that would qualify in my opinion (as examples):

- Code Complete: A Practical Handbook of Software Construction, Second Edition by Steve McConnell

https://www.amazon.com/Code-Complete-Practical-Handbook-Cons...

- Facts and Fallacies of Software Engineering by Robert L. Glass

https://www.amazon.com/Facts-Fallacies-Software-Engineering-...

Learning the different approches taken by multiple programming languages is certainly useful. It may not be that much relevant which language it is unless you want a job specifically in that language.

I can't speak for Google but I guess it is more relevant how familiar you are with software development practices and general knowledge about architecture, design, testing, algorithms to name a few than a specific language.
For what it's worth, I've tested my AVX2 copy of their code on a couple of different machines, and found it faster than my POPCNT-based implementation. (See my comments elsewhere here.)

Here's my laptop numbers for my benchmark:

2048 Tanimoto (RDKit Morgan radius=2) 1000 queries
chemfp search using threshold Tanimoto arena, index, single threaded (popcnt_128_128)
threshold T=0.4 popcnt 19.33 ms/query (T2: 19.81 ms check: 189655.09 run-time: 39.2 s) (allow specialized)
chemfp search using threshold Tanimoto arena, index, single threaded (avx2_256)
threshold T=0.4 avx2 12.63 ms/query (T2: 14.04 ms check: 189655.09 run-time: 26.7 s) (allow specialized)

That's 19.33 ms/query on 2048-bit (256 byte) bitstrings using POPCNT unrolled to two loops of 128 bytes each, and 12.63 ms/query using AVX2 specialized for 256 bytes.

My testing showed there was no advantage for a fully unrolled POPCNT implementation. One thing to know is that there is only one execution port for POPCNT on my Intel processor. An AMD processor with 4 execution ports (Ryzen, I think?) may be faster. I don't have that processor, and my limited understanding of the gcc-generated assembly suggests it isn't optimized for that case.
I've never worked for a company of that scale, so I don't know how hard it'll be to find legacy developers, but I imagine it'll take at least several years to port a public-facing system to Python 3, if they were to start now.

If they start in the next few years, I imagine it'll be much harder to find ready and willing Python 2 developers with the experience to navigate such a big code-base? They could hire consultants, but I imagine the future hiring cost will also be astronomical.
Very. Which is why the NSC was built to isolate it for at least 100 years (presumably it will be reinforced regularly by successive generations). Nothing we can do except allow it to decay to safe levels over time.
I think the most probable reason for this instruction is for calculating parity bits. This would need to be done fast so it makes sense that there would be a CPU instruction to do most of the work.
How to make great popcorn: fast, cheap & under control
https://github.com/microsoft/WSL/issues/4203
I had BUPA in the UK at a previous employer - its not actually worth it as you have to pay tax on the benefit, and if you do have a serious problem you don't get anything for it.
"unreasonably long password" must go into the area of "Content-Length is too long for this HTTP request to login/change password".
> porting our library

Library, as is most open source libraries out there, sure.

For a big company-internal Python codebase that also has to wait for all the major libraries to migrate first, that time frame can quickly shrink to 1-2 years, which is very little.
"some" rich people please.
Maybe also checkout beancount. It's a more opinionated and slightly simpler (h)ledger alternative, but it features an excellent web interface called fava.
Visual Studio Code has a "Code Fix" that can automatically copies JSDoc into TypeScript annotations. This can be done to an entire file at once.

TypeScript does not come with a minifier. The code it produces is compatible with the target version of JavaScript (e.g. compile ES6 modules into CommonJS) but unminified.
What is a Bogon IP Address?
Are there any related books that should be read along with Thinking in Systems?
Popcount comes up in chess engine programming, where boards are regularly represented as a series of bits for each type of piece. The Chess Programming Wiki has a lot of information about both usage and implementation:

https://www.chessprogramming.org/Population_Count
And I've worked at companies where the devs where expected to know their place and not question ops, because ops was seen as the serious adults in the room keeping things running and devs where seen as easily distracted children chasing after the shiniest thing that most recently caught their attention. Made perfect sense when I was on the ops side and was super annoying when I was on the dev side :)

Imagine if people could all just get along.
As a counter, I wouldn't prefer that — yes, there are UX improvements to be made to both the app and the Web UI, but I think multiple distributions channels are welcome.

Ideally, pushing the APK to multiple distribution channels is mostly a one-time job to integrate with their build and deploy pipelines and then it's relatively business-as-usual, so I would imagine it won't take away a lot from development effort in other places once up & running.

As a non-Google Play user, I'm installing via Aptoide (a platform I don't _really_ trust yet) and relying on signatures to validate that the package is valid. Any moves by ProtonMail to offer '1st party' distributions (e.g. F-Droid) is really welcome.
Strong Coupling Between Magnons&Microwave Photons in Ferromagnet-Superconductors
GitHub, Shopify and Basecamp are all running on Rails 6.
Yes, unfortunately mastering is an issue. It's the only reason that new “superior to CD” formats ever sound better (aside from perhaps extra surround channels), and entirely not the fault of the format.
May be I didn’t noticed it. Pretty comfortable use it on python3 in my environment. So, from my point of view, authors of the TensorFlow just need to update documentation to complete transition.
Entropy changes in Debian or 'why a VM boots in 5 minutes?'
Author of the post here, feel free to ask me anything!
I realized my post was not clear. I 100% support HK protester! I 100% condemn HK police and authorities.

Just wanted to point that despite the fact most of us live in democracy, police can act super violently against protestors, and we don't necessarily realize it before it happens. We need to support HK protestor, and also keep fighting for democracy where we live
I see. closure-compiler's "advanced" mode takes advantage of jsdoc type info for minifying so I guess generic syntactical minification won't compress as much for the time being.
Lineage-resolved molecular atlas of C.elegans embryogenesis at 1-cell resolution
Canada really needs to start developing the north properly, what with global warming and all.
The Switch supports USB keyboards and mice.
Are you having problems with the junior developers that are getting hired?
Not a TypeScript user, but what really stood out to me is that Google are using a monorepo.
Do youbuse minikube at home? If it's a real cluster, I'd like to ask what you do for storage. I currently run minkube but would love to move to a real cluster setup.
A popular library that has unfortunately not transitioned to Python 3 yet is rospy (which is part of the larger ROS ecosystem for robotics). It is the last framework that prevents me to fully embrace Python 3 for my everyday work. I sincerely hope the robotics community will eventually port rospy (and other ROS-related libraries) to Python 3.

I am, however, very happy to see that ROS2 (the next iteration of ROS) uses Python 3 by default.
I'm probably a bigger fan of self-determination than you: if the people of HK, Catalonia or California wish to follow their own road, I support them, but they need to work that out on their own. When those movements are even partly the product of foreign intervention and are given uncritical coverage in the western press, that is a giant warning sign. We've been there before many times yet we never learn.
Why does it matter either way?
I think jumping on new tech and marketing yourself is a good decision for a developer as its a good way to increase their compensation and market value. If you're a developer stuck maintaining a Java spring app at some unknown company the best way to make a shift is to pick up Go or something and move to a startup. Else your career will stagnate.

The best way to get promoted at many companies is to write a framework. The best way to get noticed is to write an open source framework. And so on.
Nonsense. I just compiled a pretty large project from the stone age using a modern day compiler. It required a few lines of change in all to make it compile and it ran the first time it compiled.

C has many warts and design errors but they got the portability bit down quite well, the biggest problems you will run into are assumptions by programmers rarely assumptions by the designers of the language. One major thing lots of people tripped up over was endianness (sp?).
"[Author] Robyn Sundlee is a research fellow at the USC Annenberg Center on Communication Leadership and Policy. She was the campaign manager for Alaska State Rep. Jonathan Kreiss-Tomkins (D) in 2018."

Interesting article, but I recommend reading knowing with this information up front.
The title of his blog implies he is "working on browser fingerprinting" and is proud of his occupation. So obviously the work he does is for ad agencies that frankly never gave two fricks about performance.

Unless you are making a browser game and want to make life sad for cheaters, I don't really see a need or reason for obfuscating, and even then its not even ideal and a biproduct of a lazy solution (ie. not running simulation on a server)
Goethe's later work Faust (I+II) is my absolute favorite. The first book (play) is quite short and extremely well written in the german original. The second book is much thicker and extremely convoluted.

After a long journey through human abysses, it ends on the note "Who ever strives with all his might, that man we can redeem." which has always stuck with me and is one of the core ideals of my morality.
Well even though my minority position on this issue will downvote my comment I will still write it. As most on this thread are not willing to talk the real culprit behind this protest which is economic inequality and no hope for future development.

As I mentioned in my earlier posts, these protests are manifestation of inherent economic inequality in Hong Kong society.

The youth in Hong Kong cannot afford a house. The whole economy is standing on a giant real estate bubble under the control of 14 rich billionaires.

This protests can already be foreseen when property was becoming unaffordable without an increase in salary, it was just a matter of time.

Britain is as much to blame for this situation, they never had intention to grant autonomy to Hong Kong and didn't do it for 150 years, they were very clever, as they did in every colony, to let the subsequent administration take the blame in this case Chinese which indeed granted more autonomy than British to Hong Kong.

Britain can cry crocodile tears now as much as they like trying to align with protestors. But they are the one to blame. Hopefully they can correct the mistake by granting full citizenship to Hong Kong permanent residents who wants it, otherwise whatever they say is a farce. Same goes for USA, if they want solidarity with Hong Kong protestors grant them unconditional asylum or permanent residence, rest all talks are worthless.
Cruise Ships (2012)
John Gall (of Gall’s law fame), Systemantics
A few off the top of my head:

- Business Dynamics: Systems Thinking and Modeling for a Complex World (This is one I still want to really work through, it's very comprehensive)

-Drift into Failure

-Systems Thinking For Social Change

-The Fifth Discipline: The Art & Practice of The Learning Organization
yes, I don't see any problem with that order. Seems more like gatekeeping to me.
Ask HN: Do you regret building your own software as a non-technical company?
I've already seen several internal tools becoming a burden for the company that has created them. Development is costly and the resulting product is often buggy, unreliable and demands constant work and attention.

Is that a common thing? Is it a bad idea by default for a non-technical non-SaaS company to hire developers and build anything custom?
I'm a bit naive as to how large countries like Canada monitor their space, but is it possible there are unknown long-term (multi generational) "settlements" separate and unknown to the rest of the world still out in the middle of nowhere in Canada? Feels like a good subject for a novel :-)