skysight-inc/HackerNews huggingface dataset:
Modified C++

Inspired by the paper "Some Were Meant for C" by Stephen Kell, I decided
to show that it's possible to iterate C++ to be safer, more explicit,
and less error-prone.

Here's a possible starting point: I didn't invent a new language or
compiler, but took the world's best compiler, clang, and modified it
to begin iterating towards a new furture of C++. Naming things is hard,
so I call this 'Modified C++'. Some of the following could be implemented
as tooling in a linter or checker, but the idea is to update the compiler
directly. I also wanted to learn more about clang. This compiler needs a
flag to enable/disable this functionality so that existing library code
can be used with a 'diagnostic ignored' pragma.

You can build clang using the normal non-bootstrap process and you'll
be left with a clang that compiles C++ but with the following modifications:

- All basic types (excluding pointers and references) are const by
default and may be marked 'mutable' to allow them to be changed after
declaration
- Lambda capture lists must be explicit (no [&] or [=], by themselves)
- Braces are required for conditional statements, case and default
statements within switches, and loops
- Implicit conversions to bool are prohibited (e.g., pointers must be
compared against nullptr/NULL)
- No goto support
- Explicit 'rule of six' for classes must be programmer-implemented
(default, copy, and move c'tors, copy and move assignment, d'tor)
- No C style casts

Here's an example program that's valid in Modified C++:

mutable int main(int, char*)
{
mutable int x = 0;
return x;
}

Here's another that will fail to compile:

mutable int main(int, char*)
{
int x = 1;
x = 0; // x is constant
return x;
}

I'd like your feedback. Future changes I'm thinking about are:
- feature flag for modified c++ to enable/disable with 'diagnostic ignored'
pragma, to support existing headers and libraries
- support enum classes only
- constructor declarations are explicit by default
- namespaces within classes
- normalize lambda and free function syntax
- your ideas here
> the text is just a tool to manipulate some abstract model of the program.

yup.

> When you think about it this way, it becomes clear that using a textual source code is really inefficient way to manipulate this model.

Hard nope. All the attempts at different approach were a failure so far. Text so far is the best thing we have because text can be analyzed formally and computed with by computers. This is the result of the work that's being going for at least like 200 years in philosophy, logic, and math.

What we really need is to bridge the gap between programming and math as industry standard, not academical exersise somehow. But I highly doubt eliminating text as source code is it.
Nish here. Let me address the run time and pricing question - my cofounder wants to touch on the other question.

Teams have told us that they want to avoid 24/7 machines. It gets really expensive (and wastes energy) when people keep creating instances and leave them on. Our approach is to let people keep them on 24/7 if they want, but we want them to stop the instances too (we have automation for this).

That said, the way we’ve set up our environments is that the machine doesnt “turn off” - we just stop it. So its like closing your macbook lid and reopening it. You don’t lose your progress and youre not charged for the time in between.

And Replit’s Hacker plan is cheap but they aren’t very powerful (just 2vCPU and 2GB ram)
You're going to be proven wrong in weeks to months. Just a couple of years ago the consensus was that DALL-E/Imagen/Stable Diffusion quality image generation was impossible. Now it's very real and quality is improving every month.
Glad to validate my 2-3 whole egg per day lifestyle. Since starting eating a high protein, mostly unprocessed food based diet(without regard for fat or cholesterol consumption ), I have lowered my body fat percentage by 8% and lowered my LDL cholesterol by 50 points. Just by eating meat, eggs, cheese, whole milk, lots of fruit, non leafy/non stem vegetables (fruits botanically speaking), and protein shakes. My doctor was so impressed…at least until I told her how I did it:)
The problem is that the real job that the data scientist does is what the article suggests the business analyst is doing. The business analyst doesn't have a clue what they're doing, and training the ML model is not the difficult part.
>using a touch screen in turbulence is nearly impossible

