skysight-inc/HackerNews huggingface dataset:
Ask HN: The end of CRUD apps?
I can't believe the amount of work that's put into designing, building, testing and maintaining CRUD apps. Now that every restaurant, festival, taxi company, school, appliance, store, insurance company, airline, bank, etc. want their own apps, things are even worse.

Having contributed to the development of dozens of apps, I feel like we're just reinventing the wheel over and over again. The amount of duplicated effort is insane, considering that most of these apps basically do the same things (basic CRUD). Clearly, this process is inefficient and doesn't really scale.

Although there has been attempts at tackling this problem by building general purpose CRUD clients (hopefully higher level than a web browser), I don't know that any of them succeeded.

I would like to understand why we don't have universal CRUD clients that replace apps, and what it would take for one to succeed.
> It doesn't stop at forward-mode, and reverse-mode, because finding the optimal mode relates to a complicated graph problem, which, IIRC, is NP-hard in general.

Yes, there are combined forward-reverse-mode approaches as well as "cross country" approaches. That's in part of what I menat with a "whole world to discover".

> Not only that, but most of the difficulty is in getting these tools to work on arbitrary codebases, making it more a software engineering problem rather than a maths problem

Depending on your viewpoint, it is neither SE nor math, but a PL (programming languages) issue, meaning that viewing the program e.g. as register machine (classic assembly) yields to different approaches than viewing it as lambda calculus expression (which provided great results, but it is hard to transport the results back to languages like Fortran or C++).
Seems kinda selfish to risk your family's wellbeing for the sake of your business dream.
There are 10s of millions of visitors to the US every year, and we hear about what, a couple incidents per year?

That said, that's still too high a risk for business data.
Hardly good advice. Tor Browser is specifically built with privacy and security in mind. Using any "mainstream browser" and then expecting to do all those tweaks is not practical advice nor feasible.
PS. In Central and Northern Europe bikes are
only useful for 4 months a year.

I live in Berlin and you definitely see lots of people on bikes between march and october (8 months of the year). Not much different in Amsterdam or Copenhagen I believe (quite possibly better).
I think the main one that people are banking on is self driving cars.
Whether it'll get here in 2 years, or 10 years. As soon as it's production ready, entire industries will be replaced
On the visa price front they already beat everyone else. 115$ for half year visa? Or 450$ for two years visa? Great.
Google Redefines the Word ‘Fascism’
Ali-G - the original transracial: https://www.youtube.com/watch?v=ZHJmY6h-LV0
It's definitely a band-aid, but has anyone tried ksm on linux with a web/electron-heavy desktop to see how much ram is duplicated across multiple instances?
As far as I understand, there's nothing impossible in optimizing the internals of Electron while keeping more or less the same application-facing API. And if it's possible, it will get done, sooner or later - after all, Java had a reputation for being slow too.
but... why?
Is a simple terminal not good enough?

>An IDE for terminals
but why!?
Yes - Elon Musk has quoted quite a few times that even if all electricity is generated via Coal then a Tesla still produces less CO2 than a Prius.

Plus things are improving all the time with electric. That's one of the wonderful things - decoupling of energy usage from generation. You can switch the coal to solar, you can't just switch the diesel for something else that doesn't pollute.

Plus with the Gigafactory they can start doing very efficient battery recycling because they built the batteries (there was a quote somewhere in the speeches given at the Gigafactory opening)

Obviously Tesla is biased, this Green Car Report article [0] (probably still biased, but seems pretty acurate) reckons on 292 g/mi of CO2 for a Tesla:

> We've arrived at a number for the real-world effective CO2 emissions of a Model S of 292 g/mi. Admittedly, that's lot higher than Tesla claims on its website.

> But worse than a Grand Cherokee? Hardly.

> The V-6 Grand Cherokee's official EPA CO2 number is 479 g/mi when fitted with the smallest engine offered, a 3.6-liter V-6. The more powerful V-8 model logs in at a whopping 592 g/mi.

You then have a separate wired article raising most of the questions you're asking [1]

As far as I see it though, all of the aspects of electric cars can be improved from mining of the minerals to recycling - but you can't recycle oil and there's very few improvements that you can make.

[0]: http://www.greencarreports.com/news/1084440_does-the-tesla-m...

[1]: https://www.wired.com/2016/03/teslas-electric-cars-might-not...
Thanks for the info. The main reason I transcode the streams before transmitting is for size, not compatibility. There are a lot of situations where you really, really don't want to stream a 20 MB FLAC file. Lossy codecs like Opus at 128-192 kbps or MP3 V3/V4 can achieve transparency at a much smaller size, which is vital if you have a slower or metered connection.
They cannot be upgraded because ordinary users didn't actually ever upgrade them when it was even possible.
GF traveled to the US for work, a conference in Houston. Everyone that looked Arab of Muslim was 'randomly' picked out of line. Some of the employees had to undress and squat in front of the TSA and one had to undergo cavity searches.

These were regular European citizens. Let's just say conferences will be help in Europe or Canada in the future...
If you have to travel to the US, fly via Shannon Airport in Ireland. A special arrangement with the Irish government allows you to pass through US immigration and customs controls while you're still on Irish soil. When you arrive in the US, you're treated as a domestic passenger. You don't avoid the intrusive interrogations, but they're a lot more polite about it because they can't detain you. If you're refused entry, you can fly home at your own leisure rather than being detained and deported.

http://www.shannonairport.ie/gns/passengers/prepare/us-precl...
I just bought one. Looks perfect.
Share your idea we will prototype it
Share your idea we will prototype it for you,and when your idea works you can go full time with it.And we will not own any part of your business.
Youtube search engine is absolutely disastrous. Think of a band (no matter how obscure). Search for "[band] live" and sort by upload date. Good luck scrolling through hundreds and hundreds of spam "streams" before you find an actual video. No option to disable searching for these "streams" either.
Alacrity is intended​ to be used with a multiplexer like tmux, at least for now. I doubt you'll see tab support any time soon, if ever.
^ Yep.

Don't get me wrong, Trump is an utter catastrophe. But this was coming either way.

The writing was on the wall after Apple vs the FBI showdown in the wake of the San Bernardino shooting.

The intelligence apparatus will not tolerate lack of access.
Eventually we may end up with shared system-wide electron instances, that are shared between all applications that claim they're compatible with said version. Kind of like Chrome tabs all share the same Chrome browser.

Then someone will come up with ElectronOS.
React-inspired Components for iOS
Thank you, I got the smaller (not base) model but added the fingerprint reader, as it was only $20ish and it might prove useful. I'm glad you had no issues.
> You must install an additional DirectX component in order to install the .NET Framework 4.7 on Windows 7 SP1, Windows 2008 R2 SP1, Windows 2012 and Windows 2012 R2. The installation includes a single dll that will get added to your system. It will only be used by WPF applications. It is not possible to install the .NET Framework 4.7 without installing this component.

Why the heck should I be forced to install DirectX on a web server?!
Is it indeed the norm now to not cross borders with work data? That seems prudent, but I'm rather out of touch with enterprise reality. Regarding accounts, I'd only heard about social media, not work-related stuff. That would be blatant espionage, no?
Not to denounce their work but the website and app looks pretty terrible. I would imagine they would have enough funds to hire good developers after selling their house and cars. The article also talks about a funding from a Russian investor.

I was really interested in knowing how and where did they actually spend money. I dug further:

- They have 100-500 installs on app store.

- A good amount of their twitter followers are spam with most of their tweets with keywords such as giveaways and contest.[2]

- Their play by play commentary is coming from performgroup.com. I would think this would be their highest cost.

- Their site is hosted on aws.

[1] - https://play.google.com/store/apps/details?id=com.app.gameda...

[2] - https://twitter.com/GamedayXtra/followers?lang=en

What could be the significant cost here?
> So, does anyone know how this sports social network is going to earn money?

If you offer a free fantasy football game and a million players use it, you could probably gamble on sports using the data.
Looks interesting! I'll be watching this until Windows release.
The majority of US citizens did not vote for Trump. Just thought I'd point out that most people DO NOT want this president.
Can anyone comment on the relationship between memory usage and the number of windowed instances of Black Screen?

Right now I have 8 terminals open, some tabbed, some not, Sometimes I can have over twice as many. Many of them sit untouched on an Awesome workspace for days ready for me to come back to whenever I need them. This isn't a issue since their memory footprint is almost non-existent on pretty much any machine. Could I get away with this if I had to run an instance of Node + Chromium per terminal window? Is Black Screen one step ahead of me and it'll reuse an already running instance and open up another window? Do I want all my terminal instances to be managed by a single node process? Despite my reservations, still going to give this a go.

On a side note, anyone looking for a slightly more useful shell that is still very lightweight: check out fish: https://github.com/fish-shell/fish-shell
Why even us windows 95, it takes more resources than dos.
So what happens when they ask for my Facebook, Twitter, Snapchat logins and I do not have accounts with these companies? If a simple "I don't have social media accounts" is acceptable then I'm not sure why they even ask for passwords. Proving a negative is very hard.
Electric vehicles has to be the best example of why you should keep your objects loosely coupled :)
I feel this demonstrates why the MVC nomenclature is too vague and overloaded to be very useful any more. When every person has their own interpretation of the terms, they've lost meaning.

Case in point: to you, it seems obvious that the controller is like the Windows start menu. To me, that doesn't make any sense at all.
The article title seems pretty biased to me. This seems to be about the Indian government obtaining biometric identification data from its citizens.

Do readers successfully infer this from the article title, or do they think the matter at hand is some kind of physical invasion? I thought the latter, which is why I think the title is misleading and that this journalist is biased.

I understand the concerns about a government mandating the collection of biometric data, but it's hardly about their "right over their bodies".
What is the scope of idea? I mean can share an idea of an App? or a complete business? Or something not related to any of these two?
And that's the thing; if the EV doesn't have a range of around 300miles you would think of it as a second car, a city car, only suitable for commutes and shopping trips. Plenty of people have a second car, but I suspect many second cars were bought as a primary cars and then downgraded to second car once the family got a newer car. Not many people buy a $35,000 second car.
You are only scratching the surface. The real problem is not for mobile to take over, we can do it, but when to consider wifi down. It is all fun and games if your wireless network is connected to good fiber, but it is not always the case. Internet uplink may be high RTT or flaky itself, it may be low speed and someone started torrent client and video call, it may as well be the very same mobile broadband with "unlimited throttled home" plan, wifi AP can be connected to gateway over multiple wireless hops, etc.. Platform always has to question "is it problem with remote end or uplink? is uplink 2 better than uplink 1?"

Network switch comes with non-zero cost that all connections must be treated reset and have to be reestablished, so even if the platform monitors quality of all uplinks, we still need some uplink stickiness to avoid constant switching between uplinks in places with spotty coverage or flaky uplinks. I'm not saying current status quo is the best, but currently we cannot have it work perfectly.
I really hope this tool takes off!

The problem with existing tools (iptables & co.) is that they are pretty much useless for "ordinary power users". I don't want to spend my precious time checking logs and trying to figure out if yeat another tool / extension / ... decided it needed to phone home (or worse). Ideal UI? Block everything, inform me about it (via unobtrusive non-modal message notification) and let me decide on a case-by-case basis what to do with such traffic in future. Bonus points if you keep the log of events so I can traverse and approve / forbid them at time of my choice. Kind of like NoScript, but better.

I don't know how close to that LittleSnitch / OpenSnitch are, but I would love to see that as a standard part of OS.
Free software to reveal how Facebook election posts are targeted
While I don't like seeing people flame op for making a choice of technology, electron boils down to a trade-off between the developer's convenience and the end user's computing power. I think it's pretty reasonable for the users to not like that prospect.
>electron based text editor, music player, terminal, 2 - 3 chat apps, git browser

So... Atom, Spotify, Black Screen, Slack & Discord, GitKraken. "Soon" is now.
Girard is French, and The Blind Spot is best understood as a piece of continental philosophy, not analytic.

The short version is that back in the late 60s, Althusser suggested that fields of knowledge inherently have "a blind spot" -- his idea was that every field of knowledge has to resort to structuring/organizational principles which cannot be properly articulated within the field of knowledge itself. Jacques-Alain Miller applied this idea to logic, arguing that the Fregean definition of equality (and hence number) exhibits precisely this kind of problem. Namely, Frege defined zero as the extension of the predicate "not equal to itself", and so Frege implicitly excludes the subject from logic, as Lacan had defined "subject" as the non-self-identical.

However, Alain Badiou objected very strongly against the extension of Althusser's ideas to logic. He thinks that science and mathematics can generate definitively true, objective, non-political knowledge, and so while blind spots can occur in daily ("ideological") life, they cannot occur in science.

Girard is essentially making an argument against Badiou and in favor of Miller. Because Girard is Girard, he never explicitly mentions any of these people in his lectures. This way, he can laugh at those of us who were too ill-informed to catch the fact that the TITLE of his lectures is a direct reference to Althusser.

Anyway, Girard begins with Lorenzen's idea that a proof can be understood as a dialogue between a proponent and a refuter, and the observation that the continuation-passing-style translation embedding classical logic into intuitionistic logic doesn't require that the answer type of the continuation be the empty type. He observes that these two ideas fit together in Krivine-style realizability models of classical logic: every formula can be interpreted as a set of proofs and refutations, and the interaction of a proof with a refutation yields a behaviour in the answer type. As a programmer, I think of the answer type as the runtime system of a programming language. The Krivine construction ensures that every proof -- every program -- both respects the invariants of the answer type/runtime system, and can never observe them.

So the runtime system of a programming language exhibits the essential structure of an Althusserian blind spot, and so via Curry-Howard so must logic.

I don't claim to understand the implications of all this, but I find the idea of bringing continental philosophy into the foundations of logic in a really serious, technically profitable way to be very exciting.
People who have recently travelled to the US, what's the probability that you will be asked to unlock your stuff and have random employees search through it? Is it something that happens a lot?
I had hoped a bit that the security checks would actually go down during the Trump administration since he has property in the tourism sector. Maybe it will take until the last few years when political points weights less than personal wealth.
great write up.

when was it written? it's frustrating there is no date on the post.
FWIW, I've compiled Chromium (which took a while because the build needed more RAM and swapped) and accidentally left random scripts erroneously chewing 100% CPU for hours (woops) on Contabo's $9 offering (6GB RAM, couple cores, 500GB disk, 100Mbps). Never heard a peep from Management™.

Performance is mildly all over the shop - eg, some days packages might install in under a second, other days pacman stalls for 30s+ "resolving dependencies", and then a further 2-3+ minutes regenerating the manpage cache or whatever it's doing - but, you can peg both cores, and they don't seem to care. So there's that.

It's in Germany, and ramp-up time to US servers takes a couple seconds (eg, pulling data from the US will take a moment or two to wind up to ~12MB/s). Similarly, latency is mildly high.

A big plus: it's just QEMU and they give you access to the KVM VNC console. You can kill iptables when it goes rogue! You can disable SSH!

Oh - a tidbit to remember: they do mention that if you use >60Mbps for 6 hours+ they kill your link, but I learned from some friends what that means in practice: your connection goes to 10Mbps for the rest of the month.

Not a shill, just mentioning what I learned from using a friend's instance for a couple months. Would be interested to hear about any negative experiences people have had so I can file those away too.

---

Another option: online.net have dediboxes based on Atom C2350s with 4GB RAM, 1TB and 1Gbps networking, for €8.99/mo (+€20.00 setup).

So on the one hand you're dealing with this sadness: http://ark.intel.com/products/77977/Intel-Atom-Processor-C23...

But on the other hand it's a dedicated machine. The CPU has virtualization support (despite being 1.7GHz :D hahaha). That's gonna translate to 100% usage sooner or later... so... that may be a potential alternative.

I haven't tested this option, it would be very interesting to pit it against a Contabo VM.
"Being told that I work like a senior engineer and if I do more work, I'll get the promotion next year."

My f'ing God, This. A thousand times this.

10 years I've been working as a junior f'ing programmer doing senior (and above) level work and roles. Every review is glowing. Every manager fights to have me on their team. I jave engineers under me. I mentor all the new hires. I am go to for all questions.

When it comes time for a promotion.. Suddenly I need to do more of something. They can never define what that something is, but i can forget ever being promoted.

I'm so close to saying screw it and quitting. Being talked over, interrupted, not having my ideas taken seriously until a male parrots them, being micromanaged, having my accompliahments dismissed while lesser accomplishments by males are lauded.

If i didnt love this work so much, I wouldve quit 5 years ago. Being a woman in tech sucks balls. I was a LCpl in the Marines and faced less sexism and animosity than i have in the tech field.

I completely belive the findings by these women are real and accurate. Too many other fields have proven the same scenarios exist.
The Soviet era.

But yes, I just traveled from Shanghai back to my home in the US. The queues in China were much, much shorter than those in the American airports. PVG posted a "25 minutes or less" target for all travellers to get through security and immigration. And they hit it, even at peak travel times with huge volumes of people. At American airports if you arrive less than an hour before boarding they might not allow you in until you rebook on a later flight.

You could see it in the architecture of their systems: The American facilities have huge snaking queues designed for as much capacity as possible, which lead to obvious bottlenecks. And when you arrive at the front of the line, a gruff immigration officer in tactical gear doesn't look at the line except to say "No line jumping!" while they're taking 10 minutes on one individual. In China, there's just not enough distance in the line to allow a long delay to form, there's no single point bottlenecks to slow down the system, and helpful people direct you to the shortest lines.
I suspect that the author means you should just use graphically​ drawn elements rather that special characters that sort of look like what you want. Since electron is based on a browser, you could inline images and other graphics along with the text.
I never quite got the finer points but apparently affine types are great if you want to manage sharing in the presence of mutability and linear types are great if you want to guarantee fusion.
We had XMPP, but Google and Facebook decided to kill it.
> Make eye contact with the car driver

Yes, definitely, I did this at every traffic light I came to in London after someone told me this.
Share your idea we will execute it
people get scared to leave job and go with their own idea.Now with idea hub do not fear just go to the website login share your idea,they will execute your idea and when it works you can go full time with your own business.just visit vyi.ideahub.online
As terminals are basically text-only, to display symbols that powerline uses you have to create a font containing those symbols overriding some of the characters in it.
And then someone will write a web browser for Electron, and then someone will make that browser headless. Electrons all the way down!
How are the environmental effects ofthe production of the huge batteries, their disposal or recycling evaluated. I've seen only some very dishonest ones like "once the batteries are not usable in cars we'll sell them" where the worth of the used batteries was immensely overblown. That wasn't honest at all.

I also can't take Musk's claims for even being close to honest.

The environmental effects of producing such small devices as cellphones is known to be significant. With the cars it's completely new orders of magnitude, which can result in non-linear responses, even if we know the good estimates for the smaller batteries. Do we?