skysight-inc/HackerNews huggingface dataset:
I personally love this comment as a quintessence of startup mentality.
Granted, if replacing arbitrary sequences with arbitrary sequences, then copying is necessary, as this could result in the output length increasing.

However, for replacing scalars only, the in-place mutable version is in some sense superior: it doesn't force a memory allocation. Moreover it can be trivially converted into a copying version by simply wrapping it in a function that first copies the input, and then mutates it in-place. The reverse is not true: the copying version cannot be wrapped to create a non-allocating version.

To be honest, I wish more languages put this kind of effort into their standard libraries, but most have about 10% of what I would like to see. For example, this kind of "string matching" is really "sequence matching" and ought to be fully generic for any underlying comparable and copyable type, not just arrays of characters. String search algorithms like Boyer-Moore ought to be directly applicable to arrays of integers or enums, e.g.: for recognition of code patterns in lists of parsed tokens.

At least one person has done something like this for Rust: https://github.com/peterjoel/rust-iter-replace/blob/6c575eeb...

Similarly, there's the new InPlaceIterable, which is interesting but not quite enough to suit my taste: https://doc.rust-lang.org/std/iter/trait.InPlaceIterable.htm...
Which part of “overt activist community” did you not understand?
That’s funny, if you deliberately say the actual N-word instead of using ‘N-word’, even in the described context, I actually can see why you would fire somebody.

Because I can’t see a valid reason why you would actually say that very laden word out loud in almost any context.
Wikipedia: Criticism of C++
I felt the geography factor myself (despite being born in a developed country) when colleagues were telling about getting internships or junior positions out of highschool or when still living at home - there were little to no local (=same country) jobs or companies in my industry when I was young (the situation is better now, but I emigrated almost 20 years ago).

The idea of growing up in a city/metro area where you could know someone local working for such companies sounded like sci-fi.
he did, at least a few years ago a former coworker worked with him in Paris at a French streaming provider or so
In general this is not a good idea, as glibc is tightly coupled to the kernel it's compiled for.

https://stackoverflow.com/questions/57476533/why-is-statical...
Cheese isn’t cheap, but are vegetables and meat cheaper than pasta where you are?
Did anyone else feel like they missed the bit where it explained why you shouldn't be building websites for iPhones?

I kept looking for a sentence which summarised the analysis of performance issues and brought it home. I don't think iPhones were actually mentioned in the last 3 sections.

I did learn a lot reading this about trends in mobile performance, it's a good article! I'm just not sure why it has this title - "Stop Building Websites for iPhones" probably would've been a better fit for Alex Russel's linked article, which actually shoots its shot:

When we construct a digital world to the limits of the best devices, the worse an experience we build, on average, for those who cannot afford iPhones or $800 Samsung flagships.
Was România free to buy everything the West was selling?
The Importance of Personalisation in Ecommerce
- Installing KeePass used to silently disable "ą" key (AltGr+A hotkey). "KeePass breaks system of every Polish user immediately after being installed." https://sourceforge.net/p/keepass/discussion/329220/thread/d... A warning was added later.
> For example, blockchain analytics solutions such as those provided by Elliptic can be used by regulated financial institutions to detect and block cryptoasset deposits from Iran-based entities including miners. Techniques can also be employed to ensure that transaction fees are not paid to miners in high risk jurisdictions.

Interesting. It seems like they're basically saying that mined blocks should be accepted based on the location of the one submitting it. This whole article seems to be a sales pitch. Lets see how decentralized and unregulated Bitcoin really is.

>This level of Bitcoin mining would currently bring in annualised revenues of close to $1 billion.

I wondered how they came up with that number. Miners currently seem to earn around $30 million per day[0]. 30*365*0.045 = ~500 mil. Seems like they conveniently used the highest recent rewards of $60mil per day. The statement just seems sensationalist at best, all things considered.

[0] https://bitcoinvisuals.com/chain-block-reward-day
> Littlewood's law states that a person can expect to experience events with odds of one in a million (defined by the law as a "miracle") at the rate of about one per month. - wiki

> At a global scale, anything that can happen will happen a small but nonzero times: this has been epitomized as “Littlewood’s Law: in the course of any normal person’s life, miracles happen at a rate of roughly one per month.” This must now be extended to a global scale for a hyper-networked global media covering anomalies from 8 billion people—all coincidences, hoaxes, mental illnesses, psychological oddities, extremes of continuums, mistakes, misunderstandings, terrorism, unexplained phenomena etc. Hence, there will be enough ‘miracles’ that all media coverage of events can potentially be composed of nothing but extreme outliers, even though it would seem like an ‘extraordinary’ claim to say that all media-reported events may be flukes.
Non-paywalled: https://web.archive.org/web/20210521150348/https://www.bloom...
Microsoft Rolled Out the Latest Windows 10 Without Internet Explorer
The replication crisis is not being addressed. It's being discussed occasionally within the academy, but a cynic might wonder if that's because writing about the prevalence of bad papers is a way to write an interesting paper (and who is checking if papers about replication themselves replicate?). It's been discussed far longer and more extensively by the general public but those discussions aren't taken seriously by the establishment, being as they are often phrased in street terms like "you can find an expert to tell you anything" or "according to scientists everything causes cancer so what do they know?". And of course the higher quality criticism gets blown off as mere "skepticism" or "conspiracy theories" and anyone who tries to research that is labelled as toxic.

So a lot of people only notice this in the rare cases when someone within the academy decides to write about it. This can make it seem like science is self correcting, but it appears in reality it's not. When measured quantitatively there is no real improvement over time. Alvaro de Menard has written extensively on this topic and presented data on the evolution of P values over the last decade:

https://fantasticanachronism.com/2020/09/11/whats-wrong-with...

Additionally as he observes at the end of his essay, the problems are due to bad incentives, so the only true changes can come from changes to incentives. However those incentives are set by the government. Individual scientists cannot themselves change the incentives. The granting agencies are entirely oblivious to the problems and the scale of their ambition is in no way equal to the scale of their problem:

"If you look at the NSF's 2019 Performance Highlights, you'll find items such as "Foster a culture of inclusion through change management efforts" (Status: "Achieved") and "Inform applicants whether their proposals have been declined or recommended for funding in a timely manner" (Status: "Not Achieved") .... We're talking about an organization with an 8 billion dollar budget that is responsible for a huge part of social science funding, and they can't manage to inform people that their grant was declined! These are the people we must depend on to fix everything."
Yeah, I hold what I believe is the popular (and most correct) opinions and there is no way I'd want to have a conversation about any of that with my coworkers.
I've come to think things works as well as it does largely because a whole lot of what people do has no effect either way. I see so much stupidity where the only saving grace is that it is directed into pointless efforts that won't be allowed to do any real damage.
I would look at that in reverse. Instead of looking for the next hot trend instead for the most common boring thing that everybody gets absolutely wrong. The goal of software is automation. My biggest challenge is finding the current problems that can be automated. This is a challenge because most people, especially many developers, don’t see the minor time wasters as real problems in demand of solutions.

Finding those problems and communicating the value of your solution are huge challenges that take practice.
That would work well if you could connect payouts to teams showing fail/pass on replication; ie., so there was funding available for replication.
No, F3 is help. F1 is cancel.

https://retrothing.typepad.com/photos/uncategorized/wp51.jpg
Something about this feels very much similar to airplane pricing.

Intentionally make the default (come into work) option uncomfortable or inconvenient. Offer “upgrades” for more comfort (work from home) and convenience.
Air India cyber-attack: Data of millions of customers compromised
That's status quo

It's called the "research grant system"
The .NET Coding Pack for VS Code
>Right-wing cultural opinions tend to define certain groups of people as not having the same right to be there. You cannot simultaneously advocate for tolerance and be totally okay as just a minor difference of opinion with the other side saying that some people should be thrown out.

Left-wing cultural opinions tend to define certain groups of people as not having the same right to be there. You cannot simultaneously advocate for tolerance and be totally okay as just a minor difference of opinion with the other side saying that some people should be thrown out.

The amount of blatant racism from SJWs creating "safe spaces" free of straight white males is disgusting. Identity politics peddled by leftists is literally what you've described.
Wow, you expertly decoded the secret Q meaning of my message! Well done!
I played with Appimages a while ago, trying to create one from scratch with a Ruby interactive shell inside. It worked well until I tried it on an older Ubuntu, it gave me glibc errors. To make it work I had to find a docker image with an old enough glibc to use as my "compiler", then copy over everything to the Appimage. I also tried compiling an older glibc from scratch inside the Appimage, that solved nothing, as well as needing to install all the binutils that I wanted to embed in the Appimage and make sure the PATH does not contain any host os paths.

It was a nice learning experience, but far from the "Easy to make, runs everywhere" marketing Appimages have.

Does using muls libc and statically linking everything actually work out in practice? I read somewhere (HN comment, don't have reference) that it still might not be enough and your programs still need to the OS libc.
Would you have the same thoughts about sex slaves or indetured servants?

Protecting an imoral industry because there is a demand for it is imoral.
> The electricity being used by miners in Iran would require the equivalent of approximately 10 million barrels of crude oil each year to generate - around 4% of total Iranian oil exports in 2020.

4% of the post-sanction exports. It seems that the sanctions "evasion" does not have an impact on the efficacy of the sanction.

Instead of seeing Iranian mining boom as some tech-enabled sanction workaround, I see it as just that -- a boom just because electricity is cheap.
Hmm, I use an app called "Fake GPS" which works perfectly, but I am rooted (and all apps run fine).
Which labs? Or do you mean botanical specimens held in places such as the British Museum, with which they can compare with to check the species - but not propagate from - as they're long-since dead?

Seems to me the excitement in this news, which has been doing the rounds for at least a couple of weeks now, is that the oft-threatened single species Arabica has a similarly-tasting 'backup' in case of a global coffee rust pandemic.
I was having exact same problem and done a ton of research on the issue. Ultimately y I decided to buy eGPU which solved my problem.

It seems that Radeon is taking a lot of power even on idle screen and with low load. This increases temperature which in turn creates environment where throttling on CPU happens so not only Macbook gets hot but also it’s much slower.

After research I found out that I can either work in clamshell mode (and I’d rather grew fond of having MBP + external monitor) or find a way to mitigate it.

I decided to opt for eGPU which solved issue immediately. MacOS feel snappier, I don’t remember last time when fans started and it’s cool to touch. Not an exactly cheap solution for a i9 MBP but, eh, you do what you have to do.

eGPU brings its own share of problems to MacOS (like ejecting it is not a simple thing - I always have to resort to doing this manually from console) and pulling the cable will kernel panic, but the upside is that I get quite nice connector hub and photo editing software works much nicer.

I do think it’s a shame that Apple even designed MBP like that. You buy beefed out MBP (5600M wasn’t even available when I was buying it - and supposedly it fixes this issue) and it can’t handle so complex task as displaying the second monitor without launching the rocket engine.
For that you need to build some little tooling around it. You have to do the service registration somit auto starts and then you need some form of a harness to restart the go daemon if something goes bad etc. Also the one deploying Go needs system permissions on the machine.

For a PHP deployment this is all handled by a fully standardized Apache httpd (at least back in the days, nowadays setups became more fancy) and the PHP.user just uses (s)ftp to copy the files in and all works magically. Need to update? - Just copy the new files. This is the unbeaten simplicity. (Of course that breaks at some point, like imma high traffic site simply copying the files via sftp will lead to some request in the middle having inconsistent state etc.)
Boot longevity has nothing to do being rich (let’s say that rich means being a 5 millionaire). The rich are rich because they played the game somehow and won, or maybe their parents did. That simple.
I guess the question I have is, what about political issues that are inherently part of the work you’re doing?

Is it reasonable to talk about the politics of building a widget that will have an effect on people?

I work in marketing and end up having this type of political discussion fairly frequently with bosses and colleagues. How are we tracking folks? What data are we collecting? What does the law say we can do? What’s our risk tolerance for breaking the law? These are all inherently political things that should be addressed and thought about. Burying our heads in the sand isn’t productive.
The problem is the incentives. To do well, you must publish. To publish, you must have a good story, and ‘we tried this and it didn’t work’ is not one.

So after a certain time spent, you are left with a choice of ‘massaging’ the data to get some results, or not and getting left behind those that do or were luckier in their research.
Thats a great thing to do voluntarily for your health if you have extra fat to spend (IMO)! But no so much when you are underweight and don't have means to procure another meal.
Sam Vimes's $10 boots have become the 800 dollar cars in that article.

But cars are optional if you live somewhere with working mass transportation.
I wonder if there's something similar with apps and JS heavy websites.
Show HN: Triangula can now create polygonal art from images
The system that produces PhDs isn’t that bad. It is a good way to create research portfolio useful for employment in private sector. We need to pay less attention to the title though - this is not a distinguishing achievement for life.
Email is a different can of worms, but it does not just correspond to web design 20 years ago. You can use a lot of CSS in email, but in a different way and under weird constraints with never exited on the web.
Congrats!

I see the web/index.html references a service worker that doesn't exist in the repo. Is this the case or am I looking in the wrong place?

Do you have a generated service worker file you can share?
This is what Graeber writes:

"Historically, human work patterns have taken the form of intense bursts of energy followed by rest. Farming, for instance, is generally an all-hands-on-deck mobilization around planting and harvest, with the off-seasons occupied by minor projects. Large projects such as building a house or preparing for a feast tend to take the same form. This is typical of how human beings have always worked. There is no reason to believe that acting otherwise would result in greater efficiency or productivity. Often it has precisely the opposite effect.

One reason that work was historically irregular is because it was largely unsupervised. This is true of medieval feudalism and of most labor arrangements until relatively recent times, even if the relationship between worker and boss was strikingly unequal. If those at the bottom produced what was required of them, those at the top couldn’t be bothered to know how the time was spent."
Yeah, although it's also available for Mac
step 1: did you apply for it...? yes / no
> yes: it's more than likely real, but remember with anything always go directly to the source and don't click links willy nilly.

> no: then its 99.9% fake / phishing.

Surprisingly these attacks and other forms of phishing are on the rise ever since that facebook leak... coincidence? that joincidence with a c! ;)
Del.icio.us has been serving an expired SSL certificate since May 4th
The endgame was to offer a job based on successful completion of background check which obviously requires entering personal information