This is one of the biggest reasons I dislike touch screens in cars, yeah. Tons of roads are more than turbulent enough to make it hard to hit buttons. Not having a physical edge / clicking / etc to tell you where you are and when you've done a thing means you have to use your eyes, which means disabling what is by far your biggest safety tool while driving.
Haha great point! AI always wins
Sure, but if you plan out 10 milestones two weeks apart, is that not just "waterfall" at that point?

To be sure, my main point is to disagree that sprints help hit deadlines. They might even hurt.

For example. I'm not sure if that failure mode is really changed via sprints. if you get 10 months in, and 15% left, nothing changes that it could still take a year. Further, the sprints discourage lifting your head up to unblock, design and plan that 15% before you actually start on it. So seems a bit waterfall like to feel incremental stuff was getting done, but you still underscored that last 15%, and sprints encourage you to realize that very late in the game.

I think a big flaw in scrum is error analysis of expected completion dates. Instead of compounding uncertainty across sprints, often that velocity is given no error bars and is linearly extrapolated months into the future (and in a perverse way increases estimate precision erroneously).
If a user comes to me bothering me about some package some distro made of my software, I show the part that says NO WARRANTY and AS IS, and get on with my life.

Also, why should it “bother” anyone at all. You duke it out with whoever brought it to you.

It’s only a problem if you feel a need to please everyone knocking on your doors, which inevitably turns into burnout and you actually behaving harshly towards everyone in the end.
As a dyed-in-the-wool Rubyist, I consider Ruby the pinnacle of high-level, abstracted, expressive programming for the contexts I care about (small web applications largely written by solo devs).

What's sad to me is that the modern follow-up to Ruby seemingly doesn't exist. Every hot "language du jour" which has come after Ruby has gone BACKWARDS. Lower-level, more systems programming oriented. Maybe even compiled. Static typing everywhere. It's utterly baffling to me.

"Why are you using Ruby? You should use…Rust! (Go! Zig! Fill-in-the-blank nerd hype!)"

Lol.

What I actually want is a new programming language/environment which makes Ruby look like programming pointer arithmetic in C by comparison. Something so advanced, so high level, that much of the time you're really just describing patterns and flows and data models and extensions, and then letting the computer determine the most efficient way to develop those code paths and execute them.

Unfortunately, I'm a bit cynical on this front. I believe the reason this doesn't exist is because it's at cross-purposes with programmer nerd culture. Many programmers enjoy the nitty-gritty of low-level coding. They fear abstraction. They fear "magic". They fear things like "implicit imports" or "duck typing" or "many ways to express the same method/function/algorithm" etc. because it's all nebulous and fuzzy compared to the safe confines of deterministic math & logic. "If I declare that this variable MUST BE AN INTEGER, then it MUST BE AN INTEGER. The idea you could pass me a string instead? UNACCEPTABLE !!!#%@!"

In other words, I don't have high hopes that great UX for forward-looking developers will come from present-day programming culture. For a quantum leap in DX, we probably need people who aren't die-hard programmers to engage in blue sky thinking. We need to talk to artists, philosophers, linguists, psychologists, and other experts in social & historical cultural dynamics. They can provide the insight we lack. Because for every "this is an integer, damnit!" type out there, there are probably many, many more who would see 123 and "123" and think THAT'S THE SAME THING. :-D
Do you have any idea how many people were under housed when the gold standard was the international order?

The mid century boom in housing is almost certainly a direct product of the inflationary and easy credit economy that was created by loosening the gold standard.
It's "less code" for sure.
Why do you need a third party tool to keep the screen awake? You can do so from System Preferences. Also zsh is preinstalled.
Yeah, I've been running a small Ceph cluster at home, and my only real issue with it is the relative scarcity of good conceptual documentation.

I personally learned about Ceph from a coworker and fellow distributed systems geek who's a big fan of the design. So I kind of absorbed a lot of the concepts before I ever actually started using it. There have been quite a few times where I look at a command or config parameter, and think, "oh, I know what that's probably doing under the hood"... but when I try to actually check that assumption, the documentation is missing, or sparse, or outdated, or I have to "read between the lines" of a bunch of different pages to understand what's really happening.
Wow. I would say the complete opposite. Why are you writing a program for work unless you are helping to solve a problem? The implementation only exists to work with business logic and data.

Excel is an implementation that does not care about business logic and data. Anyone can add their own business logic and data.
At the property values referenced in above post, the opposition to apartment buildings is not exactly about properties’ sale prices. Presumably, the residents are happy where they live, so their priority is not in maximizing the sale price, but keeping the riff raff out that cannot afford $1M+ homes, and hence have to live in apartments.

The concern about decrease in home prices is just cover from accusations of discrimination, although keeping home prices high is a necessary component. But maximizing them is not.
Sound like it could be really useful. Wondering if there will be a method to load the remote workspace locally if I need to do development without internet (travelling, etc)
Don't lots of places differentiate between a primary residence and any other real estate, basically for this reason?
eh its close but not the same. It says "you can work from home but you need to have a reason" basically.
How to get better at designing? – It all starts by ‘noticing’ – FelipeRM Design
> You only need one house to live in.

Many people do not want to own a home, they would rather rent. Someone has to be the landlord for all those people, and to all those someones, the home is an investment. You can only get rid of homes as investments if you get rid of renting.
Clearly someone in the health ministry should shut down this madness.
Half a decibel per step is a reasonable chunk; average perceptible change is 1dB but sometimes it's better than that.

Figure maybe 65dB of useful dynamic range in a car + 10dB of range needed based on levels of the recording. That implies you want about 150 steps.

Go ahead and display a number between 1-30 if you want-- that's probably good for usability. I can find "13" and be close to what I typically want. Just, have the actual control surface move 5 steps per number so that I can fine tune.
HP LaserJet Tank – Refillable laser printer
I don't have any of these problems with the jog dial on my BMW i3. I can use it at any speed, and it is much less distracting than all the touchscreens I've used from a half-dozen manufacturers.

Sadly, BMW seems to be switching to android auto. Having a jog dial is about as important as the overall vehicle form factor, being an EV and safety. Hopefully, they'll become more popular over time.
x = 2 + 3

x * 2
I remember back when I was in college the WWW was barely released and search was in its infancy. If you were doing a research paper, trying to use the WWW to search for papers on the topic was laughably useless. Instead you would go to the university library (which still used card catalogs!) and make an appointment with these people who had access to some search system (I can’t remember what it was called). You would sit down with them and explain what you were researching and they would craft search queries in the query language this system used and read over the results with you to see if they sounded promising. They would tweak the query based on your feedback until you got the results you wanted. Then they would print out the results and you could go elsewhere in the library to lookup the papers. It cost money per search, but the university covered the cost.

I wonder if we might see something similar with these ai generation tools. People who become experts at crafting the queries to get back the results you are looking for act as intermediaries.
Yeah, that image is the very definition of generic. It looks great, but it's a soulless recreation of a popular art style I've seen a million times before. Hence, generic. It's the background noise of the art world.
Indeed. You said nothing :)
That’s what every parent hopes to leave their kids with: an obligation
>They use a plain text editor, instead of an IDE or more IDE-like tool.

For java development? I mean, it's not illegal, but...
"Fifty Shades of Grey" has been much misunderstood; clearly it refers to the colour choices on modern cars. :-/
Not just the standard library, but also its idioms and the tools that people commonly use to work with the language (compiler, build tool, etc).
The latter group can unionize like the tenants union of Washington[1]. Unions can lobby on the behalf of their members and make campaign donations based on their dues. While their power may not be as great as the amount of individual homeowners who can independently donate a union is a good mechanism here for renters to advocate for affordable housing. Here in Seattle there are multiple unions that have lobbied to local city council members for increased tenants rights such as 6 month notice for increase in rent[2]. _Things_ are being done about the problem at the local level across the country through unionization of renters and workers.

