skysight-inc/HackerNews huggingface dataset:
My first IT job was building apps with Oracle Forms. To this day I miss the ease of creating a UI and some simple database tables with it.

Sadly this requires a GSuite accounts, so it is hard to try out.
A couple years ago, I wrote a container than periodically polls the Docker Socket to check for currently running containers with exposed ports and a special label applied.

It then iterates over those containers and writes a nginx.conf file to a shared volume, then sends a SIGHUP signal to another container running nginx as a reverse proxy to the containers.

The "polling job" container doesn't expose any ports and is not reachable from the outside world and the only input into this program is reading data from the Docker Socket.

Do you think this is still vulnerable to attacks like Traefik is or does this 2-container routing protect against the attacks you're thinking of?
Crystal has the foundation for parallelism, it has the same concurrency model as go. Adding parallelism will happen before 1.0. Adding parallelism to crystal is easy, it's already been done in a branch and it works fine. The problem is getting the implementation fast enough that it doesn't regress performance for IO bound workloads. It's coming, just wait :)
> with Latin-1 you're shooting yourself in both feet

Can you be more specific about that? As I wrote in a sibling comment, I'm not convinced. I mean, nowadays you shouldn't use any of the ISO-8859-* encodings anymore of course, but we're talking about the 1990s here.
Oh please, unless he developed something patent-worthy or something specific that could be used by direct competition then it's stupid not to let an employee talk about his (technical) work.

In 99.99% the cases where a manager would be so impertinent as to decide upon how the personal time of an employee be used, it's because the manager is a shitty manager and the employee is completely worthless in the eyes of the manager.

It would be a great insult if a manager treated me like that, because it would either imply that I'm too stupid not to know what I can and what I cannot reveal about my work or (the most likely reason) that even though the risk of my presentation hurting the company is minute, I'm so worthless that he thinks he can just tell me what I can and can't do in my free time.
npm packages are interesting in that they run both in-browser and in-server -- it stands to reason that the in-browser attack surface is far larger and its impact would be rarely noticed by users (since they're already accustomed to websites taking up inordinate amount of resources.)
Watch NASA astronauts take a SPACEWALK
Agreed. There would be a ton of work to sift through that and using a modern BSD may likely be a better path forward. I just think it’s very interesting in how small a space this runs.

Your other question is also a good one. I couldn’t hazard a guess what the next 10 years for video would be. I would guess display port in some format, but VGA is still kicking around a lot. For *nix serial still works quite well.
Mention one such law.

EU law that creates a barrier for startups? Here are just a few examples that are likely to be relevant to a typical startup we might have been discussing on HN, in addition to the various attempted IP changes mentioned elsewhere in today's discussion:

* Article 82(c) (the foundation of the anti-price-discrimination regime)

* Consumer Rights Directive

* ePrivacy Directive

* VAT regulations (particularly the 2015 changes affecting digital services)

* GDPR

All of these could credibly have been introduced with good intentions. Many of us would probably support reasonable consumer rights protections or privacy provisions, for example.

However, all of them have been criticised for their practical implementation and their adverse (and possibly unintended) effects on smaller businesses.
Ocean's 8 Super Ladies Attempt a Heist for a Multi-Million Dollar Ornament
I'm similar to you. An every-day / almost every day C++ user. I've been using Clojure for a personal project and I really enjoy the much-reduced overhead imposed by the language. Unfortunately it runs on the JVM so that's not something I'm super stoked about. But this language seems interesting. The interoperability with C libs gives it a head start. The syntax seems much nicer than Rust. Too bad about the parallelism but frankly you can get by with a single core for a lot of things, I'm sure it's on the roadmap anyhow.
I’m currently reading the book precisely based on a recommendation from HN. It’s a great book indeed.
Show HN: Game of life AI competition
Introducing Octopus Cloud
> Or both the government and big corporations hammering down on the humans...

"If you want a picture of the future, imagine a boot stomping on the human face, forever."

- George Orwell
Ask HN: When to choose React, Vue, or other framework
We are fortunate to have so many good front end frameworks but I do find it hard to keep up with know how to choose between them. Currently React has the most usage with Vue having the greatest momentum. These can contribute to choosing one or the other but not based on that alone.

I use React at work and Vue at home. I would choose Vue at work for new projects because the work projects are relatively simple and developed by small (~3 person) teams. The main thing I appreciate about Vue is the low cost of creating, reusing, and maintaining components. In particular, I prefer having local state and parent<->child communication with network requests being made at the deepest level that makes sense which makes for much looser coupling.

I see the advantage of React being the number of available developers and the use of PropTypes adding stability in larger projects and teams. One thing I've noticed is that full-on React has a higher learning curve which tends to put off our mobile and back-end devs from detracting them from productive full-stack development. I think Vue would do better here, but that has yet to be tested.

Other frameworks I'd like to get some exposure and real-world experience using are Elm, ReactReason, and possibly TypeScript or PureScript in combination with some framework. I don't have much experience or interest in Angular1/2 but would like to know when they would be more appropriate choices.
Yeah, I express myself badly, still they fully replicated the API in JavaScript.
I use Subaru's system regularly. You are always in complete control, and it is easy to take over. I liken their lane keep feature to "a strong wind blowing on the side of the vehicle." You just apply a little bit more force than normal and the system immediately shuts off.

I think the systems that are only lane keep/distance based cruise control aren't too bad, because you never feel like it is a fully autonomous system. It is the "uncanny valley" systems, particularly those with misleading marketing, that are getting people into trouble.
It's a tool for businesses to get a web site presence so they can pay Google money to promote their sites.

If it makes money, they will keep it. Think about it, Google is paying $300-$400k per engineer, if they have 10 people working on this that's $3-$4 mil per year plus the cost of infrastructure. If the experiment doesn't pan out after a few years, they will kill it.

It's strange to me that HN is a crowd that embraces the idea of "experiment often and toss it if it doesn't work" but then is shocked when Google does the same.
great really interesting...!
I think you're getting confused by concurrency and parallelism. Crystal is concurrency-first and uses the same concurrency model as go. Expanding that to run fibers on multiple cores is just an implementation detail.

A difficult implementation detail, but it shouldn't affect the core of the language.
Udacity ROBOND T2P1: Objects Like USB Cables, LED Bulbs etc Annotated in Images
How much do you "gain" by launching from up hight (e.g. the Andes / Himalayas, as opposed to sea-level like in Florida)?
With the end of Moore's Law, are we returning to vertically integrated hardware+software?

Domain Specific Architecture talk by Hennessy & Patterson, 2018 talk for 2017 Turing Award: http://iscaconf.org/isca2018/docs/HennessyPattersonTuringLec...
Amazing Man with Real Super Powers
Don't tell SharePoint developers that.
No, this is jut a toy, it would never be used for real IoT or IIoT devices.

There is no need to dynamically load any code on these type of devices, you would generally just use eXecute-In-Place (XIP).
The type of applications you develop for these devices simply do not require UNIX like features (multi-user, etc).
Many more appropriate OS'es exist for this to be taken seriously.
If all your fellow high school students who didn't prepare for tests were magically granted admission and loans to go to a top 10 university, what percentage of them would you expect to have done well there and been able to repay their loan?

I assume the answer is greater than 0% and less than 100%. In which case, the second question is, what signal other than test scores could the top 10 universities use to accurately distinguish between those in your particular cohort who would most likely succeed and those who wouldn't?
Know Yourself, Know Your Label
Paycheck - I haven't read the book but, in the movie [1], the main character has his memory wiped back to the initial state after working on trade secrets.

[1] https://en.wikipedia.org/wiki/Paycheck_(film)
I have this running on a Fubarino. It's nice to fiddle with but not quite useful to be serious. I have an ethernet module that at some point I need to hook up to it.

What I really want is a DIP version of the PIC32 with enough RAM and flash to run this or the 4.4-based LiteBSD[1] by the same people.

[1] - https://github.com/sergev/LiteBSD
Reddit needs to just get rid of mods entirely. Or at least have mods like the ones over at /r/libertarian
She sure didn’t go to a worse place...
Example: a company is using Angular 1 today and looking to modernize their stack. You have been hired, and one of your first tasks is to pick a new framework and convince the rest of the team that it's the best choice. You're thinking about the following options:

1) React
2) Vue
3) Angular 2+
4) Aurelia

If your preference is 1) or 2), it shouldn't be too difficult, even though it means a complete rewrite or building in-house adapters to migrate gradually. If it's 3), even though similar adapters exist, good luck convincing anyone. If it's 4, you're basically dreaming.
Rampant spam, falling registrations show new gTLDs have limited business value
Yes; one of the 3-letter agencies (I forget its name) has a satellite that can take gigapixel photos 20km (IIRC!) wide. Satellite sends 1EB (yes) per 24h of timelapse. Presumably said agency stores a few days/weeks of footage.

Ok I really need to go find that article...
Doesn't ME have DMA access (even bypassing VT-d) to all memory?
Why would they avoid fluorite elements?
Not a mac user, but to disable all system sounds is the very first thing I do after installing windows. I would do the same on a mac. I simple just don't want to listen to that noise every time I turn on my computer.
Sure, with third party libraries (that are mostly written in C), you can get whatever you want. I’m just talking part of the language. In C++, the range of data structures are huge if I use third party libraries. For example, EASTL expands the STL containers with intrusive variants and more.

Of course, an argument could be made that looking just at the language (without third party libraries) is unrealistic and useless, and its true. You could also argue that Python libraries are easier to install and use than C++ libraries (which is also true), but when you look at the languages in isolation, Python only has a few basic structures and C++ has multiple ones.

Again, I acknowledge that this is an academic discussion since in real life, I’ve never actually seen it matter and, when it does, libraries like numpy that delegate the work to C exist and are easy to use.
Europe has been lagging in growth for over a decade now
Few things that bug me about this:
- what would have happened if this guy didn’t get a lawyer, couldn’t afford one, or was too intimidated by this experience to do so? How many others fall into this category?
- he was planning on using his life savings to buy some real estate. Now I don’t know what the Albanian market is like, but it’s been at least 90 days since this happened and I know in the US, 90 days can equal some big missed opportunities in real estate..
Instead, it has somewhat realistic space physics, a trade-off I will gladly take.

If I want mind-bending stuff there's still Legion and Mr Robot out there, not exactly "cyberpunk VR darknets" but very strong on alternate reality/conscious themes.
Initial thoughts on reading the abstract: what a crackpot.

There's a good reason to sub-cellular structures and interactions: we need to have a reductionist's understanding in order to better understand the whole. We never would've had any real insight into the cell, or much of our modern day medicine, without all those researchers putting in hard, arduous hours into studying the molecular mechanics of single proteins.

Ford would apparently have us see the cell as a antropomorphised black box, attributing all behaviour to 'cellular intelligence'.
Open arrays were in Delphi from the beginning, but Dynamic arrays were added much later (circa 4.0 IIRC.)

Object Pascal was always a lot more free with setting the bounds of an array too - you could specify any arbitrary range or even an enumeration. That's one thing I miss in C like languages. Being able to define an enumeration, then set the array bounds to that type - and then access it via the enumeration's values.

On a side note, I also miss sets. They were a first party part of the language, not a set of bolted on classes in the runtime library. I remember that I would quite often defined an enumeration, and array that used that enumeration as the subscript and a set to allow parts of the enum to be turned on and off when accessing the elements of the array. That was pretty cool. It made certain things a lot simpler - like defining errors that were raised by an action and then getting their textual error messages - all without having to do any conversion or anything fancy.
Unisecure Data Centers Offers Next Generation Colocation Services
Every project has it's warts, long running feature requests, and it's bugs so minor nobody's gotten around to fixing them.

Some projects decide to hide those by closing the issues, we generally keep them open, because they are still valid issues.
Tesla Vehicle Deliveries: Past, Present, and Future
This should help you: http://bfy.tw/IcVP
Couple things:

I would speculate power law is very task specific(aka 5 years of java development doesn't translate into 5 years of python development).

Most task don't require that level of proficiency(aka crud apps)

Geoffrey Hinton and Andrew Ng already have pretty well paying jobs are most companies willing to spend that kind of money? And I wouldn't hire them to optimize my database or something.

If you wrote a library you are probably the one that is best at using it. Next would be people that go to conferences and training related to that product/library
Great example. Also means you can google anything about TypeScript like the most obscure bug, and SOMEONE has hit it before you. Flow, not so much.

Facebook really screwed up by not having Windows support for the longest time, and even after they did, not having it as a first class citizen (since most statistics have FE devs to be roughly 50% on Windows). Not that they cared about adoption, but as Flow users, we did.

At my company we started out with Flow and eventually agreed to switch to TypeScript, as the former is getting to be too obscure a technology.
A few days ago last year, my heart imploded. We still don't know what caused it. We don't know if it'll come back (I've had a shitty couple of months recently with the same symptoms but they went away at the end of last week), and I had major knee problems at the same time.

Still working on improving my health, but coming to terms with this being a part of life rather than something I'll get over completely.

If anything, the last 12 months has taught me that your health is the one thing you can't replace. Enjoy living while you can, because when your health's gone, it's gone.
The advantage of Object Pascal is that it is compiled to binary. Lua is generally interpreted. I guess you could implement Lua execution on top of this - so you could make it happen. Depends if the Free Pascal compiler can link in the Lua interpreter for this platform, and what level of integration Lua has in to the Object Pascal language.
Astronomers Catch Black Hole Devouring Star
> There can be other reasons, even with a manager that's 100% on your side. For example, maybe he worked hard to get approval for you to go to that conference, even fought his supervisors, but at the end he lost? That's why the best advice is to ask him to explain the decision, and not to come to the conversation with any assumptions.

Fair enough. Maybe I should have said "managerial layers" when I said management.
Show HN: Swagger Inspector - Test APIs and Autogenerate OAS 3.0
Show HN: Java tools and data structures for working with Snowplow events
for ( var i=0; i<n; ++i ) {..

In Javascript this will loop from 0 to n-1 inclusive regardless of using ++i or i++, because that loop 'stepping statement' happens after the loop body.

Its possible to combine the step in the test to go from 1 to n-1

for ( var i=0; ++i<n; ) {..

best to be aware of the quirk and just do

for ( var i=1; i<n; i++ ) {..
Shouldn't the manager as a decent human being, upon so blatantly encroaching on another human being's personal time, be the one to explain himself and his reason for his refusal?
Breaking Signature Verification in Pass (Simple Password Store) (CVE-2018-12356)
So it should generally be possible to go from image --> dockerfile as the information is included in the manifest. If you save an image as a .tar.gz you can extract the info from there or there are also tools to reverse engineer Dockerfiles from images

https://samaritan.ai/blog/reversing-docker-images-into-docke...

That is a good point about lack of reproducability though. I suppose an interesting attack would be to deliberately forge information in the manifest before pushing to Docker hub...

I also tend to use anything other than the official images as "inspiration" and re-implement myself.
The original Star Trek also had a megacorp keeping workers pacified with neurotoxins (The Cloud Minders) sex slavery with advanced pharmaceuticals (Mudd's Women,) genetically engineered elites oppressing baseline humans (Space Seed) and AI run amok (The Changeling, I, Mudd and others.)

It was optimistic, but it was also a product of the 60's. Fear of the future was there, it just tended to be presented in political terms, through metaphors of the Cold War and Vietnam, rather than technological.
The project's response is here:

https://lists.zx2c4.com/pipermail/password-store/2018-June/0...
Yes but you have to check what you buy carefully.

There are HDMI over cat5/6 cable that are basically point to point and are basically just replacing the cable to transmit a longer distance.

The more expensive products that claim to translate HDMI into IP and send over an ethernet network. I'm not sure if they are just turning into ethernet packets and only work on a LAN or if they turn into routable IP packets.
Multi-GPU Framework Comparisons
The startup sound was removed in the previous macOS version. Having a setting would be better because with buttons rather than switches and the removal of the state led it is now really not possible to know if the machine is booting or not.
Luck plays such a major role in life that:

1) You're better off looking at things probabilistically.

2) You should seek ways to put the odds in your favor whenever you go up to bat and forget about the outcome.

3) When things are going your way, don't get arrogant. And when things aren't, don't get despondent.

4) You should keep going up to bat and let the law of averages work things out in your favor.
That's a good point. Too late you edit my comment now, but I agree it should have said something like "heat from a nuclear reactor ...'
But lots of animals commit suicide. You don't need to talk about lemmings.

https://en.wikipedia.org/wiki/Autothysis

And your discussion sounds with your professor sounds really stupid - he literally claimed to be the ultimate authority on lemmings? An academic with a chair said that? Sounds so unlikely I'm not sure I believe you.
The only crime here is that they were allowed to collect money in the first place from innocent victims. They should have gotten life and no one would be sorry for them. But then again, so should their clients.
With new technology such as VR, live streams, television, photographs there has to be a better way to do this rather than holding them in captivity
I'm going on a tangent (and I'm not trying to troll, I am just as "guilty" as you myself. Worse, in all likelihood)...

I really think that I'm seeing a lot more of "capitalism wants to" or, "globalists are going to" or the good old "the government believes." Abstract concepts personified, deified and vilainised in the way we talk.

Im not against putting things into wider contexts but I do think that this sort of language is leading us astray, more this last year or two then the few before it.

Capitalism, corporatism, neoliberalism and market forces are at play here, so is regulation, centralised decision making.... But, these are abstractions and I don't think they tell us more then the specific does. Let's not just blame whatever abstractions we are used to blaming.

How about (1) people bullshit, especially when they're trying to sell you stuff (2) there may be an uncanny valley type of problem somewhere between cruise control and full autonomy, a level of automation that's not good. It's no longer a driving feature and it's not yet an automated driver (3) laws, driving conventions and common sense will take some time to adapt. (4) we need to make sure we don't let the well understood "people bullshit, especially when they're trying to sell you stuff", especially when their competitors are bullshitting problem lead us into car accidents.
If you steal materials (source code, diagrams, pictures, documents) it's theft especially if you can prove it was removed. If you just go work for a competitor and you know stuff (i.e. in your brain) how do you prove its theft? As far as I know many employers employment agreements are hard to defend especially in certain states. I once had an employer require me to sign a contract stating I could not buy anything from any vendor they used. When I pointed out they purchased things from Walmart did they mean I couldn't go to Walmart any more? I signed it with this clause removed.
More mammals are becoming nocturnal so they can avoid humans
I was always interested in Buddhism partly because it doesn't have a God figure, and it's been a good decade since I passed through my arrogant teen atheist phase and realised that other religions are not irrational fables, but the book helped me to see some specific instances of valuable Christian teachings that I hadn't known about. I'd like to have a crack at reading the bible and other religious texts but I'm concerned about trying to piece together the lessons through the presentation and getting the wrong message given religious texts are supposedly very metaphorical and occasionally cryptic.