skysight-inc/HackerNews huggingface dataset:
In the ruthless monetisation of all things, it feels capitalism has done to our behaviour/thoughts/habits what it has done to any other resource - how can I maximise financial output from this thing at the cost of something else?

Battery farming and animal welfare.

Public transport and social mobility.

Processed food and nutritional value.

The human mind is just the next frontier where the battle to make everything you do something that is “valuable” where value = economic output.

I’m stressed because I’ve been in that place for too long. I started the year reading James Clear’s book only to immediately follow up with 4000 Weeks as the antidote.

Atomic habits are great if you want to push the boundaries of human achievement. The big realisation for me (and perhaps many of us) is “I’m not trying to do that”.

All the good books on performance, habits, marginal gains reference all the contexts where pushing boundaries is the normal state - Formula 1 pit crews working together to minimise time, Southwest Airlines and their 20min turn arounds, the British Cycling team and the pursuit of TdF/Olympic success.

My personal belief is we’re inviting in a dangerous logic to one of the few remaining bastions of our humanity. Float. Be free. Don’t force your mind to do something it cannot or does not want to do. Sure there’s a balance, but there is a threshold beyond which you’re deviating from your natural wants and wishes which equates to stress. Too much of that and you’re going to have a bad time.
best article i've seen on pragmatic purity - i would only dissent on c++ not providing facilities for pure functions (i don't here mean pure in the virtual=0 sense) - you can, and should, do quite a lot.
The trick is in not linking healthcare coverage to employment.
Thou has lost an eighth!
I'm sure most people ignore your braindead messages. You honestly think teams don't have mechanisms for ensuring employees are reachable and responsive online?
Ask HN: 'Stimulant' Drugs/Meds; help needed w.a dead-end I've reached
Some time ago, I was diagnosed with a number of cognitive issues, one of which is 'addressed' with a stimulant called Vyvanse.

In the 1st year or so it wasn’t a panacea, but it was undoubtedly the single-biggest help to me getting on w.life, & I was doing "all the right things" at that time, not just popping pills! At times, it was truly a godsend/revelation, to stick with the religious expressions! ;-P

However, for ~2yrs+? now, it's felt like it's not doing much, if anything, even if I go off it for long periods & then resume, it's just not the same?! Once kicked-in, I’m pretty sure it's always made me sleepy in the 1st ~2hr, but it feels like that’s #the only thing# left nowadays!

Recently, my psychiatrist said; "...It does nothing to address ‘tiredness’ (quite sure that wasn't always the case, + nothing like this was said in the early days) & more importantly, I should still feel/notice improved clarity-of-thought/concentration."

It's hard to judge that with a high degree of confidence, but I’m quite sure that was never markedly improved, if at all. I feel the bigger part I got out of it was not focus/concentration, but rather; energy/drive/will, & that’s been mostly-totally absent for ages now!

We’ve also tried Concerta a few times, but the feeling each time, was that it wasn’t quite as helpful, so we’d always go back to Vyvanse. She says they’re my only 2 options in Australia, for addressing ADHD-like & executive-function issues.

Are there other options, or great resources, that folks can point me to? Mainly interested in ideas for drugs/meds, but I’m open to other suggestions. I do address my issues with more than just drugs, but I’m dearly wanting to get that part working effectively again!

I have sought the counsel/opinion of other psychiatrists, but, they're pretty much the same.

Man, this was exhausting to type on an ipad pro 12.9 gen.2, whilst sitting on the toilet! >.>

https://en.wikipedia.org/wiki/Lisdexamfetamine | https://en.wikipedia.org/wiki/Methylphenidate
Htmx and named entity recognition based pkm. Are you me:) Perfect start. Hope to see similar aproach from others.
Those aren’t app files, they are user configuration files. They can’t be created inside the app bundle because the app is signed, and any modification will invalidate the signature.

