skysight-inc/HackerNews huggingface dataset:
Hi! I am the author. I will be glad to answer any questions.

First of all, I don't want another Emacs rewrite, much less in Guile. Mixing languages is not good for power-use, which requires ease-of-use, or at least conceptual simplicity. I talk more about it in the article in the Project's Philosophy/Homogeneity section in [1] The Power of Structure.

I am proposing we need to really start considering a different paradigm, and attempting to do it right, and that's structural editing. People are wondering if it's possible to be writing better structural editors. We all know there have been attempts to do those, and, well, lo and behold, those were janky too.

But they don't have to be. When people start thinking of structure-editing, they immediately jump to the "how do we do C++".
Well, in fact, I could tell you how we could do exactly that: you could start small. You start with what you know. And you know that you could, say, start with structuralizing the {} brackets. That's a semantic unit. So, that's a start. Even without getting down to the compiler level.

But I am not arguing I am about to do wonders for something as complex as some mainstream langauge in terms of a structural editing. I believe it can certainly be attempted, though, and certainly improved, peacemeal. And what you can't do: mix it with the traditional string-based editing. Or take python: that one would structuralize pretty nicely by indentation. Would it accomplish everything? No. But it would certainly help.

The gist of it boils down to the fact that you don't need to start at that very complex level, you can do things piecemeal and still get many benefits. Ask yourself this: can you edit a /list/ structurally, i.e. edit like in a string-based editor while maintaning an actual list behind the scenes? Sure, you can. A tree? Absolutely. Look at Paredit.

THERE'S NO REASON FOR THAT TO BE JANKY. NO reason why that wouldn't work.

It can absolutely be done.

And, really, structural editing like I am proposing /subsumes/ string-based editing, because you can just write a specialized editor for general strings, and use that for things you don't know how to structure yet. And yet, even those string-based editors can be specialized further, as some semantic units like words, expressions and even characters are often immediately apparent.

What does that give us? At the very least: object identity and programmatic access, and having the ability to pick your own data structure.

This kind of small things are what's actually going to be very useful for stuff like note-takers and computational notebooks and REPLs and what not. We don't need to start with programming languages (though I am going to do a Common Lisp IDE).

Please, ask me anything! Let's talk!

PS Another very important point is that ambiguity can be localized. Look at the Alchemy section in [1] where I discuss dealing with the reader (but I also talk about it in Rune).

PPS And thank you for posting this. It's exciting to be reading comments. Truly.

[1] https://project-mage.org/the-power-of-structure
What they won't tell you is that this will use the default KMS key, which cannot be shared across accounts. So your S3 bucket objects cannot be shared across AWS accounts by default, unless you setup a custom KMS key and "copy" everything in place (a standard AWS organisation is made of multiple accounts).
That was an interesting story to read.

I would say it sounds more like "they didn't have the chops/experience to do it" and less like "they didn't want to do it?"

In situations like that my instinct as a developer is to figure out the hard part first. Some sort of prototype to prove that hey, this design works and can serve X requests per second. In other words some basic prototyping and research... a "spike" in scrum/agile terms.

Managers have viewed this as insanity. They think optimization is something you can sprinkle on later. Surprisingly a lot of developers do too.

I've been on two projects where this situation happened. In one I was able to save the project. In the other I wasn't.
> I think it's theoretically possible to destroy [an Estwing] but it'll last a lifetime or two.

Bruntons, OTOH, are a little less sturdy.
Because unless you are an author who gets famous and writes about using drugs all the time and practically nothing else[1] no one except the police care. Everyone over 30 knows that every professional workplace has habitual coke users, that a large majority of artists/musicians/art teachers/bar tenders/chefs are currently or were previously users of weed or LSD.

[1] https://pen.org/press-clip/british-author-barred-for-moral-t...
As someone points out in the comments, it is unfortunate that quotes are the only delimiter which doesn’t differentiate between opening and closing, leading to all the parsing woes, unlike

(), <>, {}, [], …

I wonder why the default for ASCII string quotation was not

`string'
I really enjoy the color reproduction on true OLEDs.
Do you live somewhere where the air is particularily bad?
Not at all, which serves me right for commenting when I should have been sleeping.
I know of a person that lied about what the company was doing from a C-level position (the company was in the US and they worked in EU so there wasn’t direct transparency). They got demoted since they sucked at their job but kept presenting themself as C-level to build up network and contacts. They then went on to found a prominent start up based on that PR while also stealing ideas from their previous employer. The company did nothing about it since it got hit heavily by Covid and had other problems. You can find posts by this company on HN. They’re pretty hyped up.
I do this with pytest-regtest's --regtest-reset command.
Good post. Are there any downsides? I use alcohol to excess, a habit I developed in the days when socialising was something I wanted/needed to do but needed help with it.
All of those things are quite niche.

I use Wipr, block third party cookies and use private mode when needed, use bookmarks and tab groups.

Not liking the UI is very subjective, personally I think they all suck somewhat.
Productive sessions like this are great, but this is one session with one kid with a new, intriguing technology. It is hardly enough experience to roll it out to schools, and it is certainly a huge jump to suggest it is better at teaching than a human teacher would be.
Indeed. I bought mine maybe 25 years ago and still play it all the time. I could probably sell it for a lot more than I paid for it, but I’m not going to do that.

I’m trying the same thing with a Les Paul now. I’ll let you know how it goes in 20 years.
Just looking down at my desk for things I've had 30-odd years and still using:

Pentel Kerry mechanical pencil (https://www.pentel.com/products/sharp-kerry-mechanical-penci...)

Concord nail clippers (https://www.amazon.com/Concord-Black-Executive-Nail-Clipper/...)

Leatherman Micra (mine is made in USA) (https://www.leatherman.com/micra-20.html)
Tried it with β and with ξ but did not get a match.
(Disclaimer, I did eventually get the β working, but first versions only gave other results such as P, ρ or Բ).
> I think you’re supposed to write some nonsense, like assert fibonacci(15) == 8, then when the test says “WRONG! Expected 8, got 610”, you’re supposed to copy and paste the 610 from your terminal buffer into your editor.

> This is insane!

The sane approach is presumably to either expand the call tree and verify all the unique subsolutions. Or to do every step with a calculator if you can’t expand the call tree.

> The %expect block starts out blank precisely because you don’t know what to expect. You let the computer figure it out for you. In our setup, you don’t just get a build failure telling you that you want 610 instead of a blank string. You get a diff showing you the exact change you’d need to make to your file to make this test pass; and with a keybinding you can “accept” that diff. The Emacs buffer you’re in will literally be overwritten in place with the new contents [1]:

Oh okay. The non-insane approach is to do the first thing but Emacs copies the result on your behalf.
Why though? Companied invest in due diligence people and processes (unlike us plebs) If they get swindled, a fool and his money are soon parted.

My intrigue is that due dilligence is quite lax for certain types of people. I wonder what the criteria are. Surely 'those' academically excellent M&A people would never slack on a 100mil+ transaction, or so we are led to believe.
For 4000 lives saved, and at a valuation of roughly $7 to $9 Million/life (US) to be consistent with US gov’t engineering practices and regulations, perhaps $30 to $40 billion to be consistent with other US policy initiatives.

Cf. https://en.wikipedia.org/wiki/Value_of_life#United_States

If you even spend, say, $100 Billion on this environmental concern (implicitly valuing $25M/life), you will underinvest in other governmental activities (e.g. DOT) that valued life at $9M/life, so reprogramming funds from air pollution to DOT would be estimated to save more lives. At first SWAG (linearity/hand-waving) implicitly accepting an additional 6000 lives lost due to such a misinvestment.
Firefox's extensions on Android are why I still use my smartphone to go on Internet.
I like the Tormek systems.
I think the T4 (https://tormek.com/en/products/sharpening-machines/tormek-t-...) would be good for most who just wants something to be able to sharpen knives once in a while.

If knives and sharp objects are your thing, you probably want to go with one of the bigger models.
I disagree profusely, IKEA cutlery is horrible. The fork tips are dull, the spoons are too shallow and too big, the spoon soup is completely the wrong shape, the handles are extremely unergonomic, the weight is not solid at all, they look and feel cheap, and they are ugly.
That's what I thought.

Small town unfortunately. Not many job opportunities.
I think the pushback from programmers has a different motivation.

Programmers love to share code, but they don't want to share it with corporations who don't give back. We invented copyleft as a way to (ab)use the legal system to open up everything. We hate copyright and "love" "copyleft" as a means to weaken copyright.

It would be like if artists gave away all of their art, except not to corporations who hog their copyrights.
I'm very fortunate! Mostly good, except when neighbors fire up woodstoves or fire pits.
I dont have smart TV, however I have BenQ MH550 over 3 years. Just for Kodi and pictures. It's great. Since then I'm barely go to cinema, except film festivals. And I'm partly work in film industry.

Look for DLP projectors if you want watch primally films. They can adjust frequency to FPS of played media and colour reproduction is more pleasant to watch. Avoid LCD projectors. They are great for presentations and graphic in bright environment, not for film reproduction in dark room.
> I want the supreme flexibility of going from state A to B through some ill-formed textual editing

Seems like the author agrees with you (albeit in a different article):

> … the traditional structural editors do tend to impose some limitations … But these are not the inherent qualities of structural editing. This is just the way someone chose to implement it. So, when I say that Rune provides seamless structural editing, what I mean is that the other kind of choices are possible: the kind where you are editing as if the structure is only apparent, but not in your face, and so, it's just like there are no seams.

— https://project-mage.org/the-power-of-structure#orgeb59167
I’ve taken mdma at parties and concerts in the past. Without it, I had anxiety and am generally quiet and stiff, with it I’m out on the dance floor with everyone else having a good time.
I know a number of organisations who have done/are doing this, and my key piece of advice is to look at modelling rather than diagramming. Note that I'm not necessarily suggesting a traditional UI-driven modelling tool here. My open source Structurizr DSL is a "models as code" tool that allows you to define a model+views, and have them rendered using a number of tools (e.g. Structurizr, PlantUML, Mermaid, D2, etc). I have some conference talks on YouTube that provide an overview if you want to learn more; e.g. https://www.youtube.com/watch?v=0-gVFWONnQw
I can't believe you also mentioned 8pen! I almost made a comment about that as well, but had to run earlier. I was also fascinated by the idea when that launched and really wanted it to be successful. I also had an iPhone, but I convinced my Android friend to buy it and try it out. He gave it a good shot, but it's just so hard to build fluency with, it never really stood a chance. I still wonder if the idea is sound if it were possible for people to learn more fluently in a reasonable timeframe.
You cannot ad blocklist in batch in AdGuard. Also developers are from Russia with headquarter in Cyprus.
This is a brilliant tactic as avoiding being embarrassed in front of the class is a huge motivator. Plus, the value of teaching others is a huge benefit to the student for the subject matter and the practice of communication skills when explaining to the class.
` is a dead key in many keyboard layouts. On my keyboard, I need to press shift + key left of backspace, followed by space to get it. And if I type something else I get an annoying bell sound.
In a broader sense, I think it's worth exploring the notion that there is such a thing as a true self that you're normally not able to access, that may be revealed through some process of therapy, insight, meditation ritual or drugs.

