skysight-inc/HackerNews huggingface dataset:
#pragma openmp target parallel for

The "target" now makes the for-loop discussed a GPU or FPGA algorithm. Now what's strange about this is... you seemed to have known this already? So I've had difficulty making an actual response to you.

OpenMP is just one tool in my toolbox. To be honest, I've found it to be not flexible enough for most of my usage, but its gross simplicity is again, one of the easiest C++ / C tools I've ever used. Yes, even for playing or dabbling in GPGPU programming.

Furthermore, OpenMP is usable on GCC, Clang. Its even available (OpenMP2.0 at least) on MSVC++ (though OMP 2.0 leaves much to be desired, that's still enough for some degree of programming on Windows). So OpenMP code on say, Blender (3d raytracing program) runs on pretty much all important C++ platforms.

GPU and FPGA programming is complicated to actually perform well, because GPUs and FPGAs have a huge PCIe 3.0 bottleneck. A lot of code in CPU-land can stay in L1, L2, or L3 cache and outperform the PCIe-transfer alone. In contrast, CPU-to-CPU transfers are very quick (and exist on the L3 to L3 transfer or L2 to L2 transfer speeds), so your "cost of communication" is very low. I don't want to discourage any beginner from playing with GPU code (especially if they're "just messing around"). GPU code is easier to write than most expect.

But its surprisingly difficult to actually beat CPU code with GPU-offload code.

If its not something that works out for you, that's fine I guess? There's a lot of different tools for a lot of different situations.

--------

A fun OMP thing btw, is...

#pragma openmp parallel for simd

Which (tries to) compile your program into SIMD code, like AVX512 or NEON for ARM.

OMP isn't as flexible as writing your own threads by hand, but its easy to experiment with many forms of parallelism with the same code. There's also nifty attributes, like "firstprivate" or "collapse", or "reduction" clause... as well as having different schedulers (static, dynamic, guided).

Honestly, its really good for prototyping. You write one for-loop, but have all these knobs and dials to try out a bunch of different strategies. But for "final code", hand-crafted threaded code really can't be beaten.

--------

BTW: I don't think that C++ platforms like NVidia nvcc or AMD's ROCm support for_each_n. And even if they did, that's not how you really write GPU-parallelism programs.
Use any old laptop and a) you won't need those solar panels while b) it comes with its own built-in UPS. If your place is anything like mine you'll have a few old laptops just collecting dust which are perfectly useable for hosting the average small service. Configure it to install security updates automatically, install your favourite PaaS package and you're off. Easy, cheap, accessible, decentralised. How much easier do you want it to be?
Another dev here. I recently dropped out of my PhD program in political science to work as a full-time SWE. Oogway is a passion project; I've been obsessed with decision science since my early undergraduate days.

I'm motivated to create a UX that reduces the pain of making decisions, simple and complex. Grateful for feedback!
As someone who spent a LOT of time working in/running professional kitchens in the US (NJ specifically) I would just like to say:

CITATION NEEDED
In Latvia, we have multiplatform app that can read e-signature from your ID card. Not ideal, but still what author would approve, I think. I'd prefer 2-FA using code generator.
I have no insider knowledge, but a look thought their changelog[1] is not exactly inspiring, especially if you consider that Heroku doesn't support things like HTTP2.[2] There are almost no real changes beyond updates to languages and the occasional (rare) minor change to the platform, which is not a sign of a healthy actively supported service.

[1]: https://devcenter.heroku.com/changelog

[2]: https://help.heroku.com/JAOCNZ25/does-heroku-have-plans-to-s...
I get told that my email is invalid by some apps, for using a .so domain. Apple was one that would not let me create an apple ID upon buying a new laptop. Eventually, I set up the machine without Apple ID, and opted to create it after the fact via apple.com which accepted it. It makes me wonder if it is intentionally a "Hard no" during system setup, and then a "well okay if you insist" when the user has installed the system without using an Apple ID as a last resort.
> 'Surely I am an idiot, but I remain an optimist that human beings can pull ourselves out of a great collective delusion '

