skysight-inc/HackerNews huggingface dataset:
Show HN: Automate your CHANGELOG.md and semver with conventional-changelog
No he's right parameterized queries are how you prevent SQL injection (imo, the only correct answer). Doing a stored procedure for an SQL one-liner is just bringing a world of pain.
"I mean, what's keeping anybody from getting their bitcoin wallet or miner on an app store?" That's the problem, nobody knows for sure if you can get any piece of software into the app store. I worked on an app that was in the app store for several years. During the last attempt to update, which did nothing but add new icons and startup screens for the new line of devices, the review team decided the app didn't do enough to warrant being it's own app and some more functionality should be added. I tried fighting it but eventually gave up. Now it still sits in the app store targeting iOS 7 and is still happily used, until someday Apple drops support for some deprecated bluetooth API.
iTunes has most movies and most of those movies are available to rent. New releases usually start as purchase only and become available for rent after a month or two. Star Wars is a special case and is not representative of "most".
Practical Monads for Scala Developers
How does Concordia compare to McGill? Those are the two main Anglophone universities, right?
Great advice. I've been developing software professionally for 27 years and bad managers and bad teams don't get better, despite your best efforts. They will just make you anxious and stall out your skills growth.
I find it a bit troubling that you list beautiful women as a plus of a city, as if women were a natural resource like trees or clean water.

I also don't know what you mean about Montreal not being edgy enough. There's plenty of counterculture in Montreal. Did you ever spend a lot of time in Hochelaga?

The language laws have a very good historical basis. Used to be that the bosses all spoke English and the employees all spoke French. That's the reason for the language laws, so that nobody in Montreal cannot access local jobs due to lack of French and that nobody is ever spoken down in English. Seeing how the linguistic majority is French, think of it more as affirmative action than racism. It's about levelling a historically unlevel playing field.
They probably have the effect of keeping other silly delivery ideas from launching. That's a good thing
What are the ethics around analysing the data here in aggregate form (not individual info).
True. Then the US has to lower its rates or the low tax company has to increase due to social unrest. We see this with China. The rising wealth of the writing class is causing party increases. So large that work us coming back to the US or to other south Asian countries.
... then I would fully expect that I can replace their software with that made by others. Then feel free to make a business decision that part of the original product is no longer profitable and you're leaving the marketplace for sw/support - I still won't like it but at least the consumer has options to live with their not-fully dead hardware.

As a consumer - "hey too bad you didn't want to make a business of this but you suckered me in with your shiny new fangled thing and I gave you money for it - I didn't give you permissions to then decide that you didn't make enough money so now you're going to take your ball and go home leaving me with an expensive door stop"
It's definitely one of their primary concerns. If they use open standards, then other manufacturers (most likely Chinese ones with access to the latest highly-integrated bargain basement chips) can come in and undercut their pricing. Tech companies - especially VC-funded ones - are very aware of the importance of a moat around their product to stop this from happening. If they can get ongoing monthly revenue out of it now or in the future, even better.
Same in Montréal... https://newsroom.uber.com/canada/en/uberpitch/
So it's not an "ARM architectures" issue. It's a problem between you and your provider, who for some reason is not willing to provide the DTS.

That said, given that DTB/DTS is an open spec, tools to reverse a DTB into a DTS should probably exist (like this one: http://forum.xda-developers.com/android/software-hacking/how...)
Don't tell yourself it's necessary or productive to work more than 40hrs for anybody. Had older devs tell me this. Best lesson I learned, but too late.
While not evidence of wrong doing, the PM of Iceland, the country which imprisoned bankers who engaged in fraud and lauded for that by some, being on that list is a bit surprising.
"I can count the number of times my flight has left at its scheduled time on one hand even though it boarded on time."

This has not been my experience. Flying AA on the east coast regularly, the folks at the door generally seem to be super on top of eyeballing bags and giving out the red checked-at-gate tags liberally.
Power consumption is of course very much dependent on the chosen fabrication process and SoC configuration. A LEON3/4 core is comparable to something like a ARM Cortex-M7 and it is not the ISA (when comparing ARMv7 vs SPARCv8) but the implementation that will affect power most. LEON is quite small and power efficient.
"Frontend developers don’t usually worry too much about CSS"

"Core developers build some core JavaScript tools/libraries and focus on non-UI stuff. CSS is something they don’t need to worry about."

If you work professionally with frontend code, you damn well better have a deep understanding of CSS. The fact that so many developers who work with browsers don't have this is a major contributing factor to the terrible bloated state of so many modern websites and applications.

Learn your tools, people!
Looks like the go bindings are made from a separate libquic project at https://github.com/devsisters/libquic which looks a lot more streamlined than the Google one at 14MB.
Companies, empirically, keep operating costs as low as possible. There is a reason people literally fought and died to obtain a minimum wage.
Building a network capture probe with Raspberry Pi
Heh. Me too. SV650 at moment. I'd like another Triumph 955, my licence wouldn't. :)
I agree. In fact I don't think one can succeed in mitigating GC latency unless you understand how very important it can be. The excellent presentation "How NOT to Measure Latency" explains how with the wrong measure latency doesn't seem that important.
Just imagine how big their outcry would be if it was new thatyou could lend a friend your book by just giving it to them in person. Now suddenly he and his friends will not buy that book and read its content for free. That would also be considered piracy and surely forbidden as well. Some digital laws are just ridiculous.
All you're arguing is for a decrease in the cost of hiring from a specific labor pool, which is exactly what the government has already done by allowing companies to hire disabled workers for below the minimum wage.
I am in the very early stages of home automation. I've had a Nest for years, but only last week I installed a Z Wave dimmer (one of the Cooper Aspire series) and set up Home Assistant with with Aeon Labs Gen5 Z Wave dongle[1].

I've been very impressed with Home Assistant. The developer is very active, and happy to discuss development proposals in the project gitter.im chat room.

[1]: http://www.amazon.com/Aeon-Labs-Aeotec-Z-Wave-Z-Stick/dp/B00...
>I don't know the right solution to the HTML5 DRM thing.

