skysight-inc/HackerNews huggingface dataset:
I saw a clip from a Joe Rogan podcast some time back about a man who was doing long distance swimming. He was dropped off in the ocean in the middle of the night and had to swim toward the cost or some islands or something. With the boat out of view and no light pollution, what he could see was the stars above and the lights all in the water. If I recall correctly he said something like it became hard to tell where one ended and the other began and he had the feeling of flying through space.
Looks very very interesting. Nice work.

Plans to support more DBs? do you intend for the OS community to build the translation layers?
A 3D model is just a mesh of points in 3D space. These here provide only a shaded single color render to... illustrate this mesh. It can be rendered with any modern technique when used in conjunction with a rendering engine.
Have you correctly evaluated your threat scenarios?

ChaCha is streaming cipher, which is meant to be used on transmission phase, not on data-on-rest(DARE). That is significant difference. In this case, you are implementing Photo storage service, where data is laying mostly on your servers, and not disappearing after the transmission. What is the threat model?

In general, streaming ciphers are considered as weaker alternatives for DARE ciphers. The main risk lies on nonce.
In service like this, you are using long-term key.
xChaCha provides 192-bit nonce. How likely you are generating identical nonces?

Well. In this case, it might be that this streaming cipher is safe. 192-bit nonce is quite big number.

For example AES-GCM with 96-bit nonce has max message amount of 2^32 when used deterministically [1]

In theory, the AES alternative is much weaker than your current implementation.

[1]: https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=51288...
It's a sad life if money is the only motivator.
Which makes sense since physical quantities like this can't be negative and so can't be normally distributed.
I too prefer chronological order instead of some "organized" collection of directories. My point is that this is something that a photo indexing app of some sort (Piwigo in my case) should do and leave the files be.
Dirty Harry on feminism and women's quotas [video]
It will only be a matter of time until the AI learns that what sounds pleasing to most humans is often some form of, or extract from, Pachelbel's Canon in D.
To whomever is going to implement this: Please save the stack trace into the error object at its creation time, at least in debug builds.
You need all those error check code if you want to recover from error -- regardless of whether the error is coming from exception or value.

If you don't want to recover, just throw it down the stack that will exit, then can you do that without exception too. Just call error() function on error which will print the error and exit(-1). No need for per-line error checking in this case too.
Kotlin Syntax, Comments and Variables
OP means overpowered.

Kids play because they want to.
But isn't this charging also for receiving?
Why not just back them up on S3, B2, or whatever else as well? 2 is 1 and 1 is none.
I did use time machine on external USB HDD and after some time it got corrupted. Happened multiple times over the years.
Then I tried Time Machine using AFP and SMB on remote NAS. Those also got corrupted multiple times.

The lesson I learned was - do not use TimeMachine.

Now I have been using Vorta (UI for Borg) https://github.com/borgbase/vorta for a long time and everything is fine.
https://en.m.wikipedia.org/wiki/Sodium-ion_battery
Because it's engaging. Parents encourage the kids to join but never force them to, at any instance if the kid is disinterested parents want to opt out of the program
Agreed. Moreover, if a genuinely sentient AI or MI as Minsky called it, comes to pass then it would then be fascinating to listen to it if it cared to compose music; in its absence musical composition is always the result of someone's human experience of being in this universe - necessarily as a human organism. And this is true even if the music is a research exploration of evocative (to a human of course) sound patterns.
I stumbled on this in my YT feed. Dirty Harry was 70s movie and was amazed to see the topic of diversity/gender hiring in the movie.

The lady in pink is monitoring to ensure "fair" evaluation .. lol.

Also at 02:52 the lady says "are you saying women's place is in the home?". This clearly not what Harry was saying but it was interpreted to the other extreme. Reminds me of today's situation.

I am not white. But hiring for the sake of diversity alone is not a step in right direction.

PS: I have kept the title same as the video's
Payout proportional to the track count favors short tracks. The payout proportional to the air time favors longer tracks.

As long as payouts are calculated on an account per account basis, any approach is fair. A TOOL fan will probably listen 5 times fewer tracks than a Ramones fan, but it is OK because every their stream is worth 5 times as much.

Though if they pool track counts (or minutes played) across multiple accounts, then different listening patterns of different accounts will always skew payouts one way or the other. And it is always unfair.
Software bugs exotic. That is funny.

File IO is one of more error prone activities with low understanding by general software dev community.

It is actually rare to see a piece of code that is NOT broken.

I had once observed a piece of software write a million files, all empty, because it could not handle situation where it could create file but not write it.

It is quite normal for files to be truncated because written directly to destination file rather than through temp. Then script gets killed and next instance assumes file exists so it resumes from next.

Most software can do the job if everything works, but almost none can correctly handle every error condition.
Buy Now Pay LATER: Amazon Moves into BNPL Space with Affirm Partnership
(I know, I was being sarcastic. Wondered if the ... would be semantically similar enough to /s to convey that, but clearly not.)
You mean startup scams stories ever
The first one reads like somebody just found out about functional programming and functors and tried to "improve" a straightforward bunch of if statements. I can read the second program without having read the plain English description, but I definitely would prefer to have the comment for the first one. I think even in languages like Haskell I would prefer (just sometimes) to read just a straight if-elseif-elseif-else.

The whole thing about the way it's written with throwing/catching is a red herring anyway, you should just replace those with a different choice of if's. If you're feeling super adventurous, you can instead replace them with goto's, which is kinda funny; it would actually simplify the code, how often do you see that?
> Rust has created a weird perception that memory safety equals safety.

I think it's a bit more than that. They're also riding on the static typing trend that's happening right now, so type-safety is also part of the equation. From the website:

> A language empowering everyone to build reliable and efficient software.

> Reliability: Rust’s rich type system and ownership model guarantee memory-safety and thread-safety — enabling you to eliminate many classes of bugs at compile-time.

That means that people like me that still have a hard time with C and C++ can build efficient software using the same workflow as I'm used to in my usual "web languages" (Python and JS mostly).
Yes, but there were some people that were pushing HATEOAS for APIs. I think the fact that pretty much no one does it is good enough evidence to see that it's just not a good fit. HATEOAS is good for web sites and human operators, but not for APIs being executed by software.
You are correct. This is "awesome list" variety.
Used to connect a spring to a 9V battery and cut polystyrol with it in my childhood. Also off the shelf children's toys were available at that time based on the same concept.
Maybe they are antennas? Maybe they are drones..
The second by far, especially if you just remove the else statements and let program flow continue naturally.

There are very good reasons to prefer Result over exceptions, but this example is not one.
We tried it with AFP as well, did not help, after some time those time machine backups got corrupted.

We suspected that maybe AFP writes failed because computers were disconnected from network before buffer was written to the server. But there are no visual indicators for that and we did not want to debug it. We just switched to 3rd party backup solution.
Me too, I had zero gamedev experience but found the documentation really good and the tooling and data model pretty accessible!

I didn't like GDScript - even with the bolted-on type checker it felt way too loosey-goosey[1]. But I had the feeling gamedev is just a bit different from other software eng so it's worth being open-minded about these things (plus you can always use other languages once you've got a grip on the core systems).

[1]Mainly because a) signals remain stringly-typed, and they are really important, b) you can't enforce type checking (it's just a hint in the IDE) and c) I couldn't get my whole codebase 100% type checked.*
So they’re still relying on big tech. Hmmm.
I have a friend who's been trying to go all-in on Godot but decided recently to switch over to something else, largely due to ongoing issues with its lighting system. When toying with it, he encountered poor lighting overall and some particularly counterintuitive behavior with the (rather simplistic) lighting system.

For example, a simple scene with a wall intersecting the floor and a light placed on one side. In this scenario, you get weird light spilling around the edge onto the vertex where the wall meets the ground (see [0] and [1]). There's also poor handling of multiple light sources; if you cast a shadow and place a light directly on top of the shadow area, it's impossible to displace the shadow (see [2]). These sorts of things are very noticeable, and part of the recent work that they've just released was supposed to address this. However, these examples came from the most recent release, which made my friend begin considering other options with more robust lighting.

[0] https://imgur.com/rsxjV5u
[1] https://imgur.com/kOzKQnL
[2] https://imgur.com/NH9ZViP
Ding ding ding, we have a winner. I would love to see the voice recordings of the trial. Cuz you are dead right on the voice manipulation for the effect.

Its a bit shocking how many people here are defending her. But white collar crimes are not 'crimes' i guess just misunderstandings.
I had a plastic toy version of one of these as a child.

I think it inspired my fascination with all the ways artists and craftsmen "cheat" and create things that look impressive to those who don't know the "trick".

The building of ancient monuments is similar.

To be clear, these things still took time and effort and skill, but like a magic trick you can multiply the perceived impact of that skill.
2 – can you possibly replace them with higher resolution ones after the scene is already running? Ideally, gradually with a blend over ~1 second.

3 — I see. Still, you could pre-compute local illumination automatically in the editor, and bake it somewhere. Maybe into vertex attributes, maybe into another lower-resolution R8_UNORM set of textures.
> Web versions of software still sometimes feel like an attempt to sell a fraction of the feature set from 1995 in a laggy, less polished interface as an improvement.

