skysight-inc/HackerNews huggingface dataset:
Repeat after me: don’t do string operations without explicit locale. Don’t do string operations without explicit locale.

I don’t know why so many languages have string functions that should take a locale but provide an overload that doesn’t and which uses the system locale as the default. It can’t be what many developers actually want, yet it has become the norm. Worse, code using a default locale appears to work on the developers machine and in production, until someone parses a number in France or lowercases a string in Turkey, which is a late and expensive discovery of the bug.

The default shouldn’t be the system locale, it should be an invariant locale. And I’ll go so far as arguing this invariant locale should be invariant across systems (meaning it can’t just defer to a system C library either).
The fact that people are now working from home in very large numbers can make multi tenancy buildings noisy since people are SIP but making the sort of noise they'd make at the office, endless socializing on Zoom, phone etc. This claustrophobia is not likely to change soon as corporate balance sheets are lightened by the removal of commercial rents, HVAC, cleaning etc costs and WFH becomes the defacto norm.

Ergo more living space and noise exclusion is suddenly at a premium even if just suburbia.
That still applies to ~170k rental units, which constitute ~70% of the entire SF rental market.

https://www.spur.org/sites/default/files/publications_pdfs/S...
Ah, ok, I got caught too much into the hypotheticals. If you are going to say that additional costs to holding housing, do not effect supply in San Francisco, because the bottleneck is actually a supply cap, which makes it illegal to build more, then I can agree with that.

But, in general, if there are not laws that put a maximum on housing supply in the area, THEN property taxes would effect supply, as the bottleneck to new housing is costs and profitability, and not laws.
Text selection is a fiddly CSS issue that Ognjen didn't get around to fixing yet. There's only two paid features (saving words and machine translation.) About 3500 paying users at $3.50/mo after taxes and fees (from 800k total users), but before paying for servers/APIs, if you are curious. Free users are welcome.

[ Dear Netflix, let's be friends. There's a lot of work to do still, and we can go further, faster, with some small helps. Can we get a test account? Regards, David. languagelearningextension@gmail.com ]
Isn't it that chokepoints are what causes failures in the electric grid, not general connectedness? If you are looking at security holes in control equipment it doesn't matter of you are connected to a grid, when you've got the NSA/KGB/Chinese Ministry of State Security inside your generating station you've lost anyway.
That's a remarkably empty post. Just a terse rehash of news.
It is acceptable to write English without diacritics. "Naive" is accepted.
AutoKeras biggest competitor is rising
Hey thats a clickbait title :(
It's an acquired taste, but luckily also very easy to ignore in my experience.
Some people can't fathom how people in China can live under perceived authoritarianism are also those who use iPhones and support Apple's decision to lock down the AppStore and iOS because of privacy and safety safeguards. See the parallel there?
I think app developers need to band together to achieve much. But I agree: Google and Apple now wield monopolistic power and it would be in their interest to address this.

On the other hand: antitrust laws have no teeth.
Are there any good examples of working PoS?
> My mortgage repayments (including interest) are about $700usd/month.

Melbourne is not cheap, there must be more to this story. The average house price in Melbourne is $855,428. A $600k unit, 20% deposit, 25y mortgage, cheap 2% rate is $1.4k or USD 1k. + strata fees
I ran into this with C#/.NET on Windows - I tried to convert a string "1.3" to the float 1.3, and it failed on languages that use comma as their decimal separator.

That was a learning experience.
> this means that every time you add a new dependency, it takes 15 minutes to rebuild the first time you `docker-compose up` right?

Yes

> If this is the case, isn't this orders of magnitude faster than adding the dependency manually.

No. When developing a rails server running locally, you just need to install the new dependency via bundle install (usually takes just a few seconds) and then your server is ready to run again. With docker, the image needs to be entirely rebuilt, which is a much slower process, even with good caching. The difference is that docker treats the build as ephemeral and willing to be thrown away and rebuilt, as opposed to running directly, which simply augments the existing environment. It’s a much, much slower process to rebuild via docker.
Indeed, often technically correct is not the best kind of correct.
A large luxurious modern SRO.
Use the right tool for the work you're trying to do. WordPress is probably the right tool for the author's problem. GitHub Pages is probably not the best tool to use with WordPress.

A carpenter doesn't try to build a chair without understanding how both a saw and a measuring tape work. People who want to build a chair with a saw and a surveying rig are probably better off going to a chair store.

It seems that the author overestimated his technical abilities, and blames the tools he chose, rather than himself for choosing those tools.
thank you, kipply!
Thanks, I’m gonna try this.
This is what the author is trying to do.
> People are leaving because quality of life has fallen dramatically and the only thing keeping people in SF was their offices.

What are these quality of life issues, and how have other cities avoided them?
Just another Amiga 1200 refurb
See also: https://news.ycombinator.com/item?id=22083935
"... his original version worked fine and was stable. The experience of breaking refers to later versions that were expanded by his doctoral students and others and to ports to java and I think C."

I can believe this but I think your details overall reinforce my points above.

For a recursive descent algorithm it had some clever means of jumping to anticipated alternative analyses rather than doing a standard backup.

Yeah, fabulous but extremely hard to extend or reproduce. The aim of companies was to scale something like this. It seems like the fundamental problem was only a few really smart people could programs to this level and no one could take them beyond it (the saw that a person half to be twice as smart to debug a program as to write comes in, etc).
Tezos
I trust reasoning from first principles and mechanisms of action* more than pure observation. Because principles are robust, while patterns are fleeting and don't necessarily generalize across time or space.

* Which are found based from observation and statistics mind you. In this case the mechanics of disease spread in public transportation are very obvious.
One thing, Yahoo and IBM had remote, then one day that perm remote became a nope.

Some people are very poor at remote. If too many are thus, it may end.
Maybe there is a glimmer of hope of getting the old awesome San Francisco back, or has all the wonderful weird stuff been too diluted to make a comeback?
By default on a Mac you just hold down the key to get different options, similar to on an iPhone (and a presume touch-Android).

https://i.imgur.com/yuG063t.png
That's the nature of our society.

An argument can be made that it's morally wrong, but if you're going down that road, there's a lot of things should be morally more compelling than Apple's AppStore policies.
Ask HN: Does GPT-3 generated texts follows Benford's law?
As in title, i was wondering if it will be possible to detect a GPT-3 generated blog post by the fact that it might not respect Benford's law for word frequency. I did try to do this myself using as sample the article that tricked people here on HN https://adolos.substack.com/p/feeling-unproductive-maybe-you-should and it actually seems to have a weird word frequency pattern compared with other human generated articles, but i'm not so sure of my findings even because the sample is quite small in order to get to a conclusion. Is this makes sense? I would be nice if someone could help me figure it out.
We went through the laptop pain as well. In our case an MPC 1000 was sufficient for us for playing back samples and keeping hardware synths in sync.
That tech already exists with a fraction of the transactional cost, in the far majority of situations.
> and my employer saying they'd adjust my pay to reflect local cost of living I'm not sure what would be best.

This "local cost of living" and "regional market" argument is a farce. Remote workers are competing in a global market by definition. They might as well be honest and say, "we think we can get away with paying you less."
Do you have an open source Dockerfile that demonstrates this pattern? I've used builder images before, but not multiple.
And what does SF have for people who don't care about the "bars and culture?" Not much.

I spend a half the year in my Sunnyvale, CA home. I never go to SF to see shows, concerts, etc. Several times a year, when I'm in the U.S., I'll put together a trip to NY, LA, etc, to see several events over a long weekend. And/or go to Tanglewood, Monterey Jazz, Cabrillo music festivals.

People who visit me are shocked to learn that I live 40 miles from SF and never go there. (Especially because I'm a gay man.)

SF really needs to build more housing, and get the homelessness and crime problem under control. Pre-pandemic, SF had 2.5x the violent crime rate of NYC. (That may be different now that crime has spiked in NY.)
If we're going down that path, then it should more specifically be Standard Mandarin, since Standard Mandarin and e.g. Southwestern Mandarin are only partially mutually intelligible like French and Spanish are partially mutually intelligible.
On the contrary, I think Epic probably just shot themselves in the foot. Regardless of right or wrong, the result of their action is a delay in new users joining, more users continuing to use their product, and severely damaging the relationships they had with their distributors.

It’s going to take a while to hammer this out. They may win in the long run, But for right now, i suspects they’re losing more than Apple or Google.
The education itself would not be very marketable since there is no validation, accreditation, etc. The vast majority of places require an accredited degree to be hired. If you want to work for other people, especially at larger companies, then what you want to do would not be very helpful.

If you want to work for yourself, this could be a good option. If you gain a good reputation working on open source projects, then maybe you can get into smaller companies or startups that aren't as stringent in their policies.
Is NFKC necessary, isn't NFKD enough? (As in you have to normalize and decompose both strings, but at that point you can check them for equality, and doing the canonical composition isn't needed, right?)
Well, an "industrial model" is a model of a factory and it seems unlikely you could product a fully-functional, from scratch GFAI program like SHRDLU in something like a factory.

Perhaps one could create a different kind of enterprise for this but it's kind of an open problem.
wordpress.com is the site you want.
I've never used that particular mouse, but $110 seems steep to me. $40 used seems pretty reasonable though. Fwiw I got a $25 ergonomic mouse off Amazon that has served me well for two years now.

I agree with the article though, it works great and no wrist pain at all. I even game with it.
It's too late for nuclear. If the last 30 years had seen R&D anything like wind and solar we'd be in a much better place. And the battle for public opinion is lost.

Unfortunately, there's no time left for nuclear (fission), so the best we can do is jump on the renewables bandwagon.
You can also skip the docker rebuild and map in the build directory from your host system as bind volume instead.
I am really hoping the mobile platforms like iOS offer pure wasm sandbox APIs for this use case. This could be a powerful way to support programmability, app extensions, etc outside of the appstore. It could appease both Apple for security and developers for flexibility.
So, yes, Wordpress is a nightmare.

But no, static site generator plus headless CMS is not the answer, regardless of how many comments here enthusiastically say so.

I’ve been down the static site generator rabbit hole for the past 7 years...and realized they aren’t really well suited for anything other than tiny developer blogs that don’t ever get updated (dev writes his occasional post in VScode)—-or, giant company marketing sites that get hooked up to enterprise-y headless CMS products like contentful.

If you’re somewhere in between, I’m starting to think Webflow is the answer. In fact, I’ve started moving all my side project marketing sites/blogs over to them and couldn’t be happier.

The problem with [insert static site generator] + [insert headless CMS] is that getting off the ground is a massive pain in the ass.

If you’re trying to set up a static site for your side project, let me give you a preview of what your next couple of weeks will look like:

First you have to pick a SSG. There goes a day of research. Then pick the next hot CSS framework (of course, you shouldn’t waste your time on this, but you will). Tailwind! Sick! Then setup a build process. Then troubleshoot the inevitable issues. Fixed. Then setup a git repo. Then hook the repo up to Netlify. Then hook up continuous deployment. Then get the domain. Then configure the domain to talk to Netlify. Then realize your hot new SSG doesn’t do any SEO stuff for you. Setup xml sitemaps. Generate proper tags & structured data. Then you have to create the actual site. Realize your CSS framework is overkill. You’re already a week in. Optimize for breakpoints. Cool. Almost ready. Now let’s write some content. Shit, I’m never going to write if I have to fire up my code editor each time. Look into headless CMS options. There goes a day of research. Pick one. Now Setup models in the CMS. Try to figure out how to hook it into your git repo and trigger deployments to Netlify. Realize the UI of the headless CMS you picked is clunky. Never actually write any content. Forget how you even set everything up. Get frustrated. You haven’t even hooked up any analytics or email signup capability yet. Give up.

On Webflow I’ve managed to cut the previous paragraph down by about 80%.
Check out the public API, read the source, look at the data model.

Wordpress is a workhorse on the web, but it is a complex, inconsistent mess full of weird edge cases. It is much harder to introspect, debug and reason about than it should be. You need tons of specific, specialized knowledge to interact with it as a developer.

The reason for that seems to be this: it is built with people in mind who cannot code, but the reality is that for many cases this doesn’t suffice, so you end up with a hodgepodge.
Mine are mostly state-related. The DB and files from a live site are so tied up in basic config & functionality that if you only have the source code repo you may as well have nothing.
I just lost some respect for Bruce Schneier.
Corrected! Thanks. English is not really my strong suit. :)
WordPress has GUI builder (Avada, Beaver, Divi, etc.). That's why so many people want to use WordPress.
> When I said "all" I was clearly talking about people I know, not everbody everywhere. Specifically people that I know.

That wasn’t clear to me at all. This is an important distinction because tastes of people we socialize with tend to be more similar to ours than not, and our tastes are rarely representative of the general public. Especially when public health decisions are concerned, some tastes happen to be more impactful, so it is inevitable that some section of the population will be disproportionately pissed when their favorite activities are restricted.

Gun or motor vehicle related hobbies, even having a pet have always been subject to restrictions when it comes to ensuring public safety. Turns out having a pandemic now renders new activities with a higher risk profile, well tough luck, we have to put up with it.
>> Smaller than nearly half of the US states. Alaska by itself is ten times their area.

I wonder if there is something between those states, maybe some sort of land bridge linking Alaska to the more southern states? The north american grid is very multinational, with the US generally a net importer of Canadian power, especially in the east. Except texas. They are weird.

https://en.wikipedia.org/wiki/File:NERC-map-en.svg

(And be careful when talking about the size of US states. Americans don't like being reminded how small they are.)
I suppose, put succiently, you could say that Factorio is like all the things in software engineering that are not writing code.
One of the big unspoken reasons these questions stick around: they cause little imposter syndrome anxiety for the senior engineers who need to conduct the interview. You ask a candidate to code a toy problem, and the candidate either knows the "trick" to solving it quickly or they don't -- very little risk for you as the interviewer, you're just watching things play out.

But if your interview requires you to pair program on real code like you'll do in your actual job, it opens up a lot of room to look dumb in front of an interviewee. You have to handle bugs on the fly. You have to look up (for the 5000th time in your career) whether you should be using Array.slice or Array.splice in this case. You go back and look at a similar implementation in your code base for a template instead of coding from memory.

And that's a shame because the live coding exercise is both a better predictor of hands-on job success and it's a better recruiting tactic: you've just had a vulnerable, collaborative experience with someone who will actually be working with you on a regular basis and you get a sense of whether you'd actually like to work there. But we keep doing these algorithms exercises because they require such little effort or interaction from engineers who are doing this interview in between two meetings with no prep time.
Livepeer Video Mining – Transcode live video on your GPUs in exchange for fees
Which iirc is an alias for ToLower on the en-us locale. (Same for the other C# *Invariant() methods)
That's a well-reasoned and well-written comparison; I'm going to direct people to it rather than trying to explain it myself.

There are a few other Zachtronics games that you might like too!
And a note that it assumes ASCII. On an EBCDIC system, the 'A'-'Z' test will translate other characters besides letters.
I think you are right in a narrow sense. But from the perspective of a society, it seems to create 'negative' value.

I have a few words to say on that.

https://louwrentius.com/cryptocurrencies-are-detrimental-to-...
Go, Rust, Python, Ruby?
It's everything except the typing!
Why? Could you elaborate further?
I agree that the principle is interesting.

The music/video industry asserts that you're not allowed to play/show some media item that you've bought. Amazon doesn't allow you to resell or bequeath Kindle books. Caterpillar doesn't let you repair your own tractor.

The first sale doctrine was established in a very different time.
But do you have any decent counter-arguments against his case?
Why do you suppose these hires aren’t good at learning engineering best practices? I see comments like yours here all the time. Is it some kind of arrogance, perhaps amplified by a false signal sent by getting hired off leet code questions in the first place?
> Alright, an open-standard that allows Google to create a walled garden.

This doesn't make sense.

> AMP does dictate the internet in a way that forces the user to see and do how Google wants you to see and do.

This doesn't follow. AMP doesn't force the user to do anything. It encourages website creators to do specific things when building certain kinds of sites. And we're not even talking about AMP, but about signed exchanges.

> If Google was for open standards, I should have the ability to turn off google amp. No?

This doesn't follow. There are lots of open standards that you can't turn off (or that you suffer significant issues if you turn off). HTTPS, for example. Not to mention HTTP.

> If I host my own email server on my own IP range with in my colocation and send to GMAIL, I am instantly put in spam. Is that not dictating that my email to my mother is spam?

What does this have to do with AMP or Signed Exchanges? But also no. It's dictating that random email servers are almost always spam. This is both true and good for the vast majority of Gmail users, who don't have masochistic techy family members who want to host their own email server for indie-dev cred. There's nothing about this that isn't for open standards. It still uses all open standards, and is solved using open standards (DKIM, etc.). If you want to host your own email server, you need to be willing to put in the work. Unfortunately, it's a lot of work. That's not Google's fault, its spammers'.

> Amp dictates the web and will as they see fit.

In what way. You still haven't explained like, what the point is. What is the intent here? So far your post is just a bunch of scary sounding buzzwords, but you have yet to make a cohesive argument about what Google is doing and why this is a bad thing.

So here's some specific questions for you to answer: What is the walled garden you're accusing Google of creating? And again: how does an open standard allow Google to create it? And how does a walled garden let them "dictate how the internet operates?

When I pushed you to answer that question, you pivoted to entirely ignoring your previous argument and instead claimed that there were other situations where Google wasn't for open standards. That may be true, or not, but it's entirely irrelevant to your accusation that in this case, the open standard will let Google "dictate how the internet operates".

You need to draw the line from AMP to "dictate how the internet operates", and so far you've avoided actually making that connection when pressed.
I live in SF

I bounced between hostels and luxury hotels and airbnbs in central Europe last year, it was about $600 per month. With the luxury hotels being subsidized by reward points.

I pay over 10x more than that for pretty decadent living in SF. Not a complaint, I know what I'm doing. Just perspective.

I would highly recommend living abroad indefinitely.
Well, you're very fortunate.
yes, to be fair they patch vulnerabilities in their vendored version of libraries

https://github.com/sparklemotion/nokogiri/issues/1992
I remember an article which showed that GPT-3 quality of answers were very dependent of the previous questions which I find quite surprising as it has already been trained on a large number of texts..

And there were an attempt to train GPT-2 with a common sense database:
https://www.quantamagazine.org/common-sense-comes-to-compute...
it would be interesting see the results with GPT-3..
WordPress is an incredible blog editing software, which is why it's so popular, so I get the author's intention.

It'd be amazing to have something that let's you open a desktop app, have WordPress with all (or most of) its themes and ease and plug-ins for blogging, deploy changes to a git repo, and from there to a host -- in a way where you don't need to know more than how to make an account on say Github and Netlify.

Maybe there already is something like that, I'd love to know if so!
The Fourth Industrial Revolution – Are You Ready?
My god if I hear this argument one more time I'm going to pop. What on earth gives you the idea that you are something more than statistical inference?