OT: But may i ask if you (reminding me on a fictive guy named "Baron von Münchhausen") do you mean 'optimistic' in terms of: 'You not only have to consume the advertising, feel invited to make our next ads better, write cheering feedback, get in touch with our company ! (without any surplus for you, sorry!)' Than...than ...yes than, i am sure -you became an "'I did it'-people" ?.... P-:
Signing up to and using AWS or GCP is orders of magnitude more complex than those old free hosting services where you got an FTP username and a password. In fact you could upload directly from Frontpage IIRC, but I could never get it to work.

It's simpler for us software engineers, less simple for the snot-nosed webmaster wannabes we were.
Give https://railway.app/ a shot
So do Radford and V. Tech. They give generous aid packages as well.
The New Cncf.io
My favourite personal domain by anyone is Matt Mullenweg's ma.tt, it's so short and really stands out.

But for me, {firstname}.{country}, is enough because it's pretty cool to be the only {firstname} in {country} who decided to register the domain. :)
https://render.com/ has been the closest thing to a replacement we've found (we've deployed HUNDREDS of apps to Heroku over the years, so this would be a massive loss for us as well)
> We don't have "safe spaces in colleges". I graduated from college recently and never witnessed any such thing. How long has it been since you've set foot on a college campus?

Just the fact that there are no brawls, no animosity or electricity in the air means that the whole campus is a safe space. Ever since the stone age putting a bunch of young people together in an enclosed space meant huge social volatility and an energetic exchange of ideas. That just doesn't happen anymore.

> who are dealing with real problems like sky high costs of education, health care, and housing, and who don't deserve this kind of disrespect. Young people are survivors.

A median GenZ will live well into their 90s...honestly that's a huge problem, human brains are made to think about tomorrow, next week at maximum, because they developed during a time when you could die at a moment's notice. When you stop thinking about tomorrow and you project yourself 10 or 20 or even 50 years into the future, that's when crazy things start happening such as you saying that young people are survivors.

There is so much abundance, more than ever, that people don't even value it.
Ransomware-as-a-service: Understanding the cybercrime gig economy
Og yeah, Linux Control Groups is similar.
> Coke Studio has done this several times.

This is the first time in 5 years that they have hit over 100M views in Youtube.

https://www.youtube.com/c/cokestudio/videos?view=0&sort=p&fl...
Streaming real-time data has been around longer than you think
The timer I had never turned off the LCD. I found it in early elementary school and the same battery was still going strong when I got married in my late 20s. So it lasted 15+ years on a single AAA battery.
Lovely put!
Being able to keep things working would be good.

At the very least it can give you some added analytical abilities. Like learning Excel.
There's some interesting research from 1987 about simulating falling sand!

Don't let the ideas from the past slip through your fingers like sand through an hourglass. ;)

Abelian sandpile model

https://en.wikipedia.org/wiki/Abelian_sandpile_model

>The Abelian sandpile model (ASM) is the more popular name of the original Bak–Tang–Wiesenfeld model (BTW). BTW model was the first discovered example of a dynamical system displaying self-organized criticality. It was introduced by Per Bak, Chao Tang and Kurt Wiesenfeld in a 1987 paper.

>Three years later Deepak Dhar invented that the BTW sandpile model indeed follows the abelian dynamics and therefore referred to this model as the Abelian sandpile model.

>The model is a cellular automaton. In its original formulation, each site on a finite grid has an associated value that corresponds to the slope of the pile. This slope builds up as "grains of sand" (or "chips") are randomly placed onto the pile, until the slope exceeds a specific threshold value at which time that site collapses transferring sand into the adjacent sites, increasing their slope. Bak, Tang, and Wiesenfeld considered process of successive random placement of sand grains on the grid; each such placement of sand at a particular site may have no effect, or it may cause a cascading reaction that will affect many sites.

>Dhar has shown that the final stable sandpile configuration after the avalanche is terminated, is independent of the precise sequence of topplings that is followed during the avalanche. As a direct consequence of this fact, it is shown that if two sand grains are added to the stable configuration in two different orders, e.g., first at site A and then at site B, and first at B and then at A, the final stable configuration of sand grains turns out to be exactly the same. When a sand grain is added to a stable sandpile configuration, it results in an avalanche which finally stops leading to another stable configuration. Dhar proposed that the addition of a sand grain can be looked upon as an operator, when it acts on one stable configuration, it produces another stable configuration. Dhar showed that all such addition operators form an abelian group, hence the name Abelian sandpile model.

>The model has since been studied on the infinite lattice, on other (non-square) lattices, and on arbitrary graphs (including directed multigraphs). It is closely related to the dollar game, a variant of the chip-firing game introduced by Biggs.

https://www.youtube.com/watch?v=1MtEUErz7Gg

>Sandpiles - Numberphile

>Luis David Garcia-Puente discusses sandpiles, and how they produce amazing "fractal zeroes". Dr Garcia-Puente is an associate professor at Sam Houston State University and was interviewed while attending an MSRI-UP summer program.

https://www.youtube.com/watch?v=diGjw5tghYU

>Coding Challenge #107: Sandpiles

>In this coding challenge, inspired by Numberphile I visualize "sandpiles" with Processing (Java).
I created podcastbunker.com in 2004. In 2005 it was chosen by Time Magazine as one of the 50 coolest web sites. You can look it up if you want. I was a f*king webmaster:-)
This used to be how I assumed that awful UX keeps coming about, repeating the same mistakes and then making new ones by removing existing conveniences for no clear reason. But surely, I thought, I must be assuming the worst of an assuredly more rational situation.

I then heard more about the designers at Microsoft for Vista through Windows 11 which deeply confirmed most of my prior negative assumptions. It sometimes really is as simple as folks who think they know better than anyone who uses their product; people who refused to dogfood or even touch the thing they ostensibly work on, in any given day.
The layer below does not have to protect against replay attacks. In fact solely relying on such a protection would be a security issue itself. The user could just generate the TAN here and sign the transaction.
A bud light at a bar is like $12 now at most bars. The case at the gas station across the street is $18. The splash of coke in the $10 well drink that begins with a cup scooped full of nearly free ice must have been about five cents of syrup and one cent of CO2, the pour probably came out of a bottle that costs like $15. Maybe that maxim was true back in the day when people could actually afford to get drunk at bars, but not anymore.
The page also looks looks to me like a post.

Rather than a question, followed by many answers. Which is what I’m expecting based on how the concept has been presented.

Which part am I wrong about?
Huh? Just use neocities.org. Even has a built-in editor on the site.
Still gutted they never made Grand Theft Auto: Weston-super-Mare.
Comparing the free tier:

S3 is 20,000 GET requests; R2 is 10,000,000
S3 is 2,000 PUT requests; R2 is 1,000,000
S3 is 100GB egress; R2 is unlimited.

S3 pricing varies by region; R2 pricing does not.

So, with R2 you get unlimited egress, 500x the free limit on requests and flat global pricing. Oh, and the actual storage is cheaper.
Ask HN: Is Erlang an albatross to Elixir adoption?
I pose this question in all seriousness. An observation: after being an elixir developer for a few years now, and bringing new talent into the mix (no pun intended), is that it's a friction point for new devs learning Elixir when they invariably stumble across the things in erlang — libraries and the like. I'd hoped I could avoid it myself, but it's too interdependent.

The notion that to learn a language you also need to learn a second one is not great. Imagine people saying "cool, learn python, but oh, you also should brush up on cobol while you are at it, you know." It's just bizarre.

And before the vocal defenders kick in I want to clarify that the following response (which is what I usually hear) is NOT a valid response to the question being posed:

"Erlang is easy, it's just semantics that are different"

While this statement might be true, it doesn't address my point. That something is easy to do for one person is irrelevant to the fact it causes friction for new devs and may hinder adoption.

I think there are many amazing points to Elixir, and thanks to Erlang it has a lot of amazing roots.
I know both communities are trying to make both co-exist well. But every time I come across an Erlang library, invariably the documentation is a nightmare (if it exists at all) and I have to read the code just to figure something out. This is true also of many system level things even in Erlang. The docs are horrific. Reading the code is NOT an answer.

