skysight-inc/HackerNews huggingface dataset:
I don’t take my kid to the library because of the homeless people there. I don’t oppose government funds being used to provide daytime facilities for homeless people, I just don’t think it should be at the same location as the kids library.
Can I run python script on selection of text in vscode yet? That's a breaking feature for me, vim does great job with this. It's really handy when transforming documentation into code.
code design patterns
look at 'testing'
And meanwhile Trump raised tariffs on intermediate products not final products.
What was the context for your "pretty boys" comment? Was it referring to MtF individuals or to men not conforming to traditional gender roles RE: their appearance?
The Greater Good
Not sure if you're being sarcastic. I assume they would do the same for doctored photos of Obama. Removing content entirely should only be reserved for when serious crime is likely to occur, I think.
> When I was play noxCTF 2018, I saw a challenge named PSRF, then I thought that might be SSRF, PostScript, or both.

Wow, talk about having no context! You need to do at least three Google searches just to parse the first sentence.

EDIT: Realized my comment was not constructive. For context, might be helpful to make some of the acronyms into links!
Don’t see anything anti “civil rights” about using a punishment often given to people who kill a single victim to people who kill hundreds of thousands, just because the more efficient killers do so from an office building.
I’ve noticed that programs from that part of the world are more likely to use custom controls rather than stock ones. They always end up working a little diffferent than everything else in the world.
Developers as a community are currently screaming about a number of things companies can do to steal us away, even for less money:

- Go full remote

- Locate offices in reasonable COL US markets (my company has overwhelmingly rejected this one and skipped from NY/SF/Seattle to the developing world).

- Provide private offices, cubes, team rooms... any kind of workspace other than the in-vogue open floorplan barn.

Companies are not in their wildest dreams going to touch any of those things with a 10-foot pole at scale. Do they not know? Do they think we're lying? Or would they just rather complain than actually solve the problem?
Back in the 1970s, during the heyday of far-left terrorist groups, it was quite common for foreign tourists to be shocked at soldiers patrolling with guns in Germany or Italy. There may have been a lull in such things in the following decades, but what you saw is not particularly unprecedented historically and I wouldn’t be too concerned.
Never understood why companies give millions to their competition who are putting them out of business. Walmart got smart and went to Azure and GCP. Netflix still gives like $300m to AWS annually.
> people of your ilk

Unfortunately you set off a flamewar with that personal swipe. Please don't do that. Your comment would have been great without that bit, and there would have been no need for the nasty tit-for-tat of the below.

https://news.ycombinator.com/newsguidelines.html
Might be, but then again, it's a rare thing. And the "idle commentary from bloggers and commenters" has the benefits that for any topic, you can find bloggers/commenters who are both subject matter experts, and have no incentive to misrepresent the story.
I got it working together really fast (like 3 minutes) last time, but earlier this summer it took me 30 minutes or more and before that I couldn't get it working.

Of course now it just seems obvious and I cannot understand what I did earlier.
Sorry about that, what is your suggestion?
That’s exactly what’s happened... software engineer salaries at the top end have grown like crazy.
Sure, but the point is that while totalitarianism provides enormous scope for rapid action, those actions are not informed by a full and frank public debate and there’s no mechanism for society as a whole to force a change of direction via an election. That means the ruling power, which has huge political capital tied up in their policies cannot be removed, and so tend to cling in to those policies until long, long after it’s become blatantly obvious they are doing serious harm.

Democracies do have less scope for action due to checks and balances, but on the other hand if they pursue a mistaken policy, every 5 years the voters get the chance to force a change. The fact this is so means the current rulers have a strong incentive to course correct themselves as well either executively, or through an internal coup in the party in the case of parliamentary democracies. They are enormously more flexible.

The Chinese governments back handed handling of their stock market is a good example. They exercised powers far beyond those available to democratic leaders, but they were wrong headed and they persisted with them long after it was obvious they were harmful. And the same people that made these grave errors are still in charge and faced no consequences. This is a better system?
Hence pendulum clocks.
Before your reply, I will add some explain for these terms
Those attempts do three very important things:

Clarify poor understanding.

Result in awesome (for them) questions. They will be the ones they need, and often the more aggressive people will ask want type questions, seeking. All high value.

Educator will be challenged more deeply and broadly over time as they see better questions over time. New ones require effort, and that brings both greater mastery of the topic and how best to frame it up for people about to jump in and start understanding.

Should educators analyze those questions, they can augment all this by a quick "chalk talk" prep session to help all this along, stimulate more and better thinking.

This has been standard for me in various education roles over the years. It is rough the first few iterations, then very rewarding for all involved after that.

Turns out people, and their diverse backgounds and experiences will both approach things in surprising ways, as well as think in diverse, at times, equally surprising ways.

Understanding that better, as well as having some broad experience seen over time, very seriously improved my ability to identify with a given student and have a more accurate mental map of where they are. I can then seek to fill in gaps, or entertain extensions (their seeking) as time and their desire permit.

Worth it. Not the easiest way, but is my goto every time.
Can you please not do flamewars on HN? They break the guidelines and lead other people to post worse. We're trying to avoid that downward spiral.

I realize you didn't start it, but guilt amortizes out pretty evenly once people start going at it like this.

https://news.ycombinator.com/newsguidelines.html
Ask HN: How does the Washington Post paywall get around Chrome's incognito mode?
I've noticed that relatively recently (I think last 6 months or so, not sure) that the Washington Post paywall has been able to block access after multiple article reads, even if I'm using new Chrome incognito windows for each article read.

To do this, WP must be recording state from somewhere, even though (theoretically) incognito mode should prevent this. Anyone have any idea what they're doing? If I switch to a private window in Safari things work, so WP isn't just recording IP addresses, so my best guess was some combination of device fingerprinting with IP. If that's the case, that means incognito mode should really offer some sort of fingerprinting-thwarter that makes this leaked state more difficult to access.
I'd suggest filing a public report to their support on Twitter phrased something like "services inaccessible to underprivileged users", that should trigger enough keywords for their AI managed support to notice. Be sure to get as many quantifiable likes, retweets, upvotes, etc as possible, as that is all data which is used to increase the internal score of the report in their system. Once its been elevated to a human, as rare as that is, play the victim; you're not from the West Coast, so you don't know the West Coast ways, but play the victim, get support behind you, and your issue will be resolved within a week. Good luck!
> It sounds like capital markets are saying, we like this cost structure. Continue it and take more money.

The capital markets care about the bottom line, not about internal cost structure.

So for example, a company with 100 devs and 1 CEO looks exactly the same to "capital markets" if the CEO makes $105m and each dev makes $100k, or if the CEO makes $5m and each dev makes $1.1m.

There's quite a large room to change the current cost structure without eating into the margins.

Beyond that, those margins at tech companies tend to be quite wide, giving even more room for flexibility.
Funny thing is I am trying to get some people from market where they don't make a lot of money and trying to pay 1.5 to 2x what they can get. Still getting people to work is a hassle. I also have no need for ninja/rockstars. It might be that they have comfy jobs already and are afraid of change... Free market is not just about money it still is complicated mixture. So just calling executives greedy is not catch all truth. Maybe I should try to pay 3x more, but business is not there for 3x average salaries for that area.
Some general advice I've given multiple junior developers over the years, you probably aren't a junior but most likely applicable to the advice you are seeking. These were passed down to me by other developers. Other HN folk will have links to literature but hopefully my advice will give you a precursor.

* testing - write your functions small enough to be readable, but not so small their abstractions are meaningless (because you have to test them all)

* testing - don't reach into your code's modules and mock. Instead use dependency injection with non-testing defaults

* code review - It shouldn't be personal, if it is are you reading it wrong or are they attacking you personally?

* code review - when referencing style complaints ask for reference material. Don't get caught in cyclic-pedantic style war between lead devs.

* code - your code should be environment agnostic, if you have environment/context specific things to do, pass along a environment/configuration dict or make a global config singleton. As long as your code depends on that you can write code more discretely.

* code - personal preference but try to not nest your loops too deeply, when you can use itertools.

* code - if you can help it, try not to mutate dicts/objects in place while in a loop. Makes testing a difficult.

* code - exit early if possible, test for failures instead of nesting your entire function inside a single `if`. Helps identify the bad inputs faster as well.

Above all, remember code isn't perfect. It's a tool to get to an end goal. If you aren't solving for the end goal you aren't solving the right problem. At the end of the day, you are employed to build a product and that product needs to perform it's job. (that isn't a pass to write super shitty code)

edit: formatting
> Today everything I care to protect already runs over SSL

Dns? Wins? Bonjour ?

> and all the sensitive resources (documents file server, for example) are protected with authentication.

But are the files streamed in plaintext? (samba, nfs3, nfs4 without encryption)?
Hadn't heard of rg before, awesome!

Perfect counterpart to sharkdp's alternative find: https://github.com/sharkdp/fd
How much of this is cultural and how much of this biological? It is hard to know from aggregates across cultures.

If you stratify by different countries across a wide range of cultures you may be able to infer this from a linear model.
It's a bit of a shame that the article goes about the history instead of the science. Personality is something that psychologists study, but they use the five-factor model: https://en.wikipedia.org/wiki/Big_Five_personality_traits

One big problem preventing the five factor model from catching on is that the five factor model seems to have value judgements built in (agreeableness friendly/compassionate vs. challenging/detached seems to imply that it is a good thing, so a lack of it would be bad), whereas MBTI makes both ends of the spectrum sound positive (in Thinking vs Feeling, Thinking sounds equally good, vs challenging/detached).

Another facet is that MBTI assumes bimodal distributions, but as a result they can come up with catchy characters like "The Debater" and "The Entertainer" which five-factor doesn't do.

As a result, people tend to talk MBTI, even among folks who know about the five factor model, just because it's easier. It has some amount of predictive power, much better than a horoscope or tarot cards or blood type or astrology, and the reality is that people talk about that stuff all the time.
Attacking fellow users like this will get you banned on HN, even if you find their website annoying. Please don't post like this. The idea here is: if you have a substantive point to make, make it thoughtfully; if you don't, please don't comment until you do.

https://news.ycombinator.com/newsguidelines.html
Soldiers, patrolling with guns, in Germany... Are you sure?
> This may be all security theatre. Or the times are really changing.

The whole point of terrorism is to convince you that "times are really changing" and that nothing is safe anymore. It only works if you let it. Try not to.
Freedom of speech is the freedom of an individual or a community to articulat
Our experience designing and building gRPC services
Salaries have been rising in some markets.
The problem is that 1 in 1000 of them are actually thoughtful questions or genuinely grateful feedback that you don't want to miss. You just have to dig through 999 comments saying "you suck" or "send me something for free".
The adult brain has some limited ability to recover from injuries. It's quite possible that if an aggravating factor was removed, Alzheimer's patients could slowly improve.
The problem is that they did see it clearly in the short term, and more ads and tracking always provided considerably more revenue. If Outbrain offers you $1M to be put on your site but it slows page load by 500ms on average, you put Outbrain on your site because there's no easy way to quantify how bad 500ms is to a userbase of 100M.

It sucks, and is part of the reason I changed industries.
Hard to call it "idle cynicism and incuriosity" if you know that most of what's in the news is at best a surface-level coverage, most likely bullshit, and also completely inconsequential for anything.

News is great as a social object - you and me both read some reporting about an event at the same time, so when we meet at a bar, we have something to talk about. It's really bad if you're trying to learn accurate information about the world.
An email is waaay different than a phone number. You can easily just use a burner email- but using a burner phone is too much work and costly.
Thanks rdegges. I am aware that Amazon S3 is the "de-facto" in storage right now (and it has been for a while). The problem is that I am not able to come up with an estimated monthly cost, using their calculator (data at rest, in transit, downloads, uploads are charged differently). I would love to use Amazon S3, but do not want to find out months later that bills are higher than what I charge my customers.

However, I believe that your answer still helps - it's what I have suspected. Looks like I will have to bite the bullet and try S3, do a "best effort" estimate and learn as I go...
> software engineer salaries at the top end have grown like crazy.

All I've seen are 30-50% increases over something like a decade. These are hardly "crazy" increases for a field in which profits have gone through the roof, and they only apply to the "top end" as you say.

Developers below that top - i.e. the majority - have seen very modest increases at best.

Check how much executive pay increased over the same time span, to get an idea of "crazy growth".
Communism? When did communism enter the picture?

This is in Illinois; the public library district is primarily funded by local taxes within its service area, and referenda on such were passed on multiple occasions. Some state and federal grants have also funded tech improvements. Its current land was purchased from the local school district in the 1970s.

Overall, regardless of today's bullshit political climate on the national level, there's a great deal of local civic pride here. The local government (which is separate from the library district) runs a balanced budget, the municipally-owned water system charges significantly lower rates than a neighboring town's privately-owned water system even though both of them get their water from Chicago, and the village has (when it made sense to do so) entered into electrical power purchase agreements that have resulted in lower electrical rates for residents. There's also a long tradition of reusing civic buildings; the village hall is a former school building, and the original fire station became the police station when the fire district expanded to three stations to deal with the town's growth.
Write an introduction paragraph that gives context for non security researchers/penetration testers/etc.
(2008)

Though the 45-page book was finished in 2015, according to https://leanpub.com/lispweb.
I notice a lot of retirees like this (close family included!) but I think this is a matter of conditioning and temperament. Having had a habit of working or going to school one’s entire life, suddenly having plenty of time to yourself is likely a huge sudden change.

I’ve seen some individuals, once retiring, take up hobbies and volunteer and enjoy time with friends at cafés. I think they were aware that they could spend a retirement doing nothing, and that was likely a big motivator to find pastimes.
Unless they lie to you in the title and debunk that lie in the middle of the article - which they damn well know most people won't read.
Users are already doing key management! It's just that the record ID, public key, and private key are all the same number.
I remember seeing the trick on Tomorrow's World (a UK science TV programme) back in the 90s. Can't find a link to the particular episode though.
The answer is yes. Dislikes allegedly count 100% as much for the engagement algo as likes.
Don’t know what’s political about answering that question directly except that it’s from a Trump quote. I suppose most people would prefer everyone just not answer here - in which case I wonder what this article is doing on hacker news at all if we don’t want to have this discussion here.
I use WSL with ConEmu professionally. ConEmu has all the usual terminal bells and whistles.

