skysight-inc/HackerNews huggingface dataset:
These criticisms look to me like you are trying to use your Java programming style in Python.

Prefer to use modules and tables of functions as an organising principle instead of classes.

Use inheritance rarely, and method overriding almost never. Otherwise you can make a really big mess (see Django's Form class hierarchy).

This sort of bad design where you have the flow of control jumping up and down the inheritance hierarchy happens in Java too, but the `abstract` keyword and static typing makes it easier to avoid.

In Java, make your code regular, so someone can understand the piece they're looking at without too much context.

In Python, make your code interesting. Factor out the unimportant repetitive parts, so someone can see a lot of the big picture all at once.

Incidentally, I'm quite happy with print() in the top-level namespace. Java's logging situation (5 widely used logging frameworks and a 6th to abstract over them all) is not better.
I prefer to think of it as more of a MLM or pyramid scheme than a cult.
Twangy accent here. Truer than I like to admit.
"She was whizzing all over the place on it with ease and grace. It was an excellent sight."

I was in a country other than the United States and I saw an older lady run to catch a bus. She was easily 65, maybe 70. It was neither interesting nor noteworthy to any of the other (swiss) people on the street with her.

Walking is the universal medicine and we live with an enormous burden of health, fitness and longevity problems (including obesity, diabetes, "lower back problems", knee and hip issues, etc.) due to the car culture that we live in and the related near refusal to walk anywhere.

No, this was not an excellent sight - it's the sign of a sick society that will do anything to avoid the simple, free and easy remedy to almost all of their problems.
Net Neutrality is less of a concern when you actually have a choice of ISPs. I can choose between around 100 ISPs where I live (going over a shared open-access fiber network) so if one ISP does something nasty it's easy to switch
What’s the over/under that whoever runs Epik spends their time “enlightening” the world on Gab?
Coming from python I like to set a breakpoint, and dive in with pdb. It's super easy to navigate through the stack frame and poke around to see what all the variables are. I get more out of inspecting state from inside of pdb than I do out of print statements.

On the other hand, I tend to use only print statements when I'm roughing in a program in an iPython Notebook. This gives a sort of visual documentation when navigating a library that I'm new to, and allows me to glance back at a verbose description of otherwise opaque data structures.
6502 is a harsher environment than Z80 which CP/M was originally designed for. It's a good candidate for a C64 port too.
> what he’s done was apply a very common style of sarcastic dismissal

Perhaps common on Youtube comments.
Contrary to what seems to be popular perception, Texas is not “the South”. The South is the Carolinas, Georgia, Florida, Tennessee, Mississippi, and _maybe_ the Virginias and Kentucky.
People have discussed that. A flying thing that could be used to relay instructions to lost parties would be helpful in a few situations.

I think search organizations are certainly interested in UAVs, but at the moment nobody's sure how to use them effectively. It kinda strikes me as being like blockchain: cool technology, everybody wants to use it, but there aren't really that many real-world use cases where something else isn't just as good or better.

Probably the highest priority should be fixing their flight time. 25 minutes is just not enough time in the air to be useful, and fixed-wing is too tricky to navigate in too many kinds of terrain. If someone figures out how to start approaching 60 minutes in the air with a payload -- speaker & microphone, IR, comms -- that would probably start getting more attention.

Another thing that would be really cool is an airborne minicell. Just about everyone's carrying a smartphone now, they're just going into areas where there's no signal. If something could go out there offering signal, and report back when a device tries to connect to it, it wouldn't necessarily need to get close to the ground and that could really narrow down some of our searches.
That's why universities should be socialized.

Knowledge and credentials to better oneself and the economy at large should be available to anyone who is willing to put in the work.

Intellectual capital of a countries citizens is the best investment of tax money there can be.
I swap the cmd and ctrl keys on mac all the time, it's in the GUI...

Apple Menu -> System Preferences -> Keyboard -> Modifier Keys

The only pain is when I'm in a terminal, the ctrl key is different. I use model-m style keyboards.
Central planning is the response to Von mises argument about economic calculation in socialist countries.

https://wiki.mises.org/wiki/Economic_calculation_problem
"Code block newline behavior is weird" yeah. The HTML logic itself in <pre> blocks is not "WYSIWYG friendly". CRLF is in effect only if it separates something but not at the end of <pre> block. But I will do something with it anyway.

"Save as" is there but no button for it yet, will add.

HTML-NOTEPAD is at beta stage at the moment, so bug reports are always welcome. And my pardons in advance for any of them.
Nitpicking here but I think the "deep fried meme" phenomenon (as opposed to just images naturally becoming lower quality) is a result of the screenshot -> instagram filter pipeline.
This former sharecropper has been driving people to the polls for 25 years [VID]
A fit person can walk at the speed of 3 mph or 5 kph, anything faster would be in jogging/running category. A electric scooter can easily each a speed of 12 mph or 20 kph - 4 times faster which is quite significant.

A 10 minute walk becomes just under 3 minutes on a scooter, and the time saving adds up over longer distance: Suppose you live 3 miles from the closest bus/train stop, it would be an hour on foot which is not practical for daily commute; 15 minutes on a scooter, however, is much more manageable and be competitive with driving.
> Making simple apps is simple, probably is much harder to do advanced apps.

Well, duh...
To be fair, pro sports are an obvious waste of valuable time and attention.

Personally, I’d rather actually connect with someone (or not) than use such mindlessness as a social crutch. I don’t find the extremely common phenomenon of people who don’t like sports forcing themselves to pretend they do for career-related reasons to be particularly healthy, either.
Diplomacy Adjudicator Test Cases
This reminds me so much of a badly formatted question from a recruiter.
Music academia is terrible and riddled with politics and infighting from my experience also. The number of actual livable jobs for classical musicians are very low. It makes me pissed off how public schools will still spend hundred of thousands of dollars and push kids into classical music when it is such a dead end, and competition is so high. It is a ponzi scheme where the students pay the teachers, then the students become teachers and the cycle starts over again. Barely anybody who does not play an instrument ever listens to classical music it is a joke. The least selling genre of music in the United States behind jazz.
One Wheels are better anyway. https://www.youtube.com/watch?v=w4_736KQyeQ

Also https://www.youtube.com/watch?v=tbqWFVm9cD0
The author is right, but not in the ways he thinks he is.

The change will be larger and even more unexpected to the people who are currently expecting it. It will be larger than even I can imagine.

Everyone in this thread can't see the forest for the trees. Tell me a story ...
Something applying to “almost all” elements in a (preferably infinite) set: Applies to all elements, with the exception of a finite number of elements.

For example, almost all prime numbers are odd.
What version of netstandard?
Seems at least plausible.

Comet Rosetta's perihelion was August 13, 2015 [1] and there was a big outgassing event February 2016 [2]. Takes time for heat to propagate through stuff.

But yeah, I'd rather it was due to radiation pressure on an alien solar sail.

[1] https://www.space.com/30237-rosetta-spacecraft-comet-closest...

[2] http://blogs.esa.int/rosetta/2016/08/25/rosetta-captures-com...
I submitted this post for a fairly simple reason:

The approach taken here of outlining test cases for a thing implemented multiple times which consistently has bugs, is genius. I've never seen it anywhere else and I'm curious if that's because it's unique or I'm just not being exposed to the right sources.
As a counter to this article I found my time as a grad student exceedingly productive and gave me great faith in the scientific institution. I definitely believe academics are underpaid; when most of the people in my department could have easy made 500k doing ML in the valley, they were making less than 100k as post docs or 30k as grad students.

Otherwise my advisors were always incredibly proud of their students, passing on their knowledge, and actively pushing them to succeed like proud parents. A lot of my colleagues went on to join other labs or even open labs of their own as PIs.
^ cloudflare warns you if you leak your public IP
Well, you can do that if you have the Axiom of choice.
Yes, humanities academia is severely flawed, not only in the ways that the author describes but also in the prevalence of pseudo-intellectual quackery in literature studies, cultural studies and areas of social sciences, philosophy, etc.

The newspaper appears to have forgotten to qualify the title to make clear that they were not talking about all academia.
Xiaomi has invested in Ninebot https://www.reuters.com/article/us-ninebot-xiaomi-investment...
Ok... care to share any actual details?
Oh, wow... when and why did that change?
> This issue isn’t about economics of course, but what I don’t quite understand is why the right feels like it’s an injustice to change the playing field, like it’s cutting in line, or will put the laws of nature into chaos if someone gets more than their fair share for the work they did. I really don’t follow...

But it is about economics. The theory of the minimum wage is that you take money from some hypothetical fat cat capitalist who would otherwise have stored it in a mattress to no avail and instead give it to a hard working stiff who can benefit their lives with it.

The problem is that there are also a multitude of other things that can happen instead, pretty much all of which are bad and do actually happen in practice. The money may come from someone other than a fat cat, like a local small business owner or a working class customer. If prices rise, local businesses may be less competitive, resulting in higher unemployment and a smaller tax base (resulting in lower tax revenues or higher tax rates or both). The working stiff may lose their job. In the worst case, the entire business may close down. It's quite a bit worse than cutting in line.

If you really want to understand the problem, list every consequence can think of for a minimum wage of $1000/hour. Most of the problems still apply at $15, just at a smaller scale.
Pretty much the same situation here. My wife is writing quite a lot on Internet these days - on near scientific subjects. I started doing that HTML-NOTEPAD three months ago when she asked how to insert table on PhpBB forum. Editing sequence of [tr][td]'s is not an option for her as she is naturally blond (https://en.wikipedia.org/wiki/Blonde_stereotype).
That doesn't change the fact that the hardware is 3-4 years old. The SE has nothing that's newer than the 6S which launched in fall of 2015. It also has some components that are from the 6 era, so fall 2014. Like I said, it's still a capable phone (I've had the SE since release).
A scooter has about the same functionality as an e-bike but can go on sidewalks without seeming nearly as threatening. Use in bike lanes, go 4 times as fast as walking, no sweating like a bicycle, and more portable and much cheaper than an e-bike. If my commute is a mile from a train station on both ends, that is 40 minutes of walking a day. Probably good for your health, but cutting that down to 10 minutes by using a scooter could make trains much more useful for many people. Make it 2 miles on each end, then a bicycle is really needed. Bulky and not allowed on many subways. e-scooter could work just as well.

Plus they are pretty fun to ride.
> I'm getting really tired of these kinds of racial and ethnic generalizations. If you substitute "asian" or "jew" in and you find it's racist, it's still racist if it says "white."

No. If you attended a civil rights march in 1962 and remarked at how white the counter-protesters were (and how the hoses never seem to get aimed at them), you would be making an accurate observation about race and power dynamics, not smearing white people. Observing that some (many?) of those same dynamics persist in our present enlightened age is not racism.
More Evidence Points to China as Source of Ozone-Depleting Gas
Northern Virginia has plenty of black folks. Look at Alexandria. But having grown up attending predominantly black schools in a rural past of the state, you are 100 percent right about the integrated nature of the South compared to the rest of the country. It was highly unusual for any wedding, funeral, or BBQ where I grew up to not be a mix of black and white. Most white people in the rest of the country have never eaten at a black person's house let alone spent the night. A child in the rural south almost certainly has. Hell, my best friend's mom made me go to church as well if I spent the night on a Saturday. Same when my buddies spent the night at my house.
This all depends on what you consider science, I suppose. If you define science as work with beakers and things, sure, yeah, those positions are dying out.

But genetic research is more of a CS-dominated field than it is a purely "scientific" field these days. nVidia pays technical geneticists mid-six figures to work on their projects.

