skysight-inc/HackerNews huggingface dataset:
There's so much incidental design exposed to the user/library author because of python's import system ... Ultimately you have to step through a large list of questions in order to understand the actual import behavior -- its not easy and adds a large (pointless?) cognitive load for every library user/author ...

Are you import'ing a Module or a Package? If it is a package then maybe there's a magic file called __init__.py in a directory that might have an __all__ = [...] array or might just import some other modules but not contain an __all__ or it might import some names from some other modules. Or maybe there's a namespace package somewhere which has some behavior when there are directories that contain .py files but don't have an __init__.py (I honestly don't know the rules -- but I do know they can't be explained to me in a small number of words and that makes me insane!) ... And by the way -- every instance of 'import' used throughout your program is additionally beholden in its behavior to a global runtime magic state magic called the PYTHONPATH (that often has to get munged from the shell environment prior to invoking a python program ...) which is a list of path's that will be consulted/augmented differently depending on whether its a (module/package/namespace) import search to ultimately decide which set of files will be inspected ...

As a half-assed python developer (who is firmly in the 'I hate python camp') I honestly have very little idea how you are 'supposed' to use these mechanism when defining a package. I recently tried to figure out actual best practices so I could publish a small package -- I relied on lots of boilerplate copying from what seemed like knowledgable sources. I think I got something vaguely workable (https://github.com/breathe/NotebookScripter) but there's a lot of line noise all throughout the filesystem layout ... What is it about my Project name that python demands I should repeat it in the filesystem over and over and over again?

I believe this is actually the common pattern for laying out a small library ...:

Project/setup.py
Project/Project/__init__.py
Project/Project/SomethingToDoWithProject.py
VirtualBox 6.0 released
"Introduction to Algorithms" is a pretty common title, so CLRS seems to be how it's universally known. It's (for me) the top hit on Google and Duck Duck Go. I haven't read it yet myself, though I've probably seen it recommended 100+ times.
Hint Health is hiring a Sr PM to power Direct Care and improve patient access
I've also seen them at a local organic-y place near Davis Square.

In addition, whether or not they're "meal kits," you see more and more "one bowl meals" and the like (that you can add meat to if you're so inclined) in the produce section of grocery stores.
Sure, but if I pass you a struct, having standard naming conventions for those struct elements is really nice. Having a standard way to do callbacks on observables is really nice. If a bunch of components are configured at run time using JSON or XML, having those components all use a similarly formatted markup language is nice.

Looking at web server frameworks, a lot of them boil down to "put things in these directories, use these naming conventions, and if you do the convenience functions we've thrown in will work nicely".

End result, instead of writing my own auth code for every endpoint, I throw some middleware in there and the auth happens for me. It all works because everyone agreed on how a bunch of library components are going to communicate with each other.

Are there some frameworks that are way too opinionated and heavy weight? Sure. When someone tries to make a meta-framework that can be configured to solve all problems (see: The Java ecosystem), horrible nightmares end up being written.

But the rise of small lightweight frameworks that are just an agreed upon glue for how components should work together? Eh, no big complaint.
When I looked at WaniKani some time ago, I got the impression (based on their description, I didn't try it) that they first teach you radicals, then kanji made out of those radicals, then words made out of those kanji. Is that correct?

I didn't try it because the approach seemed to lack context to me, and also because I already know Chinese, so learning Kanji wasn't a priority (I wanted to focus more on pronunciation, vocabulary and grammar). Instead, I built my own sentence-level SRS by taking examples from the Tatoeba corpus, segmenting them with Mecab, adding audio using Open JTalk and then scheduling reviews based on the probability of not knowing one of the words in a sentence. I've been dog-fooding it for three months now, and in theory I should be able to understand 14310 sentences from the corpus.
I appreciate the support :)

Creator of Dotsies here. I've been using Dotsies to read books since 2012 (maybe around 100). At first on a Kindle and then on a Kobo after Amazon stopped letting you add your own fonts. I reached my normal reading speed a few years ago, and now reading it is fairly second nature. I now prefer it to normal fonts, and have the feeling that my eyes are racing unnecessarily from side to side when I use them. With normal fonts I'm also less likely to "seek" to different parts of the page, and thus feel a bit handicapped with them.

> the brain uses a hierarchy of constructs like circles, lines, corners, etc

It's a little counter intuitive if you haven't tried it, but the shape-seeking aspects of our visual systems do come into play with grids of dots. As others have said below, the words jump out at you as shapes. Sort of in the way that letters normally do. Just to approximate it, consider: :..'. But you may have to look at words a few thousand times before you get the full effect of this.

