HNHacker News
TopNewBestAskShowJobs

winterbe

113 karma · joined February 27, 2014

submissionscomments
winterbe··on Why do LLMs freak out over the seahorse emoji?
My prompt was "Zeige mir ein Emoji mit einem Seepferdchen"

But you are right, tried it 3 times, first 2 tries were correct but ChatGPT then freaked out in 3rd try.

winterbe··on Why do LLMs freak out over the seahorse emoji?
I tried asking the same question in German with ChatGPT and the answer is completely different. ChatGPT just correctly answers without freaking out.

Guess my understanding of how LLMs handle different languages was completely wrong!?

Here’s the German answer:

Leider gibt es kein eigenes Emoji für ein Seepferdchen — aber man kann es mit ähnlichen Emojis andeuten!

Zum Beispiel so: (Pferd + Fisch = Seepferdchen ) Oder eine kleine Meeres-Szene:

Möchtest du, dass ich dir ein grafisches Seepferdchen-Emoji (also ein kleines Symbolbild) erstelle?

winterbe··on Java 11 released
I wrote a user friendly version of the release notes. Maybe this is useful to someone:

https://winterbe.com/posts/2018/09/24/java-11-tutorial/

winterbe··on Java 11 released
However LTS seems not be free but restricted to premium Oracle customers, see: https://www.oracle.com/technetwork/java/javase/eol-135779.ht...
winterbe··on Redux – Not Dead Yet
The difference is that the JSX snippet is translated in plain JavaScript which means you can automatically check for syntax errors, type errors (when using TypeScript or Flow) and semantical errors (by writing simple unit tests), whereas the PHP snippet is just a big mess. JSX also runs on clients, servers and mobile devices which is a big plus to me.

This is fine:

  <?php
  if (condition) {
  ?>
  <div>whatever</div>
  <?php
  {
  ?>
this not:

  if (isLoggedIn) {
    return <UserGreeting />;
  {
winterbe··on JetBrains Web UI components open-sourced
We use Youtrack at our company. It's a fully fledged issue tracker with a lot of features, e.g. custom fields, top notch search, batch operations, keyboard shortcuts, agile boards, workflows via own DSL, reports and statistics etc.
winterbe··on Ask HN: Good examples of interactive command-line user experience?
Jest is pretty neat: https://facebook.github.io/jest/
winterbe··on Hello from Orkut
Really? The new mobile Twitter site is super fast and reliable on my phone. The native app is still better but it gets really close in terms of performance and usability. However apps still have better OS integrations (notifications, sharing) and touch handling (swipe etc).
winterbe··on USOC sends letter warning non-Olympic sponsor companies
First the Russia doping fiasco, now this. I guess it's time to boycott those stupid money games...
winterbe··on Kotlin 1.0 Released: Pragmatic Language for JVM and Android
Kotlin is currently my favorite alternative JVM language. Kudos to all collaborators for the great work. After 5 years of hard work, you finally made it!

Here's a little starter project for Kotlin webapps using Spring Boot and React.js, I made a while ago:

https://github.com/winterbe/spring-kotlin-react-demo

winterbe··on Project Rider – A C# IDE
I guess it's just based on the Intellij Platform which is open source and also serves as the base for other Jetbrains IDEs like Webstorm or Pycharm:

- http://www.jetbrains.org/pages/viewpage.action?pageId=983889 - https://github.com/JetBrains/intellij-community/tree/master/...

winterbe··on Project Rider – A C# IDE
It already exists and is called the Intellij Platform. It's open source and the base for all Jetbrains IDEs, see:

* http://www.jetbrains.org/pages/viewpage.action?pageId=983889 * https://github.com/JetBrains/intellij-community/tree/master/...

winterbe··on Project Rider – A C# IDE
2 jetbrains devs work full time on a Go plugin for Intellij: https://github.com/go-lang-plugin-org/go-lang-idea-plugin
winterbe··on Project Rider – A C# IDE
Wondering how much code in Intellij Ultimate is already written in Kotlin. Parts of Kotlin Code in Intellij Community Edition is still kinda low:

https://github.com/JetBrains/intellij-community/search?l=kot...

winterbe··on Modern Java – A Guide to Java 8
Dunno. I wrote the whole css for winterbe.com from scratch. To be honest I don't find both pages like similar besides white background and gray subtitles. :-)
winterbe··on Modern Java – A Guide to Java 8
Thanks for your feedback. I've improved the section about maps to better reflect the capabilities of streaming maps:

https://github.com/winterbe/java8-tutorial/blob/master/READM...

winterbe··on Modern Java – A Guide to Java 8
Most parts of software development probably is not about starting new projects from scratch but about maintaining existing code bases. That's where Java really shines due to its (often hated) backwards compatibility.
winterbe··on Windows game developer about porting to and using OS X
Dunno much about VC but the Xcode editor compared to Jetbrains IDEs (IntelliJ) is horrible, ABSOLUTELY HORRIBLE. I'm just talking about the code editor (storyboard editor and other tools are fine).

I'm missing Jetbrains code completion so hard and all those useful shortcuts like CMD+E, CMD+W, CMD+ALT+V, CMD+ALT+M, SHIFT+F6, CMD+SHIFT+UP/DOWN, CTRL+N, CMD+1..9, CMD+F9, ALT+SHIFT+F9/F10.

Guess I have to buy an AppCode license.

winterbe··on Kotlin: A New Hope in a Java 6 Wasteland
Here's a sample webapp using Kotlin, Spring Boot and React.js:

https://github.com/winterbe/spring-kotlin-react-demo

winterbe··on Hammer.js: Add touch gestures to your page
I'm missing M.C. Hammer from the older version. =(
winterbe··on Show HN: An Isomorphic JavaScript Framework Faster Than React
Server code is spread across different languages. But every webdev is forced to use JS on the client. It's the sheer amount of people using this language.
winterbe··on GitHub's down?
Every time GitHub is down I'm peering at Upsource:

https://www.jetbrains.com/upsource/

winterbe··on Germans, still outraged by NSA spying, learn their country may have helped
http://www.tagesschau.de/ http://www.faz.net/
winterbe··on C++ Streams
For JavaScript using Stream.js https://github.com/winterbe/streamjs

  var total = Stream
        .iterate(0, function (n) {
            return n + 1;
        })
        .map(function (x) {
            return x * x;
        })
        .limit(10)
        .sum();
winterbe··on IntelliJ IDEA 14.1
I couldn't disagree more. In my opinion it's the most decent looking IDE / code editor I've ever used. Most IDEs are cluttered with a gazillion views. Intellij focuses on the code editor instead. You can hide everything but the code editor and keep full control via keyboard shortcuts.
winterbe··on Show HN: The GitHub Matrix
Fork the code, create class AgentSmith and you're good to go. ;)
winterbe··on Show HN: The GitHub Matrix
Do you remember the Matrix movie from 1999? The GitHub Matrix shows a constant stream of latest commits from GitHub in a Matrix-style animation. Click on the drops to open the corresponding revision on GitHub.

The source code is published under MIT license on GitHub: https://github.com/winterbe/github-matrix

Please retweet this if you like: :) https://twitter.com/benontherun/status/544372319867899906

winterbe··on Foobar
Seems to be some kind of text adventure game?

https://foobar.withgoogle.com/staticfiles/css/rhgame.e6cf5ce...

.console {}

.prompt {}

.terminal {}

.cmd .cursor.blink { -webkit-animation: blink 1s infinite steps(1,start); animation: blink 1s infinite steps(1,start) }

But it seems I've already failed before even clicking on the Login link:

<div class="error">...</div>

winterbe··on Amazon.com redesign
So you prefer to scroll down the landing page of amazon which is full of product advertising with your keyboard instead of having a sensible way of searching? Really?

At least the search should be focusable by pressing TAB once instead of 15 times, which is insane.

winterbe··on Amazon.com redesign
Clicking through categories takes way to much time. Just type in the search then use filters on the left sidebar to further tweak the results.
Page 1 of 2Next →