skysight-inc/HackerNews huggingface dataset:
Telling computers what to do and how to do it is an art, a craft, a practice, a discipline, a medium, a profession, and a science (and probably a few more categories besides). It is just isn't (usually) all of those things at once. Most of the difficulties we have in discussions about the subject have to do with category errors. Literate Programming has stylistic, technical, toolchain, and disciplinary aspects, and Knuth's exemplar demonstrated these. It was then critiqued on pragmatic grounds. I'm not sure if this counts as a bait and switch, rope a dope, or strawman.

I mean, if I was participating in a computer programming class and given the same problem as an assignment, I would write a program to satisfy the requirements. If then told that I should have written a few lines of shell script instead and given a poor grade, I would be livid at the instructor.

As an aside, I was interested to know if there are LP tools for shell scripting. A cursory search turned this up:

https://github.com/bashup/mdsh
Japan and the US got into a trade war; it’s a special situation for them. Absent getting a bloody nose from an economic giant, they would have done well
It doesn’t really work both ways though. Remote fans don’t force everyone to be remote.
They made some earbuds, how brave.
The difference between co-design and participatory design
I'm actually not surprised at all by this, because I was born in the early 90s. We got a Windows 98 computer when I was about 5, and I used to play DOS games on it all the time which had to be booted up by rebooting into DOS mode.
random though. was walking around union square in SF today. It dead. Sooo many stores gone. Than walked down to the FiDi and it's dead too. With no one going to work the business that relied on the workers for business had to close up.

It made me curious how to redistrict things. If those buildings turned into apartments the business would have a much better time and that area could be even more walkable
> The problem is that it requires shared mutable access to that state, which is clunky at best in Rust (it requires interior mutability).

I don't see the problem with using interior mutability (Rc<RefCell<T>> or Arc<Mutex<T>>)

With Slint [1], we just embrace it, and rely on interior mutability for the shared state, and that works well.

[1] https://github.com/slint-ui/slint
I have to squeeze my eyes to see the difference between ( and [ in the code examples. Everything looks like a square bracket. See the example at the bottom: https://dashdash.io/3/setbuf
It's a job title in HR with a certain level of seniority. It doesn't imply that the business is organised as a partnership.

It's a dumb title, but very common. I think the root cause is a lack of a general job title for a senior contributor in that field. With the debasement of the word engineer, I'm just glad they're not called senior HR engineer.
Related: there is a scoped gems proposal, that would allow to explicitly specify the author, e.g. @tenderlove/nokogiri

https://github.com/rubygems/rfcs/pull/40
As long as the Sun shines on (and this is essenty “for ever”), there is an increasing accumulation of energy in the planet: that is where the possibility of exponential “growth” comes.
Inflation will already slow (oil stopped going up), GDP prints are coming in negative, rates are only now accelerating while economy is slowing down. How this doesn’t end in a recession is beyond me. Mortgage workers have been laid off already due to that. Real economy is next on a lag due to demand destruction.
You list off 3 products that changed the world.

And then say “meh”

I just don’t understand some people.

Apple’s contributions to modern computing, from GUI work, to WebKit, to AirPods is game changing.
Has anyone made it to work on Windows?

Just yesterday I tried it with msys64, but after pdf-tools-install works just fine, opening a PDF file just gives me "unable to write to temporary file".
US stocks are traded on foreign exchanges. Even if you insist on buying on a US exchange, the currency conversion is not very expensive. If you're a buy and hold investor, it won't matter at all.
Neptune: A fast, concurrent and embeddable scripting language
Exactly the opposite from my experience.
I tried this a few months ago. It's great with many features.

I wanted something that loads instantly for my homepage, Dashy took 2-3 seconds while Heimdall was instant.
That's true. The point I was trying to make is that everyone-but-ancaps implicitly support at least one collective system. I just picked that one because it's rare.
I don’t think apple can charge higher prices because they’re first. If anything it’s because they are consistently good. Or just consistent.
No! Far from it. It’s org-mode with org-babel!
When concatenating nouns in the german language the base noun is at the end. That ship has tank-like properties, it is not a tank that swims like a ship.
Yes, path to full-time plus benefits is available, but I very much need the extra time to get back to 100% these days.
Lolz, he knows how to get that without sudo already :)
Plane accidentally flew around the world (2018)
> Good, there could have been a standardized way to ask for that consent — but to me the way a site tries to trick you into consenting is yet another data point whether I want to be on this site.

I get really annoyed at having to care. The economics for content sites are so poor I feel bad for a lot of them.

> This is not about storing cookies or not alone, it is about consent to do so.

Yes, and regulators misjudged the incentives. Relying on each website to create the consent UI leads to a bad outcome for users.
Circle – A C++ bare metal environment for Raspberry Pi with USB
I'm sorry guys, it will be vim :)
It's entirely possible that at least some of those who prefer to work at the office are equally ambivalent about what others what to do.
Same. An important book for me.
40k/day Ad * 1% success rate criticism = 400 trees/day. So the criticism is a claim it is remarkable?
First two points: https://www.reuters.com/business/us-official-says-export-cur...

Russia seems hell-bent on going through with this war. Their losses already justify withdrawing, sanctions or not. The calculus for them is clearly not about a net cost-benefit calculation. PerhPs because it is a despotic kleptocracy? So an immediate reaction is not really the goal.
I'm not buying this.

- In a big team if everyone is in-office and 1 person is remote, that person certainly cares about being the only remote person. Maybe some people would be okay with it, but being the only remote person has been known to be a not-so-great working arrangement even before the pandemic. So you can't say that remote people don't care where others work.

- If enough people choose remote, they're forcing everyone else to be remote too (whether they attend the office or not) because the communication model for the whole team has to be different now. <<< This is remote people modifying everyone else's behaviour to support them.
Have you thought about backing the persistent widget tree with native widgets as the final layer? Or, at least supporting it as a render target. That is, UI/NSViews on Apple platforms, DOM nodes on web, GTK objects on Linux, etc. Essentially using them as the final “render tree”.

SwiftUI takes this approach, as ComponentKit did before it. The framework still does most everything (state updates, layout, animation, etc), but the host compositor handles the actual rendering.

This approach has a few advantages in my opinion. These widgets integrate nicely with the host accessibility system, for one. They also can come with built-in styling to make them “fit into” the target platform.

There are also performance benefits to leveraging the system compositor – Firefox switched to have platform native layers on macOS and it helped immensely with battery life.

It is worth noting that SwiftUI and ComponentKit components don’t have 1:1 mappings with native widgets – they both perform flattening (i.e. for drawing paths and layout only nodes) to optimize their performance.

I think most importantly, though, it allows for rewriting code incrementally as that approach naturally supports bidirectional embedding. Having rewritten the Shortcuts app editor from UIKit into ComponentKit into SwiftUI (maybe one of the larger projects written in SwiftUI?), incremental rewriting is crucial for existing software projects.

The other concern is mobile – it just is not feasible to rewrite the text input stack on mobile, for example, so being able to use native text editing views would very much be necessary.

This all looks fantastic!
I kinda loved some near ending scene of Big Short. The investor is talking with the fun manager and saying "Market is at all times low and you are buying". Kinda hammering home that they don't really know and are just following the general sentiment...
Why You Should Think Twice About Wanting to Work on Weekends
"I think there are quite a few different options in the real world too."

I reckon so too. I also believe we now have sufficient evidence as to the causes of the problems and that we've ways to start fixing them.

However, we seem to be behaving as if we need to grind the information to a 100% certainty before we act. We don't need this high level of granularity to do so, so I suspect consensus (politics) and inertia are the key delaying factors. Unfortunately, history has shown they're tenaciously difficult to alter.
Haha I hope it won't be, I haven't shown him `cd` yet.
The literate programming is very under rated in Jupyter Notebook. It is mainly used for experiments. I hope that in the future there will be more applications in notebook for example in automation. Can you imagine notebooks replacing services like zapier?
> I cracked up at "NIST researchers traveled to downtown Boulder, Colorado, to test their model" because I used to live in Boulder

Then you should know how common it is for Boulder to 'big itself up' for seemingly trivial things all the time, all of the national Labs (NCAR, NIST and NOAA) are a 5 min car drive to Pearl Street Mall in all directions.

Though to be fair, I used to take 45 mins to get from Boulder Towers (only one exit in/out) across from CU Boulder to Pearl Street mall on a car when the Buffs played. I could have made it down there in 15 mins (my PB was 9 mins at like 4am and riding like a maniac blowing redlights which is dumb in a place that has so many negligent and intoxicated drivers). Or a take 20 min jog if I was up for it.

With that said, bravo... but no one with any other options uses their wifi, though; it sucks and unless you have no data or haven;t got the credentials for any of the local restaurants it might be useful, which includes the large homeless population that keep getting harassed, beaten, and maimed by Boulder PD.
Check this out. https://docs.julialang.org/en/v1/devdocs/boundscheck/
>but it's not expensive _everywhere_. It's expensive in some of the most desirable places.

The fact that the median and average house prices have exploded signifies that the housing market is in a bubble. It's not relevant that house prices have not increased equally everywhere. Ultimately, after the bubble eventually bursts, it will leave a lot of people indebted to banks with their real ownings not matching the debt. This translates to a decrease in consumer consumption, meaning slower economic growth. Resources of the society will be more directed towards customers who have more wealth, meaning those who weren't part of the housing crash. Likely customers from abroad.

Obviously we're talking about percentages, but that's how economy works and that translates to very real changes in a many people's lives.
I recently started this project: https://github.com/codevin/featureplus (Only getting objectives right now).

I now realize that my motivations are same as literate programming. My focus is to get features integrated into codebase. A developer should only do incremental programming, which will insert code into centrally hosted codebase.
> There is no question that poetry will be subsumed, and soon, into the ideology of data collection, existing on the same spectrum as footstep counters, high-frequency stock trading, and Netflix recommendations. Maybe this is how the so-called singularity—the moment machines exceed humans and, in turn, refashion us—comes about.

This reminds me of in the mid to late oughts in biology we had similar futurists telling us the scientific discipline of taxonomy would be rendered obsolete by advances in DNA barcoding. It seems naive in hindsight. Genetic techniques are now established as a tool to aid taxonomy, but one among many.

I wonder if those in literature would feel the same about this.
Office fans aren't a homogeneous whole.

Perhaps it's likely at least some managers want more people to come to the office.

It's also likely that some people who aren't managers, regular employees, just prefer the office.
Do they? How long have the same ones been around 5 or 10 years yet?

On other their products likely have such margin it might be possible with enough sales. The components aren't too expensive, there isn't massive number of labour and equipment isn't that big of investment either likely...
They do. They might be able to say that they don't care where their coworkers are (and I believe them), but when enough people are remote, their colleagues are forced into a remote working model too because the team needs to communicate in a different way now.

How people work is a mutual agreement, not something that's being done to one group by another.
And better with improving market conditions!

I guess that's not your point though?
> fills the void in their lives

Why is that a bad thing? We have a problem and this is a solution.
Huh, do you think the parent comment was lying?

Wikipedia is like, well, a lot of social knowledge tools where there's special roles (e.g., Stack Overflow, GitHub projects) - some people build prestige by contributing content, some people seek to build prestige by gatekeeping the contributions of others.
The coding equivalent. Code drunk. Debug sober. I made this as an ambigram many years ago.
Human-Free Construction (2018)
Apple2idiot: A general purpose ESP32 IoT board for the Apple IIe
Show HN: VS Code Extension – Display AWS Amplify Environment
I created a VS code extension that simply displays in the status bar which Amplify environment you are currently working in. Also, if you change the Amplify environment, this extension will notify you with an information message. Please let me know what you think and if you find any bugs! This is my very first VS Code Extension so i am grateful for any input
No technology can work around limits given by thermodynamics.
> but people disagree

Oh, but there is no need for such """correctness""".

The way is also well defined negatively - the lacks express their presence clearly -, and this page provides already a few examples:

-- "A is taller than B, B plays basketball, who is taller?"

If the system does not reply "A", then it does not understand the question; by a general consideration, it may be evident that it was designed to "guess" instead of "know", and there lies very patently the structural fault.

-- "A just left the house and is now in the market, where is A?"

If the system does not understand "states", etc. If it cannot build a world representation, etc.

-- "A fell from the flying helicopter, how is A?"

If the system does not understand "falling from an height", etc. If it cannot "tell itself a story" (Prof. Patrick Winston), etc.

The latter tells you about the logical relations between those "definitions" (of conjunction, so that (¬Av¬B)→¬C ). Prof. Winston defines "intelligence" as "the ability to tell oneself stories, which will also reveal outcomes of experiences you have not concretely lived". The definition may leave gaps when taken alone (especially if by somebody who confuses indications and definitions), but the lack of what is intended with such idea has full impact (no """inner storytelling""" - actually, I would say, no "productive engine" -, no "intelligence").
A lot of misinformed comments in this thread, most of which are repeating the “scam” canard. I expected better of HN than the sort of rhetoric that shows up on r/games.

I’m not a backer of the game, but I have been following it with interest over the past several years. The fact is, SC has shipped 17 quarterly releases over the past four years. Each has made demonstratable progress towards the ultimate goal, which is an immersive sim MMO with triple-A production value and real-time action gameplay.

All of these things have been done before, but they’ve never been done all at the same time. (Immersive sims: Deus Ex, System Shock. MMOs: World of Warcraft, Eve. Triple-A action gameplay: Call of Duty, Battlefield.) It’s a lot of work, and the core networking technology required to make it an MMO, server meshing, is yet to be proven out. There’s plenty to criticize.

But the game is very obviously not a scam, nor is it “selling JPEGs.” For $45, you can download and play it right now, access all the content available now and in the future, and never pay another cent. Anyone saying otherwise is lazily repeating Internet memes, and HN deserves better than that.

(If you don’t want to pay $45–and I wouldn’t blame you; I never pay for software based on future potential—you can see its current state very easily with a visit to Twitch or YouTube. There’s plenty of streamers playing it.)
This sounds entirely backwards based on talking to many different people about it in the past couple of years.
You should clearly have a purpose for your investing goals and adjust your investing style based on risk.

So if your goal is retirement and you're 30, you can tolerate higher risk because if the market crashes, you've got 30 years to wait for it to recover. If you're 60 and retiring in a few years, your risk tolerance is low. And you can slowly adjust your portfolio in between.
Leo – cross-platform PIM, IDE, and outliner
Another way to look at it is that fossil fuels don’t have externalities priced in correctly. Nuclear is a safety and regulatory mess.
I have as well. Once. I was a bit tipsy from an over indulged lunch followed by a strong coffee. Somehow the balance was just right and the afternoon was extremely productive.
Dislike of blockchain based cryptocurrency.
For large workflows, you'll probably want to move away from pandas to something more structured, like Airflow or Luigi.

How are they a replacement for pandas ? I thought the would or at least could wrap around them for scheduled execution / chaining. You would still need a Data frame handling glibrart no?
No Fixed Address Bank Account
I think the best skill I learned at Google was figuring out how other people's code works. You read the documentation, and then you make some RPC. It doesn't work as documented. You go read the other service's logs and see an error message, but it doesn't make any sense. You search the codebase for that error message. You find that the super deprecated do not include field is mandatory; it's sent to some other service that thinks it's important. 10 minutes later, you fix your code, the RPC works, and you're on to the next thing. No meetings, no calls, no emails, no time zone coordination, no bugs languishing in some queue that you're not even sure it's the right one... just a solution!

I was really surprised how uncommon this is outside of Google. People will hit an issue with a library, file a bug, and just sit there blocked without ever opening up the malfunctioning code and reading through it. Why turn a one player game into a multiplayer game unless you really have to? Reading code is what you do for a living!

Like anything, it's a skill that you need to develop, but it's one that will make you really productive.
Most of that GDP growth will not be on Earth in 400 years.
Here's my favorite vehicle from the Jacques Littlefield tank collection. A Russian P-40 radar.

https://www.w6rz.net/DCP_1040.JPG
Show HN: Thanks to BeAware, Deaf iPhone users have a free alerting device (OSS)
It's interesting how in the olden times large cities were almost like an entity of their own. Their stories significantly differed from other cities and their reactions to odd phenomena such as one in the article were unique and difficult to predict.
US government can’t afford 4%. Rates will rise until something breaks, but 4% will be transitory if it gets there at all. My bet is things break sooner than that.
I certainly didn't intend to sound that way! When my son asked me about the terminal, I didn't have an idea whether 2 minutes later he'll say "Dad this is boring" or I would have to pull him into bed an hour later because next day was a school day. It just turned out to be the second one and I felt the story was interesting enough to share it.
slower than win10 (wich was already slower than win8, wich was sl... etc), more bloat than win10, unfinished features all over the place, ugly new and limited task bar and start menu, lot of design inconsistencies
We must have met then. Hi! Cesar was studying with me in London (RCA) and Tokyo was our “school trip” that year.
But I pretty much don't. I hoped that it will be as easy as disabling cortana on windows 10, but degoogling your phone is super user-unfriendly and something that almost has to become your hobby.

But for people thinking about it, its still worth it, with Afwall+ to not have ads in any app, newpipe to have functionality of youtube premium and barinsta to make sure you are not dragged into endless reels recommendations on instagram, its magic.
And yet you often see US people recommending to buy US stocks. There are risks and benefits to buying both domestic and international stocks.
Yeah my point is we are going into a recession and it is going to get ugly.
mkdir -p foo/bar/baz && cd $_
> Historically, the language has been progressive in having: first-class regular expressions as /.../, value-preserving non-boolean-coercing logical operators such as || and &&, closures, polymorphism of any flavor (even multiple inheritance) through prototypes, and so much more.

Perl 5 had already all those features in 2000 (Perl 5.6), or even earlier.
If you add bounds checking, then what happens is that on every index into the array, a line of code gets called that says "is the index the user specified less than the length of the array". On it's own, that's not a problem, but when you're doing this repeatedly millions of times, it's a performance killer.
In this environment? Nothing, just get out. Gold, short term bonds and dollars (UUP).
> The entirety of human history since prehistoric times

Extrapolating from the past doesn't always work. There are real limits.

Take the rate of energy consumption of human civilization for example, which is currently about 17 terawatt[1]. Thermodynamics tells us that after doing useful work, practically all of that energy ends up as waste heat. (A small fraction is stored, e.g. aluminium stores some energy. I assume this is negligible.)

The power received by the Earth from the sun is about 170,000 terawatt[2], a factor 10,000 more. So plenty of room for growth, right?

But now take a modest 2% yearly growth. This is a factor 1.02 each year. So 500 years of 2% growth would be a factor 1.02^500 = about 20,000.

Maybe we could actually do that with fusion power. But then we'd have two suns(!) worth of extra waste heat to deal with. This cannot work. Current concerns about global warming pale in comparison. Even if we found a way to radiate all that heat into space as infrared, e.g. by concentrating the heat into country sized radiator panels, 35 years of 2% growth would double the waste heat again.

A similar calculation can be done for the growth of anything physical. And even if you continue growth off Earth, you'll soon hit the limits of the solar system. Even the volume of an expanding sphere at light speed cannot keep up with an exponential function.

[1] https://www.theworldcounts.com/stories/current_world_energy_...

[2] https://news.mit.edu/2011/energy-scale-part3-1026