In general, the less visual noise and redundancy there is, the easier it is to recognize shapes. Consider looking at a pile of sand vs a pile of boulders, to get a sense of the extreme ends of this spectrum. Pile of sand: high complexity, harder to make out visual shapes. Pile of boulders: low complexity, easy to make out shapes. It is possible to map each letter to unique arrangements of 1000 disordered grains of sand, but clearly a few boulders per letter would be better. Consider that it takes about 20 pixels to represent each Latin letter. We scrapped reading fancy calligraphy because they would take more like 40px or so pixels to represent. And the extra flourishes really just added superfluity to the page. Only that was difficult for us to see, since we were so used to the calligraphy as the norm. I think it's naive to think the current state is the apex. Let's get rid of the remaining flourishes! Calligraphy is sand. Latin is marbles (or spaghetti might be apter). Binary grids are boulders. Just stare at the equivalent paragraphs under "How much better is it?" on dotsies.org for a while and you'll get a sense of this. (Especially if you can do so while imagining you're unfamiliar with Latin letters.)

I think I made a joke in 2012 about cave-men waving their spears at the stone-age version of hacker news claiming their bison heads and triangles couldn't possibly be improved on :).

Just wanted to give a quick summary. Will reply to other comments directly.

Btw I'm also the creator of Xiki, which has been discussed on HN as well, and has a stronger claim to originality/practicality. I did 2 kickstarters for it, which didn't get much hacker news attention, much to my disappointment. I'm doing a third soon and am hoping for more interest/abuse :). My new version will switch to using the markdown format, and will hopefully revolutionize the command line.
> Negative reviews can generally be tracked easily by registered user. It seems like a good enough idea that the force of negative reviews should fall off exponentially with respect to frequency per user that I'm surprised its either not done more, or more apparent.

> If someone complains all the time about everything, the people around them quickly learn to ignore it. Our systems should too.

That assumes that "too much" negative criticism is false and merely the result of a disagreeable personality. I think that assumption is false.

I think that's false, people who frequently post negative reviews may just be the kind of people who have legitimately higher standards vs. people who are happy with even objectively crappy things.

I don't think the frequency of negative reviews, by itself, gives you any real information about the quality of the reviewer.
RabbitMQ Summit 2018 Keynote: Idiomatic RabbitMQ
>> Just for crossing the street, I’m rewarded with an even fancier President (of Apple Products) title

This could be humble bragging - I got a promotion, but I'm not gonna toot my own horn. It could also be a poke at the C-suites to gain support from the masses (they don't deserve what they get just because of where they sit) or out of resentment. It could also be a psychological defense attempting to frame it as though he didn't belong there in the first place, rather than being fired for screwing up. I'm sure there are plenty of other interpretations, but I can't think of a really positive reason for making such a statement.
Bias against women in Tech
There's a lot of discretion, I think - it's a customer service issue primarily, but I generally haven't had to provide any evidence (but I imagine if I claimed some high percentage of all my orders from one merchant were stolen, they'd demand proof or ultimately refuse to accept my orders).
I recommend reading the solutions on the Advent of Code subreddit: https://www.reddit.com/r/adventofcode/

There are much more interesting, highly optimized solutions and better discussion, animations, etc.
How the orders are distributed in the order book.
How the hell have you done it? (1961)
For me this breaks after completing 10 or 11 lines, pieces no longer appear or fall unless I press some keys. Edge on Windows 10 with Flash 32.0.0.101 64 bit.
Not as much as the extremists but a decent amount. 10 years ago being first introduction to programming some time in K-12 to now: besides what you learn in a CS degree, I've made significant contributions to Unity3D games including networking code on the one that's an MMO, wrote emulators, wrote a graphical IDE with a custom assembler for NES games, made some HTML5 games like a recreation of the Windows 95 maze with Three.js, and now in the professional world I've learned a lot about a certain CMS and taken a decent amount of online courses provided at work for professional advancement, such as one on R. I'm personally satisfied with the breadth and depth of what I've learned, especially given I have other hobbies.
9th on the leaderboard is insane, great work.
Do you plan to offer something around one-shot machine transcription with offline/on-prem search?

I have ~200k hours of legacy audio I'd love to be able to do a fuzzy (phonetic?) search on, to pull content from and get real (human-edited) transcriptions of important stuff to resurface it, but there's not a lot of incentive to push it through a service for a quarter million dollars and then also pay to store and search it, since we're currently doing without it. Doing it at extremely low priority, delivering it over a long span of time, for an order of magnitude cheaper, with our IT standing up some stock fuzzy search engine, is a pretty easy sell, though.
Obligatory https://xkcd.com/1987/
Agreed. I am often surprised that not more people have learned this. As far back as high school (over 20 years ago), I learned that guys good in football that brought glory to our school were not necessarily the best people to hang out with. Some were idiots, to be frank, but on the field, they were a marvel to watch on the field. Since then I have always separated the man from his heroics.
Are there other agencies you can contact?
a) "Rent-controlled" apartments account for less than 24,000 units across all of NYC.

b) "Rent-stabilized" apartments account for a significantly larger percentage but the majority of stabilized apartments in the more desirable areas (all of Manhattan, Astoria/LIC, Sunnyside, close parts of Brooklyn) are within 20% distance of market rate and lose their classification once they cross ~$2700/mo.

c) On the whole, owners of buildings renting to rent-stabilized tenants are not losing money and can afford to make capital improvements (which increase rents) and hire management companies just like with any other building.
Version management is pretty easy to solve: Just use virtualenv and you won't have a problem. If you start messing around with system level python package installs, you'll likely make a mess.

As for ugly, I disagree and find Python some of the easiest code to read. "Slow" depends on the application. For 90% of the apps out there, you're waiting on something else (network IO, DB, etc.) and it's fine.
I can't believe this was upvoted. These aren't reasons that Python sucks, they're nitpicks from a guy who has decided long ago that he knows what he likes and refuses to try anything else.

> "If I have the choice between using some pre-existing Python code or rewriting it in C, I'd rather rewrite it in C."

I should have stopped reading there, because this shows just how set the author is in his ways. Both languages have a place, and if I'm writing a web scraper, you can bet your ass it's not going to be in C.
I'm having trouble relating to parent's comment too. Are they only shopping at airport bookstores?
Automatic Kubernetes Deployment with Gaia and HashiCorp Vault
> Your scenario assumes that larger competitors, possibly from other localities and nations, will not come in and provide services as well as you can at a lower price (perhaps by subsidizing at first to gain market share).

This doesn't apply to all industries nor all products and services that can be offered. I suggest reading, "Small Giants."

Not everyone wants to do business with big players. Some people are forced to due to lower prices and their diminished funds, but not everyone is in that boat. Small, privately owned business can operate just fine surrounded by big players, especially when customer service and customer satisfaction absolutely smashes the big player across the street. Suggested reading: "The Millionaire Next", which clearly indicates that a lot of wealthy families got wealthy providing professional services to other wealthy families.

You have to start somewhere and at some scale, and once you reach a certain point, you can stop. It's OK not to want to be the next billionaire.

> Do you have examples of occupations that can achieve success with a skill level of 8 out of 10?

Computer programming. 6/10 in London will get you lucrative contracts you can use to bootstrap a side business with part of the proceeds. London is so dense and business so freely flowing, that the GFC did next to nothing for most of us in this industry. We still got our AUD$1,200/day payslips.

DevOps. 7/10 would get you a huge daily rate (like I'm on now) and that can be used to bootstrap a side business (like I'm doing now.)

Driving Instructor. I remember my instructor back home in England. Lawrence. Lovely guy. Good instructor. Maybe 7-8/10. AUD$35/hour for a driving lesson. Had so much business he was hard to get a booking with and could pick and choose his clients. Why? Because every year a new 16 year old boy/girl entered the arena and wanted to learn to drive. Tens of thousands of them from the surrounding towns. Despite the very large instructor schools having hundreds of instructors all over the country, Lawrence was "successful" and continues to be.

Cafes, bookstores (despite what you said earlier), and those kind of businesses (those that can be operate by a single business owner) easily stay in business here in Australia and certainly at home in England.

Overall, I think you'll find the problems you've outlined to be mostly exclusive to and quite excessively bad in the US, but it's not the case in the UK and Australia (to the same degree.) I'm going to bet a lot of Europe is the same as AU/UK, too. Yes big players exists here, but check out this documentary about why Starbucks failed here in Australia: https://www.youtube.com/watch?v=_FGUkxn5kZQ -- what was it you were saying about economy of scale?
Conda which was built for Python (Linux, Windows, OSX, arm) handles package dependencies. Anaconda is built on it and R packages are also distributed with it. If you really want to, you can build perl packages or really any kind of package you want.
It's not just the students. Faculty members do it. Board members do it. It's a cheap way to look smart and can lead to a toxic environment if left unchecked. It's much harder to make positive work than to criticize.
Early in my career, I figured that, the code speaks for itself. If it works, it works! Can't argue with that. That's one of the appealing things about working with machines. They're almost never "wrong", it's always something you can fix, do correctly, and ergo, win.

Later I learned, yes, a quick solution can be a good solution; but there can be more than one good solution, and in fact, others can be better. More maintainable, less verbose, so clear and simple there are obviously no errors. Abstractions in the right place and the right level. Modeling a business domain that stakeholders understand.

In the same way, just telling somebody "the truth" can get the message across. But it makes you the junior engineer of talking to people. As you grow in your career, you learn that there are many ways to communicate with the people around you. And different tones and patterns appeal to different people... or even to the same person at different times, based on mood or context.

You can learn (if you care) to work well with these complicated organic machines we call humans. And you can always get better and better at it, even when you already think you're doing the brave thing, the heroic thing, the right thing.
During the week I'm mostly cooking for myself when I'm not traveling and the 2-person orientation is sort of the nail in BA's coffin for me. And, on weekends, when I'm often cooking for others I rather enjoy planning a menu and making a meal from scratch.

If I were regularly cooking during the week with someone else, assuming we weren't regularly coming home too late, I could definitely see using these services off and on just for the sake of some variety.
Falcon 1 launched successfully on the last 2 flights (F1-4 & F1-5). But only F1-5 had a paying customer. F1-4 was a dummy test payload.
Meez Meals works on an opt-in basis. Their food's pretty good I think. Only available in the midwest at the moment.
The Josef might be worth stealing though.
Nvidia learned to make realistic faces
This has been previously mentioned but F# gets all of the goodies that come with being a .NET language. Elixir comes from Ruby land and thus has a framework called Phoenix(?) which also has its fans.

The big difference is that F# is a statically typed functional language, while Elixir is a dynamically typed functional language. Comparison of static vs dynamic types -> https://hackernoon.com/statically-typed-vs-dynamically-typed...

I personally opted for F# because of the domain modelling tools and the offloading of various caveats and edge cases onto the compiler's stack rather than the meatspace stack, but Elixir has many fans for a good reason no doubt, but I'll defer to someone with more experience working with it to weigh in.
If you buy every single ingredient absolutely but that's not how cooking-at-home food math works.

You head to the grocery store and buy whatever beef cut is on sale so if you're buying a porterhouse it's because it's $4-6. Your pantry is already stocked with butter, flour, eggs, sugar, and potatoes. You had some almost stale graham crackers lying around which is why you decided to make cheesecake. You hit up the store buy some asparagus, cream cheese, and whatever fruit is in season rounding out to about $10-12 bucks and you've pretty much got the meal with plenty of leftovers and leftover ingredients for whatever you do next.

You can spread a good cheese out over multiple meals to lower the cost but I'm not seeing how to get even a brie without going over budget here though.
Yes, indeed I note that often in drug trials they hand out the placebo with the instructions "this is the drug to treat a different condition to the one you have"
It explains on the website what it is. And if you are going to rail against something, you should understand what you are railing against.
This sounds really interesting! Will be following you guys. Is there a twitter account I could follow?
...why wouldn't you want to be his friend?
I mean, how is it environmentally worse that one guy go make a whole bunch of deliveries to a whole bunch of people vs one guy driving to the store and back?

Couldn't you make the argument that the distance being traveled for OP's packages is only the distance between the package immediately before and after his package?

The product is getting delivered to your house both ways, it's just that one is by you and the other isn't. It's not as bad as you make it seem.
But the price of satellites is also much higher. A GEO commset made to common specs is going to be costing something north of $100 million. A custom DoD spysat might be in the billions. SpaceX is making very good inroads in the former but not the later.
I find negative reviews better since they tend to have actual discussion of issues and flaws. If it is someone giving 1 star because of the post office or because Wolfenstein dares to portray nazis in a bad light you roll your eyes and move on.

I think a positive review could have a similar impact but it would need to be really detailed like say "I did the math and this is the optimal price point for data storage vs cost".

The issue mentioned of expected rank inflation from unrealistic standards is probably why. We are used to cheap crap being called awesome and the greatest thing ever and filter out the noise.

Negative reviews are the anti-marketing it is no wonder people pay attention.
I honestly don't blame the drivers. It's not just your house. Consider the number of packages they have to deliver and the cumulative amount of time this adds to their route. I've seen estimates that a typical residential driver delivers something like 150-200 packages per day. Even an extra 30 seconds per package adds up to over an hour of additional time to complete their route.

The incentive structure simply isn't set up to reward a delivery driver taking that extra effort. In fact, it explicitly punishes it.
Replying to "icantdrive55"

I agree - I find the whole mess, with flag / dead / shadowbanned, to be extremely cowardly. It reminds me of Hettinga [1], who would quietly delete comments he disagreed with from his blog. In both cases it was an issue of "private property so they can do what they want" but I still dislike it.

[1] https://en.wikipedia.org/wiki/Robert_Hettinga
Why do you keep drawing comparisons to social media platforms? Someone that acts as a patron to a specific content creator on Patreon doesn't have to know anything about any other creators using the platform to generate income. As the great grandparent stated it doesn't really matter. Crowdfunding and social media platforms serve different purposes and are compelled by different forces. In fact, I can't see any reason why this theoretical crowdfunding platform should ever need to disclose a full list of creators to any of its users.
I have yet to use poetry although I’ve heard great things and I’ve read a blog post that kind of sold me into it. How would you say it ranks compared to pipenv? I’ve had frustrating issues with the latter in the past month.

I can’t help but think that the lack of Kenneth Ritz in the commit list since summer has something to do with this. I don’t recall the exact scenario, but I think there was some kind of falling out between him and the community.