News for hackers. Stuff that matters.

RutZap

Show HN: Keel Studio – From prompt to production-ready back end in 2 mins

https://keel.so/studio

Hey everyone,We're building Keel, a schema driven backend engine - Define your data model, api actions and permissions in type-safe schemas and get a production-ready backend.Today we're opening up public access and launching a new way to get started with an AI-powered generator to go from prompt to backend in 2 mins along with a browser based development environment to easily explore Keel.All...

( Read More... | no comments | 5 points | on HN )
Re:Show HN: ProtoCURL, a curl for Protobuf on Monday February 20, 2023 @10:58AM (#34869313)
Pretty cool, but if you like a gui, I'd highly recommend https://github.com/fullstorydev/grpcui, lightweight and super easy to use
Re:Chip shortage: Toyota to cut global production by 40% on Thursday August 19, 2021 @08:41AM (#28233081)
I believe that driving an old car for longer has a smaller environmental impact than consistently driving newer cars as the bulk of emissions is during the manufacturing process. I have no data to support my statement, it's just my hunch. I'd be very keen if someone with the right knowledge can approve or disprove my statement.
Re:The Art of the Romanian Haystack on Thursday July 15, 2021 @09:57AM (#27844758)
I though it was:

Acul din carul cu fân

Literal translation: The needle in the hay cart

Re:I switched to Linux after using Windows for 10 years on Thursday October 15, 2020 @12:06PM (#24790119)
_My first computer was a Pentium II one and it had Windows 98 installed when I purchased it in 2008_

I think this must be a typo. 2008 seems quite a late time to buy a Pentium II, I had my Pentium II in 1998ish.

Re:Every software company giving a take home coding test on Wednesday February 19, 2020 @10:23AM (#22366224)
Yes, i get the screening process; but asking a candidate to spend 8 hours on implementing a client library for their API at the beginning of the application process is definitely unreasonable. It's not a coding exercise, but a full blown deliverable.
Re:Every software company giving a take home coding test on Wednesday February 19, 2020 @10:11AM (#22366099)
This has really annoyed me recently, I've had interviews with companies that expected me to do a test before even seeing them in person (following a phone interview) and their tasks mentioned I should spend around 8 hours on the test. I think this is definitely unreasonable.

I prefer longer interviews where you're working alongside your potential future colleagues. This way you can also find out if you actually want to work with them or not. Interviews should be a two way affair.

JS Console errors for me.

>>> Uncaught TypeError: Cannot read property 'src' of undefined at t.value (Break.js:92)

Re:Typed Properties in PHP 7.4 on Friday August 02, 2019 @06:14AM (#20591827)
I'm really looking forward to this. After 10 years of programming in PHP and maintaining loads of legacy projects I've come to greatly appreciate explicit definitions and strong typing. IMHO being explicit always increases maintainability.
Re:Google Calendar Is Down on Tuesday June 18, 2019 @10:26AM (#20213362)
On that page's footer:

> ©2019 Google - Last updated: June 18, 2019 at 3:12:13 PM UTC+1

Looks like it was last updated before the outage.

Re:Project Fi Is Now Google Fi on Wednesday November 28, 2018 @11:26AM (#18552805)
Wow. I've got 8GB high speed 4G for £30, and I had the phone thrown in for free (Pixel 2)! Incredible how data varies so much in price from country to country.
Re:Show HN: Simple CSS Button on Tuesday July 03, 2018 @08:22AM (#17449531)
I'm genuinely interested wether this is a sarcastic submission or actually serious!
> It’s not prejudice or signaling, it’s objectively deficient in ways that haven’t been acceptable in decades.

I don't want to start a useless debate or anything like that, so don't take this in the wrong way, but I am genuinely curious of what specific problems you see in PHP and what are the specific issues with the language.

I can't think of many things that are so bad with it, except the inconsistency in function naming and parameter orders (stuff like `str_pos`, `substr`) and a relatively unreliable SoapClient implementation; I am genuinely interested in seeing what other people think are deficiencies in PHP.

Again, I have to stress I am not being defensive nor offensive, I am just curious on other perspectives in regards to the shortcomings of PHP.

I have been using PHP professionally for 7 years now and I absolutely love it. The community grew up from the old days when I started playing with it (almost 15 years ago). There are incredible pieces of software built with it, and nowadays the language is unrecognisable from the state it was in when it gained the bad reputation. i think Symfony 4 is a wonderful framework and it allows us to use PHP to build things that most would think it's impossible in the language of spaghetti code.

Yes, there are still a lot o people out there that hack some very questionable code together in PHP but we shouldn't dismiss it like this. I've tried multiple languages (C#, Java, javascript) and I have to say PHP is my favourite so far (you guys can comment on this as much as you like, I still like it a lot).

It's disheartening to hear that in a hackathon people got "bullied" for using a programming language. You would never pick upon a mechanic for using a screwdriver instead of a chisel or something similar, as long as he can achieve the same thing.

Also, I can't help to notice a trend of ..."brogramming", where if you don't use the newest and coolest tech you're treated as an outcast, bullied and made fun of; it's quite sad if you ask me.

Re:GDPR and Google Analytics on Tuesday January 30, 2018 @09:25AM (#16265486)
Speaking of GDPR, I, like many others, am a little bit confused. I've read parts of the legislation but not all of it, so perhaps somebody here can help me out.

Moving towards slightly more delicate issues (compared to tracking someones browsing habits), in relation to the right to be forgotten, if I make a request to Equifax and Experian to remove all personal identifiable information they hold about me, will this actually be possible?

Will my bank then contact me for consent to pass my data back over to them? Will I be able to open a new bank account in the future if Experian and Equifax delete my data?

How would this whole legislation deal with something like this?

Re:Water is turned into beer in German recycling miracle on Monday January 29, 2018 @08:19AM (#16257300)
Clickbait title. Basically, just abusing the food stamp service.

The recycling fee/cashback incentive is a great way to ensure people are being responsible with their waste, or paying extra if they are not. Wasting water bought with food stamps to then get a couple of beers is not really worthy of anyone's attention.

Re:Turning Down a Blockchain Job Offer on Monday January 22, 2018 @12:36PM (#16206208)
> lets you explore a new edge technology

A little bit off-topic, I find very interesting how blockchain is regarded as a new technology. All the underlying technology has been available for ages: cryptographic hashes, Merkle trees (patented in 1979!!), peer to peer protocols. It's crazy how putting together some already established technologies/techniques/mathematical instruments can generate such a big movement. A lot of people refer to it as a cutting edge technology that will.. disrupt (I hate this buzzword) the current status quo. In my opinion it's just a very elegant solution to a problem (decentralised trust) that's been put together with already existing simple blocks.

It would be good if we could cut down on the uninformed hype and just appreciate the elegance in it.

Re:Bitcoin hits $17K as bubble fears mount on Friday December 08, 2017 @06:12AM (#15877995)
It really is entirely psychological. Based on the two main theories of stock investing: fundamental value and castles-in-the-air speculation, with Bitcoins, it's hard to gauge its real value as it may be argued that it doesn't actually have one. Being an asset that does not produce any profit, it's hard to put a number against it. So therefore the price is driven by demand and by what the mass wants it to be worth and by what it hopes to be worth in the future.

Speculators coming in the Bitcoin ecosystem now are willing to spend a lot of money on it because they know that there will be someone else that is willing to spend even more money on it. It's all driven by mass psychology, exactly like many of the previous bubbles in the history of stock markets: tulip bulb craze, dotcom shares, Japanese land value and so on.

The only thing is... it's very hard to predict the randomness of mass psychology. Everybody wants to get rich.. and everybody wants the price to go up and up... but when they start to sell in order to cash in, the price will drop and if a lot of people do it at the same time, panic will set in and then it will crash seriously. You may argue that the whole thing behaves a bit like a ponzi scheme (with the main difference that there is actually something happening underneath the whole speculation-investing-money aspect, which is, IMHO, the very elegant blockchain technology)

I use Privacy Badger, AdBlock Plus, Markdown Preview, Secure Shell and JSONView.

As a web developer I find JSONView to be very useful when testing APIs and all sorts

Re:Underground Hansa Market taken over and shut down on Wednesday July 26, 2017 @11:01AM (#14856734)
I agree that prohibition doesn't work, but the police needs to do their bit as well. And if a darknet marketplace is taken offline, I don't think its users will have to go on the streets, there are many other marketplaces out there; just in the same way as when a street dealer is arrested, people will just end using a different one.

It seems that you are actually agains policing it, which is not the way forward, as there is a large amount of the population which is against drugs, and their needs need to be accounted for by the Government. So by catering for both parties (users/dealers and police), the darknet is a viable solution that helps everybody in the end (efficient purchase, efficient policing, less violence, less waste).

Re:Underground Hansa Market taken over and shut down on Wednesday July 26, 2017 @10:56AM (#14856687)
Not really. As a tax paying citizen I like to see good use of my tax money, and I think this is actually an efficient way of policing.
Re:Underground Hansa Market taken over and shut down on Wednesday July 26, 2017 @10:55AM (#14856673)
Yes, sadly a lot of wholesale is done at street level and supplied using the darknet, but at the same time, I see more end consumers purchasing online.
Re:Underground Hansa Market taken over and shut down on Wednesday July 26, 2017 @10:53AM (#14856661)
It's both. From the legal point of view, it's good that drugs are removed from the market, and from a violence point of view, it's good that it's all on the darknet. By clamping down on a marketplace you're basically just attracting attention to it and more people will start using it for buying drugs, thus, there will be less violence as everything is moved online. Also, the police did their job in a much more efficient manner like this. So it's bad for the dealers involved, but ultimately good for society.
Re:Underground Hansa Market taken over and shut down on Thursday July 20, 2017 @12:13PM (#14813745)
I think this is brilliant. A very efficient way of policing and removing a lot of drugs from the market without spending a lot of public money and wasting time on the streets.

Also the darknet is great as it reduces the violence associated with drug crime, by taking the drugs off the streets and into the legitimate courier business. You have to love technology sometimes.

I just recently switched from tabs to spaces. I always used spaces for alignment and tabs for indentation. It was working very well within my company as all my colleagues were using 2sp tabs and I was on 4 space tabs. But now, we've decided to upgrade our codebase and make it PSR compliant (PHP).. which meant switching from tabs to spaces.

To be honest.. it's no biggie after a few weeks you get used to it.

Re:The price of solar power just fell 50% in 16 months on Thursday May 05, 2016 @08:28AM (#11635440)
> Peak residential power usage is in the evening when solar isn't available. Power companies therefore end up spinning down coal and natural gas during peak solar, then just spinning them back up again as the sun begins to set.

Would it be possible (in an utopian world) to actually have a global power network and route electricity produced during the day in one area across multiple timezones to an area where the demand is greater and no available solar? e.g. Electricity produced in West Africa at noon to be delivered to .. Tokyo, where it would be 9PM.

I understand that politically this is almost impossible, but I am curious whether there are any technological impediments for this to be feasible.

Re:NASA releases detailed global climate change projections on Wednesday June 10, 2015 @09:40AM (#9692051)
My guess is that it shows the average temperature rather than actual climate. So red would be high temperature, and blue cold. I don't think that it refers to precipitation or anything like that. Or it could be a stock photo...
Re:NASA releases detailed global climate change projections on Wednesday June 10, 2015 @09:27AM (#9691944)
I don't think anybody managed to download the whole set so far .

Older »