jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I think its a huge problem for Java. Try doing proper string collation (standard library or ICU4J), or regular expression matching, in a context where your strings are all UTF-8 and your output should also be UTF-8. Operations that shouldn't require allocation do, because you have to transcode to UTF-16. Not to mention that in some cases, that transcoding is the most expensive part of the operation.

All the core Java APIs are built around String or CharSequence (more the latter in releases post-Java 8). CharSequence is a terrible interface for supporting UTF-8 or any encoding besides latin1 or UTF-16. If Java's interfaces had been designed around Unicode codepoint iteration rather than char random access, then the coupling to UTF-16 wouldn't have been so tight. But as things stand, you aren't doing anything interesting to text in Java without either (1) re-implementing everything from scratch, from integer parsing to regexp, or (2) paying the transcode cost on everything your program consumes and emits.
Wow what a great post, thanks for sharing!
You have evidence that git is hard to use, but no evidence establishing that it's too hard. Some things just aren't easy.
Not sure how much if this is for real. I believe the fact Brazil happened to thrive during the financial crisis was due mainly to the China led resources boom and Brazil's plentiful supply of iron ore. Same reason Australia also thrived.
Sorry, I don't know anything about finance/business. What you say makes some sense to me, that going public lets initial investors cash out, if they so wish.
But I'm still confused, why not sell public shares from the get-go. Is it that it's easier to make your case (for investment) to a VC than it is to Joe public?
As an Australian that's dealt with the US bank/tax systems:

* Mortgages in the US traditionally are 30 year fixed rate.

* Mortgages are deductible from federal income tax up to a certain value

* People in the US have trouble understanding things that Australians are used to, like: variable rate mortgages, fixed/variable rate mortgages, redraw accounts, lines of credit mortgages, which all Aussie lenders offer.

On the other hand, as an Aussie I was confused by:

* People still writing cheques (checks). Like, really? On paper and stuff? Haven't written a cheque in Australia since 2000 and the only time I see it is the "CHQ" button on an EFTPOS.

* Contactless credit cards are only just a thing and people don't have PINs, they still stick their card in, or swipe (?!?) and sign.

* There's no such thing as EFTPOS which goes direct to your account, there are Visa/MC debit cards that work in the field like credit cards, but you can overdraw and get fees charged.

* Discounts for cash are still a thing because the CC charge isn't available. People get things like cash back on their spend, but then pay more for the card in the first place.

* Everyone worries about their credit score that changes in magical ways depending on different weird spending rules that have incentives for taking on debt but only in certain patterns that they won't tell you.
Sure, if China wants to ban say, Safari, they can do that.

Seems like a very bad idea to me, but it's their country and they can choose policy. I think Winnie the Pooh is smarter than Trump and won't just throw a tantrum because he didn't get his way, but it's certainly possible he'd decide to turn every iPhone in China into a brick rather than accept that we don't want to keep telling eavesdroppers which server name you wrote in the URL.

The GREASE isn't there primarily because of China, as I said they don't build crazy fragile technology, they don't have anybody to sell this too, the Great Firewall is an in-house project, so it's mostly simple and robust. Bad destination IP, connection blocked. Rarely a big problem in a technical sense.

GREASE is because of stupid corporate middleboxes. Middleboxes are a technical problem, because even when they have an apparently mundane and legitimate purpose they tend to go about it in stupid over-complicated ways that destroy forward compatibility. All of the weird spelling of TLS 1.3 is because of middleboxes. Why is HelloRetryRequest spelled ServerHello? Because if you don't say ServerHello at that point some famous middleboxes explode. Why is TLS 1.3 ClientHello written exactly like a TLS 1.2 ClientHello (including the version number) except with crazy extension values? Because otherwise middleboxes explode. Why is there a bunch of completely random data labelled "Session ID"? Is it a session ID? Nope. If that was missing, you guessed it, middleboxes explode.
Or even a VM if you don't want to have a physical phone.
You are welcome to return and share your work in seven days!
I had noticed that the UK distributors that I use on a regular basis, RS and Farnell, have stopped hosting TI's datasheets on their sites. It makes it quite annoying to make a quick check to see if the part does what I want.

Whats up at TI? They used to be great for datasheets and Appnotes.
I just find Norvig's style of "functional Python" lovely in its own way (with noted disregard of Pep8 and other "best practices")
That's what governments are for: to get in a man's way.
They retired, and their successors do nothing but PowerPoint.
Blogger was an acquisition, Pyra Labs. App engine was also an acquisition, as is Google Docs (Writely, I think).
I just happened across Hermann Hesse's The Glass Bead Game recently. For whatever reason, I had never read it before, and it's probably been my favorite book of the past six months. As a programmer, you may find yourself with a unique perspective on the Game.
For the record, while in the midst of discovering a possible breach of contract with a company the size of Microsoft, it would be very good form, from a legal perspective, not to risk further jeopardy by openly saying that you've breached your contract. While lawyers are often distasteful to HN readers, they do have immense value in these situations, and they are completely correct to say "do not admit error at this time, not until we've formally analyzed it, post-mortemed it, and resolved our contractual obligations to Microsoft". Yes, y'all may want them to self-flagellate, but I'd rather see them honor their contracts and respect their lawyers first. They already admitted that they behaved inappropriately. The rest is just icing on the cake.
I mean, Julia is flexible enough that it's pretty easy to implement arrays with different indexing schemes that have the same performance as built-in arrays: https://github.com/JuliaArrays/OffsetArrays.jl
Because I'm a pro procrastinator.
It seems pretty crazy that somebody would be able demand payment for somebody linking to their site. The Australian proposal doesn't initially go very far, I think only certain media organizations would be able to demand payment, and only certain tech giants would have to pay.
Using the algorithm is addressing the problems by not hiding them.
Let's imagine for a moment that path instructions could be mapped out with more verbose instructions. Would this really get enough practical use to be worthy of standardisation?

For the most part, SVG path outlines are almost always defined in software like Illustrator and Inkscape. Bezier curves are beyond the average person's ability to create or modify without visual aids. Simple path constructs aren't all that common in practice and the examples I see posted here aren't representative of real-world use.

SVG does provide transform capabilities to move, rotate and scale paths easily, and those features can be applied within a text editor. For anything else there are plenty of visual tools to aid path modification. Personally I've modified many an SVG file manually, but when it comes to the paths I can't say that seeing them laid bare would be of a help to my workflow.
Good and fair call. I softened the wording on digest comparisons. I sympathize with your pet peeve and like your apt example.

I wrote the article (although you probably figured that out).

Oh, and thanks for caring so much about reproducibility. We talk about this topic a fair bit in the .NET toolchain, and have enabled it over many years of investment. A lot of it comes down to timestamps or pathing (as you know).
Right, the Bristol Stool chart. What a fun when doctors ask you to keep a stool record.

> It's likely whatever was wrong with me was brewing for awhile, and just triggered into something severe when something pushed it over the edge.

I can't back it up with any evidence but my feeling is that a combo of stress and too healthy food (for me) triggered my gut crisis.

What I mean is that I started to eat food that was too rich in GOS, and also fructose, just before my problems started.
I’ve learned a lot about RSI over the past year, having spent about 8 months completely unable to type or use a mouse, trying dozens of things and talking to dozens of people. And the main thing I’ve learned is that every story is unique; the right thing for one person might be an absolutely terrible idea for another.

Folks in the comments seem to be making pretty broad statements about what is good or bad, and I just want to let readers know to take everything with a huge grain of salt.

In my case, fear of making things worse was the biggest obstacle — pushing myself to trust that typing isn’t dangerous, even though it hurt, was critical in my recovery. This is awful advice for many people with RSI, though.

My advice: see a physical therapist first. They can often help, or point you in the right direction. If months pass and nothing seems to help, seek out alternative explanations and keep an open mind. Check out The Mindbody Prescription” by Dr Sarno. It was the missing puzzle piece for me.
We know that high cholesterol is a cause of heart disease rather than a mere correlation because people with genetic Hypercholesterolemia have a rate of heart disease 10-20x that of the general population, independent of other risk factors: https://www.acc.org/latest-in-cardiology/articles/2020/06/01...
Fair enough. Although I would have stated that upfront (personal inertia). I was on the Amiga after it was no longer technologically the best platform. But I'd fully acknowledge that it was running on fumes at that point.
Are you still complaining that you don't know why you're getting downmodded?
The SL client ("viewer") has been open source for a very long time, and there used to be a thriving ecosystem of third-party forks. Nowadays Firestorm [0] is the one everyone uses.

The server software remains closed source. OpenSim [1], a community-driven reimplementation with federation support, has been around for a while but as you say hasn't really gone anywhere since the original wave of metaverse hype died down.

[0] https://www.firestormviewer.org

[1] http://opensimulator.org
Take a pre-trained Bert model and then fine-tune the label classifier part using the documents.
> Not sure what to make of this. Given the active security incident, is "Heroku-like" really a recommendation?

The incident happened right after we posted this 3 days ago. Not a great timing, I have to agree :)

> Myself, I'm on Azure DevOps, I can deploy my aspnetcore app to production in, like, 30s.

I'm not very familiar with MS Azure and the way you can deploy your apps there.

The goal of Stacktape is to allow you to deploy your apps in a production-grade fashion (the infrastructure is scalable, reliable, cost-effective, secure and the deployment process is repeatable, auditable, etc..). Not sure if your Azure setup does the same. But again, I can be wrong as I'm not familiar with it.
I'm conflicted as to whether experience is as important as money. It really depends on whether you're planning to stay at your current company long-term.

I took a rather large pay cut to get my first job. The experience as invaluable. And then I went to another job and saw a huge jump in pay. If I stayed at the first company, I'd have to have seen 400% raise over three years to compare to my current salary.

In a business culture where raises are typically a percent of your current salary (plus bonus/RSUs), starting pay and your first couple of raises have an enormous impact on your long-term earning potential at that company. A poorly compensated junior developer becomes a poorly compensated mid-level developer -- unless you start job hopping.
- think most people know that our core search is at https://breezethat.com/

- we're gradually adding certain topic filters, e.g., we launched a college scholarship topic search engine filter earlier this year, https://breezethat.com/b/scholarships

- we pushed our job search filter a couple of months early to help out the people at Fast who lost their jobs, hence the beta status

- there's several example searches on page, hmu here or @DotDotJames on Twitter if want / need help on a specific query & don't want to post in public

- we expect to have 20+ job listings by end of quarter & possibly end of month, re: https://breezethat.com/x/job-search-beta
How has this new perspective affected the choices you make in life?
Because it IS just a label. It has no inherent value or meaning. It's merely a descriptor which can be true or false.

Hardly, Compilers make sense, Humans do not at times.
This is an interesting perspective.

Is there any chance that Samsung is conspiring with Apple on this? If Apple wins, and Samsung has to pay a license to Apple, Apple could in theory, have an agreement to purchase that same amount in Samsung components.

Apple then goes and sues other Android manufacturers with the precedent set in the Samsung case. Apple wins by making a licensing fee on Android devices, Samsung wins because their Android competitors now have an increased cost of production.

I'm not normally a conspiracy theorist, but I just found it so strange that Apple would sue Samsung when the designs they are claiming have been infringed really aren't that original.
Not just a drug dealer, but Freeway Ricky Ross, who arguably helped invent crack whose cocaine supplier was the Nicarguan Contras, the CIA-funded army of Iran-Contra fame. I love Planet Money, but I wish they'd gone a little deeper into his involvement with the contras. If you want to know more look into Gary Webb's series, Dark Alliance. The restored site is here: http://www.narconews.com/darkalliance/drugs/start.htm
Ha, nice - I tried only goo.gl and bit.ly

With http://preview.tinyurl.com/3maue6t it works, btw.

Though, tinyurl still barfs when I try to shorten the data URI that http://software.hixie.ch/utilities/cgi/data/data gave to me when I let it grab the index of HN.
pg is exactly right. couldn't agree more.
"too many errors to deal with" - cheap.

You think that because it's possible to quit being a librarian, that negative stereotypes about librarians are okay?
All I can see in my imagination is Hank Hill working on that bus.
GUTS Tickets | Junior backend developer | Amsterdam, The Netherlands | ONSITE €30k-39k p.a.

GUTS Tickets is a ticketing platform/service that puts an end to disgraceful secondary ticket prices.

As a Junior Backend developer your responsibilities will be:

-Writing structured, clean code

-Work together with Designers, BE/FE devs and PO

-Writing unit tests, participate in code reviews

-Participate in our Scrum events

-Be a sponge and learn as much as you can!

Our (current) tech-stack consist of VueJs / React Native, Python / Django / REST API / Golang, Ethereum / Solidity / Crypto, AWS

Who we’re looking for

-Already some experience as a backend developer

-Strong knowledge in as many of of Python/Django/SQL/API’s

-Some experience writing unit tests

We offer: Competitive salary based on experience, Employee-based budget is available, We have PS4 gaming-battles, ping-pong tournaments, Friday-afternoon bbq/drinks on roof terrace, committed team-members from all over the world (all on-site)

Send your CV to jobs(at)guts.tickets (soliciting is NOT appreciated)
> When you can point to an ought that logically follows from an is, that'll be the most important day in anyone's lives.

There is a train heading for you, therefore you ought to get off the tracks.

(EDIT: And yes, I do recognize Hume's fork when I see it. I'm just glad I'm not sitting at a circular table with him, fighting over who gets to use it.)
It sounds totally practical but in this whole TSA debate there's a weird misunderstanding of public opinion. Various polls have shown overwhelming public support for body scanners for instance. People want the security theater antics. It makes them feel safe. Dogs are too old fashion -- people trust machines more. It's amazing to me how quickly the online community especially, but also the media, have forgot the uproar over the failed X-Mas day bombing last year. People were upset we didn't have full body scanners deployed. Another failed attempt and people will be demanding everyone gets a full pat down AND a body scan. Another successful attempt and they'll be demanding racial profiling. Maybe we'll ban Muslims from flying entirely. Nothing would surprise me. I guess my point is what is effective and what makes the public feel better are two very different things.
Also some people are terrified of dogs so having one sniff over them would be worse than being groped. Not that the TSA cares about feelings or anything though.
Huh, it worked for ö, but א gave me:

! Undefined control sequence.
\u-default-1488 #1->\hebalef

And the Japanese example above gave me:

Package ucs Error: Unknown Unicode character 12371 = U+3053

Either way, there's not much of a point in using LaTeX when XeLaTeX is available, save for intercompatibility. So until sites like this one start moving to XeTeX/XeLaTeX, we'll still often be stuck without (true) Unicode.
especially if they'd carry shows like Mythbusters

Watching Mythbusters Collection 6 on Netflix streaming right now.
> I don't think a lack of willpower is a moral failing, but let's suppose it is. How does that help somebody eat healthy?

They can train themselves to have more. There was a fine article on that very subject on HN some months ago. I believe it said that one key to self-control was not to attempt to fight the urge, but rather to avoid it.

The kid who tried to stare down the cookie broke down and ate it. The kid who hid under the table resisted (and got something better, later).

The nice thing about that is that learning to develop more willpower helps you everywhere.
> This is a smart blog.

somehow the first comment for this article makes me laugh :) cheap handbags.
:) I was watching when Justin.tv jumped the shark, when Justin took the camera off just when his date was getting good.
>so much about separate processes

I think the process is per-domain, not per-tab.
How is Telegram a ”safe“ but Signal isn‘t? This doesn’t make sense.

Telegram stores all history (except secret chats, which are a pain to use) server-side and effectively unencrypted.
(This is not addressed directly at you, parent commenter, these are just general thoughts.)

I studied journalism in undergrad, and I have never understood why people are so drawn to watch these national 24hr 'news' channels. During a major crisis, sure, but day in and day out? I just don't get it. There just isn't that much that happens at a non-personal level (personal meaning self-, family-, friend-, work-oriented) each day. In terms of staying "up to date," I still am not clear on why this is important to do daily at a national-focused level, but if it's important to you, it can be done in a few minutes by reading a brief recap. If you do want a more traditional news cast, PBS News Hour is a good one.

But with these 24 hr networks, given how little of import happens on an average day, most of the time what you are being shown are not facts, but opinions. And these networks are all owned by massive, massive megacorps. Not sure why anyone is interested in getting drip fed opinions that originate, however loosely, from these conglomerates.

They try to get you to buy into them by convincing you it's important to "stay informed," but never really explain why. They play on your desires to be a good citizen, to be seen as intelligent, to feel 'serious.' If staying informed is important, it's most important at a local level, where your real connections can help you have a real impact. People are so focused on what all the senators tweeted yesterday that they are missing the real problems, issues, etc. that they could help address in their local communities. In this sense, news might not come from media at all -- and here is where social media could actually have real value.
In a similar tone, there is a couple of interesting tools for Windows that measure perfomance impacts of different IO strategies. One is ccsiobench and another is hdtune.

[1] https://ccsiobench.com

[2] https://hdtune.com
For similar animations for purely mechanical devices.

http://507movements.com/

and

King Mechanical https://www.youtube.com/channel/UCq5j3ecL5WohYKF7RV_qUGg
I remember having a "malloc" moment moving from fortran to c. "You mean ... I can just ask for more memory?!"
The MobileCoin consensus protocol does not use proof-of-work, so CO2 emissions should be negligible compared to e.g. Bitcoin.
Wow! This is the first time I've learned about Adam Curtis, and he doesn't mince any words. This article is a crash course into the trajectory of politics over the last few decades. The interviewer must be commended here too!

As someone who's been fascinated by Richard Dawkins' motivations, it was revealing that as Obama pushed religion outside the White House, the whole Dawkins counter-culture against religion was made irrelevant.

It is, however, interesting that Adam Curtis says that people will find a purpose again with the resurgence of religion (Dawkins has a second chance then? Are we in a loop?). I wonder what HN thinks about that.
For all those that say it's a joke, I have 169,000 reasons otherwise...

https://www.kickstarter.com/projects/1306413684/flag-the-app...
tptaceck?
Yey I'm not getting prosecuted. Good times.
>You grossly exaggerate throughout your post.

Not exaggerated though is it: https://www.cbc.ca/news/politics/trudeau-conservative-swasti...

Lantsman used Trudeau's words against him.

"Conservative Party members can stand with people who wave swastikas. They can stand with people who wave the Confederate flag," he said

This is Trudeau himself saying it, I am not exaggerating anything at all. My comment being 'canadian media' who absolutely covered it much more. Canadian media absolutely covered it exactly how I said.

https://www.thestar.com/news/canada/2022/02/07/nazi-flag-at-...

There was a grand total of 1 nazi flag and nobody ever positively connected it to the protest. The guardian may have tracked it down and they asserted that the flag was alleging that Trudeau is the nazi. Not that the flag holder themselves were nazis. I dont know if that is true or not.

which hey, bill maher commented on Trudeau. https://www.youtube.com/watch?v=6i72czkSUsM

To note, bill maher made this comment BEFORE he crushed the protest using force.

>You are behaving exactly in the way that has discredited the protests.

On the contrary. The protests never got discredited. They got smeared by the media.

https://nationalpost.com/opinion/rupa-subramanya-freedom-con...

One Indo-Canadian trucker, Kamal Pannu from Montreal, I spoke to, was bemused that the protestors were being bracketed as white supremacists when so many of them including he himself are ethnic minorities and people of colour.

> Quit shooting yourself in the foot like a damn fool! Report honestly, and you’ll find that people will grant you more credibility.

Here's an interesting reality.

https://www.ctvnews.ca/health/coronavirus/to-tackle-vaccine-...

Antivaxxers tend to be racial minorities. Why do indigenous and black canadians not get vaccinated? I dont know. Why did the Federal government jump immediately to calling the protest a bunch of nazis when the protest was disproportionately not white.

I think mainly your comment is interesting. I wasn't really intending to get into the freedom protest. It was offtopic and just a lite comment.