skysight-inc/HackerNews huggingface dataset:
Firefox's webextensions api is a totally different thing from chrome's ones.
Some of its api are either missing or work differently.
This looks to be very useful. I wonder how long it will be before we can have one of these datasets being used around the house. Would help with cheating on homework!
Data from various arbitrary public sources would be difficult to put into a rational schema. Querying that schema would also be more difficult that a full tact text ES query
SNCF is fiddling with the wrong things.

It doesn't need to separate train operations from rail track network maintenance. It doesn't need to open up the network to competition.

What it needs to do is cut the number of excessive public sector workers, reduce costs, and stop running the business like a political arm of the government.

I can bet that the reason they think they need to do all these things is that cost pressure is rising on them, and they think they need to branch out / cut off compartments of the business to make it better. But this is tinkering rather than addressing the fundamental issues (inability to fire people, change cost structure, etc. due to political interference).

Public rail is a money-losing venture, in every country (except Hong Kong). That's what "public" means. But it's important to have. Just how much money-losing depends on the political environment and skill of the management. UK tried this sort of thing and it left everyone with a shittier experience, though they could claim that they successfully privatized the industry -- everyone knows that's a total lie.

At least France has a history of pride in the speed of the trains, so that will keep things in check a bit. They'll pay through the nose for it though.
I found that DuckDuckGo is still not competent enough for non-English users.
The quality of its result in non-English language still worse than Google's ones.
> It all depends, some industries are just not working privately, the privatization of electricity in France was also a failure for example. The privatization of the post system was also a failure but it matters less since the postal system is less important nowadays.

That doesn't have anything to do with protectionism. Are you confusing protectionism with state-owned companies?

> For the trains, the core issue here is that the network has a value has a whole

I'm talking about train sets, not rail networks.

Rail networks in the EU are becoming open as well (which is the point of the article, in case you didn't read it), so SNCF is having, due to competition, to buy more efficient train sets to be able to compete with potential new entrants.

Which is good for society.
I do that as well and that still doesn't tell you much. It's a good first screen filter but isn't always sufficient. For senior candidates though, I agree that a homework assignment is not the best qualification process.
You both lost me. Gab's position on free speech is pretty simple. If it's legal in the US (where Gab is located), then it won't be censored. If people don't like what you say, they may mute you as individuals, but no one will limit or ban you from posting.
Unfortunately without proportional voting being mandated purple states like Texas remain solidly red due to vast gerrymandering purposefully made to deny people the right to their representation by diluting their vote. This is actually the main cause of polarization in the US as candidates need to play to their base instead of moderating to play to a moderate base.
> What are some non-profits who work on enabling people in poorer countries to withstand disturbances? Are they looking for coders?

The International Research Institute on Climate and Society at Columbia University's Earth Institute is looking for a programmer to work on their Data Library. Unfortunately I don't see a way to get a permalink to the job listing; you can find it by going to https://jobs.columbia.edu/ , clicking "SEARCH OPEN POSITIONS" in the left nav, and specifying Department 6061.

I'm not affiliated with the group. I actually interviewed for the position last week, but probably won't end up taking it.
Couldn't agree more about package managers.

I just went back to C and have spent too many hours trying to get small libraries to build and link properly. I'm pulling my hair out.
I don't have to, but if you want to solo you have to justify it - more often than not, discussions lead no where and you end up looking like you don't fit in the culture.

You double check the changes with your pair when you done with the task. Most of times it is just protocol as you have been pairing all along.
Inflation! Why can't the conversation be "how far can we go before we hit inflation?" instead of "we can't afford it" because we of the household analogy ?
Chrome should get 'extremely fast' at loading a whole lot of web pages
The Atlanta one is a LinkedIn URL?! Party foul!
Speaking of heat pumps, I installed one 2 months ago, and dropped my electricity bill for heating water from $85/mo to around $25/mo. This saved me around 69%!

Reference: https://russell.ballestrini.net/hybrid-hot-water-heater-save...
Masters Scholarship to Study AI in Canada
Reading Refactoring by Martin Fowler helped me a lot. The examples are in Java but many of the concepts apply across all languages. However I would say the examples makes the most sense for statically typed languages. I wonder if anyone knows of a book that covers the concepts in Refactoring but with examples in a dynamically typed language like javascript?
When I did the analysis, I was puzzled why certain machines handle a higher percentage of tweets compared to others -- so you are most likely correct that there may be some geographic consideration to the distribution.

I'm rewriting the code to include a prescan of the time range to determine which server ids are in play at the time and which server ids are most active.

Figuring out how to deconstruct Snowflake was challenging and there is still a lot of analysis left to do.
And so the truth is laid bare.

Capital > humanity

This is why people is not free to move where they can find the most benefit, but capital is.

Priorities.
A lot of people are giving advice on changing/testing/refactoring etc, I'm not sure if that's what you are asking, as opposed to how to lean a new code base.

My technique for learning code bases, other than asking other devs questions like :-

"What architectural patterns are you using?"
"How do you deal with testing?"
"How is it deployed?"
"how do you deal with data access?"
"How do you deal with data migration"
"how do you deal with scaling / concurrency / security / authentication"
etc... broad stroke things.

If there are no other devs...look at the code and look around at some of these broadstroke things.

One thing you may find is they are using an architectural pattern you aren't familiar with, so be on the lookout for things that look odd but look very deliberate and duckduckgo to see if you can find any information around names in the code. Like if you saw FooActor BarActor, google for Actor / software etc.

Another thing to keep in mind when you find odd stuff is that quite a lot of devs copy paste stuff from the internet, and implement partial ideas they have learnt about, so duckduckgo for snippets you suspect.

Then the main thing I like to do is take a usecase from the software and follow it right through every layer, either through static inspection, or using a debugger. I then follow up on things that initially seem confusing. I then start sketch out a bit of an architectural diagram ( throwaway )

For Embedded systems code I tend to start from boot and draw out a bit of a flow diagram of what's happening.
Your #3 seems to contradict nearly all the others. Most of the rest seem to be about assuming things need to change (different == bad).
What it’s like to go to school when dozens have been killed nearby
It probably is! When your bottleneck is a remote API limit, CPU usage might not be worth optimizing.
Most basic research is funded by the government as there's no inherent profit motive. Research to make use of the foundational discoveries is funded by profit motive, as they get a monopoly on any working product. I'm pretty sure R&D is safe as there will always be profit to be made. You're also assuming congress isn't in bed with the industries, the ones who massively fund their campaigns and offer nice lobbying jobs afterwards.
Very many developers have this as their first thought whenever they see somebody else's code for the first time. Likely it's just a response to being confused about how or why something works. It's easier to think that somebody else is bad than to think that you've got something to learn.

What matters is how you handle that feeling. If you run with it and continue to operate as though the code is terrible, you're probably not going to get very far as a developer. If instead you take a step back, work to understand the code, and think about what led the original author to make certain decisions, you'll do quite well.
Is there something fundamentally problematic with me want a say in how my tax dollars are spent, and that I would rather the majority go to my fellow citizens so that I have to support fewer of them with welfare?
I just happened to write a blog post about this a while ago:

http://obdurodon.silvrback.com/navigating-a-large-codebase

Short version: document everything as you learn, master your tools, look at message and data formats before code, follow some of the important code paths, change something and see how the system responds.
Yup, that write up definitely hit the nail on the head. I could work on more lucrative side projects but there are just some side projects that you have to do because it just has the potential to be great and do real good in the world. Mostly what I see these days is a void in the educational market - you have a traditional educational system practically resistant to changing and then you have all of these emerging technologies. The emerging technologies go on to change other industries....but education, nothing changes, or very slowly. That's where my side project ideas some into play. I'm working on making a course right now in a traditional college level subject then adding a bunch tools (student data analysis, simulation games, interactive lectures etc.) to help students learn the subject better. Simply put, I want to take traditional college courses and then apply the latest technology to teach that subject. Let's create the world's best online course, create a bunch of really useful tools to learn the subject then scale it up and give it away to everyone for free.

Also I looked at your game and I really love it. It is so much fun (even though I don't know much about quantum physics). Now just imagine if we have a traditional college-level subject, such as quantum physics, and then use tools like your game to help people learn better. You still learn all the usual topics but the overall learning experience is made SIGNIFICANTLY better by having these extra tools to use to learn. Your game is an educational game but using the same technology used to create that game could also be used to create all sorts of things - experiment simulation, interactive graphics etc.
longer timescale atomistic molecular simulations to predict protein folds.
That autocorrect adds a bit of comedy.
The others are largely about how to successfully manages the changes you determine are necessary, as I see it, not about assuming things need to change.

If nothing needs to change, it's easy, you just try to look busy and collect your paycheck until you find a position with actual work (because eventually people will notice you aren't needed.)
Thank you very much. This is precisely conversation we need to have. Exhibit A: Obama boom we hit 10% GDP deficits, the biggest since WWII resulting in no inflation and in fact slight deflation and GDP never averaged above 3% annually. Exhibit B: WWII, we hit around 22% GDP deficits. Full employment ( with a very high labor participation rate [rosy the rivoter, etc]) no hyperinflation and probably not much inflation.
This is part of the mythology of the American frontier. Just as America itself was a land of untapped potential for European settlers who had enough of the decadent, stifling old countries of Europe, the West was a land of untapped potential for Americans who had enough of the decadent, stifling East Coast. Just as unpopular New religious sects left for America, the Mormons left for Utah. The gold and silver rushes were outlets for an ambitious American Dream. The verdant fields and valleys of Oregon and California were outlets for ambitions of their own.

The US ran out of frontier around the turn of the 20th century. And this is problematic, because no populations is going to stay as risk-tolerant and ambitious as the population that already risked their lives to travel there in the first place. Immigration might actually refresh these attitudes, but you’d expect them to erode over time. Perhaps they have.
Yeah, I don't see pilot wave as valid. I think it's wishful theorizing from people who can't take Copenhagen.

There is also a divorcing of pilot wave from these particular visualizations - the emergent properties of fluids will always make them bad approximations. But the maths don't work out either, and it ends up getting too convoluted compared to the 'simpler' and weirder version.

However, I think it's an interesting alternative that demonstrates why, at some level, you just kind of have to throw your hands up and say "well I guess that's just how reality works, dammit."

There are less-crazy visions about how very small things work, but they don't do the job.
> What is your problem with the code base actually?

All OP has told us about the codebase is that it's big, it's in Node, and it's 3 years old. It doesn't sound like they think there's any problem with it.
But what if you need to tweet using your smartfridge??

But seriously, you are exactly right. There is no need to retrain the user for no benefit.
Nonnatural persons aren't granted rights under the law because they're made up of people though. In America they're granted those rights because it makes dealing with them much easier. That's it. That's why it's so confusing which rights are reserved only for natural persons and which apply to all persons.

https://books.google.com/books?id=4K0CWvR2FNEC&pg=RA1-PA284&...

I'm trying to link to the section that starts just barely on the page before "Indeterminacy of the Personhood Designation"
I agree and recently used a similar tactic to GP last year. I figured out what Atlanta was paying for the specific technology and found a few similar cities with their salary ranges. It helps if you know a few Engineer managers who can look up pay scales for you.

Next time I will politely push the envelope further. I had two competing offers. Asked for the top end and it worked.

The other suprise question is the “How much are you currently making?” trap. I politely said if it was a condition of being hired I can share my pay but I know I’m very underpaid at the moment compared to the market. Took the job with a 40% pay increase without having to discuss my prior salary.
1. Build the code. Don't do anything else until you can build the code.

So simple, yet so many places get it wrong. Lazy devs check in code that is broken. Project structures that depend on you having things on your machine and in a particular place. Circular references. You name, I've cursed it.

If it's a project that you should be able to check out and build locally, then you should be able to check the code out in any directory and build it. Period.
You’re right, but it’s not by design, it’s just a little buggy and a lot complicated. There are still easy ways to lock a browser up with CPU code too. It’s harder to crash the OS, but it does happen.

There also shouldn’t be ways to crash the internet or a large scale redundant network service like the ones Google & Amazon have set up with a single microservice or database corruption or flaky cache or router, yet cascading failures are happening all the time and getting long post analysis write-ups featured on HN, even.

The main thing that’s “wrong” is complexity, but it’s also here to stay, there’s no going back, there’s just tightening up the sandboxes and hardening the APIs. GPU resource management is still a bit more raw than what the OS & CPU have, but it’s steadily improving every year. And aside from crashing sometimes, browsers have become very careful about GPU sandboxing for privacy.

In short, it has only gotten better over time, it won’t be long before a webpage really can’t crash the OS just by using the GPU.
Capitalism works just fine, unfortunately the wealth of the middle class has been destroy through theft (taxes) and inflation.

When the political class decided they can print money for their friends, the rest of us never had a chance. Now people cry for more of the same (socialism) where instead of just handing out cash to their friends, those friends are now in charge of more and more aspects of society. It defies logic.
Python is perfectly fine for these type of tasks. I ingest all of Reddit in real-time (https://pushshift.io) and also ingest Gab.com and several others (Stackoverflow, etc.) and at most one or two CPU cores are at 10-15%.

Also, when I provide code examples, I try and use a language that most programmers will have some exposure to and generally Python is high on that list.
I'll be there june-sept and game for some huoguo
Yes, you do. Any browser on any os. https://synthetic-minds.com/smoothscroll.js hijacks scrolling and messes with the native scrolling behavior
Ask HN: How does Apple's 2FA location service work?
Does it try to geolocate based on the IP or is there something more advanced going on?

Sometimes when logging into appleid.apple.com my iPhone responds with the 2FA prompt, but the location is reporting Washington D.C. as opposed to CA (where I am). A bit worrisome.
Are you able to talk to the original author or the most recent maintainer? If so, I'd spend a couple hours reading the code on my own to get a basic familiarity, then sit down with the original author and ask them to give you an overview. They'll probably even still remember which parts they consider bad or hacky, and knowing about that stuff could save you a lot of trouble.
I haven't read it, but the second edition of that book used Javascript for the examples.
I did investigate that, but it does not really work for my workflow. I literally want a window locked to a container, and all tabs in that window in exactly one, that container, and with each one with a different set of plugins, etc.

The plugin thing is really important so I can have some windows testing sites with different ad blockers and such.
The second edition, which was just recently published, has all examples in JavaScript.
We found meetup.com to be bad value for our meetup too so we moved away

https://unop.uk/starting-a-tech-meetup/
I came to believe that ‘bird view’ summary documentation (index.org here, readme.md elsewhere) should be created for each more-or-less isolated module in the codebase. It should describe why the module exists and how it is used, i.e. its external contract/API, including the expected ranges of argument values.

This makes it much easier to learn proper use of a module when adding new calls to it. And of course, several months down the road you'll feel like you're seeing the module for the first time, so an overview should serve you well as a reminder.
As a person with cancer going through treatment, even with fully paid for by my employer healthcare and making a good amount of money, this is super expensive and if I didn't have a job where I could work remote, I'd probably be bankrupt by now with all the time I have to spend in treatment and the initial surgeries.

5 year survival rates vary by the type of cancer, while cancers like leukemia, prostate, and breast cancer have made progress, most of those survival rate numbers are based on catching the cancer early, which, unfortunately most aren't caught early leading to a poor prognosis, my prognosis for example is 5% overall survival for 5 years with a significant drop off after 3 years. The survival rate is also heavily dependent on comorbidities, or other things that impact your health, this can leave things like surgery off the table.

Another fun fact is that we really still suck at cancer treatment because we don't know how it functions, and as previously stated there's over 100 different types of cancer, each with their own mechanisms and subtypes.

So to your main point, no unless there's some massive breakthrough in immunotherapy that's pan-cancer responsive for most patients (right now immunotherapy only works for roughly 20-30% of patients), the costs aren't going to go up dramatically as the primary option is surgery if it's early and if it's late you're probably still going to be dead within 5 years. The number of patients surviving each year only goes up by about roughly 2% per year.
Here is the owners manual for my car: http://www.fordservicecontent.com/Ford_Content/Catalog/owner...
On page 259, under the heading "Fail-Safe Cooling".

If the engine reaches a preset
over-temperature condition, the engine
automatically switches to alternating
cylinder operation. Each disabled cylinder
acts as an air pump and cools the engine.
When this occurs, your vehicle still
operates, however:
• Engine power is limited.
• The air conditioning system turns off.
Continued operation increases the engine
temperature, causing the engine to
completely shut down. Your steering and
braking effort increases in this situation.
You also inherit an entire chain of trust over code you yourself didn't write nor did anyone actually validate. The issue with leftpad.js wasn't that it was stupid, it was that it was dangerous.
Make wise decisions with your money. Save some, put in in index funds. Make FU money. Learn to manage the stock market.
A.I. may replace jobs, but Sam Altman sees global GDP increasing
It's probably the web page causing that. I am sure a single chrome window with https://news.ycombinator.com inside it won't use GBs.
Transforming into a financial firm might be OK for Apple's cash hoard and shareholders in the short run, but it would also be turning away from the most interesting and beneficial parts of the company - the ones that make technology companies valuable to humans in the first place.

I'm more interested in a company that applies technology to create tools to help people work, play, learn, create, and communicate. Or one that helps to improve health care and education. Even businesses like streaming music and video, improving cars, or making headphones and speakers seem more interesting and beneficial to humans.
> That doesn't have anything to do with protectionism. Are you confusing protectionism with state-owned companies?

No I don't, I'm going to explain how the public train service works, it works by subsidising the unprofitable parts with the profitable parts. Which private train company would like to take an unprofitable train line? If you can find one, good luck.

> Rail networks in the EU are becoming open as well (which is the point of the article, in case you didn't read it), so SNCF is having, due to competition, to buy more efficient train sets to be able to compete with potential new entrants.

Since then the SNCF closed a lot of local train stations, reducing the attractivity of the train in France and threatening the train system as a whole, the same policies are producing the same consequences, I wish people would learn from the mistakes of the past one day.
Nope, the reason it's diagnosed late is often due to many cancers being asymptomatic and aggressive. Your immune system literally cannot recognize the bad cells because of checkpoint inhibitors among other things.