skysight-inc/HackerNews huggingface dataset:
You seem to be misunderstanding me.

I'm not saying India was one of the biggest contributors to both World Wars - it absolutely was. And yes, reparations would make sense, but there's no chance in hell the UK pays up, or they'll open the floodgates.

However to claim the Bengali famine had anything to do with that is misleading at best. Cotton, iron, coal wouldn't have helped the starving people, and there was enough food within India and the wider British Empire. It wasn't a choice between people in Bengal starve or we don't build enough tanks/send enough troops to North Africa. It was bad weather, the war ( the fall of Burma), incompetence, negligence that caused the famine, not a premeditated choice to sacrifice the people of Bengal for the war effort.
That brings up an excellent point. Services like these start to eventually render driver support useless. I haven't heard of Google cloud print, but I just looked it up. Even though it looks to be EOLed, there are alternatives still going, just not from google. My HP printer has an app. I can push documents to the app that goes up to HP then comes back down on to my printer, if I have my printer configured with that. I think my last printer, which was a bother had something similar where I could set it up on my home network in such a way that I can just email a document to a special bother email address which then prints it out on the brother printer.
> In terms of actual compression, HEVC has slightly better efficiency.

Where are you getting that information?
Working Across Departments
It's ironic that this is being investigated by an Irish institution when all these practices are blessed (by stonewalling investigations and refusing to take any action) by the corrupt Irish data "protection" authority despite being an obvious breach of the GDPR.
In my experiments from a few years ago, they were exactly even, in both size and speed. Those experiments were far from comprehensive, and both languages have changed since, but not really much. The differences between coding styles of different people are generally much larger than any difference I could imagine showing up in real programs.

What we can say is that both C++ and Rust can be much more concise, much more readable, and much less less prone to trivial mistakes than C or C-like C++.
You can simulate type opaqueness/nominal typing with unique tag/branded types in ts. We’re using it on high stake trading platform and it works very well.
Huh, and here I am on the other side wanting exactly that (different dist and DE though) but haven't gotten that part figured out yet, everything seems to have access by default... Seems end-user accessible docs still have some gaps eh (:
This article has a laundry list of things that annoyed the heck out of me. So I decided to try and dual boot to Ubuntu on my Surface Pro 7.

This may come across as a rant, but I do not mean it that way. I know the tears and sweat people have pored it into this. Anyway, here is the list of things that I found are broken:

- HDPI monitor support is BAD. Unity cannot do fractional scaling, resulting in perfect fonts on the menu, but such poor fonts in firefox that my eyes started to hurt.

- The SurfaceLinux sub-reddit seemed to suggest KDE/Plasma is better at this, which it is. I am trying this as my daily driver. The LTS version is still on X11, which means a common app like Obisdian.md actually caused the system to go to swap; I am still trying to figure out if this is the culprit.

- Trying Plasma on Wayland caused the system to hang. Fair enough, this is still under development.

- KDE minimal install, in its infinite wisdom, does not include the network manager applet. It is 2022, do you think users will not want to connect to wifi?

- Each time I switch from clamshell mode to multi-monitor, I need to reset the layout of the widgets on my desktop.

- Another easter egg in fractional scaling; the size of the cursor changes when you hover over certain windows or the task manager panel. I am not as familiar with the Linux ecosystem as I used to be, so I am not sure why this happens.

- Abandoning all hope of legible, anti-aliased fonts, I have tried to increase the font size across the system and in certain apps like Firefox and VS Code. You should see some of the hilariously bad KDE setting screens that cannot work with a font size of 16px (the default is 12px).

- SDDM seems to think I want an onscreen virtual keyboard even though I have a keyboard attached. It literally does not show me the login screen. I have to blindly tap in my password making sure focus is not lost on that box lest I never be able to login.

- Every time firefox starts the application renders like there is a rift in reality in the left bottom corner of screen. A forced maximize fixes this, but still.

I love my Wobbly Windows. I so want it to succeed. But architecturally, something just feels broken. The split between a display manager, a window manager and a compositor just means that instead of having to worry about one thing to make sure I have a working display, I need to worry about three things.
I dropped Windows for Linux with XP. I use Linux for all my computing needs, except a few video games that don't like Wine. For those, I do have a separate Windows machine that gets turned on to play those games (like a console), and turned off when I stop. Both machines are built desktops.

I never use the Windows box for anything else. No files, no coding, no internet browsing, no music, etc. No cameras, microphones, bluetooth adapters, etc. are installed. I turn that thing on every few weeks or so.

This has worked well, and is a compromise with which I can live. Try it, it's blissful!
Oh look, some more poorly informed personal invective! I had no idea it was possible to triple down on being a clueless dick, but you’ve successfully demonstrated that point. Alas, nothing else. Oh, and only two decades? It explains the rookie naïveté and flailing, ranting insecurities, I suppose. But I think you’ve got a fourth go in you, why stop now? I’m sure there’s a few more witless assumptions and unoriginal epithets left to fling around in vacuous defense of the indefensible.
> Look at the effects of mitumba in Africa or free rice in Haiti for example of misplaced charity.

What are the problems with mitumba in Africa or free rice in Haiti? I'm not American so maybe these are cultural references that I'm not familiar with.
Can you explain how those things are "infantilizing" beyond pure bias?

Instead of playing foosball and gaming online, we should be playing cards and drinking like previous generations?
The part of a CS degree you can't skip is the math. If there were courses just for taking this math and learning how to apply it in languages I think you'd see engineering numbers soar.

Also worth noting the obvious, this math isn't required in the industry but is used heavily in interviewing.

Source: am a dropout. Learning math was the hard part; coding and infra are the fun part.
If you are working with a crappy language then that's probably true. But it doesn't have to be a lot of boilerplate and it can be local in scope. In Clojure it's a one-liner.

(extend-protocol
libA/stringable
myLib/InputThing
as-string [x] (myLib/to-string x) )

(libA/some-func (myLib/make-a-thing))

And sure it can just be doing something as simple as returning an internal value directly or calling some common stringifying method. You do have a good point that you may have redundant stringifying protocols across libraries - which sucks.

> This will explode very quickly into lots of boilerplate code and is a good reason to use 'primitive types' in interfaces.

I feel you were so close and missed :) The natural conclusion would be to have primitive interfaces - not primitive types. This way libraries only need to agree to adhere to an interface (and not an implementation)
Even if it was, it's not like it's enforced anywhere near enough anyway. This kind of crap is a clear violation of the GDPR, has a broad impact (all Android users are impacted) so it should be a slam-dunk case and yet is allowed to continue despite the regulation being in place for over 4 years now.
Be warned that people are reciprocal. I had a business partner who would negotiate everything. We found that luck would turn against us. There would suddenly be added processes and bureaucracy. Partners backed out on verbal promises. People were turning down job offers or sleeping on the job. A banner we bought didn't include the banner stand because it wasn't "included in the price".

If you're generous to others, they may be generous to you. If you're cheap with others, they will definitely be cheap with you.
That last sentence seems to do a lot of heavy lifting.

Where does it fit in the red-green-refactor mantra?
This is pretty cool and useful. It seems to be taking a while to load, would love to see it in action.
I guess you're referring to items like these? https://www.apple.com/uk/shop/product/MX572ZM/A/apple-mac-pr...
Total Recall needed?

https://youtu.be/HnB9TgvXWUs
My friend got caught drunk driving in college. The local police turned him over to the campus police and then his parents donated money to the school.

I think this tells you a lot about the "continued adolescence" theory.
From the article:

>Google also provided clarification on the purposes of some of
the data collection observed. Namely:

>1) The message hash is collected for detecting message
sequencing bugs.

>2) Phone numbers are collected to improve regex pattern
matching for automatic recognition of one-time pass-
words sent over RCS. Messages automatically recognizes
incoming One-Time Password (OTP) codes to avoid the
user having to fill them in. This can be a frequent point
of failure and the phone number data is used to improve
recognition by providing ground-truth based on known
OTP sender numbers.

> 3) The ICCID data is used to support Google Fi.

> 4) Firebase Analytics logging of events (not including phone
numbers) is used to measure the effectiveness of app
download promotions (for Messages and Dialer specif-
ically). Namely, to measure not only whether the app
was downloaded but also whether it was used once
downloaded.
> Schools were founded on the principle that the best and brightest minds will teach the new generation (this goes all the way back to Athens).

IMO we don't really need the best and brightest minds to teach undergraduate level classes, most of the contents are not really that cutting edge and can probably be standardized. We want to best minds to teach, but I think they should teach research students rather than large classes.

> the lower tier schools will attract only those teachers who are more interested in pedagogy than the subject, or who themselves are not as qualified.

Sounds better than lower tier schools attracting teachers who are not interested in teaching at all... The current system mainly considers research output, so schools trying to increase their competitiveness will push the professors to spend more time on research and less time on teaching. Teachers who are very qualified in teaching might not be able to spend much time in teaching at all.
Perhaps 1984 was itself written by the Thought Police to demonstrate the futility of rebelling against Big Brother....
If you pay too much you spoil it for everyone. Vendadores don't work for themselves so no matter how much money you give them - they have to stand in the sun.
There's a decent number of people looking to buy the USB accelerator for use with Frigate but lead times are going way into 2023.

I've been trying to get one for ~1yr but it's not happening any time soon.

It's not a complaint, but I'm surprised they're releasing new hardware soon when people can't even get the hardware they have now.
Fair enough. I don't think capitalism is the source of the problem, though, but public trading of company shares. And more specifically, the concept of fiduciary responsibility. I honestly think that's poison in how it misaligns incentives and that it's socially a net negative, if we assume that the societal purpose of a company is primarily to provide services to its customers.
> Imagine a Germany in which the rest of your life isn't determined at age ten

What you imply here is entierly untrue. I know lots of people that made their Abitur after having been to the Haupt- or Realschule first. That is not to say that the school system doesn't have its problems -- it clearly has -- but you are painting a picture that is not rooted in reality.
Non-dotcom domains hurt startups
For anyone who's bothered about the way the "flap" was traditionally created for Lasik (i.e. a blade – no, I wouldn't have liked this either!), there is now commonly a bladeless laser-based approach. They still have to move the flap off and on but it's a second or two in a 10 minute procedure and saves many post-op hassles of PRK.
> emerald scion

Got any evidence of this beyond what his estranged father said?
Or even a sudoku solver: http://ravimohan.blogspot.com/2007/04/learning-from-sudoku-s...
Forget Ubuntu and their old software, Fedora GNOME is where its at, finally a forward facing distro for workstations and professionals. I highly recommend giving it a shot.

Fedora is the new Ubuntu: https://www.youtube.com/watch?v=D9h_0dnSGWk
The Gnome-ish shell on Pop 21.04 running on my full AMD laptop (5900hx cpu/apu, 6800m gpu) works smooth as butter. It games great and I'm using with 2 monitors one being 165Hz 1440p and the other 60Hz 4k. I had to enable Wayland on the login manager config files.

No driver installation required. I have no regrets for ditching my Nvidia RTX 3060 hardware.
It's absolutely pure unadulterated evil, deliberately overwriting memory owned by the interpreter in ways that the author knows will result in corruption, bizarre behaviour and crashes.

It's also a 13 year old awesomely messing around with cpython internals in their spare time. Bravo!
> Also how are you going to provide the additional goods and services these people will be able to afford

So, we provided more products to people who now have money. And now you are asking "Who will pay". Well, the people who now have the money to pay for it? That was the reason for increased production in the first place?
My problem with this definition is what "tests a bit of code" means.

For example, in a codebase I work on we use a custom sort function, and memory manager. We have tests for both (as you would expect).

However, both sorting and allocation are fairly large pieces of code. Does that mean any test of any function which calls sort or allocates memory isn't a unit test, as it's (indirectly) using something much bigger than a single function? But "stubbing" out either sort, or memory allocation, seems stupid (the stub would just have to do the same thing).
This was superseded by Sonic Pi https://sonic-pi.net/.

The author has said that if he would do it in Erlang if he was starting again now.

Here's a talk with him and the late Joe Armstrong.
https://www.youtube.com/watch?v=4SUdnOUKGmo
The dealer will not charge less than he can afford. He’s not being coerced into beggary. There is clearly a market. And tourists will still overpay as they always do.

It’s not the tourist’s job to worry about the knick knack dealer’s finances. That’s patronizing, presumptuous, and shows a lack of boundaries. Unless you’re dealing with a beggar where a transaction may be merely symbolic, I don’t even see a legitimate opportunity for charity here. Even then, you could still contribute to entrenching poverty by encouraging a tourist culture that inculcates dependence on charity. Authentic charity and generosity are governed by reason, not sentiment.
Fixing Googlebot random mobile usability issue reports with CSS
Some hopefully useful thoughts. Well done for launching.

* users of photo sites are justifiably worried about how this business is sustainable (or will everything just get deleted). What's your plan?

* Add Creative Commons licenses

* how do I edit or add a title to a picture after uploading?

* Is there a web version? This is a big deal if not.
It does actually work very in-browser office 365 powerpoint on linux.
> "YouTube" in the name (Could be considered as a false association and trademark violation by Google or YouTube)

This is an important point. The "insert popular company name" for "insert industry" works great when you have just launched but this statement should be ditched as immediately as you get some traction.

I liked how, the Reddit client App "RIF" started. It was first "Reddit is fun", now it has become "RIF is fun".

No matter how benevolent you think the company you are referring to is, at the end everyone wants money, and the survival rate using this strategy is close to zero.

Without naming any names, I have seen certain startups claiming they are the Stackoverflow or Quora of "X" industry. The path Stackoverflow's ownership is taking, I bet they will start suing these companies for false representation sooner then we can imagine.
Ask HN: Codebases with great, easy to read code?
A colleague told me the best way to level up coding skills is to read excellent code.

Do you have favorite repos that highlight this?

I have an irrational fear of unknown codebases since it feels most of the code is either boilerplate or tied to some framework.

Do you have tips and tricks you use to read codebases?
Why is that surprising?

That's 400mA at 5V, seems reasonable to me.
From my perspective both btrfs and wayland have significant benefits: proper touch support on wayland and multi-disk filesystems + snapshots on btrfs. It's all about the use case.
It doesn't matter if the via size is bigger than the distance between pads, or the ball, if in fact the via does not need to be there. All that does matter is whether the via is bigger than the ball sitting on top of it, and enough so to touch the next ball over.
How many jobs in those niches though can a local market actually sustain? IT doesn't just pay high - it's a huge unmet need in the labor force.
“ Because it's a very libertarian and capitalistic view of how life”

Why that bad? Is a very socialist or communist view on life better?

Seems like a bias rather than factually supported.
Fedora 36 releasing next month will ship with Wayland enabled by default for NVIDIA as well.
The atmosphere I remember from 1984 was one of futility. The state had locked down sufficiently that individual rebellion of any sort was infeasible. Am I misremembering?
Unfortunately, trying to hide the fact that you are using a particular privacy-conscious browser is generally impossible. The best you can do is hide amongs all the other users of that browser.
Also: “my work was extremely valuable to a group of academics, but not worth publishing.”

What?
I disagree with you. I found the common engineering subjects to be of lot of interest especially workshop. Being a polyglot it has helped me immensely in many things be it with work or outside of work. For eg: Being in embedded product development, I have to wear multiple hats from Software, firmware, PCB design, mechanical enclosures etc and I get to use my skills when I sit with all these teams.
We had this super aggressive magpie that we fed occasionally, it would sometimes swoop me, sometimes clip my head with its wing tip and then land in front of me, expecting food.

