Hacker Newsnew | past | comments | ask | show | jobs | submit | more interactivecode's commentslogin

even though this isn't really a constructive comment, most of that package-lock.json is build tools. If you remove those and only install production packages it's 27 lines: https://gist.github.com/StefKors/3b43896467d05cb1fb693ed0da9...


You could always send a GDPR request since they probably store it on their servers?


Would you be willing to share some easy improvements that could be made? How can a large amount of tests run so much faster?


It usually comes down to parallelisation; you want to do a much work simultaneously as you can. Saving CI resources _can_ be reasonable if CI resources are very scarce relative to dev time, as in some open source projects. However if you are paying your devs then the extra few hundred bucks a month for beefier CI is often worth the increase in productivity. A couple of different ways:

- Oftentimes the staging of the CI build can be improved. Devs often set up CI so that linters must pass _before_ actual tests are run. Run them in parallel instead and fail the whole run if the linters don't pass. This is even more important if there are multiple linters (perhaps for different sections of the codebase) and they all get applied serially before any of the tests start.

- Obviously, split up your tests as well so they can run in parallel. If you have a project containing both JS and backend tests, don't wait for one to start on the other. Many "bigger" languages also have something akin to parallel_tests (https://github.com/grosser/parallel_tests) that let you quickly set up multiple databases to separate transactions etc. It also provides tooling to remember the output of previous runs and uses that to equalize the parallel tracks of subsequent runs as much as possible.

- Cache as much as possible. This is a wider topic, but dependencies, docker layers and static assets can all be cached and correctly using this alone can hugely cut CI time. You don't want to know how many projects I've seen that don't have this set up correctly (or at all).

- Longer running projects can have hundreds of database migrations and applying them all to an empty database can take minutes. Big frameworks like Rails can dump the schema for you in a way that you can load in a second instead. Have a separate job that runs in parallel and applies all the migrations then verifies the output against the schema, all the other jobs load in the schema and use that.


Hello there from a (fellow) Dutch person,

If I understand it correctly: The Dutch government tried a similar project. Failed. Then based on seeing your open source project they are starting a company to monetize the open source project you proved works?

Perhaps I'm missing some information but isn't this the whole purpose of open source that anyone can use it to build anything? (and the purpose of patents to restrict other (for profit) organizations to use your IP?)


Open source stimulates reuse. People are typically bound by a MIT or GPL license. But let's get back to the issue at hand here. Innovation loans should be given to people who have innovative ideas AND take part of the risk. The problem I see is that building a prism scanner isn't that innovative seen the information available AND the business developer in the entity doesn't take a reasonable amount of risk (state is major shareholder). The developer can however freely reallocate the money. You can't do this within the government because you typically need 3 competing offers via tender law. So you can't redirect the money to another company. In this case you can and the business developer redirects the money to a company of his choosing. This company builds the prism scanner. If it works, they invest money in it. They do however not take risk but have quite some opportunities for profit. There is also a high risk they pay a kickback to the business developer or someone more higher up. My main issue here is the people who get the benefits don't have any risk exposure. My personal issue here is that I want that money and a risk free opportunity with my pet project! I would have no issues, is they would simply invest their own money.


where did you buy oak made furniture? in my experience most furniture of a similar price is worse than IKEA not better


These days I buy almost all my furniture from John Lewis. Stopped giving Ikea more chances after I graduated.




To solve point NR2 you can use https://rectangleapp.com/ and bind it to the keyboard shortcuts you are used to. FYI you can also switch the location of the command, option and alt keys if you prefer the windows layout in: System Preferences > keyboard > modifier keys


That app looks like what i want. Thank you! Curious why it uses some third party keyboard shortcut creation tool. Doesn't mac os settings have ability to create keyboard shortcuts? Does that only work for built in mac os features?


If there is an way to plug and play a netlify / heroku deployment flow on my own server I would. I'm a developer to build websites, not a sys admin or dev ops.


I'm working on this as an open source project for the last couple of weeks.

https://github.com/greehost has most of the code, it's hosting http://greehost.org/en/design/components/ currently.

I'm working on the user panel now, but most of the "Run a builder of some sort, move assets to locations to serve" for static stuff is done; containers for application hosting itself hasn't been started yet.


You may want to see dokku: https://github.com/dokku/dokku


Installed it but really miss the same categories as above! hopefully this can be added soon.


Does anyone know the best directish train route from Amsterdam to Athens?


I just did this last month with my partner and 2 kids. We didn't go as fast as possible, but took 5 days to let us break up the trip and see stuff along the way.

We went from Amsterdam to Munich on day 1 via ICE trains (changing in Duisburg), had dinner at a biergarten and stayed overnight in Munich. Day 2 we explored Munich and that night got on the Nightjet sleeper train to Rome. Woke up in Italy on Day 3, enjoyed the views, arrived in Rome around 9 AM. Explored Rome , and stayed overnight. Took a Frecciargento train to Bari in Apulia on Day 4 and from there an overnight ferry to Patras in Greece, arriving Day 5. Took a taxi from there to Athens, which was pricey (€260) but sadly the trains don't run to Patras anymore and for our family this was a better option than the bus (and it was quicker, plus we stopped at Isthmia for souvlaki and to check out the canal.)

Trains through the Balkans are not currently an option - they weren't running north of Thessaloniki even before COVID shut the borders. If you want to avoid flying or driving, you'll have to take a ferry from Italy to Greece.

If we had to do it again, we might have taken the ferry from Venice or Ancona instead just because the port of Bari was so unwieldy for foot passengers and the Superfast I ferry was pretty bare bones and more geared towards truck drivers.

Also, beware entry requirements to Greece, as they are constantly changing. Right now you couldn't actually do this trip because people arriving from the Netherlands have to show proof on arrival of a negative COVID test taken within the last 72 hours.


Currently, Amsterdam-Frankfurt-Vienna-Zagreb-Belgrade-Skopje-Thessaloniki-Athens. Or Köln-Munich instead of Frankfurt-Vienna. Also, south of Belgrade I think the schedule is a bit sketchy. Source, as always, https://seat61.com


In December an Amsterdam-Vienna night train service will start.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: