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

A lot of phones do this automatically when doing double dash -- -> —


> Using some kind of fixed point math would be entirely inappropriate for most HFT or scientific computing applications.

May I ask why? (generally curious)


For starters, it's giving up a lot of performance, since fixed-point isn't accelerated by hardware like floating-point is.


Isn't fixed point just integer?


Yes, but you're not going to have efficient transcendental functions implemented in hardware.


Ah okay, fair enough. But what sort of transcendental functions would you use for HFT?

I guess I understood GGGGP's comment about using fixed point for interacting with currency to be about accounting. I'd expect floating point to be used for trading algorithms, but that's mostly statistics and I presume you'd switch back to fixed point before making trades etc.


Yes, integer combined with bit-shifts.


The problem with fixed point is in its, well, fixed point. You assign a fixed number of bits to the fractional part of the number. This gives you the same absolute precision everywhere, but the relative precision (distance to the next highest or lowest number) is worse for small numbers - which is a problem, because those tend to be pretty important. It's just overall a less efficient use of the bit encoding space (not just performance-wise, but also in the accuracy of the results you get back). Remember that fixed point does not mean absence of rounding errors, and if you use binary fixed point, you still cannot represent many decimal fractions such as 0.1.


With fixed point you either scale it up or use rationals.


Fundamentally there is uncertainty associated with any physical measurement which is usually proportional to the magnitude being measured. As long as floating point is << this uncertainty results are equally predictive. Floating point numbers bake these assumptions in.


Planning a hobby alpaca farm (3-4 alpacas), very early stage.

Everything from farm related stuff (water, food, shelter, etc.) to self-sufficiency (solar, etc.) to real time monitoring (which cameras, affecting power supply).

Who knows if it'll ever happen, but just planning everything in detail is a lot of fun. Especially with weird regulatory constraints where I'm living, there's a lot to watch out for.

Example: Solar panels at >3m height need building permits. Snow in winter means panels should be set up at a specific angle. So my initial plan of putting the panels on my 2.5m high carport doesn't work. Either lower carport, lower angle, different place or getting a building permit.


LOL

The "best" plan is probably to observe someone who already has alpacas and go there frequently at all times of the year, in all kinds of weather conditions to see if you still want to deal with it. Also, ask yourself if you ever want a vacation again.

I've lived next to horses for 19+ years now and I don't remember what kind of a plan there was. Suffice to say that it would have gone out the window by day 2.

> Snow in winter means panels should be set up at a specific angle

Not sure what this means, but I can assure you that Mother Nature will subvert whatever plan you have, probably by sending enough wind to pack the snow so hard to the panel, that it will stick there even if vertical.


Do you forsee the tariff situation improving demand for domestically produced wool? I have land and am speculating that the economics of livestock may actually improve.


This must be the dream for a lot of tech people living behind a screen. I can see myself wanting to do this (although maybe work on the farm not own it)


I think a lot of people in office jobs day dream about this sort of thing. My father-in-law is a third generation farmer producing ultra fine wool. I am a source of free labour at shearing time and I will tell you that when I treat myself to a sleep in on Monday morning and roll out of bed for standup at 9:30 I sit there with the biggest shit-eating grin on my face meanwhile my father in law is already 4 hours in to his 12+ hour day.

Also if I was to go into farming I'd have to do something with crops/fruits/vegetables. I am a bit of a softie but the realities of livestock husbandry when met with the economics of farming can be quite confronting.


I already live in a farm with a permanent remote job!

/brag over


I just ask ChatGPT to provide the summary or whatever I need as a markdown file.



/s?

Because if you're referencing to a headline (without reading the article) that was on H a couple of days ago, it stated that 20-30% of the code in the repos was written by software. Software != AI

To quote wongarsu in the same post: "Considering that most of their software has been developed for decades and AI assistants have only started becoming useful in the last ~4 years it would be very surprising if 30% of their code is AI written. I doubt they even touched 30% of their code in the last 4 years. But what is perfectly plausible is that 30% of their code is written by code generators. Microsoft has a lot of interface code. All the windows DLLs that are just thin syscall interfaces, the COM and OLE interfaces in their office suite and everywhere else, whatever Office uses nowadays for interoperability to allow you to embed content of one product in another, whatever APIs their online products use, etc. In the leaked Windows XP source code it can be difficult to find the actual source code in between the boilerplate files containing repeated definitions, and in the decades since then the world has only leaned more into code generation."

Source: https://news.ycombinator.com/item?id=43841868


> This changed with a video Amazon posted on social media Friday, giving space enthusiasts and prospective Kuiper customers their first look at the real satellites.

It's right there in the article.


The anti immigration stance is not the problem in itself, it's a symptom of their xenophobic views.

"The party's prevailing ethnic and descent-based understanding of the people is not compatible with the free democratic basic order. It aims to exclude certain population groups from equal participation in society, to subject them to unequal treatment that does not conform to the constitution and thus to assign them a legally devalued status. Specifically, the AfD does not consider German citizens with a history of migration from Muslim countries, for example, to be equal members of the German people as defined by the party in ethnic terms."

Translated with deepl from https://www.verfassungsschutz.de/SharedDocs/pressemitteilung...


The party's prevailing ethnic and descent-based understanding of the people is not compatible with the free democratic basic order. It aims to exclude certain population groups from equal participation in society, to subject them to unequal treatment that does not conform to the constitution and thus to assign them a legally devalued status. Specifically, the AfD does not consider German citizens with a history of migration from Muslim countries, for example, to be equal members of the German people as defined by the party in ethnic terms.

This exclusionary understanding of the people is the starting point and ideological basis for continuous agitation against certain people or groups of people, with which they are defamed and disparaged across the board and irrational fears and rejection of them are stirred up. This can be seen in the large number of ongoing anti-foreigner, anti-minority, anti-Islam and anti-Muslim statements made by leading party functionaries.

Translated via deepl from https://www.verfassungsschutz.de/SharedDocs/pressemitteilung...


The interesting question is why having a different definition of the German people than "anyone who happened to come here and has lived here for a while" should be considered an extreme position. Throwing out all history and ancestry as a core component of the identity of a group of people seems rather like the extreme view.


It seems like the difference is between a cultural understanding and a legal one. The legal bar to be considered German is citizenship, which is what is being discussed in the context of a political party's official policy.

It would be an extreme view to say a person who immigrated to Germany and recently attained citizenship has more German ancestry than someone who was born in Germany to parents who were born in Germany but I don't think anyone is saying that. The point is just that "unequal German" doesn't make sense because German is referring to citizenship; it's either "German" or "not German", never "German, but lesser".


Looks really nice. ETA on play store release? Or do you have a alpha/beta apk?


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: