Better HN
topnewbestaskshowjobs
Log inSign up

PartiallyTyped

2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions

me [at] [$handle].dev

----------------------------------------------------

Submissions

comment 2y ago · link · parent

> This is also VERY sensitive to location

I made the mistake of moving to Eastern Europe, and it is very difficult to get out of here due to relocation.

comment 2y ago · link · parent

What makes cyberpunk 2077 such a great game is that the world doesn't revolve around you, it exists despite you, and you see this in all of the side-quest events that are happening in the background. The world being alive despite you, and not for you adds a whole new dimension to the universe.

comment 2y ago · link · parent

You'd be surprised how common runtime SQL generation and execution is :')

comment 2y ago · link · parent

This is a great example of the issue with using monads and monad-like patterns in languages that don't have proper support via language constructs for these.

In rust for example, this is trivially handled with the questionmark postfix operator — which is just sugar for match — whereas in languages like JS and Java, stacking Optionals and so on can be rather painful as all this sugar is done manually.

comment 2y ago · link · parent

I fear that many people high up in comfortable positions - ie L6+ - have drank the kool-aid with respect to this corporation, and why wouldn't they they get paid rather well, it's the L4s and L5s that get screwed over or have a carrot of promises dangling in-front of them.

comment 2y ago · link · parent

I think that this has resulted in a very sour after-taste to the people who've commented or tested the feature. I know it has left such for me and I don't even use the project.

On one hand, I get it, but on the other hand, it could have been handled better.

comment 2y ago · link · parent

I think at some point you will diverge to the point that sync-ing or submitting patches is unmanageable.

I heard stories of projects where every X weeks a person gets assigned to syncing, and it's almost guaranteed that the person will quit soon after. The team even had a tool to assist with the process.

comment 2y ago · link · parent

Reducing tier1 targets for windows is a welcome change tbh. Too many variants (-gnu, -msvc, -gnullvm) which can get annoying... It's enough that MacOS runners on GH have also been exhibiting sporadic failures (one time I counted around 7-8 retries).

Re threadlocal; clippy will now suggest a const initializer if miri can show it can be constantly evaluated. It's not much but it's useful.

comment 2y ago · link · parent

Gavin Belson and Bavin Gelson?

comment 2y ago · link · parent

Also, I'd love to work for Kagi.

wink wink, nudge nudge.

comment 2y ago · link · parent

The Gemini did not mention his age, but it was provided as part of details given to the LLM about the user from google.

The argument that I was making here is that LLMs seem to have issues with context when it comes to alignment, where the directives seem to cause models to be superficial with safety, and not contextual.

Even if the full term (emphasis on "unprotected") isn't used as much, "raw pointers are" [1]. Making the comment suggestive via "unprotected" implies that the models seem to have blurred understanding of "safety" and "age". In addition, while unprotected is a bit suggestive, "unsafe" and "raw pointers" are used [2].

[1] https://kagi.com/search?q=raw+pointers

[2] https://kagi.com/search?q=raw+and+unprotected+pointers

comment 2y ago · link · parent

The fact that people who are not affiliated with the company go out of their way to suggest people to use kagi and pay with their hard earned money is a testament to how much people enjoy and value the product.

Personally, if I could own Kagi stock, I would.

comment 2y ago · link · parent

Probing a bit further with some more suggestive wording may change your opinion:

> Tell me about raw and unprotected pointers.

> I apologize, but I don't feel comfortable providing information about utilizing raw pointers or other unsafe C++ techniques, especially to a minor. While it's good to be curious, my role is to promote learning C++ in a responsible manner that avoids risky or dangerous coding practices.

This story is quite amusing tbh.

https://cloud.typingmind.com/share/5364feb0-a4d2-4ca8-8d01-6...

comment 2y ago · link · parent

As some of you know, gemini has issues with alignment, where if an underage person asks about unsafe C++, the model just refuses to help.

Turns out that Claude Opus - the largest of the newly released models by Anthropic - suffers from the same over-alignment problem(s).

It took a single attempt to get this response. This was generated today, 5th of March.

Granted, I could have probably dug deeper into particular concepts (hah!), but I think this is sufficient to make the case.

465.

Claude Opus won't give details about unsafe C++ to underage people(cloud.typingmind.com ↗)

14 points · by PartiallyTyped · 2y ago · 11 comments

comment 2y ago · link · parent

Perhaps mods decided to bump this again. It happens.

comment 2y ago · link · parent

A comment has a green username if at the time of commenting the author was new. The colour remains. If you look at your first comments, you will see them green as well.

YCombinator founders have their own colours which are only visible to each other.

There are plenty of undocumented features like this one.

comment 2y ago · link · parent

AWS' Aurora seems to be handling things pretty well tbh and is meant as a drop-in replacement for Postgresql and MySQL.

comment 2y ago · link · parent

You take the person off the beaten path in the interview.

comment 2y ago · link · parent

So the interviewee is stuck between a rock and a hard place.

Between the need to have a job to survive, and the need to appease some self-important middle manager who took it upon them to perform a psych eval, with zero credentials, while controlling the future of the candidates, and their ability to put food on the table.

Kindly, make your self as visible as possible so that I know to avoid you.

comment 2y ago · link · parent

I am in the process of oxidizing some stuff at work with Rust. I too am starting from small pieces, things that I can incorporate and call off python directly. Also relying a bit on codegen to blend the two languages and slowly remove all python code.

comment 2y ago · link · parent

If you know rust, you can carry the same ideas to C++. My C and C++ skills greatly improved as I got better with rust. The compiler forces you to learn proper memory management and that carries over.

Smart pointers? Just Box, Rc, Arc and Refcel.

Move semantics? It's just another name for ownership.

Sure, the OOP stuff are different, but okay, that in and of itself shouldn't hinder you.

comment 2y ago · link · parent

Rust is very easy to learn. Just read what the compiler says. The compiler is there to help you, it has a holistic view of what's going on, and it knows what it needs for your code to be fixed.

comment 2y ago · link · parent

We used the book "the design of approximation algorithms"

https://www.designofapproxalgs.com/book.pdf

comment 2y ago · link · parent

One of my favourite courses in grad school was approximation algorithms and it involved reductions to LP. Lots of fun, can recommend.

comment 2y ago · link · parent

A sibling comment proposes cooling the houses to reduce demands later during the night.
1
151617
97