skysight-inc/HackerNews huggingface dataset:
I think it's really a people problem:

Black will mindlessly split long lines into shorter, and my coworkers will just leave them as is. The results are eye bleedingly awful.

I hope most black proponents expect people to look at the generated code and change things until it looks decent?

Of course this problem is inherent in a tool that is autoformatting rather than warning, and seems to me to indicate a mentality that code is meant to be read by computers, not humans.
Commercial development or test use isn't free. It's only free for personal, noncommercial use. So I'd argue it isn't so easy to understand.
I'm a bodybuilder and an alpha hacker. There are more of us than you'd think.
All astronauts are humans but not all humans are astronauts.
I once "inherited" an Adobe ColdFusion codebase that hadn't been touched in about 15 years. I guess the reason it hadn't been touched in so long was because it simply worked. It was a well structured project and easy to get in to. Implementing some minor new features was straight forward and thanks to an existing test suite easy to test.

Needless to say I was pleasantly surprised by that.
Komodo Health | Data Science & Eng Managers, Sr. Engineers, Data Scientists, Product Managers | NYC & SF | Full-time, Onsite

Komodo Health builds data-science and AI-powered data platform and products improve decision making in healthcare. Our mission is to reduce the global burden of disease through big data analytics. Our "healthcare map" is where we process data and stitch together information about patients (have 295M in US), doctors, hospitals, payers, etc.

We are a data-first & eng-driven (50 engineers out of 110 employees) company and growing fast. We have significant traction and revenue.

Career Page: https://grnh.se/5ccd0c0d2

Data Science:

* Data Science Manager

* Data Scientist

* Data Analyst / Analytics Engineer

* Sr. Data Scientist

* Data Protection Officer (not yet posted)

Engineers:

* Engineering Manager

* Staff Software Engineer

* Sr. Engineer - Data Warehouse

* Sr. Software or Data Engineer

* Sr. DevOps Engineer

* Sr. SecOps Engineer

Product / Design:

* Sr. Product Manager

* Technical Product Manager

Stack: Spark, Airflow, Python, React, Scala, Kubernetes, Docker, AWS, PostgreSQL, Flask, Django, Snowflake
To my knowledge the looptail basically only exists in print, so why anyone ought to be able to write it is a mystery to me.
> [...] and a part of it is due to bad policies being enacted by the EU - most notably the EU VAT on digital services, the GDPR and now the Copyright directive.

These rules came into effect the last year or so, the "battle" for the tech industry was fought ten to twenty years ago. US companies all have had a huge advantage "only" being under the (at the time very criticized) DMCA while European companies had to abide by local laws, often in multiple jurisdictions. Large US companies also avoided paying the same taxes European companies had to, amassing large reserves for acquisitions of any successful European companies.

That Europe can't produce technology companies is false, at least to the same extent that applies to the US. They just either got outmaneuvered by large US entities, got acquired or ended up limited in their growth by things like housing. If you look at e.g. Sweden you have MySQL (eventually acquired by Oracle), Skype (eventually acquired by Microsoft), Minecraft (acquired by Microsoft), Spotify (public with many offices). Any of these companies could have been really big domestically, if it wasn't for it being hard to grow and easy to get bought.

These rules, whether you agree with them or not, should have been there 20 years ago so everyone had to play by the same rules.
It's not hard to extract the data from your hypercard stack, though.
Would you mind shooting me an email? My address is in my HN profile. Thanks!
username223
Related: I recently wrote an article about license key generation and validation. The code examples are in Python, but are equally applicable in JS: https://build-system.fman.io/generating-license-keys
the point is to measure at a common level of proficient across different languages. Once you are proficient and familiar with a language, then you can measure how long it takes you compared to another lang.
That's actually a great spin on old concept of subversion. I wonder if anyone is doing it. It should be easier for C apps where someone could say they didn't know about a specific kind of undefined behavior.
That takes a long time. In USA we've been trying to end drug prohibition for decades.
Great, murder is one tiny issue in the huge ethical problem space, and probably the simplest as dead and not dead is pretty binary. Now define suffering algorithmically.
I imagine if you don't have enough content to show for level(n), it is okay to show some of the level(n-1) content that shows your natural upwards progression
The article may have been hosted at rust-lang.org but it was written by people at npm which is very much a JavaScript boosting organization.

