skysight-inc/HackerNews huggingface dataset:
I have another take on visual programming

We need programming environments that can understand both textual & visual code.

We need a new primitive which I call the visual-ast

encode the AST in html via data attributes, and have a system to ignore irrelevant html nodes, giving space for rich UIs to be developed in place of typical AST nodes.

eg.

// textual
1 + 2

// ast
{
kind: "plus",
lhs: { kind: "int", value: 1 },
rhs: { kind: "int", value: 2 }
}

// visual-ast

<div data-kind="call">
<div data-attr="lhs">
<div data-kind="int">
<!-- typical encoding of a value -->
<div data-attr="value" data-value="2">2</div>
</div>
</div>
<div data-attr="rhs">
<div data-kind="int">
<!-- here we can use an input tag but you can do something more fancy -->
<input type="number" data-attr="value" data-value="1" value="1">
</div>
</div>
</div>

What you can do this with this AST is create rich UIs which contain the appropriate `data-attr`s, (ignoring the other elements), and now you have a generic system for interweaving textual & visual code.
>You're really going to say that, while Trump sends out campaign emails like this?

All of your examples are actions against him or completely reasonable things to say like "STAND WITH TRUMP"

> THEY WANT TO SENTENCE ME TO DEATH!

Not prophetic, the number of people who see Trump as a fascist threat that needs to be stopped is huge.

>This sort of rhetoric is standard. Seems like everyone has just forgotten about it.

The end of my post was the important one. The Biden team has changed their messaging. I guarantee the media will do the same. But this isn't the group im talking about who has to change.

Given your response here and I'm guessing you're average... so the democrats won't be. So what's the consequences?
Underground cave found on moon could be ideal base for explorers
But why?
Serious question.
I'm sure something interesting/useful might come out of it, and even if it doesn't just go for it, but is there any mathematical truth that can be gleaned by calculating pi to more and more digits?
When I was in college, the only number in my mailing address was the zip code.
I guess FOIA doesn’t emanate from the Constitution either?
Right, I'm on one project right now that 3 meetings a week, and one of them applies to my work and it really could be an email. Every simple project I'm on I quote 40 hours, where I assume it'll take me an hour or two to do the work and the rest will be meetings.
Given that gov ai is a foregone conclusion that no civilian had free will over the existence of, deciding whether to admire any civ ai attempts is just a measure of how liberating or disruptive and regretful you think civ ai could be.
> Unity has had multiple visual programming packages and people don't really care.

People cared enough for Unity to buy one and make it official but Unity doesn't care so it mostly just rots.
A unique project I saw recently, that is developing a kind of visual programming environment with the goal of unifying design and code.

https://www.pax.dev/

> Pax: Build UIs visually in Rust

> A library for building web & native applications alongside visual creative tools

Meet Pax: https://www.youtube.com/watch?v=crI_raloHgo
I’m late to the party but this mostly rehashes already voiced concerns with all the existing “updated” strcpy functions. But what I was surprised to learn is that strdup wasn’t part of the C language spec (until now)!
Because it's deprecated.
ah yes the walk down here to this comment was short but scenic
Like cryptography algos use prime numbers. Probably something out there that uses pi digits.
> Ordering the killing of Supreme Court justices is not part of the powers of the Commander in Chief

We’ve extrajudicially liquidated Americans overseas before. Why isn’t this a power of the Commander in Chief?

What if they aren’t SCOTUS, but federal judges suspected of a terrorist plot? State judge? Where do we draw the line? (We’ve executed Americans extrajudicially and under Article I powers.)

> that people are acting like it could be

Nobody is. I’m not arguing that absurdity is a likelihood that can be defended against with laws. My point is there is no good source for what constitutes an official act.

EDIT: You are arguing in good faith and shouldn’t be getting downvoted.
The math on that never looked very promising.

All wealth arises from natural resources.

A truly dense population can not be sustained in a location without local resources unless there is a way to import at least the necessities for survival from somewhere else where they are more abundant.

Some of the best places for that, naturally are port cities, and for millennia merchant marine moves more goods more sensibly than most.

Inland cities can get big more easily when there are abundant local resources, well developed, and if there is some huge excess of something like timber, coal, gold, or whatever that is widely desirable. A local market will develop first in the land of abundance. Then if it's possible to arbitrage in a world market, the cost will be paid to shuttle commodities to an international port. Where the trading merchants will be able to buy low and sell high in a way that is further out of reach for the local producers.

Eventually the traders make more money on the same tonnage of natural resource flow than the extractors do, but the extractors got there first.

Depending on what the resource owners do with that early advantage, and whether there is a regime in place which values the local resource more than human life, and stuff like that has a much bigger effect on the imbalance between producer and trader, as well as local versus international prosperity, and that's with raw commodities not yet subject to value-added manufacturing.

Seems to me port cities mostly arose due to upstream export needs before they were utilized as major import hubs and mercantile centers.
I'm much earlier in my career than you are but have had serious thoughts about leaving the industry altogether for similar reasons. The interview processes are absolutely toxic these days, much of the industry seems like an outright scam (crypto, AI, etc.) and the trend is to casually waste resources.

Part of my motivation to go into writing code in the first place was that I noticed software getting worse and more user-hostile in the 2010s and I wanted to change that. Turns out the people making software worse think the stuff that makes it worse are "best practices" so you're fighting an impossible battle and nobody is going to dare allowing you to advance into a leadership position or often even get a job in the first place unless they think you're a true believer in the BS.

I also have no interest, at this point, in writing code unless I'm paid to do it. It's hard to find motivation to write code when I mentally associate it with all of the corporate BS and the grifting con artists of the tech industry. The one saving grace was that the money was good and it was possible to switch jobs for more money or because you're tired of 1 particular company's BS. Now, even that isn't possible anymore so what's the point?
Meh? Couple hundred meters of elevation and a hundred acres runs a city for day. Source - the city I live in which has this exact setup.
The niche between those two market segments is currently catered to by the used market of older pro gear.
Nim should take inspiration out of other languages doc sites where a banner is placed at the top notifying the reader it is for a previous version with a link to the current version. Could also add a rel=canonical meta tag pointing to the latest version so search engines funnel people there.

"Nim gc" on Google indeed puts you at the 1.4 doc page.
> When some new tool that uses a new port or whatever comes into use, the hassle of getting IT to change the security profile is far less expensive then leaking the contents of any particular workstation.

Many years ago, we had , in our company's billing system a "Waiting for IT". They weren't happy.

Some things got _days_ to get fixed.
And people wonder why you need a college degree for most jobs; all a high school diploma shows is you mostly showed up.
Yeah, we're not gonna convince people in other countries that hacking is uncool. Better to have the advantage.
Yeah, the scale of things is different but the idea that everyone in your town (or your social circles) didn't know more or less everything about you is counterfactual.
I swear Google has published a report from their crawl data about how in/frequently different tags and frameworks were used, in part to determine what they might need to support in Chrome. I'm not able to find this anymore. Does anyone know what I'm talking about?
Except that's not what is happening here or what the rest of us are discussing, so why even bring it up?
It appears to me that OP was decrying racists' behavior, not the law, or the judiciary that interprets the law. I think you missed their point.
> Dark matter is ordinary mass gravitating in an ordinary way: the observed gravitational lensing needs to match up with the rotation curves needs to match up with the velocity distributions of galaxies in clusters

Those are all the same thing, the shape of spacetime. The only thing DM adds is a backstory that this shaping comes from hypothetical undiscovered particles with properties that match observations.
i remember using the falstad sim constantly at university a decade ago. super helpful and so much more intuitive than any spice thing. cool to see that it's still around and used
"That's Fred, a prompt magician of the third rank!" ;)
I think you are missing the main point of my analogy: seatbelts and airbags work on damage mitigation, while the kind of security that bothers users so much is the one focused on prevention.

