skysight-inc/HackerNews huggingface dataset:
A problem I have with Python tracing is Django-specific: often my trace is a ton of Django internal code and doesn’t even point to my code that’s causing the problem.

Not sure if there’s a way to address this kind of issue. Or if it’s common elsewhere? Just this experience of “what I wrote is being run in the context of some library internals and so it spits out the internals.”
> Spend too much time on Hacker News? I made an extension to freeze the front page so it updates once every 6 hours.

Me, I just open a guest account, or a new profile, etc. Meaning, the extension is at most a reminder to try to stop. it's still trivial to bypass
In the set-associative cache that was my brain in 1998, MP3s occupied the same slot as XDCC'd Amiga mods. But much bigger files. I was carrying around giant folders of CDs at the time. Also: you had to listen to them... on your computer? I had a whole discrete stereo system. Why would I want to listen to music through game speakers?
It seems like not enough people are using it to make a difference. And the people who use it, also uses other platforms for the same purpose. Correct me if I am wrong.
> What you do with your talents and resources is what counts.

This os the argument made by right wingers. No different from "pull yourself up with your bootstraps" and as a famous US rapper asked "pull ourselves up by the bootstraps? Where the f*ck are the boots?!"

Privilege isnt an issue of individuals, and I will never condone hate aimed at individual for supposed "privilege". But the people - before the word "woke" was plastered as a slogan for upper middle class white kids - have always been complaining that the system is not working to create an equal and fair society. Its selective. Its not in plain sight. To stay "woke" is to notice the subtleties of this new version, evolution of keeping black people as sub-human, incapable and dependent. To be woke ws to see the global order of economies and statecraft is mostly and pretty much exclusively European, the same people who see you as sub-human by holy writ. Thats a hard pill to swallow. You are kidding yourself if you think we can ignore all that and keep it moving.

To make an anology. Its like ocean fish being dumped in a fresh water river. People can sit on the outside and point proudly - "behold. The fish is in the fresh water and not in exposed atmos. Eat. Mate. Lay eggs and be merry." Do ocean fish really want to live as fresh water fish?
> But I don't think methods like Mastadon or Reddit really facilitate this.

Reddit offers two features for supporting intentionally-small communities: first, you can restrict posting to accounts that have been manually approved (although I think voting is still open to anyone with a Reddit account), and secondly you can make the subreddit private such that only approved accounts can see its contents (which solves the aforementioned voting problem).

As for Mastodon, that's a matter of setting up your own topical instance and restricting who can make an account.
>I hate that they call this having a "near-collision"

>They came close to having a collision

What?

>but there was nothing like any sort of collision

Because "near"
If you change `latest` to the version [0], then you'll get that exact version.

Additionally any external dependencies can be specified by just accessing them the same way you would in `nix-shell`, just using the path instead of installing. For example, if you wanted to use the "awscli" (the only Python package I already created within AppFS) you would do:

$ cat /tmp/aws.py
#! /opt/appfs/rkeene.org/python3/platform/latest/bin/python3
import sys
sys.path.append('/opt/appfs/rkeene.org/aws-cli/platform/latest/lib/python3.6/site-packages')
import awscli

print(awscli)

$ /tmp/aws.py
<module 'awscli' from '/opt/appfs/rkeene.org/aws-cli/platform/latest/lib/python3.6/site-packages/awscli/__init__.py'>

[0] https://browser.appfs.net/rkeene.org/python3/linux-x86_64/3....
If you’re using django, try Sentry. It’s good at sorting out the noise from the signal, including separating parts of traces that aren’t relevant to your app.
you've been able to switch for a while but it wasn't obvious, i kinda stumbled upon it one day.

i find the new tabs at the top of the screen take up too much space and they scroll down when i go through my timeline. (i browse on my laptop via firefox, no idea what the mobile experience is like)
I like some of the reddits. /r/programming is pretty good, though with significant overlap with HN.

Slacks are fantastic, if you can find focused ones with good moderation. For example, the Rands leadership slack is, bar none, the best place to go for engineering management advice: https://randsinrepose.com/welcome-to-rands-leadership-slack/

I presume the same is true of focused discords, though I haven't really found any of those that stand out.
I don’t smoke usually but, the difference between a bag of chips and a cigarette butt is that the cigarette butt is on fire and smells bad.

You can easily put an empty bag of chips in your pocket or backpack and carry it with you until you find somewhere to dispose of it responsibly.

With a cigarette butt, it’s difficult. And also it’s very small anyways so it may not seem like a big deal.

The solution is to give up smoking. If you stop smoking then you won’t have any more cigarette butts that you need to get rid of.

One neat thing I’ve seen in some places is a “poll” where they ask a question with two alternatives, and they have people put cigarette butts in the compartment corresponding to their choice. Here, the photos on this website explains it better than words: https://ballotbin.co.uk/
The DFT is the correlation of a signal with a bunch of regularly spaced apart single-frequency vectors.

The fft is what you get when applying dynamic programming (memoization and recursive subproblem division) to the DFT.
What do you count as thrown out? When I cut the hard stalks off of broccoli that makes up a significant percentage of the food by weight. But they aren't really edible anyway.

If I lived on a farm then I would feed all the food waste to pigs, then eat the pigs to achieve near zero food waste. Just like my uncle used to do. But I live in a suburb and my neighbors don't appreciate pigs (or compost piles). So anything we can't eat goes in the garbage.
Show HN: Trendquiz – Google Trends Trivia Game
Made this game with a few friends for fun. Enjoy! If people are interested, I'll add a bunch more topics.
Setting up blocklists is a one time thing. I mean I get your point but I see why not a lot of effort goes into this aspect.

I also think for DNS blocking you're best off just adding one list and being done with it. Adding lots and lots of lists only opens you up to more fault positives and problems down the line IMHO.
May I ask what was your original argument against Mastodon?
Show HN: I made a Chrome extension to help you transition to Mastodon
I imagine you believe the money you keep with the company known as your bank is yours as well right?

Just because it’s a company doesn’t mean they get to behave like assholes and then put the blame on their users for being gullible or ignorant.
Em... No. Have you used a Mac? They only ask you once during setup, and have only one popup asking if you are sure.
I wrote some blog posts about how I came up with my username (and even associated logo!):

- https://blog.leftium.com/2011/07/my-personal-branding-part-i...

- https://blog.leftium.com/2011/06/my-personal-branding-part-i...
Elementary school was mostly a figure of speech. It should really be an ongoing learning track, starting as early as possible. I think in gamified and simplified form one can definitely setup trading games and the like and "get them while they are young". Later adapted to the cognitive abilities of each level. Content is not strictly just about monetery systems: a number of other core concepts from economics and law / contracts in particular.

The bottom line is that modern society is absolutely obsessed with money and knows practically nothing about it. Not a good combination.
You were able to switch to "latest tweets" before as well. The control was top right next to "home" label, the icon looked like stars.

The only thing that truly changed is "latest tweets" got renamed to "following" and it now takes up more vertical space (53 pixels to be exact) completely unnecessarily for something you're quite unlikely to click on on a regular basis.

Change for the sake of change. Doesn't actually have an impact on anything.
> why would anyone believe they ever stopped

They didnt, congress authorised then reauthorised the programme and are going to reauthorise it again.
Yes, there was some questionable comms around pipenv being "officially recommdnded" which upon closer inspection seemed to have come from the people who wrote it and not really been that official so far as I could see! That seems to have been walked back after a while but not before it gained traction and randoms bring up that it's official even now.
It can be a male name, here's a random example I found in Google: https://earth.stanford.edu/events/energy-seminar-naomi-hiros...
Yep, this still works at least on Windows 10. I did it about 3-4 months ago when setting up a laptop for someone. You do need to fail a few times in a row before it lets you create a local account.
One feature I really liked when I used evil, which wasn't present in vim, was search/replace with `s/` replicated the case in the replacement string. So `s/one/two/` would replace `One` with `Two`.

Great when you want to refactor a name that's used both as a variable and a CONSTANT in one go.
You should be able to fix your local user name in lusrmgr.msc (select your account and press F2).

I’m using a Microsoft account, but to avoid this nonsense, I created it as a local account (because this laptop shipped with Windows 11 Pro RTM, so I could still do that) and converted it to a Microsoft account. If I didn’t have this option, I would probably create a Microsoft account with the dumb default name, then create a local account, delete the old account, and convert my new local account.
Correct (Paperwhite 1 for example).
There's lots of other solutions, but I've had zero problems since swithcing to osid and I pipe a lot of things (Nintendo Switch, kids iPads, my Google phones, my laptops) through it and it hasn't given me a single issue.

It certainly DOES let through a few more trackers, but that's the cost of a list that doesn't cause problems.
In French, we once had a poor translation that said: "Laissez-nous tout". Well the "leave everything to us" original was maybe already kind of weird.
That could have been be the update after the one that famously deleted the content of your download folder.
AWS Cost Optimization – Lifecycle rules for S3
old school programmer thoughts on 'work around commas in cvs data using awk/gawk programming language':

Instead of using awk/gawk straight up/out of the box, can code/program awk/gawk or use non-awk/gawk stuff to convert to different format to work around issue.

[edit this when have simple working example:

edit1: one non-awk/gawk way to avoid the cvs comma issue would be to use jq to convert column data to different format.

]
gForth is probably the closest you'll get to a batteries-included ANS Forth. It has a lot of libraries and does have some GUI libraries. It definitely has networking and some amount of db words, I'm not sure what it's concurrency situation is like.

8th is a great not-Forth. Highly recommended because of how practical is.
Efficient Software Release Management with Automated Changelog Generation
A development and release process with automated changelog generation and how to configure it
Will the war in Ukraine spell the end of Transnistria?
I must admit I just gave up on all these tools. Instead I just do

pip install -r requirements.txt -t .lib

and I have

import sys
import os

sys.path.append(f"{os.getcwd()}/.lib")

in the top of my script. Some will tell me this is silly, but it just works. Rememer to at .lib to your .gitignore. Else you'll have lot of fun.
A sound you can't hear but may one day change your life
Applications of game theory in deep learning: a survey
Awk is an amazingly powerful tool. I remember writing an awk script in an interview once (instead of using Python), and the person giving the interview was amazed at how fast it could be written and how fast ran.
As someone who plays fps games, I always have two responses when I see some BS happen during the game with things like lag, hit reg, etc.

As a consumer, my first reaction is fuck activision this is bullshit, bunch of incompetent dimwits.

The flip side however, as someone who knows better, sympathizes and says, wow it’s amazing this works as well as it does.

Awesome article, especially for anyone who plays games and does technical work.
And even if you _could_ trust the baseband on your device, there’s the problem that the cell tower is running software you have no visibility of.

If I were the NSA, that’s where I’d be focussing at least some of the attention of the “exploit people’s phones” department. If you want cellular connectivity, the cellular provider needs a real time way to identify your device and it’s location (at least down to neatest few cell towers accuracy).

(And once I had some capability there, the people running the “most secure basebands/devices would be the ones I kept the closest eye on. I’ve heard my local intelligence service are very interested in phone switch on/off events, because they are a signal that someone might be attempting to evade surveillance, and the rarity of “normal people” switching their phone off (or disconnecting from the cellular network) makes it worthwhile collecting all that “metadata” so they can search it for the “interesting” cases.
twitterrific as the post mentions is still no go
Intraday adaptation to extreme temperatures in outdoor activity
This is similar to how node is doing. I just basically copied that idea.
Communications nodes, like wireline CO switches and (if it hasn't changed since 3G) mobile data nodes that support lawful intercept (LI) capability are required to be able to hide that (1% of the node capacity, IIRC) traffic from node operators, and to be controlled remotely from an LI console. It's a good bet that social networks, and especially their communications features need to support LI, with similar requirements.

Twitters designated contact probably left the building in the first week of Elon.
There's no way they've stopped.
I can't imagine it makes the most sense unless you got two of them side-by-side--though that would depend on the nature of your work. I use a 43" 4k 16:9 monitor and don't use the full height, leaving part of the top and bottom edges empty. Moving your eyes/head that much vertically just doesn't seem very natural or ergonomic.
gawk/awk can be coded/programmed to do joins on data in cvs files without having to sort input first.
I've been using Cinnamon for years now on Fedora. No issues with crashes on my end. I like it as far as I'm concerned it is a solid piece of software, it works and it does what I want I don't need to touch anything to have it working the way I prefer. It may not be the fanciest or have all the bells a whistles but it is what I like.

When I first started using Linux in the early 2000's as a university student KDE was the environment that managed to get me to switch over from Windows. I appreciated just how configurable it was. I would spent hours tweaking my desktop getting everything setup just how I liked it to look. It felt like there was a configuration setting in KDE for just about everything. I remember spending an afternoon procrastinating as a student picking the perfect font for the system clock.

All of that seemed to come at a cost I remember it gradually felt more and more bloated and things became less responsive over time I reached a point where I cared less and less about being able to customize things and more about just having a useable system. I kind of grudgingly used Gnome (in the Gnome 2.6 days) I was never really enamored with it but it "worked".

Gnome 3 lost me as a user completely I just did not mesh with the new paradigm they were going for. I tried out KDE again but this was around the time they were having stability issues and there was some new file indexing system they were using I'm not sure if it was just badly implemented by my distro but it was incredibly resource intensive it would freeze the system for 2 to 3 seconds at a time whenever it kicked it. So I moved on tried out a few other environments like XFCE for a while before settling on Cinnamon.

On a semi-related note does anyone know what happened to Enlightenment? I remember that was the much hyped up desktop environment back in the old Slashdot days I never really hear about it these days.
Does any FOSS package ecosystem have a good solution to this particular set of problems?

I know Go has historically done something interesting with selecting the "minimum viable version number" for each dependency, but that's the only relevant idea that comes to mind.

With PyPi, at least it's relatively trivial to self-host a pypi instance and self-manage dependency updates.

In the Python ecosystem (vs e.g. Node), at least the total set of first+second-order dependencies for most normal projects is quite small (e.g. medium double digits to low triple digits). It doesn't feel too painful to manage that magnitude of upgrades on a monthly or quarterly basis.
Sounds like you had doctors performing the procedure who have gotten sloppy because most of their patients are too sedated to tell that the procedure is being done incorrectly and unsafely. As you know perfectly well, the colon doesn't have that many sensations available to it. I've watched a biopsy being taken and been able to feel nothing (which is itself uncomfortably surreal). I suspect discomfort mostly comes from the doctor forcing the scope around bends rather than guiding it. Again, it's not supposed to be comfortable but when done properly the discomfort should mostly be localized to the rectum and the usual sensation of pressure/urge for bowel movement that accompanies any insertion.

If we didn't have the major butt stuff taboo in our society, it would be most efficient for rectal insertion aficionados to be recruited during training of physicians for this procedure, as they could reliably inform the physician whether the procedure was causing safe or unsafe discomfort.

I am gratified to hear yet another anecdote of doctors themselves choosing to go with no sedation, which matches the research I did when I chose to start requesting that way myself. Maybe you should also be concerned with the disparity in how that request was initially met, between a "fellow doctor" and "stupid patient what does he know, let's sedate him anyways". And get a better gastroenterologist.
Show HN: Caff.ai a Caffeine Manager for better sleep and more energy
Hey HN, I often don't know if I can have a coffee at 2pm and started logging my caffeine intake so I wouldn't be up until 2am.

For me it was never as easy as a cut off time (ie stop coffee at 1pm) because I vary the amount and timing of my coffee day to day.

I made an app that helps you stay in your custom 'daytime target range' and under your 'bedtime target' caffeine level. It can predict how much caffeine you'll have at bedtime and tell you what time your caffeine will be below a configurable sleepable level.

I also added a feature that gives you a notification 30 minutes before you can have your last cup of coffee and still be under your bedtime target at bedtime. This helps you stay maximally caffeinated while minimizing the negative effects.

I have over 600 drinks in my drinks list, and I'd appreciate any feature suggestions or tangential app ideas as well.
gonna dig deeper there then, thanks
The first tip off this was not in the US was the word "pension" which has long gone the way of the dodo bird in the US.
Thanks for the assist here.

I come from a different angle where I see these as the vestigial artefacts of colonialism and we should be adults in the room entrusted to "fix the map".

Point Roberts should go to Canada. St Pierre and Miquelon should also be part of Canada. Puerto Rico should be a either a US state or a sovereign nation. Same goes for Guam, Marina Islands, Virgin Islands and American Samoa. There's dozens of things like this.

I frankly don't care about arguments of power. We should be relying on better behavior and not devolve into covetous impudent children acting like whiney teenaged monarchs from 500 years ago.

We will never be able to successfully tackle the global problems of 21st century pollution, climate change, resource allocation, etc, if we insist on acting like adolescent brats playing Risk.

It'll probably save a bunch of money as well. The British maintaining the Falklands and Gibraltar probably isn't cheap.

After that we should start returning cultural artifacts captured in war that have been requested back but held up in the victors museums for decades. It's time to move forward and start being adults.

We're going to have to do it eventually. Whether that's now or in a hundred years after making things worse is up to us.
Personally, I'd prefer not to condemn 2 billion people to war, famine and poverty due to avoidable consequences of human nature. Sweden ostensibly has a similar political climate, but I wonder if it's still true when push comes to shove.
Actually that's partly how it works.

A trained model holds relationships between patterns/colours in artwork and their affinity to the other images in the model (ignoring the English tagging of images data within this model for a minute).
To this degree, it holds relationships between millions of images and the degree of similarities (i.e. affinity weighting of the patterns within them) in a big blob (the model).

When you ask for a dragon by $ARTIST it will find within it's model an area of data with high affinity to a dragon and that of $ARTIST.
What has been glossed over in discussion here is that there are millions of other bits of related images - that have lower affinity - from lots of unrelated artwork which gives the generated image uniqueness.
Because of this, you can never recreate 1:1 the original image, it's always diluted by the relationships from the huge mass of other training data, e.g. a colour from a dinosaur exhibit in a museum may also be incorporated as it looks like a dragon, along with many other minor traits from millions of other images, chosen at random (and other seed values).

Another interesting point is that a picture of a smiling dark haired woman would have high affinity with Mona Lisa, but when you prompt for Mona Lisa you may get parts of that back and not the patterns from the Mona Lisa*, even though it looks the same. That arguably (not getting Mona Lisa) is no longer the copyrighted data.

* Nb. this is a contrived example, since in SD the real Mona Lisa weightings will out number the individual dark haired woman's many times, however this concept might be (more) appropriate for minor artists whose work is not popular enough to form a significantly large amount of weighting in the training data.
There will almost always be some PTZs, but they are more of the exception than the rule. Also, when they are PTZs, they will tend to have smaller imagers and be 1080p max in previous eras (4K is more common in the last couple of years). The assumption that article makes about these cameras all likely to be 4K or 8K PTZs with the longest lens options is just absolutely wrong.
awk/gawk can be setup to associate field numbers with field names (via command line, from file, or user input)
I am always impressed at how duplicitous Gosling both is, and admits to being.

It is of course dead false to claim that at the time Java came out, other languages than C were dead. C++ was going gangbusters, and Python was rising.

That he sought to fool programmers about the nature of the Java runtime is anyway consistent. That he utterly failed to understand the nature of the things he cribbed from C++, and so got them spectacularly wrong, does not seem to have sunk in even yet.