skysight-inc/HackerNews huggingface dataset:
Ask HN:Why did I fail to learn web development?
I spent around 3 months of full dedication to learn this skill(I've 4 years computer engineering degree that taught CS as well) as it's very lucrative job with very high celiling of pay in my region. But it wasn't just for me. People might say "just 3 months", "spend another 1 year". If I was improving time by time, maybe...maybe..But I wasn't improving at all. AT ALL once it came to react.(I learnt html,css,js earlier than that).

I had access to all the world's best teachers(udemy, youtube, blogs), I even have access to various QNA and forum sites that many learners don't even know of. Still...Nothing could help me because it was just not for me, just not for me...

What did I lack? I really don't know, I want to know it bad. When I see react and they start changing stuffs in 5 different files while using useEffect or useState hooks, I literally don't understand wth are they even doing. Like what are they changing.

By now, I'm sure I can never carve a decent looking site using css(which is very important, no matter how much people in comments might lie to me to make me feel good). I tried to find courses for it, but I failed to find any. I'm sure it's not lack of courses, but lack of my own IQ to use CSS.

I really want to know why did I fail to learn web development?
Also https://www.runpod.io/ (which I’ve been a very happy user of)
Honestly I've never had package management cause me issues in Zig. It's very simple to integrate a vendored library into a project vs. other languages. Just clone the repo and add a line to your build.zig. It's actually a little cathartic, it's ruthlessly worse-is-better and it keeps my dependency count in check.

But a package manager would probably be nice :)
It's a classic heads-I-win-tails-you-lose tactic. You put a rule in place that overtly punishes people who do something unethical for the benefit of the company (in this case, pestering their colleagues while they are on vacation) while at the same time you put your employees in a situation where they must break the rule to keep their jobs.

That way management gets the benefit of employees engaging in unethical behavior in secret, while on paper everything looks clean and management is not responsible.
I see a good bit of Sinatra out there in the wild for exactly this -- API only services. I even see it in shops that are running Rails everywhere else.

It does seem to be much more the exception than the rule. But it may be getting more common with kubernetes deployments which make lots of individual services a bit easier to manage.
But yards or pints are really useful units!
YAML has come from Perl world.

Of course it has feature creep. It’s a Perl thing.
A security camera based on motion sensors that does not have access to the internet would be a good product or DIY project.
A much better question is who made Khamenei and I.R. “representative” of God and the Prophet and Ali and his sons.

This has absolutely -nothing- to do with the “West”. Those tropes do not work anymore. No amount of whataboutism will whitewash the crimes of I.R. against Iran.
Labour shortages or not willing to pay market wages?
Probably because one doesn’t need an account to run a search, and when they do get to the website, then the website will do the necessary handling.

I’m not 100% certain of this, but it’s what I gather from the context - anyone feel free to correct me if it’s incorrect.
Channel and Partnership Blueprint for Startups
Hi All,

I have been working on Sales & Partnerships in tech for 20 years. Partner Insight - an On Deck Alumni - invited me to present a global structure for expanding sales using partners. It is a blueprint on how how set up a partner strategy.

Sharing as builders may find this useful & it's a good summary on how to leverage partnerships to tap new markets: https://www.youtube.com/watch?v=-wuyghSrSMA&t=12s
This could be big news.

One reason why nuclear power is economically challenged is the high cost of the steam turbine and the associated heat exchangers. (They quit building both coal burning and nuclear plants based on steam turbines when gas turbines got mature circa 1980.)

If you can reuse the powerset at a coal burning plant that could honorably end burning coal at a coal plant AND make it possible to build a more economical nuclear plant.

Until this, people were thinking about using a high temperature reactor like

https://en.wikipedia.org/wiki/High-temperature_gas_reactor

to get the proper steam conditions for a legacy steam turbine but Holtec claims they have a way to do it with a mature light water reactor.
>Like mining Bitcoin except you are doing something actually useful and getting paid actual money for it

A business paying USD is never going to be competitive with a decentralized crypto compute market. Better to build something just like mining BTC, except you do useful work, and are paid in a cryptocurrency you can exchange for USD. Then businesses can build on top of that to make it more user friendly.

The Golem network already lets you do this with CPU. It's way cheaper than centralized cloud computing could ever be, less than $0.003 per core per hour.

There are plans to add GPU support to Golem, but they have been on the backlog for a long time because there is a shortage of devs.
When is it more performant?
Yes, they have always done that. What's your point?
Breakthrough Technologies 2023
> Majority here at HN seems to lack any intellectual curiosity on this topic though and are just rabidly opposed to anything crypto related.

Ahh yes, the time honored "HN is so mean to crypto" complaint. The moment someone can show me realistic benefits to crypto that aren't total scams, happy to change my opinion.

I mean, just look at the BTC community. Yes, they are generally the most conservative, but they are also are the most cultishly wedded to proof-of-work, which is so blatantly an eventual dead end for broad adoption that it's hard to take it seriously.
I like the Mac concept of the global menu bar that represents which application is focused thus, for example, which app will receive hot keys including cmd-Q.

When you get used to it, it’s jarring to go back to Windows and realize you don’t even know the name of an unfamiliar app that is open much less which one will be alt-f4’d if you were to press it.
Vast.ai does this
> FSD didn't take control away from the human, it encountered something outside of it's limits and returned full control to the human.

We don’t know if that’s what happened.
During OS X early days, Apple wasn't sure that the Mac OS developer community groomed on Object Pascal and C++, was that keen into embracing Objective-C.

So they jumped into the Java hype, created their own JVM implementation, with Swing extensions for the OS X UI, and Cocoa Bridge was born for Objective-C interop, with bindings for all key Apple techonologies like Quicktime and such.

When it became clear that Objective-C wasn't going to be an adoption problem, instead of using a 3rd party owned language, they dropped support for Java and eventually gave their implementation to OpenJDK.
so many great places in this post. i'd also add angelo's. that's been my favorite steak since moving to the city (but also want to try d'alessandros, have heard good things)
Have you tried Google Lens?
I believe distributed compute *could* be one of the few applications where crypto might make sense? You could earn tokens by supplying compute and pay to get it, and the token price is a natural market price for compute.
It is a bit more complicated than that. Sweden was selling to both sides but then Germany invaded Norway in order to secure the shipping lane from Norway to Germany and also stopping the allies from buying ore from Sweden. They did draft up more plans in case Sweden would stop selling, but all the primary goals was already completed by the invasion of Norway.
Mentorship and management is what it'll take to get these people in line.

Sometimes smart people need to be micromanaged and others simply need very clear boundaries. Which they need is highly dependent on their personality.

For example, style guides can be used to keep code consistent and readable. The goal is to code for humans not computers. You immortalize these values into the style guide, and if the "smart" persons code doesn't align with the style guide then it doesn't get accepted.

As for the complexities, stop letting them get that far without checking in first. While it may seem quite grade school, it's time that these people submit design documents outlining their solution before they write any code. This will give you a chance to push back on complexity before it's gone too far.
Ask HN: What was the Ruby community like, before Rails came out?
It exists, and it is called "JSON" :)
Lehman brothers wasn’t a Ponzi scheme.
How about if he had an account with FIB Bank...?
Ask HN: Why it is hard for US to move to metric system?
The fact that it is almost impossible to move to the metric system in US is strange. It is even stranger because of the big influence of immigration (every other part of the world use metric system) so I wonder why it is that hard?
Just say Norway to YAML!
Yeah I've always liked this video explaining D-H using the same paint-mixing metaphor: https://www.youtube.com/watch?v=YEBfamv-_do
I've wondered how that works - I'm sure Biden isn't calling Erdogan and saying that directly, right? How does the "you will fall into line, we are the hegemon" message get conveyed in 2022?

I don't think Erdogan is even that opposed, I think he wants to be seen as a player.
Software systems will be fragile as long as people and organizations don't understand the cost of quality software, or don't think it's worth it.

You don't get what you don't pay for™
Apple developing touchscreen Macs that could debut in 2025
This is a key point and massive misunderstanding in everybody I know : there's this expectation that when "inflation slows down", then "prices will return to normal". But that's empathically not what it means.

If prices rose whatever percent last 18 months, and inflation drops to zero tomorrow... Prices will stay exactly the same. They just won't increase further day to day any more (at zero inflation).

"Inflation is still high, I know that because prices are still up compared to before " is a logical error.
> They have a big appetite for adding complexity to systems

Truly brilliant engineers write code and systems that look almost stupid simple, but solve truly complex problems. You want engineers who take a complex and difficult problem and turn it into a solution so stupid simple that everyone else goes “Wait, that’s it?”.

What you got on your hands is a failure of management to feed difficult problems to bored engineers. When problems are easy, engineers will make them hard to stay entertained.
Yup. And even as I read my own comment, I can hear someone saying, “The long-term thesis remains sound!” and “Lots of other funds had similar losses!” and “How were we supposed to know, it was a perfect storm!” Meanwhile building bubbles upon bubbles upon bubbles.
Forget about diversity.

When a society excludes whole classes of people from fields of study or professions, that society also limits the pool of talent available.

Excluding women, castes, races, ethnicities seems like a poor choice for any society that wants to advance as a whole.
This and other comments here are very useful for me. Been thinking of getting a heat pump for the areas of the house that aren't reached by the pellet stove. It regularly gets to -20C here but not usually for very long so I think we'd be fine. Also we could use it for cooling for the few weeks a year when it's 30C+.
What I found surprising is that the genetic distance between Indian castes is rather large, comparable to the distance of a northern European to eg a greek person: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC311057/
I honestly think a lot of the employees of these companies don’t know about the underlying fraud. The cryptocurrency world is full of rationalizations and illogical beliefs that make a lot of these businesses sound legitimate to the underinformed.

That said, I’ve had nothing but bad experiences with cryptocurrency obsessed hires and peers in the workplace. This got especially bad in 2022 when people’s portfolios were up and they all believed they were on the verge of retiring wealthy. There’s something about buying into the crypto dream that makes people think they’ve found a cheat code to financial freedom while the rest of us are stupidly working our jobs.

I’ve watched the same exact pattern play out with coworkers who bought into MLM schemes or self-help guru courses. These fantasies about breaking free from the world through “secret” financial instruments will always be attractive to some subset of people.
Nothing of that covers "Android Studio, Gradle, CMake, android-ndk, AAR/Bundles, JNI integration", which an Android shop expects to have out of the box support in the Android SDK installer.

Note that android-ndk in that comment means the original Makefile based build tooling, which CMake builds still lack some corner cases in functionality, hence why I listed both.
Agreed this is the best combination. Wood stoves are also great for when the power is out. If only my building would let me put a fire in my apartment. :)
TLDR: The $4M tech newsletter run by 1 guy
A similar practice is common in South Africa in order to find out when the train is arriving (if at all). You'd have to ask the person at the ticket office to check the Whatsapp group for you (or if you're friendly enough with them, to add you to the group) where the ticket officers at other stations along the line update when the train has passed them.
There's Sinatra for more barebones things, but honestly, homegrown solutions always grow into a shittier version of Rails. You don't have to use all of the features Rails provides. As others have mentioned, for simple APIs Sinatra is fine.
You can check out the differences by comparing https://elk.zone to https://mastodon.social (for example).
> The “Russian occupation” of the hearts and minds of boomers who are still alive today is difficult to shake.

Which isn't to say that most "non-brainwashed" millennials and Gen-Z'ers are at all trying to be objective about that historical period. For them it's only prison camps, state surveillance and shortages and queues. Nothing like an accelerated industrialisation and modernisation in a few decades, transitioning from a backwards agrarian rural society to a well-educated population and reaching western-like levels of human development in the 1980s.
Fish & sushi in Portugal;

Coffee in Portugal;

Wine in Portugal;

Traditional food in Portugal;

Artisanal pastries in Portugal;

(no “supremacist” views, just pointing out - love good food & epicurism in any country/place I can find it. cheers!)
If they must implement this, client side TLS certs were built for this. You simply trust government approved age verification CAs on the server side and require users to provide a valid cert from them. No need to directly interact with or send data to the age verification service,
It's hard for any culture to do anything that is deeply ingrained into its habits. Think of all the things that would have to change everywhere, in everything, when something as basic as a unit system changes.
According to the company, the information leaked was not directly related to Twitter
> What do you mean by "heavyweight"?

Rails latest release (7.0.4) have 386,970 lines of code in total, 310,779 of it being Ruby code. 3000 files in total. Just the `lib` directory of `activerecord` has 33,036 lines of code, across 369 files.

By most metrics, RoR is pretty heavyweight, as their literal taglines are "Ruby on Rails scales from HELLO WORLD to IPO" and "A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern", so it needs to be pretty big to support those use cases.

Full `cloc` report in case someone is curious:

4268 text files.
3839 unique files.
511 files ignored.

github.com/AlDanial/cloc v 1.96 T=1.25 s (3079.1 files/s, 434339.6 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Ruby 3013 73152 54669 310779
Markdown 92 19324 388 45525
JavaScript 87 2974 2170 20955
YAML 171 406 350 3679
CSS 23 347 152 2409
ERB 386 303 9 2244
CoffeeScript 12 97 125 413
JSON 11 7 0 372
HTML 21 15 3 200
Bourne Shell 2 20 25 167
Text 7 0 0 51
yacc 1 4 0 46
SQL 1 6 0 43
Dockerfile 1 7 7 40
SVG 7 0 1 36
builder 3 1 0 10
DTD 1 0 0 1
-------------------------------------------------------------------------------
SUM: 3839 96663 57899 386970
-------------------------------------------------------------------------------
> keep you out of the hospital/ER

You're a veteran doctor. You are presumably fully aware of the health statistics in this country. And yet, you did not list the number one correct recommendation:

If you are overweight, lose the weight.

~80% of healthcare costs in this country are attributable to chronic conditions, and ~80% of chronic conditions are caused by obesity or lifestyle directly connected to obesity.

You improve your own health outcomes, and reduce the burden on the healthcare system as a whole, by ~64% if you're not fat.

And your response, as a doctor, mirrors the most infuriating thing about your profession:

Hi, you're 260lbs and pre-diabetic. I'm going to put you on Metformin.
Hi, you're 280lbs and your LDL/HDL is WAY too high. Here's a prescription for statins.
Hi, you're 190lbs at 5'1 and your infertility is caused by LH/FSH imbalances. Take this Clomid.

When the hell are the "professionals" in your line of work going to stop medicating away the consequences of this absolutely absurd epidemic and actually address it? The only time I've ever heard of a physician actually advising an obese person to lose weight is for conditions where pharmaceutical interventions don't exist, such as non-alcoholic fatty liver disease. The rest of the time? Take these drugs so you have a couple more years to enjoy your triple bacon cheeseburgers and large fries.

It's absolutely maddening.
I think this might have been seen as insightful a few decades ago.
Chat demo here: http://chat.petals.ml/

Seems to work well, albeit very slowly…
If you travel to a country where the trains are all broken or ineffectual does that suggest that train transport is not all its chalked up to be?
From my understanding that is exactly what Microsoft's XiaoIce is doing in the Chinese market. Just with a text interface instead of a voice interface.

I guess there's not much interest to develop something equivalent for the English-speaking market because it's difficult to monetize.

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

https://arxiv.org/pdf/1812.08989.pdf (actually a better introduction than the wikipedia)
They often operate at much lower temperatures than gas central heating. In older houses especially this will often require much larger radiators and/or UFH.

From my research a couple of years ago:

Replacing gas central heating with air source heat pumps was a waste of money, they're more energy efficient but the cost worked out the same due to gas being so much cheaper. If you have rooftop solar and batteries already and are overproducing electricity it might be a viable choice but without those you'd be spending a lot of money replacing radiators for no financial benefit.

Ground source heatpumps offered a decent cost saving but were extremely expensive to install. You also need space available to sink them or a lot of lateral space if you want to save a fair bit on the install. Before the energy crisis my estimates for breaking even on installation costs were on the order of decades.
It's more about China being strategic. They subsidies rare earth mining enough that very few others are able to compete and set up sustainable mining operations.
It was pretty useful in my experience because sometimes the line you called was busy, sometimes a human answered instead of a computer, and sometimes a computer modem just didn’t pick up for whatever reason. Hearing the dial & handshake was a way to know what exactly went wrong when you weren’t able to connect. BBSs didn’t have this problem so much, but it happened often enough when modeming with friends or with small businesses that didn’t have a large modem bank and a lot of lines. Typing the wrong number was common. I also remember experimenting with robo-dialing with my childhood friends, calling through a list of numbers, like in War Games, looking for unknown computers to connect to.
JSON is a subset of YAML. (you can just dump JSON in your YAML document and it’s a valid YAML.)

So parsing YAML will be strictly harder, as it needs to include a JSON parser.
Yeah, in Central America, many groups coordinate using WhatsApp group chat.

Most companies have customer facing WhatsApp numbers too.
I like the analogy of a utility bill, that makes sense.
Language is not precise, and companies define their roles differently for a variety of reasons, including the nature of the business each company is in. I'll take a stab though.

In general, "salesperson" implies a single transaction. You go to the Apple Store, you talk to a salesperson, you walk out with a big iPhone and a light wallet. Note that Apple calls them "specialist" or something, see point above.

"Account" implies an ongoing relationship with a steady stream of transactions, such as an advertiser with a large account on an ad platform. The account manager's role would be a) make sure to keep the account and b) find ways for the account to spend more money in a way that's beneficial to both.

Account executives typically sign new accounts, so they are overall selling the value of the ongoing stream of transactions.

Further muddying the waters is that all these roles are under the "Sales" org, so you could arguably say an account manager is in sales even if they're not a salesperson you meet at a retail store.
Ruby is pretty good for writing scripts to run in the terminal. For things where I need to do a bunch of string manipulations, I prefer it over something like creating a shell script.
Soyuz spacecraft at space station leaking 'particles' into space [video]
Bitcoin going up: this is good for bitcoin!

Bitcoin going down: this is good for bitcoin!

It's probably one of the less shady ones out there (i.e. it wasn't "invented" by a twitch streamer, hyped up and sold to their audience then abandoned) but I think a few people are maybe a little bit too hopeful and optimistic about it.
Yeah this! I write a lot of console apps and I absolutely love this change as it simplifies and removes a lot of cruft. Which means more people will make more console apps.
Madoff employed mostly family and family friends, excluding his first lieutenant Frank DiPascali.