News for hackers. Stuff that matters.

username3

Re:Why Tail-Recursive Functions Are Loops on Monday August 11, 2025 @06:23PM (#44870159)
> I wrote up a detailed blog post about tail call optimization in Elixir/Erlang and its performance. The TLDR; sort of is that none tail call optimized recursive functions (body-recursive) can be faster and more memory efficient than TCO functions. This is something that I never thought before, that TCO is always faster seems to be a common misconception. My example is also not contrived - it’s an implementation of map.

https://pragtob.wordpress.com/2016/06/16/tail-call-optimizat...

Re:AI is killing the web. Can anything save it? on Sunday July 20, 2025 @11:37PM (#44631569)
You should see what Elixir is doing with Tidewave and usage rules.

https://www.zachdaniel.dev/p/usage-rules-leveling-the-playin...

Re:Ash Framework – Model your domain, derive the rest on Wednesday May 14, 2025 @06:43AM (#43982934)
This repository from the Ash book gives you an example of what it can do.

Model.

https://github.com/sevenseacat/tunez/tree/end-of-chapter-10/...

View.

https://github.com/sevenseacat/tunez/tree/end-of-chapter-10/...

Re:Ash Framework – Model your domain, derive the rest on Wednesday May 14, 2025 @06:39AM (#43982919)
Add an attribute to a model, run `mix ash.codegen`, it creates migrations for you.

Ash can do paging for you.

You don’t need to create a context file with CRUD functions for your Repo.

See the example repository for the Ash book.

https://github.com/sevenseacat/tunez/tree/end-of-chapter-10

Would anyone care if he just used a shorter bat that didn’t get thinner?
Re:DOjS – A DOS JavaScript Canvas with Sound on Monday September 02, 2024 @01:45PM (#41427373)
Are there any terminal UI frameworks for the web? I want to create web apps that only use keyboard shortcuts.

Ask HN: What is the state of private exploits?

How many zero day exploits are available to private groups? How many private groups are there? What is the ratio like now? I’m looking for a general idea how exploits are shared these days.I want to know how likely an average person could pay a private group to target another average person’s up-to-date iPhone or computer.My mental model has been script kiddies have known exploits. They are the...

( Read More... | no comments | 4 points | on HN )
Re:Personal VPN Services are Snake-Oil on Sunday April 14, 2024 @04:17PM (#40034086)
dotzoltanbalazsdotcom.com is unregistered.

zoltanbalazs.com was registered in 2021.

Re:Why don't humans have tails? on Monday March 25, 2024 @03:08AM (#39813435)
> Evolutionists often cite the recurrent laryngeal nerve (RLN) as evidence of “poor design.” This article evaluates the physiological role of the RLN in its innervation and regulation of the larynx (voice box). Beyond the larynx’s role in speech, it plays a vital role in regulating the flow of air into the trachea (windpipe) and food into the esophagus (food pipe). A closer look at the RLN reveals that, in its “detour” around the subclavian artery on the right and the aortic arch on the left, there are many additional branches that interact with not only the heart and aorta but cervical regions of the trachea and esophagus—organs that depend intimately on the functionality of the larynx to protect the airway and promote swallowing. The rare incidences of non-recurrence in the RLN, as well as incidences of damage to the RLN, afford a means to explore the critical role these afferent pathways play in the coordination of these functions. Embryological developmental constraints are considered as well—particularly, the role the recurrent nature of the RLN may play in the closure of the ductus arteriosus after birth. This supporting evidence makes it difficult to believe that the placement of the RLN was a mistake or a coincidence but rather a detour by design. The scientific community is encouraged to delve deeper into the role of afferent innervations of the RLN in support of healthy physiological functions.

> Maybe a direct route isn’t always the best route. Remember, the nerves not only carry commands from the brain to the end organ, but they also carry sensory and visceral inputs to the brain to elicit an appropriate response. Imagine an army commander who only gave orders without receiving any input from the troops out in the trenches. Now that would surely be a disaster. In the nervous system, afferent neurons carry information from “the trenches” to the brain so that appropriate responses can be signaled back out to the field via efferent neurons. Loss of this essential chain of information can have significant implications.

More info: https://answersingenesis.org/human-body/strategic-routing-rl...

Re:Bluesky's Stackable Approach to Moderation on Wednesday March 13, 2024 @12:17PM (#39693413)
Do you plan to add custom labels?

Let’s say we ask a question to a politician and they ignore it.

Can we label the question as unanswered, so clients will remind users the question is unanswered?

Re:Bought a Prison Laptop on eBay on Sunday February 25, 2024 @12:57AM (#39498082)
You submitted this 6 minutes before me.
Re:epoll: The API that powers the modern internet (2022) on Thursday January 11, 2024 @07:43AM (#38951473)
What does Erlang use?
Re:Show HN: WebSession, a Secure Replacement for Cookies on Monday October 23, 2023 @09:59PM (#37994099)
How does this compare to Phoenix LiveView websocket sessions?
Re:In search of the least viewed article on Wikipedia on Friday October 20, 2023 @11:53AM (#37957838)
Wikipedia should allow more articles to have sections for viewpoints from different biases and agendas.
Tax prep firms should market themselves as software to audit automated IRS tax calculations.
Re:The Technology Facebook and Google Didn’t Dare Release on Saturday September 09, 2023 @09:45PM (#37452127)
> As early as 2011, a Google engineer revealed he had been working on a tool to Google someone’s face and bring up other online photos of them. Months later, Google’s chairman, Eric Schmidt, said in an onstage interview that Google “built that technology, and we withheld it.” “As far as I know, it’s the only technology that Google built and, after looking at it, we decided to stop,” Mr. Schmidt
Re:Unpacking Elixir: Syntax on Friday September 08, 2023 @12:48PM (#37436068)
Comma after first_value?

  def eat_value([first_value, | _rest_of_list]) do
Re:GPT-4's Has Been Revealed on Wednesday July 05, 2023 @11:49AM (#36602136)
Should we flag paywalled content posted on HN?
Re:Do High Interest Rates Fix High Inflation? on Tuesday June 13, 2023 @11:10PM (#36320943)
What is a proportional representation system? If the votes splits 40/35/25, winner doesn’t take all? Each party will have representatives 40/35/25?
Apple’s keynote showed an image similar to the 3-lens optical train at the bottom of https://simulavr.com/blog/ppd-optics/ and they have a screenshot of HN.
Didn’t America have churches before tax exempt laws? Tax laws came later. Remove income and corporate tax and raise sales tax. Problem solved.
Is everyone misreading the article?

The new policy is to ignore your default browser from Outlook and Teams and open Edge. There is an option to turn off this policy to use your default browser.

> Microsoft 365 Enterprise IT admins will be able to alter the policy, but those on Microsoft 365 for business will have to manage this change on individual machines.

Re:Eye Candy on Wednesday May 03, 2023 @02:49AM (#35798936)
Re:Eid Mubarak on Friday April 21, 2023 @09:03PM (#35662257)
In Torah, months start when a crescent moon is sighted with an unaided eye without a binocular. They have moon charts like this in their calendars. https://eliyah.com/calendar2023.pdf There’s one holy day that starts on the first day of the seventh month.
The law doesn’t justify and give you life. It’s the promise given to Abraham and his seed that will.
Re:Is it time to open source SublimeText? on Thursday March 30, 2023 @06:51PM (#35379943)
I’m in the same boat. I’m using ST4 unlicensed until they downgrade me back to ST3 automatically.
Re:Thoughts on Svelte on Monday March 27, 2023 @09:03AM (#35326160)
Re:Negativity Drives Online News Consumption on Saturday March 18, 2023 @12:22AM (#35206059)
Can you favorite the 2-3 good articles you find, so we can follow your recommendations?

https://news.ycombinator.com/favorites?id=pdimitar

People will still use Excel.

Older »