skysight-inc/HackerNews huggingface dataset:
On my system, the line number reported by qgrep is correct and matches ripgrep. I don't know why the article's example is off, but I'd probably assume it was a copy & paste error.

> Seems like an apples and oranges comparison to me.

This kind of misses the point. The OP is perfectly up front about this. It's not an apples to apples comparison in the sense that the tools are doing roughly similar algorithmic work internally, but it is a decent apples to apples comparison in terms of the user experience. That is, searches are much faster when you have a pre-computed index.

With that said, getting the user experience around keeping the index up to date is definitely a key component of this, and the article doesn't really explore that aspect. But I don't think index creation/update time should be included search benchmarks, since the whole point of a tool like this is that creating or updating the index should be a relatively cheap and infrequent thing compared to the searches executed against the index.
I confirmed it worked with Django before releasing :)
How do you suppose we are going to evolve to not have bio-hearing at all given that their offspring is not born with these implants?
OO is basically about modeling data. It doesn't make any statements about procedures, even if it includes operations on said data. If you expect more from OO, you will be disappointed.
Actually - most desalination is done by reverse osmosis - which is much more efficient than evaporation.
UK already does it.. at least at Gatwick.
> The fact that GCC/Linux/glibc/etc were pre-existing projects that multiple corporations chose to contribute to without gaining any real "ownership" or control makes them less relevant examples for you?

The comment I replied to says

> If you look at companies that have successful business models where the income actually comes from the open source software itself (Red Hat/SuSE), you'll find a lot of critical copyleft GPL projects (GCC, Linux, glibc, systemd, Samba, ...).

My point is that nobody is paying for RedHat so they can use GCC or the Linux Kernel or glibc, and none of them would "die" without RedHat.

Also, I imagine practically no one pays for RHEL just to get RHEL. They want the certiciation/support/training from RH (some of which they used to provide as a service for their free product).

RedHat is essentially selling a service (support), and to provide that RedHat has a Linux distribution they control completely.
No, there were no good enough designs, and after decades of effort they are still elusive: There has been huge amounts of subsidy money poured into breeder reactors and Pu fuel in the west, much later than China Syndrome.

The subsidies have been in the form of the MOX program, PRISM, and other gov funded fuel recycling programs in many countries. The problems remain: weapons grade Pu profileration risk, unviable cost, dearth of demonstrated working large plants due to technical difficulties inherent in the designs, difficulties scaling up to commercial sizes competitive w traditional designs.

Yes, there are many interesting designs on the drawing table, same as it has been for decades...
Being suited to a job is a combination of hundreds of factors e.g. experience, temperament, social skills, personality type. And those factors do not necessarily correlate with gender.

So ignoring all of those factors and just focusing on gender is illogical. Especially given that men/women are not all uniform and exhibit wildly different personality and behavioural traits.
I'm happy to criticise both. The "developed" world shouldn't be buying goods with >neutral carbon footprint, and China shouldn't be selling them.
Maybe it's because I've seen too much of the masses of automatically generated "articles" that pollute my search results, but I really hope stuff like this doesn't proliferate, because I think it'll just lead to even more of that spam --- and be even harder to separate from the useful stuff.

In general, I have the same opinion of this as I do things like automatically generated comments in code: "If it can be generated by a tool, it's not worth reading."
> Getters/setters are technically message-passing methods, but they undermine the design goal because they more or less directly expose internal state to the public world

If they do, that's your fault for letting them. I guess you mean when people chain stuff thus

company.programmers.WebDevs.employ('fred')

where .programmers and .WebDevs is an exposed internal of the company and programmers department respectively? (I've seen lots of this, and in much longer chains too. We all have). In which case please see the Principle of Demeter <https://en.wikipedia.org/wiki/Law_of_Demeter> which says don't do this. Wiki article is good.

I doubt any language can prevent this kind of 'exposing guts' malpractice, it's down to the humans.

I remember reading that Alan Kay said when he saw the Linda model (<https://en.wikipedia.org/wiki/Linda_(coordination_language)>) he said it was closer to what he wanted smalltalk to be.
Funny, much of the ignorance I see is on the pro-nuclear side. Like claims nuclear is the cheapest source of energy, when the facts are painfully otherwise.

SpaceX operates by testing a lot and blowing things up. You're not getting that with nuclear. The SMR makers have not delivered much; the closest to delivery, NuScale, is not giving cost improvements that will be sufficient to turn nuclear's ebbing tide.
I doubt the population matters relative to the industries themselves that pollute.
Depends where you work. I just moved to SF and it feels exactly like being a student again, from communal meals to company run outings to the thrill of being in a new city.

I'll probably spend a year or two in a studio apartment slightly larger than the ones in the article and then find a house with housemates, just like I did back in uni.
Linux Foundation Takes over Zend Framework
Time Zones Effect Sleep
> conclusion arrived to from a problem is not always the right one

Very true. I'm also very reflective about my own thinking process. Why I don't like money is that it's too relativistic. I can get money by doing something useless that someone believes has value. For instance neighbors pay me to do the most simplest tasks on their computers. To me this has no value, I now accept the money because I'm a bit angry as the world requires me to make money. In my few IT jobs I found the work was moot and drowned into accidental complexity. But that doesn't stop the world from playing the money game. Raises, politics, inflated product costs, improper jobs .. It happens in other places too. Basically a lot of sales is super dirty and driven by competition economics only.

Maybe it's not money but the average western person mindset that I have a problem with.

I find it very asocial and inhuman. I'd rather carry an old person's bag.
To get an equivalent to all those meaningless "BIO" certificates?

You know that every loudspeaker can be used as a microphone, do you?

You know that even stuff without radio can be converted to send files wireless (e.g. CPU as radio, already published a while ago by someone)?
Republicans in the u.s. are the biggest threat to the climate because they don't think there's a problem.
EU tells Facebook's Nick Clegg to rethink ad rules for elections
I hate to talk about this. I'm a minority in the country in which I'm living. I've experienced racism -- more explicit than anything described in this article. And yet, I do not believe that the country in which I live is racist. I do not believe that the community in which I live is racist. There are a few racist people. Some are friends of friends of mine. Some are even my friends. Somehow. I'm not sure how that works, to be honest.

But I'll say something which I shouldn't say. It's too personal to say it in public, but if you've never been a minority, then you'll never know. So to spare you from having to move to another place where you are a minority, I'll tell you.

The biggest racists is you. Every time you compare yourself to others and wonder if you fit in, you are dividing yourself from the others. Every time you celebrate your culture as if it is different from their culture, you are dividing yourself from others. Every time you say "they" instead of "we" you are separating yourself from others.

You can say it is their fault, but it's not. Nobody can control another person. Even if they are racist, it doesn't mean you have to be. How does it sound to say, "We are racist"? Pretty weird when it's them throwing the slurs, or denying you business, or just treating you like crap for no particular reason. It's still your choice. In or out?

It's hard. If you become "them", don't you throw away "you"? If you hate them because they are racist, because they treat you badly, are you part of the problem? If you accept it, aren't you part of the problem? Why can't you be "you" without having to give in to "them"? What's wrong with being different? What's wrong with being the same?

Those are hard questions. I haven't been a minority long enough to be able to answer those questions. Probably my life will not be long enough to answer those questions. That's part of the problem. The only thing I know is that you won't find peace waiting for others to give you answers. It's something that you have to work out for yourself. Maybe that's not fair, but it's the way it is.
You left out Austrian economics.

https://mises.org/wire/difference-between-austrians-and-ever...

https://mises.org/wire/austrian-economics-vs-keynesian-econo...
>And if you encourage immigration as the solution to shrinkage you end up with rising racism and other reactionary trends to these changing demographics.

One of the worst things about using immigration as a solution is that it's merely a bandaid. The worst thing is that people who encourage mass immigration are (likely) unknowingly saying their country is more deserving of the temporary benefits of immigration, and the source country can go to hell.

Many countries that are currently sources of large numbers of immigrants are rapidly approaching sub-replacement levels (e.g. Mexico), if they haven't already reached that point (e.g., Vietnam, China). The idea behind mass immigration is that you have a constant supply of workers and tax payers to subsidize the welfare of the retiring natives of a country. The idea of having a class of people subsidize others is troublesome enough, but the real problem is those less wealthy countries that immigrants come from are now lacking in workers and losing their own future. For countries that are still only beginning to develop, such as Vietnam, their future is a hell of a lot more at risk than something like Canada.

First world countries relying on immigrants have infrastructure and various frameworks built up that'll last them for quite a while after populations begin to dip. Poor countries do not have that benefit. Shit will hit the fan and hard. Young people who struggle to meet basic daily needs are going to be pissed when they're working for dollars a day and expected to support the social nets given to 3 generations above them while being told there's nothing left for them.

Right now, the government is saying we should mass import Vietnamese people to change the diapers of our old and do dirty construction jobs. What's Vietnam going to do in 25 years when its population crisis catches up with it, and every country around it is going through the same problem? Nobody's changing their diapers and their streets are going to crumble from insufficient laborers.
Thanks. I was about to write about no need for yet another instruction set.
WannaCry Hero (MalwareTech) Pleads Guilty to Developing a Banking Malware
Kdenlive 19.04 Released
I often wonder why this is the fact in software development and not nearly much so in other fields. Isn't the point of education that each generation doesn't have to learn past mistakes by repeating them? Do computer science curricula not include enough historical perspective?

I feel like other fields of engineering don't have such a dismissive approach to their own pasts. Show an electrical engineering class an old analog instrument and there's generally wonder and curiosity. Show a computer science class a slide with a 1 MB hard drive compared to an 1TB SD card and there's generally ridicule and laughter. "Look how stupid they've been", not "we've learned many valuable lessons since".
I used to enjoy reading Larry McVoy's comments here,

https://news.ycombinator.com/user?id=luckydude

Unfortunately, he hasn't written any comment here for more than a year.
> and is the ONLY scalable, reliable power source that doesn't emit CO2.

This is an example of pro-nuclear ignorance. Renewables scale just fine, and are sufficiently reliable with a properly designed energy system. Their huge levelized cost advantage over nuclear means one can afford to mitigate their intermittency with overcapacity, transmission, storage (short and long term) and demand dispatch.
It would be nice if you could add the carbon credit of each country vs carbon emissions
Back when I wrote a lot of obj-c is when I really 'got' message passing vs. a function call. I miss obj-c, but everyone wants to move on to Swift.
Ask HN: What applications do you have open?
I've got (on a Mac) in order when switching windows (Cmd+Tab):
Chrome, Notes, Slack, Terminal, TiddlyDesktop, Visual Studio Code, Finder, WhatsApp, Spotify, Postman, Kiwix, KaiosRT, TextEdit, TablePlus
The worst jobs out there are male dominated, and we don't see some big push to get more women working in them.

https://www.usatoday.com/story/money/2019/04/20/the-worst-jo...
>That's just a very naive simplification of a huge branch of electrical engineering.

Anything I am going to squeeze into a comment on hacker news regarding the subject is likely to be. So are you against the concept of continent wide grids and transmitting power long distance from sparsely populated equatorial desert regions to the more populous temperate ones?
>But on the other hand, modern society is unable to produce enough kids

This is a contentious claim, as there are different measures of “enough kids”. Some examples I can think of are:

Enough kids to support the economic 2% growth assumptions?
Enough kids to reduce natural resource consumption to prolong the number of years the Earth is habitable?
Enough kids to prevent another country or group of countries from walking in and taking over?
Enough kids to take care of the older people and the rest of the country’s infrastructure and still make advancements?

I don’t know what all the answers are, but it’s super complicated. From what I can tell though in my peer group, the biggest thing stopping people from having kids is lack of funds, job security, lack of parental leave, and an inability to find what they consider suitable partners within child bearing ages.

How much of that is due to women entering the workforce versus other things such as declining real wages and job opportunities, I don’t know.
Related from another Guardian journalist
https://news.ycombinator.com/item?id=19717962
O(n^2) is polynomial and perfectly acceptable for many use cases. Basic multiplication is O(n^2), as are many other operations.

for i = 1 -> n:
for j = 1 -> n:
do something

Although, if the outside n differs in size from the inside n, it should be written O(nm).
What are your ideas about more sustainable alternatives to our "democratic, equal" society? It seems to me a social movement that we cannot put the lid back on. It appeals ideologically (at its base level of "everyone is equal") and pragmatically to most people. Your points about sustainability are valid and we need to think about them, but what else can we do aside from progress towards a more egalitarian society with a more even distrubition of demographic groups throughout societal roles?
I knew someone would mention equity. I must say that, for one, I feel the need to push back against this new trend of trying to obfuscate what equality is about. Equity = equality. People who fight these notions pretended to not understand what equality is and say that equality of opportunity is what it means.

No, to any sane, empathic, person, the meaning of equality is clear: you want similar outcomes for everybody. It sounds complicated only to the people who think that a flat tax is the only fair tax. Let's not indulge to their (often voluntarily) obtuseness. In 20 years, they will pretend that equity means something else and we will have to come up with another word to express the same old concept.

You know, it took me a while to understand how well balanced the french motto was: liberty, equality, fraternity. If you lack one of these, you will corrupt the two others. If you think about equality while also keeping fraternity in mind (as in, "what would I want for my loved ones?"), then it becomes obvious that we are not talking about crap like "equality of chances" but true equality.
Generating Fractals with Postgres: Escape-Time Fractals
My worry is that at some point rich countries will start increasing in population again.

In the past we thought that overpopulation is going to be a big global problem. It turned out that rich countries naturally ended up having fewer and fewer children. This stabilized their populations. And now we expect that this trend will continue.

But why? What's to say that some shift in society won't trigger another population growth in rich countries? Then what?
> Empirically, there seems to be a transition point in development where democracy goes from making a country less stable to making it more stable

Even if that was the case for now (lets say e.g. reading or education made the masses harder to oppress), this doesn't mean other developments cannot outperform those effects in a different direction. Especially social media is a recent invention that seems to put a lot of power into the hands of very few. So far they don't seem to wield that power to drastically shape politics of our societies. At least not intentionally. But keeping it this way will be hard, since they either do something to prevent headlines like "A Genocide Incited on Facebook, With Posts From Myanmar’s Military" or have them attract the wrong kind of investor. Actually, the latter is probably impossible to avoid long-term, if the US broadcasting industry is something to go by.

The rising political divide in the US is an interesting upcoming case study. I don't see a lot that could revert course, so it will probably end as an anecdote for "less stable". The current US existing for that long is still a remarkable achievement. But we better use the knowledge we gain, since technological progress has made it unacceptable to have our societal systems become unstable every once in a while and needing to be reset violently.
so I have to record my phone conversation with the vendor I want to cancel just Incase I need to go to my bank and have them terminate? This is ridiculous and why consumer protection laws should be a thing.
I don’t think google has any interest in letting swift remain mac only, so in the long run i think we’re safe.

Not to mention the fact that mac doesn’t have any technology on the server, so if any code is supposed to reach production one day, it’ll have to at least run on linux.
Why is Santa Barbara Municipal one of their destinations rather than Vandenberg?
Difference being the EU doesnt have a 4th amendment.

The govt searching everyone with no warrant is a bit of an over reach.

They are supposed to use the 3rd party loophole and pay some corporation for the date.

In the US everything with a profit seems to be legal

* some sarcasm is in this post
The big problem we have is social programs. They redistribute wealth from young people right now to old people right now, but they are sold to young people as though they are investing into their future. As the ratio of young people to old people shrinks our social programs end up in more and more trouble. The fiscal gap is a problem in most developed countries.
Well, it's important when measuring which nations are most responsible for climate change. So we'll see the list topped by smaller countries with energy-intensive industries such as Qatar, as well as some small Western developed countries like Ireland also performing poorly. It helps provide a clearer picture of the climate change initiatives these governments should be pursuing, which I promise you matters to the industries themselves.
RSpec::Benchmark – Performance Testing in Ruby
True, I am big fan of them but there are some legitimate cases where a debugger is so practical.

There is a lot of code out there that has very little logical sense per se other than elusive business requirements..
Presumably by replicating extensively? How this was supposed to work in 1960 tech (and storage prices), I have no idea.

Xanadu is full of missing pieces like this one. There is a reason it never took off.
Should've called it PAJIT
How about we blame each, and every other country, based upon all factors, up to and including the end result.

There is no country (as far as I know) in a carbon neutral or negative state.

Degrees of shit doesn't really help anyone, just gives more reason for finger pointing.
You could also add geek and nerd, but I don’t think those rise to the same gross denigration. If it were the other f word, I think you’d have a point.
Seems like a "log to this unix domain socket" option could help for those cases? Or one to open a new file for new PIDs?
Most AWS consultants that I’ve encountered are old school net ops folks who took one or two classes, became certified and all they know how to do is a “lift and shift” and apply on prem designs and processes to cloud. That always ends up costing the clients more without many real benefits.

Coming from a development background, with some Devops experience, I want to take companies to the next step - actually taking advantage of what cloud providers offer and interface with the developers and Devops.

As far as “digital transformation consultants”, some recruiting companies offer both staff augmentation services where they hire contractors temporarily on a W2 basis to work for clients and offer complete project management. Companies pay them to actually build a project and/or build up a software development department.

The consultants work for the recruiting agency permanently. A team is built up under them consisting of temporary workers either locally, “rural sourced” by hiring developers in lower cost of living areas domestically, or outsourced.

I don’t like the politics and red tape of large companies and have avoided them for most of my career. Being a consultant I hope gives me the best of both worlds. The total comp that only a large company can offer and the ability to just work on projects without worrying about the politics.

If I were to work for Amazon instead of one of their partners, I wouldn’t have to move - just travel a lot.

Right now, I work as a developer at a small company and the de facto “AWS guy” but I am also filling in some non AWS technology gaps.
Now that you brought it up this way, I realized that I rarely step through the code. Instead I use break points + inspect like I would a print statement.

I find this a much more efficient workflow.
Good suggestion! Any suggestions for where I can find easily accessible data?
That's a great feature and one I was looking for two decades ago - glad that somebody is finally using technology to empower users in this way and it should be the norm for all online card usage. I just lament that it has taken a 3rd party card offing to accommodate this and it is not being driven by the main card players (Visa, Mastercard).
It also means that poor countries are better on these graphs. Does that mean we should encourage them to stay poor?
All of the crowdfunding projects I've participated in delivered a product (games, books, albums, hardware) that was sold as a normal product would be upon completion with the backers getting their rewards.

Patreon is maybe more what you're describing but that's not usually product-focused and is more patronage as the name implies.