skysight-inc/HackerNews huggingface dataset:
Completely agree with you.

I stopped working with Java not because the language or the ecosystem. I stopped working with Java because Java developers and their culture of over-engineering everything defending it as "clean code" and "good practice".

But this seems a taboo topic in a culture infested with "good practice gurus".
You’re right that the shape is used again and again, but the pattern of how it is laid does not repeat. So the new thing here is that there is a single shape that can cover the plane AND that it does this without the pattern repeating (and as an aside it cannot be made to do it with repeats)
per capita doesn't matter. Only total matters.
> TL;DR: If you don’t need to preserve order of the elements, sort the slice first and dedupe.

And if you need to preserve order of elements, there is always sort.Stable!
Nah, totally different than channels. And Goroutines are proper managed threads with their own stacks.

As an aside pipelines are terriblely unergonomic. The public APIs are not fully developed and something simple, like IDK creating an actual processing pipeline, is funky as all hell. Creating a pipe wrapper feels dirty.

The buffer management is cool though and sequence seems like it should have just been made a first class slice type..
And the '80s style sweatbands, genius.
This could be one of the rare opportunities for more backend-oriented people (well, "non-front-end" people) to make something end-user-interesting by taking some appropriately licenced UI and running with it: put an existing "card table" web client in a tauri app and add some "Desk Area Network" distributed backend.

Might be a fun demonstration project for persons or orgs wanting to show off distributed consistency protocols. You might even add some blockchain to the mix if you have a thing for stale buzzwords. For a company with a product in the distributed consistency field, it could make a nice trade show booth giveaway: "this is actually our product, and you can even challenge each other on the plane back home, that's how special it is"
Outbox Pattern is just that. Put a connecter (e.g Golden Gate for Oracle DB or Debezium) and get it done.

Keeps things simple and reliable.

The only drawback we saw was that there will be few second of latency as system scale; if that doesn't matter
Thank you for sharing! I was considering making the same thing when learning Chinese but never took the time, so I'm curious: how long did this take? And how challenging was it?
For small stuff, rabbitmq and celery are hideously heavy to use. I had issues with celery-for bg tasks that are scheduled you could not execute further async requests in the tasks which was mind blowingly useless. This was years ago.

Nowadays for small stuff I just create a simple script that uses asyncio, I can async request stuff and run_forever etc and handle it all as a docker service.
They are a type of procedure with irreversible life-altering consequences that somehow you think children can consent to.
After corona was pushed through, and given that the child-per-woman count is already approaching 1 in many western countries, I believe you are wrong. A one child policy could easily be pushed only with the right narrative and public opinion. Just declare big families as a climate disaster (they are) and let everyone know how irresponsible women with more then one child are. Bingo. People have been trained to look down on each other just recently, so use the drive and... outlaw children!
I had the same issue, unfortunately my washing machine does not have an API. I used a raspberry Pi with a camera, using OCR i was able to detect the remaining time from the display. Having an API like this would have been so much easier.

I did create an opensource web app so you are able to see your remaining time, laundry history, and get (push/mail) notifications. Since you only need to push the remaining seconds to an http endpoint it probably is easy to use with the solution described in the article.

https://github.com/styxit/laundry-admin
The UI could be such there's always two selected, and if you unselect one, it adds another.
Ah, Mystery Meat Navigation! The cardinal sin of UI/UX design [0]

[0] https://en.m.wikipedia.org/wiki/Mystery_meat_navigation
Simulating playing cards is surprisingly hard.

Doing so flawlessly at consistent 60fps in a mobile browser is quite the feat, don't you think?
Unfortunately we bear a big responsibility as engineers as we let them use us for so long building insane amount of wealth on our back and now they are turning against the little and the poor which Hatever half-truths they can find, could be climate change could be something else
Tail calls make stack traces harder to read and it looks from the outside like java development is primarily about reading stack traces
Ask HN: Examples of real-world SSH MitM attacks?
I am teaching a Linux course and I would like to give some concrete examples of security incidents which involved an SSH MITM attack. To my surprise, I could not find anything online. I have a hard time believing they do not happen.

If you have a good story involving any kind of common sense violation when it comes to SSH fingerprints, would you please share it to motivate future colleagues to do better? Examples of common violations I see in practice: not checking the fingerprint upon first use, ignoring the "remote host identification has changed" warning, only checking a part of the fingerprint optically (instead of typing/pasting the fingerprint), etc.

Thanks!
Someone did the same with Lotus 1-2-3. Previous discussion: https://news.ycombinator.com/item?id=31455968
> Just make everyone pay for not just their consumption, but also for the damage it is causing on top. Problem solved.

More like problem stated. Determining true ecological impact is not trivial even if you ignore all the perverse incentives.
I'm a little sad, that they didn't manage to get this to run on the M1/M2 macs. Less call translations needed, as the Switch itself is running an ARM.

Ryujinx did manage to create a build that also works very well on my M2, but hasn't been updated since half a year.

Still very impressive what they achieved already
It's unreasonable for the company to want you to stick around for 3 months before you switch jobs, but it's not unreasonable to ask a company to let an employee who has been with them for years 3 months' (notice or severance) before they fire them (as the power balance is not equal - the employee is supposedly dependent on that salary for their livelihood and not everyone can instantly land a new job after being laid off).

Overall even as a business owner myself I prefer the pro-employee German system over the free-for-all American one.
Visa and Partners Bring Interoperability to Digital Person-to-Person Payments
On devices like the Nvidia Jetson Nano you can also train models.
I think Raspberry Pi will move in this direction.

The Jetson Nano has replaced the Raspberry Pis on things like the Donkeycar project. I guess they don't want to become obsolete.
Python is a shell, the one you mentioned, xonsh

And PS doesn't include things for free, it brings a lot of baggage from the same company that made the win32 APIs unergonomic, though it does have a few structural advantages like typed data

(the easier part to Get-/Set- could be losing the pinky-typed dashes since you already separate by Case, and for such common things you could even just use gFoo sFoo)

But none of these options are anywhere close to the ergonomics needed to bring non-technical users into the fold
Well, it would be uniquely challenging for the director to do his duty or to blind himself, being that she's a woman. And, as mentioned in the article's subtitle and second sentence, the first woman to direct the Goddard Space Flight Center since its founding in 1959.
What exactly do you mean by "leaky" here? Can you give an example?

My main issue with non-erased generics is that they actually break reasoning wrt. parametric polymorphism as soon as you allow for pattern matching or even just .isInstanceOf on type parameters. Suddenly a function which takes a List<A> can do entirely different things depending on what A is... and that takes away a powerful reasoning tool.
There's no evidence to support that statement.

Given he continues to talk with the man at times (he replied to one of his tweets the a few days ago) and there's no evidence to support the idea that he did it for monetary reasons, other explanations are much more reasonable. Namely that it was a simple mistake.
For the environment this is obviously true, but you change the total by treating everyone equally and expecting them to make the same per capita movements. It's not equitable that wealthy small nations have an infinite excuse to do nothing because they can't pollute as much as China if they tried. The citizens of China and India should have to suffer carbon cuts alone because they happen to look like the worst perpetrators when you blob together pollution by countries?
It's a selection bias to think you have insight into enterprise success based on how your friends fared there...
To follow your argument here, perhaps the person in question believes the Pale Blue Dot to be more meaningful than a legal document. I certainly do - it’s a wonderful book that absolutely captures Carl Sagan’s sense of wonder for the universe, which to me seems like exactly what you should want from a NASA director.

Most importantly, it also sends a strong message to the staff within NASA about how the new director views them and their work given how political appointments have become.
The Poetry Contest Edna St. Vincent Millay Lost
I used to listen to radio 4 constantly. I gave up, a lot of there content started to contain a militant unquestioned political slant. For example, woman's hour (which used to be really good). It seems every other segment is on why men are bad. BBC still do amazing things, it's just a shane what radio 4 has become.
So potential is good enough justification?

Anyone can carry a poison or a pathogen or simply be highly trained and know a lot, no need to carry anything, or even be obviously muscular.

I suppose it must be reasonable to bar anyone who knows how to lock doors and start fires, or mix cleaning supplies. Assume we had an equivant way to scan for it like a metal detector or a frisking.
Whether gay people are opressed or not has little or nothing to do with the success or failure of representative democracy.

There have been entire eras without democracy when being gay was acceptable or even consider just fine (at different city-states in ancient Greece for one). And there have been democracies were gays have been repressed.

All the examples you gave are about small minorities too, which is not the thing that democracy focuses on in the first place. Those more about changing cultural norms and morals, which can then be encoded into policy, with or without a democratic vote. The same things can happen under any sham democracy or even dictatorship. In the latter it can also just be a official decree. For example, as for "access to gender reassignment surgery" you know that has been a thing in Iran for decades, for example, right?

A lot of these policy changes can also be used as a cultural side show (the "culture wars") to mask the lack of democratic policy in areas that affect everybody, and were those in power have actual interests, such as the economy, foreign policy, surveillance, police brutality, jobs, and so on.
Well, it was the easter weekend last weekend, plenty of people have days off, spend time with family or on a short vacation; I don't know when this went down though.
Chips optimized to perform the type of calculations used for NN inference at high parallelism. A good example would be the google spinoff https://coral.ai/ (though their usecase is highly limited by sub-par software constraints)
Not just you. That was very annoying. If something is partially visible, you should be able to scroll down to see all of it.

Actually, I'm pretty sure that's one of the best ways to telegraph to someone that there's more to discover.
Building a Combat Robot from a Nintendo NES
This seems like the goldilocks zone to me. A day's urban driving comfortably, and fossil fuels for the very occasional long trip.
"..and the amount of effort needed to produce a single binary."

A couple of minutes ? Even timed this with another HN Java disbeliever who said its too much effort.
> why should they bother to change anything until China improves it's own power production either?

That one is easy: because the USA (and Europe) have been the ones who pumped nearly all of the carbon that's screwing us up now for the last 100 years or so. If you take the accumulated amount of carbon emissions, I am sure you'll arrive at the conclusion that China must not be blamed for the current crisis (you can only accuse China of not helping solve the mess caused by others - which is valid but something else altogether).

Not to mention that, on a per-capita basis which is what matters when you want to blame people for using too much carbon, China is still much lower than the USA... in fact the USA is off the charts per-capita compared to even the most modern other economies.
Cultural Studies,
Future Studies,
Artificial Intelligence,
Information Technology,
Futurism
...more ▾
With cultural evolution new processes of thought appear. Abstraction is universal, but rationalization first appeared in ancient Greece, theorization in Renaissance Italy, and model building in twentieth-century Europe. These processes employ the methods of metaphor, metalingual definition, algorithm, and control, respectively. The intellectual and practical achievements of populations guided by the several processes and exploiting the different mechanisms differ so greatly as to warrant separation into cultural ranks. The fourth rank is not completely formed, while regions of the world and parts of every population continue to operate by the processes of earlier ranks. It is the continued emergence of fourth rank and even fifth rank cognition that constitutes the coming singularity, not the emergence of “superintelligent” computers, whatever they may be.
completely is the important word — there were plenty of paid-only tools back then that were part of OracleJDK but not OpenJDK. Oracle made them open-source.
>> Gradient descent is a search in model space for one that best models "meaning" relations in the data, among other things.

Not at all. Gradient optimisation "searches" for a set of parameter values that optimise (maximise or minimise) the gradient of a function. In machine learning, the function is some measure of error over a set of training data, that is to be minimised. There isn't anything in gradient optimisation that has to do with "meaning" at all.

What I think you're saying is that by training on a lot of text, a language model somehow learns to minimise its error on the meaning of the text. If you squint a bit, you'll see there's an obvious gap, there, between "text" and "meaning", and it seems to me you're trying to close that gap by alluding to how humans close it. But that's just comparing apples and oranges. As Yann LeCun pointed out recently (there was a video of a discussion with Andrew Ng posted on HN a few days ago) for a human to "train" on all the text that large language models have trained on, the human would have to read several books a day for some thousands of years. So whatever humans can do to learn how to bridge the gap between text and meaning, that's not how language models do it, and drawing an analogy between the two obscures more than it elucidates.

>> This is incredibly sophisticated mechanical pattern recognition with many layers.

It's incredibly complex. I don't know what "sophisticated" means. Is a jumbo jet "sophisticated"? I'd say it's a very complex machine, but that doesn't mean it has abilities other than the ones it was manufactured to have. Complexity is not magick, you know. We have maths for it and all. Those are even foundational maths of computer science. If we started imagining "meaning" everytime complexity cropped up in computer systems, we'd be up to our knees in it.
Your dunning-kruger is showing

1 the conviction of chauvin was an outlier event that took exceptional circumstances to achieve. The point you prefer to avoid is how rare this is.

2 is in bad faith. Your country is majority white.

3 is begging the question. How's this: your social bubble thinks Chauvin should be exonerated, and your bubble is in a moral panic that the uppity n* are getting their way.

4 typical yankee parochialism. Trans people may or may not be more free than they have ever been, in your short view. In other cultures and at other times they have had more recognition. I do grant that they have more medical options now than ever before, but OTOH infowars - by which I mean, whatever "culture war" teat the alt-right trogs suckle on nowadays - is very much a phenomenon of today

4a "largely to protect women" oh oh oh it's for their own good! Silly me

4b "rightly" contested is begging the question again
Do you do anything for fun or to unwind? This sounds like a mindset that will end you up in burnout. Resist the capitalist mindset and have fun.

(note: eve online is probably not fun for most people, lol)
Paint coatings can make a massive difference to temperatures in a home. People understand "black paint = hot", but that isn't even necessarily true, and there is far more to it.

I believe building regulations should require specific performance from paint on new buildings, and that commercial painters be required to replace any paint on a 'same or better' basis.

Performance would be measured on the basis of watts of absorption under sunlight, and watts of emissions to the night sky. It is possible to design paint that visually is any color, yet maximizes or minimizes each of those parameters independently - therefore allowing you to choose a coating to minimize energy use for the building in whatever climate surrounds it.

