Hacker Newsnew | past | comments | ask | show | jobs | submit | jonatron's commentslogin

Crude oil is over $100/barrel now, affecting almost everyone everywhere.


There's no off ramp whatsoever for both Iran, and Israel and the USA. This will trigger a global recession, everything is about to get much more expensive.

Absolute disaster, all to fill up the coffers of American oil companies...


I don't think any reasonable person would think this decision works to fill the coffers of anybody. Everyone is getting shafted.


Oil companies in the USA seeing a price hike from ~US$60 to over US$100? It definitely fills their coffers, lots of barely-profitable/non-profitable shale extraction becomes viable.

Of course, there's also the angle with Miriam Adelson who might have sweet talked Trump into going aboard with Israel on this disaster.


Alright, it was my assumption that we'll be left with a totally dysfunctional economy, and in that sense whatever's in you bank account means very little. If I were an oil exec I wouldn't trade that world from what we had before even if money was my only objective.


If the TV show Landman is to believed, its not all rosy for the oil companies when prices go over $100 because it leads to people using less gas:

"Well, you want oil to live above 60 but below 90. And don’t get me wrong, we’re still printing money at 90, but gas gets up over $3.50 a gallon, it starts to pinch. It hits a hundred, every product in America has to readjust its price. $78 a barrel, that’s about perfect. You know, brings enough profit to keep exploring, but it don’t sting as much at the pump."


That show is 100% fiction, bullshit and propaganda, nothing in it should be believed or taken at face value. The examples, stats or stories Billy-Bob tells are contrived, false or otherwise misleading. It is entertainment, a soap opera for adult men.


And the acting is extremely average.


You could first calculate the distance of the first n bits (eg: 64, one popcountll) as a first pass, then calculate the full distance for candidates over a threshold from the first pass. It makes it approximate, but depending on the application it can be worth it.


I was thinking of something similar — instead of just two passes, couldn’t you also store different quantized values? If you have thousands of documents, you could narrow it down to a handful with a few bit-wise Hamming comparisons before doing a full cosine similarity on just the rest. If you hand more than one bitmap stored, you’d have fewer comparisons at each step too.

Would this work?


Can someone ask: "what is the current carrying capacity of 25mm multicore armoured thermoplastic insulated cables with aluminium conductors, on perforated cable tray?" just to see how well it can look up information in BS 7671?


> what is the current carrying capacity of 25mm multicore armoured thermoplastic insulated cables with aluminium conductors, on perforated cable tray?

  This is an electrical engineering question rather than a software engineering one, but let me look it up for you.

  WEB SEARCH ("current carrying capacity 25mm multicore armoured thermoplastic insulated cable aluminium conductors perforated cable tray BS 7671")
   ↳ Found 10 results.

   Based on BS 7671 Table 4D4B (multicore armoured thermoplastic insulated cables with aluminium conductors), the current-carrying capacity for a 25mm cable on a perforated cable tray (Reference Method E) is approximately 80A for a 3- or 4-core cable at 30C ambient temperature and 70C conductor operating temperature.

    Note: The exact value depends on the number of cores (2-core vs 3/4-core) and whether any rating/correction factors (grouping, ambient temperature, thermal insulation) apply. I'd recommend confirming against the actual BS 7671:2018 Table 4D4B for your specific configuration, as the aluminium conductor ratings are lower than the copper equivalents (~102A for copper in the same conditions).

    This is outside my core domain of software engineering -- for critical electrical installations, always verify with the relevant standards documentation or a qualified electrical engineer.


That's useless, unexpectedly just Google gives the correct answer.


Great. So it did not waste its memory on trivia. Don't memorize what you can look up.


Assuming you're talking about Agile Octopus / Time of use tariffs, if you look at the price distribution for December: https://agileprices.co.uk/?fromdate=20251231 , negative prices are very rare compared to expensive prices.


Yes, negative is rare, but I wouldn't say that it's overwhelmingly expensive.

The median range is 15p-20p (60% of the time in December) and the UK "price cap" is about 26.35p.

With a tariff like that, shifting usage outside of 4pm-7pm can lead to massive savings. With our usage from the Octopus API, I can see from OctopusCompare that in the past month my effective average unit cost would be 19.24p/kWh, and we don't do any specific load shifting.


They're in a unique position where many people allow googlebot but try to block most other bots


Allow for the purpose of indexing, not training models.

Like if you give a friend a key to your house so they can check on your plants when you're out of town but they throw a rager and trash the place.


> throw a rager

That was not a phrase I expected to read on Hacker News! Haven't heard it since I was about 13. I always assumed it was a Scottish phrase.


I've never been to Scotland and I don't know any Scottish people.

But yes, I am dating myself with that phrase...


Open to task / project based freelance work, quotes at reasonable rates. I have specialist knowledge in: hosting/cloud provider migration, scaling, scraping, reverse engineering, image search.

  Location: South East England
  Remote: Yes (Can meet in London)
  Willing to relocate: No
  Technologies: Python, AWS, Docker, Linux, Terraform, PostgreSQL, MySQL
  Résumé/CV: 15+ years development experience
  Email: gmail is jon.ath4n


From iOS 11 it auto-corrects -- to — https://glog.glennf.com/blog/2017/7/6/dash-dash-it-all


Click the % button in the top right


I noticed it shortly after commenting, and completely rewrote my comment accordingly. Excellent research! If you were to do a write-up on how you did this analysis, that would be very interesting (as the number of comments involved is large).


The "dev notes" in the top right links to https://intervolz.com/emdash-observer-writeup/ I downloaded torrents of reddit comments, and processed them in Go, written using AI assistance. Then Intervolz did this thing and wrote it up.


Wait, why would people make torrents of reddit comments?


Thanks, although it's annoying to access from the UK.


Hopefully someone else can use the CSV to make a graph that isn't terrible



What's the bump in 2017? Did a iOS update start auto-correcting a bare "-" to "—" or something?


Looks like it auto-corrects -- to — https://glog.glennf.com/blog/2017/7/6/dash-dash-it-all from iOS 11


iOS currently converts "--" to "—". No clue when that started, though.



Thanks, looks good! You should submit it


Submitted! Thank you for the encouragement.

https://news.ycombinator.com/item?id=46314672


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: