skysight-inc/HackerNews huggingface dataset:
I found myself scrolling through Github’s “trending” repos, looking for some coding inspiration. Within the next hour, I stumbled across something called The Sherlock Project. Interesting, It had over 35k stars, must be pretty popular.

I quickly cloned the repo and started toying around with it. It didn’t take me long to realize the power of this tool. All I had to do was insert a username, and voila! I was looking at every social media website that was associated with the username. Not only that but direct links to the accounts.

I immediately wanted to turn this into a web app so that everyone could use it. My first challenge was that this was a CLI tool, so I got to work. The Sherlock project makes about 400 requests to various site s to check if your username exists. This was going to be tough... I noticed they were using requests.FutureSession to multithread the result.

I decided to use a multithreaded Web-socket to continuously report out data to the frontend. After ALOT of trial and error I finally got something working. The Issue now though was that it wouldn't run in production due to a multiprocessing error: Daemonic processes are not allowed to have children.

Eventually I learned that you cant use the standard multiprocessing library for this kind of thing, you had to use billiard. Bam! It worked. I quickly hacked together a simple frontend, configured the web socket, and results were pouring in.

Turns out, the web-socket is considered a "long running request" as it makes 400 external requests. Maybe I could use celery to offload this process to a worker and queue it up. I started working on it and realized this was a little out of my skill range.

I then decided to take a look at the logs where I hosted the code and what do i find? CPU, Memory, and bandwidth all reaching a staggering 100% usage. I was using the free tier of Render that only allowed for one instance of my app...duh. I did some rework of my codebase and it started running a little faster.

Needless to say, I learned to take it slow, build tests for my code, and be patient with results.

What do you guys think? Any hard lessons learned in coding? What were your takeaways?

Here is also a link to the repo: https://github.com/bnkc/handlefinder
> You do realize that this is, itself, a moralizing statement, don't you?

Nope, I thought about that. Morality is about good and evil, not effective or ineffective, productive or unproductive.
It looks like folks haven't studied in a modern environment or haven't used all the tools available to them.

During classes you take notes using a keyboard. The you and your colleagues merge everything into a single set of notes. E.g., in a private wiki. That makes you review your notes at least once, and in the end you will end up with mega notes written in the language common to students of the year that you wouldn't be able to creat on your own. Beat that.
it depends how much you value a move, vs a computer instruction.

Get a faster computer and a larger cube, the trade-off is likely worth it.
A rubik's cube isn't such an intractable problem, I doubt a computer can't solve it faster than a human: in the worst case, they can rely on the same algorithm. Then, they can try to find shortcuts or just shorter paths.

I always thought minimizing the number of moves was the goal, hence "more efficient" made sense to me too.
I think it is political will and long term thinking.

Even today, aerial view of any place shows what a missed opportunity lies below. So many parking lots that could be covered ones with solar panels on their roofs(who invests on adding the panels? If I want to, would I be allowed to?)
Same goes to the roofs of several businesses, supermarkets etc. It is not their core business to buy solar panels and invest for the longer term. Many times they are leased places, and the owner is some faceless corporate entity.

If a local politician thinks for the long term instead of what gets him/her elected the next term, they could change the city code to mandate opening up of such rooftops for community solar projects.

Secondly, the power grid needs to be strengthened/modernised to accommodate localised power generation. This ineens heavy investment.

Of course there will be the oil&gas companies that will fight every step of the way to keep the status quo because they are set to lose if people generate their own energy..
This is the answer. You go to prison when you're convicted, which in this case, if it happens, could easily be 5 years out. But assuming OP really meant jail, if you go to jail you get bailed out unless you're a flight risk.

SBF is a flight risk, but I'm guessing the Bahamians have taken his passport and are watching him pretty closely, and I'm also guessing there are not a lot of non-extradition countries that would want him anyway. This guy isn't Edward Snowden; there's no dictator that needs that heat in exchange for whatever money he has left.

Probably more valuable to the prosecution right now to let him sit at home conducting dumb interviews where he admits to being a psycho, if not actual crimes.
> Is there any attempt to reorder IO events such that writes (and maybe reads) operate in as contiguous of a manner as possible?

Something like a disk elevator at a higher level of the stack?
https://www.etymonline.com/word/machine

machine (n.)
1540s, "structure of any kind," from Middle French machine "device, contrivance,"

contrive: to form or create in an artistic or ingenious manner

According to these definitions a machine is something that humans create.

We understand what we create. When trying to understand complex things, we form metaphors based on our actual understanding.

Whichever is the most advanced thinking of the age is used at a metaphor to describe life and nature. When it was steam, we used popularly understood concepts of steam engines to describe life. When it was electricity, we used electrical metaphors. Now that it is computers, we use those concepts.

We are also very overconfident regarding how well we understand and control the world. Having achieved smashing success in some areas, we then think we have total control. Chronological snobbery, if you will: https://en.wikipedia.org/wiki/Chronological_snobbery

The danger is then, at a popular level, we take the metaphor literally and turn it around to be something reductive: "Life is no more than a machine." That is frankly not true: this is where the metaphor falls apart & it's the danger the article describes. Life is more than a steam engine, it's more than electrical circuits, and it's also not a computer.

Life may be a purely material phenomenon (i.e. no more than atoms, void, and time), but that does not mean it is "just a steam engine / computer" etc.
If a user has the habit of frequently quitting the program with unsaved changes, with their brain clicking through the "discard changes?" dialog in auto-pilot mode, it is next to impossible to distinguish that case from a situation in which it was done without intent, causing unwanted loss of data.

I suspect that a simple UI modification which could reduce occurrences of the situation, without being too obtrustive would be to make it a checkbox:

[ ] I agree with unsaved data being discarded [ OK ]

The OK button is ignored unless the box is checked. This is exactly like a Terms-of-Service agreement workflow.

Another idea would be to make the UI sensitive to the amount of unsaved content. The software should have an idea of whether the unsaved content represents 57 edit operations, or just two. Or maybe in terms of number of objects or bytes involved or some other specific measure.

If the amount of unsaved material seems significant, then have the checkbox workflow. Otherwise just the [OK] without the checkbox.
The fundamental issue is that elections are too expensive so we don’t do collective decision making that often, and usually only for our state or national governments.

People tend to elect representatives for long terms instead and then complain about them, rather than delegating their vote to experts or trying other systems like Ranked Choice Voting.

Many people complain about having to travel far to a polling booth, and disenfranchisement, whereas they could vote for their phone. Elderly and minorities in rural areas often have bad access.

If elections were cheap, people could easily engage in collective decision making of various types and choose various ways yo tally votes. None of that is possible today, we are like the people before computers, or before the industrial revolution - having a limited number of options, newspapers, etv.

We would also have more confidence in the results as we’d check using the Merkle tree that our vote was counted. It would be user friendly to do so.

And we could also implement many of the results on-chain, such as how much UBI to give out in our own community’s currency, or how much to tax transactions.

This is just the tip of the iceberg. Just see https://intercoin.org/applications
This is the one I use to get me some layout needs quickly:

https://codepen.io/justd/full/yydezN/
I highly recommend installing Fish and experimenting with it for a couple of days, if only to see what a different approach to shell design looks like. Don’t try to make it into a Zsh clone, but use it as itself and see what you think.

If you do that, I suspect you won’t find that prompt_subst is a good replacement for being able to write full-blown functions that allow complex flow logic like “if logged in as root…” or “if this is a Git directory…” or “if the last command succeeded…”. Yes, you can do all of those in Zsh in the sense that both shells are Turing complete, but wow, it’s nice when the shell makes it easy and fun to do these things.
If you need to memorize a phone number rather than learn a complex subject, do you feel the same way?

Are your feelings backed by data?
Fascinating story. I do find it odd that the main designer is referred to throughout as Sophie Wilson although when designing the original ARM chip she/he was actually Roger Wilson :-/
Lumped-Element Model
I have a stereo pair of OG homepods, and it never ceases to amaze me how stupid they are. Songs I played yesterday are mysteriously unavailable, or I'll ask for a song I've played a million times for my daughter and it will decide to play a totally different, highly innapropriate rap song just because it also has the word "toothbrush" in the title or something.

I use my Alexa as a timer only, and when it started saying things to me like I have notifications or "did you know you can use Alexa to order such and such" when I would say "Alexa, stop the timer", I almost threw it out the window.
It's not political to point out bad data will make bad stats.
Why have late-night talk show ratings collapsed?
I am not sure desperation is the right word here. He used it to list out a bunch of unrelated motivations, but most of them I wouldn’t consider desperate.
go doesn't have null safety or adts though? (sum types)
TBH, i don't know entirely, it just "feels" like i want the instance i'm most interested in. Yes, local timeline is neat and a feature i'd like to be able to use, but the Social aspect of Mastodon (vs email) means i tend to view the domain as indicating primary interest. It feels like a badge of community/interest.

Not sure if it makes sense, just trying to explain what's going on in my head. As i have debated that exact question myself, internally.
For now, I would simply ask that you go through the many applications here and tell me if you see smart contracts being very useful for collectively managaing high-value decisions and capital after reading: https://intercoin.org/applications
Recent and related:

Putting Z-Library on IPFS - https://news.ycombinator.com/item?id=33675224 - Nov 2022 (129 comments)
> Around the same time, Musk blamed activist groups "trying to destroy free speech in America" for "pressuring advertisers."

I guess nobody has told him that pressuring advertisers is also a form of free speech.
An 1800 Lichess rating maps to 1420 FIDE or 1270 USCF. Not sure what standard is used by Noctie. (https://chessgoals.com/rating-comparison/)
This was my first thought as well.

I know for me personally; I always absorb more information when I am just listening and not writing.

When I'm writing whatever the teacher is saying, I can't understand it at the same speed. So I just write without actually comprehending the sentences.

But my listening was always so good that I rarely took notes throughout all my school years. I would just stare at the teacher and listen without writing anything.
sadly, this will never appear completely in practice, I predict. Refer to information theory roughly, to support that. That is, pure signal is not often occurring in real systems. Some systems will favor signal quality at the expense of time and fewer false positives and negatives, but the majority of cases in the real world will favor less-effort, less-time decisions that are expedient, or worse, favor obfuscation of the process to cover the sins of the humans benefiting/profiting directly from the show. Also, systems that just are not actually working well, will be sold for quick profit using pressure marketing and forced contracts, at least I think so...
A lisp compiler in a voice assistant would seem like an improvement in that the user could define objects and then express the actions to be performed in the same room. But these assistants seem to drop objects between commands making them hard to program conversationally.

I guess a list like language would be ideal and the pauses would be like parentheses
Definitely - but it's very useful to start off with a suggestion!
Javascript absolutely took its position. Speaking of those waves, where did Ruby and RoR go? Seems completely dead on HN whereas 'back in the day' it was top most talked thing. LISP would be a guest of honor - always there, never here.
It would be more precise to tell people to consider that other people have different value systems and that their view is not the standard everyone should be judged by.
You're wrong. I omitted a single word because of HN's length restriction (that was also dismissive and doesn't contribute much).
... in mice /s
is a bottleneck != is THE bottleneck
You mean such as the academic who spent his entire career studying the politics of the area?
Grid surely is more complex. For example: Units that appear nowhere else in CSS besides Grid, functions that are only used in Grid. It feels like a language inside a language.
I think give the US is a collection of independent states the massive growth of states in the 1800’s might count as another transformative period for the political institution, which has been relatively stable since the 1900’s with 5 state governments being established (most front loaded the ~first decade).
I find the lack of learning science and the state of teaching how to learning to be detrimental to our current society where people are required to know more and more. Knowledge that doctors, lawyers, even computer engineers keep increasing as time goes on, but the way we learn has never been scrutinized or emphasized and is mostly up to each person to deal with.
The obvious one that comes to mind is UpIsNotJump on youtube, who teaches chemistry (I think) and also makes youtube videos with sponsorships for VPNs and such.
This test might be useful (although it might be a bit hard to read because of the usage of macros) [1]. We will create a simple example of multivalue to showcase how it can be used

[1]: https://github.com/wasmerio/wasmer/blob/master/tests/compile...
Those employees are going to have a hard time finding a new job. No one is going to want to touch anyone related to FTX. Not even crypto bros.

And him using the word family should have been a red flag. He ruined their careers knowingly running a ponzi scheme.
What does […Array mean in this context? Does it create an array?
I might be in the minority, but I also don't want to add things to my life that make my environment noisier or that require me or others living with me to speak more. As much of a Star Trek fan as I am, I never found "The Computer" to be appealing, and always thought of it more as an artistic device. It's a lot easier to communicate a character's intent / action if they are vocalizing it for performance. Even in scenes where they are "typing" something into the computer, they will inevitably be communicating to the captain or another character what they are doing.

In practical reality these interfaces feel, to me, as extremely inefficient. As someone who doesn't particularly like to speak, and prefers silent environments, these interfaces require more energy from me to use. Unless they are serving someone who has a physical impairment then I don't see what problems exist that these solve, but I can identify lots of problems that they introduce (not only noise but privacy / security vulnerabilities etc.)

Personal preference.
The Architecture of a Modern Startup
Happy to see that someone actually read the whole article before making a comment.
"Machine moves faster than some people thought previously; hence it is not a machine."

What kind of logic is this?
I was playing with stable diffusion in ubuntu in wsl2 and/in windows 11, the hash rate seemed comparable.
Most of the oldest UK ones are pubs, which perhaps says something about British culture.
>Prices would rise and rise until they matched the new million-fold buying power

Prices would rise, yes. But they would not rise proportionally to the increase in purchasing power.

At the extreme case, imagine a person with $0. If they are given $1 million, they are now ∞% wealthier. If the cost of food rises 1,000,000%, they can still afford more food then before.

But prices won't rise that much. Your 50¢ pretzel might cost $1,000 now. But that won't last: if you can get an extra $1 million by selling 1,000 pretzels, people will do that. In the medium term, the supply of pretzels will increase and maybe the price will drop to $100.

I am not implying that wealth distribution solves scarcity. But it does redistribute power and resources, so that everyone's desires and needs are more equally catered to.
I recommend every single person I know to screen themselves for Sleep Apnea -- My doctor estimates 30% of the population has it and most people go their whole lives without ever knowing.

Personally, my CPAP has boosted by daily energy/wakefulness tremendously, I feel at least 40% more energy each morning when I get a perfect CPAP adherence overnight, and I only had a minor/moderate case. If you snore, you probably have it without knowing.

Please get checked and make your life much better!
The problem is simply that voice is a 1-D (linear) interface whereas computer screen is 2-D.

So when I interact with the screen it can show me all my possible choices at the same time at each situation. I click a menu-item and a sub-menu pops up.

With a voice-assistant I would have to wait for the assistant to list all possible choices but if they are many that takes a long time. You can only hear one word at a time. Combine that with inaccuracies of voice-recognition and it is clear that a computer screen + mouse is a much better interface.

Hey it's the same difference as with Radio vs. TV.

A computer screen-interface might be usefully augmented with voice recognition. But working with voice alone is like working blind. Gee who could've thought voice is not the killer-tech of 3rd millennium.
That reminded me of Peter Norvig's comment:

> Depending on your definition, CLOS is or is not object-oriented. It doesn't support encapsulation.

Lack of encapsulation would preclude the protection and hiding of state-process.
It would be interesting to know the answer to this.

I find it hard to believe that a favourite dog or horse, working not, wouldn’t get talked to and named by it’s owner. At a minimum, it’s useful, as you can get a particular dog to do something when it’s addressed individually.
Ideally, when calling OpenFileDialog or equivalent user prompts, one should opt for using verbose action labels, instead of the often ambiguous defaults (Okay/Cancel, Yes/No, worst yet: Yes/No/Cancel):

Are you sure you want to delete this draft? [(Yes) Delete Draft] [Cancel (Deletion)]

Are you sure you would like to Exit? [(Yes) Exit ($appname)] [No, Continue]

()*optional extra specificity for clarity

With more sensitive commands with possibly dubious parameters, prompting the user to re-enter the dubious argument can help default mindless clicks or the occasional brain fog or mistype; even translates well onto command line:

>>Are you sure you want to delete 12 folders, totalling 23,401 files? Please confirm the number of files to proceed:
>>23401
I do not see how literally any of this information contradicts what I am saying.
Works fine for me on Firefox 107.
At least from Johnson's pov, his argument for refusing another referendum was exactly in line with his view on brexit. Specifically, if you have a referendum then you should bloody well respect the result. The last thing he wanted was to offer the possibility that a referendum is just for Xmas and you can change your mind if you get cold feet.

And tbh, there were only 2 realistic outcomes from the Supreme Court today: either that there's no legislation to review so they can't comment (which they dismissed) or that we have precedent for the exact mechanism for having a Scottish independence referendum. Because we've had one.
> You can adopt the techniques of functional programming right now in your favorite language (such as Python, used above).

No tail call optimization, no expression orientation, mutability by default, no variable shadowing, single expression lambdas, no do-notation, reference semantics everywhere, dog slow function calls... functional programming in Python doesn't work in my experience.

Now, there is a great case for functional lisps, like Clojure, since they support all the fancy patterns in cutting-edge Haskell etc. but without an extremely complex compiler. Of course you sacrifice some type-safety.
Most of the listings require past experience with hardware stuff, not just CS fundamentals. I'm seeing very little interest in hiring someone like an experienced React developer who just got laid off from FAANG. There's a big difference between being theoretically capable of doing a job, and having any reasonable chance of getting hired for that job.
I was always told in school that I needed to take notes. So I did. And then I had no idea what was going on because all of my energy went into taking notes.

Eventually I gave up. It's amazing how much you can learn when you simply listen. I wish I would have realized that sooner.
> "Stuff I made up and then assigned arbitrary value to"

This pretty well summarizes all of crypto.
ISTR there is some registry setting that may help with this. Search the web for ForegroundLockTimeout.
Art done well may not be my cup of tea, but it is entirely fair to hate on something if it is just called art by a lazy person. Smearing colors on a paper is what kids do. Adults should be able to produce something that is actually something.

Art that does not give the intended feeling, idea, or understanding is not worth the name art.
Protesting workers beaten at Chinese iPhone factory
Like this: https://www.youtube.com/watch?v=8SkdfdXWYaI ? Here you traverse the AST, but the idea is similar, I think.
Waiting on a response…

‘Greybicch’ would be a good name for a server. But there are heaps of excellent names in there for all sorts of use cases.
It’s a misplacement of priorities and misjudgment of character by ACM that they awarded the Turing prize to LeCun, yet haven’t bestowed it on Spaf.

Deep Learning was promulgated by several computer scientists, and its still early days. Information security in academia? It’s Spaf. Perhaps it could be argued that his contributions don’t have the depth and rigor as LeCun’s research, but they’re broader, more sustained, and with patient good humor.