HNHacker News
TopNewBestAskShowJobs

runeks

6,620 karma · joined March 5, 2012

https://cryptomarketdepth.com/

Twitter: @runeksvendsen

GitHub: https://github.com/runeksvendsen

submissionscomments
runeks··on Google's Gemini AI caught scanning Google Drive PDF files without permission
A reference would be nice
runeks··on Please don't mention AI again
> I'm a Data Scientist currently consulting for a project in the Real Estate space (utilizing LLMs).

Consultants are obviously making huge amounts of money implementing LLMs for companies. The question is whether the company profits from it afterwards.

runeks··on Please don't mention AI again
> Every one I've spot checked right now has been correct, and I might write another checker to scan the results just in case.

If you already have the answers to verify the LLM output against why not just use those to begin with?

runeks··on Bend: a high-level language that runs on GPUs (via HVM2)
What's the expected effort needed for supporting GPUs other than Nvidia — e.g. AMD GPUs or the GPU in a MacBook Pro M1/2/3?

As I understand, it's a lot of work because there's no common way to target these different GPUs. Is this correctly understood?

runeks··on Bend: a high-level language that runs on GPUs (via HVM2)
I've never understood the fascination with programming languages among computer science folks. Just write machine code directly, it's what it compiles to anyway.
runeks··on Veo
Didn't the model ever fail to generate realistic-looking content?

If I don't know better I'd think you just cherry-picked the prompts with the best-looking results.

runeks··on Passkeys: A shattered dream
Wouldn't this be solved by just having multiple passkeys for each account?

You create one on your iPhone and another "backup" key from a desktop PC running some open source software. If your iPhone breaks you can always use the other.

Similar to a server configured to accept multiple different SSH keys.

runeks··on Tribler: An attack-resilient micro-economy for media
> Earn seeding tokens

How can this be possible in a non-centralized manner?

runeks··on Apple alerts users in 92 nations to mercenary spyware attacks
That's worldwide, though. I think a target is more likely to reside in e.g. the US (where iOS usage is >50%) than in Africa.
runeks··on Apple alerts users in 92 nations to mercenary spyware attacks
> How can Pegasus and NSO still be allowed to exist?

Because the entities that have the power to outlaw them are their biggest customers.

runeks··on Yes, social media is a cause of the epidemic of teenage mental illness
There's clearly not agreement on that; hence this article from Jon Haidt.
runeks··on Timeline of the xz open source attack
> [...] unsatisfied with some of the changes Tan introduced [...]

That's one way to put it

runeks··on Nix is a better Docker image builder than Docker's image builder
> The Dockerfile format imposes a hierarchical relationship between layers. This quickly becomes very annoying, since dependencies usually form dependency graphs, not dependency trees.

Isn't a Dockerfile just a sequence of dependencies, rather than a tree?

runeks··on Pkl, a Programming Language for Configuration
I believe the term comes from this paper: https://www.cs.ox.ac.uk/jeremy.gibbons/publications/fast+loo.... See section 5 which defines “moral equality”.
runeks··on Pkl, a Programming Language for Configuration
I wish the Cue docs were better. I arrived here https://cuelang.org/docs/usecases/configuration/ but it doesn’t answer basic questions like “can I define my own validation functions (the > < != operators used in the example)?”.
runeks··on How America accidentally made a free-money machine for banks
https://archive.ph/CK7jb
runeks··on Databases and why their complexity is now unnecessary
Agreed.

Their landing page[1] says

> Rama is programmed entirely with a Java API – no custom languages or DSLs.

But this sure looks like an embedded DSL with stringly typed identifiers.

[1] https://redplanetlabs.com/

runeks··on Breakdown of faults by car brand: Tesla has replaced Dacia at the bottom
> Your BMW 1 series is considered a luxury car.

The 2013 BMW 1 Series had a starting price of $35k. A Tesla model 3 starts at $40k in today’s dollars. Seems pretty even.

runeks··on Modern iOS Navigation Patterns
> Don't let developers use patterns, fix it on OS level.

I think Apple hasn't done this because it's not practically possible.

For example, if it's possible to change the content of a view (which it obviously should be), then it's possible to remove all content and and replace it with all new content. If triggered by some user action, this effectively is "going to a new screen". But the OS-level gesture won't work since the developer in question didn't use your proposed OS API call "createNewView", but instead just replaced the content of the current view.

However, Apple could make use of this OS API mandatory in order to pass review. Although I still think there's some subjectivity around what is "a new view" (that I can "go back" from) versus "an existing view with stuff changed" (that I can't "go back" from).

runeks··on Modern iOS Navigation Patterns
> The convention is that it's in the top left [...]

Safari is bottom left.

runeks··on What if an SQL statement returned a database?
> Our approach has clear semantics, i.e. our extended SQL returns subsets of all tables with only those tuples that would be part of the traditional (single-table) query result set, however without performing any denormalization through joins.

Hmm, so if I understand this right, the query

  SELECT Orders.OrderID, Customers.CustomerName, Orders.OrderDate
  FROM Orders
  INNER JOIN Customers ON Orders.CustomerID=Customers.CustomerID
would return two tables: (1) an Orders table with only the OrderID and OrderDate columns present; and (2) a Customers table with only the CustomerName column present — without any connection between CustomerName and either Orders.OrderID or Orders.OrderDate?

EDIT: Or, perhaps both Orders.CustomerID and Customers.CustomerID would be present in the respective tables since they're referenced by the JOIN?

runeks··on The wealth of the 25 richest families in the world soared 43% in the last year
> Between 2019 and 2022, low-wage workers experienced historically fast real wage growth. The 10th percentile real hourly wage grew 9.0% over the three-year period. This tremendous real wage growth at the lower end of the wage distribution was exceptional, significantly faster than in any other business cycle peak since 1979.

“Real” meaning “adjusted for inflation”.

runeks··on Accidental database programming
- No custom sum types

I would love to be able to say e.g.: this column is either a PK in the “results” table or a PK in the “errors” table.

runeks··on Accidental database programming
> Really the problem here is SQL's syntax. If using a basic relational database was a pleasant experience that involved some familiar C-like syntax instead of broken English people would be more tempted to go with a DB instead of rolling their own.

I wish Postgres had a stable, more low-level API than SQL. Perhaps something that resembles the query plan I get from EXPLAIN. An application written against this API could implement an SQL DB: (1) parse SQL (2) implement a query planner that spits out a query plan written against this API.

runeks··on SEC charges Kraken for operating as an unregistered securities exchange
Honest question: is it normal for a business to be able to ask law enforcement "is this legal?" and expect to get a binding answer?

IANAL, but I would think it'd be the job of the business in question to hire lawyers, who would then offer their opinion on the matter.

runeks··on After Boeing declines to pay up, ransomware group leaks 45 GB of data
New security-through-obscurity tactic: make sure to automatically send lots of fake emails between employees, containing importantly-sounding words such as "classified", "secret" and "important" — with some identifying characteristic that makes the employees' email clients ignore them.

Then an email dump of 45 GB of useful information could instead be 4.5 TB (with 1% useful information), and wading through all the non-information to find something useful will not be worth the time of the adversary. The more important information you have in emails the more you need to increase the misinformation-to-information ratio.

runeks··on Why I tend not to use content negotiation
> What's the point of Accept if you don't know what to ask for?

As a client, you do know what to ask for: everything you support, listed in order of preference.

Why would you, as a client, care whether the server supports some format that you don't understand?

runeks··on Why I tend not to use content negotiation
> At a very basic level, isn't it just confusing to have the same URL and method return two different completely different formats?

No, I don't think so. Why do you think so?

> I feel like a good API is limited in what it accepts, and this alone is enough to say one should not do content negotiation unless forced to.

Content negotiation does not change what the API accepts. It changes the format of the response.

runeks··on Why I tend not to use content negotiation
I really enjoy these blog posts from htmx.org. Makes me better at creating applications faster, because they challenge my conventional wisdom that slows me down without offering a compelling advantage.

Side note: I guess a better title for this blog post would be "Don't share endpoints between machines and humans". If the consumer of an endpoint is a human, it's probably a bad idea to make machines use the same endpoint. Content negotiation is fine, for example if I want to have an API return binary data instead of JSON (if, for example, I'm on an IoT device with sparse resources). This is fine because it's exactly the same API, with just the data format being different. And in both cases it's consumed by a machine/computer.

In the case of the frontend/HTML, the consumer is a human (and not a machine), which — as the article mentions — adds a bunch of constraints that are not applicable to machines: a need for pagination (because scrolling through a thousand results can be annoying), a need for ordering (because I want the most relevant results first), displaying related content (as the article explains). The machine API doesn't necessarily need any of these features.

runeks··on Push ifs up and fors down
> As an example I work with - Clojure. Sometimes I use agents. I don't write functions for agents, I write functions for things agents might contain.

I'm not following you. Do you have a better example?

← PreviousPage 6 of 34Next →