Better HN
topnewbestaskshowjobs
Log inSign up

StreamBright

4,221 karma · joined Oct 29, 2015 (11y ago) · 3,213 submissions

another random polyglot dev, mostly interested in ML (meta language) and data engineering
Submissions

comment 3y ago · link · parent

It is kind of funny how stupid we are about the use of chemicals. I was just talking to a bio vineyard owner this weekend about why he choses no-chem approach. To my surprise he does that so that his grapes are more(!) resistant to sickness (especially fungus).

comment 3y ago · link · parent

Yes it is barely accessibly from a location in Europe. Httping gives me 1-2 seconds. Other sites hosted in the US are fine (for me).

comment 3y ago · link · parent

I am wondering what the truth really is. Nature or lab leak.

64.

The Lab Leak Deception(youtube.com ↗)

7 points · by StreamBright · 3y ago · 2 comments

comment 3y ago · link · parent

This just shows how bad table sugar really is (as well as HFCS for that matter).

comment 3y ago · link · parent

It is not a surprise. Honey has a GI of 60.

comment 3y ago · link · parent

What was the problem you solved with Z-Wave?

comment 3y ago · link · parent

> Blake3 is super promising as cryptographic hash function family due to its software performance

I am shocked how fast it is. Just tried it on several files. It is blazing fast.

brew install b3sum on mac.

comment 3y ago · link · parent

We are planning to do the same thing. Would you have any write up that you could share?

comment 3y ago · link · parent

My problem with JS is that every framework we tried sucks in different ways. The worst is to handle the kind of silly crap that JS does (wat). The other big part is the every bricking API of pretty much everything. We are lucky if there is no warning about deprecation for a couple of day after updating a library. Minor version changes regularly break the build. The best is when yarn dev works and after building the app and deploying it to prod it breaks.

After dealing with these issues for years I am really happy to return HTML from a backend API that uses a language where [1, 2, 12, 3].sort() return what I expect from a sorting function sorting integers.

That is all, and that is what htmx gives us. I am not sure if we can replace our UIs that are written in Vue for now but at least it I have a good time porting some of the web things to htmx + Rust from Vue + Python.

comment 3y ago · link · parent

Do you realize how long a NPP last vs an average "storage" for renewables?

comment 3y ago · link · parent

So you discovered the well known problem in "IoT" that SD cards should never be used for filesystems that are online 100% of the time?

I think the parent views on storage is still valid. Do not boot from the RAID volume where you store many terabytes.

I usually have a small mirror SSD for the OS (like 128G or max 256G). Those drives are super cheap, easy to replace.

For the /data I usually use ZFS or mdadm + xfs. Depending on the use case (for example do you want to add more capacity later? ) you can decide.

Using SDcards for server filesystem is negligent at the very least.

comment 3y ago · link · parent

Do you realize that this is 50% of the problem? The another 50% is how to "compress" fusion?

https://coldfusionnow.org/power-equivalent-to-the-sun-we-alr...

This is one aspect of the problem. THe another aspect is that we should create decentralized technology that everybody can use at home. It would make our world a much better place, much more resistant to many things (including terrorism). I think the small amount of virtually infinite energy is a much better option.

https://ndb.technology/

comment 3y ago · link · parent

Probably. I think I am going to close all my "crypto" accounts because it is a scam as many of us thought it from the beginning. The only real value of blockchain is immutable history that is a pretty good thing in few cases.

comment 3y ago · link · parent

I am not sure why you think he threw it away. Whatever he says on social media is irrelevant for the progress he made with SpaceX. That will change how we do space exploration. His twitter feed is going to change how we (the people who read his twitter) think about him. The former is much more important than the latter.

76.

Management Tool for RocksDB(github.com ↗)

1 points · by StreamBright · 3y ago · discuss

comment 3y ago · link · parent

> Curse of Knowledge is real.

I agree. I usually teach with example. Sort of here is a situation, this is your input now write something (a function, sql statement, etc.) to produce the desired outcome. While doing so I explain all the relevant details (this might be a good time to talk about different allocations for example).

This works surprisingly well. If you reverse the order (talk about different allocations first) the student need to connect the dots later.

I found my approach working better.

Anyways, it might be only me.

>> Did you consider Rust Discord?

I will try that.

comment 3y ago · link · parent

At some stage there was a squad on StackOverflow who closed all Rust related beginner questions and it was impossible to get started. Most devs new to Rust do not understand &str and String and 99% of the content about is how implementation details backing those types are different. I have not seen any blog post, documentation about how and WHEN to use &str vs String.

I want to have a function that returns the UTC now as a string. Now what? Opening a question on SO -> question closed, here is a question about &str and String that has nothing to do with the use case and everything about the implementation details of &str. Good stuff.

I think the creator of Rust assume that if they explain where a piece of data is allocated suddenly everybody is going to be on the same page about the use of that data.

comment 3y ago · link · parent

Starting with Fsharp that has a gazillion libraries (usually pretty good quality ones) and it has much more advanced features from the ML tree than Rust (like |> for example).

Rust's error handling might be great for people who are used to exception based error handling but it is a joke compare to railway oriented programming in Fsharp or any ML lang that supports |>.

comment 3y ago · link · parent

As guy who has very similar background just like you: there is very little in Rust that will benefit your straight away. On the other side, you are going to learn a lot about low level details associated with systems programming (mostly influenced by C++ in case you are learning Rust).

For me the biggest win with Rust is the performance that I can get out of it, which is irrelevant in most cases. If you work on a problem that requires extreme single node performance then you can learn Rust instead of learning C++. This is probably less than 10% of the use cases people use programming languages for. As far as teaching juniors: I had great success with Python, yet, a lot of foot-gun situations. With Rust I am not good enough to mentor our junior devs, so we learn together. It goes very slowly.

comment 3y ago · link · parent

White collar crime is rarely punished in the US. You can look at what happened with the people causing the 2008 financial crisis.

82.

Data Management UI for the AWS Data Stack(depoxy.dev ↗)

1 points · by StreamBright · 3y ago · discuss

comment 3y ago · link · parent

It would be great to have a better dnsmasq with sane config file, better logging, a simple statistics page and some more.

84.

Show HN: Depoxy – DataOps UI for the AWS data stack(app.depoxy.dev ↗)

4 points · by StreamBright · 3y ago · discuss

comment 4y ago · link · parent

The future of power grid is to have cheap base load (likely nuclear) and efficient batteries in everything we can put batteries in.

When I am talking about batteries, I really talked about NBD style devices[1].

https://ndb.technology/

comment 4y ago · link · parent

Yep, that is exactly what I am talking about. Maybe it was more of a 80s thing.

comment 4y ago · link · parent

As an ex-IBM guy who spent a decade on Thinkpads I disagree.

> Thinkpad keyboard and far better aesthetics

Thinkpads are great for other reasons, partially that almost everything was replaceable as you pointed out.

In the case of aesthetics, Apple is the clear winner.

comment 4y ago · link · parent

Yeah it is. In the 90s everything had a manual. Does anybody remember how good the documentation was for new hardware? I was looking for an example but google became garbage and I can't find any good example.

comment 4y ago · link · parent

It was kind of smooth. The biggest problem with Svelte was the lack of libraries and semi broken tooling. I am still not sold on this heavy JS/SPA approach (I am a mostly backend dev) and really hoping that HTMX or similar project takes off.

comment 4y ago · link · parent

If I was referencing Zig az the __only__ alternative I would agree. What I wanted to say is to use the same language / tool that your projects uses. Maybe it is impossible for C/C++ as some comments pointed out.
12345
108