skysight-inc/HackerNews huggingface dataset:
Frankly, this is a very lame attempt at the package manager. All it does is download installer executables and run them. There is no ability to list installed packages, neither is the ability to uninstall. Where's the actual package management functionality?

Both Scoop and Choco are way better than this.
Hi, thanks for commenting!

The idea here is not to skip the code review, but augment it with a way to experiment with the feature as early as possible in the development process.

It’s particularly useful for product owners who may not be coders and want to give feedback on how the feature aligns with the vision.

It’s also useful for other developers because seeing the thing live will give more context as to what the feature does and how it behaves, and as such might help reviewing the code and get reviews other than « good to merge » without any meaningful comments.

And finally it’s also very useful in making sure every dev can do a little QA on their feature in a standardised environment that runs with non-dev setting, without waiting for a staging server to be available.

The 80/20 rule most likely applies here. For some PRs you won’t need preview environments (just don’t add the label), but from my consulting gigs I have experienced more than once the need for this kind of tooling, and also witnessed more than once how many companies try to reinvent their own thing and the time they spend/waste doing so.
Had a similar issue. Spend weeks debugging a process, adding logging metrics, making graphs to figure out where the performance cliff was in an email sending service. The results were so weird they were unexplainable.

Someone suggested just nuke it and bring it back up on a fresh instance. Problem was gone! Everything running smoothly again..
Well, I remember them being in english but I didn't watch much TV that wasn't in english so I have no idea whether they were mirrored there too.
Why Artificial Brains Need Sleep
My old company had a parking lot that was next to a stream that contained geese/geese nests. Every spring the geese would get increasingly aggressive and when you were walking to/from your car, pretty much every time you'd have a run in with an angry goose. Every time, I knew for certain I would win, but I really didn't want to have to deal with it. Nothing sounds like ruining a workday like fist fighting a goose on the way to your desk.
But if both people buy an item from the same vendor (say, an online store that services both areas), then obviously they would pay the same amount.

The differences in price you are describing are not changes in the value of the dollar but changes in the cost of producing and providing goods.
I'm just as upset by bloat and tracking as well but the criticism seem a little off for some reason I can't quite put my finger on.

I go to a restaurant and I can't just walk into the kitchen and grab a plate of food. Nor can I walk into the refrigerator, grab some supplied, and then walk over to the stations and start cooking. Instead I have wait to be seated, order indirectly via a waiter, wait for the chef and staff to prepare more order, etc...

It seems to me visiting a website is similar. The user choose to visit the site. That includes the 3rd parties and less controls. Just like I don't get to pick what sources the restaurant used for their food, nor do I have any say in their hiring or management practices. Nor do I have any choice in the music they play or the TVs they have on (bar like restaurants often have TVs). If I don't like their choices my choice is to be or not be a customer. I don't get to hack around that, walking in the back door and taking the food.

I know the analogy isn't perfect. It's my computer and I have no obligation to let them use it as they please vs as I please. But still, there's some middle ground IMO between the 2 extremes.
The Hot New Thing in Clubby Silicon Valley? An App Called Clubhouse
The Menus were a toolbar before the ribbon existed, which is why you could customize them. Visual Studio was the same. So it was natural for the ribbon to eat up the menus as well. Certainly that's part of why people disliked it, but the artificial separation between 'menu' and 'toolbar' was already kind of a problem and that's why they were unified.
Surprising? They're without income in a city where one-bedrooms rent for $4,000 at a time of low labor demand. Not sure what's surprising about being willing to relocate.
I have a Garmin GPS watch for jogging, and it worked fine at 700kph during a flight. Really helped my monthly average running speed.
Could you elaborate a bit on the problem of "ECS default deployment model"?
Yeah, I found that argument to be strange as well. Not everything needs to have a super dynamic UI.

That said, I do think that companies are running into serious issues trying to maintain and integrate legacy mainframe systems without fully or properly considering the maintenance costs.

Take the US airlines. My understanding is that these airlines are largely running on legacy booking and inventory systems that have been duct-taped together over the course of decades due to mergers and acquisitions, etc. Several large airlines have suffered major outages that were blamed on internal IT failures, sometimes resulting in grounded planes.

I’d love to hear more detail around this problem for those who have the context, but my understanding is that these companies have have many old systems that are costing a fortune to maintain and becoming less and less stable. I’d bet that you could find some pretty serious architecture flaws without digging too deeply into those systems, and I’d argue that those would be issues worth addressing above a UI.

Problem is that management can see and grasp a new UI far easier than architecture changes.
Science-backed ways to create lasting memories for your child
Hah! I heard about this on last weeks Wait Wait Don't tell me!
It's the unusual guests. Rogan himself is pretty dull, same repetitive talking points about uninteresting things.

The best shows are when he gets someone on and lets them talk for hours about a niche topic. He has a large back catalogue of strange guests, some are legitimately interesting. Skip any guests who are comedians or fighters.

I unsubscribed a few months back, either I outgrew the show or it has declined in quality. I just find him to be annoying most of the time now. But there are a lot of good episodes in the shows history.
This is what's confusing me about this chain of comments. All the big banks i'm aware of have APIs (Wells, Capital One, etc.). Most of the "neobanks" do as well (Monzo, Mercury, etc.)

If that's not enough, you can just use Plaid. Am I missing something here?
Maybe you should make a way to split subscription more prominently? Or at least say something like "Subscribe, and invite up to X friends to play for free with you".

P.S. I am not a marketing person, so have the idea massaged by one before actually adding that.
Joe's whole bit as an interviewer is the curious kid asking dumb questions and getting interesting answers because he manages to get the people talking about what they are interested in.

Joe gets teased by a ton of people for his dumb questions or how he goes off-topics, including for his Alpha Brain pseudoscience pill. But it's not a big deal to the fans.

I really dislike this idea that humans are all dumb and take all information at face value. Like little propoganda machines. Everyone in the west is trained since childhood to look through marketing, sales people, politicians, etc for the real message and not believe anything you hear. This is no different.
If Signal PINs came with a feature that made it possible for me to not have my identity tied to a phone number I'd have understood (and accepted?) this release and rollout better.
I had a nice, intellectual post dismembering you for attacking Win10 and its backwards compatibility, but you called yourself out in the end.

Read the whole comment, I guess.
The US government also defines the term "open source software" as allowing any use, both in top-level executive branch policies and in law. See my lengthy post elsewhere here for the details.
I use beancount, and a somewhat custom importer and categorizer. (happy to expand on those but this comment is about the multi-transaction).

I have the categorizer send such transactions to a temporary "limbo account". So I have two transactions:

# This TX is imported from checking acct statement:
2020-05-15 * "ACH Payment BankA credit card"
Assets:BankA:Checking -500
Equity:Limbo:CreditCardPayments

# This TX is imported from credit card statement:
2020-05-16 * "Payment applied THANK YOU"
Liabilities:BankB:CreditCard 500
Equity:Limbo:CreditCardPayments

In both cases the second posting is added by the automatic categorizer based on the description.

After doing a bout of imports, I look at the Limbo account, which should always sum to zero. Sometimes the two TXs don't appear on the same day, so occasionally there's a temporary balance there but that's fine.

I use the same to match up my direct deposits (one end from paystubs import, other from checking account), wire transfers between banks/brokerage, etc. I tend to put them in different subaccounts of "Equity:Limbo" so that I can more easily spot any discrepancies.

Edit: Should've first read the previous reply that says the same thing!
This doesn't have the debugger but it allows for a repl interface for awk https://paweldu.dev/posts/fzf-live-repl/

edit: There's also https://github.com/akavel/up which could possibly be used in combination with fzf
Anymore.
I use Joplin and sync all my notes to Dropbox. It cannot be called a Notion alternative exactly, because Notion's flexibility to manage different things using "blocks" is unmatched for. However after using Notion, I felt that most of my time/energy goes into understanding how to create the template and no it's not a one time thing. Every time I add a to-do/task or an issue or use it as a bookmark manager, I am often presented with the question "Could it be done any better?". It's very important to get the tool out of your way if you follow any process like GTD.

My current workflow involves Taskwarrior + Joplin. I use TW for very very specific tasks and `task next` helps me plan my day. I use Joplin as my "Notebook" and have all my notes synced there. The default theme is a bit ugly, agreed, so I use "Artim Dark" with it. The biggest reason to choose Joplin was that it's actively maintained, the apps are not great but decent I'd say, it lets me use the APIs and CLI tools to backup my Joplin DB and upload to remote storage periodically (in addition to the built in Dropbox sync), in case the sync doesn't work some day. I also use Joplin Web Clipper Firefox extension to save bookmarks/screenshots from website to a notebook "Bookmarks". It can even store the whole webpage in your Notebook, which is beautifully rendered. It even has support for E2EE for notes, but I am yet to explore that. The search is based on SQLite FTS4 and it works awesomely well. There is a support for wildcard queries, and it basically searches across all your notebooks and is quite fast that too.
Also, I love writing in Markdown, and unlike Notion, this is really quick to launch, open a notebook and start writing ASAP without dealing with the cognitive overhead that Notion presents with it's quirky "Template/Empty Page" options. Did I mention that I can write notes in any editor (I use VS Code) and Joplin will simply `watch` for changes on that file and save it in your notebook? :D

So basically I am in full control of my data, something any Notion user can never claim. I also love the fact that the code is OSS, the APIs are open and it allows me to build tools on top of Joplin to use it the way I like. And I don't have to worry for the day, the VC funding of Notion dries up and I am left with no option but to move to some other SASS product.
Cambridge University moves all lectures online until summer 2021
Have you considered a different model, where people play for free, but when they want to bet real money you take a small cut instead? I think it would be hugely more popular and profitable.

Not sure if that would be classified as gambling though, with all related regulations.
Couldn't you make the same argument about gay couples in a small town rural restaurant?

But would it be morally right to ban those couples from a restaurant?
I changed my mind. Did that physically cause you pain?

You must be in the political camp That insists on ingesting Chlorine to fight COVID19. Good luck!
Any idea what the large number of "sales" people in the SF Bay Area do/did for Uber? There isn't an ad business... seems like a marketing-driven customer and driver acquisition program... who is/was Uber directly selling to?
why open protocol and not help other competitors gain market share?
Singing is the most accessible stress reliever
It's worth thinking through the question of whether Iraq or Syria would not be entitled to see stolen property returned due to destabilization. Right now the possessor of the stolen property is an American who also has trafficked in a number of items which were looted in the aftermath of the US invasion of Iraq (this particular tablet was stolen earlier).

Art theft is a real issue in the US and Europe. If an art thief stole then sold a painting owned by an American to someone in China, would you support seeing the stolen property returned to the original owner? Would you take seriously the idea that the owner wasn't entitled to have their stolen property returned since there was a non-trivial chance the art could be stolen again?
There's probably a lot more than two ways too, eg.

mylist = map(lambda x: x * 2, range(1, 10))
It might be under an open source license. In which case anyone who has access to the source can exercise their rights under that license. Being open source does not necessarily mean that it's available for download on the web, though eventually it will be.
Wanting to portray possible cases as confirmed cases...

From the article posted above:

> she objected to the removal of records showing people had symptoms or positive tests before the cases were announced
if only there were a currency that existed completely transparently on a public ledger that can be integrated into any finance tracking application without asking a company for API keys or scraping wouldn't it be crazy if someone made something like that money without permissions
> It's easier to justify the cost of a 200+$ espresso maker if I'm really that big of a fan and already have a defined habbit.

That's exactly what I did:
Started a small spreadsheet to work out how long it would take to pay off a $400 espresso maker. Turned out I would make my money back within a year.

