skysight-inc/HackerNews huggingface dataset:
> Cachegrind’s output showed that the trivial methods for the simple BytePos and CharPos types in the parser are (a) extremely hot and (b) not being inlined.

To me, this points to a deficiency in the rustc compiler. All trivial methods (trivial in that they will always be cheaper than a function call) should be automatically treated by the compiler as if they had been marked #[inline]. Currently a rust programmer has to annotate every single trivial getter and setter with that attribute, which is both tiresome and easy to forget.
Did the islands pay for these tunnels themselves? How? What is the payoff period (I.e how long until the economic value of the tunnels exceeds their costs?).
HN has reached a level of popularity where its attracted too many non-engineers that love jumping into these threads with ignorant, reactionary, hyperbolic responses. every post on uber/tesla autopilot has at least a few people calling for elon to be tried for manslaughter for car accidents. really shows the stupidity of the mob. this thread is another great example. if only it were benign and didn't have real, foolish policy implications like the GDPR
A Startup’s Guide to Designing a Team
"This, I suspect, is one of those truths so horrible that you can't talk about it in public. This is something that reporters must not write about, when they visit gatherings of the power elite.

Because the last news your readers want to hear, is that this person who is wealthier than you, is also smarter, happier, and not a bad person morally. Your reader would much rather read about how these folks are overworked to the bone or suffering from existential ennui. Failing that, your readers want to hear how the upper echelons got there by cheating, or at least smarming their way to the top. If you said anything as hideous as, "They seem more alive," you'd get lynched.

But I am an independent scholar, not much beholden. I should be able to say it out loud if anyone can. I'm talking about this topic... for more than one reason; but it is the truth as I see it, and an important truth which others don't talk about (in writing?). It is something that led me down wrong pathways when I was young and inexperienced.

I used to think—not from experience, but from the general memetic atmosphere I grew up in—that executives were just people who, by dint of superior charisma and butt-kissing, had managed to work their way to the top positions at the corporate hog trough.

No, that was just a more comfortable meme, at least when it comes to what people put down in writing and pass around. The story of the horrible boss gets passed around more than the story of the boss who is, not just competent, but more competent than you."

https://www.lesswrong.com/posts/CKpByWmsZ8WmpHtYa/competent-...

----

I'm not sure I buy this model of the world wholesale, but I think its important to at least have this model as a competing hypothesis as to how the world is organized
when I was quite young I was playing around with Simons' Basic. I not sure exactly how old I was, but I was definitely under 10. No one was helping me or guiding me, we just happened to have the cartridge and the manual and a C64 and I was a curious and bored kid who loved playing computer games.

I'm not presumptuous enough to say I was a developer at that point, but I guess if you squint and stretch a bit it could be a bit true.
Sometimes it's worth it to stick to what you're good at.

If Github burnt a ton of cash to try and compete with Jira, ended up making a product that didn't attract enough people over at the same time as ignoring problems that users were already grumbling about, this could have led to them being in a worse state and easier for MS to pick up on the cheap.
Maybe if you could only buy/sell at a stoplight, to reduce distracted driving?

It brings to mind a video named "Prius Stealth Camper Build"[0], where the owner has a microwave and fridge powered by the car. Were an Uber driver able to fit all these amenities in their car and still have ample passenger space, it would almost be like a mobile 7-11 - get your breakfast during your ride to work.

[0]https://youtu.be/tjjDDz8mr5E?t=5m
Seems like a variant on "Existential Angst". Maybe not exactly, but the sense of loss of purpose feels fairly close.
Sarcasm: 'Overwhelming'
Odd, I got a popup on my phone for downloading iOS12 and My development account expired a years ago.
As an academia in CS, I use two filters:

* top-tier peer-reviewed conference.

* paper abstract and introduction.

If I am not convinced that the problem is interesting by introduciton, I will skip it.
VCs only invest in “startups”, i.e. companies which can be very big very fast, and can be sold for lots of money. This does not mean that every other form of company or product is irrelevant.
I haven't given up on thinking I might be able to influence the system. Specifically, I hope my volunteer work on snowdrift.coop can move the needle a bit.

https://wiki.snowdrift.coop is probably the best introduction right now; the main site is in the process of being updated.
i like to work on my garden.
If you think sea level rise is the only problem and, if it were, you think 10m is not enough to lead to complete societal meltdown in some places, then we clearly need more hyperbole.
Thing is it’s not even an exodus. It’s just a few thousand repos. And they aren’t even prepared to handle that. If there actually was a mass migration GitLab would completely fall over. I’m sure that would give folks a lot of confidence in the platform though.
Ask HN: What is your favorite way of setting up online store in 2018?
I am learning Python and Web Development. I want to set up an online store for my friend who does stitching work. She needs a site where she can display her designs and take orders for stitching.

As I am learning Python, I am planning to use framework : Sale or - http://getsaleor.com/ or Oscar http://oscarcommerce.com/.

For payment, I may use PayPal or Stripe.

Budget for building online store is very low. I want to full control over it and independent?

What services and technologies do you use when you'd like to quickly build a small online store?
Sydney is a relatively bleak place for getting a good selection of tech jobs. There are the obvious BigCos, then... not much. I may have to Make My Own Fun - another startup?
I'm in the exploratory stages of starting a noncommercial project focused on hosting, processing and serving a vast amount of climate data for scientists and researchers. I've "seeded" this project with my own bare metal hardware, electricity and internet access. This includes 136 vCPUs, 512GB of RAM and 128TB of hard drive storage capacity (with room for another 456TB). As my own money permits, I plan to slowly add to this lab over time.

My initial consideration is to develop and host a sort of public Wolfram Alpha, but specialized for climate data queries and visualization. I'm open to other suggestions, as I'm currently in the process of architecting the system and reaching out to climate scientists for feedback on what they need that isn't well-served yet.

Once all the infrastructure work is done, I'd be happy to contribute to climate modeling more theoretically. But for now my prerogative is to develop a central repository for as much climate data as possible, normalize it as reasonable, and store it in a queryable format.

There are interesting technical problems here due to the scale of the data, the variety of its native (raw) formats, the frequency with which each source updates and the types of information involved. But speaking directly to the title of this post: I don't think anything I'm doing is strictly an unsolved technical problem, it's just a complex technical undertaking. There are plenty of data serving and processing pipelines for this that have already been proven capable.
Jupyter is the language-agnostic parts of IPython (UI, notebook format, protocols to talk to notebooks, ...) extracted out to be used with many languages.

IPython remains as the project maintaining the Python-specific parts of that stack. It's not deprecated, but has been limited in scope.
The linked slides "Python in HPC" [0] are quite awesome, from which I learned about mpi4py's [1] existance. Definitely going to give it a try in the future; using the MPI API with an "easy-to-follow" syntax should be fun.

[0] https://hpc.nih.gov/training/handouts/171121_python_in_hpc.p...

[1] http://mpi4py.scipy.org/docs/
> "Facebook acknowledged that some partners did store users’ data — including friends’ data — on their own servers."

This statement from the article is meaningless, as many legit things might mean "third party storing data" as:
1.) Storing and editing contact imports, if user wants. This is technically friends data, but it's my contact list.
2.) Proxy-ing and caching: we are talking about shitty phones mostly before android and ios were mainstream, so "store on their servers" could be as simple as an artefact of implementation of non-html facebook client app on that shitty phone. Example of such artefacts: custom notifications channels, caching, downscaling of images. I think that blackberry did proxy all of their communications through their servers (not 100% sure), so if Facebook was available, they probably also had to store something on their servers.

The journalist didn't even attempted to distinguish between "my device is calling this api" and "company is doing requests" and resort to conflating those two and ambiguous "some partners did store users". This is example of journalist trying to create a story instead of getting to truth. If they would dig deeper, and try to figure out which companies stored data, what type of data (was it contact import, caching, or did they download full graph?), and what was purpose, it would be valuable article.
AOT compilation for Java alone is just a technique to improve startup time for command line apps vs actually native apps; AOT shared libs still need JVM infrastructure for GC.

Also, going all-in on async doesn't seem that helpful on the JVM where the vast majority of existing code (= what makes the JVM valuable) uses synchronous I/O.

So what's the point of this? To start a webserver really fast? I always thought the value of vert.x is to become part of a node.js/CommonJS runtime for the JVM (like what Oracle and RedHat were trying a couple years ago).
I assume GP is talking about dedicating time effort and energy to round up the money vs. spending that time effort and energy building the product.

At $small_startup_where_i_was_employee_3, when we were raising, it was the CEO's full time focus, and cost a fair bit of money to generate the meetings, be in the right cities, etc, etc. He was also responsible for a lot of our marketing efforts (4 person co) so that took a toll, and shuffled onto others shoulders where it wasn't our strength.
The focus of Google making ChromeOS desktop friendly with Android native apps, and exposing the underlying GNU/Linux userspace shows they see pressure in desktop market.

That has nothing to do with the statement that no one cares about Windows desktop development. All of the energy in the software space is web and mobile. Google wants to leverage the Android market - which dwarfs the install based of desktops to make Chrome OS more appealing. Apple just announced they are doing something similar - porting iOS frameworks to MacOS to make it easier for iOS developers to write Mac apps. No one would ever say that the Mac desktop market is vibrant.

Another example is how across Europe, Windows 10 2-1 convertibles are basically wiping out Android tablets at consumer stores.

Android tablets are horrible experiences. What are most people doing with thier desktop computers? Using the web and the same apps from the big companies - Microsoft and Adobe.
Is this view that common?

I'm all for work-life balance and working on passion projects on the side.

But do that many people really think of their developer job as a salary and a daily grind?
What I don't understand is, why do they need to partner with overseas startup instead of, say, doing it themselves (and call it, "GrabMinibar") or partner with 7/11 or something. It's not like Cargo own the patent, or do they?
I'm not sure I would compare it favorably to emacs in pretty much anything other than mindshare. And, don't get me wrong, that is huge and not intended as a vanity comment.

The keyboard shortcuts it has are superficial. My number one shortcuts in emacs are compile, jump to next error, grep/occur, index, and magic. Just up and down? Obviously u use them a lot, but the arrow keys do work fine. Beginning of line and begging of text are both huge. But really, the screwy tab behavior kills me in Jupyter.
15 Myths That Can Ruin Your Mobile UX
Apple’s Core ML 2 is 30% faster, cuts AI model sizes by up to 75%
Maybe nobody. And if your goal in life is nothing but "maximize my salary" then sure, pursue those companies are any cost. I personally don't see that as the best route to happiness, but hey, "different strokes" and all that.

I guess I'm also biased to care less about salary, because there is - realistically - no company that is going to pay me a salary that will let me achieve the most extravagant of my dreams. The only route to the level of wealth is to found a startup, maintain a large chunk of equity in same, and have an exit event.
This is ridiculous. The thing is struggling to move 10 feet of maybe 2" hose.

One hundred feet of five inch large-diameter fire hose (LDH) with water in it weighs over 900 pounds.
JIT compilation makes decisions on how to optimize the generated code based on run-time analysis the program. AOT compilation doesn't have access to that information, which can lead to slower code.

However, because AOT compilation isn't delaying the execution of the program, it is allowed to take much more time to optimize the output.
Top Colleges Are Cheaper Than You Think
i vastly prefer atom - open source or not.
I'm sure it's rarer than I'd like to think, but if I managed to figure it out as a teen in the mid 90's without much in the way of internet access or budget, it's still probably easier today.

Anyone with a modern internet connection and a bit more patience than money (or at least a willingness to learn) can hop on Reddit or PC Part Picker and get a pretty good idea of what is out there and works together.

Compared to the days of making sure you had the right number and type of ISA, PCI, and AGP slots, assembling a PC from parts today is a breeze. Shopping online keeps costs low and places like Microcenter are great for buying in person.

I only haven't built one in a while because my current 5-year-old workhorse media/editing/gaming/everything PC shows no sign of needing a full upgrade any time soon. Sure I bought a new GPU after a few years when I got bitten by the experimental VR bug but other than that, it was an afternoon buying parts and snapping them together, an evening installing software, and 5+ years of "just working".
AutoAugment: Reinforcement learning algorithm to improve Deep Learning
I was thinking of writing this blog post too. Maybe I still will, because I want to emphasise something different about this topic.

Mailing list workflows also make people write a different sort of commit, where the diffs are short and readable and the commit messages are persuasive as to why the diff should be accepted. That's because these diffs and commit messages are going to be much more prominent in people's mailboxes, so both should be as readable as possible. Extraneous things such as style fixes or whitespace changes within the same diff are frowned upon because they bring clutter and hinder readability (it's okay to throw those into a separate commit and thus a separate email, though).

I find this style of commits immensely useful when reading the project's history, but their value is hard to convey to someone raised on Github, which strongly discourages this style of commits. Most Github users I've seen never read the project's history, because they value neither writing it nor reading it.
Why Development Teams Struggle to Deliver on Time, on Budget, or at All
Agreed. Notebook environments are great for exploration, discovery and pedagogy. They aren't so good for productionizing code.

We found this out the hard way when we tried to productionize ML code in Jupyter. We had to export to .py and add boilerplate. This works fine unless there is back and forth iteration between modeling and prod, which there invariably is; our data scientists had to make changes to the notebook and we had to redo our boilerplate, so the notebook code and production code were constantly out of sync. This could have been alleviated with automation -- but such automation is bespoke and hard to generalize.

PyCharm has a Scientific Mode (similar to RStudio's IDE approach, where you are actually writing code in a text file but are able to statefully/interactively run code by pressing Ctrl-Enter on code blocks). Spyder, Matlab and a bunch of other IDEs implement this idea too.

Unlike notebooks, this is, I feel, a good middle ground between interactive exploration and having production-ready code.
These are the headlines I want to see
> Are they not storing private information- like websites you visit and apps you download and such, and using it to target you in their store?

No? They aren’t doing that, at least not the website tracking stuff - that would be a huge violation of their privacy policy.
Tiny Robots in Disguise Combat Bacteria in the Blood
Ah, that wasn't there when I replied.

I do understand the dilemma. I work at a K-12 and the office next to mine is where they put together the science lab kits for students. It takes a fair bit of understanding to do that correctly sometimes, and that preparation work is some knowledge the students seem to miss out on in order to get to the subject matter. My coworker has mentioned on more than one occasion that with certain modules it feels like she does most of the work and the students just do the final step.
I'm a simple cave man. I don't understand why there needs to be an execution graph. Conditional logic?

"Everything programming eventually drops down to metal one way or another."

Keeping with the trog theme...

I need things to be as explicit as possible.

I just couldn't figure out why my script commands were not doing variable substitution. I expected my line ' - echo id: $CI_BUILD_ID' to cut and paste 'echo id: $CI_BUILD_ID' to the command line and run that bad boy as-is. And I'd see the expected output in the log. Just like if I run 'echo id: $CI_BUILD_ID' locally.

What could be more simple?

Nope.

gitlab-ci does some ninja code escape mangling thing (turn on debugging output to see it in action). So in your log you continue to see 'echo id: $CI_BUILD_ID' instead of 'id: 123456'.

I have no idea why anyone would do that.

I want to run commands. Why not just run them as-is? Why the obfuscation layers?

--

Inevitably, abstraction layers introduce an impedance mismatch, where some behavior will surprise you, where you have to do a workaround. Then you're fighting the tool instead of solving your problem directly. Then you say "fuck it" and just have the layer call your loose code (eg shell script) directly. Then what's the point of having the layer at all?
Progressive Web Apps have the potential to be massively disruptive to apps as we know them now... and that's before the near-native speeds that WASM will bring are factored into the equation. After making the mistake of going all-in on Xamarin in 2014 I realized, much to my chagrin, that the future of mobile is HTML, CSS, and JavaScript. Sure, there are cases where certain features require vendor-native apps for now, for example if you want to register a service that runs in the background without the app being launched. Currently that's not possible with mobile web or hybrid but there's no reason the mobile OS cannot look for and hook JavaScript -- or WASM -- code and run it as part of a background service. Could be as simple as specifying in the app manifest one or more code files which contain logic for background processes along with instructions like "run this only when the app is active, run it all the time, or run it on this cron schedule."

A completely different question is whether vendors like Apple will refuse to support something like this because it circumvents the need to deliver via the app store (and the $$$ they collect through the Apple Developer Program) but there's no reason background services and processes can't be implemented in JavaScript.
Nice, I'm building something similar with TTN - using Haskell to glue MQTT/SQL/WebSockets to be able to stream data from sensors and also optionally store data in timescaledb. For web fronted I really want to try miso (https://haskell-miso.org/).
I’d love someone more knowledgeable to correct this, but it’s my understanding that it does inline properly inside a crate, but across crate boundaries you must mark a method as #[inline]...
It is weird, but I think we deserve to be able to both want both a world without needless war and safe communities for our children. Note that I'm not necessarily anti 2nd Ammendment. But to your point, yes it is very weird. War has become so normal that even your father in law or whatever will make excuses for the Iraq War - even though we know now that it was started on false premises.
On the other side of the coin, targeted advertising is a way to get viewers of high-quality content to view your ads without paying a premiums to the people and institutions that produced the premium content.

This saves money for the advertisers, by transferring wealth away from content creators.

It boggles my mind that publishers still favor this model over display ads (targeted to articles, not readers).
> It's kinda painful and annoying to read about all the negativity and tinfoil hat theories but that's the price to pay (I guess) and we'll see what happens.

That's the price for being a deeply un-ethical company for many decades.
CSGO and DOTA2 both run on different versions of the source engine.
Interesting to see Microsoft playing nice with vendors. I’ve seen many play less than nice. (ISVs who host on Azure and badmouth Microsoft products)
I generally like what I do.

I stay away from webdev. I did a couple of small projects but the web was just an outer API, the main work was done by native code running on CPUs or GPUs.

I stay away from enterprise systems, or fin.tech, or ad.tech. I removed enterprise-targeted keywords from my resume, Java, J2EE, SOAP, SQL. I have some experience with them from my early career but I don’t want to use them anymore.

Also, for many years I’ve never worked in/for huge companies, i.e. google/amazon/microsoft scale. My employers/clients are/were mostly small to medium companies.

What do I do? Almost everything else. Native desktop, native mobile, embedded, GPGPU, robotics, GIS, videogames, CAD/CAM, streaming media. Many startups, and small to medium companies, have problems to solve that I find interesting to work on.

There’re still boring parts in my work. But because of my experience I usually find ways to minimize the time I’m spending on them. The most generic advice, pick the right tools.
I do a lot of CRUD, and while it is really boring and very similar work, It all builds up to my global system that I basically developed from the ground up at the charity that I work for.

I have been able to invent my own projects along the way, such as mp3 to subtitles and a student portal for the college side of the charity. It's been really fun. However without writing a crud page for some new idea that someone has once a week I dont think I'd still be here.
If you had a great idea for a non game piece of software, what market would you target? Windows, Web, or mobile?

Where are all of the mythical profitable companies making commercial desktop software? Where are all the companies making new internal line of business desktop software?
New Homeland Security system will bring facial recognition to land borders
Latest news on the website from 2016. Latest commit on Github from January; build broken. Wouldn't be my first choice for starting a new project, I guess.