skysight-inc/HackerNews huggingface dataset:
I'm using Hugo for my blog, so this is good to hear. My only complaint so far is having to embed front matter in my .md files. Mixing JSON and Markdown feels wrong.

Question: my blog is a git repo of .md files that I run through Hugo and then rsync to my host. Wouldn't it be possible to write a web app that just hits the repo on Github and renders to HTML, and skip Hugo altogether? Are there downsides other than performance?
The custom SFF PC community has expensive, small, AC-DC power supplies, e.g. https://hdplex.com/hdplex-nanoatx-power-supply-explained
Both are available on SCIHUB
Appeal to Authority.

Just because you have credentials, does not mean you infallibly know your ass from your elbow. It means you know how to apply a process to an end, and can be relied upon to reproduce someones idea of that process.

Meanwhile, real and substantive contributions come from those never priveleged with having someone else in a position to vouch for them.

Let the facts and results speak for themselves. Which in this case, won't hapen til the first case gets exercised well. Regardless of how it resolves, everyone else has room to opine, as the law has stake held in it by all of us.
The bosses behavior is the worst I’ve ever seen.

Sure, if there is time, it is best to file a ticket and notify the code writer so he can fix his own bug. That’s how he learns, but an urgent bug?

The worst part is his reaction. He literally twisted the person’s words to the worst interpretation possible.

What a piece of shit colleague.
Small compromises in generics doesn’t make it a mess.
> But, idk, I am accepting of people and somewhat tolerant of others beliefs (white supremacy isn’t one I am tolerant of though...). So, there is that.

If I told you I was not in favor of BLM because the founders were caught embezzling funds or pushing Marxist propaganda, would that make me a white supremacist?

I do believe there is a problem with cops shooting people in the states, but I'm also not a fan of that movement being co-opted for political gain. Which is why I support the message but not the specific organization.
He earned the Award, no ifs ands or butts about it
Depending on functionality delivered, it sounds over-engineered if their codebase is 500 KLoC. Bragging about removing LoC would be better.
>Bitcoin wouldn't be bad if we had perfect energy production with no environmental cost.

...or if the cost was fully internalized.
If Government has the right to ban plastic straws it has the right to ban bitcoin. You're not a bad person for drinking out of a plastic straw and neither are you a bad person for using Bitcoin. It is just that a behavior in aggregate is harmful and this in mind makes it defensible for government to forbid it, especially when a viable alternative exists. So the next time you get annoyed by that disgusting paper straw, think of the cryptogeeks who will be forced to use EMV when they would rather use the silicon based electric heater that is bitcoin.
Bezos unleashed: things we learned from 'Amazon Unbound'
Ah, but the USA is dependent on cheap, Chinese solar cells.
Are there any web frameworks you particularly like in C++?
This last week, I created my own minimal rss reader that has no fluff so that I could combat my incessant use of the web. My intent was to make content as dry as possible so that it doesn't continually pull me in.

Here's the Hacker News rss feed in action! https://rss.mchone.dev/?feed=https://news.ycombinator.com/rs...

Here's the engadget rss feed as well. It's more content-rich
https://rss.mchone.dev/?feed=https://engadget.com/rss.xml

And here's my github repo: https://github.com/BenMcH/remix-rss
In fact, the average time you'd have to wait for it is... a week.
> you can follow the logic always 100% of the time

You can see the bare bones if conditions and for loops sure, but what are they actually trying to do? golang code is very thin - it takes a lot to write to convey a particular piece of logic. What a few lines of map/filter/accumulate/group by in a more expressive language like Java or Kotlin becomes dozens of lines in golang. It becomes challenging to extract the underlying logic and to follow it. Java and Kotlin are strictly superior.
One of the Twain's famous examples that language is full of exceptions and hard to learn is that the word for girl is neuter.

However, that shows that he didn't understand things all that well. Or the message was more important than the facts. While in general gender does indeed not follow much logic and needs to be learned by heart it's not true for this class of words. For derived words the gender is determined by the kind of derivation. E. g. diminutives are always neuter, and so is the word for girl, which technically is a diminutive, even if today's speakers don't see it like that.
Can you tell me how much does it cost in US to have unlimited rides for month by MetroCard?

I'm quite shocked that you do not(??) have flat feet. In my country it is 35$ per month for unlimited rides on metro, buses and trams.
My apologies. I simply glossed over the Mac bit. :( Just having a hard time.
“Whatabout ice cream”

A non-argument.
You might have missed the part of the article where they describe the weaknesses of Go that they've discovered while porting their Python code, but they downplay them to make the whole thing sound more like a success.
> To the extent that genders are idiosyncratic, they are hard to learn. Bora, spoken in Peru, has more than 350 of them.

Interesting. Wikipedia says that Bora has more than 350 "classifiers", but that doesn't seem to be the same concept as genders. There is a specific section at https://en.wikipedia.org/wiki/Classifier_(linguistics)#Noun_... contrasting classifiers and "noun classes", of which grammatical genders are a special case. https://en.wikipedia.org/wiki/List_of_languages_by_type_of_g... lists one language with "50–140 noun classes", several Bantu languages with 16-20 of them, and apparently all other languages of the world have significantly fewer. (I am not a linguist.)
Related: my Hazer (com-diag-hazer) LGPLv2 repo, which makes extensive use of Diminuto, is my go-to tool for evaluating GPS/GNSS/IMU devices or building geolocation tools. I do use stuff like the GPS Daemon (gpsd) in many of my precision timekeeping projects. But if I need to get closer to the direct output of the device (which is typically the case), step 1 is cloning, building, and installing Diminuto and then Hazer. I find I can only learn and internalize stuff by doing, and Hazer is my mechanism to keep abreast of technology in this field.
The Solana Season Hackathon has begun
It's the nature of golang to be verbose like that. It has very low code density, meaning it takes writing a lot of code to express something that could have been expressed in a much more concise manner in a stronger modeling language like Java or C#.
Intent matters.

It's prohibited to alter data on someone else's computer systems (CFAA), so what matters if that file was placed there with the hopes that it would overwrite someone else's Cellebrite database, and it doesn't matter if you placed it on your phone or sent it over a phishing email.

And as a separate crime, it's forbidden to destroy or conceal evidence or things that would be used as evidence, no matter if that evidence is files on your phone protected by such a buffer overflow, or a gun that you throw in a river.

In essence, storing such a file is illegal if the jury gets convinced that you placed such a file with the goal to have that buffer overflow to actually happen on someone else's machine.
I am building AsyncGo (https://asyncgo.com) which is still evolving but it is a kind of forum for businesses structured around having important conversations and documenting the decisions that come out of them.

I built it to have something simple and lightweight for discussions for remote teams, as an alternative to meetings and using more heavyweight methods like issues for conversations. It is still early days but there is a free tier, if you are interested and check it out I would love feedback.
Wasnt it more of follow me because I am boss basically? You said you had small circle of people you listened to and the rest was informed about plan and their place in it.
> I by myself use it with WordPress and GitHub - write content and then by using either html source or markdown source publish it on those platforms.

I'm not too familiar with Github pages, but in Wordpress's case it sounds incredibly wasteful as you lose all the benefits of Wordpress's modular editor. Why even bother with Wordpress at that point and not use a more lightweight CMS?
I'm almost done with a graphql react form generation plugin for graphql code generator.

Basically, just write a mutation, and a react form pops out. Fully customizable per form, or globally with context.

Just gotta finish validation, and give it some real good testing.

GitHub
https://github.com/ericwooley/graphql-code-generator-react-f...

Website https://graphql-code-generator-react-form.thewooleyway.com/
The main argument for static site for me was the simplicity and price of hosting. It's also CDN friendly which means a huge performance boost.

Hosting a static site on Azure costs me 2-3$/mo which is well within the free credits I get from my work-sponsored MSDN subscription.
I made my own Java libraries for interacting with about a dozen crypto exchange APIs. I used it for awhile for a triangular arbitrage bot.
Yes I know. I’m asking what is puzzling about it from a biological point of view. As I said, men can have all kinds of traits that reduce their chances of reproduction. It is not at all uncommon for a man to have one or more of these.
Looks awesome! SQL seems like a much nicer interface for this kind of thing over a pile of command line flags.
Sabritas Turbos Flamas

https://www.amazon.com/Sabritas-Turbos-Snacks-Flamas-9-25oz/...

Hella good too.
essentially duplicate of https://news.ycombinator.com/item?id=27173615
Sorry about that. You wrote that the power it gives you does not justify the mess of the language. I agree that the language is messy, but that it also lacks any power whatsoever worth speaking about :)
Daliado offers co-ownership of second homes with up to 5 other people. All the necessities including, legal, cleaning service, furniture, security are taken care of for a fee. Through tokenization of the property rights, you can change your home every year!

I always wanted to own a second home in south Europe, but could not afford it. Also I was scared that when I own something, I will be forever bound to it. With Daliado I want to offer an easy and much cheaper way by co-owning a second home. Through the Tokenization of the property rights, you can exchange your property tokens every year for other property tokens. This means you can change your second-home every year for another! - You get the flexibility of rent with the comfort and the advantages of being an owner. I believe this will be the future of tourism.

Daliado offers the easiest way to co-own a second home and change it every year. Combining the best worlds of ownership and rent into one new thing.
I commented my own project in another thread, but I have to say that reading all these is really inspiring. The HN community is pretty amazing.
The main advantage of this PEP over MultiError (IMO) is that standard except blocks will Just Work. For most use cases that will be sufficient, and those people will never have to think about this PEP.
He is not programmer. He is manager and the he is at most successful when he charms people. His whole thing is making other people do stuff rather then do stuff.
Unfortunately, I think this is not true for the latest mutations that appeared within the last months (e.g. B.1.1.7 from the UK).

Please correct me in case you have different information
I wrote a Python library for model based systems engineering, because existing tools (e.g. Simulink) don't coexist nicely with mainstream version control systems, and don't generally have such a nice interface for system level meta-programming and design optimisation.
Mm..Citations as currency? Let’s add some mumbo-jumbo about blockchain and ML and go to market, baby!
As long as there is net inflow it can continue regardless of it being a scam or not. Lookup tethers market cap at coinmarketcap - the inflows are massive and exponentially increasing.
The same observations are made on container deposits and recycling rates in the USA.

There are 10 states in the United States with container deposit legislation.

The US overall container recycling rate is ~ 33%, while states with a $0.05 container deposit laws have a ~70% average rate of container recycling.

Michigan is over 90% as its deposit is $0.10.

So why don’t more states have “bottle bills?” Because Coke, Pepsi, and the beverage industry oppose it

https://www.industryweek.com/the-economy/regulations/article...
> Is the worry here that Cellebrite's vulnerability would need to be executed on a different computer, so it's in a different category?

Yes, possibly. The legal system is all about trying to establish clear lines dividing the spectrum of obviously OK behavior and obviously unacceptable behavior. It is obviously OK to delete text messages off your phone. It is obviously unacceptable to break into a police station and delete evidence off their computers. Somewhere in between is the dividing line, and if this went before a judge it is entirely plausible that they would draw the line there.
This is a great point and one applicable to my case as well. I have an obvious proxy for income bracket to even out the playing field. Thanks!
I feel vindicated. My company (a FAANG) had a diversity training seminar and his story was held up as the shining example of why diversity matters for bottom-line business reasons. First of all - I find the logic of "don't be racist for $$$" to be extremely troublesome, but it also just never made sense to me why it would take specifically a hispanic person to create a spicy variant of a food product. But I didn't want to say anything in fear of being deemed an Enemy of Diversity or put onto a list for extra re-education.

It basically just sounded like a blatant stereotype - "white people like mayonnaise and unseasoned chicken, Mexican people like spicy food", which I've found diversity-types love to bandy about as long as they generally follow the negative (white|men|western culture) trend and positive (PoCs/women/non-western cultures) trend.
A couple of things that required a mini lobotomy for me while learning Dutch (the Belgian variant, Flemish) as my fourth language. As a Germanic language, many rules that apply to German also apply to Dutch. As I continue to learn many of these, I now feel like a "novice insider". I still continue to struggle after six years of being immersed in the language, and the struggle is great fun, as it forcefully rewires my brain in interesting ways.

• Verb comes at the end ... except when not. A dead-simple example: the phrase "because it is difficult" is translated as omdat het moelijk is. The verb is is here. And omdat means "because" and it has a synonym called want (yes, it's a Dutch word). However, the-verb-comes-at-the-end rule doesn't apply to want, so the same Dutch phrase with want becomes: want het is moelijk (here, the verb sits in the 'normal' position). This subject/verb order can get really complex.

• Split verbs. The verb "invite" (uitnodig[en]) in the sentence "I invite you all" gets split in two: "in" and "vite"; and the first part goes to the end of the sentence: "I vite you all in" The sentence in Dutch reads: Ik nodig jullie allemaal uit (notice the verb split: nodig ... uit).

My frustration here is hilariously expressed by Mark Twain in his essay[1] on German. NOTE! — Before you take offence at the title[1], Mark Twain was an accomplished German speaker, he wrote this in a fun spirit!

"The Germans have another kind of parenthesis, which they make by splitting a verb in two and putting half of it at the beginning of an exciting chapter and the OTHER HALF at the end of it. Can any one conceive of anything more confusing than that? These things are called "separable verbs." The German grammar is blistered all over with separable verbs; and the wider the two portions of one of them are spread apart, the better the author of the crime is pleased with his performance [...]"

• • •

And there are many other subtleties like "inversion", and usage of grammatical articles ("de" vs. "het") is arbitrary enough that there's an entire website[2] that helps you learn which article to use when.

[1] https://faculty.georgetown.edu/jod/texts/twain.german.html — "The Awful German Language"

[2] https://www.welklidwoord.be/ — the website name means "which article is it?"
Got it. But having the buttons still say "$19" sounds pretty damn dishonest and manipulative to me.

The buttons should really say "5 rides ($X.YZ)", "10 rides ($X.YZ)" or whatever and compute the exact amounts for the user.
I used to maintain a sprawling spreadsheet to manage my retirement investments. I would use it to compute the trades I'd need to do to rebalance (so I can stay on-target with my desired asset allocation).

I ended up making https://github.com/cjjeakle/rebalance-calc to do the same thing, but with a slicker user experience. I use it quarterly, so it definitely fits the bill for my use case, and I occasionally show the tool to friends to help explain what rebalancing is and how to do it.
This analogy neglects to ask what the environmental impact of ice cream is.

Let's say I bought a gallon of ice cream with bitcoin. What is the energy cost of the transaction? How much waste heat did it generate? And on the other side: what is the energy cost of making that ice cream, shipping it to the store I bought it from, and keeping it refrigerated? How much waste heat did that generate?

If the bitcoin transaction cost as much energy and generated as much waste heat as the production, storage, and shipping of the gallon of ice cream, then yeah, that's a good start for saying one is legitimate as the other. But if one of them cost a couple of orders of magnitude more energy, and generated three orders of magnitude more waste heat, for something that is theoretically the same monetary value (because they are, given that we paid for that whole supply chain with the bitcoin transaction), then there is a pretty clear imbalance.

And for a bit more clarity - what is the energy/heat cost of buying that gallon of ice cream with a debit/credit card? How does that compare to both the production/shipping/storage of that gallon of ice cream, and to the cost of buying it with bitcoin?

I am not going to do the research and estimation for this. Some quick lazy searching suggests that one BTC transaction consumes about 3x the energy of 100k transactions via Visa's network, though. And that is the issue: Bitcoin is, by design, incredibly wasteful of resources. Ludicrously so.
Really simply, I grab the json from the copy buffer, use `json_decode` then `var_export` and then use some horrible regex stuff to reformat that into a modern short array syntax.

So it looks like `json_to_array.sh --assign --clip` (if no clip just echoes the resulting PHP to stdout)

https://kopy.io/aLpar (its not good code, it's an itch scratcher) - only works on Linux (it's all I use but would be trivial to make it work on a Mac I think).

PHP makes a really good shell scripting language since it's a full blown language with a massive API and can 'talk' to the shell quite simply.
I made a chrome extension that lets me close tabs that I want to read later & delivers them to my inbox every monday - https://closetab.email

I also made my blog sync with my google docs - https://hexo.press

I knew both of those would be helpful for others as well, so I made a service out of each of them and open sourced the code - https://github.com/joelewis
No, a web component by definition must be a class that inherits from a HTMLElement base class and implement some basic rendering functions. In addition you must make the browser aware of the component by calling a CustomElementRegistry.define function with your class and the desired component name. So at a minimum there's about 5-10 lines of boilerplate JS necessary to define and register a basic component.
It's really good. I bought it after reading about Stripe Press (yes, the payments company publishes books). I also picked up The Dream Machine by M. Mitchell Waldrop. I really enjoyed both books.

The quality of the Stripe Press books is outstanding, although the type size is a little small in the Dream Machine book.
When I've worked in big companies, it was hard enough to get working contact information and then convince them to fix bugs in a reasonable time frame for real issues that were important.

In the couple of times I've tried to that accross companies, it's even worse, unless the other company is very accomidating, my company has a direct relationship, and either my company is a major customer or a major expense and the fix will save them a lot of money (and me a lot of headache). If we don't have a direct relationship, it takes months to get in touch with the right person, and then quarters to get a fix into their release schedule, so if I have a fix that works for me and my customers, I'll still put a little effort into reaching out to get it fixed properly, but then I'll just do what works.
Charging for road use is not necessarily anti-poor people.
RetroArch 1.9.3 Released
now explain why when you see a cat yawn, you have a compulsion to say "big yawn!"
> its distribution has to be consistent with gravity acting on an initially almost-uniform distribution with small cosmological perturbations

That may be a restriction that some may operate with, but it is non-obvious why only models obeying this restriction are to be allowed. Some people do not care about cosmology and want to fit just rotation curves. And even if someone does care about cosmology, why would initial uniform distribution would be the only acceptable one?
Madagascar, Paradise for Wildlife
From what I could find it seems the EU does not actually set enforceable tolerance levels for “light filth” other than a vague “zero-tolerance”. It is, however, pretty obviously stated what the tolerance levels are for different known toxins.

For example, for Denmark, the acceptable standard where no limits are set is “if it’s not dangerous, doesn’t change the food properties significantly and nobody complains”.

See also https://techround.co.uk/business/american-food-standards/
try transformer models, like BERT, for pairs or sentences,

I saw similarly that BERT is not as good as word2vec for single word similarity but shines for sentences (where context is important)
I created a CLI tool which is kind of like tar, except it only saves the attributes and (optionally) hashes of files, and it uses a text-based one attribute per line format. You can finely configure exactly which attributes to save (eg. just execute permissions, or just modified time, etc.) and it can write the attributes back to the filesystem.

It's useful for various sysadmin-related tasks, like checksumming an entire directory tree, finding the file(s) that are different between two directory trees, or tracking file attributes in git. Since it's text-based, it's really easy to process using sed/grep (the file format is specifically designed to be
regex-friendly).

GitHub: https://github.com/parkerhoyes/stat-archiver
Sooo.... Will Farrel? 0:->
I made plocate (https://plocate.sesse.net/), because I found it absurd that mlocate would need 20+ seconds to find my files if Google could search all of the Internet in less than 100 ms.
I've written some pretty low-level OpenGL bindings in Rust, because the existing solutions are either too high level or over the top complexity wise.

At the time I only had experience with the OpenGL C api and didn't want to learn a totally different Rust abstraction or mix C/C++ libraries into a pure Rust project.

https://github.com/DomWilliams0/name-needed/tree/develop/ren...
https://news.ycombinator.com/item?id=27169047