Overrall it works pretty well, I'm rarely reminded that this isn't Linux or a Mac (as long as I'm just looking at the terminal). I still prefer working on a Mac (pre-crazy-keyboard), but this is a serviceable replacement for working on your standard web frontend stack. Once in a blue moon NPM will produce some esoteric WSL-only error that will take hours to debug, but that's rare.
> Why would you want so many tabs open in the first place?

Some reasons:

- Ctrl-clicking to open tabs since I can then load them in the background (because I'm impatient, and because I don't want to get distracted by clicking into all the references in the main tab while reading.

- using tab tree extension I can then easily see what path lead to some interesting page I found

- by default, if you type ab address you already have open in another tab, Firefox will jump to that tab.

> Is this really a common way to use a browser?

Yep. Bot extremely common but I do it and a number of other HN-ers as well. Mozilla seems to be aware of it and seems to have it in their performance tests or something.
It's most likely on purpose. Adtech is as much about making you money as it is about making you think that it's making you money.
This is provable more easily places in hub cities like Bangalore, Bay Area and Seattle. The benefits are trickling down to other cities slowly.

Most people who are smart enough to jump ships now have 2-3 offers. In cities like Bangalore, a jump can fetch anywhere from 20-200%. 20% is minimum irrespective of the current salary.

Perfect time for anybody who hasn't tried checking this in a couple of years.
I think there is a natural system of balance found in a true free market. When thinking about longer term ideas such as climate change it is ultimately up to the average desire of the population of comsumers as a whole. Even though this has shortcomings I think it is a more "fair" system because it is just a reflection of the psyche and desire of the people and not a controlling party or politburo.

When thinking about things like unsustainable growth rate and ghost cities in China I think that is the negative side of the top down model of central control. The ability to change policy quickly might be a benefit but I don't think we will know the true result in terms of benefit to civilization or country until we can look back and compare systems in the future.
If you're on v68 and want to stop Chrome from upgrading add this on /etc/hosts:
0.0.0.0 tools.google.com

H/T: https://stackoverflow.com/a/36183372/728287
The same can be said of private individuals and housing. But that doesn't mean the level of willingness to pay is trivial or unjustified, and it doesn't mean people who think house prices are too high are greedy.
> Do they not know? Do they think we're lying? Or would they just rather complain than actually solve the problem?

Companies typically complain about "lack of talent" so the government will let them import more low-paid developers from abroad.

There is ample proof that the tech industry fails to tap into many existing talent pools.

For example, SV couldn't afford to be openly ageist if talent shortage was really its top concern.

You are right that if companies were really so desperate for talent, you'd see a lot more willingness to compensate developers in various ways.
I think the dust issue at least has an solid explanation, insofar as most of our electronics have cooling which attracts a lot of dust, much of which falls nearby. The toys... clearly a desperate attempt by either time travelers or extradimensional entities warning us about an invasion of sentient avocados.
An introductory paragraph, as umvi suggested, would be very helpful.

Also, please don't use sockpuppet accounts to upvote HN submissions. That's not allowed here, and we ban accounts that do it.
The first point is possible, but given an era of super low taxes and massive stock buybacks, I doubt that many of these places can't afford developers, I bet they just would prefer to use that money elsewhere.

I think your latter point is much closer to the mark.
That's what happened originally. Then bigger and bigger ad deals came in, then you needed more tracking to sell better deals.

The current revenue model is completely at odds with performance. If you're an established media company you can't just bail on principle and give up millions in revenue, unfortunately.
I think your assessment is fairly accurate, although my recommendation would depend on having slightly more information. If you're looking for C++-like language but designed from scratch to be more modern (singular toolchain across platforms, better package management, compile-time guarantees about things like data races), then Rust would be a good choice for you. In my opinion, it's roughly as complex as C++ but fixes a number of the common pain points that resulted from C++ being designed to be mostly compatible with C. On the other hand, if you'd prefer something with less complexity with C++ (simpler memory model, smaller number of language features, eschewing of "magic"), then Go is probably a better choice.

Ultimately, I think the right choice comes down to identifying what exactly your dissatisfaction with C++ is.

Disclaimer: I'm a huge fan of Rust and not much of a fan of Go, but I do have experience writing each of them, and I tried to focus on the positives of each language as they might appeal to the parent commenter