News for hackers. Stuff that matters.

sbensu

If you are interested in alternative lithium chemistries, Ouros is developing and commercializing one:

https://ouros.energy/

Re:We need visual programming. No, not like that on Monday July 15, 2024 @09:45AM (#40967850)
That last point is super interesting: these diagrams never tell you much about the implementation or how it would perform.
Re:We need visual programming. No, not like that on Monday July 15, 2024 @09:16AM (#40967631)
The distinction you are making is right. All those examples are examples of visualization, not of direct programming.

But why can't we use what today are visual representations of the programs as the actual programs? Can't we have the state transition diagram that today is a visualization of the code _be_ the definition of the state transitions? That is the question the post is asking

In other words, elevate the visualizations that we already use into programming, instead of programming with visualizations we don't use.

Re:We need visual programming. No, not like that on Monday July 15, 2024 @09:11AM (#40967585)
[post author] You are right. Any "language" visual or other wise used for communication has to include the level of detail trying to be communicated. In the Rust memory layout example, Rust syntax doesn't spell out its memory layout in Rc<T> definitions.

The point though is that the two users of the language _decide_ to communicate in a visual representation! Why is that?

They could spell it out in text, adding that lower level to the text, and yet they don't. That is a sign the users are thinking about it visually and the visual representation maps better to what they hold in their head.

Re:We need visual programming. No, not like that on Monday July 15, 2024 @08:59AM (#40967475)
You are right. You can see the data first, charts, even dependencies. And yet nobody is drawing `IF(ACTIVE[A1:A4]=E$1)`
Re:We need visual programming. No, not like that on Monday July 15, 2024 @01:07AM (#40965411)
Amazing, thank you for taking the time
Re:We need visual programming. No, not like that on Monday July 15, 2024 @01:05AM (#40965400)
That is an interesting framing. I think the "maker vs taker" label is great. Creative Inc[0] uses "suitcase handles" to describe something similar but more generic.

[0] https://www.amazon.com/Creativity-Inc-Expanded-Overcoming-In...

Re:We need visual programming. No, not like that on Monday July 15, 2024 @01:00AM (#40965389)
Nice!
Re:We need visual programming. No, not like that on Monday July 15, 2024 @12:55AM (#40965371)
That sounds super interesting!

Did I understand correctly that the additional complexity came because you needed to emit optimal assembly? Or was implementing the logic from the state machine complicated enough?

Re:We need visual programming. No, not like that on Sunday July 14, 2024 @10:20PM (#40964797)
You are right. The diagrams are used as explanations not as the source of the program. But wouldn't it be neat if when you sketch out the state transition in a diagram (how I think about the state transitions), _that diagram_ was the source of truth for the program?

That is the implied point: let's go to places where we already draw diagrams and check if we can elevate them into the program

Re:We need visual programming. No, not like that on Sunday July 14, 2024 @10:18PM (#40964786)
[post author] I am familiar with those and have used a couple. There are similar examples in music, where visual programming dominates.

The implied audience of this post (not clear) is people writing business applications, web dev, etc. The examples are picked to reflect what could be useful to those developers. In other words, all the examples you mentioned are great but they are not how a "software engineer in a software company" does their job.

Re:We need visual programming. No, not like that on Sunday July 14, 2024 @09:39PM (#40964641)
Those two are both primarily for real time signals and music right? That is a great domain for wires, transforms, and pipelines.

Have you ever seen them used in a different context?

Re:We need visual programming. No, not like that on Sunday July 14, 2024 @09:34PM (#40964616)
It is certainly possible and that is how most of these visual languages do it. But is that how _you_ want to program that logic?
Re:We need visual programming. No, not like that on Sunday July 14, 2024 @09:32PM (#40964613)
Thank you! Should be fixed in a minute
Re:We need visual programming. No, not like that on Sunday July 14, 2024 @09:27PM (#40964590)
[post author] I agree. On many domains you can find a great mapping between some visual representation and how the developer (beginner or not) wants to think about the problem.

I personally don't see any one pictorial representation that maps to a general programming language. But if someone does find one, in the large and in the small, that'd be great!

Re:Show HN: We Built the Fastest Spreadsheet on Thursday February 29, 2024 @11:57AM (#39551980)
I've found that while people don't want to change out of Excel they are forced to by the size of new files. The more data is generated by computers, the less likely it is to fit in Excel

I imagine many professions won't be able to use Excel in 10 years based on this trend.

Re:Incompetent but Nice on Wednesday March 29, 2023 @11:31PM (#35367555)
And to answer the question directly:

If you are operating under the "sports team" analogy, you should fire them. If you are operating under the "we are a family" analogy, you should find reduced roles where they are useful. Different organizations choose different base analogies but it is easy to tell which one you are in.

Re:Incompetent but Nice on Wednesday March 29, 2023 @11:24PM (#35367512)
[self-promotion]

This is very related, but not at all the same, as this essay I just published:

Team-oriented, outcome-oriented

https://blog.sbensu.com/posts/team-oriented-vs-outcome-orien...

Summary:

Some people are more motivated by caring for their teams, others are by achieving outcomes.

Re:Stripe CLI on Tuesday November 05, 2019 @01:56PM (#21455437)
Hi! I'm Sebastian and I work at Stripe.

We would love to understand what went wrong so that we can keep improving the integration experience. If you are interested in talking to us, please email me at [email protected]

Re:WeWork Gets a Visit from Financial Reality on Wednesday January 09, 2019 @12:11AM (#18862442)
Wow, I thought you were making that up to fit the mood... until the Wikipedia article. This is bananas.

Ask HN: What systems allow remote code execution as a feature?

I recently learned of Telescript[1], a programming language, design to allow clients to execute arbitrary code on servers.SQL databases also have a similar architecture, with the code being executed being much more restrained but still powerful.What other systems were designed with remote code execution as a feature?[1] https://en.wikipedia.org/wiki/Telescript_(programming_language) and I got...

( Read More... | 2 comments | 3 points | on HN )
Re:Dissolving the Fermi Paradox on Wednesday June 13, 2018 @01:56PM (#17305487)
Related recommendation: this podcast episode[1] was very good, covered many solutions to the Fermi Paradox, and discussed the OP's article.

[1] http://rationallyspeakingpodcast.org/show/rs-203-stephen-web...

Re:Counterintuitive Properties of High Dimensional Space on Monday March 05, 2018 @08:07PM (#16526080)
One of the first chapters of The Art of Science and Engineering (Hamming) covers this beautifully.
Re:Macro-Lisp, a Lisp-Like DSL for Rust Language on Tuesday September 19, 2017 @01:14PM (#15286557)
From this project, I gather it wouldn't be hard to remove the need for calling `lisp!` on every form.

Then you'd have a lisp syntax on Rust that is not embedded. Is that correct?

Re:Ask HN: Which developers do you closely follow? on Monday January 30, 2017 @10:36PM (#13527345)
I'm surprised no one here has mentioned Jose Valim yet.
Re:Ask HN: Which developers do you closely follow? on Monday January 30, 2017 @10:33PM (#13527329)
That impression goes away quickly when you meet him since he is a tremendously empathic person and clear speaker. The difference, in my opinion, is that he expects another level of effort/investment from the consumers of his work than other open source contributors.

That mismatch often causes frustration from people that are not used to it. In my case, it quickly went away once I understood the implicit contract.

Re:What Makes a Senior Software Developer? on Monday December 12, 2016 @12:59AM (#13155938)
Another essay answering the same question: https://hackernoon.com/senior-engineers-reduce-risk-5ab2adc1...
Re:Feynman’s first paper (1939) on Tuesday November 22, 2016 @04:52PM (#13017993)
Thanks!
Re:Feynman’s first paper (1939) on Tuesday November 22, 2016 @02:18PM (#13016683)
I'm not familiar with capillarity but if you are, and you have the time, I'm sure that fermat's library would love to add it with some historical remarks and annotations
Did you provisioned an Azure VM while you were in Hong Kong or an Azure VM that was hosted in Hong Kong?

Older »