Better HN
topnewbestaskshowjobs
Log inSign up

code_duck

8,901 karma · joined Sep 5, 2009 (17y ago) · 4,581 submissions

Cipher Flamingo?

Instruction Set Egret

Opcode Pelican

Function Sparrow

Heron of Homoiconicity

Script Pigeon

Topcolor gallery:

  #729883
  #cc1010
  #70907d
  #668b33
  #399044
  #256f56
  #42bec6
  #Be8489
  #92c4a0
  #117f7f
Submissions

comment 5y ago · link · parent

At the least, it’s a waste of time putting the items on a physical sales display when the customers are shopping online.

comment 5y ago · link · parent

They may have had similar ideas to those very successful companies, but besides the timing, lacked the talent at execution.

comment 5y ago · link · parent

As I read it, the simulated response call doesn’t actually hit the URL, it just sets up the object like it’s going to then loads the data you supplied. Not sure when that’s useful since I’m not an iOS programmer.

comment 5y ago · link · parent

I tried using a chromebook for general development and it was not a pleasant or efficient experience.

My goal was to compile and write something using Python and OpenCV, a computer vision library. While one can indeed run Linux apps, the vast majority of what I needed was not pre-compiled. Compiling led to issues with having to compile parts of the toolchain, which went up a couple levels of recursion. Compile some library so you can compile some other library so you can compile a program to compile some thing that she used to compile some package. Then library conflicts, and so forth. I haven’t needed to do this since about 2004. Plus, then waiting for a Chromebook to compile large packages can take all day.

There’s no way I’d try this again versus just getting a normal laptop and installing Linux.

comment 5y ago · link · parent

I suppose it is hard for me to understand because I’ve never been confused about what the file format is, or the association that they have with default applications on a desktop.

I’ve been a position where I had to help advertisers with images for their web shops. Many of the advertiser to that understand aspect ratio, a pixel size, compression or image format at a basic level. I do not think that the concept of a landscape versus portrait image is difficult, nor is the idea that one image is made out of 100,000 squares and another one’s made out of 1 million, or that some have 12 colors like crayons and others have millions like a photo. But many people don’t try to advance their knowledge at all, depending on others to do their computer work for them. This wastes a huge amount of everyone’s time. I don’t really think it’s a good system to teach people that they can operate with the absolute minimum knowledge needed to operate a computer. At times it reminds me of children who haven’t taken the steps to do something like learn to take the lid off a jar and so coming to get you to do it every time even a year after they could’ve been doing it themselves.

I do understand that some people just don’t seem to get this stuff. My parents both have advanced degrees and were using computers when I was born, but they seem to have been struggling with the basics of emails and logins for 20 years now.

The problem here is that we we are discussing systems within windows and windows has a poor system for all of this. I’m not sure what Microsoft can do to improve it since I can’t really think of many positive changes they’ve made in this regard in the past 20 years, other than confirming execution with admin rights.

The main problem that comes up here is security. I agree that file formats don’t particularly matter to the average user, it only matters if a legitimate file opens in the right application when they click on it, and clicking on what appears to be a safe file doesn’t actually trigger an executable. Perhaps windows could prevent files from having a double extension. Perhaps MS could not allow executable files to be changed to different extensions. I don’t know. What I do know is that there’s many instances where hiding the extension has been a security problem, and I don’t know what evidence there is that it helps anyone use the system besides speculation. You can only dumb down a system so much before it loses necessary functionality.

comment 5y ago · link · parent

My issue is that I don’t find it convenient to watch a video at all. For answering simple questions, there are many drawbacks to the format compared to text. I can usually extract necessary information from text in seconds. I might have to turn on a video and wait several minutes to hear the relevant information or spend minutes searching through it. Info in videos is not searchable by keywords or easily copy/pastable, and I may be in an environment where I don’t want to turn the sound up.

comment 5y ago · link · parent

I agree about editable, but it's a critical piece of information. Users already deal with the concept that some files are images, some are audio, some are documents and so forth without apparent problems understanding that. The concept that different types of documents have different random letters at the end isn't a huge step.

Pretending extensions aren't a thing hasn't been successful in terms of security (see ATTACHMENT.doc.exe for details) and I question whether it's at the end of the day provided any benefits from reduced complexity.

comment 5y ago · link · parent

This is the same bad idea as hiding file extensions.

comment 5y ago · link · parent

This is really HN content? Anyway, I like that he feels the need to specify "This joke is in the public domain"

comment 5y ago · link · parent

The “free storage” was news to me when I heard they were ending it. Turns out this was only for images saved compressed (‘High’ vs Original quality). Since I don’t want my images altered at all I never used that option, and the change is not significant. I don’t recommend that you let Google apply lossy compression to your images to save space, either, unless your photos are not very important.

comment 5y ago · link · parent

Very cool, I've used his glass a lot! Excellent quality and he has wonderful dedication. Ryan would be an awesome interview for HN, actually.

comment 5y ago · link · parent

Glass that glows in a blacklight was the rage in artistic borosilicate glassblowing in recent years, also. The physics behind this is pretty interesting (electrons jumping levels and releasing excess energy). We all started carrying around UV flashlights at shows.

