Better HN
topnewbestaskshowjobs
Log inSign up

sumtechguy

2,602 karma · joined Jul 31, 2020 (6y ago) · 1,754 submissions

Submissions

comment 5y ago · link · parent

hehe I did that super saturation thing as a kid. one of the instructions was pour until saturation happens. It didnt. I ended up with 5 pounds of rock candy.

comment 5y ago · link · parent

You owe the oracle 32GB of RAM. His game rig is low on memory and hungry.

comment 5y ago · link · parent

What degree you get kind of depends on which college you went to and when. The difference in my school between the eng track and the arts track was basically 2 classes between the two programs. Both programs were run by the same professors. If I had got the degree 10 years earlier I would not have been able to get it and only could have gone math with a study in CS. As is, I think my CS program was 6 hours away from an additional math degree. Which makes sense as the math programs typically were supersets of the CS degree for a long time. I do not know about the time after but from what I heard they simplified the program a bit and went more algerbra/java like you said.

comment 5y ago · link · parent

Maybe that is the question (doubt it). Think about it. Its brilliant. You say 'I always ask this one question to my doctors' then ramble off on some other tangent. See if they come back to that question. It means they are paying attention and are inquisitive.

comment 5y ago · link · parent

I was under the impression that you could 'rewrite' history if you wanted by amending, squashing, and removing commits? Or does some of the artifacts still live on?

comment 5y ago · link · parent

Think about it this way. It is about margin (where the profit comes from). Keep that marginal cost equal to your marginal rev and you are doing good. Stray too far and you are leaving money on the table or maybe taking a loss. Control a couple of key aspects of production and your marginal cost can be low. In this case I would say the jar and lid is probably the most expensive bit and the salsa is probably made by the barrel full. Also most grocery stores do not set the prices or own goods on the shelves. The wholesalers/vendors typically do and the grocers rent out the shelves to them based on location in the store, height off the floor, and length/depth of shelf needed.

comment 5y ago · link · parent

Yeah this is sort of like littering. One wrapper on the ground does not mean much. But millions of them do. Which is basically what many of these companies have done. Basically lots of 'little' things that add up to a big thing. In this particular case it sounds like the one who brought the case did not sufficiently show the court that any harm had occurred? Reading the output to the case probably would be better here instead of playing telephone with an article and why it is 'sending shockwaves'. This sounds more like 'you did not make your case try again some other time'.

comment 5y ago · link · parent

Usually the -0 option. https://linux.die.net/man/1/zip -mx=0 for 7zip style programs.

If you also used the mt option with 7zip and just stored you probably could have a decent read rate as I think it spins extra threads.

comment 5y ago · link · parent

You would be surprised how much of what you see today was pioneered in the early 1900s. If you want a real treat go lookup why we eat bacon for breakfast. Then consider that same guy revolutionized how things are sold.

In this case they are using scarcity and a form of rushing the sale before the buyer realizes what they have done. There are plenty of scarce items. But usually if the seller is telling you they are scarce and you only have minutes to decide, ignore them. It is an old trick. It works very well on someone who feels they will be left out in some way.

comment 5y ago · link · parent

To me it sounds like a sugar cookie? There usually is not much in them other than sugar, butter, flour, vanilla, and eggs? There are a lot of '15 min' cookies out there. But sugar cookies are usually the simplest. I was always partial to the ones on the bag of chocolate chips. Buy stuff on back of bag (you are at the store already and cant miss it), mix, cook done. yummy!

comment 5y ago · link · parent

https://www.kitschencat.com/pfeffernusse-cookies-peppernuts/

That one is pretty close. Just at step 4 instead of 30 mins she did 24 hours as the previous steps usually took 1-2 hours and she was tired because of how much flour she used. She also used 9-10 cups of flour instead of the 3-4 that calls for as she was also wanting to make a larger batch. If you did that little amount of flour it would probably be very and goopy to roll and cut in the next steps. She also fiddled the sugar, with corn syrup and molasses, I do not have it in front of me but I think it ended up being 1/2cup each and 1/2 cup regular sugar 1/2 cup brown. She also would add in 1/4tsp of anise. But basically all the wet stuff, spices into that, incorporate it good, then add flour until the correct consistency to roll out. With as much flour as she used you better have a good arm or a monster blender. But that recipe should be pretty close, there are thousands or variations on the internet (many include pepper and lemon), these fall on the ginger tasting side. They should be a crunchy cookie not doughy.

