News for hackers. Stuff that matters.

gfrangakis

Really cool. I know the sauce is in the layers and weights, but its kind of mind blowing how short / simple the implementations are
Re:Light Pollution Map on Friday April 23, 2021 @12:42PM (#26916542)
What is this random spot with seemingly nothing around it in Russia?

https://www.lightpollutionmap.info/#zoom=5.85&lat=68.2729&lo...

Re:Morrowind rebooted the original Xbox on Thursday April 15, 2021 @07:11PM (#26827333)
That blew my mind as well. I remember it looking so good.

Xbox - 64mb

Xbox 360 - 512mb

Xbox One - 8 GB (later 12 GB)

Xbox Series X - 16 GB

This last one also surprises me, was expecting at least 32GB

Re:One Year Alone in Forest of Sweden Building a Log Cabin on Tuesday March 16, 2021 @10:02AM (#26476778)
Managed to make it through without being attacked by a single greyling. Quite the accomplishment
Re:The Bit Short: Inside Crypto’s Doomsday Machine on Friday January 15, 2021 @03:16PM (#25795771)
On the other hand, some people want Bitcoin to succeed so much - or rather want the price of Bitcoin to succeed because they speculate on it - that they'll engineer some fraudulent schemes in a relatively unregulated market to support their bank accounts.

I think it's likely a bit of both, but you can't deny there is something unsavory going on with Tether and these offshore exchanges

I had seen this a while ago but should take a fresh look at it - it seems like there should be a community tool that generates data providers from an openapi spec. Thanks!
I believe so - basically following the vanilla SQLAlchemy integration guide they have [0], and not trying to await query results as they do in the the async guide [1]

[0] https://fastapi.tiangolo.com/tutorial/sql-databases/ [1] https://fastapi.tiangolo.com/advanced/async-sql-databases/

I'm curious - is there a tool handles solely the "frontend codebase generation" part of this? This looks great, but we already have a well-defined backend and REST API built using Python+FastAPI, with SQLAlchemy as an ORM and Postgres backing it. I am not a good UI/UX designer, but I understand and have built React applications, so really find myself looking for something that can take an OpenAPI.json spec and produce a hackable frontend codebase that follows best practices.
Re:Museum of Bad Album Covers on Friday December 11, 2020 @09:46AM (#25386345)
If you had a chuckle at Immortal's Battles in the North album cover, please watch the video for The Call of the Wintermoon [0], which was on their first album, Diabolical Fullmoon Mysticism. I'm convinced they knew it was hilarious

[0] - https://www.youtube.com/watch?v=-VBdAY8eA9w

Everyone say a prayer for Twitter engineers trying to fix this tonight
Re:Full Autopilot in GTA Using TensorFlow on Tuesday May 12, 2020 @01:20PM (#23156658)
Seems like Forza would be easier to interface with too, example: this guy built a virtual cockpit[0] using VW parts -- the shifter, tach/speedometer all work

[0] - https://www.youtube.com/channel/UCSEqO_2kdxLtslBK9FLqtxA

Re:How Stripe Designs Websites (2017) on Tuesday May 05, 2020 @11:29AM (#23081080)
The most impressive thing about Stripe's website is IMO their documentation. I've tried to replicate it using tools like widdershins and slate, but can't get it as beautiful or functional.
Re:It takes now 53 weeks salary to earn same as 30 weeks in 1985 on Thursday February 20, 2020 @03:47PM (#22378443)
> 10/ When we say "inflation-adjusted wages look good," we are actually saying "if you could take your wage back to 1970 and spend it, you'd be better off than you were at the time with a 1970 wage." I mean, maybe that's interesting. But it doesn't describe lived experience.

Isn't more like saying, you can buy more units of 2020 "consumer goods" with a 2020 wage than you could buy 1970 consumer goods with a 1970 wage? His point is just the definition of inflation: $1,000 in nominal dollars more valuable in 1970 than in 2020.

Re:Big Calculator: How Texas Instruments Monopolized Math Class on Tuesday November 26, 2019 @10:55AM (#21639350)
Why have no edtechs created a low cost version of the TI-83/84? One that mirrors the functionality of the TI calcs so that they can still be used with textbooks that are dependent on those. The article estimates the TI's cost $15-20 to make, but even that seems very high for what they are.

I imagine the harder part is getting approval from the organizations that administer standardized tests like College Board and the states themselves.

Re:Stripe CLI on Tuesday November 05, 2019 @09:25PM (#21459137)
Is Stripe's "documentation stack" open-source? I've seen Slate and its derivatives, but honestly nothing really comes close to the full (amazing) dev experience their docs provide.
Re:This Cat Does Not Exist on Wednesday February 20, 2019 @11:07AM (#19208970)
Dear god what have we done https://i.imgur.com/OanNO7W.jpg
S2 can also output interior coverings, which will return only the cells in a covering that are fully contained in a polygon. So if you encounter a point (or any cell) whose parent is in an interior covering, you don't have to do any additional checks to produce an exact result (whereas on the boundary, you may want to do a point-in-polygon test to be exact).
Library also available in Java[0] and to an extent in Golang[1], though the latter is incomplete.

S2 is fantastic for geofencing. Arbitrary regions can be covered by a set of S2 cells of varying level. A point (lat/lon) can be converted to a S2 cell of the smallest level (around a cm^2 of area on the sphere). Checking to see if one S2 cell is contained in another amounts to searching an integer range, since all children of a given S2 cell have IDs that fall within a fixed ranged. See also [2]

[0] https://github.com/google/s2-geometry-library-java

[1] https://github.com/golang/geo

[2] http://blog.christianperone.com/2015/08/googles-s2-geometry-...

A must-read followup that explores other data structures for geofencing:

https://medium.com/@buckhx/unwinding-uber-s-most-efficient-s...

Re:New York Subway X-Ray Area Maps on Wednesday August 09, 2017 @09:32AM (#14968554)
It's the gray platform that intersects the middle of the 456 and the end of the NQRW