skysight-inc/HackerNews huggingface dataset:
Community DAO Smart Contract Documentation
Table of Contents
Introduction
Prerequisites
Smart Contract Structure
Functions
Events
Best Practices
Deployment
1. Introduction
This document describes the functionality of the Community DAO (Decentralized Autonomous Organization) smart contract. The smart contract enables members of a community to propose, vote, and implement changes to the community's policies or initiatives.

2. Prerequisites
Knowledge of Ethereum and the Solidity programming language.
Familiarity with the Ethereum ecosystem tools like Remix, Truffle, and web3.js.
3. Smart Contract Structure
Proposals: Each proposal is a suggested action or change.
Members: Users who have been granted membership and can propose or vote on actions.
Voting: Members can cast their vote on each proposal.
4. Functions
4.1 propose(action: string) -> proposalId: uint256
Allows a member to propose a new action. Returns the ID of the new proposal.

4.2 vote(proposalId: uint256, inFavor: bool)
Allows a member to vote on an existing proposal. Members can either vote in favor or against a proposal.

4.3 executeProposal(proposalId: uint256)
If the proposal has reached the necessary majority (e.g., >50% votes in favor), this function can be called to execute the action.

4.4 addMember(address newMember)
Allows an existing member to add a new member to the DAO.

4.5 removeMember(address member)
Allows an existing member to remove another member from the DAO.

4.6 getProposalDetails(proposalId: uint256) -> (action: string, votesInFavor: uint256, votesAgainst: uint256, executed: bool)
Retrieve details of a specific proposal.

4.7 isMember(address user) -> bool
Check if an address is a member of the DAO.

5. Events
5.1 ProposalCreated(uint256 proposalId, string action, address proposer)
Emitted when a new proposal is created.

5.2 Voted(uint256 proposalId, address voter, bool inFavor)
Emitted when a vote is cast on a proposal.

5.3 ProposalExecuted(uint256 proposalId, string action)
Emitted when a proposal is executed.

5.4 MemberAdded(address newMember)
Emitted when a new member is added.

5.5 MemberRemoved(address member)
Emitted when a member is removed.

6. Best Practices
Upgradability: It's a good idea to make the smart contract upgradable so that the community can adjust to changing requirements without redeploying the entire contract.

Security: Ensure to perform regular audits, handle reentrancy attacks, and manage gas usage effectively.

Transparency: Always provide clear comments and code readability to promote trust and understanding in the community.

7. Deployment
Deployment of the contract should be done by a trusted entity or through a multi-signature wallet where several community members agree to the initial setup. Once deployed, the control should be handed over to the DAO.
A bit larger and you can use these as legitimate standard trains, like this VT 98 from Germany [1]. Either you attach them at the rear of a regular train for longer distances and then separate it to serve a leg on some rural side track, or you attach a passenger car should you face higher demand on a day (e.g. popular tourist destinations), or you attach a freight car for express service to some industry along the tracks [2].

I seriously miss these things, there are so many rural railways that got shut down following the privatisation frenzy in the 90s, and could really be made to work again with a modern variant.

[1] https://commons.wikimedia.org/wiki/File:Baureihe_798_752-2.j...

[2] https://de.wikipedia.org/wiki/DB-Baureihe_VT_98
I can‘t believe this is a thing in 2023! If this is faster, shouldn‘t the database do that transparently in the background?!
> no standard equivalent of the BSD sockets API

Did they not answer that question? It uses the BSD sockets API with SOCK_DGRAM?

Right, that random project is not a standard API - its built using a standard API. You wouldn't expect BSD sockets to have HTTP built in... so you can find third-party random projects for HTTP implmented with BSD sockets just like you can find QUIC implmented with BSD sockets.
Hacker News DOES tolerate sincere hate, as long as it isn't disruptive or disrespectful.

Posts that admit to unpopular forms of hate get downvoted to oblivion.

Posts that admit to popular forms of hate are fine in general.

Disruptive hate is disruptive and moderated like any other disruption.
A lot of people, myself included, actively choose to reject this version of nihilism. It castrates the will to power.
IIRC there was an ISP or web host in Australia way back in the day called DotNet (obviously before the MSFT days)...

Their website was http://www.dotnet.net.au (www dot dotnet dot net dot au).
MS sell the OS, which then sells the identity management, which then sells 365 and dynamics, which then sells Azure. It all links into each other. I'm not sure it's so much about convincing someone who's in charge, it's that from a relatively common starting point (Windows PCs) everything else flows sort of by default.
>Not quality of output. Not speed of output - as long as that's above a minimum.

Maybe in 2D, but I still doubt it. Quality animations that stick out are still a hard problem to solve and many tools that tried to solve that problem back in the day (Flash, Spline, etc.) don't suffice these days. If you can emulate the look and feel of a hand drawn animation without requiring 1 year+ from your artists to produce content, there's an entry point.

For 3D is absolutely isn't true. Or at least, it is only true in that 99%+ of indies struggle to even achieve AA scales of graphic in a timely matter, or with a small enough team. There's plenty of room for efficiency here if you want to pursue that (but yes, that efficiency will itself require years of work on not-directly-games).
Summary response: all job apps are bullshit.

Seriously, do whatever it takes to go talk to a real human. I'm 50, by the way, and change jobs every two years. This shit works.

Job apps are an efficient way to turn you down and fill roles nobody else wants at a bargain rate.
Yes, you can. I have double-sided tape under mine to keep it on my desk, otherwise you pick both up. I really like them stuck-down, I use one on my bedside table and one on my desk.
Short circuit the problem by not taking so many photos. Ask yourself honestly, how often do you ever look at them? If you do, you've probably also got them organized. If you don't, then you're just hoarding.
> until we can be sure everyone who worked there by the time is gone.

That seems a little extreme. I always maintain a skeptical eye, but most corporate leaders have an eye for profits and PR, and their personal integrity/moral compass doesn't play a large role in their decision making. As long as it's bad/risky PR for Lenovo to do stuff like that, the incentives are on our side. Always be watching though, and I personally favor vendors who have good track records.
That is only if it is recorded. You can't get a "compulsory license" if you are going to perform that cover in front of an audience. That you have secure from the rights holder.
I don’t tend to think so, as a general rule.

Interfaces matter so components can cooperate but the internals can, and generally should be, treated as a black box. It’s like connecting chips on a board.

The actual code is more like painting a landscape. There are techniques for representing some idea and many can be chosen. It’s up to the artist to choose the one they think works the best.

So long as the interface to the world outside is solid, it usually doesn’t matter what happens inside.

For instance, if I had an interface to write data to a file it may have time constraints. So long as they’re met, all is good.
Years ago the bomb threats and stuff were just kids wanting to get out of school and stuff. I wonder what the benefit could be for organized groups - stock manipulation, political reasons, foreign actors (but for what end goal), something else?
Demand shaping is part of the plan, but opportunities are currently limited. For most applications demand can only be shifted by a short time.
Google disabling Internet access is very different from your typical company doing that. Watching a YouTube video? Intranet and not disabled. Checking your email on Gmail? Intranet and not disabled. Doing a web search? Intranet and not disabled. Clicking on a search result? Just use the search cache and it's intranet.
Yeah but any productivity increasing tech decreases the size of the market to some extent, that's a separate issue than ownership
Hey David, nice work!

It looks like we are interested in the same areas of frontend engineering.

I'm currently searching for a cofounder to join me in disrupting the WordPress market using the new serverless frontend cloud paradigm.

Could we chat?
What about a file server which hosts only encrypted files, which are unusable garbage on their own, that happen to turn into exact copies of copyrighted work when supplied with the right decryption key? That's user-driven creation, right?
Meta contributes new features to Python 3.12
In this case the law has already been written. It's not a CARB-approved, nor EPA compliant engine. You're not allowed to run it on the street. The law is written so that everything you do to a car's emission system is illegal by default. To make any engine modifications in California, the part must be CARB approved and have a compliance sticker on it. Engine swaps in California are legal, as long as the engine being swapped is at least as new as the engine in the vehicle and meets the same regulatory requirements. Which means you swap in another EPA/CARB approved engine, but not a jet engine.
https://archive.li/DHmjL
"You can also get “the whole work” by asking another human to recite the lyrics to a song or draw the Finder logo from memory."

You seem to be speaking as if this somehow would cleanse the copyright status of the work in question, but it wouldn't. If you memorize a book, or a friend does, and your or your friend recite it to someone who transcribes it, the result is still copyrighted by the original entity, and if you try to sell the result, you'll be on the hook for copyright violation. This would do nothing to the copyright status whatsoever, so whatever argument you're trying to imply doesn't hold.
As far as I know, browsers don't allow self-signed certificates on HTTP/3. This was mentioned by people in comments here, and quick google seems to confirm.
I started the discussion, and offered a solution too:

https://github.com/netdata/netdata/discussions/16136
Fantasy league for rea-life physical activities
Swetro is a virtual race platform where individuals from around the world compete for prizes, irrespective of their physical fitness levels.
Join one of our challenges and tell me what you think.
bookstores don't want to carry a book without an isbn because no isbn means it's not available to purchase from their distributor and it's easiest for a store to order through real distribution channels (like ingram in the u.s.).

but most stores carry a small amount of self-published books and sometimes those books have no isbn. those books are typically by local writers. but in my experience as a bookseller, self published books are a pain to work with. some self-published books aren't returnable, but returns are an important part of the bookstore business since a lot of books don't sell. working with a lot writers individually about ordering etc is more involved than going through a single distributor, this takes a lot of time for whoever has to do this.

> given the amount of books I've personally seen published in recent decades without ISBNs

i'd bet this on amazon? iirc, you can't always return self-published amazon books. i think the author decides this, bc they get charged a processing fee for returns.

> or even to be a 'proper' bookseller

you can totally sell your collection online without any isbns and you'd be considered a bookseller. you'll just need an sku system. there's a difference between a used/collectible seller and a bookseller who carries new books as well as used/collectibles. the new books require proper distribution channels.
I think we should not try to forcefully preserve jobs that are no longer needed, AND I think it could cause harm in the short term, and lead to further transfers of wealth.
> That could help the applicant in their future job applications. But you don’t do that. I wonder why!

I assume you mean the general "you", not me specifically, because I do, in fact, do that.
That's a signature, so scammers can't send people trusted google.com links and be redirected to a malware site unless the signature verifies with the timestamp. This was standard practice circa 2005.
Copyright infringement is about making a copy. It is not making a copy if you read a book. It is not making a copy if you watch TV. It is not making a copy if you listen to the radio. If Denys makes a video/audio file of himself quoting a large segment from "Friends", that's copyright infringement.

When machines train on a corpus of data, that corpus data is a copy and is almost certainly infringing on copyright (depending on how they acquired it). When machines use their training model and reproduce verbatim copyrighted works that they've been trained with, that copy is infringing (depending on licenses they acquired to reproduce copyrighted data).
Two things:

1) I’m generally copyleft and would argue that copyright as we know it is nonsensical in the digital era and needs to be entirely rebuilt to make any sense whatsoever. And that as is it harms the commons more than it protects creators. So yeah a fileserver has always been a game changer just like the printing press was and we’re far behind as a society, legally.

2) When a computer system does reproduce copyrighted content verbatim, it’s infringement the same as if a human did it from memory. That wasn’t my point. My point was that use of copyrighted content to train the model is fair use because it’s no different from a human consuming the content and committing it to memory.
Decoding speech perception from non-invasive brain recordings
Yes, but magic eraser is something that can be easily done off-device in the cloud. Real-time audio shaping cannot with introducing unacceptable latencies. There are no doubt some things they'll roll back to older Pixels, but they can't do everything new on this year's release without hardware.
Dynamic typing triples your software development speed and decreases bugs in delivered software by two thirds.

You can either hire 10 dynamic typing software developers or 30 static typing software developers. Businesses which choose to hire 30 static typing software developers will fall to the companies which hired 10 dynamic typing software developers. It's pure economics.

Static typing fills your codebase with bugs. Whilst an inexperienced software developer might not understand why static typing increases rather than decreases bugs, you can see the increase in bugs in research papers on the topic. As plan as day.

(Hint: You have made your code more complex by using static typing and more complex code contains more bugs.)
Kaiser Permanente strikes a deal to use an AI Copilot from Nabla
Show HN: (UK/London) dating without “swiping” formula
Finally someone’s trying something different
I think he means he's used it plenty, but hasn't tried to max out the speed.
“The Friendly Orange Glow” about Plato system was written from 1985 and 2017
Children understand the feeling of being told they can't do something for no good reason, the sense of unfairness it evokes, and the desire to vocalize it (rather than suppressing it knowing it will be met with responses in the form of the thought-terminating cliche that "life's not fair").
I may have posted this several times before, but China is not the problem. We know how to deal with that: international trade agreements.

The problem is that it requires the US to be on board with it. Each one alone couldn't, but the EU and US together would have the economic force required to solve this problem, if they acted with decisiveness.
I’d be surprised if it is not donated.
Seems like DMA is going to be doing good things for persons in the EU Maybe others that are better informed are more pessimistic? What are the penalties for non-compliance?
Where can I download binaries for Windows and OSX?
Jefferson also apparently published theorems on ideal geometric layouts of human settlement, which Salt Lake City is based on.
Just as Software Engineering is today.
Same point as fake food in the restaurant.
Musical genres are a weird parallel to me: humans "training" on a giant dataset and creating an output that is differentiable from any of the source material. We've decided that using that "training data" is fair use.
Despite labels $a$, $b$, $c$, I don't see how it's fully general. At best you could say it works for similar triangles, if you have that concept.

But I don't see how it proves anything if $a$ were say doubled, and $b$ kept the same.
And clearly that dose of radiation, in mid-1950's comic book fashion, imbued his cells with unnatural longevity!
Seems like a good time to ask this question that has been bugging me forever, since all the HN jet nerds will be drawn to this thread:

Why hasn't anyone made a hybrid car that uses a gasoline-powered turbine generator to charge its batteries instead of a piston engine?

I'd imagine that hooking up such an engine directly to the drivetrain like in a Prius would be difficult, but surely a small turbine with one hell of a muffler running a generator (similar to a natural gas power plant), both running only at their peak efficiency RPMs, would yield a very efficient car that could still use the extant gasoline infrastructure.

I'm sure there are very interesting reasons, either due cost, noise, reliability, or durability, that this idea hasn't taken off, and I'm very interested to hear y'all's thoughts on the subject. Or maybe there has been progress in this area, and I'd love to see some links!
Men took over a job fair intended for women and nonbinary tech workers
I've Made an Application for ADHDers
Hello, Hacker News! I'm thrilled to introduce Shiva, a product born from my journey of battling ADHD - www.shiva.so.

After struggling for the last two years and experimenting with various methods, I realized there had to be a better way. Shiva is the result — a comprehensive system to simplify a way to find a shortcut to enhancing ADHD management.

So, I decided to build Shiva that revolves around four essential components:

1. Task Tracker: Besides staying organized it helps to understand better what kind of hints will be.
2. Analytics: Identify behavioral patterns and environmental factors affecting ADHD symptoms and track main indicators.
3. Diary: Record daily experiences to help Shiva understand your unique challenges.
4. Hints: Receive personalized hints and strategies based on your data in tasks and diary to manage ADHD effectively.

ADHD can be challenging, but I hope that Shiva streamlines the path to finding effective management, and sparing others through the years of trial and error I went through. I'll be happy to get any feedback and ideas - www.shiva.so
> I have a background in stylometry where you basically determine authorship by recording statistics on known pieces of writing to try to find the author of another piece of writing. So just extracting facts

The logical jumping happens around this period symbol is spectacular.
Probably 10 years ago, my brother installed some new RAM in his Lenovo laptop on Christmas day, after which point it refused to turn on - with either the new or old RAM. We contacted Lenovo and they sent someone out to our house about 2 days later to replace then entire motherboard. (They installed the new RAM, and the laptop worked great after that.)

It left me with the impression that Lenovo had questionable quality / end-user repairability, but excellent support (as long as it's still under warranty!)
often left out of this argument is

1. After the expensive training phase, huge amounts of benefits can be realized during inference

2. These things save time & effort elsewhere, and in theory could offset their initial cost.

3. The rapid pace of innovation is drastically reducing the computational cost to reach the same levels of capability
I see the pragmatism of this, but can’t reconcile the cognitive dissonance.

I personally hate when quality is a nice to have rather than a first class citizen because it results in so much more misery, stress, burnout, micromanagement that is 100% avoidable. By working someplace that (dys)functions that way, I feel like I’m enabling and contributing to ruining everyone else’s lives… and that makes me feel worthless, I can’t do it.

I see the rationale reason for doing it the way you do it, but I don’t seem able to do it myself.
Crystal errors tend to be around 20 ppm (parts per million)

After a week, 20 ppm would drift 12 * 10^-6 * 7 * 24 * 60 *60 = 12 seconds.

Your motherboard probably has a cr2032 keeping it powered when unplugged.

Crystals: https://www.digikey.com/en/products/filter/crystals/171?s=N4...
America’s High EV Costs Are Driving Buyers to Hybrids
I found out my cat could count to four once every fourth day was salmon day.
There’s literally a saying in the airline industry “rules are written in blood”. They used to have fewer rules, people kept dying, and each time they made new rules to avoid the fault that led to those deaths.
Photoshop doesn’t provide you with copyrighted materials to work with when prompted or require ingesting other copyrighted works to work optimally. Language models do both.

The courts are going to rule in favor of these authors if they have a basic understanding of what’s happening.
Its amusing how many kinks and things most would call downright perversions have, at some time, somewhere, been normal or even demanded as a sign of some greater social allegiance.

I had a dream of running a "wikipedia of perversion", with straight, non judgemental howto information about, well, whatever its possible for people to enjoy sexually. dangers to watch for, safety tips, creative sources of equipment for those kinds of things, and so on. Requires more bravery and more time than I have.
Sandboxing is always good. However, the problem is figuring out accurate per-module policies (what to allow/disallow) For example, a default block-all network policy would also block legitimate functionality.
Yes, I do. But it's clear the words would be wasted when the perspectives are that far apart.
Just wait a few years... :D
It's an interesting situation when instruments or measurements become more precise, stable, or reliable than the reference material.

And when someone (usually an individual) finally discovers that it has happened, or in some cases makes it so.

>the ephemeris second is based on an astronomical ephemeris, which is a mathematical model of the solar system

>the standard ephemeris was produced by Simon Newcomb in the late 1800s
>he collected a vast amount of historical astronomical data to create his mathematical model
>it remained the standard until the mid 1980s

>in 1952 the international astronomical union changed the definition of time so that instead of being based on the rotation of the earth about its axis, it was based on the orbit of the earth around the sun
>in the 1930s they had discovered that the earth’s rotation is not perfectly even: it slows down and speeds up slightly
>clocks were now more precise than the rotation of the earth, so the ephemeris second was a new more precise standard of time
> The US has abandoned the rule of law and the constitutional protections against unreasonable search

Those constitutional protections protect US citizens anywhere and noncitizens while they are in the US. Warrantless surveillance of communications affects noncitizens outside the US. The US is still very much a nation of laws.
This (SLFP terms updates) or just raise wages and no incentives to skill up in an accredited program?

What are the term-length terms of such a benefit like to work with?

What happens if you're doing SLFP and you miss a student loan payment due to government shutdown resulting in no paycheck for that month?