skysight-inc/HackerNews huggingface dataset:
Yeah, Hipchat and Flowdock were reasonable Slack alternatives but Teams is a complete nightmare.
> Docker, Kubernetes, Rust

These won't go away for a long time. So it's worth picking them up today.
Slightly off topic, but when I encounter the phrase butterfly keyboard I think of that really cool sliding keyboard that IBM came up with for the Thinkpad 701c... and not a failing keyboard switch.
I heard people do this with expensive cameras and equipment. Instead of renting, they can buy one for a vacation, then return it when they get back home.
Coincidentally, they’re the most valuable company on earth.
Ask HN: What would be involved in building your own YouTube clone?
I don't exactly want to clone youtube.
But let's say I wanted to make a website where people can upload videos and others can play them in their browser.
What would be actually involved in doing this?

I know quite a bit about backend and devops, but I have to admit I have no idea how to do this, if I was tasked to do this.

Also would this even be possible without flash or third party video players?
I know youtube used to have an html5 version, but I can't recall what happened to that.

My question is more on the programming level of what you would use to build the actual video player and the how the video player would connect to the backend.

Not so much an infrastructure question.
even more surprising is matplotlib .... the most infuriating plotting library I've encountered and yet its de facto standard for most of data science now!
It's really impressive, and even scary, but I get some uncanny valley from Tom's head, it at times gives off a 3D impression that it's popping out of the screen.
So the "real dead bodies" side of the "why do people want to look at this stuff" internet has a history!
NYC is the only city on your list that isn’t absolutely dominated by single family homes.

What they all have in common are strong zoning and neighborhood preservation laws that prevent density growth.

NYC has its own special problems, but also prohibits density increases (read about “air rights”).
Deepfake celeb porn is already illegal in some countries, IIRC, after it hit the media a few years ago.
• https://en.wikipedia.org/wiki/Geomagnetic_reversal

Early research assumed reversals have a period with no magnetic field at all, and demonstrated that the atmosphere was still sufficient. The magnetic field has definitely dropped to 5% of it's current value while humans have been around.

• https://www.researchgate.net/profile/Ruth-Bamford/publicatio...

Conclusion (for Mars):

> We have shown that the currents required are between ~0.2-0.5 GAmps in one or many solenoid loops. Whilst the power requirement will depend upon the material used, it can be estimated to be between 0.1 and 100 GW which is between less than one but up to 50 typical 2 GW power stations. While not trivial this is not unimaginably large,

Even the big number is about half the annual installation of PV on Earth.
Right, that's scraping results, not from an API that doesn't exist. What exists is Custom Search from Google and that's an API to search results on your own website.
> Maybe we are too small but Datadog is one of the few vendors which we haven't been able to negotiate down in years.

We spend a few thousand a month with Datadog and our account manager reaches out every quarter to adjust our monthly commit up/down which provides a 20% discount (I think) or so off from the website prices.
Funny enough, this is a system design question asked in many interviews:

https://www.educative.io/courses/grokking-modern-system-desi...
https://leetcode.com/discuss/interview-question/system-desig...

I've never designed such a system, but these are "baseline" solutions. It'd be interesting to see if anyone's actually implemented some of these canonical system design solutions and saw how well they actually scaled.
"roll your own crypto" means writing a new encryption scheme. But here i'm just using multiple schemes without connection to one another by using different encryption keys.

What if AES-256 gets compromised?

Basically i'm storing my encrypted data online. Anyone can see it but only i can decrypt it.
Their data correlation is awful compared to competitors like Honeycomb, Dynatrace and Instana. What we want to see is something that cuts through all the noisy data and show the users what anomalies are occurring. We shouldn't be sifting through bunch of outdated dashboards and notebooks in this day and age
A side note:

> We store some of this data in MySQL, which supports full unicode… in a version we didn’t have yet.

I'm not sure about full Unicode. Anything that fits in 4 bytes is OK after a lot of false starts [1], but what about characters with a representation longer than that? According to a reply to [2]

> " " is seventeen bytes: '\xf0\x9f\xa4\xa6\xf0\x9f\x8f\xbb\xe2\x80\x8d\xe2\x99\x82\xef\xb8\x8f'

I don't have a MySQL 8 at hand to test if it fits into a utf8mb4 column.

[1] https://dev.mysql.com/doc/refman/8.0/en/charset-unicode.html

[2] https://stackoverflow.com/questions/42778709/the-longest-cha...

Edit: HN doesn't like that 17-bytes character. I was able to paste it into the text area but I see it as an empty space after I submitted the comment. It's visible at stackoverflow.
Of course it doesn't give you as much power as a jailbreak would, but it gives just enough power to make putting the effort into hacking the console not worth it.
A bunch of people will believe it for some amount of time, and given the very low cost of producing it, it’ll be enough. If there is one thing we learned from the recent increase in mainstream extremism fueled by social networks is that fake rumors don’t have to be especially reasonable to be effective; they just need to be generated and broadcasted at a sufficient rate (selection will do the rest of the work). One interesting question is: is one protected by freedom of speech when generating fake videos clearly intended to harm another person’s image?
"l find it really hard to imagine going to work and spending all day chipping at rocks, for over 5 years straight."

Frankly, this feels like my career right now :D (i.e. kinda senior in an individual contributor role without a daily team collaboratin as such, which means I don't have to run around doing standups, but have gazillion lines of code to maintain and not much time for greenfield development).
SpaceX is currently set to revolutionize the entire space industry (again) with Starship. The abstract idea of Starship was only first presented at a conference in 2017. By 2020 they had developed and were doing individual component flight tests. They just had their first fully fueled test of the entire integrated system yesterday.

Assuming they keep at pace, there will imminently be a static fire and it will be headed to space this year. And to emphasize it's not some evolutionary thing but a complete rethinking of rocket design, unlike anything before, that stands to once again completely revolutionize the industry should it succeed.

Going from spitballing to revolutionizing space, in 6 years (2 of those years being during a highly disruptive pandemic), on a private budget? I'm inclined to say the problem is government, but I'm almost wondering if that isn't just a knee-jerk. It just seems that in modern time that many "businesses", government included, just don't really have the capacity to move quickly - even when it's 100% possible.
This is how I feel as I research CPU vulnerability mitigations. The earth beneath us is a thin hollow shell and to keep from falling through it into the abyss we must perform abominable rites.

Every year the security researchers find new evidence that literally all computers are fundamentally and irreparably broken, every year the software engineers add mitigations to the kernel, we hope that the vulns are mitigated but we sleep a little worse at night.
I think OpenAI has a more startup-ish approach, which is to release a product before it's ready, then iterate from there. It's not that Google is behind, it's just that they don't really prioritise having their ready for public release. OpenAI has put a lot of work into avoiding bias and other unethical things.
Google :)
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_v...

Lets say rails.

1. add devise so users are users

2. add Video controller/model

3. connect data field as active_storage, backed by amazon

4. have video tag with link to uploaded file stored on amazon.
Secrecy is temporary, you only need encryption algorithm to protect your data until its expiration date. For AES-128, the key can be recovered with a computational complexity of 2^126.1 using the biclique attack. If you can do such computation fast enough, you will be able to read much secret data.
There's a lot to learn about Rust. It's very different language from pretty much any mainstream language. Even C++. But it makes it very interesting to me. So far I've seen mostly either javesque-scriptish languages or type-algebraic-for-the-sake-of-type-algebra languages. There were some oddities like we-just-write-ast or Forth. But mostly languages seemed boring and only syntactically different.

Rust is high level value semantics running on bare memory kind of thing. It's meaningfully different and useful.
I've been intrigued by this camera ever since it came out but I had not checked eBay for a long time so I was surprised to see "$20 to $40" mentioned there.

