skysight-inc/HackerNews huggingface dataset:
The past few days I've been working on a personal project and needed to add file-upload functionality to an existing form. So, I was searching for something to make things elegant and allow also drag&drop, not just the traditional file browser.

I could not find anything that fit my needs (DropzoneJS required too much workaround to work with my existing form), so I decided to make my own from scratch. It turned out quite well so I decided to make it open-source, since I think other may find it useful.

You can find the code here: https://gitlab.com/ppopescu/easydropzonejs/
You can see a demo on my personal blog: https://petrepopescu.tech/easydropzonejs/

### Features

- Easy to integrate and use

- Looks nice even with the default theme

- It is theamable, and only requires update to the css file

- Does not require any external libraries like JQuery (it is made with pure JS and CSS)

- Small and lightweight, currently having less than 4kb for both the JS and CSS files

- Shows you the thumbnail preview for images (configurable)

- Easy to configure (even though there are only a few configuration options)

Any suggestions of improvements (or even better, code submissions) are greatly appreciated. Please, tell me what you think and if you think that this is useful and I should continue development.
That sent me in a bit of a rabbit hole. And I'm helpful that way. I regularly read mysteries where the solution feels somewhat within the reader's means - and I would like to try books where that's more deliberate. Where the challenge is more measured - and so where it's more worthwhile to spend some effort in playing.

A redditor's "what is fair play" genre review:
https://old.reddit.com/r/mysterybooks/comments/qlvq1c/what_i...

On honkaku:
https://www.theguardian.com/books/2021/apr/27/honkaku-a-cent...

There are works that straddle the genre of "your own adventure" - with clue pieces and clippings and whatnots.For example, Murder Off Miami, Dennis Wheatley, original from 1937 but with modern editions, is not a novel. It's literaly a pile of telegrams, clippings, reports. You are supposed to read them, in order or not. and decide on a solution. Then break the seal for the author's solution. Wheatley gets high praise on originality but mixed scores on solvability. Fantastic write up here: https://denniswheatleyproject.blogspot.com/2011/07/murder-of...

Murder off Miami seems to be online
https://lparchive.org/Murder-off-Miami/

When reading, I'm not mad if the author was misdirecting and "overly ingenious" or something but then I rarely expect that it's worthwhile to put in the detective effort instead of simply enjoying the ride. I would like pointers to books where it's clearly worthwhile - that is, where that effort is rewarding beyond simply enjoying the ride. In fact too many books are flawed because of gross inconsistencies which actually make it hard to enjoy the ride. A "wait? what? NOOOO!!! inconsistent!" is just plain distressing - beyond say, typos or out-of-place language.

I agree with the game parallel raised in the reddit thread. In a great boardgame there are several rewards: the fun, the shared fun around the table, the visuals, but also the engineering solvability and strategizability of the game. Randomness is great so it's not always the same winner but I want to have significant control of my destiny (my avatar's - but in a great game that's me). Same for a great (table top) role playing game session: I want both my effort and reward for my effort.
terraform_remote_state
What were the temperatures inside the trailer? At what temperatures is day-long exposure life threatening?
If print statements outperform debuggers at debugging, it might point to a design flaw in debuggers.

Why are print statements better? Could a debugger, designed considering this, beat print statements?
Why would to want my applications to use what my operating system does? I control both, but typically I have more control over the OS, and importantly it’s a single location to configure.
Are you serious or just trolling?

> Imagine how high productivity would be if managers were allowed to literally crack the whip at engineers who slow down after working for 10 hours a day.

I'll tell you what would happen. The engineers would quit on the spot and you'd end up with a sea of empty desks.

Why are some managers so dense? Is this an ego thing?
> There’s been a major U-turn in people’s attitudes towards remote this year

No there hasn’t. Saying there has is just falling for executive corp-think.
Thank you for your feedback! I want to share a beneficial service we've worked on for almost four years. I understand how it might come across as promotional, but I intended to engage and contribute to the community and want people to try our service. I'd appreciate any constructive feedback on how to present it better!
I think this linited attack surface can work without having to generalize one model to multiple people or keyboards. One advantage of a Zoom attack is that you get “plaintext” shortly after hearing the “ciphertext” if you can get the target to type into the chat window. And when you hear typing in other contexts it’s likely to be something that matches a handful of grammars that an LLM can recognize already (written languages, programming languages, commands, calculation inputs) - and when it doesn’t, that’s probably a password.
I like this. In a way, a program is a paragraph-length name for something.
What does the word approximately mean, if we go back to the previous statement answer from GTP 4, and what precision is needed in the answer?

And, no I'd grab a damned calculator and let the specialized tool do the work, which it turns out if you turn on plugin mode GPT-4 can use the same tools and get an exact answer.
Sometimes you absolutely do, and crude words are just right for describing a genuinely shitty, corrupt practice.
Oh, nic.fune.fi, the first place O learned about in 1992 when I touched Internet for the first time at CERN.

As a physicist, I discovered the world of Unix and slowly started my journey to sysadmin - and 30 years later I am still in IT that I love so much.
I think this is just rage/click bait. No one seriously would have a deranged opinion like that.
It is a bit weird that we need so many emissions per person in the US. In the very least it ought to be a sign of where there’s slack in the system.
How can a diamagnet be stable on top of a single dipole? Earnshaw's criterion being invalid just means that there is at least one static arrangement of magnetic dipoles that lead to stability. However, if you have a point-like diamagnet resting on top of a single dipole it can't possibly be stable because there is no point at which it will have zero net force and stable higher-order derivatives. You need something like a bowl-shaped magnetic field arrangement for it to stay in a single point, or have the diamagnet itself be shaped something like a bowl over the field.
They're just not for you, man. :-)

No, but seriously, if I'm accurately reading between the lines of what you wrote, you're looking for an engaging plot, and expecting world-building and character to work in service of that. I'd argue that LeGuin (at least here: a few of her other stories are different) prioritizes philosophical / moral inquiry, and world-building (in that order), with character and (especially) plot acting in service of those.

All of which is fine, of course: not judging or crucifying you at all. (I'm reading and enjoying an entirely plot-driven book right now.)

My love for the Earthsea books (especially the first three) is wrapped up in the thoughts it makes me think, and the vistas it makes me see - for me, each of those have indelible feelings attached - none of which can be condensed into a bare recounting of "here's what happened".

To be honest with you, I can't even recall how any of the books end (though I also probably foresaw the endings as I last read them), but the dryness of Tenar's life, her fascination with the hidden emissary from beyond, and her moral delimma about helping him or not, stick with me as vividly as I'd lived them myself.
Personal Anecdote:

When I was first getting started in software I was very much part of the "I can think faster than I type" school and I had the good fortune to fall in with some really serious hackers, one of whom was an absolute wizard with `vim`.

He was a very humble guy, so it was some time before I learned he was in no small part such a `vi` pro because he had written a real vi, it was called `xvi` and I gather that it was around the time that `vim` was taking off.

I asked him why he used `vim` if he had written `xvi` and I'll never forget his reply: "Writing a `vi` is something any programmer can do if they put the effort in, writing a `vi` as good as `vim` is something only people like Bram can do. Obviously I'm going to use the better tool."

Bram changed the lives and careers of so many of us, myself included. I never interacted with him personally but from everything I've ever seen he was humble, brilliant, helpful, and took his craft as seriously as anyone I've ever heard of.

RIP Legend.
C++ Modules should hopefully significantly improve this situation
Brilliant suggestion. Have a TRNG or a CSPRNG (if too poor for a TRNG) choose the next layout at random for you, ideally with every keystroke. Good luck cracking that!
Literally everyone strikes the balance. According to their experience. The older, the more experienced, the more balanced.
Hard disagree. Most of the time I have a specific failure case in mind when I open my debugger. It's very easy to see which if statements the failure case takes and to run again looking at what variables caused it to take those if statements. Usually the problem becomes obvious after that and it's not unusual for bad variables to be passed into the function; which a debugger can help with as well
Maybe I am biased because I work in embedded :)

Before that I also encountered similar issues at the other end of the performance spectrum: When working with parallelized C++ code that required more than 64 GiB of RAM the overhead of a debugger can make the difference between being able to run the program or not.

I still believe that in almost all cases it is possible to use a debugger even there, but it is always a significant setup required.

And in the modern languages like Java and Python there are stack traces which already greatly help with the “debugging” such that even there I rarely missed the option to step through a program. I never worked with any really complicated Java or Python codebases, though.
For Couples, Time Can Upend the Laws of Attraction (2015)
Not sure I follow.

If I were building this, I would have parallel background "subconscious" processes translate raw sensory inputs into text (tokens).

This is what OpenAI call multi-modal input. They've already produced Whisper for audio-to-text, and image-to-text is underway. They're not the only company working on this.

You wouldn't feed a constant stream of text data into the LLM - you'd feed deltas at regular intervals based on the processing speed of your LLM, and supply history for context.

Note that LLMs don't need to "wait" for a complete input. For example, if an LLM takes 1 second to process requests, we should aim to feed updates from the "subconscious" to the "conscious" within 1 second.

So if somebody is speaking a 10-second long sentence, we don't wait 10 seconds to send the sentence to the LLM. After 1 second, we send the following to the LLM: "Bob, still speaking, has said 'How much wood...'". After 2 seconds we send 'Bob, still speaking, has said 'How much wood could a woodchuck...'", etc. The LLM can be instructed not to respond to Bob until it has a meaningful response or interjection to the current input.

Similarly, if image-to-text takes 10 seconds at full resolution, we could first process a frame at a resolution that only takes 1 second, and provide that information - with the caveat it is uncertain information - to the LLM while we continue to work on a full resolution frame in the background. We can optimise by not processing previously processed scenes, by focusing only on areas of the image that have changed, etc.

Would it be slow? Yes, just like "conscious" processing is for humans. Okay so today it would be much slower than humans process their sensory input, but in 10 years? 20?

As for how to represent an urge to reproduce within this paradigm - I'll leave that as exercise for the reader.
Are you sure the basic rule isn't that if the food it is intended to be consumed at the seller's place of business, it is taxed? That's how it works in California. (As an exception, carbonated beverages are taxed.)

Specifically, food from the "hot bar" in a supermarket is taxable, whereas a can of ravioli for instance, is not taxable even though it is a processed food by almost anyone's definition.
https://archive.is/Rlu3F

http://web.archive.org/web/20230326123828/https://www.nytime...
I think it's also important to note that many people struggle to achieve flow state when context switching between sleep cycles. There's a natural daily rhythm folks go through, and the older one gets, the more it tends to (but not always) shift earlier in the day. Think about that next time you want to schedule a mandatory synchronous event, especially one such as a daily standup.

Some of your team may already be 2 hours into their day by 9am, while others may be just rolling out of bed and not yet deep into something. And some of your folks are starting to wind down their focus period around 2pm to 3pm while others are ready to go deep into the night.

I'm not trying to assert there's a problem with standups or other meetings. I'm just saying if flow state is a priority for an organization, there has to be compromise made in how scheduling, status checks, and synchronization works.
"Headcount" strikes me the same way.
Because a series of print/log statements can illustrate the evolution of state over time, where a debugger only shows you "now".
What is DevEx? Maybe I missed it but they don’t seem to say anywhere in the article what DevEx is. A company? An IDE? A development methodology? Something else?
> Google started self censoring “Russian propaganda” and everyone was so distracted with the war itself that nobody seemed to take notice of what gears that type of thing set in motion.

I recently found out that all of Russia Today is banned and blocked throughout the EU, and whilst I appreciate it’s pure propaganda, I don’t appreciate being told what I can and cannot read/watch/hear.

It’s entirely against everything I was told to believe we stood for, and I find it deeply offensive ans disturbing.
What process are you thinking of?

Espresso filter too - the basket has holes small enough to keep the grounds out the cup. The only coffee drink I know that has no filtering at all is Turkish coffee.
LLMs are neural networks. If you understand their strengths and weaknesses they are extremely useful. Use LLM's to explain abstract concepts, discuss ideas, analyze text, as an interactive tutor, not as a datastore of facts to be recited verbatim (like a search engine). That is the worst possible way to use LLMs and will result in hallucinated facts. If that's how you're doing it then you're doing it wrong. Neural networks such as LLMs are fundamentally not made for factual recall. LLMs are designed for solving natural language understanding tasks.

I have found GPT-4 very useful for understanding concepts and solving specific problems in programming, science, maths, psychology, relationships, and producing creative writing, by having conversations with it, going back and forth deeper into these topics. But I would never use it as an API reference. Raise it up to the conceptual level and you will be surprised at what it is capable of.
> Multiple Git Checkouts

You don’t need to do a full clone to have multiple working copies of your repo checked out. You can use the git worktree command to create these working copies:

https://git-scm.com/docs/git-worktree
wget and curl give out html files, these are useless to the end user unless they are opened with other software, typically a browser.

I don't know of any online service that expects end users to use something like wget and curl, maybe in niche cases, or for personal use, but I don't think it can be considered a primary use case for these software.
Yeah, but debuggers have a hard time capturing state history and displaying it in a useful way. Often times, the bug is a lot easier to understand if you see the historical values printed to the terminal, but is not at all obvious just by inspecting the current value of variables. This is especially true in any system with feedback, which is nearly any non-trivial system. Bugs can become so much more obvious if you see how state is changing through time, which print debugging is better at than debuggers and "plot debugging" is best at.
I am sure the chance for success is much greater in a society that is fairly homogenous.
Why should every web site accommodate that? Tell your browser vendor to act upon your system settings and display web sites accordingly.
The simplest one is that a particle on its own keeps a linear trajectory with a constant speed. A change in that (like going from rest to any motion) requires interacting with another particle: things do not start moving for no reason. This is a generalisation of one of the formulations of Newton’s first law, which states that things that don’t move don’t start moving without being pushed (rough translation).

This is related to another formulation of Newton’s first law: if there is a force that pushes the ball at some time T, it implies that there is another body that felt the opposite force.

Another one is a bit more involved, but basically a mechanical system cannot change its symmetry by itself. In this case, the initial state with a ball at rest has a radial symmetry with a centre on the apex of the dome. This is not true anymore if the ball moves in one direction. This is related to the conservation of momentum.

There are a couple of points that can be solved easily, but are clearly defects in the original formulation of the problem. for example, the height according to the equations is not a length, which is not a problem itself (we can just multiply by an arbitrary factor with the right dimensions) but an indication of sloppy thinking and hand waving. Similarly, the force is not bounded in the original formulation. Again, this can be fixed by restricting the valid range for r, but is rather messy.
Low effort trolling
Breaking the Double Diamond with iterative discovery
I've never worked inside a CRT (but may need to soon) and am not great at electronics repair, but I'm a little surprised you describe yourself as having a lot of skill but still tend to avoid them. From my understanding, it's straightforward to reliably discharge them and make them safe to work on. Do you think it's easier to get this wrong than I've understood or do you just feel uneasy about it in general? Just curious!
Can I use the '...' directory to upload files?
Even with the externalities accounted for, if you must use a monitor, it might be better to buy a new one than repair the old one.

The replacement parts have a footprint, and a newer monitor might use so much less power in operation that it’s more efficient to make and use it than to continue to use the older CRT.

I really wish there were an easy way to work out if this was where the ‘efficiency crossover happens in X years of use’ point was. For example, I have a perfectly usable Thunderbolt 1 [edit: Thunderbolt 1 dock] that meets my needs. But it uses 5-10W of power more than a new Thunderbolt 3 or 4 one would. Should I continue to use it or switch to a newer one?
Ristretto uses an espresso machine so I’d expect Simla or behaviour. The others are low pressure, so maybe not?
Even if it does, that would amount to a contradiction in Newtonian mechanics. You don't get to simply ignore that the ball starting to roll after arbitrary (non deterministic) time T is a solution to these equations.

(Note that the article goes on at length separating Newtonian mechanics from the "real world" or whatever)
That SoCal people refer, and refer often, to freeways by number is the basis of the SNL skit “The Californians”[0].

I always assumed that that skit was a great exaggeration. But last winter I cycled from LAX across Southern California to Mexico, and the local people I chatted with really were like that. “I love doing activity X or eating food Y, so sometimes I’ll take the [interstate number] to [place] and get off at [street name].” No one really grasped that as a foreigner on a bike, all those numbers were incomprehensible to me.

[0] https://www.youtube.com/watch?v=dCer2e0t8r8
One of my useless skills back then was being able to recognize modem speeds, brand and sometimes (especially Motorolas and USRs) model just from the handshake noises they made.

For a little while, I could recognize my old man's BBS' individual subscribers calling in just by turning up the volume of the modem on top the 386 box...
I almost never use people for fact checking either, they are horrifically bad at at. But if you're fact checking you tend to have a well formed idea already that can be searched in factual databases.

If you have a more abstract idea "I'm using X programming language and I want to accomplish Y but I have Z limitation how would I do that, can you explain it and show me in code", you can get actionable information much in the same way if I asked another person that had some knowledge of the problem. I don't get perfect answers from programmers either, but I get to a solution much faster than if I'm spinning the wheel of Google returning spam sites or sites telling me something I don't really want to do.
Don't forget growing teeth:

https://www.euronews.com/next/2023/08/05/a-drug-that-makes-t...
Carry a smartphone that you only use to do those things. Powered off all the way when not using it.

Almost everything in that list, is not actually an impossibility for you to get around using. The first half is basically conveniences you're used to having. Buy a bicycle! Print your gym ID or provide name/phone number (this has worked at every gym I've been to)! Tell your job you need them to provide hardware if they want you to use the app. If your apartment really only opens with an app, I'd see if you can clone the RFID and toss it on a keychain.

Everything is an option, it's a decision of convenience. More and more I am thinking it's not worth the convenience.
What mechanism do you think might cause that connection?
As it's phrased, I think your question is useless, because it's more a function of the insane hype around LLMs. That is, as long as people think that LLMs can pass for humans, it's going to be hard to convince them that you're not an LLM.

Shitty analogy: if someone thinks that there are shapeshifters everywhere, there isn't really anything you can do to convince them that you aren't a shapeshifter.
In your opinion what should pollution be measured as a function of? If you choose not to measure it per capita, then every country, no matter how large or small will be measured equally, setting up perverse incentives for smaller countries to have pollution heavy environments.
Same thing?
I understand wanting to write beautiful code, it's a major motivator for me. But it does have to actually do something useful - or there's no point.
Yet RenTech recruits these people https://www.reuters.com/article/simons-hedge/renaissance-hed...
>It runs on a Linux server with dual 20 core processors, 786GB of memory and 80+TB of NetApp NFS storage. It has a 2 x 25Gbit/s connection to the Funet backbone.

Imagine an IT expert waking up from a coma they had been in since 1991 and seeing this.