News for hackers. Stuff that matters.

iUsedToCode

Re:Optimizing a Static Site on Saturday March 17, 2018 @03:09PM (#16608507)
"However, it’s only 829kb, and that includes every single non-image asset (fonts, css, all libraries and dependencies, and js)."

Only 829KB? ONLY?

This[1] is a (dynamic) on-line course for all beginner sport shooters in Poland, each page takes about 15KB. And i still sometimes want to rewrite the CSS, as it's now 3 requests. It shouldn't make a difference on HTTP/2, but that's a lame excuse.

It's not very fast (100-200ms) and maybe i should get a faster server -- there's room for improvement. But in my view, if it's static, it's supposed to be as fast as a native app on your smartphone. 1MB of bullshit js that nobody wants is not "ONLY".

Btw, maybe mine is lame and ugly. But i couldn't sleep if i made people load 1MB of fonts, javascript and CSS. It's just a shameful waste.

[1] https://patentstrzelecki.eu/ (polish)

Re:Ask HN: Successful one-person online businesses? on Wednesday February 28, 2018 @12:04PM (#16484508)
Tarsnap is great. I love supporting it.
Re:After rising for 100 years, electricity demand is flat on Tuesday February 27, 2018 @04:36PM (#16478174)
you can go as high as 4 in most heat pumps. Obviously, it strongly depends on the outside temperature. But if it's above 4 degrees C, you should be fine.
Re:After rising for 100 years, electricity demand is flat on Tuesday February 27, 2018 @04:34PM (#16478159)
Certainly. I heat a small flat (~35 m2) using just a AC unit and it works great: low costs, very comfortable. The only problem is increased dryness of the air.

But for a bigger place the setup is costly: you either need a couple units or a proper design, otherwise you'll end up with a only a portion of your home warm. Plus, AC units are still significantly more expensive than just a "trash-burner" type of furnace that is the most popular.

Electric heat should be the cheapest form. That would end a lot of air pollution that is a very serious health risk in Poland.

Re:After rising for 100 years, electricity demand is flat on Tuesday February 27, 2018 @01:04PM (#16476099)
I think demand is far greater than what is currently visible, but the price is still way to high.

I'd move to electric heat in a heartbeat, but it's 2-3 times more expensive than coal, natural gas or oil (those are the most popular choices in Poland). If the price was 1/3rd of current, tens of percent of all citizens would move to a different heat source, using a lot more energy than they do now.

So it's just a price problem. Make it cheaper (maybe renewables will) and the demand will come quickly.

Re:Will Electric Cars Slow the Adoption of Driverless Cars? on Saturday December 16, 2017 @09:58AM (#15939785)
I'm not sure. In a big city owning a car is a headache. Parking, insurance, traffic jams.

I would switch to a per-mile-rent if it was affordable. Electric, self driving cars will be cheaper than people.

Re:The FastMail Security Mindset on Tuesday December 05, 2017 @03:20PM (#15855421)
I had to send more than 500 emails / day. So i switched over to FastMail.

It works well, and i like having unlimited aliases that i can kill at any moment. But there's no way of disabling deleting messages. I wanted to be extra sure i wouldn't loose any messages and what support said was basically "just don't delete them and you are all set".

What is worse, they accept the default deleting of messages of some email clients. Gmail won't allow deleting from a POP email client, which is much saner in my view.

Re:Sometimes all a maintainer needs is a “thank you” on Saturday November 04, 2017 @02:04AM (#15624005)
I'm using ouicards[0] in my project (example: [1]). First thing i did was writing a 'thank you' email to the author. They saved me many hours and gave me a jump start with design, which is always the most difficult thing for me personally. I did change many parts, but it was a breeze.

Based on this work i maintain a basic gun knowledge course, which sees more than 5k trainees a year. Now in Poland a lot more people can pass the official exam (it has two parts: theory, taken care of by my course, and shooting, which requires additional classes at a gun range), since learning is faster, simpler and more thorough.

[0] https://github.com/carlsednaoui/ouicards

[1] https://patentstrzelecki.eu/testy/uobia-pozwolenie

You cannot cheat biology with feminism or education. Some things are impossible to change overnight, regardless of the social pressure or guilt.

Men are attracted to fit, young females. Maybe because women in the past tended to pick not the youngest but the most powerful (in this particular social circle?). Thus humans learned that both parties are ok with age difference.

It seems a bit gross, a 70yo with a 25yo girl. It happens less often now (a wild guess), so maybe social pressure helps a little bit. But i believe that men still prefer fitness over education in women. Not 100% of the time, not in edge cases, but in general. Even in the press, a guy is more often smart, funny, successful and a girl is beautiful, elegant, and so on. Not always, but more often than not.

Re:Serving 100 Gbps from an Open Connect Appliance on Saturday September 30, 2017 @02:22AM (#15371539)
God, i love human ingenuity. You are real engineers. I only have experience doing real high level stuff -- the easy parts, so i didn't follow most of the text. It's impressive that there are people who understand the boxes we all take for granted and can fine tune them.

It's also awesome how it all isn't a huge, inexplicable mess. I cannot make a CRUD php app without dirty hacks, you mess with 40 years of programming effort by thousands of people and it still behaves sanely.

When the AI comes, will it appreciate how hard we tried? I sure hope so.

Sorry for being off topic. IT is great and it's stuff like this that reminds me of it.

Re:As Electric Motors Impove, More Things Are Being Electrified on Sunday September 17, 2017 @02:10AM (#15268442)
Well, i can see a point in continuous R&D. Maybe they could improve something else beside efficiency? Like size, weight, cost?

Let them study all the things!

Re:Why Dropbox decided to build its own infrastructure and network on Saturday September 16, 2017 @06:15AM (#15263921)
Dropbox is cool and all, but i hate their pricing model. I just want to keep about 50-100 GB there (i don't hoard stuff). I don't wanna pay $10 / month for that. At backblaze i pay less than $0.5 / month. I could pay quadruple, since Dropbox is a lot better service (and quite a different one, too). But not 20 times as much.

I know that Dropbox doesn't care about my tiny dollars and all. But why not let customers pay for what they use? This "constant growth" bullshit is probably the reason they don't care.

Or rather "probably not, but now you'll never know for sure"
Re:How Do We Solve America’s Oversupply of Bread? on Saturday September 02, 2017 @12:59PM (#15157009)
Sorry, but American bread (at least on West Coast) is really bad. Maybe you can find something edible somewhere, but most of the shops carry only the worst of worst IMO. In Europe (not including UK) the quality is like night and day. I've noticed bread getting worse as it's produced in bigger batches since couple of years, but american stuff is in its own category of bad.

I hear that East coast has more european style (of cities, buildings and cuisine), so maybe it's better there. OTH, perhaps just missed all the good bakeries.

Re:Insane state of today's advertising part 3 on Friday September 01, 2017 @02:55AM (#15146676)
Why isn't it? I'm sure Google can make well behaved ads that bring them lots of money. Implementing this would make it even harder for any competition to get a foothold into the market.

Now a google ad is treated (by customers with adblock) the same way as the most shitty ads = gets blocked. Maybe if chrome blocked the worst kinds on its own, less people would use adblockers in general.

Ad blocking is not a hobby. It's a must nowadays. Google needs to step in or face the possibility of 80% of users adblocking. And when you install Ublock you don't pick and choose only "light" filters. You go all the way, to zero ads. Mozilla should have bundled an adblock with firefox ages ago. They could start with blocking only the worst ads. That would be some pressure on the market.

Re:Inside Waymo's Secret World for Training Self-Driving Cars on Thursday August 24, 2017 @02:45AM (#15088132)
There arent that many novel scenarios on the road. Sure, Google can't program around the possibility of an airplane falling down on you, but how often does that happen?

It doesn't have to be perfect. Just very good and improving. Some time ago google shared a gif of a wheelchair chasing a duck in the middle of the road. The car didn't understand it, so it just stopped. Good enough for me.

Obviously, they have a lot of work ahead of them, but don't be so pessimistic. Most people drive shitty (myself included), we aren't impossible to improve upon.

I'm guessing that's the reason they are doing a moon mission. Have to give them hope, have to jump start the economy. Can't saw trousers for eternity, can they?

Educated people will continue fleeing if nothing is done to keep them in. You cannot solve homelessness by giving out houses, jobs are the biggest help.

Re:Exploring strategies to decarbonize electricity on Friday August 11, 2017 @03:13AM (#14987311)
Google could invest a bit more money in R&D. They sit on awesome pile of money and yet aren't a significant player in energy. Why? Not smart enough? Don't think so.

Oh, i forgot. Google is here to make money. They might write some blog posts about CO2, but will not use their leverage to change things. That would damage the bottom line.

Why is it that all the big companies are 100% driven by short term profits? Maybe our understanding of capitalism isn't so great after all. We need more responsibility.

Re:Exploring strategies to decarbonize electricity on Friday August 11, 2017 @03:09AM (#14987294)
I think you forgot that while Americans can and should save (a megawatthour ISN'T, or at least shouldn't be the average per month per house, vide the article), the rest of the world is way, way behind.

Are you telling Indians or Africans that they cannot even have electric cooking? Coal stoves kill thousands each year. Remember, you guys only have like 5% of the population.

You can limit your consumption -- it is grotesque -- but much of the rest of the world don't even have one lightbulb.

Re:Amazon Hub on Friday July 28, 2017 @04:29AM (#14872832)
Cheers from another happy "Paczkomat" customer. When i shop online (and i do it a lot) i try to choose sellers who provide "paczkomat" [0] as a mailing option. A bit cheaper, much more convenient and never have to wait or chase the delivery man. Such a good idea, and they aren't even at my doorstep, but further into the city. You can choose where you want your parcel delivered so it's not hard to pick one on your daily route.

It should be everywhere, but i guess in the states population density is too low in many places.

[0] https://blog.sote.pl/wp-content/uploads/Paczkomat-InPost.jpg

Re:AWS is having widespread issues on Thursday July 27, 2017 @12:29PM (#14866834)
Right now it seems that my $1/month shared hosting has less downtime than AWS this year.
I like how the reporter speaks Chinese. Usually it's english only, which i suppose is translated off screen for the local being interviewed.

I don't watch much BBC so i don't know if that changed lately. It's a change for the better imo.

Minus the time to do it yourself? 20 minutes @ $40/hour * 52 weeks ~ $700 year.
Re:Close-Up View of DNA Replication on Thursday June 22, 2017 @04:24PM (#14615047)
Dude, that was awesome. Thanks a lot!

I haven't had a book this good in some weeks. Cheers!

Re:Writing a Unix Shell on Monday May 29, 2017 @04:17PM (#14441184)
Yeah, but why? Pipes are NEVER a performance issue for me. Maybe you have some very tricky use cases, but for 99.95% of users it doesn't matter.

Almost always you'll loose more time on I/O than on pipe processing.

Not so sure about phones being status symbols. Maybe in some circles, but i have trouble telling brands, models and makes. Smartphones look very alike, small black, no buttons, the same layout.

It's easier to spot the difference when somebody is actively using their device. But its not obvious. I think that vast majority of the population have no clue which model is "the hottest". Maybe geeks, maybe Apple fans.

To me it looks as we all have the same phones, using them the same ways.

Re:Spotify is gaining leverage over record labels on Sunday March 19, 2017 @04:08AM (#13905910)
Spotify is the only content provider i pay for gladly, due to their Family accounts and Discover Weekly.

I listen to music 5-6h a day now, all for dirt cheap (less than $2/month/person). I wish somebody would do the same for video content. Right now you have to subscribe to many different providers to get all the good content. So pirating is still more convenient and i still download rather than just pay a small, fixed amount.

Well, maybe music is just cheaper to make and easier to sell as a bundle.

Re:The Brilliance of Dwarf Fortress (2011) on Tuesday February 28, 2017 @12:34PM (#13755557)
yeah, i loved Majesty. You couldn't force anybody to do anything. That way it was more chaotic.

Many times you could have won quickly if only the units obeyed. But they didn't ;)

Re:My Interview at Uber on Monday February 20, 2017 @07:27AM (#13686684)
That seems like a silly perspective. Can't handle even reasonable criticism? Maybe you're the problem.

America has this huge ego, where some of you guys feel "the best". It's a third world country, seriously. Don't like how you roll and won't come back, once was enough.

It's your problem, so maybe try relaxing and listen to advice if it's sensible.

Older »