HNHacker News
TopNewBestAskShowJobs

winstonprivacy

531 karma · joined June 18, 2018

submissionscomments
winstonprivacy··on Fake scientific papers are alarmingly common
I found one the other day in the area of finance. The Chinese researchers claimed to have discovered a small tweak to a long established indicator which they described as giving a remarkable increase in r-squared value across a cross section of markets.

Sounds great, who wouldn't want to use this? So I implemented and find that their increase was due entirely to applying a log transform of the input variables. The resulting clusters were tighter, but it had zero predictive capability.

Very disappointing but in my experience, this is not uncommon.

winstonprivacy··on 100K Context Windows
Don't forget the ability to fine tune based on one's own data sources. For me, this is more important than any of the six reasons you mentioned.
winstonprivacy··on Automakers are starting to admit that drivers hate touchscreens
We were in the market last year for a new car. After test driving a few with touch screens, we decided to instead go for a barely driven 10 year old model. No touch screens and far fewer digital parts and connections which well eventually break.

That cost Mercedes $150k.

winstonprivacy··on Microsoft Edge is leaking the sites you visit to Bing
Hmm, very interesting. It sounds like with a bit of wrapper code, futexes could be used instead of mutexes? If they are genuinely faster, there are many use cases where this would be valuable.

Is there a production-ready library for this? I do see the code in the article but I'm not sure I'm ready to venture into these deep waters myself.

winstonprivacy··on Microsoft Edge is leaking the sites you visit to Bing
Yes, Google has said this. The use of telemetry from Google Chrome has factored into SERPs as far back as 2010 (perhaps farther but that's when I became aware of it).
winstonprivacy··on People who use Notion to plan their whole lives
My secret weapon is a "to do" list in notepad.

One list which has everything. No apps, no workflow, no SaaS fees. Works better than anything else I've tried.

winstonprivacy··on Russia killed its tech industry
Wish I could read it but the constant popups on mobile drove me away. I would have expected better from this website.
winstonprivacy··on Developers should be force-fed state machines (2011)
Basically, lots of if...else statements combined with coroutines. Refactoring out as many big blocks of code helps a bit, but there's always yet another exception lurking in the shadows, waiting to show up at the least opportune time (such as when the system is under stress).
winstonprivacy··on Developers should be force-fed state machines (2011)
That is precisely what I'm doing now and it's the best solution I've found so far. However it is brittle and it takes quite a long time to iron out the edge cases where things can happen that you didn't anticipate.

I have one system that has been more or less stable for two months and once a week, it fails inexplicably (dumping no logs either). Whenever this happens, I find myself writing a ton of debug code hoping to catch it.

winstonprivacy··on Developers should be force-fed state machines (2011)
I've looked into HSMs and I don't think they are intended to handle this scenario due to the needed to be in multiple states at once.

For instance, you partially fill one trade. This spawns a process which must then enter an offsetting trade for that partial amount.

While this is going on, you may partially fill more of your initial trade, which then must spawn an offsetting trade for that amount (and so on).

This quickly escalates out of control when you consider all of the possibilities which can happen at each state along the way (partial fills, cancels, connection issues, circuit breakers).

winstonprivacy··on Developers should be force-fed state machines (2011)
State machines are a good solution when you have a typical transactional business process (order fulfillment, inventory management, etc). But I rarely see mention of messier problems which consist of overlapping and perhaps hierarchical states.

For instance, let's say that are trying to execute a complex spread in the market. You might be partially filled on one leg (the timing of which is completely out of your control, if it happens at all). Then this needs to spawn an offsetting trade (or two), both of which may or may not be completely filled over multiple tickets. Super messy.

A naive state machine simply doesn't work for this, as the overall unit of work (a "trade") can have multiple sub-states all operating more or less independently of one another.

Are there well-known patterns to handle such situations?

winstonprivacy··on WeVPN Is Shutting Down
100% agreed with this comment.

We kind of got lumped into the VPN segment back in the day, despite being a hardware product. The cutthroat nature of the existing media agreements (NordVPN and Express VPN mainly) along with the sky high CPMs they were paying made it impossible for us to acquire customers and keep them long enough to pay our bills.

Pretty smart tactic... if you're them. Quite bad for the consumer though.

winstonprivacy··on Show HN: ChatGDB – GPT-Powered GDB Assistant
Exactly. I used to dread the 20+ times a day I would have to go to Stack Overflow and wade through a mountain of horse shit in the hopes of finding an answer. Now I can clearly describe the problem as a programmer would and ChatGPT frequently gets the solution on the first or second try.

I had one bad experience last week where I burned 20 minutes as ChatGPT gave me one invalid approach after another. Then I consulted the docs and learned that waht I wanted to do explicitly couldn't be done with that library. Tens steps forward and one step back. Totally worth it.

winstonprivacy··on I wish GPT4 had never happened
Same here. It's like a well rounded but very junior level coding assistant that produces a probably flawed bit decent first pass in seconds instead of a week.

As a very senior programmer, it's the first technology in a long time that has doubled, or maybe even tripled, my productivity.

The demand for my skills is only going to accelerate because of how godly this had made me.

winstonprivacy··on Show HN: ChatGDB – GPT-Powered GDB Assistant
Ok, this looks pretty slick! I'll try it out next week as I have a few seg faults I need to figure out.
winstonprivacy··on Entrepreneurs who regret starting businesses
I did something similar, so there you go... now you have three "random" anecdotes.
winstonprivacy··on ‘America does so much more to subsidise affluence than alleviate poverty’
Ugh, I completely disagree with this. The government should NOT be handing out money to anyone. I also believe that they should be spending far, far less on public programs (though I do think that public healthcare is worthy of consideration).

Promoting affluence and the individual pursuit of happiness are two essential core values of the USA.

winstonprivacy··on Tell HN: Google search is getting worse
SEO was a big thing in 2002. I built a nice business using it.
winstonprivacy··on Little Snitch Mini
Love it. But doomed to failure because it caters to a niche audience who generally believes they shouldn't have to pay for things

Ask me how I know!

winstonprivacy··on GitHub Copilot X – Sign up for technical preview
No support for jetbrains? Having a chat plugin directly in the IDE would save me a crazy amount of time.
winstonprivacy··on Show HN: I made a self-hosted ChatGPT UI
I think if you integrated with Llama, this repo would be wildly popular. I downloaded the weights over the weekend and decided I didn't want to spend my free time working on an acceptable UI.
winstonprivacy··on Experian is a pile of dark pattern garbage
Don't get me started on Experian. Their core service is providing credit scores to lenders. Years ago, I went through a rigorous process to clean up my credit, something which took months but was at least honest on their part.

Then they began erecting hurdles, such as a neverending stream of rejection letters requesting further detail when trying to investigate a report. I knew at that point weren't being above board because one of the companies on my credit report had gone spectacularly out of business during the 2008 financial crisis (Countrywide... Remember them?). This company was no longer responding to credit inquiries and yet, Experian failed to remove the offending entries.

Now they are brazenly advertising a service for consumers to raise their credit score... Yes, the very same one they gatekeep.

Fortunately, I have no use for credit any more.

winstonprivacy··on Joint statement by the Department of the Treasury, Federal Reserve, and FDIC
TIL that most of HN has no clue how banking or finance works.
winstonprivacy··on Large language models are having their Stable Diffusion moment
Amen. Listen to this person, this is the voice of reason.
winstonprivacy··on Running LLaMA 7B on a 64GB M2 MacBook Pro with Llama.cpp
I happen to have a couple of 16 core Xeons available with 128GB RAM and a decent high end Radeon GPU. Could I run a decent text transform model on this?
winstonprivacy··on Roku devices don't support IPv6 in 2023 and it's costing ISPs
> Many devices don't support it is probably one I consider true though. It's getting way better as the years go on but it's fair to say the world isn't past IPv4 only devices in households by any measure. Typically embedded products are the worst. Home security stuff, point of sale gear, older or just crappy media devices, oddly some IoT type devices like a fridge. Plenty of gear also supports it but just very poorly. Of those that do not all understand NAT64 either so while they may support IPv6 but they don't necessarily work without IPv4 (this also getting better as more services move to supporting IPv6 too).

This is very much the case. I used to compile statistics about various devices for our network gateway. ipv6 support was very hit or miss and was the root cause of many spurious support tickets.

winstonprivacy··on Roku devices don't support IPv6 in 2023 and it's costing ISPs
Here you go:

https://www.potaroo.net/ispcol/2022-02/ipv6-fig4.png

also:

https://www.potaroo.net/ispcol/2022-02/ipv6-fig5.png

You can answer the rest of your own questions. I am not your personal Google.

winstonprivacy··on Roku devices don't support IPv6 in 2023 and it's costing ISPs
IPv6... Can it just go away already?

Adoption has been declining for years. Many devices don't support it. Many services seemingly support it but break in strange ways.

And not to mention it's a subtle and yet powerful privacy attack vector.

winstonprivacy··on Demystifying bitwise operations, a gentle C tutorial
Wow! Just 5 instructions. This is almost 4 times faster than my previous best solution:

  // 19 instructions, does not use intrinsics
  int countbits(unsigned x) {
    unsigned n;
    n = (x >> 1) & 0x77777777;
    x = x - n;
    n = (n >> 1) & 0x77777777;
    x = x - n;
    n = (n >> 1) & 0x77777777;
    x = x - n;
    x = (x + (x >> 4)) & 0x0F0F0F0F;
    x = x\*0x01010101;
    return x >> 24;
  }

Amazing tip, thanks.
winstonprivacy··on Demystifying bitwise operations, a gentle C tutorial
This is great. However, he omitted one I encountered a need for pretty recently and have so far not found a good solution:

How do you count the number of bits which have been set in a bitfield of type uint32_t?

I couldn't find any x64_64 intrinsics for this, which would probably be incredibly efficient.

← PreviousPage 2 of 3Next →