Science is becoming more democratized and breaking out of the academic, federally-funded, very slow process model, and plenty of people are working in private science that have nothing to do with making drugs, but rather in brand new fields and exploding existing niche ones.

Some of this isn't great, I'll be the first to admit with a lot of experience on both sides of the aisle. But overall it's a massive net positive. For everyone.
You absolutely can "pick a random real number between 0 and 1", at least for the sake of mathematical argument. But for an interval [a, b] a random real number will be x s.t. a <= x <= b is zero. That's because the set {x} has measure 0.

An even more fun fact is that the probability that the randomly chosen number is rational is also zero, by the same argument.

However, once one starts to try to describe a distribution over the reals, e.g.: "let X be a real number chosen from a uniform probability distribution over [0, 1]", then you run into serious problems. That example begs the question because there is no uniform probability distribution over that set.
Large cities are always much more liberal. Don't let that fool you though, the overall culture in the state of Georgia is not much different than it was back during the Civil War era.

edit: nice downvotes from Georgians ;)
> The whole reason everybody got stuck with systemd is because Gnome wouldn't run without it. Every distribution had a choice of getting rid of Gnome or moving to systemd.

They haven't made it easy to run GNOME Shell without systemd, but people have got it working in Gentoo, Void etc., see, for instance: https://dm.reddit.com/r/linux/comments/66ass2/update_void_li...

(That said, I don't run GNOME Shell on any of my machines.)
And many years later when an increasingly non productive citizens can no longer be expected to reasonably shoulder the tax burden, when governments can no longer borrow agaisnt the future, the piper will be paid… but somehow, this time is different… yawn…
Walking is not a universal medicine for someone who has trouble walking. You don't see that person running to catch the bus because they can't. They might not even be able to get to the bus stop. They can't get their own groceries. Sure, you can try to tie this to some generic tangent about 'car culture' or whatever, but the idea that a person (whose health history you know nothing about) being able to exercise their autonomy is somehow a bad thing is pretty odd.
Umm... what?
Indeed, we're going full-on Wall-E.

[1] https://giphy.com/gifs/wall-e-HSLbIjLk2GsBa
Interesting how the MasterCard promotional picture suggests that TouchID on iOS is required to withdraw cash when a weaker factor send sufficient (an SMS to a trusted number?). Removing/weakening 'something that you have' from ATM authentication only makes remote attacks easier.
I hope it's an alien probe sent by a mother ship. They should come and just destroy us before we slowly destroy ourselves!
I think the argument being made is a lifetime of neglecting your body (poor diet, lack of exercise) leads to an inability to use your body, which in turn encourages you to use these assistive devices, which makes the problem worse still in a viscous cycle.

A biological analog would be Type II. You consume too much glucose, you develop insulin resistance, you take insulin, which makes your insulin resistance worse, and so on. The problem there too, is diet and exercise.
My office is 3km from nearest Metro station in a hot humid country. If I walk it would take me 20-30 mins and I'll reach office tired and sweaty. Current scenario, my company provides cab that drives me 20 km in peak traffic. Alternate, I take a folding scooter, which I can carry in Metro and reach office in 10 mins still presentable.
With updates: https://web.archive.org/web/20181104041749/https://www.igork...
Earliest Uses of Various Mathematical Symbols
And private sector is far, far more stressful. Instead of worrying about whether or not you'll get a week of back-pay, you have to worry about how you're going to feed your family and keep a roof over your head after your job is terminated with no notice and a meaningless severance package.

Cry me a river. Federal jobs have downsides, but this isn't one of them.
This BizJournal article from about a month ago lists a few of companies expanding to Atlanta, such as Square, Pandora, and New Relic.

https://www.bizjournals.com/sanfrancisco/news/2018/10/09/bay...
"To be fair, pro sports are an obvious waste of valuable time and attention."

Ha ha ha - this is so funny.

If this comment is not satire, then I think I just made my point!

I hope that readers here realize how fairly uncommon (and elitist, i.e. everyone is obviously wasting their time) this kind of statement is. Surely, a lot of people don't like pro-sports, but most are not so antagonist about it.

My gosh, if you want to connect with people from anywhere, the first thing you can do is talk about sports!

I only wish I cared about sports, it would be so much easier on sales calls and hanging out with regular people!
Have you published any prolog code that demonstrates this? What domains are you working in?

Programming is so diverse that I’m skeptical it applies to everyone, at least without further justification.
Should I start with Grails or is there any other nice web framework I could try?
Korea is a lot more dense than California though and Korea has better public transportation to complement/supplement the scooters. The scooters are only going to work for people in denser cities. We need more high speed rail and mass transit options. These scooters are only a partial solution to a much larger and complex problem.
I was hired by Amazon a few years ago and left recently. My initial interview experience doesn't match Mr. Kromin's account well. My experience with the Amazon interview process while at the organization doesn't match well either.

The main missing detail from Kromin's account is "leadership principles." Amazon is famous for its list of leadership principles. It constantly hammers them home to all employees during performance reviews and peer reviews. It stencils them on the walls of the workplace. Most importantly, it trains interviewers to use these leadership principles as a basis for judging job candidates.

https://www.amazon.jobs/en/principles

Every person participating in an Amazon job interview is assigned one or two leadership principles on which to assess candidates. The interviewers are very open about this and their questions dealing with the principles are very clear. The recruiters explicitly tell job candidates to read the list and prepare answers that deal with each one.

Since the Amazon leadership principles are non-technical, perhaps Mr. Kromin considered them too trivial to mention. But considering the obsessive emphasis these ideas were given during every Amazon job interview I saw over the past two years, I find the omission odd. I'm not questioning the facts of this account -- I'm merely suggesting that they are so vague as to make it impossible for anyone to judge the nature of the experience.
This comment is a totally unnecessary distraction. Yes, of course, obviously there's no statement that applies to literally 100% of the population, but that doesn't mean that we should alter everyday language to drone on with endless hedges and caveats in an attempt to cover every combination of human traits.

I know you’re coming from a good place, but I think it’s misguided.
"Use it or lose it."

It took me years to recover from being bedridden for 3.5 months. Recovery involved enormous amounts of walking, many hours a day, in fact, for long periods.

The easy answer may get you to the grocery store, but it won't restore function.
My brain is fuzzy tonight, and I'm not good at math, but something about the distinction between countable and noncountable infinities makes me question the axiom of choice. I can't precisely state the issue, but something seems off and inconsistent.
This looks like good information about the memory representation, but we would be better off without string as a data type at all, at least not as a concrete type.

Strings as they commonly work are leaky abstractions which for decades have bred confusion among programmers over how to handle text properly.

Text/character encoding bugs are a matter of type safety. I believe most of the text encoding bugs in the history of software could have been avoided if we used our type systems to handle text encodings explicitly.

UTF-8, UTF-16, UTF-32, Windows-1252, ISO-8859-1, US-ASCII, et al.; these should be our essential concrete data types. The concept of a string should just be an abstraction over them for polymorphism.

At no point in the lifecycle of a piece of textual data should there ever be any question over how it is encoded. So why don't we let our type systems do this bookkeeping for us?
Participating in music is personally fulfilling, but unlikely to give financial flexibility. Schools should emphasize the role that it will realistically play in students' lives.
Google has offices in Reston, Virginia already.
Right, but there's nothing in the story posted that suggests this argument is relevant or appropriate - it's just judgy, tangential ranting. You can be the world heavyweight champion of walking and still end up disabled late in life.
They are mentioned twice in the blog post
PhpBB is a popular forum engine that supports so called BBCodes - variation of markup/markdown. So you can create pretty reach discussion messages.

But when you need to provide tabular data (statistic results for example) ... and by people of Excel age ... challenging at least.

Support of various half-backed markups/markdowns is one of design goals.
Perhaps a way forward is to talk with potential customers and find out how your software solves problems for them and allows them to focus on their core business.

For example, as a consulting company, we are happy to pay for Zoom and Slack because they both provide value that helps us focus on our business.