skysight-inc/HackerNews huggingface dataset:
AIUI, not having first hand knowledge of the culture myself there are aspects of chinese culture ("cha bu duo" comes to mind) that are probably harmful to global society. However I think it's a lot more difficult to level criticism at those aspects for a few reasons. Chief among which being that modern much of modern chinese culture is some fiction/caricature of Han values created by the CCP as a tool. China is quite an ethnically and culturally diverse place, I think a lot of what we understand as "chinese culture" is a lot more top-down than you might imagine. I also think that culturally the US/west has some incredibly bad norms too (hypercapitalism type beat), and it's only because we have a more open/balanced form of government that those cultural flaws aren't as evident, which is why I focus more on the government and less on the culture/people.

Again, all of this with a grain of salt, I just read about this stuff and watch youtube videos.
Sorry, I’m just not sure most of that is true anymore. How long ago was your experience? I remember bouncing off lsp-mode into eglot years ago as well for similar reasons, but nowadays it just seems totally different to me.

I’ve never used anything but xref in lsp-mode, I rely on xref a lot. I wasn’t even aware that lsp-mode has, or had, something bespoke there.

I use flymake, not flycheck, I don’t think I had to configure that.

projectile is just my personal preference because I'm used to it, the manual says it integrates with either project.el or projectile.

I remember the weird popups you mention from my first lsp-mode trial. I don’t know where they’re gone, nowadays it’s just text in the buffer. (But I don’t know whether that’s ElDoc or not.)
We can either be infinitely scared and do nothing or we can actually make progress in a responsible manner and get a chance to fix climate.
The company was funded with Venture Capital.
Me too.[1]

But it would have meant years of work on language politics.

It might be worth looking at this sort of thing again, because machine learning is far enough along that recognizing and converting the usual array idioms is feasible. If the output code with array bounds is run time checked, then errors in translation will result in detected array bounds errors.

[1] http://animats.com/papers/languages/safearraysforc43.pdf
> Would this include any type of AI because a simple linear regression is technically "AI".

I can't predict what lawmakers do, but it wouldn't surprise me if the first draft said before someone explains to them what Excel spreadsheets do when drawing trend lines.

That said, the general gist here is an extension of the UK's Data Protection Act and it's successor in the EU's GDPR: while those said "don't process personal data without permission", I can easily believe it would be analogous to "don't process real data without the OK of a chartered engineer".

> Plus, one could just set up a foreign hosted VPN and sell their "regulated" product from outside the US anyway.

Absolutely; the internet mocks national sovereignty.

Also, Stable Diffusion isn't a US product in the first place, it's a UK corporation and a German university research lab, amongst others: https://en.wikipedia.org/wiki/Stable_Diffusion
Is this a joke reply? All I could find on Ty Webb is a bunch of Caddyshack references (I can't stand golf, so was clueless). Can you provide a link to the talk you're talking about?
You can still go look through it! I went a couple months ago.
What OP is building is not a typical "flat file CMS".

Flat File CMS are typical CMS systems (often times written in PHP) that run on the server, but use files (often Markdown/Frontmatter) as their data backend (instead of a DB like Wordpress, Drupal, etc.) – if you're looking for a really nice Flat File CMS take a look at Kirby (https://getkirby.com) or Statamic.

What OP is building (I think) and what others like Netlify CMS and Tina CMS do, are Frontend Applications (typically SPA) that output a set of content files, which can then be fed into a static site generator (like Next.js, Astro, Hugo, Jekyll), which will built a website from it. Often these content files live on Git – so the common interface between a SSG and the "static CMS" is often Git (or a local folder on your file system). So it's a "smaller" concept than flat file CMS. Typically these "static CMS" only care about content and have nothing to do with templating, etc.
oh hey this is cool, I'd like to start investing some time so this seems fun to play around with first
> The preprocessor poses another major problem. The preprocessor language and the core C compiler have no knowledge of each other. They are completely separate languages, with their own syntax, keywords, semantics, etc.

"I wrote my program in C."

No, you wrote your program in a custom language that only you (at most) understand, and you gave the file a .c extension.
This comes up quite frequently in the vermiculture forums. No one really has a definitive answer based on evidence (e.g. counts of pathogenic fecal coliforms) A middle of the road approach would be to run it through a cycle of hot composting.
This is a lie that often gets repeated over and over, but I have firsthand anecdotal experience of how this is not true. My mother has no formal education and when she was given an Android she struggled to do basic things. Once she got an iPhone it was night and day and an entire world was opened to her and she was able to use and discover her phone with almost no handholding.

That has still not changed with the latest Android updates. Yes the home screen might look "similar" but once you get past that first surface layer interaction, to people like her the Android system and UX design language are a mishmash of incoherent ideas and visions whereas on an Apple device things work as she would intuitively expect consistently regardless of the app she's using or what she's trying to do with her phone.
It has language servers for lots of things. Things you may not even consider languages! HTML, CSS, JSON (and all its different usages and schemas), etc.

What tooling would you install for that? What tooling does your system package-manager offer for that?

LSP-mode offering a “vertical” form of integration here (these major modes have been tested with these servers, and here’s how to install and invoke them) makes perfect sense to me as a user.
PGO will still likely improve general performance even with biased workloads because in many cases we want compilers to focus on optimizing happy paths, but this is not always well executed even when it's pretty trivial for human eyes.
Personally I advocate that people at least try to see if the flow of the writing makes any sense when read out loud—if not, it's probably just poor writing, stemming from a braindump with little organization. And as the very minimum, it would be nice if people stopped putting long-winded parenthetical additions in the middle of unfinished sentences.
> Buildings are responsible for nearly 40 percent of the world’s carbon emissions.

That doesn't sound right.

For example, according to the EPA [1], in the US the emissions come from different sectors like this:

- transportation: 27%
- electricity generation: 25%
- industry: 24%
- commercial and residential: 13%
- agriculture: 11%

How can buildings contribute 40%?

[1] https://www.epa.gov/ghgemissions/sources-greenhouse-gas-emis...
Keep It Clean: The Patron Saint of JPEGs
> And in my experience, the harder the subject, the more informally experts speak.

I guess I've been hanging out with different crowds. I typically find that the harder the subject the more exacting the language has to be to avoid miscommunication.
And Yesod is one of the worst options in Haskell, at least as far as making me wonder why it's doing so much magic. It's very much trying to build a fully integrated framework instead of being composable Haskell. (To be fair, the underlying parts written to implement it are composable Haskell, and re-used by a lot of other web server projects.)
OS X has been around for 21 years. Many readers of hacker news aren’t that old yet.

Triple click is only a thing on iOS, apparently. Thank you for the correction: https://support.apple.com/en-us/HT204390

Double click is easy to teach but it’s sure as hell not discoverable. Whereas second and middle button advocates have, to me, semi convincingly claimed that they could also be taught through consistent application. In other words, not better but not worse.
Archived: https://archive.ph/2022.10.12-171046/https://www.lrb.co.uk/t...
I just listened to Will on a podcast, and apparently, they're going to package Python apps with a terminal such as xterm.js to solve the Python distribution problem (either as Electron apps or in the web browser), then have customers host their "TUI" apps on proprietary Textual infra- basically a PaaS. He mentioned charging for features like SSO. The library itself would stay free for offline use and you could "pip install" any Python apps that use it.
His writings are really hard to understand (tried reading Changer de société, refaire de la sociologie) and it doesn't look like he's expressing complex ideas. Anyone here actually got something tangible out of him ?
I don't even have to try it, I was looking at Samsung phones recently and they were laggy and came with so much bloatware - they even had a built-in propaganda app regarding the UN Global Goals, it left me flabbergasted.
The X in particular had many problems with it's sandwich board design. The second hand market is still bursting with tens of thousands of faulty devices.
Apple's sleeping advertising business
> I think your maths is off - there are 1m square metres in 1 sq kilometre, but 2000 kW in a GW, meaning approx 0.002 kW per square meter.

That's not right. There's 2000 kW in a MW, not GW. 2GW is 2e9W, so over 1e6,^2 that's 2e3W/m^2 or 2kW/m^2.
Are you on OTP 25 ? With the JIT, in theory Jason is faster than Jiffy
Samsung as a company, I agree. Most of their lineup isn't really good and I agree they have weird ideas and invest into them too much - just admit it's going nowhere, damn it.

But the Samsung Galaxy S22 is a comparable phone to iPhone.
But the way people talk naturally does not lead to simple sentences nor simple constructions. People talk in runabout ways, add unnecessary details, miss others and then go back to fill them in. Some people do in fact use complex words and others use too simple wrong words when they speak. People use tone of voice to add meaning and also gestures.

Transcript of natural conversation is not a simple readable text. Instead, it requires a lot of editing to become one.
> I'm finding I can almost double my requests per second from simply switching the JSON encoder from Jason to Jiffy

Personal plug, but have you tried Jsonrs[0]? I typically get much better performance out of it (especially in lean mode, which seems to be the mode you'd want to use for this benchmark) than Jiffy for large JSON encoding workloads.

[0] https://hexdocs.pm/jsonrs/readme.html
Congrats on launch.

Do you develop apps on the side or do you make a living with them?
Also that slide maneuver to get the initial cube shape is really remarkable. It looks like a magic trick.
How neurons from PTSD Patients React to Stress
There's a huge amount of websites that don't need a CDN (my blog has frontpaged multiple times without one). And for many (all?) of the rest you'd be fine with 3-5 regions. CDNs increase latency for low-traffic sites.
When driving down country roads in the UK, it's normal to drive in the middle of the road - or entirely on the other side of the road, briefly, if:

* You have a clear view of the road ahead
* You're wanting to drive fairly quickly, which is when this road positioning can help
I had the Pixel 1-3 and personally I switched back to an iPhone because after the Pixel 1 every new iteration got increasingly worse. My wife is still on a Pixel 4 and it will land in the bin very soon too.
Ask HN: How to deal with after lunch fatigue?
Hi HN. I've been noticing that I experience severe physical/mental/attention fatigue after serving lunch which affects my abilities at work(I'm a full-stack developer).

I've been trying no-lunch routines a number of times and noticed a significant improvement over my attention.

What's your experience? Is there any medication/diet/routine that can be helpful? Is that related to vitamin deficiency e.g. B12, D3, etc.?

Thanks.
> It makes things much more visible.

In what way? Recompiling a few different binaries for various levels of usage (with/without whichever protocols needed) doesn't seem like an arduous task, especially for a distro. And the docs on how to do it from the curl project are very clear and "visible". I'm not sure how any module system would improve on this.

In fact, it seems like it would disimprove purely by virtue of not being idiomatic - compile flags are a familiar and straightforward, well-known approach.
I think the point is: If you had no abilities, and only f*cked stuff up without outside help, but you had solid product market fit, that's the only thing that matters because everything else you can acquire (including funds to compensate for your shortcomings).

At first it does sound wrong, but as I think back to all successful people I've known, including the ones that I could not for the life of me figure out how they got more success than I (eg, grade school dropouts, alcoholics, etc), I _can_ see how they leveraged an insight about PMF to achieve many things that I've always wanted and never achieved for myself. Very enlightening, but still kinda sad, actually, lol.
Oh, you don't have to tell me, I have made several hundred dollars on these deals - I only do money makers (where the cash back is more than the cost of the subscription). Plus one of my friends can always use the subscription stuff and are thrilled to get the items if it's not something I'd use. (Such as makeup & dog toys). I've always had the correct payout. I have a browser that I solely use for cash back websites.

I usually find out about these deals on https://www.doctorofcredit.com/ which is run by what seems like fantastic, non-scammy, people and its the only credit card blog that I know of that's independent. The rest shill for referrals.
Might be, but there is some dose of objectivity in judging sensory input / reality of sight?
This has been my experience as well, both individually and on a team. Everyone says it's fine as long as you show restraint and stay within bounds you collectively find comfortable/manageable. In practice, we all reach a point of understanding/comfort that doesn't stay with you on reading later, even by the author.
On the side.
I misspoke (miswrote?). You are correct, it was created to address the issues Google had with C++ and—crucially—other internally supported languages like Java and Python could not adequately fill C++'s role.

If Java could have filled this role in both compile time and memory efficiency, Go in all likelihood would never have been created.

But yes, Go beats Java in compile-time speed as well.
You're moving the goalpost of quality, which is arguably why this entire thread is such a loaded question that will never be adequately answered. Everyone has different definitions of quality, and both of us could tell anecdotes about people loving/hating iOS/Android until our lips bleed. Overall, the best we can do as a society is acknowledge the different things each product gets right and petition the respective companies to do better. There is no "lie" here, just a difference of perspective.
Another thing to add, do you log things in the other languages ? If not, what you are probably benchmarking there is how fast your console is in receiving the text (with a lock).

Also use a release, it will help some things here, especially on "short" benchmark, and make sure that the JIT is run.
And that, sir or madam, was a beautiful comment. I don’t know if you speak like that - and it doesn’t matter.
OP, this reply to your question ought to give you some insight: many people simply can't tell the difference.

And if you can't tell the difference, you certainly won't budget resources towards making Apple-quality products. Then you'll spend years wondering why Apple has such ridiculous profit margins before coming to the erroneous conclusion that it must just be everyone else that's wrong.
Sounds like it could be blood sugar related. What kinds of foods are you eating for lunch?

E.g. how much carb-heavy, protein, sugar etc?

Also, there are professional dietitians you can work with. Usually available by reaching out to your primary care practitioner for a referral.
Both Google and Samsung have extended the support. I don't think it is at the same number of years as Apple though.
Ask HN: Anyone selling plugins? (e.g. for Photoshop). Success/failure stories?
I haven't done much since I was a teenager, but once you have a feel for the basics, even non-standard diagrams are plenty to learn a new pattern. It seems so complicated, but most origami comes down to just a handful of techniques. That's one of the coolest things about the art, imo. There may be 100 steps, but those steps are all variations on a few different folds.
Gracias. Hope you continue to enjoy my stuff. Hope you check out the Textual code. I've tried to make it as readable as possible.
I believe it's a competitive perspective.

We've been told that "Western" norms-- particularly individual rights, democracy, and market economics-- are sacred and superior. Not only are they expected to win, they must win at any cost.

Before 1991, we had the USSR as the strawman counterexample. We could point at them and say "well, they got people into space, became a superpower in 40 years... but the people had to wait eight years for a car." Clearly it's the lack of Western Style Freedom (tm).

China has proven that you can deliver both politically (they're clearly a significant global power) and economically (rapidly rising standards of living and enough exports to become the world's factory). It starts to ask the question: are our holy values an end in and of themselves, or just a means to deliver economic and social development?

We can't possibly consider that alternative, so we've got to smear every step of progress they make. "But the Falun Gong!" "But the Uiguyhrs!" "But Tibet!" In the end, the results stand for themselves. I suppose the real challenge is the next generation or two-- meeting and lapping Western economic performance, with a population of 1.4 billion, in a period where a lot of the easy natural resources are claimed, may well be a challenge, for any system.
Product-market-fit is also not everlasting. Especially in the tech industry, things change really fast and even if you achieve a strong fit 1 time, you need to adapt over time or you become irrelevant.
> Ask HN: Are Laptops Getting Better?

No, worse. No ethernet, no optical drive, one socket for microfone and speaker, cannot turn off camera.
Try “Aramis, or, The Love of Technology” which I love on many levels. It’s not esoteric in any way.
This isn't a "feelings" argument but an argument against monopolistic, rent-seeking behavior.
This is not a responsible solution, and believing so doesn't belie some "infinite fright," nor does it discount the thousands of more reasonable solutions that could be applied here first.

If you honestly thought "space based power beams" were a realistic solution, then why you would even propose a plane as opposed to a boat is entirely beyond me. This idea that we're just going to find some "plug in" solution to our current infrastructure that's suddenly net positive for the climate only invites these kinds of irresponsible flights of fancy.

If you want an honest solution, then you're going to have to reconsider the mechanisms that cause you to fly cargo across the globe on jets in the first place. These systems were built for profit, and they continue to operate with profit as their primary motivation. If you want to manage the climate "responsibly" then you need to put it first, and when you do so, you realize that our current means of distributing products around the world is patently insane.

Only by ignoring that problem or hoping that literal "power beams from outer space" will magically become available and prevent any restructuring of profit flows leads to this kind of nonsense thinking.
Web 3 introduces new problems because of decentralization. It's not a solution, it's an alternative.
I specifically remember voting against brexit. Guess I ticked the wrong box.
I skip breakfast and have a lighter lunch with a coffee or tea without sugar. The bitter flavor helps suppress my appetite. I have a big dinner after work everyday and maybe a snack in the evening.

Avoid sugar IMO, I notice when I have a lot of it, I get hungrier sooner and with greater intensity
What are you talking about? Foldable phone sales have been shaprly rising every year and they're a massive success for Samsung.

Did you actually look at any real facts before you spewed your crock?
Exactly. Having a duty of care for someone and deliberately not providing that care with the intention of killing them is making you just as complicit in their death as euthanasia.
Apart from externalities, there are two other common reasons why commenters make wind/solar look wayyy cheaper than it is.

1: Commenters don’t compare like-for-like energy production, instead they often compare using the nameplate capacity e.g. compare construction cost of a 1GW nuclear plant with a 1GW solar plant. The right thing to compare is GWh produced. Capacity factor converts GW to GWh, and the capacity factor for nuclear is about 90% and for solar is about 15%[1]. Therefore the equivalent of a 1GW nuclear plant is 6GW of installed solar.

2: Commenters ignore the cost of systems needed to provide power in winter on windless dark nights. The real cost of wind/solar needs to include the necessary energy storage (batteries or pumped hydro or stored chemical energy or whatever). Some of that can be overcome by installing overcapacity (e.g. install 3x as much GW solar to cover aircon usage in early evening in Texas). Nuclear is very good at providing power at all times. Storage is very expensive - usually doubles or triples the cost of the wind/solar installation. The need for storage goes up as our dependency on wind/solar power increases.

By ignoring the above, solar/wind can look 5x to 10x cheaper than a fair comparison with nuclear. Many commenters are not interested in facts or numbers - they pick heavily biased numbers to make the argument they want to (usually that nuclear = bad).

A worked example of wind versus nuclear using chemical storage that shows 10% difference in cost: https://theecologist.org/2016/feb/17/wind-power-windgas-chea... even with their obvious biases towards wind, and comparing against the crappy Hinkley-C, they are really struggling to show wind is cheaper.

[1] https://www.statista.com/statistics/799330/global-solar-pv-i...
If you are comfortable writing Python, check out our open-source framework for creating data web apps: https://github.com/datapane/datapane.

It makes it simple to programmatically create serverless web apps from data, plots, and layout components, and you can embed them directly in your own product.

Here's an example of an e-commerce report: https://cloud.datapane.com/reports/dA9yQwA/e-commerce-report
pdfcoffee.com_lend-me-your-ears-pdf-free
wonderful work for universal knowledge, learning to hear and learn to speak ...
> Foldable phones will never be a thing again

While I agree w/r/tv their current incarnation, eventually “rollable” screens will be perfected and a shape-shifting phone will be popular. Either that, or AR will be thoroughly developed and the “phones as a concept will go away entirely.

That’s a long way from today, but it’s not “never”.
Yes, Windows has been doing that with SAL annotations for years.
Why not ask to meet some of them? You are interviewing them just as much as are interviewing you.
> This is a lie

Please check out what the word "lie" means and until then stop using the word.

Hint: The post you replied to did not claim something of which they know that it's not true.