I think if all buildings were painted with optimal paint tomorrow, we could probably shave more off the worlds energy consumption than all EV's have saved so far.
I don't even know if this counts as a plug-in when it has an electric only range which betters electric cars of a few years ago. Maybe a whole new category electric cars with optional ability to use petrol.
Reliability of ChatGPT GPT-4 isn't consistent in my experience. It seems to respond to prompts differently, but I'm not sure yet if it's based on the number of prompts in the last 8 hours or overall server load. I would guess that the API is more consistent than the ChatGPT frontend, but can't confirm for sure.
AGW is physics not politics.

It was sound physics in the 1970s and better understood now.

Koch (and other) funded anti-AGW propaganda is poltical spin to ensure profits continue to roll in for energy barons with no attached costs.

That started ramping up in the 1970s's and has confounded the domain since.
When I opened this I hoped it would use the triangular interpolation interface I remember from SimAnt’s resource control setting.

1: https://codeplea.com/triangular-interpolation
It necessarily does. That is also the case where it might cause a rehash, however that’s less certain as many hashmaps will trade memory for storing the hashes to avoid recomputing them over and over. I’d assume they can use these hashes directly when reallocating, though they still need to perform collision resolution.

Either way properly sizing the hashmap is a good idea. Though load factor needs to be take in account, and I’m not sure whether the average hashmap multiplies the capacity by the maximum load factor in order to ensure there’s actually space for the number of items intended. I’d hope so, but…
Okay. I don't really care about the HTMX team attitude, the way they start their blog posts (that I don't read) or this funny concept of "frontend-fatigue-fatigue" so... what's left for me is a very useful tool for certain use cases that they kindly offer for free. But to each his own.

I know nothing about Alpine, will check it out.
https://youtu.be/h376W93gQq4?t=160
> many BEVs’ batteries aren't used to their full potential very often. This means BEV drivers lug around redundant capacity and weight,

And hauling around a whole ass ICE, fuel tank, cooling system, emissions and exhaust is better and also not a waste. Countries are pushing their emission standards down to 0. Where does even a tiny gas engine fit in that scenario?
Not really as I recognise that transportation involves many solutions - active transport (walking, cycling), EVs (including scooters, e-bikes and cars) and public transport. No one solution solves all the issues and journeys of different lengths will lend themselves to different solutions. Unfortunately, too many people think that only car transport is an answer and use cars for short trips when walking is likely to be quicker (certainly much healthier).
Thing is, we wouldn't even need a tax to do that; we'd simply need to cut the exorbitant subsidies that go to meat and dairy production, and put them into foods with a better nutritional value/carbon impact ratio. A litre of dairy milk should simply never be as cheap as a litre of soy milk. The market value does not represent the "true" price to the consumer because of heavy government intervention.

The figure in this study sums it up pretty well, discussing what percentage of money and how much goes into each agricultural sector: https://www.oxfordmartin.ox.ac.uk/blog/meat-and-dairy-gobble...

To be frank, every country's subsidy ratio should look like India's in my eyes.
When I first moved to Canada, I had no money. I lived in an apartment block with a coin-operated washer and drier. But I always had to go down the hall to check if my laundry was done.

So I had the idea to wind some wires around the power cable to detect the electromagnetic field changes when the machine turns on and off. Then this could send a message to a Raspberry Pi which could ping me somehow.

I didn't want to leave my Raspberry Pi hanging around in that semi-public area though. Also, I couldn't afford one at the time anyway!
The younger generation chose Go because they're dumb and fell for the Google marketing hype. Most of them have never even used Java outside of school.
amazing, soon we will all be just prompt wizards casting our spells using arcane gestures
Perhaps for a $300 dollar steak or a $10,000 pair of socks which I’m sure also exists somewhere , but the exception does not disprove the rule. Price is correlated almost perfectly with the energy it took to create the item for the majority of consumer goods and thus CO2. This is why switching to green energy will not work as your expensive lithium batteries actually took an enormous amount of resources to make and so on. Rising inflation and rising consumer prices are the opposite of what we need.
It's been many moons, also there is an OSS debugger produced by Samsung.
Hmm if the mirror has a large hole in the center, you can have one cut and roll it along the tangent. The major radius can be big and the rolled mirror only be the length of the minor radius.

Ie if you have a 45 meter circumference and 5 m hole, the major radius is 22.5 meters but the minor radius is only 20 meters and it can roll into 20 meters. It will have one discontinuity though that would cause artefacts and might destroy any advantages from the additional size.
It's called CO2 fertilization and it has already had a positive impact on the amount of green plant matter on the planet.

https://www.nasa.gov/feature/goddard/2016/carbon-dioxide-fer...
For author recommendations, there is also Gnooks AI:

https://www.gnooks.com

The recommendations seem to get better with every author you rate.
Does this exist but for web content?
ie. Enter an URL of an article, tweet, video... and get in output recommendations related to the content
There was no problem anywhere in the world until they came for the children.