skysight-inc/HackerNews huggingface dataset:
No, we just got version 6 and it has some nice features. The development over the last years was good but if we are honest Rails is not the cool kid anymore. About 6 years ago I moved from my Rails job to a node.js job and 3 years ago I moved to another job where I am now using Rails again where I use it for a data wrangling job.
Having a good framework in a language you like is very important for your own productivity. What made Rails special way back when was that it was almost the only one. Now it is just one of many. If you like Ruby chose Rails, if you like PHP, Python or something else you have choices too.

Recap: Ruby on Rails is not dying, it just isn’t the cool kid anymore.
Nah, we got a 5 year extension about 5 years ago:

https://news.ycombinator.com/item?id=7581434

https://news.ycombinator.com/item?id=7372913
Does it? I doubt people expect len(facepalmguy) to be 17 whether you say that's counting "runes" or "chars" (with both being defined as UTF-8 code points). If you know enough about Unicode to object to code points being called a shorthand for "characters," I doubt you'll be confused for more than a second.
As they are on CentOS 6 it would be impractical to switch to another version as default as Python is used by the system, however they do have 2.7 installed.
Thanks for the very kind words. Email me directly / watch our blog. We'll be releasing some new results this week.
> So how would you tokenize without the use of regular expressions?

Since this need doesn't appear to be an everyday one, with clearly defined targets, a simple hand-written lexer isn't hard to write, and will make less mistakes than a regex. Just use a scanning approach. As a bonus, you'll still be able to read in 12 months time.
One missing question:

Q) I like Python 2. Can I take over Python 2 maintenence?

A) NO. Try it and we'll sue you.
It could be a bug; I don't see an immediate reason to zero eax in this fragment. Sometimes it's easy to miss the reasons why compilers zero apparently unused things though: it can be about breaking data dependencies or making sure flags are in a known state.
RHEL 7 depends on python 2.7 and will have security/maintenance support till June 2024. So for security updates, I guess we can just track RHEL7/CentOS7 python 2.7.
Well in my country that would get you a fine, in theory at least.
Artificial Lawyer Joins Campaign for Facial Recognition Regulation
As commonly with stories like this, people will see the Bloomberg story and not see the correction issued by ProtonMail. The harm is done, and ProtonMail is likely going to miss out on subscriptions because of Bloomberg's irresponsible publication. This tendency likely holds true even if Bloomberg were publishing the correction themselves, as it has been observed time and time again.

If you apply for a writer's job at Bloomberg or many of these media companies, people will ask you if you have a following on Twitter, Facebook and the like with which you can share content you write so that your employment poses a smaller risk to your new employer than someone with little to no following. That in itself might just make writers statistically more loyal to big tech than really necessary.
I was expecting this without looking at the website : https://plato.stanford.edu/entries/computer-science/

Seems to be more relevant.
Or the other 10,000 todo apps. It seems to the be the choice for first projects for new developers.
The impact of automation / RPA for the C-suite
Twitter Bots Are Becoming More Human-Like: Study
Why do I need to click at all?
It's not recognizing a loop, but I've always liked the "turn integer division by a constant into a multiplication by a magic number" optimization: https://godbolt.org/z/Z0FgPW

This and many many other bit-twiddling hacks are described in Hacker's Delight: https://hackersdelight.org/. Compiler developers tend to go through this book and implement all the ones that seem interesting to them.
U do are limited in the amount of chrome and reflective material on the car.
They already have one - look in their type checker repo for patches that add certain Python 3 features (type annotations) to Python 2.
How do you type in that language on that device? Moving on a virtual keyboard using the joystick should be supper hard way to do it.
If you read the article it was explained there, but tl;dr: it was announced in 2014 (that support would end in Jan 1st 2020)
3 node k3s cluster on hetzner cloud for about 10€/month
All math is non-human.

What does the quantity one have to do with a human? Nothing. The only thing you are doing is giving it a name. "One" The categorization of mathematics is just nomenclature. We choose the name and categorizations of something that already exists independent of the human experience.
> RHEL7 is already receiving security fixes only [1], which doesn't look like a huge "support" effort to me.

Nobody expects new features in python 2.7, so this is basically all the support that people are looking for. RHEL7 will have security maintenance till Jun 2024.
Voice Spelling Checker – Correct Spelling
the voice spelling checker is a good app for improving English skills.
"if they were to build a computer system that would run Lingo fast enough they would rule the world i.e. corner the CIM market"

Others had similar ideas about inventory and object oriented languages:

https://en.wikipedia.org/wiki/Orient_Overseas_Container_Line
It helps if you want to increase the number of people killed for being stupid on a bus. I don't think the penalty for disturbing public order should be death.
It is the definition of ostracism.

No. Not even close. I left you a lengthy comment about this to which you did not respond.

I have articulated

You're making excuses for a child rapist. Over and over and over. Again, what the fuck, man? Once again, I'm asking you this directly.
The Linux Graphics Stack
Any major library that hasn't moved to Python 3 by now isn't going to on their own accord. Either that means they won't, or that the sunsetting will kick them into gear (or get their users to kick them into gear).

It should be pointed out that Python 2 will continue to be used, and be usable. It just won't get new security upgrades or features. I do not know, but I doubt if there will be a feature or security flaw come up soon that "forces" existing python 2-only libraries to update
The closest to insight in this post is a quote from somebody else. “String length is about as meaningful a measurement as string height”

Under that quote three rationale are offered.

1. "to allocate memory". Fine, like an integer your very low level code needs to actually store strings in RAM and in this sense both integers and strings have a size. I don't think I'd name this size "length" though and certainly if length(5) is an error in your language it seems as though length("word") is also an error by this definition.

2. "quota limit". Just pick anything, there is definitely no reason to name the value you're using for this arbitrary quota "length". If you have a _reason_ for the quota, then you need to measure the reason, e.g. bytes on disk.

3. "display space". This one is a length! But it's in pixels (or milimeters, or some other type of distance unit) and it requires a LOT of additional parameters to calculate. And you'll notice that at last there is actually a string height too for this case, which likewise requires many additional parameters to calculate.

Treat code that cares about string "length" as code smell. If it's in your low-level fundamentals (whether in the memory allocator or the text renderer) it might, like a lot of other things which smell down there, have a good reason to be there, make sure it's seriously unit tested and clearly documented as to why it's necessary. If it's in your "brilliant" new social media web site backend, it's almost certainly wrong and figuring out what you ought to be doing instead of asking the "length" of a string will probably fix a bug you may not know you have.
My last job had similar -- our internal tools were a buggy mess, to the point where customer support spent upwards of 75% of their time fighting the software instead of supporting customers - but the CEO decided that the dev team would not fix any bugs that aren't DIRECTLY affecting end-users, nor would the dev team "waste time" reviewing patches from frustrated tech-literate support staff fixing internal bugs for themselves.

However, the support staff still had root logins to all our servers, so they followed the letter of the law by not having their patches go through the code review / source control / gradual rollout process...
Great stuff. But what about alternative python interpreters that have been lagging behind? Jython is 2.7.1 and IronPython is 2.7.9
CinemaDNG to ProRes Converter for Windows
I read the paper, which includes a forward reference to Figure 1 (the system architecture). When I got to the end of the paper, it says that Figure 1 is "TO BE SENT SEPARATELY BY MAIL, TOGETHER WITH A PHOTO OF ONE OF THE CUSTOM CHIPS". Oh well.
Correct

Also the longer a software is around, the lower the chance of some showstopper showing up (not 0% chance though)

What's most likely is that one important library in 2.7 stops talking to some upgraded system version (think OpenSSL for example) then what depends on it stops working.
They say volunteers, so I think they mean just people working for free. In the next section they mention you can probably find support from your vendors or pay a third party to fix it. It then ends with the sentence

> If you need free help from volunteers, look at this help page.

Which links to the help page to learn python, haha. I think the point is that you can fork it or pay someone to fork it, but you won't find anyone else willing to fix your problems for free.
Is that the stance? I haven't heard anything on that front.

I'm sure there is a great market opportunity for some developers to do the migrations, or to alternative do backporting for some large companies not interested in mingrating.
The point of the article is that yes, the scenario where pilots can claim all airline profits is ridiculous, because is it sub-optimal for everyone -- pilots, passengers, and certainly investors.

It also never argues that pilots are "delivering value" equal to the airline profits. Only that the pilots are in a position, due to regulation, to claim those profits, because they can shut the airline down (a power that flight attendants, mechanics, reservation agents, etc don't have).
Phishing Techniques Bypass Two-Factor Authentication
Doesn't any data frame interface in Python/R/Julia fit the description? (pandas, data.frame, data.table, dplyr etc.)
I'd first ask the interviewer whether they're ok with a function is_zero_or_two_power...
Considering that Chimps have reached stone age, it will be interesting to see if Chimps use any weaponns if such a war happens again.

http://www.bbc.com/earth/story/20150818-chimps-living-in-the...
(x^0) = (1) makes sense because lim{y -> 0} (x^y) = (1).

E.g. (10^0.001) = (1.00230524...)
Ah yes, ASR. The place where a DAC or amp having a -100db SINAD means it's a terrible piece of hardware despite it being well below the threshold of human listening and the noise floor of the best recording and tube amps, who have significantly higher distortion, are considered terrible because of it despite the vast majority of people who actually listen to them liking them far more than some of the most beloved hardware at ASR (I'm looking at you THX and Topping hardware).

I belived in their swansong and bought into it up until recently, then I tried "terrible" hardware and dear God it sounds so much better.
Sure. "Ideas about society."

Why do we need to combine "Ideas about society" with "Newtons laws of motion" is all I'm saying. One is a liberal art, the other is a formal theory.
CDs have better fidelity than vinyl.

Vinyl sounds more like vinyl than CDs do, until a specific piece of vinyl is reduced to a shambles by time.

People who really like vinyl have a bad habit of equivocating between the above two statements, using "better" to mean either "greater fidelity" (which is wrong) or "sounds more like vinyl" (which is a tautology) without signalling which meaning they mean.

https://wiki.hydrogenaud.io/index.php?title=Myths_(Vinyl)
Kodo Throughput Benchmarks Comparison (RLNC vs. RaptorQ)
Relevant to that, there's a good talk by Herman Mark Schwartz [0], in which he reports that total offshore holdings of top 15 US firms exceeds $1 T (more than Obama's ARRA stimulus of $830 B). Excludes onshore cash, and Apple's is a significant fraction of this pile. He argues that monopoly IP rights (originally public goods) held by cash-rich firms leads to lack of real investment.

[0] Wealth and Secular Stagnation: The Role of Industrial Organization and Intellectual Property Rights. https://t.co/ZQ5RgHGdFo
The germanium transistors used in Stretch simply weren't fast enough to meet the paper spec. The architecture couldn't do much to work around this.

Cray at CDC used the newer and faster silicon transistors in the 6600. So did IBM's later System/360.

In fact Cray funded the development of the fast silicon transistors at Fairchild with a $500k contract.

https://www.computerhistory.org/siliconengine/silicon-transi...

IBM made the classic corporate mistake - sales over-promised and then told engineering to build something that couldn't be built. So Stretch became an involuntary R&D project instead of a commercial product.
The great break-up of Big Tech is finally beginning
What types does people hate dating?
Just don’t let your technical debt fossilize. At the beginning seems like a good idea to invest little money in supporting legacy rather than migrating it, but for example, supporting and maintaining COBOL applications is a huge headache. Companies even pay big bucks for formation of new professionals and integrate the old solutions with modern applications is not even that easy since some of the OS are even alien to TCP/IP interfaces let alone modern programming interfaces (and there is nothing worse than an HTML interface on top of the old non ANSI terminal interface, even if you knew where the F21 used to be)
Sure but the categorization is off.

