skysight-inc/HackerNews huggingface dataset:
This guy definitely codes, I was nodding nearly every paragraph.

Redundancy vs dependencies is a constant battle, even internally or inside your own head.

Many times it depends on the project, team size and ability of libraries to be maintained whether budget, time or goal of the project and its lifeline.

For instance in gaming, you might have common libs for product purchasing, profile systems, networking, data, serialization, and platform libs to abstract calls. But systems like game objects, physics, gameplay and ui aren't as lib-able unless it is a series of the same type of game or system.

It is better sometimes to just get it out, prototype it and iterate to ship, then harvest and integrate useful/obvious items into dependencies/libraries for the next one. If you are always organizing to dependencies first, you will end up doing lots of unnecessary optimization and sometimes impact shipping speed.

The balance on this is a tough one to learn and changes as you grow more experienced.
Broadcom abandoned their IoT line last year in the sell off to Cypress. They don't have skin in the low margin embedded game any more.
You're not unlucky, but there are some gems out there. For someone like you who is experienced in the area and can tell garbage from good stuff, it's worth digging around to find the gems.

This doesn't help someone who is completely new to the list topic though. Even worse they're probably going to get bad information.
Shout out isnt needed, i did the same thing as Hanno over a weekend early this year. Been kicking myself since defcon that i didn't submit a talk!

Anyone who reads the certificate transparency log rfc can quickly realize whats possible.

I've also been following calidog since his first medium post, ive got my own similar cert scanner/tracker.
Man, I enjoyed this show. The opening theme is my ringtone and has been for years at this point. When it goes off, usually someone nearby is like, "whoa, is that X-Men?!" :)
From my 5 minutes understanding of the problem: Non deep learning solution

Step 0: you should have some training data. Draw it < I believe 50 of each class you want to detect should be enough to start, but you can think about doubling it>

First you need look at the opencv library, specifically in the findcontours function https://docs.opencv.org/2.4/modules/imgproc/doc/structural_a... - I'm linking to the c++ api but the python has the exact same function.

Make sure your contours are clean of rubbish data because this can affect the outcome of the classifier.

