skysight-inc/HackerNews huggingface dataset:
CO2 lasers aren't great for many metals due to wavelength issues. Waterjets create essentially no heat affected zone. As an example, I've cut two inch thick black granite with a waterjet, and I'm not sure a CO2 laser would do more than scuff it. Silver seems to just reflect infrared lasers like a mirror. Some plastics make nasty fumes in a laser, but cut fine with water.
When both technologies were in their earlier years, I would have taken a waterjet over a laser for most industrial uses. Now I think I'd lean more towards a fiber laser. I'm not sure how much more innovation there is left in the waterjet realm, but lasers seem to be continuing to get better.
Simple DNS Redirection Attack Reference
Python that looks like C? It's not a thing, I just made it up. A subset of Python that is not too painful to rewrite in C. No classes, I use namedtuples as structs, etc.

I'm not sure it's a sane thing to do, arguably I should just write the thing in C in the first place, but I have more experience with Python so it's still easier to me.
Can 'Synthetic Inertia' from Wind Turbines Stabilize Grids?
Chamatkari Joota – Motu Patlu in Hindi
If you refuse to accept the notion that anyone can be neutral, even if they want to, that's not just a case of incentives. It would happen, even if there were explicit policies to prevent it.

Clearly this action is being taken because people don't like who and which party got elected, and of course that must have happened because of "lies". So clearly it's now OK. Unfortunately what's going to happen is exactly what you fear : the republicans/Trump control congress, the Senate and the presidency. They can do a lot to bend these sorts of rules their way, and of course this puts them in a corner with a gun aimed at their head. Of course they will react.

So how do we get non-free press in America ? Well bay area overwhelmingly democratic private sector companies introduce it, in reaction to losing an election, to thunderous applause.
That's a valid point. I guess I am just hoping that viewing and sharing fake news is also socially unacceptable. Kinda like how you should be ashamed of telling people you got your stock picks from a palm reader or something like that.
You could have done the same and given him a nice GUI in the process using lazarus.

To install a cross-compiler on mac:

$ fink install fpc-cross-i386-win32
> Add the dependencies...

Nope. The beauty of a decent systems scripting language is that it includes everything you need (and ideally is already installed everywhere).
https://m.youtube.com/watch?v=zKuFu19LgZA
A president-elect exists having soundly lost the popular vote.

Soundly? A plurality, yes. Soundly seems like an exaggeration. What to you justifies the use of soundly?

Over half the voting population is begging the electoral college to be faithless.

Are you saying all (or nearly) who voted against Trump are in support of faithless electors?

I agree the voting population is split and there's a lot of dissatisfaction (to put it mildly). This sounds like hyperbole to me, which makes you sound like you're misrepresenting the facts, which plays right into the narrative that those against Trump are out of touch.
Shazam doesn't "always run". Don't want Shazam running? Simply quit Shazam. The on/off setting in dispute is an option within Shazam itself.
> Genius: Uh, no, we need it unlocked.

Tell them you are okay with them not being able to run diagnostics on completing the repair; yes, you understand this may leave the device badly calibrated. Don't waste time arguing; escalate until you get someone who will accept your locked phone.

I go through this every time I use Apple's Genius bar. Only once did I have to wipe, and that was with a Mac.
Python does not look like C. The first thing I can think of is using traditional loop counters instead of the for..in construct.
> Facebooks own apps are written in native code, IIRC.

They are written in React Native. See: https://facebook.github.io/react-native/showcase.html
Hey :) Thanks.

I don't think you'd encounter any legal issues. You're not using YouTube's API to retrieve anything. That said, it's pretty easy to imagine how they could neuter the product if it grew large enough. It'd go down similar to AdBlock vs ad-network. Both sides constantly adding/changing keys, challenge responses & answers, etc.
without a DOI there's nothing to discuss. these news briefs are not useful; we need the actual paper.
Installed and running. It it's easy to simply quit the app.
There's a difference between trusting Apple as a company and trusting random Apple retail employees. A rogue admin could try to extract user data from servers, but I expect Apple has at least some processes in place to prevent that. A rogue programmer could try to get malicious code shipping in an Apple OS or on their servers, but that would be risky and easy to get caught doing. On the other hand, a rogue retail employee given an unlocked phone would 'just' need to surreptitiously tap around a bit to copy data off. And they're paid a lot less anyway, which matters if your threat model isn't the NSA but random criminality.
How to Recover Deleted Data from Google Pixel
So it gives us the opinion of these students about some websites. Just having heuristics that essentially appeal to the authority of source prestige was a big problem of the election and not invented by Facebook although the invisible isolation it allows can exacerbate it a bit.
The Windows rename command doesn't support recursively processing subfolders, but it can be achieved using one line of powershell:

Get-ChildItem . -Recurse -Include *.cha | Rename-Item -NewName { $_.name -Replace '\.cha','.txt' }
Oh, lord, I hate to be That Guy, but it looks like Bogdan has included an older version of Gus Mueller's FMDB library <https://github.com/ccgus/fmdb> but has failed to include a copy of the MIT License that governs them. Probably just an oversight, but...
I heard stories about injuries you can get from high pressure leaks from hydraulics guys. By all accounts they absolutely horrifying. They would have their flesh detached from their bones and oil basically soaking into their flesh so that it becomes necrotic later on. Plus they're said not to hurt immediately, doesn't help with treatment. Makes me glad I don't work on hydraulics that's for sure.
What I'd love would be filtering features, which allow me to easily ignore certain series and cut down on updates I don't care about. Ideally with help to discover the right filter pattern, but regex would be fine for starters ;)
Let's all just agree to use Perl. It's just dynamic, functional, OOPy C isn't it?

J/K. I think this is an interesting problem in that its a sandbox for allocation and GC in pretty much any dynamic interpreter's implementation. My qualm is that it would be "easy" to tune for the test. Consider the difference between dynamic blocks of a small but fixed size, getting alloc'd/freed in an asynchronous way (a network stack?) versus a pool of variable byte length strings getting shuffled around (a key/value store?). Those are simple, but drastically different, strategies for your heap. There won't be a "best" answer besides the limits of your problem domain.
Amazon could have turned a profit far earlier, they just re-invested all of their revenue into growth.
"But the students show that algorithms can be built to determine within reasonable certainty which news is true and which isn't" I know this is a puff piece and not real news (ugh ironic) but this is so overstated...
No they're saying arbitrary code execution on the phone would be insecure, perhaps in a slight misunderstanding of what the article suggests, but true nonetheless.

I too am wary of a diagnostic partition/back door as an answer to this conundrum as it seems like it just introduces another vector for attack. We can say "just make it secure" or "don't give it access to do malicious stuff, but the nature of jailbreaks on the iPhone rely on bugs in otherwise innocent functions. Jailbreaks are just exploiting the phone security.

The author seems to be of the opinion that there should be a hardware test that doesn't require actual access to the phone, which is probably true -- they likely could just swap the speaker in this case and call it a day. But many of the hardware components are integrated on the iPhone and I'm not sure there's value in a dedicated speaker test device or a limited hardware test device like that. Similarly, quality testing afterwards would best be done before handing it back to the customer; it's pretty lousy service to hand back a fixed device for it to just not work again, and at some point to ensure that you've solved the problem you need to get into the phone.

I don't know what the full answer is here since the core problem seems to be Troy doesn't trust Apple. As others have said, you give up your car keys when you get your car repaired. You let the plumber into the house. At some point trust has to be there and people need to be held accountable for violating that trust. Geeksquad violated that trust without real penalties multiple times, so it's a legit fear. But Troy seems really intent on distrusting Apple -- that's fine, but he needs to realize how that's in direct conflict with how support works. Does he insist the same security on his car? (Ie, no keys for the mechanic?).

As for a solution, maybe an iPhone onsite imaging tool, some small microboard attached to a raid box that quickly pulls an encrypted image and stores it temporarily on site. The tech can test it on a vanilla and then restore for the client. I don't know if this would violate the iPhone security though being able to restore the image...
Gwen Ifill (PBS News Hour) dies at 61. A great loss for us all
Yes! that's the one. For some reason I just really remembered it and in my mind it summarizes what "media" has become.

It has always been this way, but I guess it has recently hit new lows.
I don't know about the author of the article, but personally I would be even more worried if I handed a locked phone over to a tech and they said "Oh, don't worry about giving us the unlock code - we have ways to get around that easily..."

The fact that tech guys cannot easily get into a locked iPhone actually gives me better peace of mind.

At the end of the day, as others have said - It's like handing over the house key to a tradesman, or your car key to a mechanic (I do both on a routine basis, once I have vetted the other party). End of the day, it is about making their job as easy as possible, and some semblance of trust is required if humanity is to keep moving forward.

I wonder what the author would say if he went to his employer or a client site to diagnose a network issue and they refused to give him any admin passwords. Sure you can diagnose a DNS or firewall issue without the domain admin password, but having it surely makes the job a LOT easier and quicker.
Unless you're willing to file suit in a federal court, I wouldn't risk a drone over others' property in many parts of the country.
Apple working on Google Glass-style AR glasses, says report
I think we're just used to the idea of CEOs earning multiple millions of dollars per year. So if you hear about a CEO who runs a grocery store with $100M in revenue, you would expect that he earns a lot more than $400K.

But you're right, $400K is quite a lot of money.
I don't think the author is really expecting people to go out and start uninstalling Python to do all their scripting in Rust. Seems to me like he saw this as an opportunity to show off the clap and glob crates, as well as write a little documentation for how to cross-compile Rust from Mac to Windows.
Google and Facebook Take Aim at Fake News Sites
Commercial licensing under part 107 is a couple of hundred bucks; a bit more if you go through a fancy training program. The requirement for a full scale pilots license was a stopgap that no longer applies. See https://www.faa.gov/news/fact_sheets/news_story.cfm?newsId=2...

That being said, this company looks as sketchy as all get out... fly random "jobs" and you "might" get paid? I get the business model - have people fly jobs and then try to sell the imagery but wow...
Yes, identifying the songs you listen to is the whole point of the app.
That hasn't been my experience at Apple at all. After the "has your phone been wet" interrogation, they've suggested that I wipe the device.
How to Use Bash History to Improve Your Command-Line Productivity
"Backup your data" is actually a requirement when you schedule appointment to the Genius Bar. It's written on the web page after confirming and if I recall correctly it's also written in the confirmation mail.

The OP said that he had the option to instant wipe his device and restore it back home. But he choose to buy a new iPhone for "convenience" because the process take time.

Last time I got my phone serviced (and ultimately replaced so I had to wipe). The Apple employee even let me backup to iCloud from the store wifi so I would'nt loose the last data of the day.

PS: It's totally the locksmith case, except that (in theory) even if they wanted to apple can't get into you phone without consent while the locksmith can lockpick.
The author explains that the intended target is Windows, which has neither Perl nor Python (nor even Bash) installed by default, so "already installed everywhere" is already off the table. At that point, since Rust can produce static binaries, it doesn't matter what deps you pull in.
"Also, Spotify is a major partner of Spotify"

Wow, really?
Wow, that is pretty epic.
Great job! Thanks very much for sharing!
Any app you have installed on your system could silently update itself to spy on you.
Actually I'm pretty sure DHL (Destroy, Hide & Lose) has a patent on that, so, not without paying royalties.
Sorry, I'm just not seeing the draw

"Sorry, but I'm just not interested in this motorized wagon you've invented. It's noisy and ugly. Could you please just go and invent me a faster horse instead?"
You're probably right, and that's the only way a VC will make any returns. But there's also a large group of us on HN who would be very content to bootstrap our own projects and retire with a relatively small amount of passive income.
The audio is buffered but not otherwise processed. I would not call buffering processing. The statement "not processed" in the context is reasonable.
Dear Democrats, Read This If You Don't Understand Why Trump Won
A malloc benchmark that doesn't measure multithreaded performance is worse than useless.
That's a minor detail. I'm talking about writing in a procedural style.

Rewriting a for..in as a for with counters is relatively trivial, compared to re-implementing a complex class hierarchy in C.

You can write procedural Python, and it will look kinda like C if you squint. Cython even lets you use C types directly, with a simple syntax. As I said, maybe not the sanest thing to do, everything is an object in Python so you can never really get away from it's object-oriented nature.
You simple cannot compare Deus Ex 3 and 4 with Deus Ex 1. Deus Ex 1 is a much different and better game, a lot of thought went into it, the player can do so much more it's not even funny. No other game with Deus Ex in the name comes even close. Play Deus Ex 1 first and come back later, though some may never get into DX1 because the graphics hasn't aged that well.
I appreciate Modi regime for their efforts to curb black money, though they failed to keep up their poll promises.

Before elections, we'll give OROP. After elections, we cannot do it;

Before elections, we'll clean GANGA. After elections, we cannot do it;

Before elections, we'll catch DAWOOD. After elections, we cannot do it;

Before elections, we'll solve KASHMIR. After elections, we cannot do it;

Before elections, we'll bring KOHINOOR. After elections, we cannot do it;

Before elections, we'll prosecute VADRA. After elections, we cannot do it;

Before elections, we'll prosecute DIKSHIT. After elections, we cannot do it;

Before elections, we'll build RAM-MANDIR. After elections, we cannot do it;

Before elections, we'll scrap ARTICLE370. After elections, we cannot do it;

Before elections, we'll end DYNASTY politics. After elections, we cannot do it;

Before elections, we'll create VIDARBHA state. After elections, we cannot do it;

Before elections, we'll give special STATUS to AP. After elections, we cannot do it;

Before elections, we'll disclose NETAJI documents. After elections, we cannot do it;

Before elections, we'll bring COMMON-CIVIL-CODE. After elections, we cannot do it;

Before elections, we'll DEPOSIT 15 lakhs in your a/c. After elections, we cannot do it;

Before elections, we'll prosecute SIKH-RIOT culprits. After elections, we cannot do it;

Before elections, we'll bring BLACK-MONEY in 100 days. After elections, we cannot do it;

Before elections, we're the HONEST. After elections, 50% Ministers have CRIMINAL cases;
Funny, he doesn't care it's full unlocked iPhone backups being uploaded to Apple servers and freely accessible. It's not like there is full iMessages, iPhotos and other App Data in it!
Heroku isn't a competitor to AWS, AFAIK. They're a partner.
It is a problem if it's not properly documented. This system will probably outlast their time at that company, so the next poor shmuck is left to figure out what that program is doing.
Some cities embrace neighborhood funded programs, for example, in Sacramento, CA:

If your street qualifies for speed lumps, but has not been funded by the City, you may pay for installation yourself. The cost will include design, construction and inspection of the City, speed lumps. Your street must meet all qualifications including two-thirds majority approval through the ballot process. Your neighborhood must have the funding and obtain approval from the Department of Transportation before speed lumps may be installed. The cost of a speed lump and associated signage is approximately $3,000.

http://www.cityofsacramento.org/Public-Works/Transportation/...
They should be easy to xray.
>Is the equation y=3x+2 equal to y-2=3x?

Sorry, had to be pedantic. These equations are not equal under usual mathematical and logical definitions of equality applied to equations. They do possibly express the similar relationships between the variables.

But I agree with your general point. "Equals" has different definitions in different contexts.
For folks who want to do Bash-style shellouts and pipelines from Rust code, I'm working on a library to make it easier: https://github.com/oconnor663/duct.rs
Suppose I submitted this story with the following headline:

"Microsoft MVP has problems with Apple's security policies"

The article is actually a good read. I think the message needs to reach everyone - although I am sure the irony is not lost on the people with slightly longish memories about Microsoft's security track record till very recently.

In any case, I am sure someone would come in and change the headline and ask me to cut down the hyperbole and focus on the message.

This exact response needs to be sent to bloggers who write these click-baity headlines. The fact that some of them are experts who do know what they are talking about actually makes it more cringe-inducing, not less.

Oh, and no, the developed countries do not make up the entire human race (even if people in insular Australia might sometimes think so - see what I did there?), and many many people in the rest of the world don't even have Apple devices.
Phone calls will become challenging.
Own? No. But, law is fairly clear that an owner is entitled to freedom from excessive noise and passage by airborne carriers. If an aircraft is in flight so low that it is unreasonably disturbing to the landowner, the aircraft could be held liable for trespassing on your property.
Careful, you might need to preface that comment with a trigger warning otherwise you could inadvertently cause discomfort to someone lol....
Just give me a clean and simple way to sort my subscribed channels into groups, but also being able to group by title - some channels post a bunch of varied stuff all on the same channel and I find it annoying to keep track of the specific things I care about.
Found a job listing on who is hiring. Was the only way I could find one in my "branch" of tech. Was glad that I applied, and finally got the job.

The whole experience was really amazing.

Thank you HN.
I wonder where you live where drivers will just sit patiently behind a double parked vehicle rather than just swerving into the opposing lane to pass it?

There are few places in SF where a car can pass a vehicle that's half in the car lane and half in the bike lane where the car couldn't also pass if the illegally parked vehicle was completely in the car lane.
So is black metal music racist? Give me a break, people have associated black with evil things such as monsters stalking the night, plague, and death for 3000 years and probably before it. You are paranoid and overreacting. You're projecting your own racial insecurities onto the world where there simply is none, especially in this case.
The traffic is encrypted from relay to relay and end to end.

You can theoretically prove that someone used Tor and perhaps prove that they connected to a certain Hidden Service, but proving that they actually did something illegal (rather than just curiously browsing) is not easy to prove.

Also, I think that each relay is unaware of their order in the flow, so the other connected nodes could be a Hidden Service, a Tor client, or just another relay.
Using Vault with MySQL
Bunch of neoliberal capitalist drivel. The "invisible hand" has been bitch slapping the working and poor since Reagan and this yahoo thinks immigration and economy are separate issues. immigration is loved by fat corporations becuase they can avoid paying workers equitably. the poor nationalists know this.

the corporate powers are going to try everything to disconnect class from the consciousness of workers and poor. they'll do anything.
> These equations are not equal under usual mathematical and logical definitions of equality applied to equations. They do possibly express the similar relationships between the variables.

Could you elaborate? The second sentence in particular surprises me - don't these necessarily express exactly the same relationship between the variables?
How old are we talking about? That sort of shit hasn't been happening for ages.
Because holographic encoding is a particular type of non-sparse encoding and redundancy. "Holographic" really is the most descriptive way I can think to describe it without using many more words.

Redundancy can be achieved through multiple independent systems, e.g. repeating the encoded text in multiple locations; such an approach is not holographic, though. Parity is a more holographic encoding scheme in that redundancy comes from the interaction of multiple pieces of encoded text.

The term is even more applicable when talking about convolutional neural networks in which every neural node significantly contributes to every encoding. Here the similarity to optical holograms becomes quite apparent.
Scala slack channel
Scala slack channel to discuss lift, play, akka, spray - https://slackscala.herokuapp.com. Will be discussing better ways to parse json using implicits, neophyte guide and many more. Your invite - https://slackscala.herokuapp.com