1. 3

    In among taking my children out to the forrest and a role play centre I will be plastering the garden office I built ready to paint so I can begin building out my full stack shack of tech goodies.

    1. 30

      Excellent comment on this from the orange site, not copied since it’s the author’s story. https://news.ycombinator.com/item?id=29169848

      1. 2

        Thank you very much! This piece of background story was amazing to read.

        I am always very impressed by the work of Sun and love such stories :).

        1. 2

          Thank you for sharing that here, I absolutely love stories like these.

        1. 8

          Ever since I saw Solar Low Tech Magazine’s setup, I’ve really wanted to setup a distributed website that only runs on solar power. Get some people around the world to host a node in their back yard, and see if you can get enough nodes up to keep the site up for a full day.

          1. 3

            You mean a site that only runs on solar, akin to the sun never setting on the British Empire?

            1. 1

              Yeah… I don’t think proliferation of chemical batteries accounts to an environmental net gain.

            2. 2

              Site was up for full day!

              1. 1

                I can’t find it now but a while ago someone linked me to a project where a bunch of people where doing just this. It was just hosting a page that showed all the nodes with their charge statistics on a world map with the day/night cycle overlaid - but I thought it was quite cool.

                1. 1

                  This is beautiful, if I could afford to buy one I would on impulse.

                  1. 1

                    This was a fascinating read! I have been planning on looking through the OpenTTD code to see how they made vehicles, specifically the trains follow tracks.

                    1. 7

                      I wish they didn’t copy the Apple aesthetic though. Also, does anyone actually like “islet” keyboards?

                      1. 4

                        If this Framework laptop would have 7-row ThinkPad like keyboard - then I would bought it.

                        Because it has typical useless island type keyboard - it make it useless for me and does not differ from all other available laptops out there.

                        Guess I will stick to my 10 years old ThinkPad W520 for another decade …

                        1. 1

                          I love the keyboard on my X230; when I use my work supplied Macbook Pro I pine for the X230’s keys.

                      1. 3

                        “But how can I add legitimate interactive features to my site, like user comments?!”

                        I can answer that : let news aggregation websites act as your comment section. You can link to lobsters, hackernews, reddit, etc in your PDF, and avoid the hassle of moderating a comment section.

                        1. 1

                          I have seen a few people have a per post email address like comment-ae127ty@example.com which I assume goes into an automated backend for SPAM detection and moderation before making its way to the webpage during the next static generation.

                          I have mulled over doing similar for my blog.

                        1. 3

                          I was browsing the website for a local business recently, and it was just a PDF uploaded somewhere. It struck me as sad that for many people it’s still much easier to create a document in Word or whatever, export it to PDF, and upload that than to create a proper website. We need better tools. Dreamweaver didn’t work because it was very brittle and you couldn’t extended the documents it created, but maybe with modern CSS (flexbox, grid), it would be possible to do a better job of making something that works for ordinary users.

                          1. 2

                            I guess that is the gap that products such as Wix are supposed to fill however for the average business owner even that is too much for them to use; they just want to be running their business not learning how to create a website; thus the job of “Wix Developer” was spawned.

                            1. 1

                              I’d be happier even if it was made in Word and exported to HTML. I wonder if it is that they are worried about printed layout looking right or being usable by their third party print shop (a lot of the organizations that do this are actually primarily concerned about printing it for various reasons with the website being an afterthought) or if they don’t even know that option is possible.

                              1. 1

                                I think the particular example I was thinking of was made primarily to be printed, and only secondarily uploaded to the web.

                            1. 4

                              TBH, I’m not sure why one would do this other than e-Cred. You can find e-waste that will outperform this for dirt cheap; business desktops and even laptops.

                              1. 2

                                I personally did this back in 2012 when my 2008 Mac Pro died. I didn’t have any money to replace it and so used my Raspberry Pi as a daily driver for nearly two years until I had enough saved to buy a new computer.

                                1. 1

                                  weight, power consumption, replaceability of hardware, maybe? you are right, I’m pretty sure buying a dirt cheap old thinkpad would be a much better experience, but they’re pretty heavy.

                                  1. 3

                                    It’s not like a Pi is a laptop without having to add a bunch of awkward peripherals.

                                  2. 1

                                    Cost of the unit isn’t necessarily the only factor. For me, having something that is energy efficient is important, especially if it’s on for many hours a day, ever day. It’s hard to beat the power consumption of a rpi or other ARM SBC with any ageing business desktop/laptop. Of course I’m assuming a typical workflow that doesn’t need a powerful system to begin with…

                                    1. 4

                                      I’d think if you were looking at a laptop, something like a Pinebook might be more appropriate than a Pi. (I would also suggest the M1 Macs, but I suspect someone using IceWM on a Pi probably wouldn’t want one no matter how good it is.)

                                      1. 1

                                        Yeah good point. Though if I were looking for a “desktop”, the rpi or something like it would be better than the pinebook since I’d want to use my own display and keyboard (so paying the premium for those in the pinebook doesn’t make a lot of sense)

                                  1. 9

                                    Sponsors: Warner Music Group, Universal Music Group, DARPA

                                    What the fuck ?

                                    1. 41

                                      It is a joke, refers to GithHub copilot and its carelessness against licenses. If you look at the code, you will see that after some sleep time it will serve you back your original file :D

                                      1. 4

                                        I’ve assumed that there was a real NN behind this satire until I’ve read this thread. I think that the problem here is that the website miscommunicates its purpose.

                                        Also I couldn’t find any direct reference to the source code, and a quick search on DuckDuckGo and GitHub doesn’t show up anything.

                                        1. 5

                                          Is there the source code for Copilot available somewhere? I doubt it, but wondering would it change anything if it were.

                                          1. 4

                                            Control-U on the webpage

                                            I think sometimes we forget that websites are code too

                                          2. 5

                                            Lame. At least actually train a NN.

                                            1. 5

                                              If you receive copyrighted material and process it, in addition to costs associated to and computational power, how much would you risk in legal terms?

                                              1. 3

                                                Copyrighted material must be processed in order to play it, by the very nature of how computers work the material must be copied in part or in full a number of times during processing - there is actual exemption in copyright law to allow for this otherwise the very act of playing back material would be illegal by the letter of the law.

                                              2. 4

                                                Q: What would the NN actually do? You want just enough learning/wiggle room for it to be controversial like Microsoft Copilot, methinks. Perhaps a NN that generates a song inspired by the input song, with a slider for how similar you want the song to be.

                                                Then you could break it down by degree - at what point is the song “the same song with a note or two different”, vs “a different song that shares most of the notes”?

                                          1. 1

                                            Thank you for sharing this, its a gold mine of interesting information!

                                            1. 2

                                              What is the spectrum of companies/people who have exposure to the hardware they are using for hosting network services?

                                              My super layperson understanding is that in the olden times, everyone had server racks in the office, but basically everything is agressively being pushed out to be cloud-managed. But that doesn’t really gel with “everyone at big corp needs to be running everything through various VPNs”…. are there still a large percent of servers still being run within the walls of the office that is using it?

                                              An aside: as covid hit, I remember hearing about some japanese network engineer having built a box that could be plugged into municipal office networks to let people work remotely, effectively a “no-setup VPN”, as these places didn’t have a need for it before. I wonder if that’s more the norm than I’d expect

                                              1. 2

                                                I can only speak of my experience but every office I have worked in has had a “server room” of various capabilities.

                                                One had a copy of their cage at the datacenter to act as a “in office” test and development environment, it was where all the servers went after they aged out of the datacenter and where they lived until they died and needed recycling (they were very much about reuse before recycle) - it also acted as a backup in case their main host went down, which happened once and the transition was almost seamless.

                                                A lot of stuff can be done in the “cloud” but a lot of companies still like to own the hardware they operate on - I do see a drift towards a hybrid environment where companies are holding on to their dedicated hardware and supplementing it with cloud solutions where it makes sense.

                                                One final thing of thought is that dedicated hardware can be be used as a tax tool, for example the cost of the hardware offset over several years as a tax deductible; while also being considered an asset on accounting sheets, the depreciation of which over time can also be used as a tax deductible (or at least this was true 10 years ago.) I don’t know if companies get the same benefits from cloud solutions.

                                                1. 2

                                                  I don’t know if companies get the same benefits from cloud solutions.

                                                  Pretty sure they don’t, cloud is operational spend rather than capital expenditure.

                                                  1. 2

                                                    Thank you, operational spend vs capital expenditure was what I was trying to articulate.

                                                    1. 2

                                                      I wonder if 0xide will sell these, and/or hire them out - on-prem hardware. but paid for as OPEX (operation expenditure). I believe IBM ships hardware even if you don’t pay for that option, then if you pay to upgrade they just send an activation key or flip a bit.

                                                2. 2

                                                  Possible markets I see for this product are where regulations / compliance require stuff to be running on-premises. Finance and telecos mostly.

                                                1. 7

                                                  Can’t we just inject noises into that register as mitigation? From my understanding, s3_5_c15_c10_1 is accessible to all applications, so it should be easy to overwrite.

                                                  1. 9

                                                    Towards the end there is a paragraph on the webpage with words to that effect saying it wouldn’t mitigate it, something about doing so would peg the CPU at 100% and still not make the register useless.

                                                    Then again the whole point of the webpage is to poke fun at infosec and ultimately goes on to say this isn’t a big deal and people shouldn’t be worried.

                                                    1. 3

                                                      I think this would technically work, but need one process per cluster running to do it so there would be significant power use and CPU capacity costs.

                                                      1. 5

                                                        Also, using forward error correction, you can still reliably transfer data at a lower rate, even when some noise is injected. How much lower the rate will be depends on how much noise is injected. I think with that, even if you would be willing to sacrifice a significant amount of power and CPU, this would not work as a practical mitigation.

                                                    1. 4

                                                      I am working on my DOS Games Jam entry. Learning C programming for DOS and attempting to use as few libraries as possible.

                                                      1. 1

                                                        TOO funny! It feels like we’re scratching a very similar itch (See my entry above).

                                                        DOS is actually an incredibly cool and VERY deep ecosystem. I had no real appreciation for that until I lived with some people who worked for FTP software where they implemented a TCP/IP stack for DOS including async I/O / callbacks etc and ultimately full WinSock support when that became a market driver.

                                                        Out of curiosity what are you using for a stack? e.g. which compiler suite and such?

                                                        1. 1

                                                          I’m using Open Watcom on Windows 10 to cross compile for a 16 bit DOS target, and for now testing in DOSBox. I have an 8086 that I am hoping to have it run on, if that proves too challenging before the jam completes I also have a 386 and a pentium machine to run it on.

                                                          Aside from having my entry run on real vintage hardware I also plan on using js-dos to allow people to play it from the comfort of their browser.

                                                          I see things like the PICO-8 where people have recreated the limitations of older hardware and how vibrant the community is around that. DOS, especially with js-dos also I feel should appeal to the same crowd.

                                                          1. 2

                                                            Oh for sure! It’s why I’ve gotten back into the Atari 8 bit. There’s something incredibly refreshing about working in an architecture that’s SMALL and easy to understand!!!

                                                            WRT PICO-8 - I love that community but wish he’d open source the engine. I’d love to get people to look at TIC-80. Same idea, almost feature compatible, but 100% FLOSS.

                                                            I look forward to playing your game!

                                                      1. 1

                                                        I feel like just looking at the total number of TODOs in a huge code base like the Linux kernel doesn’t tell you much. What would be interesting is number of TODOs over total LOCs.

                                                        Maybe also use information from source control to look at how long TODOs persist in the code base.

                                                        1. 1

                                                          Every single one of the graphs shows projects accruing more todos over time, which we could assume means they have been added and for one reason or another forgotten about. There can also be seen some patterns where todo’s are being used as placeholders for work in progress that then gets done and the todo’s subsequently removed.

                                                          I think the whole point of the page isn’t necessarily to show much more than “look, these projects all accrue todo’s over time, maybe that would be a good place to go looking for providing assistance.” There are multiple reasons for why todo’s remain un-done.

                                                          1. 2

                                                            What I find iteresting is the sudden jump of TODOs in just a couple of days. Maybe they were integrating external code in tree? It’s pleasing though to see the number drop occasionally

                                                            1. 1

                                                              I made the assumption that was due to a refactoring in progress, or some other maintenance being carried out and placeholders being committed, but integrating external code is also a good guess at what caused it.

                                                              I personally use todo’s as placeholders, I will write a todo, then open an issue with the body of the todo, update the todo to have the issue number in its copy and then commit with the issue number referenced. This results in the issue being linked to the commit making finding the relevant file and line/s trivial.

                                                              1. 1

                                                                that makes sense if those TODOs were scrapped, say, from the main branch and at some point some a big chunk of work containing a bunch of todos was merged into it

                                                        1. 25

                                                          I’m very glad to see replies back. Thanks to everyone who works and supports this site for free and in their spare time.

                                                          1. 4

                                                            Agreed with the kind words above. I had 105 unread replies, great to see that working again!

                                                            What does the traffic option do?

                                                            1. 4

                                                              What does the traffic option do?

                                                              The shade of red of the “L” logo in the top-left corner changes depending on how much traffic the site gets. If you hover your mouse you see the number (currently: 20%). This is based on the min() and max() of votes, comments, and stories of the last 90 days in 15-minute blocks. Details.

                                                              I personally never quite understood why this is useful though.

                                                              1. 4

                                                                For growth hackers to find the perfect time to post :)

                                                                1. 4

                                                                  Where’s the flag option for “uncomfortable truth I don’t want to hear”? :P

                                                                2. 3

                                                                  It doesn’t have to be useful to be fun to implement ;)

                                                                  1. 2

                                                                    Not particularly useful… Notably interesting, somewhat charming.

                                                              1. 4

                                                                This is an excellent read, however I think the BBS linked in passing during the article also deserves some recognition for being cool https://klud.ge/

                                                                1. 13

                                                                  There are also legal problems. For sure W3W is not something I would ever ever use: https://wiki.openstreetmap.org/wiki/What3words

                                                                  1. 5

                                                                    Oh yeah, I had completely forgotten about that nonsense. It’s like they wanted to make it as unusable as possible.

                                                                    1. 3

                                                                      I do use it. It’s easier to record the entry point for an unmapped driveway in a w3w format than it is to be sure the address is a) correct and b) causes the mapping software to put you on a road with access to your destination.

                                                                      Nothing as fun as going to a new place only to see it across the forest because the GPS thought that random road was the best chance of getting to that address.

                                                                      Sure there are problems. But it’s a better solution than a lot of other things.

                                                                      1. 2

                                                                        Fair enough. Using it “one-off” is of course completely different from building your service/business around it or making it a (critical) part. It is very clearly a trap.

                                                                      2. 1

                                                                        Thanks for sharing, I had been on the fence until reading that wiki doc.

                                                                      1. 1

                                                                        It seems to take just over a second to generate/render a 200x200 maze for me.

                                                                        I’d love to know where the bottlenecks are – I’m v. interested in Go/Wasm.

                                                                        1. 2

                                                                          The lion’s share of the time is spent encoding the image to PNG to export from WASMland to JSland. I added an option to turn off PNG compression, that speeds things up considerably.

                                                                          I think if I sent a display list to JSland and had it draw on a canvas, it would be faster but I wrote this first for the command line and just had it save images.

                                                                          1. 2

                                                                            Me too, Golang compiled WebAssembly isn’t inherently slow.

                                                                            You might be interested in this roguelike game written in Golang that has been compiled for wasm and is playable in the browser here https://harmonist.tuxfamily.org/play/index.html