skysight-inc/HackerNews huggingface dataset:
I'm on the fence. It's a very nice device if you can get your models working on it - basically untouched at the price/power point. Drivers for me have been OK. I have an M.2 card connected to a Jetson devkit (makes for a nice embedded test bench) and it runs fine, no worse than the NCS for setup anyway^. There were a couple of PCI settings to tweak but I documented the setup here [0]. For common use cases it's a decent option, I think. For custom models you really need to know what you're doing.

The main issue I've had is that the compiler behaviour differs between versions (and it's very difficult to find older releases), so where previously you could run a big model and delegate things to the CPU, now it sometimes won't compile at all. There were also problems where we trained a model in AutoML - using free credits but the real cost would have been over $100 - and the edgetpu compiled model lost a lot of performance for no apparent reason. The developers have been very helpful when I've contacted them, and generally you can get through to real devs (not generic support) who can look at your model for you. Mostly I think you need to take care when training models for these devices, but quantisation-aware training is not trivial to use in Tensorflow and there are only a few off-the-shelf models which are supported in the various toolkits. Model maker looks promising, but it's also finnicky in my experience [1]. I guess that's my main caution: it's often very difficult to figure out why your model performance goes to crap when you compile it, especially if the input TFLite model is fine.

I'm not super worried about hardware availability. They're suffering from the chip shortage like everyone else, so it's not surprising that lead times are long. I was able to buy my device in late 2020 without any trouble.

They also make a nice little environmental sensor + OLED board that's compatible with Pi headers and is the same form factor as the Pi Zero. A bit odd, because on the Coral dev board the heatsink is squarely in the way and you have to buy an extension header for it.

[0] https://github.com/jveitchmichaelis/edgetpu-yolo/blob/main/h...

[1] https://www.tensorflow.org/lite/guide/model_maker

^Remember that time when Intel released an OpenVINO installer that clobbered any existing OpenCV build on your system?
Advocatus diaboli: WHY is it not an "appropriate" question for NH, and who decides what is appropriate?
Systemic thinking is hard. It's hard to just say that a worker is worth some amount, because that worker is using tools that you own, and most of the productivity is from the tools.

Furthermore, the important factor with is compared to your competition. I'll give an example - let's say you want to buy a gas station. You can pick from a rural location and a highway next to the city. Which do you pick? That's not enough information, because obviously the gas station that gets more traffic, the city highway one, and thus higher profits, is going to cost more.

What happens if both gas stations get a raised minimum wage? You claim that their profits will drop, and if their profits drop then so does their land value. For the existing owner this is going to be a hit they have to take, but for you, someone who wants to buy after the change, you just put the numbers into Excel and it spits out a new formula for what you bid. The new number is lower, but your new ROI is exactly the same as it was. The only thing you really need to check is if the new land value for the rural gas station is negative, if it is, don't buy it. You don't have to fire anyone.

Minimum wages produce dead-weight loss, yes. But it's minimally small dead-weight loss, and in return they give workers collective bargaining. That collective bargaining gives workers more money, which can they be spent(which will in-turn allow you to raise gas prices slightly, this and many many other side-effects occur), which then creates incentive for more businesses to expand. It's countering the dead-weight loss coming from monopolistic practices. I wish we didn't need that bargaining, but until anti-trust has some teeth it's a required hack in the system.
If we could remove rent-seeking behavior, I would love to remove minimum wage with it.
I have had offers to be paid to work on specific things for github.com/pion/webrtc and github.com/pion/dtls. I took one and it wasn't as great as I thought it would be.

I really value the autonomy/independence I have now. I enjoy not having to make compromises. No deadlines to meet, no business goals and no creating stories for promotion. Instead I make the software as good as I can.

Working a job unrelated to your Open Source project is the best place to be. You will probably make more money. You don't have to worry about clients paying on time. You don't have to worry about things like health insurance or 401k.

Open Source is also great for the resume. Since it is all public you have a body of work that makes it much easier to get another job.
Most sections of the codebase that are actively developed are very readable, but I still got quite lost in the core parts of xact/multixact recently. I feel that is more of an exception, though.
It's very easy, except when it's hard. Also, it's never easy.

Joking, but only somewhat. That's because the easy cases are handled by automation, etc. If you knew it could happen, you probably planned for it. Figuring out what the issue is, if there really is an issue, and the scope of the issue can take some time.
>MIT hasn’t offered me any financial aid

>Z has offered me what essentially amounts to a full-ride scholarship.

The answer is clear, and you can always do a masters degree at MIT if you just really want to have that on your resume. Burying yourself in unnecessary debt is a stupid decision that millions of people regret.
I did, and went with S22 ultra at the end. Long term nikon full frame shooter. I must say both iphone 13 pro max and this are very formidable devices, each has their strengths and weaknesses, took quite a bit of time to decide. I like how S22 feels like a real computer where I can plug my variometer for paragliding via OTG cable, side load apps of my own choice, use normal charging cables like rest of the universe, upload/download files straight from filesystyem without any installed apps and so on. I am getting into whole S pen experience, its pretty nice for sketching or precise mouse-like work ie when editing photos in phone. Apple notch making it look like some basic 2015 chinese phone is just a cherry on the top.

As for cameras, 10x physical zoom is not something to neglect, Apple doesn't have anything to offer there. In past 2 weeks I have it, I've shot quite a lot of otherwise impossible kids, family, nature, animals etc. pics with this zoom. That was my main motivation for new phone - a camera for pictures I always have with me, unlike dedicated camera (2.5kg being just a detail, I didn't mind carrying it but I didn't have it a lot of casual times where great situation happened).

Another reason that swayed me - with this upgrade I wanted to improve headphones, priority being quality of sounds and battery life to play my collection of flacs. Airpods Pro were just not cutting it, went with Sennheiser momentum 2. You can't connect iphone and Senns via some above-default bluetooth protocol, they support aptX, Apple has their own solution and nothing else.

Rest of cameras are +-comparable, sometimes one wins other times the other. BUT - this over-processing that Apple is famous for is something I don't like, as long term DSLR shooter I 'have it in the eye' how processing should look like. A lot of people got so used to it though, they consider ie full frame pictures with normal level of processing bland and artificial compared to Apple's.
You can't attack another user like this on HN, regardless of how wrong they are or you feel they are. We ban accounts that post like this, so if you'd please read the guidelines and stick to them in the future, we'd appreciate it.

https://news.ycombinator.com/newsguidelines.html

Edit: actually, since this has been a problem for years and we've given you many warnings, I've banned the account.

https://news.ycombinator.com/item?id=30592438 (March 2022)

https://news.ycombinator.com/item?id=25710103 (Jan 2021)

https://news.ycombinator.com/item?id=24476795 (Sept 2020)

https://news.ycombinator.com/item?id=23523359 (June 2020)

https://news.ycombinator.com/item?id=22611405 (March 2020)

https://news.ycombinator.com/item?id=22551679 (March 2020)
Pegasii: Monitoring and Alerting as Code
Almost anything from suckless.org.

Here's a windows manager (dwm) and it's docs and build system in 13 files and just around 3000 lines of code.

https://git.suckless.org/dwm/files.html

And sbase, a sort of "busybox-like" set of common *NIX base utils written to be small and portable. Some of the commands are just a few dozen lines.

https://git.suckless.org/sbase/files.html
I still run Unity on a bunch of machines here, but it's old now and starting to bitrot. I haven't even tried on the 1 or 2 boxes that have hi-DPI displays: it's not worth it.

On non-*buntu distros, I use Xfce. It can't do fractional scaling.

Only a handful of desktops support it. From my research, I found 3:

• GNOME Shell. No thank you.

• KDE 5. Better, but still a no thank you from me.

• Cinnamon.

I looked at Cinnamon on Ubuntu and Debian, but the versions are quite out of date (Cinnamon 4.8.x). I wanted the latest 5.x series, and that means Linux Mint, the parent distro of Cinnamon.

So I now have a box with Mint 20.3 and a Liquorix kernel. It works well, it natively can mount my NTFS partition with the in-kernel driver and understand a Core i5 11th-gen GPU.

Cinnamon is a little clunky and a little hard to customise, but it does actually work in the way I broadly expect and can put up with, unlike either GNOME 3 or KDE 5.
I hate to be the "it's complicated" guy but "excellent" is too broad.

I see every day code that is elegant but has bugs, ugly code that is foolproof, optimized code that performs abysmally because of some architecture change that happened in between, and a lot of abominations that make the code bad for guy A and good for guy B (e.g. a neat typechecked, object-oriented, very elegant, Pythonic numerical code that is 100 times more confusing for your research level numerical analyst than an uglier but functional Matlab script).

What I agree on is "the best way to improve X in my code" is "read code that has quality X".

Given the broadness of your question I suspect you are still finding your way around programming in general. If that's the case my method is to be driven by curiosity.

- Why does macOS behave this way? Let's look up xnu's code
- I wonder about list implementation... Let's look at cPython code for appending items to a list

And so on... There is a lot of open code for stuff we are using everyday. It is interesting to get into it.
fedora is down.
Hello YC!

Pegasii aims to make it dead simple to add Monitoring and Alerting (MnA) to your projects. Configuration is done by way of YAML files, easily checked into version control and applied much like other "as code" tooling. It'll be free to host on your own (Pegasii is a single binary), and of course we plan on providing a hosted version for a subscription fee. Regardless of where you host or how large your monitoring needs grow, you'll be able to use the same config files everywhere, allowing Pegasii to aid your product with minimal friction as it grows from a single developer to many teams.

I'm building Pegasii to address shortcomings that I've encountered in the past. When I worked at a popular restaurant reservation company we had MnA defined across several tools. One tool did use files that could be versioned and checked-in, but at the end of the day it was a bunch of fragile hand-escaped SQL queries and curl commands wrapped in Bash scripts. The other tools were defined in various GUIs, such as Grafana and Kibana, and it was difficult to know which rules were defined where. Change management and auditing just didn't exist. Changes to teams occasionally resulted in incidents with unmonitored inboxes getting the alerts. Pegasii aleviates these issues by having entirely declarative monitors defined in a central location.

On a few instances I've worked at smaller companies where MnA consisted of a single Pingdom account (or they had no MnA at all). While convenient for checking website uptime, it's just not going to trigger an alert for important business metrics like low user signup rate or if a certain API endpoint misbehaves. Small companies that don't care about change management will probably rely on the Pegasii dashboard - which will export config files once the company is ready. The simple interface of Pegasii will hopefully encourage earlier MnA implementation during a project's lifetime.

Pegasii is still under development and a public beta is in the works. If you would like to be a part of the public beta then please drop your email address in the signup form on the webpage. I'll also be checking out your replies - I'd love to know what you love and hate about your existing solution.
This is just a casual observation from a back end/infrastructure guy perspective.

Does building a rich GUI experience on a web application need to be this complicated?

I still remember the days when rendering are mostly done on server side and Javascript was used as progressive enhancements. The web application back then were quite interactive and building them were somewhat simpler than the current state of the art.
I wrote something similar in Pluto.jl (Julia-native reactive notebook), but mine focuses more so on the apparent analemma from a given point on earth at a given time, rather than explaining the fundamentals of how an orbit gives shape to the analemma.

Interactivity requires either running Pluto locally in Julia (`using Pluto; Pluto.run()`) or hosted on Binder.

https://notthemessiah.github.io/pluto/analemma.jl.html
The issue with using S3 cells as a raster is the inefficiency in storing information.

You're basically making a row in a DB for every _pixel_ with the S2 approach.

The main point of raster storage is that it avoids the overhead associated with the "row for every datapoint" approach. E.g. the X and Y are implicit and it's simply a big array of Z values, then (optionally but commonly) a sequence of additional downsampled Z arrays for efficient lookup of low-res versions. These are typically tiled for efficiency of extraction of sub-regions. The simplest systems are flat pyramids of raster files in a bucket or on a filesystem. Things like tileDB are essentially a couple of layers on top of this type of idea. Either way, the basic unit is a few thousand pixels instead of 1 pixel, which is generally more efficient, as users are usually requesting millions of pixels.

A key advantage is that things are fundamentally in raster format and don't need to be translated back to raster format for the end user.

Basically, the requests / etc that wind up being made are for fundamentally pixels that are parallelograms of some sort in regions that are parallelograms of some sort. After all, this has to go into a .tif/.png/.hdf/etc container at the end of the day. There are a lot of advantages to storing data in a form that's close to that.
Reminds me of the Beast of Gevaudan.
not to mention you can use that as a way to spy and choke your competition out when they rely on you
This is awesome. Do you mind sharing the json data source you're using for the NBA data?
So it’s “poor security design” when a user with root access specifically disables the security and bad things happen?
How do you know what classes to take?

That's kind of my point - the nature of "study on my own" is different than "can I find the resources I need to solve a particular problem". College is creating a problem of "pass this test" or "complete this assignment"; studying on your own, yes, you don't know where your blind spots are or where to begin, because you don't have a problem you're trying to solve. College provides you some, but they aren't fundamentally different than work problems. And while some classes may attempt to 'teach' the material, the ones where that was an effective use of my time (rather than just read the textbook, or those where class time was unrelated to the projects we were graded on) were definitely in the minority. YMMV.
I think you and others that left deserve the support of then western world.

I’m a software developer in Germany. If you can think of a way I could maybe help, mail me at mail@konstantinschubert.com
I don't know a lot about the graphical stack, window servers, etc. All of my professional work has been on systems with no graphical components. I am trying to understand what you are pointing out. Is it that there is no separate "Wayland service" in the way that there is an Xorg service? That Wayland is just a protocol? Is using Mutter as a Wayland display server not "GNOME on Wayland," even if there is no separate service running?
Sure, and someone who's going to MIT is not a "typical coder in the rest of the USA".

It's like life expectancy. A 20 year old in a developed country has a far higher life expectancy than a child at birth in Somalia. You can completely discount the vast majority of the group.
It's relevant to point out that there's a certain element of "look at the ridiculous natives" to this when the article does not even mention that this is not a problem isolated to juju, but one that is found everywhere, including with Christian groups. Especially when talking of the difficulty of challenging such beliefs, which is something many of us here will have if not faced directly, then at least grown up with it being a consideration even in relatively secular societies.
Even if one conceded (and it's conceding a lot) that Summers was involved in bad things, one needs to consider the counterfactual. In a world where Summers had died in childhood, are we imagining that the USSR would not have collapsed? Where this collapse would've lead to some sort of social democratic paradise? Or what? I mean, people aren't seriously arguing this, are they?
the comment I'm replying to is about the contract and legal obligation, not the logistics of replacement
Add to this any type of conversion or relations between units.

PIXELS_PER_INCH or BITS_PER_LITER rather than SCREEN_SCALE_FACTOR and VOLUME_RESOLUTION, avoids all kinds of mistakes like inverting ratios etc.
They could just do without they really could. They're just hypocrits that can't lower industrial output and wear warm clothes.
Here in New York I've seen listings use extremely bright, daylight-emulating lights to make rooms appear "sun-drenched" when their only window faces another building, and remain dim year-round.

I even saw this on a video walkthrough of an apartment – they clearly had placed the lights right outside the window.

Finding a place to live is challenging.
Differently from earlier refugee waves, the Ukraininan one may well be a net positive for host countries. I keep hearing stories by refugee helpers that these people want to work, to the point where they refuse host locations if there is no infrastructure (and no jobs) nearby.
Yeah I posted about that here (this just bit me) https://news.ycombinator.com/item?id=30757193 and I was flagged to oblivion.

Looks like I really need to keep a 3rd party nav app installed just in case!
The post originally asked about Python programming. OP made it more general on purpose.

I'll (tongue-in-cheekly) prompt you with the following:

Language: Whatever qiskit is most familiar with OR has a favorite recommendation for (based on qiskit's interests).
Domain: Whatever qiskit is most familiar with OR has a favorite recommendation for (based on qiskit's interests).
My ex-gf was Korean and she assured me that fan death is scientifically backed. Her logic was that running a fan in a closed room can result in asphyxiation due to CO2 accumulation. But she said that this only applies to Korean rooms, which are smaller than normal rooms.
Prime lenses on cameras are much better quality for the same price, so the best kind of zoom is already the one with your feet.
no cap frfr
I find Ramda very easy to read! It's a functional Javascript library based on currying and composition. https://github.com/ramda/ramda/

I find a lot of code fairly alienating to read. Lots of codebases require you to get into the "mindset" of the person who wrote the code: their idioms, assumptions, patterns they lean on, etc. So unless you've got the time to get deep into it, the insights you can draw from reading it are minimal.

Ramda, by comparison, is just a library of utility functions, and all of those utilities perform very simple operations: merging, plucking, appending, equality checking, etc.

There's a lot of intention in the Ramda API as well. All functions are "data last," meaning that the actual piece of data you're operating on is the final argument to every function. This enables you to write Ramda code that is very structurally consistent: function parameters first, data last, every time.

It gives me a sense of empowerment, reading the code. It's like "This doesn't have to be rocket science. If you just start from these basic operations, and write those basic operations with a simple but strict ideology of 'data last' every time, and stick them together like lego blocks using compose, then you can achieve some very cool stuff with very little code."
Thousands of Apple users complain of issues with the App store and iCloud
Cryonics, and other lies we tell children
their collapsing economy
There is a lot of overlap. There is also a lot of subjectivity at play.

Personally, I think of MMOs in a mostly gaming context, with some niche offerings such as Second Life or VR Chat leaning more towards the beginnings of a simulation-like experience.

Whereas with the Metaverse, I imagine the transition of traditionally physically-based tasks to a virtual or augmented reality world. These tasks could be work meetings, hanging out with friends, taking classes, along with lots of other things, including playing games, which is where the confusion between MMO and Metaverse reaches its peak. Some people seem to lump Web3 into the same basket though—as I said, lots of subjectivity with this being such a new and vague term.

The term 'Metaverse', at least as it appears to me, is so vague and broad as to almost render it meaningless. As a proponent of mixed reality I've been disappointed to see how Facebook has latched onto the term to the detriment of MR's reputation. Although, one could argue this is a bit more forgivable when considering the massive efforts they've undertaken to improve the accessibility of early VR.
But now it just sounds like you're saying, "When the code changes, the code changes." which feels obvious?

Of course when you change some of the code without changing other parts that rely on the original code, it will break. I'm not sure why that's unique to hooks.
The funny thing is that when I first brought home a book on Cocoa programming in the mid-2000s, my dad (also a programmer) saw it and gave me almost an identical line to your last sentence. He said it was a waste of time, that I'd never make money doing it, and the market for Mac developers was tiny.

I've been doing Mac (and sometimes iOS) development almost ever since and as of right now make almost 2x my dad's career-high salary. That tiny market has treated me very well.
Interesting - so, to reinterpret: are you saying that one of the significant changes that open source brought about has been to remove purchasing approval barriers for software usage?

...and that we're stuck in a local minima where we now have to get over other, similar approval barriers to send money back towards open source projects? (in the case of projects that accept funding, at least)

(it's possible I've misinterpreted; and, for what it's worth, I think there are other reasons that FOSS has succeeded in addition to what you say - but I like that way of looking at the current landscape)