skysight-inc/HackerNews huggingface dataset:
Hi HN, this is a C container library I've been working on for a while. I've spent a long time trying to figure out the best way to make generic containers in C and this is what I've come up with.

Most container libraries in C are either weakly typed (with void pointers and function pointers) or they are heavy on macros (expanding to huge blocks of code wrapped in "do {} while(0)".) Pottery is different: it uses include files and renaming macros to create strongly typed composable templates. The templated code in Pottery looks sort of like normal C, and it preprocesses into ordinary C functions similar to what you would write by hand.

There's a bunch of stuff in the examples to demonstrate Pottery: a toy chess engine, yet another string library, etc. I'd love some feedback on it so please have a look or try it out and let me know what you think.
That was my first thought, too. But the input is not JSON. The input is an object graph. JSON stands for "JS Object Notation". Any graph with nodes that match the shape that the example JSON parses to is a valid input. (Though it doesn't help that the author refers to the graph as "json".) Still, getting that object graph is the other half of the owl.
If the Aveegotchi person is based in a jurisdictions with laws that would be favorable, one solution is to sue him. You could make the argument that he should return the money (and that creating a computer program which was unable to allow him to do so was his own fault).

It’s a similar fact pattern to Citigroup v. Brigade Capital Management (which seems like it could go in Citigroup’s favor).

Of course it seems like the Aveegotchi person is being really nice about this so I don’t think it would be right to sue him, but if I’d just lost my whole life savings maybe I’d think differently.
Realm of Racket doesn't teach you about metaprogramming though.
If watching someone lose $50k USD equivalent doesn't prevent someone else from doing this sort of thing, a random internet meanie will definitely not dissuade them.
And you still can't do a basic slider to set a time range?

I want to see a zoom of how the stock did from 2012 through 2015. This functionality was stripped and still not returned?

This is the equivalent of having 5 inconsistently scaled preset zoom levels on Google maps. Zooming in isn't complex, and a lack of it completely weakens how you used a map product (or stock viewer).

It's amazing to me that they still haven't fixed what they tore out. Google really struggles with supporting customer products.
I was responding to the statement I quoted.
Can you please explain a bit more? This sounds very interesting and it might teach things that we don't know about vercel.
Part of managing an investment portfolio is making sure it remains suitably balanced.

If you bought $100 of crypto back in 2008, then when the price swung rapidly and it became a substantial proportion of your net worth, you probably should have thought "I only invested a token amount as a joke. Has anything changed since then? If not, I should sell all except the token amount I actually intend to own".
I did this a few years ago with a friend. We settled on using a thing or 2 from Quandl as the best fit (hundreds of $ instead of tens of thousands) after we realized XBRL was a nightmare. We did this privately for investment purposes; if you're making a user-facing thing, perhaps their terms won't fit your case.
Oof, this is like a glorified "my first stock monitor" app. No options drill down, no relevant news or dates, not even comparisons! This is sad and significantly inferior to the old experience - certainly material UI alone wasn't THAT big of a feature?
Brazil has a population of 200 million people. Is that a lot of people?
Hah, i've been debating switching to Sway for that mixed HiDPI reason. I've got a three monitor setup where 1 is 4k and the other two are 1080p. X11 has been annoying, with a handful of small compromises and gotchas, unusable without xrandr.

> let me know of any questions regarding program compatibility under Wayland.

What types of programs might not work in Sway?
A year's worth of learnings from adopting Mob programming
Peak beef [1]: the US beef cattle headcount peaked at about 45 million in the late '70s and is now at about 31 million as of 2020.

Globally [2] the beef cattle inventory has been basically stable since 1985 at between 200 and 220 million heads. One can say maybe the cows have gotten heavier, but no, the total beef production in tons has been flat too [3].

[1] https://www.nass.usda.gov/Charts_and_Maps/Cattle/bcow.php

[2] https://beef2live.com/story-world-beef-cow-inventory-year-13...

[3] https://www.statista.com/statistics/263992/beef-production-w...
Looks like you can self-host, for one.
I feel like the obvious answer is pretty substantial amounts of $$$. But in seriousness I think it is naive to say that Facebook has only downsides. Their tools do offer many benefits to many people, and I expect most of the engineers who on on those tools do so with that goal in mind.
I wouldn't call it ugly, more. . . untidy.

Common Lisp grew by accretion over a fairly long span of time. Consequently, it has varying conventions, inconsistent ways of working, and a whole lot of TMTOWTDI going on.

That said, perhaps we should be careful what kind of house we're in before throwing stones. Exactly the same accusation could be leveled against Java, Python, C++, and Haskell.
I can't tell if this is poor satire or trolling, because I REALLY don't want to believe there's someone on HN that actually thinks any of that is even REMOTELY true.
Is it that different? https://github.com/timkpaine/tributary/blob/main/docs/exampl...
Yeah, this is a less-but-still-misleading follow-up. The password might turn out to be related or might not, but I don't think the added details point either way.

This security company's marketing blog is mixing up the facts with speculation.
Let's especially be careful not to use it in the "nation state vs. kid in a basement" debate.
I understand that, but the process seems to be rip, watch, delete due to limited storage. I’m sure I’m missing something but I don’t know what benefit this process adds over just watching the DVD.
I see that your tool is mentioned constantly in online forums: https://www.google.com/search?safe=off&q=site%3Areddit.com+O... - that's 526 results. I suggest keeping an eye on those mentions and reply to any questions someone might have, or clear up any misconceptions.

You might think it's silly to interact directly like this for a product priced at $1, but keep in mind Reddit and Hacker News have very good SEO, so these questions (with your answers) will pop up when people search for your, or similar, tools online.

Moreover, for the same reason, you can monitor your competitors and recommend your tool when you have the advantage.

I don't think that at your price point ads will work for you.

I recommend that approach because that's what I've been helping people do for the past year. I'm the founder of Syften (https://syften.com). I'm happy to onboard you personally, I've sent you an email.
/delted/
I'd call that the workaround patch for others who are exposed to the bug. (/s)
I have a Cisco R200 server. It has a built in management interface called CIMC. (There is a proper name for that management type software but I can't remember.

From these panels, you can pretty much do anything you want to the physical server - Open a console session, change boot order, bios, etc.

Screenshot: https://imgur.com/iWYJIpU
MATLAB seems ill condusive for structuring and organising code in a sane manner. It tends to give its users bad habits with respect to structuring code is what I observe.
It seems to lack data structures that are quite pervasive in modern programming practise.

Also python being a general purpose system brings its own benefits, one can easily hook up ones code to fetch or push data to databases and even easily scrape data of the web or extract/reparse/rectify/reformat poorly/complexly structured data before processing.

And I find MATLAB not feature rich in terms of being able to manipulate tabular data in a relational DB like manner, that is querying/projecting/selecting rows/colums to find interesting facts.
"The only time it doesn't fit great is with e.g. GIMP that has several small windows for toolboxes and stuff"

You could try running GIMP in single-window mode (via GIMP's menu option: Windows -> Single-Window Mode).

It doesn't get rid of every little window GIMP has, as it'll still pop up windows for saving files, for example, but it's much better than multi-window mode, if you don't want to bother with lots of little windows.
Reasons Retailers Don't Share Data with Brands
Check HackerOne to see if the company is listed. This is a site where white hat hackers can post vulnerabilities and in return get rewarded for bounties.
If you have information on a vulnerability for a large social media, you might be looking at a nice reward. https://www.hackerone.com/product/bounty
Well, I browse a lot of the web using my keyboard using either Vimium or Tridactyl. Together with i3, it feels like a totally different and pleasant experience.
Yes GIMP is the one application, that really works poorly under tiling window managers. I've had a setup previously that would automatically layout the different windows (I think that was when I was still using awesomewm), but that also worked poorly. Has anyone found a way to work well with GIMP in a tiling WM?
Kelsey Hightower shares stories from Kubernetes, Google Cloud, and standup come
Suckless: Software That Sucks Less
Wait, how do you block DoH without blocking other HTTPS traffic?

Do you have to block every known DoH server? Looking at Google's DoH certificate they list quite a few hostnames and IPs as Subject Alt Names:

dns.google
*.dns.google.com
8888.google
dns.google.com
dns64.dns.google
2001:4860:4860::64
2001:4860:4860::6464
2001:4860:4860::8844
2001:4860:4860::8888
8.8.4.4
8.8.8.8

Issued by Google Trust Services...
> But consider this: If, when you were young, you bought a few $1000 of Microsoft stock, Apple stock, Google stock, ect, when they went public, that investment could have grown to be the majority of your life savings.

And if you did it in lots of other promising stocks at the same time, it would have been a major error.

If you have reliable information from the future, sure, it makes sense to dump your life's savings into one basket that is going to pay off. Or if you are young and your “life’s savings” is a trivial fraction of even your annual surplus income, it might make some sense to take an all-in risk speculatively. But, generally, it's a bad idea.
Finance is one place Yahoo is incredible at. I use their app all the time.
What makes you say ripgrep has a slower regex engine?
Microsoft Software Class Action Settlement
The Great Consolidation of Enterprise Software
I don't think there's an official recommendation. Any database host will work just fine. However if you want to optimize based on location, here are the regions where Vercel hosts: https://vercel.com/docs/edge-network/regions#routing. So hosting a database in AWS in any of those regions probably makes the most sense.
I'm not validating a bad decision. I'm saying that we don't know anything about why he made that decision, and until we do, we have no right to judge him for it.
You know people steal scrap metal, bottle returns, catalytic converters (way more valuable) for money, right?

Even the trash pickers that drive around all day picking up scrap and might make $100 if they are lucky
The types of surgeries performed should be controlled for when performing a statistical study.
I do a lot of film photography and do use a flatbed scanner to digitize. I like taking 4x5 negatives and making 100MP digital images that you can infinitely zoom into. But! It is a lot of work. (I wet mount, and take several scans to get the focusing perfect across the entire negative.)

You can get 90% as good results by putting the negative on a slide viewer (more commonly sold for tracing these days) and taking a picture with your digital camera. Will you extract every bit of information that the film captured? No. Will an amazing picture look amazing when digitized in this way? Absolutely. So it's worth considering if you already have a digital camera and are just getting started!

I have taken pictures of negatives hanging to dry with my phone, inverted them in Photoshop, and posted them to social media with good results. You don't need expensive equipment and to spend hours getting things perfect if you don't want to.
Bitcoin Hits Record Above $20K
A bit off topic, but does anyone know of a good competitor to the old Google Finance? I loved the old site where you can stack indicators and fancy box and whisker charts.
Here's a wildfire simulator, that uses standard models for how fires spread through a landscape, using cellular automata: http://wildfire.concord.org/

(It's designed to be embedded in a curriculum, so it doesn't have a lot of explanatory text, but it's pretty straightforward. Click the Spark button and add a spark to the landscape, and hit Play to start. For more fun, press the Terrain button and add a strong wind.)
> When people start talking about who is or isn't a journalist, and identifying ideological opponents as not journalists, the only outcome is a media that is defined as legitimate by how loyal it is.

What is it about so many of the commenters in this thread that they're allergic to good faith objectivity? When you write a study for publication, or arguably when you report about a study, one of the things you're responsible for doing is to define any terms which may otherwise be ambiguous for their usage within the context of the study. Defining what this one study / article means by the word "journalist" is not the same thing as gatekeeping, and it certainly isn't some slippery slope of demanding that journalism be a licensed profession. I haven't seen a single comment advocating for that. What I am consistently seeing is several people asking "For the purposes of this study, what qualifies as a "journalist"." Which is a very fair question and deserving of a good faith response.
Bolsonaro was elected in 2019, the problem in Amazon forest started in the 70s. Check the "Loss Rates" and draw your own conclusion https://en.wikipedia.org/wiki/Deforestation_of_the_Amazon_ra...
I recently had a complex facial surgery. Before doing so, I tracked all informations I could about my surgeon.

Everyone had good comments, good healing, very impressive track record, etc.

Everyone but one patient. She complained on how her surgery was rushed, how quick she was out of the operating theater, how she is scarred from it, etc.

At first, I thought she was lying. Why was she such an outlier?

I asked her for more details. It turns out her surgery was in the afternoon of the last friday before the Christmas holidays.

After knowing this, I made sure to schedule in during the middle of the week aways from holidays. My surgery went well.

I am glad to finally have statistics on this gut feeling I had. 23% is a LOT, and the 30% for the holidays is even worst. I had made a mental note to avoid those days, now it's become a rule.
It's funny, i have three monitors and i still do what the GP mentioned. My side monitor is almost entirely a bunch of large-designed (aka big gutters/etc) GUI focused applications. Slack, etc. And i arrange the "peek outs" (as GP called them) by what makes sense to see about that window all the time.

It works out really, really well and i'm super interested in finding a way to make that work with i3.
Massachusetts charges Robinhood, citing “gamification strategy”
I don't know what to think of this guy. On the one hand, he is the ideal tinkerer, going super deep into subjects like cooking and now photography of snowflakes. He has tons of money, yet he makes it difficult for ordinary people to access his work. The cooking books are thousands of dollars if I'm not mistaken. The snowflakes, you can't see in high res unless you pay for it.

The thing that's confusing to me is that someone who is usually this passionate about something gets joy from sharing it with others freely. This guy seems super greedy.
The researcher added there may be some certificates exposed in that repo which may have been used to sign the binaries. It's still a relevant update.

Especially the information that the repo was archived by Web Archive back in 2018. It's not easy to know the "who" but the how can be speculated and investigated.
Calcbench (https://www.calcbench.com/) does this, but as others point out, XBRL is a bit of a mess
Agreed, between vimium, Vim, and a window manager, I almost never have to actually touch my mouse. Keeps me in the zone a lot more.
Is there anything unique to the tools that Facebook provides?

It seems like most of the stuff they do has been provided by competitors at one time or another, or could be done better outside of the constraints of facebook’s ‘engagement’ model.
The original from years ago had a solid portfolio management tool where you could track your cost basis and positions. Still haven't found another replacement for that other than good 'ol Excel...
Do you agree with everything your current employer does?
But Facebook never sells the data itself, it only sells targeting capabilities. The government can only say "display this ad to people who fit these categories", but they can never see those identities.
Facebook: Speak Up for Small Businesses
> Hasn't the drop in value at the beginning of the year shown that bitcoin doesn't have an inherent value? The price just reflects how much people want in and out.

By that logic, there is no maximum either.
Yup, I envy the M1 but I'm on XMonad (lol) and I really wouldn't want to go back to a non-tiling window manager.
This sounds similar to what I do with Emacs, having it fullscreen with a code buffer mostly full window with occasional split columns on the right for terminals, magit etc - also controlled by keyboard, obviously. Though I see how having a separate shortcut for telegram, spotify, vivaldi etc would be useful if I wasn't already using them within Emacs!
Why not pay for premium?
Well. That takes me out for the same reason. Appreciate the info!
StockX Snags $2.8B Valuation in Latest Funding Round
FAA warns of new Boeing flight control updates to 747, 777, 787
It's exceedingly poor at "learning" from the Hide this Ad button. I got approximately 3 dozen of the same style "were you abused in the boyscouts?" Ads from law firms despite clicking hide on every one of them. It's worthlessness drove me to cut through their obfuscation BS and write an ad blocker specific to FB. I have to update it now and then, but it's worth the effort to not see the garbage ads people target me with.
The quote "Vercel combines the best developer experience with an obsessive focus on end-user performance.
Our platform enables frontend teams to do their best work." isn't actually from the linked press release, it's from the home page https://vercel.com/

TBH I think the linked blog is targeted at a dev audience, and if it isn't then "They don’t care if an application is CSR, SSR, SSG, etc. as long as their end-user is delighted." (with those acryonyms linking to a Next docs page) is probably not supposed to be there.
I have looked into Quandl, as well as other finance API's. I just had a call with Intrinio, which will offer me a demo soon. I will have another demo from S&P Global, which I fear will be unaffordable, but it's always worth a try.

May I ask what specific usecases your internal tool was built for? And were you in the end able to build it to your satisfaction? I welcome any thoughts.
That's because most aren't designed as git porcelains. Magit enhances and, in some cases, replaces git's abstractions with its own. If a git frontend starts by taking git's own built-in porcelain as a given then it's already doomed to failure.
As far as simple interfaces are concerned for the average layperson yahoo finance is as good as it gets since google literally gimped their finance product in such a stupid fashion since they didnt know how to monetize it. So not only did you have a competitor pick up marketshare, but also offer a premium sub feature that does not compete with their insanely good free public api. what a stupid company
Decent interface. Not quite as useful as Yahoo or Marketwatch but good enough 95% of the time.

Biggest gripe is that the URL format can't be user to directly open a stock's page without remembering the exchange a given stock is on.

This URL will bring up Google's stock:

> https://www.google.com/finance/quote/GOOG:NASDAQ

This URL will not:

> https://www.google.com/finance/quote/GOOG
What do you think is false about what he specifically said?

It is a little annoying how one sided the discourse here is against FB. Makes them seem far worse than they actually are.

Anyway, while I don’t work there, maybe an answer to your question: people find meaning in life in things other than “meaningful work”.
Looks like it's still missing portfolio functionality, which, as I read somewhere not long ago, will be part of Google Finance soon.
Anecdata but "substantial amounts of $$$" can be found at a number of companies that are not Facebook. Source: https://www.levels.fyi/
I've had success with FaunaDB, simple and cheap to get started and you get a GraphQL endpoint as well as their query language (FQL).
The network effect is unique to Facebook. No competitor is going to beat it until they get the same number of users.
I dont think I understood the point about mozilla wanting to influence the web being bad for firefox.

Particlulalry if having lots of users is how you influence things, since then you need to provide a good product (or lock users in via some external ecosystem).

Maybe some recent EU legislation moves can help them in the same way the browser choice thing helped.
Lessons from Building in Public
OP here. I’ve been building my startup and recording the whole process on video.

Playlist link: https://www.youtube.com/playlist?list=PLFP8wPiIB7kz7pbYCnjIc...
There's lots to criticize about other Western countries and how they've managed their own resources (and especially for any outsourcing of environmental harm to which they contribute), but we don't need to be dishonest by arguing that they've depleted their own resources. North America has some of the most abundant forests, oil fields, and coal deposits in the world, and that without accepting payment to compensate for not consuming them. Similarly, Europe has many resources of its own. And (especially in Europe) most of the consumption of natural resources in these countries predated our modern understanding of environment.

If the US demanded a check from Brazil in order to halt the creation of some oil pipeline or coal mine, they would rightly be laughed out of the room--the US shouldn't contribute to worsening environmental issues because it's every country's moral responsibility to create a sustainable future.

> especially when they buy meat and soya from Brazil.

I'm a big fan of economic solutions to economically-derived environmental problems. I want as many countries as possible to have a carbon tax, and I want those countries to have a border adjustment so China or whomever can't out-compete other countries by polluting (externalizing the cost of production to the environment). Maybe the analog here is a border adjustment for Brazil and other countries that aren't managing their environment to some accepted standard, so that other Western countries aren't contributing to Brazilian deforestation (and other environmental issues).