There’s also the matter of permissions, some apps may be installed by the admin, but the app might not run with admin permissions for some users.
It's based on GPT-3, right? Is the amount of compute needed to train that factored in?
Let’s say my site has a download image feature that embeds per-user digital licenses into downloaded images at download time. This might take some processing so there is a queue and an abstraction representing the downloaded file. There are also several endpoints serving different types of image files.

What shall I call the unit of code orchestrating these download processes, if not ImageDownloadManager?
The hardware necessary for self-hosting definitely won't be in reach of most people any time soon.
Maybe the author had to much pressure to build the habit back too quick, instead of slowly and being kind to themselves. They mention a lot of targets.

> After becoming a father and undertaking a major rewrite at work

You mention moral failure. Although the author mentions deep work, my suspicion is the rewrite at work is taking long hours. This assumes certain values too, where work is first.

> Here I am equipped with all the directions in the book, but I could not apply any of them

He could not do 1 min of meditation a day to build the habit? Or do one push up before showering?

From the blogpost I get the impression the author is prioritizing work and rationalizing it. At the same time, they are setting too ambitious targets in too many areas, instead of aiming for an incremental and sustainable habit.
Are you paid by the hour? What would it mean for your job to “pay for commute time”?
I think it has learned that stones completely within your own ring of stones are dead and can just be assumed part of your own eyespace. It has just failed to learn the exceptional case where such stones form 2 eyes.
For apps where performance is key, I found you can get by using go for an MVP. Apart from the spikes in cou usage because of the garbage collector, go is fast and allows you to iterate quickly.
Easy, use Tim's Ferris technique - perform less in the office on purpose, perform better at home on purpose.
That costs an additional $9.99 a month. You know that.
> Middle managers+ have skills that become less useful in a remote environment

A little structural unemployment is good for the economy.
You stand up and talk about it publicly.
Or, because it was neat and people liked it. You're giving off a weird vibe here
The language does not offer the features that you were referring to, and that the author of the article mentions. You can write pure functions, but the purity is not checked by the compiler, that is what has been meant here.
This seems cool. Completely agree that K8S and friends have the right idea, but something simpler would be a great tool for projects that don't want to rent or dedicate K8S SRE team.

I would like to see this use docker export to tar feature as an alternative to registry. That often a fragile or expensive piece of infra. Squashfs images optionally hosted on s3 would be neat.

I love how it installs docker by default instead of expecting one to prep a server.

Having a single tool setup whole env is awesome
Meditation isn't really about minimizing thoughts. You can't stop thoughts from arising, its just something that your brain does. Meditation is more about training yourself to not attach to those thoughts, to let them go. And that has huge benefits - a lot of the stress and suffering in life we experience in life is due to becoming attached to our thoughts.

The book Mindfulness in Plain English is a great introduction to mediation if you are curious.
FBI investigates hack of its own computer network
Same, I've asked that mine is buried with me, unless either of my kids have a strong desire to keep it. I've ended up with my mother's soft toy lion from the 1950s - I think it will follow the same fate - seems nicer than the bin.
Over 10% of houses in Portugal are AirBnB. That's just crazy! In some neighborhoods, it's over 60%.

Plus, there's something like 700k empty houses, for some reason on another.

There's no lack of houses for everyone, just hoarding and speculation.
I played Civ I-IV and then discovered Paradox Interactive's games. Just stopped playing Civ after that. I've played some games of Victoria 2 that are so interesting I chat about them with history nerds around dinner.
Yes you can turn of gatekeeper entirely just by running this in the Terminal.

sudo spctl --master-disable
PyTorch would probably be the easiest way to get started there, it should give you a NumPy style handle into high-level objects.

As far as low-level, OpenCL has always had a horrendous amount of boilerplate just to get started, CUDA is a little better. One thing that can help is Thrust framework on CUDA, which attempts to provide a C++ STL-style interface to GPU operations. I am not saying it's super performant but especially it can give you a place to start and handle some of the boilerplate automatically.