I'm not sure where it comes from, and there are some pretty concerning inconsistencies with the notion if you scrutinize it.
Maybe not ‘for life’ but I bought a pair of Caterpillar Colorado smart / casual boots more than 6 years ago. I wear them almost every day during the colder months. They show a little wear, but otherwise rock solid, dependable, comfortable. I don’t plan on replacing them for at least an other 3-4 years.
I'm interested in the full-stack engineer role, how can I apply? The shorturl links don't have an apply option.
Many of the comments here seem to assume that "diagrams as code" == automatic layout. That doesn't need to be the case.
Memory and concentration problems are common in long Covid (2022)
Hey, I just wrote a general reply on structure editing here in this thread, please do check it out. Also, I have added a notice in the article to skip the Fern section, as it's, indeed, probably best left for last, in case you are interested in the platform as a whole. I should have really done that before.

As for constraints and prototype OO: I think those will simply do great for GUI building, and for flexibility. I think you need such abstractions to be able to deal with customization and complexity of embedded structures. I am basing Fern on the Garnet GUI framework [1], which had ~80 projects and was pretty fun to use judging by what people say.

[1] http://www.cs.cmu.edu/~garnet/
Good idea assuming that backtick is not used for anything else already.

The only problem with backticks is that European keyboards hate them if you have dead keys enabled.
Swedes are dying again of COVID in numbers.

https://mobile.twitter.com/RiskeO/status/1614117492950966273
I remember using a 1200baud modem at a computerclub for kids back in the early 90s iirc to connect to my first bbs. Man the excitement that gave!
Duralex Picardie tumbler drinking glasses. My grandparents gave me a bunch of theirs many years ago. They were durable enough to survive the Northridge earthquake and a whole lot of grandkids. I've seen them bounce off concrete and not break.
What is your definition of "secure"? Ticks all of your audit checkboxes, or can actually resist nation state tampering?

Depending on how you define this word (actual vs perceptual security) we would adjust the type of conversation accordingly.

A lot of "security" is theatrical crap that skilled developers don't have patience for.
They never said that they needed it. They said that this was their experience. That they were their best selves.
You’re not alone. I am utterly baffled and infuriated with typing on my iPhone 12 Pro.

I used to think typing on old iPhones was amazing. But over the past several years there is a noticeable decline. It constantly makes the most bizarre and unhelpful corrections.
to "be yourself," sure you don't need drugs. it's the finding yourself part.
Here's an older post from 2015 (also from Jane Street) explaining the same process https://blog.janestreet.com/testing-with-expectations/, but at the infancy of the method. It looks like they heavily polished it!

I like the approach, and I was indeed copy-pasting the result from my console...
Can this be used to run CI/CD in Docker for iOS projects?

If that’s possible then it’s huge.

Edit: Best way to know is to just do it. I’ll try this and report back.
"Nobody would say "It is sad that you need that glas of Prosecco to celebrate New Year's with your friends." Because strictly speaking you don't really need it "

Of course, some people feel that they do actually need it and that is the rub with expressing positives about drugs or other externalities. Some people become addicted and those addictions can have incredibly negative effects on the people around them.
>Are unsolicited dick picks common even for the pay sites? I've assumed that it's mostly an anonymity issue that goes away when you tie it to identity (via payment or otherwise)

I don’t know from personal experience but from people I know and the woman I’m dating now, the answer is yes. Common enough, and the guys sending them don’t seem to care that their face and name is plastered all over. I was on a hike with my girlfriend and we bumped into a guy that recognized her. They chatted for a bit and after leaving she said he sent her a dick pic a while back.

Scammers are also a major issue, yes. Not sure if tying to identities would help as they presumably could just buy them.

Niche sites don’t really help because most of the time you can’t vet if someone is Christian for example. An acquaintance tried finding a date on Christian Mingle and was almost immediately propositioned in ways certainly inappropriate for the site. And you can’t really message for free on that site, so the men in question were paying.
At-risk family members, long COVID uncertainty, and no real downside. Easy choice.
Can you not install alternative keyboard apps on iPhones?
Aren't these selves both just... you though? I get that one state of mind is more desirable than the other, but denying that anxiety is part of your psychology makes it more seem like your "true self" is who you want to be than who you are. To be clear I'm not saying anxiety meds are bad or you're wrong for medicating or for wanting to not be racked by anxiety.

There are many states of mind that are unpleasant. Anxiety, grief, doubt, jealousy, anger, and so on; and many behaviors that we may engage in that we rationally realize we should not, various forms of self-sabotage, unhealthy habits, and so on.

