News for hackers. Stuff that matters.

sevenproxies

Another example is Java's java.util.Map.of. It's a convenient method to construct a map in a single statement.

https://docs.oracle.com/en/java/javase/11/docs/api/java.base...

Re:Winamp source code leak on Monday November 29, 2021 @01:47PM (#29383549)
VLC doesn't have gapless audio playback.
A guide for reading this Twitter page.

1. Start at the bottom of the posts by the author (just above the "More Tweets" section).

2. Find the post that mentions q_rsqrt.

3. work you're way up the page, and though the "Show this thread" buttons to try and gleam some semi-chorological sense of context

Anyone got a better method?

Re:Apple Lightning on Thursday July 02, 2020 @04:53AM (#23711279)
I've damaged two magsafe connectors in the last two years. The rubbery plastic protection near the charge point (with the orange/green LED) splits. Then it's super easy to make worse since the split ends catch on things. Like https://i.imgur.com/l2uS8pv.jpg.

I'm pretty sure it's from heat damage from the power. Not mechanical strain. The heat slowly weakens the rubber material to the point of failure.

Re:MySQL 5.7.6 is out on Tuesday March 10, 2015 @12:17PM (#9178534)
>why can't "select A,B from foo" be served directly from the index

mysql supports that with covering indexes.

https://books.google.co.uk/books?id=IagfgRiKWd4C&lpg=PA178&v...

Re:Kickstarter switches to Stripe on Tuesday January 06, 2015 @02:24PM (#8846372)
From what I'm aware, authorization times are subject to the issuing banks. Some are valid for up to 30 days.
Device fingerprinting is a big boon to fraud prevention. The more data sources that can help uniquely identify a device the better. I know some fraud prevention companies require merchants to include an image (png), javascript and flash file on the checkout pages to profile a customer. Flash can access your microphone, camera and local storage (flash cookies).

Fraud is a big deal for Paypal, although I'm do not know if such permissions are needed in device fingerprinting on apps.

Interestingly from a privacy point of view, more granular permissions to device features might not necessary equate to greater anonymity. If most device users do not care or know about the privacy implications and accept the app's permission request, those who don't accept become the minority.

Re:Show HN: Probabilistically Generating HN Post Titles on Thursday November 28, 2013 @02:51PM (#6816107)
>A Hacker's Replacement for Gmail users

http://dbpmail.net/essays/2013-06-29-hackers-replacement-for...

    Show HN: I spent 2 years ago. I had no idea what that means.
Re:PHP in a Tweet on Tuesday October 08, 2013 @03:57PM (#6517420)
In PHP

   array_sum([1, 2, 3, 4, 5]);
Re:Google Trends - Hot Searches on Sunday September 22, 2013 @08:13AM (#6426504)
The colours just look to iterate through Red, Yellow, Green, Blue for each search term per box.
Re:Government Digital Service Design Principles on Thursday June 20, 2013 @07:28AM (#5911400)
Related link about some of the technologies used on gov.uk.

http://digital.cabinetoffice.gov.uk/govuk-launch-colophon/

Re:Show HN: Morning, a minimal dashboard app for iPad on Tuesday June 18, 2013 @03:47PM (#5901556)
I hate not having any other comment to make but I think you would benefit from trying to optimise the size of the main banner image [1]. It's currently clocking in at just under 800KB, and loading it was like downloading an image on dial-up on my very reasonable 30Mbps. Even after reloading a few times it took me 16.8 seconds to download.

Good luck with your app and congratulations on shipping.

[1] http://images.tamper.io/morning/img/largebg.png

Re:Instagram Django site admin on Thursday June 13, 2013 @10:57AM (#5874364)
Simple browser-side CSS does the trick. I use Stylish[1] for Chromium. I believe there is also a Firefox version.

[1] - https://chrome.google.com/webstore/detail/stylish/fjnbnpbmke...

Re:Should you use Yes/No or Ok/Cancel on your message boxes? on Monday January 07, 2013 @03:26AM (#5020050)
In general aviation the term "takeoff/go-around" or "TOGA" is used, with the go-around phase used for aborting landings.
Re:More $99 HP Tablets on Friday December 09, 2011 @08:02AM (#3333539)
>and with HP still undecided on the fate of WebOS I’m not going to spend my money on a potential brick

This sounds like a misnomer. Can a device that is primary focused around web-browsers be considered a brick?

Re:I Don't Understand What Anyone Is Saying Anymore on Monday December 05, 2011 @02:26PM (#3316020)
Except I imagine like the author like meant using like out of like, you-know, thingie... context.

I live with someone who uses like far to often it's almost a speech impediment. Of course, he doesn't notice it and I'm learning to ignore it. However on the flip side, when I can't think of what I want to say next (and that is also often) I just go silent, frequently leaving my conversation partner puzzled and sometimes they ask to repeat what I said.

edit: grammar.

Re:Linus Torvalds creates G+ page for Linux release announcements on Wednesday November 09, 2011 @10:13AM (#3215730)
That is a typical troll post on 4chan /g/, quoting parts RMS
Re:iPhone 4S First Weekend Sales Top Four Million on Monday October 17, 2011 @10:24AM (#3120572)
>crazy slow speed

What is wrong with the iphone 3G?

Re:How I live on $7,000 per year on Saturday October 15, 2011 @06:09AM (#3114548)
>We buy a MacBook Pro each year and an iPad or iPhone each year as needed

I don't understand this. You could be saving you self at least ~$1,300 a year, all for what? A slightly improved OS or hardware you don't really need. I'm earning ~$20,000 a year, saving ~$900 a month and I still consider those purchases excessive. I almost purchased an iPad last month but once I really though about it, I realise it would have just been an impulse buy (most of my higher earning colleagues own Macbooks and iPads). Plus, the Amazon Fire was announced around that time, so I will wait for that to be released in the UK before looking at tablets again.

I use approximations as I live in England.

Re:Donatello, a pure CSS drawing library on Sunday October 09, 2011 @09:49AM (#3090441)
Its pure CSS in the same way most pure 'HTML5' demos are
Re:Oracle on why you shouldn't use NOSQL (PDF) on Monday October 03, 2011 @10:45AM (#3066473)
"As a result NoSQL databases may only have partial or no sql support."

Gee, thanks Oracle

Re:Stripe: instant payment processing for developers on Friday September 30, 2011 @04:06AM (#3056153)
Even living in the UK is frustrating some times. I wish more businesses advertise their operating limits on the home page. I got quite excited when looking at stripe, but only after looking half-way down their help & support page does it mention they are US only.
Re:A First Look at BankSimple on Wednesday September 21, 2011 @12:42PM (#3022684)
I imagine this is a US only Bank?
Regarding the poor RSS readers on WebOS, I encountered this problem but found a good free one that supports Google feeds at https://github.com/deliciousmorsel/Feeds
Re:What everyone should know about the human eye on Friday July 22, 2011 @03:36PM (#2794886)
>shape of the lens of the eye is a function of three sets of muscles that can be trained/relaxed to help vision come back to 'normal'.

Didn't read your link but could this explain why programmers get poor eyesite as they frequently focus on close objects (monitors) and thus the three sets of muscles become accustom to focusing on close objects?

Re:Facebook's Three New Products on Wednesday July 06, 2011 @02:52PM (#2735338)
>Was I the only one using ICQ, MSN, Google Chat before Facebook came along

I don't know, was you the only person on that service and thus have no-one to talk to?

Re:How tech companies really work on Sunday July 03, 2011 @07:48PM (#2724905)
Thanks for that deep insight into how all tech companies work.
Re:Gcc compile error with 2GB of data on Thursday June 09, 2011 @10:02PM (#2639501)
Science is a blackbox. We make theories about the world we live in based upon the results of experiments. Richard Feynman commented method of thinking about science on one of his videos.

http://www.youtube.com/watch?v=o1dgrvlWML4

I doubt that there would be many albums that are not available at at least 256kbps from various file-sharing networks. A pirate would have to first search their favourite file sharing network anyway to get the music they then have to pay Apple to listen to.
I think the HTML5 and JS technology in Windows 8 is simply another software development framework and not meant to replace .net and friends. Perhaps Microsoft is looking to encourage the development of apps (in such a way that Apple has demonstrated with the App Store). .net will still be available for the larger and/or more involving programs. Remember, Windows is popular because of Microsoft's firm dedication to backwards compatibility (for better or worse).

Older »