Well, the cheapest one is actually $200 as far as I can see, showing results worldwide.
Ask HN: EU Bank with Good API?
I am working on a service that connects buyers and sellers and will be doing plenty of pay-outs. The company is based in EU and EUR has been chosen as settling currency. I am therefore looking for an EU-base bank with good API to automate the necessary processes. So far, local banks are very bad in this regard. I looked at Wise and Revolut but they won't give me access to the sandbox environment to test and evaluate their APIs without signing up for paid business plan straight away, which is simply a no-go. Can you therefore recommend a bank with good API? By good I mean that it at least has a concept of idempotency and nonce and webhooks. I really don't need that much but the state of things is rotten.
Even regular porn is illegal in some countries. I guess people watch it anyway.
There’s another possibility, which is that the group of executives who built the largest money printing machine in human history have a better understanding of how to maximize long term value than whoever wrote the Forbes article complaining about Apple’s cash reserves.
Because of cost?
Even fully open sources software can't be "repaired" when its dependencies break. There are a wide range of programs that broke when Python 2 went away.

As for the law, any software no longer for sale, or older than 10 years old should lose all copyright/IP protection, which ever happens first. Anyone should be able to write/support a Windows XP,7 or 8 clone at this point, along with Office, Exchange, etc. up to 2012

--- Warning --

Strong message (rant) to follow

Uppity programmers calling themselves software "engineers" act in almost totally the opposite manner of a true engineering discipline. They hold "legacy" in contempt, and break things in the name of "progress" or "safety" at odds with their stated goals. They ignore the lessons of history, and keep re-inventing the same things every decade or two.

You can still plug a BC-232 radio manufactured in the late 1940s into the wall and receive broadcast signals.

You're effectively prohibited from running a web browser or telephone from 10 years ago because of planned obsolesce. This needs to stop!
I wonder, it seems to me it's not really the videos that are harmful, but rather labeling them as being some specific person without their consent.
> That is incredibly difficult to achieve, and impossible to fully realize. But that should be the aim.

I agree.

Can you please put some contact info in your profile and/or contact me off line? I would love to discuss this with you further if you're interested.
Good app.

>Amazing, you're a natural!

Well, I hope so... lol
Some pitfalls I encountered while setting up Nextcloud
Recursion is more general than loops. Even if you have tail call optimization there are thing that recursion can do and loops can't (without a supporting data structure as a stack or THE stack, but that IS recursion again).
Being more general, an argument could be made for using the construct with the least power.
But, as always, it depends on what are you trying to achieve and what are your constraints.
Here [1] is an article about the 30th anniversary of the game (from two years ago), very detailed and interesting but unfortunately it doesn't say anything about his later career. :(

[1]: https://shmuplations.com/galaga
They don't have to remove images from the training set, they're saying they're opting to do so, and using that as an argument as to why if there supposedly could be copyright infringement, they're not liable, because they allow it to be removed.

They could just as well not do anything and continue on - it's likely this case will be in defendents favor. Same as how Google can crawl the net, cache data, transform it, etc.
The Mooltipass Hardware Authenticator
I didn't take CS, but I don't know if there's a better way to build a parser or compiler without recursion. Prior to knowing that all my code just loop over linear arrays of data, so I thought the typical Fibonacci or factorial examples were so contrived. I hope pedagogical material should at least mention where recursions are used in real world programs.
It's common in the Swiss French part too.
This post was pointing elsewhere, and said it had been revised in 2022, even though the source is from 2002.

dang later change this post to point towards the original 2002 source.
Absolutely. I started learning Docker last year and Nix as a complementary tool this year.

Haven't had the opportunity to look at Kubernetes yet, and usually work higher in the stack than Rust I think! But thanks for the advice.
> price history so you can see when sales are fake

This is now a law enforced in European Union to display such history (at least the lowest price in last 30 or more days so customer knows if the price was not fake rised just before lowering it and calling it a sale). WooCommerce has a plugin for that now[1].

