skysight-inc/HackerNews huggingface dataset:
Example from the docs:

// pill.go
package painkiller

//go:generate stringer -type=Pill
type Pill int

const (
Placebo Pill = iota
Aspirin
Ibuprofen
Paracetamol
Acetaminophen = Paracetamol
)

Then running `go generate` will yield:

$ cat pill_string.go
// Code generated by "stringer -type=Pill"; DO NOT EDIT.

package painkiller

import "strconv"

func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[Placebo-0]
_ = x[Aspirin-1]
_ = x[Ibuprofen-2]
_ = x[Paracetamol-3]
}

const _Pill_name = "PlaceboAspirinIbuprofenParacetamol"

var _Pill_index = [...]uint8{0, 7, 14, 23, 34}

func (i Pill) String() string {
if i < 0 || i >= Pill(len(_Pill_index)-1) {
return "Pill(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Pill_name[_Pill_index[i]:_Pill_index[i+1]]
}

Note: indentation is messing up because of Hacker News, so ignore the indentation.
Mainstreet (Startup Credits)
I recently looked at mainstreet for our startup. Was already aware of R&D credit and just curious because an ad came up for them.
This is the form https://www.irs.gov/instructions/i6765
Long story short the if a person chooses the simplified box (1 bool), there's really only 1 box that needs to be filled out (total eligible spend), and it's a fairly simple calculation. Once per year. Literally 5-10 minutes of work or less. Per year.

So basically their whole business model is around a form with 1 line to fill out. Like really.... Come on? Other then that it's some kind of "pay day loan" service? Or oddly specific insurance policy for part of tax return? (And that doesn't make sense since it sounds like the IRS will wait years to actually audit these, at which point statistically mainstreet will be out of business)?

What am I missing?
Has the bar lowered this much for startups that this "one box wonder" is worth 3M funding?
(I'm the guy who guessed correctly and got early access). Sorry I have been busy with my main job and haven't been able to contrib much in the past couple of months or so, but I just took a look at it and it looks really good so far. I think some of the architectural things are well-considered, and also, one thing that I forsee is "calling out to a remote gpu", where the nx library itself can be used by a node that doesn't have a gpu, instead of having the node with a gpu expose an rpc to the gpuless node. I guess a relevant analogy here would be the difference between graphQL and REST, but possibly also allowing the gpuless node to gracefully degrade to cpu, if the gpu resource isn't available. The Nx API will likely present an opportunity to also make data gravity abstractions cleaner.

I think the elixir/erlang way of thinking about "concurrency as a special case of distribution" will apply to Nx, except "gpu as a special case of distribution" which means there won't be a leaky abstraction for remote gpu. I tried to get the Julia folks to adopt this sort of an attitude towards the juliagpu, but I'm a bit of a nobody so it didn't take.

Very excited! And I'm whipping up a little bit of something interesting related to Nx myself that hopefully I can release around the time of your talk, but I don't want to make any promises yet.
Actually, not true. What you're referring to is known as primogeniture succession, but there were also elective monarchies and tanistry, and probably more that I don't know about. Sometimes succession was limited to the immediate family, sometimes a 'bloodline', sometimes any eligible nobles.

https://en.m.wikipedia.org/wiki/Order_of_succession

For example that article mentions the Kingdom of Italy was briefly had this as the succession law:

The Kingdom of Italy was designated a secundogeniture for the second surviving son of Napoleon I Bonaparte but, failing such, provided for the emperor's stepson, Eugène de Beauharnais, to succeed, even though the latter had no blood relationship to the House of Bonaparte
Fungi in the Gut Prime Immunity Against Infection
Some buisnesses, but mostly government, can not put their data on cloud services of companies that operate under laws like the US Cloud Act and similar things.
This really should be the article link.
Not that you're wrong that JD has a huge following, but over the past 5 decades they have basically gone the way of American auto manufacturers: everyone knows that their products are inferior to the "imports" (which are all made in America anyway), and they survive by brand recognition, big head start establishing a dealer network, and servicing product categories that nobody else does.

Kubota is basically the Toyota to John Deere - they are eating JD's lunch in quality and buyer/owner perception (as well as sales volume) in the "small cars" segment, and is quickly moving up-market. Kubota doesn't sell combines yet, for example, and they are still not outselling JD in anything other than compact tractors, but the people who buy those (myself included) will never go back to JD. Deere has been plagued with quality issues and where they do innovate with some flashy features at times (just like the F-150 does vs the Tundra), they seem to often cause more trouble than they can be worth.

I would say that (depending on the "trade war" of course) Kubota and the "imports" will surpass JD in total units sold some time in the next decade and then start eroding their dominance in the large tractor market in the following decade, if not sooner.
What's the rationale for not introducing a new scope?

The only clause I can find in the PEP is

> A capture pattern always succeeds. It binds the subject value to the name using the scoping rules for name binding established for named expressions in PEP 572. (Summary: the name becomes a local variable in the closest containing function scope unless there's an applicable nonlocal or global statement.)

This seems... incredibly bad.
Yes, of course it's going to happen. The point is that it there is a significant difference between the players.

Here are some stats on this (collected by other people):

https://www.reddit.com/r/tennis/comments/habvu8/big_3_matche...

https://www.quora.com/How-often-has-Nadal-lost-after-holding...

https://tt.tennis-warehouse.com/index.php?threads%2Fmatch-po...

According the most recent of these threads Federer's lose-after-match-point percentage is 1.4%. Djokovic's is 0.2%. Djokovic also has a much higher win-after-facing-match-point percentage. It's hard to claim that this is purely due to randomness.
You said 'just come up with another phrase' and that's what they didn't do - they took an existing phrase with a similar meaning, and started to tell everyone they were going to advocate a different meaning. And then tried to trademark it to steal it from the community!!
GlobalSign: RSA-1024 leaf certificate issued after 2013-12-31
Or those that grew up with CP/M, MS-DOS and Xenix and aren't stuck in those days.
We've also done this on our team (we labeled them lightning talks), and people really enjoyed them. It also helps to get to know one another on a slightly deeper, non-work way without crossing boundaries.

Recommended!
I would assume radio stations have contracts that allow them to, quite literally, pay to play.
If you authorized an app to access the data shared with you, then you authorized release of your friends' information because that's what data you agreed to share with the app.

Indeed, where is a screenshot of the 'Authorize App' consent dialogue that users were presented with.

- A agrees to sharing info with B by accepting a friend request. Explicitly per the terms of service, and implicitly because technically anyone can take a screenshot or a photo or a video and share whatever's shared with them (even in DRM'd systems with limited key distribution).

- B authorizes C to retrieve the data available to B.

- C then reshares, sells, distributes, or otherwise transmits information to D.

F enabled A to share data with B, given explicit user consent. F enabled B to share data with C, given explicit user consent.

If you don't want people to know things, don't put that information on the internet; and don't authorize friends to share information you haven't volunteered.
Just another of the myriad examples of how the DMCA is abused with no repercussions to the abusers at all.

Remember when Youtube removed a video of someone in their garden with the rationale that the sounds of birds chirping infringed on some company's copyright [1]? And then they upheld the removal even following manual review, so the tired refrain that it was just an automated bot was not even applicable.

[1] https://waxy.org/2012/03/youtube_bypasses_the_dmca/
If I remember correctly Mercurial also made some dubious decisions early on (which they later reversed) that hurt adoption, like no in-repo branches and no ability to change history.
sorry for the downvote: please propose solutions that allow the language to evolve and not stagnate.

example: pylint-type tools that flag old ways of doing things, and suggest replacement syntax (e.g. https://pycodequ.al/docs/pylint-messages/r1717-consider-usin... )
GPS receiver accuracy relative to the constellation's time base is much much better than 55n. I'm working with a cheap (< 100 USD in prototype qty) OCXO that's good to a few parts in 10^-12 over 10 second periods. The GPS timebase varies from the TAI time base by up to a couple dozen nanoseconds, but it is very slowly varying.

A good GPS-disciplined OCXO can hold that accuracy over much longer intervals.

To take advantage of that accuracy you have to share the master reference oscillator between the telescope's clock tree and GPS receiver's clock tree. A commercial chipset's PPS output isn't going to cut it, but a dedicated amateur could definitely build a GPS-tagged radio telescope off of a common crystal like that.
Now if only there was a sensible way to self-host OSM data. From what I've found you either have to build a dedicated server to continuously building the tiles (which takes a ton of storage and processing power) or pay for it at an insane monthly price. I wish OSM would directly make their tiles available to mirror. (Maybe they do, but I haven't found it yet)
Especially with masks. You can't even guess what's being said by lip reading obvious mouth movements.
In the UK, it is legal to exercise with one other person. So one is able to go for a walk.

Despite this, virtually no companies I know of are encouraging this real, physical, safe interaction that has a huge potential for building team bonds.

It's been a year so far, and we could well be doing this for years.

I think that outdoor team events are a reasonable way forward.
I have been working with Haxe for over a decade now and the language has really gone from strength to strength in its community and in enterprise use. It's always gratifying to see it appear again, and I know Gama11 (OP) (and many others) have been putting in a lot of legwork for a long time.
hmm, so I would need to use some namespace class https://docs.python.org/3.8/library/types.html#types.SimpleN...
Regarding small, batch-oriented manufacturing; I am sure you're right that spreadsheets are better suited for that domain. But there are plenty of moderately-sized, batch-oriented factories or continuous-flow manufacturers that are using spreadsheets as well, and I don't think the technique is nearly as well suited there.

To clarify, my problem isn't with spreadsheets as a tool in general: my problem is that spreadsheets are powerful enough to do this particular job even for larger factories, but not powerful enough to do it without quickly becoming 10,000 layers of accreted, fossilized spaghetti. If the process is illegible to everyone who manages the factory, using the spreadsheet is akin to divination by tea leaves: dump your numbers into the sheet and hope that you can interpret the right action from it.

Restated: it seems to me that spreadsheets are often taken well-past their limits as an effective tool in the management of factories, and nobody seems to notice that its happening until its too late.
The real problem is that the cops face no recourse for blatantly defying a law they're suppose to follow - these are people that are, after all, suppose to enforce the law.
It is not a matter of working on a farm or not, your post reads like something strait out of the John Deere PR Dept or from /r/hailcorporate on reddit.
getting outside is the important part, no special need for extra money (more than salary), say no to (over-)consumerism!
I have not used Haxe, but looked over at it while writing Typescript - one thing I noticed were macros, which could make writing high-performance Typescript/javascript much more bearable. For example iterator protocols in JavaScript almost necessarily allocate memory (especially for user-defined types), but manually writing a for loop does not (but is a bunch of copypasta for a complex data structure).
Awesome, that's great to hear. I'm going to chat with our research team about the product, I'm not sure if it's a big enough pain point at the moment for us to pull the trigger, but I certainly see the value.
Google Maps is funded by corporations who want to mine your data and sell you stuff, whether you need it or not.

OpenStreetMaps is funded by... well, actually, it's complicated. There are lots of individual donations, but there is also money by Amazon, Facebook and Apple. And some other corporations.

Regardless - consider making a donation:

https://donate.openstreetmap.org/

I would also entreat you to ask OSM to get off corporate funding. And of course, if you can, contribute map data about where you live.
After registering, it took me only like an hour to have my track up and mapping it with their brilliant online editing tool. There are some gotchas, but the interface is really friendly and their wiki is vast with info, references and tutorials alike.
So what happens if the person filming starts playing a different song? I don't imagine the filter would be smart enough to make out the two different songs playing at the same time?
Once a month we pick a fun recipe that can be made in less than 1 hour and we all cook it together (over zoom) and then eat. We have done sushi, sourdough, ramen, pizza etc.

This works well as it feels like a shared experience of learning together, in this case learning to cook new foods. Many of us continue to make those same foods once we learned.

To make it easier on everybody, we ship any tools or ingredients we can and always do it during overlapping work hours.
Best explanation of NFTs and virtual goods I heard was from pmarca and bhorowitz on Clubhouse yesterday:

- The Honus Wagner baseball card is $0.50 of physical goods (cardboard/ink) and $3M of virtual goods

- A Basquiat painting is $100 of physical goods (paint and canvas) and $1M of virtual goods

- A rare Nike sneaker is $5 of physical goods (plastic/rubber) and $500 of virtual goods

NFTs are going to take this phenomenon to Internet scale.

We made the conceptual leap from physical gold to digital gold with Bitcoin. We will do the same for all other objects with cultural value with NFTs.
- One team member organized an event where everyone contributed a song they'd take to an island, we made a playlist, then played them one by one in Teamflow, and each person explained why they chose that song.

- Another time we did a game where each team member sent a story to the organizer, names were removed, then everyone tried to match the story to the person.

- There's always guest speakers to present on a relevant topic. Easier now that they don't have to travel.
"For a little while, the social media platform Clubhouse provided the rare opportunity for cross-border dialogue on contentious topics free from the country’s usual tight controls."
The SE 2 has bad battery life but the original SE had excellent battery life. Easy to get confused and not surprising given Apple gave them both the same name.
Being already known by my friends and family to be an "overthinker" and prone to "analysis paralysis", I sometimes wonder why I'm still a SWE. I've slowly started to realize over time that my profession is filled with overthinking and over-engineering, and that our interview process can even select for it. IMO its hard to be the person that aces the technical interview gauntlet then walks out of the building and turns the analytical skills off.

Many interview processes seem to favor how well a candidate can enumerate edge cases and problem spaces over effective risk assessment and cost management. They're both important to evaluate but often in practice the dumb solution is what my team ends up using because can be more maintainable, cheaper to build, easier to reason about, etc. Today my aim is to get my requirements, write as few lines of quality code in as short of a time as possible, test it, ship it and be done.

Narrow focus and the ability to scope things down to what exactly what matters helps a lot. I defeat over-analysis by meditation, intentional dumbness/willful ignorance, and flow state.
I've been building a list of fun board games to play online at https://boredgames.gg!

One of the games I built as well, https://oneword.games, is very well suited to work events; it's a casual, cooperative game that supports any number of players, so fits neatly into team happy hours or "offsites"
If human beings can tell the difference between speech and background audio while both are playing simultaneously, it has to be possible somehow for a machine to do it.
That seems like it could just be an up charge.

(or a discount for the ephemeral results if you want to look at it that way)
Can’t you just delete the audio
> Which of the ten are not mainstream?

All of them except #3 and #10, and neither of those are contradictions (the idea that #10 is involves the fallacy of division, the idea that #3 is...IDK what the shortest route to that would be; mistaking “a > b” for “b = 0”, metaphorically, I guess.)

And that's for “mainstream among radical antiracists” not, mainstream-mainstream.
Yup, we pay them quite a bit to be able to store it.
Oh, ok. I'm quite sensitive to having feedback and that does not seem to be an issue on the PinePhone. Except for when you open an app on Phosh. Then, no clue that the app is loading.
It's mutating (not shadowing) `not_found` with the value of `status`. That can cause trouble if you rely on `not_found` keeping the initial value later somewhere. Which you would, e.g. with the global constant of `NOT_FOUND`.

Honestly I think the issue is so troublesome only if there's a single case to match, though. With more expected cases it should cause pretty obvious bugs (easy to catch).
Once you get over five arguments in str.format(), it gets weird. I reverse engineered a product that required a lot of string formatting, and f strings made things more readable and debuggable.
That's a very problematic design decision, imo...
Spreadsheets are the right answer for small manufacturers who don't have overqualified developers hanging around and willing to work for below market rate.

If at some point the manufacturer gets big enough to outgrow spreadsheets, there are plenty of well established upgrade paths.
From the article:

> They found that those who placed high trust in their feelings made better predictions than those who didn't. The result only applied, however, when the participants had some prior knowledge.

Which is exactly what you're saying so I'm uncertain why you're calling the article "total bullshit" when you're restating this critical part of it in your own comment and own words.
Why would you have bought it and what would you think its worth?
I think there was some page-refreshing asynchrony here, either on your end or mine. But I appreciate that you attempted to correct me, so thank you.
This is sad. It is as if we are going backwards, from an open source solution they decided to move to a closed ecosystem. They could at least use gitlab instead...
Some theories:

- User base overlap with the new SE. It's possible potential buyers had already upgraded to the new SE several months earlier before the mini was announced. (anecdotally I know a couple of these)

- Not having the ability to try it out in person. I could see risk aversion leading to more "status quo" purchases of people worried it could be too small.
About 1/3rd of my bad reviews are now flagged "sensitive" (belatedly), so no longer normally visible.
An SQL Solution for Jupyter
video games

- lots of diversity, choice (helps finding something that best fits everyone)

- lots of positive emotions (designed by people whose jobs it is to make you have fun). tremendously effective at creating shared moments of joy.

- lots of cooperative games (team building yaye!)

- loose engagement: easy to hop in and out without much fuss, play as much as you want

- easy to repeat: so many games to choose from, some games have no ending

- won't necessarily fit anyone (but what does)

recommendations?

- Portal

- Among Us

I'm sure fellow HNers will have better suggestions
My experience with OSM is limited I only contributed a few times to the data in a local city in the Netherlands. I also used the xml data export only a few times for small experiments a long time ago. but from my experience is see the following:

* If many people enjoying or live somewhere they will update it very fast and accurate. Way beyond google and apple will ever have. (If a bench is placed somewhere else on a school campus then it will most likely be update within a few days, from my experience at least)

* Small structures are detectable on air and satellite images but it is really hard to know what kind of structure it is.

* Data from the dutch local governments do, from what I see on OSM, often contain good updates on new buildings. But if something old is changed. (Like a temporary school building is removed then that change is not reflected by a data update from the goverment, and it is often removed by a user after a while) So getting better data from the governments is probably a thing.

* A lot of layers are build on top of OSM. For example if a building is easy to use as a person who uses a wheelchair and if there toilet is wheelchair friendly. My ex-girlfriend was in a wheelchair so I used a app for that a lot. But she never used It. They app was very slow and had a strange UI. So changing the data of custom layer on top of OSM with better tools is hopefully going to be a thing.

* Users use it mostly because they like to contribute. Google has the power to send many people notification questions about places where they have been. OSM does not have this power.

* I would dare to say that OSM is already way more precise then google or apple maps. But users do not always care about that. The big driver for me to keep using google maps is that I often just want to go somewhere, and to go somewhere means that I want to travel by using the train or bus (after covid). In the case i'm in the city I want to know how long it takes to go somewhere by bike or by foot. In the case i'm going to a new city I often want to see how something looks and Google streetview or general images are better then a map. Google prioritizes all that information above having a more accurate map.

So no I do not think it's about getting more people involved. I think it's more about what kind of user does the platform want to have.
> The Queen pays tax

Honestly, this is the most surprising part of the article to me.
This is how pattern matching works in any language (except for some niche languages that allow nonlinear patterns, like Curry).

Many of the comments here reveal a bizarre parochialism.
Not only that, but GitHub came early and made the hosting easy. There was no similar offering for hg that early on.
> Exactly half of all responders, forming nearly 90% of the above majority, are fine with that form being PEP 634.

That half includes those who voted for "accept 634 + 640" or "accept 634 + 642", whom I doubt are entirely happy with the decision to accept PEP 634 and reject 640 & 642.
darcs is still actively developed and it has a niche in the Haskell community.

Ubuntu might still use Bazaar.