If that isn’t the absolute final step to becoming an employee there is a huge problem. Contact the potential employer using contact information from their website and verify the legitimacy of the opportunity before submitting any personal information beyond a resume.
No project I'm aware of, but I did cobble together a script to do something similar. In my I case also wanted it to work with copyq so there's some noise related to it.

tmp=/tmp/out
maim -s -u | tesseract - "$tmp"

# Remove empty lines
sed -ir '/^\s*$/d' "$tmp".txt

copyq add "$(cat "$tmp".txt)"
rm "$tmp".txt
rm "$tmp".txtr

tesseract insists on adding on txt extension and what I assume is some intermediary file txtr, making it awkward to use with mktemp. Probably explained in the manual which I skipped.

But like others have said tesseract is not very reliable, at least with default settings -- it's common for it to add extra spaces or various single quotes, or omit spaces.
I've added a few examples of polygonal output to the README here [0].

Many people commented on my initial post on how Triangula could be used for LQIPs. I've created a library called tip [1] for this purpose, which is currently not production ready but should work for almost all cases.

Any feedback for both projects is appreciated!

[0] https://github.com/RH12503/triangula#polygonal
[1] https://github.com/RH12503/tip
>Why would a search engine (1997) make glasses (2013)?

It literally was just because Sergey Brin thought it was cool.
How to Hack Nautilus (Ubuntu File Manager)
Obviously. Children are pure and not spoiled with current agenda.
> What makes people still decide to use BSD for this category? Stability? Features? Security?

The memes.
Non-paywalled: https://web.archive.org/web/20210521060549/https://www.reute...
Dota 2 also has the best sound design of any game I've played. You can close your eyes and still roughly understand what's going on.
I wonder if it is possible that Deep Learning, GPUs and Bitcoin maturity pre ASIC had collided in such a way that an attacker could have done that then pivot to selling the power for AI
>In the US people constantly quit to start small businesses, work for other businesses, or just not work at all. There is zero threat of violence if you choose not to work.

SOME people. Median savings are ~$4k, realistically the average person needs access to credit (which they may not have), a strong support network, or some other way of surviving longer than 2 months without work.

And whether or not you do have the wealth or support network needed to choose not to work is determined mostly by who your parents are. This isn't a fair system.
Pretty much the same with me. I checked that macrumors thread weekly if not daily at one point, but after 100 pages you lose all hope.

Will switch to Apple Silicon version of 16 when it comes out, but boy does that leave bad taste in mouth.
Would love analytics, ultimately I'd want to better understand where customers are spending the most time (which case studies/parts of a case study) or a slide, I imagine that will come in the future and be in some premium version but well worth the cost!
I love how this touches on perceptions of intelligence vs wealth. Our family was somewhat poor, with 5 kids growing up on 1 public school teacher's salary, but we all made good grades. I remember this one kid saying "I thought your parents were doctors or lawyers." And what he meant was, you have less than me and you do more with it - but you still have less than me.
I can imagine what sort of mind produces such thoughts: an unoccupied one.

Lots of people are going to work just to get out of the house and doing make-work. They aren't invested in their work. It isn't what they want to do. The work isn't real with real outcomes and real responsibility. It's not hard.
The story is to illustrate why poor people stay poor, not how rich people got rich.
This is very interesting but for people who are not from the field note

1. The compressors he is comparing to *are* neural networks themselves (PAQ)
2. He is using a rather small corpus enwik8 (100,000,000 bytes), instead of the common enwik9
3. He is not publishing the amount of RAM or hardware he used

http://mattmahoney.net/dc/dce.html (seems down)

https://web.archive.org/web/20210216231934/http://mattmahone...

It seems Bellard is starting to play with these. I bet he will find interesting things and I would love to see him interact in the Russian compression webforum (please don't link). Big names in compression like Yann Collet, Matt Mahoney, and Jarek Duda used to hang out there.
I was clear about who I was talking about.

Many of the educational centers you mention are similarly dishonest about medical facts, which is doubly revolting as they're preying on people in a very vulnerable moment.
A pound of ground beef is just shy of $4 in Walmart. You can't just eat ground beef on its own. A frozen pizza [0] is $2.70 and is tipping on 1800 calories, and is a decent meal for 3 people.

Processed food is _so_ cheap.

[0] https://www.walmart.com/grocery/ip/Great-Value-Rising-Crust-...
Copyfish is cross-platform: https://ocr.space/copyfish
It is not possible (in principle) and it was never intended for peer review to protect against fraud. And this is ok. Usually if a result is very important and forged, other groups try to replicate and fail, after some time the original dataset (which needs to be kept for 10 years I think) will be requested and then things go done from there.

Assuming not good faith for peer review would make academia more interesting, only way would probably for the peer reviewer go to the lab and get live measurements shown. Then check the equipment...
Mosques in Iran utilise free energy to mine Bitcoin (2019)
It feels very un-functional to me - the turtle is extremely stateful.
Because I don't want apps to be actually sniffing traffic whilst pretending to be something else.