Hacker Newsnew | past | comments | ask | show | jobs | submit | blinky1456's commentslogin

I was wondering if it is sand, can it be liquefied using vibration around the hull to help loosen it? Something like what they use to vibrate concrete while pouring it. https://www.youtube.com/watch?v=tV4sTbpa7Hc


I guess Sony makes a lot of other hardware products already, maybe that experience gives them an edge over Microsoft.


I think purely from an industrial design point of view, Microsoft’s entire Surface line (laptop, tablet, headphones etc.) are all very intricately designed.


Why does it matter if you plug 15amp device into a 25amp oulet? Surely It will only use 15amps unless it short circuits?


It matters if it short circuits, yes. (Electricians, I hope I got this right enough to convey the 'why'; I know it won't be perfect.)

The outlet plugs specify the circuit breaker limit. Most consumer electronics in the US use a 15amp plug, which can be plugged into a 15amp outlet or a 20amp outlet — but no higher, due to physical incompatibilities in the outlet design.

The electronics that use the 15amp or 20amp plugs are therefore built not only to draw no more than the amps rated by their plugs, but also to self-destruct relatively safely if they draw the maximum amps available from the circuit breaker backing that plug.

So if a cheap device correctly assumes as part of its "don't explode" protections that it will never receive more than 20amps due to using a 15-or-20 amp plug, and then it short circuits while plugged into a 25 amp circuit using an adapter, it could very well explode, because the basic guarantees of electrical safety were violated. The plug used guaranteed it would never receive more than 20amp, and now it's receiving 25!

This is especially relevant when you're considering how to make use of an idle 30A dryer outlet in a garage. If you just plug an adapter into it, and your device short circuits, it will explode even more violently. Risk of harm increases with outlet power.

There exist fancy "breaker box" adapters that have a 30A plug on one side, a fuse box with a 15A or 20A fuse in the middle, and a 15A outlet on the other side for you to use. It's not really an adapter at that point, but the presence of that 15A/20A fuse provides the missing piece of protection for your 15A/20A device that a plain adapter wouldn't have.

So in summary, the only way to safely use a 15amp device on an outlet that delivers power higher than 15-20A is to somehow inline a 15-20A breaker between the device and the outlet (or, to rewire the outlet and its power feed to 15-20A).

TL;DR: Hire a licensed electrician to tell you what your options are and decide how much you care to spend and whether you want to make permanent modifications to get the job done.


This isn't really correct though and gives a false sense of security. The house breakers are sized for the wires in the wall, not the device plugged in. Those should have their own internal fuses to protect themselves.

Most lamp cords are only sized 100ish Watts or ~ 1A with the bulb being the only fuse. If these somehow pulled 15A for any amount of time the wire would quickly get smoking hot but you still plug them into a 15A plug.

Devices are supposed to protect themselves. Most 15A devices will cause fires if they actually pull 15A for any amount of time. If you try to use a a small extension cord on your space heater, you will soon be smelling burnt plastic while never getting over 15A draw. That is part of why these are such a fire hazard.

Alos in the US a 20A socket is designed to allow a 15A plug to work in it, But not the opposite way as that would cause issues in the wall.


Right, it's even more complicated. Such breakers also don't trigger at specified current exactly. They have two breakers inside of them, one for overload protection triggering once it heats up, could be an hour for 2x current if starts cold, and one for short circuit protection triggering in less than a second, but on 3x+, 5x+ currents, etc. So a 15A breaker, a 15A outlet and a cable for 15A all could easily see 30A of current for some periods of time and heat up.


I actually used to calibrate and QC high end breakers for a well know company who's name is a letter and a shape. To pass QC the breakers would need to heat trip when run at 135% Amps between roughly 20-45 minutes. Both too fast and too slow were a failure.

The actual range was a bit different by Ampage which I never quite understood.


Any device that becomes significantly more dangerous when the breaker trips at 25 instead of 20 amps is relying on way too thin of a safety margin and I would consider it a lurking hazard on any circuit.


That is not how safety margins work. Safety margins are meant to give a buffer for unforeseen circumstances, they are not a ticket to just cheat. With this logic... why stop at a 25A breaker (30 in the US)? Why not just plug a 20A device into a 100A breaker, or no breaker at all?

No safety margin can account for purposeful circumvention, which is what connecting a 15/20A outlet to a 30A circuit is.


You see no difference between 20 vs. 25 amps and 20 vs. 100?

I didn't say any difference was unacceptable, but a significant difference for 20/25 should not be accepted.

If the danger gets gradually worse for every 5 amps on the fuse, that's fine. Then the excess danger at 25 or 30 amps is only a tiny fraction of the excess danger at 100 amps. Good work.

If the danger has a sudden sharp increase at a certain amperage, then that amperage threshold needs to be further away than a mere 20/25 difference. Or even 20/30.


I wonder if it is possible to make a simple version to run entirely in the frontend, for short clips?

You can capture video and download it from canvas: https://developers.google.com/web/updates/2016/10/capture-st...

And it looks possible to add separate audio to it: https://stackoverflow.com/questions/39302814/mediastream-cap....

You could also recreate the waveforms and add to the canvas: https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...,

Not widely supported, but you could try to add speech recognition too https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_...


Probably possible, but what would be the advantage? I know for instance using something like Google Speech to Text API is a lot more accurate than Web Speech API.


The advantage is reduced server costs + more efficient use of computing resources in general. I personally am always happy to offload processing to the client side wherever possible.


For the user?


That seems a bit much. Not great when you have to go through the process everytime you update your site. Or more likely, you will forget you implemented this & also how you did it in the first place..


It's unlikely you start writing Hebrew or Greek someday.

And even so, that minification can be automated.


You mean the element is moved offscreen, and has display: none; applied? And now you want to move it onscreen.

Do it entirely css. if you use a have a keyframe animation applied and remove display:none on clicking. The animation will fire immediately. Unlike trying to transition it without using keyframes.

example: https://jsfiddle.net/mr029o7h/ (sorry if its a bit messy haven't done this for a while)


I have noticed these malicious chrome install rediects have odd behaviour, sometimes they trigger sometimes they don't.

The often only trigger once, when you visit it. And that's it.

I think it is to make it harder for people to report it, as it does not always pop up/redirect. 'maybe it is just your machine, seems ok on my end'


Requiring physical access to the keyboard by the attacker first, makes this less impactful.

With physical access the they keyboard/computer, they could plant any other number of devices/bugs or extract information.


Once you are at physical access, you can go to town. Optical surveillance and even recording the sound of the keys being stroked to calibrate[0] an acoustic cryptoanalysis algorithm.[1]

[0] https://www.schneier.com/blog/archives/2005/09/snooping_on_t... [new algorithms require less time]

[1]https://en.wikipedia.org/wiki/Acoustic_cryptanalysis


Physical access road wireless keyboard, even if the system is physically secured is different. Typing some characters and recording the traffic, on a logged out computer, that totally possible and a lot less suspicious.


In javascript you can use an object, and then use destructuring to automatically convert the properties into local variables within the function.

Which is super useful and easy to read.

getUserMessag({userId:1234, retriveFullMessage:true})

https://codeburst.io/es6-destructuring-the-complete-guide-7f...


I disagree, It is a free image hosting platform for sharing images. There is nothing wrong with linking to it.

If you upload or want to share what is on the platform, they would prefer if you link it that way, as is their right.

It is a business after all. And If people want to hotlink directly to an image they should pay up and host it themselves.


I don’t disagree that if people want to be able to hot-link images they should pay for the hosting themselves (It’s something I do myself - instead of replying on imgur I just pay to host the files on S3).

I just find it amusing that imgur was born out of being a better image host then the competition as linking to images on reddit at the time sucked, and now (IMO) has turned to “the dark side” and are doing the things that made the competition so crappy to start with.

I’m not saying they shouldn’t show ads but I’ve seen and reported countless bad ads on the site (forced redirects away from the site, unannounced “would you like to open the App Store” dialogs. APKs just auto downloading. Seemed at the time they or their ad network would accept any old crap of an advert (this was a quite a while ago, hopefully they are more choosing about the ads they run).

Also their UI is a pain in the arse (IMO) on mobile Safari it’s a pain in the arse to pinch and zoom (not that it will do any good as the image on mobile UI has been resized) and getting to the full sized image is another pain in the arse. For images like above it makes it impossible to read. They said look at the force applied but the wording on the scale is just a blur making the graph hard to understand.

It’s their site and they can do what they like with it. I just find it amusing that (IMO) they have become what they hated. At least they managed to include reddit style communities/comments before reddit started hosting images themselves.


> they have become what they hated

I think that's the fate of all image hosts: current offerings have a lot of (crappy) ads to pay for hosting => competitors arrives, starts with less ads to incite onboarding => competitors gets a market share => competitors now has to turn a profit => add more ads (or ask money for hosting)


Thing is imgur was profitable (before reddit became its own image host, dunno what their status is these days, I just know there submission numbers dropped sharply after reddit did that, but maybe their own community was able to recover from that).

Back in the day you used to be able to pay to upgrade your imgur account to allow larger file uploads (which was great for gifs), disable the ads you saw site wide and disable the ads people saw coming to your submissions. I guess the Rev they were generating off ads back in 2015 was out stripping the Rev generated from Pro accounts (esp with the ability to prevent ads on your submissions. If you were a imgur pro user you were either trying to support that platform or was a power user and getting a fair few visits to your submissions) because that’s when they they dropped them and they were reporting as profitable back then. Which is odd (to me) because it’s been since then that the service (IMO) has gotten worse. To me they had a winning formula and the user base to make it work but fucked it up (or not, they are still around today. So maybe they did the right thing, I’m just an old grumpy user who doesn’t like change. Now get off my lawn, I have clouds to shout at...)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: