Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
emporas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
301.
▲
by
emporas
3y ago
That might not be difficult to do it yourself. Modus themes for example have code mappings, with a different coloration for code literals. In that file [1] for example, bg-main has the hex value of #000000, total black. If you want some par
302.
▲
by
emporas
3y ago
Doesn't Emacs have syntax highlighting for all of these cases? It even has a tree-sitter integration which highlights even more accurately than good-ol-regexes. Something i wanna try at some point, is to make all faces in a file equal
303.
▲
Formula to determine perceived brightness of RGB color (2019)
(stackoverflow.com)
1 points
by
emporas
3y ago
|
0 comments
304.
▲
by
emporas
3y ago
Turning carbon into useful materials is good here on Earth, but there is at least a planet on our solar system with more water, and there is the possibility that there is a planet with more carbon as well. We are talking about rain and rive
305.
▲
by
emporas
3y ago
The advertisement business model of the internet for so long, 20 years plus, is indeed almost irrelevant now. It will collapse like a house of cards. We are heading into a micropayments future. Even products or services of the front pages o
306.
▲
by
emporas
3y ago
Well, absolute zero temperatures (or close to it) are the usual way to create quantum computation. Absolute zero temperatures however are totally impractical economically also size of the machine (see MRI machines) and other reasons i canno
307.
▲
by
emporas
3y ago
One good solution rather than Excel is org-mode. See the original Google talk by org-mode creator [1]. At some point 30 minutes or so, he explains how to use org-mode as a spreadsheet. Not so powerful as Excel, even though missing features
308.
▲
by
emporas
3y ago
Very nice, good to know. Yes i know gradual typing, Python has a form of that i think. I will check out Raku at some point, the type system will not go unnoticed. I didn't even know it had one!
309.
▲
by
emporas
3y ago
Mixtral works very well with json output in my personal experience. Gpt family are excellent of course, and i would bet Claude and Gemini are pretty good. Mixtral however is the smallest of the models and the most efficient. Especially runn
310.
▲
by
emporas
3y ago
Super spreader event we've got ourselves into. I took a look at Raku, which claims be a better Perl maybe, or closely related but more modern, it certainly looks nice. Although i am a big fan of typed languages, Raku piqued my interest
311.
▲
by
emporas
3y ago
Was reading about emacs and tree-sitter today [1]. Tree-sitter is a force to be reckoned with. [1] https://www.masteringemacs.org/article/how-to-get-started-tr...
312.
▲
by
emporas
3y ago
Regexes originate from Perl, or they were popularized by Perl if i got this right. In Perl readable code is not ranked as one of it's top 100 priorities. Regexes could originate from J and situation could be even worse though!
313.
▲
by
emporas
3y ago
That happens with art in general. British museums are full of ancient Greek and Egyptian statues, even a New York museum will not return mammoth bones to it's Canadian owner and excavator, thousands of them. If you are not ok with ever
314.
▲
by
emporas
3y ago
Agree, totally valid points. Also take a look at rare diseases and doctors [1], in which machines are already better at diagnosing thousands of different rare diseases. Is is fair to say that machines are better at diagnosing diseases in ge
315.
▲
by
emporas
3y ago
They cannot make a submarine themselves, or design it, but when they reach 50 percent, they will reach 50% at everything. In submarine engineering, they will be able to design and construct it in some way like 3d print it, and the submarine
316.
▲
by
emporas
3y ago
I think it is a tooling issue. It is in no way obvious how use LLM's effectively, especially for really good writing results. Tweaking and tinkering can be time consuming indeed, but i use lately the chatgpt-shell [1] and it lends well
317.
▲
by
emporas
3y ago
Machines currently are at an amateur level, but amateurs across the board on the knowledge base. Amateurs at Python, Fortran, C, C++ and all programming languages. Amateurs at car engineering, airplane engineering, submarine engineering etc
318.
▲
by
emporas
3y ago
The absence of GC, makes embedded Rust a joy. It can be easily attached to other programs like Erlang with NIFs, Javascript and web pages with Web Assembly and Emacs with command line execution. Micro-controllers as well of course. I do con
319.
▲
by
emporas
3y ago
There is also Mistral-next, which they claim that it has advanced reasoning abilities, better than ChatGPT-turbo. I want to use it at some point to test it. Have you tried Mistral-next? Is it no good? You were talking about reasoning and i
320.
▲
by
emporas
3y ago
This is not Mistral 7b, it is Mixtral 7bx8 MoE. I use the Chrome extension Chathub, and i input the same prompts for code to Mixtral and ChatGPT. Most of the time they both get it right, but ChatGpt gets it wrong and Mixtral gets it right m
321.
▲
by
emporas
3y ago
>" While Gemini Pro 1.5 is comfortably consuming entire works of rationalist doomer fanfiction, GPT-4 Turbo can only accept 128,000 tokens." A.I. Doomers will soon witness their arguments fed into the machine, generating counte
322.
▲
by
emporas
3y ago
I was looking at that project [1] trying to understand what this article explains in a more simple way. There is some non-trivial complexity of how to put together wasm-pack, web-sys, js-sys and wasm-bindgen functions to work well together
323.
▲
by
emporas
3y ago
Mixtral's quality is definitely up there with Gpt3.5. Specifically for coding, i consider them almost equivalent in quality. In fact Mixtral 8x7 is starting to be my go-to coding assistant instead of Gpt. It is fast, it is accurate, an
324.
▲
by
emporas
3y ago
Ok it does happen, but not so frequently. You are right. But is this such a big problem? Like, you parse the response, and throw away the comment "//implementation goes here", throw away also the function/method
325.
▲
by
emporas
3y ago
>For example, GPT will do things like write a class with all the methods as simply stubs with comments describing their function. The tool needs a way to guide it to be more effective. It is not exactly trivial to get good results. I hav
326.
▲
by
emporas
3y ago
Lazy coding is a feature not a bug. My guess is that it breaks aider automation, but by analyzing the AST that wouldn't be a problem. My experience with lazy coding, is it omits the irrelevant code, and focuses on the relevant part. Th
327.
▲
by
emporas
3y ago
It is generated in it's entirety by GPT. Well 98% is more like it. By the time it's ready, it will have a README. I will announce it on Reddit /r/rust if you are interested. Something i want to test, is how much document
328.
▲
by
emporas
3y ago
I am currently building an automatic book generator of Rust source code, in which the LLM will write the description of the code of a whole Rust project. It will be a bot, which will connect to the website, generate descriptions, download t
329.
▲
by
emporas
3y ago
Yes, i meant it more like: "Unrealized gains billionaire". The phrase is not meant to be absolutely serious of course, but it passes a point across which i think it's important. Not only better and better technology gives us
330.
▲
by
emporas
3y ago
Well, think about it that way: What's the purpose of copyright? It gives ownership of information, to the people who produced it, some years for a song or a movie. The presupposition is that said information, will be valuable in a year
More ›