<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: veidelis</title><link>https://news.ycombinator.com/user?id=veidelis</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 13 Jun 2026 13:53:42 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=veidelis" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by veidelis in "Organic foods are not healthier or pesticide free"]]></title><description><![CDATA[
<p>It might be like that. Everyone should strive to make the best decisions and not go with the mainstream. Always question the mainstream, it's dangerous. Make a change for the better. Everything starts with you. Then your family, friends, neighbors... 
Do you have the opportunity to grow something yourself? Do that.</p>
]]></description><pubDate>Wed, 10 Jun 2026 22:19:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48483533</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=48483533</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48483533</guid></item><item><title><![CDATA[New comment by veidelis in "Port React Compiler to Rust"]]></title><description><![CDATA[
<p>My company tried it but reverted the changes. The biggest reasons - it's not compatible with mobx and we didn't notice any perf gains on an existing codebase.</p>
]]></description><pubDate>Wed, 10 Jun 2026 12:38:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=48475403</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=48475403</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48475403</guid></item><item><title><![CDATA[New comment by veidelis in "Nine Ways to Do Inheritance in Rust, a Language Without Inheritance"]]></title><description><![CDATA[
<p>Do you find anything "bad" about this code solving the problem?<p><pre><code>    use std::rc::Rc;
    use std::cell::RefCell;
    
    struct Button {
        text: String,
        on_click: Option<Rc<dyn Fn()>>,
    }
    
    impl Button {
        fn new(text: &str) -> Self {
            Button { text: text.to_string(), on_click: None }
        }
        fn draw(&self) { println!("[Button: \"{}\"]", self.text); }
        fn fire_click(button: &Rc<RefCell<Button>>) {
            let cb = button.borrow().on_click.clone();
            if let Some(cb) = cb {
                cb();
            }
        }
    }
    
    fn main() {
        let button = Rc::new(RefCell::new(Button::new("Click me")));
        let cb_handle = Rc::clone(&button);
    
        button.borrow_mut().on_click = Some(Rc::new(move || {
            cb_handle.borrow_mut().text = "Clicked!".to_string();
        }));
    
        button.borrow().draw();
        Button::fire_click(&button);
        button.borrow().draw();
    }
</code></pre>
Prints:<p><pre><code>  [Button: "Click me"]
  [Button: "Clicked!"]</code></pre></p>
]]></description><pubDate>Sat, 06 Jun 2026 19:32:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48428168</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=48428168</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48428168</guid></item><item><title><![CDATA[New comment by veidelis in "90M people. 118 hours of silence. One nation erased from the internet"]]></title><description><![CDATA[
<p>You world view is very one-sided, it borders with total naiveness.</p>
]]></description><pubDate>Tue, 13 Jan 2026 19:18:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=46606292</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=46606292</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46606292</guid></item><item><title><![CDATA[New comment by veidelis in "90M people. 118 hours of silence. One nation erased from the internet"]]></title><description><![CDATA[
<p>The US also are by law not allowed to start a war without the approval of Congress, right? But they did anyway in Venezuela.</p>
]]></description><pubDate>Tue, 13 Jan 2026 19:05:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=46606084</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=46606084</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46606084</guid></item><item><title><![CDATA[New comment by veidelis in "How to store a chess position in 26 bytes (2022)"]]></title><description><![CDATA[
<p>+ 3 bits for piece type?</p>
]]></description><pubDate>Fri, 09 Jan 2026 20:15:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=46558720</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=46558720</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46558720</guid></item><item><title><![CDATA[New comment by veidelis in "Rust in the kernel is no longer experimental"]]></title><description><![CDATA[
<p>From kernel side, I meant - I wasn't clear. Now I understand what's the meaning of "don't break rust code". Happy that rust's journey in the kernel is successful so far. The pace seems strong.</p>
]]></description><pubDate>Wed, 10 Dec 2025 19:50:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=46222739</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=46222739</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46222739</guid></item><item><title><![CDATA[New comment by veidelis in "Rust in the kernel is no longer experimental"]]></title><description><![CDATA[
<p>Is rust code part of user space?</p>
]]></description><pubDate>Wed, 10 Dec 2025 08:03:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=46215286</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=46215286</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46215286</guid></item><item><title><![CDATA[New comment by veidelis in "Why aren't smart people happier?"]]></title><description><![CDATA[
<p>Totally agree. One might require to be "in their head" a lot of the time to not get swung down, and enjoy himself such as laughing at his own jokes. To make it possible, one has to be free enough to express oneself (also internally). But freedom of thought and action is on the decline as I've come to observe lately, but that's another topic.</p>
]]></description><pubDate>Wed, 05 Nov 2025 21:38:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=45828390</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=45828390</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45828390</guid></item><item><title><![CDATA[New comment by veidelis in "Why aren't smart people happier?"]]></title><description><![CDATA[
<p>Yes, that's an OK take, no big deal. Also it can be added that life in itself really doesn't have a choice, on some level it just happens (thinking more about chemistry here).</p>
]]></description><pubDate>Wed, 05 Nov 2025 21:33:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=45828339</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=45828339</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45828339</guid></item><item><title><![CDATA[New comment by veidelis in "React is winning by default and slowing innovation"]]></title><description><![CDATA[
<p>Is there a way to connect components similarly like react-redux so that they can access external state without prop drilling? Good job.</p>
]]></description><pubDate>Thu, 25 Sep 2025 18:40:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=45377035</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=45377035</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45377035</guid></item><item><title><![CDATA[New comment by veidelis in "Deeper Than Deep: David Reich's genetics lab unveils our prehistoric past (2017)"]]></title><description><![CDATA[
<p>Here's the archive.org link - <a href="https://web.archive.org/web/20250615092146/https://www.laphamsquarterly.org/roundtable/deeper-deep" rel="nofollow">https://web.archive.org/web/20250615092146/https://www.lapha...</a></p>
]]></description><pubDate>Tue, 26 Aug 2025 14:36:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=45027149</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=45027149</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45027149</guid></item><item><title><![CDATA[New comment by veidelis in "The Core of Rust"]]></title><description><![CDATA[
<p>Can one do 3D in Gleam?</p>
]]></description><pubDate>Thu, 21 Aug 2025 20:17:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=44977523</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=44977523</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44977523</guid></item><item><title><![CDATA[New comment by veidelis in "Show HN: Draw A Fish and watch it swim with the others"]]></title><description><![CDATA[
<p>Does not work for me on desktop Firefox. When I press the "make it swim!" button, there's an error in console: "Uncaught (in promise) Error: Fish model not loaded"</p>
]]></description><pubDate>Fri, 01 Aug 2025 15:24:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=44758209</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=44758209</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44758209</guid></item><item><title><![CDATA[New comment by veidelis in "Why Elixir? Common misconceptions"]]></title><description><![CDATA[
<p>For a simple dev like me, that would be learning the lang and using it for some project.</p>
]]></description><pubDate>Tue, 29 Jul 2025 06:16:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=44719659</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=44719659</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44719659</guid></item><item><title><![CDATA[New comment by veidelis in "Why Elixir? Common misconceptions"]]></title><description><![CDATA[
<p>I don't find Elixir appealing for various reasons personally. But on a related note, I'm willing to bet on Gleam big time.</p>
]]></description><pubDate>Thu, 24 Jul 2025 10:02:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=44668939</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=44668939</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44668939</guid></item><item><title><![CDATA[New comment by veidelis in "I've launched 37 products in 5 years and not doing that again"]]></title><description><![CDATA[
<p>Can you tell more, please? I'm interested to know what did you build that had an interesting growth to you. Could you please expand on one project of yours? Thank you!</p>
]]></description><pubDate>Tue, 22 Jul 2025 09:01:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=44644734</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=44644734</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44644734</guid></item><item><title><![CDATA[New comment by veidelis in "Eastern Baltic cod grow much smaller than they did due to overfishing"]]></title><description><![CDATA[
<p>What I've had heard so far about cod's troubles in the Baltic sea is that it's not salty enough for them. For cod to reproduce, their eggs need a certain salinity so that they swim to the right depth after they are spawned.<p>Here's an article in Latvian news site about it - <a href="https://nra.lv/neatkariga/intervijas/481931-mencu-zveja-baltija-beigusies-un-ne-jau-eiropas-lieguma-del.htm" rel="nofollow">https://nra.lv/neatkariga/intervijas/481931-mencu-zveja-balt...</a></p>
]]></description><pubDate>Sun, 06 Jul 2025 19:16:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=44483214</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=44483214</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44483214</guid></item><item><title><![CDATA[New comment by veidelis in "Error handling in Rust"]]></title><description><![CDATA[
<p>Probably yes, with From and Into traits.</p>
]]></description><pubDate>Tue, 01 Jul 2025 14:56:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=44434516</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=44434516</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44434516</guid></item><item><title><![CDATA[New comment by veidelis in "In React {Transitions} = F(state)"]]></title><description><![CDATA[
<p>"This is the famous UI = f(state) mental model of React". Famously incorrect generalization. Why? For example, the useRef hook enables components to hold their own state. React components are not guaranteed to be pure functions. Of course, it can depend on how one writes their code, but it's not a guaranteed that UI = f(state) in React in general.</p>
]]></description><pubDate>Mon, 07 Apr 2025 21:44:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=43616281</link><dc:creator>veidelis</dc:creator><comments>https://news.ycombinator.com/item?id=43616281</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43616281</guid></item></channel></rss>