Especially in IT, where lives are not at stake, having a good enough mitigation strategy would help enormously in relaxing on the prevention side.
> Yes this requires the trust that they in fact cannot decrypt it.

Yes, this is where it all breaks down. In the end, it all boils down to the company saying "trust us", and it's very clear that companies simply cannot be trusted with these sorts of things.
That’s a specific case of a piece explicitly and intentionally excluding the notes because it’s supposed to be improvised, right? The very point of the notation in that case is to avoid replicating a performance exactly. So what context is needed that’s missing? Why is replicating the performance exactly even a goal, when it’s not what the author wanted?
If we are going that route, why not go with a lisp-like language?
C23 is cancelled due to missing the publication deadline
Source on the reasons, from the editor: https://pony.social/@thephd/112791335889843647.
So much this.

There is a default and unremovable contention between usability and security.

If you are "totally safe" then you are also "utterly useless". Period.

I really, really wish most security folks understood and respected the following idea:

"A ship in harbor is safe, but that is not what ships are built for".

Good security is a trade. Always. You must understand when and where you settle based on what you're trying to do.
just index on the number of ones. Ex 0.10110 there are two ones in a row, so reference those two ones to be the number two. For 00, flip it and refer to the same pair of ones.
They're only red when they're going away from you...
Pax: Build user interfaces visually alongside code [video]
Are you sure you don't mean "The Last Kingdom"?
Because tomorrow it will with little or no discussion
Ah, sorry, I thought you meant the Panasonic DC-G9 MKII.
Maybe only slightly on topic, years ago I highly enjoyed this book:

https://en.wikipedia.org/wiki/Zero:_The_Biography_of_a_Dange...
202 trillion digits of pi. Maybe someday I will be able to use this exact calculation to do something useful. Just need 61TB of memory or disk space to store the constant
The thing that makes it possible for search to be fast is pre-crawling and pre-indexing.

Some other engines don't do this, and the difference is remarkabe. Try a full-content search in Windows 7, you'll be staring at the dialog for two minutes while it tries to find a file that's in the same directory as you started the search in.
> Meanwhile, the rest of the company is super annoyed because nothing ever works

Who even cares if they're annoyed. The IT security gets to sleep at night, but the entire corporation might be operating illegally because they can't file the important compliance report because somebody fiddled with the firewall rules again.

There is so much more to enterprise security than IT security. Sometimes you don't open a port because "it's the right thing to do" as identified by some process. Sometimes you do it because the alternative RIGHT NOW is failing an audit.
>And that is a problem, because public is afraid of the tech due to a wrong understanding of how it works

Honestly the general public doesn't seem to care, the people freaking out are the tech adjacent people who make money driving clicks to their own content. Regular Joes aren't upset that google shows them a summary of their documents and many of them actively appreciate it.
But how else will you get ads on your viewfinder?
Mathematical Comics: A Tour of Complex Analysis
No die shots but the Wikipedia articles of all things on the MK61 and MK52 are surprisingly thorough including photos of the PCBs, schematics, and the External Links sections contain most of the interesting articles I'm aware of about these.

They're quite interesting and quirky machines, definitely HP-inspired but unique in a lot of ways. Especially the MK52 with the built in EEPROM (though other than the EEPROM and connector for an external ROM it is functionally identical to the MK61). They're also still readily available and cheap on eBay if you want to play with one.

https://en.wikipedia.org/wiki/Elektronika_MK-61

https://en.wikipedia.org/wiki/Elektronika_MK-52
This is an interesting idea. How do you handle the situation with retired/fixed income people (say, who are retirement age and paid off their mortgage and trying to keep expenses low)?
Nelson Goodman – American Philosopher
> they're moving from plain text files to a database

I wonder if a database is required for CRDTs. I don't know if logseq use that, but if we had a FOSS note-taking app with CRDTs, we might have to give up the text format.
The B3 series appear to mostly be copies of Sharp designs.

Hell, the whole -= += ×÷ nonsense was something Sharp introduced in 1970.

edit: interestingly enough, the Sharp QT-8 also had the funky 8-segment display.
Yes, and I think that video is stupid. She doesn't use the term that way in her own talk, and neither does any scientist I've ever heard. I think she's trying to make some abstract point about science in general and muddying the water in the process. Her takes on terminology are often bad IMO.

That doesn't take away the fact that when you work with the slightly more specific theory of "particle dark matter" it produces real results. And I believe there's a lot more work over the years in similar areas. It doesn't get talked about because it's not sexy, so people who only follow cosmology when there's drama don't hear about it. That was just the example at the top of my mind because I'd seen it recently, and the result is really quite spectacular. Did you watch it through?
If others are having this issue, I deleted all forms of local storage (cookies, IndexDB, etc.) for the mail.google.com site, and that seems to have fixed the issue. It might be relevant that this happened after I upgraded Firefox.
Not particularly, only thing I can think of is if we analysed it and saw there was some bias in the digits, but no one expects that (pi should be a 'normal number' [1]). I think they did it as a flex of their hardware.

[1] https://en.wikipedia.org/wiki/Normal_number
>Somebody took the time to talk down my comment about this being a strategy to give their AI more training data.

Because that's an insane interpretation of what's happening.
Is it a step in the right direction? What are the consequences of pulling money out of the advertising industry?
Any source for their reserve run-down?
Past, Present, and Future of Computing with Bryan Cantrill, CTO Oxide [video]
Implementation defined.
More info: https://en.wikipedia.org/wiki/Brady_disclosure
Don't right-click on the input and inspect element
His challenges were absolutely NOT justified, which is why they got thrown out of nearly every single court he entered them in to.
Congrats on launching Oege!
It’s a deliberate tactic. Saturate the market, lose money while your smaller competitors can’t, then return to normal when your competitors are gone. Whomever is left standing gets an unchallenged monopoly. It’s why Starbucks will open stores beside competitors.
Q1: Overall, are you happy with your choice of using Nim?

Q2: What would you do different? (and what unexpected positives did you find)?
I don't get how it took until present day for randomly-generated asymmetric keys to become somewhat commonly used on the Web etc in the form of "passkeys" (confusing name btw). Password rotation and other rules never worked. Some sites still require a capital letter, number, and symbol, as if 99% of people aren't going to transform "cheese" -> "Cheese1!".
I completely agree. As language is the preferred encoding method for intelligent thought (at least in our species) it could very well be that a sufficiently accurate language model is also a generally intelligent model.
Doesn't Zig address/fix all of this?

https://ziglang.org/documentation/master/#Memory
Most physicists don't believe that infinity can actually exist in the universe.

Put another way, the program which searches those works of art in the digits of pi will never finish (for a sufficiently complex work of art). And if it never finishes, does it actually exist?
For one thing the rules adopted vary and different countries do very different things. It struck me once on a flight where at one end liquids were restricted, but shoes were not checked, and at the other we had to take our shoes off but there were no restrictions on liquids.

So an attacker who wanted to use a shoe bomb would do it at one end, and one who wanted to use liquids would do it at the other.

There are also some very weird things like rules against taking things that look vague like weapons. An example in the UK were aftershave bottles that are banned - does this look dangerous to you? https://www.fragrancenet.com/fragrances?f=b-spicebomb

Then there are things you can buy from shops after security that are not allowed if you bring them in before (some sharp things). Then things that are minimal threats (has anyone ever managed to hijack a plane with small pen knife? I would laugh at someone trying to carjack with one).

> know if it works is observe a timeline where it doesn’t exist?

Absolute proof maybe, but precautions need to be common sense and evidence based.
Levels of a Modulith vs. Microservices
The abstract machine of C is defined with careful understanding of what real CPUs do.
We can stay #1 is conclusively false - we let Ronald Reagan and Pete Wilson run the state and we still haven't fully recovered from the damage. A competent group of monkeys would still need similar tax revenues to what we currently collect to be prosperous.
A DSLR has the added benefit of not needing a screen to be on for it to work (this is why they still have better battery life than mirror less as well). Then again, SLRs have even better battery life (it's only used for the light meter and on newer models autofocus motor and film advance).
Ask HN: What is a browser extension to track time spent on URLs?
Is there a rize (productivity tracker) version to run on Arc / Chrome? for some reason Rize is eating up a lot of my memory and I want an extension that'll simply run on the browser.
Swift Switch and If Expressions
Recommended BTW if you're interested in the period and you don't mind another German(ic?) playing a major role in English history ;)
I think they were making a more general point that the article may be taking a overly simplistic view of the "costs of child-rearing".

If a mother feeds and cares for children, that can be viewed as a cost of children to her. If a man works to feed and house those same children, surely that is a cost of children to me.

I suspect part of the problem is a generation of people raised with just enough economics knowledge to be dangerous, with life viewed through lenses of cost, profit and risk instead of joy, experience, and sentimentalism.
I came across a researcher working on collecting GPS data on aquatic creatures that only rarely (and for a short time) come to the surface. By recording raw data and post-processing, the power consumption and minimum duration of exposure to satellite signal are both drastically reduced (duration is under a second).
Leave it to HN to rationalize job-related disfigurement.
No, I don't think I will. If you missed it, that's a great sieve for knowing what kind of person I am responding to. If you can't pick up on a joke, it's not going to be a fun conversation anyways.

> If you don't clearly indicate in some way that you're being sarcastic, you're going to be mistaken for the real asshole, because your tone of voice does not come across in plain text.

That's the sign of goooood sarcasm. Most people don't take internet forums as seriously as you seem to.
I'm not sure that's quite fair. Unless it were 2001 or 2008 people look at their balances and see they're generally up unless they made some big gamble and at least unconsciously conclude they probably did as well as they reasonably could. But that may be what you're saying. Worrying about a percent here or there probably isn't worth it for most people.
O(0) is essentially meaningless. The only way a task could possibly be O(0) is if it isn't done at all, as even if the task is guaranteed to run in a Planck second [0], that's still constant time and would be O(1).

[0] https://simple.wikipedia.org/wiki/Planck_time
Ask HN: Opinions on Product Managers for Platform Teams
Where I work, there is no Platform Product Managers and I think we should.

Do you have opinions or experience about this?

Just for clarity, the company I work for is big and successfully online retailer.

Thanks in advance
This early 90s MIDI era music seems to have a genre name now of 'dungeon synth', not sure if that's widely used or just an effect of this collector: https://bandcamp.com/thedungeonsyntharchives https://www.youtube.com/@TheDungeonSynthArchives
But it's nice in the way environmental music is, I use it to work to as it seems to hold back my distractions in the way non lyrical music can for me.
> but still use the same functions for inode lifecycle management

I'm not an expert by any means but I'm somewhat knowledgeable, there's different functions that can be used to create inodes and then insert them into the cache. `iget_locked()` that's focused on here is a particular pattern of doing it, but not every FS uses that for one reason or another (or doesn't use it in every situation). Ex: FAT doesn't use it because the inode numbers get made-up and the FS maintains its own mapping of FAT position to inodes. There's then also file systems like `proc` which never cache their inode objects (I'm pretty sure that's the case, I don't claim to understand proc :P )

The inode objects themselves still have the same state flow regardless of where they come from, AFAIK, so from a consumer perspective the usage of the `inode` doesn't change. It's only the creation and internal handling of the inode objects by the FS layer that depends based on what the FS needs.
Stuck on a shelf somewhere, oblivious to the fact that it's in a simulated environment. It'd be an interesting Star Trek II type followup when someone finds the cube and plugs in a cable only to have Moriarty escape and find a mobile emitter prototype somewhere on the network.. but I digress..