Easy. If they want content protection, they should build it in JavaScript. Doesn't threaten the entire existence of the Open Web, any sufficiently decent scheme will prevent casual copying (dedicated pirates will always find a way, if nothing else then via screen capture), and it's actually cross-platform (unlike EME, where "cross-platform" is entirely up to the creators of the black box DRM plugins, so if Netflix et al wanted to say "sod off, we're not making our DRM plugin available on Linux" then you'd be totally out of luck).

Sadly, of course this isn't actually enough for the people demanding heavy DRM, since it's not just about "protecting the content" but about controlling the whole platform, which is what really makes EME such an existential threat for the entire Open Web. That's why I can't approve of it, and why you shouldn't either.

But content protection through JavaScript? Totally fair game, I say. Assuming that it's for a catalog rental model like what Netflix offers, anyway. Content protection has no place in any individual (media) products you buy, those should be DRM-free - otherwise you're not really buying them, just renting them for an undefined period.

(On a final note, I also practice what I preach here - I work for a comic publisher and am in charge of most things digital distribution, including the content protection scheme for our catalog rental subscription service. It's developed in JS and I'll do my utmost best to ensure we never ever touch EME in any way. Should be more cost effective for us that way anyway!)
Negative income is based on the idea that there is something taxable on the other end to strive for. That it's there for those who don't have jobs but the second they get it they will be taxed.

Negative income requires a system of control and so it's basically not very different than a normal conditional social wellfare system.

UBI is basically working on the premise that there wont be any jobs in the ned. That there wont' be any income to tax.

So it's not really equivalent to UBI as it's premise is that there will the number of available jobs just fluctuate but we will get more over time.
Tesla Announces a $35,000 Car, Shows a $50,000 Car
The diagram is bad, the browser is running code loaded on app.* and making requests to api.*; I've used similar setups and have run into the same issues the author is describing.
For better or for worse, Quebec is a nation of renters. The rent laws are thus skewed in the favour of tenants. The rental board enforces the laws very strictly. Tenants can refuse rent increases and have many rights that are probably keeping prices down.

https://en.wikipedia.org/wiki/R%C3%A9gie_du_logement
Say you have .supermenu .button. What happens if a global .button class enters the picture? The root class is good for preventing leaks but offers no protection.
Massachusetts clearing a lane for self-driving cars
Mutt 1.6
Honey, I Shrunk the Gigafactory
'wealthy white people'

Like.. the... French Canadians?
I think there is huge difference between saying someone is personally responsible for their future and saying the only thing preventing the lower class from doing well is laziness.

A minimum wage would definitely not be close to a living wage, and a living wage doesn't include saving for retirement or other less basic expenses.The average income in 2015 in the U.S. for people with some college was around $37,000. That's around $18/hr for a 40 hour week. That is definitely livable in most places, but money would be a little tight.

Sure, maybe most people earning a below average income could improve themselves and do a lot better financially. But the average wage isn't really good, and low income workers will always be below average.

You could make the argument that if most of low income workers became a more valuable by raising their skill level then the average income would also raise. And you might be right, to a point. But I don't think there are enough decent jobs available for everyone. Not everyone is a good fit to work in the medical field or tech. So the increased average skill level would just mean that businesses could be more selective and even lower their pay.

I worked full-time for a short amount of time in a tech related field. I remember looking for entry level work, and it was really competitive. I did get a full-time contract position that was a really good opportunity, but the pay was very low. The job was good, it was at a good company, and it would provide me valuable experience. But I ended up going back to school to finish my degree and change fields. And I ended up applying for internships. And reviewing my offers I noticed that all of the decent offers were in the same range as an entry level full-time position in my old company. One offer was more than my yearly salary in the old field. I could have told my old coworkers that they would do a lot better changing careers, and it would be true. But if everyone in the field did that, there would be no-one applying for entry level work in that field. And I think that indicates a problem with the job market, not just a problem with laziness.
Meetup [http://www.meetup.com] | New York, NY | Full-Time, Contractor | On-Site

Meetup is hiring for all different types of technical roles. From backend engineers, to data scientists, to QA engineers, to mobile engineers, we're looking for smart and friendly people to help us to create community throughout the world.

Come join us and build with us a platform to connect people and provide experiences, not "things".
We have great benefits, 401K matching, (4 months)! maternity and paternity leave. And really cool quirky benefits.

- Free drinks, beer, wine and snacks
- Weekly free breakfast, weekly summer BBQ's and very frequent and spontaneous celebrations. (I just had an amazing bagel and lox for our weekly breakfast today)
- $500 smartphone/smart watch reimbursement every year
- 17 vacation days a year to start + 10 national holidays + 1 free vacation day if you attend a Meetup during your vacation! Oh yeah, forgot to mention 2 "Summer Fridays" to get out of the city when the weather is nice.
- Awesome location right in the heart of Soho in NYC.

Disclaimer: I've been working here for a few months and I love it. Check out our open roles here. http://app.jobvite.com/m?3IHxNhwv
Film industry is one of the most corrupted and backwards thinking (MPAA is the prime example). So this can be rephrased as "Help fixing film industry which keeps pushing for retarded idea of DRM at every occasion!". And really it's not the whole film industry. Actual creators most often don't care about this garbage. It's publishers and lawyers who feel the need to satisfy their unquenchable urge for control. DRM and DMCA give them that. Ego feeding control feeling (which is really fake, since in essence they don't control it anyway). I'd call them control freaks.

And how can one exactly fix it? GOG attempted it a while back[1], trying to replicate their success with DRM-free gaming. But they failed.

[1]: https://www.gog.com/forum/general/introducing_gogcom_drmfree...
Thanks, the original link timed out for me.
How can Alphabet not have any responsibility if they're the ultimate owners?
> all walmart has to do is increase prices and workers would again be forced to work for basic sustenance

Walmart is not the only retailer in the United States. You're positing widespread collusion on the part of everyone who sells goods and services. That or you're just describing the effects of inflation in a roundabout way.
Sorry if that was unclear - working a job you love can and should have the opposite sign. That's why I said something like QALY: it maxes out at 1 QALY/person-year, which is incorrect when people would rather spend a decade as a rock star than 30 years retired in Arizona.
Snowden's may have been one of the most controversial ones, but certainly not the biggest at time of leak.
Good point. How about .supermenu-button?
> Generally a non-working person makes $0

Not according to Milton Friedman.

https://youtu.be/xtpgkX588nM?t=191
fwiw, I read Atlas not long ago and there is a very similar paragraph about John Galt climbing a mountain to discover the fountain of youth.

> "Only he never came back" Why didn't he? she asked. "Because he found that it couldn't be brought down."

Good memory sevensor.
Except modern baseband processors usually don't have direct access to main memory or peripherals - they are usually linked to the rest of the phone via a serial bus.

ME is very, very different - it transparently has access to everything.
All of the CEOs? Sure. Sundar manages Google though.
You should have called it WrAPI ;)

Seems really useful, will definitely bookmark it.
Oh, people do it. I was going to do it, but there's a list of hundreds of compatible cameras. Of those hundreds, which ones suit my needs? Which ones are less than $300? What is the definition of "works"? (There's "works, but...", and then there's "works out of the box with five minutes of configuration, and here's a link to the settings you want".)

IOW, yes, there is a currently available solution. What there isn't, AFAICT, is a "click here, wait two days for Amazon, have it running five minutes after you open the box" like Nest or Withings.
Personally, I am using CSS Modules with Less as preprocessor, mostly because of constants, color functions and the occasional mixin.

I resort to inline styles and sometimes Radium when I deal with highly dynamic styles, usually sizing and positioning for things like popups.

While I like inline styles in general, the editor support is a bit lacking compared to working with Less files.
They look at the ID card or passport you present. They may make a record of your entry and may look up whether your ID was stolen or there is a warrant for you.

They certainly don't look up in a database whether you are a citizen. Such an EU-wide thing simply doesn't exist. Heck, even the entry and exit records are not in a common database. At the moment many borders can't even verify the government signature saved on the chip.

That's the same how other government officials determine your German citizenship in most circumstances. Only very few people go through the process of getting definitive proof of their citizenship (Staatsangehörigenausweis) in any point of their life as there is simply no reason to. This process takes quite some time, often including looking at some non-digitized paper documents archived somewhere.
> OCB's license made it a non-starter

Coincidentally the 4-th draft version of AES-OCB for TLS was published [0] today, and it says that:

"Historically Offset Codebook Mode has seen difficulty with implementation, deployment and standardization because of pending patents and intellectual rights claims on OCB itself. In preparation of this document all involved parties have declared they will issue IPR statements exempting use of OCB Mode in TLS from these claims."

[0] - https://datatracker.ietf.org/doc/draft-zauner-tls-aes-ocb/?i...
Because Apple can ban apps from their store for any reason. Bitcoin wallets have been banned once if I remember correctly. Also, smart watch apps have also been banned on the Apple Store when Apple released their Apple Watch.

With all the positive sides of the App Store, this is really dangerous in terms of freedom.
> I've never worked on a project that used stored procedures where they were not only checked into source control but provided the full necessary context so any "fresh" dev box could grab them and test them.

Did you mean to say the opposite of this?
It was a deliberate choice by the former Google board, who no longer runs Google and now runs Alphabet. The blame lies with Alphabet, not one of it's many subsidiaries.
Probably roughly nothing.

I pulled my (small) suburban cities budget which is a many hundred page long PDF and parks and rec runs 40-something neighborhood city playground type parks and 2 pools on 2.3 million total per year. Of which staggeringly only 1.5 mil are wages (we live in a rough climate, maintenance costs are high, over $100K spend on electric bills alone, etc).

On the revenue side the two public pools combined pulled in about 1/3 of a million from fees collected at the door. Its pretty cheap compared to commercial entertainment (movie, restaurant, etc), they could certainly charge more without excluding too many people, given how much it costs to live here.

I know from experience that they have a couple kid lifeguards at each pool all the time so lets say 10 total staff at all instants (LOL no) at $15/hr for 10 or so hours per day (LOL no not open that much), open about 100 days a year (LOL no they'd be ice skating in the spring on the pool if that were the case), if I multiplied this out correctly in my head, at $15/hr, the kid lifeguards cost $150K/yr while bringing in $340K of revenue. Note that I don't have the misfortune of living in CA, so the actual cost of a seasons lifeguards at the two pools is more like $80K.

The cities very gross profit margin if by a miracle pools were free to build and maintain, just revenue divided by kid labor, is roughly $340K/$80K right now and if the min wage were $15 it would "collapse" to $340K/$150K which still ain't bad.

Honestly I suspect the pool spends more on chlorine and electricity than on the kids labor.

The capital cost is no laughing matter. The most recent ADA compliant complete remodel was something like $2M which for that one pool is roughly a decades revenue.

This quick analysis leads to the conclusion that open hours for the pool are insanely profitable, and the "pool biz" is overall dominated by capital costs. The kids pay is irrelevant.
Got me too!
The hover problem does kind of suck--- as far as I know, Radium (and others https://github.com/FormidableLabs/radium/tree/master/docs/co...) tend to solve it by wrapping components with a component that tracks hover state. And moving the hover-state tracking into React isn't the _worst_ thing--- JS is meant to be in command of the interactive portions of websites, so it does kind of make sense. If your :hover is ever going to have to do more, like show or hide content, it'll have to be in JS anyway.

The "JS Fatigue" haters will be cobolt-maintence programmers of the 2020's, I don't pay much attention to them. Javascript has a lot of churn because we have a difficult platform & language to improve upon.
And Vancouver, and Calgary. I assume it's across Canada.
TSA paid IBM $336K for an app that only pointed right or left
But this is assuming that Basic Income is a solution for the poor. It's not.

So We are all going to be poorer so to speak UBI tries to make sure we somehow deal with that.

These are contradictory statements.

Any any case, even if true, it just makes my question that much more urgent. You cannot suggest a system that dismantles the existing welfare system without answering the question of what replaces it and if the cracks people will necessarily fall through become bigger or smaller.
I don't mean to slam the developers, but I use Sendy and have taken a peek under the hood. The code made me feel sick.

Functionality wise, it seems the same.

ninja edit: it made me sick because it was ugly, didn't feel secure, and it took me ages to make the changes I needed to make.
> Only for those who don't use more than a smart phone.

Sadly, that's an increasingly large segment of the population. Anecdotally, many of my extended family only have mobiles, maybe a tablet, and maybe a videogame console -- no laptops or desktops to be found. Many friends have similar stories.
If I remember correctly Federal regulations require hardware manufacturers to support their product for 7 years after production end.
Something this doesn't mention is that for a given program written in both Java and say C++, the C++ version will have to perform much fewer allocations than the Java one. Escape analysis can help with this but afaik it's not even a full replacement for stack allocation, not to mention the other scenarios where C++ doesn't allocate.

On the other side, this also doesn't bring up that any sort of concurrent data structure is much easier to write when using a GC, and the GC removes the need for expensive memory tracking. It doesn't necessarily make things faster, and libraries like Crossbeam and epoch management in general make things easier, but Crossbeam isn't fully featured, is Rust only, and still suffers from strange bugs.

A worthwhile side note is that when manually managing memory, non-malloc allocators can often be used if really needed that have far higher performance than both malloc/free and a GC.
The hacker who built his own self-driving car is ushering in the age of cheap AI
Actors and Microservices – Can Two Walk Together?