skysight-inc/HackerNews huggingface dataset:
>but truly beautiful code/language is as simple as possible

code and literary prose aren't interchangeable, not everything in the world ought to be approached through the lens of programming.

Code is, unless someone decides to make a language purely for aesthetic purposes, designed to solve technical problems, prose is not.

Maximalist art has a long history. It engulfs the reader, it's deliberately not utilitarian. It's often also a reaction to the sort of plain, monks cave style writing of a lot of American authors. Faulkner certainly falls into that category, but also Pynchon, Wallace, and so on.
Unrelated to the article, but your description of the 15-410 course piqued my interest. Is there a way to access previous versions of the course materials? I took a look at https://www.cs.cmu.edu/~410/, but it seems like some parts of the site are still being worked on for fall 2021.
TIL about 2, thanks!
It is based on AROS.
> The lack of this feature in Go is a testament to the language's resistance to adding the trendy latest features that have bloated languages like Python and C#.

That seems a bit harsh on Python and C#, both of which I wouldn't call bloated, and both of which don't make monkey-patching easy.

In fact, I would say monkey-patching C# requires similar levels of "assembly-level fuckery".
You will get the properly typed pointer to object from new, so if you want to play it completely safe wrt UB, it can be stashed away alongside the array in the public class; this adds sizeof(T*) to the latter, but avoids casts entirely.

But, yes, you do technically need std::launder to get it directly via the array.
We can't identify colors accurately either. As various paradoxical pictures show. Color is something created inside our brain using context information (additional information about the scene).

Gray can become black or white depending on what is around, and so other colors can change.

Photography is my hobby and I have a small project with idea of making photos interesting solely by manipulating context to change meaning of color in the photo.
I'd also say that emotional amplitude might be inversely correlated with wealth.

Considering your ice cream example: as a young adult, were I to drop my cone, I'd be distraught, because I've just lost the one little pleasure I so desired, and there's no money in the budget for replacement this week. Today, I'd just shrug and buy a new one.

This applies to almost every other situation in life too. If you have a cash reserve, trivialities just don't bother you anymore (at least until you can't get something because the store run out of stock; the influx of powerful emotions might come as a surprise then).
How to change it to be more free? Modify 3. So that access to source code is not a pre-condition. I will never make anything from modified GPL because of the way it chooses to restrict my freedom.
you're missing parens: "card" + (isLast ? '' : 'card-margin') // ternary has a very low precedence https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

or `card ${isLast ? '' : 'card-margin'}`
How the Macintosh Was Made: Interview with Andy Hertzfeld
It generalizes perfectly. The angle between two lines in any dimensions is the same concept.

Two (non-collinear) lines share a plane. The angle on that plane is just the ordinary angle, no matter how many dimensions the two lines are embedded in.

In the case they are collinear, the angle between them is zero on any plane that intersects them. So that corner case works too, regardless of numbers of dimensions.
Anecdote is the word to use here. It's a lovely word. By contrast, anecdata isn't a word at all, and has nothing to do with 'data' anyway. I have a similar pet-peeve with 'guesstimate'. It's just an estimate. It would scratch a big itch of mine if everyone just used plain words.
> it bubbles up past the existing handlers

Unless the method 1) throws an exception which it should not have according to its declarative contract (annotations in Java, attributes in C#), and 2) it gets (erroneously) handled by an intermediate handler.

> What does re-wrapping help with, exactly?

It makes it clear that the method broke its declarative contract, which is what exceptions are _for_. And given the restriction that only the runtime can throw such exceptions, you're sure that no other method can randomly throw such exceptions because... they like it so.
Primordial Black Holes May Flood the Universe to Planets
The summary says that the timbre plays an important role in recognizing the notes. I partially agree with this observation, but on the piano, there might be something else than the timbre.

Some years ago, I played the "perfect pitch" flash game (http://www.detrave.net/nblume/perfect-pitch/perfect-pitch.sw... , still playable if you download the swf and then submit it to https://ruffle.rs/demo/ as a local file). Even though I am not a musician, I quickly learned to identify the notes on the medium difficulty level, and often guessed the first note in the session correctly. BUT, I did not only use the pitch to guess the note.

In that particular game, the pre-recorded sounds of the piano notes show some non-even volume envelope, or some other way they change their sound over time, unique for each note. So I learned that a "meow-meow-meow" must be an E, and a note that acquires some rattle at the end must be a D. I even reported that as a bug - only to get an email that a piano does sound like that. Of course this knowledge is useless for pure tones, or short-enough notes that are not given a chance to "meow" or to rattle, or, in fact, for anything else than this game.
Complexity increases over time but it's not for nought. USB, while complicated is a great deal simpler than dealing with a dozen ill documented buses. Additionally the amount of things you can do with it are much greater than what you could do with ps/2. The table stakes in general for operating systems is much higher which means making a new one from scratch is impractical for most folks but this is true for most things. Implementing a CPU that's competitive with the ones Intel it ARM is very challenging for a college student but I'm not sure I see that as a problem. Projects like RISC-V exist to give you a baseline to start from for CPU design just as Linux does got os design and they give you a fighting chance to compete. That's probably for the best, and starting from scratch, while sometimes useful, isn't really necessary for most.
Life-saving cholesterol jab recommended on NHS
Only "objectively" by your priorities. The fact that metal heats up your legs is also a benefit (e.g. better heat transmission = better performance and component lifetime in the same environment).

As someone else noted, "strength" in material is not one-dimensional. Carbon plastic is still way more conducive to cracking, for one.

Ergo, there is no "objectively better" choice between metal/plastic/carbon in the general case, it comes down to preferences, priorities and requirements.
Even angles behave very counter-intuitively in high dimensions. E.g. in high dimensional spaces uniformaly randomly chosen vectors always have the same inner product. Why? Sum x_i y_i is a sum of iid random variables, so the variance goes to zero by the central limit theorem.
New Rockhampton Solicitors
Slater and Gordon Lawyers in Rockhampton seek to provide informed legal insights to residents of Rockhampton and Central Queensland. Our local lawyers have access to the resources and experience of a large established National Law Firm, combined with years of local legal experience. They are dedicated to supporting you throughout the progression of your legal matter.
Pretty sure that is from the church of satan. Which is not about worshiping satan but more humanist / atheist / there is no god but you should still be a force for good.

It's just that their imagery is intentionally quite jarring to christians.
To quote the satanists. It is not them who believe in Satan, its the christians who believe in Satan.
It never even occurred to me that there are people who think not having kids is selfish, but I guess it makes sense - we are all protagonists in our own stories.
Assuming, of course, that use and distribution are entirely independent which is dubious at best. Regardless, controlling distribution still makes it not free.
> If 'apt-get dist-upgrade' is breaking the packages we pip-installed into /usr/local, I'd ask (a) why we're using two package managers,

debian packagers won't use pip for obvious reasons. dev need pip because it's portable, and doesn't need packagers validation.

It would have been better if something like nix would have been adopted 30 years ago by both community, but it hasn't been so we have several packages managers. It's even worst now with poetry, conda, snap, flatpack and docker.

> why 'put these files in these locations' is being solved implicitly by running imperative, non-deterministic commands to mutate things in-place, rather than e.g. extracting a .tar.gz of known-good dependencies.

pip now uses wheels, and basically does that. Whl files are zip, and pip just unpack it at a know location. The problem is, this location is currently shared with the OS if you don't use --user or a venv. This article address that problems. My other comment also talk about some other solution.

It's very hacky, because, well legacy and all that.
Slightly more technical (2020) article: https://www.bbc.co.uk/news/health-51091083 but the news is that it's been approved etc., will be used.
thanks, I'll fix my bad copy paste.
> and we obviously have genes for that purpose

That's far from obvious. You can't just observe some trait in an organism, and conclude "that must have genetic origins".
Isn’t there a problem with bootstrapping .NET? Can I truly build from source?
Users don't care and I don't care.

Can I run the app? Can I use the app? Does it do what I need it to do? Do I have a good experience? If yes, then I'm good. I don't care if it's Electron.
> Electron is incredibly wasteful. If a web interface is absolutely necessary, please just serve it on localhost and let me use my existing browser.

I know of a couple that does something like this.

FSBox for programming SFPs install a driver and a runnable tray software, you configure it through your web browser.

SolarWinds backup, installs a tray but opens a web browser to 127.0.0.1:5000

Syncthing runs a local webserver too

As you're saying, I wish more would support this way, I don't want someone's outdated browser when it can be a tab in my Firefox
i know joe rogan talks about sports and head injury’s and how psychedelic mushrooms have been shown to help
Well no, because the interests of the rich are never fulfilled, they just scale accordingly. Capitalism isn't a collaboration, it's a competition.
This isn't obvious to regular people, though.

I can recall seeing a conspiracy get traction on Twitter a few months back, where it was claimed that a photograph of a famous person was actually a body double. Someone used an ML upscaler to "enhance" the image, and their followers began scrutinizing the result: "The teeth are different!", "The nose shape is wrong!", "It's not the same person!"
Sorry to hear, but nevertheless it was good that you talked to her.

I'm sure you'll get a lot of good "tips" on a platform like HN, but ultimately, I don't think this approach is going to help you much.

Obviously, if you're not happy right now, there's only two things you can do: leave everything in your life the way it is (and hope you're going to feel better about it some day in the future), or make a change.

You need to estimate for yourself how likely the first part is, and that's not easy because you're not neutral.

If you decide that something needs to change, the first thing would be to find out what that is. Where did the mismatch between your expectations and reality originate from?

I think to a lot of people, change can be stressful. After all, not everything is bad about your current situation - take your salary, for instance. Giving up something might feel like a step backwards, but don't forget that if you don't make any change, you'll be forever stuck in case 1 above.
I'm missing the point of this site. It guides to nix.dev. How is that alternative to docker?

Edit: wow, it even promotes commercial services, like Cachix. I'm not even curious any more.
Same experience here with a pedal steel. That's why I am now pushing my bandmates to adopt the Nashville Notation System which only deals in relative position of chords in the scale[1].

[1]: https://en.wikipedia.org/wiki/Nashville_Number_System
Did you tell your parents how you feel about it?
On the flip side of this, I have an old 710S and apart from the now completely unusable micro-HDMI port it's held up really well throughout use and abuse over the years. Battery life holds up as well.

If only it had a less brittle video-out and TB it would be close to perfect even today, but these to otherwise minor factors unfortunately make it close to useless apart from as a spare travel device.
Please standby for inbound licensing agreement from Grandmas Are Not Free, the association to protect use of the Grandma trademark in software workflow narratives.
> That's quite an odd humblebrag, I must say. You feel good for the simpletons for whom Go's expressiveness is adequate, but it's just not up to your own lofty ideas.

TBF that's how rob pike presents the langage.
A modern example is arguing that volcanic activity killed off the non-avian dinosaurs and not the Chicxulub impact. That's considered quite controversial today, even though volcanoes are implicated in other major extinctions and there was considerable volcanic activity leading up to the Mt. Everest-sized rock or comet hitting the Yucatan peninsula. Also there is the argument that the fossil record shows a lack of dinosaur bones at the K-T boundary, but most paleontologists think the rock or comet did the job.

An argument at the other extreme has the impact killing off all non-avian dinosaurs within one hour after the impact across the globe.
(German speaking readers)

Edmund Weitz's youtube channel is also great!

Check his christmas videos for example: https://www.youtube.com/channel/UCjTfChr0yyz4iZq0x12Q6xA/vid...
Yes, I do; your bootstrapping is dependent on a binary C++ compiler, which could be hiding something that isn't in the source code, but which propagates to newly bootstrapped compiler binaries which again pass it on to the next round of bootstrapping, ad infinitum.

Basically, we can't be sure that you really have a C++ compiler. The source code can be verified to be a C++ compiler, but the binaries deviate in some way, possibly malicious.
I’m not used to seeing clickbaity words like “jaw dropping” on HN: is this within guidelines?
This is the same trick used by the old 'scratchbox' development environment that Nokia used for the maemo SDK. If the stuff you compile in it includes classic "configure and make" C/C++ projects then you'll probably also find that replacing the /bin/sh binary with an x86 one improves speeds -- configure and make spend quite a lot of time spawning shells to run bits of shell script.
The army straight up scares me with nukes... Air force is barely better. The USA navy knows what they are doing with reactors.. at they safe so no clue. But I am not trusting anybody in USA military except for the navy to deal with nuclear reactors.
Although ASML should be our Dutch pride, it's a company we hardly hear about in the Dutch press.

As another Dutch person the main stream media pretty much covers big ASML news. The CEO and CFO also regularely give interviews.
If they could fix their CDN that'd be great too, videos and images seem to never load if they're not embedded from imgur.
Poll – How do you collect/manage AWS resource inventory?
Yea, I've heard mixed things about IdeaPads. My comment was specifically about _Think_Pads. The names are easy to confuse but are very different in build quality.
fuck this coach and his advices.
i wont have any empathy to an angry shouting asshole. my anxiety and insecurity come not from my problems, but from working with such asshole. this is one big "forgive a sociopath" article. fuck sociopaths especially fucking narcissists, god i hate them.
I’m feeling gold. It hasn’t moved for a decade and has all the reasons to move in the next one as people escape the currently overvalued overprinted mess we made for something real and tangible again.

https://inflationchart.com/spx-in-gold/?time=20%20years&show...

https://fred.stlouisfed.org/series/M2SL

https://www.currentmarketvaluation.com/models/buffett-indica...

“Gold is money, everything else is credit”. -J.P. Morgan, 1912
If users don't care why did he have to write that blog post to begin with.

I'm a Slack user and I do care that it's running like a hog.
What Is the Future of Ecommerce?
> The issue is it forces you to deal with things that need to be dealt with

Except for all the times where it does not, which is most of them.

It won’t force you to deal with errors (generally, it will in some cases as a side-effect of erroring on unused variable but there’s plenty of case where that’s going to be suppressed or irrelevant), it won’t force you to deal with nullable pointers (which is all of them), it won’t force you to deal with unsynchronised shared mutables (which is easy to do unwittingly, just send a map or a pointer over a channel), it won’t force you to lock the right mutex before manipulating those when you’ve thought of having one, it won’t force you to properly use debatable APIs like `append`, it won’t force you to deal with the possibility of typed nils, etc…

It will force you to remove or explicitly silence unused import though, because, you know, that’s what’s important.
Fig. 9 of this paper is really interesting if you zoom in. It looks like if the model was not trained on the appropriate class label, it just goes completely off the rails. As previous commenters have noted, I would be very hesitant to use this for anything analytical, or where you are looking for something unexpected. For faces though, this is amazing.
Nobody mentions that 'rm -rf' is considered dangerous due to frequent problems in variable substitution when done in scripts and such: this is the most common source of issues with it afaik (eg. 'rm -rf /$mypath' will nuke everything if mypath is empty).
As long as their is enough consistency between approximating a multiply X*W and Z*Wt (Wt = W transpose), then it is possible it could be used in NN training.

Y = X*W is the forward propagation. If Z is an error or derivative of error, Z*Wt is the back propagation.

Its an interesting question as to how well that would work. Anything that speeds up matrix multiply in NN and deep learning in general would be a big deal.
I recognize past experiences in what you describe - but here's the punchline:

Working for a completely on-site company located in two buildings within 10 minutes' walking distance, it was still sometimes impossible to get hold of some people, or understand their attempts to communicate without going back-and-forth 3-4 times.

I think the company I'm thinking of is simply also a "winner of remote work" because it already managed to survive despite massive mismanagement and miscommunication before remote work.
Show HN: Get timely alerts for your cloud resources and costs
I cant find any benchmarks comparing AOT to non AOT and ideally C, C++, or Rust. Anyone aware of any?
I probably haven't thought this fully through but wouldn't it be simpler to just have a system venv - root protected - perhaps distributed using the system's package manager? Then if you mess up site-packages at least you wouldn't break the system tools.
What Is Golden Revive Plus and What Does It Do?
messing around with soft ice was fun lol
Hi all,

We've built an alternative way to track consumption of the cloud. It’s in beta, and we’ve just made it public: https://cloudalarm.in/

Right now, we support Azure and plan to support AWS and other cloud providers gradually in near future.

I've been Azure customer for years and have found the built-in budget alerting not useful. I wanted to get notified as soon as my current consumption rate would be estimated to exceed my budget, but budget alerts only notify you when you've consumed the specified percentage (threshold) of your budget. Setting a lower percentage means that I'd receive the email every month and I'd start ignoring it, while a higher percentage means I'd get alert very late by which time the damage is done.

On multiple occasions, I had a database got created in a much expensive tier (thanks to Azure defaults) and I'd find out about it after a month or so. A round of emails for refund would then be initiated. A colleague of mine also faced the same problem and upon research we found many other people were in the same boat.

I checked and discovered that AWS cloud watch also requires a similar threshold value.

As we started building it, we've also learnt that there's no near real-time usage information made available regarding your consumption by the cloud providers, so we came up with a concept of resource alerts to alert whenever a new resource is created higher than the specified tier. Resources list is available in real-time so we can cache and compare to find out new resources just added.

ON top of this, we've added a few more things to make it even more usable:

- Email subject with enough info about the alert so you don't have to read the body if you are already aware about the cause.

- email reminders for budget alerts so you don't miss it.

- Embedded actions in budget alerts to ignore alert or update your budget without having to login

- Track accidental deletion of critical resources like databases.

It ended up taking us over 4 months to build this into a scalable solution that can work efficiently with a cloud subscription having a few resources to the one having thousands of them - we faced multiple consistency issues in the APIs around getting this info reliably from Azure, not to mention the covid and other diseases that engulfed the family of very small team of ours.

We’d love your feedback, experience and thoughts!
Oh fortunately it does, people don't usually insult each other in real life at family events. Yes people are speaking louder and louder, and ends up using a ton of sophism and Ad hominem but that's it. On Twitter this is what a civil conversation looks like…
and yet my company’s betriebsratswahl was plagued with fear, managers having meetings saying why unions are bad, and so on. and it failed by 1/3 of 1 vote.
Right, that's exactly what I find baffling.

Right now, if N companies want to hire in M countries, the total expenditure in HR departments is in the order of O(N*M), when it could (theoretically, ideally) be O(N + M).
Wow, 4,600 neurons. I wonder how large a neural net would need to be to replicate the same behavior
Yes!! Since I this started over 15 years ago.. the problem is now this lady is having open hear anything surgey for some head value problems.. so even though it have cired and told them every years ago I bring out up now. They will not listen to me.. idk wanna be dick bit this lady ruinedy my family life why should I care what happenes to here! Sounds terrible but it is this bad
.
Not all off-chain layers are centralised.
Packers and Movers in Dubai, UAE
Find the list of packers and movers in dubai uae without any problem.
Do you know how happy the people you work with are?
I guess I'm struggling to understand what the problem to solve here is (besides security bugs). Maybe that is wrong, and the idea is just to try new things. But seems to me that 'try new things' isn't a particularly strong call to action when you are competing for research funds/time.
Magisk is dropping support for hiding root access from apps
The other thing is that existing distros are rarely good for anything truly autonomous. Too many moving parts. There's always the expectation that someone with a display and a keyboard, or a sysadmin at the console, is ready to pick up the pieces when it falls apart.
Yes, many people can't or won't use uMatrix. And yes, it's a chore to tune sites. But we live in a digital jungle, it's program or be programmed.