Rust definitely has some benefits as well as tradeoffs when compared to JavaScript which they discuss. Learning curve is higher but the end product is probably devoid of a number of errors and operational issues over the lifetime of the service. While in theory possible to get similar results with JavaScript the level of consistent discipline it requires is in practice impossible.

These are facts not opinions.
You get work to pay for it eventually.
Have it run on an iPad and you can do iOS subscriptions that work fine offline.
I'm not advocating blind trust or the ignorance of any problems. In my first paragraph I made that quite clear by saying we should continually work to find where we can do better. For example, it is clear that new problems are arising as our scientific efforts scale up and become larger and more formalized.

> The institutions which made those gains no longer exist, and over the last decade or two have had their name stolen by shallow ideologues.

This is a dramatic claim -- literally all of academia is utterly ruined?

It seems to me that things are not so apocalyptic. Do you have anything to back this up?
Mini-Prolog Interpreter Written in Python 3
This would be neater as a self hosted system.

I have a haphazard way of managing notes and docs that has too much overhead.

I would like a squirrel program to store and retrieve more easily and will eventually just write one.

I think we need more tools that rely on self-hosting cheap nodes for data where the owner has complete control. Knowledge management systems are really personal and if third parties go away then that is critically bad. I intend to keep this info for 50-100 years so need something that does a good job of just storing to git or whatever and then rely on different front-ends and things that can be run without any third party access to data.

The iOS model is closest to this in terms of data and apps, but is not OSS and I spend so much time in front of a full computer so phone access only is too limited.
Implicit target=“_blank”
Quite a lot of things we do on the computer involves manipulating text.
The problem is there are like 5 different tools that do the same "one thing" well - awk, sed, grep, cut, etc.

Kind of simpler to learn one language that does lots of things well!
And with the right skillsets. I was born "good at math" and that makes me feel just as lucky as someone born to a rich family.
Ruined crops, salty soil:How rising seas are poisoning North Carolina’s farmland
From my travels it sounds like (some) Europeans don’t work that much compared to their American or Asian counterparts. Like, French citizens gets way more vacation than anyone I know.

It’s obviously good to live a decent life and spend time with family, but at some point it cuts into your national productivity.
https://www.youtube.com/watch?v=huBskeb-syk
When machines know sin: the algorithmic bias of technology
JetBrains style - pay for a license to use the software forever, and get a year's worth of updates. Buy a new licence after a year if they want the next update. Maybe offer a discount for renewal.
> How often do you look at some code and think "an idiot wrote this", and then realise you're looking at your own code?

Actually when I have to modify my old codebase I am usually pleasantly surprised and it is much more tidy than I am expecting it to be. It's an amazing feeling when you read your own code and go "wow, I wrote that, what a nice way of doing that".

I am not really sure what that says about me... maybe my expectations are too pessimistic on average...
Trolls man. All of them. Russia needs oil. They don't have a plan B
Generating License Keys in 2019
White Feather
OP changed the title on HN but his blog still has the original title.

This is not how HN works.

https://imgur.com/a/0W6uQDA
It's a step, but not a first step - it's the second step along the nations/large/medium/small/people road

Nor have they actually put anyone in space.

The first stage landing is great, but again it's not new -- SpaceX have been doing this for a few years now. Last year's Falcon Heavy, especially the two rockets landing simultaneously on live tv, felt very futuristic. This isn't anywhere near as impressive as that from a "wow" perspective . The MaxQ abort test probably will be, especially if live-streamed.

Scientifically, in the last 10 years we've landed on comets, brought bits of asteroids back to earth, driven a rover on an asteroid, landed on the far side of the moon, explored rocks billions of miles away.

Any 'new commercial space age' started at least 7 years ago when spacex started being paid for these types of launches - a commercially developed rocket being used for commercial purposes, but companies have had access to space for decades - everytime I point a BGAN at the sky to get communications in the desert I'm using a private company's infrastructure.

If you're just talking about a new crewed space exploration age, SpaceX has immense promise, but that's all it is - promise. Once it is delivering people to orbit, which a 50 year old technology currently does, and hopefully progresses further, then that's great. But this is just another minor step on the road.

If America was still launching people to the ISS on Apollo, and a Chinese company did a test flight to the ISS using SpaceX technology, I very much doubt there would be as much excitement as there is for this launch.

If dearMoon puts private people round the moon, the first people to leave LEO for 50 years, I'll be ecstatic. But I'm also cautious -- SpaceX announced a crewed lunar flyby for launch in 2018.
It offers pretty complete Vim keybindings, enough for me to switch seamlessly between Emacs and Vim.

Unless you are a Vim connoisseur you will not be disappointed.
I don't do web apps. So, all I could do is DuckDuckGo for some terms that might get results. Found claim about using automated, open-source scanners to find IDOR and a lot of other stuff here:

http://www.zemris.fer.hr/~sgros/publications/diploma_thesis/...

They do note that IDOR poses some difficulties with it needing heuristics that might have high, false positives. The tools are in the references section toward the bottom. Try them out.
very interesting, however:

"We use cookies to track your usage.
We use cookies to track your usage and to determine which features are used to improve the quality of Polar.

Additionally, we track application errors which helps us find bugs and to prioritize which issues to fix.

This data is sent to 3rd parties which provide the infrastructure necessary to provide the analytics services needed to analyze and store the data.

We avoid sending personally identifiable information at all times."

https://getpolarized.io/cookie-policy.html

I am forced to click on "Accept" actually, which I don't like.

Overall it looks like calibre to me, however Calibre does not do highlighting
In the past we even had space ships, which could start from ground, go to space, do stuff, come back and the could be reused. Having just a rocket isn't that much of an improvement.

That said: All the constraints on making it reusable and safe for humans are also a key factor why Space Shuttle was so expensive. With SpaceX's rockets not all parts need to resist the stress of reentry etc.
How they count mentions is not mentioned anywhere, but it appears they only count links to Amazon. Obviously no one is going to link to Amazon when mentioning the Oxford English Dictionary. In that sense, they may be missing the true most discussed books, the ones so well-known that no one bothers to link to anything when mentioning them.
I'm not sure this proves anything at all.

To play devil's advocate: what if top CEO's (whether by school or by track record) look for harder challenges?

Someone once said Dara Khosrowshahi took the CEO job of Uber not to make money, but because anyone willing to take that job is somehow who wants to play the CEO game on "hard mode".

If everyone's taking a job where there's a 50% chance of failure for their personal skill level -- which means the more skilled CEO's are taking the harder jobs, and the less skilled CEO's are taking the "safer" harder-to-mess-up jobs -- then statistics will look like CEO skills don't make a difference... even though they do.

And since employment markets (in general) tend to funnel higher performers to harder jobs (because that's economically efficient), this doesn't seem implausible.
Lull+Mattress+Review+Awesome+Night+Sleep
For all its faults, and it had a few, Three Body Problem by Cixin Liu helped stretch my perspective to be ok with the fact that space travel could be a multigenerational activity even with a quantum leap in technology.
Am I missing any major difference between this tool and a solution like Apache Airflow?
One example is the } motion (and its corresponding backward version) which in evil mode makes use of Emacs forward-paragraph function. This function is customized by a lot of major modes such that the behaviour is highly file-specific. I much prefer Vim's predictable motions which are the same for every file.
Does anyone have suggestions on books to grow my scripting fu? (End of chapter exercises tend to be useful for me)

I know bash, and know a lot of basic commands, but I'm not familiar with some more advanced things. I don't know awk or sed for example.
I'm using gitea to self-host, works well for markdowns and code, but bad for anything that is binary(pdf,media files,etc), because of git, which really does not fit for binaries, and git-lfs is a PITA to use still
You seem like a nice chap, genuine in your comments, so I'm asking an honest question:

Do you have experience yourself getting that specific ROI (ie, 350k USD investment to get 15k USD monthly passive income)?

Or are you extrapolating from a smaller sample that you have direct experience with, or is this all something you've just read about?
Rails codebases I've looked at are usually in pretty good shape. I attribute it to the conventions that are fairly strongly enforced.
Juventus vs. Napoli in Diretta
https://qiita.com/Nilpori02/items/7abe8122b5ec5f89ef42

https://qiita.com/Nilpori03/items/1e9567784179a78c2850

https://qiita.com/Nilpori04/items/86094d651646d3b8e755
You are making the parents point for them.
> one fix might be eliminating international subsidiaries

I believe that means "no multinational companies" - one could certainly argue for that, but it's a much bigger discussion. And I think you would have to end up forbidding citizens (residents? how does it work when you move countries?) of country A owning shares of company in country B if you really wanted that to work.
In case it's not common knowledge, make sure license key requires a server-side verification.
The technology is not the phone. The phone is essentially the dumb terminal.
Interesting, though I just prefer using a S3 bucket myself. I have a small script that uses curl and openssl under the covers to upload so I can upload from random machines I don't want to install AWS tools on.
> How often do you look at some code and think "an idiot wrote this", and then realise you're looking at your own code?

Actually never. The reverse actually happened: I looked at some code and thought "a wizard must have written this", and then realised I am looking at my own code. :-)

No, seriously: I could immediatelly reconstruct my intentions that I had for code that I wrote 15 years ago and never touched afterwards. For this reconstruction process, the emotions that went into the code lines provide a strong mnemonic. This is also the reason why I actually need very few comments in my own code if it is just for me (of course, if other authors want to contribute, these are very important - but in this case, I prefer to ask them directly what kind of guidance they actually need).

