skysight-inc/HackerNews huggingface dataset:
I love the idea of auto range-based iteration but it's full of warts like the one you mention. Recently I found myself wanting an iterator over a combinatorial family.

Generation of a single solution: 3 easy lines (calling on a few hundred lines of goofy math that actually describes the structure, but that's common to all of these approaches)

Writing a for-loop to fill a std::vector of solutions -- about 10 lines of a familiar stack-walking pattern which could confuse a novice.

Making a fake container that defines a begin() and end() along with a nested iterator class: about 20 lines of necessary boilerplate, another 20 lines to replicate the stack-walking, now sprinkled about the boilerplate. The novice is completely bewildered, so we add another 10-20 lines of comments to explain it.

So I have this strong urge to keep the first two implementations in place, just to provide a gentler ramp. But I won't use the code in the end, so it would only add maintenance overhead, so a lone tear rolls down my cheek as I delete the clear, readable code.

In python, this is often as easy as changing square brackets to parentheses to change a list comprehension into a generator.
Covid-19: Unprecedented Challenges and Chances
Try asking for an agenda, then if they give you one, you will know one of two things: I can contribute to this discussion, or I can't contribute to this discussion. If they don't give you an agenda, then they don't know what they're going to talk about either ...
Checking Hacker News>New multiple times a day and following all the interesting links.
I don't feel like their fees should be capped necessarily, but I DO feel like they should be required to charge them all to customers directly rather than bleeding small businesses dry. Let informed consumers decide how much app overhead they're willing to put up with.
Sorry to beat a dead horse, but...

Someone already owns a company before company sells (issues / dilutes) shares. That ownership is just shares. No shares need to ever be sold for them to exist. Founders create shares out of nothing when they create a business.
A (Mostly) Complete Guide to React Rendering Behavior
What a blast from the past. It was always difficult to access the RAM underneath the ROM above 48K. You could but you'd have no system calls available.
Making a Googol:1 Reduction with Lego Gears
Yep, and it's worse when someone I don't even report to demands regular status updates. Rising-up in that firm meant demonstrating leadership by getting people to report to you, even if in an unofficial capacity.

Or there was the company where we had four (!) hours of meetings per day: two in the morning and two in the afternoon. All we ever discussed is what we didn't get done during lunch time.

After I left all that, my one question when interviewing with a hiring manager became: "How often do you have meetings?" A lot of people got very flustered with that one.
If you are making the point that Twitter arguments are counterproductive, I agree. I will concede all objections about tone because my life is too short to get dragged into Twitter tone policing.

I do find the recommendations interesting and would like to keep the conversation about them. I would especially like to avoid gatekeeping and No True Scotsman arguments in a thread about code.
>I think the underlying question is "what is the alternative?". Twice a month everyone in the US from the middle class up, has to invest a fairly substantial chunk of money. With the FIRE movement this is only growing. Where but in the stock market should that money go?

At a certain point, we should just admit that we're taking money from the middle class and using it to play-act private investment while actually socializing investment. We should then go the full distance and actually socialize most of the economy, so that twice a month people are compensated not with abstract, speculative 401(k) prospectuses, but with an equal vote and a dividend in their own workplace.

https://www.jacobinmag.com/2017/08/sweden-social-democracy-m...

https://journals.sagepub.com/doi/full/10.1177/08969205134853...
I remember using it around the time they switched names. Although I barely ever used the collaborative features, SEE's multi-cursor editing capabilities were like magic. Yeah, other editors let you edit multiple lines, but SEE was the first editor I'd used that gave you multiple distinct cursors, rather than giving you a single vertically stacked cursor. Top that off with OSX's default emacs keybindings, and you had a super simple, but incredibly powerful editing experience.

I eventually needed something cross-platform and switched to Sublime, but I still have very fond memories of SEE.
You may want to consider having a conversation with the middle manager about how this meeting is ineffective and needs to be split into separate, more targeted meetings with smaller groups of individuals where delegates from each meeting eventually sync with one another to discuss findings. You say it is "scheduled daily because reasons" but do you know what those reasons are? Have you tried to understand the goals of the meeting from the organizer and suggest more efficient ways to get to that goal if you find the current mechanism wasteful?

If either you or they do not both have
1) The understanding of why this is necessary
2) How to go about it successfully

Congratulations! You are now the lucky owner of two problems. You (or perhaps your manager) have your work cut out for you. For what it's worth, I was having a conversation with another engineer on my team this week, and we both thought a lot about how actually tricky and yet high value this labor is. The truth is, probably nobody likes that the meeting has become so large and unwieldy. Everybody can probably sense that something is not working properly.

But nobody knows what to do. Or maybe, they're scared to take initiative. Will you be the person that steps in and tries to turn things around? I promise, it's usually easier than it looks!
Cook County in Illinois is reassessing property taxes for commercial real estate based on post pandemic valuations.

They’re already deep in the red financially, but there is some relief for the property owner.
Covid-Modeling Learning Guide
Not to be pedantic, but wouldn't changing the year to 2020 itself count as a copyrightable change?
Sorry, I know this is very off topic but I found the video fascinating and thought other people would enjoy it too. Feel free to remove if this is too far from the point of HN.
But is there really competition? All platforms seem to charge the same outrageous fees to the businesses, we're not seeing competition driving fees down. It's more like a coordinated oligopoly with price-fixing.
> It didn’t help that a month before shutting down a group of workers unionized in Ontario, and further threw a wrench in a terribly low margin business and now none of them have a job and the entire city is stuck using Uber

I don't think unionizing is ever a problem. I you do moralistic acceptable business practices. If your business is only profitable by paying below acceptable
salary, push side costs onto employees or cutting corner wrt. employee safety then it IHMO it is better for your business to close. Additionally if a whole industry is affected by this then IMHO it needs a major reform in how it works or it should just cease to exist.

Sure food delivery can not cease to exist, it's needed but if their is no way to operate it profitable without taking advantage of delivery personal and/or restaurants then it needs a major change. Either people need to accept that delivered food is more costly or the state needs to subvention it (during epidemics and similar where it's an somewhat essential service for some people, like when your stove just broke yesterday).
And quora
That implies that they can be reduced. Maybe "reductors"?

That said, I am on the "name abstractions after the math" side of things. It makes it much clearer what guarantees I have when working with the interface, on either side of it.
Creating a complex, but exciting solution for a problem that doesn't exist. Sometimes I waste half year or more in a bad research direction that I shouldn't have taken.
I had an idea, and I think Travis Kalanick started building something like it, where restaurants rent kitchen space alongside other virtual restaurants. The site would have good road access and be centralized, so pickups are faster, and the space would be used more efficiently that high-rent retail space. I got the idea seeing a local restaurant with most of it's orders being picked by a food delivery service, yet they were paying for a good, downtown location where parking is hard.
Yes and no. There are services out there that make it easy for restaurants to have a great online presence, including online ordering (here is an example www.getbento.com). And generally I think restaurant websites have been getting better and better. Restaurant owners are much more aware of the importance of online presence.

That's only half the battle though, food delivery marketplaces like Grubhub are very entrenched and changing consumer behavior back to using the restaurant's website takes time and effort. Marketplaces also spend a ton on marketing to make sure consumers go through them and not directly via the restaurant's website. It's an uphill battle for the restaurants.
Agree. But there will definitely be a lot of losers in the locations that lose value...
The build time for my app, if I run all the unit tests and checks is really long. In the order of 5 minutes I think. This is a real pain, so usually I try to tackle a quick TODO (like an easy code review) while the build is running, but...

... context switching is also a real pain. Slack is a killer for that because I obsessed over seeing the little dot on the icon. "What if it's really important? What if someone needs support to get unblocked now?", so I always check incoming messages. This one is probably mostly on me having some mild OCD or something.
What Will the Next Semiconductor Node Offer Us? (TSMC, 2019)
Not so fast! Just because the CSS is only served to the authenticated account which installed it doesn't necessarily mean things are 100% okay.

There could be cross-site scripting attacks whereby the user clicks on something evil in a malicious site which attacks that user's HN authenticated session by installing some malicious CSS in their profile. The UI could require a confirmation of the account password for updating any security-sensitive properties.

Users could also shoot themselves in the foot with bad CSS. The obvious fix for that is that the profile settings page itself doesn't inject the CSS, or there is a safe variant of its URL which doesn't inject CSS.
this and there doesn't appear to be an abundance of choice in teh apps? and they're consolidating right now
Hey it's Marissa from the Neutral team. Thanks for checking our tool out! Just want to mention that Neutral only accesses data on supported shopping sites like Amazon to perform carbon footprint calculations.

Sorry about the broken site! We're currently fixing it up along with the release of our tool on Firefox!
Do you have a project manager / product owner on your team?
Bonds are very similar to equity. I've just recently realized this.

Companies get funding from two sources, equity and debt. The sum of those are equal to assets in the balance sheet. Both represent different forms of ownership of the company. Equity holders decide how the company is managed, debt holders have priority in income distribution and in liquidation.
This is great. If I grok right this is basically the best of native threads and the best of green threads put together.

I think I proposed this at a crazy idea talk at VEE a long ass time ago (10 years or more). It’s still a good idea but I guess not crazy anymore.
We have cloud JIRA (Attlasian hosted) and it is awfully slow. And it is always changing the interface so I have to click around that laggy interface every time to find what I need.
There's two aspects of the government "springing into action":

1) The government trying to preserve businesses and jobs (both capital and employment) in a crisis through general Keynesian stimulus and industry-specific bailouts (a sort of corporate clientelism, whatever the justification may be).

2) The government having to pay to shore up losses of business where the business should have known better. This is the general populace taking the hit for particular bets gone wrong by private actors. I don't see that as much in this crisis. The closest I can tell is companies spending so much on dividends and buy-backs in the past few years without keeping any sort of cushion. The companies that are most distressed are the squeaky nails that get the hammer. This is a moral hazard. Of course, you must seem sympathetic to the present administration and, to a lesser extent, the public too. That's why airlines have been bailed out but not cruise companies.
I tried to explain in this comment: https://news.ycombinator.com/item?id=23033922
...a number of separate reasons why a UBI at the US federal level takes away freedom to try better ideas to do good at other levels, is harmful and wrong, and that we can do much more good with persuasion, fundraising, letting states handle it (or smaller scopes), etc etc. States are like nations in some ways, and can learn from each other and find the best ways to do things, even forming alliances between them, without violating the constitutional limits on federal power. :)

(If down-voting, a thoughtful comment is appreciated; thanks.)
Ask HN: How do you answer “where do you see yourself in 5 years?”
This literally came to me in the shower.

A couple of recruiters posed the "5 years" question to me over the past week. In earlier days I would have signaled my ambition with "general manager with P&L responsibility" or some similar sentiment.

Well, the years have passed. I've cycled through a series of, well frankly, shitty tech jobs. I'm relatively close to FIRE status but forge ahead whenever there's an opportunity to learn a new skill, or to be around people that I like & trust. Hopefully both.

My question is, why not answer the 5Y this way: "As the technical master of <this domain at this company>. Nothing more, nothing less." Because I've had it with trying to look ambitious. It's just not worth the heartburn.

Counterpoints welcomed.
Do you have any recommendations for books about Game Architecture?
I'm curious what you think of PipeWire:

https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Per...

It claims to get near Jack latency, while implementing a more generic audio graph with better security than PulseAudio.

In regards to Linux scheduler performance, do you have any experience with SCHED_DEADLINE?
I never ever said anything about top-down choice depriving solutions. That is a straw-man you have dragged into this conversation.

This is not a debate about the merits of capitalism vs. socialism (or communism).

This is simply saying that some free-market solutions lead to worse outcomes for society. My hoped-for solution was a co-op model app which is completely in the free market realm.

You went ahead and made this about the inherent virtue of capitalism and choice.

I really dont know what you are saying about Amazon since you seem to be equivocating. Not letting Amazon be a monopoly is depriving their customers of choice!
Renting isn't the biggest evil out there, all things considered, but it's not the most moral thing either. You are by definition (for what this guy is doing) profiting off of a limited resource, because you have better financial leverage than the end user. You are making interest money. I'm no muslim but I see merit in calling making interest money a sin.

But then so is making money from index funds so I suppose we're all going to hell!
Ask HN: Books on how to implement math calculations
Are there any well-known or hidden gem books on how to implement, for example, linear algebra/probability/diffeq/etc. either discrete or continuous methods? Say one wishes to understand how linear algebra or statistics libraries are written.
Social distancing was always going to happen. Restaurants here in NYC were running at one quarter their normal business in the days leading up to the official lockdown. People aren't stupid, and will choose to stay home when a pandemic is ravaging their community regardless of what official guidance might be.

There's no world in which the pandemic is running unchecked through society and people are acting like everything is fine and normal and doing all the usual stuff they're accustomed to.

This is a conflation of what the virus itself has down, and the response to it.
As a developer, it's waiting to receive customer specs from management. Sometimes I think we should just get the specs directly.
I personally believe these businesses have lagged seriously in upgrading themselves to what was coming for them. They would have paid a certain percentage to cooks, and staff from the prices they were charging, definitely lower than they deserved (hence tipping). Nobody ever complained about them not paying enough and not buying insurance for them. Now once these delivery companies have forced their hands into paying commissions (BTW same items are expensive 10-30% on Uber/DoorDash and people still order) they have suddenly came to a rude awakening. Not that I don’t sympathize with small business owners going through trouble, but this sound hypocritical when Amazon in retail space has done exact thing and nobody cares, but over here everyone sees opportunity for political point scoring.
Debugging a single-executable container is quite unpleasant. I assume debugging unikernels or thin VMs (with a kernel and a single program) would be a similar experience.
TypeScript for JavaScript, Part 1 – Set it up
For context, the largest alternative client for CSGO (and previous iterations) was ESEA in North America. ESEA released a client that used their user's hardware to mine bitcoins [1]. These users also put up with lpkane for years who was quite dismissive or hostile towards any concerns regarding the service. There was even a good bit of speculation that anti-cheat staff were accessing user files.

I agree with Valve's approach with CSGO but the state of gaming and community acceptance has been trending towards more invasive measures in the name of dealing with cheaters for a while.

Valorant is currently on my system, which is understandably built for being a competitive esport game,but now Doom Eternal? Who is playing Doom Eternal that competitively?

[1] https://www.theverge.com/2013/5/2/4292672/esea-gaming-networ...
I feel like I have two currencies at work, one being time and the other being mental fatigue. Average time wasting (snacking, reading, going for a walk) only consumes time, but coding and meetings both cause mental fatigue. It’s worse for my productivity than if I spent an hour laying outside.
There would still be consequences in the short term if droves of retail investors begin to sell. Consider normal daily/weekly volume, and what would happen if a large percentage of retail decides to liquidate at once. More sellers than buyers will depress share price irrespective of those sellers total % of ownership.
Perhaps consider a FLAX?

Four letter acronym, experimental.
If not stocks, then what? I wonder if there's some other investment vehicle that's become more appealing than it was before in this shifting landscape. Obviously not real-estate. Is hoarding cash really the advice for now?
I fear I may have done this to my hands out of ignorance; after frequently assaulting them with alcohol-based sanitizer and dishwashing soap while on lockdown, they now get pruney very quickly when they come in contact with water.

Is this situation irreversible?
Sounds interesting, good examples of this? Curious, if it's available in London (UK)
Copyright is automatic in all countries that have ratified the Berne Convention. Countries that have ratified TRIPS (which is a requirement for membership in the WTO) also follow the Berne Convention rules. There's a handful of countries that aren't members of the WTO that don't follow these rules. I would assume that enforcing copyright in these countries might prove problematic with or without a copyright notice.
The US government has been performing standard Keynesian monetary & fiscal stimulus measures during crises since the Depression. That's what I mean when I say the government is ready to spring into action. It's possible to imagine a totally laissez-faire world where they wouldn't do that. Despite the strength of free-marketeers in the US, we're not quite there yet.
Yes, look at Greece, they implemented extreme measures.
As a result, they basically had no issues at all with the virus compared to neighbouring Italy and Turkey.
The exponential issue was still there in version 4 and I think 5 as well. Didn't say SourceKit crashed, but it was virtually useless because it functioned like a crap version of the language parser.
> two approaches

Hmmmm.... In my experience, for (neural) TTS the dominant option is to have one model to generate a melspectrogram from the text (handling prosody) and a second model for synthesizing samples from the melspectrogram. (Tacotron, Lyrebird, and this Facebook group are all doing this.) There's certainly research projects on going directly from text to samples, but it's not the currently winning strategy... Maybe eventually, though. The Text->Mel portion specializes the prosody and pronunciation problem, and provides a nice place to add extra conditioning.

On the vocoder side: LPC, F0, etc can all be estimated from a reasonably sized melspectrogram; for the most part, these neural models are just letting the big vocoder model handle all of these things which are traditionally (fragile!) subtasks. The question is which "classical" parts are both cheap and reliable: you can compute these on the side and lighten the neural network's burden. LPC is great for this.
Really, if one is thinking about the end of the world, it is good to prepare, but we don't have to fear as we can be OK. In my belief system we have living prophets (comparable to Noah with the ark, etc etc), and they provide much good advice and support for us in these times. But yes, it is good to be humble & wise, to learn, and to prepare. I've put notes on what/why and how I reliably learned for myself, at my simple site (deals w/ climate change but applies to the rest of it...). I am just me and can be wrong, but am very confident in this case: http://lukecall.net/e-9223372036854581820.html

(ps: I realize this will seem wacko to most, but I'd appreciate it if you skim my reasoning, I worked hard to make it skimmable while saying in detail how I came to these conclusions, and add a reasoned comment, with any downvotes. Thanks.)
I agree if the disaster is truly short term, but is an 8 month rolling quarantine short enough to count?
Further, CoViD-19 literally stands for:
Co[rona] Vi[rus] D[isease] - [discovered in 20]19 - "D" standing for disease caused by this particular strain.

To be honest, I was a bit disappointed when I found out, though I admit now it's a little refreshing to have be so simply named.
Zenhub also wants read-write to all public and private repos. Why do apps think this is OK? Why can’t I give them only access to the group/repo using zenhub?
What do you think would happen to the economy if we let the virus run free through the population, and eventually everyone would be too scared to leave their house and quit showing up to their job?
Trying to steer a conversation about science into a conversation about politics.

Stay classy.