News for hackers. Stuff that matters.

fullsailor

Re:TypeScript Is Surprisingly OK for Compilers on Friday August 18, 2023 @03:33PM (#37180937)
JS technically does have TCE (specified in ES6[1]), but only the JavaScriptCore runtime used by Safari/WebKit implements it[2].

[1]: https://webkit.org/blog/6240/ecmascript-6-proper-tail-calls-... [2]: https://kangax.github.io/compat-table/es6/#test-proper_tail_...

Re:Deleting an S3 Bucket Costs Money on Tuesday October 19, 2021 @11:09AM (#28918923)
LIST requests are priced by the 1000. And are priced the same at all storage classes. My estimate is that it would cost him $1 to click that button.

  2M LIST requests =  (2B objects / 1000 per LIST)
  $1 = (2M / 1000) × $0.005
At least that's my reading of the Pricing page for US East (Ohio).
I think you're right. I don't recall the specific equipment, we were visiting and only did a short training before. Now I've read more on it and I do feel (sheepishly) misinformed. The light may have been way less damaging than we were told. Thinking on it, I wouldn't have put it past the divemaster to troll us that way.

First, the kind of diving is more commonly referred to fluorescent diving and it doesn't use UV light, its blue (440-480nm) light. Second the filters were yellow light filters to remove the remaining light so that it didn't overwhelm the blue and you could see the fluorescence.

I'm a relatively newbie diver (only 80 dives), but there have been a few times where something unexpected or new happens that can send you into at least a mild panic. Recognizing this panic and how to recover is the critical thing.

A most recent example was on my last trip I tried UV-light diving, which is when you only use UV-light with a filter on your mask to protect your eyes. You get to see some incredible new things. The divemaster stressed how important the filter was to protect your eyes. During the dive the filter on my mask came off. As instructed, I immediately closed my eyes and Waited for the divemaster to notice and tap me to let me know they had switched back to white light and it was safe to reopen my eyes. That half minute felt like an eternity.

A number of unusual situations can trigger a panic. Primary regulator failure, your mask being knocked off, unexpected fauna behavior, becoming lost, losing your group or your buddy, unexpected currents. All of this is covered in the training/certification, but not all training is equal, adequate, or regularly revisited.

Re:Chrome is Not the Standard on Thursday December 21, 2017 @01:34PM (#15981502)
The Payment Request API is supported in the Safari Technical Preview and enabled by default since Release 44.

https://webkit.org/status/#feature-payment-request https://developer.apple.com/safari/technology-preview/releas...

Re:Buy a Sofa Online? Wayfair Is Counting on It on Monday October 16, 2017 @03:54PM (#15486156)
You don't necessarily need to disassemble and return it in the box. I bought and returned two bedside tables (HEMNES) recently. I only constructed the first and was unhappy with how it looked once it was in my room. They accepted the returns no questions asked.
Re:iOS Version Stats on Monday September 18, 2017 @01:24PM (#15277749)
iOS updates are available for everyone at the same time, but Apple does stagger the update notifications. So users that know an update is available can go to Settings and find it immediately, but notifications go out in stages after the release.
Re:GitHub was down on Monday July 31, 2017 @01:34PM (#14894164)
For 2017 calendar year.

good: ~99.50% major: ~0.04% minor: ~0.46%

There's 7 years of history on their status API. https://status.github.com/api/daily-summary.json

Re:Delivering Octicons with SVG on Monday February 22, 2016 @06:28PM (#11155216)
I expect that gzip would make the over the wire price for repeated icons insignificant.
Re:Is Apple Using Swift? on Monday January 18, 2016 @05:37PM (#10927525)
The "32 bit Runtime" is a misnomer. Its a difference between the modern and legacy runtime. iOS (and iPhoneOS) never supported the legacy runtime.

The name comes from it being the only runtime for 32 bit OSX apps.

https://developer.apple.com/library/mac/documentation/Cocoa/...

Re:Reflected hidden faces in photographs revealed in pupil on Friday December 27, 2013 @11:12AM (#6971154)
Not trying to legitimize what is obviously satire, but you could possibly uncrop a printed photo, if the original photo was online, and if it was indexed by Google. Reverse image search win.
Re:Origami - Design prototyping with Quartz Composer on Friday December 20, 2013 @05:35PM (#6944558)
Excited to try this out. I showed my designer your blog post on how you used Quartz Composer to sketch out your iOS app redesign. By itself, the Quartz Composer is pretty intimidating.

One nitpick, the .pkg isn't signed and Gatekeeper is blocking it from running.

Re:Moving forward on improving HTTP's security on Wednesday November 13, 2013 @11:19AM (#6726187)
IE on Windows XP and Android < 3 also do not support HTTP 2.0, so this would not affect them.
Re:GitHub: a case study in link maintenance and 404 pages on Friday October 04, 2013 @10:36AM (#6495581)
> GitHub uses the branch name; you can replace it with a changeset ID and it’ll work, but you’ll need to find a changeset ID.

You can press 'y' to expand the URL to its canonical form.

Re:So you're thinking of tracking your JS errors on Monday September 30, 2013 @04:34PM (#6472178)
What alternatives to JavaScript are there for browser-side scripting? Even things like CoffeeScript and Dart only translate into JavaScript and still use its runtime.

We just have to continue to improve the tooling.

Re:Sometimes a CSS color scraper comes in handy ... on Saturday February 04, 2012 @07:32PM (#3552833)
s/Opaque/Transparent
Re:Ruby Frameworks? Which one? Bye bye Rails. on Tuesday January 31, 2012 @12:30PM (#3534210)
Rails is a Rack application, so yes a Rails app could play host to more than one sub app. In fact this is such a good pattern, that Rails core added Rails Engines which do just but better.
Re:Misconceptions About iOS Multitasking on Tuesday January 03, 2012 @03:58AM (#3419091)
Even when you free RAM by force-quitting the app its not deleted, only marked as free.

I also don't think that unused RAM, (all 0s?) would use less power than used RAM.

Re:Scientists' proposed calendar synchronizes dates with days on Thursday December 29, 2011 @12:31AM (#3402661)
What would happen with birthdays that occur on days that were cut out of the new calendar? Jan 31, May 31, Jul 31, Aug 31, and Oct 31.

Also, that extra week business seems more confusing than leap years. "Every 5 or 6 years" seems indefinite.

Re:Apple posts WWDC2011 session videos on Thursday June 23, 2011 @08:30PM (#2690488)
"You need to use Safari to view this video." Grr.
Re:Speeding up Rails startup time on Monday June 06, 2011 @04:11PM (#2626364)
Not really for application specific images. However, vendor, lib, and engine images will be copied into public in production. Keeps you from manually having to keep somebody elses asset dependencies updated in your app.
Re:Speeding up Rails startup time on Saturday May 28, 2011 @08:17PM (#2595523)
I haven't tested this myself, but I can guess that they will load slower in development. In development asset requests go through the asset pipeline now instead of being directly served up through the HTTP server.