What is much harder is to get into a foreign codebase. Even if it is of high quality (it often isn't), it takes a lot of time to get deeply into the thought process on which the original authors based their code structure.
I liked the idea but couldn't quite get the anki workflow running smoothly. To be fair I tried this because of the anki integration but I don't think that's what it's meant for
What are you referring to? I didn't see anything inappropriate at the end of the article.
Honestly I’d rather have good defaults than lots of options. If one tool meets requirements out of the box, then it’s preferable to a tool that requires a lot of tooling.
That matters much less than most people think. Smart poor kids have worse outcomes on average than mediocre rich kids.
PewDiePie near of lose with T-Series
For this I usually think that complexity in general is dangerous when our ability to apply our own value systems degrades past a certain point. For the 2008 financial issues we had a few financial products like subprime loans where the reasoning and economics behind these were complicated enough that most couldn't effectively regulate or understand the implications of their use.

I suppose when enough things go wrong with a complex system it's like having runtime errors popup that you can debug against and get a better understanding of what you created, but that first execution is just dangerous enough that you wouldn't want something that's complex enough to be doing anything important. Then again, we might not think something is complex enough until we start running into the "unknown unknowns" of real world usage.

Maybe a somewhat subjective qualifier for what's "complex" could be developed and then the ethical question is "is due diligence being taken to reduce the risks inherent in this complex system?"
Because it lacks support for bare specifiers and package lookup. There’s also no dead code elimination or code splitting.
A personal knowledge management app that can:

1. deal with various file formats(pdf,markdown,code,flashcards,etc)
2. easy to annotate, tag, highlight
3. works across web and smartphone
4. can be self-hosted and portable

will be very valuable, I'm willing to pay for it if it exists, though an OSS version is optimal. No I don't want to store all my personal notes on any cloud storage so self-host is a must.
The government needs funding to operate, efficiently or ineffectively but that's the voters problem.

They tax individual and corporate entities.

Companies gets cute and exploit loopholes with dozens of companies and locations to avoid paying the normal tax rate.

So the state strikes back and imposes a 5% (sorta sales) tax that cannot be circumvented. No big deal, other than for Google, FB etc companies that choose to do business in France.

I'm sure they can still keep their quintuple sandwich tax schemes
If I'm really stressed, coding/working on a side-project seems to work well. On normal days listen to music, DJ, an hour or two of Netflix, playing Go on KGS (or vs computer).
I didn't know that, but it makes it a more interesting comparison. I imagine at least part of rewriting it in Go was to "eat your own dogfood".
I hope Structure and Interpretation of Computer Programs is on that list.
Are there any examples of companies bought by private equity firms that did not go down the drain? On the retail side, I recall Toys R Us and Sports Authority being examples of companies recently folding after the PE firms were enriched.
SoftBank Ate the World
Location: Palo Alto, CA (SF-SJ corridor)

Remote: Yes

Willing to relocate: No

Technologies: Product Management and Product Marketing: NLP, Big Data, SaaS Enterprise, ML, AI, social, CRM, Agile. Experienced in PMing products with most common tech stacks.

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

Email: catevz [ at ]gmaildotcom

My passion is helping companies find the product strategy that fits their heart and optimizing processes to deliver on it. My references will all tell you that I’m a high-throughput, high-energy leader and voracious consumer of information, who enjoys rolling my sleeves up to get the job done as well as leading others. With a full-spectrum background in product management-product marketing-marketing, my specialty is startups and restarts, where you need to wear a lot of hats and do whatever it takes to make the company successful.

Buzzwords: Corporate strategy, competitive analysis, product vision and roadmap, public speaking and evangelism, analyst relations, product marketing, agile development, certified ScrumMaster, enterprise applications, mobile, cognitive computing, machine learning, AI, text analytics, NLP (natural language processing), search, social media, social CRM, social analytics, big data, cloud, semantic technologies.

Also: Legos. Lots of Legos.
One thing to remember is that these numbers are typically for Bay Area or Seattle -- places where commuting isn't a feasible option unless you don't mind 2+ hours on the road every day. For San Francisco, making $300k/year you're looking at $185,464 take-home pay.

> In San Francisco and nearby San Mateo and Marin Counties it said $117,400 for a family of four was "low income", while $73,300 (£54,900) was "very low income" - the highest figures anywhere in the country. (https://www.bbc.com/news/world-us-canada-44725026)

The cost of living in these areas is high and is still growing rapidly. At the end of the day, working in a tech hub is still a middle class to upper middle class job. You can achieve similar or better results in states like Utah and Texas, with a much better work/life balance.

I'm an ex-Californian and moved to a saner state. Total comp for me is roughly ~$150K, with almost all the bells and whistles you'd expect from Silicon Valley (still waiting for 401K matching). My commute is 20 mins and soon to be 5 mins. Property values for a large home where I live are still floating in the $500K range, with only 0.5% property tax. I haven't even topped out the market here either -- I know people making $170K salary + benefits out here.
Yep. Also this is all based on stock price data, so it could be that businesses typically hire the person that the market "expects"...which would predict zero alpha even if counterfactually hiring a bad CEO would've tanked the stock price.
Python is fantastic for little (or large!) bits of logic, but its handling of input is clunky enough to put me off for tiny things. AFAIK the boilerplate you need to get to working on the fields on each line is:

import sys
for line in sys.stdin:
fields = line.split()
# now you can do your logic

If you want to use regular expressions, that's another import.

Python also doesn't play well with others in a pipeline. You can use python -c, but you can't use newlines inside the argument (AFAICT), so you're very limited in what you can do.
I took the day off to go on a long hike it was great but all the invisible dust on the air gave me an odd pain in my chest when I went to bed then it gave me a sore throat and asthmatic conditions which has only just cleared! Turns out the dust raised the pollution level to high with people being advised not to exercise! I suppose my ten mile hike up the hills was a bad idea.
Show HN: CSS Colors – Your color picker for generating color schemes
Well I'd say that if it's an authorization service there will be cryptographic calculation which is "heavy" on the CPU.