Shakespeare is doesn't belong in a computer science textbook anymore than ethics.
The US seems to be in the process of legalizing recreational weed, which is often consumed by inhaling plant smoke. Relative to that (or alcohol), I wouldn't worry too much about vaping nicotine. It doesn't appear to have any significant harmful effects other than being addictive (https://en.wikipedia.org/wiki/Nicotine#Adverse_effects).

That being said, not chronically inhaling anything other than air is definitely the right way to go if you're taking long term health effects into consideration.
COBOL has an upgraded version? Besides, legacy is not a perfect excuse for using python 2 since it's so similar to 3 and with some amount of effort you could port it over quite easily.
IT Chapter 2 New Tab Page
You're technically correct in that GAE standard offers python 3, but it's not the same as their python 2 offering.

Python 2 is part of the first generation runtimes, python 3 is part of the second generation runtimes. They are not out of the box compatible, even if your python code works on 2 and 3. The first generation runtime included many APIs that are simply just not available in the second gen (you need to build them yourself). See link for more info.

https://cloud.google.com/appengine/docs/standard/runtimes
I use both an XR and 7 daily. I have no desire for Touch ID on my XR, it is much simpler than the 7.

It’s not just the unlocking, it’s the ease of entering saved passwords and logging into apps.

Also, you’ve counted grab phone as a step in one of your examples not the other, really it’s 1 step vs 1.

The only downside of Face ID is, I can’t easily unlock my phone when it’s flat on my desk.
Hyundai, Kia Invest in Ionity Fast-Charging JV
As someone who works on a 99% Python 2 codebase I think this is a very necessary step. Hopefully one of our larger customers will realise we are still running their critical infrastructure on Python 2 and make enough of a fuss that we can justify the expense.
Specialized VPNs (SS/SSR) are a common way to work around the GFW to get worldwide internet access.

If you're targeting activists inside of China you have to expect they'll use those VPNs. You also expect them to specifically choose non-chinese mail/communication mediums in order to not be identified by the PRC.

This report is newsworthy because it says that making these choices might not protect you anymore.
Except if b is a directory, then ln -s a b will create a symlink at b/a which points to a.
Why would anyone like python2 so much better than python3 that they would want to fork it into its own language? The two languages are already incredibly similar and python3 has a much larger active community.
I think Steam is working on something similar, with recommendation based on what you're playing (https://store.steampowered.com/recommender). Well it recommends only games on the store, so that's a lot of games off the table right from the start.
These are excellent, except for one, which is to avoid politics. Politics is the art of making other people want the things that you want. If you can't do that, you're not a senior engineer. Politics is critical for your success, and honestly, a large number of these sixty points fall under, IMO, politics.

tl;dr: s/"Avoid politics, but have right folks vouch for your work"/"Become an adept politician".
I don't see how they could sure given that Python is open source. Maybe they own the Python trademark and you'd have to call it something else?
What's the other term?
> An article from the former airline pilot explaining airline unions:

Philip Greenspun is tech entrepreneur that flies as a hobby. He flew in an airline for a short while, but he is not a "former airline pilot".

Sully, on the other hand, writes in his book:

> “I also understood the history behind our profession’s dependence on a seniority system. It started in the 1930s, as a way to avoid the favoritism, cronyism, and nepotism rampant in the early days. It was about safety as much as fairness. It insulated us from office politics and threats to hinder our careers if we didn’t “play the game.” A layman might think such a seniority system would lead to mediocrity. Nothing could be further from the truth. Pilots are a pretty proud bunch and they find it rewarding when they have the respect of their peers. The system works.”

The seniority system is what gives the captain the power to say no to the airline when pressured to fly in unsafe conditions without repercussions.

Philip Greenspun could just say no and go back to his life as a retired tech millionaire.
This is such an amazing feature. I wish it got picked up by other major languages and became a standard practice.
> The monitoring could be in place for reputation reasons

Which again, comes down to accountability.
The switch has a touch screen so it shouldn't be harder than on a phone. - form factor aside -
Sorry, yes, safer alternative to smoking cigarettes

Fair enough, I'm sure it's not healthy to chronically inhale anything other than air

> If you're asking about drugs with similar effects to nicotine that are less addictive, I'm not aware of any. You could always purchase vaping liquid that doesn't contain any nicotine though.

I was asking that but a broader question for me is, are there any safe replacements for cigarettes out there that match the qualities that cigarettes have without the harmful side effects (the idea being if you could create something that was just as fulfilling, addictive, etc. but without the negative side effects you could dramatically decrease the health toll of cigarette smoking). You could argue vapes are that product but it seems like the jury is still out on how much better they actually are than cigarettes and the trouble with attracting new users into the market
I'm waiting for the "motivate executives" book. It'll probably be a paragraph which starts with "give them more money".
I still find it useful to read mainstream media, even 'free' publications like Metro and the Evening Standard in London. What I do is not read them for news per se, but a sort of high level scan of what the publication's bias is. What narratives are being pushed? How has the publication ordered, or prominently displayed articles? What news is completely omitted?

For example, no mainstream media outlet in the UK covers Al Quds day in London (absolutely nothing about this on the BBC or print media). Facts on the ground at the most recent (and previous) marches is that there is a lot of Hezbollah flags flown.

Another example is the BBC’s treatment of Brexit on three flagship panel shows, Question Time, Politics Live and Any Questions where Remain commentators outnumber Brexit commentators 3 to 1.

In this instance, Bloomberg seems to be wanting to push the 'Huawei is spying on you' narrative as well as 'Proton Mail isn't secure' narrative.

Make what you will of the points above, maybe they mean something, maybe they don't. I just keep an open mind, try to think for myself, see things from different perspectives, and do my best not to fall for my own cognitive biases.

I still use Proton Mail, and I trust their service more than GMail (I migrated from GMail to Proton Mail), but it's a nice reminder not to trust any corporation too much or get complacent with security. I really don't feel like rolling my own encrypted email solution so the question is, "Who am I willing to trust the solution to?" Ultimately I'm accountable to myself.

As for media bias, sometimes it is blatant, most times however I find it subtle. Either way it is pervasive. Unless you are scanning for it, I imagine it is incredibly easy not to think for yourself.
If you're at a startup you better be hiring! That's your #1 job! You better keep that bar high because the next round of folks will be hired by them. Further, at a small startup you can't get away from a bad hire, they're literally adjacent to you for 50+ hours a week.

Further to this point, networking is crucial too, but it's more networking outside the company. With other startups, with other technical folks -- your hiring pipeline is built on your personal network until you get to at least 20+.
Consider just running Minikube on your laptop. It’s pretty realistic and won’t cost you a penny. Except maybe in electricity, it seems to consume an enormous wattage just to exist...
It is an unpopular opinion, but actually this is right answer. Look at Syria and other examples. We should stop pretending, we are supporting people by posting,liking stuff online. They will be all alone when things gets serious. So, let's stop giving these people false sense of hope for help from anywhere else.
The type can trivially be checked inside the function. You don't need type system function overloading
thats the worst kind of limbo, sort of supported and official but not really.

I fully support them in this. Either you support it right, or you abandon/sunset it clearly.

If someone else wants to step up and do the work, they can always do that on their own.
THIS. A super crappy master mix for a CD vs a good mix for vinyl is the reality.

Look at the bottom of this page:

http://brianstagg.co.uk/p_t_a_clipressed/
The motivation for that is probably avoiding what my first thought was; who is going to be the first to offer commercial extension of Python 2 support. That would be worth a lot of money to a lot of companies.
I'm enjoying hooks so far, but I think I understand where you are coming from.

The thing I enjoy with hooks is that you no longer have to juggle state/async in different methods. I'd usually forget cleaning something up, leading to longer dev-debug cycles.
With useEffect I usually remember to clean up.

Also, so far the code we've written with hooks looks (subjectively) nicer than their class counterparts.

One difference between us might be that you have more experience than me using "classic" React. I'm relatively fresh to the React game, so I don't have many old habits or intuitions formed.