That, and using an order of magnitude more hardware resources and leaking memory everywhere until your computer runs out of RAM. I have yet to find a browser which, with JavaScript enabled, will let me use it for more than a few hours without filling my RAM.
Yet again, the useless milliamp-hours per gram for one component of a cell instead of actual energy per unit mass for a whole cell. What is the Watt-hours per kilogram????
Since we are talking about ~350AU (Pluto is at ~40AU), that may very well be the case.

An easy approximation:

https://www.sjsu.edu/faculty/watkins/bode.htm
Authentication with Phoenix
I liked what jQuery UI does. It provides a web based configurator to choose what components you want to use and then you download a custom file with only those components. Really useful Avoid wasteful loading of code you are never going to use.
Sorry, we don't have a sample gallery yet. :(

We do have a local backup tool that will sync your uploaded files to a local folder: https://github.com/ente-io/bhari-frame/releases/latest
This is the real answer. Stop being so attached to your code. You're getting paid a good wage to write stupid code that doesn't need to exist? Just voice your concerns, and then, if those who "know better" (tech leads, VPs, directors, founders) make you write it anyway? Laugh and enjoy!
Which is fine except your country is $30 trillion in the red, you're going to have to work harder to pay it off, with interest or default.
> And after all how did suddenly all desktop apps become obsolete? Well, they are not.

Which is one reason we don't need Microsoft's Office365 offer at all? I mean, especially in the case of big governments/orgs where they operate an entire fleet of machines, providing good desktop software would be a much better experience than crappy webapps.

Unless of course the goal is real-time collaboration, in which case that's an entirely different use-case and i have no idea how google/microsoft tools fare in this space (but Hedgedoc/Cryptpad are solid).
It took me exactly 4 months to reach this milestone
They're common enough now that maybe we should just consider html, css, and js to be GUI scripting and markup languages in this context? Your browser is a desktop app and yet almost everything you do with it can only be done online. Perhaps it's fair to call this a Desktop app as it can be run offline, but not fair to call it a "native" desktop app.
Wild boars are able to open traps to free their fellows
If you need Unreal for your game, I wouldn’t recommend Godot. If you would use basically anything else, try Godot.
We have great pictures and videos of our time at sea. But one of the things I could not photograph was bioluminescence at night. I assumed phytoplankton was fairly spread out, globally. But one of the most active areas we sailed in was off the coast of Tenerife. The water was literally glowing with activity. And things staring back at me, swimming alongside us. Sadly, none of the cameras I brought could operate at such low levels without making a smeary mess.
Video game addiction: China imposes gaming curfew for minors
"Ken's comments are usually benign, with his comments displaying a complete lack of understanding of the featured topic, while other commenters take him seriously"

That was the OG trolling, you were wasting peoples time for laugh while they were educating you about something.

Term got hijacked and morphed into causing mental trauma to people.

One was harmless prank causing eye rolling, other mental trauma.
This is what I use and it’s excellent.
Team churn can be a good thing. When you have to constantly explain to newbies "the way we do things here" you're incentivized to keep "the way we do things here" as simple as possible. Otherwise, it can become a big list of institutional quirks and unwritten rules that serve no purpose. Lean and mean is the way.
Security Threats in Leading Vegas Casinos
HN seems to get more this sort of code fast posts of late, and it's a straw man argument. A mature developer can write good code by default mostly by keeping an eye open for code smells, no bloated classes or functions (I've seen 5000 line functions in established production code), no inconsistent abstractions etc. Just like you can keep your body clean and tidy by good daily hygiene it is possible to grow and mature a codebase by doing the right thing everyday.

Okay once in a while you can take on a bit of technical debt but a mature developer will pay it back quickly.
This is how I think about Go slices (may help other understand them).

A slice itself is just a window into a backing array of fixed size. The slice carries three data members. The pointer to the backing array and its remaining capacity and the length of the slice data.

Typically slices are passed around by value but you can take their address and modify a "shared" slice.

The built-in append() returns a new slice by value.

What happens is simply that when appending data to a slice and there is no room in the backing array, a new backing array is allocated that the returned slice points into. The old "input" slice to append is still intact and if some code has access to it, it will look at data stored in the old backing array.

I've constructed similar utility types in C and find them quite convenient. It's very convenient to have the distinction between the backing memory (array) and a slice viewing a portion of it instead of just a dynamic array.
Here's another tip:

https://youglish.com is a website where you enter a word, and it returns YouTube videos at the precise time that word is pronounced. Its goal is for people to "improve" their English.

I use it as a "Google for YouTube" returning videos that YouTube search functionality would probably never return.

For example, here's a search on Kubernetes on Youglish:

https://youglish.com/pronounce/kubernetes/english?

Here's the search on YouTube: https://www.youtube.com/results?search_query=kubernetes

Want to get fresh videos that mentioned Theranos? https://youglish.com/pronounce/Theranos/english?

I get access to extremely good content that would never have been recommended to me where the matter is actually discussed, escaping filter bubbles, and tacky/popular content pushed atop because the channel has a large audience, and quickly change language. https://youglish.com/pronounce/Uber/french?
If you're using Linux, you could try the deadline scheduler policy (SCHED_DEADLINE, see sched(7) [1]), especially if the tick runtime can be estimated to an extent. Essentially, you set the task period (60 Hz in your case), the task runtime (a rough upper bound for the task execution time) and a deadline, and the Linux scheduler will make sure your task runs at an appropriate time every period. It will also throttle tasks that exceed their budget (by running over their allotted runtime) and it won't admit tasks if it's impossible to run them (since the sum of task runtimes exceeds the available runtime).

[1] https://www.man7.org/linux/man-pages/man7/sched.7.html
The UI system in godot is pretty nice. The binaries are also 30mb, which is pretty light everything considered.
It's not a problem of semantics or naming purity, it's a practical issue of resource consumption and UI/UX.
Jitsi is a very good solution. Probably the best open source video conferencing solution out there.

A good example of it's use in EU is it's integration in online meeting platform for Latvian Parliament. It was quickly implemented once COVID-19 pandemic started. And Jitsi is a core part of it. https://www.saeima.lv/en/news/saeima-news/28986-the-latvian-...
> it's the blurb for an image in the carousel for the article and not in the body text.

Indeed. Under FF reader mode the carousel is flattened into normal inline illustrations so I thought for a moment they could A/B test the article content.
You are correct. The majority of micro plastic pollution to soil and water comes from synthetic clothing.

Cotton, wool, linen, hemp.. we have options people!
No, the whole premise with “personal server” is and should be that company going out of busines would have no efect on server and data on it. It should continue working exactly like it did when you bought it. This means that mandatory subscription is a dealbreaker. Optional subscription on the other hand would be just like additional service for which you could pay if you incapable of doing something yourself or through third party.
>Don't do the crime if you can't do the time.

In this adversarial system "the time" is rather vague
> Good luck finding competent developers and paying them European salaries.

I can assure you some of the brightest people i know are paid a misery in your standards, first of which researchers working for public universities. Free software "consulting" companies like Collabora are also filled with brilliant people.

On the other hand, i don't think i know a single person that gets paid high salary (> 2000-3000€/mo) that does anything useful for society at large or has an interesting skillset. Those are usually managers or Chief Whatever Officers, and i believe the whole society would fare much better without them.

Trying to equate skill/usefulness with salary is a doomed enterprise. You'd be surprised with the knowledge and skills of some janitors cleaning your office, if you ever talk to them.
No. The only filing system you need is... the file system.

These companies (Apple especially) love to pretend that nobody had anything organized until they came along.

Don't store your important media in proprietary formats, or "the cloud."
How to cleanup AWS CloudFormation Stacks faster and efficiently
Exactly. Jeez.

I'm not even shocked anymore, at how out of touch and stuck in their ways some people are.

If this is your workflow: terminal; ssh <remote server>; vim <file>

...
I think this is fantastic! It’s exactly these kind of things I was hoping to see when neovim was announced.

No vim emulation in your GUI editor, but actual vim in your editor.
Yes you can https://quest.vrworkout.at

We aren't on the official store yet but are working on it
Yes, definitely. In the case of Lightroom, it is preserving your original input photo along with a list of edits and workflows you've applied to it. It also manages a database of preview images, so browsing full resolution albums is fast

There are no destructive edits in Lightroom unless you really go out of your way to cause the destruction

It also has client-side face recognition / clustering which relies on a local database, indexing by geographic location for GPS-tagged images, etc.

Essentially nobody needs Lightroom until they try it, after which it easily becomes impossible to live without and there is no replacement
Current techniques are pretty successful at improvisation or 'noodling', not quite what most folks would call "proper" composition but a good inspiration for it. The paper is not very comprehensive, there's plenty of interesting stuff that it doesn't mention.
How long ago was this? Sensor technology has progressed significantly within the last 15 or so years. There’s a docuseries on Netflix that captured night scenes, including algae glow.
> No, the mistake is trying to make money from open source in the first place. That's. Not. The. Point.

But the point is people are trying to make a living using their software development skills, not specifically make money from open source. As part of that the question is should they release their code as open source or keep it closed.
I keep my stuff in files only carefully categorised in directories. I use Beyond Compare to do a byte level comparison between what’s on my disk and what’s on the (one of the several disconnected) backup volumes I use. That identifies corruption issues at either side of the fence.

I lost about a year of family photos thanks to this sort of issue once so I am very wary of problems.
The usefulness of land taxes to limit speculation in online games