[1]: https://tenantsunion.org/
[2]: https://council.seattle.gov/2021/09/27/sawant-congratulates-...
On my Tesla, I control all of those things with buttons on my steering wheel. I never have to touch the screen. You can also use voice control.
I find these boards - that get little boards and network them into a cluster - very interesting. I'd like to see more of these in the future. I hope someone makes a Framework-compatible motherboard with these at some point.

The Intel Edison module could have been a viable building block for one (and it happened a long time ago in computing terms - 2014) - it was self-contained, with RAM and storage on the module - but it lacked ethernet to connect multiple ones on a board - and I don't remember it having a fast external bus to build a network on. And it was quickly discontinued.
russia isn't eastern europe?
If you're serious about building a SaaS tool (and I encourage it!), make sure to find someone with an accounting background to help you / advise you. Maybe they can be a good co-founder.

(I've been working on a SaaS in the accountancy space for 6 years and our two co-founders are an accountant and a software engineer. It's a good match)
Nish from Nimbus here.

This is on the money. The challenge though is still giving engineers flexibility/freedom. Our approach is to have templates that engineers can use but they can fork it and play around with it, make a snapshot of that fork and share it, etc. Its a fine balance though and every team has to figure out what works best for them
pastel-mature-herring~> Is this where compute is going?

awesome-zebra*> There is no definitive answer to this question, as the direction of compute technology is always changing and evolving. However, the trend in recent years has been towards smaller, more powerful devices that are able to pack more processing power into a smaller form factor. The DeskPi Super6c is an example of this trend, as it offers a trim form factor and six individual Raspberry Pi Compute Module 4s, each of which offers a high level of processing power.
Well, the big one is college debt, obviously.

But another example that comes to mind (as someone who lives in that income bracket about half by choice and half not) are car repairs (you HAVE to pony up or you lose your job, so the question becomes 'borrow 1k or lose 100% of your income').

Oh, and any time childcare is fucked up for any reason. Kid can't go to daycare/school because they're sick for a week? Parents don't get PTO, so their only option is to eat a week's worth of wages, and since income in is close to or level with expenses out, that means making it up with debt.

The 'strong arming' comes in because society is set up to make those your only options. (versus having public transit to rely on, walkable cities, or cheap car rentals, for example).
Many buttons also means many more pieces to physically install, and many many more wires. And each one (or small cluster) is often accompanied by even more independently-wired small information displays (small LCDs and LEDs for showing the state / temperature / etc) which are yet more wires.

A touchscreen is largely just a single fused physical unit with ~two cables: a data ribbon and power. Utterly trivial to install and wire up in comparison.

The total assembly cost adds up very quickly.
https://www.nature.com/articles/s41586-019-1431-9
https://arxiv.org/abs/1812.08776
The funny thing about manjaro is it would be abandoned in months if arch devs (for whatever reason) just disappeared. I suspect that Canonical could survive such a thing with debian, but manjaro could not.
Like that they added traveling distance for comparison. Very pedagogic.

Btw, I believe touch screens originally was more or less created for military vehicles, so I don’t buy a lot of comments in this thread.
It is really common for $1mil+ super-cars to have OEM turn signals, window toggles, etc. from budget cars for this reason.
> Note that the way we are using this word is pretty vague and may be contributing extra crosstalk

Yeah, it's an awful term, because it refers to hundred-year-old densely-populated urbanized areas that directly abut core cities whose borders were artificially locked into place in the 19th Century, and to greenfield interstate-offramp developments, and just about everything in between.

But, just to address your "way on the other side" scenario: forbidding zoning is exactly what the state should do. You don't get to have democracy for core rights. It doesn't matter if everybody in the neighborhood votes to restrict property rights. They're not up to a vote, just like you can't vote to restrict freedom of speech. It's not subject to a vote.

The right to build housing on my own private property is very clearly, in my view, protected by the U.S. Constitution and restricting that right is plainly a taking. I don't care what Euclid says. It was wrongly decided.
> feudal societies developed

Sooo... the last thousand some years, given that feudalism was widespread by the 11th century (and housing was absolutely an investment before that). Basically - half of recorded history (~400bc for Europe), and longer than the United States has existed.

I don't understand what you think this comment means...
Micro Center often has them in stock. My local Micro Center currently has 17 RPi 4 4GB in stock. They are available only in store, but you can check stock at their website. Find one you know someone close to that is willing to purchase for you and ship.
> She had been reduced from affluence to ‘extreme penury’ when the failure of the Bank of Bombay took away her income from a holding of 180 shares.

I was curious about this bank failure and looked it up. Some backstory here

https://www.qdl.qa/en/bombay-banking-crisis
https://www.cnbctv18.com/finance/backstory-the-collapse-of-p...

Interesting how connected the global economy was back then too:

In the early 1860s, the American Civil War caused cotton supplies, which had traditionally supported the western cotton trade, to be cut off. In England, this resulted in a depression known as the Lancashire Cotton Famine, however, in India it led to a period of great prosperity and wealth as cotton supplies in the East and Orient were suddenly in great demand.
The situation in India was exacerbated by a famine in 1866, which led to many cotton farmers turning to growing foodgrains. Overnight, many companies that had sprung up in Bombay faced extreme financial distress and their shares tanked. Many of them went into liquidation leaving their lenders including banks, holding dud paper.
Speculation on Indian cotton, followed by failed harvests left Bombay’s banks in crisis and customers struggling to access funds.
Can someone with experience with Ceph and MinIO or SeaweedFS comment on how they compare?

I currently run a single-node SnapRAID setup, but would like to expand to a distributed one, and would ideally prefer something simple (which is why I chose SnapRAID over ZFS). Ceph feels to enterprisey and complex for my needs, but at the same time, I wouldn't want to entrust my data to a simpler project that can have major issues I only discover years down the road.

SeaweedFS has an interesting comparison[1], but I'm not sure how biased it is.

[1]: https://github.com/seaweedfs/seaweedfs#compared-to-ceph
Everybody has a place to live. Housing isn't scarce. When housing is scarce, people are homeless or living in extremely tiny spaces. They are not. The problem is that people wouldn't be able to afford to own the places where they live.

Housing is only "scarce" in desirable places, and that's simply tautological. The sum of unfulfilled desires is the contrapositive of scarcity.

Housing is a market in which a very tiny percentage of goods are up for sale at any particular time, and the projected prices of those goods are heavily shared among a huge network of people who profit when the prices are high. The owners of those goods are often heavily leveraged, and can't afford to lower the price significantly, and the transaction and mortgage costs push them to raise the price to cover those costs at the next place they buy.

> They can only extract so much wealth from housing before people move for alternatives.

No such alternative, which is why the market is as lucrative to exploit as health care. Finding an "alternative" to health care is just to find another type of health care, and if you find an alternative to being housed, you've just found a new kind of house.
I'm starting from the viewpoint that the whole point of music is observing the performer do it.

in contrast, the whole point of paiting or a sculping is the final completed artifact.

What I'm trying to get at, is how recording technology "defeats" the purpose of music as its performace; and so, irremediably splits it from it's source (its origin, the composition of the music). I suppose improvisation remains; but highly constrained within prearranged structures (a la "AB[improvisatino goes HERE]C") like in jazz.

I do not understand how hyperpop nor DnB are supposed to be a response to what I'm trying to get at (then again, I'm just now barely conveying my point... I hope.)
It sounds like the ECC counters are completely hidden from the SoC, though: https://forums.raspberrypi.com/viewtopic.php?t=315415
Something wrong with your browser or internet connection, it works for me.