1: https://wordpress.org/plugins/wc-price-history/
Similar to Dall-e: It's output looks impressive and revolutionary if that's not your field of expertise. If it is, it looks closer to Clippy rather that HAL.

Thus it's not the UnemploymentMaker5000™.

There's a number of naive voices that believe it just needs a little this or that and it will abound forward in capability. That little thing they're asking is not actually little for AI. It just seems simple because humans develop the requisite concepts (such as compositionality) so young.
Guerilla marketing at its best. ;)

But then again, they only ship to Switzerland, no? So what do they gain from exposing the site on HN?
> Everyone who got laid off wouldn't have had at a job at all if they weren't hired,

Incorrect. Many of those people already had a job when the moved to Amazon/Microsoft/wherever.

Since no one makes a horizontal movement, all the roles they vacated when moving where lower roles. And this argument goes recursively when the old company fills those roles.

This means that most people who did not have a job prior to the hiring explosion and had a job after the hiring explosion, had low-paying jobs, in very low roles.
If you're in the EU, you could use EU Directive 2009/24/EC. Someone with a better grasp of the law should check this, but you should be allowed to decompile & fix parts of the program which causes "interoperability" problems. It doesn't matter what EULA says or if it's copyrighted code.

EDIT: appartently there was a ruling in the Court of Justice of European Union on this

https://www.lexology.com/library/detail.aspx?g=f5b1193c-f423...
Visualizing “The Art of Fugue”
> Apparently recursion takes up more memory space than nested for loops

Recursion uses space on the call stack. The concern is not so much that you'll be using more memory, it's that the call stack has a fixed size and you might blow past that size, which will cause your program to terminate.

The comparison between recursion and "nested for loops" seems a bit off - generally it's recursion vs a single loop.

Whether it's best to avoid recursion depends on many factors. In any case, even when I do want to use iteration, it's often easiest to first formulate the algorithm as a recursive one, and then change it to use iteration.
Early subroutines were really just a branch/return - no stack frames and thus no proper argument passing or recursion or locals. If you've seen a BASIC dialect with GOSUB in it, that's pretty much it. It's a bit more structured than simple jumps, but still much lower level than C functions.

Structural programming is traditionally considered subroutines + conditionals + loops. In its purest form, it also means no branches other than the ones implicit in this list (i.e. not only no goto, but also no return, no break/continue etc).
First people have fun. Then the business people monetize it.
> The only way you could tell the counterfeit wasn't real was that it was too well made and played like butter.

Fascinating! I'm no aficionado, though I've read that—similarly—luxury watches lose around two minutes per year.
"Team France" is more literal to the name than it seems. It's keeping the control within France, not necessarily connected to the government at the time
Happy to see a Swiss online retailer on HN, where the audience is more US focused.

Amazon has little traction in Switzerland still.

Swiss people like to support local businesses, hurray!
If there are people like that they will spoil any culture, including in-person meetings.

If the culture is bad then Slack doesn't hide it, if it's micromanagey already then Slack will exacerbate that, I agree.
It definitely will, but as a product people are using, or as a tool/product most developers will be working with? I can see it being the drive force behind popular products, but typically there's not many ML/AI "experts" working to produce models, most of the development work is all around data pipelines and normal product features that will interact with an API that is using ML/AI.
I like this approach!

NodeRed is a perfect MVP for serverless without all the cruft and costs of AWS/GCP/Azure/whatever.
Hydrogen works nearly exactly like CNG. People have created fantasy stories as if it was the blood from Xenomorphs. In reality, it's corrosiveness is pretty underwhelming. Actual issues related to corrosion or hydrogen embrittlement only happens after decades of exposure or in specific situations. As long as you avoid these specific scenarios and do proper maintenance, you do not have a problem.

For instance, hydrogen can be made to flow through natural gas pipelines with only minor modifications: https://assets.siemens-energy.com/siemens/assets/api/uuid:3d...

It can be extrapolated that fuel cell cars will similar in most aspects to CNG and LPG powered cars which also have to deal with pressurized gases.

A lot of the anti-hydrogen articles are paid marketing from competing technologies. They are basically not stories at all. FUD is more accurate.

> Ahh yes, BMW press release about BMW testing a BMW car themselves. Totally neutral and unbiased. Toyota had the same thing, they preheated the car before each run because fuel cells really don't like freezing.

Considering that they are actually selling these cars, they are not going to lie about real world performance. Independent testing have found fuel cells to work better than batteries in cold weather: https://www.sustainable-bus.com/news/the-effect-of-cold-weat...
Don't they simply need the people to actually get stuff out the door? Almost every other year teams are being shoved into another department to the detriment of a product, so they can get something else out because otherwise it won't happen. Sounds like they actually need more people, not less. To me, Apple always sounds like it's spread way too thin or running on the absolute minimum.

Meanwhile I'm still looking at bugs in my OS that have survived a decade.
That's not what I'm saying. I want rust, but with the simplicity of go. I want a compiler that's super portable and it itself compiles in a few minutes. I want a straightforward build system that doesn't leave me confused. I want less language features.

I also want a more lightweight syntax but beggars can't be choosers.
Off the top of my head: depending on the jurisdiction there are several important legal documents that you are disalllowed from filing yourself and the judge is allowed to reject you with or without reason
Article author here - can you let me know where you're based (details in my profile)? I'll be looking for a solution to keep scanning my Xpan negs, and possibly my F1 project at some point in the near future.
I think that will be a problem of its own. e.g. In Atlanta police recently shot and killed a protester and other protesters are saying it was murder while the police are saying the protester shot first.

Right now, I hope the truth will be revealed by police releasing body camera footage. In the near term future that footage will satisfy nobody and we'll all be left wondering what really did happen.
Rejection sampling works when your bias is constant, not when it varies depending on the environment.
My mood when reading the PEPs is of excitement.

While I'm not too keen on hardcore feature divergences, most of the new features have been really nice things to have, and which are never imposed. (E.g. the walrus operator, type hints, dataclasses, etc). I don't see the need to be so outright hostile to changes, unless they were clearly breaking features.
> but as I understand they are under regulations that prohibit them from dropping your connection when e.g. they find you visiting ycombinatior.com

Was that a problem before?
>That said, I questioned the wisdom of building a solar panel and then expecting it to keep working even though things are driving all over it.

I don't understand, the project is about "canopies of solar panels that sit over the parking spaces" cars are not supposed to drive over them.
> Or any other type checker for that matter other than Pycharms built-in one and mypy. Don’t faff about with vscode either.

Eh, I’m not getting different editors for different languages (coding, documentation, and otherwise) used in the same project, and IntelliJ doesn’t have nice tooling for everything I need that VSCode does. Not sure how good Pycharm’s typechecking is, but pyright is, IME, usually better than mypy, and VSCode lets me belt-and-suspenders both of those if I choose (I did for a while, between being pure mypy and being pure pyright).
Or maybe people will just start requiring more evidence that something actually happened instead of believing everything they find on Tiktok (or the wider internet), which would actually be a good thing.
The Guardian web site has/used to have a warning displayed for articles of a certain age. This would apply here.

The article is from 2015. Close to irrelevant, alas.
Thinking that an electricity market that buys and sells massively across state borders and pretty much form a continuous grid is solely "internal affairs" is just pure simplistic naivety

Of course, in crunch situations like last year it did show major issues (which were not all due to the way the market works to be fair).

And state companies are still allowed of course
Interesting. I saw shades of this when I tried porting a tool over to Nim, found it was much slower than trivial code in Python and Groovy, then stumbled into this discussion:

https://github.com/nim-lang/Nim/issues/9026

Nothing as strong as the above but it definitely rubbed me the wrong way. So much advertising about Nim being efficient/fast and the default way to read a file is incredibly slow and inefficient .... and they don't care.