A US company called Northstar collaborated with Gaffer Glass from NZ to make a modern borosilicate uranium glass. https://northstarglass.com/product/ns-137-ill-umanati/

Along with their competitor Glass Alchemy, they also make several other formulas that fluoresce different colors like pink and blue. (Also check out glass that changes color in fluorescent lamps: https://northstarglass.com/product/tag-069-parallax/ )

comment 5y ago · link · parent

>There is no way I am going to be able to "mine" more crypto than those who started years before me or those who have more "traditional" money than me currently to buy crypto

I have the same problem with US dollars, that some people have more than I do, but I still use dollars often.

comment 5y ago · link · parent

While the phrasing implies this is new, here's an discussion about the issue from 2018.

https://news.ycombinator.com/item?id=17381184

An article from 2018...

https://www.bleepingcomputer.com/news/security/filezillas-us...

A question about it on their forum from over 4 years ago

https://forum.filezilla-project.org/viewtopic.php?t=42791

comment 5y ago · link · parent

If your primary or sole motivation to get married would have been to secure a sexual partner, it probably saved a lot of trouble to have filled that space with porn.

comment 5y ago · link · parent

This is a familiar struggle, as far as the concepts. I did a rather similar project based on Etsy about 10 years ago. We made a javascript-invoked widget (probably an iframe IIR), intended to be embedded onto blogs and webpages with a single line of code. This gathered a lot of data from Etsy. Shop details, items for sale, feedback, favoriters. Somewhere there's an article on the Etsy blog, but if curious you can check out this blog article. http://happycloudmoments.blogspot.com/2010/07/craftcult-intr...

At the time I already had a popular site based on their API. I had noticed that in general, it's a tough business to be a disconnected 3rd party developing on a closed platform. You're at the whim of the platform owner, slave to their intentions and decisions, good or bad. It's like having a remote job where nobody talks to you.

I got over API unreliability with a system to retry calls a few times. Etsy API calls could fail in several distinct ways, so my parser had a lot of stages (check for HTTP status, parse for certain strings, check if it's empty or an empty string, so forth). The calls also occasionally took much longer than usual. I implemented a caching system for the widgets.

It sounds like Shopify reliability is much worse than Etsy's at the time. Other than outages, I believe we'd get about 2% of calls failing for different reasons, which would usually work on a retry.

Changes were difficult to deal with because they could come suddenly. The worst ones were breaking changes that apparently Etsy was unaware of. I'd start getting errors and have no idea if it was a bug or an intentional change, and write workarounds only for them to fix the bug a few days later. We also experienced the removal of features with other apps. Or, one time we spent a couple months on a feature and then it turned out Etsy had been working on the same thing themselves.

comment 5y ago · link · parent

#2 is what led to the idea of tripsitters. It's essentially the same concept as a designated driver - someone sober to keep everyone out of trouble. Some people can handle it fine, others really can't at all, psychologically, and most anyone on psychedelics responds to unexpected adverse situations poorly. I agree it's not how my generation did it but it's not a bad idea at all.

comment 5y ago · link · parent

People engaged in relationship infidelity want those features.

comment 5y ago · link · parent

That's double the reads/writes of my 16 GB/1 TB 2020 Intel MBP for less than 1/3 the Power On Hours. Ratio between data total and read and write commands is quite different though.

    SMART/Health Information (NVMe Log 0x02)  
    Critical Warning:                   0x00  
    Temperature:                        32 Celsius  
    Available Spare:                    100%  
    Available Spare Threshold:          99%  
    Percentage Used:                    0% 
    Data Units Read:                    8,413,842 [4.30 TB]
    Data Units Written:                 8,138,306 [4.16 TB]
    Host Read Commands:                 187,292,832
    Host Write Commands:                154,212,201
    Controller Busy Time:               0
    Power Cycles:                       105
    Power On Hours:                     171

comment 5y ago · link · parent

I wouldn't do it myself, but I imagine a team of a few hundred people could get it done in a month. We're only talking about Arizona, though.

comment 5y ago · link · parent

Neither the staff or inmates know who qualifies or what their release date should be.

Apparently, they can let them out on time if they calculate the release date and enter it into the system manually.

comment 5y ago · link · parent

Oh my! We spent a fair bit of time playing this on my friend's PCjr in 1986 or so. My main problem with text adventures was interface discovery. What precise verb or noun is the parser looking for?

The first one I recall playing was Adventure for Logo on the C64. Don Hopkins has a great writeup about it here: https://donhopkins.medium.com/logo-adventure-for-c64-terrapi... This article would have blown my mind and changed my world when I was 6. After Adventure, I always wanted to write my own text adventures. The first programs I wrote in c64 basic when I was 6-10 attempted to accomplish this, but I had very little concept of how to write a parser.

comment 5y ago · link · parent

You'd probably do better on HN to substitute 'decrying' for 'bitching'.

624.

I Miss My Bar: a modern digital artifact to keep you company(imissmybar.com ↗)

10 points · by code_duck · 5y ago · 1 comment

comment 5y ago · link · parent

I had a small business depending on the Etsy API during the time they transitioned some storage to Mongo. The immediate effect for us was a downturn in functionality and reliability with no apparent advantages. In the midst of other serious concerns about their direction, we questioned why Etsy was doing this on the API mailing list and were told basically we didn't know what we were talking about and it wasn't out business. Fair enough, sort of.

It was a hot time for NoSQL and document DBs. Having investigated using Mongo myself to little avail, I asked why they didn't just use Postgres. If I recall correctly, a couple years later they published a Mongo at Etsy postmortem which concluded they should have just stayed with Postgres.

comment 5y ago · link · parent

They would have been able to detect a stroke or a heart attack. I've had a few incidents like this, where I've passed out, at various times in different states of health. Once at Walmart after a convention, once in the morning after throwing up some blood, and this time. I've had a lot of health work since then but have yet to find an explanation for these episodes.

comment 5y ago · link · parent

I ended up paring down my diet to almost nothing but chicken and honey for a while, then slowly adding things back. I had the most problems with grains. Since I've been diagnosed with celiac, which is in my family, I still have to stay strictly gluten-free. To my knowledge, it's not reversible. definitely could be related to nutrient malabsorption, which is common with celiac.

Following the hospitalization, I got liquid electrolytes and added them to water, along with potassium citrate. That seem to help a lot. When I was hospitalized with diabetic ketoacidosis a year or two later, the ICU had a lot of problems getting my electrolytes back into balance.

comment 5y ago · link · parent

I have very serious problems with fragrance chemicals and some VOCs also. It slowly emerged over time in my twenties, well at the same time I was also experiencing what I now know is undiagnosed celiac disease.

I've gone through times where almost anything made out of plastic and most indoor furniture made me feel sick, but these days it's mainly just artificial fragrances. Shampoo, conditioner, air freshener, carpet cleaners, garbage bags, dish soap, incense, laundry soap, pesticides, dryer sheets, and so on. I have to use all of these in special unscented versions and try to get any roommates to do so as well. Some are difficult to avoid in public, other people's clothes and hair, fumes coming from laundry vents outdoors, or areas where large amounts of these products are stored such as groceries and hardware stores. The distancing and masks from covid have helped a bit, plus I'm staying home more which is a safe place.

This is a problem that's been somewhat peripheral to my other health problems, but has been very disruptive for me. in terms of interpersonal relationships, maybe even worse than type 1 diabetes or celiac because it can make it uncomfortable to get near other people physically, either for a hug or to be in their house or car. Having to convince girlfriends to change hair products has been a major source of stress, too. There are times when I've been forced to be around people who use typical fragrances products on a visit, or at a hotel, and that's difficult.

I've tried to look into what health problems could be related to this. There is a syndrome that used to be called MCS (Multiple Chemical Sensitivity) and is now called TILT (Toxicant Induced Loss of Tolerance). Mainly I have found people with Multiple Sclerosis and an immune disorder called MAST cell activation. I have celiac and type 1 diabetes, which are very closely related to MS, so it makes sense. This is the sort of thing that's very difficult to work on with doctors, and it seems likely the best treatment currently available is like an allergy - avoid the triggers.

comment 5y ago · link · parent

I have serious problems with many of the same chemicals as GP. Well I understand different ones are harmful or not in theory, I only know what I react to. It's almost uniformly products to which artificial fragrances are added intentionally, or exhaust that's known to be harmful such as diesel and gasoline. I only have issues with certain natural fragrances (essential oils) with extended exposure or large amounts. Most likely it's members of several large categories that I react to. Could be VOCs, phthalates, teflon relatives, and synthetic fragrance compounds.

Like gluten intolerance, one of the difficult things about reacting negatively to common consumer products is the number of people who refuse to believe it's a real problem.

comment 5y ago · link · parent

A few years ago I found occasion to rent a car. The clerk noted I was lucky - it had only 400 miles. I thought that was great until I remembered what it meant. The car smelled strongly like glues, and unfortunately the windows were designed in a way that I couldn't get air blowing on my face.

I was doing a run about an hour away to Los Alamos. While driving, I started feeling tense in the face. My arms were stiffening and my mouth going into a circular shape. I felt strange like I was going to pass out. I was so concerned that if I went home I might be calling an ambulance. Luckily there was a fire station . I couldn't figure out how to ring their doorbell and collapsed in the front.

The EMTs there came out, stuck me in an ambulance and took me to the ER, where the doctors couldn't find anything wrong besides a low potassium level. I'm still wondering what happened exactly.

I have some sort of sensitivity to all sorts of fragrances, especially synthetic, probably related to my immune/autoimmune diseases. It's extremely uncomfortable for me to be near air freshener, dryer sheets, laundry detergent, cologne, perfume, shampoo, hairspray, and other scented products. The fragrance industry has been hard at work expanding fragrance into new products as well, like garbage bags. Prior to the ER incident above I had been weakened by digestive problems (apparently the aftermath of celiac/precursor of type 1 diabetes) and weighed 8% under a healthy minimum weight, so I can't surmise it was 100% the car fumes.

1
202122
153