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

By Faviconese I guess he can spot from the favicons which domains belong to casinos.

Majestic refers to https://majestic.com, "backlink analysis".

Tranco (from Gemini): "Tranco is a research-oriented, manipulation-hardened top one million website ranking list designed to fix reproducibility and methodological flaws in older popularity metrics like Alexa."

The other... No idea.


I remember a story about Feynman doing the same thing (analyzing a computer program with differential equations). Seems to have worked well for him.

See https://math.stackexchange.com/questions/4752749/how-could-f...


I think one could down the hardware to gates, then convert that to a partial difference equation (time discrete). In F_2 sum is "xor" and product is "and". "and" is bilinear. But it is not a universal gate. Don't shoot the pianist, but gpt suggestion is passing from linear to affine algebra. There traslating by 1 (traslation being summing, xor) is "not" and is an affine map, just as "and" is affine in each argument because being linear. Nice thing is that affine maps can be encoded as linear ones one dimension higher so "nand" can be seen as bilinear form acting on two 2D args (homogeneous bit coordinates in F^2*F^2), that is a twice covariant tensor. That tensor can be expressed less efficientely as a twice covariant, once contravariant one. The advantage of that being that you can map a circuit of "nands" to a tensor network of same topology so a big linear map L, so the difference operator becomes L-Id and that leads to the difference equation. mathse speaks confusingly both of difference and differential equations. Take this as a napkin reconstruction idea, not an account of what Feynman actually did (note also the above assumes RAM as part of the state of the CPU as "cache"/"mega-register-bank" and no I/O so model passes from Mealy machine to a fixed iterative transition function acting on initialized internal memory).

EDIT: change F^2 * F^2 -> F_2 * F_2

My god this is utterly unreadable for humans.


Yeah, it's horrible. Humans who know even a little bit about this want to know how many ULPs the errors are: less than 0.5 is presumably "right", but error >1 ULP is much more newsworthy than if it's 0.6 ULP or even 0.9 ULP.


We measured how far off the float_pkg results are, by comparing the returned float32 and float64 values with exact arithmetic and expressing the distance in units of the last place. The cut is 0.5 of a unit for correct rounding, and sqrt(2.0) in double falls at 0.565, with the correctly rounded neighbour at 0.435. So even that one-unit error is beyond the rounding boundary.

But the misses extend much further than that rounding boundary. Across the same 10,000 calls per operation we measured 19,147 wrong results; 7,213 of those are within one unit, while 3,775 are more than 1,000 away. 4,063 have the wrong sign and 3,370 confuse a number with infinity or NaN. The reciprocal result is useful here: none of its 384 wrong float32 results is a near miss, with 294 returning infinity or NaN for a number, 66 the wrong infinity or NaN, and 24 getting the sign of zero wrong.

The table is in "How far off"; python3 exact.py sizes vectors.txt results.txt prints it.


ha! sorry for the slop... things are moving fast and I'm behind on publishing management

feel free to crunch the numbers tho, prose aside


That seems weird. They did throw extra hardware at it to speed it up for the efficient cores, but not for the performance cores?


Probably different teams. Plus you can not underestimate the role that momentum plays in semiconductor engineering teams. If some respected person determined that subnormals are either Hard (tm) or not a Real Problem (tm), it will take a long time to correct this mistaken belief. I believe there have been some recent academic papers on FP implementation from the Intel E-Core team, which is a sign that they are a bit more with the times.


They are designed by different teams and have different ways of doing math. You could just as easily say “why are the efficiency cores wasting an extra cycle for each multiplication doing fixups of an uncommon case”.

Fabian Giesen explains in more detail here: https://mastodon.gamedev.place/@rygorous/117277063419144390


larger SIMD ALUs, which also have been around for longer?


If you ever saw this guy program you know he's very competent so IMHO that reflects badly on twitter, tbh.


It’s just an example of the fact that programming is far more than code. It is also managing dependencies, build systems, making architectural decisions, developer support, etc.

It is very possible to be good at slinging code and bad at everything that is required to support deployed code.

Based on geohotz history, I wouldn’t be surprised if he falls in that bucket - hacking and algorithm skills are great but don’t lend themselves at all to building twitter. That’s why it is foolish to pretend like one guy is great or even good at everything.


I think the more likely explanation is that he's just not as familiar with frontend web development and react, so he underestimated the difficulty. He was asking for help on Twitter for how to make pills inside of a text field. His failure was caused by a knowledge check rather than a skill check.


> His failure was caused by a knowledge check rather than a skill check.

whats the difference w/r/t programming? in this case I'd argue the knowledge was the skill


Skill is inherent, abstract, hard to modify, and generic. Problem solving is skill. Knowledge is knowing the syntax for a textbox in React.


Not much skill in problem solving if you can't Google some react syntax


Totally fair! I think it is more of a reminder that making impact at large companies can be hard even for competent people.


This article contains very little substance. Show me the math!


Yes I found this very hard to follow. I appreciate expressing ideas in math like E_a[X] as much as the next guy, but there is no definition or even description of what the heck E or E_a or Var(x) even mean, so how is anyone supposed to understand the reasoning here? All I get from this is a claim that experienced latency is different than the mean, which sounds important, but I still have no intuition as to why this is. Which is sad, because Booker's blog is often deeply amazing.


This is standard statistics terminology - E(X) is https://en.wikipedia.org/wiki/Expected_value . E_a is presumably Alice's perceived expected value. Var(X) is https://en.wikipedia.org/wiki/Variance . The law of large numbers says the arithmetic average of observations becomes E(X) with enough samples.

I'm pretty sure what the author is saying is:

E(X) =:= \sum_t(t * P(X = t)) is the definition

another important note is P(X^2 = t^2) = P(X = t) - because it's the same distribution.

E_a(X) is a bit sloppy, but consider X_a aka Alice's latency "experience" distribution. The argument is:

P(X_a = t) = t * P(X = t) / \sum_u(u * P(X = u)) - i.e. scale the probability up by t but make it sum to 1.

Then

E(X_a) = \sum_t(t * P(X_a = t)) = \sum_t(t * t * P(X = t) / \sum_u(u * P(X = u))

aka

E(X^2) / E(X)

Then (from wikipedia)

Var(X) = E(X^2) - (E(X))^2

And we get

E(X_a) = (Var(X) + (E(X))^2) / E(X) = E(X) + Var(X) / E(X)


Thanks!


I was clicking around in response to this article and found this video that explains the inspection paradox nicely. https://youtu.be/Jd1wNizPjoE


This sucks. I was working on a video course on building CPUs on an FPGA that uses Vivado (because I am somewhat familiar with the ecosystem and have dev boards with Artix FPGAs).

I am still contemplating my options. I can still use Vivado 2025, I guess, but I am not sure that is the right direction.

What are realistic alternatives for Vivado? (Taking into account the availability of supported affordable entry-level dev boards?)


For teaching / learning it's hard to beat Quartus Prime Lite - the virtual JTAG infrastructure (for SignalTap logic analyzer) is much better than the other options. (It's easy to create custom virtual JTAG modules to control and read data from a running design, and these will happily coexist with the logic analyzer.)

Dev board wise QMTech on AliExpress have some really nice entry-level dev boards - the Cyclone 10CL025 board, the daughter board and a clone USB-Blaster cable for programming would weigh in at well under £100.

Terasic have a bunch of different Intel/Altera dev boards, the cheapest being the DE0-Nano - personally I like the DE10-lite, but there are more modern options for those with deeper pockets.

The Tang Nano 20k is a solid and affordable choice for a Gowin chip (though be aware that this particular chip's PLLs are a bit limited and its block RAMs don't have byte enables). The JTAG stuff works but isn't anywhere near as advanced as Intel's.

For Lattice ECP5 there are several options - and these chips are well-supported by yosys/nextpnr and oss-cad-suite in general.

I quite like the IceSugar-Pro ECP5-based board and associated breakout board - but it has a quirky built-in JTAG adapter which isn't supported by the Lattice toolchain, so you'll have to use OpenOCD or OpenFPGALoader to program it, and you can't use the vendor-supplied internal logic analyzer. Its FPGA is well supported by oss-cad-suite, though, which is a big plus.

IcePi-Zero is also well worth considering, available from CrowdSupply.

ULX3S is very nice, too - but as far as I can see it's only available for pre-order on the next production run.


Thank you for your reply! I did a bit of research and, since I do want to use quite some peripherals, I have gone for the ULX3S. A big factor here was documentation and availability; If I would have been able to find a MiSTer Pi I might have gone for that instead.

I now bought a ULX3S on a whim, and will at least evaluate how usable it is for my purposes. It will take quite some time to familiarize myself with a new toolchain, which kinda sucks. One advantage of these big proprietary IDEs is that they integrate a lot of functionality into one "unit" (as far as the user/programmer is concerned), instead of having to install a lot of separate tools.

For the course, I am now considering to "support" an AMD board, an Intel one, and a Lattice one.


Good choice!

oss-cad-suite will give you the open source toolchain for ULX3S in one convenient package. There are plenty of example projects and other resources, plus a discord server. https://ulx3s.github.io/

(Also, to download Lattice Diamond you'll need to make an account on the Lattice website which then needs to be activated. I tried that using a gmail account, and it was never activated - I had to use an email address related to one of my own domains.)


Switch to the open source FPGA tool chain?

https://github.com/openxc7


> Fun fact #1: you rent your cap and gown in the US. You have to return them. And they’re expensive, too! I paid $94 just for the privilege of renting mine, which is insane because they probably cost way less than that to manufacture.

Ah, yes, of course this is how it works in the US.


It depends entirely on school.

Mine wasn't like that (and still isn't). Multiple friends of mine are graduating from NYU this month, and their situation isn't like like that either.

Every school I've ever encountered gives an option to purchase (with some being way more affordable than others). E.g., NYU JD (law school) cap and gown is roughly $98 to purchase (not to rent) this year.


FWIW I'm in the US and I bought mine. Renting does seem to make more sense here as the gown has no utility outside of this one event.


You generally rent caps and gowns in the UK too. Can you share where you are that you buy them?


Here is one company that provides the gowns for many UK universities: https://www2.edeandravenscroft.com/non-ceremony/. I could be kitted with the appropriate gowns for my UK degrees for a few hundred squid each.

Academics, who attend many graduation events, often end up buying their own gown. I believe you are supposed to use the gown of the university you graduated from, so they must be for sale somewhere.

Once you have your own gown you can customize it. I haven't seen any profs with LEDs additions to their gowns, but adding extra pockets to hide a book or snacks is fair game.


Yeh but most undergraduates (and probably graduates) will rent because it's cheaper for a one-off occasion. As you said it's mainly academics that buy.

Looks like Ede no longer sells my University gown but https://churchillgowns.com/ does. Again rent/buy.


You are allowed to turn up in your own though, no one will check. I even had people turn up in the wrong colour gown at my graduation.


I don’t doubt that some offer and charge for rentals. (I think mine only charged $130 ish for purchase though.)

However, I am shocked to hear that there is not even an option to purchase them at OP’s university. Many people like to keep them, especially the cap at least, as a souvenir, or their parents will keep it. Besides, couldn’t they make more money selling them?


At my college you rented the gowns, or at least that was the default, but I think the cap was bought and yours to keep.

Also, as a souvenir, the tassel, which is decorated with a charm showing the year graduated, is also always (obviously) yours to keep.

It’s very common in America for young people to hang that tassel from their car’s center rear-view mirror.


Yes, you have to pay a decent wage to the people helping you fit, cleaning, and storing the goods. Manufacture is done in a low cost country with cheap labour, so buying clothing seems cheap.


Do you truly believe most of that goes towards wages?


Well, some will go on corporation tax, some on business rates, some on rent of the land the storage is on (which itself has to pay corporation tax, I suppose).


Yes. Competitive forces would push the cost toward the most expensive input which is likely people. That would be somewhat muted if the supplier was sole source but even then outright purchases would put downward pressure on the rental price.


Given that you’re forced to rent the cap and gown, I think it’s safe to say that competitive forces are entirely absent in this scenario.


What competitive forces? It's not like people have a choice in choosing whether they want a particular cap or gown and the people who contract the rental agreement (i.e. the university admin) are not the ones bearing the cost.


I'm surprised at the concept, somehow I thought the whole "graduation cap" thing was just in movies. Seems out of place in a country that's otherwise so individualistic.


Colleges are far less “individualistic” than most places in the country.


We are by all concievable measures living in the best timeline and under the best economic system. Just look at the graphs. Just consider what an American symbol the graduation cap is. We don’t really know why, but I think a likely reason is that making graduation caps under most economic systems is too labor intensive. Some families might not have even been able to send their children to universities since they couldn’t rent or buy graduation caps—and certainly not make them themselvse—and not doing so would be a complete humiliation for their family or clan or what they have in other countries.


Too coherent. You need to work on your simulation.


What in the world is going on here?


That must be new; I walked in 2009 and we got to keep ours


High school lets you (makes you?) buy them. My HS and college had almost the exact same color, so I probably could have gotten away with reusing mine!


It's insane, why doesn't the school just store a bunch of them.


As opposed to what buying the thing and storing it or throwing it away?


It's a $10 gown, renting it for $100 is madness


Welcome to captive audience pricing! There are more a few companies who have this type of business, especially targeting those in institutions of all kinds.

They probably are fully gone now, but when I was in college some (IRL) classes, usually the big auditorium ones, added interactivity in the form of realtime polls and quizzes with a little “clicker” device. This was of course $30 or whatever and just used some custom RF protocol to register your vote across the room. Single-source, you have to buy it to be in the class.

Textbooks themselves, electronic or not, same racket. Professor is sold the book, but it’s the students who pay. (Don’t forget of course the scam of “writing your own math book” and requiring it!!)

Prisons: some private company always has a deal to “supply telephone service” and charges the inmates or their families rates that are higher than international long distance used to cost.

All of these things are sold to administrators who have no fiscal concerns with the service or product because the institution isn’t the one paying, so there’s zero pricing pressure. If there’s even multiple contractors in the niche, they are more incentivized to compete on sending cool freebies to the administrators, or add perks that benefit them, than they are to compete on pricing for the students/inmates/etc. like, say, Jostens might throw in “free school ID cards” which is technically “saving the school money” in order to get the yearbook contract, while making $100 a yearbook in gross profit on $150 yearbooks. Note: all numbers made up.


Throwing it away after single use is madness.


I think they’re saying it should be much cheaper to rent, and we shouldn’t throw them away.


Is it?

My issue with this type of thinking is it assumes "transport cost <<< manufacturing cost" -- a decent assumption for a lot of goods throughout a lot of history, but just... not really true for lots of things in a modern supply chain.

The cost of moving the gown between users -- in the form of the user needing to give back the gown to the service, who must then clean it, inspect it, etc. -- may in fact be far higher than the cost of manufacturing a new gown and only needing your supply lines to be "one way".


trash doesn't disappear, everything has to go somewhere


Sure, but there's a lot of random matter on Earth -- excess trash being an issue is less about space and more about externalities (e.g. toxic chemicals leaching).

Being mindful of how much trash we produce does not necessitate producing less (or more!) -- but merely balancing the pros and cons.


I was wondering why I saw them for cheap on aliexpress…


And if you order XXXXL it might fit. A little tight, but bearable.


Yeah this is not universal. I bought mine


Nobody said it better than von Neumann: "Young man, in mathematics you don't understand things. You just get used to them"


I don't have a lot to show for it yet, but I'm working on an online video course for software engineers aspiring to build their own CPU on an FPGA dev board.


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

Search: