skysight-inc/HackerNews huggingface dataset:
Or the engine would have died anyway from running with no oil for another hour. Considering they were in the middle of the storm and that the captain rejected giving up until the very last moment, I don't think it would have made a difference.
Bossa Studios are using it.

I agree that it is quite customised, but at best they might have 5-10 customers in next 2-5 years, so they should be able to support them.
How do you determine the natural number of parameters?
Interesting idea to use google forms and do analysis on correlation of text to rating. I'm going to try this including things like food eaten, time woken up, and time went to bed.

Thanks for the tip.
The EU should stop fucking with the internet. It worked great in the 90's where they weren't involved at all whatsoever.
As someone who builds software that generates exportable reports, I can say this is one of the cardinal sins of data visualization. Another one is relative timestamps akin to "just now".
What stops Google from suppressing certain information at the request of bureaucrats or corporations?

Or at the request of certain well meaning but ultimately flawed and over reaching laws?
Yes. But now you are liable. How many bugs have you fixed that were created by you?
Do you work on your own project or for others? Have you considered building something that will provide you passive income? Then you will be able to "not work", basically work much less hours.
Amateur Astronomer Captures Rare First Light of a Supernova
I don't use Windows and don't care about Windows, you'll have to see for yourself.
this is a great writeup, definitely falls into something I've been dreaming of building, but was planning to hack around the usb part of it (using a usb-uart adapter), but now I'm thinking maybe I do it right! should make for a great weekend.

unfortunately, it seems that the pre-req article is down, so here's the cached copy: http://webcache.googleusercontent.com/search?q=cache:https:/...
AFAICT a dupe of https://news.ycombinator.com/item?id=17137174
> No, I am not asking for a hard number, I specifically asked for a ballpark.

Yes, and it's a fake law that doesn't exist. How would I possibly answer this?

Off handedly, I'd say that the fine could really range depending on a lot of things. Was this an outdated version of OpenSSL that they just didn't patch? Was it a programmer error using the library? A 0day? All of these things would probably make a big different - charging companies for 0days in 3rd party code, in at least many cases, would not make sense.

> I agree, but slapping fines of developers for using openssl to enhance security makes it a bit hard for anyone to afford putting any extra money towards security

At some point if companies can't afford to keep users safe maybe they just shouldn't be companies. And if we're talking about router companies, they have the cash.

> why you and every other serious developer would be sued out of existence unless you propose obscenely small fines

I would imagine instead that companies would have insurance around these issues to cover developers, but again, the legal components of this are not something I'd want to get into since I'm not qualified to.
At least China is upfront and honest about their push toward techno-totalitarianism.
HE WON A 6 MILLION DOLLAR LOTTERY. 10K+ loan payment lowered to 1.6K a month. So the government pays him 8K+ TAX FREE MONTHLY ANNUITY SUBSIDY FOR THE NEXT 25 YEARS. I'm too upset to do the exact math but 6M is a ball park once you figure in the payments and taxes he is not paying on this government subsidy.
You really want vendor to patch vulnerabilities in firmware without pushing any buttons.
IIRC QBasic, which came bundled with MSDOS, didn’t have a compiler. QuickBasic, a stand-alone product, did have the compiler.
Coming up after that: More unexpected effects.

Which presumably most of us in Europe won't hear about, if all the sites with a link/discussion format like HN and Reddit will be faced with paying huge fees or stopping/geoblocking/etc...
When I crave chocolate pudding, I'll eventually make a bowl, and instead of splitting it into many desert cups (which I would just crave for), I eat the entire bowl in one go. Then I'm cured from pudding for a while.

Chips (or fries) though, I can't resist. Better not to buy any...
> Cisco hasn't owned Linksys in years

I didn't say they did... I was providing two examples. I wouldn't call linksys tiny, either.

You're assuming a lot about the costs of this liability for a made up law with no defined penalty.

Maybe if companies building software can't afford to keep it safe... they shouldn't be companies? Is that so controversial?
> This is meant as a counterexample to existing practices

So, the paper mentions that their "model" has infinite VC-dimension, so you basically shouldn't expect it to generalize, so existing theory says that it's a model that won't work.

The problem is that VC-dimension (and Rademacher complexity, etc) also claim that modern neural nets are too complicated to generalize with the amount of data we have.

And yet they do. So the deep learning community has fallen back on counting parameters, not as a way to measure generalization, but as a way to compare models, based on the empirical observation that a lot of the "improvements" we see in papers disappear when you compare to equally sized models.
https://forum.mikrotik.com/viewtopic.php?t=134776
" dedicate a few consecutive days (like weekends, or a Sunday, for example)" - who's parenting the kids? Note that about 86% of adults end up having kids.
Set up a landing page website and/or discord chat room, make a youtube video and some reddit posts showing off your product, and offer it for free to anyone who visits.

then, offer a paid version with some extra features and explain to those users exactly what their $5 a month or whatever will pay for (5% to fees, 13% to aws, 27% to your personal pocket, etc)
Probably because complaining isn't allowed at work. They mandated the usage so that's not a good sign especially when OPs complaints are deal breakers for anyone who isn't mandated to use it.

I.e. the emperor has too much kb.
Outdoor cats kill billions of birds annually.

https://en.m.wikipedia.org/wiki/Cat_predation_on_wildlife
This seems a highly unusual approach. Does it achieve anything at all? At least in the UK, our convention is normally that representatives only deal with their own constituents, and we have a set of MEPs for each geographical region. If you're in the UK, you can identify and contact yours via WriteToThem:

https://www.writetothem.com/
Why do you think it's awesome? It's just another zealous implementation of some guys unearned and unfounded ideology. You know you can write the same thing with regular JavaScript and cut out the middle-man.
FFI topic, yay!

A year ago, I made a very nice FFI for TXR Lisp.

Example: creating a window with SDL, GTK, X11 and Win32, from scratch: http://nongnu.org/txr/rosetta-solutions-main.html#Window%20c...

(The Win32 example is an almost expression-for-expression translation of the C sample from MSDN called "Your First Windows Program". It re-creates all needed Win32 data types using the FFI macro language.)

Unix Stackexchange accepted answer: decoding IP datagrams from tcpdump using TXR Lisp FFI:
https://unix.stackexchange.com/a/379759/16369

The FFI type system has a richly nuanced declarative mechanism to specify data passing semantics (think: who owns what pointer, who must free what) at every level of nesting.

It has bitfields, unions, enums (typable to any integral type). Supports alignment and packing in structs and has special integral types that encode in little or big endian. Unicode, ASCII and UTF-8 string encoding; understands null termination as well as character arrays that are not null terminated. Bitfields can be signed and unsigned and their underlying cell type can be specified.

Pointer types can be tagged with symbols for a measure of type safety, to catch situations when a widget is passed to an API that expects a doohickey and such.

http://nongnu.org/txr/txr-manpage.html#N-0275762A
Just 13 months to the 50th anniversary. Wonder if Buzz Aldrin will make it.

Mission Control in Houston is being restored to its 1969 look. Funding is from a completed Kickstarter.[1]

[1] https://www.kickstarter.com/projects/589813043/restore-histo...
My first programming language was QBasic on MS DOS 5-point-something. I quickly graduated to C, but I still remember the thrill of writing my first application, which was a menu system to help the neophytes in my office launch the applications we used at work without having to type commands at the DOS prompt.
Mozilla also.

https://location.services.mozilla.com/
You've made this personal twice now, signaling a lack of any real argument.

You do not know my history, and sadly you didn't even bother to do some basic research or you would recognize that I'm one of the few in our industry that has called for regulation and data protections for years. [1] Instinctive has been on the forefront of this as well with our most recent push for net neutrality. [2]

And surprisingly you seem to miss that B2B marketing is rather unaffected by GDPR since everything we do has always been contextually targeted, consent-based, and 1st-party relationships anyway. If you want to have a discussion, base it on the ideas and not the person.

1. https://twitter.com/search?f=tweets&q=manigandham%20regulati...

2. https://www.newamerica.org/oti/press-releases/companies-urge...

--

As for Facebook breaking laws, I find that incredibly hard to believe given their resources, recent legal , 1st-party data and consumer connections in their walled garden, and the fact that consent is already given by billions of users who just want to use FB products and don't care about the rest. They have nothing to gain from skirting regulations that only serve to strength their relationship.
> Why would you shit all over your colleagues’ work like that? An announcement post is not a place to air your grievances.

I know it's unkind to air dirty laundry, but there are no good options. Either I'm disloyal to some of my coworkers, or I let a bunch of developers to run into the same problems I did.

If the positions were reversed and I was considering a library, I'd want employees to chime in with their experience using it. That remains true even if those experiences were negative.
You've hit one of the core problems, but your perception of what Cal recommends and what you should do to achieve deep work is wrong.

For deep work, you should be able to block a chunk of your day to do important tasks without being interrupted. That's not the same as organizing the day by hours. This blocked chunk can be dynamic to accommodate emergencies, but you must be able to say nobody should interrupt me for the next few hours at some point in your day.

Otherwise how can you engage in something deep? I've been in this situation many times. I can't do any productive work in my office because there's an endless stream of interruptions, emergencies and stupid things going on. That's why I have to resort to doing all significant work at home, where nobody can annoy me.
Daniel Pfeffier’s effective cmake talks about how to do that. Setup each project standalone and get the dependencies with find_package. Then create a superprojects thats add each dependency with add_subdirectory and override find_package to be a no-op for dependencies added with add_subdirectory, since the “imported” target is already part of the build:

https://m.youtube.com/watch?v=bsXLMQ6WgIk

Now, overriding a builtin function is not the best idea so in boost cmake modules we have a bcm_ignore_package function which will setup find_package to ignore the package :

http://bcm.readthedocs.io/en/latest/src/BCMIgnorePackage.htm...
Because they ad fluoride to salt (or sometimes in milk).

In some places they remove naturally occurring fluoride from the water until it reaches what the WHO considers safe.
It's quite probably not, though. It may well be that interstellar travel is, for all practical purposes, impossible, and that all cultures remain stuck as single-planet cultures.
While I have no connection to this I’ve worker with a few charities and item donations outside of a process that would be used to generate money e.g. goodwill type stores is often highly inefficient to the point of costing the charity more money than the value of the goods.

Food specifically is highly problematic since even canned food go wrong (leave food cans in direct sunlight for a day or two and open them, it won’t be pleasant) these items need to be individually checked and if you need to transport them the cost of transportation alone can often be higher than the value of the goods at your destination.

On a personal note at least in the UK chartities that do pickup goods for donation are highly picky and anything that will not turn a profit will not be picked up or accepted by them as they simply cannot cover the cost of transport and disposale of goods that won’t sell or won’t be of value.

The sad truth is that often the only real thing you can and should donate is cash.
Really appreciate this. Makes it easy to convert graphed academic journal results into data I can use for funding presentations. Thank you.
When Passion and Technology Meet
You are the worst!
You need to work on fit and finish...I would not contact you guys if I saw this.

https://imgur.com/a/Q8kl94w
The modern argument for lower-line-lengths is the ability for more screens+fonts+UIs to display two blocks of code side-by-side. Somewhere between 80 and 120, you start to force many UIs to wrap. Adding to the subjectivity, approx nobody cares about one line of long code out of 100,000 -- so what percent of code-that-wraps is too much?

To avoid dying on that hill, many eng leads just throw up their hands and give into the 80-column folks, even if it's less productive for everybody else.

The beauty of gofmt and black is that formatting can become a commit hook, so no human wastes time cutting lines manually like some early 20th century typesetter.
VMware has something similar in clarity[0], and I guess they decided that bootstrap in a mobile first framework and what they wanted was desktop first, since that what their customers use. I guess what matters more than reactive are wizards, login screens and tables[1]. Incidentally whoever made these examples appears to love pokemon.

[0] https://github.com/vmware/clarity

[1] https://imgur.com/a/5j4PaIR
> I have never spent more than a few hours trying to figure out how to do something in CMake.

A well designed tool would not need a user to spend "a few hours" to learn how to do a specific thing.

People are far too in love with their annoying build systems.

Soon, if not already, tools to build CMakeLists.txt from something simpler will exist. Eventually that will expand to the point it itself requires a tool to generate config files so that it can generate config files for cmake so that cmake can finally fail while generating whatever your compiler wants, and then you have to debug that shit.

I remain to be convinced that build tools are even fundamentally useful.
That's what the autotools are for. Yes, they're horrible. The problem is horrible and the autotools are worse. But they work.
I think some people actually take pride in being able to provide that kind of service. I'm not sure how many of them actually fall into that category.
How has no one mentioned the best part of QBASIC??? The question mark character character is a shortcut for inserting a PRINT statement. <3
Along with all the other great comments here about Bean, one of my favorite aspects of his time as an astronaut is that he was the one in the rocket for the renowned SCE to Aux situation. This 4-minute clip from the "Failure Is Not An Option" documentary explains.

https://www.youtube.com/watch?v=eWQIryll8y8
I've sunk countless hours looking for a way to emulate USB devices in software under Windows. Two years ago there were many different ways. Today there are zero ways that I know of, apparently all removed within the last two years by an astounding tragic coincidence.

To elaborate on this section:

http://devalias.net/devalias/2018/05/13/usb-reverse-engineer...

- There are two versions of the USB/IP drivers. The initial version has a bug where disconnection of a device causes a blue screen. This version is signed by ReactOS, and so you can install this version's drivers without needing to jump through any hoops under Windows. Then there's a patched version that does not cause the bluescreen. Great! Except that this version is not signed by ReactOS. Okay, maybe we can get ReactOS to sign it -- nope, they discontinued their driver signing program because of new regulations by Microsoft put in place within the last year (https://www.reactos.org/wiki/Driver_Signing). You can also no longer install unsigned drivers on Windows 10 by putting your machine into test mode. This capability was silently removed by Microsoft within the last year. You can still put your device into test mode, but the driver signing checker will still block installation. This is a damn shame because USB/IP is a great project, and it even has a signed driver but the patched version of the driver is not signed. This is infinitely frustrating.

- Microsoft used to have this perfect thing called UDE (https://docs.microsoft.com/en-us/windows-hardware/drivers/us...). They removed it last year.

- Kernel mode drivers for Windows now have to go through this signing process (https://docs.microsoft.com/en-us/windows-hardware/drivers/in...) as of last year. As mentioned before, this is why ReactOS discontinued their driver signing program as it's too difficult to meet these new requirements.

I have read every forum post, stack overflow post, Windows technical docs, everything I could possibly find for a way to do stable, pure software emulation of USB devices on Windows. They all evaporated within the last year or two. So frustrating as I really really want to build out something but there's simply no way to do it.

At this point I have resorted to attempting to hook every Windows system call related to USB device initialization and spoofing them but have been met with no success thus far.

I should note that the reason I want to do this in software is because I want to distribute the end result to a relatively large amount of potential users as GPL'd software. For this reason hardware emulation or patching / downgrading Windows isn't an option sadly.

Does anyone know of something I missed?
It's absolutely insane that freebooting [1] on Facebook was allowed to persist for so long. It's easy to see the right to monetary remuneration as a method of addressing a massive loophole exploited by Facebook and certain users for years.

[1] https://www.youtube.com/watch?v=L6A1Lt0kvMA
Indenting is no weirder than having to number your lines. But yeah, you'd ideally want to set up an IDE.
Understanding React component life-cycle
I can appreciate that purpose, but they're also really annoying to traverse for other kinds of vehicles, including small-wheeled strollers, children's scooters, longboards, etc. It's appreciated when the curb cut can be a bit wider so that there's a section which is smooth all the way down.

With my powered longboard (Boosted), I'm usually on the road, but there's a section of my commute where I'm on a multi-use pathway adjacent to a busy road and need to use curb cuts to navigate crossings at a pair of roundabout— having the bumps there (with limited way to avoid them) adds instability exactly when I'm about to cross traffic and need to be able to focus on which non-signalling, unaware drivers are about to swerve out of the roundabout and plow me over.

I'm obviously a tiny minority in this, and the accessibility argument is huge, but OTOH crossing these roundabouts in their current condition would be pretty much impossible anyway for a non-sighted person.
You can't take on cat lovers and expect to win. If there's one thing humans enjoy, it's a subservient apex predator who curls up on your lap and purrs.
This reminds me of an old Russian joke. A Soviet factory has six fireplaces and only one fireplace poker; rather than carrying the poker around every time they need to use it, they decide that they should get five more so that they can keep one at each fireplace.

At this point you need to understand a big of Russian grammar. As mentioned in the link, Russian has different forms for -ending-in-1 numbers, -ending-in-2-through-4 numbers, and -ending-in-5-through-9 numbers. Also, the third set of plurals are often irregular.

This being a Soviet factory, the requisition for fireplace pokers needs to be sent with all the correct paperwork to the bureaucracy. A debate arises: What is the appropriate plural for kocherga? Send the form out with the wrong word, and the wrath of the Soviet bureaucracy will fall upon them.

After arguing back and forth for a while, an old janitor hears the conversation and proposes a solution: Send in a requisition asking for three kochergi and two more kochergi. A few months later, they get their fireplace pokers along with a note: "Here are the four kochergi and one more kocherga which you requested."
https://news.ycombinator.com/item?id=17160526
Try adding a couple more dimensions, each rated on a scale of 1-3 or 1-5 or so:

A field for number of users (or $ in contracts) affected (for instance, does it affect every single user for every interaction; or only enterprise users with the Foo setting on "bar" when the moon is full?)

A field for severity/impact (Direct impact on cash flow? Data loss? Can't use the feature at all? Open up new markets? Decreased feature functionality? Significant bug with workaround? Minor bug?)

A field for centrality of the affected feature (whole purpose of the product? Important to most people's workflows? Peripheral feature that only adds minimal value?)

A field for complexity / level of effort to fix (rate this one on an inverse scale so that the highest numbers are the easiest to fix).

A field for urgency (is there an external deadline attached to this? A vague manager expectation? Is the expected completion time next week? Next year?)

For each ticket, multiply those numbers together, and you'll get a pretty decent and comparatively granular ROI ranking.
This is the least compelling argument on the subject I have seen. New-agey religious hokus-pokus. That you can't prove it wrong, doesn't make it plausible - a LOT of things fall into that category including Bertrand Russel's teapot.

How about talking about the mathematical intuition behind simulation theory. If you think it plausible that we will one day create simulations complex enough to contain conscious beings, and you think it likely we are not the only such civilization in the universe, then it naturally follows that simulated universes well out number real ones. Thus we're more likely to find ourselves in a simulated universe than a real one. If you accept the first premise, which is a jump with our current technology, but maybe not a jump out of reach - then one must accept the conclusion as well.

Or one can look at how odd it is that the entropy of a 3-dimensional volume of space is proportional to the surface area - not the volume. That's a counter-intuitive result that strongly suggests our three dimensions are an illusion.

Or even spooky action at a distance - instantaneous communication of quantum state across vast distances is difficult to explain in a physical universe, but could be much easier in a simulation - especially if entangled particles shared some sort of locality inside the computer running it (e.g. adjacent bits in memory.)