In classic AMD fashion there is a me-too copy that hasn't been updated in like 5+ years, probably was some intern's summer project or some employee's resume-driven-development thing and AMD has just always left this trail of abandoned projects in their wake.

https://thrust.github.io/

https://hsa-libraries.github.io/Bolt/html/

But basically what this is going to look like is a main function that sets everything up, and then a __global__ kernel launch that does the actual computation. You probably will have a 1D or 2D grid of threads, where each thread gets a threadIdx.x and threadIdx.y and that determines the row/column of elements they compute.

For Thrust/Bolt you can do a cheat implementation by zipping the thread position into a (int x, int y) pair driven by count_iterators, and then having a functor which takes the (x,y) and does the computation. Or the "true" implementation would be an accumulate-reduce operation I guess, but, frankly the STL-style stuff starts to fall apart pretty quickly and it just ends up being a convenient way to hook up the lower-level code without having to worry about too much boilerplate.
GPUs came from the enterprise, and to an extend, military space. Just three letters, SGI. They built mighty expensive 3D accelerators that were used in prohibitively expensive setups for training pilots for example. They never saw the potential of a consumer grade version of their tech. It should be well known that 3dfx was founded by ex SGI employees.
I'm in academia. This is unquestionably bad advice. Micromanagers in the academia are able to virtue signal a lot, sweating and wringing their hands about all sorts of trivial stuff, bloviating over email and acting tense. However, in the medium run of about two decades, I've seen that thesis supervisors who take things easy achieve almost as much in terms of publications etc. while having the bonus of maintaining cordial relations which are important in the long run.
The AI has to have self awareness. I don't mean that it can recite some blurb after prompting. But it has to be able to introspect its self and tell us its feelings, its hopes and dreams, its fears. And these need to be part of a consistent self identity.

Current LLMs are incredibly good mimics but they don't have any consistency, they are everything and nothing, pluripotent, whatever you prompt them to be. We don't recognise them as being conscious because we know that they are just manifestations of a prompt.

But please, don't build a conscious AI.
Ask HN: Is there any consultancy that helps get rid of React?
I mean purposely. A lot of huge pain in projects that are using React. If you are the ones, what's your alternative solution that won't cause business big trouble? I know SolidJS is similar enough, that would be a smooth transition. I have a feeling that everyone knows how bad React is but they can't quit because of all the non-technical reasons. Is there a way out to "React only for day job" disease?
The list of features available out if the box is pretty impressive, especially if you are scripting something concurrent. I would tolerate the syntax quirks in exchange for that.

Or maybe your particular Scheme has all of that out of the box, too. Which one do you normally use, if you don't mind?
You can still convince it to do that, and pretty much everything else it used to be able do. It just takes increasingly more elaborate prompts to do so.
...and hope that they will not notice the former?
The question was not "what tools do you use" but how do you achieve orchestration on the same level as kubernetes.

Your machines are still named. Your resources still multiplicative. Your setup is not idempotent.

Don't get me wrong, i have been using ansible and terraform for over a decade too, but this truly is an apple and oranges comparison.
Let’s assume we find some mathematical models for a causal structure of consciousness that meets many of the criteria described by usual humans and maybe phenomenologists.

We later find some possible physical instantiation.

And here comes some bullsh*t (in the philosophical definition of „unclarifiable unclarity”): an electromagnetic field bend back on itself in a way that it’s mathematically necessary to introduce imaginary time to describe it; also it exhibits information processing capabilities.

We then further find that the biological brain has a process that can plausibly create such a dynamic structure.

Finally we test, and subjects say consistently it seems like they are not there or do not experience, if this structure is disrupted by several clever means.

Would this problem still be impossible? We could check if AI has features that can and do create such structures, no?

That’s at least an old dream of mine. Please pick it apart still! I’d rather learn something important than keep it…
I grew up in a below-average income household in Ohio and everything you said rings so true about where I'm from as well.

