skysight-inc/HackerNews huggingface dataset:
> But im frustrated at how Americans have turned trade jobs (plumbing, auto work, electricians, linemen, pipefitters, etc...) into some kind of field that no kid can ever enter lest they be disowned.

I think the main reason is that you can easily find an office job where you won't be doing much other than showing up and participating in the office politics, that pays comparably to the jobs you offer.

Your salary constraints are obviously dictated by supply/demand (i.e. what others agree to work for and what the customers agree to pay for the repairs), so it's not really your fault, but I see the same trend in many industries - plenty of bullshit jobs pay more (or comparable) to the "real" jobs.

Frankly speaking, it spooks the hell out of me because it reminds me of the last decades of USSR before the big crash happened.
Seems like a minor bump in the road for a company as huge as Amazon. Barely news.
Advantages and Disadvantages of Cloud Computing in Healthcare
I meant cars, not all autos. Cars are 6.2 million. Musk said he’s trying to get to 6000 a week by the end of August and 10,000 a week in 2019. The demand is clearly there as are the profit margins even sans ev credit. I know he overestimates things a lot but that tells me they are seriously considering ramping up production. As the production and now delivery processes streamline, they can definitely hit 6000 by end of year and realistically hit 8000 by mid 2019.
Wow, how reckless! running partial commandline constructions on every keystroke..

The obvious thing to do is only run what's been typed so far on a trigger key like tab or something.
Why gamers use WASD to move
Sure. Forever is a long time. But don't confuse hardware with microprocessors. There aren't many fields, maybe not any, whee you see exponential growth in capability and exponential improvement in price sustained over decades.

Cars may be a good model here. But I would argue that current generation robots aren't Model T's. 1960'-era industrial robots were the Model T. Current generation KUKA's are 1950's Cadillacs. Cars of today aren't exponentially better than a 1955 Caddy. The period of rapid growth in robotics (on the hardware side) started a while ago, and it's probably approximately linear.

Robonaut is the Lunar Rover. It's awesome, but it isn't at all clear whether any of that tech addresses a commercial market.
7 reasons startups shouldn’t do their own PR
Is the flag always a message of “I think this should be taken down”. Maybe the person who flagged it was thinking “this has the potential to get toxic quickly, definitely something to monitor”...

Just playing devils advocate here.
If no one wants the job, then you're not paying enough or offering enough benefits. Period.

The fact that you name health insurance as a problem is a big enough warning sign.
why wouldn't you call it affordable? CMU has a $72k sticker price (which only 30% of students actually pay in full) and has an average financial aid award of $44k. if your parents are actually destitute, you will pay very little. the elite universities in america do not cost much more than a typical state school if you are poor.
right,beautiful,beautiful
nice framework
And I am telling you I wrote some more so you have to read it in it's whole not just that part.
Apple Just Killed The 'GrayKey' iPhone Passcode Hack
I believe that they are not mandatory.

First because articles like http://www.latimes.com/business/la-fi-musk-convertible-bonds... indicate that they are not. And also because the potential dilution indicated in the Tesla statement that I linked to shows zero dilution if the stock prices is not sufficient for them to convert.

But realizing the huge financial consequences for the company of having the stock price high does shed light on why Elon is so eager to push his stock price up. He would much rather pay in stock than cash.

Incidentally the LA Times article indicates that there is a lot more debt than just the issues I listed. That's a list of all of Tesla's convertible debt. But not all of it is convertible...
On cellular encryption (2013)
For me, it used to always be Perl5 (because I'm old, and it really used to be Perl4...)

These days - since I tend to need to share lots of my quick hacks and POCs with my much younger team, it's mostly Python2. (But I'm still not as fluent in Python, and occasionally it frustrates me enough that I go "Fuck it, I'm just gonna do this in Perl!" and reach for my old familiar toolset...)

I think Python is a pretty solid choice for an "available everywhere, high hack-it-up-ability, readily sharable, and with enough StackOverflow answers that you can copy/paste the first 85% of nearly anything you need to do" language.

(But Perl is still my first programming-language-love...)
> Note that this is a performance of approximately 470 picoseconds per sample. Modern computers are fast when running optimized code.

Or about half the time it takes a photon from your phone screen to hit your eyeball
From the linked paper:
Kahneman, D, and A Tversky. 1979. “Intuitive prediction: Biases and corrective procedures.”
TIMS Studies in Management Science 12, 313–27.
Python protocol buffers can use either a native or a C++ implementation. The latter is more than an order of magnitude faster. I'm wondering if they tried that. It doesn't solve the Ruby case, of course. Or JavaScript. gRPC can also use Flatbuffers, by the way.
This is an Oracle propaganda that coincides with Oracle OpenWorld and their push against AWS https://techcrunch.com/2018/10/24/oracles-larry-ellison-keep...
Delta Air Lines to ban straws on flights by 2019
For me it's mainly because I'm hopping around from database to database depending on the project and I can't keep everything in my head.

The more "best practices" I can automate the better since it reduces cognitive load on my poor noggin.
I wonder how long until companies start regarding customer data as a liability (and a risky one at that), rather than an asset.
>One massive advantage that I'm not sure most people realize quite yet is the Supercharger network. No manufacturer (other than Porsche talking about it recently) has actually built out chargers for their cars.

Its electric scooters rather than electric cars but Gogoro in Taiwan has built out a network of charging stations for the vehicles they sell. 810 "gostations" according to their website.

https://www.gogoro.com/smart-energy/
On the one hand, that's cool. Anything that makes a place kids have to go that is often scary and unpleasant nicer is good.

On the other hand...kids aren't always the most hygienic when it comes to handling thing. Is there any concern that sick kids leaving books might spread their sickness? Or are the kind of communicable sicknesses that kids get that send them to the doctor (as opposed to, say, the emergency room) the kind that don't really spread through casual sharing of objects, so it doesn't matter?
I'm sure you're aware that one of the "engineers from oil and gas companies" that I mentioned is Dr. Flannery, an author of the literal bible of computational numerical methods [1]. I'm sure you're aware that Monckton has no formal mathematical training and that his complaints against terrestrial climate models include the "fact" that they didn't predict warming on Pluto.

[1] https://en.wikipedia.org/wiki/Numerical_Recipes
Blind veteran kicked out of London restaurant, he supports Tommy Robinson
Yes. You encode true as λx.λy.x and false as λx.λy.y and then (if p then a else b) becomes just (p a b).

See https://en.wikipedia.org/wiki/Church_encoding#Church_Boolean.... That page also has encodings of pairs and lists.
>"how is the mass number defined?"

>"that's easy! we take the mass of one mole of atoms, and that's the mass number!"
Depends on the month and client and contract.

My friends and family rate has drifted down as low as $75 an hour recently, and I have gone as high as $400 an hour but it is uncommon.

I don't "work" that much and make just shy of 200k a year. I also round out the 40 hour weeks when I'm not billable by doing networking, marketing and tools development.
Strange that the government acts with zealous intervention and unconventional ideas to solve worker "shortages" but does essentially nothing to solve extreme housing costs and shortages.
Sounds like your use case is perfectly tailored for Tcl.

Runs everywhere, simple for the simple stuff, scales well to moderately complex tasks, integrates well with C, can write a web server in a dozen lines, made for embedding.
> but at least mgmt will have something appear in their search results when their own tech teams suggest a similar transition.

This is what Oracle wants, this is what Oracle gets.
Show HN: PureScript Pop – FRP with Behaviors and Events
Trump’s tapped phone may be the largest White House breach ever: former official
I think similarly important research would be to measure the health impact of these offices. We should make the business world visible/transparent and legally responsible of their impact on human societies.
When CEOs start getting jailed. CEOs are ultimately responsible. Especially if they are going to justify high salaries for themselves. Fines mean nothing.
Not citing sources is plagiarism, are you actually saying that it is the norm in computational linguistics to plagiarize? If so this is extremely worrying.
To my knowledge there are very few negative consequences, outside of the immediate and obvious ones like reputation, that actually occur when companies leak customer data. I suspect they won't regard keeping vast troves of customer data as a liability until that changes.
Why would you think only rich or lucky people can go to college in the US? With grants and student loans pretty much anyone can go to college that wants to. And at my local state university, where tuition is a mere $5k/year, lower income kids make up over 90% of the student body.

Yet my area has a gross shortage of skilled trade labor. Want an electrician, prepare to wait 6 months. Need concrete poured at your house? Zero chance of getting a legitimate contractor, you'll be hiring someone doing it illegally. And you'd better treat your plumber like your best friend and not grouch when they pad the bill by a couple of hours.
Your code only shows that

gen_sinwave(113.0)

calls

gen_sinwave(1113.0, 0.0, 0.1)

(which are the default arguments). It is usually better to use @code_llvm because the LLVM IR is typically easier to read.

julia> @code_llvm gen_sinwave(1113.0);

; Function gen_sinwave
; Location: REPL[2]:2
define nonnull %jl_value_t addrspace(10)*
@julia_gen_sinwave_345638059(double) {
top:
%1 = call nonnull %jl_value_t addrspace(10)* @julia_gen_sinwave_345638060(double %0, double 0.000000e+00, double 1.000000e-01)
ret %jl_value_t addrspace(10)* %1
}

However, defining

function gen_sinwave(freq, init=0.0, step=0.1)
data = collect(init:step:freq)
fin9_shaper.(data)
end

and looking at

@code_llvm gen_sinwave(1113.0, 0.0, 1.0)

we can see that there is a lot of auto-vectorization going on
I also once (and only once) had a positive experience with an open office.

At the first startup I worked at, the entire team of about 10 people sat in a ~700sqft "war room." Computers and desks lined two of the walls, whiteboards lined the other two walls. Open space in the middle. Everyone was in a technical role.

I was very junior at the time, but I learned a lot. I had the opportunity to listen to how the senior engineers discussed problems and the considerations they thought important. The writing and diagrams on the whiteboard were the reference for component interactions and process flow. The room was mostly quiet, except for technical discussion. It was easy to run end-to-end tests by simply talking to the person who owned the component at the other end of the stack. I learned a lot in that role.

We were a small team focused on the same product. Every issue any one person ran into was within the scope of concern of every other person in that room. I think it was an effective setup.
We've been using gRPC for a new web project and it has been a good experience so far. The codegen in JS is pretty verbose and can have touch ergonomics, but not the end of the world. We haven't ran into troubles with the type system, but we leverage OneOf's and Views a decent amount. The thing we don't have a great solution for right now is how to fetch referenced types efficiently (eg. stream of posts with users referenced by a foreign key), but we're not tackling that until performance of the resource fetches becomes a problem and evaluating whether to cache values client side or design a solution at the API layer.
My assumption is a bunch of "less critical" info on ~8m pasengers was accessed (phone numbers? names?), and then ~1m had passport or credit card numbers leaked, and they itemised the "more important" ones explicitly.

It doesn't make a lot of sense however I parse it, but that's the only thing that makes the numbers work.
Humanoids, in particular, have a lot of moving parts. The human arm has 7 degrees of freedom. The hand has something like 21. Legs, 7. Feet, somewhere between 3 and six. That's a lot of motors, gears, motor controller boards, joint angle sensors, force-torque sensors, etc. Humans have ubiquitous sensing. Tactile sensing of up to 1000 sensors per square inch of skin. Force sensing at every joint. High bandwidth, highly efficient actuators (muscles).

Humanoids are just extremely complicated systems with a lot of moving parts that require very high reliability, along with a metric ton of sensors and the wiring harness needed to support all of it.

For reference, a standard brushless DC motor that is reliable enough, strong enough, and precise enough for use in a robot will retail for around $1000. Just for the motor. And you need at least 30 of them, probably more.
Show HN: Crocs – Write regex using python code
I am using the HTTP Gateway and generating OpenAPI from that for type-safe access [1]. The downside is that this introduces an additional build step in your project.

The upside is supporting a JSON API and not requiring gPRC(-Web) for clients. Even for non-browser clients, GRPC tooling can still be a little heavy-weight to pull into your project compared to OpenAPI. On the other hand, not all languages have good OpenAPI integration.

But its also quite possible to use both.

[1] https://github.com/gogo/grpc-example
Hah, I also know someone who did this. To make it work well you need to downsize the number of dishes you have (even without two dishwashers this is worth it) and train everyone to never leave dishes in the sink.
I second this. It's pretty fucking out there.
Please. Save the moral judgement for events that happened after Edward Snowden. This happened 18 years ago. And judging his actions back then through the lens of what the NSA has done in recent history is very unfair.

Fast forward a year to 9/11, and the question would be, "What is the legal basis for not doing everything you can to help the NSA?"
Mortal Kombat 3 source code leaked
I really don't think my opinion is so complicated. Your reaction should depend a great deal on whether they were being straightforward (doubtful in your case) or malicious. In neither case will you get very far by trying to control their speech or acting indignant about it, but that doesn't mean the only alternative is accepting it.
Doing so will require regulation, and the current US government is against any/all regulation. So I'd say at least 2 more years of further 'data leak' bullshit until we have a real shot of doing something to motivate companies to treat customer data appropriately.
Is there anything about the Pixel 3 that doesn't suck?
To #3 - I had a lot of fun with my phone's voice assistant when it first came out, and consequently figured out how to get a lot of use out of it.

Then, fairly recently, I switched my phone's UI over to a new language I'm learning, and it pretty much killed it for me. This time around, I just can't be arsed to learn all the exact phrases I need to know to use anything more than headline features like checking the weather and texting without taking my phone out of my pocket.*

I think it's like text adventures. Decades ago, I could deal with all the crappy parser idiosyncrasies. But not anymore. Novelty can earn you a lot of patience.

* And even that gets annoying.

-- Hey, computer, is it going to rain?
-- ~BEEP~ It is not raining where you are at this exact minute.

20 minutes later, it starts raining.
An article about an article that cites no one.

Amazing display of journalistic integrity.
PNG format co-designer Glenn Randers-Pehrson has died
How does this compare to JSON-rpc or GraphQL or just using JSON to send custom messages over HTTP 1.1 or HTTP 2?
As someone who also drinks litres of tea every day while at work, I have never tried blending two different types of tea.

Do you blend them 50/50 or have you found a better ratio? (I'd assume you don't need much lapsang)
> No one is required to follow The Rule, to know The Rule, or even to think that The Rule is a good idea. The Founder of SQLite believes that anyone who follows The Rule will live a happier and more productive life, but individuals are free to dispute or ignore that advice if they wish.

It seemed strange at first that community members aren't required to follow the code of conduct, but I think it actually makes a lot of sense. The maintainers follow this set of rules so that this type of good conduct becomes the norm in the community since SQLite is a cathedral style project where most of the code changes come from the few (three?) core developers. It's more of "how you can expect to be treated" instead of "how you should treat others", which works better in this project than in others like Linux.
Of course, I know such people. They are called "anykeyers" in my country. And of course, they are not software developers or software engineers.

If they have no education/training adequate to their profession, they are just amateurs. I trained about few dozens of them during my career.

We have outsourcing industry in Ukraine, so "Software Developer" is well defined term here. Somebody cannot sit five years playing with Excel, or JS/HTML, or mobile apps and then pretend for Senior Developer salary. Inexperienced (junior) developers causes lots of problems to project and must be supervised by a senior developer. We work on tight budgets, so we have no time to play name games. If someone has "developer" in his title, he must meet expectations for his role. Otherwise, project will collapse and everyone will suffer.
Interesting how it’s always worded in a way that frames the negligent company as the victim instead of the customers whose data was exfiltrated: “Company X was attacked by hackers,” “Company Y was the victim of a data breach.” Its never: “Company Z failed to secure customers’ information.”
We're specifically talking about English third-person singular pronouns. Why do you think that is?
I love Daniel Suarez's pair: Daemon and FreedomTM.
1. That car massively outperformed its competition, the horse. It didn’t buck you off or startle, didn’t get sick and die, didn’t shit all over the roads. It was able to go faster, longer, and more comfortably than a horse. That sounds like the opposite of current robots, which tend to underperform their current competition, as the OP was trying to explain.

