skysight-inc/HackerNews huggingface dataset:
cache with grace period ("serve old record while new is updating") is good solution here
https://i.reddit.com/r/worldnews

Seems to still work.
Other non-flawless actors — US in the liberation of France and occupation of Germany.

But many, especially it seems on the American right, like to “both sides” no matter how clear cut.
Are there democratic societies on this planet?
Of course.

I always vote in the EP election.

I just find it incredible that when the results are in the people at the top are some guys I've never heard or seen before. And I don't believe I'm uncommonly ill-infomed.

Moving power further away from the electorate should be a last resort for issues that can simply not be handled on the local level.
> We’re reaching the diminishing returns

Yes, for digital computing. But computing is on the cusp of becoming more non-determistic, which will allow analog computing to absolutely demolish digital computing in performance.
Starting an empty watch face project has a ton of deprecated warnings as well. Not very reassuring...
Still weird to me. Even with that reasoning, deposits can be lent out to make money. Loans might not be paid back. I would think a bank with $100 in deposits and $50 in loans is better off than a bank with the reverse.
Yep, it's the same pattern of thinking generally in the media and populous. Some law or politician 'solved' some problem. Then you dig deeper and see they changed how they count the stats to hide it, or just shifted the problem to some other part of the system that isn't really any better. Or eating eggs will kill. Next they're healthy so eat as many as you want. No, let's go back to them being unhealthy.
Zig and Rust
When is inplace in Python Pandas faster?
Love a landing page with no explanations.
Growing up in a developing country, until recently Apple devices (laptops/desktops especially) have been a bit out of price range for me. Although I can afford one now, my current laptop is nowhere near its end of life, and something in my soviet-scarcity-mentality-influenced mind doesn't feel right about upgrading just for the sake of upgrading. That said, Apple laptops look very convincing at the moment, and when the time comes they will probably be my first choice.
I wouldn't call just mapping sql result to struct as ORM.

I'd draw a line at generating queries that are more trivial than "get a record by field" as ORM. Below that is just syntatic sugar over raw SQL.
You might be thinking of Zendo [1]. "Zendo is a game of inductive logic in which one player, the Master, creates a rule that the rest of the players, as Students, try to figure out by building and studying configurations of the game pieces. The first student to correctly guess the rule wins."

[1] https://boardgamegeek.com/boardgame/6830/zendo
I’m not the parent poster, but what they likely meant are annotation processors. They are basically a compile time mechanism that can create new classes based on the used annotations in the program (important, they can’t modify existing classes! This is so that reasoning about the code is easier).

This is mostly used by libraries and is seldom used for actual applications (I mean, annotation processors themselves, ones implemented by libs are definitely common), for example MapStruct is a really cool library that generates mapping code between two classes, one can specify which field/property maps to which and thus making a common, error-prone operation very readable and easy to maintain.

With that said I disagree with the original statement that one should absolutely know/use these tools, similarly to macros in other languages these are very advanced/last resort mechanisms that are very great in that rare chance they are needed, but overuse of them can make code very hard to understand.
Oddities have been seen on other distros, and if it's a server, trying to deal with it remotely has additional challenges.

Ubuntu seems to be doing reasonably well at not shipping ZFS related oddities so far, but not everybody runs Ubuntu.
Best Hope for a Safer Chicago
Microsoft justifies A.I.‘s wrong answers, saying they’re ‘usefully wrong’
Looks like you can disable the news part by going to the Google Now feed > Settings > General. Unselect "Discover"
Twitter takes legal action over source code leak
We also use GPT to perform actions in the software I build at work and we hit the same issue of inconsistency which lead me down a long rabbit hole to see if I could force an LLM to only emit grammatically correct output that follows a bespoke DSL (a DSL ideally safer and more precise than just eval'ing random AI-produced Python).

I just finished writing up a long post [1] that describes how this can work on local models. It's a bit tricky to do via API efficiently, but hopefully OpenAI will give us the primitives one day to appropriately steer these models to do the right things (tm).

[1] https://github.com/newhouseb/clownfish
Oh yeah you're right, thank you. I think the way you phrased it makes the most sense now.
did you do a memory test? grab a linux usb stick and select memtest86+ on boot and let it run overnight or for how long as you can
Well, we actually vote for the EU parliament every 5 (?) years here in Germany. Where are you from that you didn't have to option to vote?
why this wouldn't be possible (or not preferred) without the dot?

var tea = Tea{.full = true};

like:

var tea = Tea{full = true};
The BTFP and other schemes from the Fed will provide any necessary liquidity to cover flight at par.

Remember that flight just means one bank is down and another is up at the Fed. All it needs is for the target bank(s), or the Fed to lend back and the circuit is closed.

Everybody wins - particularly the bank buying assets at a huge haircut.
> It IS a perfectly usable OS for a gaming rig. Try a Steam Deck if you haven't.

I remember when Loki was porting a small handful of games to Linux and clueless Linux Desktop evangelists back then claimed the same thing: "look, it is a perfectly useable gaming platform!".

Look, Linux has made a ton of progress as a viable gaming platform lately, largely due to the Wine and Proton projects[0], but there are still large holes in what it has reasonable support for. For me personally, VR is a shitshow on Linux, even with Valve's own offerings.

[0] Because the actual Linux Desktop community could never get their shit together enough to actually be a platform, we ended up just porting Windows's own platform.
> When that's possible, the world will be very different. Right at this moment, AI is still useless for unskilled workers trying to write software, it's just a productivity multiplier for skilled engineers.

Depends on the software, and how much mediocrity the end user is willing to put up with.

A trivial prompt can spit out a web page with functioning JavaScript for a mediocre-but-playable version of Pong.

This may not be of interest to us, but our standards are not necessarily shared by normal people: in the wild, I've seen websites where the thumbnails were all loaded as full-sized images and merely displayed smaller, bottles on supermarket shelves whose labels had easily visible pixelation and JPEG artefacts.

Infamously, there's a lot of stuff done in Excel that really shouldn't be. Some genes had to be renamed because scientists kept using Excel, and Excel kept interpreting the gene's names as dates.

I get SMSes whose sender ID has obviously involved someone somewhere trying to record phone numbers as floats.

Even in places with high standards, the UI of the Calculator app on iOS still gets confused if I tap buttons too fast (before animations finish playing?).
I don't get it either. Plus, what exactly is so hard about using hooks? Hooks are awesome.
> Piracy (stealing)

Mislabeling (lying) is not a good way to start an argument.
Got a source for all of those?
I think this will pass and thereafter, we all have a duty to disobey it. This isn't anything remotely resembling democracy.
100% agree - A single ID should be enough anyway, like Cloudflare's Ray ID: https://developers.cloudflare.com/fundamentals/get-started/r...
Instead of comics, better understand that climate has always changed and will continue to change.

Not that long ago that parts of the globe were for centuries warmer up to 5 degree celsius and then fallen into a mini ice-age: https://en.wikipedia.org/wiki/Medieval_Warm_Period

Reality is quite cold, literally.
Show HN: Flightle
MySQL and Jupyter don't have data visualization. Or are you saying the options are a) use google sheets, or b) learn to program
My website was one of the reasons I got invited for an interview at my current job!

Especially https://www.nieknijland.nl/trips this page, where I log my past trips.
> such literal slices have copy-on-append behaviour.

Only because literal slices default to cap == len (and a buffer of the same size). But if you create a sub-slice then all bets are off. That’s why some folks recommend always using a “full slice” if the result escapes:

A[x:y:y]

This way the cap() is set to the same value as the len(), and append will always trigger a copy. Essentially a cheaper (but riskier) version of a defensive copy.
Sounds like at least a medium sized negative to me.
I agree on all counts. Funny though how the same types of ads being complained about litter this page.
Addition and multiplication are trivially implemented using lookup, if you had a machine without arithmetic and only control flow and memory operations. You don't need much more than that for matrix operations, and now you have ChatGPT, a decent simulation of apparent thinking - which is all that is necessary to kill the intuition dead.
I'll add an about - I was moving quickly. Possibly too quickly :)
The latest mass ransomware attack has been unfolding for nearly two months
It's a nice image, but I find it's easy to spot IA generated images when trying to make images of very specific existing hardware.
Here you can see all the cars are generic with 50's design look, none are models that existed.
Try to ask an IA to draw you a Boeing 747-400 for example, see what I mean.
Btw, Have you noticed all the Youtube vids thumbnails made by IA now ? Easy to spot.
No idea why people still consider European countries to be democratic.

People are elected sure, but they are all pretty much socialists, it’s not like you can really choose.

Candidates who have different worldview don’t have access to media.

Oh, and last time we got a say about whether we wanted to wanted to abide by the European constitution we said « no » at 55%

Apparently it did not make any difference whatsoever.

European countries should be treated like anything else.

A bunch of people who seized power and use democracy as a way decentralised power so it’s harder to overturn
> Twitter shipped NFT profile pictures and Spaces.

Don't forget fleets rip
We are the customers. Of COURSE its appropriate to give feedback on what parts of the product we like/don't like.

The assertion that, because they put ads in, that it is the business-optimal thing to do is weird.
I would say this is being negligent if it is generalized. Often times architecting a system involves meetings with multiple parties — stake holders , legal counsels, and months or years of planning ahead to give a proper estimate for a large system. Time and materials is the right way to do this.
However I can see this working in a very small scenario.
“The algorithm” source code
Yes, that's the one, thanks!
How do you get the browser to open? Does it work on all operating systems and ssh clients, such as Android's JuiceSSH?
interesting, is this a supported SQLite feature? I understand that when the WAL file gets too big (e.g. 4mb), SQLite will then checkpoint its contents back to the main sqlite database. How can one generate a WAL file big enough to contain a game patch?
Do you seriously think those of us running Windows deal with reboots and BSODs constantly and that you didn't happen to buy bad ram or some other hardware problem?
Best Inventory management software in Dubai, UAE. Track all your stocks with the ultimate inventory management system in Dubai.
I tried a sidescrolling flight simulator and its flight dynamics were really bad. I thought, "How hard can it be?" Turns out it's actually pretty hard to get all the things together even for just a basic model.

However, it's now at the point where it can technically be called "a game" – I would like to work more on it to make it better and more engaging, but I'm not sure if the basic idea is even correct to begin with. I'm sharing it with you in case there's interest and/or valuable feedback!
It’s also a couple months old. Why it got linked again I’m not sure, a lot has changed between now and when it was published.
You mean the author of the article or the book. It helps to know that author of the article started an Site Optimization platform and worked hard to build it, probably spending too much time on it as well.
Taking umbrage with any advice saying otherwise i.e don't spend too much time on performance, seems sensible since they took it personally.
I see this cycle where simplified "scripting" languages for "non-programmers" never last.

See: BASIC, perl, php, 4GL languages, etc.

The cycle goes like this:

1. A new simplified language for non-programmers is created

2. Non-programmers jump on board and get as far as they can...

3. Now they need just a little bit more from the language, so it is added (for perl, that was perl5 with OO, use strict, etc, for php, also the OO stuff when they turned it into java, for python, it's python3)

4. The non-programmers have become programmers, and the language has become a bit of a mess, so former non-programmers jump to C++ or Java or Clojure, and next generation of non-programmers don't like the look of the now complicated mess of a language, so back to step 1.

I guess it also doesn't help that a lot of these non-programmer languages are tightly coupled with some particular use case, like server side web apps for php, or "data science" for php, once that goes away, there isn't much of a general-purpose language left.

Anyway, yes, the appeal of C++, rust, Java, etc is definitely more stable over time - nobody learns those because they are simple, and drops them when it turns out not to be the case.
> I just find it incredible that when the results are in the people at the top are some guys I've never heard or seen before. And I don't believe I'm uncommonly ill-infomed.

that may happen when many separate countries merge their candidate pools to form a single parliament, and its up to the parties to distribute their seats - I would think that an exact representation of members from all countries within the available seats for the party would be hard to achieve, though.

> Moving power further away from the electorate should be a last resort for issues that can simply not be handled on the local level.

This is true to some extend, however you have to somehow ensure that all individual pieces work in a collaborative mode and support each other, because once you get in competitive mode, its a race to the bottom for everyone.
"The difference is the extensive legal framework protecting Western citizens and companies from state security overreach."

Unfortunately, China is winning in the rest of the world for the same reason. While western citizens and companies are well protected, the West has intentionally kept the rest of the world vulnerable for self dirty interest. We have seen the Western hypocrisy in policies and moral codes destroying societies for decades all over the world. If the Western code of conducts for the rest of the world were hypocrisy free, Chinese slithering would have been impossible, and the world would be a lot better than it is now.
I guess my main gripes are not with the libraries for state management themselves, but how managing rendering after state mutations occur. Pinia and Vue/Nuxt just do this effortlessly. Having to deal with hooks and useEffect in React is just a pain... in my opinion.
Anyone here know if it can be used for generating 3D surface profiles? Or material thickness measurements
I get what you're saying.

But robots that could give residents safe mobility with less carer intervention would be a big benefit. Transfers – like getting a resident from bed to the toilet – are risky to the resident and the worker; lots of workers get injured trying to stop residents from falling.

Here in France anyway, they're instructed not to try to stop a fall (only to take preventative measures before a transfer), but in reality, almost no one can watch an elderly person in their care fall without intervening.
Wonder which government paid for that since most of it reads like state sponsored fud, I particularly like this one:

> If you want a taste of what they’re up against, if you own a Chinese-brand smartphone and you’re Linux-savvy, go and look at what’s in the firmware and process list. You will be entertained.

Being Linux savvy doesn't apply to Android. I checked my new stock Xiaomi and it has no keyloggers, whereas the last time I got a Samsung device it was logging key taps, sms contents and calls.

Either that or the reg has really gone down hill...
Researchers replicate tunable transparency of squid cells in mammalian cells
Your entire premise that copyright infringement is theft is wrong. That is not the case, neither morally nor legally.

As a result, your argumentation is flawed. The 1000 "pirated" copies were never copies that you had. Even in a world where you could magically prevent all sharing of information you would not have that many more copies sold.
Deploy a Cloud-Based Electronic Document Management System
This is why they've been in business for 20 years.
Do you have a specific example of country and company? I am curious about how worker-owned they were.
The most important critique of GDPR is actually that its not enforced more often/strictly and that the maximum damages are _still_ too low to make many companies actually care.
You're welcome! It's really cool and IMO has a leg up on alternatives like i3 because the whole thing, every aspect is entirely programmable.

Enjoy :)
Google’s AI Says the Government Should Shutdown Google
Professional 2D motion graphics and vector animations for any platform
So it's "Speech control" then, let's not give these clowns a monopoly on the naming of things.
Did you even look at what I posted? It addresses what you're saying, and it shows the Medieval Warm Period on the graph. In fact, even the article you posted has a similar graph as the first image on the page.
How are Putin and Trump comparable? I would love to hear your answer but I know for a fact that your answer will conveniently ignore that Putin killed 10,000s of people and Trump is just a reality TV show character.

But you're probably not going to answer anyway due to lack of sanity. Also, are you Ukranian or just offended on their behalf?
I think that when you work with a framework like Vue/Nuxt where hooks aren't needed, they are not so awesome when you transition to working with React/Next. Everything just works as expected (with Vue/Nuxt).
Tectonic – A modern, complete, self-contained Tex engine with Unicode support
Yes, the fact that "V = expression" means "if variable V doesn't exist, assign expression's value to it; otherwise compare the expression's value with the value of V and raise exception if they're not equal" is one of my least favourite parts of Erlang.

I semi-regularly introduce local variables named exactly like one of the function's parameter and then spend several minutes trying to understand why the line expression on the right-hand side of assignment throws badmatch: of course, it doesn't, it's the assignment itself that throws it.
Mine's also almost stock, the only changes being tracking and startup menu/taskbar garbage disabled.
It's not meant to be a place for computer enthusiasts - it's a career subreddit and people want to get good jobs.
Microsoft has a long history of abusing their market dominance within their Windows platform, coincidentally each case having something to do with online services. Microsoft has, would and will always do anything to make money and choke any competitive threats to death one way or the other. They won't even bother trying to be "less evil" like Google once tried and failed.
Would building a Dyson sphere be worth it? We ran the numbers
I think this is mostly the same argument as "It's perfectly usable on the desktop" of previous decades. It's basically "yeah you will need some tweaking, but it's worth it for the benefit of being free/libre/open/hackable/..."

The opposite is basically "Yeah you pay for an OS that shows ads in your face and that you hate, but on the other hand you don't need to occasionally google error messages for that latest game you bought or worry that the anticheat doesn't work"
Sadly you can't have both. But my point is if you absolutely must play all AAA online PC multiplayer games perfectly, then you must also use windows. I guess the contentious part is, is that the definition of "usable" to me it is, but clearly not to everyone.
Ruby's hashes have escaped!
That's false. Whataboutism, in its traditional and non-negative sense, is the long-standing assurance of equal-enough application of the law as a defense against Bananaism.

See, I can make up truly stupid neologisms as well. But at least mine isn't an effort to subvert foundational democratic norms.

Because unequal application of the law isn't law.

Whataboutism's necessity increases as the parties and potential charges under scrutiny are ever more alike.

In Whataboutism's novel sense, it is a brain-dead effort to try to get away using the law as a politicized cudgel.

You can tell by the need to invent a new word in order to describe an old concept.

Insofar as their is not any legal jeopardy involved, my explanation still applies however adjusted.
Yes. Then. For the next decade on HN we are reminded, during almost every thread "This is against European Commission title X". Well, too bad for them, all my products strictly adhere to Congolese law for data privacy and Ecquadorian law for data retention. Since we are randomly deciding which counties laws we should abide by - yet don't live in.
Well for one thing, absolutism appears to mostly be a fool's errand.

Thinking about Musk saying that reminded me that I use that people speaking in absolutes as a heuristic for what I think is unwisdom.
Previously:

2013: https://news.ycombinator.com/item?id=6376191 (183 comments)

2014: https://news.ycombinator.com/item?id=8212984 (10 comments)
on the minimal chance you're not being sarcastic, could you say more about this?
Design wise it's not bad, but for some reason it takes a while second for the words I type on my phone to appear in the prompt area. Quite a pity.
Also, it's a meme that when you buy a Google gadget, the customers are its QA team, but it's accurate that they do find ways to sell us products containing their pet technologies so they can gather data and sell them to their real customers - defense, healthcare, manufacturing, etc.

Bard is no different. We'll all be performing the RLHF, and they'll sell off the improvements.

If we passed a law that made it illegal to work for free, companies like Google would be falling over themselves to institute UBI to avoid paying out to their userbases.
Hacker demonstrates security flaws in GPT-4 just one day after launch
Nice! It throws an error that it cannot find the notes folder though.

Where is it located usually? Or what's the file name?