skysight-inc/HackerNews huggingface dataset:
As they call out in the article, accurately counting words is a bit more complicated that splitting by space. You need to account for all sorts of punctuation etc.

When I've been asked this in programming interviews, I've almost always been expected to produce something like the code in the article (and do), but usually I'd point to something like the NLTK library as a better approach. It's polished and highly capable, and handles probably just about every edge case there is.
> have to spent their days explaining how GIT (yes, really...) works to a small army of juniors.

I sympathize with the other comments explaining that Git is highly nontrivial, but I think the point is being missed. Why should I have to teach a junior how to use an essential tool of the job, when I can just point them to good books/guides on the Internet?

My list would definitely include:

Hire people who can and are willing to read. Be it for learning or for understanding specs.

I'm not one of those people who gets upset at people coming to my cube to ask questions - I actually enjoy it (far more than them IM'ing me). But if it's something easy to find on the Internet, or clearly documented in a local wiki/manual, they should have at least tried to read it.

Similarly, I'll take the time to document very well how a tool I built works. Almost always someone will then come to me and ask "Hey, can you tell me what the tool does and show me how to use the tool?" Over 90% of the times it's not because my documentation is bad (which I admit it very well could be), but because they didn't even try to read it.
You are making assumptions that are wrong. Just because you think a feature isn't used, that doesn't mean that there aren't users of that feature. Not every user participates in developer mailing lists to advocate for working features they currently use. Gnome has consistently made user hostile changes, like the time a minor release update changed key bindings from Unix style to Windows style for cut / paste / edit. Was nobody using keyboard shortcuts? I sure as damned hell don't think that was the case.

I used to change the window decorations to something smaller than the default, because I like having more of my screen real estate available for actual content rather than useless UI padding. The current iterations of Gnome are unusable to me, when Gnome was visually appealing and highly usable 20 years ago. Window transitions and icon docks have done nothing to improve usability, and bigger borders are not better borders.

Thankfully other desktops have far better feature retention rates.
Thanks for the heads up - that's what I get for doing most of my testing on mobile.

It should work now if you refresh.
HN sure has a strong libertarian presence, but I guarantee you its not here. This is more the urbanism, liveability and anti-NIMBY crowd. I don't have data but I very strongly sense intersection between both is nil.
> I have several reasons not to immediately take it as definitive.

The one that you expressed is that it "seems so obvious to you that you become suspicious." I'm just taking you at your word.
While I generally agree, as far as I’m not mistaken they are not foreign to these regions at all - on the grand scheme of things they just disappeared from there very recently
Who do you need to justify it to? I'm sure your work would accept you offering to get paid multiple times less if you were prefer that. Or otherwise, do what you can to advocate for giving raises to the equally competent people on your team who are making less.
No they weren’t most were military contractors until 70s. This is a romanticized notion based on a few famous individuals.
Should work now if you refresh.
It's 150ml in the UK (6 servings per litre).

Unsure if that's because they don't want to write 25g of sugar on the "traffic light" label (it's about 1g per 10ml), or they want people to think the packs are bigger in terms of servings.
This is such a new frontier but there is something there.

If I draw a picture and release it into the world; I'm familiar with that process. I know, it'll be viewed and consumed by human eyeballs and I understand to some degree their capabilities and motives, or maybe I pretend I do. The point is, the release of the content into the wild was done with some understanding of its consequences.

Now, along comes DALL-E, it's an unfamiliar, new class of a consumer. It'll swallow anything you produce and turn it into profit for another human, right before your eyes. It'll also do so in such a way without _recognizing_ the contributors to its success. DALL-E is a black box where the effort of creators goes in and someone else pocket is made fatter.

The key point for me is that DALL-E would be worthless without it consuming other peoples work. Folks here have mentioned how they've consumed content over their lives that others have produced... yeah, but, with enough time you could have got there yourself. DALL-E simply cannot. It is absolutely necessary for it to consume the content of others.
They did have those issues, but I don’t think it was as bad. It also depends on circumstances unique to that generation.

MacLuhan of the “the medium is the message” watched with concern an entire generation of electrification and broadcast radio and TV. He watched as people become passive consumers of content, content which shaped and homoginized culture.

Another example is there if you read the history and the fictional literature of the Gilded Age (around 1890s). Automation of household tasks combined with a shift to industrial jobs outside of home lead to the rise of the movement for the right for women to vote … and also, the discontent and malaise from no longer being able to contribute meaningfully for the household outside of raising of children. That went on well in the 50s.

The ability for someone to be able to meaningfully contribute unique to them to something greater than themselves is a key to well-being for both the person and the community they belong to. The erosion of that ability has been going on for multiple generations.

When kids today are restricted from being able to meaningfully contribute (because it is not risk-free), they turn to other places. Social media are that place, but the social media companies are out to make a profit, not to enable meaningful engagement. Internet use is largely uncurated by parents. So we end up with a society where we have this veneer of keeping kids “safe” by keeping them off the streets, but letting them run wild on the internet. (Example: Roblox)
Depends, if a person is really abusing a child which unfortunately happens more frequently than we all want to believe, then you would rather have the government intervene without complicated red-tape as soon as possible.

In this case above CPS and police just checked up as they should on a any complaint and then were fine with OP, the system is working as expected (neighbor is still being a dick)

Yes it is annoying, but I rather live in a world where the police or CPS chase every frivolous compliant than them unable to do anything without a court order or not stopping abuse enough.

we don’t realize how many of our rights society grant to us and can take away easily . Raising a child is a one for that matter so is marriage, or even managing your own affairs (conservatorship), while we no longer just put people in mental institutions, government absolutely have the power to do so. Compromises of living in a civil society is to abide by rules even if it invades the privacy and rights of any one individual.
At that age I was walking two blocks to school, and was going to friend's houses to see if they wanted to play. By age 12 I was riding my bike two miles to go buy ice cream & candy. In my early 20's I drove across the US (South Carolina to California) by myself over several days. No cell phone or other safety net.

Being overprotective means your kids don't develop a spirit of adventure and self-reliance. Is there a risk of their coming to harm? The statistics say chances are lower than ever. Violent crime peaked in 1991 and has trended downward (+/-) ever since (this site is run by the FBI):

https://crime-data-explorer.app.cloud.gov/pages/explorer/cri...
That’s not the nudge you’re looking for.
There is that, but TikTok has basically allowed the explosion of the “psych 101” effect where you learn a very surface level about psychology and start self-diagnosing.
Wife works in a bank (not gonna name it here) who outsourced development to India.

Everyday I hear horror stories, from logistical problem to admin problem to losing money in the millions problem, morale fading away and people are leaving.

Heck, there was one month where my wife couldn’t work at all due to email problems because of that. One month free salary, we’ll take it.

It’s been 2 years and still a shitshow.
I can’t help but see social science as humans attempting to modernize memory of imperialism and religious belief embedded by prior experience.

Think of how popular it became as a field in the last 50-100 years as the populace became less religious. The US adult population recently crossed a threshold where <50% believe in higher power now.

No science gives social scientists higher powers of forecasting human future, yet we took the ideas and applied them with the same conviction some believe in gods, in the same way; a network of randos spreading their gossip, wrapping it in technical jargon biased by past ignorance.

Consider how much of this work was being leveraged against an ignorant public with no opt out button, via print and TV. How is that informed consent?

Social media comes along, upends those forms of media, creates a new meta awareness we lived in a society policed by high minded but normal people. That awareness means we can opt out of being influenced by intentional nudges, same as we opt out of believing in intentional nudges to abide higher powers.

Social science “worked” when the masses were unaware it was happening to them. As the public has become more aware of how it works, it’s all Soylent green; just people.
The article drags in Sunnyvale, where I live, but can’t really find one negative thing to say about it. The population reduction is purely related to COVID WFH leading some people to work from elsewhere, and is temporary. It’s a very nice place to live. Low crime, good schools, great weather, plenty of jobs. Very liveable.

This lazy tendency to lump SF in with Silicon Valley is dumb. SF is a peninsula, it’s not in the valley. It has a few niche companies but the huge bulk of the tech industry is down in the valley, which does not have SFs problems.
https://consentomatic.au.dk/
Of all design systems I'd be curious about, the AWS console may be the last one I'd choose to mimic/leverage.
Just what I've been looking for! A component framework to make my app even slower! /s

In seriousness, this is a great net benefit. Looking forward to the improvements inherent in open sourcing the framework!
Note that only an unoptimized Swift solution was provided, and Swift String operations (like `lowercased`) are fully Unicode-compliant.
The Pacific Legal Foundation is an amazing organization, and has fought this kind of battle over and over again for people that would never be able to afford attorneys of that caliber.
This is graphics research done by a private company, not funded by grants. Siggraph is one of the pickier CS conferences, even when it comes to applied ML. I'm not sure I understand why you think this would get any kickback, or what you mean by that?
Driving My Tesla to the Dark Side
https://archive.ph/uvWh2
One advantage of ‘stacking’ is breaking up review into more logical units, eg

1. Introduce new test exhibiting bug

2. Introduce bug fix and update the test

If 1 and 2 are reviewed together you have less evidence that the test actually shows the bug being fixed.
Why do you think that you can hire stable team in your country, but you can't do that in a distant country? Seems that problem roots in those "outsourcing companies". Avoid those companies then. Hire directly.
> I recently read somewhere that software salaries are US > China > India > EU.

This seems to read that EU software salaries are lower than China or India? That may be true for some EU countries, but definitely not all (or even on average).
Or you just assume that's part of the structure of it. Doing a study and pointing out something that obvious feels weird. "I know you asked me to play this clearly terrible game, but it's a terrible game" feels like odd feedback. Or I'd assume it was some trick and the "poor" player had weighted dice or something.

It just seems odd in a game that's fairly profoundly a luck-based game even without messing up the rules, like Monopoly, that 100% of players would have that low self-awareness.
also took hgh bc of his growth hormone disorder
I'd say the more personable engineer is the more qualified engineer even if their technical knowledge is less. Being able to deal with other people is a massive part of being good at the job.
Username checks out...

...although recently Kissinger seems to have grown old enough to somewhat value human life:

https://www.washingtonpost.com/world/2022/05/24/henry-kissin...
Why do Bay Area devs cost $300K+? It's not that cost of living is so much higher in the Bay Area. It's that most of the worlds top developers have chosen to live in the Bay Area. Sure, you can find fantastic developers elsewhere, but top talent has figured out they can optimize their income (and quality of life) by moving to the US West Coast.
While it isn’t a design I like, open sourcing is at least a good step in getting feedback and engaging with the community.
Are you sure about the area? Texas does have a few recognized tribes, but they are nowhere near Dallas.
Graphite (https://graphite.dev/) has been a good tool at our startup to manage stacked PRs, I recommend checking them out.
Markets are more efficient and by rational it means they act in their perceived best interest to optimize their own utility.

You just don’t know economics, that doesn’t make it fantasy
Show HN: Shelver, document store using cloud storage providers
If the government steps in and tries to help kids grow up to be modern citizens (read: pious, hard-working, conservative), then I don't see a problem with inspecting houses.
This is why I think nudging must work on some level. What are trends, advertising, fads, etc. if not nudges? Is the existence of an intelligent nudger required or can the hive nudge itself?
Please find the weekly (22nd Jul, 2022) market performance and prediction reports for next week. Wishing a profitable week Traders :)

https://drive.google.com/file/d/1-Y3lAeckP2M-RhBqIyut48L20ad... #ai #fintech #markets
Isn't that how rebase already works? It will "apply" commits of the current branch onto commits of the base branch, including new commits that were created in the meantime.
It's a fine balance between accuracy and rewarding your highest ad spenders.
I actually completely agree - I'd be curious to see replications. Though after a couple decades of life, I don't find it hard to believe people would be that crass.
I am Indian, lived in Mountain View and Sunnyvale for nearly a decade, and never heard of either of those nicknames for those cities.
Why not let the govt people find other work? It isn’t a law of nature that the public sector must never shrink, though it does feel that way sometimes.
It’s difficult to overcome the difficulties created because of the the India time zone difference. It’s literally the AM/PM opposite for Silicon Valley companies. Real-time communication is a struggle, even with Slack or Zoom. You’re forced into asynchronous communication which automatically imposes a 12-hour cost because you don’t get a response until their daytime which is the next day for you. It’s good for Indian outsourcing firms because their incentive is time billing. Bad for your company because that JIRA ticket you have now takes 2x to 10x as long to resolve.
A Short Chronology of Deep Learning for Tabular Data
Tar is really great for its intended use case (archiving files to tape, with the constraints of late 1970s computing power), and kind of weird in basically all other uses. The block format wastes tons of space unless you compress it with run length encoding (which is why .tar.gz is so common). It's dirt simple but also kind of brittle. Its data model is not really a good fit for storing things that don't look like posix files, too much metadata in some ways while missing other kinds.
I’m not talking about the author, specifically or criticizing them directly. I’m lamenting how often I encounter people putting intense amounts of effort into arguing about how git should be used. My hypothesis is that if people understood their tools better before getting all evangelical about forcing their entire eng team to work in their style, others wouldn't have to spend so much time trying to convince them that other styles are exist and are valid.

Compare with a construction site: there are obvious uses for tools and there are less obvious uses and I haven't been on a single one where tools are only used specifically in one way for the entirety of the project. They’re used dynamically by different people with different experiences in order to complete the project. Nobody forces other workers to use a specific grip when holding their hammer…
> punitively tax IT will be skinned alive there.

If anything, IT (software) employees are the most diligent white-collar taxpayers. They have no option and are paying an outsized share if you ask me.

What gives you the idea that the average IT worker needs to be taxed even more?
The concept of "division" or "ratio" has different interpretations depending on context.

The Euclidean (from The Elements) concept of ratio can certainly admit a 1:0 ratio, which we can write as 1/0 or ∞ if we like, and which is equivalent to the ratio of x:0 for any non-zero number x. There’s no inherent reason why the ratio of "apples per person" should be allowed to be 0:1 but not 1:0. From first principles it’s just as problematic to divide 0 apples among x people as to divide x apples among 0 people.

When we e.g. write the values of trigonometric functions, these should ordinarily be interpreted to be among the extended reals, so that tan(π/2) = 1/0 = ∞ (i.e. the ratio 1:0) is entirely reasonable.
It is just a question of calibration of terms.

This has two dimensions:

First, I would consider something extremely unhealthy which leads to a reduction of life expectancy which is similar to other extremely unhealthy consumption such as with the opiod epidemic. I haven't of any study which would suggest that a can of soda or juice every other day would inflict a strongly negative health outcome (at least if counter-balanced by other healthy behaviors).

Second, it is strange to use extreme terms for behavior which is already endemic and normal in a population. You would want to use terms such as highly and extreme for instance for those who consume half a gallon or a gallon of soda per day.
What they're saying is that the level of corruption and false claims varies dramatically by field. Biology/medical/public health/social science seems to be incredibly corrupt but e.g. computer science doesn't have the same issues in the same way. Even then you can drill down to sub-fields, so ML has bigger problems within CS than computer graphics does for example.
If you think that is justification enough for him to do what he did, then we're never going to agree.
I am an Indian and I don't have a formal CS degree. I studied Mechanical Engineering at a really small college. The biggest eye-opener I've seen is the lack of awareness and interest in almost everyone pursuing technology. Most of my country folk aren't in tech because they programmed an Atari as kids like I did. They're in tech because it's the only thing that pays. The same goes for most of these. It's sad, and it is also a big reason why most companies only see Indian teams as a way to cut costs, also slightly insinuating that you also accept quality cuts because you get devs who don't get the "download more ram" joke.

I'm not making excuses for them, it's just the way it is. I spoke at a conference yesterday and very few people I work with even bothered asking what it was about.
This just shows that people will go to any length to procrastinate PR reviews. The truth is that to be an effective team, reviews need to be highest priority because they are blockers. There is just no way around it.
Disney animation and Pixar are both well known for doing that work, adding subtle hair to female faces in the movies they produce.
This is a very good step from AWS. It's good that Accessibility [1] is being given proper attention. In many UI toolkits it's mostly a neglected area.

Will check it out in detail and might even use it in a project.

[1] https://cloudscape.design/foundation/core-principles/accessi...
Heartbreak of a CS Fool
> Hire people who can and are willing to read.

Also make sure they are able to read more than the first few words of the first sentence…(from bitter experience)
Swift is in the same or better performance bracket then C#/Java and unsafe usage can be close to performance of C (maybe 1.3-2x slower). I'm not sure about ranting for poor single test results :P
France is used as a scapegoat. The situation of Haiti today has nothing to do with France.

Haiti has, and has had, an utterly corrupt and incompetent government/state. That's why they are in the situation they are in.
The idea that we should always be convinced by evidence regardless of context is a vast overgeneralization, impossible ("the evidence" overall rarely points only one way, even if the latest chunk of new evidence does), and in contradiction with Bayesian epistemology.
7.

(1) https://www.12news.com/article/news/local/arizona/arizona-mo...
what's proper infection control?
Docker doesn't really help with ARM/Intel differences. You need something like JVM for that.
I made a 6 sided square flexagon puzzle for my dad, it's surprisingly simple yet can take forever to solve.

If interested, I've spend quite some time looking for more square flexagons, and made one with 12 and another with 14 faces (along with a puzzle version)! Tricky to build properly but stunning.
There was an article about a parent who tried to do exactly that, in America. But the parent did not throw the kid into the deep end. For at least a year, the child was taken on those errands, being familiarized with the rule of the road, introduced to store clerks.

Ideas this author generated include — sending an older child along; secretly following to observe without intervening on anything less than catastrophic risks; sending the kid to neighbors to borrow a cup of sugar (and acquaint them to the neighborhood), and so forth.
Probably referring to Indian as in India, not Native American (but I'm not sure)
Is it Asian? I'd assumed—with no real support whatsoever—that it was descended from Roman garum, a fermented fish sauce that's a lot closer.
Nope, I think it’s great!
I suspect it's a basic primate tribal dynamic built into my firmware - us monkeys need to stick together and pull our weight so the tribe can survive. Of course it bumps up against some other greedy functions that are also built in.
You might want to check out my (Bill Wadge's) blog post on stretch text
https://billwadge.com/2022/02/24/stretchtext-or-bust-ted-nel...
How did I end up in the future reality where Best Buy is better than Amazon? This is too absurd. This is how I know that we are not living in reality.
You can still have them in 2 commits, and configure your CI to build both of them, and the first 1 should fail.

We actually have a rule that there must be 1 commit just introducing a test that fails on CI for bugfix PRs.
Editor-in-chief here, happy to answer any questions!
Thank you so much! And yes, the responsive breakpoints between mobile and desktop need some love. Thank you again for checking it out