I don't think saying because we don't like these things, these things aren't really your true self is helpful. They don't need to be part of us, but if we can't face the fact that they are, they will remain.
Never. ~15 years and counting.
How well do you know CNCF Landscape?
There was a specific phrase in my circles for that particular kind of Wednesday, but sadly I’ve forgotten what it was.
The very first thing I do when I set up a new iPhone is to turn of all auto suggestions, auto spelling, and yes, even the auto capitalization. I’ve become so used to it that I’m almost unable to use other people’s phones…
Which is why we should vote with our wallets and not buy their hardware if they, Apple, want to keep neglecting part of the software that developers demand.
Yeah that's bad. Keep personal or family related bander out of an interview process.
I'm still not 100% sure what exactly this is, even after reading the description thrice. Is it basically a RISC-V core in a system with standard x86 PC peripherals, i.e. a very odd but theoretically possible configuration to emulate, in the same way that QEMU (of the same author) lets you attach e.g. a classic VGA controller to an ARM core?
New Sony Walkman music player
As a former windows phone user, there is nothing I hate more than the keyboard in iPhone.

But… I have found it very accurate in “swype” mode.
A good soldering iron (~€70)

A nice sleeping bag (~€300)

We shall see about the rest. I recently bought a Stanley hot water bottle, I'll see how much I use it.
that's what it is in m4
This surely can't be the case, right? If it was, then what's stopping me from taking any possible byte sequence and applying my copyright to it?

I could always show that there exists some function f that produces said byte sequence when applied to my copyrighted material.

Can I sue Microsoft because the entire Windows 11 codebase is just one "rote mathematical transformation" away from the essay I wrote in elementary school?
Hello everyone,

Radoslav here (one of the authors of the mentioned Django Styleguide).

First of all - I want to thank everyone to the comments The fact that someone took the time to read the styleguide & then write a comment / propose a different POV - is humbling.

I've read everything once & I'll do so at least couple more times. There are interesting ideas & comments that we can apply!

And finally, I want to add some more context:

1. That particular styleguide has served us, and it's still serving us well. It's basically a list of ideas that we found useful, thanks to the various Django projects that we've been exposed to at HackSoft.

2. One core philosophy of the style guide is the ability to cherry-pick whatever makes sense to you. Even at our company, it's very rare to have 2 Django projects following the exact same structure. The styleguide is rather a framework / direction for things that's been proven to work, from our experience.

3. And of course, the styleguide can use some more love from us. We are sitting on a lot of unshared knowledge that needs to be structured and applied back to the Django Styleguide & the corresponding Django Styleguide example project.

4. We try to keep it pragmatic, so you can actually build something. For example, DDD sounds great, but lacks pragmatism and slows you down by a lot (at least, for us).

5. And finally - this is not the "only right way" to do Django. As there is no "right way" to build software. Luckily, there are always options. We'll update the list of other suggested approaches, so people can have a choice / navigate the space better.

As an example of one of the big topics that we want to touch upon is nesting apps. Alongside the "services / selectors" layer (btw - you can call this whatever suits you best ), the ability to nest apps within apps is really powerful, when it comes to the structure and longevity of a Django project. Having 50+ flat apps is not the best experience.

Our current focus is around building the company (HackSoft). The Django Styleguide will be soon to follow. We are slowly gaining more speed & we'll eventually get there

All discussion around "How to do Django" are in fact really interesting. If we happen to meet at some future EuroPython / DjangoCon Europe - I'm always open to discuss in person. Otherwise, if you have specific comments / suggestions - you can submit it either as an issue / discussion, or just send an email to radorado@hacksoft.io

Cheers!
It would be nice if the medical profession actually had some kind of handle on brain fog. It can be debilitating.
wdym, JS has good interactive development with browser devtools. and you can write pretty much all js as expressions if you want to.
MDMA is one of the most wonderful chemicals I've tried. I've had experiences of bonding and closeness with people that words can not express.

While it may be artificial to a degree, the experience is no less profound.

The problem with these kinds of experiences is that it is fantasy made real to a degree and life without those experiences can seem dull.

That can be tricky to reconcile and isn't really spoken about enough. That box can't be closed once open.