skysight-inc/HackerNews huggingface dataset:
That's a different way to approach the challenge though.

You're hoping that some technique or tool can be so rigid and fool proof that no one can write a bad program in it.

Where as I'm hoping to find some techniques and tools that let me write programs with better designs.

Nothing fulfills the former, even though lots of people are researching it. On the other hand, I'd say FP fulfills the latter.

So the questions for me become about the spread of quality. Is the worst FP program worse or better than the worse OO program? And what about the best?

I'd personally say the worst of FP is better than the worst of OO, and similarly, the best of FP is better than the best of OO. That makes me prefer it overall as my paradigm of choice.

Even though this does mean you will find FP code bases that are worse than some OO code bases, but if you wanted to pick a paradigm in order for you to write a well designed program, FP would probably be a better choice, obviously, in my own opinion, so that's why I personally pick FP over OO.
How iHook Uses iHook
I have somewhat lost track of the different versions. What is the difference between GraalSqueak and TruffleSqueak?
Don’t really see what the purpose of the money is. You could be spending 75% on hookers and blow and it doesn’t change things.

The point is that your basic needs are well being exceeded at even like 80k, at which point you’re already in the top 5-10%. It’s obnoxious and greedy to be concerned about such low amounts of money when you’re making $250k, in the top 1% and have so many more opportunities than other people.
The misconception is that people are leaving because the housing is too expensive and its not worth it anymore... People are leaving because quality of life has fallen dramatically

Aren't these two sides of the same coin?

Very few people base their housing choices on cost alone. Other livability factors play a huge role. That's why real estate developers put amenities in their apartment buildings, and fight over location: Because people are willing to pay more in rent if the livability is higher than a cheaper alternative.
The underlying research is suggesting that air pollution is the primary cause of 1/6 deaths worldwide [1], and fossil-fuel air pollution specifically 1/15. I'm not sure it passes the sanity check (wouldn't we have noticed sooner?). If air pollution is really responsible for 1/6 deaths then we've got a massive low-hanging fruit to greatly improve our life expectancy and quality of life that we should take advantage to remedy with gusto! But—I would like to see the counters and follow up studies with more conservatively tuned variables to see if they've over-projected by an order of magnitude or more. Regardless, we should reduce air pollution, but the science should inform our level of resource allocation and intensity. If it's really responsible for 16% of all deaths, then resources at least equal to those spent fighting comparable sources of death should be spent eliminating air pollution.

[1] 8.8 million per year in abstract: https://academic.oup.com/cardiovascres/advance-article/doi/1... over 55 million globally annually
The one big issue I've had with MicroPython is that it's a PITA to manage files on it. I use this hacky tool called "ampy" to do it, and wish that the device could just be mounted as a media device. CircuitPython, however, does accomplish this, with the microcontroller showing up just like a USB drive.
And cash that disappears from your bank account? Great for going long in the stock market.
This cool. I did this exact thing in 2013 with DistanceFlix.com
If you want to see how Factorio is developed you can follow this guy in Twitch (one of the Factorio developers)

https://m.twitch.tv/rseding91/profile
No one is guaranteed a job at Big-N companies.

It's important to understand that Big-N job offers or rejections aren't a perfect indicator of a person's programming ability.

The interview process isn't perfect. It's not designed to be perfect, because that's an impossible goal. In reality, Big-N companies have so many applicants that some of them have higher rejection rates than Ivy League universities.

At this scale, the goal isn't to admit any and every qualified candidate. The goal is to select for the best of the best and minimize false positives, even if it results in a large number of false negatives.
> Locale.ROOT is almost always the one you want

At least Android developers are advised to use Locale.US: https://developer.android.com/reference/java/util/Locale

> The default locale is not appropriate for machine-readable output. The best choice there is usually Locale.US – this locale is guaranteed to be available on all devices, and the fact that it has no surprising special cases and is frequently used

It would be indeed interesting to see in which features these two locales actually differ.
Lol lifestyle inflation. I’m sorry why should we be crying over people when they come up short after buying a new yacht and country club membership?
But lots of other things likely co-vary with use of public transit, the obvious one being income level
It’s false based on what I’ve seen. Plenty of people passionate about good engineering where I am. But they are sometimes trapped in a system which doesn’t always incentivize it.
I have a little of that with O'Reilly Safari. (Currently) they only charge me $199/year, but are thinking to raising the price to $499. I'm thinking I would rather buy their books one-off.

But I buy a shit-ton of stuff at ~10/months (maybe $5, maybe $20), but if they jack their rates I will go one-off again.

I don't know if I am unique (and thank you for answering the question), at a certain level like JetBrains IDEs or Sublime or O'Reilly - I just pay it. It starts to wear on one over time....

Apple kills me. I tend to release things on Linux or Windows. Maybe Windows. But iOS - You have to have a Mac and a Development platform and subscription. I think they must hate developers. I would pay them for product sold - but can you at least make dev tools a little cheaper? I run into this issue in university dev-camp conversations a lot..
1. No, that is huge in a vacuum. If there were a no-cost/no-tradeoff way to save 7% of deaths then it would be a huge priority.

2. Obviously, ending use of fossil fuels is nowhere near no-cost/low-tradeoff. So abandoning fossil fuels probably would not reduce deaths by 7%. Or possibly even cause a lot more death especially in the short term. But again, if it did, that would be a huge deal.
How about calculating the lives lost by manufacturing solar panels, batteries and wind turbines?
> On your last point, the best alternative I've seen is take-home projects where it would take less than a week to complete.

Ironically, take-home interviews are another contentious topic on HN and other internet message boards. The common complaint is that people don't want to invest much of their personal time into interviewing for companies.
Provide a financial benefit for those who use during peak power (to day get their home down to with AC 65F) while solar production is high, and then turn off their AC from 5-9.
What are these quality of life issues, and how have other cities avoided them?

They haven't. But other cities have handled some quality of life issues differently, or better, or in some cases worse.

It's all cyclical. New York was a great place to be in the 60's, largely due to quality of life. New York in the 70's was a hellhole, largely due to quality of life. These things ebb and flow in every city. It's just SFO's turn to be on the fuzzy end of the lollipop. It'll come back.
Or just run your AC down to 65F till 5pm and turn off the AC till 9pm.
Blockchain isn't completely anonymous though. Bitcoin, for instance, can be and has been deanonymized to catch criminals. The entire concept of a blockchain is create an extended ledger, which isn't exactly an idea focused on privacy.
NYC is a ghost town compared to a year ago. There’s about 5% availability in Manhattan right now compared to about 1%-1.5% usually.

Real estate markets around the city (NJ, CN) are on fire right now. People that were maybe thinking about getting more space now have the choice made for them.

When you calculate the tax money you save it opens a world of possibilities. And it’s not like NJ or CN are low tax places! Lots of people moving to Texas and Florida as well I’ve read.
Where to learn file format polygot?
Recently came across file format polyglot, how to get started with it?
I think he's saying that research is far behind on fission because it hasn't been supported, and since it takes so long (and so much money) to spin up new plants, that it's better to invest that money into renewables.

That's the impression I got. I don't know enough about the specifics to say if I agree with it or not. The opposition to nuclear was so effective in the 70's and 80's that they shutdown any further development on it. That's probably why you don't know anyone opposed to it. It's not really even an option anymore.
That’s an extreme example — he’s on the very lean side in terms of body fat %.

A quick google search has him at ~10% body fat and 6’3” 236 lbs. That means his lean body mass is 212 lbs. So he could gain ~21 lbs and still be squarely in the average range of body fat (20%). Tack on 8-10 lbs more for the high end of average (24%).

With the 20% number, his weight would be 257 —- that’s squarely in the BMI obese category for someone who is 6’3”.

The BMI numbers are just not useful for folks with a relatively high amount of lean body mass for their height. One does not need to be a body builder or gym rat to meet this criterion. A small amount of body-weight exercises plus cardio is enough for people who build muscle easily (it’s not that rare).

As others have said, BMI can be useful for measuring trends in populations, but some people get carried away when using it on individuals.
In that vein, I really like this book:

http://www.americankingpin.com/

About the rise and fall of The Silk Road
Yeah, I don't want to be an employee all my life.
Do it just for algorithms theory and practice! This is 90% of the value of a modern CS education.
They should work consistently on all modern browsers except IE. As far as performance, they should be "faster" than needing to download external images. In terms of page rendering performance, I'm not completely sure. They might take more rendering time, but I've never noticed it, and it's certainly going to be faster than download time for an image (even a small one).
Why would I want to live in a city and compete with the best of the best? I don't want my kids to go to a top school in an urban environment. I want them to do well in an above-average suburban school and have access to recreational activities outside the city. I want to live an affordable life that allows me to save and build wealth. I want a good work/life balance. I don't see the city providing me any of that. The city is for a special type of person. For people like me, it's just constant stress.
See also:
https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/mine... - no guessing ever required

https://pwmarcz.pl/kaboom/ - if you guess and you could have deduced, you always die; if you can't deduce, you're always safe.
My friend lives in a nice apartment in Berkely and she decided to move to a different apartment in the building (to get a balcony and no neighbors above). The rent will be 25% cheaper than her current rent for essentially the same unit.
On any Unix, just enable the "compose" key, then <Compose>+"+i.

It's always something easy to remember, like " for umlauts, o for circles (©, ®), obviously ' for accents (ń) and so on.
Isn't it what computer science is all about. You won't necessarily see the exact problem. But having the ability to reduce the problem at hand to an efficient algorithm that you might have "regurgitated".
You pretty much nailed it, Toronto-wise.

I’ve always loved just outside of downtown—“Toronto proper”.

I’m not sure if the burbs have any easier route to those other locales as you still have to take the same highway routes out.

I’ve worked with people who’ve commuted and none of them like the ride. It’s also often at least an hour from the suburbs into central TO if you’re taking transit. They are very spread out and mostly flat save for a few nicer regions. Parking lots, strip malls, and housing developments. Probably a lot more to unpack there. But I’ve never lived out there—just generally glad I didn’t whenever I’d visited either from the city or from my old hometown.

I’m from a very small town and I’m used to the quiet life but I personally couldn’t move to the burbs here. We’re still trying to figure out a balance—where we can find or keep work but get out of the city. But until we can afford or find something ideal or near-ideal the trade offs aren’t worth it. Kind of like yourself. With house prices racing upwards though it feels a bit like a race against time before we’re shut out forever.
I don't live in California, though I've spent a lot of time there, and don't know much about Boise. But, having grown-up outside of Philadelphia, no there's nothing equivalent to Marin County a few miles away. Yes, there's a nice river and various parks but it's not the Bay Area.
> I've worked with some brilliant people at most places I've been and I can't think of 1 person who even had LeetCode account.

That's not the point, though. No one said that Leetcode is mandatory for being a good programmer.

The point is that Leetcode, however imperfect, is still a usable signal for programming ability.

Those excellent programmers you know would likely not have much difficulty with Leetcode style problems if they were to try them. That's the point.
Yes, it’s widely believed that statistical inference is a part of how the brain operates. But we have barely scratched the surface in our understanding how the human brain works.

Do you honestly believe statistical inference completely explains a human’s ability to learn?
SF has an extreme homelessness problem, there are places where you can walk two blocks from posh shops to tent lined streets and open air drug markets. Working at a previous gig had me looking at the ground carefully to avoid stepping on needles, feces, and humans, all of which were nearly daily obstacles.

Because of the mild weather and culture, SF is somewhat of a destination for the homeless which is less of an issue, but it wasn’t clear that the city was doing nearly enough to address the filth and human tragedy plaguing the streets.

It is also so expensive that bars and restaurants (before covid) had a hard time hiring because working at an SF restaurant meant either living in squalor packed in somewhere or living extremely far away and commuting. Thus everything opened late and closed early. The food scene was overrated, most of the artists left for the east bay or LA, and the charming things about the city seemed like they were only still there because of fantasy or stubborn inertia.

Other cities have room and willingness to build or the courage to restrict business growth if not willing to expand residential growth. People and businesses are much more willing to leave other cities, and that supply/demand elasticity makes problems fix themselves, but other cities don’t have the romanticism/reality disconnect in nearly the same way.
So uncharitable, and false. Unless you were already remote in Gold Country or Markleeville, your “back door” was a 3-5 hour drive each way, depending on traffic. Kinda kills your efficient carbon footprint for living in a city. Been there, done that, moved away from the Bay Area to avoid exactly that. And I would climb at Mission Cliffs after work to be ready for that weekend in the Sierra—-and wasn’t alone in doing so.
That’s a deal, it’s not much higher than it was ten years ago (oddly enough, when it was already insanely high)
What's your definition of 'worth' though. Dev salaries are way inflated in very specific regions due to high demand and low supply. If location becomes less important, salaries will normalize... which means down if you're from the Bay area.
Another interesting recent reminder of the interconnectedness of politics and electricity grids happened a couple of years ago, when all of Europe's frequency (and lots of grid-synced clocks) went out of spec because of a Kosovo/Serbian spat: https://www.theverge.com/2018/3/8/17095440/europe-clocks-run...
The easiest solution to this problem would be to just rename it to "naive".
It depends on a number of factors. Some of the more complex gradients could certainly be larger than some of the SVGs you are using in terms of raw size, but I'm not sure that would affect scrolling. If you link me to your project I would be happy to take a look.
https://pki.goog https://domains.google/ gmail..
I noticed that this article has been discussed on HN a while back:

https://news.ycombinator.com/item?id=19097613
PHP requires escaping quotes and literal backslashes (i.e., backslashes not used for metacharacters or escaping other characters). For many cases, it doesn't affect anything, but it can turn into a bit of a nightmare if you're matching anything involving backslashes since you need four backslashes to match one literal backslash. Perl's regular expression literals are also nicer for things like splitting a long expression over multiple lines.
Why does Google think the slowest animal is the sloth?
I don't get into flow, my team does - If my team can get there, then I'm successfully meeting their needs to have what they need to do so, including giving them the resources, information, and direction to know their path, removing roadblocks, and handling the meetings that they don't want to be in.
As someone who's put a lot of hours in Factorio, I totally agree with the article! I kinda guessed what it was gonna say before reading it.

My coworkers and I played a lot of Factorio in the past and we always joked about it being like a programming job. I even had a trello board for the largest base I ever worked on (I never finished it)
To those taking this comment as a joke - it is not a joke.

Regardless of the morality/legality of a use, the fact that those are real use cases for the currency do give actual value to bitcoin as a currency.

Now it's worth noting that "digital gold (speculation)" seems to far surpass ransom+online drugs as the reason for bitcoin to have value.
I took his class way back in 2010.

Challenging but fun.
He never stopped thinking about philosophical problems, and when he returned to academia his views had changed radically.
How much would you charge per hour to speak to a random stranger in English?
How much would you charge per hour to speak to a random stranger in English?

There are a lot of people(most of them kids) in Asia are trying to practice English. And I just learned that a typical 1v1 chatting service may cost more than $30 per hour. I built a quick MVP to offer these people a more affordable option, the idea is basically this: creating a marketplace that native speakers(instructors) and learners can meet and match. You can kind of consider it as "Uber of speaking English". I am trying to figure out what would be a good price suggestion that I should have in the website. Currently I am thinking around $25 per hour.

The website is: app.lingwu.ai
BTW, if you want to earn some part time money, or just chat with people from the other countries, try signing up!!
Same issue with Julia, no?
I think it's crazy that none of these stories are on the front page of Hacker News. It's an unprecedented example of a state administered tech project, evidently causing so much trouble. Were the Obamacare site stability issues even close to causing this much trouble?

I also remember another UK government tech project, which exposed the details of a large number of junior Doctors in the late 00s.

But nothing like this.
Unicode is well thought out! And that's what makes it hard to critique :). I think it's one of the best-maintained, well-thought out standards there is, but I still think the premise is wrong.

If all that good effort went into something along the lines I am describing, where languages, or at least scripts, cannot be arbitrary mixed at the character level, I think we would have an even better result with the same level of effort.
Shitcoins can be fun. Fun can be valuable.
A blockchain decentralizes trust, you can always solve the same problem a blockchain tackles by introducing a central point of trust. The question is if this choice is acceptable, more resilient, cheaper...
I've had different experiences every time I've gone to the city. During my last visit, we steered clear of market and spent a nice day in Mission/Castro/Japantown. On one of my previous visits, I had a guy threaten me. The city is a mixed bag. The only other west coast city I can compare it to is Seattle. Outside of SF and Seattle, every west coast city I've been to has been almost 100% peaceful, safe and enjoyable.

The only time I've ever heard of a friend getting mugged was in SF.
I didn’t claim that the way brains work didn’t include statistical inference. That’s why the dog metaphor works. Both the dog and the machine learning model use statistical inference to perform tricks.

Dogs haven’t been to the moon, however. There’s more to the brain we don’t understand.
The trackpoint is ugly. It's a giant throwback pimple in the middle of the keyboard, which there's no way to get around looking at all the time. Thinkpads being ugly is kind of their thing, so it doesn't surprise me that lots of Thinkpad people don't mind it or even see it as a plus, but to me seeing a trackpoint is like seeing a floppy drive. I used one for years, and I'm really happy that trackpads have gotten good enough that I'll never need to use one again.

Edit: display notches are actually probably a better comparison. They're ugly and even though I don't use it I can't get rid of it except by using hardware designed not to have it.
> why do you have to prove it for every next job

Obviously, each company can't blindly trust the interviewing practices of everyone's previous employer.

> Ageism - not many seniors are desperate enough or have a free time for Competitive Programming preps.

In my experience, senior developers don't need anywhere near as much prep as junior developers for these interviews. Leetcode problems are difficult when you're a new college grad with zero years of programming experience. They're significantly easier after you've been programming for 10 years.

> Making switching jobs harder - for every next job one has to prepare again

Companies aren't going out of their way to make it harder to hire good employees into their own companies.

Leetcode isn't an industry-wide conspiracy. Companies are using it because they believe it's a good filtering mechanism for candidates. When the Big N companies have higher rejection rates than Ivy League universities, they can afford to be selective.

> Keep in mind that CP != CS.

The problems are designed to test CS skills.

How else would you suggest reorganizing the interviews to test for CS skills?
I don't buy this argument.

The property itself is collateral for the loan. If the value of the property tanks, and then the owner is also unable to pay their mortgage due to not having a job, then in many cases the bank ends up holding the bag. This happened quite a bit during the Great Recession.

Also, given the way that the Fed has been pushing interest rates to near zero, and with the chance that they could go negative (which I find pretty unlikely, but everything seems so wild right now so who knows) there is a chance that inflation could come into play and keep property values high.
I learned about this in javascript when I discovered Angular has its own lowercase method. Apparently it's internal only now.

https://github.com/angular/angular.js/commit/1daa4f2231a89ee...