News for hackers. Stuff that matters.

macromagnon

I could tell in edge that right side was muted based on the icon next to the address bar and noticed you could use arrows to move one by one so just pressed left 25 times.
School calculus is hated because it's typically taught with epsilon delta proofs which is a formalism that happened later in the history of calculus. It's not that intuitive for beginners, especially students who haven't learn any logic to grok existential/universal quantifiers. Historically, mathematics is usually developed by people with little care for complete rigor, then they erase their tracks to make it look pristine. It's no wonder students are like "who the hell came up with all this". Mathematics definitely has an education problem.
A lot of artists are under a 360 deal and they take a cut of everything, so that might not always be true.
Re:Botanical gardens can cool city air by an average of 5°C on Tuesday February 27, 2024 @04:33PM (#39530297)
The increase in temperature is just one of the issues. It has probably been mainly publicized as it's an easy "key performance indicator" to get the point across/that can be succinctly referred to. Sea level rise, ocean acidification, global weather pattern shifts, etc. are all also major problems.
There's a conflict of interest on the part of car manufacturers, if insurance just pays out and they get to do another sale, they're happy that your car got stolen.

Also, I agree with the main point of the article, but it shouldn't be so easy for any 16yo Tom, Dick or Harry to buy a gadget and start stealing cars. If it's so easy to make with off the shelf parts, then let the 'security experts' create their own.

Consumers need to be educated about keeping their keys away from doors/in a faraday cage.

Re:Alexei Navalny has died – authorities on Friday February 16, 2024 @06:08PM (#39404255)
Nothing happens to random people with no power, but if a legitimate threat to the status quo appeared, I don't think it would end up so peaceful.
Re:Alexei Navalny has died – authorities on Friday February 16, 2024 @04:30PM (#39403230)
Where can I get more information on this? Wasn't fukushima total disaster in that it was badly maintained and in a bad location? These two pre-conditions don't seem to apply to the plants germany had.
Re:Smoking has long-term effects on the immune system on Friday February 16, 2024 @11:49AM (#39399539)
Exactly, we're already breathing all kinds of dangerous substances from multiple sources, why add another one.

Honestly, since they banned indoor smoking and having people smoke 9m from doors, I don't mind it. What I do mind is people throwing butts all over the place, for some reason, even people who avoid littering don't think twice about throwing their dirty butts everywhere. Every time spring comes and snow starts melting it's so disgusting everywhere.

Re:Smoking has long-term effects on the immune system on Friday February 16, 2024 @11:46AM (#39399474)
If you actually really only smoke 10 cigs a year, which I'd be impressed by, you should get into nice cigars.
It seems obvious to me that meeting any of the conditions disqualifies you.

The points needed to satisfy one of the clauses goes down as the "seriousness" of the crime goes up.

If you got 4 total points, you're out, but if you only have 2 points and it's due to a violent offense, you're also out.

Re:2009scape – Runescape in 2009 on Friday August 18, 2023 @09:47PM (#37184629)
I still remember when notes/certificates to allow stacking any items came out but you could only do one inventory at a time at an npc.

Eventually (not sure how long after) you could just toggle the option at the bank.

Talk about qol improvements.

Individual Contributor.
If you like capitalism so much, then an artist having their income more clearly directly proportional to their output than some ceo definitely deserves a greater % of the profit.

Also, minimizing the effort it takes to become a pop artist and being prude is such a cliche.

They're only operating from 10pm to 5am so one would expect them to at least update off hours.
Re:Tell HN: Stop Accepting Shitty Interviews on Friday January 14, 2022 @12:22AM (#29930890)
I have interviews lined up with google and coinbase which both are going to ask leet code style questions. I'm going to go through it just for the promise of more $.

Even if it is annoying to spend hours and not get an offer, I can see why they ask these types of questions to see your problem solving ability first hand.

I would expect any decent engineer to be able to solve leet code style question, or at the very least be able to model the problem reasonably well and give a recurrence. Even if the code contains errors or there's missing edge cases then it allows you to see how someone approaches a problem.

Leet code style questions are basically a bunch of combinatorial algorithms. Even if they seem like a different trick each time there's general techniques that can be used to approach each problem.

Re:Pixel prevented me from calling 911 on Thursday December 09, 2021 @12:32AM (#29494168)
Android has the concept of an Intent[0] which are basically a category of apps that can fulfill a functionality like sending an email, browsing the internet, or dialing a number, etc.

So a developper can create contacts/caller app so that for example, when you click on a call button from say a google search, the OS asks the user to pick one app that was declared to be able to ACTION_CALL.

If I had to guess, I'd say it's something having to do with Teams being given priority on calls followed by failure to having priority for emergency calls and no way to gracefully recover.

Quickly browsing the documentation I see comments like

Note: there will be restrictions on which applications can initiate a call; most applications should use the ACTION_DIAL.

Note: this Intent cannot be used to call emergency numbers. Applications can dial emergency numbers using ACTION_DIAL, however.[1]

[0] https://developer.android.com/guide/components/intents-commo...

[1] https://developer.android.com/reference/android/content/Inte...

Re:The fish shell is amazing on Thursday November 25, 2021 @04:22PM (#29345112)
Is it that hard to remember a bash for loop?

  for i in $(seq 1 10)
  do echo $i
  done
Then you can just replace new lines with ; if writing a one liner.

  for i in $(seq 1 10); do echo $i; done
I guess it isn't as simple as python

  for i in range(10): print(i)
but it's pretty close aside from the variable binding.
Transportation accounts for 14% of total greenhouse gas emissions [1] and that includes rail/air/marine travel so it doesn't seem to be as simple as getting people out of their cars.

[1] https://www.epa.gov/ghgemissions/global-greenhouse-gas-emiss...

From one perspective, mathematics is the study of the methods of reasoning on abstract concepts. Theorems follow from any set of axioms that do not lead to any contradiction. In physics, one is usually only interested in results relating to the current universe we live in. In that sense, mathematics can be viewed as more general.
I don't really like ORM's (or even java) but if I'd have to write code to model a typical user/product/subscription system I'd rather use hibernate with some annotations than dealing with all the add/update sql and projections between domains.
Re:“Great resignation” wave coming for companies on Monday June 14, 2021 @07:06PM (#27509495)
I doubt you can say some 'one' made the world this way. The present day is the result of historical, economical, scientific, etc. processes that are only partly known by few people.

Țhere is a short term greed pushing wages down so in that sense I agree.

Re:Stanford CS Curriculum 2021 on Thursday June 03, 2021 @09:42PM (#27389561)
Can you expand a bit on how Greek helps? Are you talking about Ancient Greek? I know a few latin derived languages but I never taught about the relation to computer languages.
Re:WW1: Was it the first world war? (2014) on Wednesday May 05, 2021 @09:15PM (#27058036)
Most of the best players in the world end up playing in the mlb so it kind of makes sense.
Re:How to do things safely in Bash (2018) on Saturday April 03, 2021 @07:26PM (#26685647)
I like bash because it's easy to connect different data together. I can output a column from a sql query to a file and easily write a for loop that goes over the data and use it.

I work mostly in payment related code, so most often I use bash to hot fix in production. Like if we need to refund certain people, I'll convert the refund api call to a curl call, get the data from sql and then just run a simple loop.

Some even have 3-4, all maxed out.
Re:Multi-User Dungeons (MUDs): What Are They? and How to Play on Sunday February 28, 2021 @06:47PM (#26298243)
I'm just young enough to have missed the time where muds or Ultima online were most popular.

In the late nineties, I distinctly remember internet cafes and the rise of Everquest which was inspired by diku mud. You had a bunch of young people playing console games, some mtg players, some pc players, etc.

Good times, it makes me sad for kids these days where mobile games are mostly gacha p2w slot machines.

It seems rather disproportionate to blame such ills on the movie industry.
Re:Europe's Vaccine Disaster on Friday January 29, 2021 @10:44PM (#25965807)
Canada has no large scale vaccine production capacity so even if they could license the production they couldn't produce any decent amount any time soon.
Re:Indians predated Newton 'discovery' by 250 years on Sunday November 22, 2020 @12:33AM (#25175197)
I have never seen anyone claim that Newton is the first to work with infinite series. In fact, finding the area under a curve the geometric way (finding quadratures) naturally leads to many series and in this case Newton himself is predated by many contemporaries and some ancients.

It arguably goes as far back as Eudoxus and his method of exhaustion. Archimedes basically reasoned about limits using synthetic geometry only.

Re:Homotopy Type Theory (2012) [pdf] on Tuesday October 27, 2020 @04:07PM (#24911243)
I've been wanting to go towards category theory, homotopy type theory, etc. but I realized I need more abstract/algebraic geometry and then I need some topology, etc before category theory so I have more examples of morphisms to draw from.

Right now I'm mostly studying linear algebra and some combinatorics. Very interested in linear operators and the relationship between differential/finite difference operator, falling/rising factorials, stirling numbers, bernoulli numbers, etc.

I'm hoping math will get me a more interesting job than java programmer but I enjoy the math for its own sake anyways.

Older »