2. He also compared them to just people doing their housework. He also pointed out that this would be a toy for the wealthy, and we have to consider what they want. A friend of mine is half Filipino and very wealthy, and her relatives all have live-in maids. The maids cook, clean, do laundry, basic maintenance, and can even drive kids to school. They’re not particularly expensive either (compared to a robot) and you’d need quite a few different robots to accomplish all of those tasks.

Yes, robotics will improve, but I’m not seeing the horizon past which a single affordable robot can do everything from laundry to dusting for cobwebs. It goes back to the original point of the OP, which is that for people who could afford a robot, these are already solved problems and human labor is relatively cheap compared to half a million dollars of machine.
Same here.. may be due to late submission?
20,000 kilos fake beef confiscated in China
810 stations in Taiwan. While Tesla built a global network.
I believe there's a product, or at least a Kickstarter, to add a MagSafe-style dongle to a USB-C port.
So one of the many services the NSA offers to the US Government is reverse engineering. Do you really think that his software was so mysterious that they couldn't figure this out eventually?
So you're complaining about unskilled immigrants applying for your job opening, and apart from being unqualified for the job, they apparently can't even legally work in the USA anyway.

What about if you had skilled immigrants applying for the job? Say, some qualified mechanics, whether from Germany or China or Mexico?

The problem with America's immigration system (from an outsiders perspective) is that skilled immigration visas (i.e. H1B) are only worthwhile for high skill white collar jobs, and in particular for larger companies who can be bothered with the visa lottery.

I see no reason why skilled immigration for lower paying, but still skilled jobs, like auto mechanics shouldn't be possible. In most developed countries, they run a points system. If you want to move here to Australia and become an electrician or any other high demand job, it's relatively easy as long as you have a qualification, good health, and can speak English, and I think that's the way it should be. Obviously long term you should be trying to train more mechanics, but that's a 5-10 year process, and doesn't fix the problem that you're facing right now with a lack of mechanics.

It sounds like you have a bigger problem than simply a lack of qualified candidates. Do you have any unqualified Americans applying for your job? How little are you offering that European backpackers (who in my experience will work for a pittance) are asking three times what you're offering?
How to Find Code Examples of Smart Contracts Used in Production?
The tape is probably more easily represented as a lambda sending a number n to the content of the nth cell

initial_tape = λn. 0
read tape idx = tape idx
write tape idx x = λn. if n = idx then x else (tape n)
Safari beta allows websites to adapt theme to complement Mojave in Dark Mode
I remember reading a 5MB limit some place (ages ago) and I'm not able to find the reference at the time.

My team has been assuming that is true (for local,session)Storage and so far haven't been bitten.

Only occasionally have we even gotten close to that size. You can also shove loads of data in the DOM.

Edit: one of the old refs - 10MB

https://www.html5rocks.com/en/tutorials/offline/quota-resear...
> Hogg said no passwords were compromised in the breach and the company was contacting affected passengers to give them information on how to protect themselves.

Well that's good! My precious password that can be easily changed wasn't leaked!

> Cathay in a statement said accessed data includes names of passengers, their nationalities, dates of birth, telephone numbers, email and physical addresses, passport numbers, identity card numbers and historical travel information.

oh...
I encourage people to go to the crypto museum if they're in the area! It's really neat with all sorts of old cipher texts, old super computers (original Cray etc), and they have an Enigma machine that you can play with. The tour guides are knowledgeable and it's a worthwhile time.
There aren't many fields, maybe not any, whee you see exponential growth in capability and exponential improvement in price sustained over decades.

Obviously, the field where exponential growth is/was sustained over a significant period is chips/microprocessors. Miniaturization is well-know as the key to this.

Information processing so-far is all that has benefited here. But existence of biological organisms, constructed from cells existing on a tiny scale, shows that miniaturization could be applied to other functionalities. There's no reason to think we're near that now but the situation does invite us to imagine it in theory.