Then there's the added bonus that I now own a decent espresso maker which has been great for making guests coffee/showing off. I also get to choose the beans and milk which means that if I wanted to, I could substantially lower the price of my self-made cup of coffee if I was ok with lower quality beans/milk (turns out that I am not ok with that, so no savings there :().
There's a online website [0] for mawk 1.3.4 that accepts input data, command and shows output as you construct the command

There's a handy github repo [1] with libraries, has one for csv. For json, see [2]. But yeah, having official support would be better. Or, use tools like xsv, jq, etc that are built for those formats.

You can use match() function to get capture group contents. If you are using GNU awk, then the syntax is much easier with arrays instead of fiddling with substr and RSTART/RLENGTH. For examples, see my repo [3]

[0] https://awk.js.org/

[1] https://github.com/e36freak/awk-libs

[2] https://github.com/step-/JSON.awk

[3] https://github.com/learnbyexample/learn_gnuawk/blob/master/g...
During Lockdown, Google Maps Gives My Son a Way Out
This mainly to woo developers who are now working on Mac OS or thinking to use Mac OS to use Windows and WSL combination instead for ML & AI application development.
Sure, if you consider precise mathematical terminology to be complicated neologisms.
In the women's 800m in Rio, the top 3 all had XY chromosomes and lived with high testosterone levels through puberty.

- Caster Semenya[1] (1st place). Here is an interview with her.[2]

- Francine Niyonsaba[3] (2nd place). Here is an interview with her.[4]

- Margaret Wambui[5] (3rd place). Here's an interview with her.[6]

I see a lot of people saying things like, "Where are all the world class transgender athletes that are dominating men on a routine basis?" Well they've failed to notice the intersex XY people who are dominating women's events.

1. https://en.wikipedia.org/wiki/Caster_Semenya

2. https://www.youtube.com/watch?v=XeQYdyDsioY&t=1m03s

3. https://en.wikipedia.org/wiki/Francine_Niyonsaba

4. https://www.youtube.com/watch?v=zTC3B2sgYf4

5. https://en.wikipedia.org/wiki/Margaret_Wambui

6. https://www.youtube.com/watch?v=PpCPnTBAWF4
And if they get someone smart enough to do the migration without sinking the business, they won't be repeating mistakes of the past and replacing their entrenched mainframe systems with more mainframes. Unless they are paying IBM to do it, and even IBM will likely be selling something sexier like a private cloud.
I don’t expect much from bland domain names like keyword.com

Which one would you visit?
search.com
Or
google.com
if what you have told me is true, you will have gained my trust
Windows 8 is a good example of why that might not work.
1. Are you sure you linked to the right page? That looks to be a condiment.

2. Chemical warfare was used before the Romans, for instance, like that condiment, the greeks had it before them. (Though I don't believe the greeks invented it first either). For example, see this wikipedia article (which is really in need of some improvement) https://en.wikipedia.org/wiki/Timeline_of_chemical_warfare
Do people actually use Docker and Ansible a lot for ML???

Doing something custom on top of the GPU is also not much different on Windows, than Linux. CUDA is basically the same. OpenCL and Vulkan are available too.

I'd like to hear perspective of a person, who actually does ML specifically on Linux for some reason.
The CDC hasn’t had a single briefing since March. The President came out and stated he’s taking a drug that his own officials say at best, doesn’t do much, and at worst, can kill you, tells you everything you need to know. The whole situation has gotten political. Trump called himself a wartime president but now apparently it’s all a hoax from the democrats.
"whereas you can see instantly if the money you're trying to pay with or receiving in change is the wrong colour."

Now try that when you're blind.
Cities Skylines would be the best bet at a modern equivalent. They do still make SimCity games, but they're pretty far removed from the mechanics of the old game.
Don't understand the negative comments here and on their subreddit... Secure Value Recovery and the associated PIN seems like an advance in the state of the art -- nobody else seems to do this. All users have to do is remember a few numbers.

I find it surprising that many users got so upset by the software asking them to set a password that they removed the app... seems a bit extreme. I guess if it was part of a "sign-up" flow, people would have been primed for it... But even then, it takes like just a minute to do it? /shrug
> Cryptocurrencies are not a magic bullet here.

Many CCs are great for micropayments, its just bitcoin that sucks - it shouldn't be that popular.
After setting a pin, if I try to change it, I don’t have to enter the existing pin? Something about this feels horribly wrong...
Btw, don't forget that there are worse strategies taken by giants:

1 Threaten the shared clients (when one of the giants tried to push out mellanox, it specifically sent a message to all enterprise customers to stop using the small competition, or else they'll loss benefits)
2 (Almost ?) Every startup is violating some IBM/broadcomm/Google/etc patents, those are playing cards that can be used to shut them down or buy at a fraction of the value.
I was also surprised, but found this RFC for TensorFlow on top of DirectML: https://github.com/tensorflow/community/pull/243
Minneapolis is the biggest American metro between Chicago, Seattle, Dallas, and Phoenix. It basically anchors a huge amount of the country. SLC in contrast plays second fiddle to nearby (relatively speaking) Denver, Phoenix, and Las Vegas (at least it is bigger than Boise).

Ann Arbor is so small and close to Detroit, it is odd to hear it listed as a significant city in its own right (like Madison WI). Heck, they are about the same close-ish distance away from Toledo, and Toledo is much bigger than Ann Arbor.
It’s really “expected future revenue” that is the main metric.
Is that even possible, and what would be a use-case for that?
Birds can be quite aggressive and draw blood. I’ve seen crows dive bombing cats, hummingbirds getting super aggressive with humans.

A friend had a turkey vulture get on the back of a colleague of hers while doing some surveying.

I’ve been chased by geese.

Just respect nature.
You can't use Canadian Geese as the example. They are uniquely assholes among a lot of larger birds and attack people regularly.

I don't know about other places but growing up in Canada you learn to give those a wide berth if you seed them anywhere near a walking path.
That would very greatly increase the complexity of sum. Consider that python is dynamically typed, has heterogeneous lists, and that sum takes an iterable, not just a list.

> isn’t it already inspecting the type of the list elements

Actually it only checks if the type of start (the initial accumulator value) is a string. If the accumulator becomes a string later on, it's happy to sum strings.
This is especially true when writing code that needs to run on many cores -- Python starts getting really cumbersome in this case, which can be avoided using the relatively elegant threading models in alternative languages.
It...exists.
I would love to know what the problem is. We do dozen of deployments every week with a ALB + ECS + Fargate setup.
We upload a new container image, create a new task and launch as many tasks as desired (so if we want 2 containers running we launch 2, for a total of 4). ALB calls the /health endpoints on the new containers and if they pass the healthchecks it drains connections to the old containers and stops the tasks. This has worked seamlessly for a long time now without any downtime during deployments.

EDIT: I should mentioned that we are using AWS CDK for all of this. All it does is register a new task as the default task for a service and ECS/ALB does the rest.
Ask HN: Why aren't more contact tracing apps using GPS instead of Bluetooth?
Many contact tracing apps are only trying to use Bluetooth to decide which devices you're near.

Is that really a good approach?

I don't think so. It doesn't really matter if you're physically near me, if I cough on something and an hour later you touch that, you're very likely to get infected.

Shouldn't the apps trace a persons movement? Then once a case is encountered ping all the individuals who crossed paths?

The persons movements wouldn't necessarily have to be sent to a central server, they could be stored locally.

Are there other concerns or limitations that I'm missing?
On a very similar note, wild turkey are actually very dangerous. Their legs have spurs on them, which have been known to cause severe or even fatal injury to small animals like dogs. I remember being told when I lived in the country to avoid aggravating them.

Example of spurs: https://www.turkeyandturkeyhunting.com/featured/turkey-spurs...
Metered connections and constrained devices exist. Even in 1st world countries.