skysight-inc/HackerNews huggingface dataset:
One of the fish devs here. I definitely didn’t come up with this hack but I’ve worked on improving some edge cases in the past. Our implementation differs from zsh some although I think we’d originally adopted their approach.

This feature is still surprisingly complicated with many caveats. For example, some terminals will wrap to the next line if you are at $COLUMNS, some at $COLUMNS+1, and some not at all. Some advertise they do one thing and do another. If you miscalculate, you’ll end up skipping an extra line or none at all, maybe overwriting existing output or emitting the missing line break glyph when it should be hidden. We’ve ironed out most of the cases but every once in a while someone will be running an esoteric Pseudo tty (usually not under X) and run into issues.

There are also issues with selection of content. Some terminal emulators will bug out when you try to copy-and-paste content because they get lost with the output past the current location in cases where a line break was already emitted. It’s always the terminal emulator that’s broken but you’d be surprised at how broken some of the most popular emulators are. The entire codebase is littered with workarounds for tty emulators; if someone comes to you and says “fish doesn’t work in $terminal but bash does” (either because it’s minimalistic and is missing a feature that would cause the breakage or because it has a workaround), we almost always end up treating it as a fish bug unless we’re able to get it fixed in the upstream terminal package/OS/software/whatever, whom we file reports with all the time.

It’s insane the configurations and platforms people use shells under and I’m personally deeply appreciative of everyone that takes the time to file these bugs - in addition to making the software better it really does shed light on some extremely archaic bits of posix standards and Unix behavior and I’ve learned so much from the many deep-dives that start off with “this is kind of quirky behavior observed under certain circumstances” and ends up requiring architectural changes deep within because some underlying assumption doesn’t hold universally true as exemplified by a *nix that hasn’t seen a new user in fifteen years or something. It’s why I love hacking on fish; I must have one of the craziest collection of virtual machines to test edge cases, as do many of the other devs (especially @zanchey and @faho, although no one does a deep dive like @ridiculousfish).
At least 3 reasons: stereotype threat (related to race), financial aid and socio-economic pragmatics.

Stereotype threat makes people less likely to engage in psychologically risky feedback loops (bad grades, seeking feedback,...), and many higher STEM courses are riskier in this regard.

Many students are forced to engage in work-study programs or work part-time to get through college. STEM curricula (especially engineering) require dedication and ample time.

Pragmatics, higher education is the most expedient path to escaping poverty for the underserved. So pursuing more vocational fields like nursing, professional stuff over a risky long career in academia seems more fruitful.

If my anecdote adds any value: I went to a somewhat rigorous college where most of my STEM classes were mostly Asian or White and I was the usually the only black student. I experienced the stressors mentioned above, the financial one was especially painful.

12 years later, I wish I had chosen a less time consuming field like liberal arts instead of CS/Eng and had a somewhat enjoyable experience.

One of my close Asian friends (with comparable ability) is now a Math professor. His upper middle class background enabled him to pay for his college, and living expenses in grad school. It’s inconceivable that I could have taken a similar track given the reality constraints of my particular situation.
I don't know about AWS, but GCP has a price calculator tool.
I can see that this could be a case of accidentally not checking a box, but at the same time, lack of knowledge or a mistake is not an excuse for breaking the law. I do firmly believe that China has infiltrated our research institutions and actively funneling that back to China. We should do more to guard against that, and if this is the necessary first step, then maybe its enforcement will lead to better oversight in the future by the institutions. It's really the institutions that must shoulder some of the blame for not also conducting their due diligence.
I haven't read it yet, but the movies in those examples ("Rainman Forever", "Die Hard With More Intensity", etc.) sound fantastic. And they all feature Jet Li.
The Jews must have transcendent superhuman athleticism then. Basketball used to be dominated by immigrant Jews before World War 2.
It may not be what it used to, but it's still $40k above the median household income in the country.
Mastering Xpath for Selenium Testers [with Locator CheatSheet]
Have you tried autoscaling on DynamoDB? Just curious how well that scales up. Clearly is not a drop-in replacement for MySQL.
I have the same printer. I didn't even know you could get it to work in windows anymore! I only use it in Linux and Mac. I thought I saw on HPs website there solution for Windows was to get a new printer lol.
The title is misleading. By "export" they don't mean using the API to export the followers (trivial), they also mean sending them DMs and some other stuff for getting them to move to a different platform.
It's a fun application of the metaphor. But I can still apt install nethack, a thing that was made in 1987. Or apt install lynx, a text mode browser first released in 1992. Or apt install midnight-commander, a Norton Commander[1] clone first released in 1994. All of these still receive updates, so I guess they don't qualify as old things per se, but that's the point: as long as there is still a use for them, they keep getting updated.

If CSD2 or Nuclear Throne had been released as open source software, chances are somebody would have updated their dependencies and they'd run fine. Heck, I'm a developer, I could probably have fixed it myself. But they're proprietary, and have gotten stale, and are a pain to get working. So I guess it's more of an incompatibility between the two models than an attribute of the bazaar.

[1] an old thing that's valued in the Cathedral, if at all, then only as a curiosity
Not quite. More likely they'd rebrand it, make some minor cosmetic changes, then neglect it until only a hardcore group of fans remained. Then they'd forget it exists.
I was quite surprised when I found out that RETURNING is actually a Postgres feature, and not standard. It just felt like such an obvious and extremely useful thing to have.
When I land on the page, I get three history entries in my browser as your page loads. This means that if I have no interactions with the site and want to go back to HN, I need to click back three times.

While I get that this isn't a bug, it is a usability peeve that I notice on more and more sites lately.
Interestingly, black starts first in go.

Also black and white keys used to be reversed in early keyboards, they changed it to make it easier to see the separation between keys.
I sometimes think, people in cities are constantly distracted by the entertaining parade of events forever passing. They have no time to think in silence and stillness.
It’s not about stereotypes. I am sure that everyone on HN knows that not all Black people are poor. I am Black by the way.

But, we also have to look at statistics and think longitudinally instead of anecdotally.

I came from a middle class family in a small town in the south. But my mom being a well connected high school math teacher did give me some advantages.

When I graduated from college, I had a choice between taking a job in a slightly larger city where I could have afforded to take care of myself or move to Atlanta where I could get a job as a computer operator based on a previous internship. But the pay was crap.

I wanted to move to Atlanta because I knew I would have more opportunities. My parents had already bought me car, they subsidized me for the first year, and the rest is history - I was able to network my way into getting a software development position. This was in the late 90s.

My classmate couldn’t afford to make those choices. He was stuck taking a COBOL programming job in the 90s - the same job I turned down and still is doing that to this day in the same city.
The issue is that it's not even a good kitchen sink. Every single one if it's features is paper-thin, harmful or useless.

You don't need `guard` if your compiler disambiguates nils and assigns vars in if statements.

You don't need hundreds of hardcoded If<T1>, If<T1, T2> etc. types to support SwiftUI if your type system is actually designed to handle this. And you have proper expressions. And proper functions.

You don't need an awkward `some` keyword if your type system is designed properly.

You don't need callAsFunction because that's the compiler's job, not the programmer's. And can be replaced with any number of things, including (but not limited to) currying.

And the list just goes on.
It's the kind of solution that were I to have come up with it, I would be both disgusted and impressed with myself.
Some quotes from the report's conclusions:

"the team of auditors considered the general code quality really good and can attest to a solid impression left consistently by all scope items."

"was consistently well-documented and readable, demonstrating that security processes are ingrained in the development and documentation processes"

"Both from a design point of view as from an implementation perspective the entire scope can be considered of exceptionally high standard (...) no directly exploitable weaknesses could be identified."

"It appears to have been developed with all previously known issue-types in mind; furthermore, its missing support for insecure or outdated protocols and primitives indicates a security-conscious development approach."

"the developers of rustls have an extensive knowledge on how to correctly implement the TLS stack whilst avoiding the common pitfalls that surround the TLS ecosystem. This knowledge has translated reliably into an implementation of exceptional quality."

"The developer’s intent to provide a high-quality TLS implementation is very clear and this goal can be considered as achieved successfully. (...) Cure53 had the rare pleasure of being incredibly impressed with the presented software."
Reference counting is still not garbage collection. ARC causes the compiler to implicitly insert calls to retain and release, that’s it. Everything is still 100% deterministic at runtime.
An understanding of AI’s limitations is starting to sink in
I was proposed to via mindmap, essentially. Only fly in the ointment was that, as a German, he didn’t realize that greeting me with “we need to talk” set my mind in a completely different direction, but aside from that, seeing his thinking behind his long-term hopes for our relationship was quite romantic.

Looking for the stone together was entertaining after I was able to get him to understand that I really, really didn’t expect him to spend the “two months' salary” that is “customary” in my home country (USA).

If you want the romantic surprise, arrange a nice, private dinner (or other private special occasion) and get a silver CZ ring to present as a placeholder for the ring she’s going to help you pick out, making it clear that it’s a placeholder. If this does not go over well, better to find this out about her before making a big legal commitment!
Yell.com – The Lies, the Evidence
Linguistic meaning changes all the time without the world burning down, so I'm really curious what danger you think there is in this "rabbit hole". Or do you also oppose using "awful" to be a negative, because if we accept that, how far does the rabbit hole go?

Look at how many words we use without these types of issues too! If you're worried about keeping up with a few intentional linguistic changes a year among many other natural ones, I'd be more concerned elsewhere.
Linux Mint - was using Ubuntu but it isn't always up to date on PHP/MySQL versions.

IDE - Eclipse/PHP

Never been a fan of Windows' inconveniences, and Apple is notoriously fickle on Unix support, timeliness, versions, and patches.
Landauer's principle: theoretical limit of energy consumption of computation
> This is also a miniature experiment in decentralised work

GitCoin is also a thing with decentralised cryptocurrency bounty work like this: https://gitcoin.co
CSS performance is a thing, both the transfer of the CSS and the actual performance of it.

Transferring unused CSS is a common problem, and adds weight to the page or more resources to download before rendering (rendering is blocked until all CSS has been retrieved and parsed).

CSS selectors have different performance, though it's negligible on most users devices today. One common misunderstanding is the way CSS selector are processed. They are processed from right to left, so a "#mystuff div" will actually lookup all div's in the page and check if it's a child of #mystuff.

I never use any frameworks, they are not worth the hassle. Just start from zero (expecting you actually know enough CSS). Typically, when I write CSS from the ground up, it's just a few kilobytes without any unnecessary code. Using more targeted CSS (I try and keep everything referring to ID's or specific classes) you will also end up with less HTML (no "button button-big button-blue button-shadow" classes all over the place).
I think it is unquestionable that China is the United State's primary competition, and national security adversary. As such, if that is the case, then we must take steps to protect America from influence and infiltration from China. If we as a democracy are willing to engage in foreign influence, I believe firmly a communist government will do it ten times more.
Google-Dunzo Affair: The Beginning (Part 1 of 2)
>For instance, even in the example you gave, it could be argued that the SearchCase type is really just a boolean which is being introduced to do the job of an argument label. If this enum is only used in this function call, that's going to add noise to the docs with fairly tenuous justification.

I don't really agree with this, I think in general it's a good idea to type your parameters as tightly as it's reasonable to do. I don't think that introducing a one-time enum is particularly unreasonable. I don't really get the argument for reducing noise in the docs, typically nowadays API documentations are hyperlinked document, not a big PDF, you either look the symbol up or you don't.

An argument in favour of using types here would be in the situation where the "case_sensitive" parameter is not a literal in the code but something that's being passed as argument from an other function or stored in an object. The names could be slightly different, the conventions could change from one part of the code to an other etc... With dedicated types you can be reasonably certain that if the types match then it's probably safe to pass to the function, with human-level semantics that may require more caution.

Of course my example is so trivial that it could be argued to be over-engineered, but consider a function that takes angles as floating point numbers vs. a dedicated "Angle" type for instance, with the float you have to make sure that the underlying representation is correct (degrees? radians? turns?) whereas a dedicated type would typically have well-defined semantics.

>And this only works in the case of arguments which can be easily converted to enums. For instance if I have a signature which looks like this:

void search_buffer(int match, int start, int end, int stride)

I agree completely with you here. Keyword parameters definitely have their use cases. I just think that they should be used parsimoniously and, IMO, can be a code smell if used too often, especially in languages with a decent type system.
All of this - I’m very glad my husband did not surprise me with two months’ salary worth of ring.
What happens if you resize the window after this trick has been used?
My new #3 is: plug in the printers usb cable. Most of the time it prints.

Also compared to try to do duplex printing under linux, windows is easy.
Its good to see that American tax dollars are no longer being used to help a country trying to undermine America.
That's a pretty big leap, especially since users can change Chrome's search engine.

There are a couple of reasons they could be making this change highlighted in these threads.
This was a while ago. As far as I remember there was no bike shop on the mountain. Also doubt it would be easy to add a disk brake on a bike that has a back pedal brake.
> how long can companies access this kind of record?

Until you get your record expunged, assuming you can (some states, e.g. Washington, make that impossible). It's not like a credit report there's no 7 year filter on what shows up in a background check.

> Isn't it unacceptable to discriminate candidates based on something that has nothing to do with the qualification for a job?

Unacceptable, or illegal? It's [mostly] only illegal to discriminate against a protected class, everything else is fair game. Whether it is acceptable is an opinion.
> Printing is a mess and our industry should be ashamed. How does something like this just break after an update?

I have Bose wireless headphones. They used to operate as expected: leave bluetooth on at all times on the laptop. When turning the headphones off, they disconnect. When turning the headphones on, they reconnect.

Eventually there was a Windows update, and this stopped working. Now, if I turn the headphones off, only the microphone will reconnect when I turn them back on. To get sound to play through the headphones, I have to disable and then reenable bluetooth in Windows. Every time.
Not entirely true. See: https://www.mondaq.com/india/contract-of-employment/614370/e...
This seems like it should be trivially easy, even for someone like me with relatively weak web chops. Am I missing some subtle obstacle with Twitter that makes it complicated? Or is this going to just get 500+ entries that they have to sift through and functionally pick one at random?
If you attack another user like this on HN, we will ban you, regardless of how wrong they are or how right you are or how wrong you feel they are or how right you feel you are.

No more of this, please. https://news.ycombinator.com/item?id=23519070 was already over the line.

https://news.ycombinator.com/newsguidelines.html
Learn LaTeX in 30 Minutes
Yeah, this isn't 'export', this is new spam.

There is also no evidence presented that sending mass spam DMs to people with links is going to have a more positive impact on your followers coming to your new platform. It seems a lot more likely that word-of-mouth would spread where you are if you are really an influencer, and what is wrong with a few public tweets?

This is a half-baked idea that is arrogant and rude, IMO. At least present some analysis that publicly tweeting is worse than mass DMs with links.

Let me tell you this, if I get a generic DM with a link I am NOT ever going to click that. Haven't Twitter people become used to getting spam links mass DMd to them? I think nobody would click.
People back then had miles to walk and no phones to stare at or tvs to watch. There was plenty of time to think.

It's easy to think of ideas that others have had (interpolate). Much harder to synthesize new ideas (extrapolate), or at least those of significance. Probably related to P NP problem.

Edit: yes, verifying would be P and synthesizing would be NP. And with this new intuition I suppose encryption will probably be safe!
How Behavioral Science Is Driving the Next Generation of Product Design
You are underestimating the extent that geographic diversity materially impacts the design of government policy around social services, irrespective of population scale. Social policy is based on a set of assumptions about local needs and local conditions. The larger the geographic area, the less valid any particular set of assumptions are going to be. Two geographically rural regions in the US can have very different medical care requirements. It isn't the "rural" that makes them different but "geographically distant", the latter being correlated with widely varying ethnicities, cultures, environment, and demographics.

Almost any uniform Federal policy would be completely broken for some part of the US due to its geographic extent and diversity. This is a recurring issue for policy that has nothing to do with social services. For example, the fundamental legal axioms around water management are different between the eastern and western US because it would be a policy disaster for that to be uniform. See also the disaster of trying to apply uniform highway policy in the US, which have since partly devolved back to local control.

Social services are similar, including the implementation of medical care and schools. We already have cost problems in some regions of the US where required medical facilities are virtually never used because incidence varies widely across widely separated parts the US, it doesn't average together, a large part of which is explained by genetics, culture, and environment. Every aspect of schools vary wildly from region to region, virtually nothing about it is uniform, because States recognize that maximizing school participation -- a social good -- requires respecting local conditions, culture, and constraints. I grew up across several geographically diverse parts of the US and experienced the extreme range of local adaptation first hand. There were some questionable local policies here and there, but in the vast majority of cases those diverse social service policies were trying to optimize local outcomes.

If there was a uniform and in-depth Federal policy for all of these things, the amount of flexibility and leeway required to not produce objectively worse local outcomes for many people would asymptotically approximate having no uniform Federal policy at all.

All of the European countries you list have a geographic extent that fits within a single policy jurisdiction for both healthcare and education in the US. In the larger US jursidictions, they devolve considerable control of these to more local authorities, recognizing the limitations of uniform policies in large geographic jursidictions.
Utopia and Dystopia: Smalltalk and the Wider World
Cause there is going to be assistant assistant. Plus CEO will he bored by golf at that point and will need someone to do that.
You may be right, but only if Uber, Lyft and whatever competitors arise in the coming years actually turn a profit. There is a vast differences between an industry changing due to new business models vs. VC capital footing the bill for the change without solid, profitable transactions at its core.

The ride-sharing model is on the cusp of proving a sustainable business, but they aren't there yet.
> Well, it switches that 99.99% to 100% now, so a step backwards.

Refraining from collecting malicious links happens before you click, by the time it's in the URL bar it's already pretty late to mitigate against attacks.
Also discussed here: https://news.ycombinator.com/item?id=23485182
Why? You were always free to delete or rename the master branch. There are enough repositories which don't have a master branch.

Unlike SVN (trunk), in git "master" really has no value to the VCS.

I also assume this will be for new repositories, so Github won't break builds by changing existing repositories - because that would indeed mess up a lot.
The '2' in the name should clue you in to its inspiration, which was not LoL.