comment 5y ago · link · parent

You are so correct on the order and timing of items. Everyone in my family was trying to make my grandmothers cookies. I was the only one who went over and documented exactly how she made them. Now that she is gone. I have been designated as the only one who 'knows how to make them'. Even though I proclaim loud and clearly and have documented 'you must make them exactly like this or they will not taste the same'. They all seem to want to take short cuts. There are no shortcuts with this one and it will take 2 days. I even gladly show them exactly how to do it. Yet they still fail, because they want to skip steps. If you do not follow along exactly you are doomed. Now I want cookies...

comment 5y ago · link · parent

The tools unfortunately are not good. As it is a wild mix of case law, actual law, and cherry picked venues. Then add into that different patent government/private regulatory bodies that enforce it unevenly, too much or not at all. Most of the companies I have worked at they had the process down pretty good. But if I remember right the average to get one was 2-3 years, with a few dozen rejections in there. Most of that was getting the verbiage right to make it sound unique and have proper claims. But if you wanted to make it easier for people to do it you would have to probably convince a patent attorney to help write it up and how to make it work, and defend it. This is not really a 'software' problem but more of a people/process/politics problem.

comment 5y ago · link · parent

I agree, and would even go one step further and say the first implementation was a decent first pass. Sometimes the 'awful' implementation is good enough and your time is better used on something else. However, this pattern can sometimes bite you in the long term. As you can have tons of little 'hacks' all over the place and people become afraid to touch them, or worse copy from them.

This also nicely shows one of the fun things with table scans. They look decent at first then perf goes crappy. Then you get to learn something. In this case it looks like she used normalization to scrunch out the main table size (win on the scan rate, as it would not be hitting the disk as much with faster row reads). It probably also helped just on the 'to' lookups. Think about how many people are in an org, even a large company has a finite number of people but they get thousands of emails a week. That table is going to be massively smaller than keeping it in every row copied over and over. Just doing the 'to' clause alone would dump out huge amounts of that scan it was doing. That is even before considering an index.

The trick with most SQL instances is do less work. Grab less rows when you can. Use smaller tables if you can. Throw out unnecessary data from your rows if you can. Reduce round trips to the disk if you can (which usually conflicts with the previous rules). Pick your data ordering well. See if you can get your lookups to be ints instead of other datatypes. Indexes usually are a good first tool to grab when speeding up a query. But they do have a cost, on insert/update/delete and disk. Usually that cost is less than your lookup time, but not always. But you stick all of that together and you can have a DB that is really performant.

For me the fun one was one DB I worked in they used a GUID as the primary key, and therefore FK into other tables. Which also was the default ordering key on the disk. Took me awhile to make them understand why the perf on look up was so bad. I know why they did it and it made sense at the time to do it that way. But long term it was holding things back and ballooning the data size and crushing the lookup times.

How did I come by all of this? Lots of reading and stubbing my toe on things and watching other do the same. Most of the time you do not get a 'mentor'. :( But I sure try to teach others.

comment 5y ago · link · parent

Some are defensive some are offensive. Someone like Qualcomm uses them to get a percentage of every device but also uses them to protect themselves against other companies, as they also sell chipsets. Also patents expire. So they may have one but after the time limit they are not really worth much anymore other than a defense. Would limiting the number they hold really help? Think one chipset they had to pull was over some what most people would consider the most tiny of features. Plus limiting would not really put a dent in many of these companies I am sure they would think of some way around it.

comment 5y ago · link · parent

winget

They have sort of started to do it. But it seems to be very adhoc in how it is supported. A couple of packages I use are 2-3 versions behind in that system.

comment 5y ago · link · parent

I think what they are saying is timezones mostly follow along north south. When if they took into account the tilt of the earth it would not be as big of an issue the further north or south you go from the equator.

comment 5y ago · link · parent

Oh I get that, and that kind of was my point. I created those to show the inconsistency of the interface that SQL is. You have to internalize those inconsistent bits. Sometimes you specify, other times you get everything out of the different sets. The mental model of SQL is split. In some cases it is 'get these items from the set and if you dont you will get a syntax error' in other cases it is 'filter these items from the whole set and if you dont you get everything'. I see a lot of people new to SQL who that trips up. Some people are sayin 'well just for update/delete make the where condition not optional'. That at least seems fair and fixes the easy issue, but then that is one more inconsistency in the language that SQL is. I am saying just go one step further and make unconditional always. There are some who disagree. That is fine. My guess we get a mode in most SQLs with the update/delete one. I think that is at least a decent compromise.

comment 5y ago · link · parent

Also typing fast does not mean writing fast. Think about the speed tests you took. You probably kind of zoned out and just bashed it out. But when actually writing/coding you stop and think about it a bit. I used to hit 70-80. But now I maybe manage around 20-40, probably less. Because I have to think at the same time and can not just 'zone out' and copy. Knowing the keys is a massive help though. With coding it is more 'i know an interface that does something'. Ok start using this object oh yeah wait it is a pointer not a local so different call syntax, oh and then the call I need is inside that object but that is local to that object, oh wait lets go read the docs this thing has 4 params and that 3rd one is always a bit tricky... No way you are hitting 40+wpm unless you just happen to use only calls you use all the time and have memorized all of the params that go into them and have the code basically already written in your head.

comment 5y ago · link · parent

In fact I would go one step further and say why does 'where' default to ALL? You did not say what you wanted. So you should get nothing. This should be true for select and delete as well as well as update.

If I just do 'SELECT *' and execute it, it does not rotate through all the tables. I did not specify it. Same with 'SELECT from xyz' if I can not have it empty and return all. Yet where is special somehow.

comment 5y ago · link · parent

Many companies are movie to digital timesheets where the truck figures out if you are driving or not. You pretty much just need to say 'on/off/sleeper'. Those are harder to lie on.

The correct action the companies should be doing is reviewing their routes and what is a realistic way to do them. That route from 1970 no longer is the same time frame. The driving rules have changed and so has the road layout.

comment 5y ago · link · parent

To be fair any newish computer OS is going to act the same way in that condition, linux included. I know if I put any of my linux computers in that mode of use they would. My PS4 I use maybe every 2-3 months. Large update every time usually on the order of an hour to do so. I am pretty sure I have not 'paid' for a copy of any OS in 15 years (and that was because I built a computer). Yet I spend a good amount of time 'fixing' things. I pay in spades in time, no matter what little amount I may have forked out when I bought the computer.

comment 5y ago · link · parent

My dad has one of those big coin collections. There are maybe a dozen or so coins in the whole thing that are really worth anything. The rest is several physical tons of 'that is going to take awhile to go through' and 'hey dad your retired why dont you sort your coins, oh I am leaving that to you'.

I personally try to keep my physical collections small. Only a few items that I consider interesting I keep. Except my DVD collection, video games, and my wifes CD collection. I like them so I keep those. But if I stopped caring about it I would take an active interesting in getting rid of it. I do not want to burden someone else with my collection of junk. My personal coin collection if you went and spent it as cash I would be a bit upset but no real value would have been lost. The 50 or so coins I have are merely novelty not valuable and fit in a plastic cup.

comment 5y ago · link · parent

not many. Also many times even if the site is still around the content may not have been updated in years.

comment 5y ago · link · parent

Message passing at first seems interesting and neat and useful. It is for some cases. But it comes at a cost of complexity and latency.

comment 5y ago · link · parent

Yes the original was better. But the one we got was easier/cheaper to film and his had many special effects shots which would have put them over time budget as well. Remember at the time ST was not the money machine it is now and was one of the more costly shows on air, and they tried to turn them around in about 2-3 weeks (when at the time the average was less than 1-4 days for most shows). Money was one of the reasons we saw a good amount of vasquez rocks in the show. It is in the movie zone and the pay was cheaper.

comment 5y ago · link · parent

Think some of my bookmarks date back to mosaic. About once a year I sweep them and purge a good amount of them as I have hundreds nicely organized into categories. They 'rot' so not worth keeping. Sometimes I will point them at archive but usually I can not even remember why I bookmarked them in the first place.

comment 5y ago · link · parent

They have 2 built in ones. powershell and cmd. CMD has been there forever and works mostly like MSDOS (mostly). powershell is pretty neat and is in many ways better than bash once you understand it. They have also in the past 2-3 years actually fixed up some very long standing issues with the shells. There is also an experimental shell manager in the windows store which is kind of nice. You can also install other unix shells if you want. But being different systems they can get a bit quirky.

comment 5y ago · link · parent

You do not have to. But they sure make it a pain to not have that linked.

comment 5y ago · link · parent

There is that. But for SK movies/tv it has for many years 'dude check this crazy thing out', and movie makers tend to follow trends...
1
383940
59