Preferences

furstenheim
Joined 261 karma
https://github.com/furstenheim

https://twitter.com/furstenheim


  1. > But if you want an existence proof: Maven. The Java library ecosystem has been going strong for 20 years, and during that time not once have we needed a lockfile. And we are pulling hundreds of libraries just to log two lines of text, so it is actively used at scale.

    Maven and Java is simply broken when dealing with transitive dependencies.

    I've been hit so many times with running time exception "MethodNotFound" cause two libraries have the same transitive dependency and one version gets picked over the other one.

  2. Sumertime! Great naming choice!!
  3. It ends up with AIs chatting between them over the phone in like 1 year top
  4. Not the discussion, but SPAs are fundamentally safer against XSS, in the sense that data and code have different paths.
  5. 100%.

    Btw, even using psql directly allows binding parameters https://www.postgresql.org/docs/current/app-psql.html

  6. I find it useful to find esoteric APIs, like reflection, which normally has 100 methods and hard to find the right one
  7. ACID is good and it has an implementation cost (vacuum for example). When doing analytics you do not care for ACID
  8. Lack of LSP support looks really bad in the article proposed solution :/.

    But const enum seems to have several pitfalls. https://www.typescriptlang.org/docs/handbook/enums.html

  9. It "can" be done. Some photons leaving the earth a thousand years ago. Bouncing off a mirror in some distant planet and allowing us to see two thousand years into the past
  10. Yeah, I want a phone like that. There's definitely a market
  11. Floyd Ryvest also does the job . A bit more efficient IIRC.

    However I never managed to understand how it works.

    https://en.m.wikipedia.org/wiki/Floyd%E2%80%93Rivest_algorit...

  12. Wasn't there this case of a security issue coming from abusing different parsers, in different places? Server, client, or different browsers
  13. There's another one that works 100% of the time.

    Do client server rendering. Send HTML, then query backend for content. Something like p.textContent = ... It's safe.

    It's pretty much the same as what a prepared statement does in SQL, send data and code in different channels

  14. Curious, does that affect the complexity of string concatenation? As far as I remember V8 "uses" ropes, so string concatenation was constant time. Not O(n) like java. Which saves a lot of headaches
  15. 100%, maybe intelligence is not as mysterious and extraordinary as we thought
  16. that could be replaced with an AI...
  17. Take a look at hexagon pattern from Spotify. Once you start testing the user contract of your services against real databases (testcontainners is a good option), then you can change all the internals and be sure that the externals will work.

    https://engineering.atspotify.com/2018/01/testing-of-microse...

  18. I actually wondered how many packages they harassed until they got access to one such
  19. So annoying, it detects where I'm connecting from and redirects changing the language
  20. This node got it just right. You only get this issue for big stateful libraries, like frameworks
  21. > has been exponentially increasing since the beginning of the new millennium

    A part of me suffers everytime someone uses that expression

  22. What works best for me. Leaving phone at home when I meet people. It's not always possible, obviously, but if I know the address, I might take a db phone for emergencies. Or even, just a paper with the phone number.
  23. I blatantly lie. Then when they tell me what I should like, tell them it was a lie and say a different one, also fake.
  24. And not vegetation either
  25. The future is a bit dire, an army of chatgpt scammers talking to an army of chatgpt antyscammers.
  26. Unless you have a legal requirement starting on January the 1st 00:00
  27. I tried with something that was not so obviously in the training set, the response is terrible

    What's the measure of the set of real numbers whose square is between 1 and 4.

    The set of real numbers whose square is between 1 and 4 is known as the square root of the interval [1, 4]. It is represented by the notation √[1, 4].

    To find the measure of this set, we can take the square root of each endpoint of the interval and then subtract the smaller value from the larger value. In this case, the measure of the set is √4 - √1 = 2 - 1 = 1.

    Alternatively, we can rewrite the set as the union of two intervals: the set of real numbers whose square is between 1 and 2, and the set of real numbers whose square is between 2 and 4. The measure of the first interval is √2 - √1 = 1, and the measure of the second interval is √4 - √2 = 1. Therefore, the measure of the set of real numbers whose square is between 1 and 4 is 1 + 1 = 2.

    It's important to note that the set of real numbers whose square is between 1 and 4 is not the same as the set of real numbers between 1 and 4. The set of real numbers whose square is between 1 and 4 consists only of the positive real numbers 1 and 2, while the set of real numbers between 1 and 4 includes all real numbers between 1 and 4, including negative numbers

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal