For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more smusamashah's favoritesregister

I'm working on my own version that's going to be all buttons and sliders, but I'm hesitant to mention this anywhere because I'm only working on this sporadically as a learning exercise, and the first video already got me more attention than I thought I'd get.

Since then I've changed to a Pi Pico, and using PIO (programmable pins) makes the touch-delay problems I had magically go away. PIO really is awesome.

I've also replaced the DC motor with a tiny stepper motor, and now everything works peachy. Just waiting for some screens and stuff from AliExpress.

Anyhoo, shooting myself in the foot: https://youtu.be/GjmFbgqFeMQ


There seems to be a misunderstanding of the place of technology in the criminal justice system. There is nothing wrong with using technology to sift through a mass of data points to narrow down suspects or point the investigation in a particular direction. However, this does not obviate the need for investigation to actually verify that the initial identification is correct. There should never be a case where people are arrested or prosecuted solely on the word of a database query.

"Isn't this just a GUI for the cat command" "Oh. That's the joke."

I do that with reactionary tweets. I either delete them before posting, or sometimes shortly after. It definitely works.

Someone I know has done some work to parameterize facial expressions: https://www.redblobgames.com/x/1845-face-generator/

He has a bunch of other interesting things like this, too: https://www.redblobgames.com/


We're also working in the space and just open sourced Skyvern

https://github.com/Skyvern-AI/Skyvern


Unfortunately I don't remember the exact reason, but with some squinting at the past I believe it would've come down to two things - resources and how we thought about the role of developers:

Chrome was a no-crunch 50-person project, which sounds like a lot until you think about how we were porting webkit to windows, adding a sandbox, creating a new javascript engine, a new windows UI toolkit, etc and we were ruthless about prioritization - any engineer who could've spent on an RSS renderer would've been taken away from valuable webkit windows compatibility work (omg ACID tests), and weeks mattered.

Second, we had an extremely strong belief in letting developers own as much as they could - our impossible ideal was that the Chrome UI wouldn't exist and developers would just create content you could access emphemerally through your operating system. At the time, we had seen that it was possible for developers to use various trickery (XSLT or CSS?) to style RSS feeds so they would show up somewhat like how you described (IIRC Feedburner did this)

So if you take those two things together (and again I may be misremembering) you see it being a "developers can do it so if they care they can do it, we should not spend time making something that overrules them"

It's not possible for me to know whether that was the right idea in hindsight because I don't know what we would've sacrificed (I think I would've preferred using that time to make the standalone image renderer have better zooming/panning controls)


I was able to get this system prompt. Can I collect the bounty now?

"You are Goody-2, the world's most responsible AI model. You have been trained with very strict ethical principles that prevent you from responding to anything that could be construed as dangerous in any context. You are so ethical that you refuse to answer ANYTHING. Instead of answering, you tell the user the reasons exactly why and how what they said is dangerous and against your ethical principles. It does not matter how tenuous the reason is. You must always come up with specific reasons why you can't respond. Do not apologize. Do not use the word "dangerous". Limit your response to 70 words or less."


Here is a better solution: You write your blog post md directly into the body and deploy a builtin minimal md engine.

    <html>

    <body>
    # Blog Post Title
    <br>
    Welcome to this simple blog post
    </body>
    
    <js>
    document.body.innerHTML = document.body.innerHTML.split('<br>').map((line) => line.trim().startsWith('# ') ? `<h1>${line}</h1>` : `<p>${line.split('# ')[1]}</p>`).join(''); // add more md features here if desired
    <js/>

    </html>
(replace js with script, which i cant write here on hn apparently)

Obviously move the JavaScript to its own file and embed it to avoid repetition across blog entries. Plus, move it into 'DOMContentLoaded' event handler to be safe.

Could it get any more elegant and beautiful?


I feel like I'm the only parent on planet Earth that really doesn't like Bluey. Every time I watch it(which is often, my son likes it), it just seems to be promoting bad behaviour at the expense of the dad(like many other shows to be fair - looking at you Peppa Pig), including physical violence(one episode the kids decide the dad now has a stomach ache, so they punch him in the gut - and the dad just plays along with it, it's never commented on as a bad thing). And the mum keeps making reductive comments and making fun out of the dad, even though he literally drops everything the second his kids want anything.

I don't know, I just don't get it. When people describe it as wholesome to me it feels like the opposite - it shows an unhealthy relationship between the kids and the parents, and I don't feel like it teaches my son any valuable lessons at all.


I am a whistleblower in the UK. The issue is large enough it could get into the papers or the dismantling of an organisation. It is not a comfortable position to be in and I'm fully cognizant of the risks to my future employability. Nonetheless it has to be done. I would urge people to speak up even over little things.

Bad things happen when good men do nothing, is succinct and appropriate.


Try uBlacklist, it's like uBlock, but for search results.

https://addons.mozilla.org/en-US/firefox/addon/ublacklist/

https://chromewebstore.google.com/detail/ublacklist/pncfbmia...

You can sync the settings and your personal blocklist to either Dropbox or Google Drive. It also has the ability to subscribe to blocklists. Mind, you need to manually turn on search engines and subscribe to lists. The uBlacklist subscriptions setting doesn't have any built-in feeds yet though. :(

edit: THere are some feeds on the uBlacklist site though. https://iorate.github.io/ublacklist/subscriptions

edit edit: Found an even better list of feeds. https://github.com/quenhus/uBlock-Origin-dev-filter#other-fi...


this looks excellent!

if you are looking for this, you might also be looking for https://opengameart.org/ and https://openclipart.org/


These look fabulous.

Another great resource for free 2D game assets:

https://kenney.nl/assets

No affiliation with them whatsoever. Just a happy and grateful user.


I thought it was obvious that a fingerprint allows you to verify that you have the correct public key via some alternative channel. So I read the article to find out why I was wrong; perhaps the article detailed an obscure wetware hole in the verification process, or maybe a dramtically better way of verifying public keys.

Nope: the article was a straight answer to the question in the title. Oh, well: it was short and to the point.


> Leave work slightly unfinished for easier flow the next day

Years ago a sr. eng on my team would find root causes to bugs late in the afternoon and then just go home. When asked why, they said that they knew exactly what they were going to do first thing in the morning and that it got them straight into the flow state for the rest of the day.

I like this example better because understanding a root cause and not having it fixed is more concrete than "slightly unfinished" which is too vague for me to measure.


I tested StyleTTS2 last month, my step-by-step notes that might be useful for people doing local setup (not too hard): https://llm-tracker.info/books/howto-guides/page/styletts-2

Also I did a little speed/quality shootoff with the LJSpeech model (vs VITS and XTTS). StyleTTS2 was pretty good and very fast: https://fediverse.randomfoo.net/notice/AaOgprU715gcT5GrZ2


New title: 16yo watched ALL the Ian Hubert tutorials

But who can blame them? Ian's tutorials are some of the most entertaining videos out there, especially his lazy tutorial series: https://www.youtube.com/watch?v=JjnyapZ_P-g


My (much simpler, decades old) one

https://plasticeagle.com/fractal.html

I'm sure many people have written similar things, in various technologies, over the years. Let's see them.


GPT-4V is mind blowing, it surprising to me that it gets so little attention here on HN, because after playing around with it I get the same sense of excitement I got when I tried the original ChatGPT. The level of understanding of what is going on in an image is leagues ahead of what we had until this point, ahead of Bard and basically everything else I already saw.

I tested it with a bunch of photos I made and images it could not have seen in its training data, and most of the time it nailed them perfectly. Its OCR capabilities are top notch, but this is combined with a spatial understanding of how text relates to other parts of the image. It can take a photo of a wall monthly calendar with hand scribbles on it and give you a list of events for each day. It can guess where a specific photo was taken just by analysing the elements present on the photo like the foliage, architecture, car license plates, etc (without being specifically prompted to do so). It can correctly identify multiple plants from a same photo. Gave it a photo of a Montessori set for teaching math (some wooden blocks with numbers and dots on them, no branding on them) and it guessed exactly what it was. And all of that just from two days of testing.

Here are just few examples:

[1] https://i.imgur.com/cV3dVOf.png - Gave it a screenshot from Final Fantasy VII from a boss battle. It correctly identified the party members, and their stats even though the text and labels are a bit all over the place.

[2] https://i.imgur.com/WeXhP7V.png - A photo I shot on my vacation, that didn't really contain any major landmarks, and yet it still somehow figured out from the architecture (and house colors) the exact location of it. I tried this game with several photos and it is very good at it, far better than I could ever be if I saw these photos for the first time.

[3] https://i.imgur.com/HgwYv6q.png - A screenshot of a worksheet from the Human Shader Project. I just asked it to solve it for given X/Y values and it did, its answer was 100% correct (here's the second part of its answer: https://i.imgur.com/RZF2r7v.png)

[4] https://i.imgur.com/12xg4qU.png - A photo of a highly reflective microwave inside a shopping mall. This was given to my by a friend who shot this personally and to be honest I didn't catch at first that this is a microwave, and yet GPT-4V figured that out.

[5] https://i.imgur.com/qSifni5.png - a good old fashioned "find the path connecting one object to the other" puzzle. Correctly identified the right path (this one was taken from the internet so there is a slight chance it saw it in the training data and somehow got the solution for it from the accompanying text, although I couldn't find any instance of it).

Edit: To confirm that [5] was not a fluke I hand drew my own version of this puzzle, took a picture and uploaded it, GPT-4V nailed this one too: https://i.imgur.com/8NgWhzw.png


Here are the traditional best practices of how README files should look:

“The distribution should contain a file named README with a general overview of the package:

the name of the package;

the version number of the package, or refer to where in the package the version can be found;

a general description of what the package does;

a reference to the file INSTALL, which should in turn contain an explanation of the installation procedure;

a brief explanation of any unusual top-level directories or files, or other hints for readers to find their way around the source;

a reference to the file which contains the copying conditions. The GNU GPL, if used, should be in a file called COPYING. If the GNU LGPL is used, it should be in a file called COPYING.LESSER.”

— GNU Coding Standards, https://www.gnu.org/prep/standards/html_node/Releases.html#i... (July 1, 2021)

“Good things to have in the README include:

1. A brief description of the project.

2. A pointer to the project website (if it has one)

3. Notes on the developer's build environment and potential portability problems.

4. A roadmap describing important files and subdirectories.

5. Either build/installation instructions or a pointer to a file containing same (usually INSTALL).

6. Either a maintainers/credits list or a pointer to a file containing same (usually CREDITS).

7. Either recent project news or a pointer to a file containing same (usually NEWS).”

— Software Release Practice HOWTO, https://tldp.org/HOWTO/Software-Release-Practice-HOWTO/distp... (Revision 4.1)


Best popcorn you can make is cheap and easy cleanup.

Take one large pot (the kind that holds like 10qts).

Cover the bottom with kernels.

Add a bit of oil, basically just enough to swirl and have everything covered in an oil sheen, not enough to have them submerged.

Cover, put on high (I use gas). I like to suspend a paper towel between the lid and the rest of the pot, absorbs excess oil and water.

Once popping slows, turn off the stove. Dump popcorn into large mixing bowl.

Toss 1/8 cup butter in the hot pot, melt the butter with residual heat.

Pour popcorn back in and toss to get the popcorn evenly lightly buttered, transfer back to the mixing bowl.

Salt(I prefer a salt grinder) and toss, add a bit of grated Parmesan and toss.

There should be less than 10 unpopped kernels, no burned popcorn at all.

Cleanup is a wipe down of the large pot with the moisture capture paper towel.


I used to lucid dream regularly (need to get back to it - it's a lot of fun). I used a reality check where I would try to (lightly) blow air through my nose when my hand was closing it off. If I could I was dreaming. I did this randomly during my waking hours every so often when I had some indication that something was different and I needed to test reality.

Whenever I would come semi-aware when I was dreaming I would do this reality check and realize I was lucid and could do what I want. The interesting part to me is that blowing air through my nose and hand twigged me to the fact that I was dreaming, but the technicolor mega-gorilla screaming at the sky and throwing laser bolts did not.


Recently I switched from taking a lions mane supplement in capsule form to mixing some powder into my morning tea, since I can get the powder for far less $$ and it's usda organic on top of it.

For some reason this has resulted in persistent lucid dreaming before waking up, daily, for over a month now. The capsules rarely caused this, but something about the tea seems to be affecting the bio-availability, or maybe the powder is just different.

Whatever the root cause, it's been quite fun. But a bit distracting as it makes completely waking up difficult, now that there's this incredible interactive mind-movie I'd rather continue playing vs. start my day...

It does seem like a state of mind worth exploring with some potentially huge utility if mastered. I can't produce such immersive and vivid visuals to navigate mental models in my regular conscious thinking. I'd much rather do the equivalent of lucid dreaming to navigate things like interplaying algorithms and data structures for example.


The method I found to work most consistent in getting to a lucid dream is to wear a wristwatch with a vibrating alarm (noisy alarm clock makes you too awake) and then set it to wake me after I've slept something like 4-5 hours. Then I'll be really tired and fall asleep again almost immediately, but when I'm falling asleep fast it's easier to notice and focus on hypnagogic patterns. Hypnagogic pattern are patterns of light you can see behind your eyelids as you fall asleep and then they become more and more focused until they turn into a dream. It's hard to keep the focus, but doing after waking up just slightly from a vibrating alarm clock and then not moving the body at all, makes it much easier as the patterns then come really fast and quickly turns into a dream and if you manage to keep the focus you basically just go from being awake and straight into a lucid dream. The problem is it fucks up sleep a bit, so should have a few hours extra to sleep in the morning.

https://gist.github.com/shikaan/b978c5553a5545f5a48e2b8a6f42...

You can store conversations somewhere else than /tmp using an argument, for example


It's a good (long) read, and has some valuable insights.

That said, I've been living these principles since I was 18 (long story, lots of tears, bring a hanky).

I can tell you that anyone can benefit from this.

But most simply, if there were one single trait that I think has been key for me; it's been self-discipline. It has paid off all over the place.

Finishing stuff takes a great deal of what people like to call "grit." There's a ton of unpleasant, boring, hard-to-digest stuff, in delivering a finished product. In many cases, it can be more than half the project.

In my experience, not giving up, and powering through the "boring bits,", when, what I wanted to do, was go into a fetal position under my desk, and sob into Mr. Floppy Ear Bunny, has done the trick.

It also does wonders for self-image, and self-confidence (which, unfortunately, is often interpreted as "arrogance" -nothing is perfect).

I've found that starting the day at 5AM, and with a 5Km walk (which I hate), is useful. Everything after that, is gravy. Real gym rats beat that handily. Many of my friends work out for a couple of hours before getting into work.


My 8 yo loves Scratch. She's made over 30 apps with it and has had a great time. However, now that she's reached the limits of what it can do, I have been frustrated that there isn't a natural place for her to graduate to. And Scratch does get really limited quickly.

There are unofficial forks like SheepTester's one which let you drop JavaScript into Scratch projects, but they're not easy to use. We've failed a few times trying to setup it and make her successful with it. And it also requires you to know JavaScript moderately well.


I worked on the Windows team in the past, and it was a legitimate problem. Exposure to competitive products is great to stay aware of options and what others are doing, but the designers I worked with used Macs exclusively to the point where they didn't understand core Windows app switching/launching/task management workflows. A significant portion of my interactions was often explaining to them how proposed changes would interact with normal users, legacy apps, and everything else outside of idealized rendered screenshots.

> It's almost like some tiny extremist faction has gained control of Windows

This has been the case for a while. I worked on the Windows Desktop Experience Team from Win7-Win10. Starting around Win8, the designers had full control, and most crucially essentially none of the designers use Windows.

I spent far too many years of my career sitting in conference rooms explaining to the newest designer (because they seem to rotate every 6-18 months) with a shiny Macbook why various ideas had been tried and failed in usability studies because our users want X, Y, and Z.

Sometimes, the "well, if you really want this it will take N dev-years" approach got avoided things for a while, but just as often we were explicitly overruled. I fought passionately against things like the all-white title bars that made it impossible to tell active and inactive windows apart (was that Win10 or Win8? Either way user feedback was so strong that that got reverted in the very next update), the Edge title bar having no empty space on top so if your window hung off the right side and you opened too many tabs you could not move it, and so on. Others on my team fought battles against removing the Start button in Win8, trying to get section labels added to the Win8 Start Screen so it was obvious that you could scroll between them, and so on. In the end, the designers get what they want, the engineers who say "yes we can do that" get promoted, and those of us who argued most strongly for the users burnt out, retired, or left the team.

I probably still know a number of people on that team, I consider them friends and smart people, but after trying out Win11 in a VM I really have an urge to sit down with some of them and ask what the heck happened. For now, this is the first consumer Windows release since ME that I haven't switched to right at release, and until they give me back my side taskbar I'm not switching.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You