I don't know what a solution is, but perhaps a concerted effort to create a documentation and library ecosystem that never links back to Erlang would help. And where there are critical systems that use an Erlang library, perhaps rebuilding it in Elixir is in order?

Flame away :) I ask the question because I'm curious how others feel about it, and I want to help promote more adoption of Elixir. (And hearing from ALL sides, not just defenders of the faith. What about people who've tried elixir and moved on?)
The classic one is with yacc, where your user is looking at a message like "syntax error" instead of "Missing comma, foo.p line 23". IIRC you could improve yacc error messages but you had to modify the grammar, and it usually created even more conflicts and made more bugs.
Salesforce IS a tech giant.
Privacy used to be a right, but it's becoming seen as more of a duty.

You might not need their business, and the law should ensure you don't suffer by refusing it, but I'm not sure we should completely eliminate nonprivate tech.

Some things are inherently nonprivate because of P2P tech. Other things only deal with data that the users don't care about. Some things will probably make privacy advocates uncomfortable no matter what, like Tile and Sidewalk, and might be at risk depending on how far people go with this.

The GDPR is 99% great, but they could have had exceptions for small companies with a prominent "This service does not meet GDPR standards and your privacy is not protected on this site" disclaimer.

Most lost apps are probably utter shit full of viruses, but some may have left just because it was a hassle and they felt they might need a lawyer, and the 2 man dev team just scattered. They might not have been actually violating anyone's privacy.

Others might have been caught by the right to deletion thing, and not had the money to fix it, but nonetheless were not doing anything deceptive.

Of course, this is more theoretical, since most of the apps were probably literally a flashlight that mines bitcoin, or a dating app made by some porn app drop shipping company, with 8 total users(all fake), and a monthly fee to message a buggy bot.

Once you get big enough that people stop having free choice, and competition no longer applies, like with Facebook where you risk social exclusion, it makes sense to regulate it more.

I'd hate to see exceptions for the data portability stuff though. That was pretty much an unqualified win for everyone.
I have Indian and Pakistani friends and, I promise you, music unites them/us.

Sorry to dissappoint.
https://railway.app

Disclaimer: Former employee
Pre-Islamic Persia barely appears at all in Western media outside of stories about Alexander the Great, the 300 narrative, some random Biblical stuff where Cyrus the Great does a cameo, and I guess the Prince of Persia video games. The only consistent negative portrayal seems to be around the 300, which while a-historic in its telling is just kind of a lazy trope.
Ya, that occasionally happens in the USA. In China, however, that’s just a Tuesday.
It was definitely early-days, but people were writing HTML and putting up web pages back in 1993. Mosaic was released in 93.
2B is a high valuation even for a great product like HuggingFace - are there any estimations on their ARR available? Even if their revenue was at 10M per year (I'd assume it is less actually) that would be a multiple of 200X.
Dark Souls lacks permadeath. People are fine with hard but ultimately fair, die and learn the patterns then eventually win.

Diablo 2 could erase weeks of work by one monster spawning an unfair combination. Practically nobody is truly looking to bring that back. Though, people are fine with that work improving further runs with rogue-likes.
HN knows neocities, everybody used to know Geocities once. How's one supposed to sign up there if it's so niche it's not known outside of the tech circles?
The opinions on this thread...
Saying somebody is a fascist is not the same as saying they're a Nazi. Fascism has a few competing definitions, including Umberto Eco's 14 points and "palingenetic ultranationalism". Both of these definitions match Trump very well. The latter essentially means national rebirth by returning to the old ways, of which "make america great again" is a perfect example.

Also, the classic alt-right threat of "if you keep calling us fascists then I guess we'll become fascists" is... Basically just an admission of being a fascist, or at least proto-fascist? It's not the "gotcha" you think it is.

[edit] also, voting for Trump doesn't make you a fascist. Plenty of different interest groups voted for him and most of them, I would say, aren't fascistic.
The problem with these also end up being like. Does that app share info with third parties? Who made the security chip in the IDs. How fast are the IDs replaced when vulnerablities are found?

I don't really get putting cryptographic IDs into citizen identification. There's not much it provides other than, "well someone had this ID and knew some pin when this ID was used".

The unfortunate side effect of this is, less technical people might see a digital signature as a full and complete proof. While it definitely is not.
If you care for them you could just charge them for free, you can’t be paid by them nor lose anything from them using it anyway (at least for the non-SaaS applications) so why bother?

I know it sounds ridiculous, but idk maybe we should just start somewhere to stop sanctioning.

What’s more ridiculous is that one the main reason US is sanctioning Iran is for its nuclear blah blah (and the fear for using it) while on the other hand US was the only country that ruthlessly bombed Hiroshima and its civilian’s to dust…

Now everyone (most people) think US is the good guy while they’re being misguided by mass media companies, why? Because they’re owned by US, why? Because US has money (mostly debts…)

Some of my family members still live in Iran and they’re so annoyed from the whole sanctioning shit, these were only some of there complaint’s from the US government…
Integers are enough to write a Snake Game
> People can be addicted to ANYTHING that releases dopamine. And we are all doing it constantly in an unnatural way.
>
> This means that everything that triggers in you an excited, focused, joyful moment can be addicting.

Oh no, not this again. Dopamine isn't the thing that makes you feel euphoric, that comes from opioids.

https://www.psychologytoday.com/intl/blog/women-who-stray/20...
No Tezos which is disappointing. Tezos is actually where most good artists and art are in my experience. As someone said on twitter “Tezos is the Berlin of NFTs”.
Thank you everybody for sharing your thoughts!
Sounds similar to ever-increasing sweetness of soda drinks: if your drink has 3% more sugar than competitor, it just "tastes better". So the market gradually falls into super-sweet.
> Commercial flight has been a race to the bottom for years now

Which is exactly how a free market works. When there is a profit to be made from the sale of a product, so basic microeconomics theory goes, competitors will arise to undercut current players, until everyone's profit margin converges to zero. This mechanism is supposed to incentivize innovation and productivity improvements.
You're making the assumption that without that experience, people are going to be dicks to food service employees. That is, assuming people are dicks by default, which I don't believe is the case. Maybe American culture instills that in people though, I dunno.
Co-Founder of Koyeb [1] here, we provide an alternative that you might want to check.

Didn’t officially launch yet - feedback welcome!

1: http://koyeb.com/
~10 years ago I had a web proxy on heroku to bypass internet filters. It was used by people in countries like China, as well as by kids (and teachers) in schools. (At one point my highschool blocked google!) Heroku's free tier was always good enough for the server, but I did pay for SSL for a while.

After it had been around for a couple of years, someone accessed a phishing site through my proxy and incorrectly reported to heroku that I was hosting a phishing site, so they froze my account to investigate. I was eventually able to show them that I wasn't actually hosting any phishing site, but then they said that they were planning on changing their TOS to disallow any form of proxies, so they were going to keep me frozen anyways.

So, I stopped using heroku after that. Oh well...
Knowing how to data model is a skill I learned and got good at long before I was ever forced to write my first SQL statement. For all it’s power an usefulness SQL is to databases what JavaScript is to web development… some people are WAY too obsessed with using it for everything they can. And this is a bad thing. I find “DBA”s tend to reach for SQL first and can cause their own kind of chaos. From writing difficult to test code because they hand wrote SQL that only works on the production database (PostgreSQL vs in memory SQLite) to my pet peeve of constantly suggesting that a problem would be trivial to solve with stores procedures which would massively complicate (requirements completely replacing) the database migration system currently in use (because most frameworks, like Rails, Laravel and Django don’t have good built in tools for managing, versioning and updating stored procedures).

Adding a DBA to a team is like adding an opinionated senior developer, sometimes you need that experience and sometimes it’s just going to be a total fucking pain in your ass.

If you feel you need better data modelling skills in your developers, don’t hire a DBA, hire developers that know how to do data modelling.
render.com has an amazing service, but honestly the deploy time kind of killed us and we're (unfortunately) back to aws.