Just take us seriously and let us go back to normal. Money is the last thing people want.
As a mildly self-disciplined person myself, I really don’t understand why we need to be so fixated in becoming this mostly unattainable, predictable, hard to maintain, yet boring and repetitive super-version of ourselves.
The only thing that’s good for is to show off to others how undisciplined and bad they are.
Moreover atomic habits and all these “philosophies” are based on a profound misconception or rather a disingenuous marketing tenet—that your life is not “better” yet only because you haven’t followed this or that new improved step-by-step recipe for happiness.
Life is a messy dynamic system constantly veering towards instability. It’s better enjoyed in its complicatedness and unpredictability, not by living by a strictly structured code of conduit that will make you feel like shit when the aforementioned messiness will inevitably throw a wrench into your illusion of a well-oiled machine.
Containers on Linux don't have slower APIs or IPC, and don't have heavier context switches. Are you sure you're not thinking about VMs?
so we will eventually have unbeatable ones, but I guess not yet.

While I believe it's true these things might become practically unbeatable. I also am getting the feeling we've put god like faith in these systems when ultimately, we find they may have critical flaws and weaknesses like all to almost all other things.

Of course we're at the point where everything still seems like magic.
Do yourself a favor and transfer to the Seattle or NYC office.
Precisely. It’s called opponent modeling and it has only just recently (as in the last couple years) been possible in chess.
We're saying the say thing but it appears that we're not because you're taking my argument to places I wouldn't.

I'm for professionals saying whatever they feel they need to say so that they can be understood and perceived in the way they want to be perceived and understood. If not talking about something causes stress, talking about it could help. If talking about it causes stress, don't talk about it.

I work with people around the globe so knowing my sleep schedule helps the people who work with me. For example, I don't like reviewing UX, visual design, or anything involving RxJS when I'm tired. I know this, they know this, so I review things when I'm rested. Similarly I want to know what the people around me need me to know.

Let professionals decide. "Culturally" the scales shouldn't be tilted too far in either direction.

Also talking about different types of people.. Moving from an expectation of an instant response to the expectation of a 24-ish-hour response does wonders for communication. Let people think and maybe sleep on it. Keeps the in the moment thinkers from steamrolling the nap and shower thinkers. Does wonders.
Build more houses, where? There's no lack of houses in the sticks, you can't just raze the city center and build skyscrapers.
This is being repeated during every AI comptenecy discussion, giving an example of "you wouldnt want AI that never misses in FPS". But its completely missing point.

We want AI that is capable to never miss, and then is tuned down in a controllable matter. We want smart AI that are dumbed down in precise ways to create illusion of dumb AI, not dumb AI boosted by resources and damage modifiers to give illusion of a smart one.

You can make smart AI look dumb (thus weaker), but hardly ever you can make dumb AI look smart, thus now the strong AI is just dumb AI with advantage
> CRUD-type projects with very few interesting design decisions to be made about what the software should do computationally.

Isn’t this by far the bulk of code businesses produce and need though? Very few businesses actually have the scale or product that requires more than a glorified CRUD with arcane business rules slapped on top.
Because the "common black hole model" is static, while the standard cosmological model is not. How do you stitch them together without breaking either one, i.e. without violating general relativity?
ImageDownloadPreparer?
That project recently collapsed.
But only if you budget the time for learning those. Blender might take several hours of tutorials just to be able to create an empty room in the shape of a regular, rectangular box.

Also Blender lacks support for exact measurements AFAIK.

I tried this approach but gave up after barely achieving a rough floor plan after a day's of work.
"We showed you you're disposable with our layoffs. Now we tighten the the noose to show who's the boss". -- yours affectionately, Big Tech (R).
It's a way to hide the lack of content, especially if they lack whatever it is that you're searching for. They're hoping that you'll settle with their catalog, anyway.
It's a 0:01:26 minute video and she didn't do an 8 hour work day! /s
I'm pretty sure GP meant Closure, considering the language has matching immutable data structures for mutable ones [^1] and even its own (limited) version of EDN called JDN.
It’s definitely also inspired by it.

[^1]: https://janet-lang.org/docs/data_structures/index.html
> code should be correct and easy to understand. I think “correct and easy to understand” is a much more useful rubric than “clean”. Obviously it’s still subjective. Code that is easy to understand for you may be hard for me to understand.

There's a deeper problem here that has driven a lot of disputes over the years.

"Ease of understanding" is not a stable property of code. If you have two separate pieces of code that are easy to understand, and the only thing you do with them is combine them, your resulting one piece of code may also be easy to understand.

Or it might be next to impossible to understand.
Ever read "The One Minute manager"?

https://en.wikipedia.org/wiki/The_One_Minute_Manager

It covers this, is very short, and (IMHO) is a good book to give all brand new managers. eg when they're promoted from individual contributors

Seems to set new managers on the right path. :)
Another datapoint, the average salary is about 1300, but the median is about 900. So more than half the people literally can't rent.
The change in BMR is terrifying because it doesn't seem to subside. 6 years after "The Biggest Loser" the contestants regained more than 2/3 of what they had lost (not even total body weight) but their RMR is still in starvation mode.
Amazon will PIP that one person.

Amazon isn't Google, it doesn't care about its image, like ... at all.
the problem is the length of the variable/enum names. if they were shorter, the problem would be much more obvious - as it is the code is unreadable.

the lengths of names of entities, in any programming language, should be related to their scope - small scope, small names. and as limiting scope is what you should be doing all the time, almost all names should be short.

also, unless you really know what you are doing, don't use leading underscores, or underscores in general, in c or c++.

here is something i wrote a while back, which admitedly does not too much address the single underscore issue: https://punchlet.wordpress.com/2009/12/01/letter-the-second/
> Like, “you shouldn’t use boolean flags as parameters, you should use enums” becomes “I can‘t understand the meaning of true/false at the call site, so let’s use an enum instead”.

That's not the reason to use enums instead of parameters for functions, rarely will you not be able to understand what the bool arg means in:

create_user(..., is_admin: bool)

If you don't then you need a better IDE.

The reason to use enums and for that matter structs is that as requirements evolve, inevitably you will need to extend the code base and at some point `is_admin` alone won't cut it, you'll need an is_moderator etc.

This leads to two things, one is function signature pollution and unnecessary extra validation code, eg. what happens if both is_admin and is_moderator are set?

What about the functions relying on the old signature? Perhaps you make separate versions of the functions, eg. create_admin_user and create_moderator_user and keep the old one with the flag, then you can keep backward compatibility...but at the cost of an api that makes people go insane when using it.

More likely you'd then go to an enum which leads backward incompatible changes, and likely a refactor, which in the event of a library can break dependent code and in all cases is a lot more work than just using an enum in the first place.

Try to write code for the future reader and writer of the codebase. An enum will allow readers to immediately understand that there is a [normal, admin] distinction and adding a moderator would be as simple as adding a [normal, moderator, admin] in there.

Then, assuming you've written your code in a proper manner, your IDE will tell you all the places where a moderator needs to be accounted for in the code base.
> terrible rear visibility

According to the weighs of some perspective, very little can be an excuse to turn all areas of anthropic presence into a gigantic constructions site. Because it makes it unlivable.

> off-road vehicle with terrible rear visibility

Save for the actually changed proportions, I know off-road vehicles with outstanding visibility, "normal roaders" with almost no rear visibility, and many vans have no rear windows at all (they only use side mirrors) since forever and still not having posed a problem. Is it possible that some measures follow the trend of "do something stupid to justify your salary by showing you have done something", in the intersection with "preserve life at all cost irregardless of the destruction of its quality"?

> Any idiot can tell

Although, an analysis cannot stop at "Points: pro" of the branch "case A", and a decisor (but not regulator) will only take guesses on the details unknown in the Cost/Risk/Benefit - he would be an idiot if he thought that from "A shows advantages" followed that A would be preferable. And the Issue is that there is an epidemic of unrestrained lack of good sense.