With the extracted attributes of each individual class you pass on this data to a multi class classifier (http://scikit-learn.org/stable/modules/multiclass.html)

Parameterize your model, Split your data into training and testing ... yada yada ...

With the generated model, you can receive individual detected contours and it will give you the fitting probability to each class, use it to feed an api which provides data to a react component that renders html.

>> ps: Ah you need an image capture app which reads the image in real time, pass the filters and detect contours to then pass it to the classifier.

>> ps2: I'm available for projects :P
>> However, logicians proved it long time ago that first-order logic, and thus relational calculus, cannot compare cardinalities of relations, and yet we have a very simple SQL query doing precisely that.

I'm not sure what the bit about comparing cardinalities refers to. I think it relates to Trakhtenbrot's theorem, or the Löwenheim–Skolem theorem, but I'd appreciate it if someone clarified this.

As it is, my intuition is that the result mentioned is for either finite or infinite relations, or in any case for some broad case of unrestricted sentences (any formula in any language), whereas there are restricted cases where it doesn't hold (sort of like satisfiability).

Like I say, if anyone knows what this refers to, please speak up.

____________________

[1] https://en.wikipedia.org/wiki/Trakhtenbrot%27s_theorem

[2] https://en.wikipedia.org/wiki/L%C3%B6wenheim%E2%80%93Skolem_...
The Term “Homegrown Violent Extremist” Needs Transparency
My understanding is that it's not really bookkeeping. The tuition is still paid, just by the federal government (or grant provider) to the university instead of by the student. The students can't afford to pay taxes on this, so presumably universities will have to increase stipends to cover the difference. Effectively, the government is increasing taxes on its own grants---which is a (politically) clever, backhand way of cutting research budgets.
The problem is not that we are blasé about nuclear weapons. For the most part we are completely ignorant about them.

No, the problem is that we assume that we wouldn’t put clowns in charge of something this dangerous. So when we put clowns in charge of nuclear weapons and they inevitably fuck up (and not just a bit), we either refuse to believe it is even possible or we assume it is a rare accident.
I've been watching Perry Mason, from the late '50s/'60s. The sheer volume of smoking and drinking weirds me out. And I remember before smoking/non-smoking sections.
Nice work! Congrats

How are you dealing with googles 60min-ish flushes of their log?
Unfortunately FB will then change the API to block the gateway.

It's not in their interest to allow open access to their messaging service. The current status quo means you have to be in their app or on the website to access your contacts and view their ads!
It's not so bad. It's just plain JavaScript conditional logic which any JavaScript developer can understand. It's certainly not worth missing out on the entire framework and ecosystem over this one little thing that you'd get used to doing pretty quickly.

One thing I don't like, though:

const sampleComponent = () => {
return isTrue && <p>True!</p>
};

If isTrue is 0, React will render 0. If isTrue is NaN, React will render NaN. Best to cast the conditional to boolean when using short-circuit evaluation:

const sampleComponent = () => {
return !!isTrue && <p>True!</p>
};
Wrong question. You should be wondering how walled off it is going to be.

I mean it won't be that hard to make it so that you can easily load a different esim when traveling. It will have many slots, since it can just emulate more and more.
But is that in everybody's interest?
Yes, that sounds like the kind of mistake I would make.

I put a tiny link at the bottom of to the home page: https://neugram.io. I'll do something more elaborate when I'm done with this other bug I'm working on. Thanks.
DJing is fun as hell but isn't a great job. I mostly did it for free for charities and stuff that I support, but that ended up getting people requesting I do it for real and the money was actually pretty good (I mean, $600 to spin records for a few hours is great, in my book, though moving a few hundred pounds of speakers and lights in and out was less fun).
There are a lot of people who want to be the heroes of transsexuals

Thank you for a more charitable view of the comment to which I replied.
Interesting that as an example of the benefits of 'reification' the author gives the ability to copy/paste commands to execute them again.

Of course, this interaction with the command interface - that of selecting the previous command, copying it, then pasting it - is not 'reified'. It is executed through the - we may have to admit it - graphical interface through which you are interacting with the command line interface. It's not a purely textual interface, after all, since it includes graphical elements like a cursor.

As an experiment, consider that a voice assistant like Alexa or Siri is also effectively a command line interpreter, but that in those cases 'copy paste' is not available so easily. 'Siri, repeat back the last command I gave'?

So maybe the interface that is being praised here isn't the command line but rather the graphical interface in which a command-reifying interface is hosted...
And from the same web page there's an uninstall script to un-root the phone.

This is handy if you only need root occasionally, e.g. Titanium Backup, and don't mind messing about in TWRP.
You will have to rewind to 5.9, but lynx should work on openbsd. Not sure why it wouldn't work on netbsd, though.
Fair comment.

But I wasn’t really thinking about what’s good for Netflix. I was actually thinking about the employees. If you are unhappy at an employer : is it bad if you are fired for not being happy?
That's not a nice thing to say.
"Star vs. The Forces of Evil"

...Pu-pu-pu-puppies...
China doesn’t have sophisticated early warning systems either, nor does it have a central military command nor integrated command and control infrastructure they’ve started one in 2011 but as their military ranks are a political appointment the competency of their military leadership is lacking at best.

You seem to not understand exactly what the situation is even if NK would get an early warning say 10min it would not even get it past the guy who answers the first phone get alone to the military in the field.

The US and Russia have invested 70 years in building infrastructure which is designed for a single contingency which is to launch a retaliatory strike within 15-20 minutes this requires an enormous investment and North Korea barely has phone lines.

This doesn’t even take into account the fact that the soldiers manning the artilary installations can barely hit anything and that they don’t have enough shells to fire their 11,000 cannons zeroed on Seoul.

North Korea’s conventional military is a joke these days and unless China puts its own soldiers into the fray it won’t be even a two sided fight.
When I say "technically off-topic", I do mean "literally off-topic". I think that based on a reasonable reading of the topic guidelines, the post is off-topic.

Specifically, I think it plays easily into an ideological talking point.

> the implication that articles have to be related to development in some way is false.

I agree. I wasn't trying to imply that something needs to be development-related to be on-topic. "Good hackers" often find things besides development interesting, and I'm not arguing that point.
It's barter. The students are trading their time for an education. That is a value transfer. There is nothing mandatory about it. Each party is consensually entering into an agreement to transfer services that have non-trivial value. If you could simply escape taxation by bartering, you'd see a lot more bartering. But you don't, because barter is still legally taxable.
I think Vue is probably safe as a technology to learn. It's definitely the 3rd framework now (behind React and Angular 2+), but it has a lot of support, notably from Laravel which has a huge community of it's own, and from many who quite justifiably find React/Angular2 overly complex.

It's also the case that Vue, React, and Angular 2 are in many ways more similar than they are different, so experience with one will be helpful if you ever need to move to using another.

Finally, at some point I would advise you to take serious look into understanding webpack and babel and/or typescript and how to configure them. Webpack might be 'just' the build tool, but it is the common underpinning of pretty much all frontend development, and a lot of the complexties become a lot more managable once you understand what it is doing.
I wish Google would put and end to this by releasing the code for their Android services and slowly force the Android manufacturers to open source all future drivers.

Please Google, don't be evil.
US Federal Court Rejects Global Search Order
Ranking computer science programs by debt repayment and student satisfaction
Just curious - How are their servers different than FB's who also modified the heck out of them?
Still looks like crap on OSX and Windows due to using GTK.
I wish projects with aspirations of being cross-platform would stop using that shitty library and switch to QT.
One thing from Clean Code that fundamentally changed the way I write code was the bit about how “Comments Lie”.

I hadn’t really thought about it much before. But since then, I see lying comments absolutely everywhere. Many of which I have written myself. The author is right, comments are really hard to maintain.

Nowadays I try my absolute hardest to avoid writing comments. 9 out of 10 times, it can be solved with some refactoring.
At $430/month for the bitcoins, I think they can afford to keep the systems current. Obviously market conditions can change drastically, but they're just as likely to go up as down.
I think you should not, because you're trading time which is your most valuable asset, and (statistically) you're not good at picking the right startup (read it as "you're not guaranteed to be good", I don't want to say that you're necessarily bad).

To elaborate. An angel investor has a lot of money, say a spare $200k, so she can invest $20k in 10 startups. If one of these does 20x in, say, 5-10 years, she doubled the money which is good.

You, instead, will only bet on one startup. From a purely monetary perspective, you shouldn't go too early stage to increase your prob of success. At that point, might as well work for a late-stage startup that offers cash + equity.

In your situation, I'd find a cofounder and a project, that can either become a startup, or even just grow to a passive source of income. If you arrive to a good amount of money, then you can think investing.

If you decide to go for it anyway, from a legal point of view I don't think you need anything. The easiest thing is that you'll become an advisor for a small percentage (I assume of very cheap stock options). Keep in mind that it will take several years before you these options may become stocks (company goes public) and there are many ways for the company to silently cut you out of the pie if they sell or exit in any other way.
> Pixel is a funny hobbby for Google

Seems like it but unfortunately it is their product and they are selling it.
Nim has become so good that no one else should develop languages as pet projects? If that's what you're saying (which is how I read it), it's a very obnoxious sentiment.
>complaining about something they added that isn't there by default

it is part of the OS, not a third party app.
So I think that complaining that it is badly designed is fair.

I can complain about the default configuration too if you want.
It takes away the function keys I actually need and replaces them with a screen. The lack of tactile feedback is really annoying. Even after configuring the touchbar to display the function keys by default in my IDE, it still bugs me and make me 'mistype' more than ever on this strip.
Found the android fanboy.

Sounds like you haven’t used iOS recently.
this reminds me of the effort to replace a lot of the intel management stuff with linux and have userland all written in go

https://schd.ws/hosted_files/osseu17/84/Replace%20UEFI%20wit...
Ask HN: What are some good resources for fixing technical debt?
I'd like to fix technical debt that we have while still be able to create new features.

If needed here are some details for our system:
- Systems that should've been separate are all in a single huge monolith. They integrate with each other all over the place without any proper structure.
- Core functions are mostly static functions and test coverage is really low. There are no unit tests but there are some integration tests.
- +200k LOC
Apple is $20 a share away from being the first $1 trillion company
> If the back glass breaks, you'll be removing every component and replacing the entire chassis.

oof, sounds like this is in part because of the "camera nub". I know a number of people who have had the back glass panel replaced on their iPhones, almost as many as the front. Sounds like X owners may want to opt for a case or some extra protection for the back glass and chassis to save the pain of getting this replaced/repaired, it sure isn't likely to be a DIY project for most.
That's the brilliant part - doing it in Siberia where the heat is almost always welcome. Iceland might be good too.
Thats the problem with Windows - it still does not carry a decent Bluetooth stack and depends on the vendor shipping one. And all of them I have seen so far are more or less crap.

Linux on the other hand is exclusively Bluez which works fine... but god forbid you want to do something like BLE communications or more complex sound stuff, the docs are horrid.

The OS X BT stack is... well I dont have any issues with it per se but it, too, lacks features like a file explorer or an easy way to send files via BT.
I agree, technology has not been a significant help. Even being able to knock out quick test scripts in python has never been the pivotal issue. The real issue is understanding the material, and a human teacher who really understands what is going on and can ask the right motivating questions to spur the answer is most helpful. I've only encountered a handful of teachers like this, who can really get to the heart of something and not get lost in the weeds.
Doing destructive data rollups (combining multiple rows and deleting the original rows) are made much simpler with transactions, especially if you do hybrid aggregations of short term data and long term data.

For example, you might store data with minute level granularity for the past 24 hours but only hourly for the past 30 days. If someone queries the past two days, you need to look at both those datasets. Then, every hour or so, you need to summarize an hour of minute level data, insert it into the hourly granularity table and then remove it from the minute granularity table. Meanwhile, you want to make sure any queries aren't going to double count that data after insertion but before removal.

This can be done without transactions in a few ways, but they require putting your replication and rollup logic and constraints into your reading code, rather than having it isolated to your roll up code. And your data model has to be tweaked to allow for some of these operations. And the complexity often results in double counting bugs (or bugs where the data is not counted at all).

There are solutions though. They just require a lot more hoops than starting a transaction, moving the data, committing the transaction.
I don't think so, but I'm not an attorney. You'd have to some prior awareness, I bring up the strict liability idea just because if you did know that you were hacking some stranger's sex toy, your lack of complete knowledge about what they doing with it at the time probably wouldn't be enough to avoid liability.

I mean, otherwise you could grope strangers on the subway while keeping your eyes closed and claim that you weren't looking at them so you didn't know that your groping was causing them distress. Then again pretty offer some pretty wacky defenses, especially where sex is concerned.
https://news.ycombinator.com/item?id=15622991
Daily Workout Routines Tips for Women ( an Easy How to Guide )
These would have been the kind of machines that IBM sold to Nazi Germany and configured for use by the concentration camps, right? I didn't realise the technology was so sophisticated.
OpenFaaS have the option of running Java functions in an "Afterburn" mode to mitigate against the JVM startup time.

https://blog.alexellis.io/openfaas-serverless-acceleration/
That tax season will hurt!
If you made a point of getting to know people outside your sphere, you would be surprised at how little some people know about these things. That you take this for granted says more about you than Isaacson’s book on Jobs.

For instance: I don’t follow football. Which means that you can pick any football celebrity in the world ever and at most — at the very most, I may be able to connect a name to the face. But I wouldn’t know what they’ve done or who they’ve played for. In the unlikely event that I would read their biography, it would be helpful to provide ample context.

Now the thing is that do the comments here help me determine if the book he wrote on da Vinci is accurate? No. Not really. Not any more than random newspaper reviewer opining on the quality of the writing.
Profit, startup capital, and cash flow are quite different things. I don't believe that Joey Rickett's decision was a coincidence motivated by pure fiscal math either.
Take a look at the actual technical rationale: https://blogs.fsfe.org/larma/2016/microg-signature-spoofing-...

I understand why this seems alarming to a bystander. But if you're still dubious go read the Gerrit reviews--it's pretty clear the CM team was unwilling to accept the patch because "it allows one app to impersonate another" not because it presents a security hole. The patch went through multiple iterations ending on one that means users would literally see a prompt:

"microGapps is requesting permission FAKE_SIGNATURE to ..."

The point is that it's not a security concern _if the user allows it_. By definition.. it's tautologically impossible to classify such a scenario as a security concern if the user selects "this is not a security concern" when asked if they're concerned about about allowing microGapps to fake the google play services signature.

The microGapps team then asked "how would you propose we land on a solution so that we can provide an alternative to gapps while still checking the [x] security box? The CM team failed to provide any sort of compromise stating that allowing one app to impersonate another is not a feature they were willing to support on their platform.

So you see, it's not security that was the issue. The issue is that the CM team was unwilling to give users the freedom to allow the system to work as they want. What's infinitely ironic is that CM used to ship with root. It was the community fork "for the community by the community". It's not hard to correlate their sell out with their rollback on providing support for apps that need root and then irrational stance on letting some other thing be google play services.

The uGapps team is frustrated, but it's not petulant. It's very valid.
Dog star: Scientist recalls training Laika for space
No you are completely 100% wrong. This was one that came with a MacBook Pro from the Apple Store actually in the sealed box when I bought it. Don't assume I'm stupid. I'm actually a qualified electrical engineer and I know switching power supply topologies and design very well.

Don't assume that because 90% of the charger is well designed, the rest of the 10% is.

There is no or insufficient inrush protection in the charger. This results in a hefty current flowing the charge the primary DC cap in the switching power supply when you plug it into the wall (step response of a capacitor at DC is high instantaneous current if the source impedance is low such as rectified AC - derived from I=C(dV/dt), dv=350, dt -> 0, C~10mF, I->infinity in an idea model ignoring parasitics and series resistance of capacitor). This damages the pins and stresses the diodes terribly reducing the time to failure. Google inrush current protection.

You do NOT get this on decent industrial switching power supplies that actually cost less. They either have NTCs or pre-charge.

The Chinese ones are a whole different story. Some of those are absolutely abysmal and are in no way even comparable to the Apple ones.

The Apple ones certainly don't rank that high really in the scale of things, regardless of all the love spread over the Internet. If you're comparing them to a lowest bidding turd from China, then of course they're going to look good.

Here's a picture of the burn marks on the pins: https://i.imgur.com/aaHV1kX.jpg

I'm not going to even go into the three left IO boards I've replaced on MBP's where the magsafe connector has burned out.
Create-react-kotlin-app
Good day to start signal!
No from the Apple store. See my other post. This is poor design, regardless of where it came from. There should be a hefty NTC or inrush current limiter in the charger.
iPhone X Teardown and Analysis
Oooh, a Multics emulator?

I am going to have to try that one over the weekend! ;-)

Thanks!