Not sure if it didn't recognise me at first and aborted its bombing, or if it was messing with me.
The Dark Empath: Characterising dark traits in the presence of empathy
Not only do they have enough money to begin with, but they're earning way more from this than any fine they can realistically expect (if a fine ever comes, that is).
Yes. You can (and sadly do) receive spam SMS. Google Messages is quite good at spotting them
Emacs supports both RTL and math rendering (and not just in preview but inline too). I think this kind of flexibility is part of what is driving the popularity of plaintext… there are dozens of modern web apps for everything, but if you need an idiosyncratic combination of features, old-school tools are sometimes one of the better options.
I really enjoyed it but I think you can do better.

You did a really awesome job on the script, like really, but you lack animations and footage while talking.

Cut more often to other footage while talking over it, I don't hate your face but illustrations of what you're talking about would help increase viewer attention.

Generally, spend more time on the post-production and editing and afd more animations to explain what you are talking about!
English is a world language, at least when it comes to engineering. I don't understand why chinese people prefer to write chinese documentation. Surely they can read and write English. I'm from Kazakhstan and when it comes to comments or other technical docs, I prefer to use English, it's just lingua franca of IT.
There seem to be a lot of "music programming language" posts all of a sudden on HackerNews, many of which, like this one, have existed for years. Not that it's a problem, but I wonder why the sudden interest.
Yes indeed, I believe you are referring to this WIP: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1241

There is a super nice demo there that sheds light into what I'm trying to convey.
An attempt has been made, at least.

https://www.youtube.com/watch?v=BKm8FolQ7jw
> How are you assuming a known dictionary and a known word count? And for the other examples, you’re somehow assuming a fully precalculated rainbow table of all possible such PII. Seriously…?

Obviously deciphering all messages is not feasible but I think GPs point was that you could put together a table that would get you some decent proportion of messages. For example, if you assume an alphabet of [a-zA-Z0-9 ] then you'd only need to calculate ~63.5 billion hashes to get all messages up to 6 chars. Similarly you could use a dictionary to put together tables for short sentences.
“Water” also means condensation or humidity from just the weather or even some rain sprinkles.

They seem to design their products for Cupertino weather , specifically the weather inside their spaceship lab and fake model homes. Or is just good ol’ “planned attrition”..
Bytes are certainly simpler than Unicode.
I once bought a car this way. Guy pulls up to buy wipers for an '83 T-top 280ZX Turbo six-speed. Tells me I can buy it for $1000. I open my wallet and told him that I have $350. Deal done, for one of the best cars I've ever owned.
Working with sway on a Thinkpad since 2 years now. Stuff like media/brightness buttons and multimonitor setups (now with kanshi) each took a bit of learning/trying but running perfectly now. Since I am using NixOS my config always just improves and will always be available in a Git repo for when I switch to a new machine or finally also change my gaming desktop from Ubuntu to NixOS.
Now that you mentioned tearing, I noticed that I can't even remember when was the last time I saw one. Before switching to Wayland/GNOME and then Wayland/Sway there was a dark era where I was fighting/struggling to keep a tearing-free video experience and crazy config to keep my keyboard layout in-sync when switching desktops/windows etc. Really glad that there is another option on the table.
Challenges and opportunities towards AI solutions adoption
Well ignoring the silly stuff this would just boil down to something like:

request = NetHttpTransport.Request()
request.setConnectTimeout(getDefaultTimeoutFromEnvironment().seconds)

which is verbose, but at least it's fairly clear.

And yes I'm calling a class named HttpRequestInitializer silly, I don't care if some language decided it should exist.
Manjaro isn't known for its stability. The Linux desktop would have a better reputation if people first tried the big name distros instead of small derivatives.
Doesn't it say "a truncated hash"?