Hacker Newsnew | past | comments | ask | show | jobs | submit | reportgunner's favoriteslogin

The best use case for me is as explained here: https://koaning.io/posts/svg-gifs/

There is a very good intro on how LLM work by Kharpaty. It's https://www.youtube.com/watch?v=7xTGNNLPyMI and it's 3.30 hours, so way below the 100 hours mark :)

I apologize this is not directly related to OP, but if you, like myself, get mad at all the "Suggested" posts LinkedIn is pushing on you, you can use the following ublock filter to get rid of these posts:

    www.linkedin.com##:xpath(//span[text()="Suggested"]//ancestor::div/div[contains(@data-id, "activity")])
Combined with carefully managing who I actually follow, it made it for a much more pleasant experience.

Here's one that works entirely clientside via Webassembly - https://sqliteviewer.app/

Upload your bloated firefox `places.sqlite` and select `moz_places` and it loads it without a hitch... if you trust the website not to steal your browsing history.

Unfortunately sqliteviewer.app is not open source. This one (https://inloop.github.io/sqlite-viewer/) is, though. But it uses a JS reimplementation of sqlite rather than true sqlite in WASM.


Fun fact: Gadget mode also works on Android phones, if you want a programmable USB device that you can easily program and carry around

I made a PoC of a 2FA authenticator (think Yubikey) that automatically signs you in. I use it for testing scenarios when I have to log out and back in many times, it flies through what would otherwise be a manual 2FA screen with pin entry, or navigating 2FA popups to select passkey and touching your fingerprint reader.

Obviously not very secure, but very useful!


"irreparable damage to my career."

I am trying to help you with my comment but it is going to be straight. You sound like someone who wants to have the cake and eat it too. If you have the itch so bad, you need to do something about it at some point and there never will be a right time. Trust me on that. Yes, you can take calculated risks etc but overall, there will never be that perfect day.

"Irreparable damage" is too strong of a phrase. That tells me that your itch is not that bad and it is more of a nice thing to do because many others do it. Don't think of it that way. If you truly want to do your own thing, think of it this way. What if you never do it ? Will you be ok with it on your death bed ? If not, do something now. If it doesn't matter that much to you, you are most likely better off just working for someone else.

Having said all this, if you are not sure about how to start your own thing, the next best thing is to join a small company/startup where you learn and are very close to the bottom line. Lot of startups/small companies (under 50 employees) would love to hire failed entrepreneurs.

Source: I have been doing my own thing for almost a decade now after working jobs for a decade. If you are a failed entrepreneur, hit me up. Always open to chatting.


SumatraPDF is among the OSS PDF tools I use.

Since Adobe is pushing a more aggressive stance for monetization of Acrobat, I am trying to replace selected PDF workflows with OSS. Here are some of the tools I use.

    qpdf
        removing passwords, unlocking PDFs, conversion
        install in WSL with apt-get install qpdf
        remove password with qpdf --decrypt --password="" input.pdf output.pdf
    PDF4QT - Open Source PDF Editing
        Deleting, Sorting, Extracting Pages
        Currently, no choco release available, must be installed manually from PDF4QT/releases
    Inkscape, LibreOffice Draw
        editing PDFs, adding text
    Mupdf
        Command line tool and Python package for parsing, filling forms, adding text
    SumatraPDF
        Viewing of PDFs
    pdfplumber
        Awesome python package to extract tables from PDFs into data pipelines. Use with Jupyter Lab

Funny I wasted a few hours today on this map of Second World War defences, pillboxes and all. https://edob.mattaldred.com/map/

"When will I run out of money?" https://whenwillirunoutofmoney.com/

Due to changing jobs recently I created this site as a fun side project, as other sites I found involved sending your financial data to someone else's server. But I'm not really happy with the introductory text, nor did any friend I showed it to find the "help" link which was disappointing. Would love some feedback or advice!


Are you also the writer of https://grugbrain.dev/?

In the endgame you will have to pay in WorldCoin to keep watching your screen, and you can only earn that untradable WorldCoin by viewing the ads, monitored through the mini Orb embedded in the screen.

You didn't truly believe this was about UBI did you? We solved that one ages ago with bank accounts and KYC.


I use and recommend the same approach, and add the following trick: some sites will use CSS to hide content until JS runs and twiddles some attribute to un-hide everything. For those sites, disabling CSS will often make the content readable without the need to enable JS. This bookmarklet disables CSS:

  javascript:(function(){ var i,x;for(i=0;x=document.styleSheets[i];++i)x.disabled=true;})();

FTA:

> “We value your privacy…”

There's a special place in hell for the originators of this Orwellian triple-speak. Three meanings overlapped: meant to give users the impression that "we respect your privacy" or "we protect your privacy"--but it doesn't say that. It says they value your privacy, which is literally true; they're happy to put a dollar amount on it and sell or mine it, because it's of value to them. That's two true senses; one inferred and one real. But the second gives rise to the third, Orwellian meaning: these people actually don't value your privacy at all. It's a lie, pure and simple. A special kind of lie that has such a flippant, corporate-speak, technically-accurate dry meaning that is meant for a court of law--it holds up when lawyers start arguing long technicalities before a judge--but just one level deeper it is despairingly careless and dystopian.

When I see this phrase I just know I don't want whatever it is these people are going to do with my data. They benefit and I don't.


The whole idea of venture capital comes from the broken taxation model. The people who actually produce things, you know doing the work and have knowledge how to do something are burdened with heavy taxation, because years ago, when companies had high headcount, it was a way to make companies pay taxes. Now that everything gets offshored, including work, that model doesn't work anymore, but politicians for known reasons (corruption) don't want to change that, so to plug the tax gap, they increase taxes on labour and continue the squeeze, while not touching the big companies and the rich. This has created a situation, where educated and hardworking people can't amass enough capital to start their own business and their only way to get their idea running is to beg venture capitalists for money in exchange for a slice of their business or banks for a loan.

This has created a divide and widens the inequality gap on a scale not seen before in our lifetimes.

The rich get extremely rich, because they don't pay the same taxes as labour and they have so much money they own politicians and can make sure the status quo never changes.

This has caused things like "quiet quitting", because people no longer see work is worth anything anymore if you can't progress your life in any meaningful way.

All ladders to wealth and fulfilment that our parents and grandparents had have been destroyed.


I have a wifi webcam with no Internet access at my front door. It doesn't need Internet access (in fact, it's blocked from going outside the router). It's happily streaming video onto my home network. I just open the stream in VLC on any device to see the live video feed instantly. Easy to make a shortcut that opens the address in VLC.

Video is also being archived locally elsewhere on my home network, but no outside hosting is needed for either instant live access or home archiving. Just a minimum of research.

When shopping for a camera, only buy one that has ONVIF compatability. Then you can use it with third party apps.


Xonsh works pretty great. I've used it as a daily driver in the past but am trying out oh-my-zsh right now. Pathlib (and pathlib.glob) are pretty amazing, and python syntax is great for a shell.

https://xon.sh/


My favourite is "Practical Common Lisp" by Peter Seibel (https://gigamonkeys.com/book/)

Not only is the book free to read (although I would suggest to pay for it if you like it!) The code to parse binary files actually "inspired" my design of an actual production application which was very flexible, succinct and, most importantly, so fast I had to spend a lot of effort convincing people the numbers are actually true.

It taught me some important lessons about how you can achieve performance with Lisp languages and the real reasons for the power of macros. Not too shabby for the first book on Lisp I red!


There’s quite a few:

- Zed Shaw’s Learn More Python the Hard Way[1]

- Brian Hogan’s Exercises for Programmers (best for beginners or for learning a new language)[2]

- Hal Fulton’s The Ruby Way[3]

- Chris Ferdinandi’s Vanilla JS Academy[4]

- Marc-Andre Cournoyer’s Great Code Club (it’s old, and the community doesn’t exist anymore, but i think he still maintains it)[5]

- A few python books from No Starch Press (notably those authored by Al Sweigart)

I learned the most as a beginner from Zed Shaw’s work, and from reading open source code.

Once you’re done with the initial “learn from tutorials” phase, there’s no better resource than reading open source code.

[1] https://www.amazon.com/Learn-More-Python-Hard-Way/dp/0134123...

[2] https://www.amazon.com/Exercises-Programmers-Challenges-Deve...

[3] https://www.amazon.com/Ruby-Way-Programming-Addison-Wesley-P...

[4] https://vanillajsacademy.com/

[5] https://www.greatcodeclub.com/


> It's the same thing as people say about fires. When you put out a fire you are a hero. When you prevent the fire in the first place, everybody thinks it's business as usual and nobody understands why you are needed.

I got a dose of very cold water about this thirty years ago when I was building payware that improved developer productivity. I gave a presentation about its ROI, and afterwards, a developer walked up to me and gave me some feedback that none of the business-types had articulated:

Products are either vitamins or painkillers. People buy painkillers, because they're in pain. People postpone vitamins, because nothing is wrong and the benefits are always "later."

I didn't 100% change what I chose to build over the years, but from that time to today, I have worked on always spinning what I sell as an antidote to a customer's pain point, rather than as an investment they make to pay off eventually.

p.s. I don't know where that dev got the "vitamin/painkiller" metaphor, but it's sticky!


I keep this URL in my bookmarks: https://jemma.dev/blog/intermediate-vim-tips

Most advanced guides throw a lot at you at once. Digesting one or few commands at a time works better for me to really make it stick (and that is the goal right?)


This suggestion is humorous, but absolutely true: Potty Training In 3 Days.

Before having children, I thought I was fairly empathetic and introspective, but raising a child helped me realize how superficial those traits in myself were.

I'm being completely honest when I say this book made me a better leader and project manager - having a better understanding of the motivations of others, incentivizing those looking to you for guidance based on their own goals/desires, providing those with tools they need to succeed, and taking a macro view of a problem and allowing those under me to flourish and find creative ways to solve problems that take advantage of their strengths and idiosyncrasies.

I'm in no way suggesting that you infantilize those around you, just that teaching my toddler to shit opened my eyes to the way I approached problems, and Brandi Brucks' book helped me approach things differently with great success!


I keep this in my .bashrc

alias brownnoise='play -n synth brownnoise synth pinknoise mix synth sine amod 0.3 10'

It sounds like waves gently coming ashore.

I'm sure I collected it somewhere here on HN, because I don't know anything about how the command works.

Edit: I have these, too, and I like them all:

alias whitenoise='play -q -c 2 -n synth brownnoise band -n 1600 1500 tremolo .1 30'

alias pinknoise='play -t sl -r48000 -c2 -n synth -1 pinknoise .1 80'


For kids over 1 year, some sanity saving notes (I have more than 4 kids, was about to go crazy when I got my second and then learned the things below):

- everyone wakes halfway up multiple times each night to see if everything is OK. Make sure they don't fall asleep with anything that can't stay with them during the night: music, tv, light, food, drink or another person (you or others).

- to teach kids to sleep, make them feel safe about it. What I did was walking in at a fixed schedule, starting at exact 3 minutes between the first night (I used a digital kitchen timer back then, a smartphone later) and increasing by two minutes every night. Surprisingly fast, my kids learn that I didn't disappear, and he'll be around even if they don't cry. Once they realized this they started playing with the toy the were allowed to keep in the bed. But, keep in mind: don't stop coming back if they are silent. A major part of the idea is that they realize that they don't have to do anything to make sure we don't forget them. Oh: and keep a very close ear with them in the beginning so they don't wake up and think they are alone.

I never really could get myself to accept the idea that "they need to cry themselves to sleep" and every thing I tried before this didn't work on my oldest.

This worked on my oldest kid, she started sleeping through the night within a week and also became calmer and I got my sleep back. With the rest of them it took 2-3 days only since I started earlier (shortly after they was a year old).

Maybe other methods work too, but this was easy for us and we didn't have to let the kids cry to sleep or anything else I have seen recommended online that I didn't like.


A lot of this can be simplified to three questions:

1. What problem is your company solving?

If you don't get an answer, beware. If the answer sounds vague, beware. If the answer makes no sense, beware. If the answer is multifaceted, beware. This suggests that the company will not even begin the process of becoming profitable.

2. Who has this problem?

You should get a clear picture of an actual person. If not, beware. If that person has no money, beware. If that person has no pull within an organization, beware. If that person is high maintenance or fickle, beware. This suggests that the company will never find the revenue they seek.

3. What's your solution?

If the solution doesn't actually address the problem, beware. If the solution is too expensive for the customer, beware. If the solution can't be differentiated from its competitors, beware. If the solution has no competitors, beware. If there are a dozen solutions, beware. This suggests that no matter how amazing the technology or technical team, the company will not be able to execute on its business plan.


Pretty cool demo, if you want to make your own electronic music you should check out LMMS, it's free & fairly easy to learn the basics: https://lmms.io

I've been messing with LMMS for the past couple of years, zero musical training, following YouTube tutorials at first and came up with a bunch of stuff that sounds half decent in my opinion: https://www.youtube.com/watch?v=Tsjzt5QLGOg&list=PL54E2psbCL...


My recommendations for Mac Users:

* Put the Dock left or right, vertical space is precious (trust me, do it for a week and then decide)

* Setup Hot-Corners (Settings -> Mission Control -> Hot Corners)

   - Upper-Right Corner as Mission Control (Must be upper right so spaces are immediately shown)

   - Lower-Left Corner as Application Windows

   - just fling your mouse curser into the corner (use std. gestures on the trackpad)
This makes window management a lot better.

* Maximise Windows by double clicking the Window title bar.

* Disable auto-{correction, capitalize, etc}, smart-quotes under Keyboard settings (if you want)

* Learn about the screenshot shortcuts CMD+shift+{3,4}, 3: full screen, 4: select area or switch to window select with hitting space bar once.

* Learn about CMD+space for launching apps

* Set Key-Repeat to fast and shorten the delay

* Disable spotlight for everything except what you want to use it for.

* Enable File-Vault

* Disable "Wake for Network Access" under Energy

* Enable the ssh server under Sharing "Remote Login" (If you want)

* Disable the visual/audible bell in the Terminal profile.

* Install MacPorts/Homebew

And one thing to internalize is that Apple is a little authoritarian about some UX aspects.

For example the snapping and window thing... Apple has a thing with continuos freedom opposed to the discretisation one is used to. I've come around to that view as well actually, free your mind, nature is not a stepped slider.

Cool Utilities:

MenuMeters with a CPU usage graph. this allows you to see if something is killing your battery.

MonitorControl (on github) to set brightness of external monitors.

LittleSnitch ($$) for fellow paranoid control freaks

IINA (github) best video player

UTM for VMs (free on github) paid options are good too

MacPass for KeePass databases

Hope it helps.


Funnily enough, PHP (like, old school PHP) is a surprisingly neat fit for this style of programming when combined with htmx[0]

Tiny amount of glue HTML attributes, a heap of partials that are your PHP files and you’re good to go.

What is old is new again I suppose: we used to do this with PHP and jQuery once upon a time too — though LiveView and similar are far nicer of course.

I’ve been working on some personal tools with nothing more than Deno and htmx. Works quite well for my needs!

[0] https://htmx.org/


To be fair much of rocket science is essentially extreme plumbing

This merely shows that most VCs are utter dullards who want complex things -- using computers to solve some kind of business problem -- to be turned into something extremely simple and are willing to swallow a pile of bullshit for that to happen.

I'm sure Theranos' pitch deck was super tight and got right to the chorus while also being full of things that were impossible to create.

If pitches have to to be overly short because there are so many of them, do fewer of them.


> wins Free Expression Award

> gets downvoted

> removes downvote button


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

Search: