skysight-inc/HackerNews huggingface dataset:
> Probably the parser should be rewritten in order to take less space, currently it takes almost 250 lines of code: this is too much and leaves little room for all the rest.

Wirth's PL/0 is also pretty much half parser, and I've noticed the same phenomenon in a couple of my projects.

I believe this is why we had no-grammar languages in the early days (LISP, APL, FORTH) — if the rest of the language is small enough, parsing looks like bloat.
Note that energy in the case of ICF is produced instantaneously. There is no approach to capture this energy in production at this moment. Capturing that enery is still ongoing research topic.
HTTP is stateless, whereas most database connection protocols are stateful.

So if you use HTTP, you need a lot of boilerplate on the client side to manage that state (eg. prepared queries, transactions, session parameters).
Well, the other possibility is that he has high charisma and low intelligence.
The reason we can ignore the huge manufacturing energy inputs required to make solar panels, is because it's powered by cheap domestic coal in China.

>driving operating coal plants out of business

Any specific ones? The only coal plants I've seen get shut down are because of environmental reasons (or age). Some countries, like Germany and China, are re-opening or building new coal plants.

Talking of mental gymnastics - fundamentally, the energy economy boils down to EROI (energy returned on energy invested). It's just wishful thinking that we can replace energy sources that are basically free (coal, oil, gas), with those that have energy payback periods in the mid-double digits of their expected lifespan (solar).
That puts the cost on par with current residential water rates in the bay area.
Show HN: Fully managed cloud infrastructure for ML development
You can check my Google Scholar [0]. I have created many, high-impact datasets that were 1) formative in their respective areas and 2) have seen downstream usage in disasters and wars around the world. Not once in creating those datasets did we take the “easy” route by compromising on the ethics of data collection.

The positive solution here was to not collect data if there was a reasonable ethical concern. This classic mindset of “anything goes as long as we create value” is highly toxic.

[0] https://scholar.google.com/citations?user=4Cdwp_MAAAAJ
Not even a large battery. Just standard replaceable batteries that don't have mysterious risks of exploding.
A summary of other techniques to achieve similar results is provided below:

- https://filthypants.blogspot.com/2017/01/shaders-for-sharpes...

- https://jorenjoestar.github.io/post/pixel_art_filtering/
Why use google cloud's API when OpenAI released Whisper, which has 2 -5 MB models which are fast af and work so much better than any other models.

Theyre open source, run locally and require minimal computation power
A recent experience with Instagram has made me wonder whether 2FA is worth the hassle. My phone broke and I hadn’t backed up my 2FA app since joining Instagram (I since switched to 1Password for 2FA) so I couldn’t log in. No problem, I have backup codes in a screenshot - but they don’t work!

I managed to get in touch with their support and had a bunch of back and forth to prove my ID but am now stuck getting “sorry we only have time to review the most urgent requests” auto responses.

I don’t care about my Instagram account but I will probably complain to the ICO here in the UK out of principle as they’re preventing me from accessing my data which is required under GDPR. However, it does make me think what a nightmare it would be if this happened to my Google account. Seems like once you have an issue, you’re stuck as these companies just don’t have human support.

What’s people’s thinking on the best way to deal with this risk? I totally understand why 2FA is required but this experience showed me that stuff can go wrong - in this case my backup codes stopped working.
Thanks for creating this and helping others learn! Amazing effort :)
Another solution is to just increase taxes until you end up with €32 billion in increased revenue. An advantage is also that this solution is actually _possible_ (as opposed to getting rid of all tax evasion).
They could have easily sent an email. As far as I'm aware, I would have only seen it if I logged into the dashboard, however, my app works completely fine and I have no need to do this unless it stops working, which it just did tonight, due to the database being deleted.
I build in public and think about these two things often.

As an indie dev, I make around $800k per year on my two saas companies.

Copycats: There have been some, but the saas companies that I've build have such a hard cold start problem (they're social marketplaces), that all the ones I've seen pop-up flatline. If you have a product that has no moat, sure, don't build in public.

Bragging: In fact, it's the opposite. When I post something, and the comments start rolling in, it's only then that I realize mistakes I've made or things I could've done better.

---

I think building in public is still a decent way to build an audience and to get free insights.
I am more the other way. Even the big clouds are too “serverful” for me, and for very small things a modern PaaS is much easier to deal with.
Blink was removed a long time ago, but you can emulate it easily with CSS animations.

To make it even more irritatingly attention grabbing while trying to read something else, layer the blink (or fade if being slightly more subtle) so it occasionally blinks brighter. Use the "Cicada Principle" to make the blink unpredictable with minimal effort.
Physical Bitcoin Attacks
I think fissions failure is a inability to plan for complete failure scenarios, were society folds in on itself, suppliers are no longer available or power plants are actually fought over. So the inability is not to get the tech going, but to plan for how it can it be usefull in a unravelling world.

Already economic downturns corelate with fission problems, as plants are not properly maintained. We have one blowing up every thirty years atm. Our reach exceeds our grasp, and there is no shame in admitting to that.
It unambiguously means nuclear reactor in context and is widely used. The only people who even pretend it doesn't are the ones simultaneously making disingenuous arguments about why renewables are terrible and we immediately need to drop them and wait 50 years for nuclear to save the day.

The mock outrage is tiresome and transparent.
RummyCircle is an online rummy platform
that allows you to play rummy while also
bringing excitement to your favorite device.
A streamer has to compete with every other streamer for viewers/income. They're basically trying to sell their personality / themselves to the audience. As other comments mention, the vast majority of streamers cannot do that as they have literally no viewers.

The take that it's an easy job seems very weird to me. If it's so easy, why don't you quit your job and start streaming instead?
Would have a hard time believing any announcements from that guy after the Segway: "Steve Jobs, Apple's co-founder, predicted that in future cities would be designed around the device [Segway]"
Yes!!! This has happened to me before. I entered my TOTP and then Google forced me to open YouTube on my phone. I didn't have YouTube (I deleted it), so I had to re-installed the YouTube app and sign in through that before I could login to whatever I was initially trying to do.
Any claims about 100 years of trouble-free operations of a nuclear reactor is a wishfull thinking at best.

For example, in France nuclear power reactors were stopped because unexpected cracks appeared in pipes after just 25 years of operations requiring expensive maintenance, https://oilprice.com/Latest-Energy-News/World-News/France-Cl... That put reactors off-line for over a year.

Then Sweeden closed one of its reactors because it bacame unprofitable due to raising maintainance costs, https://apnews.com/article/technology-business-sweden-europe...
My trading empire in the early days of World of Warcraft.

I found a trick that I called "graveyard jumping", which involved sneaking a Level 1 character into a high-level zone far enough to reach the area of the next graveyard before dying, then the next graveyard, then the next.

After a couple of days of survival horror gameplay, I had a dozen of Level 1 characters in multiple high-level areas of the world. The point of reaching these areas was vendors with rare items on cooldowns -- usually recipes or trade books.

I would log into those Level 1 characters (to sheer bewilderment of higher-level locals), buy the cooldown items from the vendors, then send them via mail to my main character in the capital, who would sell the items on the Auction House at an enormous markup, collect the profits, and send some gold to the Level 1 characters so they could cover their item mailing fees.

I never raided or belonged to a guild, but I had so much money that a friend, who was a leader of a high-ranking raiding guild, sometimes came to me to borrow some gold.

Good times!
I don't know enough about the relevant physiology to judge the article as a whole, but this bit is not correct:

"That’s why military grade night vision goggles always use a green light. You get a much clearer sight picture with extra contrast while preserving most of the night vision once the light gets shut off."

The trend these days is towards white phosphor in NVDs. This is because, while green is indeed better if you have to look at it and away repeatedly in low light, white is significantly better at producing high-contrast images. And you do want high contrast to be able to spot things when it's dark.
Transitioning from feudalism to capitalism in its liberal form meant freeing people and providing them more rights and liberty.

Transitioning from that to socialism would mean taking freedom away. Despite what some claim the dictatorial nature of the 20th century's socialist countries is not accidental, it is inherent to socialism.
I tried warning users here that it's not a good idea to use the outputs for commercial purposes like writing books.

Private company OpenAI, never know when or what they might do next with the generated text.
You are aware that the whole economy is a house of cards, right? Not just crypto?

It is bound to crash down after the last decades of reckless policies and all-around fuckery going on. So why not do this "cleansing" while blaming it all on an already hated scapegoat? It doesn't matter if it's not real nor realistic, what matters is the narrative, which I'm sure everyone ITT will gladly lap up!
Same with joomla I guess[1]? What I have done in the past with Joomla 3 has now become Hugo static site only. It is so much better for my use case. No one I know needs a full-blown cms. Selling people that they can edit their own website largely fell flat, because they paid me to do it in the end every time. Also, Joomla needed an update every month or so because of security issues was bad because often plugins would randomly break.

[1] https://trends.google.com/trends/explore?date=all&geo=DE&q=j...
Most of the top streamers do a lot more than just playing video games to keep their audience engaged.

Or if they are mostly playing, they're probably one of the best in the world at the game.
You're a broadcaster host for an entire day producing entertaining content in real-time. I get pressured when I code in front of people, I can see how having to be entertaining in front of a lot of people and have a continuous social media presence is stressful.
"Pilot Glenn Ashby successfully sailed the team's wind-powered craft at a speed of 222.4 kilometres per hour on Sunday — in 22 knots (40.7 kph) of wind."

I am sure someone has already explained this elsewhere on HN, but how is it possible for a wind-powered craft to travel faster than the wind?
>Most of the big earners started streaming within the last 5 years[2], and even then, the top 2000 streamers are making 100k+[1].

The leaked data reports earnings made over almost a two year period, 23 months to be exact. So the earning potential isn't quite that good, it's more like around 1000 people earning the US median income and 1000 above it
How to Build an Open-Domain Question Answering System? (2020)
A lot of innovation in music AI is currently happening at HarmonAI, a group within Stability AI. My guess is they will soon release some sort of "Jukebox 2.0" model.
Grind is also not the hacker mentality. One wants to move a mountain by carring it to another place, the other wants to find a stick, a small rift and cause an avalanch after a nice walk, that will redirect a river.
Here some things that might help you:

1. Most probably you will need help of someone who knows a little about technology. Maybe you can ask someone you know or pay them by helping (time for time).

2. Since you said in a comment that you have poor eyesight, let someone with a magnifying glass check if the usb port on your old phone is simply clogged up. This is quite likely to be part of the issue.

3. Try different usb cables and charging ports, ideally one that you can verify that works by testing on another device (for example the new phone). These things break all the time.

4. Try carefully wiggling the usb jack while the charger is connected and it should be charging if nothing was broken. The goal here is to find a position where the phone gets charged at least for a bit. Also note: If the phone is off it might take several seconds before the phone indicates that it is actually charging. This is fidgety but could resolve your problem quickly and easily.

5. If the phone has wireless charging you can go to star bucks or restaurants, some provide wireless chargers. You might get some charging done and resolve this.

6. [Technical person needed] You can order a battery replacement (also search on craigslist). If your phone is not too new/fancy this should be very cheap. Then the technical person can swap the batteries and try charging the old phone again. If the old phone then works you can sell it and get a little money back :)

7. [Technical person needed] Depending on your exact phone (the old one) you could search craigslist for a broken one where the screen is damaged but the phone otherwise works (these should be very cheap). You can then charge this phone and and let the technical person swap the battery, same as above.

8. Repair shops: Since your problem (the part that the phone is not charging) is quite common, repair shops might have even more possible solutions. I don't know about the US but in europe many of those are very affordable, especially small ones.

9. Can you tell us the manufacturer and model of your old/broken phone? It's not unlikely that someone on HN has the some model or a battery replacement lying around and you can pick it up or pay for shipping or they might even pay for shipping it to you.

Come one HN, this is a solvable problem!
> Write down everything

I agree that there a massive benefit to this and asynchronous communication can be more productive. However from a personal point of view, I’m dyslexic and find verbal communication much more efficient for me. Reading or writing can take longer than others expect. I also don’t always feel I can express myself correctly with written communication.

This is just a comment and unfortunately I don’t have a solution. I suppose this is more an ask to be mindful that others might excel in different ways.
AFAIK, Win 9X login was more of a "profile loading" rather than proper login. You could just hit cancel and in you were with a default profile loaded.
Your blog post today may be read tomorrow.
Uh, no. IIRC it came from apollo program where they wanted their software people to be treated at same level as hardware engineers
This is a great strategy even today, with the only difference being how you'd implement it: typically by interposing malloc and free and having it walk its own stack.
I always love seeing numbers and other peoples success. It motivates. I think the majority don’t see it as bragging, it shows you can bootstrap your own startups.
I have astigmatism, and I read without glasses (by holding the device close enough to the eyes). I find black-on-white more readable in general, but red-on-black is equally readable at night.
> Streaming yourself in a hot tub playing with an inflatable ball is a job? Then it's softcore porn, at best.

If you're not doing it for your own enjoyment, it quickly becomes a job, just like ... porn.

Besides, you're glossing over all the interaction with the audience which is very much the work part.
I'm not saying that it should be mandatory just that it would be very beneficial for 95% of people.
>What signature do you get from "if err := myFunction()"?

You provided an example from Go which is almost like an exception. And I think it is bad. You have a function that returns....something?? Instead, if you have something like Result<T,E>, it tells you exactly what you're getting.

```

value = myFunction();

match value {

Ok(v) => // whatever

Err(MalformedSQL) => // oh something with sql happened?

Err(UserNotFound) => // oh can't find user?

```

Then you get "BZZZZZ, compile error. You forgot to check for another variant of the Error (ThirdPartyLibraryError)" which is a million time better than catch-all exception handling because you are afraid something might get out of this function call. If you do want to have a catch-all exception handling, then that is also possible by using "_ => {}" which is explicit. So just glancing at a piece of code, you know you have handled ALL the possible error cases.

>I have a web application. There is a SQL query that produced no results for an object. I throw an ObjectNotFoundException. It results in an HTTP 404, producing a web page or a JSON response, depending on the request location, and I handle it all once.

Also possible in axum. You have an error enum and then you implement a trait that converts said enum into an HTTP response. So your code looks something like

```

value = myFunction()?;

```

and if there's any error it will automagically turned into the appropriate response. So I get all the ease of exception but the type signature is not lying to me. If I forgot to implement a conversion from some new error to HTTP I get compile time error.
1. The same research that brought us the atomic bomb brought us so much more. Who cares about the motivation of the research? This is such a bad take considering the history of technology evolving out of military development.

2. Again, all technology is expensive in the beginning. Who cares? The important thing here is to climb magnitude by magnitude. NIF climbed many magnitudes in recent history, making it notable.

3. As you mentioned, Helion and direct energy capture. D+He3 + DEC might be not feasible with a tokamak, but the scaling laws of fusion (size, current, B field) are in favor of experiments that get close.

4. See 3

5. See 3

6. See 3

7: See 3

I think you have a very negative take on what is an amazing breakthrough accomplishment. Even if the NIF doesn't end up converting their research into a commercial powerplant, they have at least demonstrated experimental viability of inertial confinement fusion. It's only a matter of time before the next generation shows viability of D+He3 fusion and then we'll have even more options.
You're very welcome! I hope you (and any other readers out there) have found them useful.
Huge amounts of spam already originate from gmail addresses, so I don't think this is a good example. That's not to say that I think security should be weakened, though - it should not, but for other reasons.
Whats the best book/resource to learn OCaml for someone new to FP?
> I don’t think you really get donations on YouTube

Youtube recently introduced a membership function, I don't know how exactly it works but should be something along those lines
Yeah because no one is shitty to people on social media platforms. And when something becomes a job it is a job. You can’t stop the game and eat a pizza, choose another game or watch some youtube. You have to do the thing that is your brand that people are expecting. It absolutely is work.
Yes and no. If it's my money, if I don't spend it I will save it for another thing, so I have an incentive to spend less. I know they are trying to emulate the same incentive as a policy with that words. Personally I think that using the words "use common sense" would feel more honest.
True, but still. Unless we talk about highly custom enterprise contracts or so, the unit economics is much easier. Maybe not very very easy, I take that one back, haha. But estimating the marketing impact per contract signed is still more or less a one time thing. Not so with PRs.
The graphics library still exists, it is only distributed as a separate library rather than bundled with the compiler distribution, which seems like a better fit for a pedagogical library like `graphics`. Also `graphics` works fine on Windows. In fact, nowadays the edge-case for `graphics` support is MacOs with its dwindling support for X11.
Hello is this the AK thread? :)
Do you get paid for this, or do you just hate your grandchildren?
This is how I imagine passion. Lovely. Every second.
> A generation of engineers obsessed with crypto

I think most of these engineers are interested in the high compensation that the blockchain space has been able to offer so far. If high compensations disappear, I suspect engineers will switch too.
Job title inflation is an inverse function of compensation and inequality. When a few people are getting paid a ton of money and you are not being paid much, getting a "promotion" is one of the few ways to land a highly paid position. If your current company gives you more responsibility without increasing your pay, you can usually switch jobs for a higher salary.
Out of interest, what economic research are you referring to?

I think the issue you describe could be avoided by using a Georgist taxation paradigm. Essentially stop taxing income and tax land value instead. This helps poor people keep more of their paycheck and socialises rental income from landlords without disincentivising investment in the rental. The political feasibility of tax reform on this scale is the main issue.
1 - probably you meant Notepad

2 - In all Windows versions you could do that. Notepad is rather an underrated program. You should really read Ray's entries about how Notepad works.
> Assuming a similar percentage of car washes and hairdressers launder money( similar to how many >10k cash transactions are for money laundering) we could ban hairdressers and car washes from using cash all together.

And how many >10k cash transactions are for money laundering exactly?
Ok, so you’d say that there are no core engineering principles that could distinguish an engineering approach from a mere development approach.

Instead you’d claim that the key distinction is that engineering requires a legal/moral duty to accountability.

Is that a general consensus here?
The best open-source alternatives you can find today are GPT-NeoX 20B, GPT-J, Bloom, and OPT. But these are all generative models à la GPT-3. In order to turn them into a chatbot you will need to use few-shot learning: https://nlpcloud.com/effectively-using-gpt-j-gpt-neo-gpt-3-a...

These models can be self-hosted but they will require advanced hardware and some specific skills related to AI model deployment.
Meta: this really needs a (2007) or something, to signify that it pre-dates Antirez creating Redis and stuff.

I had time to think "wow, I also want to create some world-famous infrastructure software, rock that world for a bunch of years, then (semi?)retire and blog about 3-hour C projects!!". :) It's always very interesting (to me) to see what people end up doing after a great success, so I thought this was it.

Then I read the early comments, understood that it was from before Redis, and went back to check. The only post date I could find was in the (Italian) tiny footer where it says "Pagina creata il Thursday, 15 March 07".

Edit: changed the suggested year to be only 2007.